@charset "UTF-8";

html {
  font-size: 1rem;
  line-height: 1.8;
  width: 100%;
}

body {
  color: #333333;
  background-color: #FFFFFF;
  font-size: 0.875rem;
  font-family: Poppins, "Noto Sans JP", "Yu Gothic Medium", "Yu Gothic", YuGothic, sans-serif;
  font-weight: 400;
  /* opacity: 0;
  transition: opacity 0.9s ease; */
}
/* body.is-loaded {
  opacity: 1;
} */

a {
  text-decoration: none;
  transition: all 0.3s;
  color: #333333;
}

img {
  max-width: 100%;
}

li {
  list-style: none;
}

.wrapper {
  max-width: 1280px;
  margin: 0 auto;
  padding:  0 24px;
}

/* 各セクションタイトル共通設定 */
.sec-title {
  margin: 64px 0 32px;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 1.2s ease,
    transform 1.2s ease;
}
/* 表示時 */
.sec-title.is-show {
  opacity: 1;
  transform: translateY(0);
}

.sec-title_en {
  font-size: 24px;
  letter-spacing: 0.2em;
  font-weight: 500;
  margin-bottom: 8px;
}
.sec-title_line {
  display: block;
  width: 40px;
  height: 2px;
  background-color: #333333;
  margin: 0 auto;
}

/* ABOUTだけタイトルアニメーションを無効化 */
.no-animation .sec-title {
  opacity: 1 !important;
  transform: translateY(0) !important;
  transition: none !important;
}

@media screen and (max-width: 768px) {
  .sec-title_en {
    font-size: 18px;
    letter-spacing: 0.1em;
  }
  .sec-title_line {
    width: 32px;
  }
}


/* ------------------------ ヘッダー ------------------------ */
#header {
  width: 100%;
  background-color: #ffffff; /* 背景を白に固定 */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); /* ふわっとした影 */

  /* スクロールした時に上についてくるようにしたい場合は以下も追加 */
  /* position: sticky; */
  /* top: 0; */
  /* z-index: 1000; */
}
.header-inner {
  display: flex;
  align-items: center;
  padding: 20px 36px;
}

/* サイトロゴマーク */
.site-logo {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 12px;
  /* border: 1px solid #121212; */
  line-height: 1;
  letter-spacing: 0.2em;
}
.site-logo:hover {
  opacity: 0.6;
  /* border: 1px solid #808080; */
}
.site-logo__main {
  font-size: 18px;
}

/* ヘッダーナビメニュー */
.header-navbox {
  margin-left: auto;
}
.header-navi ul {
  display: flex;
  gap: 24px;
  padding: 14px 0;
}
.header-navi ul li a {
  padding: 8px 12px;
  letter-spacing: 0.2em;
}
.header-navi ul li a:hover {
  opacity: 0.5;
}

@media (max-width: 880px) {
  .header-navi ul {
    gap: 10px;
  }
  .header-navi ul li a {
    padding: 6px 8px;
  }
}

/* PCではHOMEを隠す */
.nav-home {
  display: none;
}

/* ハンバーガーボタン */
.toggle-btn {
  display: none;
  position: fixed;
  top: 24px;
  right: 24px;
  width: 37px;
  height: 20px;
  transition: all 0.5s;
  cursor: pointer;
  z-index: 10000;
}
.toggle-btn span {
  display: block;
  position: absolute;
  left: 0;
  width: 37px;
  height: 2px;
  background-color: #333333;
  transition: all 0.5s;
}
.toggle-btn span:nth-child(1){
  top: 0;
}
.toggle-btn span:nth-child(2) {
  top: 9px;
}
.toggle-btn span:nth-child(3) {
  bottom: 0;
}

@media screen and (max-width: 768px) {
  .header-navi {
    position: fixed;
    top: 0;
    left: 0;
    background-color: #c0c0c0;
    width: 100%;
    height: 100vh;
    opacity: 0;
    /* transition: opacity 0.4s; */
    z-index: 10;
    pointer-events: none;
  }
  .is-open .header-navi {
    pointer-events: auto;
  }

  .header-navi ul {
    flex-direction: column;
    align-items: center;
    padding-top: 120px;
    gap: 32px;
  }
  .nav-home {
    display: block;
  }

  .toggle-btn {
    display: block;
  }

  /* ハンバーガー開く時 */
  .is-open .toggle-btn span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }

  .is-open .toggle-btn span:nth-child(2) {
    opacity: 0;
  }

  .is-open .toggle-btn span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }

  /* ハンバーガー開いた時のナビメニュー */
  .is-open .header-navi {
    opacity: 1;
  }
}

/* ------------------------ メインビジュアル ------------------------*/
#mainvisual {
  position: relative;
  width: 100%;
  /* height: 60vw; */
  /* max-height: 85vh; */
  aspect-ratio: 16 / 9;
  height: auto;
  min-height: 420px;
  overflow: hidden;
  z-index: 1;
}

/* 背景画像扱い */
/* #mainvisual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
} */

#mainvisual video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 10;
}

#mainvisual .video-pc {
  display: block;
}

#mainvisual .video-sp {
  display: none;
}

#mainvisual::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(0, 0, 0, 0.4) 1px, transparent 1px);
  background-size: 3px 3px;
  background-repeat: repeat;
  z-index: 20;
  pointer-events: none;
}

.mainvisual-title {
  color: #fff;
  position: absolute;
  top: 40%;
  padding: 0 20px;
  left: clamp(16px, 6vw, 120px);
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.3;
  z-index: 30;
  text-shadow:
    0 0 14px rgba(255,255,255,0.4),
    0 10px 28px rgba(0,0,0,0.5);
}
.mainvisual-title .title-sub {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 0.6em;
  font-weight: 900;
}

