/* ==========================================================================
   GolfMeet — Common Site CSS (NAV / FOOTER / page typography)
   ※ LP（/）は独自の hero/section CSS を持つので、これを読み込まない。
   ========================================================================== */

:root {
  --black: #0d1411;
  --green-deep: #2c4a3e;
  --green-main: #3d7a5f;
  --green-soft: #5a9a7a;
  --green-pale: #eef5f0;
  --gold: #b8963e;
  --gold-light: #d4b462;
  --cream: #fdfcf8;
  --bg: #f7faf8;
  --text: #1a2a22;
  --text-mid: #5a6660;
  --text-light: #8a9690;
  --border: #d8ddd9;
  --border-light: #e8ece9;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--text);
  font-family: 'Noto Sans JP', sans-serif; font-size: 15px; line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }

/* NAV */
nav.site-nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 20px;
  background: rgba(253,252,248,0.95); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
}
.site-nav .logo {
  font-family: 'Barlow Condensed', sans-serif; font-size: 24px; font-weight: 900;
  letter-spacing: 4px; color: var(--green-deep);
}
.site-nav .logo span { color: var(--gold); }
.site-nav .nav-right { display: flex; gap: 6px; align-items: center; }
.site-nav .nav-link {
  padding: 8px 12px; color: var(--text-mid);
  font-family: 'Barlow Condensed', sans-serif; font-size: 13px; font-weight: 700;
  letter-spacing: 2px;
}
.site-nav .nav-link:hover { color: var(--green-deep); }
.site-nav .nav-cta {
  padding: 9px 18px; background: var(--green-deep); color: var(--cream);
  font-family: 'Barlow Condensed', sans-serif; font-size: 13px; font-weight: 700;
  letter-spacing: 2px; border-radius: 4px;
  transition: background .15s;
}
.site-nav .nav-cta:hover { background: var(--green-main); }
@media (max-width: 600px) {
  .site-nav .nav-link { display: none; }
  .site-nav .nav-cta { padding: 8px 14px; font-size: 12px; }
}

/* PAGE HEADER */
.page-head {
  padding: 56px 20px 36px;
  text-align: center;
  background: linear-gradient(180deg, var(--cream) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border-light);
}
.page-head .crumbs {
  display: flex; gap: 8px; justify-content: center;
  font-size: 12px; color: var(--text-light); letter-spacing: 0.5px; margin-bottom: 16px;
}
.page-head .crumbs a { color: var(--text-mid); border-bottom: 1px solid transparent; }
.page-head .crumbs a:hover { border-bottom-color: var(--gold); }
.page-head .crumbs span { color: var(--text-light); }
.page-head-eyebrow {
  display: inline-block;
  font-family: 'Barlow Condensed', sans-serif; font-size: 11px; font-weight: 700;
  letter-spacing: 4px; color: var(--gold);
  padding: 5px 12px; border: 1px solid rgba(184,150,62,0.3); border-radius: 100px;
  margin-bottom: 14px;
}
.page-head h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(36px, 8vw, 64px); font-weight: 900; line-height: 1.05;
  letter-spacing: -1px; color: var(--green-deep); margin-bottom: 8px;
}
.page-head h1 em { font-style: normal; color: var(--gold); }
.page-head .h1-jp {
  font-size: clamp(16px, 3vw, 20px); font-weight: 900; color: var(--text);
  margin-bottom: 12px;
}
.page-head .lead {
  font-size: 14px; color: var(--text-mid); line-height: 1.95;
  max-width: 620px; margin: 0 auto;
}

