
:root{
  /* fix58 palette A "clean modern" (owner choice, 2026-11-22): light
     gray bg, white cards, ONE vivid blue accent. Former cream/orange
     palette retired; see the fix58 override block at the end of CSS. */
  --ink:#191d23; --paper:#ffffff; --bg:#f5f6f8; --accent:#1668dc;
  --kasuri:#0f56b4; --gold:#1668dc; --line:#dde2e8;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{margin:0;font-family:"Hiragino Kaku Gothic ProN","Hiragino Sans","Noto Sans JP",sans-serif;
  background:var(--bg);color:var(--ink);line-height:1.7;-webkit-text-size-adjust:100%}
a{color:var(--kasuri)}
img{max-width:100%}
.wrap{max-width:760px;margin:0 auto;padding:0 14px}
/* ---------- search / floating menu button ---------- */
/* fix41 (owner, 2026-11-20): NO fixed frame anywhere — a sticky header
   bar (or a bottom bar) covers the content the visitor wants to see.
   The header bar is abolished; the search box is plain page content
   that scrolls away, and ONLY the hamburger button stays on screen,
   floating at the top-right and following the scroll (position:fixed). */
.head-search{padding:12px 0 2px}
.head-search .wrap{padding-right:70px}
.menu-btn{position:fixed;top:10px;right:10px;z-index:250;display:inline-flex;align-items:center;justify-content:center;width:46px;height:46px;border-radius:50%;background:rgba(255,253,247,.94);border:1px solid var(--line);box-shadow:0 2px 10px rgba(20,35,60,.28);backdrop-filter:blur(4px);padding:0;cursor:pointer}
.mb-bars{display:inline-flex;flex-direction:column;gap:5px}
.mb-bars i{display:block;width:23px;height:2.4px;background:#274156;border-radius:1px}
/* fix40: the menu opens as a modal (GIZUMO-style), not a header dropdown */
.menu-sheet{padding-top:16px}
.menu-title{font-weight:800;font-size:17px;color:#274156;letter-spacing:.05em;margin:0 40px 4px 0}
.menu-list{margin:0;padding:0}
.menu-list a{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:17px 2px;font-size:16.5px;font-weight:700;color:#274156;text-decoration:none;border-top:1px solid #f0ead9}
.menu-list a:first-child{border-top:0}
.menu-list .arr{color:#a07c1f;font-size:19px;font-weight:800;line-height:1}
.brand{font-weight:800;font-size:17px;color:var(--kasuri);text-decoration:none;letter-spacing:.04em}
.searchbox{position:relative}
.searchbox input{width:100%;padding:11px 14px;font-size:16px;border:2px solid var(--kasuri);
  border-radius:999px;background:#fff;outline:none;box-shadow:0 4px 12px rgba(29,53,87,.12)}
.search-results{position:absolute;left:0;right:0;top:calc(100% + 4px);background:#fff;border:1px solid var(--line);
  border-radius:12px;box-shadow:0 12px 30px rgba(20,30,50,.18);overflow:hidden;display:none;max-height:60vh;overflow-y:auto}
.search-results a{display:block;padding:10px 14px;text-decoration:none;color:var(--ink);border-bottom:1px solid #f0ead8}
.search-results a:last-child{border-bottom:none}
.search-results .rname{font-weight:700}
.search-results .rmeta{font-size:12px;color:#77808a}
.search-results .none{padding:12px 14px;color:#77808a;font-size:14px}
/* ---------- hero book ---------- */
.hero{padding:22px 0 8px;text-align:center;
  background:
   repeating-linear-gradient(45deg,rgba(29,53,87,.05) 0 14px,transparent 14px 28px),
   linear-gradient(180deg,#fdf8ec,#f4efe4)}
.hero .tagline{font-size:15px;color:#5a6672;margin:2px 0 14px}
.book-scene{width:min(88vw,400px);margin:0 auto;container-type:inline-size;perspective:1600px;perspective-origin:50% 42%;
  animation:scenefloat 5.5s ease-in-out infinite alternate;will-change:transform}
@keyframes scenefloat{from{transform:translateY(-4px)}to{transform:translateY(8px)}}
.book{position:relative;width:100%;aspect-ratio:1120/2240;transform-style:preserve-3d;
  transform:rotateX(6deg) rotateY(0deg);will-change:transform}
.book-shadow{width:80%;height:36px;margin:16px auto 0;border-radius:50%;
  background:radial-gradient(ellipse at center,rgba(12,24,40,.5) 0%,rgba(12,24,40,0) 68%);
  filter:blur(7px);transform-origin:50% 50%}
.face{position:absolute;backface-visibility:hidden;-webkit-backface-visibility:hidden}
.fshade{position:absolute;inset:0;background:#050f1c;opacity:0;pointer-events:none;transition:opacity .25s linear}
.face.back{inset:0;transform:rotateY(180deg) translateZ(50px);background:#274156;color:#f5efdd;
  border-radius:10px 4px 4px 10px;overflow:hidden;
  display:flex;flex-direction:column;justify-content:center;align-items:center;gap:10px;padding:24px;text-align:center;
  background-image:repeating-linear-gradient(0deg,rgba(255,255,255,.06) 0 10px,transparent 10px 20px),
   repeating-linear-gradient(90deg,rgba(255,255,255,.06) 0 10px,transparent 10px 20px);
  box-shadow:inset 0 0 0 2px rgba(245,239,221,.14)}
.face.back .bt{font-size:22px;font-weight:800;letter-spacing:.14em}
.face.back .bs{font-size:13px;opacity:.85;line-height:2}
.face.spine{top:0;bottom:0;left:0;width:100px;transform:translateZ(-50px) rotateY(-90deg);transform-origin:0 50%;
  background:linear-gradient(180deg,#16283f,#274156 30%,#1d3557 70%,#131f31);color:#f5efdd;
  box-shadow:inset 0 0 0 2px rgba(245,239,221,.12);overflow:hidden;
  display:flex;align-items:center;justify-content:center}
.face.spine span{writing-mode:vertical-rl;font-size:30px;font-size:10cqw;font-weight:700;letter-spacing:.22em;white-space:nowrap}
.face.fore{top:4px;bottom:4px;left:100%;width:100px;transform:translateZ(50px) rotateY(90deg);transform-origin:0 50%;
  background:repeating-linear-gradient(90deg,#cfc8ae 0 1px,#f7f3e2 1px 2px,#a8a186 2px 3px);
  border-block:1px solid #a8a186}
.face.topedge{top:0;left:4px;right:4px;height:100px;transform:translateZ(-50px) rotateX(90deg);transform-origin:50% 0;
  background:linear-gradient(180deg,rgba(255,255,255,.28),rgba(0,0,0,.06)),
   repeating-linear-gradient(0deg,#cfc8ae 0 1px,#f7f3e2 1px 2px,#a8a186 2px 3px)}
.face.botedge{top:100%;left:4px;right:4px;height:100px;transform:translateZ(50px) rotateX(-90deg);transform-origin:50% 0;
  background:linear-gradient(0deg,rgba(0,0,0,.22),rgba(0,0,0,0) 55%),
   repeating-linear-gradient(0deg,#b3ac93 0 1px,#e6e0cb 1px 2px,#8f8a70 2px 3px)}
.inside{position:absolute;inset:0;transform:translateZ(48px);background:#fffdf4;border-radius:4px 10px 10px 4px;
  padding:20px 18px;overflow:hidden;border:1px solid #e5dcc4}
.inside h3{margin:0 0 4px;font-size:17px;color:var(--kasuri);border-bottom:2px solid var(--gold);padding-bottom:6px}
.inside ul{list-style:none;margin:8px 0 0;padding:0;font-size:12.5px}
.inside li a{color:var(--ink);text-decoration:none;font-weight:700}
.inside li{padding:5px 2px;border-bottom:1px dotted #d8cfb2;display:flex;justify-content:space-between}
.inside li b{color:var(--kasuri)}
/* ---------- intro growth (2026-11-22, owner report from Shintotsukawa):
   the inside page used to sit in the book's fixed aspect-ratio box with
   overflow:hidden, so the town intro (and the closing note under it)
   was clipped at the page's lower edge. The intro is no longer cut at
   build time, and once the book is open (body.revealed) the inside
   page sits in flow and SIZES the book: the book grows with its
   content and never shrinks below the classic portrait (200cqw =
   the old 1120/2240 ratio against the scene width). The closed
   (gated) state keeps the aspect-ratio box, so the cover still fits
   the first screen exactly as before. ---------- */
body.revealed .book{aspect-ratio:auto;min-height:200cqw}
body.revealed .inside{position:relative;inset:auto;height:auto;overflow:visible}
.coverhinge{position:absolute;inset:0;transform:translateZ(50px);transform-origin:left center;
  transform-style:preserve-3d;transition:transform 1.15s cubic-bezier(.6,.02,.3,1)}
.book.open .coverhinge{transform:translateZ(50px) rotateY(-158deg)}
.cover{position:absolute;inset:0;border-radius:4px 10px 10px 4px;overflow:hidden;
  backface-visibility:hidden;-webkit-backface-visibility:hidden;
  box-shadow:inset 7px 0 16px rgba(0,0,0,.28),inset -1px 0 3px rgba(0,0,0,.2);cursor:pointer}
.coverback{position:absolute;inset:0;transform:rotateY(180deg) translateZ(1px);
  backface-visibility:hidden;-webkit-backface-visibility:hidden;
  border-radius:10px 4px 4px 10px;overflow:hidden;background:#f7efdb;color:var(--kasuri);
  background-image:repeating-linear-gradient(0deg,rgba(29,53,87,.07) 0 8px,transparent 8px 16px),
   repeating-linear-gradient(90deg,rgba(29,53,87,.07) 0 8px,transparent 8px 16px);
  display:flex;flex-direction:column;justify-content:center;align-items:center;gap:12px;
  padding:26px;text-align:center}
.coverback .ct{font-size:19px;font-weight:800;letter-spacing:.12em;line-height:1.6}
.coverback .cs{font-size:12.5px;line-height:2;color:#5a6672}
.cover img.art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.cover img.art.season{opacity:0;transition:opacity .6s ease-in-out}
.cover[data-season="spring"] img.art[data-s="spring"],
.cover[data-season="summer"] img.art[data-s="summer"],
.cover[data-season="autumn"] img.art[data-s="autumn"],
.cover[data-season="winter"] img.art[data-s="winter"]{opacity:1}
.cover .shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(10,25,45,.34) 0%,rgba(10,25,45,0) 26%,rgba(10,25,45,0) 62%,rgba(10,25,45,.30) 100%)}
.masthead{position:absolute;top:0;left:0;right:0;padding:5cqw 4cqw 0;text-align:center;color:#fff;
  text-shadow:0 2px 10px rgba(10,25,45,.55)}
.masthead .town{font-size:15px;font-size:5cqw;letter-spacing:.5em;font-weight:700;white-space:nowrap}
.masthead .title{font-size:30px;font-size:10.6cqw;font-weight:900;letter-spacing:.04em;line-height:1.25;margin-top:0.6cqw;white-space:nowrap}
.masthead .issue{display:inline-block;margin-top:8px;font-size:11.5px;border:1.5px solid rgba(255,255,255,.9);
  border-radius:999px;padding:2px 12px;letter-spacing:.18em;background:rgba(10,25,45,.25)}
.coverlines{position:absolute;left:0;right:0;bottom:19cqw;display:flex;flex-direction:column;gap:1.8cqw;align-items:center;text-align:center}
.coverlines span{color:#fff;font-weight:800;font-size:16.5px;font-size:5.4cqw;letter-spacing:.05em;white-space:nowrap;
  padding:0.6cqw 3cqw;text-shadow:0 2px 9px rgba(10,25,45,.75),0 0 3px rgba(10,25,45,.6)}
.coverlines span.subline{font-size:12px;font-size:3.7cqw;font-weight:700;letter-spacing:.04em}
.cover .pub{position:absolute;left:0;right:0;bottom:3.3cqw;text-align:center;color:#fff;font-size:12px;font-size:3.9cqw;
  letter-spacing:.28em;white-space:nowrap;text-shadow:0 1px 6px rgba(10,25,45,.6)}
/* animated cover layers: seasonal crossfade + flamboyant particles */
.fx{position:absolute;inset:0;overflow:hidden;pointer-events:none}
.fxlayer{position:absolute;inset:0;overflow:hidden;opacity:0;transition:opacity .6s ease-in-out}
.cover[data-season="spring"] .fxlayer[data-s="spring"],
.cover[data-season="summer"] .fxlayer[data-s="summer"],
.cover[data-season="autumn"] .fxlayer[data-s="autumn"],
.cover[data-season="winter"] .fxlayer[data-s="winter"]{opacity:1}
/* falling particles (cherry petals in spring / generic leaves in autumn):
   outer falls, inner sways wide */
.fall{position:absolute;top:-46px;opacity:0;animation-name:fall;animation-timing-function:linear;
  animation-iteration-count:infinite;will-change:transform}
.fall i{display:block;width:100%;height:100%;background-size:contain;background-repeat:no-repeat;
  animation-name:swaybig;animation-timing-function:ease-in-out;animation-iteration-count:infinite;
  animation-direction:alternate}
@keyframes fall{0%{transform:translateY(0) rotate(0deg);opacity:0}6%{opacity:.97}
  90%{opacity:.94}100%{transform:translateY(880px) rotate(340deg);opacity:0}}
@keyframes swaybig{from{transform:translateX(-46px) rotate(-52deg)}to{transform:translateX(46px) rotate(52deg)}}
.petal i{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath d='M20 3 C29 9 33 19 29 28 C26 34 22 37 20 37 C18 37 14 34 11 28 C7 19 11 9 20 3 Z' fill='%23f9c3d4' stroke='%23e58bb0' stroke-width='1.4'/%3E%3C/svg%3E")}
.gleaf i{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath d='M20 38 L20 22 M20 22 C6 22 2 12 4 4 C12 2 18 8 20 16 C22 8 28 2 36 4 C38 12 34 22 20 22 Z' fill='%23f0ad1d' stroke='%23c77f0a' stroke-width='1.6'/%3E%3C/svg%3E")}
.leaf i{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath d='M20 2 C31 10 35 21 20 38 C5 21 9 10 20 2 Z' fill='%23e07b2a'/%3E%3Cpath d='M20 7 L20 33' stroke='%23a34d12' stroke-width='1.6'/%3E%3C/svg%3E")}
.leaf.v2 i{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath d='M20 2 C31 10 35 21 20 38 C5 21 9 10 20 2 Z' fill='%23c9451f'/%3E%3Cpath d='M20 7 L20 33' stroke='%238f2f10' stroke-width='1.6'/%3E%3C/svg%3E")}
.leaf.v3 i{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath d='M20 2 C31 10 35 21 20 38 C5 21 9 10 20 2 Z' fill='%23d9a441'/%3E%3Cpath d='M20 7 L20 33' stroke='%239a701c' stroke-width='1.6'/%3E%3C/svg%3E")}
/* summer: light and breeze — broad soft light rays sweeping slowly,
   plus soft light motes drifting on the wind (no fireflies: the unified
   summer set is light + wind, readable over bright summer scenes) */
.ray{position:absolute;top:-16%;bottom:-16%;width:36%;pointer-events:none;
  background:linear-gradient(100deg,rgba(255,255,255,0) 0%,rgba(255,250,205,.32) 50%,rgba(255,255,255,0) 100%);
  transform:rotate(9deg);filter:blur(2px);animation:breeze 6.5s ease-in-out infinite alternate}
@keyframes breeze{from{transform:rotate(9deg) translateX(-18px);opacity:.4}to{transform:rotate(12deg) translateX(24px);opacity:.95}}
.mote{position:absolute;border-radius:50%;
  background:radial-gradient(circle,rgba(255,255,242,.95) 0%,rgba(255,244,190,.4) 55%,rgba(255,244,190,0) 78%);
  animation-name:motefloat;animation-timing-function:ease-in-out;animation-iteration-count:infinite;
  animation-direction:alternate;will-change:transform}
@keyframes motefloat{from{transform:translate(0,0)}to{transform:translate(var(--dx,26px),var(--dy,-14px))}}
/* snowfall: dense, readable at a glance */
.snow{position:absolute;top:-20px;border-radius:50%;opacity:0;
  box-shadow:0 0 6px 1px rgba(130,165,220,.7),inset 0 0 3px rgba(160,190,230,.8);
  background:radial-gradient(circle,rgba(255,255,255,1) 25%,rgba(255,255,255,.85) 55%,rgba(255,255,255,0) 78%);
  animation-name:snowfall;animation-timing-function:linear;animation-iteration-count:infinite;will-change:transform}
@keyframes snowfall{0%{transform:translate(0,0);opacity:0}8%{opacity:.95}50%{transform:translate(16px,440px)}
  92%{opacity:.9}100%{transform:translate(-10px,880px);opacity:0}}
/* autumn leaf pile: visibly grows along the bottom while leaves fall */
.leafpile{position:absolute;left:0;right:0;bottom:0;height:18%}
.pilemound{position:absolute;left:-6%;right:-6%;bottom:-9%;height:88%;
  background:radial-gradient(ellipse 88% 105% at 50% 112%,#e07b2a 26%,rgba(201,69,31,.72) 52%,rgba(201,69,31,0) 74%);
  transform:scaleY(.18);transform-origin:50% 100%;opacity:0;transition:transform 6.5s ease-in,opacity 1.8s ease}
.fxlayer.piled .pilemound{transform:scaleY(1);opacity:1}
.pileleaf{position:absolute;opacity:0;transform:translateY(10px) rotate(var(--rot,0deg));
  transition:opacity 1.4s ease,transform 1.4s ease}
.pileleaf i{display:block;width:100%;height:100%;background-size:contain;background-repeat:no-repeat;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath d='M20 2 C31 10 35 21 20 38 C5 21 9 10 20 2 Z' fill='%23e07b2a'/%3E%3Cpath d='M20 7 L20 33' stroke='%23a34d12' stroke-width='1.6'/%3E%3C/svg%3E")}
.fxlayer.piled .pileleaf{opacity:.97;transform:translateY(0) rotate(var(--rot,0deg))}
.book-author{margin:12px 0 0;font-size:16.5px;font-weight:700;letter-spacing:.42em;text-indent:.42em;color:var(--kasuri);text-align:center}
.book-author::before{content:"";display:block;width:34px;height:2px;background:var(--gold);margin:0 auto 10px}
.book-author .ba-label{display:block;font-size:13px;letter-spacing:.6em;text-indent:.6em;opacity:.85;margin-bottom:5px}
.book-author .ba-name{display:block}
.tap-hint{margin:12px auto 4px;display:inline-block;background:linear-gradient(135deg,#274156,#152539);color:#fff;font-weight:700;
  font-size:14.5px;padding:12px 26px;border-radius:999px;border:none;cursor:pointer;
  animation:ctaglow 2.6s ease-in-out infinite}
@keyframes ctaglow{0%,100%{box-shadow:0 6px 16px rgba(29,53,87,.3),0 0 0 0 rgba(233,161,59,.45)}
  50%{box-shadow:0 6px 16px rgba(29,53,87,.3),0 0 0 12px rgba(233,161,59,0)}}
.tap-hint small{display:block;font-weight:400;font-size:11.5px;opacity:.85}
/* fix62 (2026-11-23): the prefers-reduced-motion block that slowed
   the book scene and froze .cat-img is REMOVED. Owner ruling: the
   animation IS the product and must play for every visitor. No
   reduced-motion suppression anywhere in this type. */
/* ---------- gated first view: book only, no scroll, until tapped ---------- */
body.gated{overflow:hidden;height:100dvh}
body.gated .head-search,body.gated .menu-btn,body.gated .after-book{display:none}
body.gated .hero{min-height:100dvh;display:flex;flex-direction:column;justify-content:flex-start;padding:5dvh 0 1dvh}
body.gated .hero .wrap{width:100%}
body.gated .hero .tagline{display:none}
body.gated .book-scene{width:min(90vw,400px,calc((100dvh - 250px)/2))}
body.revealed .head-search,body.revealed .after-book{animation:fadein .7s ease}
/* ---------- fix46: fix30 reverted (owner 2026-11-21) ----------
   The hub always starts from the closed cover, on every arrival:
   fresh visit, return from an internal page, or browser Back. The
   fix30 sessionStorage gb_opened / html.pre-open mechanism is gone.
   The cover is the site's visual main and must always be reachable.
   ---------- fix48 (owner 2026-11-21 21:08) ----------
   Cover and contents are separate destinations: a fresh visit lands
   on the cover (entry only); the 「トップへ戻る」 button and the
   breadcrumbs link to index.html#toc and open straight at the table
   of contents, never back at the cover. */
/* ---------- toc / sections ---------- */
section.block{padding:22px 0}
h2.sec{font-size:23px;color:var(--kasuri);border-left:7px solid var(--gold);padding-left:12px;margin:0 0 6px;letter-spacing:.04em}
.lead{color:#5a6672;font-size:14.5px;margin:0 0 14px}
#toc{display:none}
#toc.show{display:block;animation:fadein .7s ease}
@keyframes fadein{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
.cat-grid{display:grid;grid-template-columns:1fr;gap:16px}
.cat-card{display:flex;flex-direction:column;height:100%;background:#fff;border:1px solid var(--line);
  border-radius:18px;overflow:hidden;text-decoration:none;color:var(--ink);
  box-shadow:0 12px 26px rgba(60,50,20,.14);animation:fadein .7s ease both}
.cat-grid .cat-card:nth-child(2){animation-delay:.07s}
.cat-grid .cat-card:nth-child(3){animation-delay:.14s}
.cat-grid .cat-card:nth-child(4){animation-delay:.21s}
.cat-grid .cat-card:nth-child(5){animation-delay:.28s}
.cat-grid .cat-card:nth-child(6){animation-delay:.35s}
.cat-grid .cat-card:nth-child(7){animation-delay:.42s}
.cat-grid .cat-card:nth-child(8){animation-delay:.49s}
.cat-visual{position:relative;display:block;aspect-ratio:16/10;overflow:hidden;background:#e8e2cf}
.cat-visual img.cat-img,.cat-banner img.cat-img{width:100%;height:100%;display:block;object-fit:cover}
/* ---------- category visuals: modern anime illustrations (fix20) ----------
   One MODERN 2020s-style illustration per category
   (assets/catimg/cat-<id>.jpg): bright clean colors, contemporary
   settings and people — never the sepia/retro look the owner
   rejected in fix18. Every visual is visibly animated with scene
   content: a looping video for ALL eight categories (fix24 —
   dining and tourism joined the original six; the layered-CSS
   fallback was removed). Videos carry src + autoplay in the markup (fix62; no JS loader). No
   photos of real shops, no decorative sparkles/orbs. */
.cat-img{animation:catPan 18s ease-in-out infinite alternate;will-change:transform}
@keyframes catPan{from{transform:scale(1.09) translate(-1.8%,-1%)}to{transform:scale(1.09) translate(1.8%,1%)}}
.cat-banner img.cat-img{object-position:center 30%}
/* fix63: .cat-vid removed — category visuals are shared animated
   WebP <img> only (see cat_scene). */
.cat-body{display:flex;flex-direction:column;gap:5px;padding:12px 14px 14px;
  border-top:4px solid var(--cac,#888)}
.cat-title{display:flex;align-items:center;gap:8px;white-space:nowrap;overflow:hidden}
.cat-title .cn{font-weight:800;font-size:20px;letter-spacing:0;overflow:hidden;text-overflow:ellipsis}
.cat-title .cc{flex:0 0 auto;font-size:13px;font-weight:700;color:#fff;
  background:linear-gradient(135deg,#2a4a73,#1d3557);
  border-radius:999px;padding:3px 11px;letter-spacing:0}
.cat-card .cs{font-size:14.5px;color:#5f6b76;line-height:1.55;display:-webkit-box;-webkit-line-clamp:2;
  -webkit-box-orient:vertical;overflow:hidden;min-height:45px}
.cat-banner{position:relative;height:150px;border-radius:14px;overflow:hidden;margin:12px 0 4px;background:#e8e2cf}
.photo-credit{font-size:10.5px;color:#9aa0a6;margin:5px 2px 0;line-height:1.6}
.photo-credit a{color:#9aa0a6}
.toc-list{background:#fff;border:1px solid var(--line);border-radius:12px;padding:8px 16px}
.toc-list h3{margin:12px 0 2px;font-size:16.5px}
.toc-list h3 a{text-decoration:none}
.toc-list .subs{font-size:13.5px;color:#5a6672;margin:0 0 10px;line-height:2}
.toc-list .subs a{color:#5a6672}
/* ---------- listing / shop ---------- */
.crumb{font-size:13px;color:#77808a;padding:12px 0 0}
.crumb a{color:#77808a}
.subhead{font-size:18px;color:var(--kasuri);margin:22px 0 8px;border-bottom:2px solid var(--gold);padding-bottom:4px}
.cards{display:flex;flex-direction:column;gap:10px}
/* ---------- listing frames: fixed frame + internal scroll (fix23) ----------
   Template rule (DESIGN.md 8.13): anything the visitor SCANS (many
   items in a row) lives in a fixed frame and scrolls INSIDE it; the
   page itself never grows with the item count. Content the visitor
   opens to READ (one post / one product) stays in the fix13 modal.
   Styled after the hub news frame (fix9/fix11): same border, radius,
   shadow and thin scrollbar. max-height (not height), so short lists
   render at natural size and only long ones are capped; at the cap
   the next item peeks, so it is obvious the frame scrolls.
   Deliberately NO overscroll-behavior:contain — a swipe that
   reaches the frame's end chains on to the page scroll, exactly
   like the news frame; the frame never traps the page. */
.list-frame{background:#fff;border:2px solid var(--gold);border-radius:14px;
  box-shadow:0 8px 20px rgba(60,50,20,.10);overflow:hidden}
.list-scroll{overflow-y:auto;-webkit-overflow-scrolling:touch;padding:10px}
.list-scroll::-webkit-scrollbar{width:5px}
.list-scroll::-webkit-scrollbar-thumb{background:#d8c690;border-radius:3px}
.list-scroll.cap-cat{max-height:560px}
/* fix28 (owner, 2026-11-19): the posts cap shows ABOUT 3 POSTS, the
   same size idiom as the hub news frame (fix11: 3 full + ~30% peek
   of the next). Measured on the built page at 390px: newest-post
   card 108 + hist-head block 43 + history rows 60.5 each, so
   4 (pad) + 108 + 43 + 2*60.5 + 18 (peek ~30% of the 4th post)
   = 294. The fix23 value (470) showed 6+ posts, which reads as a
   long list, not a 3-post news frame. If the card/row layout
   changes, re-measure and recompute. */
.list-scroll.cap-posts{max-height:294px;padding:4px}
.list-scroll.cap-prod{max-height:452px;padding:4px}
.list-note{font-size:12px;color:#77808a;margin:6px 2px 0}
.biz-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:13px 15px;text-decoration:none;color:var(--ink);
  display:flex;gap:12px;box-shadow:0 6px 16px rgba(60,50,20,.09)}
.biz-thumb{flex:0 0 96px;position:relative}
.biz-thumb img{width:96px;height:72px;object-fit:cover;border-radius:8px;display:block}
.biz-thumb .thumb-tag{position:absolute;left:4px;bottom:4px;background:rgba(20,30,45,.82);color:#fff;
  font-size:9.5px;font-weight:700;padding:0 5px;border-radius:3px;letter-spacing:.05em}
.biz-main{flex:1;min-width:0}
.biz-card .bn{font-weight:800;font-size:16.5px}
.biz-card .bm{font-size:12.5px;color:#77808a;margin-top:2px}
.biz-card .bd{font-size:13.5px;color:#46525e;margin-top:5px}
.chip{display:inline-block;font-size:11px;font-weight:700;color:#fff;border-radius:999px;padding:1px 9px;margin-right:6px;vertical-align:2px}
.shop-head{padding:18px 0 0}
.shop-head h1{font-size:24px;margin:4px 0 2px;color:var(--ink)}
.photo-ph{height:180px;border-radius:14px;margin:14px 0;display:flex;flex-direction:column;gap:6px;
  align-items:center;justify-content:center;color:#fff;font-weight:700;letter-spacing:.1em;
  background:linear-gradient(135deg,#33506e,#1d3557)}
.photo-ph small{font-weight:400;letter-spacing:0;opacity:.85}
.photo-fig{margin:14px 0;position:relative}
.photo-fig img.main{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:14px;display:block}
.photo-fig .img-badge{position:absolute;top:10px;left:10px;background:rgba(20,30,45,.82);color:#fff;
  font-size:11.5px;font-weight:700;padding:2px 10px;border-radius:999px;letter-spacing:.06em}
.photo-fig figcaption{font-size:11.5px;color:#77808a;margin-top:6px;line-height:1.6}
/* ---------- fix43: stock-photo centre veil (owner order 2026-11-20) ----------
   A photo that is NOT the shop's own (free-stock pool image) carries a
   LARGE 「イメージ画像」 band across the vertical centre of the image,
   so it can never be mistaken for the real shop (corner badges alone
   were too easy to miss). Parameters follow the owner-approved sample
   (2026-11-20): band height 30% of the image height, background
   rgba(0,0,0,.59), white extra-bold text spanning about 92% of the
   image width. Type scales with the image's own width — the image
   wrappers are inline-size containers, so cqw units track the
   rendered image width. Template rule for every town (DESIGN 8.16). */
.biz-thumb,.news-thumb,.post-thumb,.photo-fig,.deck-photo,.prod-photo,.ph-wrap{container-type:inline-size}
.news-thumb,.post-thumb,.prod-photo{position:relative}
.ph-wrap{position:relative;display:block}
.img-veil{position:absolute;left:0;right:0;top:50%;transform:translateY(-50%);z-index:6;
  height:30%;box-sizing:border-box;display:flex;align-items:center;justify-content:center;
  background:rgba(0,0,0,.59);color:#fff;font-weight:900;text-align:center;line-height:1.2;
  font-size:clamp(5px,13.5cqw,80px);letter-spacing:.1em;text-indent:.1em;
  pointer-events:none;white-space:nowrap}
.updates{background:#fff;border:2px solid var(--gold);border-radius:14px;padding:14px 16px;margin:16px 0}
.updates h2{margin:0 0 8px;font-size:18px;color:#8a5a00}
.post{border-top:1px solid #f0e4c3;padding:10px 0}
.post:first-of-type{border-top:none}
.post .pd{font-size:12px;color:#a07c1f;font-weight:700}
.post .pt{font-weight:800;font-size:15.5px}
.post .pb{font-size:14px;white-space:pre-wrap}
.sample-tag{display:inline-block;background:#c2502e;color:#fff;font-size:11px;font-weight:700;
  border-radius:4px;padding:1px 7px;margin-left:8px;vertical-align:2px}
.no-post{color:#77808a;font-size:14px}
/* ---------- shop posts: compact card + history + modal (fix13) ---------- */
.post-card{display:flex;align-items:center;gap:11px;width:100%;text-align:left;cursor:pointer;
  background:#fffdf4;border:1px solid #ecd9a0;border-radius:12px;padding:10px 12px;font:inherit;color:inherit}
.post-card:active{background:#fdf3d0}
.post-thumb{flex:0 0 auto;width:62px;height:62px;border-radius:9px;overflow:hidden;background:#e8e2cf}
.post-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.post-thumb.sm{width:40px;height:40px;border-radius:7px}
.post-card-main,.post-row-main{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:1px}
.post-card .pd,.post-row .pd{font-size:12px;color:#a07c1f;font-weight:700}
.post-card .pt{font-weight:800;font-size:15.5px;line-height:1.35}
.post-line{font-size:13px;color:#5f6b76;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.post-open{flex:0 0 auto;font-size:13px;font-weight:700;color:#a07c1f}
.hist-head{font-size:14.5px;margin:14px 0 4px;color:#5f4b00}
.hist-list{display:flex;flex-direction:column}
.post-row{display:flex;align-items:center;gap:9px;width:100%;text-align:left;cursor:pointer;
  background:none;border:none;border-top:1px solid #f0e4c3;padding:8px 2px;font:inherit;color:inherit}
.post-row:active{background:#fdf6dd}
html{scrollbar-gutter:stable}
.modal-overlay{position:fixed;inset:0;z-index:300;background:rgba(18,28,38,.56);
  display:flex;align-items:flex-end;justify-content:center;overscroll-behavior:none}
.modal-overlay[hidden]{display:none}
.modal-card{position:relative;background:#fff;width:100%;max-width:560px;max-height:88vh;
  border-radius:16px 16px 0 0;display:flex;flex-direction:column;box-shadow:0 -6px 30px rgba(0,0,0,.25)}
.modal-body{overflow-y:auto;padding:22px 18px 30px;-webkit-overflow-scrolling:touch;overscroll-behavior:none}
.modal-close{position:absolute;top:8px;right:8px;z-index:2;width:42px;height:42px;border-radius:50%;
  border:1px solid #d8dde2;background:#fff;font-size:17px;line-height:1;cursor:pointer;color:#44515c}
.post-full .pd{font-size:12.5px;color:#a07c1f;font-weight:700}
.post-full .pt{font-weight:800;font-size:17px;line-height:1.4;margin:2px 34px 8px 0}
.post-full .pb{font-size:14.5px;line-height:1.75;white-space:pre-wrap}
.modal-photo{width:100%;border-radius:10px;display:block;margin:10px 0}
/* ---------- shop products: 商品・メニュー grid (fix14) ---------- */
.products{background:#fff;border:2px solid #a8c3a0;border-radius:14px;padding:14px 16px;margin:16px 0}
.products h2{margin:0 0 10px;font-size:18px;color:#3d6b35}
.prod-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.prod-card{display:flex;flex-direction:column;gap:4px;text-align:left;cursor:pointer;
  background:#fffdf6;border:1px solid #e3ddc8;border-radius:11px;padding:8px;font:inherit;color:inherit}
.prod-card:active{background:#f2f7ec}
.prod-photo{display:block;aspect-ratio:4/3;border-radius:8px;overflow:hidden;background:#e8e2cf}
.prod-photo img{width:100%;height:100%;object-fit:cover;display:block}
.prod-nophoto{display:flex;align-items:center;justify-content:center;color:#98a0a8;font-size:12px}
.prod-name{font-weight:700;font-size:14px;line-height:1.35}
.prod-price{font-size:13px;color:#b3541e;font-weight:700}
.prod-full .prod-price{font-size:16.5px;margin:2px 0 6px}
/* ---------- job openings: 求人案内 ---------- */
.jobs-sec{margin:26px 0;padding:18px 16px;background:#fdf8ec;border:1.5px solid #c9a227;border-radius:12px}
.jobs-sec h2{font-size:19px;color:#1d3557;margin:0 0 6px;padding-left:9px;border-left:6px solid #c9a227}
.jobs-lead{font-size:13.5px;color:#444;margin:0 0 10px}
.jobs-list{list-style:none;margin:0;padding:0}
.job-item{padding:10px 0;border-top:1px solid #e7dcc0}
.job-item:first-child{border-top:none}
.job-title{font-size:15.5px;font-weight:700;color:#1d3557;text-decoration:none}
a.job-title{text-decoration:underline}
.job-tag{display:inline-block;font-size:11px;font-weight:700;color:#fff;background:#1d3557;border-radius:999px;padding:2px 8px;margin-left:6px;vertical-align:2px}
.job-meta{display:block;font-size:12.5px;color:#666;margin-top:3px}
.job-desc{font-size:13.5px;color:#333;line-height:1.7;margin:6px 0 0;white-space:pre-wrap}
.job-apply{font-size:13px;color:#333;margin:6px 0 0}
.job-apply a{color:#1d3557;font-weight:700}
.jobs-more{margin:10px 0 0;font-size:13.5px}
.jobs-more a{color:#1d3557;font-weight:700}
.jobs-note{font-size:11.5px;color:#888;line-height:1.6;margin:10px 0 0}
/* ---------- shop page as a mini-homepage (fix26, DESIGN 8.15) ----------
   New composition for every shop page: hero (name + catch + photo
   slider + info strip + call/map buttons), intro, highlights,
   grouped products, posts, owner message, info table. Every new
   section renders ONLY when its data exists — a shop without the
   optional fields shows no empty frames. The intro section carries
   the shop's intro field, falling back to its note (the note no
   longer sits buried in the info table). */
.shop-catch{font-size:16.5px;font-weight:800;color:var(--kasuri);margin:6px 0 0;line-height:1.5}
.hero-strip{display:flex;flex-wrap:wrap;gap:6px 14px;background:#fff;border:1px solid var(--line);
  border-radius:12px;padding:9px 13px;margin:12px 0 0;font-size:13.5px}
.hero-strip .hs{display:inline-flex;gap:6px;align-items:baseline;min-width:0}
.hero-strip .hs b{color:var(--kasuri);font-size:12px;white-space:nowrap}
.hero-strip a{font-weight:700}
.hero-actions{margin:2px 0 0}
.intro-sec{background:#fff;border:1px solid var(--line);border-radius:14px;padding:14px 16px;margin:16px 0}
.intro-sec h2{margin:0 0 8px;font-size:18px;color:var(--kasuri)}
.intro-sec .intro-body{font-size:14.5px;line-height:1.8;white-space:pre-wrap}
.hl-sec{background:#fff;border:2px solid #ecd9a0;border-radius:14px;padding:14px 16px;margin:16px 0}
.hl-sec h2{margin:0 0 10px;font-size:18px;color:#8a5a00}
.hl-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.hl-card{background:#fffdf4;border:1px solid #ecd9a0;border-radius:11px;padding:10px 12px}
.hl-t{font-weight:800;font-size:14.5px;line-height:1.4}
.hl-d{font-size:13px;color:#5f6b76;margin-top:3px;line-height:1.55}
.msg-sec{background:#fdf8ec;border:1px solid var(--line);border-radius:14px;padding:14px 16px;margin:16px 0}
.msg-sec h2{margin:0 0 8px;font-size:18px;color:var(--kasuri)}
.msg-body{font-size:14.5px;line-height:1.8;white-space:pre-wrap}
.msg-photo{width:84px;height:84px;object-fit:cover;border-radius:50%;display:block;margin:0 0 10px}
/* photo deck (8.15; restyled fix27 after the Furano proposal's
   VISUAL JOURNAL slide): the hero photos are a fanned deck of
   printed-photo cards. The center card stands upright, closer
   and full-bright; its neighbours angle away in 3D, a step back,
   dimmer — so "more photos beside this one" reads at a glance.
   Each card is a matted print: paper frame, hard offset shadow,
   the photo's title and a PHOTO / n meta line inside the mat.
   Below the deck, round arrow buttons flank a zero-padded
   counter (01 / 03) that replaces the fix26 dots. Swiping, an
   arrow, or tapping a side card brings that card to the center;
   tapping the center card opens the fix13 modal with the large
   photo. No auto-advance — the visitor drives. Stock cards keep
   the イメージ写真 badge on the photo and their own credit
   line below the deck (fix22 rule), swapped per card. */
.slider{margin:14px 0}
.deck-stage{position:relative;height:312px;perspective:1100px;
  overflow:hidden;touch-action:pan-y}
.deck-card{position:absolute;top:50%;left:50%;width:min(66%,250px);
  margin:0;padding:9px 9px 10px;background:var(--paper);
  border:1px solid var(--line);cursor:pointer;
  box-shadow:4px 5px 0 #e6dcc0,10px 18px 28px rgba(64,52,18,.20);
  transform-origin:center;backface-visibility:hidden;
  transition:transform .6s cubic-bezier(.2,.75,.2,1),opacity .5s,filter .5s}
.deck-photo{position:relative;display:block}
.deck-card img{width:100%;aspect-ratio:4/3;object-fit:cover;display:block}
.deck-card .img-badge{position:absolute;top:8px;left:8px;background:rgba(20,30,45,.82);color:#fff;
  font-size:11.5px;font-weight:700;padding:2px 10px;border-radius:999px;letter-spacing:.06em}
.deck-mat{display:block;padding-top:8px}
.deck-title{display:block;font-size:12.5px;font-weight:800;color:var(--ink);
  line-height:1.45;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.deck-meta{display:flex;justify-content:space-between;align-items:center;
  margin-top:3px;font-size:9px;font-weight:700;letter-spacing:.16em;color:#9aa0a6}
.deck-meta .arr{font-size:14px;letter-spacing:0}
.deck-card[data-offset="0"]{transform:translate(-50%,-50%) translateZ(70px) rotateY(-3deg) rotateZ(-1.5deg);
  z-index:5;opacity:1;filter:none;cursor:zoom-in}
.deck-card[data-offset="-1"]{transform:translate(-50%,-50%) translateX(-152px) translateZ(-70px) rotateY(40deg) rotateZ(-5deg);
  z-index:3;opacity:.88;filter:brightness(.93)}
.deck-card[data-offset="1"]{transform:translate(-50%,-50%) translateX(152px) translateZ(-70px) rotateY(-40deg) rotateZ(5deg);
  z-index:3;opacity:.88;filter:brightness(.93)}
.deck-card[data-offset="-2"],.deck-card[data-offset="2"],
.deck-card[data-offset="-3"],.deck-card[data-offset="3"],
.deck-card[data-offset="-4"],.deck-card[data-offset="4"],
.deck-card[data-offset="-5"],.deck-card[data-offset="5"],
.deck-card[data-offset="-6"],.deck-card[data-offset="6"],
.deck-card[data-offset="-7"],.deck-card[data-offset="7"],
.deck-card[data-offset="-8"],.deck-card[data-offset="8"],
.deck-card[data-offset="-9"],.deck-card[data-offset="9"],
.deck-card[data-offset="-10"],.deck-card[data-offset="10"],
.deck-card[data-offset="-11"],.deck-card[data-offset="11"],
.deck-card[data-offset="-12"],.deck-card[data-offset="12"]{
  transform:translate(-50%,-50%) translateZ(-220px);
  opacity:0;visibility:hidden;pointer-events:none}
.deck-controls{display:flex;align-items:center;justify-content:center;
  gap:22px;margin-top:10px}
.deck-btn{width:41px;height:41px;border-radius:50%;border:1px solid var(--kasuri);
  background:var(--paper);color:var(--kasuri);font-size:19px;line-height:1;cursor:pointer}
.deck-btn:active{background:var(--kasuri);color:var(--paper)}
.deck-count{font-size:15px;font-weight:700;letter-spacing:.12em;color:#77808a;
  min-width:64px;text-align:center}
.slider-cap{font-size:11.5px;color:#77808a;margin-top:6px;line-height:1.6}
.slider-cap a{color:#9aa0a6}
@media (min-width:641px){
  .deck-stage{height:374px}
  .deck-card{width:308px}
  .deck-card[data-offset="-1"]{transform:translate(-50%,-50%) translateX(-215px) translateZ(-70px) rotateY(40deg) rotateZ(-5deg)}
  .deck-card[data-offset="1"]{transform:translate(-50%,-50%) translateX(215px) translateZ(-70px) rotateY(-40deg) rotateZ(5deg)}
}
/* products: group headings + price list for photo-less items (8.15) */
.prod-group-head{font-size:15.5px;font-weight:800;color:#3d6b35;margin:14px 0 8px;
  border-bottom:2px solid #dcebd4;padding-bottom:3px}
.prod-group-head:first-child{margin-top:2px}
.rec-tag{display:inline-block;background:#c2502e;color:#fff;font-size:10.5px;font-weight:700;
  border-radius:4px;padding:0 6px;margin-left:6px;vertical-align:2px}
.price-list{display:flex;flex-direction:column}
.price-row{display:flex;align-items:baseline;gap:10px;width:100%;text-align:left;
  background:none;border:none;border-top:1px solid #eef0e4;padding:8px 2px;font:inherit;color:inherit}
.price-list .price-row:first-child{border-top:none}
button.price-row{cursor:pointer}
button.price-row:active{background:#f2f7ec}
.price-row .pname{flex:1 1 auto;font-weight:600;font-size:14.5px}
.price-row .pval{flex:0 0 auto;color:#b3541e;font-weight:700;font-size:14px;white-space:nowrap}
/* ---------- hub news frame （新着情報） ---------- */
/* Fixed-height frame on the hub page. Every item carries an eye-catch
   thumbnail (the shop's own page photo — text-only items do not catch
   the eye). Exactly 3 items are fully visible and the 4th peeks at the
   bottom edge, so it is obvious at a glance that more items exist and
   the frame scrolls INSIDE; older items are reached that way.
   Item height is fixed by the layout: padding 8+8 + thumbnail 76 +
   border 1 = 93px. Frame visible height (.news-scroll max-height) =
   scroll padding-top 2 + 3*93 + 28 (peek, ~30% of one item) = 309px,
   measured on the built page (fix11) — if the item layout changes,
   re-measure and recompute.
   Page scroll is deliberately NOT trapped: no
   overscroll-behavior:contain here, so a swipe that reaches the end
   of the frame chains on to the page, and the frame is far shorter
   than the viewport — the listings below stay reachable by swiping
   anywhere outside the frame too. */
.news-frame{background:#fff;border:2px solid var(--gold);border-radius:14px;
  box-shadow:0 8px 20px rgba(60,50,20,.10);overflow:hidden}
.news-scroll{max-height:309px;overflow-y:auto;-webkit-overflow-scrolling:touch;padding:2px 4px}
.news-scroll::-webkit-scrollbar{width:5px}
.news-scroll::-webkit-scrollbar-thumb{background:#d8c690;border-radius:3px}
.news-item{display:flex;gap:10px;align-items:flex-start;padding:8px 10px;
  text-decoration:none;color:var(--ink);border-bottom:1px solid #f0e4c3}
.news-item:last-child{border-bottom:none}
.news-thumb{flex:0 0 auto;width:76px;height:76px;border-radius:10px;overflow:hidden;background:#f0ead8}
.news-thumb img{width:100%;height:76px;object-fit:cover;display:block}
.news-body{flex:1 1 auto;min-width:0}
.news-meta{display:flex;gap:10px;align-items:baseline;font-size:12px;line-height:1.6}
.news-date{color:#a07c1f;font-weight:700;flex:0 0 auto}
.news-shop{color:#5a6672;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.news-title{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
  font-weight:800;font-size:15px;margin-top:1px;line-height:1.5}
.news-note{font-size:12px;color:#77808a;margin:6px 2px 0}
/* ---------- hub crosslinks （便利リンク, fix19; grouped fix42) ----------
   The ONLY outbound cross-service links in the guidebook live in
   this one hub section (owner rule 2026-11-19: never on individual
   shop pages, so paying member shops are never undermined).
   Entries come from data/town.json town.crosslinks and render in
   groups (fix42). Own-operated services ONLY — third-party sites
   are prohibited (owner correction 2026-11-20). A town lists an
   entry only when its target URL has been verified live. */
.xlinks{display:flex;flex-direction:column;gap:10px}
.xlink-group{font-size:15px;font-weight:800;color:var(--kasuri);margin:16px 0 2px;
  padding-left:9px;border-left:5px solid var(--gold)}
.xlinks .xlink-group:first-child{margin-top:2px}
.xlink{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid var(--line);
  border-radius:14px;padding:13px 15px;text-decoration:none;color:var(--ink);
  box-shadow:0 8px 20px rgba(60,50,20,.10)}
.xlink-body{flex:1 1 auto;min-width:0}
.xlink-title{display:block;font-weight:800;font-size:16px;color:var(--kasuri)}
.xlink-desc{display:block;font-size:13px;color:#5a6672;margin-top:2px;line-height:1.55}
.xlink-arrow{flex:0 0 auto;font-size:22px;color:#a07c1f;font-weight:800}
.info-table{width:100%;border-collapse:collapse;background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden}
.info-table th,.info-table td{padding:11px 13px;font-size:14.5px;text-align:left;border-bottom:1px solid #f0ead8;vertical-align:top}
.info-table th{width:86px;background:#faf5e8;color:var(--kasuri);font-weight:800;white-space:nowrap}
.info-table tr:last-child th,.info-table tr:last-child td{border-bottom:none}
.btn{display:inline-block;background:linear-gradient(135deg,#2a4a73,#1d3557);color:#fff;text-decoration:none;font-weight:700;
  padding:10px 18px;border-radius:999px;font-size:14.5px;margin:6px 8px 0 0;box-shadow:0 4px 10px rgba(29,53,87,.25)}
.btn.tel{background:#1f6f6b}
/* fix29 (owner, 2026-11-19): the shop page's ONE clear way back to
   the hub top — a full-width .btn at the very bottom of the content.
   The header brand link and the breadcrumb stay as secondary routes. */
.back-top{margin:22px 0 4px}
.back-top .btn{display:block;text-align:center;padding:13px 18px;font-size:15.5px;margin:0}
.video-frame{width:100%;aspect-ratio:16/9;border:0;border-radius:10px;margin-top:8px}
footer.site-foot{margin-top:34px;background:var(--kasuri);color:#dfe7f2;padding:22px 0 30px;font-size:13px;
  border-top:4px solid var(--gold)}
footer.site-foot a{color:#ffd98a}
/* ---------- info / document pages (fix32: join / service / terms /
   privacy / operator / franchise / business model) ---------- */
.doc{padding:4px 0 10px}
.doc h1{font-size:24px;color:var(--kasuri);border-left:7px solid var(--gold);
  padding-left:12px;margin:12px 0 12px;letter-spacing:.03em;line-height:1.45}
.doc h2{font-size:18.5px;color:var(--kasuri);margin:26px 0 8px;
  border-bottom:2px solid var(--gold);padding-bottom:4px}
.doc h3{font-size:16px;color:var(--kasuri);margin:18px 0 6px}
.doc p{font-size:14.5px;line-height:1.85;margin:0 0 10px}
.doc ul,.doc ol{font-size:14.5px;line-height:1.85;margin:0 0 12px;padding-left:22px}
.doc li{margin-bottom:4px}
.point-box{background:#fff;border:2px solid var(--gold);border-radius:14px;
  box-shadow:0 8px 20px rgba(60,50,20,.10);padding:16px 18px;margin:16px 0}
.point-box .pb-title{font-size:19px;font-weight:800;color:var(--kasuri);margin:0 0 8px;line-height:1.5}
.price-hero{background:#fff;border:1px solid var(--line);border-radius:14px;
  padding:18px;text-align:center;margin:16px 0}
.price-hero .ph-amount{font-size:34px;font-weight:800;color:var(--kasuri);line-height:1.3}
.price-hero .ph-amount small{font-size:16px}
.price-hero p{margin:4px 0 0}
.cta-box{background:#fdf8ec;border:1.5px solid var(--gold);border-radius:14px;
  padding:16px 18px;margin:20px 0;text-align:center}
.cta-box p{margin:0 0 6px}
.cta-box .btn{margin:6px 4px 0}
.steps{counter-reset:step;list-style:none;padding:0;margin:0 0 12px}
.steps li{position:relative;background:#fff;border:1px solid var(--line);border-radius:12px;
  padding:12px 14px 12px 52px;margin-bottom:10px;font-size:14.5px;line-height:1.75}
.steps li::before{counter-increment:step;content:counter(step);position:absolute;left:14px;top:12px;
  width:26px;height:26px;border-radius:50%;background:var(--kasuri);color:#fff;
  font-weight:800;font-size:14px;text-align:center;line-height:26px}
.steps li b{color:var(--kasuri)}
.strengths{list-style:none;padding:0;margin:0 0 12px}
.strengths li{position:relative;background:#fff;border:1px solid var(--line);
  border-left:5px solid var(--gold);border-radius:12px;
  padding:12px 14px;margin-bottom:10px;font-size:14.5px;line-height:1.85}
.strengths li b{color:var(--kasuri)}
.terms-doc{font-size:13.5px}
.terms-doc p,.terms-doc li{font-size:13.5px;line-height:1.95}
.terms-doc h2{font-size:15.5px;border-bottom:1px solid var(--line);margin:22px 0 6px}
.scenario{background:#fff;border:1px solid var(--line);border-radius:14px;padding:6px 16px;margin:12px 0}
.scenario .sc-row{display:flex;justify-content:space-between;gap:12px;align-items:baseline;
  padding:9px 0;border-bottom:1px solid #f0ead8;font-size:14.5px}
.scenario .sc-row:last-child{border-bottom:none}
.scenario .sc-row b{color:var(--kasuri);white-space:nowrap}
.warn-note{background:#fff7e8;border:1px solid #e9c886;border-radius:10px;
  padding:10px 14px;font-size:13px;line-height:1.75;margin:12px 0}
footer.site-foot .foot-nav{margin:0 0 12px;line-height:2.1}
footer.site-foot .foot-nav a{margin-right:14px;white-space:nowrap}
/* ---------- home-screen install banner (non-top pages only) ---------- */
.install-banner{position:fixed;left:10px;right:10px;bottom:10px;z-index:200;max-width:560px;
  margin:0 auto;background:var(--paper);border:1.5px solid var(--line);border-radius:14px;
  box-shadow:0 10px 30px rgba(20,35,60,.22);padding:12px 14px}
.install-banner[hidden]{display:none}
.ib-row{display:flex;gap:10px;align-items:center}
.ib-icon{width:44px;height:44px;border-radius:10px;flex:none}
.ib-text{margin:0;font-size:14.5px;font-weight:700;line-height:1.5}
.ib-btns{display:flex;gap:10px;margin-top:10px}
.ib-btns[hidden]{display:none}
.ib-add{flex:1;background:#1f6f6b;color:#fff;border:none;border-radius:999px;min-height:48px;
  padding:13px 10px;font-size:16px;font-weight:800;cursor:pointer;font-family:inherit}
.ib-close{background:#fff;color:var(--ink);border:1.5px solid var(--line);border-radius:999px;
  min-height:48px;padding:13px 20px;font-size:15px;font-weight:700;cursor:pointer;font-family:inherit}
.ib-steps p{margin:2px 0 0;font-size:14px;line-height:1.65}
.ib-steps p[hidden]{display:none}
/* ---------- bookshelf return (fix49, 2026-11-22 owner order;
   final design 2026-11-22 05:49: TOC page only, one prominent
   full-width button near the top of the TOC. No cover pill,
   no pairing with the shop pages' トップへ戻る.)
   Color (2026-11-22 06:31 owner order, screenshot-driven): the
   pale cream/gold-border fill was too quiet — solid kasuri navy
   (#1d3557, same as the 目次 heading) with white bold text. ---------- */
.shelf-back{margin:6px 0 16px}
.shelf-back a{display:block;text-align:center;padding:14px 18px;font-size:16.5px;font-weight:800;
  color:#fff;background:#1d3557;border:2px solid #1d3557;border-radius:12px;
  text-decoration:none;box-shadow:0 2px 6px rgba(12,24,40,.25)}
/* ---------- direct-TOC arrivals (fix50, 2026-11-22 owner decision):
   the <head> bootstrap marks in-site returns and #toc arrivals with
   html.gb-direct-toc BEFORE first paint, so the contents state is the
   first paint: no cover flash, no cover transit, no auto-scroll.
   app.js adopts the same state synchronously (adoptDirectToc).
   The hero rule is deliberately NOT scoped to body.gated: for a
   marked document the book hero stays out of the page in the end
   state too, so the TOC section is the first screenful at scrollY 0
   (re-showing the hero on adoption would push the TOC below the
   fold). Fresh/external arrivals carry no mark and render the
   closed cover as always. --- */
html.gb-direct-toc{scroll-behavior:auto}
html.gb-direct-toc body.gated{overflow:visible;height:auto}
html.gb-direct-toc .hero{display:none}
html.gb-direct-toc body.gated .head-search,
html.gb-direct-toc body.gated .menu-btn{display:block}
html.gb-direct-toc body.gated .after-book{display:block}
html.gb-direct-toc #toc{display:block;animation:none}
html.gb-direct-toc .coverhinge{transition:none}
/* ================================================================
   fix58 — Palette A "clean modern" (owner choice, 2026-11-22).
   Owner rejected the old cream/beige + orange look as dated and
   picked proposal A: page bg #f5f6f8 light gray, white cards, ONE
   vivid blue accent #1668dc (deep blue #0f56b4 for headings/footer),
   body text #191d23. This block is the exact override layer that
   was verified in the approved mock (color-proposals-20261122/
   palette-a.css) on top of the base CSS above. NOT changed:
   category color-coding (--cac chips), the teal phone button
   (#1f6f6b, functional color), cover seasonal artwork.
   ================================================================ */
:root{
  --ink:#191d23;
  --paper:#ffffff;
  --bg:#f5f6f8;
  --accent:#1668dc;
  --kasuri:#0f56b4;
  --gold:#1668dc;
  --line:#dde2e8;
}
.hero{background:
  repeating-linear-gradient(45deg,rgba(22,104,220,.05) 0 14px,transparent 14px 28px),
  linear-gradient(180deg,#ffffff,#edf1f6)}
.hero .tagline{color:#5b6570}
.inside{background:#ffffff;border-color:#e3e7ee}
.inside h3{border-bottom-color:#1668dc}
.inside li{border-bottom-color:#dfe4ea}
.coverback{background:#f5f6f8;background-image:
  repeating-linear-gradient(0deg,rgba(15,86,180,.06) 0 8px,transparent 8px 16px),
  repeating-linear-gradient(90deg,rgba(15,86,180,.06) 0 8px,transparent 8px 16px)}
.coverback .cs{color:#5b6570}
.book-author::before{background:#1668dc}
.face.back{background:#0f56b4;color:#eaf2fd}
.face.spine{background:linear-gradient(180deg,#0a3f83,#1668dc 30%,#0f56b4 70%,#083a78);color:#eaf2fd}
.face.fore{background:repeating-linear-gradient(90deg,#d8d8d2 0 1px,#f6f6f3 1px 2px,#b9b9b2 2px 3px);border-block-color:#b9b9b2}
.face.topedge{background:linear-gradient(180deg,rgba(255,255,255,.28),rgba(0,0,0,.06)),
  repeating-linear-gradient(0deg,#d8d8d2 0 1px,#f6f6f3 1px 2px,#b9b9b2 2px 3px)}
.face.botedge{background:linear-gradient(0deg,rgba(0,0,0,.22),rgba(0,0,0,0) 55%),
  repeating-linear-gradient(0deg,#c2c2bb 0 1px,#ececea 1px 2px,#a9a9a1 2px 3px)}
.menu-btn{background:rgba(255,255,255,.94);border-color:#dde2e8}
.mb-bars i{background:#0f56b4}
.menu-title{color:#0f56b4}
.menu-list a{color:#0f56b4;border-top-color:#edf0f3}
.menu-list .arr{color:#1668dc}
.search-results a{border-bottom-color:#eef1f4}
.lead{color:#5b6570}
.cat-card{box-shadow:0 12px 26px rgba(20,30,50,.12)}
.cat-visual,.cat-banner,.post-thumb,.prod-photo,.news-thumb{background:#e9edf2}
.cat-title .cc{background:linear-gradient(135deg,#2f7fe0,#1668dc)}
.toc-list .subs,.toc-list .subs a{color:#5b6570}
.list-frame,.news-frame{box-shadow:0 8px 20px rgba(20,30,50,.10)}
.list-scroll::-webkit-scrollbar-thumb,.news-scroll::-webkit-scrollbar-thumb{background:#c3ccd6}
.biz-card{box-shadow:0 6px 16px rgba(20,30,50,.09)}
.news-item{border-bottom-color:#e9edf2}
.news-date{color:#1668dc}
.news-shop{color:#5b6570}
.news-note{color:#6d7680}
.xlink{box-shadow:0 8px 20px rgba(20,30,50,.10)}
.xlink-arrow{color:#1668dc}
.xlink-desc{color:#5b6570}
.updates h2{color:#0f56b4}
.post{border-top-color:#e9edf2}
.post .pd,.post-card .pd,.post-row .pd,.post-full .pd{color:#1668dc}
.post-card{background:#ffffff;border-color:#e2e6ec}
.post-card:active{background:#eef3fa}
.post-open{color:#1668dc}
.hist-head{color:#3c4654}
.post-row{border-top-color:#e9edf2}
.post-row:active{background:#eef3fa}
.sample-tag,.rec-tag{background:#1668dc}
.products{border-color:#d7dee7}
.products h2{color:#0f56b4}
.prod-group-head{color:#0f56b4;border-bottom-color:#d7e3f4}
.prod-card{background:#ffffff;border-color:#e2e6ec}
.prod-card:active{background:#eef3fa}
.prod-price,.prod-full .prod-price,.price-row .pval{color:#1668dc}
.price-row{border-top-color:#edf0f3}
button.price-row:active{background:#eef3fa}
.hl-sec{border-color:#e2e6ec}
.hl-sec h2{color:#0f56b4}
.hl-card{background:#ffffff;border-color:#e2e6ec}
.hl-d{color:#5b6570}
.msg-sec{background:#f2f6fc}
.info-table th{background:#eef3fa}
.info-table th,.info-table td{border-bottom-color:#e9edf2}
.btn{background:linear-gradient(135deg,#2f7fe0,#1668dc);box-shadow:0 4px 10px rgba(22,104,220,.28)}
.deck-card{box-shadow:4px 5px 0 #d9dee6,10px 18px 28px rgba(20,30,50,.18)}
.cta-box{background:#eef4fd}
.warn-note{background:#f7f9fc;border-color:#d7dee7}
.point-box,.updates,.hl-sec{border-color:#d7dee7}
footer.site-foot{border-top-color:#1668dc}
footer.site-foot a{color:#bcd7ff}
.crumb,.crumb a,.biz-card .bm,.photo-credit,.photo-credit a,.list-note,.deck-count,.slider-cap,.no-post{color:#6d7680}
.biz-card .bd,.post-line,.hl-d{color:#4a545f}

/* US locale override: fit long English cover text */
.cover .title{font-size:8.2cqw}
.coverlines span{font-size:4.1cqw}
