/* =============================================
   桜ヶ丘カウンセリングルーム — 共通スタイル
   ============================================= */

/* Google Fonts: loaded via <link> in HTML for performance. @import removed. */

:root {
  --sakura:     #C4778A;
  --sakura-lt:  #F2E6E9;
  --sakura-md:  #E0B8C2;
  --ink:        #2A2520;
  --stone:      #504A45;
  --mist:       #837D78;
  --paper:      #FAF8F5;
  --paper-md:   #F3F0EC;
  --white:      #FFFFFF;
  --serif:      'Noto Serif JP', serif;
  --sans:       'Noto Sans JP', sans-serif;
  --max-w:      760px;
  --nav-h:      64px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  font-weight: 300;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}

/* ── Navigation ── */
.site-nav {
  position: fixed; top: 0; width: 100%; z-index: 200;
  height: var(--nav-h);
  background: rgba(250,248,245,0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--sakura-md);
  display: flex; align-items: center;
  padding: 0 40px;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--serif);
  font-size: 14px; color: var(--ink);
  text-decoration: none; letter-spacing: 0.1em;
  white-space: nowrap;
}
.nav-logo { display: flex; align-items: center; gap: 8px; }
.nav-logo-img { height: 24px; width: auto; }
.nav-logo-text {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--ink);
}
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a {
  font-size: 12.5px; color: var(--stone);
  text-decoration: none; letter-spacing: 0.07em;
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active { color: var(--sakura); }
.nav-reserve {
  font-size: 12px; padding: 7px 20px;
  background: var(--sakura); color: var(--white);
  text-decoration: none; border-radius: 2px;
  letter-spacing: 0.08em;
  transition: background 0.2s;
  white-space: nowrap;
}
.nav-reserve:hover { background: #B5697C; }

/* ── Page wrapper ── */
.page-body { padding-top: var(--nav-h); }

/* ── Section base ── */
.section {
  padding: 88px 24px;
}
.section--alt { background: var(--paper-md); }
.section--white { background: var(--white); }
.section--sakura { background: var(--sakura-lt); }
.section--dark { background: var(--ink); }

.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

/* ── Section headings ── */
.section-eyebrow {
  display: block;
  font-size: 11px; letter-spacing: 0.22em;
  color: var(--sakura); margin-bottom: 10px;
  font-weight: 400;
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(20px, 3vw, 27px);
  font-weight: 400; line-height: 1.65;
  letter-spacing: 0.04em; margin-bottom: 20px;
}
.section-lead {
  font-size: 15.5px; color: var(--stone);
  line-height: 2.0; margin-bottom: 40px;
}
.rule {
  width: 36px; height: 1px;
  background: var(--sakura-md);
  margin: 0 0 36px;
}

/* ── Page hero (inner pages) ── */
.page-hero {
  padding: 72px 24px 56px;
  background: var(--white);
  border-bottom: 1px solid var(--sakura-md);
  text-align: center;
}
.page-hero .section-eyebrow { text-align: center; }
.page-hero .section-title   { margin-bottom: 8px; }
.page-hero .section-lead    { margin-bottom: 0; max-width: 520px; margin-left: auto; margin-right: auto; }

/* ── Buttons ── */
.btn {
  display: inline-block; text-decoration: none;
  font-size: 13.5px; letter-spacing: 0.1em;
  padding: 13px 36px; border-radius: 2px;
  transition: background 0.22s, transform 0.18s, opacity 0.18s;
  font-weight: 400;
}
.btn--primary { background: var(--sakura); color: var(--white); }
.btn--primary:hover { background: #B5697C; transform: translateY(-1px); }
.btn--outline {
  border: 1px solid var(--sakura);
  color: var(--sakura); background: transparent;
}
.btn--outline:hover { background: var(--sakura-lt); }
.btn--white { background: var(--white); color: var(--sakura); }
.btn--white:hover { opacity: 0.88; transform: translateY(-1px); }

/* ── Cards ── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 16px;
}
.card {
  background: var(--white);
  padding: 28px 24px;
  border-left: 3px solid var(--sakura-md);
  border-radius: 0 2px 2px 0;
}
.card-icon {
  font-size: 36px;
  margin-bottom: 12px;
  line-height: 1;
  color: var(--sakura);
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
}
.card-icon svg {
  width: 40px;
  height: 40px;
  stroke: currentColor;
  stroke-width: 1.6;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.card-title {
  font-family: var(--serif); font-size: 15px;
  margin-bottom: 8px; color: var(--ink);
}
.card-body { font-size: 14.5px; color: var(--stone); line-height: 1.85; }

/* ── Table ── */
.data-table {
  width: 100%; border-collapse: collapse;
}
.data-table th {
  font-size: 11.5px; letter-spacing: 0.1em;
  color: var(--sakura); font-weight: 400;
  border-bottom: 1px solid var(--sakura-md);
  padding: 10px 10px; text-align: left;
}
.data-table td {
  padding: 14px 10px;
  font-size: 15px; color: var(--stone);
  border-bottom: 1px solid var(--paper-md);
  vertical-align: top; line-height: 1.7;
}
.data-table td:last-child {
  text-align: right; color: var(--ink);
  font-family: var(--serif); white-space: nowrap;
}
.data-table tr:last-child td { border-bottom: none; }

/* ── Info block ── */
.info-block {
  background: var(--sakura-lt);
  padding: 22px 24px; border-radius: 2px;
  font-size: 14px; color: var(--stone); line-height: 1.95;
}
.info-block strong { color: var(--ink); font-weight: 400; }

/* ── Definition list ── */
.def-list { width: 100%; }
.def-list dt {
  font-size: 11px; letter-spacing: 0.14em;
  color: var(--sakura); margin-bottom: 3px;
  margin-top: 20px;
}
.def-list dt:first-child { margin-top: 0; }
.def-list dd {
  font-size: 14.5px; color: var(--ink);
  line-height: 1.75; padding-left: 0;
}

/* ── CTA band ── */
.cta-band {
  background: var(--sakura);
  padding: 80px 24px; text-align: center;
}
.cta-band .section-title { color: var(--white); margin-bottom: 10px; }
.cta-band .section-lead  { color: rgba(255,255,255,0.8); margin-bottom: 36px; }
.cta-note {
  margin-top: 18px; font-size: 12px;
  color: rgba(255,255,255,0.7);
}
.cta-note a { color: rgba(255,255,255,0.9); }

/* ── Footer ── */
.site-footer {
  background: var(--ink);
  padding: 48px 24px 32px;
  text-align: center;
}
.footer-logo {
  font-family: var(--serif); font-size: 15px;
  color: rgba(255,255,255,0.75); margin-bottom: 12px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.footer-logo-img { height: 20px; width: auto; opacity: 0.75; }
.footer-links {
  display: flex; justify-content: center;
  flex-wrap: wrap; gap: 20px;
  list-style: none; margin-bottom: 24px;
}
.footer-links a {
  font-size: 12px; color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: rgba(255,255,255,0.75); }
.footer-copy {
  font-size: 11px; color: rgba(255,255,255,0.3);
  line-height: 2.0;
}

/* ── Fade-in ── */
.fade { opacity: 0; transform: translateY(18px); transition: opacity 0.65s ease, transform 0.65s ease; }
.fade.in { opacity: 1; transform: none; }

/* ── Hamburger menu ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  margin-left: 8px;
}
.nav-hamburger span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--ink);
  transition: transform 0.25s, opacity 0.2s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: rgba(250,248,245,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--sakura-md);
  padding: 8px 24px 24px;
  z-index: 199;
  flex-direction: column;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  display: block;
  font-size: 15px; color: var(--stone);
  text-decoration: none; letter-spacing: 0.05em;
  padding: 14px 0;
  border-bottom: 1px solid var(--paper-md);
}
.nav-mobile a:last-of-type { border-bottom: none; }
.nav-mobile a:hover,
.nav-mobile a.active { color: var(--sakura); }
.nav-mobile-reserve {
  margin-top: 16px !important;
  display: block; text-align: center;
  background: var(--sakura) !important;
  color: var(--white) !important;
  padding: 13px !important; border-radius: 2px;
  font-size: 14px; letter-spacing: 0.1em;
  text-decoration: none;
  border-bottom: none !important;
}
.nav-mobile-reserve:hover { background: #B5697C !important; }

/* ── Floating reserve button ── */
.float-reserve {
  position: fixed;
  bottom: 28px; right: 24px;
  z-index: 300;
  background: var(--sakura);
  color: var(--white);
  text-decoration: none;
  font-size: 13px; letter-spacing: 0.08em;
  padding: 13px 22px;
  border-radius: 40px;
  box-shadow: 0 4px 16px rgba(196,119,138,0.35),
              0 1px 4px rgba(196,119,138,0.18);
  transition: background 0.25s, transform 0.18s, box-shadow 0.25s;
  display: flex; align-items: center; gap: 7px;
  white-space: nowrap;
  border: 1px solid rgba(255,255,255,0.25);
}
.float-reserve:hover {
  background: #D08A9E;
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(196,119,138,0.45),
              0 2px 6px rgba(196,119,138,0.22);
}

/* ── FAQ ── */
.faq-list { display: flex; flex-direction: column; gap: 2px; }
.faq-item {
  background: var(--white);
  border-radius: 2px; overflow: hidden;
}
.faq-q {
  width: 100%; text-align: left;
  display: flex; align-items: flex-start; gap: 14px;
  padding: 20px 22px; cursor: pointer;
  background: none; border: none;
  font-family: var(--sans); font-size: 15px;
  color: var(--ink); line-height: 1.6;
  border-bottom: 1px solid var(--paper-md);
  transition: background 0.15s;
}
.faq-q:hover { background: var(--sakura-lt); }
.faq-q-mark {
  flex-shrink: 0;
  font-family: var(--serif); font-size: 17px;
  color: var(--sakura); margin-top: 1px;
}
.faq-q-text { flex: 1; text-align: left; }
.faq-chevron {
  flex-shrink: 0; font-size: 11px; color: var(--mist);
  transition: transform 0.25s; margin-top: 3px;
}
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-a {
  display: none;
  padding: 18px 22px 20px calc(22px + 14px + 17px);
  font-size: 14.5px; color: var(--stone); line-height: 1.95;
  border-bottom: 1px solid var(--paper-md);
}
.faq-item.open .faq-a { display: block; }

/* ── Font size toggle ── */
.font-toggle {
  display: flex; align-items: center; gap: 4px;
  margin-right: 12px;
  font-size: 11px; color: var(--stone);
  letter-spacing: 0.05em;
}
.font-toggle-btn {
  background: none; border: 1px solid var(--sakura-md);
  border-radius: 2px; cursor: pointer;
  font-family: var(--sans); color: var(--stone);
  padding: 3px 8px; font-size: 11px;
  transition: background 0.2s, color 0.2s;
  line-height: 1;
}
.font-toggle-btn.active {
  background: var(--sakura); color: var(--white);
  border-color: var(--sakura);
}
.font-toggle-btn:hover:not(.active) { background: var(--sakura-lt); }
.font-toggle-btn--lg { font-size: 13px; }

html.font-lg .section-lead { font-size: 18.5px; }
html.font-lg .card-body,
html.font-lg .faq-a,
html.font-lg .info-block,
html.font-lg .data-table td { font-size: 18px; }
html.font-lg .faq-q { font-size: 18.5px; }
html.font-lg .card-title,
html.font-lg .flow-title { font-size: 18.5px; }
html.font-lg .flow-body { font-size: 17px; }
html.font-lg .section-title { font-size: clamp(25px, 3.5vw, 34px); }
html.font-lg .note-block { font-size: 17px; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .site-nav { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-reserve { display: none; }
  .nav-hamburger { display: flex; }
  .section { padding: 64px 20px; }
  .page-hero { padding: 56px 20px 40px; }
  .float-reserve { bottom: 20px; right: 16px; padding: 11px 18px; font-size: 12.5px; }
  .font-toggle { display: none; }
}
