/* =========================================================
   公開版（先行公開）だけで使うページ部品
   共通の色・部品は style.css を使う
   ========================================================= */

/* ---------- トップ：先行公開の最初の画面 ---------- */
.hero-open {
  display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-size: 13px; font-weight: 700; margin-bottom: 20px;
}
.hero-open .pill {
  border: 1px solid var(--teal-light); color: var(--teal-light);
  border-radius: 999px; padding: 3px 12px; font-size: 12px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn-ghost { background: transparent; border-color: rgba(242, 238, 230, .6); color: var(--paper); }
.btn-ghost:hover { background: var(--paper); color: var(--teal); }

/* 発車標の形の「できること」ボード */
.board-row {
  display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; align-items: baseline;
  padding: 11px 0; border-bottom: 1px dashed var(--teal-2);
}
.board-row:last-of-type { border-bottom: 0; }
.board-row .no { color: var(--coral); font-weight: 800; font-size: 15px; font-variant-numeric: tabular-nums; }
.board-row b { display: block; font-size: 16px; }
.board-row span { display: block; font-size: 12px; opacity: .7; margin-top: 2px; }

/* ---------- セクション ---------- */
.section { padding-block: 48px 8px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 1.5px solid var(--ink); margin-bottom: 20px; }
.section-head h2 { font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.section-head span { font-size: 12px; color: var(--gray); }

.points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1.5px solid var(--ink); background: var(--card); }
.point { padding: 18px 20px 20px; border-right: 1px solid var(--line); display: grid; gap: 8px; align-content: start; }
.point:last-child { border-right: 0; }
.point .k { font-size: 12px; font-weight: 800; color: var(--teal); letter-spacing: .06em; }
.point h3 { font-size: 18px; font-weight: 800; line-height: 1.4; }
.point p { font-size: 13px; color: var(--gray); line-height: 1.8; }
.point .yen { font-size: 28px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); font-variant-numeric: tabular-nums; }

.read-card {
  display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 20px; align-items: center;
  background: var(--card); border: 1px solid var(--line); border-radius: 2px; padding: 12px;
}
.read-card:hover { border-color: var(--ink); }
.read-card:hover h3 { color: var(--teal); }
.read-card .card-img { aspect-ratio: 16 / 9; margin: 0; }
.read-card .kicker { font-size: 12px; color: var(--gray); font-weight: 700; }
.read-card h3 { font-size: 19px; font-weight: 800; line-height: 1.45; margin: 4px 0 6px; }
.read-card p { font-size: 13px; color: var(--gray); }

.recruit {
  margin-block: 48px 64px; background: var(--teal); color: var(--paper);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 28px 28px;
}
.recruit h2 { font-size: 24px; font-weight: 900; letter-spacing: -.02em; }
.recruit p { font-size: 14px; opacity: .85; margin-top: 6px; }

/* ---------- 読みもの・案内ページ（文章のページ） ---------- */
.doc { max-width: 760px; padding-bottom: 72px; }
.doc-head { padding-bottom: 22px; border-bottom: 1.5px solid var(--ink); }
.doc-kicker { font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--gray); }
.doc-title { font-size: clamp(28px, 4.4vw, 42px); font-weight: 900; line-height: 1.25; letter-spacing: -.03em; margin: 10px 0 12px; }
.doc-title em { font-style: normal; color: var(--coral-ink); }
.doc-lead { font-size: 15px; line-height: 1.9; }
.doc-meta { font-size: 12px; color: var(--gray); margin-top: 10px; }
.doc h2 { font-size: 21px; font-weight: 800; letter-spacing: -.02em; line-height: 1.4; margin: 40px 0 12px; padding-top: 12px; border-top: 1.5px solid var(--ink); }
.doc h3 { font-size: 16px; font-weight: 800; margin: 22px 0 6px; }
.doc p, .doc li { font-size: 15px; line-height: 1.9; }
.doc p { margin-bottom: 12px; }
.doc ul, .doc ol { margin: 0 0 14px; padding-left: 1.4em; }
.doc .note { font-size: 12px; color: var(--gray); line-height: 1.7; }
.doc .todo { background: var(--mint); padding: 1px 6px; font-weight: 700; }

