@charset "UTF-8";
html {
  font-size: 100%;
  scroll-behavior: smooth;
}

html {
  font-size: clamp(14px, 16px + 0.5vw, 18px);
  /* clamp(min, preferred, max)：
         preferred に viewport に連動する値（calc(16px + 0.5vw)）を入れて可変させる */
}

/* 安全のためのメディアクエリフォールバック（古いブラウザでclamp未対応なら） */
@supports not (font-size: clamp(14px, 1px, 1px)) {
  /* 幅に応じた段階的なサイズ指定 */
  @media (max-width: 480px) {
    html {
      font-size: 14px;
    }
  }
  @media (min-width: 481px) and (max-width: 1024px) {
    html {
      font-size: 16px;
    }
  }
  @media (min-width: 1025px) {
    html {
      font-size: 18px;
    }
  }
}
body {
  font-family: "Hiragino Kaku Gothic Pro", "Noto Sans JP", sans-serif;
  font-size: 1rem;
  /* ルートに従う → 1rem = html の font-size */
  font-weight: 400;
  line-height: 1.6;
  color: #000000;
  -webkit-font-smoothing: antialiased;
  background-color: #00B9EE;
  overflow-wrap: anywhere;
  /*折り返し*/
}

h1 {
  font-size: clamp(1.6rem, 1.4rem + 1vw, 2.4rem);
  margin: 0 0 0.5rem;
}

h2 {
  font-size: clamp(1.3rem, 1.15rem + 0.8vw, 1.8rem);
  margin: 0 0 0.5rem;
}

.senobi {
  font-family: "senobi-gothic", sans-serif;
  font-weight: 700;
  font-style: normal;
}

