:root {
  --ink: #172033;
  --muted: #64748b;
  --paper: #fffdf9;
  --canvas: #f6f4ef;
  --line: #e6e4df;
  --orange: #e85d32;
  --orange-dark: #bd3f1e;
  --blue: #167b9c;
  --green: #24846d;
  --shadow: 0 16px 40px rgba(23, 32, 51, .08);
}

.series-navigation { margin-top: 48px; }
.series-navigation--previous { margin: 0 0 32px; }
.series-card { display: flex; align-items: center; min-width: 0; overflow: hidden; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; color: var(--ink); text-decoration: none; }
.series-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.series-card:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.series-card__image { flex: 0 0 180px; width: 180px; height: 140px; object-fit: cover; }
.series-card__body { flex: 1; min-width: 0; padding: 18px; }
.series-card__label { color: var(--orange-dark); font-size: .8rem; font-weight: 700; }
.series-card h2 { margin: 8px 0; font-size: 1rem; font-weight: 700; line-height: 1.65; overflow-wrap: anywhere; }
.series-card p { color: var(--muted); font-size: .85rem; line-height: 1.8; }
@media (max-width: 640px) {
  .series-card__image { flex-basis: 90px; width: 90px; height: 100px; }
  .series-card__body { padding: 12px; }
  .series-card h2 { font-size: .9rem; margin: 5px 0; }
  .series-card p { font-size: .75rem; }
}
@media (prefers-reduced-motion: reduce) {
  .series-card { transition: none; }
  .series-card:hover { transform: none; }
}

html { scroll-behavior: smooth; }
body.site-body { background: var(--canvas); color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif; }
a { transition: color .18s ease, background-color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease; }

