@charset "utf-8";
/* ================================================================
   /golf/guide/ 記事用スタイル
   読者想定: 30～60代・スマートフォン中心
   方針: 文字を大きく、行間を広く、1行を短く。装飾は種類を絞って一貫させる
   ================================================================ */

:root {
  /* 文字 */
  --fs-base: 17px;
  --lh: 1.9;
  --ls: .02em;

  /* カラム幅（本文は1行35～40字に収める） */
  --col-text: min(720px, 92vw);
  --col-wide: min(960px, 92vw);

  /* 色 */
  --fg: #1c1f1d;
  --muted: #5a635e;
  --accent: #0b8f5a;
  --accent-dark: #076f45;
  --accent-weak: #e7f4ee;
  --border: #dfe4e0;
  --bg: #ffffff;
  --bg-soft: #f6f8f6;
  --cta: #e2661f;
  --cta-dark: #c4520f;
  --alert: #c0392b;
  --alert-weak: #fdf0ee;
}

html {
  color-scheme: light;               /* OSダークモードでの意図しない反転を防ぐ */
  font-size: var(--fs-base);         /* remの基準をここに置く。見出し・表・注記が本文サイズに追従する */
  -webkit-text-size-adjust: 100%;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: Meiryo, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", YuGothic, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1rem;
  line-height: var(--lh);
  letter-spacing: var(--ls);
}

@media (min-width: 768px) {
  :root { --fs-base: 18px; }
}

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

a {
  color: var(--accent-dark);
  text-decoration: underline;        /* 色だけに頼らない */
  text-underline-offset: .2em;
}
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: #fff; color: var(--fg);
  padding: 10px 16px; border: 2px solid var(--accent); border-radius: 6px;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.wrap { width: var(--col-text); margin-inline: auto; }
.wrap-wide { width: var(--col-wide); margin-inline: auto; }