/* ARTICLE / CONTENT */
.page-body {
  max-width: 760px; margin: 0 auto; padding: 56px 20px 64px;
}
.page-body section + section { margin-top: 44px; }
.page-body h2 {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 22px; font-weight: 900; color: var(--green-deep);
  padding-bottom: 8px; border-bottom: 2px solid var(--gold);
  margin-bottom: 20px; letter-spacing: 0.3px;
}
.page-body h2 .num {
  font-family: 'Barlow Condensed', sans-serif;
  display: inline-block; margin-right: 12px; color: var(--gold);
  font-size: 18px; letter-spacing: 2px;
}
.page-body h3 {
  font-size: 17px; font-weight: 900; color: var(--text);
  margin: 28px 0 10px; padding-left: 10px; border-left: 3px solid var(--green-main);
}
.page-body p { font-size: 14.5px; line-height: 2; color: var(--text); margin-bottom: 14px; }
.page-body p + h3 { margin-top: 28px; }
.page-body strong { font-weight: 700; color: var(--green-deep); }
.page-body ul, .page-body ol {
  font-size: 14.5px; line-height: 2; color: var(--text);
  padding-left: 22px; margin-bottom: 14px;
}
.page-body li { margin-bottom: 4px; }
.page-body a { color: var(--green-main); border-bottom: 1px solid rgba(61,122,95,0.3); }
.page-body a:hover { color: var(--gold); border-bottom-color: var(--gold); }
.page-body blockquote {
  border-left: 3px solid var(--gold); padding: 10px 18px; margin: 16px 0;
  background: var(--cream); color: var(--text-mid); font-size: 13.5px;
}
.page-body table {
  width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 13.5px;
}
.page-body th, .page-body td {
  padding: 10px 12px; border: 1px solid var(--border-light); text-align: left;
}
.page-body th { background: var(--cream); font-weight: 700; color: var(--green-deep); }
.page-body .note {
  background: var(--green-pale); border-left: 3px solid var(--green-main);
  padding: 12px 16px; margin: 16px 0; font-size: 13px; color: var(--text-mid);
}
.page-body .updated {
  font-size: 12px; color: var(--text-light); letter-spacing: 0.5px;
  margin-top: 32px; padding-top: 16px; border-top: 1px solid var(--border-light);
}

/* FAQ ACCORDION */
.faq-list { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
.faq-item {
  background: #fff; border: 1px solid var(--border-light); border-radius: 8px;
  overflow: hidden;
}
.faq-q {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 16px 18px; cursor: pointer;
  font-size: 15px; font-weight: 700; color: var(--green-deep); line-height: 1.5;
}
.faq-q::after {
  content: "+"; font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px; color: var(--gold); flex-shrink: 0;
  transition: transform .25s;
}
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height .35s ease;
  padding: 0 18px;
}
.faq-item.open .faq-a { max-height: 600px; padding: 4px 18px 18px; }
.faq-a p { font-size: 14px; line-height: 1.95; color: var(--text-mid); }
.faq-a p + p { margin-top: 8px; }

/* CTA mini-block (for tool reference inside subpages) */
.cta-block {
  background: var(--green-deep); color: var(--cream);
  padding: 28px 22px; border-radius: 10px; text-align: center;
  margin: 36px 0;
}
.cta-block h3 {
  font-family: 'Barlow Condensed', sans-serif; font-size: 24px; font-weight: 900;
  letter-spacing: 2px; color: var(--cream); margin-bottom: 6px; padding: 0; border: 0;
}
.cta-block .cta-jp { font-size: 14px; color: rgba(253,252,248,0.75); margin-bottom: 16px; }
.cta-block a {
  display: inline-block; padding: 12px 26px;
  background: var(--gold); color: var(--green-deep);
  font-family: 'Barlow Condensed', sans-serif; font-size: 14px; font-weight: 700;
  letter-spacing: 2px; border-radius: 4px; border: 0;
  transition: background .15s;
}
.cta-block a:hover { background: var(--gold-light); border-color: transparent; }

/* ==========================================================================
   COLUMN INDEX (記事一覧)
   ========================================================================== */
