/* 案B「暖簾」v3 共通CSS（4ページ） 2026-10-03
   --navy はビルド時に shop.colors.dark へ置換される（既定値はガガマル食堂の色） */

:root{
  --navy:#1C3F6E;
  --ink:#111;
  --white:#fff;
  --line:rgba(0,0,0,.14);
}

*{box-sizing:border-box}
body{
  margin:0;
  background:var(--white);
  color:var(--ink);
  font-family:"BIZ UDPGothic","Hiragino Sans",sans-serif;
  font-size:17px;
  line-height:1.9;
  font-weight:400;
}
h1,h2,h3{
  font-family:"Shippori Antique B1",serif;
  font-weight:400;
  margin:0 0 16px;
}
/* 下層でも暖簾・短冊の「縦」の決まりを薄く残す：節見出し(h2)の左に縦罫1px×64px */
h2{
  display:flex;
  align-items:center;
  gap:14px;
}
h2::before{
  content:"";
  flex:0 0 auto;
  width:1px;
  height:64px;
  background:var(--navy);
}
h1,h2,h3,.tanzaku-h1,.tz,.menu-link,.about-row dt,.item-name,.pn-row-text b{word-break:keep-all}
p{margin:0 0 14px}
a{color:inherit}
ul{list-style:none;margin:0;padding:0}
img{max-width:100%}

/* ---------- header ---------- */
.hk-header{
  background:var(--white);
  border-bottom:1px solid var(--line);
  position:relative;
  z-index:10;
}
.hk-header-inner{
  height:56px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 20px;
}
.hk-logo{
  font-family:"BIZ UDPGothic",sans-serif;
  font-size:16px;
  font-weight:700;
  text-decoration:none;
  color:var(--ink);
}
.hk-nav-toggle{
  min-width:44px;
  min-height:44px;
  border:1px solid var(--line);
  background:var(--white);
  color:var(--ink);
  font-size:20px;
  line-height:1;
  cursor:pointer;
  font-family:inherit;
}
.hk-nav-toggle:hover{background:#f4f4f4}
.hk-nav-toggle:active{transform:translateY(1px)}
.hk-nav-toggle:focus-visible{outline:2px solid var(--navy);outline-offset:2px}

.nav-panel ul{
  display:flex;
  flex-direction:column;
  border-top:1px solid var(--line);
}
.nav-panel li{border-bottom:1px solid var(--line)}
.nav-panel a{
  display:block;
  padding:14px 20px;
  font-size:15px;
  text-decoration:none;
  color:var(--ink);
}
.nav-panel a:hover{background:#f6f6f6}
.nav-panel a.on{font-weight:700}
.nav-panel a:focus-visible{outline:2px solid var(--navy);outline-offset:-2px}

/* 隠す指定は html.js のときだけ有効（JS無しでは常に表示） */
html.js .nav-panel{display:none}
html.js .nav-panel.open{display:block}

/* ---------- entrance / noren・door（トップのみ） ---------- */
.entrance{
  position:relative;
  height:220svh;
}
.stage{
  position:sticky;
  top:0;
  height:100svh;
  min-height:320px;
  overflow:hidden;
  background:var(--navy);
}
.stage-bg{
  position:absolute;
  inset:0;
  margin:0;
}
.stage-bg img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 60%;
  display:block;
}
.stage-bg .hk-photo-note{z-index:3;bottom:calc(68px + env(safe-area-inset-bottom, 0px))}
.hk-photo-note.br{left:auto;right:12px}

.noren{
  position:absolute;
  top:0;
  width:50%;
  height:70%;
  background-color:var(--navy);
  background-image:repeating-linear-gradient(0deg, rgba(255,255,255,.04) 0 1px, transparent 1px 3px);
  z-index:2;
  border-radius:0;
}
.noren::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:1px;
  background:var(--white);
}
.noren-r{
  right:0;
  /* 開き切ると自分の幅ぶん動いて、画面の右端に10pxだけ残す */
  transform:translateX(calc(var(--p, 1) * (100% - 10px)));
}
.noren-l{
  left:0;
  transform:translateX(calc(var(--p, 1) * (-100% + 10px)));
}
.noren-text{
  position:absolute;
  top:48px;
  left:50%;
  transform:translateX(-50%);
  writing-mode:vertical-rl;
  text-orientation:mixed;
  color:var(--white);
  font-family:"Shippori Antique B1",serif;
  font-size:64px;
  letter-spacing:.06em;
  white-space:nowrap;
}
.noren-sub{
  position:absolute;
  bottom:12%;
  left:62%;
  writing-mode:vertical-rl;
  text-orientation:mixed;
  color:var(--white);
  font-family:"BIZ UDPGothic",sans-serif;
  font-size:14px;
  white-space:nowrap;
}

