﻿body {
  margin: 0;
  padding: 0;
  font-family:
    "Zen Old Mincho",
    "Hiragino Mincho ProN",
    "Yu Mincho",
    "HGS明朝E",
    serif;
  background: #000;
}

main {
  background: #000;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.sp-only{display: none!important;}
.pc-only {display:inline;}


/* ===== FVエリア ===== */
.fv {
  position: relative;
  width: 100%;
}

.fv-slider {
  position: relative;
  width: 100%;
}

.fv-slider img {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  position: absolute;
  top: 0;
  left: 0;
}

.fv-slider img:first-child {
  position: relative;
}

.fv-slider img.is-active {
  opacity: 1;
}

.fv-slider.fv-sp {
  display: none;
}

@media (max-width: 767px) {
  .fv-slider.fv-pc {
    display: none;
  }
  .fv-slider.fv-sp {
    display: block;
  }
  .sp-only {display:inline!important;}
}

/* ===== ヘッダー（ロゴ左、メニュー右） ===== */
.fv-header {
  position: absolute;
  top: 28px;
  left: 28px;
  right: 28px;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 36px;
}

.fv-logo a {
  display: inline-block;
}

.fv-logo img {
  width: 5.6vw;
  height: auto;
  display: block;
}

@media (max-width: 767px) {
  .fv-logo img {
    width: 62px;
    max-width: none;
  }

  .fv-header {
    top: 12px;
    left: 14px;
    right: 14px;
    gap: 18px;
  }

  .hamburger {
    top: 14px;
    right: 14px;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .fv-header {
    top: 20px;
  }
  .fv-logo img {
    width: 7vw;
    max-width: 120px;
  }
}

/* グローバルメニュー（PCメイン） */
.global-nav {
  display: flex;
  gap: clamp(12px, 1.3vw, 30px);
  padding: 0 4px;
  font-size: clamp(12px, 1.1vw, 18px);
  color: #fff;
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
  font-weight:bold;
}

.global-nav a {
  color: #fff;
  margin-top: -10px;
  padding: 4px 4px;
  text-decoration: none;
  transition: opacity 0.3s ease, text-shadow 0.3s ease;
}

.global-nav a:hover {
  opacity: 0.7;
  text-shadow:
    0 0 4px rgba(0,0,0,1),     /* ← 近距離・強 */
    0 0 8px rgba(0,0,0,0.9),   /* ← 中距離 */
    0 0 16px rgba(0,0,0,0.6);  /* ← 遠距離・背景沈み用 */
}

/* 画像ホバー用：サイズだけ少し拡大（色変化なし） */
.img-hover-scale {
  display: block;                 /* img / picture 両対応 */
  transform: scale(1);
  transition: transform 0.3s ease;
  cursor:pointer;
}

.img-hover-scale:hover {
  transform: scale(1.03);
}

@media (min-width: 768px) and (max-width: 1024px) {
  .global-nav {
    font-size: clamp(13px, 1.4vw, 18px);
    gap: clamp(12px, 2vw, 20px);
  }

  .global-nav a {
    padding: 4px 6px;
  }
}

/* ===== ハンバーガーボタン ===== */
.hamburger {
  display: none;
  position: fixed;
  top: 20px;
  right: 20px;
  width: 35px;
  height: 22px;
  padding: 0;
  margin: 0;
  border: none;
  background: none;
  cursor: pointer;
}

.hamburger span {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: #fff;
  border-radius: 999px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}



.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.hamburger span:nth-child(3) { bottom: 0; }

.hamburger.is-open span:nth-child(1) {
  transform: translateY(10px) rotate(30deg);
}
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) {
  transform: translateY(-10px) rotate(-30deg);
}

/* ===== モバイルメニュー（右からスライドイン） ===== */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: rgba(0, 0, 0, 0.95);

  transform: translateX(100%);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
  pointer-events: none;
}