/* 調整用スタイル */
a {
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

ul,
li {
  list-style: none;
}

img,
svg {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.br-pc {
  display: none;
}
@media screen and (min-width: 960px) {
  .br-pc {
    display: block;
  }
}

/* ./調整用スタイル */
.container {
  background-image: url("../images/bg.gif");
  margin: 0 auto;
  padding: 0;
}

main .main {
  margin: auto;
}

.footer {
  background-color: #f6f6f6;
  padding: 3.125em 0 1.875em;
  margin-top: 5em;
  display: flex;
}
.footer_logo {
  width: 120px;
  max-width: 243px;
  margin-bottom: 1rem;
  margin: 0 auto 1em;
}
@media screen and (min-width: 960px) {
  .footer_logo {
    width: auto;
  }
}
.footer div {
  padding: 0 5%;
  margin: 0 auto;
  text-align: center;
}
.footer p {
  font-size: small;
}

/* ヘッダー */
.header {
  width: 100%;
  height: 50px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
}
@media screen and (min-width: 960px) {
  .header {
    height: 100px;
  }
}
.header__inner {
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: inherit;
  position: relative;
}
.header__title {
  width: 80px;
}
.header__title img {
  display: block;
  width: 100%;
  height: 100%;
}
@media screen and (min-width: 960px) {
  .header__title {
    width: 120px;
  }
}
.header__nav {
  position: absolute;
  right: 0;
  left: 0;
  top: 0;
  width: 100%;
  height: 100vh;
  transform: translateX(100%);
  background-color: rgba(255, 255, 255, 0.9098039216);
  transition: ease 0.4s;
}
.header__nav.active {
  transform: translateX(0);
}
@media screen and (min-width: 960px) {
  .header__nav {
    position: static;
    transform: initial;
    background-color: inherit;
    height: inherit;
    display: flex;
    justify-content: end;
    width: 60%;
  }
}
.header__hamburger {
  width: 48px;
  height: 100%;
}

@media screen and (min-width: 960px) {
  .nav__items {
    width: 100%;
    display: flex;
    align-items: center;
    height: auto;
    justify-content: flex-end;
    gap: 15px;
  }
}

.nav-items {
  padding-top: 30px;
  padding-bottom: 50%;
  text-align: center;
}
@media screen and (min-width: 960px) {
  .nav-items {
    padding-top: inherit;
    padding-bottom: inherit;
  }
}
.nav-items__itemImg {
  display: inline-block;
  margin: 20px auto;
  width: 60%;
  max-width: 200px;
  height: auto;
}
@media screen and (min-width: 960px) {
  .nav-items__itemImg {
    display: none;
  }
}
.nav-items__item a {
  color: #727171;
  width: 80%;
  display: block;
  text-align: center;
  font-size: 1.25rem;
  margin-bottom: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  border: solid 3px #00B9EE;
  border-radius: 30px;
  padding: 0.5rem;
}
@media screen and (min-width: 960px) {
  .nav-items__item a {
    width: 100%;
    margin-bottom: 0;
    font-size: 1rem;
    letter-spacing: -0.05rem;
    line-height: 1;
    padding: 0.5rem;
    background-color: #ffffff;
    border: none;
    min-width: 150px;
    max-width: 160px;
    min-height: 48px;
  }
}
.nav-items__item a:hover {
  background-color: black;
  color: #00B9EE;
  transition: all 0.3s ease;
}
.nav-items__item:last-child a {
  margin-bottom: 0;
}

/* ハンバーガーメニュー */
.hamburger {
  background-color: transparent;
  border-color: transparent;
  z-index: 9999;
}
@media screen and (min-width: 960px) {
  .hamburger {
    display: none;
  }
}
.hamburger span {
  width: 100%;
  height: 1px;
  background-color: #000;
  position: relative;
  transition: ease 0.4s;
  display: block;
}
.hamburger span:nth-child(1) {
  top: 0;
}
.hamburger span:nth-child(2) {
  margin: 8px 0;
}
.hamburger span:nth-child(3) {
  top: 0;
}
.hamburger.active span:nth-child(1) {
  top: 5px;
  transform: rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  top: -13px;
  transform: rotate(-45deg);
}

/* 項目 */
.section-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 3rem 1.25rem;
}

.section-title {
  width: min(70%, 800px);
  aspect-ratio: 850/144;
  min-width: 296px;
  margin: 0 auto;
}

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 1em;
  /* === 下から飛び出す画像たち === */
}
.hero-inner {
  position: relative;
  text-align: center;
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
  z-index: 2;
}
.hero-title img {
  width: 80%;
  max-width: 1000px;
  height: auto;
  display: block;
  margin: 0 auto;
}
.hero .hero-images {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
  /* 順番に少しずつディレイをつけて出現 */
}
.hero .hero-images img {
  width: 30%;
  max-width: 180px;
  height: auto;
  opacity: 0;
  transform: translateY(120%);
  animation: popFast 0.5s cubic-bezier(0.33, 1, 0.68, 1) forwards;
}
.hero .hero-images img:nth-child(1) {
  animation-delay: 0.1s;
}
.hero .hero-images img:nth-child(2) {
  animation-delay: 0.3s;
}
.hero .hero-images img:nth-child(3) {
  animation-delay: 0.45s;
}

