/* ============================================================
   Agequake 共通スタイル  _shared.css
   ============================================================ */
:root {
  --navy:       #1c2b4a;
  --navy-mid:   #243562;
  --navy-dark:  #0b1526;
  --navy-deep:  #060e1c;
  --gold:       #a8893c;
  --gold-light: #c9a84c;
  --gold-pale:  #f5edda;
  --gold-shine: #dfc16a;
  --silver:     #8fa0b8;
  --beige:      #f8f4ed;
  --beige-dark: #ece6d9;
  --white:      #ffffff;
  --off-white:  #fdfbf8;
  --text:       #1c2b4a;
  --text-muted: #5a6273;

  --serif: 'Noto Serif JP', serif;
  --sans:  'Noto Sans JP', sans-serif;
  --caps:  'Cinzel', serif;

  --radius-sm: 4px;
  --radius:    8px;
  --radius-lg: 16px;
  --shadow:    0 4px 24px rgba(28,43,74,0.10);
  --shadow-lg: 0 12px 56px rgba(28,43,74,0.18);
  --transition: 0.28s ease;
  --header-h:  72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }

/* ── container ── */
.container { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 32px; }
.container--wide { max-width: 1280px; }

/* ── section ── */
.section        { padding: 104px 0; }
.section--beige { background: var(--beige); }
.section--navy  { background: var(--navy); color: var(--white); }
.section--dark  { background: var(--navy-dark); color: var(--white); }
.section--deep  { background: var(--navy-deep); color: var(--white); }
.section--white { background: var(--off-white); }

/* ── section heading ── */
.sec-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--caps);
  font-size: 0.60rem;
  letter-spacing: 0.32em;
  color: var(--gold);
  margin-bottom: 16px;
  text-transform: uppercase;
}
.sec-label::before {
  content: '';
  display: block;
  width: 32px; height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}
.sec-title {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  font-weight: 600;
  line-height: 1.6;
  margin-bottom: 22px;
  letter-spacing: 0.03em;
}
.sec-body {
  font-size: 0.92rem;
  line-height: 2.1;
  color: var(--text-muted);
  max-width: 640px;
}
.sec-center { text-align: center; }
.sec-center .sec-label { justify-content: center; }
.sec-center .sec-label::before { display: none; }
.sec-center .sec-body { margin: 0 auto; }

/* ── gold line divider ── */
.gold-line {
  width: 44px; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  margin-bottom: 30px;
}
.gold-line--center { margin-left: auto; margin-right: auto; }

/* ── buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--sans);
  font-size: 0.86rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--white);
  box-shadow: 0 2px 14px rgba(168,137,60,0.28);
}
.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold-shine));
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(168,137,60,0.38);
}
.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover { background: var(--navy-mid); transform: translateY(-2px); }
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.45);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(255,255,255,0.72);
  transform: translateY(-2px);
}
.btn-outline-gold {
  background: transparent;
  color: var(--gold-light);
  border: 1px solid rgba(201,168,76,0.55);
}
.btn-outline-gold:hover {
  background: rgba(201,168,76,0.07);
  border-color: var(--gold-light);
  transform: translateY(-2px);
}
.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}
.btn-outline-navy:hover { background: var(--navy); color: var(--white); transform: translateY(-2px); }
.btn-lg { padding: 17px 42px; font-size: 0.94rem; }
.btn svg { flex-shrink: 0; }

/* ── badge ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 13px;
  background: rgba(168,137,60,0.10);
  border: 1px solid rgba(168,137,60,0.30);
  border-radius: 2px;
  font-family: var(--caps);
  font-size: 0.57rem;
  letter-spacing: 0.18em;
  color: var(--gold-light);
  text-transform: uppercase;
}
.badge--coming {
  background: rgba(143,160,184,0.10);
  border-color: rgba(143,160,184,0.30);
  color: var(--silver);
}
.badge--active {
  background: rgba(168,137,60,0.12);
  border-color: rgba(168,137,60,0.45);
  color: var(--gold-light);
}

/* ── card ── */
.card {
  background: var(--white);
  border: 1px solid var(--beige-dark);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.card::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.card:hover::after { transform: scaleX(1); }
.card__icon {
  width: 50px; height: 50px;
  background: var(--gold-pale);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 18px;
}
.card__title {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--navy);
}
.card__body {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.9;
}

