/* ==========================================================================
   ピラティス入会前チェックリスト｜共通スタイル

   デザイン方針:
   - 「確認できた情報」と「確認できなかった情報」を視覚的に区別するタグ表現を
     全ページの署名要素とする（この記事群の核心的な価値＝正直な情報開示を体現する）
   - 比較表はスマホ幅では1社1カードに組み替える（横スクロールに頼らない）
   - 装飾より可読性（行間・余白・文字サイズ）を優先する
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Zen+Kaku+Gothic+New:wght@400;500;700;900&display=swap");

:root {
  --ink: #242327;
  --ink-soft: #5b5760;
  --ink-faint: #8b8790;
  --paper: #fafaf9;
  --paper-raised: #ffffff;
  --panel-bg: #efeae9; /* 面塗り用の中立グレー。診断パネル等を独立ブロックと分からせるため前回より少し濃くした */
  --line: #e4e1e1;
  --line-soft: #eeecec;
  --accent: #d6487a;
  --accent-deep: #9c2f58;
  --accent-bg: #fbe0ea; /* バッジ・ボタンhover等の小要素専用。パネル・カード全面には使わない */
  --flag: #a6790e;
  --flag-bg: #fbf0da;
  --flag-line: #e6cfa0;

  --footer-bg: var(--ink);
  --footer-text: #edebee;
  --footer-link: #efc3d2;
  --footer-dim: #b3afb8;
  --footer-copy: #8a8690;

  /* ゴシック体で統一（旧: 明朝体 Shippori Mincho）。見出しはウェイトで強弱をつける */
  --font-display: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --font-body: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;

  --measure: 40rem; /* 本文の最大幅（読みやすい行長） */
  --wide: 64rem;
}

/* ---- リセット・基本 ---------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.9;
  font-feature-settings: "palt" 1;
  -webkit-font-smoothing: antialiased;
  /* 日本語の禁則処理: 句読点・閉じ括弧等が行頭に来ないようにする。
     overflow-wrapは初期値(normal)のまま保つ。break-word/anywhereにすると
     「最後の手段」として禁則を無視した位置で改行してしまうため使わない。 */
  line-break: strict;
  word-break: normal;
  overflow-wrap: normal;
}

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

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 0.15em; }
a:hover { color: var(--accent-deep); }
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.4;
  letter-spacing: -0.01em;
  margin: 0 0 0.6em;
}


p { margin: 0 0 1.4em; }

ul, ol { padding-left: 1.3em; margin: 0 0 1.4em; }
li { margin-bottom: 0.5em; }

.hidden { display: none !important; }

/* 意味の切れ目で折り返させたい語句の途中改行を防ぐ（禁則処理では制御できないカタカナ複合語などに使用） */
.nowrap { white-space: nowrap; }

.wrap {
  width: 100%;
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0 1.1rem;
}

.measure {
  width: 100%;
  max-width: var(--measure);
  margin: 0 auto;
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}

/* ---- ヘッダー ------------------------------------------------------------ */

.site-header {
  background: var(--paper-raised);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  text-decoration: none;
  color: var(--ink);
}

.brand__mark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  color: var(--ink);
}

.brand__sub {
  font-size: 0.7rem;
  color: var(--ink-faint);
  letter-spacing: 0.02em;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 0.9rem;
  font-size: 0.82rem;
}

.site-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  white-space: nowrap;
  padding: 0.2rem 0;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--accent-deep);
  border-bottom-color: var(--accent);
}

/* ---- アフィリエイト開示バー（ファーストビュー表示） ----------------------- */

.ad-disclosure {
  background: var(--paper-raised);
  color: var(--accent-deep);
  font-size: 0.8rem;
  text-align: center;
  margin: 0;
  padding: 0.55rem 1rem;
  border-bottom: 2px solid var(--accent);
}

/* ---- ヒーロー・記事ヘッダー ------------------------------------------------ */

.article-hero {
  padding: 2.1rem 0 1.4rem;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--accent-deep);
  background: var(--accent-bg);
  border-radius: 999px;
  padding: 0.2rem 0.75rem;
  margin-bottom: 0.9rem;
}

.article-hero h1 {
  font-size: 1.65rem;
  line-height: 1.5;
  margin-bottom: 0.7rem;
}

@media (min-width: 640px) {
  .article-hero h1 { font-size: 2.05rem; }
}

