/*
  Amacoco public site -- shared stylesheet.
  Mobile-first. No framework, no build step -- plain CSS so anyone can
  open this file directly and change colors/spacing without tooling.
  Edit CSS custom properties below to retheme the whole site at once.

  Theme: white-based, single-column beauty site. No black background,
  no dashboard-style card grids -- long-scroll sections with generous
  whitespace, alternating very light section tints, and large photo
  placeholders.
*/

/* ============================================================
   THEME -- 色を変えたい場合はここだけ編集してください。
   下の具体的な色コード(--color-bg-soft 等)を書き換えれば、
   サイト全体の配色が変わります。HTMLやJSONを触る必要はありません。
   ============================================================ */
:root {
  --color-bg: #FFFFFF;
  --color-bg-soft: #FCFBF8;
  --color-bg-pink: #FBF2F1;
  --color-bg-mint: #F1F8F4;
  --color-bg-blue: #F1F6F8;
  --color-text: #2B2B2B;
  --color-text-muted: #666666;
  --color-accent-pink: #E9A9B4;
  --color-accent-pink-strong: #DB8E9C;
  --color-accent-mint: #8FC9AE;
  --color-line: #06C755;
  --color-line-strong: #05A648;
  --color-border: rgba(43, 43, 43, 0.10);
  --max-width: 760px;
  --max-width-wide: 980px;
  --radius: 14px;
  --font-body: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif;

  /* 分かりやすい別名(値は上の変数と同じものを指すだけで、見た目は変わりません) */
  --color-accent: var(--color-accent-pink);
  --color-accent-soft: var(--color-accent-mint);
  --color-line-cta: var(--color-line);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-accent-pink-strong);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.container--wide {
  max-width: var(--max-width-wide);
}

/* ── header / nav ─────────────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--color-border);
}

.site-header__inner {
  max-width: var(--max-width-wide);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* brand lockup, header left: [icon] Amacoco (see render_brand_logo /
   site-logo-icon in build_site.py). Source is a transparent PNG
   (circle badge fills the frame), sized to sit naturally beside the
   wordmark without growing the header. */
.site-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.04em;
  color: var(--color-text);
  text-decoration: none;
}

/* Layout box stays at the original (pre-enlargement) size on purpose --
   header height/padding are computed from this box, so growing the
   logo purely via `transform: scale()` (paint-only, doesn't affect
   flow) cannot make the header bar taller. margin-right reserves real
   layout space for the half of the scaled-up width that grows to the
   right, so it doesn't visually overlap the "Amacoco" wordmark. */
.site-logo-icon {
  display: block;
  flex-shrink: 0;
  width: auto;
  height: 34px;
  object-fit: contain;
  transform: scale(1.85);
  transform-origin: center;
  margin-right: 14px;
}

@media (min-width: 640px) {
  .site-logo-icon {
    height: 40px;
    margin-right: 18px;
  }
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
  flex-wrap: wrap;
}

/* informational nav links collapse on narrow screens; LINE CTA + footer
   remain the way to reach them (keeps the mobile header uncluttered) */
.site-nav__links {
  display: contents;
}

@media (max-width: 640px) {
  .site-nav__links {
    display: none;
  }
}

.site-nav a {
  color: var(--color-text-muted);
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--color-accent-pink-strong);
}

.site-nav a.site-nav__cta {
  color: #FFFFFF;
  background: var(--color-line);
  padding: 10px 30px;
  border-radius: 999px;
  font-weight: 700;
}

.site-nav a.site-nav__cta:hover {
  background: var(--color-line-strong);
  color: #FFFFFF;
}


/* ── buttons ──────────────────────────────────────────────────────── */

.btn {
  display: inline-block;
  border: none;
  border-radius: 999px;
  padding: 16px 36px;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  text-align: center;
}

.btn--line {
  background: var(--color-line);
  color: #FFFFFF;
  box-shadow: 0 10px 24px rgba(6, 199, 85, 0.22);
}

.btn--line:hover {
  background: var(--color-line-strong);
}