/* 戸（木の戸）バリエーション：entrance.kind === "door" のときだけ使う。
   引き戸＝1枚の戸が右へスライドして開く（中央で割れない） */
.noren.door{
  background-color:var(--navy);
  background-image:repeating-linear-gradient(90deg, rgba(255,255,255,.044) 0 1px, transparent 1px 28px);
}
/* 框線（上下）：noren共通の白1pxより薄く、戸だけ上書き */
.noren.door::before{
  background:rgba(255,255,255,.18);
}
.noren.door::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:1px;
  background:rgba(255,255,255,.18);
}
.noren.door-single{
  left:0;
  width:100%;
  /* 開き切ると自分の幅（画面いっぱい）ぶん動いて、右端に10pxだけ残す */
  transform:translateX(calc(var(--p, 1) * (100% - 10px)));
}
/* 見付け（戸の右端の少し明るい縦線） */
.door-edge{
  position:absolute;
  top:0;
  bottom:0;
  right:0;
  width:3px;
  background:rgba(255,255,255,.15);
}
/* 縦桟（中央より少し右に1本） */
.door-batten{
  position:absolute;
  top:0;
  bottom:0;
  left:56%;
  width:2px;
  background:rgba(255,255,255,.1);
}
.door-plate{
  position:absolute;
  top:28px;
  left:50%;
  transform:translateX(-50%);
  z-index:5;
  background:var(--white);
  color:var(--ink);
  text-align:center;
  padding:10px 18px 12px;
  white-space:nowrap;
}
.door-plate .dp-main{
  display:block;
  font-family:"BIZ UDPGothic",sans-serif;
  font-size:20px;
  font-weight:700;
  letter-spacing:.02em;
}
.door-plate .dp-sub{
  display:block;
  margin-top:3px;
  font-family:"BIZ UDPGothic",sans-serif;
  font-size:13px;
  color:#444;
}

.tanzaku-h1{
  position:absolute;
  top:16px;
  right:20px;
  max-height:none;
  margin:0;
  background:var(--navy);
  color:var(--white);
  writing-mode:vertical-rl;
  text-orientation:mixed;
  font-family:"Shippori Antique B1",serif;
  font-size:40px;
  letter-spacing:.08em;
  line-height:1.95;
  padding:44px 12px;
  z-index:4;
  opacity:1;
  transform:translateY(0);
  transition:transform .6s ease, opacity .6s ease;
  white-space:nowrap;
}
.tanzaku-h1 span{
  display:block;
  white-space:nowrap;
}
/* 1行が9文字を超えるときだけ、その行を小さく（文言は変えない） */
.tanzaku-h1 span.h1-long{font-size:36px}
/* 縦書きの中の英数字（例：DIY）を立てる */
.tcu{
  text-orientation:upright;
  letter-spacing:0;
}
html.js .tanzaku-h1:not(.on){
  opacity:0;
  transform:translateY(-12px);
}
/* 戸（door）の札は中央上部に固定なので、短冊見出しは札の下まで逃がして重なりを避ける */
.tanzaku-h1--door{
  top:104px;
}

@media (prefers-reduced-motion: reduce){
  .noren-r,.noren-l,.door-single{transform:translateX(calc(100% - 10px)) !important}
  .noren-l{transform:translateX(calc(-100% + 10px)) !important}
  .tanzaku-h1{opacity:1 !important;transform:translateY(0) !important}
  *{transition:none !important;animation:none !important}
}

/* ---------- oshinagaki（トップの2枚の短冊） ---------- */
.oshinagaki{
  padding:40px 20px 48px;
  border-top:1px solid var(--line);
}
.oshinagaki h2{
  font-size:28px;
  padding-bottom:14px;
  border-bottom:1px solid var(--line);
}
.oshinagaki h2::before{content:none}
.menu-row{
  display:flex;
  gap:4%;
  align-items:flex-start;
  margin-top:20px;
}
.menu-card{display:flex;flex-direction:column}
.menu-card--a{width:52%}
.menu-card--b{width:44%}
.menu-card .hk-photo{position:relative;margin:0;overflow:hidden}
.menu-card--a .hk-photo{height:72vw}
.menu-card--b .hk-photo{height:58vw}
.menu-card .hk-photo img{width:100%;height:100%;object-fit:cover;display:block}
.menu-tag{
  position:absolute;
  top:10px;
  right:10px;
  z-index:2;
  background:var(--navy);
  color:var(--white);
  writing-mode:vertical-rl;
  text-orientation:mixed;
  font-size:14px;
  letter-spacing:.04em;
  padding:10px 5px;
  max-height:calc(100% - 20px);
  white-space:nowrap;
}
.menu-link{
  display:inline-block;
  margin-top:12px;
  font-size:16px;
  font-weight:700;
  text-decoration:underline;
}
.menu-link:hover{color:var(--navy)}

