/* ============================================================
   Sumile — Shared Stylesheet
   ============================================================ */

:root {
  --bg: #F2F9FD;           /* creaimo cream */
  --text: #3A3633;         /* near-black */
  --teal: #1A72A6;         /* dusty rose (accent) */
  --teal-dark: #166994;    /* deep rose-brown */
  --stone: #CFE3EF;        /* line (thin dark border) */
  --secondary: #5E5853;    /* warm brown-grey */
  --answer: #45403C;       /* FAQ answers — darker for readability */
  --surface: #FFFFFF;      /* light cream */
  --surface-alt: #E6F4FB;  /* sand cream */
  --rose: #9FD6F2;
  --khaki: #B5A79C;
  --sand: #E1F2FB;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ---- NAV ---- */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2.5rem;
  background: rgba(243,248,251,0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(194,212,224,0.6);
  box-shadow: 0 1px 20px rgba(31,43,53,0.04);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text);
}
.nav-logo svg { width: 36px; height: 36px; flex-shrink: 0; }
.nav-wordmark {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 1.05rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  align-items: center;
}
.nav-links a {
  text-decoration: none;
  color: var(--secondary);
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: 0.73rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--teal); }

.nav-cta {
  padding: 0.5rem 1.2rem;
  background: var(--teal);
  color: #fff !important;
  border-radius: 2px;
  font-size: 0.73rem !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--teal-dark) !important; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  color: var(--text);
}
.nav-toggle svg { width: 22px; height: 22px; }

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.3);
  z-index: 90;
}
.nav-overlay.open { display: block; }

/* ---- DROPDOWN ---- */
.has-dropdown { position: relative; }
.dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 0.75rem);
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg);
  border: 1px solid var(--stone);
  border-top: 2px solid var(--teal);
  min-width: 200px;
  z-index: 200;
  padding: 0.5rem 0;
  margin: 0;
  list-style: none;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown { display: block; }
.dropdown a {
  display: block;
  padding: 0.6rem 1.25rem !important;
  font-size: 0.75rem !important;
  color: var(--secondary) !important;
  white-space: nowrap;
  border-bottom: 1px solid var(--stone);
}
.dropdown li:last-child a { border-bottom: none; }
.dropdown a:hover { color: var(--teal) !important; background: var(--surface); }

/* ---- BUTTONS ---- */
.btn-primary {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: var(--teal);
  color: #fff;
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  border-radius: 2px;
  transition: background 0.25s, box-shadow 0.25s, transform 0.2s;
  box-shadow: 0 2px 12px rgba(29,91,148,0.22);
}
.btn-primary:hover { background: var(--teal-dark); box-shadow: 0 4px 18px rgba(29,91,148,0.32); transform: translateY(-1px); }

.btn-ghost {
  display: inline-block;
  padding: 0.8rem 2rem;
  border: 1px solid var(--stone);
  color: var(--secondary);
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  border-radius: 2px;
  transition: border-color 0.2s, color 0.2s;
}
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); }

/* ---- SECTION BASE ---- */
section { padding: 6rem 2.5rem; }
.section-inner { max-width: 1140px; margin: 0 auto; }

.section-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.68rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1.5rem;
  display: block;
}

.section-heading {
  font-family: 'Noto Serif JP', serif;
  font-weight: 300;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.6;
  letter-spacing: 0.04em;
  color: var(--text);
  text-wrap: balance;
}

hr.section-rule { border: none; border-top: 1px solid var(--stone); margin: 0; }

/* ---- PAGE HERO (sub-pages) ---- */
.page-hero {
  padding: calc(68px + 5rem) 2.5rem 5rem;
  background: var(--surface);
  border-bottom: 1px solid var(--stone);
}
.page-hero-heading {
  font-family: 'Noto Serif JP', serif;
  font-weight: 300;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.4;
  letter-spacing: 0.04em;
  color: var(--text);
  text-wrap: balance;
  margin-bottom: 1rem;
}
.page-hero-sub {
  font-size: 0.85rem;
  color: var(--secondary);
  line-height: 2;
  max-width: 48ch;
}

