/* HiCARAsel LP 本番用。ブランドカラー（2026-11-08 ロゴバリエーション資料より）
   サンゴールド #E8B133 ／ ライトブルー #A9D6E8 ／ スカイブルー #6FB6D6 ／ ウォームベージュ #F4E9D5 ／ チャコール #333333
   ゴールドの太陽が主役、水色はやさしく支える。スマホやPCの設定がダークのときは、自動で夜用の色に切り替わる */

/* ▼ 色（ライト） */
:root {
  --accent: #E8B133;       /* サンゴールド：ボタン・番号・キラキラ */
  --accent-soft: #F7E3B0;  /* ゴールドの薄い版：マーカー */
  --on-accent: #333333;    /* ゴールドの上に乗る文字（白だと読みにくいのでチャコール） */
  --sky: #6FB6D6;          /* スカイブルー：波線・Q・リンクの線 */
  --sky-soft: #A9D6E8;     /* ライトブルー：水彩のにじみ */
  --beige: #F4E9D5;        /* ウォームベージュ */

  --bg: #FFFFFF;
  --tint: #FBF6EC;         /* ベージュをうすめた背景 */
  --block: #D9EDF5;        /* 写真の後ろにずらして敷く色（ライトブルーをうすめた色） */
  --ink: #333333;
  --muted: #66625C;
  --faint: #9A958E;
  --line: #ECE3D3;
  --error: #A8443A;
  --glow: rgba(232, 177, 51, .55);
  --wash-a: rgba(169, 214, 232, .45); /* 水彩：水色 */
  --wash-b: rgba(244, 233, 213, .9);  /* 水彩：ベージュ */

  --en: "Cormorant Garamond", "Times New Roman", serif;
  --jp: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  color-scheme: light dark;
}

/* ▼ 色（ダーク）。「もう少し明るく」の要望で、黒っぽさを減らした青みのグレーに（2026-11-08） */
@media (prefers-color-scheme: dark) {
  :root {
    --accent: #EBBA4A;
    --accent-soft: #76612F;
    --on-accent: #333333;
    --sky: #B7DDEC;
    --sky-soft: #6FB6D6;
    --beige: #6A655C;

    --bg: #555A62;
    --tint: #60656E;
    --block: #6A7C88;
    --ink: #F7F3EC;
    --muted: #DCD6CC;
    --faint: #BDB7AD;
    --line: #6E747C;
    --error: #F5B3A9;
    --glow: rgba(235, 186, 74, .45);
    --wash-a: rgba(111, 182, 214, .22);
    --wash-b: rgba(244, 233, 213, .10);
  }
}

* { 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(--jp); font-size: 16px; line-height: 2; letter-spacing: .05em;
}
img { max-width: 100%; }
.wrap {
  max-width: 680px; margin: 0 auto;
  padding-left: max(24px, env(safe-area-inset-left, 0px));
  padding-right: max(24px, env(safe-area-inset-right, 0px));
}
.wrap.wide { max-width: 1080px; }
h1, h2, h3 { font-family: var(--jp); font-weight: 600; text-wrap: balance; line-height: 1.6; margin: 0; }
p { margin: 0; }
a { color: var(--ink); text-underline-offset: 4px; text-decoration-color: var(--sky); }

section { padding-block: 88px; position: relative; }
/* 色つきセクションの角に水彩のにじみ（名刺イメージ風）
   色は ::before に敷く（ページ全体のキラキラを「色の上・文字や枠の下」に出すため） */
section.tint::before {
  content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 45% at 0% 100%, var(--wash-a), transparent 70%),
    radial-gradient(ellipse 45% 35% at 100% 0%, var(--wash-b), transparent 70%),
    var(--tint);
}
.stack { display: flex; flex-direction: column; gap: 28px; }
.center { text-align: center; }
.lead { color: var(--muted); }

/* 見出し：大きな英字＋小さな日本語 */
.head { display: grid; gap: 10px; }
.head .en {
  font-family: var(--en); font-weight: 400; font-size: clamp(44px, 12vw, 72px);
  line-height: 1; letter-spacing: .08em; color: var(--ink);
}
.head h2 { font-size: clamp(22px, 6vw, 30px); font-weight: 600; letter-spacing: .12em; }
.head h2::after { content: ""; display: block; width: 32px; height: 1px; background: var(--sky); margin-top: 16px; }
.center .head h2::after, .head.center h2::after { margin-inline: auto; }

