/* ============================================================
   百の宿 Guest Guide — shared stylesheet
   ============================================================ */
:root {
  --ink: #2b2620;
  --ink-soft: #6b6257;
  --paper: #faf7f2;
  --card: #ffffff;
  --gold: #c9a96e;
  --gold-deep: #a07840;
  --line: #e8e1d5;
  --accent: #0e7c8f;
  --danger: #b3432f;
  --font-ja: 'Shippori Mincho B1', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
  --font-en: 'Cormorant Garamond', Georgia, serif;
  --font-ui: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', Meiryo, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-ui);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
.wrap { max-width: 860px; margin: 0 auto; padding: 0 1.25rem; }

/* ===== header ===== */
.top {
  background: #14110d;
  color: #f0ede8;
  padding: 2.2rem 0 1.9rem;
  text-align: center;
  position: relative;
}
.top .eyebrow {
  font-family: var(--font-en);
  font-style: italic;
  letter-spacing: 0.3em;
  color: var(--gold);
  font-size: 0.85rem;
  text-transform: uppercase;
}
.top h1 {
  font-family: var(--font-ja);
  font-weight: 800;
  font-size: clamp(1.45rem, 4.6vw, 2.1rem);
  letter-spacing: 0.12em;
  margin-top: 0.35rem;
}
.top .sub { color: #b9b2a6; font-size: 0.88rem; margin-top: 0.45rem; letter-spacing: 0.06em; }
.lang { position: absolute; top: 0.9rem; right: 1rem; display: flex; flex-wrap: wrap; justify-content: flex-end; max-width: 66%; gap: 0.35rem; }
.lang a {
  font-family: var(--font-en);
  font-size: 0.75rem; letter-spacing: 0.1em;
  padding: 0.22rem 0.6rem;
  border: 1px solid rgba(201,169,110,0.45);
  border-radius: 2px; text-decoration: none;
  color: #b9b2a6;
}
.lang a.on { color: var(--gold); border-color: var(--gold); }
.backlink {
  position: absolute; top: 0.9rem; left: 1rem;
  font-size: 0.78rem; color: #b9b2a6; text-decoration: none;
  border: 1px solid rgba(201,169,110,0.35); border-radius: 999px;
  padding: 0.22rem 0.8rem;
}
.backlink:hover { color: var(--gold); border-color: var(--gold); }

/* ===== sections ===== */
section { padding: 2.6rem 0 0.4rem; }
.sec-head { text-align: center; margin-bottom: 1.5rem; }
.sec-head .en {
  font-family: var(--font-en); font-style: italic;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold-deep); font-size: 0.8rem;
}
.sec-head h2 {
  font-family: var(--font-ja);
  font-size: clamp(1.3rem, 4vw, 1.6rem);
  letter-spacing: 0.1em; font-weight: 800;
  margin-top: 0.15rem;
}
.sec-head .lead { color: var(--ink-soft); font-size: 0.88rem; margin-top: 0.45rem; }

/* ===== quick facts ===== */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; margin: -1.3rem auto 0; position: relative; }
.fact {
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: 6px;
  padding: 0.85rem 0.5rem 0.75rem;
  text-align: center;
  box-shadow: 0 6px 18px rgba(43,38,32,0.07);
}
.fact .k { font-size: 0.72rem; letter-spacing: 0.18em; color: var(--ink-soft); text-transform: uppercase; font-family: var(--font-en); }
.fact .v { font-size: clamp(1rem, 3.2vw, 1.45rem); font-weight: 700; letter-spacing: 0.04em; line-height: 1.3; margin-top: 0.1rem; }
.fact .n { font-size: 0.72rem; color: var(--ink-soft); }