/* ---------- guide（ご案内） ---------- */
.guide{
  padding:40px 20px 36px;
  border-top:1px solid var(--line);
}
.guide h2{font-size:32px}
.guide h2::before{content:none}
.quick-facts{margin:0 0 28px;border-top:1px solid var(--line)}
.quick-facts .fact-row{
  display:block;
  border-bottom:1px solid var(--line);
  padding:16px 0;
}
.quick-facts .fact-row dt{
  display:block;
  width:auto;
  font-size:17px;
  font-weight:700;
  line-height:1.6;
  margin:0 0 2px;
}
.quick-facts .fact-row dd{
  display:block;
  font-size:18px;
  line-height:1.6;
  margin:0;
}
.about-table{margin:22px 0 0}
.about-row{
  border-top:1px solid var(--line);
  padding:14px 0;
}
.about-row:last-child{border-bottom:1px solid var(--line)}
.about-row dt{font-weight:700;font-size:16px;margin:0 0 4px}
.about-row dd{margin:0;font-size:16px}
.notice-box{
  margin:22px 0 0;
  padding:14px 16px;
  border:1px dashed var(--line);
  font-size:15px;
  color:#333;
}
.fact-table{margin:22px 0 0;border-top:1px solid var(--line)}
.fact-row{
  display:flex;
  gap:16px;
  align-items:baseline;
  border-bottom:1px solid var(--line);
  padding:12px 0;
}
.fact-row dt{flex:0 0 auto;width:5.5em;font-weight:700;font-size:15px;margin:0}
.fact-row dd{flex:1;margin:0;font-size:15px}
.fact-row dd.empty{
  display:inline-block;
  padding:6px 10px;
  border:1px dashed var(--line);
  color:#555;
}