.mainvisual-catch {
  color: #fff;
  position: absolute;
  top: 55%;
  padding: 0 20px;
  left: clamp(16px, 6vw, 120px);
  font-size: clamp(14px, 2vw, 20px);
  line-height: 1.6;
  z-index: 30;
  text-shadow:
    0 0 10px rgba(255,255,255,0.3),
    0 6px 18px rgba(0,0,0,0.4);
}

.mainvisual-title,
.mainvisual-catch {
  opacity: 0;
  filter: drop-shadow(0 0 0 rgba(255,255,255,0)) blur(2px);
  transform: scale(0.995);
  will-change: opacity, filter, transform;
}

body.is-loaded .mainvisual-title {
  /* animation: fvGlowIn 2.1s ease forwards; */
  animation: fvGlowIn 3.0s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

body.is-loaded .mainvisual-catch {
  /* animation: fvGlowIn 2.1s ease forwards; */
  animation: fvGlowIn 3.0s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: 0.3s;
}

@keyframes fvGlowIn {
  0% {
    opacity: 0;
    transform: scale(0.985);
    filter: drop-shadow(0 0 0 rgba(255,255,255,0)) blur(4px);
  }
  45% {
    opacity: 0.7;
    transform: scale(1.01);
    filter: drop-shadow(0 8px 20px rgba(0,0,0,0.35)) blur(1px);
  }
  100% {
    opacity: 1;
    transform: scale(1);
    filter: drop-shadow(0 10px 24px rgba(0,0,0,0.35)) blur(0);
  }
}


@media screen and (max-width: 768px) {
  #mainvisual {
    /* height: 70vh; */
    aspect-ratio: 9 / 16;
    height: auto;
    min-height: 420px;
  }

  #mainvisual .video-pc {
    display: none;
  }
  #mainvisual .video-sp {
    display: block;
  }

  .mainvisual-title {
    top: 38%;
    left: clamp(24px, 10vw, 72px);
    transform: none;
    padding: 0;
    font-size: 30px;
    line-height: 1.35;
    text-align: left;
    max-width: 420px;
  }

  .mainvisual-catch {
    top: 48%;
    left: clamp(24px, 10vw, 72px);
    transform: none;
    padding: 0;
    font-size: 17px;
    line-height: 1.75;
    text-align: left;
    max-width: 360px;
  }
}
@media screen and (max-width: 420px) {
  .mainvisual-title {
    font-size: 26px;
  }

  .mainvisual-catch {
    font-size: 15px;
  }
}

/* ------------------------ ABOUTセクション ------------------------*/
.about-content {
  display: flex;
  gap: 48px;
  align-items: center;
}
.about-img {
  display: flex;
  align-items: center;
  flex: 0 0 40%;
  min-width: 280px;
  max-width: 480px;
  min-height: 380px;
}
.about-img img {
  width: 100%;
  height: auto;
}
.about-text {
  flex: 1;
}
.about-name {
  margin-bottom: 16px;
}
.about-text p {
  margin-bottom: 12px;
  line-height: 1.9;
}
.about-text p:last-child {
  margin-bottom: 0;
}

@media screen and (max-width: 768px) {
  .about-content {
    flex-direction: column;
    /* align-items: stretch; */
    gap: 32px;
  }
  .about-img {
    max-width: 280px;
    min-width: 240px;
    min-height: auto;
  }
  .about-img img {
    width: 100%;
    height: auto;
  }
  .about-text {
    padding: 0 24px;
    min-width: 320px;
  }
  .about-name {
    margin-bottom: 12px;
  }
  .about-text p {
    margin-bottom: 8px;
    line-height: 1.6;
  }
}

/* ------------------------ フッター ------------------------*/
#footer {
  margin-top: 80px;
  padding: 48px 0 24px;
  /* background-color: #717171; */
  background-color: #1E2833;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  align-items: baseline;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-logo {
  font-size: 18px;
  letter-spacing: 0.2em;
  line-height: 1;
  color: #fff;
}
.footer-logo:hover {
  opacity: 0.5;
}

.footer-sns {
  display: flex;
  gap: 10px;
}
.footer-sns a {
  font-size: 18px;
  color: #fff;
  transition: opacity 0.3s;
}
.footer-sns a:hover {
  opacity: 0.6;
}

/* フッターナビ */
.footer-nav ul {
  display: flex;
  gap: 36px;
  font-size: 12px;
}
.footer-nav a {
  color: #fff;
  letter-spacing: 0.2em;
}
.footer-nav a:hover {
  opacity: 0.5;
}

/* コピーライト */
.footer-copy {
  margin-top: 64px;
  text-align: center;
  font-size: 12px;
  color: #aaa;
}

@media screen and (max-width: 768px) {
  .footer-top {
    flex-direction: column;
    gap: 33px;
    align-items: center;
  }
  .footer-brand {
    align-items: center;
    position: relative;
    gap: 20px;
  }
  .footer-logo {
    font-size: 16px;
  }
  .footer-sns {
    gap: 15px;
  }
  .footer-sns a {
    font-size: 16px;
  }

  .footer-brand::after {
    content: "";
    display: block;
    width: 150px;
    height: 1px;
    background-color: #ddd;
    margin: 24px auto 0;
  }

  .footer-nav ul {
    flex-direction: column;
    gap: 12px;
    align-items: center;
    font-size: 11px;
  }

  /* コピーライト */
  .footer-copy {
    margin-top: 48px;
    font-size: 9px;
  }
}