.article-meta {
  font-size: 0.85rem;
  color: var(--ink-faint);
}

.lead {
  font-size: 1.05rem;
  color: var(--ink-soft);
}

/* ---- 目次 ---------------------------------------------------------------- */

.toc {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1.1rem 1.3rem;
  margin: 0 0 2.2rem;
}

.toc__label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  margin: 0 0 0.6em;
  display: flex;
  align-items: center;
  gap: 0.5em;
}

.toc__label::before {
  content: "";
  display: inline-block;
  width: 1.4em;
  height: 2px;
  background: var(--accent);
}

.toc ol {
  margin: 0;
  padding-left: 1.2em;
  font-size: 0.92rem;
}

.toc li { margin-bottom: 0.45em; }

.toc a { color: var(--accent-deep); text-decoration: none; }
.toc a:hover { color: var(--accent); text-decoration: underline; }

/* 結論・診断まわりの要点リスト（記事冒頭のみで使用。本文プローズには使わない） */
.conclusion-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.4em;
  display: grid;
  gap: 0.6rem;
}

.conclusion-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.8rem 1rem;
  margin: 0;
  font-size: 0.96rem;
}

.conclusion-list li::before {
  content: "✓";
  flex-shrink: 0;
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 4px;
  background: var(--accent);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1.3rem;
  text-align: center;
}

/* ---- 本文セクション -------------------------------------------------------- */

.article-body { padding-bottom: 3rem; }

.article-body h2 {
  font-size: 1.32rem;
  margin-top: 2.6em;
  padding-top: 0.7em;
  border-top: 1px solid var(--line);
  position: relative;
}

.article-body h2::before {
  content: "";
  display: block;
  width: 2.1rem;
  height: 3px;
  background: var(--accent);
  margin-bottom: 0.7rem;
}

.article-body h2:first-of-type { margin-top: 0; }

.article-body h3 {
  font-size: 1.08rem;
  margin-top: 1.9em;
}

.article-body strong { color: var(--ink); }

.section-note {
  font-size: 0.88rem;
  color: var(--ink-faint);
  border-left: 3px solid var(--line);
  padding-left: 0.9em;
}

.callout {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: 4px;
  padding: 1.1rem 1.3rem;
  margin: 1.8em 0;
  font-size: 0.98rem;
}

.callout ul, .callout ol { margin-bottom: 0; }
.callout p:last-child { margin-bottom: 0; }

/* ---- 関連記事リンク（本文に埋もれさせない・広告的にしない） -------------------- */

.related-card {
  display: block;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1.1rem 1.3rem;
  margin: 2.2em 0;
  text-decoration: none;
  transition: border-color 0.15s ease;
}

.related-card:hover { border-color: var(--accent); }

.related-card__label {
  display: block;
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  color: var(--ink-faint);
  margin-bottom: 0.4em;
}

.related-card__title {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--accent-deep);
}

.related-card__arrow { color: var(--accent); margin-right: 0.35em; }

/* ---- 比較表 ---------------------------------------------------------------- */

.table-scroll-hint {
  font-size: 0.8rem;
  color: var(--ink-faint);
  margin: 0 0 0.6em;
}

table.compare {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1rem;
  font-size: 0.95rem;
}

table.compare caption {
  text-align: left;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 0.7rem;
  color: var(--ink);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* スマホ：1社=1カードに組み替え */
@media (max-width: 640px) {
  table.compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); margin: -1px; }
  table.compare, table.compare tbody, table.compare tr, table.compare th, table.compare td {
    display: block;
    width: 100%;
  }
  table.compare tr {
    background: var(--paper-raised);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 0.9rem 1.1rem;
    margin-bottom: 0.9rem;
  }
  table.compare th[scope="row"] {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--line-soft);
    padding: 0 0 0.55rem;
    margin-bottom: 0.55rem;
    text-align: left;
  }
  table.compare td {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    padding: 0.32rem 0;
    border: none;
    text-align: right;
  }
  table.compare td::before {
    content: attr(data-label);
    font-size: 0.82rem;
    color: var(--ink-faint);
    text-align: left;
    flex-shrink: 0;
  }
}

