/* haco — Live House & Cafe Bar
   黒板(board)とクラフト紙(paper)の2トーン + 黄色のチョーク */
:root {
  --board: #1F1D1B;
  --board-2: #2A2724;
  --chalk: #F3EEE3;
  --chalk-dim: #C9C1B2;
  --paper: #EFE8D8;
  --paper-2: #E4DBC6;
  --ink: #2B2724;
  --ink-dim: #5A5249;
  --yellow: #F2C94C;
  --olive: #4E5A3A;
  --gutter: clamp(16px, 4vw, 56px);
  --hand: 'Yusei Magic', 'Zen Maru Gothic', sans-serif;
  --logo: 'Pacifico', cursive;
  --noise-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --noise-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .2 0 0 0 0 .15 0 0 0 0 .1 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --torn: polygon(0% 100%, 0% 45%, 3% 70%, 6% 25%, 9% 60%, 13% 30%, 17% 78%, 21% 38%, 25% 66%, 29% 18%, 33% 56%, 38% 32%, 42% 74%, 46% 26%, 51% 60%, 55% 22%, 59% 70%, 64% 36%, 68% 80%, 72% 30%, 77% 62%, 81% 22%, 85% 66%, 89% 36%, 93% 74%, 97% 30%, 100% 55%, 100% 100%);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--board) var(--noise-light);
  color: var(--chalk);
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.85;
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p, dl, dd, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
svg.i { width: 1.2em; height: 1.2em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 8px; top: 8px; background: var(--yellow); color: var(--ink); padding: 8px 12px; z-index: 10; }

/* ---------- header / footer ---------- */
.site-header {
  position: sticky; top: 0; z-index: 5;
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px;
  padding: 10px var(--gutter); background: rgba(24, 22, 20, .96);
}
.logo { display: inline-flex; flex-direction: column; text-decoration: none; line-height: 1; color: var(--chalk); }
.logo .sub { font-family: 'Zen Maru Gothic'; font-weight: 700; font-size: 10px; letter-spacing: .04em; margin-bottom: -2px; }
.logo .word { display: inline-flex; align-items: center; gap: 6px; font-family: var(--logo); font-size: 34px; }
.logo .wave { width: 34px; height: 20px; stroke: var(--yellow); stroke-width: 2.4; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.nav { display: flex; flex-wrap: wrap; gap: 0 26px; margin-left: auto; font-weight: 700; font-size: 14px; }
.nav a { text-decoration: none; padding: 12px 0; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--yellow); }
.social { display: flex; gap: 6px; }
.social a { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; }
.social a:hover { color: var(--yellow); }
.social svg.i { width: 24px; height: 24px; }
.cta {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  background: var(--yellow); color: var(--ink); font-weight: 700; font-size: 14px;
  padding: 10px 18px; border-radius: 6px; transform: rotate(-1deg);
}
.cta:hover { background: var(--chalk); }
@media (max-width: 860px) {
  .site-header { position: static; }
  .nav { order: 3; width: 100%; margin-left: 0; gap: 0 18px; }
  .social { margin-left: auto; }
  .cta { display: none; }
}