.site-header { background: rgba(255, 253, 249, .94); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 30; backdrop-filter: blur(14px); }
.site-header__inner { align-items: center; display: flex; justify-content: space-between; margin: 0 auto; max-width: 1180px; min-height: 76px; padding: 12px 24px; }
.site-brand { color: var(--ink); display: flex; flex-direction: column; line-height: 1.15; text-decoration: none; }
.site-brand__eyebrow { color: var(--orange); font-size: .67rem; font-weight: 800; letter-spacing: .16em; margin-bottom: 4px; text-transform: uppercase; }
.site-brand__name { font-family: Georgia, "Hiragino Mincho ProN", serif; font-size: 1.24rem; font-weight: 700; letter-spacing: .04em; }
.site-nav { align-items: center; display: flex; gap: 4px; }
.site-nav a { border-radius: 999px; color: #435166; font-size: .84rem; font-weight: 700; padding: 9px 12px; text-decoration: none; white-space: nowrap; }
.site-nav a:hover, .site-nav a[aria-current="page"] { background: #fff0e9; color: var(--orange-dark); }
.site-nav__home { color: var(--orange-dark) !important; }

.site-main { min-height: calc(100vh - 180px); }
.page-shell { margin: 0 auto; max-width: 1180px; padding: 56px 24px 72px; }
.section-kicker { color: var(--orange); font-size: .75rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.section-heading { font-family: Georgia, "Hiragino Mincho ProN", serif; font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 700; letter-spacing: .02em; line-height: 1.3; margin-top: 8px; }
.section-intro { color: var(--muted); font-size: .98rem; line-height: 1.9; margin-top: 14px; max-width: 46rem; }

.home-hero { background: linear-gradient(135deg, #183a4b 0%, #165c72 56%, #e76c3f 150%); color: white; overflow: hidden; position: relative; }
.home-hero::after { background: radial-gradient(circle, rgba(255,255,255,.22) 0 3px, transparent 4px); background-size: 28px 28px; content: ""; height: 280px; opacity: .25; position: absolute; right: -80px; top: -120px; transform: rotate(18deg); width: 380px; }
.home-hero__inner { margin: 0 auto; max-width: 1180px; padding: 82px 24px 88px; position: relative; z-index: 1; }
.home-hero__kicker { color: #ffd6c6; font-size: .74rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.home-hero h1 { font-family: Georgia, "Hiragino Mincho ProN", serif; font-size: clamp(2.25rem, 5vw, 4.35rem); font-weight: 700; letter-spacing: .025em; line-height: 1.18; margin: 12px 0 18px; }
.home-hero p { color: #e5f1f5; font-size: 1rem; line-height: 1.9; max-width: 41rem; }
.home-stats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.home-stat { backdrop-filter: blur(6px); background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); border-radius: 8px; font-size: .78rem; font-weight: 700; padding: 9px 12px; }

.home-grid { display: grid; gap: 44px; grid-template-columns: minmax(0, 1.7fr) minmax(260px, .75fr); margin-top: 52px; }
.latest-list { display: grid; gap: 18px; margin-top: 24px; }
.article-card { background: var(--paper); border: 1px solid var(--line); box-shadow: 0 2px 0 rgba(23,32,51,.02); color: inherit; display: grid; grid-template-columns: 200px minmax(0, 1fr); min-height: 176px; overflow: hidden; text-decoration: none; }
.article-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.article-card__image { background: #e8ece9; height: 100%; object-fit: cover; width: 100%; }
.article-card__body { display: flex; flex-direction: column; justify-content: center; padding: 22px 24px; }
.article-card__meta { align-items: center; color: var(--muted); display: flex; font-size: .75rem; font-weight: 700; gap: 9px; letter-spacing: .03em; }
.category-badge { border-radius: 999px; display: inline-block; font-size: .7rem; font-weight: 800; letter-spacing: .05em; padding: 4px 8px; }
.category-badge--shoes { background: #e6f4ec; color: #22755e; }
.category-badge--marathon { background: #fff0e8; color: #bd4c2b; }
.category-badge--theory { background: #e6f3f7; color: #176a86; }
.article-card h3, .listing-card h2 { font-size: 1.15rem; font-weight: 800; line-height: 1.55; margin: 10px 0 6px; }
.article-card p, .listing-card p { color: var(--muted); font-size: .86rem; line-height: 1.7; }

.home-aside { align-self: start; display: grid; gap: 18px; }
.profile-card, .mini-nav { background: var(--paper); border: 1px solid var(--line); padding: 24px; }
.profile-card__label { color: var(--orange); font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.profile-card h2 { font-family: Georgia, "Hiragino Mincho ProN", serif; font-size: 1.35rem; font-weight: 700; margin: 8px 0 14px; }
.profile-card p { color: var(--muted); font-size: .85rem; line-height: 1.85; }
.pb-list { border-top: 1px solid var(--line); margin-top: 16px; padding-top: 12px; }
.pb-list div { display: flex; font-size: .78rem; justify-content: space-between; padding: 5px 0; }
.pb-list span:first-child { color: var(--muted); }
.pb-list span:last-child { font-weight: 800; }
.mini-nav { padding: 12px; }
.mini-nav a { align-items: center; border-bottom: 1px solid var(--line); color: var(--ink); display: flex; font-size: .88rem; font-weight: 700; justify-content: space-between; padding: 13px 4px; text-decoration: none; }
.mini-nav a:last-child { border-bottom: 0; }
.mini-nav a:hover { color: var(--orange); padding-left: 7px; }
.mini-nav a span { color: var(--orange); }

.category-tiles { display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); margin-top: 56px; }
.category-tile { border: 1px solid var(--line); color: inherit; min-height: 178px; padding: 24px; text-decoration: none; }
.category-tile:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.category-tile--diary { background: #e7f4f7; }
.category-tile--marathon { background: #fff0e9; }
.category-tile--shoes { background: #eaf5ef; }
.category-tile__icon { font-size: 1.4rem; }
.category-tile h2 { font-size: 1.14rem; font-weight: 800; margin: 20px 0 7px; }
.category-tile p { color: #526172; font-size: .84rem; line-height: 1.7; }

.listing-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.listing-header__inner { margin: 0 auto; max-width: 1180px; padding: 58px 24px 44px; }
.listing-grid { display: grid; gap: 24px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 34px; }
.listing-card { background: var(--paper); border: 1px solid var(--line); color: inherit; display: flex; flex-direction: column; overflow: hidden; text-decoration: none; }
.listing-card.hidden { display: none; }
.listing-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.listing-card__image { background: #e8ece9; height: 174px; object-fit: cover; width: 100%; }
.listing-card__body { padding: 19px; }
.listing-card__meta { color: var(--muted); font-size: .72rem; font-weight: 700; }
.filter-label { color: var(--muted); font-size: .82rem; font-weight: 700; margin: 32px 0 10px; }
.brand-filter { border: 1px solid var(--line); border-radius: 999px; color: #465468; font-size: .8rem; font-weight: 700; padding: 8px 13px; }
.brand-filter.is-active { background: var(--orange) !important; border-color: var(--orange) !important; color: #fff !important; }

.site-body.app-index { background:#fafbf9; }
.app-page { box-sizing:border-box; margin:0 auto; max-width:1000px; padding:64px 24px 88px; width:100%; }
.app-page__heading { margin-bottom:32px; }
.app-page__heading h1 { color:#26352e; font-size:1.85rem; font-weight:700; letter-spacing:.03em; line-height:1.4; margin:0 0 12px; }
.app-page__heading p { color:#67736d; font-size:.9rem; line-height:1.8; margin:0; }
.app-grid { display:grid; gap:20px; grid-template-columns:repeat(2,minmax(0,1fr)); }
.app-card { background:#fff; border:1px solid #e1e6e1; border-radius:12px; color:#26352e; display:flex; flex-direction:column; min-width:0; padding:28px; text-decoration:none; }
.app-card:hover { border-color:#a9beb0; background:#fcfefb; }
.app-card:focus-visible { outline:3px solid #297a58; outline-offset:4px; }
.app-card__icon { align-items:center; background:#f0f5f0; border-radius:10px; color:#496853; display:flex; height:44px; justify-content:center; margin-bottom:22px; width:44px; }
.app-card__icon svg { height:25px; width:25px; }
.app-card h2 { align-items:baseline; display:flex; flex-wrap:wrap; font-size:1.12rem; font-weight:650; gap:5px 10px; line-height:1.6; margin:0 0 12px; overflow-wrap:anywhere; }
.app-card__reading { color:#758078; font-size:.75rem; font-weight:400; }
.app-card > p { color:#67736d; font-size:.85rem; line-height:1.9; margin:0 0 28px; overflow-wrap:anywhere; }
.app-card__link { align-items:center; color:#356348; display:flex; font-size:.82rem; font-weight:600; gap:16px; justify-content:space-between; margin-top:auto; }
.app-card__link > span { font-size:1.1rem; font-weight:400; }

.site-body.kutsudoki-page { background: #f2faf7; color: #203d35; }
.kutsudoki-page .site-header { background: rgba(255,255,255,.95); border-bottom-color: #dceee6; }
.kutsudoki-page .site-brand__eyebrow { color: #13755a; }
.kutsudoki-page .site-nav a:hover, .kutsudoki-page .site-nav a[aria-current="page"] { background: #dcf5e9; color: #116b52; }
.kutsudoki-page .site-nav__home { color: #13755a !important; }
.kutsudoki-page .site-footer { background: #e2f4ec; color: #47665b; }
.kutsudoki-page .site-footer__brand, .kutsudoki-page .site-footer a { color: #235846; }
.kutsudoki-page .site-footer a:hover { color: #13755a; }
.shoe-tool { padding-bottom: 76px !important; padding-top: 38px !important; }
.shoe-tool > section, .shoe-tool__hero { background: #fff; border: 1px solid #d8ebe1; border-radius: 18px !important; box-shadow: 0 10px 30px rgba(39,103,77,.045) !important; }
.shoe-tool__hero { background: linear-gradient(120deg, #d9f6e9, #effcf6 65%, #e0f5f8) !important; color: #1c5140; overflow: hidden; padding: 38px 40px !important; position: relative; }
.shoe-tool__hero::after { background: radial-gradient(circle, #439b7c 0 2px, transparent 3px); background-size: 20px 20px; content: ""; height: 190px; opacity: .15; position: absolute; right: -25px; top: -50px; transform: rotate(12deg); width: 250px; pointer-events: none; }
.shoe-tool__hero-icon { align-items:center; background:#fff; color:#13755a; border:1px solid #c4e8d7; border-radius:14px; box-shadow:0 6px 16px rgba(35,120,84,.08); display:flex; font-size:1.25rem; height:46px; justify-content:center; margin-bottom:24px; width:46px; }
.shoe-tool__hero > p:first-of-type { color: #13755a; }
.shoe-tool__hero h1 { font-family: Georgia, "Hiragino Mincho ProN", serif; font-size: clamp(2rem,4vw,3rem) !important; letter-spacing: .02em; }
.shoe-tool__reading { display: block; font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", sans-serif; font-size: .875rem; font-weight: 600; letter-spacing: .16em; margin-top: 6px; }
.shoe-tool__tagline { font-size: 1.125rem; font-weight: 700; margin-top: 18px; }
.shoe-tool__hero > p:not(:first-of-type) { color:#406556 !important; max-width:43rem; }
.shoe-tool > section { padding: 28px 30px !important; }
.shoe-tool > section h2 { color:#234e3e; font-family:Georgia,"Hiragino Mincho ProN",serif; font-size:1.25rem; font-weight:700; }
.shoe-tool input[type="text"], .shoe-tool input[type="number"], .shoe-tool select { background:#fbfefc; border:1.5px solid #c9ded3; border-radius:10px; }
.shoe-tool input[type="text"]:focus, .shoe-tool input[type="number"]:focus, .shoe-tool select:focus { border-color:#238365; box-shadow:0 0 0 4px rgba(35,131,101,.12); outline:none; }
.shoe-tool select { appearance:none; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='m6 8 4 4 4-4' stroke='%23466554' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-position:right 10px center; background-repeat:no-repeat; background-size:20px; padding-right:36px; }
.shoe-tool select:disabled { background-color:#f1f5f3; color:#617269; cursor:not-allowed; }
.shoe-tool [hidden] { display:none !important; }
.shoe-tool__suggestions { display:flex; flex-wrap:wrap; gap:6px; margin-top:10px; }
.shoe-tool__suggestions button { background:#e6f6ee; border:1px solid #b9decb; border-radius:9px; color:#176b52; font-size:.875rem; line-height:1.5; padding:8px 10px; text-align:left; }
.shoe-tool__suggestions button:hover { background:#d1eedd; }
.shoe-tool__suggestions button:focus-visible { outline:3px solid #13755a; outline-offset:2px; }
.shoe-tool__notice { font-size:.875rem; line-height:1.8; margin-top:16px; }
.shoe-tool__notice a { text-decoration:underline; text-underline-offset:3px; }
.shoe-tool a { color:#176b56; }
.shoe-tool #submit-record { background:#13755a; border-radius:10px; box-shadow:0 7px 16px rgba(19,117,90,.16); padding:12px 20px; }
.shoe-tool #submit-record:hover { background:#0d6049; }
.shoe-tool #submit-record:focus-visible, .shoe-tool #clear-all:focus-visible { outline:3px solid #13755a; outline-offset:3px; }
.shoe-tool #clear-all { background:#edf7f1; border:1px solid #d5e7dc; border-radius:10px; color:#466454; padding:12px 20px; }
.shoe-tool #clear-all:hover { background:#dfeee5; }
.shoe-tool .text-orange-700 { color:#13755a; }
.shoe-tool input.shoe-tool__pair-label { font-size:.875rem; padding:8px 10px; width:10rem; }
.shoe-tool__edit-record, .shoe-tool__cancel-record { background:#e6f6ee; border:1px solid #b9decb; border-radius:8px; color:#176b52; cursor:pointer; font-size:.875rem; padding:6px 10px; }
.shoe-tool__edit-record { margin-left:8px; }
.shoe-tool__edit-record:focus-visible, .shoe-tool__cancel-record:focus-visible, .shoe-tool__save-record:focus-visible { outline:3px solid #13755a; outline-offset:2px; }
.shoe-tool button:disabled { cursor:not-allowed; opacity:.5; }
.shoe-tool #record-form { scroll-margin-top:140px; }
.shoe-tool .shoe-tool__collection-heading { align-items:center; display:flex; gap:12px; justify-content:space-between; }
.shoe-tool .shoe-tool__panel-count { background:#edf7f1; border:1px solid #d5e7dc; border-radius:999px; color:#466454; flex-shrink:0; font-family:inherit; font-size:.75rem; font-weight:600; padding:4px 9px; white-space:nowrap; }
.shoe-tool__shoe-list { display:grid; gap:10px; margin-top:18px; min-width:0; }
.shoe-tool__shoe-entry { border:1px solid #d5e7dc; border-radius:14px; min-width:0; overflow:hidden; }
.shoe-tool__shoe-entry[open] { background:#f5fbf8; border-color:#acd2bf; }
.shoe-tool__shoe-toggle { align-items:center; background:#fff; cursor:pointer; display:grid; gap:2px 14px; grid-template-columns:minmax(0,1fr) auto; list-style:none; min-height:64px; padding:14px 16px; }
.shoe-tool__shoe-toggle::-webkit-details-marker { display:none; }
.shoe-tool__shoe-toggle::marker { content:""; }
.shoe-tool__shoe-toggle:hover { background:#edf7f1; }
.shoe-tool__shoe-toggle:focus-visible { outline:3px solid #13755a; outline-offset:-4px; }
.shoe-tool__shoe-toggle > span { grid-column:1; min-width:0; overflow-wrap:anywhere; }
.shoe-tool__shoe-maker { color:#617269; font-size:.75rem; font-weight:600; line-height:1.5; }
.shoe-tool__shoe-maker:empty { display:none; }
.shoe-tool__shoe-name { color:#234e3e; font-size:1rem; font-weight:700; line-height:1.5; }
.shoe-tool__shoe-toggle::after { border-bottom:2px solid #537969; border-right:2px solid #537969; content:""; grid-column:2; grid-row:1 / span 2; height:9px; margin:0 3px 4px; transform:rotate(45deg); width:9px; }
.shoe-tool__shoe-entry[open] > .shoe-tool__shoe-toggle::after { margin-bottom:-4px; transform:rotate(225deg); }
.shoe-tool__entry-cards { display:grid; gap:12px; min-width:0; padding:0 12px 12px; }
.shoe-tool__ranking-scale { display:grid; grid-template-columns:2rem minmax(0,1fr) 6.5rem; gap:8px; margin:16px 0 -10px; padding:0 17px; }
.shoe-tool__ranking-scale > span { color:#74867d; display:flex; font-size:.65rem; grid-column:2; justify-content:space-between; gap:8px; }
.shoe-tool__shoe-toggle > .shoe-tool__ranking-chart { align-items:center; display:grid; gap:8px; grid-column:1 / -1; grid-template-columns:2rem minmax(0,1fr) 6.5rem; margin-top:10px; }
.shoe-tool__ranking-position { color:#617269; font-size:.75rem; font-weight:650; }
.shoe-tool__ranking-track { background:#e7edf2; border-radius:999px; display:block; height:14px; min-width:0; overflow:hidden; }
.shoe-tool__ranking-fill { background:#245b84; border-radius:inherit; display:block; height:100%; max-width:100%; }
.shoe-tool__ranking-entry > summary:hover .shoe-tool__ranking-fill, .shoe-tool__ranking-entry > summary:focus-visible .shoe-tool__ranking-fill { background:#f18a41; }
.shoe-tool__ranking-value { display:grid; gap:2px; min-width:0; text-align:right; }
.shoe-tool__ranking-value strong { color:#234e3e; font-size:.85rem; font-variant-numeric:tabular-nums; white-space:nowrap; }
.shoe-tool__ranking-value small { color:#617269; font-size:.7rem; }
.shoe-tool__share-status { color:#617269; font-size:.8rem; }
.shoe-tool__share-status.is-shared { color:#13755a; }
.shoe-tool__share-status.is-failed { color:#b42318; }
.shoe-tool__remove-record { background:#fff2f0; border:1px solid #f3d7d1; border-radius:8px; color:#b42318; cursor:pointer; font-size:.875rem; padding:6px 10px; }
.shoe-tool__remove-record:focus-visible { outline:3px solid #b42318; outline-offset:2px; }
.shoe-tool__stats-tabs { display:flex; gap:6px; background:#edf7f1; border:1px solid #d5e7dc; border-radius:12px; margin-top:20px; padding:5px; width:fit-content; max-width:100%; }
.shoe-tool__stats-tabs [role="tab"] { background:transparent; border:1px solid transparent; border-radius:8px; color:#466454; cursor:pointer; font-size:.875rem; font-weight:600; line-height:1.5; padding:10px 14px; }
.shoe-tool__stats-tabs [role="tab"][aria-selected="true"] { background:#fff; border-color:#c9ded3; box-shadow:0 2px 5px rgba(39,103,77,.07); color:#13755a; }
.shoe-tool__stats-tabs [role="tab"]:hover { color:#0d6049; }
.shoe-tool__stats-tabs [role="tab"]:focus-visible, .shoe-tool [role="tabpanel"]:focus-visible { outline:3px solid #13755a; outline-offset:3px; }
.shoe-tool__stats-search { margin:20px 0 12px; }
.shoe-tool__filter-label { color:#406556; font-size:.875rem; font-weight:600; margin:0 0 8px; }
.shoe-tool__filter-tabs { display:flex; flex-wrap:wrap; gap:8px; margin:0 0 18px; min-width:0; }
.shoe-tool__filter-tabs button { background:#fff; border:1px solid #c9ded3; border-radius:9px; color:#466454; cursor:pointer; font-size:.875rem; line-height:1.5; max-width:100%; min-height:44px; min-width:0; overflow-wrap:anywhere; padding:9px 13px; text-align:left; }
.shoe-tool__filter-tabs button[aria-pressed="true"] { background:#13755a; border-color:#13755a; color:#fff; }
.shoe-tool__filter-tabs button:hover { border-color:#13755a; }
.shoe-tool__filter-tabs button:focus-visible { outline:3px solid #13755a; outline-offset:3px; }
.shoe-tool__stats-search label { color:#406556; display:block; font-size:.875rem; font-weight:600; margin-bottom:8px; }
.shoe-tool .shoe-tool__stats-search input { background:#fbfefc; border:1.5px solid #c9ded3; border-radius:10px; font-size:1rem; padding:12px 14px; width:100%; }
.shoe-tool .shoe-tool__stats-search input:focus { border-color:#238365; box-shadow:0 0 0 4px rgba(35,131,101,.12); outline:none; }

.post-shell { margin: 0 auto; max-width: 840px; padding: 58px 24px 84px; }
.post-header { border-bottom: 1px solid var(--line); margin-bottom: 40px; padding-bottom: 32px; }
.post-header__meta { align-items: center; color: var(--muted); display: flex; font-size: .78rem; font-weight: 700; gap: 10px; }
.post-header h1 { font-family: Georgia, "Hiragino Mincho ProN", serif; font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 700; letter-spacing: .015em; line-height: 1.35; margin: 16px 0 14px; }
.post-header__description { color: var(--muted); font-size: 1rem; line-height: 1.9; }
.post-content { color: #293548; font-size: 1.02rem; line-height: 2; max-width: 100%; }
.post-content > p { margin-bottom: 1.8rem; }
.post-content h2 { border-bottom: 2px solid #dbe9e9; color: var(--ink); font-family: Georgia, "Hiragino Mincho ProN", serif; font-size: 1.52rem; line-height: 1.45; margin: 3.5rem 0 1.25rem; padding-bottom: .55rem; }
.post-content h3 { color: var(--ink); font-size: 1.18rem; font-weight: 800; margin: 2.5rem 0 1rem; }
.post-content strong { color: var(--ink); font-weight: 800; }
.post-content blockquote { background: #fff3ec; border-left: 4px solid var(--orange); border-radius: 0; color: #5b463e; margin: 2rem 0; padding: 1.4rem 1.6rem; }
.post-content img { box-shadow: 0 8px 22px rgba(23,32,51,.08); margin-bottom: 1.2rem; margin-top: 1.2rem; }
.post-content iframe { max-width: 100%; }
.post-content a { color: var(--blue); }
.post-profile { background: #e9f3f5; border-top: 3px solid var(--blue); margin-top: 58px; padding: 25px; }
.post-profile h2 { font-size: 1rem; font-weight: 800; margin: 0 0 8px; }
.post-profile p { color: #526172; font-size: .85rem; line-height: 1.8; }

.legacy-shell { margin: 0 auto; max-width: 1180px; padding: 52px 24px 72px; }
.legacy-shell > main, .legacy-shell > section { background: var(--paper); border: 1px solid var(--line); padding: 28px; }
.sidebar-legacy { display: none; }

.site-footer { background: #172b35; color: #cbd8db; margin-top: 0; }
.site-footer__inner { display: flex; gap: 24px; justify-content: space-between; margin: 0 auto; max-width: 1180px; padding: 34px 24px; }
.site-footer__brand { color: #fff; font-family: Georgia, "Hiragino Mincho ProN", serif; font-weight: 700; }
.site-footer p { font-size: .78rem; line-height: 1.8; margin-top: 5px; }
.site-footer__links { display: flex; gap: 16px; align-items: center; }
.site-footer a { color: #fff; font-size: .8rem; text-decoration: none; }
.site-footer a:hover { color: #ffc8b5; }

@media (max-width: 760px) {
  .site-header__inner { min-height: auto; padding: 14px 18px 10px; align-items: flex-start; flex-direction: column; gap: 9px; }
  .site-nav { gap: 1px; overflow-x: auto; margin: 0 -3px; max-width: calc(100vw - 30px); padding-bottom: 2px; }
  .site-nav a { font-size: .76rem; padding: 7px 9px; }
  .home-hero__inner { padding: 58px 24px 64px; }
  .home-grid { gap: 34px; grid-template-columns: 1fr; margin-top: 34px; }
  .article-card { grid-template-columns: 116px minmax(0, 1fr); min-height: 132px; }
  .article-card__body { padding: 15px; }
  .article-card h3 { font-size: .95rem; margin: 7px 0 3px; }
  .article-card p { -webkit-box-orient: vertical; -webkit-line-clamp: 2; display: -webkit-box; overflow: hidden; }
  .category-tiles, .listing-grid, .app-grid { grid-template-columns: 1fr; }
  .app-page { padding:36px 20px 56px; }
  .app-page__heading { margin-bottom:24px; }
  .app-page__heading h1 { font-size:1.6rem; }
  .app-grid { gap:14px; }
  .app-card { padding:24px; }
  .shoe-tool { padding-top: 22px !important; }
  .shoe-tool__hero { padding: 29px 23px !important; }
  .shoe-tool > section { padding: 23px 18px !important; }
  .category-tiles { margin-top: 38px; }
  .listing-header__inner, .page-shell { padding: 42px 20px 55px; }
  .post-shell { padding: 40px 20px 62px; }
  .post-header { margin-bottom: 30px; }
  .post-content { font-size: .98rem; line-height: 1.95; }
  .post-content h2 { font-size: 1.32rem; margin-top: 2.8rem; }
  .site-footer__inner { align-items: flex-start; flex-direction: column; padding: 28px 20px; }
}

.shoe-tool__record-card, .shoe-tool__stat-card { background:#fff; border:1px solid #dcebe3; border-radius:14px; box-shadow:0 5px 16px rgba(39,103,77,.06); min-width:0; padding:16px; }
.shoe-tool__card-title { color:#234e3e; font-size:1rem; font-weight:700; line-height:1.5; margin:0; overflow-wrap:anywhere; }
.shoe-tool__card-distance { align-items:baseline; color:#173f30; display:flex; flex-wrap:wrap; gap:7px; margin:12px 0 18px; }
.shoe-tool__card-distance strong { font-size:clamp(1.9rem,8vw,2.5rem); font-variant-numeric:tabular-nums; font-weight:750; letter-spacing:-.035em; line-height:1.1; }
.shoe-tool__card-distance span { font-size:1.1rem; font-weight:650; }
.shoe-tool__lifespan { margin:-2px 0 20px; }
.shoe-tool__lifespan-track { background:#e5e8e6; border-radius:999px; height:12px; overflow:hidden; width:100%; }
.shoe-tool__lifespan-fill { background:linear-gradient(90deg,#ffad68,#ff943f); border-radius:inherit; display:block; height:100%; max-width:100%; }
.shoe-tool__lifespan.is-over .shoe-tool__lifespan-fill { background:#df7b3b; }
.shoe-tool__lifespan-caption { align-items:baseline; color:#617269; display:flex; flex-wrap:wrap; font-size:.8rem; gap:5px 14px; justify-content:space-between; line-height:1.6; margin:8px 0 0; overflow-wrap:anywhere; }
.shoe-tool__lifespan-caption strong { color:#8e4e21; font-size:.9rem; }
.shoe-tool__lifespan-remaining { color:#406556; font-size:.85rem; font-weight:600; line-height:1.6; margin:8px 0 0; }
.shoe-tool__lifespan-note { color:#74867d; font-size:.72rem; line-height:1.6; margin:6px 0 0; }
.shoe-tool__card-pair { align-items:center; display:grid; gap:10px; grid-template-columns:auto minmax(0,1fr); margin-bottom:16px; }
.shoe-tool__card-pair > span { color:#617269; font-size:.75rem; }
.shoe-tool__record-editor { border-top:1px solid #e3efe8; display:grid; gap:14px; grid-template-columns:repeat(2,minmax(0,1fr)); margin-top:16px; min-width:0; padding-top:18px; }
.shoe-tool__record-editor > label { display:grid; gap:6px; min-width:0; }
.shoe-tool__record-editor > label > span { color:#406556; font-size:.85rem; font-weight:600; }
.shoe-tool .shoe-tool__record-editor input, .shoe-tool .shoe-tool__record-editor select { box-sizing:border-box; font-size:1rem; min-height:46px; min-width:0; padding:10px 12px; width:100%; }
.shoe-tool .shoe-tool__record-editor select { padding-right:36px; }
.shoe-tool__record-feedback { color:#617269; font-size:.85rem; grid-column:1/-1; line-height:1.7; margin:12px 0 0; overflow-wrap:anywhere; }
.shoe-tool__record-feedback.is-success { color:#21724c; }
.shoe-tool__record-feedback.is-error { color:#b43d38; }
.shoe-tool__record-editor > .shoe-tool__record-feedback { margin:0; }
.shoe-tool__record-editor-actions { display:grid; gap:10px; grid-column:1/-1; grid-template-columns:repeat(2,minmax(0,1fr)); }
.shoe-tool__record-editor-actions button { font-size:.875rem; font-weight:650; min-height:44px; padding:10px 8px; }
.shoe-tool .shoe-tool__save-record { background:#297a58; border:1px solid #297a58; border-radius:8px; color:#fff; cursor:pointer; }
.shoe-tool .shoe-tool__save-record:hover { background:#206849; }
.shoe-tool .shoe-tool__record-card input.shoe-tool__pair-label { font-size:1rem; min-width:0; padding:9px 10px; width:100%; }
.shoe-tool__card-footer { border-top:1px solid #e3efe8; display:flex; flex-wrap:wrap; gap:12px; padding-top:14px; }
.shoe-tool__card-footer > .shoe-tool__share-status { align-self:center; background:#edf7f1; border-radius:999px; line-height:1.5; padding:5px 10px; }
.shoe-tool__card-footer > .is-failed { background:#fff2f0; }
.shoe-tool__card-actions { display:grid; flex:1 1 100%; gap:10px; grid-template-columns:repeat(2,minmax(0,1fr)); }
.shoe-tool__card-actions button { align-items:center; display:flex; font-size:.875rem; font-weight:650; justify-content:center; margin:0; min-height:44px; padding:10px 8px; }
.shoe-tool__card-stats { margin:14px 0 0; }
.shoe-tool__card-stats > div { align-items:center; border-top:1px solid #e3efe8; display:grid; gap:12px; grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr); padding:11px 0; }
.shoe-tool__card-stats dt { color:#617269; font-size:.8rem; }
.shoe-tool__card-stats dd { color:#234e3e; font-size:.95rem; font-weight:650; margin:0; overflow-wrap:anywhere; }
.shoe-tool__card-stats dd.is-distance { font-size:clamp(1rem,4.3vw,1.3rem); font-variant-numeric:tabular-nums; }
.shoe-tool__cards-empty { color:#617269; font-size:.875rem; line-height:1.7; margin:0; }

@media (max-width:640px) {
  .shoe-tool__record-editor { grid-template-columns:minmax(0,1fr); }
  .shoe-tool .shoe-tool__collection-heading { align-items:flex-start; font-size:clamp(1rem,4vw,1.25rem); }
  .shoe-tool__shoe-toggle { padding:12px 14px; }
  .shoe-tool__ranking-scale { grid-template-columns:minmax(0,1fr); padding:0 15px; }
  .shoe-tool__ranking-scale > span { grid-column:1; }
  .shoe-tool__shoe-toggle > .shoe-tool__ranking-chart { grid-template-columns:minmax(0,1fr) auto; gap:7px 10px; }
  .shoe-tool__ranking-position { grid-column:1; grid-row:1; }
  .shoe-tool__ranking-track { grid-column:1 / -1; grid-row:2; }
  .shoe-tool__ranking-value { align-items:baseline; display:flex; gap:8px; grid-column:2; grid-row:1; }
}
