/* 案1「プレミアム」: G1のポスターや競馬専門誌のような、写真と明朝体で見せる落ち着いた構成。
   生成りの地、墨色、真鍮のような金。英字と数字は Cormorant Garamond。 */
:root {
  --bg: #f3efe6;
  --tint: #ebe5d8;
  --tint-2: #e0d8c6;
  --ink: #161512;
  --muted: #6a6457;
  --line: #d9d0bd;
  --turf: #123526;
  --turf-deep: #0c2419;
  --gold: #a8864b;
  --gold-soft: #f1e9d8;
  --minus: #a43a2a;
  --paper: #fbf9f4;
  --font-display: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --font-en: "Cormorant Garamond", "Times New Roman", serif;
  --font-num: "Cormorant Garamond", "Times New Roman", serif;
  --radius: 0px;
  --radius-sm: 0px;
  --shadow: 0 30px 60px rgba(22, 21, 18, .12);
}
body { background: var(--bg); }
.num, .fact .v, .bar-val, .sample-result .v, td.n, .club-stats dd, .verdict .v, .kpi .v { font-variant-numeric: lining-nums tabular-nums; }
h1, h2, h3 { font-weight: 800; letter-spacing: .04em; }
h3 { font-weight: 700; }
a { color: var(--turf); }
@media (min-width: 861px) { br.sp { display: none; } }
@media (max-width: 860px) { br.pc { display: none; } }