/* ===== hub cards ===== */
.menu { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.9rem; }
.menu a {
  display: flex; gap: 1rem; align-items: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.1rem 1.2rem;
  text-decoration: none;
  transition: box-shadow 0.2s, transform 0.2s;
}
.menu a:hover { box-shadow: 0 8px 22px rgba(43,38,32,0.1); transform: translateY(-2px); }
.menu .ico {
  flex: 0 0 auto;
  width: 52px; height: 52px; border-radius: 50%;
  background: #f2ece1;
  display: flex; align-items: center; justify-content: center;
}
.menu .ico svg { width: 26px; height: 26px; stroke: var(--gold-deep); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.menu h3 { font-size: 1rem; letter-spacing: 0.04em; }
.menu p { font-size: 0.78rem; color: var(--ink-soft); line-height: 1.5; margin-top: 0.1rem; }
.menu .arrow { margin-left: auto; color: var(--gold); font-weight: 700; }

/* ===== welcome ===== */
.welcome {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.4rem 1.3rem;
  text-align: center;
  font-size: 0.95rem;
}
.welcome strong { font-family: var(--font-ja); letter-spacing: 0.08em; }
.welcome .water {
  display: inline-block; margin-top: 0.65rem;
  background: #eef6f7; border-radius: 999px;
  padding: 0.28rem 1.1rem; font-size: 0.84rem; color: var(--accent);
}

/* ===== steps (text) ===== */
.steps { display: grid; gap: 0.9rem; }
.step {
  display: flex; gap: 1rem; align-items: flex-start;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.05rem 1.15rem;
}
.step .num {
  flex: 0 0 auto;
  width: 2.3rem; height: 2.3rem;
  border-radius: 50%;
  background: var(--gold);
  color: #fff; font-weight: 700; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-en);
}
.step h3 { font-size: 1rem; letter-spacing: 0.03em; }
.step p { font-size: 0.85rem; color: var(--ink-soft); margin-top: 0.15rem; }
.step .tag {
  display: inline-block; font-size: 0.72rem;
  background: #f4ede0; color: var(--gold-deep);
  border-radius: 4px; padding: 0 0.5rem; margin-left: 0.4rem;
  vertical-align: 2px;
}

/* ===== photo steps ===== */
.photo-steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.pstep {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  display: flex; flex-direction: column;
}
.pstep .ph { position: relative; background: #eee; }
.pstep .ph img { width: 100%; height: auto; }
.pstep .cap { padding: 0.8rem 1rem 0.9rem; }
.pstep .cap .n {
  display: inline-flex; align-items: center; justify-content: center;
  width: 1.7rem; height: 1.7rem; border-radius: 50%;
  background: var(--gold); color: #fff; font-weight: 700; font-size: 0.95rem;
  font-family: var(--font-en);
  margin-right: 0.5rem; vertical-align: middle;
}
.pstep .cap h3 { display: inline; font-size: 0.98rem; letter-spacing: 0.02em; vertical-align: middle; }
.pstep .cap p { font-size: 0.82rem; color: var(--ink-soft); margin-top: 0.35rem; line-height: 1.6; }
.pstep.wide { grid-column: 1 / -1; }
.pstep.wide .ph img { max-height: 560px; object-fit: contain; margin: 0 auto; }

/* ===== annotated photo (badges on image) ===== */
.anno-figure {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.anno-figure .ph { position: relative; }
.anno-figure .ph img { width: 100%; }
.dot {
  position: absolute;
  width: 1.65rem; height: 1.65rem;
  border-radius: 50%;
  background: var(--danger);
  color: #fff; font-weight: 700; font-size: 0.92rem;
  font-family: var(--font-en);
  display: flex; align-items: center; justify-content: center;
  border: 2px solid #fff;
  box-shadow: 0 1px 6px rgba(0,0,0,0.45);
  transform: translate(-50%, -50%);
}
.anno-figure .body { padding: 0.9rem 1.1rem 1rem; }
.anno-figure .body h3 { font-size: 1.02rem; letter-spacing: 0.03em; margin-bottom: 0.4rem; }
.legend-items { display: grid; gap: 0.3rem; }
.legend-items li {
  list-style: none;
  display: flex; gap: 0.6rem; align-items: baseline;
  font-size: 0.86rem;
}
.legend-items .ln {
  flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center;
  width: 1.35rem; height: 1.35rem; border-radius: 50%;
  background: var(--danger); color: #fff;
  font-size: 0.78rem; font-weight: 700; font-family: var(--font-en);
  position: relative; top: 0.2rem;
}
.legend-items small { color: var(--ink-soft); }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; align-items: start; }

/* ===== rules grid ===== */
.rules { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.75rem; }
.rule {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.1rem 0.6rem 0.95rem;
  text-align: center;
}
.rule .ico {
  width: 54px; height: 54px; margin: 0 auto 0.5rem;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #f2ece1;
}
.rule .ico.no { background: #f9e9e5; }
.rule svg { width: 28px; height: 28px; stroke: var(--gold-deep); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.rule .ico.no svg { stroke: var(--danger); }
.rule h3 { font-size: 0.92rem; letter-spacing: 0.02em; line-height: 1.45; }
.rule p { font-size: 0.74rem; color: var(--ink-soft); line-height: 1.55; margin-top: 0.2rem; }

/* ===== notes ===== */
.hint {
  margin-top: 0.9rem;
  background: #fdf6ec;
  border: 1px solid #eeddbe;
  border-radius: 8px;
  padding: 0.85rem 1.1rem;
  font-size: 0.84rem; color: #7a5c2e;
}
.hint b { display: block; }
.caution {
  margin-top: 0.9rem;
  background: #faf0ee;
  border: 1px solid #ecd2cb;
  border-radius: 8px;
  padding: 0.9rem 1.1rem;
  font-size: 0.84rem; color: #86402f;
}

/* ===== garbage bins ===== */
.bins { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.75rem; }
.bin { border-radius: 8px; padding: 1rem 0.5rem 0.9rem; text-align: center; color: #fff; }
.bin h3 { font-size: 0.95rem; letter-spacing: 0.04em; }
.bin p { font-size: 0.74rem; opacity: 0.92; line-height: 1.5; margin-top: 0.15rem; }
.bin.b1 { background: #c05a4a; }
.bin.b2 { background: #6e5a8e; }
.bin.b3 { background: #6e9e56; }
.bin.b4 { background: #3d8fa8; }
.bin .mark { font-size: 1.5rem; line-height: 1; margin-bottom: 0.35rem; }

/* ===== checkout list ===== */
.checks { display: grid; gap: 0.6rem; }
.check {
  display: flex; align-items: center; gap: 0.9rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.85rem 1.1rem;
  font-size: 0.95rem;
}
.check .box { flex: 0 0 auto; width: 1.5rem; height: 1.5rem; border: 2px solid var(--gold); border-radius: 4px; }
.check small { display: block; color: var(--ink-soft); font-size: 0.78rem; line-height: 1.5; }

/* ===== contacts ===== */
.contacts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
.contact {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1rem 1.1rem;
  display: flex; justify-content: space-between; align-items: center; gap: 0.6rem;
}
.contact .who { font-size: 0.9rem; }
.contact .who small { display: block; color: var(--ink-soft); font-size: 0.74rem; }
.contact .tel {
  font-family: var(--font-en);
  font-size: 1.3rem; font-weight: 600; letter-spacing: 0.04em;
  color: var(--gold-deep); text-decoration: none; white-space: nowrap;
}

/* ===== address ===== */
.addr {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.4rem 1.3rem;
  text-align: center;
}
.addr .name { font-family: var(--font-ja); font-weight: 800; letter-spacing: 0.12em; font-size: 1.1rem; }
.addr .lines { margin-top: 0.4rem; font-size: 0.95rem; }
.addr .lines small { color: var(--ink-soft); }
.btns { display: flex; gap: 0.7rem; justify-content: center; flex-wrap: wrap; margin-top: 1rem; }
.btn {
  display: inline-block;
  padding: 0.6rem 1.5rem;
  border-radius: 999px;
  font-size: 0.88rem; letter-spacing: 0.04em;
  text-decoration: none;
}
.btn.primary { background: var(--gold); color: #fff; }
.btn.ghost { border: 1.5px solid var(--gold); color: var(--gold-deep); }

/* ===== time chips (access) ===== */
.chips { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.6rem; }
.chip {
  background: var(--card); border: 1px solid var(--line); border-radius: 8px;
  text-align: center; padding: 0.7rem 0.3rem 0.6rem;
}
.chip .t { font-size: 0.78rem; line-height: 1.4; }
.chip .m { font-size: 1.15rem; font-weight: 800; color: var(--gold-deep); font-family: var(--font-en); }
.chip .m small { font-size: 0.7rem; font-weight: 500; color: var(--ink-soft); }

/* ===== next-guide banner ===== */
.next {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  background: #14110d; color: #f0ede8;
  border-radius: 10px;
  padding: 1.1rem 1.4rem;
  text-decoration: none;
  margin-top: 1.2rem;
}
.next .t small { display: block; color: var(--gold); font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; font-family: var(--font-en); }
.next .t { font-size: 1rem; letter-spacing: 0.04em; }
.next .arrow { color: var(--gold); font-size: 1.3rem; }

footer {
  margin-top: 3rem;
  background: #14110d; color: #b9b2a6;
  text-align: center;
  padding: 1.7rem 1rem;
  font-size: 0.8rem; letter-spacing: 0.06em;
}
footer a { color: var(--gold); text-decoration: none; }

@media (max-width: 640px) {
  .menu { grid-template-columns: 1fr; }
  .photo-steps { grid-template-columns: 1fr; }
  .duo { grid-template-columns: 1fr; }
  .rules { grid-template-columns: repeat(2, 1fr); }
  .bins { grid-template-columns: repeat(2, 1fr); }
  .contacts { grid-template-columns: 1fr; }
  .chips { grid-template-columns: repeat(2, 1fr) repeat(2, 1fr); }
  .chips { grid-template-columns: repeat(2, 1fr); }
  .facts { gap: 0.45rem; }
}