/* PC・タブレット：通常の表 */
@media (min-width: 641px) {
  .table-scroll-hint { display: none; }
  table.compare th, table.compare td {
    border: 1px solid var(--line);
    padding: 0.7rem 0.9rem;
    text-align: left;
    vertical-align: top;
  }
  table.compare thead th {
    background: var(--panel-bg);
    color: var(--accent-deep);
    font-weight: 700;
    border-bottom: 2px solid var(--accent);
  }
  table.compare th[scope="row"] {
    font-family: var(--font-display);
    font-weight: 700;
    background: var(--paper-raised);
  }
  table.compare tbody tr:nth-child(even) td:not([scope]) { background: var(--panel-bg); }
}

.value-num { font-variant-numeric: tabular-nums; }

.tag-unconfirmed {
  display: inline-block;
  font-size: 0.82rem;
  line-height: 1.4;
  padding: 0.1em 0.65em;
  border-radius: 999px;
  background: var(--flag-bg);
  color: var(--flag);
  border: 1px solid var(--flag-line);
  white-space: nowrap;
}

/* ---- 段組テーブル以外の小見出しリスト（表B/表C見出し等） ----------------------- */

.figure-caption {
  font-size: 0.85rem;
  color: var(--ink-faint);
  margin: 0.5em 0 1.3em;
}

/* ---- フッター ------------------------------------------------------------ */

.site-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  margin-top: 3rem;
  padding: 2.2rem 0 2rem;
  font-size: 0.85rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.3rem;
  margin-bottom: 1.4rem;
}

.footer-nav a {
  color: var(--footer-link);
  text-decoration: none;
}

.footer-nav a:hover { color: #ffffff; text-decoration: underline; }

.footer-disclaimer {
  color: var(--footer-dim);
  line-height: 1.8;
  max-width: 42rem;
  margin-bottom: 1.2rem;
}

.footer-copy { color: var(--footer-copy); margin: 0; }

/* ---- トップページ専用 ------------------------------------------------------ */

.home-hero {
  padding: 1.8rem 0 1.6rem;
  border-bottom: 1px solid var(--line);
}

.home-hero__eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent-deep);
  background: var(--accent-bg);
  border-radius: 999px;
  padding: 0.25rem 0.8rem;
  margin-bottom: 0.9rem;
}

.home-hero h1 {
  font-size: 1.6rem;
  max-width: 30ch;
  text-align: center;
}

@media (min-width: 640px) {
  .home-hero h1 { font-size: 2.2rem; }
}

.home-hero p {
  font-size: 0.98rem;
  color: var(--ink-soft);
  max-width: 34em;
}

.home-hero p strong { color: var(--accent-deep); }

/* ヒーロー直下の特徴3点（チェックマーク付き横並び帯） */
.feature-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.6rem;
  margin-top: 1.2rem;
}

@media (min-width: 560px) {
  .feature-row { grid-template-columns: repeat(3, 1fr); }
}

.feature-row__item {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.75rem 0.9rem;
}

.feature-row__check {
  flex-shrink: 0;
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 4px;
  background: var(--accent);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 900;
  line-height: 1.3rem;
  text-align: center;
}

.feature-row__text {
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--ink);
}

.home-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding-bottom: 1rem;
}

.home-cards--secondary {
  padding-bottom: 3rem;
}

@media (min-width: 640px) {
  .home-cards--secondary { grid-template-columns: repeat(2, 1fr); }
}

.home-card {
  display: block;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.4rem 1.3rem;
  text-decoration: none;
  color: var(--ink);
}

.home-card:hover { border-color: var(--accent); }

.home-card__num {
  font-family: var(--font-display);
  font-size: 0.8rem;
  color: var(--accent);
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 0.5em;
}

.home-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.5;
  display: block;
  margin-bottom: 0.5em;
}

.home-card__desc {
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.7;
}

/* 中心記事（hikaku.html）を明確に目立たせるカード */
.home-card--featured {
  border: 1px solid var(--line);
  border-left-width: 6px;
  border-left-color: var(--accent);
  background: var(--paper-raised);
  padding: 1.8rem 1.6rem;
  margin-bottom: 1.1rem;
}

.home-card--featured .home-card__num {
  background: var(--accent);
  color: var(--paper-raised);
  display: inline-block;
  padding: 0.2em 0.7em;
  border-radius: 999px;
  font-size: 0.75rem;
}

.home-card--featured .home-card__title {
  font-size: 1.4rem;
  color: var(--accent-deep);
}

@media (min-width: 640px) {
  .home-card--featured .home-card__title { font-size: 1.65rem; }
}

.home-card--featured .home-card__desc {
  font-size: 0.98rem;
  color: var(--ink);
}

