/* LINKPORT STAY — 明るく温かみのある和モダン（家族・グループ向け） */
:root {
  --bg: #fbf7f1;
  --bg-alt: #f3ebe0;
  --surface: #ffffff;
  --text: #3a2e26;
  --text-sub: #7a6a5c;
  --accent: #b5793a;
  --accent-dark: #8f5b27;
  --line: #e6dccf;
  --serif: "Noto Serif JP", serif;
  --sans: "Noto Sans JP", system-ui, sans-serif;
  --radius: 10px;
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: .03em;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-dark); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.5; letter-spacing: .06em; }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.section { padding: 88px 0; }
.section--alt { background: var(--bg-alt); }
.section-title { text-align: center; font-size: clamp(1.5rem, 3vw, 2rem); margin: 0 0 12px; }
.section-lead { text-align: center; color: var(--text-sub); margin: 0 0 48px; }
.eyebrow { display: block; text-align: center; color: var(--accent); font-size: .8rem; letter-spacing: .3em; font-family: var(--sans); }

/* ヘッダー */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 247, 241, .94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { font-family: var(--serif); font-size: 1.3rem; letter-spacing: .18em; color: var(--text); text-decoration: none; }
.logo span { color: var(--accent); }
.nav { display: flex; gap: 28px; align-items: center; }
.nav a { color: var(--text); text-decoration: none; font-size: .92rem; }
.nav a:hover { color: var(--accent); }
.nav .btn { color: #fff; }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.6rem; color: var(--text); cursor: pointer; }

/* ボタン */
.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 12px 28px;
  border-radius: 999px;
  text-decoration: none;
  font-size: .95rem;
  letter-spacing: .08em;
  border: 0;
  cursor: pointer;
  transition: background .2s;
}
.btn:hover { background: var(--accent-dark); }
.btn--lg { padding: 16px 44px; font-size: 1.05rem; }
.btn--outline { background: transparent; color: var(--accent-dark); border: 1px solid var(--accent); }
.btn--outline:hover { background: var(--accent); color: #fff; }

/* トップのスライド */
.hero { position: relative; height: min(88vh, 760px); overflow: hidden; background: #2b221c; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; }
.hero-slide.is-active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05) 40%, rgba(40,25,10,.55)); }
.hero-copy { position: absolute; z-index: 2; left: 0; right: 0; bottom: 12%; text-align: center; color: #fff; padding: 0 16px; }
.hero-copy h1 { font-size: clamp(1.7rem, 4.6vw, 3rem); margin: 0 0 8px; text-shadow: 0 2px 16px rgba(0,0,0,.35); }
.hero-copy p { margin: 0; font-size: clamp(.95rem, 2vw, 1.1rem); letter-spacing: .15em; }

/* キャッチコピー */
.concept { text-align: center; }
.concept p { max-width: 640px; margin: 0 auto; }

/* 特長 */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.feature { background: var(--surface); border-radius: var(--radius); padding: 32px 26px; text-align: center; }
.feature-num { font-family: var(--serif); color: var(--accent); font-size: 1.8rem; }
.feature h3 { font-size: 1.1rem; margin: 6px 0 10px; }
.feature p { margin: 0; color: var(--text-sub); font-size: .93rem; }

/* 施設カード */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.card { background: var(--surface); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--text); box-shadow: 0 2px 14px rgba(90,60,30,.07); transition: transform .25s, box-shadow .25s; display: flex; flex-direction: column; }
.card:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(90,60,30,.13); }
.card-img { aspect-ratio: 3 / 2; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 22px 24px 26px; }
.card-tag { display: inline-block; font-size: .75rem; color: var(--accent-dark); border: 1px solid var(--accent); border-radius: 999px; padding: 1px 12px; margin-bottom: 6px; }
.card h3 { margin: 0 0 6px; font-size: 1.3rem; }
.card-meta { list-style: none; padding: 0; margin: 0 0 10px; color: var(--text-sub); font-size: .9rem; display: flex; flex-wrap: wrap; gap: 4px 18px; }
.card-price { font-size: .95rem; margin: 0; }
.card-price strong { font-family: var(--serif); font-size: 1.25rem; color: var(--accent-dark); }

/* AIレタッチ画像の「イメージです」表記 */
.is-image { position: relative; }
.is-image::after {
  content: "※写真はイメージです";
  position: absolute; right: 8px; bottom: 8px;
  background: rgba(0,0,0,.55); color: #fff;
  font-size: .72rem; padding: 2px 8px; border-radius: 4px;
  pointer-events: none;
}

/* 予約の流れ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li { background: var(--surface); border-radius: var(--radius); padding: 26px 20px; position: relative; }
.steps li::before { counter-increment: step; content: "STEP " counter(step); display: block; color: var(--accent); font-size: .78rem; letter-spacing: .2em; margin-bottom: 4px; }
.steps h3 { font-size: 1.02rem; margin: 0 0 6px; }
.steps p { margin: 0; font-size: .88rem; color: var(--text-sub); }

/* お知らせ */
.news { list-style: none; padding: 0; margin: 0 auto; max-width: 760px; }
.news li { display: flex; gap: 24px; padding: 16px 4px; border-bottom: 1px solid var(--line); }
.news time { color: var(--text-sub); font-size: .9rem; white-space: nowrap; }

