/* =====================================================================
   style.css ── FROM NOW（レンタルサロン）提案デモ
   reset → tokens → style の順で読み込む。数値はベタ書きせず var(--xx)。
   ===================================================================== */

/* ---------- 基本 ---------- */
html { scroll-behavior: smooth; }
body {
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--ff-body);
  font-size: var(--fz-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--ff-head); line-height: 1.34; font-weight: 600; }
h1 { font-size: var(--fz-h1); }
h2 { font-size: var(--fz-h2); }
p { line-height: var(--lh-body); }
a { color: var(--c-accent-dk); text-underline-offset: .2em; transition: opacity .2s ease, color .2s ease; }
a:hover { opacity: .75; }
img { display: block; max-width: 100%; }
strong { font-weight: 700; }

/* ---------- レイアウト ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--sp-3); }
.container--narrow { max-width: 760px; }
.section { padding-block: clamp(var(--sp-8), 9vw, var(--sp-12)); }
.section--tight { padding-block: clamp(var(--sp-6), 6vw, var(--sp-8)); }
.section--soft { background: var(--c-bg-soft); }
.section--card { background: var(--c-bg-card); }
section[id] { scroll-margin-top: 76px; }

/* 見出しブロック */
.eyebrow {
  font-family: var(--ff-en);
  font-size: 1.05rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--c-accent-dk); display: inline-flex; align-items: center; gap: var(--sp-2);
  margin-bottom: var(--sp-2);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--c-accent); display: inline-block; }
.section-head { margin-bottom: var(--sp-6); }
.section-head h2 { margin-bottom: var(--sp-2); }
.section-head .lead, .lead { color: var(--c-text); }
.lead { font-size: 1.06rem; max-width: 40em; }
.muted { color: var(--c-text-sub); }
.center { text-align: center; }
.center .eyebrow, .center .section-head { justify-content: center; }
.center .lead { margin-inline: auto; }

/* 要確認チップ・注記 */
.tbc {
  display: inline-block; font-size: .8rem; font-family: var(--ff-body);
  color: var(--c-main-dark); background: var(--c-bg-soft); border: 1px solid #ecd9a3;
  padding: 1px 8px; border-radius: var(--radius); letter-spacing: .02em; white-space: nowrap;
}
.note { font-size: .9rem; color: var(--c-text-sub); }

/* ---------- ヘッダー / ナビ ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--c-bg) 92%, transparent);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--c-line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); padding-block: var(--sp-2); }
.logo { font-family: var(--ff-en); font-size: 1.5rem; letter-spacing: .12em; color: var(--c-main-dark); text-decoration: none; font-weight: 600; }
.logo small { display: block; font-family: var(--ff-body); font-size: .62rem; letter-spacing: .28em; color: var(--c-text-sub); }

.nav__toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; margin-left: auto; padding: 9px; background: none; border: 0; cursor: pointer; color: var(--c-main-dark); }
.nav__toggle-bar { display: block; width: 22px; height: 2px; background: currentColor; transition: transform .3s ease, opacity .3s ease; }
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__menu {
  position: absolute; top: 100%; left: 0; right: 0; z-index: 90;
  display: flex; flex-direction: column; align-items: stretch;
  background: var(--c-bg); padding: var(--sp-1) var(--sp-3) var(--sp-4);
  border-top: 1px solid var(--c-line); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
}
.nav__menu.is-open { opacity: 1; visibility: visible; transform: none; }
.nav__list { display: flex; flex-direction: column; gap: 0; list-style: none; }
.nav__list li { border-bottom: 1px solid var(--c-line); }
.nav__list a { display: block; padding: var(--sp-3) var(--sp-1); text-decoration: none; color: var(--c-text); font-size: 1rem; }
.nav__list a[aria-current="page"] { color: var(--c-accent-dk); }
.nav__cta { margin-top: var(--sp-3); }
.nav__cta .button { width: 100%; text-align: center; }

@media (min-width: 860px) {
  .nav__toggle { display: none; }
  .nav__menu { position: static; flex-direction: row; align-items: center; gap: var(--sp-4); background: none; padding: 0; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
  .nav__list { flex-direction: row; gap: var(--sp-4); }
  .nav__list li { border-bottom: 0; }
  .nav__list a { display: inline-block; padding: var(--sp-1) 0; font-size: .95rem; position: relative; }
  .nav__list a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--c-accent); }
  .nav__cta { margin-top: 0; }
  .nav__cta .button { width: auto; padding: var(--sp-1) var(--sp-3); }
}

/* キャンペーン帯（2号店告知）*/
.campaign { background: var(--c-main); color: var(--c-main-dark); }
.campaign p { margin: 0; text-align: center; font-size: .9rem; padding-block: var(--sp-1); font-weight: 500; }
.campaign a { color: var(--c-main-dark); text-decoration: underline; font-weight: 700; }