/* === 飛び出しアニメーション === */
@keyframes popFast {
  0% {
    opacity: 0;
    transform: translateY(120%) scale(0.8);
  }
  60% {
    opacity: 1;
    transform: translateY(-30%) scale(1.05);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@media screen and (min-width: 960px) {
  .hero .hero-title img {
    width: 60%;
    max-width: 720px;
  }
  .hero .hero-images img {
    width: 20%;
    max-width: 140px;
  }
}
.message-inner {
  padding-top: 0;
}
.message__photo {
  max-width: 800px;
  margin: 0 auto;
}
.message-title {
  margin: 0 0 3rem;
}
.message-lead {
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.1rem;
  color: #ffffff;
  text-align: center;
  line-height: 2;
  text-shadow: 1px 1px 5px #909090;
}
@media screen and (min-width: 960px) {
  .message-lead {
    font-size: 1.2rem;
  }
}

.features {
  position: relative;
  z-index: 0;
  padding-top: 50px;
}
.features::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(15, 0, 190, 0.4);
  mix-blend-mode: multiply;
  z-index: -1;
  margin-top: 100px;
}
.features h2,
.features p {
  position: relative;
  z-index: 1;
}
.features .feature-title {
  margin: 0 auto;
  transform: translateY(-50%);
  z-index: 1;
}
.features .feature-copy {
  max-width: 800px;
  max-height: 48px;
  margin: 0 auto;
}

.feature-list {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  justify-content: center;
  padding: 1rem 0;
  margin: 1rem auto;
}

.feature-item {
  position: relative;
  width: 100%;
  margin: 0 auto;
  padding: 1rem 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  /* pを一番下に配置 */
  align-items: flex-start;
  overflow: visible;
  text-align: left;
  /* === 2つ目だけ右寄せに変更 === */
  /* === 要素3（earth.png） === */
  /* === 要素5（roket.png） === */
  /* === 要素6（car.png） === */
  /* === 要素7（niigata.png） === */
  /* === good_negi1.png === */
  /* === good_negi2.png === */
  /* === good_negi3.png === */
}
@media screen and (min-width: 960px) {
  .feature-item {
    max-width: 1000px;
    height: 500px;
  }
}
.feature-item h3 {
  position: absolute;
  top: -6%;
  left: 0;
  width: 35vw;
  animation: floatTitle 3s ease infinite;
  transform-origin: center bottom;
}
@media screen and (min-width: 960px) {
  .feature-item h3 {
    top: 0;
    left: 5%;
    width: 290px;
  }
}
.feature-item h3 img {
  display: block;
  width: 100%;
  height: auto;
}
.feature-item:nth-child(2) h3 {
  left: auto;
  right: 5%;
  text-align: right;
  transform-origin: center bottom;
}
.feature-item p {
  position: relative;
  margin: 0;
  width: 100%;
  max-width: 850px;
  align-self: center;
  z-index: -1;
}
.feature-item p img {
  display: block;
  width: 100%;
  height: auto;
}
.feature-item p img {
  display: block;
  height: auto;
}
.feature-item img[alt*=earth] {
  position: absolute;
  right: 0;
  top: 25%;
  width: 13vw;
  min-width: 72px;
}
@media screen and (min-width: 960px) {
  .feature-item img[alt*=earth] {
    right: 13%;
    top: 30%;
    min-width: 180px;
    /* ゆらゆら左右に回転する動き */
    animation: swingEarth 4s ease-in-out infinite;
    transform-origin: center center;
  }
}
.feature-item img[alt*=rocket] {
  position: absolute;
  right: 15px;
  bottom: 36px;
  width: 12vw;
  min-width: 60px;
  transform: rotate(10deg);
}
@media screen and (min-width: 960px) {
  .feature-item img[alt*=rocket] {
    right: 12%;
    bottom: 5%;
    width: 10vw;
    min-width: 120px;
    animation: rocket 3s ease-out infinite;
  }
}
.feature-item img[alt*=car] {
  position: absolute;
  right: 100px;
  bottom: 30px;
  width: 12vw;
  width: 60px;
}
@media screen and (min-width: 960px) {
  .feature-item img[alt*=car] {
    right: 30%;
    bottom: 0;
    min-width: 120px;
    animation: car 2s ease-in infinite;
  }
}
.feature-item img[alt*=niigata] {
  position: absolute;
  right: 0;
  top: 80px;
  width: 15vw;
  min-width: 120px;
}
@media screen and (min-width: 960px) {
  .feature-item img[alt*=niigata] {
    right: 11%;
    top: 50%;
    min-width: 180px;
    /* ゆらゆら左右に回転する動き */
    animation: swingEarth 4s ease-in-out infinite;
    transform-origin: center center;
  }
}
.feature-item img[alt*=negi1] {
  position: absolute;
  top: -10%;
  right: 15px;
  width: 17vw;
  min-width: 100px;
}
@media screen and (min-width: 960px) {
  .feature-item img[alt*=negi1] {
    top: -3%;
    right: -6%;
    min-width: 230px;
    animation: floatNegi1 5s ease-in-out infinite;
  }
}
.feature-item img[alt*=negi2] {
  position: absolute;
  top: -7%;
  left: 0;
  width: 17vw;
  min-width: 100px;
}
@media screen and (min-width: 960px) {
  .feature-item img[alt*=negi2] {
    top: -3%;
    left: -5%;
    min-width: 230px;
    animation: floatNegi1 5s ease-in-out infinite;
  }
}
.feature-item img[alt*=negi3] {
  position: absolute;
  top: -10%;
  right: 5%;
  width: 17vw;
  min-width: 120px;
}
@media screen and (min-width: 960px) {
  .feature-item img[alt*=negi3] {
    top: 11%;
    right: 0;
    min-width: 230px;
    animation: floatNegi1 5s ease-in-out infinite;
  }
}

/* === アニメーション定義 === */
@keyframes floatTitle {
  0% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(5deg);
  }
  50% {
    transform: rotate(0deg);
  }
}
@keyframes floatText {
  0%, 100% {
    transform: translateY(0);
    opacity: 1;
  }
  50% {
    transform: translateY(8px);
    opacity: 0.95;
  }
}
@keyframes swingEarth {
  0% {
    transform: rotate(0deg) translateX(0);
  }
  25% {
    transform: rotate(5deg) translateX(3px);
  }
  50% {
    transform: rotate(0deg) translateX(0);
  }
}
@keyframes floatNegi1 {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-15px) rotate(5deg);
  }
}
@keyframes rocket {
  0% {
    opacity: 0;
    transform: translate(0, 0) scale(0.9) rotate(-10deg);
  }
  10% {
    opacity: 1;
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
  40% {
    opacity: 1;
    transform: translate(200px, -280px) scale(1.1) rotate(10deg);
  }
  60% {
    opacity: 0;
    transform: translate(260px, -360px) scale(0.9) rotate(15deg);
  }
  100% {
    opacity: 0;
    /* ここで停止して再度出現まで間を取る */
    transform: translate(0, 0) scale(0.9) rotate(-10deg);
  }
}
@keyframes car {
  100% {
    transform: translateX(-100px);
  }
}
.works-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}
.works h2 {
  margin-bottom: 2rem;
}
.works h3 {
  max-width: 70%;
  margin-bottom: 2rem;
}
.works-textbox {
  width: 100%;
  max-width: 724px;
  color: #ffffff;
  font-weight: 500;
}
@media screen and (min-width: 960px) {
  .works-textbox {
    width: 65%;
    margin-right: 70px;
  }
}
.works-photo {
  max-width: 715px;
}