/* ── LINE button ── */
.btn-line {
  background: #06C755; color: var(--white);
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 26px; border-radius: var(--radius-sm);
  font-size: 0.86rem; font-weight: 500;
  transition: var(--transition); border: none; cursor: pointer;
  letter-spacing: 0.04em;
}
.btn-line:hover { background: #05b04c; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(6,199,85,0.28); }
.btn-line svg { width: 20px; height: 20px; flex-shrink: 0; }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: var(--header-h);
  background: rgba(10,18,36,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(168,137,60,0.14);
  transition: box-shadow var(--transition);
}
.header.scrolled {
  box-shadow: 0 2px 40px rgba(0,0,0,0.32);
  background: rgba(6,14,28,0.99);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 32px;
  max-width: 1280px;
  margin: 0 auto;
}

.logo-wrap { display: flex; align-items: center; }
.logo-img {
  height: 40px;
  width: auto;
  display: block;
  background: rgba(255,255,255,0.95);
  padding: 5px 10px;
  border-radius: 5px;
  object-fit: contain;
}

.gnav { display: flex; align-items: center; gap: 2px; }
.gnav__item a {
  display: block;
  padding: 7px 13px;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.72);
  letter-spacing: 0.06em;
  transition: color var(--transition);
  white-space: nowrap;
  font-family: var(--sans);
}
.gnav__item a:hover,
.gnav__item.active a { color: var(--gold-light); }
.gnav__cta { margin-left: 14px; }
.gnav__cta .btn { padding: 8px 20px; font-size: 0.75rem; }

/* hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--header-h); left: 0; right: 0;
  background: var(--navy-deep);
  padding: 20px 28px 32px;
  z-index: 199;
  border-bottom: 1px solid rgba(168,137,60,0.14);
  box-shadow: 0 8px 40px rgba(0,0,0,0.40);
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  padding: 14px 0;
  color: rgba(255,255,255,0.80);
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.mobile-menu a:last-of-type { border-bottom: none; }
.mobile-menu .btn { margin-top: 20px; width: 100%; justify-content: center; }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 72px) 0 72px;
  background: linear-gradient(150deg, var(--navy-deep) 0%, var(--navy) 100%);
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 80% at 80% 50%, rgba(168,137,60,0.06), transparent 70%);
}
.page-hero__label {
  font-family: var(--caps);
  font-size: 0.58rem;
  letter-spacing: 0.30em;
  color: var(--gold);
  margin-bottom: 18px;
  display: flex; align-items: center; gap: 10px;
}
.page-hero__label::before {
  content: ''; display: block;
  width: 28px; height: 1px; background: var(--gold);
}
.page-hero__title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.5;
  margin-bottom: 20px;
  letter-spacing: 0.04em;
}
.page-hero__sub {
  font-size: 0.90rem;
  color: rgba(255,255,255,0.58);
  line-height: 2.0;
  max-width: 600px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.44);
  padding: 64px 0 36px;
  border-top: 1px solid rgba(168,137,60,0.12);
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}
.footer__brand {}
.footer__logo-img {
  height: 48px; width: auto;
  background: rgba(255,255,255,0.94);
  padding: 5px 10px;
  border-radius: 5px;
  margin-bottom: 16px;
}
.footer__tagline {
  font-size: 0.76rem;
  line-height: 2.0;
  max-width: 220px;
  color: rgba(255,255,255,0.40);
}
.footer__nav { display: flex; gap: 52px; flex-wrap: wrap; }
.footer__nav-col h4 {
  font-family: var(--caps);
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  color: var(--gold);
  margin-bottom: 16px;
  text-transform: uppercase;
}
.footer__nav-col li { margin-bottom: 9px; }
.footer__nav-col a {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.42);
  transition: color var(--transition);
}
.footer__nav-col a:hover { color: var(--gold-light); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}
.footer__copy {
  font-family: var(--caps);
  font-size: 0.62rem;
  letter-spacing: 0.09em;
  color: rgba(255,255,255,0.30);
}
.footer__legal { display: flex; gap: 20px; }
.footer__legal a {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.24);
  transition: color var(--transition);
}
.footer__legal a:hover { color: var(--gold-light); }

/* ── fade-in ── */
.fade-in { opacity: 0; transform: translateY(22px); transition: opacity 0.75s ease, transform 0.75s ease; }
.fade-in.visible { opacity: 1; transform: none; }
.fd2 { transition-delay: 0.12s; }
.fd3 { transition-delay: 0.22s; }
.fd4 { transition-delay: 0.32s; }
.fd5 { transition-delay: 0.42s; }

/* ── divider ornament ── */
.ornament {
  display: flex; align-items: center; justify-content: center;
  gap: 16px; margin: 56px 0;
}
.ornament::before, .ornament::after {
  content: ''; display: block;
  flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, var(--beige-dark), transparent);
}
.ornament__diamond {
  width: 7px; height: 7px;
  background: var(--gold);
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .gnav { display: none; }
  .hamburger { display: flex; }
  .section { padding: 72px 0; }
  .page-hero { padding: calc(var(--header-h) + 52px) 0 56px; }
}
@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .section { padding: 56px 0; }
  .footer__inner { flex-direction: column; gap: 32px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}