/* ---- HERO (homepage) ---- */
.hero { display: flex; min-height: 100vh; padding-top: 68px; }
.hero-text {
  flex: 0 0 46%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 3.5rem 5rem 2.5rem;
}
.hero-eyebrow {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1.75rem;
}
.hero-heading {
  font-family: 'Noto Serif JP', serif;
  font-weight: 300;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: var(--text);
  text-wrap: balance;
  margin-bottom: 1.75rem;
}
.hero-heading em { font-style: normal; color: var(--teal); }
.hero-sub {
  font-size: 0.85rem;
  color: var(--secondary);
  line-height: 2;
  max-width: 36ch;
  margin-bottom: 2rem;
}
.hero-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.hero-bullets li {
  font-size: 0.82rem;
  color: var(--secondary);
  line-height: 1.7;
  padding-left: 1.1em;
  position: relative;
}
.hero-bullets li::before {
  content: '▪';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-size: 0.7em;
  top: 0.2em;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }

/* SNS strip */
.sns-strip { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.sns-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  color: var(--secondary);
  font-size: 0.73rem;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.sns-link:hover { color: var(--teal); }
.sns-link svg { width: 15px; height: 15px; flex-shrink: 0; }

.hero-photo {
  flex: 0 0 54%;
  position: relative;
  overflow: hidden;
  background: #F4F2EF url('images/hero-main.jpg') 72% center / cover no-repeat;
}
.hero-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 55% at 60% 40%, rgba(218,210,196,0.6) 0%, transparent 65%),
    radial-gradient(ellipse 40% 50% at 25% 70%, rgba(185,175,160,0.35) 0%, transparent 60%),
    radial-gradient(ellipse 80% 35% at 50% 100%, rgba(150,142,130,0.25) 0%, transparent 70%);
}
.photo-label {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 0.8rem;
  color: rgba(60,80,95,0.75);
  letter-spacing: 0.08em;
  background: rgba(243,248,251,0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 0.4rem 0.8rem;
  border-radius: 1px;
}

/* ---- PATHS ---- */
.paths { background: var(--surface); padding: 0; }
.paths-inner { max-width: 1140px; margin: 0 auto; padding: 5rem 2.5rem; }
.paths-header { text-align: center; margin-bottom: 3.5rem; }
.paths-header p { font-size: 0.85rem; color: var(--secondary); margin-top: 1rem; }
.paths-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }

.path-card {
  padding: 3.5rem;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease;
}
.path-card:hover { transform: translateY(-2px); }
.path-card-a { background: var(--teal-dark); color: #fff; }
.path-card-b { background: var(--surface-alt); position: relative; }
.path-card-b::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.25) 0%, transparent 60%);
  pointer-events: none;
}