.mobile-menu.is-open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

@media (min-width: 768px) and (max-width: 1024px) {
  .mobile-menu {
    width: 350px!important;
  }
}

.mobile-nav {
  position: absolute;
  top: 100px;
  right: 5%;
  left: 5%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mobile-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 1.05rem;
  /*letter-spacing: 0.03em;*/
  font-weight:bold;
  transition: opacity 0.2s;
}

.mobile-nav a:hover {
  opacity: 0.6;
}
@media (max-width: 767px) {
  .mobile-nav {
    right: 7%;
    left: 7%;
  }
  .mobile-nav a {
    font-size: 1.1rem;

  }
}




/* 共通リンク */
.mnav-item{
  display: block;
  color: #fff;
  text-decoration: none;
  padding: 8px 0;
}

/* ===== 1〜3行目（英日2段） ===== */

.mnav-dual .mnav-en{
  display: block;
  font-size: 0.7em; /* 日本語の60% */
  letter-spacing: 0.02em;
  opacity: 0.85;
  padding-left:8px;
}

.mnav-dual .mnav-jp{
  display: block;
  padding-left:8px;
}

/* ===== 区切り線 ===== */
.mnav-line{
  border: 0;
  border-top: 1px solid #fff;
  margin: 1px 0;
  opacity: 0.8;
}

.mnav-line:first-of-type{
  margin-top: 30px !important;
}


/* ===== 区切り線以下（少し小さめ） ===== */
.mnav-sub{
  font-size: .95rem!important; /* 日本語より若干小さく */
  padding-left:8px;
}








@media (max-width: 1024px) {
  .global-nav { display: none; }
  .hamburger { display: block; }
}

/* ===== フローティングボタン ===== */
.floating-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 80;
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.floating-btn.show {
  opacity: 1;
  transform: translateY(0);
}

.floating-btn img {
  width: 260px;
  height: auto;
  display: block;
  filter: drop-shadow(0px 4px 8px rgba(0, 0, 0, 0.35));
  transition: transform 0.25s ease, opacity 0.25s ease;
}




@media (max-width: 767px) {
  .floating-btn {
    bottom: 12px;
    right: 12px;
  }
  .floating-btn img {
    width: 41vw;
    max-width: 300px;
  }
}


@media (max-width: 767px) and (orientation: landscape) {
  .floating-btn img {
    width: 28vw !important;
    max-width: 220px !important;
  }
}


.floating-btn:hover img {
  transform: scale(1.03);
  opacity: 0.92;
}







/* ===== Scroll ガイド ===== */
.scroll {
  position: absolute;
  left: 50%;
  bottom: 9vw;
  transform: translateX(-50%);
  z-index: 20;
  color: #fff;
  font-size: 16px;
  letter-spacing: 0.15em;
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.4);
  /*opacity:0.8;*/
  writing-mode: horizontal-tb;
}

.scroll span {
  display: block;
  padding-bottom: 12px;
  text-align: center;
}

.scroll::before {
  animation: scroll-line 2s infinite;
  background-color: #fff;
  bottom: -80px;
  content: "";
  height: 80px;
  left: 0;
  right: 0;
  margin: auto;
  position: absolute;
  width: 1px;
  opacity: 0.9;
}

@media (min-width: 768px) and (max-width: 1024px) {
  .scroll { bottom: 9.5vw; }
}

@media (max-width: 767px) {
  .scroll {
    bottom: 30px;
    font-size: 13px;
    letter-spacing: 0.12em;
  }
  .scroll::before {
    height: 70px;
    bottom: -70px;
  }
}

@keyframes scroll-line {
  0% { transform: scale(1, 0); transform-origin: 0 0; }
  50% { transform: scale(1, 1); transform-origin: 0 0; }
  51% { transform: scale(1, 1); transform-origin: 0 100%; }
  100% { transform: scale(1, 0); transform-origin: 0 100%; }
}