/* 縦書きの英字（飾り） */
.vert {
  position: absolute; top: 88px; right: 8px; margin: 0;
  writing-mode: vertical-rl; font-family: var(--en); font-size: 12px;
  letter-spacing: .35em; color: var(--faint); text-transform: uppercase; pointer-events: none;
}
.vert.left { right: auto; left: 8px; }
@media (max-width: 899px) { .vert.left { display: none; } } /* スマホでは左の縦書きが本文に重なるので出さない */
@media (min-width: 900px) { .vert { right: 32px; font-size: 13px; } .vert.left { left: 32px; } }

/* 左右に並べる（スマホは縦に積む） */
.split { display: grid; gap: 44px; align-items: center; }
.split .text { display: grid; gap: 22px; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 72px; }
  .split.rev > .arch { order: 2; }
}

/* アーチ型の写真＋後ろにずらした色ブロック */
.arch { position: relative; margin: 0 auto; width: min(76%, 360px); }
.arch::before {
  content: ""; position: absolute; inset: 0; transform: translate(18px, 18px);
  background: var(--block); border-radius: 999px 999px 4px 4px;
}
.split.rev .arch::before { transform: translate(-18px, 18px); background: var(--beige); }
.arch img {
  position: relative; display: block; width: 100%; height: auto; aspect-ratio: 3 / 4;
  object-fit: cover; border-radius: 999px 999px 4px 4px;
}

/* ボタン */
.cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--accent); color: var(--on-accent); text-decoration: none; font-weight: 600;
  padding: 17px 40px; border-radius: 999px; font-size: 16px; border: 0; cursor: pointer;
  font-family: var(--jp); letter-spacing: .12em; transition: filter .25s ease; white-space: nowrap;
}
.cta::after { content: "→"; font-family: var(--en); font-size: 18px; transition: transform .25s ease; }
.cta:hover { filter: brightness(1.06); }
.cta:hover::after { transform: translateX(4px); }
.cta:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.cta[disabled] { opacity: .5; cursor: wait; }
.cta.ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
@media (max-width: 360px) { .cta { padding-inline: 22px; letter-spacing: .06em; } }
.cta-row { display: flex; flex-direction: column; align-items: center; gap: 14px; font-size: 14px; }

