/* ゲストハウスあおば 共通スタイル
   色や文字の大きさは、この先頭の :root をまとめて直せば全ページに反映されます */
:root {
  --ink: #333;          /* 本文の文字色 */
  --ink-soft: #666;     /* 補足の文字色 */
  --line: #d9d6d0;      /* 罫線 */
  --paper: #fff;        /* 背景 */
  --paper-2: #f6f4f0;   /* うすい背景（区画の切り替え） */
  --nav: #4a4a4a;       /* メニュー帯 */
  --accent: #5b6e4f;    /* ボタン（あおば＝青葉の緑） */
  --accent-dark: #475840;
  --serif: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --sans: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", sans-serif;
  --wrap: 1040px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 1.95; letter-spacing: .04em;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-dark); }
p { margin: 0 0 1.2em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }

/* ---------- ヘッダー（最上部に固定） ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--line); backdrop-filter: blur(6px);
}
.site-header__inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px; height: 76px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.site-header__logo { display: block; flex-shrink: 0; }
.site-header__logo img { height: 50px; width: auto; }
.site-nav { display: flex; align-items: stretch; height: 100%; }
.site-nav a {
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  padding: 0 14px; color: var(--ink); text-decoration: none; white-space: nowrap;
  font-size: 14px; font-weight: 700; line-height: 1.4; letter-spacing: .06em;
  border-bottom: 2px solid transparent;
}
.site-nav a small { font-size: 10px; font-weight: 400; color: #999; letter-spacing: .12em; }
.site-nav a:hover { color: var(--accent-dark); }
.site-nav a[aria-current="page"] { border-bottom-color: var(--accent); }
.site-nav a.site-nav__cta {
  align-self: center; height: auto; margin-left: 10px; padding: 9px 18px;
  background: var(--accent); color: #fff; border: 0; border-radius: 2px;
}
.site-nav a.site-nav__cta small { color: #dfe8d6; }
.site-nav a.site-nav__cta:hover { background: var(--accent-dark); color: #fff; }
.menu-btn { display: none; }

.hero { height: calc(100vh - 76px); min-height: 420px; max-height: 720px; background: #555 center / cover no-repeat; }
.hero--sub { height: 30vh; min-height: 200px; max-height: 320px; }

@media (max-width: 1000px) {
  .site-header__inner { height: 62px; padding: 0 12px 0 16px; }
  .site-header__logo img { height: 40px; }
  .menu-btn {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    min-width: 56px; height: 52px; padding: 0 6px; white-space: nowrap; background: none; border: 0; cursor: pointer; color: var(--ink);
    font: inherit; font-size: 10px; line-height: 1; letter-spacing: .04em;
  }
  .menu-btn__bars, .menu-btn__bars::before, .menu-btn__bars::after {
    display: block; width: 24px; height: 2px; background: currentColor; transition: transform .2s, background .2s;
  }
  .menu-btn__bars { position: relative; margin: 6px 0 7px; }
  .menu-btn__bars::before, .menu-btn__bars::after { content: ""; position: absolute; left: 0; }
  .menu-btn__bars::before { top: -7px; }
  .menu-btn__bars::after { top: 7px; }
  .is-open .menu-btn__bars { background: transparent; }
  .is-open .menu-btn__bars::before { transform: translateY(7px) rotate(45deg); }
  .is-open .menu-btn__bars::after { transform: translateY(-7px) rotate(-45deg); }
  .site-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; height: auto;
    flex-direction: column; background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(0,0,0,.08); padding: 4px 0 16px;
  }
  .is-open .site-nav { display: flex; }
  .site-nav a { flex-direction: row; justify-content: flex-start; gap: .8em; padding: 15px 24px; border-bottom: 1px solid #eee; }
  .site-nav a[aria-current="page"] { border-bottom-color: #eee; color: var(--accent-dark); }
  .site-nav a.site-nav__cta { align-self: stretch; margin: 16px 24px 0; justify-content: center; padding: 14px; }
  .hero { height: 56vh; min-height: 320px; }
  .hero--sub { height: 24vh; min-height: 160px; }
}

/* ---------- 見出し ---------- */
.section { padding: 80px 0; }
.section--tint { background: var(--paper-2); }
.heading { margin: 0 0 40px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.heading h1, .heading h2 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 28px; letter-spacing: .12em; line-height: 1.5; }
.heading span { display: block; margin-top: 2px; font-size: 12px; color: #999; letter-spacing: .2em; }
h3 {
  font-family: var(--serif); font-weight: 600; font-size: 20px; letter-spacing: .08em;
  margin: 48px 0 16px; padding-left: 12px; border-left: 3px solid var(--accent);
}
h3:first-child { margin-top: 0; }
.center { text-align: center; }
.lead { font-family: var(--serif); font-size: 17px; line-height: 2.3; }
.note { font-size: 14px; color: var(--ink-soft); }
@media (max-width: 760px) {
  .section { padding: 56px 0; }
  .heading h1, .heading h2 { font-size: 23px; }
  .lead { font-size: 15.5px; line-height: 2.1; text-align: left; }
  .lead br.pc { display: none; }
}

/* ---------- お知らせ ---------- */
.news { list-style: none; margin: 0; padding: 0; }
.news li { display: flex; gap: 20px; align-items: baseline; padding: 14px 16px; background: var(--paper-2); margin-bottom: 8px; }
.news time { font-size: 14px; color: var(--ink-soft); white-space: nowrap; }
.news .tag { font-size: 12px; background: #bbb4aa; color: #fff; padding: 1px 10px; white-space: nowrap; }
@media (max-width: 560px) { .news li { flex-wrap: wrap; gap: 4px 12px; } .news a { flex-basis: 100%; } }

/* ---------- 写真 ---------- */
.strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.strip img, .gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 760px) { .strip { grid-template-columns: repeat(2, 1fr); } }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; margin: 0; }
.gallery figure { margin: 0; }
.gallery figcaption { font-size: 13px; color: var(--ink-soft); padding: 6px 2px 0; }
@media (max-width: 480px) { .gallery { grid-template-columns: repeat(2, 1fr); gap: 8px; } }