.btn--secondary {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* ── eyebrow / headings ───────────────────────────────────────────── */

.eyebrow {
  color: var(--color-accent-pink-strong);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.1em;
  margin: 0 0 14px;
}

.section-title {
  font-size: clamp(24px, 4.5vw, 32px);
  line-height: 1.5;
  margin: 0 0 20px;
}

.section-lead {
  color: var(--color-text-muted);
  margin: 0 0 8px;
  font-size: 16px;
}

/* ── page sections (single column, long scroll) ──────────────────── */

section {
  padding: 64px 0;
}

.section--soft   { background: var(--color-bg-soft); }
.section--pink   { background: var(--color-bg-pink); }
.section--mint   { background: var(--color-bg-mint); }
.section--blue   { background: var(--color-bg-blue); }

section p {
  margin: 0 0 20px;
  font-size: 16px;
}

section p:last-child {
  margin-bottom: 0;
}

.lede {
  font-size: 18px;
}

.text-block + .text-block {
  margin-top: 8px;
}

/* ── hero ─────────────────────────────────────────────────────────── */

.hero {
  padding: 56px 0 48px;
  text-align: center;
}

.hero .eyebrow {
  text-align: center;
}

.hero h1 {
  font-size: clamp(28px, 6vw, 40px);
  line-height: 1.6;
  margin: 0 0 24px;
}

.hero p {
  color: var(--color-text-muted);
  font-size: 17px;
  margin: 0 auto 32px;
  max-width: 40em;
  text-align: left;
}

.hero__media {
  margin: 32px 0;
}

.hero__price {
  font-size: clamp(22px, 5vw, 30px);
  font-weight: 800;
  color: var(--color-text);
  margin: 0 0 28px;
}

/* ── photo placeholders ───────────────────────────────────────────── */

.photo-frame {
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  background: #F4F3F0;
  border: 1px dashed rgba(43, 43, 43, 0.18);
}

.photo-frame--4-3 { aspect-ratio: 4 / 3; }
.photo-frame--16-10 { aspect-ratio: 16 / 10; }
.photo-frame--1-1 { aspect-ratio: 1 / 1; }
.photo-frame--wide { aspect-ratio: 21 / 9; }

.img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
  font-size: 13px;
  line-height: 1.6;
  color: #9A9690;
}

.img-placeholder__label {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #B5B0A8;
}

/* ── treatment spotlight (large single-column feature) ───────────── */

.spotlight {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.spotlight__media {
  width: 100%;
}

.spotlight__body h3 {
  font-size: 22px;
  margin: 0 0 14px;
}

/* dive gets extra visual weight as Amacoco's signature treatment */
.spotlight--dive {
  padding: 40px;
  border-radius: 24px;
  background: linear-gradient(180deg, var(--color-bg-mint) 0%, var(--color-bg-blue) 100%);
}

@media (max-width: 640px) {
  .spotlight--dive {
    padding: 24px;
  }
}

/* ── simple step list (no card-grid; stacked single column) ──────── */

.step-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step-list__item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.step-list__number {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-accent-mint);
  color: #FFFFFF;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}

.step-list__item h3 {
  margin: 0 0 6px;
  font-size: 17px;
}

.step-list__item p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 15px;
}

/* stacked feature list used for "店舗で実際にすること" etc. */
.feature-list {
  margin: 0;
  padding-left: 1.4em;
}

.feature-list li {
  margin-bottom: 12px;
  font-size: 16px;
}

/* ── schedule table ───────────────────────────────────────────────── */

.schedule-list {
  list-style: none;
  margin: 24px 0;
  padding: 0;
  max-width: 28em;
}

.schedule-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 15px;
}

.schedule-list li:last-child {
  border-bottom: none;
}

.schedule-list .label {
  color: var(--color-text-muted);
}

/* ── before / after split ─────────────────────────────────────────── */

.before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-items: center;
}

.before-after__arrow {
  display: none;
}

.before-after__panel {
  text-align: center;
}

.before-after__panel span {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
}

@media (min-width: 640px) {
  .before-after {
    grid-template-columns: 1fr auto 1fr;
  }
  .before-after__arrow {
    display: block;
    font-size: 24px;
    color: var(--color-accent-pink-strong);
  }
}

/* ── microbubble diagram ──────────────────────────────────────────── */