.home-card--featured:hover { border-color: var(--accent-deep); }

/* ---- 診断パネル（shindan.html 埋め込み。DMM「お悩みから探す」型の囲みパネル） ---- */
/* アイコンは付けない: 選択肢が抽象的な文章のため、既製アイコンは意味を薄める判断 */

.shindan-widget {
  background: var(--panel-bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.5rem 1.3rem;
  margin: 0 0 2rem;
  box-shadow: 0 10px 28px -12px rgba(156, 47, 88, 0.35);
}

@media (min-width: 640px) {
  .shindan-widget { padding: 2rem 2rem; }
}

.shindan-widget h2 {
  font-size: 1.5rem;
  color: var(--accent-deep);
  margin: 0 0 0.4em;
  padding-top: 0;
  border-top: none;
}

.shindan-widget h2::before { content: none; }

.shindan-widget .lead {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-bottom: 1.3em;
}

.shindan-widget .step {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.2rem 1.3rem 1.4rem;
}

.shindan-widget .step + .step {
  margin-top: 2.8rem;
  position: relative;
}

.shindan-widget .step + .step::before {
  content: "↓";
  position: absolute;
  top: -1.9rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
}

.shindan-widget .step__head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 1em;
}

.shindan-widget .step__num {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.05rem;
}

.shindan-widget .q {
  font-weight: 900;
  font-size: 1.02rem;
  margin: 0;
}

.shindan-widget .options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.6rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

@media (min-width: 560px) {
  .shindan-widget .options { grid-template-columns: repeat(2, 1fr); }
}

.shindan-widget .options button {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.5;
  text-align: left;
  padding: 0.85rem 1rem;
  border: 2px solid var(--line);
  border-radius: 8px;
  background: var(--paper-raised);
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.12s ease, background 0.12s ease, color 0.12s ease;
}

.shindan-widget .options button:hover {
  border-color: var(--accent);
  background: var(--accent-bg);
}

.shindan-widget .options button.selected {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.shindan-widget .label {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 900;
  color: var(--ink);
  margin: 0;
}

.shindan-widget .selected-fear {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--accent-deep);
  background: var(--accent-bg);
  border-radius: 6px;
  padding: 0.55rem 0.85rem;
  margin: 0 0 1em;
}

.shindan-widget .checkpoint-answer {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--ink);
  background: none;
  border-left: 6px solid var(--accent);
  text-decoration: none;
  padding: 0 0 0 1rem;
  margin: 0 0 0.9em;
}

.shindan-widget .checkpoint-answer__highlight {
  color: var(--accent);
}

.shindan-widget .checkpoint {
  background: var(--paper-raised);
  border-left: 4px solid var(--accent);
  border-radius: 6px;
  padding: 0.9rem 1.1rem;
  font-size: 0.93rem;
  line-height: 1.7;
  margin: 0 0 1.3em;
}

.shindan-widget .checkpoint.checkpoint--no-line {
  border-left: none;
}

.shindan-widget .result-card {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1rem 1.2rem;
  margin-bottom: 0.9rem;
}

.shindan-widget .result-card h3 {
  font-size: 1.02rem;
  display: flex;
  align-items: center;
  gap: 0.5em;
  margin-bottom: 0.45em;
}

.shindan-widget .result-card .tag {
  font-size: 0.72rem;
  font-weight: 700;
  background: var(--accent-bg);
  color: var(--accent-deep);
  padding: 0.15em 0.65em;
  border-radius: 999px;
}

.shindan-widget .result-card p {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-bottom: 0.8em;
}

.shindan-widget .cta {
  display: inline-block;
  font-size: 0.87rem;
  font-weight: 700;
  color: var(--accent-deep);
  text-decoration: none;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 0.1em;
}

.shindan-widget .note {
  font-size: 0.8rem;
  color: var(--ink-faint);
  line-height: 1.8;
  margin: 1rem 0 1.2rem;
}

.shindan-widget .reset {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.87rem;
  padding: 0.6rem 1.3rem;
  border-radius: 999px;
  border: 2px solid var(--ink);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.shindan-widget .reset:hover {
  background: var(--ink);
  color: var(--paper-raised);
}

/* ---- about ページ ---------------------------------------------------------- */

.about-list {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1.3rem 1.5rem;
}

.about-list li { margin-bottom: 0.9em; }
.about-list li:last-child { margin-bottom: 0; }
