/* かどや / Kadoya — shared styles for index.html (JP) and en.html (EN) */
:root {
  --ink: #34302b;
  --sub: #7f776b;
  --line: #e3ded4;
  --bg: #faf8f3;
  --serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
  --gutter: 24px;
  --label-col: 220px;
  --col-gap: 64px;
  --site-max: 1000px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--serif);
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 2;
  letter-spacing: 0.04em;
}
html[lang="en"] body { letter-spacing: 0.01em; line-height: 1.85; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
ul { list-style: none; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(250, 248, 243, 0.94);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: calc(var(--site-max) + var(--gutter) * 2); margin: 0 auto;
  padding: 0 var(--gutter); height: 72px;
}
.logo {
  display: flex; flex-direction: column; line-height: 1.3;
  font-size: 23px; font-weight: 500; letter-spacing: 0.2em; text-decoration: none;
}
.logo small { font-size: 11.5px; font-weight: 400; letter-spacing: 0.2em; color: var(--sub); margin-top: 2px; }
.header-right { display: flex; align-items: center; gap: 32px; }
.site-nav ul { display: flex; gap: 28px; }
.site-nav a {
  color: var(--sub); text-decoration: none; font-size: 13px; letter-spacing: 0.1em; white-space: nowrap;
}
.site-nav a:hover { color: var(--ink); }
.lang { display: flex; align-items: center; font-size: 12px; letter-spacing: 0.15em; }
.lang a, .lang span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 32px; min-height: 44px; text-decoration: none; color: var(--sub);
}
.lang [aria-current] { color: var(--ink); text-decoration: underline; text-underline-offset: 6px; }
.lang .sep { min-width: auto; color: var(--line); }
.menu-btn {
  display: none; background: none; border: 0; font: inherit; color: var(--ink);
  font-size: 12px; letter-spacing: 0.2em; padding: 10px 0 10px 12px; min-height: 44px; cursor: pointer;
}

/* ---------- hero ---------- */
.hero { padding: 96px var(--gutter) 150px; }
.hero-text { max-width: var(--site-max); margin: 0 auto; }
.hero-kicker { display: block; font-size: 30px; font-weight: 500; letter-spacing: 0.1em; color: var(--ink); margin-bottom: 14px; line-height: 1.6; }
.hero-kicker .nb { display: inline-block; }
html[lang="en"] .hero-kicker { letter-spacing: 0.02em; }
.hero h1 { font-weight: normal; }
.hero-copy { display: block; font-size: 24px; letter-spacing: 0.14em; line-height: 1.7; }
html[lang="en"] .hero-copy { letter-spacing: 0.03em; }
.hero-photo { max-width: 1120px; margin: 72px auto 72px; }
.hero-text:last-child { padding-left: calc(var(--label-col) + var(--col-gap)); }
.hero-lead { max-width: 42em; font-size: 15.5px; line-height: 2.2; }
html[lang="en"] .hero-lead { line-height: 1.95; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 14px 32px; margin-top: 44px;
  border: 1px solid var(--ink); color: var(--ink); text-decoration: none;
  font-size: 14px; letter-spacing: 0.12em; line-height: 1.5;
  transition: background .2s, color .2s;
}
.btn:hover { background: var(--ink); color: var(--bg); }
.btn::after { content: "↗"; margin-left: 12px; font-size: 12px; }
html[lang="en"] .btn { letter-spacing: 0.03em; }

/* ---------- sections: label column + narrow content column ---------- */
.section {
  max-width: calc(var(--site-max) + var(--gutter) * 2); margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: var(--label-col) minmax(0, 1fr);
  column-gap: var(--col-gap);
  padding-top: 140px; padding-bottom: 140px;
  position: relative;
}
.section::before {
  content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter);
  border-top: 1px solid var(--line);
}
.section > :not(.section-head) { grid-column: 2; }
.section-head { grid-column: 1; grid-row: 1 / span 6; align-self: start; }
.section-label { font-size: 12px; letter-spacing: 0.25em; color: var(--sub); margin-bottom: 18px; }
.section h2 { font-weight: normal; font-size: 20px; letter-spacing: 0.1em; line-height: 1.85; }
html[lang="en"] .section h2 { letter-spacing: 0.02em; }
.section-body + .room-list, .room-list + .section-body { margin-top: 80px; }

.prose { max-width: 42em; }
.prose p { margin-bottom: 1.7em; line-height: 2.2; }
html[lang="en"] .prose p { line-height: 1.95; }
.prose p:last-child { margin-bottom: 0; }

/* ---------- about ---------- */
.about-photos { margin-top: 80px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.about-photos img:first-child { grid-column: 1 / span 2; width: 78%; }
.about-photos img:last-child { grid-column: 2; margin-top: -60px; width: 100%; justify-self: end; }

/* ---------- ruled rows (dl) ---------- */
.rows { border-top: 1px solid var(--line); }
.rows .row {
  display: grid; grid-template-columns: 9em minmax(0, 1fr); gap: 24px;
  border-bottom: 1px solid var(--line); padding: 18px 0; line-height: 1.9;
}
.rows dt { font-size: 13.5px; color: var(--sub); letter-spacing: 0.08em; padding-top: 1px; }
.rows dd { font-size: 15.5px; }
.rows-split .row { grid-template-columns: 11em minmax(0, 1fr); }
.rows-split dt { font-size: 15px; color: var(--ink); font-weight: 500; }
.rows-spaced { margin-top: 64px; }
.rows-title {
  font-weight: 500; font-size: 16px; letter-spacing: 0.14em; color: var(--ink);
  margin: 56px 0 8px;
}
.plain-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; }
.plain-list.single { grid-template-columns: 1fr; }
.plain-list li::before { content: "・"; }
html[lang="en"] .plain-list li::before { content: "– "; }
.plain-list li { padding-left: 1em; text-indent: -1em; line-height: 2; }