/* ファーストビュー */
/* 朝焼けの空と海（Webヘッダーイメージ風） */
.hero {
  padding-block: 72px 88px; text-align: center;
  background:
    radial-gradient(ellipse 70% 40% at 50% 92%, rgba(232, 177, 51, .30), transparent 70%),
    linear-gradient(180deg, #E6F3F9 0%, #F7F3EA 55%, #FBEFD6 82%, #EAF5FA 100%);
}
@media (prefers-color-scheme: dark) {
  .hero {
    background:
      radial-gradient(ellipse 70% 40% at 50% 92%, rgba(235, 186, 74, .24), transparent 70%),
      linear-gradient(180deg, #5B727E 0%, #575E67 55%, #625E53 100%);
  }
}
.hero .stack { align-items: center; }
.logo-mark { width: 150px; height: 150px; display: block; }
.logo-mark img { width: 100%; height: 100%; display: block; }
.hero h1 { font-size: clamp(24px, 7.6vw, 48px); font-weight: 600; letter-spacing: .14em; line-height: 1.7; }
.hero .sub { color: var(--muted); font-size: 15px; }

/* お悩み */
.worries { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.worries li { padding: 20px 4px 20px 34px; border-bottom: 1px solid var(--line); position: relative; }
.worries li::before { content: "✦"; position: absolute; left: 4px; top: 20px; color: var(--accent); font-size: 14px; }

/* 考え方 */
.quote {
  font-family: var(--jp); font-weight: 500; font-size: clamp(20px, 5.4vw, 28px); letter-spacing: .14em;
  text-align: center; padding-block: 8px; display: grid; justify-items: center; gap: 18px;
}
.quote::before, .quote::after { content: ""; width: 1px; height: 40px; background: var(--accent); }

/* 運営サロンの写真（店舗ごとに、その店の写真を横にスライド） */
.stores-lead { display: grid; gap: 12px; text-align: center; padding-top: 24px; }
.stores-label { font-family: var(--en); font-size: clamp(36px, 10vw, 56px); line-height: 1; letter-spacing: .08em; }
.stores-lead h3 { font-size: clamp(20px, 5.4vw, 26px); font-weight: 600; letter-spacing: .1em; }
.stores-lead p:last-child { font-size: 14px; color: var(--muted); }
.stores { display: grid; gap: 56px; }
@media (min-width: 900px) { .stores { grid-template-columns: repeat(auto-fit, minmax(220px, 300px)); justify-content: center; gap: 40px; } .stores:has(> .store:nth-child(4)) { grid-template-columns: repeat(4, 1fr); gap: 28px; } }
@media (min-width: 600px) and (max-width: 899px) { .stores:has(> .store:nth-child(2)) { grid-template-columns: repeat(2, 1fr); gap: 32px; } }
/* ジャンルの見出し（まつ毛・ネイルサロン／美容室／エステ） */
.genre { display: grid; gap: 28px; padding-top: 24px; align-content: start; }
.genre-pair { display: grid; gap: 28px; }
/* 美容室・エステの写真はリーフ形（対角だけ丸い）。chicchi・chuni はアーチのまま */
.genre-pair .slides { border-radius: 110px 4px 110px 4px; }
@media (min-width: 900px) { .genre-pair { grid-template-columns: 1fr 1fr; gap: 40px; } .genre-pair .store { max-width: 260px; } }
.genre-label { display: flex; align-items: center; justify-content: center; gap: 16px; font-size: 15px; letter-spacing: .2em; color: var(--muted); }
.genre-label::before, .genre-label::after { content: ""; width: 40px; height: 1px; background: var(--sky); }
.store { display: grid; gap: 16px; max-width: 340px; width: 100%; margin-inline: auto; align-content: start; }
.store-name { display: grid; justify-items: center; gap: 2px; text-align: center; }
.store-name .en { font-family: var(--en); font-size: 28px; letter-spacing: .12em; line-height: 1.2; }
.store-name h3 { font-size: 18px; font-weight: 500; letter-spacing: .14em; }
.carousel { display: grid; gap: 18px; }
.slides {
  display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  border-radius: 999px 999px 4px 4px; box-shadow: 14px 14px 0 var(--block);
  margin-right: 14px;
}
.slides::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; margin: 0; scroll-snap-align: center; background: var(--block); }
.slide img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; display: block; }
.carousel-nav { display: flex; align-items: center; justify-content: center; gap: 16px; padding-top: 6px; }
.carousel-btn {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: transparent;
  color: var(--ink); font-size: 18px; line-height: 1; cursor: pointer; display: grid; place-items: center; font-family: var(--en);
}
.carousel-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.dots { display: flex; gap: 8px; }
.dot-btn { width: 6px; height: 6px; padding: 0; border-radius: 50%; border: 0; background: var(--faint); opacity: .5; cursor: pointer; }
.dot-btn[aria-current="true"] { background: var(--accent); opacity: 1; }

/* スマホだけで改行する */
br.sp { display: none; }
@media (max-width: 599px) { br.sp { display: inline; } }

/* スクロールで下からスッと出てくる動き（JSが動くときだけ。下に進むたびに毎回動く） */
.js .reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1);
  transition-delay: var(--d, 0s);
}
.js .reveal.is-in { opacity: 1; transform: none; }
/* 見出しの線が、出てくるときにスッと伸びる */
.js .head.reveal h2::after { width: 0; transition: width .9s ease .4s; }
.js .head.reveal.is-in h2::after { width: 32px; }

/* ロゴがゆっくり光る（「光らせる」） */
.logo-mark { animation: glow 4.5s ease-in-out infinite; border-radius: 50%; }
@keyframes glow {
  0%, 100% { filter: drop-shadow(0 0 0 transparent); }
  50% { filter: drop-shadow(0 0 20px var(--glow)); }
}