/*動画*/
.video-wrap {
  position: relative;
  width: 100%;
  max-width: 850px;
  margin: 0 auto;
  overflow: hidden;
}

/* スマホ：縦動画（9:16の比率） */
.video-sp {
  aspect-ratio: 9/16;
  /* 16:9の逆 → 9:16 = 16/9*100 */
}

/* PC：横動画（初期は非表示） */
.video-pc {
  display: none;
  aspect-ratio: 16/9;
  /* 16:9 */
}

.video-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

/* ✨ PC表示（スマホファースト → PCで上書き） */
@media screen and (min-width: 769px) {
  .video-sp {
    display: none;
  }
  .video-pc {
    display: block;
  }
}
.movie {
  display: block;
  max-width: 850px;
  width: 100%;
  aspect-ratio: 16/9;
  margin: 0 auto;
  max-height: 478.125px;
}

.event {
  background: #ffeb3b;
  padding: 2rem 0 0;
  position: relative;
}
.event-inner {
  position: relative;
  z-index: 10;
}

.event-deco {
  position: absolute;
  width: 12vw;
  min-width: 70px;
  height: auto;
  z-index: 1;
  /* それぞれの位置（スマホ時） */
}
.event-deco--right {
  top: 150px;
  right: 20%;
}
.event-deco--left1 {
  top: 150px;
  left: 20%;
}
.event-deco--left2 {
  top: 150px;
  left: 42%;
}
@media screen and (min-width: 960px) {
  .event-deco--right {
    top: 2%;
    right: 5%;
    width: 20vw;
    animation: swingRight 5s ease-in-out infinite;
    transform-origin: center bottom;
  }
  .event-deco--left1 {
    top: -5%;
    left: 0;
    width: 20vw;
    animation: swingLeft 6s ease-in-out infinite;
    transform-origin: center bottom;
  }
  .event-deco--left2 {
    top: 3%;
    left: 7%;
    width: 20vw;
    animation: swingLeft 4.5s ease-in-out infinite;
    transform-origin: center bottom;
  }
}