/* ---------- ボタン / リンク ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: var(--sp-2) var(--sp-4);
  background: var(--c-line-btn); color: #fff; border: 1px solid var(--c-line-btn);
  border-radius: var(--radius); text-decoration: none; font-size: 1rem; font-weight: 700;
  letter-spacing: .02em; transition: background .2s ease, transform .05s ease, box-shadow .2s ease;
}
.button:hover { background: var(--c-line-btn-dk); border-color: var(--c-line-btn-dk); opacity: 1; box-shadow: var(--shadow); }
.button:active { transform: translateY(1px); }
.button--lg { min-height: 56px; padding-inline: var(--sp-6); font-size: 1.05rem; }
.button--block { width: 100%; }
.button--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.button--ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.button .ico { width: 1.05em; height: 1.05em; }

.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 500; text-decoration: none; color: var(--c-accent-dk); }
.link-arrow::after { content: "\2192"; transition: transform .2s ease; }
.link-arrow:hover { opacity: 1; }
.link-arrow:hover::after { transform: translateX(3px); }

.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-3); margin-top: var(--sp-4); }

/* ---------- ヒーロー ---------- */
.hero { position: relative; isolation: isolate; background: var(--c-bg); border-bottom: 1px solid var(--c-line); }
.hero__inner { display: flex; flex-direction: column; }
.hero__media { order: -1; position: relative; aspect-ratio: 4 / 5; max-height: 42vh; width: 100%; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__body { padding: var(--sp-6) var(--sp-3) var(--sp-8); }
.hero__en { font-family: var(--ff-en); letter-spacing: .14em; color: var(--c-accent-dk); font-size: 1.1rem; }
.hero__title { font-size: clamp(2.2rem, 8vw, 3.6rem); line-height: 1.28; margin: var(--sp-2) 0; color: var(--c-main-dark); }
.hero__sub { font-family: var(--ff-en); font-style: italic; color: var(--c-text-sub); font-size: 1.15rem; margin-bottom: var(--sp-3); }
.hero__lead { max-width: 30em; font-size: 1.02rem; }
@media (min-width: 860px) {
  .hero__inner { flex-direction: row; align-items: stretch; min-height: 82vh; }
  .hero__media { order: 0; flex: 0 0 52%; aspect-ratio: auto; max-height: none; }
  .hero__body {
    flex: 1; display: flex; flex-direction: column; justify-content: center;
    padding-block: var(--sp-12); padding-right: var(--sp-6);
    padding-left: max(var(--sp-6), calc((100vw - var(--container)) / 2 + var(--sp-3)));
  }
  .hero__title { font-size: clamp(2.6rem, 3.6vw, 3.6rem); }
}

/* ページヘッダー帯 */
.page-head { position: relative; isolation: isolate; color: #fff; }
.page-head__media { position: absolute; inset: 0; z-index: 0; }
.page-head__media img { width: 100%; height: 100%; object-fit: cover; }
.page-head::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(58,45,33,.72), rgba(58,45,33,.42)); }
.page-head .container { position: relative; z-index: 2; padding-block: clamp(var(--sp-8), 12vw, var(--sp-12)); }
.page-head .eyebrow { color: #E7D8B9; }
.page-head .eyebrow::before { background: #E7D8B9; }
.page-head h1 { color: #fff; }
.page-head .lead { color: rgba(255,255,255,.92); }

/* ---------- 特徴グリッド ---------- */
.features { display: grid; gap: var(--sp-6) var(--sp-4); grid-template-columns: 1fr; }
.feature__num { font-family: var(--ff-en); font-size: 1.4rem; color: var(--c-accent-dk); display: inline-block; border-bottom: 1px solid var(--c-line); padding-bottom: var(--sp-1); margin-bottom: var(--sp-2); }
.feature h3 { font-size: 1.18rem; margin-bottom: var(--sp-1); color: var(--c-main-dark); }
.feature p { color: var(--c-text); font-size: 1rem; }
@media (min-width: 720px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .features--4 { grid-template-columns: repeat(4, 1fr); } .features--3 { grid-template-columns: repeat(3, 1fr); } }

/* ---------- 交互レイアウト（写真＋テキスト）---------- */
.split { display: grid; gap: var(--sp-4); align-items: center; }
.split__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
@media (min-width: 860px) {
  .split { grid-template-columns: 1fr 1fr; gap: var(--sp-8); }
  .split--rev .split__media { order: 2; }
}

/* ---------- プランカード ---------- */
.plans { display: grid; gap: var(--sp-4); grid-template-columns: 1fr; }
.plan { background: var(--c-bg-card); border: 1px solid var(--c-line); border-radius: var(--radius); padding: var(--sp-6) var(--sp-4); display: flex; flex-direction: column; }
.plan__name { font-size: 1.3rem; color: var(--c-main-dark); margin-bottom: var(--sp-1); }
.plan__name .en { display: block; font-family: var(--ff-en); font-size: .9rem; color: var(--c-accent-dk); letter-spacing: .08em; }
.plan__for { color: var(--c-text-sub); font-size: .9rem; margin-bottom: var(--sp-3); }
.plan__list { list-style: none; margin: 0 0 var(--sp-4); display: grid; gap: var(--sp-2); }
.plan__list li { padding-left: 1.4em; position: relative; font-size: 1rem; }
.plan__list li::before { content: ""; position: absolute; left: 0; top: .7em; width: 8px; height: 8px; border-bottom: 1.5px solid var(--c-accent); border-left: 1.5px solid var(--c-accent); transform: rotate(-45deg); }
.plan__price { margin-top: auto; padding-top: var(--sp-3); border-top: 1px solid var(--c-line); display: flex; align-items: center; gap: var(--sp-2); flex-wrap: wrap; }
.plan__price .label { font-size: .85rem; color: var(--c-text-sub); width: 100%; }
.plan__price strong { font-family: var(--ff-head); font-size: 1.25rem; color: var(--c-main-dark); }
.plan__price .note { width: 100%; }
.plan .button { margin-top: var(--sp-3); }
@media (min-width: 800px) { .plans { grid-template-columns: repeat(2, 1fr); } }

/* ---------- ステップ（ご利用の流れ）---------- */
.steps { display: grid; gap: var(--sp-4); grid-template-columns: 1fr; counter-reset: step; }
.step { position: relative; padding: var(--sp-3) 0 var(--sp-3) var(--sp-8); border-top: 1px solid var(--c-line); }
.step__num { position: absolute; left: 0; top: var(--sp-3); font-family: var(--ff-en); font-size: 1.6rem; color: var(--c-accent-dk); }
.step h3 { font-size: 1.08rem; margin-bottom: 2px; color: var(--c-main-dark); }
.step p { font-size: 1rem; color: var(--c-text); }
@media (min-width: 860px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: var(--sp-4); }
  .step { border-top: 2px solid var(--c-line); padding: var(--sp-3) var(--sp-2) 0 0; }
  .step__num { position: static; display: block; margin-bottom: var(--sp-1); }
}

/* ---------- FAQ（details/summary）---------- */
.faq { max-width: 820px; }
.faq__item { border-bottom: 1px solid var(--c-line); }
.faq__item summary { list-style: none; cursor: pointer; padding: var(--sp-3) 2.2em var(--sp-3) 0; position: relative; font-weight: 500; color: var(--c-main-dark); font-family: var(--ff-head); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::before { content: "Q"; font-family: var(--ff-en); color: var(--c-accent-dk); margin-right: .6em; }
.faq__item summary::after { content: ""; position: absolute; right: .2em; top: 50%; width: 12px; height: 12px; margin-top: -6px; background:
  linear-gradient(var(--c-accent),var(--c-accent)) center/12px 1.5px no-repeat,
  linear-gradient(var(--c-accent),var(--c-accent)) center/1.5px 12px no-repeat; transition: transform .2s ease; }
.faq__item[open] summary::after { transform: rotate(90deg); opacity: .6; background:
  linear-gradient(var(--c-accent),var(--c-accent)) center/12px 1.5px no-repeat; }
.faq__a { padding: 0 0 var(--sp-3); color: var(--c-text); font-size: 1rem; max-width: 60em; }

/* ---------- ギャラリー ---------- */
.gallery { display: grid; gap: var(--sp-2); grid-template-columns: repeat(2, 1fr); }
.gallery img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.gallery--sq img { aspect-ratio: 1 / 1; }
@media (min-width: 860px) { .gallery { grid-template-columns: repeat(3, 1fr); gap: var(--sp-3); } .gallery--4 { grid-template-columns: repeat(4, 1fr); } }

/* ---------- 店舗カード ---------- */
.stores-grid { display: grid; gap: var(--sp-4); grid-template-columns: 1fr; }
.store-card { background: var(--c-bg-card); border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.store-card__media { position: relative; aspect-ratio: 3 / 2; }
.store-card__media img { width: 100%; height: 100%; object-fit: cover; }
.badge { position: absolute; top: var(--sp-2); left: var(--sp-2); font-size: .78rem; font-weight: 700; padding: 2px 10px; border-radius: 999px; background: var(--c-main); color: var(--c-main-dark); letter-spacing: .04em; }
.badge--prep { background: var(--c-main-dark); color: #fff; }
.store-card__body { padding: var(--sp-4); display: flex; flex-direction: column; gap: var(--sp-2); flex: 1; }
.store-card__name { font-size: 1.25rem; color: var(--c-main-dark); }
.store-card__name .station { display: block; font-size: .85rem; color: var(--c-text-sub); font-family: var(--ff-body); }
.store-card__feats { list-style: none; display: flex; flex-wrap: wrap; gap: var(--sp-1) var(--sp-2); font-size: .85rem; color: var(--c-text-sub); }
.store-card__feats li { background: var(--c-bg-soft); padding: 2px 10px; border-radius: var(--radius); }
.store-card__links { margin-top: auto; display: flex; gap: var(--sp-3); padding-top: var(--sp-2); flex-wrap: wrap; }
@media (min-width: 760px) { .stores-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- 情報リスト（住所など）---------- */
.deflist { display: grid; gap: 0; border-top: 1px solid var(--c-line); }
.deflist > div { display: grid; grid-template-columns: 1fr; gap: 2px; padding: var(--sp-3) 0; border-bottom: 1px solid var(--c-line); }
.deflist dt { font-family: var(--ff-head); color: var(--c-main-dark); font-size: .95rem; }
.deflist dd { color: var(--c-text); }
@media (min-width: 640px) { .deflist > div { grid-template-columns: 160px 1fr; gap: var(--sp-3); align-items: baseline; } }

/* ---------- 地図 ---------- */
.map { position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--c-line); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (min-width: 860px) { .map { aspect-ratio: 16 / 7; } }

/* ---------- 共通CTA帯（反転）---------- */
.cta-band { background: var(--c-main); color: var(--c-main-dark); }
.cta-band h2 { color: var(--c-main-dark); }
.cta-band .lead { color: var(--c-main-dark); }
.cta-band a:not(.button) { color: var(--c-main-dark); }
.cta-band .eyebrow { color: var(--c-main-dark); }
.cta-band .eyebrow::before { background: var(--c-main-dark); }
/* 黄帯の上でもLINE緑ボタンが映えるよう軽く浮かせる */
.cta-band .button { box-shadow: 0 2px 10px rgba(0,0,0,.14); }
.cta-band__grid { display: grid; gap: var(--sp-6); align-items: center; }
.cta-band__line { display: inline-flex; align-items: center; gap: var(--sp-2); background: rgba(255,255,255,.5); border: 1px solid rgba(46,42,32,.2); padding: var(--sp-2) var(--sp-3); border-radius: var(--radius); }
.cta-band__line .id { font-family: var(--ff-en); font-size: 1.2rem; letter-spacing: .05em; }
.cta-band ol { margin: var(--sp-3) 0 0; padding-left: 1.2em; color: var(--c-main-dark); font-size: .92rem; }
.cta-band ol li { margin-bottom: 4px; }
@media (min-width: 860px) { .cta-band__grid { grid-template-columns: 1.3fr 1fr; gap: var(--sp-12); } }

/* ---------- モバイル追従CTA ---------- */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 110;
  display: grid; grid-template-columns: 2fr 1fr; gap: 1px;
  background: var(--c-line); border-top: 1px solid var(--c-line);
  transform: translateY(110%); transition: transform .3s ease;
}
.mobile-cta.is-shown { transform: none; }
.mobile-cta a { min-height: 56px; display: flex; align-items: center; justify-content: center; text-decoration: none; font-weight: 600; font-size: .98rem; }
.mobile-cta .m-main { background: var(--c-line-btn); color: #fff; }
.mobile-cta .m-sub { background: var(--c-bg-card); color: var(--c-line-btn-dk); }
@media (min-width: 860px) { .mobile-cta { display: none; } }
body { padding-bottom: 0; }
@media (max-width: 859px) { body.has-mobilecta { padding-bottom: 56px; } }

/* ---------- フッター ---------- */
.site-footer { background: var(--c-main-dark); color: #E7DECF; padding-block: var(--sp-8) var(--sp-6); }
.footer__grid { display: grid; gap: var(--sp-6); }
.footer__brand .logo { color: #fff; }
.footer__brand p { color: #C9BCA8; font-size: .9rem; margin-top: var(--sp-2); }
.footer__nav { list-style: none; display: grid; gap: var(--sp-2); }
.footer__nav a { color: #E7DECF; text-decoration: none; font-size: .92rem; }
.footer__nav a:hover { color: #fff; opacity: 1; }
.footer__bottom { margin-top: var(--sp-6); padding-top: var(--sp-3); border-top: 1px solid rgba(255,255,255,.14); font-size: .8rem; color: #B6A892; display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-4); justify-content: space-between; }
@media (min-width: 760px) { .footer__grid { grid-template-columns: 2fr 1fr 1fr; gap: var(--sp-8); } }

/* ---------- SAMPLEフラグ ---------- */
.sample-flag { position: fixed; top: 10px; right: 10px; z-index: 200; background: rgba(58,45,33,.88); color: #fff; font-size: .72rem; letter-spacing: .05em; padding: 4px 10px; border-radius: 999px; pointer-events: none; }

/* ---------- フォーカス / スキップ ---------- */
:focus-visible { outline: 2px solid var(--c-accent-dk); outline-offset: 2px; }
.skip-link { position: absolute; left: var(--sp-2); top: -4rem; z-index: 300; background: var(--c-main-dark); color: #fff; padding: var(--sp-1) var(--sp-2); border-radius: var(--radius); text-decoration: none; transition: top .2s ease; }
.skip-link:focus { top: var(--sp-2); }

/* ---------- reveal ---------- */
.reveal { opacity: 1; }
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .mobile-cta { transition: none; }
}

/* ---------- 小物 ---------- */
.stack > * + * { margin-top: var(--sp-3); }
.mt-2 { margin-top: var(--sp-2); } .mt-4 { margin-top: var(--sp-4); } .mt-6 { margin-top: var(--sp-6); }
.prose { max-width: 760px; }
.prose h3 { margin: var(--sp-6) 0 var(--sp-2); color: var(--c-main-dark); font-size: 1.15rem; }
.prose p, .prose li { font-size: 1rem; }
.prose ol, .prose ul { padding-left: 1.4em; }
.prose ol li, .prose ul li { margin-bottom: var(--sp-1); }