/* 実体験：太字のマーカーが左から右へ引かれる */
.js .exp strong {
  background: linear-gradient(transparent 62%, var(--accent-soft) 62%) no-repeat 0 0 / 0% 100%;
  transition: background-size 1s cubic-bezier(.2,.7,.2,1) .45s;
}
.js .exp article.is-in strong { background-size: 100% 100%; }

/* キャッチコピーが1文字ずつふわっと出る */
.js .letters .ch { display: inline-block; opacity: 0; transform: translateY(14px); filter: blur(6px); animation: letter-in .9s cubic-bezier(.2,.7,.2,1) forwards; animation-delay: var(--d, 0s); }
@keyframes letter-in { to { opacity: 1; transform: none; filter: none; } }

/* 一番上の光の粒 */
.hero { position: relative; overflow: hidden; }
.hero > .wrap { position: relative; z-index: 1; }
.sparkles { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
/* ページ全体の光の粒（画面に固定。背景として、文字やフォームなどの枠の後ろに出る） */
.sparkles-page { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: -1; }

/* 実体験（番号つき・PCでは左右にずらして並べる） */
.exp { display: grid; gap: 44px; }
.exp article { display: grid; gap: 10px; max-width: 560px; }
.exp .num { font-family: var(--en); font-style: italic; font-size: 48px; line-height: 1; color: var(--accent); }
.exp h3 { font-size: 19px; font-weight: 600; }
.exp p { font-size: 15px; line-height: 2.1; }
.exp strong { font-weight: 600; background: linear-gradient(transparent 62%, var(--accent-soft) 62%); }
@media (min-width: 900px) {
  .exp article:nth-child(even) { margin-left: auto; }
}

/* サポートの流れ */
.flow-wrap { position: relative; }
.flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; position: relative; }
/* 1〜5の丸をつなぐ縦の線（上から下へ伸びる） */
.flow::before {
  content: ""; position: absolute; left: 39px; top: 40px; bottom: 40px; width: 1px; z-index: 0;
  background: var(--accent); transform-origin: top;
}
.js .flow-wrap .flow::before { transform: scaleY(0); transition: transform 1.4s cubic-bezier(.4,0,.2,1) .2s; }
.js .flow-wrap.is-in .flow::before { transform: scaleY(1); }
.flow li { display: grid; grid-template-columns: 46px 1fr; gap: 16px; align-items: start; background: var(--bg); border-radius: 4px; padding: 18px 16px; position: relative; z-index: 1; }
.flow .dot { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--accent); color: var(--ink); background: var(--bg); display: grid; place-items: center; font-family: var(--en); font-size: 20px; transition: background .5s ease, color .5s ease, box-shadow .5s ease; transition-delay: calc(var(--d, 0s) + .4s); }
/* 丸が順番に光る */
.js .flow li.is-in .dot { background: var(--accent); color: var(--on-accent); box-shadow: 0 0 0 6px var(--accent-soft), 0 0 18px var(--glow); }
.flow h3 { font-size: 17px; }
.flow p { font-size: 14px; color: var(--muted); }
/* くり返しのマークと言葉 */
.loop { display: grid; justify-items: center; gap: 8px; text-align: center; padding-top: 6px; }
.loop-icon { width: 32px; height: 32px; color: var(--accent); }
.js .loop.is-in .loop-icon { animation: spin-once 1.1s cubic-bezier(.4,0,.2,1) .3s both; }
@keyframes spin-once { from { transform: rotate(-360deg); } to { transform: rotate(0); } }
.loop p { font-size: 17px; letter-spacing: .12em; }