.col-filter {
  display: flex; gap: 8px; flex-wrap: wrap; justify-content: center;
  margin-bottom: 32px;
}
.col-filter-pill {
  padding: 7px 16px; border-radius: 100px;
  background: #fff; border: 1px solid var(--border);
  font-family: 'Barlow Condensed', sans-serif; font-size: 12px; font-weight: 700;
  letter-spacing: 1.5px; color: var(--text-mid); cursor: pointer;
  transition: all .15s;
}
.col-filter-pill:hover { border-color: var(--gold); color: var(--green-deep); }
.col-filter-pill.on { background: var(--green-deep); color: var(--cream); border-color: var(--green-deep); }

.col-grid {
  display: grid; gap: 16px; grid-template-columns: 1fr;
  max-width: 1080px; margin: 0 auto;
}
.col-card {
  background: #fff; border: 1px solid var(--border-light); border-radius: 10px;
  padding: 22px; text-decoration: none; color: inherit;
  display: flex; flex-direction: column; gap: 10px;
  transition: transform .15s, box-shadow .15s, border-color .15s;
  border: 0; border: 1px solid var(--border-light);
}
.col-card:hover { transform: translateY(-3px); box-shadow: 0 6px 18px rgba(0,0,0,0.06); border-color: var(--gold); }
.col-card-tier {
  font-family: 'Barlow Condensed', sans-serif; font-size: 11px; font-weight: 700;
  letter-spacing: 2px; color: var(--gold);
}
.col-card-title {
  font-size: 16px; font-weight: 900; color: var(--green-deep); line-height: 1.5;
}
.col-card-excerpt { font-size: 13px; color: var(--text-mid); line-height: 1.7; }
.col-card-meta {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: auto; padding-top: 10px; border-top: 1px solid var(--border-light);
  font-size: 11px; color: var(--text-light); letter-spacing: 0.5px;
}
.col-card.coming { opacity: 0.55; pointer-events: none; }
.col-card.coming .col-card-meta::after { content: "COMING SOON"; color: var(--gold); font-weight: 700; }
.col-card .new-badge {
  display: inline-block; padding: 2px 8px; background: var(--gold); color: #fff;
  font-family: 'Barlow Condensed', sans-serif; font-size: 10px; font-weight: 900;
  letter-spacing: 1.5px; border-radius: 3px;
}
@media (min-width: 600px) { .col-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .col-grid { grid-template-columns: repeat(3, 1fr); } }

/* ==========================================================================
   ARTICLE (個別記事)
   ========================================================================== */
.article-wrap { max-width: 760px; margin: 0 auto; padding: 32px 20px 56px; }

.article-meta {
  font-family: 'Barlow Condensed', sans-serif; font-size: 11px; font-weight: 700;
  letter-spacing: 3px; color: var(--gold); margin-bottom: 8px;
}
.article-h1 {
  font-size: clamp(24px, 5vw, 34px); font-weight: 900; color: var(--green-deep);
  line-height: 1.4; margin-bottom: 14px; letter-spacing: -0.3px;
}
.article-lead {
  font-size: 15px; line-height: 1.95; color: var(--text-mid);
  padding: 14px 16px; background: var(--cream); border-left: 3px solid var(--gold);
  margin-bottom: 28px;
}
.article-info {
  display: flex; gap: 14px; font-size: 11px; color: var(--text-light);
  letter-spacing: 0.5px; margin-bottom: 24px;
}
.article-info span { display: flex; gap: 4px; align-items: center; }

/* RELATED top box */
.related-top {
  padding: 14px 16px; background: var(--green-pale);
  border: 1px solid rgba(61,122,95,0.2); border-radius: 8px;
  font-size: 13px; color: var(--green-deep); margin-bottom: 28px;
}
.related-top b { font-weight: 700; margin-right: 6px; }
.related-top a {
  color: var(--green-deep); border-bottom: 1px solid rgba(61,122,95,0.4);
  margin-right: 8px;
}
.related-top a:hover { color: var(--gold); border-bottom-color: var(--gold); }