.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
@media (max-width: 760px) { .cols { grid-template-columns: 1fr; gap: 16px; } }

/* 特徴カード */
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.feature { display: grid; grid-template-columns: 1fr 1fr; background: var(--paper-2); }
.feature img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.feature div { display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 16px; }
.feature strong { font-family: var(--serif); font-weight: 600; font-size: 20px; line-height: 1.6; padding-bottom: 10px; margin-bottom: 10px; border-bottom: 1px solid var(--ink); }
.feature small { font-size: 13px; color: var(--ink-soft); line-height: 1.7; }
@media (max-width: 760px) {
  .features { grid-template-columns: 1fr; }
  .feature strong { font-size: 17px; }
}

/* ---------- 表 ---------- */
.table-wrap { overflow-x: auto; margin: 0 0 24px; }
table { width: 100%; border-collapse: collapse; font-size: 15px; background: #fff; }
th, td { border: 1px solid var(--line); padding: 12px 16px; text-align: left; vertical-align: top; }
thead th { background: #eeebe5; font-weight: 700; }
tbody th { background: #faf9f6; font-weight: 500; white-space: nowrap; }
td.price { white-space: nowrap; }
@media (max-width: 560px) { th, td { padding: 10px 10px; font-size: 14px; } }

/* 箇条書き */
.list { margin: 0 0 1.2em; padding-left: 1.3em; }
.list li { margin-bottom: .3em; }
.box { background: var(--paper-2); padding: 24px 28px; margin: 0 0 24px; }
.box > :last-child { margin-bottom: 0; }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0 0 1.2em; }
.steps li { counter-increment: s; position: relative; padding-left: 2.2em; margin-bottom: .5em; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: .35em; width: 1.5em; height: 1.5em; border-radius: 50%;
  background: var(--accent); color: #fff; font-size: 13px; line-height: 1.5em; text-align: center;
}

/* よくある質問 */
.faq { margin: 0; }
.faq dt { font-weight: 700; padding: 16px 0 6px 2.2em; position: relative; border-top: 1px solid var(--line); }
.faq dd { margin: 0 0 8px; padding: 0 0 12px 2.2em; position: relative; }
.faq dt::before, .faq dd::before { position: absolute; left: 0; font-family: var(--serif); font-size: 20px; line-height: 1.5; }
.faq dt::before { content: "Q."; color: var(--accent); }
.faq dd::before { content: "A."; color: #a58e6f; top: -.2em; }

/* ボタン */
.btn {
  display: inline-block; background: var(--accent); color: #fff; text-decoration: none; border: 0; cursor: pointer;
  padding: 14px 40px; font: inherit; font-weight: 700; letter-spacing: .1em; border-radius: 2px;
}
.btn:hover { background: var(--accent-dark); }
.btn--line { background: #fff; color: var(--accent-dark); border: 1px solid var(--accent); }
.btn--line:hover { background: var(--paper-2); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 32px; }

/* 予約の案内 */
.cta { background: var(--nav) center / cover no-repeat; position: relative; color: #fff; text-align: center; padding: 90px 20px; }
.cta::before { content: ""; position: absolute; inset: 0; background: rgba(30,30,30,.6); }
.cta > * { position: relative; }
.cta h2 { font-family: var(--serif); font-weight: 500; font-size: 26px; letter-spacing: .15em; margin: 0 0 16px; }
.cta p { margin-bottom: 0; }
.cta .btn--line { background: transparent; color: #fff; border-color: #fff; }
.cta .btn--line:hover { background: rgba(255,255,255,.12); }

/* 地図 */
.map { width: 100%; aspect-ratio: 16 / 9; border: 0; display: block; margin-bottom: 32px; }
@media (max-width: 560px) { .map { aspect-ratio: 4 / 3; } }

/* ブログ */
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.post-card { display: block; text-decoration: none; color: inherit; background: var(--paper-2); }
.post-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.post-card div { padding: 16px 20px 20px; }
.post-card time { font-size: 13px; color: var(--ink-soft); }
.post-card strong { display: block; font-family: var(--serif); font-size: 18px; }
.post-card:hover strong { text-decoration: underline; }
.article-meta { color: var(--ink-soft); font-size: 14px; margin: -28px 0 32px; }
.article figure { margin: 32px 0; }
.article figcaption { font-size: 13px; color: var(--ink-soft); padding-top: 6px; }

/* フォーム */
.form { display: grid; gap: 22px; }
.form label { display: block; font-weight: 700; margin-bottom: 6px; }
.form .req, .form .opt { font-size: 11px; font-weight: 400; color: #fff; padding: 1px 8px; margin-left: 8px; vertical-align: 2px; }
.form .req { background: #b0634f; }
.form .opt { background: #999; }
.form input, .form select, .form textarea {
  width: 100%; font: inherit; padding: 12px 14px; border: 1px solid #c9c5bd; border-radius: 2px; background: #fff; color: var(--ink);
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.form textarea { min-height: 200px; resize: vertical; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .hint { font-size: 13px; color: var(--ink-soft); margin: 6px 0 0; }
.form .hidden { position: absolute; left: -9999px; }
.form .stay-fields { display: grid; gap: 22px; }
.form .stay-fields[hidden] { display: none; }
@media (max-width: 560px) { .form .row2 { grid-template-columns: 1fr; } }

/* ---------- フッター ---------- */
.footer { background: var(--paper-2); color: var(--ink); border-top: 1px solid var(--line); padding: 48px 20px 24px; text-align: center; font-size: 14px; }
.footer img { height: 56px; width: auto; margin: 0 auto 14px; }
.footer__addr { margin: 0 0 20px; color: var(--ink-soft); line-height: 1.8; }
.footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 20px; list-style: none; padding: 0; margin: 0 0 20px; }
.footer a { color: var(--ink); text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer__sns { margin-bottom: 20px; }
.footer__sns a { display: inline-flex; align-items: center; gap: 8px; }
.footer__sns svg { width: 20px; height: 20px; fill: currentColor; }
.footer small { display: block; color: #888; font-size: 12px; }

/* プライバシーポリシーへの同意・フッターの小さなリンク */
.form .consent label { font-weight: 400; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.form .consent input { width: auto; margin: 0; accent-color: var(--accent); }
.footer__sub { margin: -8px 0 16px; font-size: 13px; }
.footer__sub a { color: var(--ink-soft); }