.site-footer {
  background: #161412 var(--noise-light);
  padding: 28px var(--gutter); display: flex; flex-wrap: wrap; align-items: center; gap: 16px 40px;
}
.site-footer nav { display: flex; flex-wrap: wrap; font-weight: 700; font-size: 14px; flex: 1 1 auto; justify-content: center; }
.site-footer nav a { text-decoration: none; padding: 10px 22px; border-left: 1px solid #4A4540; }
.site-footer nav a:first-child { border-left: 0; }
.site-footer nav a:hover { color: var(--yellow); }
.copy { background: #161412; color: var(--chalk-dim); font-size: 12px; padding: 0 var(--gutter) 24px; }
.copy p + p { margin-top: 4px; }

/* ---------- shared pieces ---------- */
.hand { font-family: var(--hand); font-weight: 400; }
.title {
  font-family: var(--hand); font-weight: 400; font-size: clamp(30px, 4vw, 44px); line-height: 1.25;
  display: inline-block; position: relative; padding-bottom: 10px; margin-bottom: 28px;
}
.title::after {
  content: ""; position: absolute; left: -4px; right: -12px; bottom: 0; height: 7px;
  background: var(--yellow); border-radius: 60% 40% 70% 30% / 100% 60% 100% 60%; transform: rotate(-1.5deg);
}
.title small { font-size: .62em; }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; text-decoration: none; padding: 10px 0; }
.more:hover { color: var(--yellow); }

.paper { background: var(--paper) var(--noise-dark); color: var(--ink); position: relative; }
.torn-top::before, .torn-bottom::after {
  content: ""; position: absolute; left: 0; right: 0; height: 16px; background: inherit; z-index: 1;
}
.torn-top::before { top: -15px; clip-path: var(--torn); }
.torn-bottom::after { bottom: -15px; clip-path: var(--torn); transform: scaleY(-1); }

.polaroid { background: #FBF8F1; padding: 8px 8px 0; box-shadow: 0 6px 18px rgba(0,0,0,.28); color: var(--ink); }
.polaroid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.tilt-l { transform: rotate(-2deg); }
.tilt-r { transform: rotate(1.8deg); }
.tape { position: relative; }
.tape::before {
  content: ""; position: absolute; top: -12px; left: 50%; width: 76px; height: 22px; margin-left: -38px;
  background: rgba(240, 225, 170, .78); transform: rotate(-4deg); box-shadow: 0 1px 2px rgba(0,0,0,.15);
}

.btn {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 700;
  padding: 12px 22px; border-radius: 999px; background: var(--yellow); color: var(--ink);
}
.btn:hover { background: var(--chalk); }
.btn.olive { background: var(--olive); color: var(--chalk); }
.btn.olive:hover { background: var(--ink); }
.btn.ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 2px currentColor; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- HOME: hero ---------- */
.hero {
  position: relative; min-height: clamp(420px, 46vw, 620px); overflow: hidden;
  display: flex; align-items: center; padding: 48px var(--gutter) 72px;
}
.hero-photo { position: absolute; inset: 0; background: url("/assets/img/hero.jpg") right center / cover no-repeat; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,18,16,.92) 0%, rgba(20,18,16,.7) 38%, rgba(20,18,16,.1) 70%); }
.hero-copy { position: relative; max-width: 520px; }
.hero h1 { font-family: var(--hand); font-weight: 400; font-size: clamp(38px, 5.4vw, 68px); line-height: 1.3; transform: rotate(-3deg); transform-origin: left; }
.hero h1 span { display: block; padding-left: 1.4em; }
.hero .underline { display: block; width: min(420px, 80%); height: 12px; margin: 10px 0 24px 40px; color: var(--yellow); }
.hero p { font-size: 15px; line-height: 2; text-shadow: 0 1px 6px rgba(0,0,0,.6); }
@media (max-width: 640px) {
  .hero { align-items: flex-end; min-height: 560px; }
  .hero-photo { background-position: 70% center; }
  .hero-photo::after { background: linear-gradient(0deg, rgba(20,18,16,.95) 0%, rgba(20,18,16,.6) 50%, rgba(20,18,16,.1) 100%); }
}

