/* =============================================
   ARIAKE Area Branding — Design System
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Shippori+Mincho:wght@400;500;600;700&family=Noto+Sans+JP:wght@300;400;500;700&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400;1,600&display=swap');

:root {
  --indigo:       #1a2744;
  --indigo-deep:  #0d1629;
  --indigo-mid:   #243358;
  --gold:         #b8943f;
  --gold-light:   #d4af5a;
  --gold-pale:    #f5e9c8;
  --cream:        #f8f4ed;
  --warm-white:   #fdfaf5;
  --sea-teal:     #1d6b5a;
  --text-dark:    #1a1a1a;
  --text-mid:     #4a4a4a;
  --text-muted:   #7a7a7a;
  --border-gold:  rgba(184,148,63,0.28);
  --border-light: rgba(26,39,68,0.1);
  --nav-h:        72px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans JP', sans-serif;
  background: var(--warm-white);
  color: var(--text-dark);
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  height: var(--nav-h);
  padding: 0 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.4s, border-color 0.4s, box-shadow 0.4s;
}
nav.solid {
  background: rgba(13,22,41,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-gold);
  box-shadow: 0 4px 32px rgba(0,0,0,0.15);
}
.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  z-index: 1;
  flex-shrink: 0;
}
.nav-logo-img {
  height: 36px;
  width: auto;
  display: block;
  /* ロゴの視認性: 透明ナビ時は少し明るく、スクロール後はそのまま */
  filter: brightness(1.1);
  transition: opacity 0.3s, filter 0.3s;
}
.nav-logo:hover .nav-logo-img {
  opacity: 0.85;
}
/* solidになったときロゴを自然な明るさに */
nav.solid .nav-logo-img {
  filter: brightness(1);
}

/* PC nav links */
.nav-links {
  display: flex;
  gap: 2.8rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.72rem;
  font-weight: 400;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  letter-spacing: 0.14em;
  transition: color 0.3s;
  position: relative;
  padding-bottom: 4px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--gold-light);
  transition: width 0.3s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--gold-light); }
.nav-links a.active::after,
.nav-links a:hover::after { width: 100%; }

.nav-contact-btn {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--indigo-deep) !important;
  background: var(--gold);
  padding: 0.45rem 1.1rem;
  transition: background 0.3s, transform 0.2s !important;
}
.nav-contact-btn::after { display: none !important; }
.nav-contact-btn:hover {
  background: var(--gold-light) !important;
  color: var(--indigo-deep) !important;
  transform: translateY(-1px);
}

/* ── HAMBURGER BUTTON ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: 1px solid rgba(255,255,255,0.25);
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  flex-shrink: 0;
  transition: border-color 0.3s;
}
.nav-hamburger:hover { border-color: var(--gold-light); }
.nav-hamburger span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: white;
  transition: transform 0.35s ease, opacity 0.25s ease, width 0.3s ease;
  transform-origin: center;
}
/* open state — X */
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; width: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── DRAWER (SP full-screen menu) ── */
.nav-drawer {
  position: fixed;
  top: 0; right: 0;
  width: min(320px, 88vw);
  height: 100dvh;
  background: var(--indigo-deep);
  border-left: 1px solid var(--border-gold);
  z-index: 1000;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.nav-drawer.open { transform: translateX(0); }

.nav-drawer-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: calc(var(--nav-h) + 1.5rem) 2.5rem 3rem;
}

/* ドロワー内ロゴ */
.nav-drawer-logo {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(184,148,63,0.15);
}
.nav-drawer-logo img {
  height: 32px;
  width: auto;
  display: block;
}

.nav-drawer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
}
.nav-drawer-links li {
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-drawer-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  letter-spacing: 0.1em;
  transition: color 0.25s, padding-left 0.25s;
}
.nav-drawer-links a::after {
  content: '→';
  font-size: 1rem;
  color: var(--gold);
  opacity: 0;
  transition: opacity 0.25s, transform 0.25s;
  transform: translateX(-6px);
  font-family: 'Noto Sans JP', sans-serif;
}
.nav-drawer-links a:hover,
.nav-drawer-links a.active {
  color: var(--gold-light);
  padding-left: 0.5rem;
}
.nav-drawer-links a:hover::after,
.nav-drawer-links a.active::after {
  opacity: 1;
  transform: translateX(0);
}

.nav-drawer-info {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(184,148,63,0.2);
}
.nav-drawer-info p {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.06em;
  margin-bottom: 0.6rem;
}
.nav-drawer-info a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  color: var(--gold-light);
  text-decoration: none;
  letter-spacing: 0.08em;
}

