/* HiCARAsel LP 本番用。白と薄いベージュを交互に敷き、色はロゴのこげ茶・金・青 */
:root {
  --bg: #ffffff;
  --beige: #f7f2e9;
  --ink: #3b332c;
  --muted: #776d63;
  --line: #e7dfd2;
  --gold: #b48630;
  --gold-pale: #f1e4c8;
  --sky: #5f8fbd;
  --sky-pale: #e3edf6;
  --error: #b3412e;
  --display: "Zen Old Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --body: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--body); font-size: 16px; line-height: 1.9; letter-spacing: .03em;
}
img { max-width: 100%; }
.wrap {
  max-width: 680px; margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
h1, h2, h3 { font-family: var(--display); font-weight: 700; text-wrap: balance; line-height: 1.55; margin: 0; }
p { margin: 0; }
a { color: var(--sky); }

section { padding-block: 64px; }
section.tint { background: var(--beige); }
.stack { display: flex; flex-direction: column; gap: 22px; }
h2 { font-size: clamp(22px, 5.6vw, 28px); }
h2::after { content: ""; display: block; width: 32px; height: 2px; background: var(--gold); margin-top: 14px; }
.center { text-align: center; }
.center h2::after { margin-inline: auto; }
.lead { color: var(--muted); }

/* ボタン */
.cta {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--ink); color: #fff; text-decoration: none; font-weight: 700;
  padding: 15px 32px; border-radius: 6px; font-size: 16px; border: 0; cursor: pointer;
  font-family: var(--body); letter-spacing: .06em; transition: opacity .2s ease;
}
.cta:hover { opacity: .85; }
.cta:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.cta[disabled] { opacity: .5; cursor: wait; }
.cta.ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.cta-row { display: flex; flex-direction: column; align-items: center; gap: 10px; }

/* ファーストビュー */
.hero { padding-block: 56px 64px; text-align: center; }
.hero .stack { align-items: center; }
.logo-mark { width: 140px; height: 140px; display: block; }
.hero h1 { font-size: clamp(30px, 8vw, 44px); letter-spacing: .1em; }
.hero .sub { color: var(--muted); }

/* お悩み */
.worries { list-style: none; margin: 0; padding: 12px; display: grid; gap: 10px; background: var(--beige); border-radius: 8px; }
.worries li { background: var(--bg); border-radius: 6px; padding: 14px 18px 14px 46px; position: relative; }
.worries li::before {
  content: ""; position: absolute; left: 18px; top: 22px; width: 14px; height: 8px;
  border-left: 2px solid var(--sky); border-bottom: 2px solid var(--sky); transform: rotate(-45deg);
}

/* 考え方 */
.quote { font-family: var(--display); font-size: clamp(19px, 5vw, 24px); text-align: center; padding: 18px 8px; border-block: 1px solid var(--line); }

/* 運営サロンの写真 */
.salons { display: grid; gap: 12px; margin: 0; }
@media (min-width: 600px) { .salons { grid-template-columns: repeat(3, 1fr); } }
.salons figure { margin: 0; display: grid; gap: 6px; }
.salons img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; display: block; }
.salons figcaption { font-size: 12px; color: var(--muted); }

/* 実体験 */
.exp { display: grid; border-top: 1px solid var(--line); }
.exp article { display: grid; gap: 8px; padding-block: 22px; border-bottom: 1px solid var(--line); }
.exp h3 { font-size: 18px; }
.exp p { font-size: 15px; line-height: 2; }
.exp strong { font-weight: 700; background: linear-gradient(transparent 60%, var(--gold-pale) 60%); }

/* サポートの流れ */
.flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.flow li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; background: var(--bg); border-radius: 6px; padding: 16px; }
.flow .dot { width: 44px; height: 44px; border-radius: 50%; background: var(--gold-pale); color: var(--gold); display: grid; place-items: center; font-weight: 700; font-size: 15px; }
.flow h3 { font-size: 17px; }
.flow p { font-size: 14px; color: var(--muted); }
.loop { color: var(--sky); font-weight: 500; font-size: 14px; text-align: center; }

/* 担当者紹介 */
.profile { background: var(--bg); border-radius: 8px; padding: 24px 20px; display: grid; gap: 24px; }
.profile-head { display: flex; gap: 18px; align-items: center; }
.profile-head img { width: 104px; height: 104px; border-radius: 50%; object-fit: cover; object-position: 70% 30%; flex: none; }
.profile .name { font-family: var(--display); font-size: 26px; letter-spacing: .12em; line-height: 1.3; }
.profile .en { font-size: 12px; color: var(--muted); letter-spacing: .2em; }
.profile dl { margin: 0; display: grid; gap: 14px; }
.profile dl div { display: grid; grid-template-columns: 7.5em 1fr; gap: 12px; align-items: start; }
.profile dt { font-size: 12px; font-weight: 700; text-align: center; border-radius: 999px; padding: 3px 8px; background: var(--gold-pale); }
.profile dl div:nth-child(even) dt { background: var(--sky-pale); }
.profile dd { margin: 0; font-size: 15px; min-width: 0; }
.message { border-top: 1px dotted var(--gold); border-bottom: 1px dotted var(--sky); padding-block: 16px; display: grid; gap: 8px; }
.message .label { font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: .1em; }
.message p { font-family: var(--display); font-size: 16px; line-height: 2; }
@media (max-width: 420px) { .profile dl div { grid-template-columns: 1fr; gap: 6px; } .profile dt { justify-self: start; } }

/* 無料相談・フォーム */
.consult { background: var(--beige); border-radius: 8px; padding: 24px 20px; display: flex; flex-direction: column; gap: 18px; }
.facts { display: grid; gap: 6px; font-size: 15px; margin: 0; }
.facts div { display: grid; grid-template-columns: 4em 1fr; gap: 8px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; }
form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; font-weight: 500; }
.req { font-size: 11px; color: #fff; background: var(--gold); border-radius: 3px; padding: 1px 6px; margin-left: 6px; }
input, select, textarea {
  font: inherit; font-size: 16px; color: var(--ink); background: var(--bg);
  border: 1px solid var(--line); border-radius: 6px; padding: 10px 12px; width: 100%;
}
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { color: var(--error); font-size: 14px; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); padding-block: 14px; }
summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; gap: 10px; }
summary::-webkit-details-marker { display: none; }
summary::before { content: "Q."; color: var(--gold); }
details p { padding: 8px 0 0 26px; color: var(--muted); font-size: 15px; }

/* 最後・フッター */
.closing .stack { align-items: center; }
.closing h2 { font-size: clamp(22px, 6vw, 30px); }
footer { padding-block: 36px 120px; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); }
footer .wrap { display: flex; flex-direction: column; gap: 6px; align-items: center; text-align: center; }
footer .wordmark { width: 180px; height: auto; margin-bottom: 8px; }

/* スマホ下の固定ボタン */
.sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  background: var(--bg); border-top: 1px solid var(--line);
  padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  display: flex; justify-content: center;
}
.sticky[hidden] { display: none; }
.sticky .cta { width: 100%; max-width: 420px; padding-block: 13px; }
@media (min-width: 900px) { .sticky { display: none; } footer { padding-bottom: 40px; } }

/* ありがとうページ */
.thanks-page { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; background: var(--beige); padding-block: 64px; }
.thanks-page .stack { align-items: center; text-align: center; }
.thanks-page h1 { font-size: clamp(24px, 6.5vw, 32px); line-height: 1.6; }
.thanks-page p { color: var(--muted); }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .cta { transition: none; } }
