@charset "UTF-8";

/* ------------------------------------------------------------------
   旅の里合同会社 — tabinosato.com
   静的サイト共通スタイル
   言語追加時（/en/ /zh/）もこのファイルを共有する
   ------------------------------------------------------------------ */

:root {
  --bg:        #fbfaf7;
  --bg-soft:   #f4f1ea;
  --ink:       #2c2a26;
  --ink-soft:  #6f6860;
  --line:      #e3ded5;
  --accent:    #8c6a45;
  --maxw:      1080px;

  --serif: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", serif;
  --sans:  "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP",
           "Yu Gothic", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: .02em;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--ink); text-underline-offset: .25em; }
a:hover { color: var(--accent); }

.wrap {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 24px;
}

/* --- ヘッダー ---------------------------------------------------- */

.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-block: 18px;
}

.brand {
  font-family: var(--serif);
  font-size: 20px;
  letter-spacing: .18em;
  text-decoration: none;
  white-space: nowrap;
}

.brand small {
  display: block;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: .3em;
  color: var(--ink-soft);
  margin-top: 2px;
}

.nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 13.5px;
  letter-spacing: .08em;
}

.nav a { text-decoration: none; color: var(--ink-soft); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }

/* --- ヒーロー ---------------------------------------------------- */

.hero { position: relative; }

.hero img {
  width: 100%;
  height: clamp(300px, 56vh, 560px);
  object-fit: cover;
}

.hero-copy {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 48px 24px 8px;
}

.hero-copy h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(24px, 4.4vw, 38px);
  line-height: 1.6;
  letter-spacing: .06em;
  margin: 0 0 16px;
}

.lead {
  color: var(--ink-soft);
  max-width: 34em;
  margin: 0;
}

/* --- セクション -------------------------------------------------- */

section { padding-block: 56px; }
section + section { border-top: 1px solid var(--line); }

h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(19px, 2.6vw, 24px);
  letter-spacing: .1em;
  margin: 0 0 8px;
}

.section-note {
  color: var(--ink-soft);
  font-size: 13px;
  letter-spacing: .12em;
  margin: 0 0 28px;
}

h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: .06em;
  margin: 32px 0 10px;
}

p { margin: 0 0 1.2em; }

/* --- 施設カード -------------------------------------------------- */

.rooms {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 36px;
}

.room-card {
  text-decoration: none;
  display: block;
  color: inherit;
}

.room-card .thumb {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-soft);
  margin-bottom: 16px;
}

.room-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.room-card:hover .thumb img { transform: scale(1.03); }

.room-card .tag {
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--ink-soft);
}

.room-card h3 {
  margin: 6px 0 6px;
  font-size: 17px;
  line-height: 1.7;
}

.room-card .meta { font-size: 13.5px; color: var(--ink-soft); margin: 0; }

.thumb.placeholder {
  display: grid;
  place-items: center;
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--ink-soft);
  border: 1px solid var(--line);
}

/* --- ギャラリー -------------------------------------------------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}

.gallery figure { margin: 0; }

.gallery img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  background: var(--bg-soft);
}

.gallery .tall img { aspect-ratio: 2 / 3; }

.gallery figcaption {
  font-size: 12px;
  color: var(--ink-soft);
  letter-spacing: .08em;
  margin-top: 6px;
}

/* --- 仕様テーブル ------------------------------------------------ */

.spec { width: 100%; border-collapse: collapse; font-size: 15px; }

.spec th, .spec td {
  text-align: left;
  vertical-align: top;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.spec th {
  font-weight: normal;
  color: var(--ink-soft);
  width: 9em;
  letter-spacing: .08em;
}

.table-scroll { overflow-x: auto; }

/* --- 設備リスト -------------------------------------------------- */

.amenities {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 2px 28px;
  font-size: 15px;
}

.amenities li {
  padding: 7px 0 7px 18px;
  position: relative;
  color: var(--ink-soft);
}

.amenities li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05em;
  width: 7px;
  height: 1px;
  background: var(--accent);
}

/* --- FAQ --------------------------------------------------------- */

.faq { border-top: 1px solid var(--line); }

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 4px 0;
}

.faq summary {
  cursor: pointer;
  padding: 16px 28px 16px 0;
  position: relative;
  list-style: none;
  font-size: 15.5px;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "＋";
  position: absolute;
  right: 4px;
  top: 16px;
  color: var(--accent);
  font-size: 13px;
}

.faq details[open] summary::after { content: "−"; }

.faq .answer {
  padding: 0 0 18px;
  color: var(--ink-soft);
  font-size: 15px;
}

.faq .answer p:last-child { margin-bottom: 0; }

/* --- ボタン ------------------------------------------------------ */

.btn {
  display: inline-block;
  border: 1px solid var(--ink);
  padding: 13px 30px;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: .12em;
  transition: background .25s ease, color .25s ease;
}

.btn:hover { background: var(--ink); color: var(--bg); }

.btn-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }

/* --- 注意書き ---------------------------------------------------- */

.notice {
  background: var(--bg-soft);
  border-left: 2px solid var(--accent);
  padding: 20px 24px;
  font-size: 14.5px;
}

.notice p:last-child { margin-bottom: 0; }

/* --- フッター ---------------------------------------------------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 44px;
  font-size: 13px;
  color: var(--ink-soft);
  letter-spacing: .06em;
}

.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.site-footer a { color: var(--ink-soft); }

.site-footer .legal { margin: 0; line-height: 2; }

@media (max-width: 600px) {
  section { padding-block: 40px; }
  .hero-copy { padding-top: 36px; }
  .spec th { width: 7em; }
}