/* ---------- HOME: 楽しみ方 ---------- */
.enjoy { padding: 56px var(--gutter) 64px; display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.enjoy .title { margin-bottom: 0; font-size: clamp(32px, 4.4vw, 48px); transform: rotate(-4deg); }
.enjoy-head { flex: 1 1 200px; }
.enjoy-list { flex: 999 1 640px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px 28px; }
.enjoy-item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.enjoy-item .polaroid { width: 100%; padding-bottom: 8px; }
.label {
  display: inline-flex; align-items: center; gap: 10px; margin-top: -30px; position: relative;
  background: var(--yellow); color: var(--ink); font-weight: 700; font-size: 19px; padding: 8px 18px;
  box-shadow: 0 3px 8px rgba(0,0,0,.2); transform: rotate(-1deg);
}
.enjoy-item p { font-size: 14px; line-height: 1.8; font-weight: 700; }

/* ---------- HOME: events ---------- */
.board { padding: 72px var(--gutter); }
.head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 8px 24px; }
.events { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 32px 20px; margin-top: 8px; }
.event {
  position: relative; background: var(--paper) var(--noise-dark); color: var(--ink);
  padding: 30px 10px 14px; display: flex; flex-direction: column; gap: 10px; box-shadow: 0 6px 16px rgba(0,0,0,.35);
}
.event:nth-child(odd) { transform: rotate(-1deg); }
.event:nth-child(even) { transform: rotate(.8deg); }
.event .date {
  position: absolute; top: -14px; left: 12px; background: #F6EFD9; font-weight: 700; font-size: 15px;
  padding: 2px 12px; box-shadow: 0 2px 5px rgba(0,0,0,.25); transform: rotate(-3deg);
}
.event img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.event h3 { font-size: 17px; font-weight: 700; line-height: 1.4; min-height: 2.8em; display: flex; align-items: center; }
.event .price { align-self: center; background: #DCCFA8; font-weight: 700; font-size: 16px; padding: 2px 16px; border-radius: 999px; }
.event .price small { font-size: 11px; }
.event a { text-decoration: none; }

/* ---------- HOME: 料金 + フード ---------- */
.price-food { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 56px; padding: 0 var(--gutter) 80px; align-items: start; }
.chalkbox { border: 2px solid var(--yellow); border-radius: 14px 18px 12px 20px; padding: 0 28px 20px; position: relative; }
.chalkbox .title { background: var(--board); padding: 0 12px; margin: -26px 0 8px -12px; }
.chalkbox .title::after { left: 8px; }
.price-list li { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid rgba(243,238,227,.25); }
.price-list li:last-child { border-bottom: 0; }
.price-list svg.i { width: 28px; height: 28px; color: var(--chalk); }
.price-list .k { font-weight: 700; font-size: 17px; flex: 1; }
.price-list .k small { font-size: 12px; font-weight: 500; color: var(--chalk-dim); }
.price-list .v { font-weight: 700; font-size: 17px; text-align: right; }
.price-list .v small { display: block; font-size: 11px; font-weight: 500; color: var(--chalk-dim); }
.food .title { transform: rotate(-3deg); }
.food-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.food-list figcaption {
  font-family: var(--hand); font-size: 15px; line-height: 1.3; text-align: center; padding: 8px 4px 10px;
}
@media (max-width: 480px) { .food-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- HOME: circle ---------- */
.circle { display: flex; flex-wrap: wrap; align-items: stretch; background: #191715 var(--noise-light); }
.circle-photo { flex: 1 1 380px; min-height: 300px; background: url("/assets/img/circle.jpg") center / cover; }
.circle-body { flex: 999 1 520px; padding: 48px var(--gutter); display: flex; flex-wrap: wrap; gap: 32px; align-items: center; }
.circle-body .title { transform: rotate(-4deg); margin-bottom: 0; }
.checks { flex: 1 1 300px; display: flex; flex-direction: column; gap: 10px; }
.checks li { display: flex; gap: 10px; font-weight: 700; font-size: 15px; line-height: 1.6; }
.checks svg.i { color: var(--yellow); width: 22px; height: 22px; margin-top: 1px; }
.manager { width: 190px; position: relative; }
.manager .polaroid { padding-bottom: 8px; }
.manager .stamp {
  position: absolute; left: -24px; bottom: -22px; background: var(--yellow); color: var(--ink);
  font-family: var(--hand); font-size: 18px; line-height: 1.25; padding: 8px 14px; transform: rotate(-8deg);
  box-shadow: 0 3px 8px rgba(0,0,0,.3);
}

/* ---------- HOME: access ---------- */
.access { padding: 64px var(--gutter); display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px; align-items: center; }
.access .title { display: inline-flex; align-items: center; gap: 8px; }
.access .addr { font-weight: 700; font-size: 17px; line-height: 1.9; margin-bottom: 20px; }
.map-illust {
  position: relative; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden;
  background:
    linear-gradient(90deg, transparent 0 22%, #fff 22% 26%, transparent 26% 60%, #fff 60% 63%, transparent 63%),
    linear-gradient(0deg, transparent 0 30%, #fff 30% 35%, transparent 35% 68%, #fff 68% 72%, transparent 72%),
    #DCD6C8;
}
.map-illust .station { position: absolute; top: 8%; left: 34%; background: #fff; border: 2px solid var(--ink); font-weight: 700; padding: 2px 14px; }
.map-illust .exit { position: absolute; top: 26%; left: 40%; font-weight: 700; font-size: 13px; }
.map-illust .route { position: absolute; top: 38%; left: 44%; width: 18%; height: 18%; border-left: 3px dashed var(--ink); border-bottom: 3px dashed var(--ink); }
.map-illust .pin { position: absolute; top: 49%; left: 59%; width: 30px; height: 30px; border-radius: 50%; background: var(--yellow); border: 2px solid var(--ink); display: flex; align-items: center; justify-content: center; }
.map-illust .tag { position: absolute; top: 44%; left: 67%; background: var(--ink); color: var(--chalk); text-align: center; padding: 6px 14px; border-radius: 6px; line-height: 1.2; }
.map-illust .tag b { font-family: var(--logo); font-weight: 400; font-size: 24px; display: block; }
.map-illust .tag small { font-size: 11px; }
.entrance { border-radius: 14px; overflow: hidden; box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.entrance img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }

/* ---------- 下層ページ ---------- */
.page-head { padding: 64px var(--gutter) 40px; }
.page-head .eyebrow { font-weight: 700; font-size: 13px; letter-spacing: .14em; color: var(--yellow); }
.page-head h1 { font-family: var(--hand); font-weight: 400; font-size: clamp(40px, 6vw, 72px); line-height: 1.2; margin-top: 8px; }
.page-head p { max-width: 42em; margin-top: 16px; }
.section { padding: 64px var(--gutter); }
.section.paper { padding: 72px var(--gutter); }
.lead { font-size: 16px; line-height: 2; max-width: 42em; }
.note { font-size: 13px; color: var(--chalk-dim); }
.paper .note { color: var(--ink-dim); }

.price-table { width: 100%; border-collapse: collapse; }
.price-table th, .price-table td { text-align: left; padding: 16px 16px 16px 0; border-bottom: 1px solid rgba(243,238,227,.25); vertical-align: top; }
.price-table th { font-weight: 700; font-size: 16px; }
.price-table th small { display: block; font-weight: 500; font-size: 12px; color: var(--chalk-dim); }
.price-table td { font-weight: 700; font-size: 20px; white-space: nowrap; }
.price-table td small { display: block; font-size: 12px; font-weight: 500; white-space: normal; color: var(--chalk-dim); }

.spec { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.spec > div { background: #FBF8F1; color: var(--ink); padding: 22px 22px 18px; box-shadow: 0 4px 12px rgba(0,0,0,.12); }
.spec > div:nth-child(odd) { transform: rotate(-.6deg); }
.spec > div:nth-child(even) { transform: rotate(.5deg); }
.spec h3 { display: inline-block; background: var(--yellow); font-size: 14px; letter-spacing: .08em; padding: 2px 10px; margin-bottom: 10px; }
.spec li { font-size: 15px; line-height: 1.9; }

.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 48px; align-items: center; }
.split .polaroid img { aspect-ratio: 16 / 10; }
.split .polaroid { padding-bottom: 8px; }

.rules { columns: 2 340px; column-gap: 48px; }
.rules section { break-inside: avoid; margin-bottom: 28px; }
.rules h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; padding-left: 10px; border-left: 4px solid var(--yellow); }
.rules li { font-size: 14px; line-height: 1.9; padding-left: 1em; text-indent: -1em; }
.rules li::before { content: "・"; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.card { background: var(--paper) var(--noise-dark); color: var(--ink); padding: 24px; display: flex; flex-direction: column; gap: 6px; box-shadow: 0 6px 16px rgba(0,0,0,.3); }
.card .k { font-family: var(--hand); font-size: 24px; color: #9A7A16; line-height: 1; }
.card h3 { font-size: 18px; font-weight: 700; }
.card p { font-size: 14px; line-height: 1.8; }

.genre { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-top: 24px; }
.genre li { border: 1.5px solid rgba(243,238,227,.4); border-radius: 10px; padding: 12px 16px; }
.genre b { display: block; color: var(--yellow); font-size: 13px; }

.band {
  margin: 0 var(--gutter) 72px; padding: 40px clamp(20px, 4vw, 48px); border: 2px solid var(--yellow); border-radius: 16px 20px 14px 22px;
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px;
}
.band .title { margin-bottom: 12px; }