/* ===== ヘッダー: トップでは写真の上に透明で重ね、スクロールしたら固定 ===== */
.site-header { background: rgba(243, 239, 230, .94); border-bottom: 1px solid var(--line); }
.site-header .wrap { padding-block: 16px; }
.logo { font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; letter-spacing: .14em; }
.logo-mark { width: 28px; height: 28px; border-radius: 50%; background: none; border: 1.5px solid var(--gold); position: relative; }
.logo-mark::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: linear-gradient(135deg, var(--turf) 0 45%, var(--gold) 45% 55%, var(--turf) 55%); }
.site-nav a { color: var(--ink); border-radius: 0; font-size: .86rem; letter-spacing: .1em; }
.site-nav a:hover { background: none; color: var(--gold); }
.site-nav a[aria-current="page"] { background: none; color: var(--ink); box-shadow: inset 0 -1px 0 var(--gold); }
.page-home .site-header { position: absolute; left: 0; right: 0; background: transparent; border-color: rgba(255, 255, 255, .18); backdrop-filter: none; }
.page-home .site-header .logo, .page-home .site-header .site-nav a { color: #fff; }
.page-home .site-header .site-nav a[aria-current="page"] { box-shadow: inset 0 -1px 0 #fff; }
.page-home .site-header.is-stuck { position: fixed; top: 0; background: rgba(22, 21, 18, .9); backdrop-filter: blur(10px); animation: p-drop .35s ease; }
@keyframes p-drop { from { transform: translateY(-100%); } }

/* ===== 共通の部品 ===== */
.p-label, .p-kicker, .eyebrow { font: italic 500 1.05rem/1 var(--font-en); letter-spacing: .08em; color: var(--gold); margin: 0 0 14px; text-transform: none; }
.eyebrow::before { display: none; }
.p-link { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; font-size: .92rem; letter-spacing: .1em; color: inherit; text-decoration: none; }
.p-link::after { content: ""; width: 44px; height: 1px; background: currentColor; transition: width .3s; }
.p-link:hover::after, a:hover .p-link::after { width: 64px; }
.btn { border-radius: 0; padding: 16px 30px; letter-spacing: .12em; font-weight: 700; }
.btn-primary { background: var(--gold); color: #fff; box-shadow: none; }
.btn-primary:hover { background: var(--ink); color: #fff; }
.btn-ghost { background: transparent; border: 1px solid currentColor; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.p-head { margin-bottom: 40px; }
.p-head h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); margin: 0 0 10px; }
.p-head p:not(.p-label) { color: var(--muted); margin: 0; }
.p-head-row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; }

/* ===== トップ: ヒーロー ===== */
.p-hero { position: relative; min-height: min(100svh, 900px); display: flex; flex-direction: column; justify-content: flex-end; color: #fff;
  background: linear-gradient(90deg, rgba(10, 10, 9, .85) 0%, rgba(10, 10, 9, .55) 45%, rgba(10, 10, 9, .1) 100%),
    linear-gradient(0deg, rgba(10, 10, 9, .9) 0%, transparent 45%), var(--photo) center 30% / cover no-repeat, #111; }
.p-hero > .wrap:first-child { width: 100%; padding-top: 140px; padding-bottom: 56px; }
.p-hero h1 { color: #fff; font-size: clamp(2.4rem, 7vw, 5rem); line-height: 1.22; letter-spacing: .06em; margin: 0 0 26px; }
.p-hero-lead { max-width: 34em; color: rgba(255, 255, 255, .82); line-height: 2; margin: 0 0 34px; }
.p-hero .btn-ghost { color: #fff; }
.p-hero .btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.p-stats { width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0 auto; border-top: 1px solid rgba(255, 255, 255, .25); }
.p-stats div { padding: 26px 24px 10px 0; }
.p-stats div + div { padding-left: 24px; border-left: 1px solid rgba(255, 255, 255, .25); }
.p-stats dt { font-size: .78rem; letter-spacing: .1em; color: rgba(255, 255, 255, .7); }
.p-stats dd { margin: 6px 0 0; font: 600 1rem/1 var(--font-body); color: var(--gold); }
.p-stats .num { font: 500 clamp(2.4rem, 5vw, 3.6rem)/1 var(--font-num); color: #fff; margin-right: 4px; }
.p-stats-note { width: 100%; margin: 0 auto; padding-bottom: 28px; font-size: .74rem; color: rgba(255, 255, 255, .55); }
@media (max-width: 640px) {
  .p-stats { grid-template-columns: 1fr; }
  .p-stats div, .p-stats div + div { padding: 14px 0; border-left: 0; border-bottom: 1px solid rgba(255, 255, 255, .15); display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
  .p-stats dd { margin: 0; white-space: nowrap; }
  .p-stats .num { font-size: 2.2rem; }
}

/* ===== トップ: イントロ ===== */
.p-intro { padding-block: clamp(72px, 10vw, 128px); }
.p-intro .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.p-intro h2 { font-size: clamp(1.8rem, 3.8vw, 2.7rem); line-height: 1.45; margin-bottom: 28px; }
.p-intro-text > p:not(.p-label) { color: var(--muted); line-height: 2.1; }
@media (max-width: 860px) { .p-intro .wrap { grid-template-columns: 1fr; } }
.sample { background: var(--paper); border: 0; box-shadow: var(--shadow); padding: 32px; border-top: 2px solid var(--gold); }
.sample-label { background: none; color: var(--gold); padding: 0; font: italic 500 1rem/1 var(--font-en); letter-spacing: .06em; }
.sample-title { font-family: var(--font-display); }
.bar-track { border-radius: 0; height: 12px; }
.seg-price { background: #123526; } .seg-upkeep { background: #3f6b52; } .seg-ins { background: #8aa592; } .seg-fee { background: #cfc4ad; }
.seg-income { background: var(--gold); }
.bar-val, .sample-result .v { font-size: 1.35rem; font-weight: 600; }

/* ===== トップ: 2つのツール（写真の大きなパネル） ===== */
.p-tools { display: grid; grid-template-columns: 1fr 1fr; }
.p-tool { position: relative; min-height: 560px; padding: clamp(32px, 5vw, 64px); display: flex; flex-direction: column; justify-content: flex-end; color: #fff; text-decoration: none; overflow: hidden; isolation: isolate; }
.p-tool::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--photo) center / cover no-repeat; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.p-tool::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10, 10, 9, .9) 10%, rgba(10, 10, 9, .25) 70%); }
.p-tool:hover::before { transform: scale(1.06); }
.p-tool:hover { color: #fff; }
.p-tool-no { position: absolute; top: clamp(24px, 4vw, 48px); left: clamp(32px, 5vw, 64px); font: 500 1rem/1 var(--font-num); letter-spacing: .2em; color: var(--gold); }
.p-tool-en { font: italic 500 clamp(2.6rem, 5vw, 4rem)/1 var(--font-en); color: rgba(255, 255, 255, .9); margin-bottom: 14px; }
.p-tool h2 { color: #fff; font-size: 1.5rem; margin-bottom: 12px; }
.p-tool p { color: rgba(255, 255, 255, .78); max-width: 26em; margin-bottom: 24px; }
@media (max-width: 860px) { .p-tools { grid-template-columns: 1fr; } .p-tool { min-height: 420px; } }

/* ===== トップ: 勝負服 ===== */
.p-silks { background: var(--turf-deep); color: #fff; padding-block: clamp(72px, 10vw, 120px); }
.p-silks h2 { color: #fff; }
.p-silks .p-head p:not(.p-label) { color: rgba(255, 255, 255, .65); }
.p-silks .silks-strip { gap: 0; border-top: 1px solid rgba(255, 255, 255, .12); border-left: 1px solid rgba(255, 255, 255, .12); }
.p-silks .silks-strip a { border: 0; border-right: 1px solid rgba(255, 255, 255, .12); border-bottom: 1px solid rgba(255, 255, 255, .12); border-radius: 0; background: var(--turf-deep); color: rgba(255, 255, 255, .85); padding: 26px 8px 20px; font-weight: 500; letter-spacing: .04em; }
.p-silks .silks-strip a:hover { background: #163d2c; color: #fff; }
/* 黒い勝負服が暗い地に沈まないよう、勝負服の後ろに生成りの円を敷く */
.p-silks .silks-strip .silks, .card-silks svg, .head-silks svg { background: radial-gradient(circle, #f6f2e9 0 66%, rgba(246, 242, 233, 0) 67%); border-radius: 50%; }
.p-silks .silks-strip .silks { width: 92px; padding: 16px; }

/* ===== トップ: 読みもの（雑誌風。1本目を大きく） ===== */
.p-journal { padding-block: clamp(72px, 10vw, 120px); }
.p-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 32px; }
.p-cards .card:first-child { grid-column: span 2; grid-row: span 2; }
.p-cards .card:first-child .card-visual { aspect-ratio: 16 / 10; }
.p-cards .card:first-child h3 { font-size: 1.6rem; }
@media (max-width: 860px) { .p-cards { grid-template-columns: 1fr; } .p-cards .card:first-child { grid-column: auto; grid-row: auto; } }

/* ===== トップ: 締め ===== */
.p-closing { color: #fff; text-align: center; padding-block: clamp(96px, 14vw, 180px);
  background: linear-gradient(rgba(10, 10, 9, .7), rgba(10, 10, 9, .7)), var(--photo) center / cover no-repeat, #111; }
.p-closing h2 { color: #fff; font-size: clamp(1.9rem, 4.5vw, 3rem); margin-bottom: 36px; }

/* ===== 記事カード ===== */
.card { background: transparent; border: 0; padding: 0; gap: 12px; border-radius: 0; }
a.card:hover { box-shadow: none; }
.card-visual { display: block; aspect-ratio: 3 / 2; background: #222 center / cover no-repeat; margin-bottom: 6px; transition: filter .4s; }
a.card:hover .card-visual { filter: brightness(1.08) contrast(1.05); }
.card-silks { display: grid; place-items: center; background: var(--turf-deep); }
.card-silks svg { width: 44%; height: auto; padding: 7%; }
.card h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; line-height: 1.6; }
a.card:hover h3 { color: var(--gold); }
.card-tag { background: none; padding: 0; color: var(--gold); font-weight: 700; letter-spacing: .1em; }
.card-tag::after { content: "／"; color: var(--line); margin-left: 8px; }
.card p { font-size: .88rem; }
.tool-card { background: var(--paper); padding: 28px; }

/* ===== 下層ページの見出し: 写真 ===== */
.page-head { position: relative; color: #fff; border: 0;
  background: linear-gradient(90deg, rgba(10, 10, 9, .86), rgba(10, 10, 9, .45)), var(--photo) center 35% / cover no-repeat, #111; }
.page-head .wrap { padding-block: clamp(64px, 9vw, 112px) clamp(40px, 6vw, 64px); position: relative; }
.page-head h1 { color: #fff; font-size: clamp(1.8rem, 4.2vw, 2.8rem); line-height: 1.45; }
.page-head .lead, .page-head .breadcrumb, .page-head .breadcrumb a, .page-head .card-meta { color: rgba(255, 255, 255, .75); }
.page-head .card-tag { color: var(--gold); }
.page-head-club { background: var(--turf-deep); overflow: hidden; }
.head-silks { position: absolute; right: 2%; top: 50%; transform: translateY(-50%) rotate(-8deg); width: min(38vw, 320px); filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .4)); }
.head-silks svg { padding: 14%; }
.page-head-club .wrap { z-index: 1; }
@media (min-width: 701px) { .page-head-club .wrap > * { max-width: 62%; } }
@media (max-width: 700px) { .head-silks { opacity: .22; } }

/* ===== 面と表 ===== */
.section { padding-block: 80px; }
.section.alt { background: var(--tint); }
.section-head h2 { font-size: clamp(1.5rem, 3.2vw, 2rem); }
.fact, .panel, .faq details, .steps li, .table-wrap, .chip, .sort select, .field, .tbd { background: var(--paper); border-color: var(--line); border-radius: 0; }
.fact .v { font-size: 2.8rem; font-weight: 500; color: var(--turf); }
.silks-strip a { background: var(--paper); border-radius: 0; }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); }
thead th { background: var(--ink); color: #fff; letter-spacing: .08em; }
td.n { font-size: 1.1rem; }
tr.total td, tr.total th { background: var(--gold-soft); }
.verdict { background: var(--tint); }

/* ===== クラブカード ===== */
.club { background: var(--paper); border: 0; border-top: 2px solid var(--gold); border-radius: 0; box-shadow: 0 1px 0 var(--line); padding: 28px; }
.club:target { box-shadow: 0 0 0 2px var(--gold); }
.club-head h3 { font-family: var(--font-display); font-size: 1.3rem; }
.club-silks { background: radial-gradient(circle at 50% 40%, #ffffff, #ebe4d4); box-shadow: inset 0 0 0 1px var(--line); border-radius: 0; padding: 12px 10px; }
.club-stats { border-radius: 0; border-color: var(--line); }
.club-stats dd { font-size: 1.35rem; font-weight: 600; }
.group { border-radius: 0 !important; letter-spacing: .08em; }
.horses li { border-radius: 0; background: transparent; border: 1px solid var(--gold); color: var(--ink); font-weight: 500; }
.club-more { border-radius: 0; background: var(--ink); color: #fff; letter-spacing: .1em; }
.club-more:hover { background: var(--gold); }

/* ===== 記事本文 ===== */
.article-body > h2 { border-left: 0; padding: 0 0 12px; border-bottom: 1px solid var(--gold); font-size: 1.55rem; }
.article-body li::marker { color: var(--gold); }
.summary { background: var(--paper); border: 0; border-top: 2px solid var(--gold); }
.toc { background: transparent; border: 1px solid var(--line); }
.point { background: var(--paper); border-left-color: var(--gold); border-radius: 0; }
.cta { background: var(--turf-deep); color: #fff; border-radius: 0; }
.cta p { color: #fff; }
.steps li::before { background: var(--turf-deep); border-radius: 0; font-family: var(--font-num); font-size: 1.1rem; }
.related { border-top-color: var(--gold); }

/* ===== フッター ===== */
.site-footer { background: #0e0d0b; color: #b9b2a3; }
.site-footer .logo { font-size: 1.5rem; }

/* ===== 現れる動き ===== */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s ease, transform 1s cubic-bezier(.2, .7, .2, 1); }
  .reveal.is-in { opacity: 1; transform: none; }
  .p-hero h1, .p-hero .p-kicker, .p-hero-lead, .p-hero .hero-actions { animation: p-rise 1.2s cubic-bezier(.2, .7, .2, 1) both; }
  .p-hero .p-kicker { animation-delay: .1s; } .p-hero h1 { animation-delay: .25s; } .p-hero-lead { animation-delay: .45s; } .p-hero .hero-actions { animation-delay: .6s; }
  @keyframes p-rise { from { opacity: 0; transform: translateY(24px); } }
}