.event-titlebox {
  position: relative;
  text-align: center;
  margin: 0 auto;
  width: 100%;
  max-width: 800px;
}
.event-titlebox h2 {
  position: relative;
  margin: 1em auto;
  z-index: 5;
}
.event-titlebox h2 img {
  display: block;
  width: 43vw;
  max-width: 800px;
  min-width: 335px;
  height: auto;
  margin: 0 auto;
}
@media screen and (min-width: 960px) {
  .event-titlebox h2 {
    margin: 2em auto 0;
  }
}

@keyframes swingRight {
  0%, 100% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(3deg);
  }
}
@keyframes swingLeft {
  0%, 100% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(-3deg);
  }
}
.event-list {
  text-align: center;
}
.event-list__item {
  width: 85%;
  background-color: #fff;
  border-radius: 30px;
  padding: 20px;
  gap: 3%;
  text-align: center;
  margin-bottom: 4.375em;
}
@media screen and (min-width: 960px) {
  .event-list__item {
    padding: 40px;
    max-width: 920px;
  }
}
.event-list__item:last-child {
  margin-bottom: 0;
}

.event-databox {
  max-width: 500px;
  margin: 0 auto;
}

.date {
  font-size: 1.4rem;
}

.center {
  margin: 0 auto;
}

.event-title {
  color: #0F00BE;
  font-size: 1.8rem;
  line-height: 1;
  letter-spacing: -0.2rem;
  margin-bottom: 1em;
}
.event-title span {
  font-size: 1.2rem;
}
@media screen and (min-width: 960px) {
  .event-title {
    font-size: 2rem;
  }
  .event-title span {
    font-size: 1.6rem;
  }
}

.event-text dt {
  float: left;
  clear: left;
  margin-right: 0.5em;
  max-width: 65px;
  color: #0F00BE;
  border: 1px solid #0F00BE;
  border-radius: 5px;
  padding: 0 10px;
  font-size: 0.8rem;
  text-align: center;
}
.event-text dd {
  text-align: left;
}

.flex {
  display: inline-flex;
  flex-direction: column-reverse;
  justify-content: center;
}
@media screen and (min-width: 960px) {
  .flex {
    flex-direction: row;
    align-items: center;
  }
}
.flex .flex-img {
  align-self: center;
  max-width: 290px;
}

.bus-wrap {
  position: relative;
  width: 100%;
  min-height: 188px;
  overflow: hidden;
  margin-top: 2rem;
}
.bus-wrap .bus {
  position: absolute;
  bottom: 0;
  left: 100%;
  width: 40vw;
  max-width: 312px;
  height: auto;
  display: block;
  animation: moveBus 10s linear infinite;
}
@media screen and (min-width: 960px) {
  .bus-wrap {
    height: 200px;
  }
  .bus-wrap .bus {
    width: 312px;
    animation-duration: 25s;
  }
}

/* === バスが右→左へ走るアニメーション === */
@keyframes moveBus {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-150vw);
  }
}
.floating-bg {
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: -1;
  pointer-events: none;
}

.floating-item {
  position: absolute;
  animation: floatMove 10s ease-in-out infinite, fadeInOut 12s ease-in-out infinite;
  will-change: transform, opacity;
  opacity: 0;
}

@keyframes floatMove {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-40px) rotate(10deg);
  }
  100% {
    transform: translateY(0) rotate(0deg);
  }
}
@keyframes fadeInOut {
  0%, 5%, 95%, 100% {
    opacity: 0;
  }
  10%, 80% {
    opacity: 0.4;
  }
}/*# sourceMappingURL=style.css.map */