/* ---------- rooms ---------- */
.room-list { border-top: 1px solid var(--line); }
.room {
  display: grid; grid-template-columns: 58% minmax(0, 1fr); gap: 36px; align-items: center;
  padding: 32px 0; border-bottom: 1px solid var(--line);
}
.room img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.room.tall img { aspect-ratio: 4 / 5; width: 70%; }
.room figcaption { font-size: 16px; line-height: 1.8; letter-spacing: 0.08em; }
.room .sub { display: block; font-size: 14px; color: var(--sub); margin-top: 6px; line-height: 1.9; letter-spacing: 0.04em; }

/* ---------- town ---------- */
.wide-photo { margin-bottom: 64px; }
.wide-photo figcaption {
  margin-top: 12px; font-size: 13px; color: var(--sub); letter-spacing: 0.08em;
}

/* ---------- access ---------- */
.address { font-size: 19px; line-height: 1.8; letter-spacing: 0.08em; }
.address .zip { display: block; font-size: 15px; color: var(--sub); }
.arrival-photo { max-width: 460px; margin: 40px 0 0; }
.arrival-photo figcaption { margin-top: 10px; font-size: 13px; color: var(--sub); letter-spacing: 0.08em; }
.text-link { margin-top: 28px; font-size: 14px; }
.text-link a { color: var(--sub); text-underline-offset: 5px; }
.text-link a:hover { color: var(--ink); }
.site-footer .license { margin-top: 18px; font-size: 12px; line-height: 1.9; }

/* ---------- footer ---------- */
.site-footer { padding: 0 var(--gutter) 64px; }
.footer-inner {
  max-width: var(--site-max); margin: 0 auto; border-top: 1px solid var(--line);
  padding-top: 56px;
  display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  font-size: 13.5px; color: var(--sub); line-height: 2.1;
}
.site-footer .fname { font-size: 14px; letter-spacing: 0.3em; color: var(--ink); margin-bottom: 6px; }
.footer-links { text-align: right; }
.site-footer a { color: var(--sub); }

/* ---------- tablet ---------- */
@media (max-width: 900px) {
  :root { --label-col: 0px; --col-gap: 0px; }
  .header-inner { height: 64px; }
  html { scroll-padding-top: 64px; }
  .menu-btn { display: inline-flex; align-items: center; }
  .header-right { gap: 8px; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 64px;
    background: var(--bg); border-bottom: 1px solid var(--line); display: none;
  }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; padding: 4px var(--gutter) 12px; }
  .site-nav li + li { border-top: 1px solid var(--line); }
  .site-nav a { display: block; padding: 14px 2px; font-size: 15px; color: var(--ink); }

  .section { display: block; padding-top: 104px; padding-bottom: 104px; max-width: 720px; }
  .section-head { margin-bottom: 56px; }
  .hero-text, .hero-text:last-child { max-width: 672px; padding-left: 0; }
}

/* ---------- phone ---------- */
@media (max-width: 600px) {
  :root { --gutter: 22px; }
  .logo { font-size: 21px; letter-spacing: 0.16em; }
  .logo small { font-size: 11px; }
  .hero { padding: 64px 0 104px; }
  .hero-text { padding: 0 var(--gutter); }
  .hero-text:last-child { padding: 0 var(--gutter); }
  .hero-kicker { font-size: 27px; letter-spacing: 0.06em; margin-bottom: 12px; line-height: 1.55; }
  html[lang="en"] .hero-kicker { font-size: 25px; letter-spacing: 0; }
  .hero-copy { font-size: 22px; letter-spacing: 0.1em; }
  html[lang="en"] .hero-copy { font-size: 21px; }
  .hero-photo { margin: 48px 0 48px; }
  .hero-lead { font-size: 15.5px; }
  .btn { width: 100%; max-width: 380px; padding: 14px 16px; margin-top: 40px; }

  .section { padding-top: 88px; padding-bottom: 88px; }
  .section h2 { font-size: 20px; letter-spacing: 0.08em; }
  .section-head { margin-bottom: 44px; }
  .section-body + .room-list, .room-list + .section-body { margin-top: 56px; }

  .about-photos { margin-top: 56px; gap: 16px; }
  .about-photos img:first-child { width: 88%; }
  .about-photos img:last-child { grid-column: 1 / span 2; width: 64%; margin-top: -36px; }

  .rows .row { grid-template-columns: 1fr; gap: 2px; padding: 16px 0; }
  .rows-split .row { grid-template-columns: 1fr; gap: 2px; }
  .rows-split dt, .rows-split dd, .rows dd { font-size: 15px; }
  .plain-list { grid-template-columns: 1fr; }

  .room { grid-template-columns: 1fr; gap: 14px; padding: 28px 0; }
  .room:first-child { padding-top: 0; }
  .room-list { border-top: 0; }
  .room.tall img { width: 72%; }
  .room figcaption { font-size: 15.5px; }

  .wide-photo { margin: 0 calc(var(--gutter) * -1) 48px; }
  .wide-photo figcaption { padding: 0 var(--gutter); }

  .footer-inner { flex-direction: column; gap: 20px; }
  .footer-links { text-align: left; }
}
