/* 御朱印巡りルート専用CSS。トップページの基本カラー・固定ヘッダーを共有します。 */
:root { --route-forest:#20382f; --route-gold:#aa874d; --route-red:#a41614; --route-border:#e2d4bf; }
.routes-page { color:var(--ink); }
.routes-page [id] {scroll-margin-top:106px}
.routes-page .site-header { z-index:200 }
.routes-breadcrumb { display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding-top:11px;padding-bottom:11px;font-size:12px;color:#766955 }
.routes-breadcrumb a {color:#915d29;text-decoration:underline;text-underline-offset:3px}
.routes-hero { position:relative; isolation:isolate; color:#fff; overflow:hidden; background:var(--route-forest) url('../images/shrines/mainimg1.jpg.webp') center 47% / cover no-repeat; border-bottom:3px solid #d4b679 }
.routes-hero:before {content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(95deg,rgba(14,36,29,.93) 0%,rgba(22,42,34,.78) 48%,rgba(26,38,29,.37) 100%)}
.routes-hero:after {content:"";position:absolute;left:-60px;top:-90px;width:260px;height:260px;background:url('../images/decor/sakura-branch.svg') center/contain no-repeat;opacity:.77;pointer-events:none}
.routes-hero-inner {padding-top:36px;padding-bottom:38px;position:relative}
.routes-eyebrow {display:inline-block;font:700 12px/1.4 Georgia,serif;letter-spacing:.17em;color:#e7c98e;text-transform:uppercase}
.routes-hero h1 {font:700 clamp(26px,3.3vw,45px)/1.35 var(--serif);letter-spacing:.035em;max-width:900px;margin:7px 0 11px;text-shadow:0 2px 9px #14271a}
.routes-hero p {font-size:clamp(12px,1.05vw,15px);line-height:1.85;max-width:790px;margin:0;text-shadow:0 2px 9px #152a20}
.routes-hero-actions {display:flex;flex-wrap:wrap;gap:11px;margin-top:19px}
.routes-hero-outline {display:inline-flex;align-items:center;padding:8px 19px;border:1px solid #e6d8b3;border-radius:5px;color:#fff;font-weight:700;font-size:12px;background:#182d286e}
.routes-hero-outline:hover {color:#f5ddb0;border-color:#f5ddb0}
.routes-main {padding-bottom:25px}
.routes-jump {display:flex;gap:7px;flex-wrap:wrap;padding:17px 0 3px;}
.routes-jump a {border:1px solid var(--route-border);border-radius:30px;background:#fffaf1;padding:6px 13px;font-size:12px;font-weight:700;color:#6d4931}
.routes-jump a:hover {background:#f4e7cd;color:var(--route-red)}
.route-planned-note {padding:10px 15px;margin:12px 0 0;border-left:4px solid #a5753f;background:#fff8e9;color:#66492e;font-size:13px}
/* ルート一覧 */
.routes-index-intro {padding-top:21px}
.routes-section-heading {border-left:3px solid #ba8748;padding-left:13px;margin-bottom:14px}
.routes-section-heading .section-en {display:block;font:700 10px/1.3 Georgia,serif;color:#b0874f;letter-spacing:.18em;text-transform:uppercase}
.routes-section-heading h2 {margin:4px 0 4px;font-size:clamp(21px,2.2vw,30px);font-weight:800;line-height:1.4}
.routes-section-heading p {margin:3px 0 0;font-size:13px;color:#6f6255}
.route-filter {display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:13px 16px;background:#fffdf8;border:1px solid var(--route-border);border-radius:7px;margin-bottom:5px}
.route-filter label {font-size:13px;font-weight:800;color:#744d31}
.route-filter select {min-height:38px;border:1px solid #cdb899;background:#fff;padding:4px 34px 4px 10px;border-radius:4px;color:#33271f}
#route-filter-count {margin-left:auto;color:#816b51;font-weight:700;font-size:12px}
.routes-index-section {padding-top:22px}
.route-teaser-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
.route-teaser {min-width:0;background:#fffdf9;border:1px solid #e6d9c5;border-radius:6px;box-shadow:0 3px 12px rgba(53,39,22,.07);overflow:hidden;transition:transform .18s ease,box-shadow .18s ease}
.route-teaser:hover {transform:translateY(-3px);box-shadow:0 8px 20px rgba(53,39,22,.13)}
.route-teaser-link {display:flex;flex-direction:column;height:100%}
.route-teaser-visual {position:relative;height:144px;background:#30493d;overflow:hidden}
.route-teaser-visual:after {content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(6,27,19,.42),transparent 64%)}
.route-teaser-visual img {height:100%;width:100%;object-fit:cover;object-position:center}
.route-teaser-region {position:absolute;left:12px;bottom:9px;z-index:1;color:#fff;font-size:12px;font-weight:800;text-shadow:0 2px 4px #16251b}
.route-teaser-info {display:flex;flex:1;flex-direction:column;gap:6px;padding:14px}
.route-teaser-label {align-self:flex-start;padding:2px 8px;background:#f2e8d7;border-radius:2px;color:#7c5324;font-size:10px;font-weight:700}
.route-teaser[data-status="planned"] .route-teaser-label {background:#e8eee3;color:#436747}
.route-teaser h3 {font-size:18px;line-height:1.4;margin:0;font-weight:800}
.route-teaser p {font-size:12px;line-height:1.7;color:#6d6359;margin:0 0 4px;flex:1}
.route-teaser-arrow {font-size:12px;font-weight:800;color:#9b211a;border-top:1px solid #eee4d6;padding-top:8px}
.route-teaser-arrow span {font-size:19px}
.route-teaser[hidden] {display:none!important}
.routes-guide {padding-top:22px}
.routes-guide-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.routes-guide-grid article {padding:15px;background:#fffdf7;border:1px solid var(--route-border);border-radius:6px}
.routes-guide-grid strong {color:#a97c48;font:700 17px Georgia,serif}
.routes-guide-grid h3 {margin:3px 0;font-size:15px}
.routes-guide-grid p {font-size:12px;color:#685c51;margin:0}
/* 個別ページ／本文と画像の共通スタイル */
.route-body {max-width:var(--container);width:min(calc(100% - 64px),var(--container));margin:0 auto;padding-top:10px;overflow-wrap:anywhere}
.route-body .container {width:100%;max-width:100%;margin:0 auto}
.route-body section.section, .route-body section.quick-section, .route-body section.summary-panel,
.route-body section:not([class]) {padding:14px 0 0;margin:0}
.route-body .section-head {display:flex;align-items:flex-end;justify-content:space-between;gap:25px;margin-bottom:14px;border-bottom:1px solid #d8c8ae;padding-bottom:10px}
.route-body .section-kicker,.route-body .eyebrow {display:block;font:700 11px/1.5 Georgia,serif;letter-spacing:.18em;color:#aa874d}
.route-body .section-title,.route-body h2 {margin:3px 0 5px;font-size:clamp(21px,2.1vw,28px);line-height:1.4;color:#281d17}
.route-body .section-desc {max-width:510px;font-size:13px;margin:0;color:#6b6258}
.route-body h3 {font-size:clamp(16px,1.5vw,20px);line-height:1.45;color:#4d3027;margin:0 0 8px}
.route-body h4 {font-size:15px;margin:6px 0}
.route-body p {margin:6px 0 10px;line-height:1.85}
.route-body li {line-height:1.7}
.route-body :where(.route-layout,.spot-grid,.spots-grid,.tip-grid,.tips-grid,.food-grid,.route-grid,.info-grid,.two-column,.feature-grid,.gourmet-grid,.history-grid,.photo-grid,.gallery-grid,.photo-gallery,.purpose-grid,.faq-grid,.recommended-grid,.quick-grid,.highlights-grid) {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;align-items:start}
.route-body :where(.route-card,.spot-card,.tip-card,.food-card,.info-card,.summary-card,.timeline-card,.highlight-card,.history-card,.gourmet-card,.feature-card,.faq-card,.photo-card,.route-note,.note-card,.quick-panel,.route-point,.step-card) {background:#fffdf9;border:1px solid #e5d8c7;border-radius:7px;padding:15px;min-width:0;box-shadow:0 2px 9px #40301b0b}
.route-body :where(.route-card,.spot-card,.tip-card,.food-card,.history-card,.faq-card) a:not([class]) {color:#a41614;text-decoration:underline;text-underline-offset:3px}
.route-body .spot-card {display:grid;grid-template-columns:45px minmax(0,1fr);gap:13px}
.route-body :where(.spot-number,.route-no,.number,.spot-no) {display:inline-flex;justify-content:center;align-items:center;min-width:34px;height:34px;flex-shrink:0;font:700 15px Georgia,serif;color:#fff;background:#a5844c;border-radius:50%}
.route-body .spot-tags {display:flex;flex-wrap:wrap;gap:5px;margin-bottom:8px}
.route-body .spot-tags span {background:#f1e4ce;color:#654a2b;padding:2px 8px;border-radius:3px;font-size:11px}
.route-body .spot-kana,.route-body .address {font-size:12px;color:#716556}
.route-body :where(.mini-button,.spot-actions a,.photo-actions a,.route-actions a) {display:inline-flex;justify-content:center;align-items:center;border:1px solid #d8c29e;background:#fcf6ea;padding:7px 12px;margin:4px 5px 2px 0;color:#792d20;font-size:12px;font-weight:800;border-radius:4px;line-height:1.4}
.route-body :where(.mini-button,.spot-actions a):hover {background:#f5e7ce}
.route-body .summary-grid {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.route-body :where(.summary-item,.summary-card) {background:#fffdf8;border:1px solid #e5d7c1;border-radius:6px;padding:13px;display:flex;flex-direction:column;gap:4px}
.route-body .summary-item strong,.route-body .summary-card strong {color:#9c1c18;font-size:clamp(18px,2vw,24px);font-weight:800;line-height:1.3}
.route-body .summary-item span,.route-body .summary-card span {font-size:12px}
.route-body .summary-label {color:#8b683c;font-weight:700}
.route-body .route-list,.route-body .timeline {margin:12px 0 0;padding:0;list-style:none}
.route-body .route-list li {display:flex;align-items:flex-start;gap:12px;padding:12px 0;border-top:1px solid #e7ded1}
.route-body .route-list li strong {font-size:15px}
.route-body .route-list li p {font-size:12px;margin:2px 0}
.route-body .move-time,.route-body .route-point-label {font-size:12px;color:#7e6141}
.route-body .timeline {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.route-body .timeline-item {padding:15px;background:#fffdf8;border:1px solid #e4d5be;border-left:3px solid #b48b51;border-radius:5px}
.route-body .timeline-time {display:inline-block;color:#9b211a;font-weight:800;font-size:14px;margin-bottom:6px}
.route-body .timeline-item h3 {font-size:16px}
.route-body .timeline-item p {font-size:12px}
.route-body .point,.route-body .note {background:#faf2e5;border-radius:4px;padding:8px;font-size:12px}
.route-body :where(.goshuin-four-grid,.goshuin-grid,.photos-grid,.photo-list,.gallery) {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}
.route-body figure {margin:0}
.route-body figure img,.route-body picture img {max-width:100%;height:auto;object-fit:contain}
.route-body figure.photo-card {padding:9px;text-align:center}
.route-body figcaption {font-size:12px;line-height:1.5;color:#685947;margin-top:8px}
.route-body :where(.faq-item,.accordion-item) {background:#fffdf8;padding:13px;border:1px solid #e5d7c5;border-radius:5px;margin:8px 0}
.route-body :where(table) {width:100%;border-collapse:collapse;background:#fffdf8;font-size:13px}
.route-body :where(th,td) {padding:10px;border:1px solid #e5d7c5;text-align:left;vertical-align:top}
.route-body th {background:#f4e9d7}
.route-body a {overflow-wrap:anywhere}
.route-body :where(iframe,video) {max-width:100%}
.routes-original-closing {margin-top:15px;text-align:center;padding:18px;background:#f1e4d2;border-radius:7px}
.routes-original-closing .closing {color:#432d24}
.routes-original-closing a {display:inline-block;margin-top:5px;padding:7px 18px;background:#a41614;color:white;border-radius:3px}
.routes-bottom-links {display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;border-top:1px solid #dfd1bc;margin-top:22px;padding-top:16px}
.routes-bottom-links a {color:#982b22;font-weight:700;font-size:13px}
.routes-top {position:fixed;right:20px;bottom:20px;z-index:170;width:40px;height:40px;border-radius:50%;background:#8c6c3d;color:white;display:grid;place-items:center;font-size:20px;box-shadow:0 4px 15px #0003}
.routes-top:hover {color:#fff;background:#a41614}
/* 秩父34観音特設コンテンツ */
.routes-pilgrim-guide :where(.section, section) {margin:13px 0}
.routes-pilgrim-guide .route-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
.routes-pilgrim-guide .route-section,.routes-pilgrim-guide .info-card-style,.routes-pilgrim-guide .items-section,.routes-pilgrim-guide .duration-section,.routes-pilgrim-guide .faq-section,.routes-pilgrim-guide .gourmet-recommend-section {background:#fffdf9;border:1px solid #e4d5c1;border-radius:6px;padding:15px;margin:15px 0}
.routes-pilgrim-guide figure img {max-width:100%}
.routes-pilgrim-guide .goshuin-list img {max-width:100%;height:auto}
.routes-pilgrim-guide :where(.spot-grid,.temple-grid,.goshuin-grid,.temple-list,.goshuin-list) {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.routes-pilgrim-guide a[href$=".webp"],.routes-pilgrim-guide a[href$=".jpg"] {color:#9c2d1e}
@media(max-width:1000px){
 .route-teaser-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
 .route-body .section-head {display:block}
 .route-body .section-desc {margin-top:5px;max-width:none}
 .route-body .summary-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
 .routes-pilgrim-guide :where(.spot-grid,.temple-grid,.goshuin-grid,.temple-list,.goshuin-list),.route-body :where(.goshuin-four-grid,.goshuin-grid,.photos-grid,.photo-list,.gallery) {grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:640px){
 .routes-hero-inner {padding-top:29px;padding-bottom:31px}
 .routes-hero:after {opacity:.4}
 .route-body {width:calc(100% - 30px)}
 .routes-breadcrumb {font-size:11px}
 .routes-index-intro {padding-top:16px}
 .route-filter {gap:8px}
 #route-filter-count {margin:0}
 .route-teaser-grid {grid-template-columns:minmax(0,1fr);gap:13px}
 .route-teaser-visual {height:150px}
 .routes-guide-grid {grid-template-columns:1fr}
 .route-body :where(.route-layout,.spot-grid,.spots-grid,.tip-grid,.tips-grid,.food-grid,.route-grid,.info-grid,.two-column,.feature-grid,.gourmet-grid,.history-grid,.photo-grid,.gallery-grid,.photo-gallery,.purpose-grid,.faq-grid,.recommended-grid,.quick-grid,.highlights-grid),
 .route-body .timeline {grid-template-columns:minmax(0,1fr)}
 .route-body .spot-card {grid-template-columns:36px minmax(0,1fr);padding:12px;gap:9px}
 .route-body .section-title,.route-body h2 {font-size:21px}
 .route-body :where(.route-card,.tip-card,.food-card,.info-card,.summary-card,.timeline-card,.highlight-card,.history-card,.gourmet-card,.feature-card,.faq-card,.quick-panel,.route-note,.note-card) {padding:12px}
 .route-body .summary-grid {gap:8px}
 .route-body :where(.summary-item,.summary-card) {padding:10px}
 .route-body table {display:block;overflow-x:auto;-webkit-overflow-scrolling:touch}
 .routes-jump a {font-size:11px;padding:5px 10px}
 .routes-pilgrim-guide :where(.spot-grid,.temple-grid,.goshuin-grid,.temple-list,.goshuin-list) {grid-template-columns:repeat(2,minmax(0,1fr))}
 .routes-top {right:12px;bottom:12px;width:35px;height:35px}
}
@media(prefers-reduced-motion:reduce){.route-teaser{transition:none}}


/* ルートごとの写真を記事のメインビジュアルに表示 */
.routes-hero[data-route] {min-height:330px;background-position:center;background-size:cover;display:flex;align-items:center}
.routes-hero[data-route] .routes-hero-inner {width:min(calc(100% - 64px),var(--container));margin:0 auto;padding-top:30px;padding-bottom:30px}
.routes-hero[data-route="konosu-gyoda-goshuin"] {background-image:url("../images/routes/route-cards/konosu-gyoda-goshuin.webp")}
.routes-hero[data-route="kawagoe-goshuin"] {background-image:url("../images/routes/route-cards/kawagoe-goshuin.webp")}
.routes-hero[data-route="tokyo-jissha-goshuin"] {background-image:url("../images/routes/route-cards/tokyo-jissha-goshuin.webp")}
.routes-hero[data-route="ueno-yanesen-goshuin"] {background-image:url("../images/routes/route-cards/ueno-yanesen-goshuin.webp")}
.routes-hero[data-route="nihonbashi-ningyocho-goshuin"] {background-image:url("../images/routes/route-cards/nihonbashi-ningyocho-goshuin.webp")}
.routes-hero[data-route="kuki-kazo-goshuin"] {background-image:url("../images/routes/route-cards/kuki-kazo-goshuin.webp")}
.routes-hero[data-route="ibaraki-goshuin"] {background-image:url("../images/routes/route-cards/ibaraki-goshuin.webp")}
.routes-hero[data-route="akasaka-shiba-goshuin"] {background-image:url("../images/routes/route-cards/akasaka-shiba-goshuin.webp")}
.routes-hero[data-route="chichibu-kaiun-goshuin"] {background-image:url("../images/routes/route-cards/chichibu-kaiun-goshuin.webp")}
.routes-hero[data-route="tatebayashi-itakura-goshuin"] {background-image:url("../images/routes/route-cards/tatebayashi-itakura-goshuin.webp")}
.routes-hero[data-route="shibuya-harajuku-goshuin"] {background-image:url("../images/routes/route-cards/shibuya-harajuku-goshuin.webp")}
.routes-hero[data-route="asakusa-oshiage-goshuin"] {background-image:url("../images/routes/route-cards/asakusa-oshiage-goshuin.webp")}
.routes-hero[data-route="ikebukuro-sugamo-goshuin"] {background-image:url("../images/routes/route-cards/ikebukuro-sugamo-goshuin.webp")}
.routes-hero[data-route="yokohama-noge-goshuin"] {background-image:url("../images/routes/route-cards/yokohama-noge-goshuin.webp")}
.routes-hero[data-route="kawasaki-daishi-goshuin"] {background-image:url("../images/routes/route-cards/kawasaki-daishi-goshuin.webp")}
.routes-hero[data-route="chiba-tokatsu-goshuin"] {background-image:url("../images/routes/route-cards/chiba-tokatsu-goshuin.webp")}
.routes-hero[data-route="planned-ashikaga-sano-goshuin"] {background-image:url("../images/routes/route-cards/planned-ashikaga-sano-goshuin.webp")}
.routes-hero[data-route="planned-busho-yukari-goshuin"] {background-image:url("../images/routes/route-cards/planned-busho-yukari-goshuin.webp")}
.routes-hero[data-route="planned-kamakura-goshuin"] {background-image:url("../images/routes/route-cards/planned-kamakura-goshuin.webp")}
.routes-hero[data-route="planned-kumagaya-fukaya-goshuin"] {background-image:url("../images/routes/route-cards/planned-kumagaya-fukaya-goshuin.webp")}
.routes-hero[data-route="planned-mito-kasama-goshuin"] {background-image:url("../images/routes/route-cards/planned-mito-kasama-goshuin.webp")}
.routes-hero[data-route="planned-nikko-goshuin"] {background-image:url("../images/routes/route-cards/planned-nikko-goshuin.webp")}
.routes-hero[data-route="planned-ota-kiryu-goshuin"] {background-image:url("../images/routes/route-cards/planned-ota-kiryu-goshuin.webp")}
.routes-hero[data-route="planned-yanaka-shichifukujin-goshuin"] {background-image:url("../images/routes/route-cards/planned-yanaka-shichifukujin-goshuin.webp")}

/* 個別ルート記事の写真・御朱印ギャラリー */
.route-photo-gallery {padding-top:20px;padding-bottom:4px}
.route-photo-heading {display:flex;align-items:end;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-bottom:12px;border-bottom:1px solid #dfd1bc;padding-bottom:9px}
.route-photo-heading .section-en {display:block;width:100%;font:700 10px/1.3 Georgia,serif;color:#b0874f;letter-spacing:.18em;text-transform:uppercase}
.route-photo-heading h2 {margin:3px 0 0;font:700 clamp(19px,2vw,25px)/1.4 var(--serif);color:#2c211a}
.route-photo-note {flex:1 1 100%;margin:0;color:#72675b;font-size:12px;line-height:1.7}
.route-gallery-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.route-gallery-grid--double {grid-template-columns:repeat(2,minmax(0,1fr));max-width:900px;margin-inline:auto}
.route-gallery-card {min-width:0;overflow:hidden;margin:0;background:#fffdf9;border:1px solid #e4d8c8;border-radius:8px;box-shadow:0 3px 12px #392a1b0d}
.route-gallery-image {aspect-ratio:4/3;background:#f3eee5;overflow:hidden}
.route-gallery-image img {display:block;width:100%;height:100%;object-fit:cover}
.route-gallery-card[data-kind="goshuin"] .route-gallery-image {background:#f7f2e9}
.route-gallery-card[data-kind="goshuin"] .route-gallery-image img {object-fit:contain;padding:8px}
.route-gallery-card figcaption {display:flex;flex-direction:column;gap:4px;padding:9px 11px 11px;color:#34271d}
.route-gallery-kind {align-self:flex-start;padding:2px 7px;border-radius:99px;background:#f1e5d1;color:#805f35;font-size:10px;font-weight:800}
.route-gallery-card[data-kind="goshuin"] .route-gallery-kind {background:#f7e8e5;color:#8b312a}
.route-gallery-card figcaption strong {font-size:13px;line-height:1.5}
.routes-page .route-body {padding-top:8px}
.routes-page .route-body section.section,
.routes-page .route-body section.quick-section,
.routes-page .route-body section.summary-panel,
.routes-page .route-body section:not([class]) {padding-top:20px}
.routes-page .route-body p {line-height:1.9}
.routes-page .route-body :where(.route-card,.spot-card,.tip-card,.food-card,.info-card,.summary-card,.timeline-card,.highlight-card,.history-card,.gourmet-card,.feature-card,.faq-card,.photo-card,.route-note,.note-card,.quick-panel,.route-point,.step-card) {box-shadow:0 4px 14px #40301b0d}

@media(max-width:900px){
 .route-gallery-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:640px){
 .routes-hero[data-route] {min-height:290px}
 .routes-hero[data-route] .routes-hero-inner {width:calc(100% - 30px);padding-top:20px;padding-bottom:20px}
 .route-photo-gallery {padding-top:18px}
 .route-gallery-grid {grid-template-columns:minmax(0,1fr);gap:10px}
 .route-gallery-image {aspect-ratio:16/10}
 .route-gallery-card figcaption {padding:8px 10px 10px}
}

.route-gallery-grid--single {grid-template-columns:minmax(0,520px);justify-content:center}
@media(max-width:640px){.route-gallery-grid.route-gallery-grid--single {grid-template-columns:minmax(0,1fr)}}

/* ルートページ／御朱印写真一覧 */
.routes-page .route-body section.section,
.routes-page .route-body section.quick-section,
.routes-page .route-body section.summary-panel,
.routes-page .route-body section:not([class]) {padding-top:22px;padding-bottom:4px;margin-bottom:4px}
.routes-page .route-body .goshuin-gallery {display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;align-items:start}
.routes-page .route-body .goshuin-item {min-width:0;padding:10px 8px 11px;background:#fffdf9;border:1px solid #e5d8c7;border-radius:7px;text-align:center;box-shadow:0 3px 12px #40301b0b}
.routes-page .route-body .goshuin-item a,
.routes-page .route-body .goshuin-zoom-link,
.routes-page .route-photo-zoom {display:block;cursor:zoom-in}
.routes-page .route-body .goshuin-item img {display:block;width:auto;max-width:100%;height:168px;margin:0 auto;object-fit:contain}
.routes-page .route-body .goshuin-item a:focus-visible,
.routes-page .route-body .goshuin-zoom-link:focus-visible,
.routes-page .route-photo-zoom:focus-visible {outline:3px solid #a41614;outline-offset:3px;border-radius:4px}
.routes-page .route-body .goshuin-item figcaption {font-size:11px;line-height:1.5;margin-top:8px}
.routes-page .schedule-card-single-day .timeline {grid-template-columns:minmax(0,1fr);gap:10px}
.routes-page #history .feature-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:stretch}
.routes-page #history .feature-item {display:flex;flex-direction:column;align-items:flex-start;min-width:0;height:100%;padding:17px;background:#fffdf9;border:1px solid #e5d8c7;border-radius:8px;box-shadow:0 4px 14px #40301b0d}
.routes-page #history .feature-item p {flex:1}
.routes-page #history .feature-item .mini-button {margin-top:auto}
.routes-page #photos .route-photo-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.routes-page #photos .route-photo-grid .photo-card {min-width:0;overflow:hidden;padding:10px;text-align:center}
.routes-page #photos .route-photo-grid .route-photo-zoom {display:grid;place-items:center;height:210px;background:#f5f0e8;border-radius:5px}
.routes-page #photos .route-photo-grid .route-photo-zoom img {display:block;width:100%;height:100%;max-width:100%;object-fit:contain}
.routes-page .goshuin-box > .goshuin-zoom-link img {display:block;width:auto;max-width:100%;height:150px;object-fit:contain;margin:0 auto 8px}
.routes-page .route-body :where(.spot-grid,.spots-grid,.tip-grid,.tips-grid,.food-grid,.route-grid,.info-grid,.two-column,.feature-grid,.gourmet-grid,.history-grid,.photo-grid,.gallery-grid,.photo-gallery,.purpose-grid,.faq-grid,.recommended-grid,.quick-grid,.highlights-grid) {align-items:stretch;row-gap:16px}
.routes-page .route-photo-zoom,.routes-page .goshuin-zoom-link {position:relative}
.routes-page .route-gallery-image .route-photo-zoom {display:block;width:100%;height:100%}
.routes-page .route-gallery-image .route-photo-zoom::after {content:"拡大して見る";position:absolute;right:8px;bottom:8px;padding:4px 8px;border-radius:99px;background:#182b24d9;color:#fff;font-size:10px;font-weight:700;letter-spacing:.03em;opacity:.9}
.routes-page .route-body .goshuin-item a::after {content:"拡大";display:inline-block;margin-top:4px;color:#8b312a;font-size:10px;font-weight:700}
.routes-page .route-body .goshuin-box > .goshuin-zoom-link::after {content:"クリックで拡大";display:block;text-align:center;color:#8b312a;font-size:10px;font-weight:700;margin-top:-3px}

/* 川越ページの時間表は、コースごとに見出しと説明をひとまとまりにします。 */
.routes-page #timeline .timeline-overview {margin-bottom:18px}
.routes-page #timeline .timeline-plan {margin:0 0 22px;padding:18px;background:#fffdf9;border:1px solid #e4d6c4;border-radius:9px;box-shadow:0 4px 14px #40301b0b}
.routes-page #timeline .timeline-plan-full-day {border-top:4px solid #9d7140;background:linear-gradient(180deg,#fbf5ea 0,#fffdf9 130px)}
.routes-page #timeline .timeline-plan-heading {display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,.85fr);align-items:end;gap:14px;margin-bottom:14px;padding-bottom:13px;border-bottom:1px solid #dfd1bc}
.routes-page #timeline .timeline-plan-heading h3 {margin:3px 0 0;font-size:clamp(18px,1.9vw,23px);line-height:1.45;color:#34251e}
.routes-page #timeline .timeline-plan-heading p {margin:0;color:#6d6257;font-size:12px;line-height:1.8}
.routes-page #timeline .timeline-plan-kicker {display:block;color:#a17a46;font:700 10px/1.4 Georgia,serif;letter-spacing:.16em}
.routes-page #timeline .timeline-wrap {overflow-x:auto;border:1px solid #e7ddcf;border-radius:6px;background:#fff}
.routes-page #timeline .timeline-table {table-layout:fixed;font-size:12px}
.routes-page #timeline .timeline-table th:first-child {width:16%}
.routes-page #timeline .timeline-table th:nth-child(2) {width:27%}
.routes-page #timeline .timeline-table td {line-height:1.75}
.routes-page #timeline .timeline-table .timeline-time {white-space:nowrap;color:#9b211a;font-weight:800}
.routes-page #timeline .timeline-table .timeline-spot {font-weight:800;color:#403129}
.routes-page #timeline .timeline-table tbody tr:nth-child(even) {background:#fcf9f3}
.routes-page #timeline .timeline-table tbody tr:hover {background:#f7f0e4}
.routes-page #timeline .timeline-table td.timeline-note {color:#60564c}
.route-lightbox {width:min(1180px,96vw);max-width:96vw;max-height:96dvh;padding:0;border:0;border-radius:12px;background:transparent;overflow:hidden}
.route-lightbox::backdrop {background:rgba(13,20,16,.84);backdrop-filter:blur(3px)}
.route-lightbox-panel {display:flex;flex-direction:column;max-height:94dvh;background:#fbf8f1;border:1px solid #c9b790;border-radius:12px;overflow:hidden;box-shadow:0 20px 70px #0006}
.route-lightbox-header {display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 14px;border-bottom:1px solid #e2d5c3;background:#fffdf8}
.route-lightbox-caption {margin:0;color:#382c23;font-size:13px;font-weight:800}
.route-lightbox-actions {display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:7px}
.route-lightbox-actions button {display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:6px 10px;border:1px solid #d6c4a7;border-radius:5px;background:#fbf5e9;color:#74452c;font-size:11px;font-weight:800;text-decoration:none;cursor:pointer}
.route-lightbox-actions button:hover {background:#f0e2cb;color:#7d201b}
.route-lightbox-close {background:#792c25!important;color:#fff!important;border-color:#792c25!important}
.route-lightbox-stage {display:grid;place-items:center;max-height:calc(94dvh - 58px);min-height:180px;padding:12px;overflow:auto}
.route-lightbox-image {display:block;max-width:min(100%,1100px);max-height:calc(94dvh - 90px);width:auto;height:auto;object-fit:contain}

/* ルート記事で使う補足カードや時間表の枠を共通化します。 */
.routes-page .route-body :where(.day-box,.tips-card,.nearby-card) {min-width:0;padding:15px;background:#fffdf9;border:1px solid #e5d8c7;border-radius:7px;box-shadow:0 3px 11px #40301b0a}
.routes-page .route-body .day-box strong {display:block;margin-bottom:5px;color:#745333;font-size:13px}
.routes-page .route-body .day-box p {margin:0;font-size:12px}
.routes-page .route-body .two-day {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.routes-page .route-body .two-day .day-box:last-child:nth-child(odd) {grid-column:1/-1}
.routes-page .route-body .notice {margin:16px 0 0;padding:11px 14px;border-left:3px solid #b28a50;background:#f8f1e5;color:#655849;font-size:12px;line-height:1.8}
.routes-page .route-body .train-route {margin:18px 0 0;padding:17px;background:#f7f2e9;border:1px solid #e5d8c7;border-radius:8px}
.routes-page .route-body .train-route > h3 {margin:0 0 6px;color:#35271f}
.routes-page .route-body .train-route > p {margin:0 0 12px;color:#6a6055;font-size:12px}
.routes-page .route-body .schedule-card {margin-top:12px;padding:15px;background:#fffdf9;border:1px solid #e2d4bf;border-radius:7px;box-shadow:0 3px 11px #40301b0a}
.routes-page .route-body .schedule-card > h3 {margin:0 0 5px}
.routes-page .route-body .schedule-card .meta-info {margin-bottom:8px;color:#8a693e;font-size:11px;font-weight:800}
.routes-page .route-body .schedule-card .schedule-note {margin:6px 0 10px;color:#635a50;font-size:12px}
.routes-page .route-body .schedule-card .break {margin:12px 0;padding:8px 11px;border-left:3px solid #b28a50;background:#f8f1e5;color:#634c35;font-size:12px;line-height:1.75}
.routes-page .route-body .nearby-guide {margin-top:22px;padding:16px;background:#f8f3e9;border:1px solid #e5d8c7;border-radius:9px}
.routes-page .route-body .nearby-heading {display:grid;grid-template-columns:minmax(0,1fr) minmax(250px,.8fr);align-items:end;gap:12px;margin-bottom:12px;padding-bottom:10px;border-bottom:1px solid #dfd1bc}
.routes-page .route-body .nearby-heading h3 {margin:3px 0 0}
.routes-page .route-body .nearby-heading p {margin:0;color:#6d6257;font-size:12px}
.routes-page .route-body .nearby-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;align-items:stretch}
.routes-page .route-body .nearby-card {display:flex;flex-direction:column;height:100%}
.routes-page .route-body .nearby-type {display:inline-flex;align-self:flex-start;padding:3px 8px;border-radius:99px;background:#f1e6d3;color:#7b5c35;font-size:10px;font-weight:800}
.routes-page .route-body .nearby-card h4 {margin:7px 0 3px;color:#3c2d23;font-size:16px;line-height:1.5}
.routes-page .route-body .nearby-card p {flex:1;margin:2px 0 12px;color:#655b50;font-size:12px}
.routes-page .route-body .nearby-footer {display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:7px;margin-top:auto;padding-top:9px;border-top:1px solid #eee4d7}
.routes-page .route-body .nearby-footer span {color:#796d5d;font-size:10px}
.routes-page .route-body .nearby-footer a {color:#8e2d25;font-size:11px;font-weight:800;text-decoration:underline;text-underline-offset:3px}
.routes-page .route-body .nearby-caution {margin:10px 0 0;color:#756959;font-size:11px}
.routes-page .route-body .section#history .feature-band {padding:16px;background:#f7f2e9;border:1px solid #e4d6c4;border-radius:9px}
.routes-page .route-body .route > .route-card {height:100%}
.routes-page #route > .container > .route {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:stretch}
.routes-page #route > .container > .route > .route-card {margin:0}
.routes-page .route-body .goshuin-list {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.routes-page .route-body .goshuin-box {min-width:0;padding:10px;background:#fffaf3;border:1px solid #e7dac8;border-radius:6px}
.routes-page .route-body .goshuin-box ul {margin:7px 0 0;padding-left:18px;color:#665b50;font-size:11px}
.routes-page .route-body .goshuin-box li {margin:2px 0}
.routes-page #timeline .timeline-table th {padding:11px;background:#eee4d3;color:#48382c;font-size:11px}
.routes-page #timeline .timeline-table td {padding:10px 11px;border-color:#e8dfd2}
.routes-page #timeline .timeline-plan-half-day .timeline-plan-heading {border-bottom-color:#e7dfd3}
@media(max-width:1000px){
 .routes-page .route-body .goshuin-gallery {grid-template-columns:repeat(3,minmax(0,1fr))}
 .routes-page #photos .route-photo-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
 .routes-page #history .feature-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
 .routes-page #timeline .timeline-plan-heading {grid-template-columns:minmax(0,1fr)}
 .routes-page .route-body .nearby-heading {grid-template-columns:minmax(0,1fr)}
 .routes-page .route-body .nearby-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:640px){
 .routes-page .route-body section.section,
 .routes-page .route-body section.quick-section,
 .routes-page .route-body section.summary-panel,
 .routes-page .route-body section:not([class]) {padding-top:18px;padding-bottom:4px;margin-bottom:0}
 .routes-page .route-body .goshuin-gallery {grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .routes-page .route-body .goshuin-item img {height:145px}
 .routes-page #photos .route-photo-grid,
 .routes-page #history .feature-grid {grid-template-columns:minmax(0,1fr)}
 .routes-page #photos .route-photo-grid .route-photo-zoom {height:230px}
 .routes-page #timeline .timeline-plan {margin-bottom:16px;padding:12px}
 .routes-page #timeline .timeline-plan-heading {gap:5px;margin-bottom:10px;padding-bottom:10px}
 .routes-page .route-body .two-day,.routes-page .route-body .goshuin-list {grid-template-columns:minmax(0,1fr)}
 .routes-page #route > .container > .route {grid-template-columns:minmax(0,1fr);gap:10px}
 .routes-page .route-body .two-day .day-box:last-child:nth-child(odd) {grid-column:auto}
 .routes-page .route-body .train-route {margin-top:14px;padding:12px}
 .routes-page .route-body .schedule-card {padding:11px}
 .routes-page .route-body .nearby-guide {margin-top:16px;padding:12px}
 .routes-page .route-body .nearby-grid {grid-template-columns:minmax(0,1fr);gap:9px}
 .routes-page #timeline .timeline-wrap {overflow:visible;border:0;background:transparent}
 .routes-page #timeline .timeline-table {display:block;width:100%;background:transparent}
 .routes-page #timeline .timeline-table thead {position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
 .routes-page #timeline .timeline-table tbody {display:grid;gap:9px}
 .routes-page #timeline .timeline-table tbody tr {display:grid;grid-template-columns:minmax(82px,.65fr) minmax(0,2fr);overflow:hidden;border:1px solid #e4d8c8;border-radius:7px;background:#fff;box-shadow:0 2px 8px #40301b0a}
 .routes-page #timeline .timeline-table tbody tr:nth-child(even) {background:#fff}
 .routes-page #timeline .timeline-table td {display:block;padding:9px 10px;border:0;border-bottom:1px solid #eee5d8;font-size:12px}
 .routes-page #timeline .timeline-table td.timeline-time {grid-column:1;background:#f7efe2;color:#8f261e;white-space:normal}
 .routes-page #timeline .timeline-table td.timeline-spot {grid-column:2;align-self:center}
 .routes-page #timeline .timeline-table td.timeline-note {grid-column:1 / -1;border-bottom:0}
 .routes-page #timeline .timeline-table td::before {display:block;margin-bottom:3px;color:#917c62;font-size:9px;font-weight:800;letter-spacing:.08em}
 .routes-page #timeline .timeline-table td::before {content:attr(data-label)}
 .route-lightbox {width:100vw;max-width:100vw;max-height:100dvh;border-radius:0}
 .route-lightbox-panel {max-height:100dvh;border-radius:0}
 .route-lightbox-header {align-items:flex-start;flex-direction:column;padding:10px 12px}
 .route-lightbox-actions {width:100%;justify-content:flex-end}
 .route-lightbox-stage {max-height:calc(100dvh - 104px);padding:8px}
 .route-lightbox-image {max-height:calc(100dvh - 124px)}
}

/* 川越の時間表は、上の参拝ルートや半日コースと見た目で区別する。 */
.routes-page #timeline.section {margin-top:30px!important;padding-top:30px!important;border-top:1px solid #d9cbb7;background:linear-gradient(180deg,#f6f1e8 0,#fffdf8 260px)}
.routes-page #timeline .timeline-overview {margin-bottom:22px}
.routes-page #timeline .timeline-plan {margin:0 0 26px;padding:20px;background:#fff;border-color:#ded1bf}
.routes-page #timeline .timeline-plan-half-day {margin-bottom:28px}
.routes-page #timeline .timeline-plan-full-day {margin-top:0;padding:22px;border:1px solid #d8c7ad;border-left:5px solid #977044;background:linear-gradient(135deg,#f8f0e2 0,#fffdf9 42%);box-shadow:0 8px 24px #49391f12}
.routes-page #timeline .timeline-plan-full-day .timeline-plan-heading {border-bottom:1px solid #d8c7ad}
.routes-page #timeline .timeline-plan-full-day .timeline-plan-kicker {color:#8c6331}

/* 御朱印は左に小さなサムネイル、右に授与情報を置く横型カードに統一。 */
.routes-page .route-body .goshuin-list {grid-template-columns:minmax(0,1fr);gap:8px}
.routes-page .route-body .goshuin-box {display:grid;grid-template-columns:88px minmax(0,1fr);align-items:center;gap:10px;padding:9px 11px;background:#fffdf9;border-color:#e3d8c9}
.routes-page .route-body .goshuin-box > .goshuin-zoom-link {position:relative;display:flex;align-items:center;justify-content:center;width:88px;height:104px;overflow:hidden;border-radius:4px;background:#f4eee4}
.routes-page .route-body .goshuin-box > .goshuin-zoom-link img {display:block;width:100%;height:100%;margin:0;object-fit:contain;padding:4px}
.routes-page .route-body .goshuin-box > .goshuin-zoom-link::after {content:"拡大して見る";position:absolute;left:4px;right:4px;bottom:4px;margin:0;padding:3px 2px;border-radius:3px;background:#20382fe8;color:#fff;text-align:center;font-size:9px;font-weight:700;line-height:1.4}
.routes-page .route-body .goshuin-box ul {margin:0;padding-left:16px;font-size:11px;line-height:1.65}
.routes-page .route-body .goshuin-box li:first-child {color:#3d3025;font-weight:800}

/* Lightboxはネイティブdialogに依存せず、全対応ブラウザーでページ上に表示する。 */
.route-lightbox {position:fixed;inset:0;z-index:1000;display:grid;place-items:center;width:100%;max-width:none;height:100%;max-height:none;margin:0;padding:20px;border:0;border-radius:0;background:rgba(13,20,16,.88);backdrop-filter:blur(3px);overflow:auto}
.route-lightbox[hidden] {display:none!important}
.route-lightbox-panel {width:min(1180px,100%);max-height:calc(100dvh - 40px);background:#fbf8f1;border:1px solid #c9b790;border-radius:12px;overflow:hidden;box-shadow:0 20px 70px #0008}
.route-lightbox-header {position:relative;z-index:1}
.route-lightbox-stage {display:grid;place-items:center;max-height:calc(100dvh - 112px);min-height:180px;padding:14px;overflow:auto}
.route-lightbox-image {max-width:min(100%,1100px);max-height:calc(100dvh - 144px)}
.route-lightbox button:focus-visible {outline:3px solid #a41614;outline-offset:2px}
body.route-lightbox-open {overflow:hidden}
@media(max-width:640px){
 .routes-page #timeline.section {margin-top:20px!important;padding-top:20px!important}
 .routes-page #timeline .timeline-plan-half-day {margin-bottom:18px}
 .routes-page #timeline .timeline-plan-full-day {padding:13px 12px;border-left-width:4px}
 .routes-page .route-body .goshuin-box {grid-template-columns:76px minmax(0,1fr);gap:9px;padding:8px}
 .routes-page .route-body .goshuin-box > .goshuin-zoom-link {width:76px;height:94px}
 .routes-page .route-body .goshuin-box ul {font-size:10px}
 .route-lightbox {padding:8px}
 .route-lightbox-panel {max-height:calc(100dvh - 16px);border-radius:8px}
 .route-lightbox-header {align-items:flex-start;flex-direction:column;padding:10px}
 .route-lightbox-actions {width:100%;justify-content:flex-end}
 .route-lightbox-stage {max-height:calc(100dvh - 116px);padding:8px}
 .route-lightbox-image {max-height:calc(100dvh - 148px)}
}

/* 厚木・飯山・七沢の参拝計画ページ：写真のない段階では専用の図案背景を表示する */
.routes-hero[data-route="planned-atsugi-goshuin"]{background-image:radial-gradient(ellipse at 83% 78%,#78977d 0%,transparent 40%),linear-gradient(123deg,#152e29,#37594a 68%,#8c966d);}
.routes-hero[data-route="planned-atsugi-goshuin"]::before{background:linear-gradient(100deg,rgba(17,36,28,.86),rgba(17,36,28,.47) 80%);}
.route-teaser-visual--atsugi{display:grid;place-items:center;background:radial-gradient(ellipse at 80% 120%,#7f9673 0%,transparent 58%),linear-gradient(118deg,#1b352e,#526f5e);}
.atsugi-card-art{text-align:center;display:flex;flex-direction:column;gap:3px;color:#fdf4df;text-shadow:0 2px 8px #1b352e;transform:translateY(-3px)}
.atsugi-card-art span{letter-spacing:.25em;font:700 12px Georgia,serif;}
.atsugi-card-art strong{font:700 23px/1.4 var(--serif);letter-spacing:.07em;}
.atsugi-card-art small{letter-spacing:.16em;font:700 9px Georgia,serif;}
.atsugi-time-list{padding:0;list-style:none;margin:12px 0 0;}
.atsugi-time-row{display:grid;grid-template-columns:58px minmax(0,1fr);align-items:start;gap:10px;border-top:1px solid #e7ded1;padding:9px 0;}
.atsugi-time-row time{color:#a41614;font:700 14px/1.7 Georgia,serif;white-space:nowrap;}
.atsugi-time-row strong{font-size:14px;}
.atsugi-time-row p{font-size:12px;margin:2px 0 0;line-height:1.65;}
.atsugi-food-grid .food-card{display:flex;flex-direction:column;gap:4px;}
.atsugi-food-grid .food-card .spot-actions{margin-top:auto;}
.atsugi-food-area{font-size:11px;color:#916a3e;font-weight:700;letter-spacing:.02em;}
.atsugi-food-grid .food-card h3{margin:1px 0 5px;}
.atsugi-food-grid .food-card p{margin:2px 0 7px;}
.atsugi-fine-note{font-size:12px;color:#645c50;}
.atsugi-cafe-note{border-left:3px solid #99713b;padding:11px 14px;background:#fff7e8;margin-top:15px;color:#4b3a2e;}
.atsugi-cafe-note strong{font-size:14px;}
.atsugi-cafe-note p{font-size:12px;margin:4px 0 0;line-height:1.7;}
.atsugi-cafe-note a{color:#9f2819;text-decoration:underline;text-underline-offset:3px;}
.atsugi-safety-note{font-size:12px;color:#665949;}
@media(max-width:640px){.atsugi-time-row{grid-template-columns:52px minmax(0,1fr);gap:8px;}}

/* 水上・沼田の参拝予定ルート：画像を流用せず、山並みの図案で統一 */
.routes-hero[data-route="planned-minakami-numata-goshuin"]{background-image:radial-gradient(ellipse at 79% 92%,#58735c 0%,transparent 46%),linear-gradient(120deg,#17302e 0%,#315d5d 62%,#828f6b 100%);}
.routes-hero[data-route="planned-minakami-numata-goshuin"]::before{background:linear-gradient(100deg,rgba(18,38,37,.84),rgba(18,38,37,.32) 90%);}
.route-teaser-visual--minakami{display:grid;place-items:center;background:radial-gradient(ellipse at 50% 110%,#a2ae8c 0%,transparent 60%),linear-gradient(130deg,#24433e,#698071);}
.minakami-card-art{text-align:center;display:flex;flex-direction:column;gap:3px;color:#fff9e8;text-shadow:0 2px 8px #18332f;transform:translateY(-3px);}
.minakami-card-art span{letter-spacing:.16em;font:700 11px Georgia,serif;}
.minakami-card-art strong{font:700 24px/1.4 var(--serif);letter-spacing:.06em;}
.minakami-card-art small{letter-spacing:.14em;font:700 10px Georgia,serif;}
.minakami-route-body .minakami-attention{margin:15px 0 0;padding:11px 13px;border-left:3px solid #a5753f;background:#fff9ed;font-size:13px;line-height:1.75;color:#66533e;}
.minakami-route-body .minakami-after{margin-top:18px;padding:15px;border:1px solid #e5d7c1;background:#fffdf8;border-radius:6px;}
.minakami-route-body .minakami-after h3{margin:0 0 6px;font-size:17px;}
.minakami-route-body .minakami-after p{margin:0 0 12px;}


/* 筑波ルート：山の稜線をモチーフにしたサムネイルと2種類の行程表 */
.routes-hero[data-route="planned-tsukuba-goshuin"] {
  background:radial-gradient(ellipse at 78% 92%,#8b9470 0%,transparent 47%),linear-gradient(117deg,#172b30 0%,#2b5350 58%,#829a82 100%);
}
.routes-hero[data-route="planned-tsukuba-goshuin"]::before {
  background:linear-gradient(100deg,rgba(15,37,39,.86),rgba(20,49,51,.28) 92%);
}
.route-teaser-visual--tsukuba {
  display:grid;place-items:center;background:radial-gradient(ellipse at 70% 120%,#a5ae89 0%,transparent 55%),linear-gradient(130deg,#1b3b3c,#557d69);
}
.route-teaser-visual--tsukuba::before {
  content:"";position:absolute;inset:22% 0 0;
  background:linear-gradient(150deg,rgba(202,214,182,.24),rgba(12,39,41,.44));
  clip-path:polygon(0 88%,20% 44%,29% 60%,48% 21%,63% 61%,75% 34%,100% 88%,100% 100%,0 100%);
}
.tsukuba-card-art {position:relative;z-index:1;display:flex;align-items:center;flex-direction:column;gap:6px;text-align:center;color:#fff9eb;text-shadow:0 2px 9px #142c2e;}
.tsukuba-card-art span {font:700 10px Georgia,serif;letter-spacing:.19em;}
.tsukuba-card-art strong {font:700 22px/1.25 var(--serif);letter-spacing:.02em;}
.tsukuba-card-art small {font:700 9px Georgia,serif;letter-spacing:.1em;}
.tsukuba-route-body .tsukuba-time-list {margin:11px 0 0;padding:0;list-style:none;}
.tsukuba-route-body .tsukuba-time-row {display:grid;grid-template-columns:100px minmax(0,1fr);gap:12px;align-items:start;padding:11px 0;border-top:1px solid #e9dfd1;}
.tsukuba-route-body .tsukuba-time-row time {font:700 13px/1.6 Georgia,serif;color:#983224;white-space:nowrap;}
.tsukuba-route-body .tsukuba-time-row strong {font-size:14px;}
.tsukuba-route-body .tsukuba-time-row p {font-size:12px;margin:3px 0 0;line-height:1.7;}
.tsukuba-route-body :where(.tsukuba-attention,.tsukuba-transport-note) {margin:14px 0 0;padding:12px 14px;border-left:3px solid #9a7647;background:#fff8e9;font-size:13px;line-height:1.75;}
.tsukuba-route-body .tsukuba-transport-note {margin:0;border-left-color:#9c3a2a;background:#fff6eb;}
.tsukuba-route-body .tsukuba-transport-note strong {font-size:15px;}
.tsukuba-route-body .tsukuba-transport-note p {margin:3px 0 0;}
.tsukuba-route-body :where(.tsukuba-attention,.tsukuba-transport-note) a {color:#932719;text-decoration:underline;text-underline-offset:3px;}
.tsukuba-route-body .tsukuba-mountain-intro {margin-bottom:14px;padding:14px 16px;background:#fffdf8;border:1px solid #e3d9c9;border-radius:6px;}
.tsukuba-route-body .tsukuba-mountain-intro h3 {margin:0 0 8px;}
.tsukuba-route-body .tsukuba-mountain-intro p:last-child {margin-bottom:0;}
.tsukuba-route-body .tsukuba-quick-facts {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:14px;}
.tsukuba-route-body .tsukuba-quick-facts > div {padding:12px;background:#fffdf8;border:1px solid #e3d9c9;border-radius:6px;}
.tsukuba-route-body .tsukuba-quick-facts strong {font-size:13px;color:#7b4e27;}
.tsukuba-route-body .tsukuba-quick-facts p {font-size:12px;margin:4px 0 0;}
.tsukuba-route-body .tsukuba-wide-schedule {max-width:100%;}
@media(max-width:640px) {
  .tsukuba-route-body .tsukuba-time-row {grid-template-columns:88px minmax(0,1fr);gap:8px;}
  .tsukuba-route-body .tsukuba-time-row time {font-size:11px;}
  .tsukuba-route-body .tsukuba-quick-facts {grid-template-columns:1fr;gap:8px;}
}