/* ---------- ヘッダー ---------- */
.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  padding: 12px 0;
}
.site-header__inner {
  width: var(--col-wide); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.site-header__name {
  margin: 0;
  font-size: .95rem; font-weight: 700; line-height: 1.4;
}
.site-header__name a { color: var(--fg); text-decoration: none; }
.pr-badge {
  flex: none;
  border: 1px solid var(--border); border-radius: 4px;
  padding: 3px 10px;
  color: var(--muted); font-size: .75rem; letter-spacing: .08em;
}

/* ---------- パンくず ---------- */
.breadcrumb {
  width: var(--col-wide); margin: 14px auto 0;
  color: var(--muted); font-size: .8rem; line-height: 1.7;
}
.breadcrumb ol { list-style: none; margin: 0; padding: 0; }
.breadcrumb li { display: inline; }
.breadcrumb li + li::before { content: "›"; margin: 0 .5em; }

/* ---------- 記事ヘッダー ---------- */
.article-head { margin: 22px 0 0; }
.article-head h1 {
  margin: 0 0 16px;
  font-size: 1.62rem; line-height: 1.5; letter-spacing: .01em;
}
@media (min-width: 768px) {
  .article-head h1 { font-size: 1.9rem; }
}
.article-meta {
  margin: 0 0 22px;
  color: var(--muted); font-size: .82rem; line-height: 1.7;
}
.article-meta .pr-note { display: block; }
.eyecatch { margin: 0 0 26px; }
/* 画像は3:2（1536x1024）で生成しているため、表示は中央を1200:630で切り出す。
   生成プロンプトで「中央の1200x630を切り出しても主題が欠けない構図」を指定済み。
   画像ファイル自体を1200x630にトリミングした場合は、この2行を消してよい。 */
.eyecatch img {
  width: 100%; height: auto;
  aspect-ratio: 1200 / 630;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
}

/* ---------- 本文 ---------- */
.content p { margin: 0 0 1.25em; }
.content strong { font-weight: 700; background: linear-gradient(transparent 62%, #ffeaa7 62%); }

.content h2 {
  margin: 2.6em 0 .9em;
  padding: .1em 0 .1em .7em;
  border-left: 5px solid var(--accent);
  font-size: 1.32rem; line-height: 1.55;
}
.content h3 {
  margin: 2.1em 0 .8em;
  padding-bottom: .35em;
  border-bottom: 1px dashed var(--border);
  font-size: 1.1rem; line-height: 1.6;
}
@media (min-width: 768px) {
  .content h2 { font-size: 1.45rem; }
  .content h3 { font-size: 1.15rem; }
}

.content ul, .content ol { margin: 0 0 1.5em; padding-left: 1.4em; }
.content li { margin-bottom: .7em; }
.content .list-head { font-weight: 700; }

.content ol.steps { list-style: none; counter-reset: step; padding-left: 0; }
.content ol.steps > li {
  position: relative;
  margin-bottom: 1em; padding-left: 2.6em;
  counter-increment: step;
}
.content ol.steps > li::before {
  content: counter(step);
  position: absolute; left: 0; top: .25em;
  width: 1.9em; height: 1.9em;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--accent); color: #fff;
  font-size: .85rem; font-weight: 700; line-height: 1;
}

/* ---------- 表 ---------- */
.table-wrap { margin: 0 0 1.6em; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.content table {
  width: 100%; min-width: 480px;
  border-collapse: collapse;
  font-size: .95rem; line-height: 1.7;
}
.content th, .content td {
  padding: 12px 14px;
  border: 1px solid var(--border);
  text-align: left; vertical-align: top;
}
.content thead th, .content tbody th {
  background: var(--accent-weak);
  font-weight: 700; white-space: nowrap;
}
.table-note { margin: -1.2em 0 1.8em; color: var(--muted); font-size: .8rem; line-height: 1.7; }

/* ---------- 装飾ボックス（用途を限定して使う） ---------- */
.info-box, .tip-box, .data-box, .alert-box {
  margin: 0 0 1.6em; padding: 16px 18px;
  border-radius: 8px; font-size: .96rem;
}
.info-box  { background: var(--bg-soft); border: 1px solid var(--border); }
.tip-box   { background: #fff; border: 2px dashed var(--accent); }
.data-box  { background: var(--accent-weak); border: 1px solid #bfe0d0; }
.alert-box { background: var(--alert-weak); border: 1px solid #f0c9c2; }
.info-box p:last-child, .tip-box p:last-child,
.data-box p:last-child, .alert-box p:last-child { margin-bottom: 0; }
.box-head {
  display: block; margin-bottom: .5em;
  font-weight: 700; font-size: .88rem; letter-spacing: .04em;
}
.tip-box   .box-head { color: var(--accent-dark); }
.data-box  .box-head { color: var(--accent-dark); }
.alert-box .box-head { color: var(--alert); }

.quote-box {
  margin: 0 0 1.6em; padding: 14px 18px;
  border-left: 4px solid var(--border); background: var(--bg-soft);
  font-size: .96rem;
}
.quote-box cite { display: block; margin-top: .6em; color: var(--muted); font-size: .82rem; font-style: normal; }

/* ---------- 目次 ---------- */
.toc {
  margin: 0 0 2.4em; padding: 4px 18px;
  border: 1px solid var(--border); border-radius: 8px; background: var(--bg-soft);
}
.toc summary {
  padding: 14px 0; cursor: pointer;
  font-weight: 700; font-size: 1rem;
}
.toc ol { margin: 0 0 14px; padding-left: 1.3em; font-size: .95rem; }
.toc li { margin-bottom: .5em; }
.toc ol ol { margin: .5em 0 0; font-size: .93rem; }
.toc a { color: var(--fg); }

/* ---------- CTA ---------- */
.cta {
  margin: 2.4em 0; padding: 22px 20px;
  border: 2px solid var(--accent); border-radius: 10px;
  background: var(--accent-weak);
  text-align: center;
}
.cta__head { margin: 0 0 .5em; font-size: 1.08rem; font-weight: 700; line-height: 1.6; }
.cta__body { margin: 0 0 1.1em; font-size: .95rem; line-height: 1.8; text-align: left; }
.cta__btn {
  display: block; min-height: 56px;
  padding: 15px 20px;
  border-radius: 8px;
  background: var(--cta); color: #fff;
  font-size: 1.05rem; font-weight: 700; line-height: 1.5;
  text-decoration: none;
}
.cta__btn:hover { background: var(--cta-dark); text-decoration: none; }
.cta__btn small { display: block; margin-top: 4px; font-size: .78rem; font-weight: 400; opacity: .92; }
.cta__note { margin: .9em 0 0; color: var(--muted); font-size: .78rem; line-height: 1.7; text-align: left; }

/* ---------- FAQ ---------- */
.faq { margin-top: 2.6em; }
.faq-item { margin: 0 0 18px; padding: 0 0 18px; border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }
.faq-q {
  margin: 0 0 .6em; padding-left: 1.9em; position: relative;
  font-size: 1.02rem; font-weight: 700; line-height: 1.6;
}
.faq-q::before {
  content: "Q"; position: absolute; left: 0; top: 0;
  width: 1.5em; height: 1.5em; display: grid; place-items: center;
  border-radius: 50%; background: var(--accent); color: #fff;
  font-size: .78rem; line-height: 1;
}
.faq-a { margin: 0; padding-left: 1.9em; font-size: .96rem; }

/* ---------- 関連記事 ---------- */
.related { margin-top: 2.6em; }
.related h2 { font-size: 1.15rem; }
.related-list { list-style: none; margin: 0; padding: 0; }
.related-list > li {
  margin: 0 0 12px; padding: 14px 16px;
  border: 1px solid var(--border); border-radius: 8px; background: var(--bg-soft);
}
.related-list a { display: block; font-weight: 700; font-size: 1rem; line-height: 1.55; }
.related-list span { display: block; margin-top: .35em; color: var(--muted); font-size: .86rem; line-height: 1.75; }

/* ---------- 参照元 ---------- */
.sources { margin-top: 2.6em; font-size: .88rem; }
.sources h2 { font-size: 1.05rem; border-left-width: 4px; }
.sources ul { padding-left: 1.3em; }
.sources li { margin-bottom: .5em; word-break: break-all; }

/* ---------- フッター ---------- */
.site-footer {
  margin-top: 56px; padding: 28px 0 40px;
  border-top: 1px solid var(--border); background: var(--bg-soft);
  color: var(--muted); font-size: .82rem; line-height: 1.9;
}
.site-footer__inner { width: var(--col-wide); margin-inline: auto; }
.site-footer p { margin: 0 0 .9em; }
.site-footer nav a { margin-right: 1.2em; color: var(--muted); }
.site-footer__copy { margin: 1em 0 0; }
