/* =========================================================
   babyleaf（ベビーリーフ）LP リニューアル提案
   子連れが「ここなら予約しよう」と思えるファミリーサロンLP
   ========================================================= */

:root {
  --bg: #FBF7F0;
  --surface: #FFFFFF;
  --ink: #3D2B22;
  --ink-soft: #6E5C4F;
  --green: #56A867;
  --green-dark: #3C7E4C;
  --green-soft: #EAF4EA;
  --orange: #F2814B;
  --orange-dark: #DD6932;
  --yellow: #FBC54B;
  --line: #EDE4D6;
  --shadow: 0 10px 30px rgba(61, 43, 34, .10);
  --shadow-sm: 0 4px 14px rgba(61, 43, 34, .08);
  --radius: 22px;
  --radius-sm: 14px;
  --maxw: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 78px; }

body {
  margin: 0;
  font-family: "Noto Sans JP", system-ui, -apple-system, "Hiragino Kaku Gothic ProN", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.8;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  letter-spacing: .01em;
  overflow-x: hidden;
}

h1, h2, h3, .display {
  font-family: "Zen Maru Gothic", "Noto Sans JP", system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: .02em;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ---------- 改行コントロール（日本語を意味のまとまりで折り返す） ---------- */
/* .nb で囲んだ文節は途中で改行されない＝折り返しはまとまりの境界でだけ起きる */
.nb { white-space: nowrap; }
/* PC/スマホ専用の改行（必要時に使用） */
.br-pc { display: inline; }
.br-sp { display: none; }
/* 対応ブラウザでは自動で文節折り返し＋行頭行末を整える（非対応でも無害） */
h1, h2, h3 { word-break: auto-phrase; }
.hero-lead, .section-head p, .reason-body p, .price-momokko .txt,
.reserve .lead, .fude p, .faq-a { word-break: auto-phrase; text-wrap: pretty; }
.section-head h2, .bridge { text-wrap: balance; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  padding: 15px 26px;
  border-radius: 999px;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
  line-height: 1.3;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 8px 20px rgba(242, 129, 75, .38);
}
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-2px); }
.btn-tel {
  background: var(--green);
  color: #fff;
  box-shadow: 0 8px 20px rgba(86, 168, 103, .35);
}
.btn-tel:hover { background: var(--green-dark); transform: translateY(-2px); }
.btn-ghost {
  background: #fff;
  color: var(--green-dark);
  border: 2px solid var(--green);
}
.btn-ghost:hover { background: var(--green-soft); }
.btn-lg { font-size: 1.15rem; padding: 18px 34px; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 247, 240, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 66px;
}
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; min-width: 0; }
.brand .leaf { font-size: 1.55rem; flex: none; }
.brand b {
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 1.35rem; color: var(--green-dark);
}
.brand span { font-size: .72rem; color: var(--ink-soft); display: block; letter-spacing: .04em; }
/* ヘッダーのロゴ（2段表示） */
.site-header .brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.site-header .brand-text b { font-size: 1.3rem; color: var(--green-dark); }
.site-header .brand-text small { font-size: .66rem; color: var(--ink-soft); letter-spacing: .02em; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a.link { text-decoration: none; font-weight: 500; font-size: .95rem; color: var(--ink); }
.nav a.link:hover { color: var(--green-dark); }
.header-cta { display: flex; gap: 10px; }
.header-cta .btn { padding: 10px 20px; font-size: .95rem; }
.menu-toggle { display: none; }

/* ---------- ヒーロー ---------- */
.hero {
  position: relative;
  padding: 56px 0 64px;
  background:
    radial-gradient(circle at 85% -10%, rgba(251,197,75,.20), transparent 45%),
    radial-gradient(circle at 0% 110%, rgba(86,168,103,.14), transparent 45%),
    var(--bg);
  overflow: hidden;
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 46px; align-items: center;
}
.hero-copy .eyebrow {
  display: inline-block;
  background: var(--green-soft); color: var(--green-dark);
  font-weight: 700; font-size: .9rem;
  padding: 6px 16px; border-radius: 999px; margin-bottom: 18px;
}
.hero h1 { font-size: 2.7rem; margin: 0 0 18px; }
.hero h1 .hl {
  background: linear-gradient(transparent 62%, var(--yellow) 62%);
  padding: 0 .1em;
}
.hero h1 .green { color: var(--green-dark); }
.hero-lead { font-size: 1.08rem; color: var(--ink-soft); margin: 0 0 26px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note { margin-top: 16px; font-size: .85rem; color: var(--ink-soft); }
.hero-photo {
  position: relative;
  border-radius: 28px; overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3.4;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo .float-badge {
  position: absolute; bottom: 16px; left: 16px;
  background: rgba(255,255,255,.95); border-radius: 16px;
  padding: 10px 16px; box-shadow: var(--shadow-sm);
  font-family: "Zen Maru Gothic", sans-serif; font-weight: 700;
  color: var(--green-dark); font-size: .95rem;
}

/* ---------- 信頼バッジ帯 ---------- */
.trust {
  background: var(--green-dark);
  color: #fff;
}
.trust-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 4px; text-align: center;
  padding: 22px 0;
}
.trust-item { padding: 6px 10px; min-width: 0; }
.trust-item .ti-ico { font-size: 1.7rem; line-height: 1; }
.trust-item b { font-family: "Zen Maru Gothic", sans-serif; display: block; margin-top: 6px; font-size: 1.02rem; }
.trust-item small { opacity: .85; font-size: .78rem; }

/* ---------- セクション共通 ---------- */
.section { padding: 72px 0; }
.section.alt { background: #fff; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.section-head .kicker {
  color: var(--orange); font-weight: 700; font-size: .95rem; letter-spacing: .08em;
}
.section-head h2 { font-size: 2rem; margin: 8px 0 12px; }
.section-head p { color: var(--ink-soft); margin: 0; }

/* ---------- お悩み ---------- */
.worry { background: var(--green-soft); }
.worry-list {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 30px;
}
.worry-card {
  background: #fff; border-radius: var(--radius-sm); padding: 22px 18px;
  box-shadow: var(--shadow-sm); text-align: center;
}
.worry-card .face { font-size: 2rem; }
.worry-card p { margin: 10px 0 0; font-size: .96rem; font-weight: 500; }
.bridge {
  text-align: center; font-family: "Zen Maru Gothic", sans-serif;
  font-size: 1.5rem; font-weight: 700; color: var(--green-dark);
}
.bridge .big { color: var(--orange); }

/* ---------- 選ばれる理由 ---------- */
.reasons { display: grid; gap: 30px; }
.reason {
  display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center;
}
.reason:nth-child(even) .reason-photo { order: 2; }
.reason-photo {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  aspect-ratio: 4/3;
}
.reason-photo img { width: 100%; height: 100%; object-fit: cover; }
.reason-no {
  font-family: "Zen Maru Gothic", sans-serif; font-weight: 700;
  color: var(--yellow); font-size: 2.4rem; line-height: 1;
  -webkit-text-stroke: 1px var(--orange);
}
.reason-body h3 { font-size: 1.5rem; margin: 6px 0 12px; }
.reason-body p { margin: 0; color: var(--ink-soft); }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tag {
  background: var(--green-soft); color: var(--green-dark);
  font-weight: 700; font-size: .82rem; padding: 5px 12px; border-radius: 999px;
}

/* ---------- 胎毛筆 ---------- */
.fude { background: #fff; }
.fude-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; }
.fude-photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/3; }
.fude-photo img { width: 100%; height: 100%; object-fit: cover; }
.fude h2 { font-size: 1.9rem; margin: 0 0 8px; }
.fude .sub { color: var(--orange); font-weight: 700; margin: 0 0 16px; }

/* ---------- 料金 ---------- */
.price-momokko {
  background: linear-gradient(135deg, var(--yellow), #f7b733);
  border-radius: var(--radius); padding: 24px 28px; margin-bottom: 32px;
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  box-shadow: var(--shadow-sm);
}
.price-momokko .big {
  font-family: "Zen Maru Gothic", sans-serif; font-weight: 700;
  font-size: 2rem; color: #fff; text-shadow: 0 2px 4px rgba(180,120,0,.3);
  white-space: nowrap;
}
.price-momokko .txt { flex: 1; min-width: 220px; font-weight: 500; }
.price-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.price-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 22px; box-shadow: var(--shadow-sm);
}
.price-card h4 {
  font-family: "Zen Maru Gothic", sans-serif; margin: 0 0 14px;
  font-size: 1.1rem; color: var(--green-dark);
  border-bottom: 2px dotted var(--line); padding-bottom: 10px;
}
.price-card dl { margin: 0; display: grid; grid-template-columns: 1fr auto; gap: 8px 10px; }
.price-card dt { font-size: .92rem; }
.price-card dd { margin: 0; font-weight: 700; text-align: right; white-space: nowrap; }
.price-note { text-align: center; color: var(--ink-soft); font-size: .85rem; margin-top: 22px; }

/* ---------- ギャラリー ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery-grid figure {
  margin: 0; border-radius: var(--radius-sm); overflow: hidden;
  box-shadow: var(--shadow-sm); position: relative; aspect-ratio: 1/1;
}
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-grid figure:hover img { transform: scale(1.06); }
.gallery-grid figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(transparent, rgba(0,0,0,.55));
  color: #fff; font-size: .8rem; font-weight: 700; padding: 18px 10px 8px;
}

/* ---------- FAQ ---------- */
.faq { background: var(--green-soft); }
.faq-list { max-width: 800px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item {
  background: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.faq-q {
  display: flex; align-items: center; gap: 12px; cursor: pointer;
  padding: 18px 22px; font-family: "Zen Maru Gothic", sans-serif; font-weight: 700;
  list-style: none; font-size: 1.02rem;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q .qmark { color: var(--orange); font-size: 1.2rem; }
.faq-q::after { content: "＋"; margin-left: auto; color: var(--green); font-size: 1.3rem; transition: transform .2s; }
.faq-item[open] .faq-q::after { transform: rotate(45deg); }
.faq-a { padding: 0 22px 20px 50px; color: var(--ink-soft); }

/* ---------- お知らせ ---------- */
.news-list { max-width: 760px; margin: 0 auto; }
.news-item {
  display: flex; align-items: baseline; gap: 16px;
  padding: 16px 8px; border-bottom: 1px solid var(--line);
  text-decoration: none; color: var(--ink); border-radius: 10px;
  transition: background .15s ease;
}
.news-item:hover { background: #fff; }
.news-date { font-family: "Zen Maru Gothic", sans-serif; color: var(--green-dark); font-size: .9rem; white-space: nowrap; }
.news-tag {
  font-size: .72rem; font-weight: 700; background: var(--green-soft); color: var(--green-dark);
  padding: 3px 11px; border-radius: 999px; white-space: nowrap;
}
.news-tag.holiday { background: #fdeede; color: var(--orange-dark); }
.news-title { flex: 1; font-weight: 500; }
.news-more { text-align: center; margin-top: 26px; }

/* ---------- アクセス ---------- */
.access-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; }
.access-map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.info-table { width: 100%; border-collapse: collapse; }
.info-table th, .info-table td { text-align: left; padding: 14px 6px; border-bottom: 1px solid var(--line); vertical-align: top; }
.info-table th { width: 110px; color: var(--green-dark); font-family: "Zen Maru Gothic", sans-serif; font-size: .95rem; }
.info-table .tel-big { font-size: 1.7rem; font-family: "Zen Maru Gothic", sans-serif; color: var(--ink); font-weight: 700; }

/* ---------- 予約CTA ---------- */
.reserve {
  background: var(--green-dark); color: #fff; text-align: center;
}
.reserve h2 { font-size: 2.1rem; margin: 0 0 10px; color: #fff; }
.reserve .lead { opacity: .92; margin: 0 0 30px; }
.reserve-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 760px; margin: 0 auto 22px; }
.reserve-card {
  background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.25);
  border-radius: var(--radius); padding: 28px 24px;
}
.reserve-card .ico { font-size: 2rem; }
.reserve-card h3 { color: #fff; margin: 8px 0 6px; font-size: 1.25rem; }
.reserve-card p { opacity: .88; font-size: .9rem; margin: 0 0 18px; }
.reserve-card .tel-num { font-size: 1.9rem; font-family: "Zen Maru Gothic", sans-serif; font-weight: 700; }
.reserve-fine { font-size: .82rem; opacity: .8; max-width: 720px; margin: 0 auto; line-height: 1.7; }
.reserve-fine a { color: var(--yellow); }

/* ---------- フッター ---------- */
.footer { background: #2f231c; color: #d8cabd; padding: 40px 0 110px; font-size: .9rem; }
.footer .brand b { color: #fff; }
.footer .brand span { color: #bda; }
.footer-cols { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.footer a { color: #d8cabd; text-decoration: none; }
.footer a:hover { color: #fff; }
.footer .copy { margin-top: 28px; opacity: .6; font-size: .8rem; }

/* ---------- モバイル固定予約バー ---------- */
.mobile-bar {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: #fff; box-shadow: 0 -6px 20px rgba(61,43,34,.14);
  padding: 9px 12px; gap: 10px;
}
.mobile-bar .btn { flex: 1; padding: 14px 8px; font-size: 1rem; }

/* ---------- レスポンシブ ---------- */
@media (max-width: 860px) {
  .header-inner { gap: 12px; }
  .nav { gap: 0; }
  .nav .link { display: none; }
  .header-cta .btn-ghost { display: none; }
  .header-cta .btn { padding: 10px 18px; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero h1 { font-size: 2.05rem; }
  .hero-photo { aspect-ratio: 4/3; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .trust-row { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .worry-list { grid-template-columns: repeat(2, 1fr); }
  .reason { grid-template-columns: 1fr; gap: 18px; }
  .reason:nth-child(even) .reason-photo { order: 0; }
  .fude-grid { grid-template-columns: 1fr; gap: 22px; }
  .price-cards { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .access-grid { grid-template-columns: 1fr; }
  .reserve-cards { grid-template-columns: 1fr; }
  .section { padding: 54px 0; }
  .section-head h2 { font-size: 1.7rem; }
  .mobile-bar { display: flex; }
}

@media (max-width: 480px) {
  .wrap { padding: 0 16px; }
  .site-header .brand-text small { display: none; }
  .header-cta .btn { padding: 9px 16px; font-size: .9rem; }
  .hero { padding: 36px 0 44px; }
  .hero h1 { font-size: 1.72rem; line-height: 1.5; }
  .hero-lead { font-size: 1rem; }
  .section { padding: 46px 0; }
  .section-head { margin-bottom: 32px; }
  .section-head h2 { font-size: 1.5rem; }
  .trust-item b { font-size: .92rem; }
  .trust-item .ti-ico { font-size: 1.5rem; }
  .reason-body h3 { font-size: 1.3rem; }
  .fude h2 { font-size: 1.45rem; }
  .reserve h2 { font-size: 1.6rem; }
  .price-momokko { flex-direction: column; align-items: flex-start; gap: 10px; padding: 20px 22px; }
  .price-momokko .big { font-size: 1.7rem; }
  .reserve-card .tel-num, .info-table .tel-big { font-size: 1.55rem; }
  .faq-q { font-size: .96rem; padding: 16px 18px; }
  .faq-a { padding: 0 18px 18px 44px; }
  .gallery-grid figcaption { font-size: .72rem; padding: 14px 8px 7px; }
  .mobile-bar .btn { font-size: .95rem; padding: 13px 6px; }
  .news-item { flex-wrap: wrap; gap: 6px 12px; }
  .news-title { flex: 1 0 100%; }
}

@media (max-width: 360px) {
  .hero h1 { font-size: 1.58rem; }
  .trust-item small { font-size: .72rem; }
}
