@charset "UTF-8";
/* ==========================================================
   最強カスタマイズ じぶん出馬表 サイト共通スタイル
   2ページ（トップ / リリースノート）で共有
   色はアプリのアイコン（芝の緑・本命◎の赤）に合わせている
   ========================================================== */

:root {
  --js-turf: #1b6b3a;          /* メインカラー（芝の緑・アイコンと同じ） */
  --js-turf-dark: #0f4a27;
  --js-turf-deep: #0a3219;
  --js-turf-soft: #e6f2ea;
  --js-red: #d7263d;           /* 本命◎の赤（ダウンロードボタン） */
  --js-red-dark: #b01b30;
  --js-gold: #f2b705;
  --js-bg: #f5f8f6;
  --js-surface: #ffffff;
  --js-ink: #15201b;
  --js-muted: #56655e;
  --js-line: #dae2de;
  /* 出走表の画面イメージ用（アプリの画面と同じ色） */
  --fx-blue: #dce6fb; --fx-blue-i: #1c46a6;
  --fx-green: #d6efdf; --fx-green-i: #17663a;
  --fx-purple: #eadff8; --fx-purple-i: #5a2e98;
  --fx-yellow: #fbefc0; --fx-yellow-i: #8a6200;
  --fx-red: #fbdada; --fx-red-i: #a61b1b;
  --rk1: #e24a3b; --rk2: #2f66d0; --rk3: #239457;
}

body {
  font-family: 'Noto Sans JP', 'BIZ UDPGothic', 'Meiryo', 'Hiragino Kaku Gothic ProN', sans-serif;
  color: var(--js-ink);
  background-color: var(--js-bg);
  line-height: 1.75;
}

/* ---------- 共通ヘッダー（全ページ） ---------- */
.site-header {
  background-color: var(--js-turf-dark);
}
.site-header .navbar-brand {
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  line-height: 1.2;
}
.site-header .navbar-brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #fff;
}
.site-header .brand-sub {
  display: block;
  font-size: .68rem;
  font-weight: 500;
  color: #b9dcc5;
  letter-spacing: .08em;
}
.site-header .nav-link {
  color: #fff;
}
.site-header .nav-link:hover,
.site-header .nav-link.active {
  color: #ffe08a;
}
.site-header .navbar-toggler {
  border-color: rgba(255, 255, 255, .5);
}
.site-header .navbar-toggler-icon {
  filter: invert(1);
}
.site-header .nav-dl {
  background-color: var(--js-red);
  border-radius: 999px;
  padding-left: 16px !important;
  padding-right: 16px !important;
  margin-left: 6px;
}
.site-header .nav-dl:hover {
  background-color: var(--js-red-dark);
  color: #fff !important;
}

/* ---------- 共通フッター（全ページ） ---------- */
.site-footer {
  background-color: var(--js-turf-deep);
  color: #fff;
  padding: 36px 0 24px;
}
.site-footer a {
  color: #b9dcc5;
  text-decoration: none;
}
.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}
.site-footer .footer-note {
  color: #9fbfab;
  font-size: .8rem;
}

