/*
Theme Name: まちの電気手帖
Author: MCソリューション
Version: 1.0
*/
*{box-sizing:border-box}html{color:#182f45;background:#faf8f0;font-family:"Hiragino Kaku Gothic ProN","Yu Gothic",sans-serif;line-height:1.8}body,figure,p,h1,h2,h3,dl,dd{margin:0}a{color:inherit;text-underline-offset:.3em}a:focus-visible{outline:3px solid #165b85;outline-offset:3px}header,footer{padding:15px 4%;display:flex;align-items:center;gap:22px;border-bottom:1px solid #b5c4c6}header small{font-size:13px}.brand,h1,h2,h3,.pill{font-family:"Hiragino Mincho ProN","Yu Mincho",serif}.brand{font-size:clamp(24px,2.5vw,38px);letter-spacing:.05em;font-weight:700}.brand i{color:#b56a14;font:normal 1em serif;margin-right:.28em}nav{margin-left:auto;display:flex;gap:32px}nav a,.menu a,.pill{text-decoration:none;font-weight:600}.hero,figure{background-color:#eaf5f5;background-image:linear-gradient(#bcdce155 1px,transparent 1px),linear-gradient(90deg,#bcdce155 1px,transparent 1px);background-size:12px 12px}.hero{display:grid;grid-template-columns:36% 64%;align-items:center;padding:18px 3% 18px 4%;border-bottom:1px solid #afc5ca}.intro p:not(.kicker){max-width:25em;line-height:1.95}.kicker{font-size:13px;font-weight:bold;letter-spacing:.14em;color:#4b6269}.room{width:100%;height:auto;display:block}.hero .room{max-height:79vh}h1{font-size:clamp(40px,4.6vw,82px);line-height:1.45;letter-spacing:.01em;margin:16px 0 24px}.pill{display:inline-block;background:#ffda62;border-radius:40px;padding:12px 28px;margin-top:25px}.marker{fill:#ffdb68}.fixture{fill:#f7f3de}.spot:is(:hover,:focus) .fixture,.spot:is(:hover,:focus) .marker,.sheet1 .s1 .fixture,.sheet2 .s2 .fixture,.sheet3 .s3 .fixture{fill:#ffbb23;stroke-width:3}.spot:focus{outline:none}.menu,.sheet,.info{width:min(1120px,92%);margin:0 auto;padding:48px 0}h2{font-size:clamp(25px,3vw,41px);line-height:1.5;margin-bottom:18px}.menu div,.turn{display:flex;gap:14px}.menu a{background:#fffdf7;border:1px solid #bbc8c7;flex:1;display:flex;align-items:center;gap:12px;padding:13px 16px}.menu span{margin-left:auto}.menu b{background:#ffdc70;border-radius:50%;padding:0 6px}.sheet{border-top:1px solid #b0bdbd;display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:28px 6%}.sheet h3{margin:20px 0 4px}.sheet p+a{display:inline-block;margin-top:12px}figure{padding:12px;border:1px solid #c5d5d5}figure .room{max-height:255px}figcaption{font-size:14px;margin:6px}.turn{grid-column:1/-1;justify-content:space-between;flex-wrap:wrap}.turn a{padding:8px 0}.info{border-top:1px solid #a7b7bc}.info h2{margin-top:20px}dl{max-width:780px}dt{font-weight:bold;margin-top:14px}dd{border-bottom:1px solid #d8d9cc;padding:2px 0 10px}.note{background:#fff6d8;padding:28px 4%;margin-bottom:42px}.note small{display:block;margin-top:20px}footer{background:#21384a;color:white;font-size:14px}li::marker{color:#776117}li{padding:3px} [id]{scroll-margin-top:12px}@media(prefers-reduced-motion:no-preference){.sheet:target figure{animation:page .38s ease-out;transform-origin:left center}@keyframes page{from{transform:perspective(800px) rotateY(-18deg);opacity:.65}to{transform:perspective(800px) rotateY(0);opacity:1}}}@media(max-width:740px){header{flex-wrap:wrap;gap:2px 12px;padding:8px 4%}header small{font-size:11px}nav{width:100%;margin:0;gap:18px;font-size:13px}nav a{padding:4px 0}.hero{display:block;padding:16px 5% 0}.intro h1{font-size:clamp(29px,8.4vw,44px);margin:4px 0 6px}.intro h1 br{display:none}.intro p:not(.kicker){font-size:14px;line-height:1.65}.hero .pill{display:none}.hero .room{height:auto;max-height:300px}.menu,.sheet,.info{padding:24px 0}.menu div,.sheet{display:grid;grid-template-columns:1fr;gap:8px}.menu a{min-height:48px}.sheet figure{margin-top:10px}.menu h2{font-size:22px;margin-bottom:10px}.turn{gap:0;font-size:14px}.turn a{min-height:44px}.note{padding:20px}.kicker{font-size:12px}.spot circle[fill=transparent]{r:45px}}
.atlas{position:relative}.atlas>.room{aspect-ratio:706/550}.pager{display:flex;align-items:center;justify-content:center;gap:10px;margin-top:-10px;padding-bottom:6px}.pager button{border:1px solid #84999b;border-radius:50%;width:44px;height:44px;background:#fffaf0;color:#173149;font-size:20px;cursor:pointer}.pager output{min-width:8em;text-align:center;font-size:13px}.atlas[data-page="1"] .s1 .fixture,.atlas[data-page="2"] .s2 .fixture,.atlas[data-page="3"] .s3 .fixture{fill:#ffbc31}
@media(min-width:741px){.hero{grid-template-columns:34% 66%;padding-right:2%}.intro{transform:translateY(-2.6vw)}h1{font-size:clamp(42px,5vw,84px);font-weight:600;line-height:1.38}.intro p:not(.kicker){font-size:clamp(16px,1.32vw,21px)}}
.room .fixture{fill:transparent;stroke:transparent}.spot:is(:hover,:focus) .fixture,.sheet1 .s1 .fixture,.sheet2 .s2 .fixture,.sheet3 .s3 .fixture,.atlas[data-page="1"] .s1 .fixture,.atlas[data-page="2"] .s2 .fixture,.atlas[data-page="3"] .s3 .fixture{fill:#ffd45160;stroke:#dd9c22;stroke-width:2}
@media(min-width:741px){.intro h1{font-size:clamp(32px,4.35vw,80px);white-space:nowrap}}