/* TOC */
.toc {
  background: #fff; border: 1px solid var(--border-light); border-radius: 8px;
  padding: 18px 22px; margin-bottom: 32px;
}
.toc-title {
  font-size: 13px; font-weight: 900; color: var(--green-deep); letter-spacing: 1px;
  margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--border-light);
}
.toc ol { list-style: none; padding: 0; margin: 0; }
.toc li { padding: 6px 0; }
.toc a {
  display: flex; gap: 12px; font-size: 13.5px; color: var(--text);
  border: 0; line-height: 1.6;
}
.toc a:hover { color: var(--gold); }
.toc-num {
  font-family: 'Barlow Condensed', sans-serif; font-size: 14px; font-weight: 900;
  color: var(--gold); flex-shrink: 0; min-width: 22px;
}

/* Article tables */
.article-body table {
  width: 100%; border-collapse: separate; border-spacing: 0;
  margin: 24px 0; font-size: 13.5px; line-height: 1.7;
  background: #fff; border: 1px solid var(--border-light); border-radius: 10px;
  overflow: hidden;
}
.article-body thead th {
  background: var(--green-deep); color: var(--cream);
  font-weight: 700; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase;
  text-align: left; padding: 12px 14px; border-bottom: 2px solid var(--gold);
}
.article-body tbody td, .article-body tbody th {
  padding: 12px 14px; border-bottom: 1px solid var(--border-light);
  vertical-align: middle;
}
.article-body tbody th {
  background: var(--cream); color: var(--green-deep); font-weight: 700;
  white-space: nowrap;
}
.article-body tbody tr:last-child td,
.article-body tbody tr:last-child th { border-bottom: 0; }
.article-body tbody tr:hover { background: rgba(184,150,62,0.04); }