/* ---------- location（場所） ---------- */
.location{
  padding:40px 20px 48px;
  border-top:1px solid var(--line);
}
.location h2{font-size:32px}
.location h2::before{content:none}
/* 主要な節（お品書き／ご案内／場所）に共通の小さな縦札。事実ではなく節の記号（品／店／所の1文字） */
.sec-tag{
  display:flex;
  align-items:center;
  justify-content:center;
  width:22px;
  height:56px;
  margin-bottom:12px;
  background:var(--navy);
  color:var(--white);
  writing-mode:vertical-rl;
  text-orientation:mixed;
  font-size:13px;
  white-space:nowrap;
}
.address{font-weight:700;font-size:17px}
.ig-link{display:inline-block;margin:2px 0 14px;font-size:15px;text-decoration:underline}
.map-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:0 24px;
  margin:6px 0 16px;
  background:var(--navy);
  color:var(--white);
  text-decoration:none;
  font-size:16px;
  font-weight:700;
  border:2px solid var(--navy);
}
.map-btn:hover{filter:brightness(.88)}
.map-btn:active{transform:translateY(2px)}
.map-btn:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.location .notice{font-size:14px;color:#333;margin-top:4px}

/* ---------- phero（下層3ページの全幅見出し） ---------- */
.phero{
  position:relative;
  height:72svh;
  min-height:360px;
  overflow:hidden;
  background:var(--navy);
}
.phero .hk-photo{position:absolute;inset:0;margin:0}
.phero .hk-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.phero .hk-photo-note{z-index:3}
.phero-h1{
  position:absolute;
  top:20px;
  right:16px;
  z-index:4;
  display:flex;
  gap:6px;
  margin:0;
}
.tz{
  display:block;
  background:var(--navy);
  color:var(--white);
  writing-mode:vertical-rl;
  text-orientation:mixed;
  font-family:"Shippori Antique B1",serif;
  font-size:40px;
  letter-spacing:.08em;
  line-height:1.82;
  padding:44px 12px;
  white-space:nowrap;
  margin:0;
}
/* 本文が9文字を超えるときだけ小さく（文言は変えない） */
.tz.tz-long{font-size:36px}

/* ---------- お品書き（下層メニューページ） ---------- */
.oshina-sec{padding:36px 20px 8px}
.oshina-sec h2{font-size:28px;padding-bottom:14px;border-bottom:1px solid var(--line);margin-bottom:18px}
.oshina-sec h2::before{content:none}
.oshina-intro{font-size:16px}
.tlink{text-decoration:underline;font-weight:700}
.tlink:hover{color:var(--navy)}
.items{margin:26px 0 0}
.item-row{
  display:flex;
  align-items:flex-start;
  gap:12px;
  padding:16px 0;
  border-top:1px solid var(--line);
}
.items .item-row:last-child{border-bottom:1px solid var(--line)}
.item-sq{
  flex:0 0 auto;
  width:6px;
  height:6px;
  margin-top:10px;
  background:var(--navy);
}
.item-body{flex:1}
.item-name{font-size:20px;font-weight:700;margin:0 0 2px;font-family:"BIZ UDPGothic",sans-serif}
.item-note{font-size:15px;color:#333;margin:0}
.menu-footnote{font-size:13.5px;color:#555;margin:14px 0 0}
.notebox-rule{
  margin:28px 0 0;
  padding:16px 18px;
  border:1px solid var(--line);
}
.notebox-rule .nb-ttl{font-weight:700;font-size:16px;margin:0 0 6px}
.notebox-rule p:last-child{margin-bottom:0}
.oshina-sec .about-link{margin:22px 0 0;font-size:16px}

/* ---------- about.html ---------- */
.about-sec{padding:36px 20px 8px}
.about-sec h2{font-size:28px;padding-bottom:14px;border-bottom:1px solid var(--line);margin-bottom:18px}
.points-table{margin:0}
.points-row{
  display:flex;
  flex-direction:column;
  gap:4px;
  border-top:1px solid var(--line);
  padding:14px 0;
}
.points-table .points-row:last-child{border-bottom:1px solid var(--line)}
.points-row b{font-size:16px;font-family:"BIZ UDPGothic",sans-serif}
.points-row p{margin:0;font-size:16px}
.faqs{margin-top:8px}
.faqs details{border-top:1px solid var(--line);padding:14px 0}
.faqs details:last-child{border-bottom:1px solid var(--line)}
.faqs summary{font-size:16px;font-weight:700;cursor:pointer}
.faqs summary::marker{color:var(--navy)}
.faqs p{margin:10px 0 0;font-size:15px}

/* ---------- ページ送り（pagenav、4ページ共通） ---------- */
.pagenav{
  padding:40px 20px 48px;
  border-top:1px solid var(--line);
}
.pn-label{font-size:13.5px;font-weight:700;letter-spacing:.04em;color:#555;margin:0}
.pn-list{
  margin-top:8px;
  border-top:1px solid var(--line);
}
.pn-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  height:72px;
  border-bottom:1px solid var(--line);
  text-decoration:none;
  color:var(--ink);
}
.pn-row:hover{background:#f6f6f6}
.pn-row:focus-visible{outline:2px solid var(--navy);outline-offset:-2px}
.pn-row-text{flex:1;min-width:0}
.pn-row-text b{display:block;font-size:17px;font-weight:700;font-family:"BIZ UDPGothic",sans-serif}
.pn-row-text p{
  margin:2px 0 0;
  font-size:14px;
  color:#555;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.pn-row-thumb{flex:0 0 64px;width:64px;height:64px;margin:0;overflow:hidden}
.pn-row-thumb img{width:100%;height:100%;object-fit:cover;display:block}

/* ---------- footer ---------- */
.hk-footer{
  border-top:1px solid var(--line);
  padding:28px 20px 32px;
  font-size:13.5px;
  color:#48484c;
}
.hk-footer-nav ul{
  display:flex;
  flex-wrap:wrap;
  gap:14px 18px;
  margin-bottom:18px;
  padding-bottom:18px;
  border-bottom:1px solid var(--line);
}
.hk-footer-nav a{
  font-size:14px;
  color:var(--ink);
  text-decoration:underline;
}
.ft-note{
  margin-top:44px;
  max-width:34em;
  font-size:15px;
}
.ft-note p{margin:0 0 8px;line-height:1.7}
.hk-credit{margin:14px 0 0;font-size:12.5px;color:#6e6e73}

/* ---------- PC (>=1024px) ---------- */
@media (min-width:1024px){
  .noren-text{font-size:120px}
  .tanzaku-h1{font-size:51px}
  .tz{font-size:47px}
  .tanzaku-h1 span.h1-long{font-size:46px}
  .tz.tz-long{font-size:42px}
  .door-plate{padding:14px 26px 16px}
  .door-plate .dp-main{font-size:24px}
  .tanzaku-h1--door{top:132px}
  .oshinagaki,.guide,.location,.oshina-sec,.about-sec,.pagenav{max-width:1100px;margin-left:auto;margin-right:auto}
  .guide-grid,.location-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:0 48px;
    align-items:start;
  }
}