.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1.5px solid var(--ink); background: var(--card); margin: 20px 0 8px; }
.fact { padding: 14px 16px; border-right: 1px solid var(--line); }
.fact:last-child { border-right: 0; }
.fact span { display: block; font-size: 12px; color: var(--gray); }
.fact b { display: block; font-size: 24px; font-weight: 800; letter-spacing: -.02em; margin-top: 2px; }
.fact b.free { color: var(--coral-ink); }

.steps { list-style: none; padding: 0 !important; border-top: 1px solid var(--line); counter-reset: step; }
.steps li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); counter-increment: step; }
.steps li::before { content: counter(step, decimal-leading-zero); font-weight: 800; font-size: 20px; color: var(--teal); font-variant-numeric: tabular-nums; line-height: 1.4; }
.steps b { display: block; font-size: 15px; }
.steps span { display: block; font-size: 14px; color: var(--gray); line-height: 1.8; }

.def { display: grid; grid-template-columns: 160px minmax(0, 1fr); border-top: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); margin: 8px 0 14px; }
.def dt, .def dd { margin: 0; padding: 12px 10px; border-bottom: 1px solid var(--line); font-size: 14px; }
.def dt { color: var(--gray); font-weight: 700; }
.def dt:nth-last-of-type(1), .def dd:last-of-type { border-bottom: 0; }

.contact-box { margin-top: 28px; padding: 22px; border: 1.5px solid var(--ink); background: var(--card); display: grid; gap: 10px; }
.contact-box b { font-size: 16px; }
.contact-box .mail { font-size: 20px; font-weight: 800; color: var(--teal); word-break: break-all; }

.notfound-page { padding-block: 80px 96px; display: grid; gap: 16px; justify-items: start; }
.notfound-page .code { font-size: 64px; font-weight: 900; letter-spacing: -.04em; color: var(--teal); line-height: 1; }

/* 公開版の下部ナビは3つ */
@media (max-width: 767px) {
  .bottom-nav.is-3 { grid-template-columns: repeat(3, 1fr); }
  .hero-open { margin-bottom: 14px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .section { padding-block: 32px 4px; }
  .section-head h2 { font-size: 20px; }
  .points, .facts { grid-template-columns: 1fr; }
  .point, .fact { border-right: 0; border-bottom: 1px solid var(--line); }
  .point:last-child, .fact:last-child { border-bottom: 0; }
  .read-card { grid-template-columns: 1fr; gap: 10px; }
  .recruit { grid-template-columns: 1fr; padding: 22px 18px; margin-block: 32px 40px; }
  .recruit .btn { width: 100%; }
  .def { grid-template-columns: 1fr; }
  .def dt { padding-bottom: 0; border-bottom: 0; }
}

/* ---------- 掲載店舗のページ ---------- */
.shop-hero { position: relative; height: 200px; border-radius: 2px; overflow: hidden; }
.shop-note { font-size: 14px; line-height: 1.8; padding: 12px 4px; }
.shop-note a { color: var(--teal); text-decoration: underline; margin-left: 4px; }
.price-table + .price-note, .price-table { margin-top: 0; }
@media (max-width: 767px) {
  .shop-hero { height: 120px; margin-inline: -16px; border-radius: 0; }
}

/* ---------- トップ：掲載中のお店 ---------- */
.shop-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.shop-card { display: grid; gap: 6px; background: var(--card); border: 1px solid var(--line); border-radius: 2px; padding: 14px 16px; }
.shop-card:hover { border-color: var(--ink); }
.shop-card:hover .nm { color: var(--teal); }
.shop-card .nm { font-size: 17px; font-weight: 800; }
.shop-card .ar { font-size: 12px; color: var(--gray); }
.shop-card .ft { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line); padding-top: 8px; margin-top: 4px; }
.shop-card .price { font-size: 22px; }
.shop-card .price small { font-size: 11px; font-weight: 500; color: var(--gray); margin-right: 4px; }
@media (max-width: 1023px) { .shop-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .shop-cards { grid-template-columns: 1fr; } }