.path-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 5rem;
  font-weight: 300;
  opacity: 0.12;
  position: absolute;
  top: -0.5rem;
  right: 1.5rem;
  line-height: 1;
  color: currentColor;
}
.path-tag {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 1.25rem;
  display: block;
}
.path-card-a .path-tag { opacity: 0.6; color: #E4F0F7; }
.path-heading {
  font-family: 'Noto Serif JP', serif;
  font-weight: 300;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  line-height: 1.6;
  letter-spacing: 0.04em;
  margin-bottom: 1.25rem;
  text-wrap: balance;
}
.path-card-a .path-heading { color: #fff; }
.path-desc { font-size: 0.82rem; line-height: 2; max-width: 34ch; margin-bottom: 2rem; }
.path-card-a .path-desc { color: rgba(255,255,255,0.75); }
.path-card-b .path-desc { color: var(--secondary); }
.path-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 500;
  text-decoration: none;
}
.path-card-a .path-link { color: #E4F0F7; }
.path-card-b .path-link { color: var(--teal); }
.path-link::after { content: '→'; font-size: 0.9rem; letter-spacing: 0; transition: transform 0.2s; }
.path-card:hover .path-link::after { transform: translateX(4px); }

/* ---- SERVICES (home overview) ---- */
.services { background: var(--bg); }
.services-header { margin-bottom: 3rem; display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 1rem; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.service-card { padding: 2.25rem 2rem; background: var(--surface); border-top: 2px solid var(--teal); box-shadow: 0 2px 16px rgba(31,43,53,0.05), 0 1px 4px rgba(42,115,184,0.08); transition: box-shadow 0.3s ease, transform 0.3s ease; }
.service-card:hover { box-shadow: 0 8px 32px rgba(31,43,53,0.09), 0 2px 8px rgba(42,115,184,0.12); transform: translateY(-2px); }
.service-icon { width: 32px; height: 32px; margin-bottom: 1.25rem; color: var(--teal); }
.service-title { font-family: 'Noto Serif JP', serif; font-weight: 400; font-size: 1.05rem; letter-spacing: 0.04em; margin-bottom: 0.5rem; color: var(--text); }
.service-title-en { font-family: 'Cormorant Garamond', serif; font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--teal); margin-bottom: 0.75rem; display: block; }
.service-desc { font-size: 0.8rem; color: var(--secondary); line-height: 2; margin-bottom: 1.25rem; }
.service-price { font-family: 'Cormorant Garamond', serif; font-size: 0.85rem; letter-spacing: 0.1em; color: var(--text); border-top: 1px solid var(--stone); padding-top: 1rem; }
.service-price span { font-size: 1.2rem; font-weight: 500; color: var(--teal); }

/* ---- SERVICE DETAIL (sub-pages) ---- */
.service-block { padding: 5rem 2.5rem; }
.service-block:nth-child(even) { background: var(--surface); }
.service-block-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.service-block-inner.flip { direction: rtl; }
.service-block-inner.flip > * { direction: ltr; }

.service-block h2 {
  font-family: 'Noto Serif JP', serif;
  font-weight: 300;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.6;
  letter-spacing: 0.04em;
  margin-bottom: 1.25rem;
  color: var(--text);
}
.service-block p {
  font-size: 0.85rem;
  color: var(--secondary);
  line-height: 2.1;
  margin-bottom: 1rem;
}
.service-block ul {
  list-style: none;
  margin: 1rem 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.service-block ul li {
  font-size: 0.82rem;
  color: var(--secondary);
  padding-left: 1.2rem;
  position: relative;
  line-height: 1.8;
}
.service-block ul li::before { content: '—'; position: absolute; left: 0; color: var(--teal); font-family: 'Cormorant Garamond', serif; }

.price-box {
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--surface-alt);
  border-left: 3px solid var(--teal);
}
.price-box .price-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.5rem;
  display: block;
}
.price-box .price-val {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.2;
}
.price-box .price-val small {
  font-size: 0.85rem;
  color: var(--secondary);
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 300;
  margin-left: 0.3rem;
}
.price-box .price-note {
  font-size: 0.75rem;
  color: var(--secondary);
  margin-top: 0.5rem;
  line-height: 1.8;
}

.img-col {
  aspect-ratio: 3/4;
  background: linear-gradient(155deg, #E4F0F7 0%, #CDEBFA 45%, #9ACBE8 80%, #8FC1E3 100%);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
  max-width: 100%;
}
.img-col::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,252,248,0.3) 0%, transparent 50%);
  pointer-events: none;
}
.img-col::after {
  content: attr(data-caption);
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 0.75rem;
  color: rgba(40,55,68,0.7);
  background: rgba(243,248,251,0.82);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  padding: 0.3rem 0.6rem;
}