.diagram-frame {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  background: #F4F3F0;
  border: 1px dashed rgba(43, 43, 43, 0.18);
}

/* ── price block ──────────────────────────────────────────────────── */

.price-block {
  text-align: center;
}

.price-block__amount {
  font-size: clamp(40px, 9vw, 60px);
  font-weight: 800;
  color: var(--color-text);
  margin: 8px 0;
}

.price-block__note {
  color: var(--color-text-muted);
  font-size: 15px;
  margin: 0 auto 28px;
  max-width: 30em;
}

.price-block .schedule-list {
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

/* ── store gallery (single column, no dashboard grid) ────────────── */

.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (min-width: 640px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ── notices ──────────────────────────────────────────────────────── */

.notice {
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 24px;
  font-size: 14px;
  color: var(--color-text-muted);
}

/* ── footer ───────────────────────────────────────────────────────── */

.site-footer {
  border-top: 1px solid var(--color-border);
  padding: 40px 0 96px;
  font-size: 13px;
  color: var(--color-text-muted);
  text-align: center;
}

.site-footer nav {
  margin-bottom: 12px;
}

.site-footer a {
  color: var(--color-text-muted);
}

/* SNS icon row: always its own line below the footer's text-link nav,
   on every page (HP/LP/detail). Simple/monochrome to match the muted
   footer text -- no buttons, no brand colors. Icons are a single
   nowrap group so they can never be split apart at narrow widths. */
.footer-sns-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  transition: color 0.15s ease;
}

.footer-sns-icon:hover,
.footer-sns-icon:focus-visible {
  color: var(--color-text);
}

.footer-sns-icon svg {
  display: block;
}

.footer-sns {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 16px;
  margin: 0 0 12px;
}

/* brand logo, footer: sits just before "© Amacoco". Full source logo,
   never cropped -- height-constrained only, width follows naturally. */
.site-footer__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
}

.site-footer__logo {
  display: block;
  flex-shrink: 0;
  width: auto;
  height: 115px;
  object-fit: contain;
}

@media (min-width: 640px) {
  .site-footer__logo {
    height: 130px;
  }
}

/* ── sticky mobile CTA ────────────────────────────────────────────── */

.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid var(--color-border);
  backdrop-filter: blur(6px);
}

.sticky-cta .btn {
  width: 100%;
}

@media (min-width: 900px) {
  .sticky-cta {
    display: none;
  }
}

/* body padding so the sticky CTA never covers the last section on mobile */
body {
  padding-bottom: 84px;
}

@media (min-width: 900px) {
  body {
    padding-bottom: 0;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ── breadcrumb (detail pages only; TOP and LP don't use this) ────── */

.breadcrumb {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 16px 24px 0;
  font-size: 13px;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb a {
  color: var(--color-text-muted);
}

.breadcrumb a:hover {
  color: var(--color-accent-pink-strong);
}

/* ── "詳しく見る" style internal links ─────────────────────────────── */

.link-more {
  margin-top: 8px;
}

.link-more a {
  font-weight: 700;
  text-decoration: none;
}

.link-more a:hover {
  text-decoration: underline;
}

/* ── FAQ accordion (native <details>, no JS needed, fully crawlable) ─ */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 18px 20px;
  background: var(--color-bg);
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 16px;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--color-accent-pink-strong);
  font-weight: 700;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 14px 0 0;
  color: var(--color-text-muted);
  font-size: 15px;
}

/* ── fact list (店舗・アクセス: only rendered rows appear) ──────────── */

.fact-list {
  margin: 24px 0 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.fact-list__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
}

.fact-list__row dt {
  color: var(--color-text-muted);
  font-size: 14px;
}

.fact-list__row dd {
  margin: 0;
  font-size: 15px;
  text-align: right;
}

/* ── Google map embed (店舗・アクセス) ───────────────────────────── */

.map-embed {
  margin-top: 24px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.map-embed iframe {
  display: block;
  width: 100%;
  height: 300px;
}

@media (min-width: 640px) {
  .map-embed iframe {
    height: 450px;
  }
}

/* Generated brand images: preserve the existing hero frame only. */
.hero__media .photo-frame { border: 0; }
.hero__media .photo-frame > img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
