/* 秩父三社めぐり特集：このページだけのスタイル。共通ヘッダー等は home.css を使用。 */
.cs-page{background:#faf7ee;color:#29231f}
.cs-page .cs-container{width:min(calc(100% - 56px),1140px);margin-inline:auto}
.cs-page .cs-crumb{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding-top:14px;padding-bottom:14px;font-size:11px;color:#7d7063}
.cs-crumb a:hover{color:#a41614}
.cs-hero{position:relative;min-height:430px;background:#eee5d7;isolation:isolate;overflow:hidden}
.cs-hero-photo{position:absolute;inset:0 0 0 39%;z-index:0}
.cs-hero-photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 45%}
.cs-hero:before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,#fbf5ea 0%,rgba(251,245,234,.97) 32%,rgba(251,245,234,.77) 44%,rgba(251,245,234,.12) 67%,rgba(39,25,14,.09) 100%);pointer-events:none}
.cs-hero-inner{position:relative;z-index:2;min-height:430px;display:flex;align-items:center}
.cs-hero-copy{max-width:575px;padding:26px 0}
.cs-kicker,.cs-label,.cs-small{font:700 11px/1.5 Georgia,var(--serif);letter-spacing:.18em;color:#8f6c42}
.cs-hero h1{margin:12px 0 15px;font:900 clamp(32px,3.9vw,55px)/1.32 var(--serif);letter-spacing:.02em;color:#402819}
.cs-hero h1 em{font-style:normal;color:#9e2820}
.cs-hero-copy>p{max-width:490px;margin:0;color:#4a4037;font-size:14px;line-height:1.95;font-weight:600}
.cs-hero-actions{display:flex;flex-wrap:wrap;align-items:center;gap:16px;margin-top:20px}
.cs-outline{display:inline-block;font-size:12px;font-weight:800;color:#7f2b21;border-bottom:1px solid #ac8a59;padding:7px 0}
.cs-overview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid #e7d9c5;border-top:0;background:#fffdfa;border-radius:0 0 9px 9px;box-shadow:0 6px 18px #5e46380c}
.cs-overview>div{min-width:0;text-align:center;padding:15px 10px;display:grid;gap:3px}
.cs-overview>div+div{border-left:1px solid #eee5d8}
.cs-overview strong{font:800 clamp(17px,2vw,25px)/1.3 var(--serif);color:#9b3227}
.cs-overview span{font:700 11px/1.4 var(--sans);color:#68594b}
.cs-intro{margin:24px 0 20px;font-size:14px;line-height:2;color:#55483b}
.cs-jump{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 25px;padding:11px;border:1px solid #e3d7c5;background:#fffcf7;border-radius:7px}
.cs-jump a{padding:7px 13px;border:1px solid #ded1bd;border-radius:4px;background:#fff;font-weight:700;font-size:11px;color:#77513a}
.cs-jump a:hover{border-color:#c3a77b;background:#fdf4e8}
.cs-section{padding:0 0 25px;margin:0 0 25px;border-bottom:1px solid #e6d9c8;scroll-margin-top:95px}
.cs-heading{margin-bottom:18px}
.cs-heading h2{font:900 clamp(23px,2.4vw,33px)/1.4 var(--serif);letter-spacing:.02em;margin:5px 0 7px;color:#402819}
.cs-heading h2:after{content:"";display:block;width:52px;height:2px;margin-top:9px;background:linear-gradient(90deg,#aa8050,#d6c3a5)}
.cs-heading>p{margin:0;font-size:13px;line-height:1.85;color:#635749}
.cs-shrine{padding:22px 22px 20px;margin:0 0 22px;background:#fffdfa;border:1px solid #e4d6c2;border-radius:9px;box-shadow:0 5px 16px #5741270a;scroll-margin-top:96px}
.cs-shrine:last-child{margin-bottom:0}
.cs-shrine-title{display:flex;align-items:center;gap:14px;margin-bottom:15px}
.cs-shrine-title h3{font:900 clamp(23px,2.5vw,33px)/1.35 var(--serif);margin:3px 0;color:#402a1d}
.cs-shrine-title h3 span{font-size:13px;font-weight:500;white-space:nowrap;color:#7f7467}
.cs-shrine-title p{font-size:12px;color:#716051;margin:0}
.cs-feature-photo{position:relative;overflow:hidden;border-radius:6px;max-height:330px;aspect-ratio:1140/400;margin-bottom:15px;background:#ddd3c3}
.cs-feature-photo>img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 47%}
.cs-feature-photo>span{position:absolute;bottom:9px;right:12px;font-size:10px;color:white;background:#241b13a8;border-radius:2px;padding:4px 9px}
.cs-copy>p{font-size:13px;line-height:2;margin:0 0 12px;color:#504235}
.cs-copy strong{color:#79362b}
.cs-copy ul{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;padding:0;margin:14px 0;list-style:none}
.cs-copy li{border:1px solid #ede2d2;background:#fbf5ea;border-radius:4px;padding:9px 10px;font-size:11px;line-height:1.7;color:#6c5747}
.cs-links{display:flex;flex-wrap:wrap;gap:11px 20px;margin:13px 0 14px}
.cs-links a,.cs-textlink{font-weight:800;font-size:12px;color:#9b3329;text-decoration:underline;text-underline-offset:4px;text-decoration-color:#c5a47b}
.cs-gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:14px}
.cs-gallery figure{margin:0;min-width:0;background:#f4eee4;border:1px solid #e9ddcd;border-radius:5px;overflow:hidden}
.cs-gallery .cs-photo-open{display:block;overflow:hidden;aspect-ratio:1.45;background:#ede4d8;width:100%;padding:0;border:0;cursor:zoom-in}
.cs-gallery img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .22s ease}
.cs-gallery .cs-photo-open:hover img{transform:scale(1.035)}
.cs-gallery figcaption{padding:8px 10px;font-size:10px;line-height:1.45;color:#67584a}
.cs-goshuin{padding-top:3px}
.cs-goshuin-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.cs-goshuin-grid figure{margin:0;display:flex;flex-direction:column;align-items:center;border:1px solid #e5d6c3;background:#fffdfa;border-radius:6px;padding:15px 12px 12px}
.cs-goshuin-grid .cs-photo-open{width:100%;display:grid;place-items:center;min-height:245px;background:#f7f2e9;border-radius:4px;border:0;padding:0;cursor:zoom-in}
.cs-goshuin-grid img{max-width:100%;width:auto;height:270px;object-fit:contain}
.cs-goshuin-grid figcaption{text-align:center;display:grid;gap:3px;padding-top:9px}
.cs-goshuin-grid figcaption strong{font-size:16px;color:#432e22}
.cs-goshuin-grid figcaption span{font-size:11px;color:#7a6c5c}
.cs-fine{margin:13px 0 0;font-size:11px;line-height:1.85;color:#716456}
.cs-plan{margin:0 0 18px;background:#fffdfa;border:1px solid #dfd1bc;border-radius:8px;padding:18px 20px 20px}
.cs-plan:last-child{margin-bottom:0}
.cs-plan-head{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:10px}
.cs-plan-tag{font:800 11px/1.4 Georgia,serif;letter-spacing:.14em;color:#a07541}
.cs-plan h3{margin:4px 0 7px;font:900 clamp(20px,2vw,27px)/1.45 var(--serif);color:#4e2f23}
.cs-plan-head p{font-size:12px;line-height:1.85;color:#6e5d50;margin:0}
.cs-plan-symbol{font-size:36px;background:#faf3e8;border-radius:50%;width:67px;height:67px;display:grid;place-items:center;flex:0 0 67px}
.cs-plan-info{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:15px}
.cs-plan-info span{background:#f7eddd;border:1px solid #e5d0b1;border-radius:4px;color:#815f3e;font-size:11px;font-weight:700;padding:5px 9px}
.cs-table-wrap{overflow-x:auto;max-width:100%}
.cs-timeline{width:100%;border-collapse:collapse;min-width:420px}
.cs-timeline caption{text-align:left;font-size:11px;color:#817464;padding:0 0 6px}
.cs-timeline tr{border-top:1px solid #ece1d1}
.cs-timeline th{width:174px;padding:11px 8px;text-align:left;white-space:nowrap;font:800 13px/1.5 Georgia,var(--sans);color:#8c6245;vertical-align:top}
.cs-timeline td{padding:11px 7px;font-size:13px;line-height:1.6;vertical-align:top}
.cs-timeline td strong{display:block;color:#3e3028}
.cs-timeline td span{display:block;font-size:11px;color:#756759;margin-top:3px}
.cs-important,.cs-alert,.cs-tip{background:#fbf3e7;border-left:3px solid #b88144;padding:12px 15px;border-radius:0 5px 5px 0;margin:15px 0 10px}
.cs-important strong,.cs-alert h3,.cs-tip strong{font-size:13px;color:#724a2e}
.cs-important p,.cs-tip p{font-size:12px;line-height:1.85;margin:5px 0 0;color:#5f534a}
.cs-costs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.cs-cost-card{background:#fffdfa;border:1px solid #dfd1bd;border-radius:7px;padding:19px}
.cs-cost-card>span{font:800 11px Georgia,var(--sans);letter-spacing:.08em;color:#997b51}
.cs-cost-card>strong{display:block;font:900 28px/1.3 var(--serif);color:#9d3329;margin:8px 0}
.cs-cost-card>p{font-size:12px;margin:0 0 13px;color:#786a59}
.cs-cost-card dl{margin:0}
.cs-cost-card dl>div{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-top:1px solid #eee4d6;font-size:12px}
.cs-cost-card dt{color:#594e42}
.cs-cost-card dd{margin:0;text-align:right;font-weight:800;white-space:nowrap}
.cs-places{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.cs-places article{display:flex;flex-direction:column;background:#fffdfa;border:1px solid #e4d5c0;border-radius:6px;padding:14px;min-width:0}
.cs-place-type{font-size:10px;font-weight:800;color:#9b7551;letter-spacing:.08em}
.cs-places h3{font:900 17px/1.5 var(--serif);color:#4d3326;margin:5px 0 7px}
.cs-places p{font-size:11px;line-height:1.9;color:#5c5046;margin:0 0 12px;flex:1}
.cs-places a{font-size:11px;color:#9c392d;font-weight:800;text-decoration:underline;text-underline-offset:4px}
.cs-seasons{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.cs-seasons article{padding:15px 14px;background:#fffdfa;border:1px solid #e3d5c3;border-top:3px solid #b99a64;border-radius:4px}
.cs-seasons article:nth-child(1){border-top-color:#ce909b}.cs-seasons article:nth-child(2){border-top-color:#719e7a}.cs-seasons article:nth-child(3){border-top-color:#bc773a}.cs-seasons article:nth-child(4){border-top-color:#85a2b0}
.cs-seasons article>span{font:700 10px Georgia,serif;color:#9c7854;letter-spacing:.12em}
.cs-seasons h3{margin:5px 0 8px;font:800 17px/1.55 var(--serif);color:#513629}
.cs-seasons p{font-size:11px;line-height:1.95;color:#63584d;margin:0}
.cs-alert{margin-top:17px}
.cs-alert h3{margin:0 0 7px;font-size:16px}
.cs-alert ul{padding-left:20px;margin:0;color:#554b43;font-size:12px;line-height:1.95}
.cs-source-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.cs-source-grid a{display:block;padding:10px 14px;background:#fffdfa;border:1px solid #e5d6c4;border-radius:4px;color:#80523d;font-size:11px;font-weight:800}
.cs-source-grid a:hover{background:#fcf1e2}
.cs-end{text-align:center;background:#efe1cc;border:1px solid #d7c3a5;border-radius:8px;margin-bottom:26px;padding:25px 16px}
.cs-end h2{font:900 clamp(22px,2.5vw,32px)/1.4 var(--serif);color:#583327;margin:7px 0}
.cs-end p{font-size:12px;margin:0 0 15px;color:#655243}
.cs-end-links{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:16px}
/* 特集ページの写真・御朱印用ライトボックス */
.cs-photo-open:focus-visible{outline:3px solid #b97c32;outline-offset:3px}
.cs-lightbox{position:fixed;inset:0;margin:auto;width:min(1060px,calc(100vw - 28px));max-width:calc(100vw - 28px);max-height:calc(100dvh - 28px);border:1px solid #d6c2a6;border-radius:9px;padding:0;overflow:hidden;background:#fffbf5;color:#3e2b20;box-shadow:0 20px 75px #0007}
.cs-lightbox::backdrop{background:rgba(22,19,16,.85)}
.cs-lightbox-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 14px;border-bottom:1px solid #e8dbcc}
.cs-lightbox-caption{font:700 13px/1.5 var(--sans);margin:0;min-width:0}
.cs-lightbox-close{flex:none;border:1px solid #cfb99b;border-radius:5px;background:#fff7e9;color:#754534;font-size:12px;font-weight:700;padding:8px 13px;cursor:pointer}
.cs-lightbox-stage{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:10px;padding:12px;background:#f0e9df}
.cs-lightbox-image{display:block;width:auto;height:auto;max-width:100%;max-height:calc(100dvh - 160px);object-fit:contain;justify-self:center;box-shadow:0 3px 15px rgba(30,22,15,.12)}
.cs-lightbox-prev,.cs-lightbox-next{border:1px solid #d5c3ab;border-radius:50%;height:40px;width:40px;background:#fffdf9;color:#775039;font:30px/1 var(--serif);cursor:pointer}
.cs-lightbox button:focus-visible{outline:3px solid #b97c32;outline-offset:2px}
@media(max-width:520px){.cs-lightbox-toolbar{padding:8px 10px}.cs-lightbox-stage{grid-template-columns:30px minmax(0,1fr) 30px;gap:4px;padding:8px}.cs-lightbox-prev,.cs-lightbox-next{width:30px;height:34px;font-size:25px}.cs-lightbox-caption{font-size:11px}.cs-lightbox-image{max-height:calc(100dvh - 140px)}}
@media(max-width:1050px){.cs-places{grid-template-columns:repeat(2,minmax(0,1fr))}.cs-seasons{grid-template-columns:repeat(2,minmax(0,1fr))}.cs-hero-photo{left:35%}}
@media(max-width:760px){.cs-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.cs-page .cs-container{width:min(calc(100% - 30px),1140px)}.cs-hero{min-height:0}.cs-hero-photo{left:15%}.cs-hero:before{background:linear-gradient(90deg,#fbf5eaf0 0%,#fbf5eadb 45%,#fbf5eab8 72%,#fbf5ea90 100%)}.cs-hero-inner{min-height:350px}.cs-hero-copy{max-width:550px}.cs-overview{grid-template-columns:repeat(2,minmax(0,1fr))}.cs-overview>div:nth-child(3){border-left:0;border-top:1px solid #eee5d8}.cs-overview>div:nth-child(4){border-top:1px solid #eee5d8}.cs-shrine{padding:15px}.cs-feature-photo{aspect-ratio:16/9;max-height:300px}.cs-copy ul{grid-template-columns:1fr}.cs-costs{grid-template-columns:1fr}.cs-goshuin-grid{gap:9px}.cs-goshuin-grid figure{padding:10px 6px}.cs-goshuin-grid .cs-photo-open{min-height:0}.cs-goshuin-grid img{height:220px}}
@media(max-width:520px){.cs-page .cs-container{width:calc(100% - 28px)}.cs-hero-inner{min-height:340px}.cs-hero-copy{padding:25px 0}.cs-hero h1{font-size:clamp(30px,8vw,39px);margin:8px 0}.cs-hero-copy>p{font-size:12px;line-height:1.85}.cs-hero-actions{gap:12px;margin-top:13px}.cs-hero-actions .button{font-size:11px;min-height:43px;padding:9px 13px}.cs-overview>div{padding:11px 5px}.cs-overview strong{font-size:19px}.cs-overview span{font-size:10px}.cs-intro{margin:18px 0;font-size:12px;line-height:1.9}.cs-jump{gap:6px;margin-bottom:20px;padding:8px}.cs-jump a{font-size:10px;padding:6px 8px}.cs-section{margin-bottom:20px;padding-bottom:20px}.cs-heading h2{font-size:23px}.cs-heading>p{font-size:12px}.cs-shrine-title{gap:9px}.cs-shrine-title h3{font-size:23px}.cs-shrine-title h3 span{font-size:11px}.cs-shrine-title p{font-size:11px}.cs-feature-photo{aspect-ratio:3/2}.cs-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.cs-gallery .cs-photo-open{aspect-ratio:4/3}.cs-gallery figcaption{font-size:9px;padding:7px}.cs-goshuin-grid{gap:6px}.cs-goshuin-grid .cs-photo-open{min-height:150px}.cs-goshuin-grid img{height:160px}.cs-goshuin-grid figcaption strong{font-size:12px}.cs-goshuin-grid figcaption span{font-size:10px}.cs-plan{padding:14px 12px}.cs-plan h3{font-size:20px}.cs-plan-symbol{font-size:26px;width:48px;height:48px;flex-basis:48px}.cs-timeline{min-width:0}.cs-timeline th{width:102px;font-size:10px;padding:9px 5px}.cs-timeline td{font-size:11px;padding:9px 5px}.cs-timeline td span{font-size:10px}.cs-places,.cs-seasons{grid-template-columns:1fr 1fr;gap:8px}.cs-places article{padding:11px}.cs-places h3,.cs-seasons h3{font-size:15px}.cs-places p,.cs-seasons p{font-size:10px}.cs-seasons article{padding:11px}.cs-source-grid{grid-template-columns:1fr}.cs-end{padding:18px 12px}}
@media(max-width:360px){.cs-places,.cs-seasons{grid-template-columns:1fr}.cs-goshuin-grid img{height:137px}.cs-goshuin-grid figcaption span{display:none}.cs-goshuin-grid figcaption strong{font-size:11px}}
@media(prefers-reduced-motion:reduce){.cs-gallery img{transition:none}}