/* ── OVERLAY ── */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  backdrop-filter: blur(2px);
}
.nav-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

/* ── FOOTER ── */
footer {
  background: var(--indigo-deep);
  border-top: 1px solid rgba(184,148,63,0.15);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 4rem 2.5rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 4rem;
}
/* フッターロゴ（画像） */
.footer-logo-link {
  display: inline-block;
  margin-bottom: 0.8rem;
  transition: opacity 0.3s;
}
.footer-logo-link:hover { opacity: 0.75; }
.footer-logo-img {
  height: 52px;
  width: auto;
  display: block;
}
.footer-logo-sub {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 1.2rem;
}
.footer-brand p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.9;
}
.footer-nav-title {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 1.2rem;
  text-transform: uppercase;
}
.footer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.footer-nav-list a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color 0.3s;
  letter-spacing: 0.04em;
}
.footer-nav-list a:hover { color: var(--gold-light); }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 4rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.05em;
}

/* ── SHARED UTILS ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 4rem;
}
.section-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.45em;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
}
.section-label::before {
  content: '';
  width: 28px; height: 1px;
  background: var(--gold);
}
.section-title {
  font-family: 'Shippori Mincho', serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  color: var(--indigo-deep);
  line-height: 1.3;
}
.section-title-en {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-weight: 300;
  font-style: italic;
  color: var(--text-muted);
  margin-top: 0.3rem;
  display: block;
}
.section-title.on-dark { color: white; }
.section-title-en.on-dark { color: rgba(255,255,255,0.35); }

/* page hero (inner pages) */
.page-hero {
  background: linear-gradient(160deg, var(--indigo-deep) 0%, var(--indigo) 50%, var(--indigo-mid) 100%);
  height: 320px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 3.5rem;
  position: relative;
  overflow: hidden;
  margin-top: var(--nav-h);
}
.page-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(184,148,63,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184,148,63,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
}
.page-hero-deco {
  position: absolute;
  right: -60px; top: -60px;
  width: 400px; height: 400px;
  border-radius: 50%;
  border: 1px solid rgba(184,148,63,0.1);
}
.page-hero-deco-2 {
  position: absolute;
  right: 40px; top: 40px;
  width: 260px; height: 260px;
  border-radius: 50%;
  border: 1px solid rgba(184,148,63,0.08);
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero-eyebrow {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.72rem;
  letter-spacing: 0.4em;
  color: var(--gold-light);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}
.page-hero-eyebrow::before { content: ''; width: 24px; height: 1px; background: var(--gold-light); }
.page-hero-title {
  font-family: 'Shippori Mincho', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: white;
  line-height: 1.2;
}
.page-hero-title em {
  color: var(--gold-light);
  font-style: normal;
}

/* breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}
.breadcrumb a, .breadcrumb span {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  letter-spacing: 0.08em;
  transition: color 0.3s;
}
.breadcrumb a:hover { color: rgba(255,255,255,0.7); }
.breadcrumb .sep { color: rgba(255,255,255,0.2); }
.breadcrumb .current { color: rgba(255,255,255,0.7); }

/* buttons */
.btn {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.3s;
  font-family: 'Noto Sans JP', sans-serif;
}
.btn-gold {
  background: var(--gold);
  color: var(--indigo-deep);
}
.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(184,148,63,0.35);
}
.btn-outline-dark {
  border: 1px solid var(--border-gold);
  color: var(--gold);
  background: transparent;
}
.btn-outline-dark:hover {
  background: var(--gold-pale);
}
.btn-outline-light {
  border: 1px solid rgba(255,255,255,0.3);
  color: white;
  background: transparent;
}
.btn-outline-light:hover {
  border-color: var(--gold-light);
  color: var(--gold-light);
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }
.delay-4 { transition-delay: 0.32s; }
.delay-5 { transition-delay: 0.4s; }

/* ── MOBILE ── */
@media (max-width: 860px) {
  nav { padding: 0 1.5rem; }
  .nav-links { display: none; }           /* PC nav → drawer に切り替え */
  .nav-hamburger { display: flex; }       /* ハンバーガー表示 */
  .container { padding: 0 1.5rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 2.5rem; padding: 3rem 1.5rem 2rem; }
  .footer-bottom { padding: 1.5rem; flex-direction: column; gap: 0.5rem; text-align: center; }
  .page-hero { height: 260px; padding-bottom: 2.5rem; }
}