/* CTA帯 */
.cta { text-align: center; background: var(--accent); color: #fff; }
.cta h2 { margin: 0 0 8px; }
.cta p { margin: 0 0 28px; opacity: .92; }
.cta .btn { background: #fff; color: var(--accent-dark); }
.cta .btn:hover { background: var(--bg); }

/* 下層ページの見出し */
.page-head { padding: 64px 0 40px; text-align: center; }
.page-head h1 { font-size: clamp(1.6rem, 3.6vw, 2.3rem); margin: 0; }
.page-head p { color: var(--text-sub); margin: 8px 0 0; }
.breadcrumb { font-size: .8rem; color: var(--text-sub); margin-bottom: 10px; }
.breadcrumb a { color: var(--text-sub); }

/* 施設ページ：ギャラリー */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 180px; gap: 8px; }
.gallery a { overflow: hidden; border-radius: 6px; }
.gallery a:first-child { grid-column: span 2; grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery a:hover img { transform: scale(1.04); }

.stay-layout { display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: start; }
.stay-main h2 { font-size: 1.35rem; border-left: 3px solid var(--accent); padding-left: 14px; margin: 48px 0 18px; }
.stay-main h2:first-child { margin-top: 0; }
.spec { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--radius); overflow: hidden; }
.spec th, .spec td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: .95rem; vertical-align: top; }
.spec th { width: 34%; background: #faf5ee; font-weight: 500; color: var(--text-sub); }
.spec tr:last-child th, .spec tr:last-child td { border-bottom: 0; }
.amenities { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; list-style: none; padding: 0; margin: 0; }
.amenities li { background: var(--surface); border-radius: 8px; padding: 10px 14px; font-size: .92rem; }
.amenities li::before { content: "✓"; color: var(--accent); margin-right: 8px; }
.floorplan { background: var(--surface); border-radius: var(--radius); padding: 16px; }
.floorplan img { margin: 0 auto; max-height: 640px; width: auto; }

.book-box { position: sticky; top: 92px; background: var(--surface); border-radius: var(--radius); padding: 28px; box-shadow: 0 4px 22px rgba(90,60,30,.09); }
.book-box .price { font-family: var(--serif); font-size: 1.9rem; color: var(--accent-dark); margin: 0; }
.book-box .price small { font-size: .9rem; color: var(--text); font-family: var(--sans); }
.book-box .note { font-size: .82rem; color: var(--text-sub); margin: 6px 0 20px; }
.book-box .btn { display: block; text-align: center; }
.book-box dl { margin: 0 0 20px; font-size: .9rem; display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; }
.book-box dt { color: var(--text-sub); }
.book-box dd { margin: 0; }

/* ライトボックス */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 94vw; max-height: 92vh; }
.lightbox::backdrop { background: rgba(20, 14, 8, .88); }
.lightbox img { max-width: 94vw; max-height: 86vh; width: auto; margin: 0 auto; border-radius: 4px; }
.lightbox-caption { color: #fff; text-align: center; font-size: .82rem; margin-top: 8px; min-height: 1.4em; }
.lightbox-close { position: fixed; top: 14px; right: 18px; background: none; border: 0; color: #fff; font-size: 2.2rem; cursor: pointer; line-height: 1; }

/* 文章ページ（規約など） */
.prose { max-width: 760px; margin: 0 auto; background: var(--surface); border-radius: var(--radius); padding: 48px clamp(20px, 5vw, 56px); }
.prose h2 { font-size: 1.2rem; margin: 36px 0 10px; }
.prose h2:first-child { margin-top: 0; }
.prose table { width: 100%; border-collapse: collapse; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: .94rem; }
.prose th { width: 32%; color: var(--text-sub); font-weight: 500; }
.todo { background: #fff3cd; border: 1px dashed #d4a017; padding: 2px 8px; border-radius: 4px; font-size: .9em; }

/* よくある質問 */
.faq { max-width: 780px; margin: 0 auto; }
.faq details { background: var(--surface); border-radius: var(--radius); margin-bottom: 12px; padding: 0 22px; }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 500; list-style: none; position: relative; padding-right: 28px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q."; color: var(--accent); font-family: var(--serif); margin-right: 10px; }
.faq summary::after { content: "+"; position: absolute; right: 0; color: var(--accent); font-size: 1.3rem; top: 12px; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 18px; color: var(--text-sub); }

/* フォーム */
.form { max-width: 720px; margin: 0 auto; background: var(--surface); border-radius: var(--radius); padding: 44px clamp(20px, 5vw, 52px); }
.form-row { margin-bottom: 22px; }
.form-row--half { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: block; font-size: .92rem; margin-bottom: 6px; font-weight: 500; }
.form .req { color: #c0392b; font-size: .78rem; margin-left: 6px; }
.form input, .form select, .form textarea {
  width: 100%; font: inherit; font-size: 1rem;
  padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; background: #fffdfa; color: var(--text);
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.form .hint { font-size: .8rem; color: var(--text-sub); margin: 4px 0 0; }
.stay-fixed { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px; }
.stay-fixed strong { font-size: 1.05rem; }
.form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.form .check input { width: auto; margin-top: 7px; }
.form .hidden { display: none; }
.form-submit { text-align: center; margin-top: 32px; }

/* フッター */
.site-footer { background: #3a2e26; color: #e9dfd3; padding: 56px 0 28px; font-size: .88rem; }
.site-footer a { color: #e9dfd3; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-footer .logo { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.site-footer h4 { font-size: .8rem; letter-spacing: .2em; color: #c9a77f; margin: 0 0 10px; font-weight: 500; }
.copyright { text-align: center; margin-top: 44px; font-size: .75rem; color: #a8998a; }

/* 空き状況カレンダー */
.avail { position: relative; background: var(--surface); border-radius: var(--radius); padding: 24px; margin-bottom: 8px; }
.avail-msg { margin: 0; color: var(--text-sub); font-size: .92rem; }
.cal-nav { position: absolute; top: 18px; left: 16px; right: 16px; display: flex; justify-content: space-between; pointer-events: none; }
.cal-nav button { pointer-events: auto; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--text); font-size: 1.3rem; line-height: 1; cursor: pointer; }
.cal-nav button:disabled { opacity: .3; cursor: default; }
.cal-months { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.cal-title { text-align: center; font-weight: 500; margin: 6px 0 14px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.cal-week { text-align: center; font-size: .75rem; color: var(--text-sub); padding-bottom: 6px; }
.cal-day { aspect-ratio: 1; border: 0; border-radius: 6px; background: transparent; color: var(--text); font: inherit; font-size: .9rem; cursor: pointer; }
.cal-day:not(:disabled):hover { background: var(--bg-alt); }
.cal-day:disabled { cursor: default; }
.cal-day.is-out { color: #cfc4b7; }
.cal-day.is-closed { color: #b3a698; background: repeating-linear-gradient(135deg, transparent 0 4px, var(--bg-alt) 4px 6px); }
.cal-day.is-booked { color: #b3a698; text-decoration: line-through; background: var(--bg-alt); }
.cal-day.is-range { background: #f1e2cf; border-radius: 0; }
.cal-day.is-ci, .cal-day.is-co { background: var(--accent); color: #fff; text-decoration: none; }
.cal-legend { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 0; margin: 18px 0 0; font-size: .8rem; color: var(--text-sub); }
.cal-legend li { display: flex; align-items: center; gap: 6px; }
.cal-key { width: 14px; height: 14px; border-radius: 3px; border: 1px solid var(--line); background: var(--surface); }
.cal-key.is-booked { background: var(--bg-alt); }
.cal-key.is-closed { background: repeating-linear-gradient(135deg, var(--surface) 0 3px, var(--bg-alt) 3px 5px); }
.avail-action { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.avail-summary { margin: 0; flex: 1 1 100%; font-size: .95rem; }
.avail-reset { border: 0; background: none; color: var(--accent-dark); text-decoration: underline; font: inherit; font-size: .9rem; cursor: pointer; padding: 0; }
.form .stay-date-error { color: #c0392b; }
.avail-price, .form-price { margin: 0; flex: 1 1 100%; font-size: .95rem; }
.avail-price:empty { display: none; }
.avail-price strong, .form-price strong { font-family: var(--serif); font-size: 1.4rem; color: var(--accent-dark); margin: 0 4px; }
.avail-price small, .form-price small { color: var(--text-sub); font-size: .8rem; }
.form-price { background: var(--bg-alt); border-radius: var(--radius); padding: 12px 16px; margin-bottom: 20px; }

/* スマホ */
@media (max-width: 900px) {
  .stay-layout { grid-template-columns: 1fr; }
  .book-box { position: static; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .section { padding: 64px 0; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--bg); flex-direction: column; gap: 0; border-bottom: 1px solid var(--line); }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 16px; width: 100%; text-align: center; }
  .nav .btn { width: auto; margin: 10px 0 16px; }
  .nav-toggle { display: block; }
  .features, .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 130px; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row--half { grid-template-columns: 1fr; }
  .news li { flex-direction: column; gap: 2px; }
  .avail { padding: 18px 12px; }
  .cal-months { grid-template-columns: 1fr; gap: 20px; }
  .cal-months .cal-month + .cal-month { display: none; }
  .cal-nav { top: 12px; left: 8px; right: 8px; }
  .avail-action .btn { width: 100%; text-align: center; }
}