/* Color-coded symbols inside tables */
.article-body .sym-good { color: #2c7a4f; font-weight: 900; margin-right: 6px; }
.article-body .sym-ok { color: var(--gold); font-weight: 900; margin-right: 6px; }
.article-body .sym-warn { color: #c89030; font-weight: 900; margin-right: 6px; }
.article-body .sym-bad { color: #c05050; font-weight: 900; margin-right: 6px; }

/* SP: テーブル横スクロール対応（はみ出し・縦書き化を防止） */
@media (max-width: 768px) {
  .article-body table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
    max-width: 100%;
  }
  .article-body thead th,
  .article-body tbody td,
  .article-body tbody th {
    white-space: nowrap;
    padding: 10px 12px;
    font-size: 12.5px;
  }
  /* スクロール可能であることを視覚的にヒント */
  .article-body table::-webkit-scrollbar { height: 6px; }
  .article-body table::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }
}

/* Author Box（簡略版・全記事末尾用） */
.author-box-mini {
  display: flex; gap: 16px; align-items: center;
  background: var(--cream); border: 1px solid #e8e0c8; border-radius: 10px;
  padding: 16px 18px; margin: 48px 0 16px;
  flex-wrap: wrap;
}
.author-box-mini .ab-photo { flex: 0 0 64px; width: 64px; height: 64px; border-radius: 50%; overflow: hidden; box-shadow: 0 2px 8px rgba(44,74,62,0.12); }
.author-box-mini .ab-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.author-box-mini .ab-text { flex: 1; min-width: 200px; font-size: 13px; color: var(--text-mid); line-height: 1.7; }
.author-box-mini .ab-label { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 10px; letter-spacing: 3px; color: var(--gold); margin-bottom: 2px; }
.author-box-mini .ab-name { font-weight: 900; font-size: 15px; color: var(--green-deep); margin-bottom: 4px; }
.author-box-mini .ab-name .ab-stats { font-weight: 400; font-size: 12px; color: var(--text-mid); margin-left: 8px; }
.author-box-mini .ab-bio { font-size: 12.5px; }
.author-box-mini .ab-bio a { color: var(--gold); font-weight: 700; text-decoration: none; }
.author-box-mini .ab-bio a:hover { text-decoration: underline; }
@media (max-width: 480px) {
  .author-box-mini { gap: 12px; padding: 14px; }
  .author-box-mini .ab-photo { flex: 0 0 56px; width: 56px; height: 56px; }
  .author-box-mini .ab-text { font-size: 12.5px; }
}

/* H2 with section number */
.article-body h2 {
  display: flex; align-items: baseline; gap: 12px; margin: 44px 0 16px;
  padding-bottom: 10px; border-bottom: 2px solid var(--gold);
  font-size: 22px; font-weight: 900; color: var(--green-deep);
}
.article-body h2 .num {
  font-family: 'Barlow Condensed', sans-serif; font-size: 16px; font-weight: 900;
  color: var(--gold); letter-spacing: 2px; flex-shrink: 0;
}

/* Affiliate block (PR products) */
.affil-block {
  margin: 28px 0; padding: 18px; border: 1px solid var(--border);
  border-radius: 10px; background: var(--cream);
}
.affil-head {
  display: flex; gap: 10px; align-items: center; margin-bottom: 14px;
  padding-bottom: 10px; border-bottom: 1px solid var(--border-light);
}
.affil-pr {
  display: inline-block; padding: 2px 8px; background: var(--gold); color: #fff;
  font-family: 'Barlow Condensed', sans-serif; font-size: 10px; font-weight: 900;
  letter-spacing: 1.5px; border-radius: 3px;
}
.affil-title-head { font-size: 14px; font-weight: 900; color: var(--green-deep); }
.affil-grid { display: grid; gap: 12px; grid-template-columns: 1fr; }
.affil-card {
  display: grid; grid-template-columns: 96px 1fr; gap: 12px;
  padding: 12px; background: #fff; border: 1px solid var(--border-light);
  border-radius: 8px; text-decoration: none; color: inherit; border: 1px solid var(--border-light);
  transition: border-color .15s, transform .15s;
  position: relative; overflow: hidden;
}
.affil-card:hover { border-color: var(--gold); transform: translateY(-2px); }

/* Text-only variant (for Rakuten search-result links, no specific product image) */
.affil-card.text-only {
  grid-template-columns: 1fr;
  gap: 6px; padding: 16px 16px;
  background: linear-gradient(135deg, #fff 0%, var(--cream) 100%);
}
.affil-card.text-only::before {
  content: ""; position: absolute; top: 12px; right: 12px;
  width: 28px; height: 28px;
  background: rgba(184,150,62,0.12); border-radius: 50%;
  pointer-events: none;
}
.affil-card.text-only::after {
  content: "🛒"; position: absolute; top: 16px; right: 18px; font-size: 14px;
  pointer-events: none; opacity: 0.55;
}
.affil-card.text-only .affil-name { font-size: 13.5px; padding-right: 36px; }

.affil-img-wrap {
  width: 96px; height: 96px; border-radius: 6px; overflow: hidden;
  background: var(--bg); display: flex; align-items: center; justify-content: center;
}
.affil-img { width: 100%; height: 100%; object-fit: cover; }
.affil-img-placeholder { font-size: 11px; color: var(--text-light); padding: 8px; text-align: center; }
.affil-info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.affil-name { font-size: 13px; font-weight: 700; color: var(--text); line-height: 1.5; }
.affil-meta { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.affil-price {
  font-family: 'Barlow Condensed', sans-serif; font-size: 18px; font-weight: 900;
  color: var(--green-deep);
}
.affil-shipping { font-size: 11px; color: var(--text-light); }
.affil-rate { font-size: 11px; color: var(--gold); }
.affil-cta {
  display: inline-block; margin-top: auto; align-self: flex-start;
  padding: 4px 12px; background: var(--green-deep); color: var(--cream);
  font-family: 'Barlow Condensed', sans-serif; font-size: 11px; font-weight: 700;
  letter-spacing: 1.5px; border-radius: 3px;
}
.affil-note { font-size: 11px; color: var(--text-light); margin-top: 10px; text-align: right; }
@media (min-width: 600px) { .affil-grid { grid-template-columns: repeat(2, 1fr); } }

/* Article CTA box (inline tool reference) */
.cta-box {
  margin: 36px 0; padding: 24px 22px;
  background: linear-gradient(135deg, var(--green-deep), var(--green-main));
  color: var(--cream); border-radius: 10px; text-align: center;
  position: relative; overflow: hidden;
}
.cta-box::before {
  content: ""; position: absolute; inset: 0; opacity: 0.1; pointer-events: none;
  background: radial-gradient(circle at 80% 20%, var(--gold-light), transparent 50%);
}
.cta-box h3 {
  font-family: 'Barlow Condensed', sans-serif; font-size: 22px; font-weight: 900;
  letter-spacing: 2px; color: var(--cream); margin-bottom: 4px;
  padding: 0; border: 0; position: relative; z-index: 1;
}
.cta-box p { color: rgba(253,252,248,0.85); font-size: 13px; margin-bottom: 16px; position: relative; z-index: 1; }
.cta-box a {
  display: inline-block; padding: 10px 22px; background: var(--gold); color: var(--green-deep);
  font-family: 'Barlow Condensed', sans-serif; font-size: 13px; font-weight: 700;
  letter-spacing: 2px; border-radius: 4px; border: 0;
  margin: 0 4px; position: relative; z-index: 1;
}
.cta-box a:hover { background: var(--gold-light); }
.cta-box a.secondary { background: transparent; color: var(--cream); border: 1px solid rgba(253,252,248,0.3); }
.cta-box a.secondary:hover { background: rgba(253,252,248,0.05); border-color: var(--gold); }

/* Related at bottom */
.related {
  margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--border-light);
}
.related-title { font-size: 14px; font-weight: 900; color: var(--green-deep); margin-bottom: 16px; letter-spacing: 0.5px; }
.related-grid { display: grid; gap: 10px; grid-template-columns: 1fr; }
.related-card {
  padding: 14px 16px; background: #fff; border: 1px solid var(--border-light); border-radius: 8px;
  text-decoration: none; color: inherit; border: 1px solid var(--border-light);
  transition: border-color .15s;
}
.related-card:hover { border-color: var(--gold); }
.rc-num { font-family: 'Barlow Condensed', sans-serif; font-size: 11px; font-weight: 700; color: var(--gold); letter-spacing: 1.5px; margin-bottom: 4px; }
.rc-title { font-size: 13.5px; font-weight: 700; color: var(--green-deep); line-height: 1.5; }
@media (min-width: 600px) { .related-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .related-grid { grid-template-columns: repeat(3, 1fr); } }

/* FOOTER */
footer.site-footer {
  background: var(--cream); padding: 38px 20px 28px;
  border-top: 1px solid var(--border-light);
  display: flex; flex-direction: column; gap: 16px; align-items: center; text-align: center;
}
.site-footer .footer-logo {
  font-family: 'Barlow Condensed', sans-serif; font-size: 22px; font-weight: 900;
  letter-spacing: 4px; color: var(--green-deep);
}
.site-footer .footer-logo span { color: var(--gold); }
.site-footer .footer-links { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.site-footer .footer-links a { font-size: 12px; color: var(--text-mid); border: 0; }
.site-footer .footer-links a:hover { color: var(--green-deep); }
.site-footer .footer-copy { font-size: 11px; color: var(--text-light); letter-spacing: 1px; }
@media (min-width: 768px) {
  footer.site-footer { flex-direction: row; justify-content: space-between; padding: 38px 40px 28px; }
}
