@charset "UTF-8";

@font-face {
    font-family: 'CustomFont2'; /* フォントの名前 */
    src: url('../fonts/GoldenGooseUppercase-VariableVF.ttf') format('truetype'); /* フォントファイルへのパス */
    font-weight: 900; /* より細いフォントの太さ */
    font-style: normal; /* フォントのスタイル */
  }


/* =========================
   Floating Header Wrapper
========================= */
.header-float {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 1200px;
  z-index: 3000;
  pointer-events: none;
  transition: all 0.4s ease;
}

.header-float header {
  pointer-events: auto;
}

/* =========================
   Cloud Header
========================= */
.cloud-header {
  position: relative;
  height: 140px;
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #fdfcff 60%,
    #f8f9ff 100%
  );

  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 25px 80px 0;

  clip-path: url(#cloud-clip);

  box-shadow:
    0 18px 30px rgba(255,255,255,0.8),
    0 8px 20px rgba(0,0,0,0.06);

  backdrop-filter: blur(4px);
  transition: all 0.4s ease;
}

/* =========================
   Scroll State
========================= */
.header-float.scrolled .cloud-header {
  height: 110px;
  padding: 20px 80px 0;
}

/* =========================
   Logo
========================= */
.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 36px;
  transition: height 0.4s ease;
}

.header-float.scrolled .logo img {
  height: 30px;
}

/* 白ロゴ（モバイルメニューOPEN時） */
.logo-white {
  display: none;
}

.menu-open .logo-normal {
  display: none;
}

.menu-open .logo-white {
  display: block;
}

/* =========================
   Desktop Navigation
========================= */
.nav-desktop {
  display: flex;
  gap: 32px;
}

.nav-desktop a {
  text-decoration: none;
  color: #5b5b7a;
  font-weight: 600;
  transition: opacity 0.3s;
}

.nav-desktop a:hover {
  opacity: 0.7;
}

/* =========================
   MENU / CLOSE Toggle
========================= */
.menu-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  font-family: 'CustomFont2', sans-serif;
  perspective: 600px; /* 反転感の肝 */
}

.menu-toggle img {
  width: 60px;
  height: auto;
  transition:
    transform 0.6s cubic-bezier(.4,0,.2,1);
  transform-style: preserve-3d;
}

.menu-toggle span {
  font-size: 12px;
  font-weight: 700;
  color: #5b5b7a;
  line-height: 1;
}

/* OPEN時 → CLOSE */
.menu-open .menu-toggle img {
  transform: rotateY(180deg);
  content: url("../img/23816228.png");
}

.menu-open .menu-toggle span {
  color: #ffffff;
}


.menu-open .menu-toggle span::before {
  content: "CLOSE";
}

/* 通常時 → MENU */
.menu-toggle span::before {
  content: "MENU";
}

/* =========================
   Mobile Navigation
========================= */
.nav-mobile {
  position: fixed;
  inset: 0;
  background-image: url("../img/76671.png");
  background-size: 100% 100%;
  transform: translateX(100%);
  transition: transform 0.4s ease;
  z-index: 2000;
}

.nav-mobile.active {
  transform: translateX(0);
}




.mobile-menu-inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.mobile-menu-title {
  font-family: 'CustomFont2', sans-serif;
  font-size: 18px;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  color: #ffffff;
}

.sns-title {
  margin-top: 55px;
}

.mobile-menu-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.mobile-menu-links a {
  color: #ffffff;
  text-decoration: none;
  font-size: 22px;
  font-weight: 700;
}

.mobile-sns {
  display: flex;
  gap: 40px;
}

/* =========================
   Header OPEN State
========================= */
.menu-open .cloud-header {
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

/* =========================
   Responsive
========================= */
@media (max-width: 768px) {

  .nav-desktop {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .cloud-header {
    height: 140px;
    padding: 25px 25px 0;
  }

  .header-float.scrolled .cloud-header {
    height: 110px;
    padding: 20px 25px 0;
  }
}


