/* ガガマル食堂 案B「暖簾」 2026-10-03 */

: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{
  font-family:"Shippori Antique B1",serif;
  font-weight:400;
  margin:0 0 16px;
}
h1,h2,.tanzaku-h1,.menu-link,.about-row dt{word-break:keep-all}
p{margin:0 0 14px}
a{color:inherit}
ul{list-style:none;margin:0;padding:0}

/* ---------- 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}

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

/* ---------- entrance / noren ---------- */
.entrance{
  position:relative;
  height:220svh;
}
.stage{
  position:sticky;
  top:40px;
  height:calc(100svh - 40px);
  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:68%;
  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;
  transform:translateX(calc(var(--p, 1) * 94%));
}
.noren-l{
  left:0;
  transform:translateX(calc(var(--p, 1) * -94%));
}
.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;
}

.tanzaku-h1{
  position:absolute;
  top:16px;
  right:20px;
  max-height:60%;
  margin:0;
  background:var(--navy);
  color:var(--white);
  writing-mode:vertical-rl;
  text-orientation:mixed;
  font-family:"Shippori Antique B1",serif;
  font-size:44px;
  line-height:1.5;
  padding:14px 10px;
  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;
}
html.js .tanzaku-h1:not(.on){
  opacity:0;
  transform:translateY(-12px);
}

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

/* ---------- oshinagaki ---------- */
.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);
}
.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:0;
  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:8px 5px;
  white-space:nowrap;
}
.menu-link{
  display:inline-block;
  margin-top:12px;
  font-size:17px;
  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}
.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;
}

/* ---------- location ---------- */
.location{
  padding:40px 20px 48px;
  border-top:1px solid var(--line);
}
.location h2{font-size:32px}
.address{font-weight:700;font-size:17px}
.map-note{font-size:14px;color:#333}
.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}

/* ---------- 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 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:56px}
  .oshinagaki,.guide,.location{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;
  }
}

/* 見比べ用の切り替えバー（デモだけ） */
.hk-switch{position:fixed;top:0;left:0;right:0;z-index:9600;height:40px;display:flex;align-items:center;gap:6px;padding:0 10px;background:#111;color:#fff;font:600 13px/1 "Hiragino Sans","Noto Sans JP",sans-serif;letter-spacing:0}
.hk-switch span{color:#aaa;margin-right:4px;white-space:nowrap;font-weight:400}
.hk-switch a{flex:1;text-align:center;color:#fff;text-decoration:none;padding:8px 0;border:1px solid #666}
.hk-switch a.on{background:#fff;color:#111;border-color:#fff}
body{padding-top:40px}
