/* ─────────────────────────────────────────────
   スマートスコア バドミントン記事セクション 共通スタイル
   （about.html のデザイントークンを踏襲）
   ───────────────────────────────────────────── */

:root{
  --blue:#6FA8DC; --dart-blue:#407DC5; --sky:#42A5F5;
  --orange:#F5851F; --indigo:#5C6BC0; --teal:#26A69A;
  --vpurple:#AB47BC; --vgreen:#66BB6A;
  --black:#333333; --grey1:#CCCCCC; --grey2:#999999; --grey3:#666666;
}

/* ── リセット ── */
*{box-sizing:border-box;margin:0;padding:0;}
body{
  font-family:'Noto Sans JP','Hiragino Sans',sans-serif;
  color:#333;
  background:#fff;
  line-height:1.9;
}
a{color:var(--dart-blue);text-decoration:none;}
img{max-width:100%;}
.inner{max-width:1060px;margin:0 auto;padding:0 20px;}
.material-icons{vertical-align:middle;}

/* ── ヘッダー（about.html と同一） ── */
.site-header{border-bottom:1px solid #F0F0F0;background:#fff;}
.site-header .inner{display:flex;align-items:center;height:56px;gap:8px;}
.site-header .logo{display:flex;align-items:center;gap:6px;font-weight:800;font-size:18px;color:var(--blue);}
.site-header .logo img{width:22px;height:22px;}
.site-header .spacer{flex:1;}
.nav-link{font-weight:700;font-size:12px;color:var(--grey3);padding:8px 10px;}

/* ── ボタン（about.html と同一） ── */
.btn{display:inline-block;border-radius:14px;padding:14px 28px;font-weight:700;font-size:14px;cursor:pointer;border:none;text-align:center;font-family:inherit;}
.btn.primary{background:var(--blue);color:#fff;}
.btn.outline{background:#fff;color:var(--black);border:1px solid var(--grey1);}
.btn.small{padding:8px 16px;border-radius:10px;font-size:12px;}

/* ── フッター（about.html と同一） ── */
.site-footer{background:#EDF4FB;padding:32px 24px;text-align:center;}
.site-footer .rule{width:48px;height:1px;background:var(--grey1);margin:0 auto 20px;}
.site-footer a{color:var(--grey3);font-size:12px;padding:4px 8px;}
.site-footer .copy{color:var(--grey3);font-size:12px;margin-top:16px;}

/* ── パンくず（about.html と同様） ── */
.crumb{font-size:12px;color:var(--grey3);display:flex;align-items:center;gap:4px;flex-wrap:wrap;}
.crumb a{color:var(--grey3);}
.crumb .sep{color:var(--grey2);font-size:16px;}
.crumb .cur{font-weight:700;color:var(--dart-blue);}

/* ─────────────────────────────────────────────
   記事ページ
   ───────────────────────────────────────────── */
.article-page{
  background:linear-gradient(180deg,#EDF4FB,#FFFFFF 30%);
  padding-bottom:40px;
}
.article-page .crumb{max-width:760px;margin:0 auto;padding:20px 20px 0;}
.article-page article{
  max-width:760px;
  margin:0 auto;
  padding:0 20px;
}
.article-page .cta-band{max-width:720px;margin:4em auto 0;padding:48px 24px;}
.article-page .related{max-width:760px;margin:4em auto 1em;padding:0 20px;}

/* ── 記事ヘッダー ── */
h1{font-size:32px;font-weight:800;line-height:1.4;margin:.4em 0;color:var(--black);}

.article-meta{
  display:flex;align-items:center;flex-wrap:wrap;gap:14px;
  font-size:13px;color:var(--grey2);margin:.6em 0 1em;
}
.article-meta .item{display:flex;align-items:center;gap:4px;}
.article-meta .material-icons{font-size:16px;color:var(--grey2);}

/* ── カテゴリチップ ── */
.cat-chip{
  display:inline-block;border-radius:20px;padding:5px 12px;
  font-weight:700;font-size:12px;line-height:1.2;
}
.cat-chip.compete{background:rgba(245,133,31,.12);color:var(--orange);}
.cat-chip.start{background:rgba(111,168,220,.15);color:var(--dart-blue);}
.cat-chip.gear{background:rgba(92,107,192,.12);color:var(--indigo);}
.cat-chip.improve{background:rgba(38,166,154,.12);color:var(--teal);}
.cat-chip.watch{background:rgba(171,71,188,.12);color:var(--vpurple);}
.cat-chip.operate{background:rgba(255,112,67,.12);color:#E8542E;}
.cat-chip.circle{background:rgba(102,187,106,.15);color:#2E7D32;}

/* ── リード文 ── */
.lead{font-size:16px;color:var(--grey3);margin:1em 0 1.4em;}

/* ── 目次 ── */
.toc{
  background:#fff;border-radius:16px;
  box-shadow:0 6px 18px rgba(0,0,0,.06),0 1px 2px rgba(0,0,0,.04);
  padding:20px 24px;margin:1.4em 0 2em;
}
.toc .toc-title{font-weight:800;font-size:14px;color:var(--black);margin-bottom:10px;display:flex;align-items:center;gap:6px;}
.toc .toc-title .material-icons{font-size:18px;color:var(--blue);}
.toc ol{list-style:none;counter-reset:toc;padding-left:0;}
.toc ol li{counter-increment:toc;margin:.4em 0;padding-left:1.8em;position:relative;font-size:14px;}
.toc ol li::before{content:counter(toc);position:absolute;left:0;top:0;color:var(--blue);font-weight:800;}
.toc a{color:var(--dart-blue);}

/* ── 本文 ── */
.article-page article h2{
  font-size:24px;font-weight:800;margin:2.2em 0 .8em;
  padding-left:14px;border-left:4px solid var(--blue);
  scroll-margin-top:80px;color:var(--black);
}
.article-page article h3{font-size:18px;font-weight:700;margin:1.6em 0 .6em;scroll-margin-top:80px;color:var(--black);}
.article-page article p{margin:.9em 0;}
.article-page article ul,
.article-page article ol{padding-left:1.4em;margin:.9em 0;}
.article-page article li{margin:.35em 0;}

/* ── テーブル ── */
.table-wrap{overflow-x:auto;}
.article-page article table{width:100%;border-collapse:collapse;font-size:14px;margin:1em 0;}
.article-page article th{background:rgba(111,168,220,.12);font-weight:700;}
.article-page article th,
.article-page article td{border:1px solid #E3EDF6;padding:10px 12px;text-align:left;}

/* ── 要点ボックス ── */
.point{
  background:rgba(111,168,220,.09);border-radius:14px;
  border-left:4px solid var(--blue);
  padding:16px 20px;margin:1.4em 0;
}
.point .point-title{font-weight:800;color:var(--black);margin-bottom:6px;}
.point .point-title::before{content:'💡 ';}
.point p{margin:.4em 0;}
.point ul{margin:.4em 0;padding-left:1.4em;}

/* ── FAQ ── */
.faq-sec details{
  background:#fff;border-radius:14px;
  box-shadow:0 6px 18px rgba(0,0,0,.06),0 1px 2px rgba(0,0,0,.04);
  padding:16px 20px;margin:.9em 0;
}
.faq-sec summary{font-weight:700;cursor:pointer;color:var(--black);list-style:none;}
.faq-sec summary::-webkit-details-marker{display:none;}
.faq-sec summary::before{content:'Q. ';color:var(--blue);font-weight:800;}
.faq-sec details[open] summary{margin-bottom:8px;}
.faq-sec details p{color:var(--grey3);margin:.4em 0;}

/* ── 出典・参考 ── */
.sources{
  border:1px solid #E3EDF6;border-radius:12px;
  background:#FAFCFE;padding:14px 18px;margin:1.6em 0;
}
.sources .sources-title{font-weight:700;font-size:13px;color:var(--grey3);margin-bottom:6px;}
.sources ul{padding-left:1.2em;margin:0;}
.sources li{font-size:12px;color:var(--grey3);margin:.25em 0;}
.note-s{font-size:12px;color:var(--grey2);}

/* ── 著者ボックス ── */
.author-box{
  display:flex;align-items:center;gap:14px;
  background:rgba(111,168,220,.09);border-radius:16px;
  padding:16px 20px;margin:2em 0;
}
.author-box .avatar{
  width:48px;height:48px;border-radius:50%;flex-shrink:0;
  background:var(--blue);display:flex;align-items:center;justify-content:center;
  overflow:hidden;
}
.author-box .avatar img{width:100%;height:100%;object-fit:cover;}
.author-box .avatar .material-icons{color:#fff;font-size:28px;}
.author-box .a-name{font-weight:700;font-size:14px;color:var(--black);}
.author-box .a-desc{font-size:13px;color:var(--grey3);margin-top:2px;}
/* テンプレート実体側のクラス名（author-icon / author-text / author-name） */
.author-box .author-icon{
  width:48px;height:48px;border-radius:50%;flex-shrink:0;overflow:hidden;
  background:var(--blue);display:flex;align-items:center;justify-content:center;
}
.author-box .author-icon img{width:100%;height:100%;object-fit:cover;}
.author-box .author-text{min-width:0;}
.author-box .author-name{font-weight:700;font-size:14px;color:var(--black);}
.author-box .author-text p{font-size:13px;color:var(--grey3);margin:2px 0 0;}

/* ── CTAバンド ── */
.cta-band{
  text-align:center;
  background:linear-gradient(180deg,#FFFFFF,#EDF4FB);
  border-radius:20px;
  padding:40px 24px;margin:3em auto 0;
}
.cta-band h2{font-size:22px;font-weight:800;color:var(--black);border:none;padding:0;margin:0 0 6px;}
.cta-band .cta-title{font-size:22px;font-weight:800;color:var(--black);margin:0 0 6px;}
.cta-band p{color:var(--grey3);font-size:14px;margin:0;}
.cta-band .cta-btns{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;margin-top:20px;}

/* ── 関連記事 ── */
.related{margin-top:3em;}
.related > h2{font-size:20px;font-weight:800;color:var(--black);margin-bottom:16px;}
.related-cards{
  display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:16px;
}
.related-card{
  display:block;background:#fff;border:1px solid #F0F0F0;border-radius:16px;
  padding:18px;
  box-shadow:0 10px 24px rgba(0,0,0,.08),0 1px 2px rgba(0,0,0,.04);
  transition:transform .18s ease;
}
.related-card:hover{transform:translateY(-6px);}
.related-card .rc-title{font-weight:700;font-size:15px;color:var(--black);margin:10px 0 6px;line-height:1.5;}
.related-card p{font-size:13px;color:var(--grey3);}

/* ─────────────────────────────────────────────
   一覧ページ
   ───────────────────────────────────────────── */
.articles-hero{
  position:relative;overflow:hidden;
  background:linear-gradient(180deg,#FFFFFF,#EDF4FB);
}
.articles-hero .inner{padding:44px 20px;}
.articles-hero .crumb{margin-bottom:16px;}
.articles-hero h1{
  font-size:40px;font-weight:800;line-height:1.3;margin:6px 0 12px;
  background:linear-gradient(135deg,var(--black),var(--dart-blue));
  -webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;
}
.articles-hero .lead{color:var(--grey3);font-size:15px;margin:0;}

.articles-body{background:linear-gradient(180deg,#EDF4FB,#FFFFFF 35%);padding:40px 0 56px;}

.cat-sec{margin-top:44px;}
.cat-sec:first-child{margin-top:8px;}
.cat-sec > h2{
  font-size:22px;font-weight:800;color:var(--black);
  margin-bottom:18px;padding-left:14px;border-left:4px solid var(--blue);
}

.article-cards{
  display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:16px;
}
.article-card{
  display:block;background:#fff;border:1px solid #F0F0F0;border-radius:16px;
  padding:20px;
  box-shadow:0 10px 24px rgba(0,0,0,.08),0 1px 2px rgba(0,0,0,.04);
  transition:transform .18s ease;
}
.article-card:hover{transform:translateY(-6px);}
.article-card .rc-title{font-weight:700;font-size:15px;color:var(--black);margin:12px 0 8px;line-height:1.5;}
.article-card p{font-size:13px;color:var(--grey3);}

/* ─────────────────────────────────────────────
   アプリDLダイアログ（about.html からコピー）
   ───────────────────────────────────────────── */
.dl-overlay{position:fixed;inset:0;background:rgba(0,0,0,.45);display:none;align-items:center;justify-content:center;z-index:100;padding:20px;}
.dl-overlay.open{display:flex;}
.dl-modal{background:#fff;border-radius:20px;max-width:560px;width:100%;padding:20px 24px 24px;max-height:90vh;overflow:auto;}
.dl-modal .head{display:flex;align-items:center;gap:8px;}
.dl-modal .head img{width:24px;height:24px;}
.dl-modal .head .t{font-weight:800;font-size:18px;flex:1;color:var(--black);}
.dl-modal .close{background:none;border:none;cursor:pointer;color:var(--grey3);font-size:22px;padding:6px;}
.dl-modal .note{color:var(--grey3);font-size:12px;text-align:center;margin:6px 0 20px;}
.dl-cards{display:flex;gap:24px;justify-content:center;flex-wrap:wrap;}
.dl-card{background:#F5F5F5;border-radius:16px;padding:16px;width:220px;text-align:center;}
.dl-card .lbl{font-weight:700;font-size:14px;color:var(--black);}
.dl-card .qr{background:#fff;border-radius:12px;padding:8px;margin:12px 0;}
.dl-card .qr img{width:140px;height:140px;display:block;margin:0 auto;}
.dl-card .btn{width:100%;}
.dl-single{width:100%;}

/* ─────────────────────────────────────────────
   モバイル調整
   ───────────────────────────────────────────── */
@media (max-width:760px){
  h1{font-size:24px;}
  .articles-hero h1{font-size:28px;}
  .article-page article h2,
  .cat-sec > h2{font-size:20px;}
  .article-meta{gap:10px;}
  .cta-band h2{font-size:20px;}
}