/* ---- MAMA SERVICES (home) ---- */
.mama-services { background: var(--surface-alt); }
.mama-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.mama-services-list { display: flex; flex-direction: column; gap: 0; }
.mama-service-item { padding: 1.75rem 0; border-bottom: 1px solid var(--stone); display: flex; gap: 1.5rem; align-items: flex-start; }
.mama-service-item:first-child { border-top: 1px solid var(--stone); }
.mama-service-num { font-family: 'Cormorant Garamond', serif; font-size: 0.65rem; letter-spacing: 0.2em; color: var(--teal); padding-top: 0.2rem; flex-shrink: 0; }
.mama-service-content h3 { font-family: 'Noto Serif JP', serif; font-weight: 400; font-size: 1rem; margin-bottom: 0.3rem; }
.mama-service-content p { font-size: 0.79rem; color: var(--secondary); line-height: 1.9; }
.mama-service-content .price-note { font-family: 'Cormorant Garamond', serif; font-size: 0.8rem; color: var(--teal); margin-top: 0.4rem; letter-spacing: 0.05em; }
.mama-photo-col { position: sticky; top: 100px; }
.photo-box { aspect-ratio: 3/4; background: linear-gradient(155deg, #E4F0F7 0%, #CDEBFA 45%, #9ACBE8 80%, #8FC1E3 100%); border-radius: 2px; position: relative; overflow: hidden; margin-bottom: 1.5rem; }
.photo-box::after { content: attr(data-caption); position: absolute; bottom: 1rem; left: 1rem; font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 0.75rem; color: rgba(40,55,68,0.7); background: rgba(243,248,251,0.82); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); padding: 0.3rem 0.6rem; }

/* ---- ABOUT SECTION (home) ---- */
.about { background: var(--teal-dark); color: rgba(255,255,255,0.9); }
.about .section-label { color: #E4F0F7; }
.about-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 5rem; align-items: center; }
.about-photo { aspect-ratio: 3/4; background: #EEEDEC url('images/profile.jpg') center 20% / cover no-repeat; position: relative; overflow: hidden; }
.about-photo::after { content: none; position: absolute; bottom: 1.5rem; left: 1.5rem; font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 0.75rem; color: rgba(200,220,215,0.75); }
.about-heading { font-family: 'Noto Serif JP', serif; font-weight: 300; font-size: clamp(1.5rem, 2.5vw, 2.2rem); line-height: 1.7; letter-spacing: 0.04em; color: #fff; margin-bottom: 1.75rem; text-wrap: balance; }
.about-text { font-size: 0.85rem; line-height: 2.1; color: rgba(255,255,255,0.72); max-width: 48ch; margin-bottom: 1.25rem; }
.about-meta { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.15); display: flex; gap: 3rem; flex-wrap: wrap; }
.about-meta-item { font-family: 'Cormorant Garamond', serif; }
.about-meta-item dt { font-size: 0.62rem; letter-spacing: 0.25em; text-transform: uppercase; color: #E4F0F7; margin-bottom: 0.3rem; }
.about-meta-item dd { font-size: 0.9rem; color: rgba(255,255,255,0.85); font-weight: 400; }

/* ---- RE:ME ---- */
.reme { background: var(--bg); }
.reme-card { background: var(--surface); border: 1px solid var(--stone); padding: 3.5rem; display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.reme-heading { font-family: 'Cormorant Garamond', serif; font-weight: 300; font-style: italic; font-size: 3rem; color: var(--teal); line-height: 1; letter-spacing: 0.02em; margin-bottom: 0.5rem; }
.reme-subtitle { font-family: 'Noto Serif JP', serif; font-size: 1rem; font-weight: 300; color: var(--text); margin-bottom: 1rem; letter-spacing: 0.05em; }
.reme-desc { font-size: 0.82rem; color: var(--secondary); line-height: 2; }
.reme-plans { display: flex; flex-direction: column; gap: 1rem; }
.reme-plan { padding: 1.25rem 1.5rem; background: var(--bg); display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.reme-plan-name { font-family: 'Noto Serif JP', serif; font-size: 0.9rem; font-weight: 400; }
.reme-plan-price { font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; font-weight: 500; color: var(--teal); white-space: nowrap; }
.reme-plan-price small { font-size: 0.75rem; color: var(--secondary); font-family: 'Zen Kaku Gothic New', sans-serif; font-weight: 300; margin-left: 0.2rem; }
.reme-features { margin-top: 1rem; list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.reme-features li { font-size: 0.78rem; color: var(--secondary); padding-left: 1.2rem; position: relative; }
.reme-features li::before { content: '—'; position: absolute; left: 0; color: var(--teal); font-family: 'Cormorant Garamond', serif; }

/* ---- CTA BAND ---- */
.cta-band { background: var(--teal-dark); padding: 5rem 2.5rem; text-align: center; }
.cta-band h2 { font-family: 'Noto Serif JP', serif; font-weight: 300; font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: 1rem; color: #fff; text-wrap: balance; }
.cta-band p { font-size: 0.85rem; color: rgba(255,255,255,0.7); margin-bottom: 2rem; }
.cta-band .btn-primary { background: #fff; color: var(--teal-dark); }
.cta-band .btn-primary:hover { background: rgba(255,255,255,0.9); }

/* ---- CONTACT ---- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
.contact-card { padding: 2.25rem 2rem; background: var(--surface); border-top: 2px solid var(--teal); text-decoration: none; color: inherit; display: block; transition: transform 0.2s; }
.contact-card:hover { transform: translateY(-2px); }
.contact-card h3 { font-family: 'Noto Serif JP', serif; font-weight: 400; font-size: 1rem; margin-bottom: 0.5rem; color: var(--text); }
.contact-card p { font-size: 0.8rem; color: var(--secondary); line-height: 1.9; margin-bottom: 1.25rem; }
.contact-card .card-link { font-family: 'Cormorant Garamond', serif; font-size: 0.78rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--teal); }

/* ---- ABOUT PAGE ---- */
.profile-layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: 5rem; align-items: start; }
.profile-photo { aspect-ratio: 3/4; background: #EEEDEC url('images/profile.jpg') center 20% / cover no-repeat; border-radius: 2px; position: relative; overflow: hidden; }
.profile-photo::after { content: none; position: absolute; bottom: 1rem; left: 1rem; font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 0.75rem; color: rgba(40,55,68,0.7); background: rgba(243,248,251,0.82); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); padding: 0.3rem 0.6rem; }
.profile-body h2 { font-family: 'Noto Serif JP', serif; font-weight: 300; font-size: clamp(1.5rem, 2.5vw, 2.2rem); line-height: 1.6; letter-spacing: 0.04em; margin-bottom: 1.5rem; color: var(--text); }
.profile-body p { font-size: 0.85rem; color: var(--secondary); line-height: 2.1; margin-bottom: 1rem; }
.profile-meta { margin-top: 2rem; display: flex; flex-direction: column; gap: 0.75rem; padding-top: 1.5rem; border-top: 1px solid var(--stone); }
.profile-meta-row { display: flex; gap: 1.5rem; font-size: 0.82rem; }
.profile-meta-row dt { font-family: 'Cormorant Garamond', serif; font-size: 0.65rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--teal); flex: 0 0 80px; padding-top: 0.15rem; }
.profile-meta-row dd { color: var(--text); }

.about-sns { display: flex; gap: 1.5rem; margin-top: 1.5rem; flex-wrap: wrap; }
.about-sns a { display: inline-flex; align-items: center; gap: 0.5rem; text-decoration: none; color: var(--secondary); font-size: 0.8rem; letter-spacing: 0.05em; transition: color 0.2s; border: 1px solid var(--stone); padding: 0.5rem 1rem; border-radius: 2px; }
.about-sns a:hover { color: var(--teal); border-color: var(--teal); }
.about-sns svg { width: 16px; height: 16px; }

/* ---- FOOTER ---- */
footer { background: #E6F4FB; border-top: 1px solid #C2D4E0; color: #3A3633; padding: 3rem 2.5rem; }
.footer-inner { max-width: 1140px; margin: 0 auto; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 2rem; margin-bottom: 2rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-logo { display: flex; align-items: center; gap: 0.75rem; color: #3A3633; }
.footer-logo svg { width: 28px; height: 28px; }
.footer-logo-text { font-family: 'Cormorant Garamond', serif; font-size: 0.9rem; letter-spacing: 0.2em; text-transform: uppercase; }
.footer-sns { display: flex; gap: 1.25rem; flex-wrap: wrap; align-items: center; }
.footer-sns a { display: inline-flex; align-items: center; gap: 0.4rem; text-decoration: none; color: rgba(31,43,53,0.6); font-size: 0.72rem; letter-spacing: 0.05em; transition: color 0.2s; }
.footer-sns a:hover { color: rgba(31,43,53,1); }
.footer-sns svg { width: 15px; height: 15px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-nav { display: flex; gap: 1.75rem; list-style: none; flex-wrap: wrap; }
.footer-nav a { text-decoration: none; color: rgba(31,43,53,0.7); font-size: 0.72rem; letter-spacing: 0.06em; transition: color 0.2s; }
.footer-nav a:hover { color: rgba(31,43,53,1); }
.footer-copy { font-size: 0.7rem; letter-spacing: 0.05em; color: rgba(31,43,53,0.5); font-family: 'Cormorant Garamond', serif; }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  nav { padding: 1rem 1.5rem; }
  .nav-toggle { display: flex; align-items: center; justify-content: center; }
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(243,248,251,0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    border-left: 1px solid var(--stone);
    transition: right 0.3s ease;
    gap: 0;
    z-index: 95;
    overflow-y: auto;
  }
  .nav-links.open { right: 0; }
  .nav-links li { border-bottom: 1px solid var(--stone); width: 100%; }
  .nav-links li a { display: block; padding: 1rem 0; font-size: 0.85rem; }
  .nav-cta { background: none !important; color: var(--teal) !important; padding: 1rem 0 !important; border-radius: 0; }

  .hero { flex-direction: column; min-height: auto; }
  .hero-text { flex: none; padding: 3rem 1.5rem; }
  .hero-photo { flex: none; height: 50vw; min-height: 260px; }
  .paths-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .mama-layout { grid-template-columns: 1fr; }
  .mama-photo-col { display: none; }
  .about-layout { grid-template-columns: 1fr; }
  .about-photo { display: none; }
  .reme-card { grid-template-columns: 1fr; padding: 2rem 1.5rem; }
  .service-block-inner { grid-template-columns: 1fr; }
  .service-block-inner.flip { direction: ltr; }
  .img-col { aspect-ratio: 4/3; }
  .contact-grid { grid-template-columns: 1fr; }
  .profile-layout { grid-template-columns: 1fr; }
  .profile-photo { display: none; }
  section { padding: 4rem 1.5rem; }
  .service-block { padding: 4rem 1.5rem; }
  .page-hero { padding: calc(68px + 3rem) 1.5rem 3rem; }
}

@media (max-width: 600px) {
  .hero-text { padding: 2.5rem 1.25rem; }
  .path-card { padding: 2.5rem 1.75rem; }
  .about-meta { flex-direction: column; gap: 1.25rem; }
  .footer-top { flex-direction: column; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ---- PHOTOS & RE:ME (2026-10 update) ---- */
.img-col.has-photo { background-size: cover; background-position: center 20%; background-repeat: no-repeat; }
.img-col.has-photo::before, .img-col.has-photo::after { content: none; }
.hero-photo::before { display: none; }
.reme-card { grid-template-columns: 0.8fr 1fr 1fr; }
.reme-photo { aspect-ratio: 3/4; background: #F1F1F1 url('images/reme-photo.jpg') center 25% / cover no-repeat; border-radius: 2px; }
.reme-logo { display: block; width: 132px; height: auto; margin-bottom: 1rem; }
@media (max-width: 900px) {
  .reme-card { grid-template-columns: 1fr 1fr; }
  .reme-photo { grid-column: 1 / -1; aspect-ratio: 4/3; background-position: center 30%; }
}
@media (max-width: 600px) {
  .reme-card { grid-template-columns: 1fr; }
}
/* inline 3-column grids collapse on phones */
@media (max-width: 760px) {
  [style*="grid-template-columns:repeat(3,1fr)"] { grid-template-columns: 1fr !important; }
}
@media (max-width: 760px) {
  [style*="grid-template-columns:1fr 1fr"] { grid-template-columns: 1fr !important; gap: 2.5rem !important; }
}

/* 一旦非表示にしたもの（hidden属性）を確実に隠す */
[hidden] { display: none !important; }

/* ---------- 淡い空色ブロック（2026-11-11 ポスター配色） ---------- */
.path-card-a, .about, .cta-band { background: linear-gradient(160deg, #DFF1FB 0%, #F4FAFE 55%, #D3ECF9 100%); color: var(--text); }
.path-card-a .path-tag, .about .section-label, .about-meta-item dt { color: var(--teal); opacity: 1; }
.path-card-a .path-heading, .about-heading, .cta-band h2 { color: var(--text); }
.path-card-a .path-desc, .about-text, .cta-band p { color: var(--secondary); }
.path-card-a .path-link { color: var(--teal); }
.about-meta { border-top-color: var(--stone); }
.about-meta-item dd { color: var(--text); }
.cta-band .btn-primary { background: var(--teal); color: #fff; }
.cta-band .btn-primary:hover { background: var(--teal-dark); }

/* ---------- 日本語の改行（2026-11-11） ----------
   HTML側で文節の区切りに <wbr> を入れてあるので、そこと句読点でだけ改行する */
body { word-break: keep-all; overflow-wrap: break-word; line-break: strict; }
h1, h2, h3, .page-hero-heading, .section-heading { text-wrap: balance; }
p, li, dd { text-wrap: pretty; }
.photo-box[role="img"]::after { content: none; }

/* ---------- 資格の一覧（2026-11-11） ---------- */
.cred-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem 0.45rem; }
.cred-list li { font-size: 0.76rem; line-height: 1.5; color: var(--text); background: var(--surface-alt); border: 1px solid var(--stone); border-radius: 999px; padding: 0.22rem 0.75rem; }
.teacher-creds { margin-top: 1.5rem; }
.teacher-creds-label { font-family: 'Cormorant Garamond', serif; font-size: 0.65rem !important; letter-spacing: 0.25em; color: var(--teal) !important; margin-bottom: 0.6rem !important; }

/* ---------- フッター（2026-11-11 見やすく作り直し） ---------- */
.site-footer { background: #E6F4FB; border-top: 1px solid var(--stone); color: var(--text); padding: 4rem 2.5rem 1.75rem; }
.sf-inner { max-width: 1140px; margin: 0 auto; display: grid; grid-template-columns: 1.3fr 1.4fr 1fr; gap: 3rem; align-items: start; }
.sf-logo { display: inline-flex; align-items: center; gap: 0.8rem; text-decoration: none; color: var(--text); }
.sf-logo img { width: 56px; height: 56px; }
.sf-logo span { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; letter-spacing: 0.22em; }
.sf-tagline { font-family: 'Noto Serif JP', serif; font-size: 0.92rem; line-height: 1.9; margin: 1.2rem 0 0.5rem; color: var(--text); }
.sf-area { font-size: 0.82rem; color: var(--secondary); letter-spacing: 0.08em; margin: 0; }
.sf-sns { display: flex; gap: 0.6rem; margin-top: 1.3rem; }
.sf-sns a { width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: #fff; border: 1px solid var(--stone); color: var(--text); transition: background 0.2s, color 0.2s; }
.sf-sns a:hover { background: var(--teal); color: #fff; border-color: var(--teal); }
.sf-sns svg { width: 18px; height: 18px; }
.sf-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.sf-head { font-family: 'Cormorant Garamond', serif; font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--teal); margin: 0 0 1rem; font-weight: 500; }
.sf-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.85rem; }
.sf-nav a { font-size: 0.92rem; color: var(--text); text-decoration: none; }
.sf-nav a:hover { color: var(--teal); text-decoration: underline; text-underline-offset: 4px; }
.sf-contact { background: #fff; border: 1px solid var(--stone); border-radius: 14px; padding: 1.5rem; }
.sf-contact-text { font-size: 0.88rem; line-height: 1.9; color: var(--secondary); margin: 0 0 1.1rem; }
.sf-line { display: block; text-align: center; }
.sf-copy { max-width: 1140px; margin: 3rem auto 0; padding-top: 1.25rem; border-top: 1px solid var(--stone); font-size: 0.78rem; color: var(--secondary); letter-spacing: 0.05em; }
@media (max-width: 900px) {
  .sf-inner { grid-template-columns: 1fr 1fr; }
  .sf-brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .site-footer { padding: 3rem 1.25rem 1.5rem; }
  .sf-inner { grid-template-columns: 1fr; gap: 2.25rem; }
  .sf-nav { gap: 1.25rem; }
}

/* ---------- Re:Me の枠：スマホではみ出さないように（2026-11-11） ---------- */
.reme-card > *, .reme-plan > div { min-width: 0; }
.reme-plans .btn-primary { display: block; width: 100%; box-sizing: border-box; white-space: normal; }
@media (max-width: 600px) {
  .reme-plan { flex-direction: column; align-items: flex-start; gap: 0.6rem; padding: 1.1rem 1.1rem; }
  .reme-plan-price { align-self: flex-end; }
  .reme-features li { overflow-wrap: anywhere; }
}

/* ---------- ヘッダーのロゴ（2026-11-11 本物のロゴマークに） ---------- */
.nav-logo-mark { width: 44px; height: 44px; flex-shrink: 0; display: block; }
@media (max-width: 760px) { .nav-logo-mark { width: 38px; height: 38px; } }

/* ---------- ロゴの「スミレ」（2026-11-11） ---------- */
.nav-wordmark-wrap { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.nav-kana { font-family: 'Zen Kaku Gothic New', sans-serif; font-weight: 500; font-size: 0.7rem; letter-spacing: 0.45em; margin-top: 0.35rem; margin-right: -0.45em; color: var(--text); }
.sf-logo .sf-wordmark { display: flex; flex-direction: column; align-items: center; line-height: 1; font-family: inherit; letter-spacing: normal; font-size: inherit; }
.sf-logo .sf-wordmark > span:first-child { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; letter-spacing: 0.22em; margin-right: -0.22em; }
.sf-logo .sf-kana { font-family: 'Zen Kaku Gothic New', sans-serif; font-size: 0.72rem; letter-spacing: 0.55em; margin-top: 0.4rem; margin-right: -0.55em; color: var(--secondary); }

/* ---------- ロゴの文字部分（Illustratorデータから切り出した画像、2026-11-11） ---------- */
.nav-logo-word { display: block; height: 34px; width: auto; }
.sf-logo-word { display: block; height: 48px; width: auto; }
@media (max-width: 760px) { .nav-logo-word { height: 30px; } }
.sf-logo img.sf-logo-word { width: auto; height: 48px; }