/* ---------- セクション見出し ---------- */
.section {
  padding: 72px 0;
}
.section-white {
  background-color: var(--js-surface);
}
.section-eyebrow {
  display: inline-block;
  color: var(--js-turf);
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .12em;
  margin-bottom: 6px;
}
.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 18px;
  line-height: 1.4;
}
.section-lead {
  color: var(--js-muted);
  font-size: 1.05rem;
  max-width: 760px;
}
.text-center .section-lead {
  margin-left: auto;
  margin-right: auto;
}
.marker {
  background: linear-gradient(transparent 62%, #ffe08a 62%);
}

/* ---------- ダウンロードボタン ---------- */
.btn-download {
  background-color: var(--js-red);
  border-color: var(--js-red);
  color: #fff;
  font-weight: 700;
  padding: 14px 30px;
  font-size: 1.15rem;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(215, 38, 61, .35);
}
.btn-download:hover,
.btn-download:focus {
  background-color: var(--js-red-dark);
  border-color: var(--js-red-dark);
  color: #fff;
}
.btn-ghost {
  border: 2px solid rgba(255, 255, 255, .7);
  color: #fff;
  font-weight: 700;
  padding: 12px 26px;
  border-radius: 999px;
}
.btn-ghost:hover {
  background-color: rgba(255, 255, 255, .12);
  color: #fff;
}
.btn-turf {
  background-color: var(--js-turf);
  border-color: var(--js-turf);
  color: #fff;
  font-weight: 700;
}
.btn-turf:hover {
  background-color: var(--js-turf-dark);
  border-color: var(--js-turf-dark);
  color: #fff;
}

/* ==========================================================
   トップページ
   ========================================================== */

/* ---------- ヒーロー（芝目のしま模様） ---------- */
.hero-section {
  background:
    repeating-linear-gradient(100deg, rgba(255, 255, 255, .035) 0 60px, rgba(0, 0, 0, .035) 60px 120px),
    linear-gradient(160deg, #237d45 0%, var(--js-turf) 45%, var(--js-turf-deep) 100%);
  color: #fff;
  padding: 72px 0 84px;
  overflow: hidden;
}
.hero-badge {
  display: inline-block;
  background-color: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .35);
  color: #fff;
  font-weight: 700;
  font-size: .9rem;
  border-radius: 999px;
  padding: 5px 16px;
  margin-bottom: 18px;
}
.hero-app-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffe08a;
  letter-spacing: .06em;
  margin-bottom: 6px;
}
.hero-section h1 {
  font-size: 2.9rem;
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 18px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .25);
}
.hero-section h1 .accent {
  color: #ffe08a;
}
.hero-lead {
  font-size: 1.1rem;
  color: #e3f1e8;
  margin-bottom: 28px;
}
.hero-note {
  font-size: .85rem;
  color: #b9dcc5;
}
/* 開いた瞬間に目に入るメリット（2列×2段のカード） */
.hero-merits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 28px;
}
.hero-merit {
  display: flex;
  align-items: center;
  gap: 12px;
  background-color: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 12px;
  padding: 12px 14px;
  color: #fff;
  text-decoration: none;
  transition: background-color .15s, transform .15s;
}
.hero-merit:hover,
.hero-merit:focus {
  background-color: rgba(255, 255, 255, .18);
  color: #fff;
  transform: translateY(-2px);
}
.hero-merit .merit-icon {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background-color: #ffe08a;
  color: var(--js-turf-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}
.hero-merit .merit-text {
  line-height: 1.35;
}
.hero-merit strong {
  display: block;
  font-size: 1.08rem;
  font-weight: 900;
}
.hero-merit small {
  display: block;
  font-size: .8rem;
  color: #cfe8d8;
  margin-top: 3px;
}

/* Bootstrap の列は flex の子なので、中の広い表（white-space:nowrap）に押されて
   列ごと広がり、スマホ幅でページが横にはみ出す。列の最小幅を 0 にして、表は箱の中で横スクロールさせる */
.row > * {
  min-width: 0;
}

/* ---------- 出走表の画面イメージ（架空データ） ---------- */
.card-preview {
  background-color: var(--js-surface);
  color: var(--js-ink);
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
  overflow: hidden;
  font-family: 'BIZ UDPGothic', 'Noto Sans JP', 'Meiryo', sans-serif;
}
.card-preview .cp-title {
  background-color: var(--js-turf);
  color: #fff;
  padding: 8px 14px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
}
.card-preview .cp-title small {
  font-weight: 400;
  font-size: .75rem;
  color: #d3ebdc;
}
.card-preview .cp-race {
  padding: 6px 14px;
  font-size: .78rem;
  color: var(--js-muted);
  border-bottom: 1px solid var(--js-line);
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
}
.card-preview .cp-race strong {
  color: var(--js-ink);
}
.cp-scroll {
  overflow-x: auto;
}
.cp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .8rem;
  white-space: nowrap;
}
.cp-table th {
  background-color: #f6f9f7;
  color: var(--js-muted);
  font-weight: 700;
  font-size: .7rem;
  padding: 5px 6px;
  border-bottom: 1px solid var(--js-line);
  text-align: center;
}
.cp-table td {
  padding: 6px 6px;
  border-bottom: 1px solid var(--js-line);
  vertical-align: middle;
}
.cp-table tr:nth-child(even) td {
  background-color: #f8faf9;
}
.cp-table .c { text-align: center; }
.cp-table .r { text-align: right; }
.waku {
  display: inline-block;
  width: 20px;
  height: 20px;
  line-height: 20px;
  text-align: center;
  font-weight: 700;
  font-size: .72rem;
  border: 1px solid #bfcbc5;
}
.waku-1 { background: #fff; color: #222; }
.waku-2 { background: #222; color: #fff; }
.waku-3 { background: #e03b3b; color: #fff; border-color: #e03b3b; }
.waku-4 { background: #2f66d0; color: #fff; border-color: #2f66d0; }
.waku-5 { background: #f2c94c; color: #222; border-color: #f2c94c; }
.waku-6 { background: #2e9e5b; color: #fff; border-color: #2e9e5b; }
.mark {
  font-weight: 900;
  font-size: 1.05rem;
}
.mark-honmei { color: #d7263d; }
.mark-taikou { color: #1c46a6; }
.mark-tanana { color: #17663a; }
.mark-renshita { color: #56655e; }
.horse-name {
  font-weight: 700;
}
.horse-sub {
  display: block;
  font-size: .66rem;
  color: var(--js-muted);
  font-weight: 400;
}
.prev-mark {
  font-size: .66rem;
  color: #d7263d;
  border: 1px solid #f0b8c0;
  border-radius: 3px;
  padding: 0 3px;
  margin-left: 4px;
  font-weight: 700;
}
.tag {
  display: inline-block;
  font-size: .66rem;
  font-weight: 700;
  border-radius: 3px;
  padding: 0 4px;
  margin-left: 4px;
  line-height: 1.5;
}
.tag-fill { background: #15201b; color: #fff; }
.tag-line { border: 1px solid #a61b1b; color: #a61b1b; }
.tag-gray { background: #e5e9e7; color: #46514c; }
.chg {
  display: inline-block;
  font-size: .66rem;
  background: var(--fx-yellow);
  color: var(--fx-yellow-i);
  border-radius: 3px;
  padding: 0 4px;
}
.bar-cell {
  position: relative;
  min-width: 70px;
}
.bar-cell .bar {
  position: absolute;
  left: 4px;
  top: 7px;
  bottom: 7px;
  border-radius: 3px;
  opacity: .9;
}
.bar-cell span {
  position: relative;
  font-weight: 700;
  display: block;
  text-align: right;
  padding-right: 2px;
}
.bar-green { background: var(--fx-green); }
.bar-blue { background: var(--fx-blue); }
.bar-purple { background: var(--fx-purple); }
.rank {
  display: inline-block;
  min-width: 18px;
  text-align: center;
  font-weight: 700;
  color: #fff;
  border-radius: 3px;
  font-size: .72rem;
  background: #8c9a93;
}
.rank-1 { background: var(--rk1); }
.rank-2 { background: var(--rk2); }
.rank-3 { background: var(--rk3); }
.past {
  font-size: .68rem;
  color: var(--js-muted);
  line-height: 1.35;
}
.past b {
  color: var(--js-ink);
}
.agari-1 {
  color: var(--rk1);
  font-weight: 700;
}
.cp-caption {
  font-size: .72rem;
  color: var(--js-muted);
  padding: 6px 14px 8px;
  background-color: #f6f9f7;
}
.is-faded td {
  opacity: .45;
}
.cell-hl {
  background-color: var(--fx-red) !important;
  color: var(--fx-red-i);
  font-weight: 700;
}

/* ---------- お悩み → 解決 ---------- */
.worry-card {
  background-color: var(--js-surface);
  border: 1px solid var(--js-line);
  border-radius: 12px;
  padding: 22px 22px 18px;
  height: 100%;
}
.worry-card .worry {
  color: var(--js-muted);
  font-size: .95rem;
  margin-bottom: 12px;
  padding-left: 30px;
  position: relative;
}
.worry-card .worry::before {
  content: "\f075";
  font-family: "Font Awesome 6 Free";
  font-weight: 400;
  position: absolute;
  left: 0;
  top: 0;
  color: #9aa8a1;
  font-size: 1.1rem;
}
.worry-card .answer {
  font-weight: 700;
  padding-left: 30px;
  position: relative;
  margin-bottom: 0;
}
.worry-card .answer::before {
  content: "◎";
  position: absolute;
  left: 0;
  top: -1px;
  color: var(--js-red);
  font-size: 1.15rem;
}

/* ---------- 3本柱 ---------- */
.pillar-card {
  background-color: var(--js-surface);
  border-radius: 14px;
  padding: 30px 26px;
  height: 100%;
  border-top: 6px solid var(--js-turf);
  box-shadow: 0 6px 18px rgba(18, 32, 26, .08);
}
.pillar-card.is-decide { border-top-color: var(--js-red); }
.pillar-card.is-review { border-top-color: var(--js-gold); }
.pillar-card .pillar-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
  background-color: var(--js-turf);
  margin-bottom: 16px;
}
.pillar-card.is-decide .pillar-icon { background-color: var(--js-red); }
.pillar-card.is-review .pillar-icon { background-color: #c99600; }
.pillar-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
}
.pillar-card .pillar-verb {
  font-size: .8rem;
  font-weight: 700;
  color: var(--js-muted);
  letter-spacing: .1em;
}
.pillar-card ul {
  padding-left: 1.2em;
  margin-bottom: 0;
}
.pillar-card li {
  margin-bottom: 4px;
}

/* ---------- 機能の紹介（左右交互） ---------- */
.feature-row {
  padding: 40px 0;
  border-bottom: 1px dashed var(--js-line);
}
.feature-row:last-child {
  border-bottom: none;
}
.feature-num {
  display: inline-block;
  font-weight: 900;
  color: var(--js-turf);
  font-size: .9rem;
  letter-spacing: .1em;
  margin-bottom: 4px;
}
.feature-row h3 {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.45;
  margin-bottom: 14px;
}
.feature-row .feature-merit {
  background-color: var(--js-turf-soft);
  border-left: 4px solid var(--js-turf);
  border-radius: 6px;
  padding: 10px 14px;
  font-size: .95rem;
  margin-top: 14px;
}
.feature-row .feature-merit i {
  color: var(--js-turf);
  margin-right: 6px;
}
.check-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}
.check-list li {
  padding-left: 1.6em;
  position: relative;
  margin-bottom: 6px;
}
.check-list li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--js-turf);
}

/* 機能紹介の図（画面のイメージ） */
.visual-box {
  background-color: var(--js-surface);
  border: 1px solid var(--js-line);
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(18, 32, 26, .08);
  font-family: 'BIZ UDPGothic', 'Noto Sans JP', 'Meiryo', sans-serif;
}
.visual-box .vb-head {
  font-size: .78rem;
  font-weight: 700;
  color: var(--js-muted);
  margin-bottom: 10px;
  letter-spacing: .05em;
}
.visual-note {
  font-size: .75rem;
  color: var(--js-muted);
  margin-top: 10px;
  margin-bottom: 0;
}

/* レイアウトのタブ・列のチップ */
.layout-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}
.layout-tabs span {
  border: 1px solid var(--js-line);
  border-radius: 6px;
  padding: 3px 12px;
  font-size: .8rem;
  background: #fff;
}
.layout-tabs span.is-on {
  background-color: #2248a8;
  border-color: #2248a8;
  color: #fff;
  font-weight: 700;
}
.layout-tabs span.is-add {
  border-style: dashed;
  color: var(--js-muted);
}
.col-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.col-chips span {
  border-radius: 6px;
  padding: 4px 10px;
  font-size: .78rem;
  background: #f6f9f7;
  border: 1px solid var(--js-line);
  border-left: 4px solid #8c9a93;
}
.col-chips .k-kaso { border-left-color: #2f66d0; }
.col-chips .k-hito { border-left-color: #239457; }
.col-chips .k-chokyo { border-left-color: #d08a1e; }
.col-chips .k-ketto { border-left-color: #8c4fc2; }
.col-chips .k-shisu { border-left-color: #d9483b; }
.col-chips .k-jibun { border-left-color: #1d8c8c; }
.col-chips .is-drag {
  background: #fff3d6;
  border-color: #d08a1e;
  box-shadow: 0 6px 14px rgba(0, 0, 0, .15);
  transform: rotate(-3deg);
}
.edit-band {
  background: #fff3d6;
  border: 1px solid #d08a1e;
  color: #7a5200;
  font-size: .78rem;
  border-radius: 6px;
  padding: 6px 10px;
  margin-bottom: 12px;
}

/* 書式ルール（文章のルール） */
.rule-line {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--js-line);
  border-radius: 8px;
  padding: 8px 10px;
  margin-bottom: 8px;
  font-size: .86rem;
  background: #fff;
}
.rule-line .sw {
  width: 30px;
  height: 16px;
  border-radius: 999px;
  background: var(--js-turf);
  position: relative;
  flex: 0 0 auto;
}
.rule-line .sw::after {
  content: "";
  position: absolute;
  right: 2px;
  top: 2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
}
.rule-line .sample {
  flex: 0 0 auto;
  min-width: 34px;
  text-align: center;
  border-radius: 4px;
  font-weight: 700;
  font-size: .78rem;
  padding: 1px 6px;
}
.rule-line .col {
  font-weight: 700;
  color: #2248a8;
}
.rule-line.is-hover {
  border-color: #2248a8;
  box-shadow: 0 0 0 3px rgba(34, 72, 168, .15);
}

/* 独自指数のデモ */
.demo-box {
  background-color: var(--js-surface);
  border-radius: 16px;
  box-shadow: 0 14px 40px rgba(18, 32, 26, .12);
  overflow: hidden;
}
.demo-box .demo-head {
  background-color: var(--js-turf-dark);
  color: #fff;
  padding: 12px 18px;
  font-weight: 700;
}
.demo-box .demo-head small {
  color: #b9dcc5;
  font-weight: 400;
  margin-left: 8px;
}
.demo-body {
  padding: 20px;
}
.demo-slider {
  margin-bottom: 14px;
}
.demo-slider label {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: .92rem;
  margin-bottom: 2px;
}
.demo-slider label .dir {
  font-weight: 400;
  color: var(--js-muted);
  font-size: .78rem;
  margin-left: 6px;
}
.demo-slider label output {
  color: var(--js-turf);
  min-width: 3.5em;
  text-align: right;
}
.demo-slider input[type=range] {
  width: 100%;
  accent-color: var(--js-turf);
}
.alloc-bar {
  display: flex;
  height: 12px;
  border-radius: 999px;
  overflow: hidden;
  background: #e5e9e7;
  margin: 6px 0 18px;
}
.alloc-bar span {
  display: block;
  height: 100%;
  transition: width .2s;
}
/* スライダーと配分の帯の色を結び付ける点・凡例（色は index-demo.js が要素の定義から付ける） */
.factor-dot {
  display: inline-block;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: 0;
}
.alloc-bar {
  margin-bottom: 8px;
}
.alloc-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  font-size: .78rem;
  margin-bottom: 18px;
}
.alloc-legend b {
  font-weight: 700;
}
.alloc-legend .is-zero {
  opacity: .4;
}
.demo-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}
.demo-presets button {
  border: 1px solid var(--js-line);
  background: #fff;
  border-radius: 999px;
  padding: 3px 12px;
  font-size: .82rem;
}
.demo-presets button:hover {
  border-color: var(--js-turf);
  color: var(--js-turf);
}
.demo-rank {
  list-style: none;
  padding: 0;
  margin: 0;
}
.demo-rank li {
  display: grid;
  grid-template-columns: 32px 1fr 110px;
  align-items: center;
  gap: 8px;
  padding: 7px 8px;
  border-bottom: 1px solid var(--js-line);
  font-size: .9rem;
  transition: background-color .3s;
}
.demo-rank li.is-up {
  background-color: #eaf6ee;
}
.demo-rank li.is-down {
  background-color: #fdf0f1;
}
.demo-rank .pos {
  font-weight: 900;
  text-align: center;
}
.demo-rank .pos-1 { color: var(--rk1); }
.demo-rank .pos-2 { color: var(--rk2); }
.demo-rank .pos-3 { color: var(--rk3); }
.demo-rank .nm small {
  color: var(--js-muted);
  font-size: .72rem;
  margin-left: 6px;
}
.demo-rank .sc {
  position: relative;
  height: 20px;
  background: #f0f3f1;
  border-radius: 4px;
  overflow: hidden;
}
.demo-rank .sc i {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  background: var(--fx-blue);
  transition: width .25s;
}
.demo-rank .sc b {
  position: relative;
  display: block;
  text-align: right;
  padding-right: 6px;
  font-size: .78rem;
  line-height: 20px;
  color: var(--fx-blue-i);
}
.demo-move {
  font-size: .7rem;
  margin-left: 4px;
}
.demo-move.up { color: var(--rk3); }
.demo-move.down { color: var(--rk1); }

/* 過去レースで検証の表（イメージ） */
.bt-table {
  width: 100%;
  font-size: .82rem;
  border-collapse: collapse;
}
.bt-table th {
  background: #f6f9f7;
  color: var(--js-muted);
  font-weight: 700;
  padding: 5px 6px;
  text-align: right;
  border-bottom: 1px solid var(--js-line);
}
.bt-table th:first-child,
.bt-table td:first-child {
  text-align: center;
}
.bt-table td {
  padding: 6px;
  text-align: right;
  border-bottom: 1px solid var(--js-line);
}
.bt-table tr.is-top td {
  font-weight: 700;
  background: #fffbea;
}
.bt-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  font-size: .75rem;
  color: var(--js-muted);
  margin-bottom: 10px;
}
.star-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .84rem;
  padding: 5px 0;
  border-bottom: 1px solid var(--js-line);
}
.star-row .stars {
  color: #c99600;
  letter-spacing: 1px;
}
.star-row .stars .off {
  color: #d5dbd8;
}

/* 印のキー */
kbd.key {
  display: inline-block;
  background: #fff;
  color: var(--js-ink);
  border: 1px solid #bfcbc5;
  border-bottom-width: 3px;
  border-radius: 5px;
  padding: 1px 7px;
  font-family: inherit;
  font-size: .8rem;
  font-weight: 700;
}
.mark-palette {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}
.mark-palette span {
  width: 36px;
  height: 36px;
  border: 1px solid var(--js-line);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.1rem;
  background: #fff;
}
.memo-box {
  border: 1px solid var(--js-line);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: .82rem;
  background: #fffdf5;
}

/* 当日の最新データ */
.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--js-line);
  border-radius: 999px;
  padding: 4px 6px 4px 14px;
  font-size: .82rem;
  background: #fff;
}
.live-pill .btn-live {
  background: #2248a8;
  color: #fff;
  border-radius: 999px;
  padding: 2px 12px;
  font-weight: 700;
  font-size: .78rem;
}
.live-toast {
  margin-top: 12px;
  background: #15201b;
  color: #fff;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: .8rem;
}

/* ---------- 楽しみ方（スタイル別） ---------- */
.style-card {
  background-color: var(--js-surface);
  border-radius: 14px;
  padding: 24px;
  height: 100%;
  border: 1px solid var(--js-line);
}
.style-card .style-label {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  color: #fff;
  background-color: var(--js-turf);
  border-radius: 999px;
  padding: 2px 12px;
  margin-bottom: 10px;
}
.style-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.style-card .recipe {
  font-size: .88rem;
  background: #f6f9f7;
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 0;
}
.style-card .recipe li {
  margin-bottom: 4px;
}

/* ---------- 列の一覧 ---------- */
.catalog-card {
  background-color: var(--js-surface);
  border-radius: 12px;
  padding: 18px 20px;
  height: 100%;
  border-left: 6px solid #8c9a93;
}
.catalog-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.catalog-card p {
  font-size: .88rem;
  color: var(--js-muted);
  margin-bottom: 0;
}
.catalog-card.k-kaso { border-left-color: #2f66d0; }
.catalog-card.k-hito { border-left-color: #239457; }
.catalog-card.k-chokyo { border-left-color: #d08a1e; }
.catalog-card.k-ketto { border-left-color: #8c4fc2; }
.catalog-card.k-shisu { border-left-color: #d9483b; }
.catalog-card.k-jibun { border-left-color: #1d8c8c; }

/* ---------- 安心ポイント ---------- */
.safe-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.safe-item i {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--js-turf-soft);
  color: var(--js-turf);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}
.safe-item h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.safe-item p {
  font-size: .9rem;
  color: var(--js-muted);
  margin-bottom: 0;
}

/* ---------- ご利用の流れ ---------- */
.flow-step {
  background-color: var(--js-surface);
  border-radius: 12px;
  padding: 24px 18px;
  height: 100%;
  text-align: center;
  position: relative;
}
.step-num {
  width: 48px;
  height: 48px;
  line-height: 48px;
  text-align: center;
  border-radius: 50%;
  background-color: var(--js-turf);
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 auto 12px;
}
.flow-step h3 {
  font-size: 1.05rem;
  font-weight: 700;
}
.flow-step p {
  font-size: .86rem;
  color: var(--js-muted);
  margin-bottom: 0;
}
.env-table th {
  width: 30%;
  background-color: #eef3f0;
  font-weight: 700;
}

/* ---------- よくある質問 ---------- */
.faq .accordion-button {
  font-weight: 700;
}
.faq .accordion-button:not(.collapsed) {
  background-color: var(--js-turf-soft);
  color: var(--js-turf-dark);
}
.faq .accordion-button:focus {
  box-shadow: 0 0 0 .2rem rgba(27, 107, 58, .25);
}

/* ---------- ダウンロード ---------- */
.download-section {
  background:
    repeating-linear-gradient(100deg, rgba(255, 255, 255, .035) 0 60px, rgba(0, 0, 0, .035) 60px 120px),
    linear-gradient(160deg, var(--js-turf) 0%, var(--js-turf-deep) 100%);
  color: #fff;
  padding: 64px 0;
  text-align: center;
}
.download-section img {
  width: 84px;
  height: 84px;
  border-radius: 18px;
  background: #fff;
  margin-bottom: 16px;
}
.download-section h2 {
  font-weight: 900;
}
.download-section .dl-meta {
  color: #d3ebdc;
}
.download-section a {
  color: #ffe08a;
}

/* 本文中の表記例（4東9・1.46.3 など） */
.feature-row code,
.release-card code {
  color: inherit;
  background-color: #eef3f0;
  padding: 1px 5px;
  border-radius: 4px;
  font-family: inherit;
  font-size: .92em;
  font-weight: 700;
}

/* パス・ファイル名 */
code.path {
  background-color: #eceff1;
  color: #37474f;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 700;
}
.download-section code.path {
  background-color: rgba(255, 255, 255, .15);
  color: #fff;
}

/* ==========================================================
   リリースノート
   ========================================================== */
.page-hero {
  background-color: var(--js-turf-dark);
  color: #fff;
  padding: 44px 0;
}
.page-hero h1 {
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 6px;
}
.page-hero p {
  color: #d3ebdc;
  margin-bottom: 0;
}
.release-latest {
  border-left: 6px solid var(--js-turf);
}
.release-card {
  background-color: var(--js-surface);
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(18, 32, 26, .07);
  padding: 28px 30px;
  margin-bottom: 28px;
}
.release-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 14px;
  border-bottom: 2px solid #eceff1;
  padding-bottom: 12px;
  margin-bottom: 18px;
}
.release-head h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0;
}
.release-head .release-date {
  color: var(--js-muted);
  font-size: .9rem;
}
.release-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-top: 18px;
  margin-bottom: 8px;
  color: var(--js-turf-dark);
}
.release-card h3 i {
  margin-right: 6px;
}
.release-card ul {
  margin-bottom: 0;
}
.release-card li {
  margin-bottom: 6px;
}
.spec-table th {
  width: 30%;
  background-color: #eef3f0;
}

/* ---------- スマホ幅 ---------- */
@media (max-width: 991.98px) {
  .hero-section h1 {
    font-size: 2.2rem;
  }
  .site-header .nav-dl {
    margin-left: 0;
    display: inline-block;
    margin-top: 4px;
  }
}
@media (max-width: 575.98px) {
  .section {
    padding: 52px 0;
  }
  .section-title {
    font-size: 1.55rem;
  }
  .hero-section {
    padding: 48px 0 60px;
  }
  .hero-section h1 {
    font-size: 1.85rem;
  }
  .feature-row h3 {
    font-size: 1.3rem;
  }
  .release-card {
    padding: 20px 18px;
  }
  .demo-rank li {
    grid-template-columns: 28px 1fr 84px;
  }
  .hero-merits {
    gap: 8px;
  }
  .hero-merit {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 12px;
  }
  .hero-merit .merit-icon {
    width: 38px;
    height: 38px;
    font-size: 1.1rem;
  }
  .hero-merit strong {
    font-size: .98rem;
  }
}

/* ---------- 印刷 ---------- */
@media print {
  .site-header,
  .site-footer,
  .btn,
  .no-print {
    display: none !important;
  }
  body {
    background: #fff;
  }
}