/* 担当者紹介 */
.arch.portrait img { object-position: 72% 30%; }
.profile { display: grid; gap: 26px; }
.profile .name { font-size: 28px; font-weight: 500; letter-spacing: .18em; line-height: 1.3; }
.profile .name-en { font-family: var(--en); font-style: italic; font-size: 16px; color: var(--muted); letter-spacing: .14em; }
.profile dl { margin: 0; display: grid; border-top: 1px solid var(--line); }
.profile dl div { display: grid; grid-template-columns: 8em 1fr; gap: 12px; padding-block: 14px; border-bottom: 1px solid var(--line); }
.profile dt { font-size: 13px; color: var(--muted); }
.profile dd { margin: 0; font-size: 15px; min-width: 0; }
.message { display: grid; gap: 8px; padding-left: 18px; border-left: 1px solid var(--sky); }
.message .label { font-family: var(--en); font-size: 14px; letter-spacing: .2em; color: var(--muted); }
.message p { font-size: 16px; line-height: 2.1; }
@media (max-width: 420px) { .profile dl div { grid-template-columns: 1fr; gap: 2px; } }

/* 無料相談・フォーム */
.consult { background: var(--bg); border-radius: 4px; padding: 32px 22px; display: flex; flex-direction: column; gap: 22px; }
.facts { display: grid; gap: 6px; font-size: 15px; margin: 0; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: 4em 1fr; gap: 8px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; }
form { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; font-weight: 500; }
.req { font-size: 11px; color: var(--on-accent); background: var(--accent); border-radius: 999px; padding: 1px 8px; margin-left: 8px; }
input, select, textarea {
  font: inherit; font-size: 16px; color: var(--ink); background: var(--bg);
  border: 1px solid var(--line); border-radius: 4px; padding: 11px 12px; width: 100%;
}
input::placeholder, textarea::placeholder { color: var(--faint); }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 1px solid var(--accent); border-color: var(--accent); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { color: var(--error); font-size: 14px; }
form .cta { justify-self: center; margin-top: 6px; }
.insta { font-size: 14px; }
/* フォームの上のひとこと：Aboutの同じ言葉と区別して、少し小さめ */
#consult .quote { font-size: clamp(18px, 4.8vw, 24px); padding-bottom: 16px; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); padding-block: 18px; }
summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; gap: 12px; align-items: baseline; }
summary::-webkit-details-marker { display: none; }
summary::before { content: "Q"; font-family: var(--en); font-style: italic; font-size: 22px; color: var(--sky); line-height: 1; }
details p { padding: 10px 0 0 28px; color: var(--muted); font-size: 15px; }

/* 最後・フッター */
.closing .stack { align-items: center; }
.closing .en { font-family: var(--en); font-style: italic; font-size: clamp(36px, 10vw, 60px); line-height: 1.1; letter-spacing: .04em; }
.closing h2 { font-size: clamp(19px, 5.2vw, 24px); font-weight: 500; letter-spacing: .12em; line-height: 1.9; }
footer { padding-block: 48px 120px; font-size: 13px; color: var(--muted); position: relative; }
footer::before { content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 32px; height: 1px; background: var(--sky); }
footer .wrap { display: flex; flex-direction: column; gap: 6px; align-items: center; text-align: center; }
footer .foot-logo { width: 84px; height: 84px; margin-bottom: 10px; }
footer .foot-logo img { width: 100%; height: 100%; display: block; }

/* スマホ下の固定ボタン */
.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: 14px 20px; }
@media (min-width: 900px) { .sticky { display: none; } footer { padding-bottom: 48px; } }

/* ありがとうページ */
.thanks-page { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; padding-block: 64px;
  background: radial-gradient(ellipse 70% 40% at 50% 92%, rgba(232, 177, 51, .22), transparent 70%), var(--tint); }
.thanks-page .stack { align-items: center; text-align: center; }
.thanks-page .logo-mark { width: 110px; height: 110px; }
.thanks-page h1 { font-size: clamp(22px, 6vw, 30px); font-weight: 500; letter-spacing: .1em; line-height: 1.7; }
.thanks-page p { color: var(--muted); }
.thanks-page .cta::after { content: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cta, .cta::after { transition: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .js .head.reveal h2::after { width: 32px; transition: none; }
  .logo-mark { animation: none; }
  .js .exp strong { background-size: 100% 100%; transition: none; }
  .js .letters .ch { animation: none; opacity: 1; transform: none; filter: none; }
  .js .flow-wrap .flow::before { transform: none; transition: none; }
  .js .loop .loop-icon { animation: none; }
  .sparkles, .sparkles-page { display: none; }
}
