/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #f4efe6;      /* 和紙 */
  --bg2: #ece5d8;     /* 和紙・濃（副パネル） */
  --sumi: #14110d;    /* 濃墨（フッター等の締め） */
  --text: #241f18;    /* 墨 */
  --text-muted: #6f6557;
  --text-dim: #9a8f7d;
  --accent: #9a7f52;  /* 越前・金茶 */
  --accent-lt: #b8a276;
  --border: #dcd3c3;  /* 淡い罫 */
  --font-jp: 'Noto Serif JP', 'ヒラギノ明朝 Pro', serif;
  --font-en: 'Cormorant Garamond', Georgia, serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-jp);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }

/* ===== FULLSCREEN MENU ===== */
.fullmenu {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 200;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 10vw;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.fullmenu.open {
  opacity: 1;
  pointer-events: all;
}

.fullmenu-close {
  position: absolute;
  top: 32px;
  right: 40px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.fullmenu-close span {
  display: block;
  width: 28px;
  height: 1px;
  background: var(--text-muted);
  position: absolute;
  transition: background 0.2s;
}

.fullmenu-close span:first-child { transform: rotate(45deg); }
.fullmenu-close span:last-child  { transform: rotate(-45deg); }
.fullmenu-close:hover span { background: var(--text); }

.fullmenu-lang {
  position: absolute;
  top: 36px;
  left: 48px;
  display: flex;
  gap: 16px;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--text-dim);
}

.fullmenu-lang span { cursor: pointer; transition: color 0.2s; }
.fullmenu-lang span:hover, .fullmenu-lang span.active { color: var(--text); }

.fullmenu-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.fullmenu-item {
  display: flex;
  align-items: baseline;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 0.5px solid var(--border);
  text-decoration: none;
  transition: padding-left 0.3s ease;
  position: relative;
}

.fullmenu-item:first-child { border-top: 0.5px solid var(--border); }

.fullmenu-item:hover { padding-left: 12px; }

.fullmenu-en {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.4em;
  color: var(--text-dim);
  min-width: 160px;
  transition: color 0.3s;
}

.fullmenu-jp {
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 300;
  letter-spacing: 0.3em;
  color: var(--text);
  transition: color 0.3s;
}

.fullmenu-item:hover .fullmenu-en { color: var(--accent); }
.fullmenu-item:hover .fullmenu-jp { color: var(--accent); }

.fullmenu-pending .fullmenu-jp { color: var(--text-muted); }
.fullmenu-pending:hover .fullmenu-jp { color: var(--text-muted); }
.fullmenu-pending:hover { padding-left: 0; cursor: default; }

.fullmenu-tag {
  font-size: 9px;
  letter-spacing: 0.25em;
  color: var(--text-dim);
  border: 0.5px solid var(--text-dim);
  padding: 3px 10px;
  margin-left: 8px;
}

.fullmenu-sns {
  position: absolute;
  bottom: 40px;
  left: 10vw;
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--text-dim);
}

.fullmenu-sns a { transition: color 0.3s; }
.fullmenu-sns a:hover { color: var(--accent); }

/* 項目数が増えても、小さい画面でメニュー下部が切れないようにする */
@media (max-height: 900px) {
  .fullmenu {
    justify-content: flex-start;
    overflow-y: auto;
    padding-top: 84px;
    padding-bottom: 64px;
  }
  .fullmenu-nav { margin: auto 0; }
  .fullmenu-item { padding: 12px 0; }
  .fullmenu-jp { font-size: clamp(18px, 2.4vw, 28px); }
  .fullmenu-sns {
    position: static;
    margin-top: 24px;
  }
}

/* ===== NAVIGATION ===== */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 48px;
  transition: background 0.4s, padding 0.4s;
}

#nav.scrolled {
  background: rgba(244,239,230,0.92);
  backdrop-filter: blur(8px);
  padding: 16px 48px;
  border-bottom: 0.5px solid var(--border);
}

/* ヒーロー上（非スクロール時）は文字を白く／スクロール後は墨に */
#nav .logo-jp,
#nav .nav-links a,
#nav .nav-lang span { color: #f6f2ea; }
#nav .logo-en { color: rgba(246,242,234,0.75); }
#nav .nav-hamburger span { background: #f6f2ea; }
#nav.scrolled .logo-jp,
#nav.scrolled .nav-links a { color: var(--text); }
#nav.scrolled .logo-en { color: var(--text-muted); }
#nav.scrolled .nav-lang span { color: var(--text-muted); }
#nav.scrolled .nav-lang span.active { color: var(--text); }
#nav.scrolled .nav-hamburger span { background: var(--text); }

.nav-logo {
  display: flex;
  flex-direction: column;
}

.logo-jp {
  font-size: 14px;
  letter-spacing: 0.3em;
  color: var(--text);
  font-weight: 300;
}

.logo-en {
  font-size: 9px;
  letter-spacing: 0.35em;
  color: var(--text-muted);
  margin-top: 3px;
  font-family: var(--font-en);
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  transition: color 0.3s;
}

.nav-links a:hover { color: var(--text); }

.nav-links a.nav-reserve {
  border: 0.5px solid var(--text-dim);
  padding: 8px 20px;
  font-size: 10px;
  letter-spacing: 0.2em;
  transition: border-color 0.3s, color 0.3s;
}

.nav-links a.nav-reserve:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.nav-lang {
  display: flex;
  gap: 12px;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--text-muted);
}

.nav-lang span { cursor: pointer; transition: color 0.3s; }
.nav-lang span:hover, .nav-lang span.active { color: var(--text); }

.nav-hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--text);
  transition: all 0.3s;
}

.nav-hamburger.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; }
.nav-hamburger.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* モバイルメニュー */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(244,239,230,0.98);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  font-size: 16px;
  letter-spacing: 0.3em;
  color: var(--text-muted);
  transition: color 0.3s;
}

.mobile-menu a:hover { color: var(--text); }

.mobile-lang {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--text-dim);
  margin-top: 16px;
}

/* ===== HERO ===== */
:root {
  --slide-dur: 6.5s;
  --slide-fade: 1.8s;
}

.hero {
  position: relative;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
}

/* --- slides / crossfade --- */
.slides { position: absolute; inset: 0; }
.slide {
  position: absolute; inset: 0; opacity: 0;
  transition: opacity var(--slide-fade) ease-in-out;
  will-change: opacity;
}
.slide.active { opacity: 1; }
.slide img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.05); will-change: transform;
}

/* Ken Burns — only while .playing */
.slide.playing img.kb-in    { animation: kbIn    calc(var(--slide-dur) + var(--slide-fade)) ease-out forwards; }
.slide.playing img.kb-in-up { animation: kbInUp  calc(var(--slide-dur) + var(--slide-fade)) ease-out forwards; }
.slide.playing img.kb-pan-l { animation: kbPanL  calc(var(--slide-dur) + var(--slide-fade)) ease-in-out forwards; }
.slide.playing img.kb-pan-r { animation: kbPanR  calc(var(--slide-dur) + var(--slide-fade)) ease-in-out forwards; }
.slide.playing img.kb-pan-l2{ animation: kbPanL2 calc(var(--slide-dur) + var(--slide-fade)) linear forwards; }

@keyframes kbIn    { from{transform:scale(1.05)} to{transform:scale(1.16)} }
@keyframes kbInUp  { from{transform:scale(1.05) translateY(1.5%)} to{transform:scale(1.17) translateY(-1.5%)} }
@keyframes kbPanL  { from{transform:scale(1.12) translateX(2.5%)} to{transform:scale(1.12) translateX(-2.5%)} }
@keyframes kbPanR  { from{transform:scale(1.12) translateX(-2.5%)} to{transform:scale(1.12) translateX(2.5%)} }
@keyframes kbPanL2 { from{transform:scale(1.14) translateX(3%)} to{transform:scale(1.14) translateX(-3%)} }

.hero-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(12,12,10,.45) 0%, rgba(12,12,10,0) 22%, rgba(12,12,10,0) 55%, rgba(12,12,10,.65) 100%),
    radial-gradient(120% 80% at 50% 50%, rgba(12,12,10,0) 55%, rgba(12,12,10,.3) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 64px 80px;
}

.hero-sub-jp {
  font-size: clamp(12px, 1.2vw, 14px);
  letter-spacing: 0.2em;
  color: var(--text-muted);
  margin-top: 8px;
  opacity: 0;
  animation: fadeUp 1s ease 1.0s forwards;
}

.hero-label {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.4em;
  color: var(--accent);
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 1s ease 0.5s forwards;
}

.hero-title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 300;
  letter-spacing: 0.25em;
  line-height: 1.8;
  color: var(--text);
  opacity: 0;
  animation: fadeUp 1s ease 0.8s forwards;
}

.hero-sub {
  font-family: var(--font-en);
  font-style: italic;
  font-size: clamp(13px, 1.5vw, 16px);
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-top: 16px;
  opacity: 0;
  animation: fadeUp 1s ease 1.1s forwards;
}

.hero-scroll {
  position: absolute;
  right: 48px;
  bottom: 80px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  opacity: 0;
  animation: fadeIn 1s ease 1.5s forwards;
}

.hero-scroll span {
  font-size: 9px;
  letter-spacing: 0.35em;
  color: var(--text-dim);
  writing-mode: vertical-rl;
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--text-dim), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

/* ===== INTRO ===== */
.intro {
  padding: 120px 64px;
  border-bottom: 0.5px solid var(--border);
}

.intro-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.intro-text {
  font-size: clamp(20px, 2.5vw, 28px);
  letter-spacing: 0.3em;
  line-height: 2.2;
  color: var(--text);
  margin-bottom: 40px;
}

.intro-body {
  font-size: 14px;
  line-height: 2.6;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

/* ===== SECTION LABEL ===== */
.section-label {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.5em;
  color: var(--text-dim);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: 0.3em;
  color: var(--text);
}

/* ===== CONCEPT ===== */
.concept {
  padding: 120px 0;
}

.concept-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
}

.concept-img-wrap {
  overflow: hidden;
}

.concept-img-wrap img {
  transition: transform 0.8s ease;
}

.concept-img-wrap:hover img {
  transform: scale(1.03);
}

.concept-text {
  padding: 80px 80px 80px 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.concept-title {
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 300;
  letter-spacing: 0.2em;
  line-height: 2;
  color: var(--text);
  margin-bottom: 36px;
}

.concept-body {
  font-size: 13px;
  line-height: 2.8;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 56px;
}

.concept-detail {
  display: flex;
  gap: 40px;
  padding-top: 40px;
  border-top: 0.5px solid var(--border);
}

.detail-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.detail-num {
  font-family: var(--font-en);
  font-size: 28px;
  font-weight: 300;
  color: var(--accent);
  letter-spacing: 0.05em;
}

.detail-label {
  font-size: 11px;
  letter-spacing: 0.25em;
  color: var(--text-dim);
}

/* ===== FEATURES ===== */
.features {
  padding: 100px 0;
  border-top: 0.5px solid var(--border);
}

.features-inner {
  padding: 0 64px;
}

.features .section-title {
  margin-bottom: 64px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 64px;
  margin-top: 56px;
}

.feature-item {
  padding-top: 32px;
  border-top: 0.5px solid var(--border);
  display: flex;
  flex-direction: column;
}

.feature-photo {
  margin-top: auto;
  padding-top: 26px;
  overflow: hidden;
}

.feature-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-item:hover .feature-photo img { transform: scale(1.04); }

@media (max-width: 900px) {
  .feature-photo { padding-top: 22px; }
  .feature-photo img { aspect-ratio: 4 / 3; }
}

.feature-title {
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 0.18em;
  line-height: 2;
  color: var(--text);
  margin-bottom: 20px;
}

.feature-body {
  font-size: 15px;
  line-height: 2.6;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ===== FULLSCREEN ===== */
.fullscreen-img {
  position: relative;
  height: 70vh;
  overflow: hidden;
}

.fullscreen-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.fullscreen-caption {
  position: absolute;
  bottom: 32px;
  right: 48px;
  font-family: var(--font-en);
  font-size: 12.5px;
  letter-spacing: 0.3em;
  color: rgba(255,255,255,0.5);
}

/* ===== FACILITIES ===== */
.facilities {
  padding: 120px 0;
  border-top: 0.5px solid var(--border);
}

.facilities-inner {
  padding: 0 64px;
}

.facilities-title {
  font-size: clamp(24px, 2.5vw, 36px);
  font-weight: 300;
  letter-spacing: 0.3em;
  color: var(--text);
  margin-bottom: 64px;
}

.fac-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
}

.fac-item {
  background: var(--bg);
  overflow: hidden;
  transition: background 0.3s;
}

.fac-item:hover { background: var(--bg2); }

.fac-img-wrap {
  height: 320px;
  overflow: hidden;
}

.fac-img-wrap img {
  transition: transform 0.6s ease;
}

.fac-item:hover .fac-img-wrap img {
  transform: scale(1.05);
}

.fac-info {
  padding: 28px 28px 36px;
}

.fac-name-jp {
  font-size: 15px;
  font-weight: 300;
  letter-spacing: 0.25em;
  color: var(--text);
  margin-bottom: 4px;
}

.fac-name-en {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.4em;
  color: var(--text-dim);
  margin-bottom: 16px;
}

.fac-desc {
  font-size: 15px;
  line-height: 2.4;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.fac-note {
  font-size: 12.5px;
  line-height: 2;
  letter-spacing: 0.05em;
  color: var(--text-dim);
  margin-top: 8px;
}

/* ===== GALLERY ===== */
.gallery {
  padding: 80px 0 0;
}

.gallery-header {
  padding: 0 64px 40px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.gallery-heading { text-align: left; }
.gallery-header .section-label { margin-bottom: 16px; }

.season-tabs {
  display: flex;
  gap: 28px;
}
.season-tab {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 0;
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.28em;
  color: var(--text-dim);
  position: relative;
  transition: color 0.3s ease;
}
.season-tab::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  width: 100%; height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.season-tab:hover { color: var(--text-muted); }
.season-tab.active { color: var(--accent); }
.season-tab.active::after { transform: scaleX(1); }
.season-tab:disabled {
  cursor: default;
  color: var(--text-dim);
  opacity: 0.34;
}
.season-tab:disabled::after { display: none; }

.gal-item .gal-credit {
  position: absolute;
  left: 12px; bottom: 12px;
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: #fff;
  background: rgba(0,0,0,0.35);
  padding: 3px 8px;
  border-radius: 2px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.gal-item:hover .gal-credit { opacity: 1; }

/* ギャラリー初期表示は4枚。VIEW MORE を押すごとに4枚ずつ追加（制御は script.js） */
.gallery-grid .gal-item[hidden] { display: none; }

.gallery-more-wrap {
  display: flex;
  justify-content: center;
  padding: 40px 0 0;
}
.gallery-more {
  background: none;
  cursor: pointer;
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.28em;
  color: var(--text-muted);
  padding: 14px 40px;
  border: 0.5px solid var(--text-dim);
  border-radius: 40px;
  transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
.gallery-more:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* 写真がまだ無い季節の案内（AUTUMN） */
.gallery-coming {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 280px;
  padding: 56px 24px;
  background: var(--bg2);
  text-align: center;
}
.gallery-coming .gc-title {
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: 0.22em;
  color: var(--accent);
}
.gallery-coming .gc-sub {
  font-size: 15px;
  line-height: 2;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  max-width: 34em;
}
@media (max-width: 768px) {
  .gallery-coming { min-height: 220px; padding: 44px 20px; }
  .gallery-coming .gc-sub { font-size: 14px; }
}

.gallery-note {
  padding: 28px 64px 0;
  font-size: 15px;
  line-height: 2;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}
.gallery-note a { color: var(--accent); border-bottom: 0.5px solid var(--accent); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 280px;
  grid-auto-flow: dense;
  gap: 2px;
}
/* hidden属性を display:grid が上書きしてしまうのを防ぐ（四季タブの切替に必須） */
.gallery-grid[hidden] { display: none; }

.gal-item {
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.gal-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gal-item:hover img { transform: scale(1.04); }

.gal-item.large {
  grid-column: span 2;
}

/* 縦写真用の縦枠（1列×2段） */
.gal-item.tall {
  grid-row: span 2;
}

/* 大判（2列×2段） */
.gal-item.big {
  grid-column: span 2;
  grid-row: span 2;
}

/* ===== TATAMI SECTION ===== */
.tatami-section {
  padding: 120px 0;
  border-top: 0.5px solid var(--border);
}

.tatami-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 500px;
}

.tatami-text {
  padding: 80px 72px 80px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
}

.tatami-text h2 {
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 300;
  letter-spacing: 0.25em;
  line-height: 2;
  color: var(--text);
}

.tatami-text p {
  font-size: 13px;
  line-height: 2.8;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.tatami-img {
  overflow: hidden;
}

/* ===== STAY INFORMATION ===== */
.stayinfo {
  padding: 120px 0;
  border-top: 0.5px solid var(--border);
}

.stayinfo-inner {
  padding: 0 64px;
}

.stayinfo h2 {
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 300;
  letter-spacing: 0.3em;
  color: var(--text);
  margin-bottom: 64px;
}

.stayinfo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
}

.stayinfo-block {
  background: var(--bg);
  padding: 48px 40px;
}

.stayinfo-block-title {
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.4em;
  color: var(--accent);
  margin-bottom: 32px;
  font-family: var(--font-en);
}

.stayinfo-row {
  display: flex;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 0.5px solid var(--border);
  font-size: 13px;
  line-height: 2;
  letter-spacing: 0.05em;
  color: var(--text);
}

.stayinfo-row small {
  display: block;
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.08em;
  margin-top: 4px;
}

.stayinfo-label {
  color: var(--text-muted);
  min-width: 90px;
  font-size: 13px;
  letter-spacing: 0.1em;
  flex-shrink: 0;
}

.amenity-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.amenity-list li {
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  padding: 16px 0;
  border-bottom: 0.5px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
}

.amenity-list li::before {
  content: '';
  display: block;
  width: 4px;
  height: 1px;
  background: var(--accent);
  flex-shrink: 0;
}

/* ===== ACCESS ===== */
.access {
  padding: 120px 0;
  border-top: 0.5px solid var(--border);
  background: var(--bg2);
}

.access-inner {
  padding: 0 64px;
}

.access h2 {
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 300;
  letter-spacing: 0.3em;
  color: var(--text);
  margin-bottom: 64px;
}

.access-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.access-row {
  display: flex;
  gap: 32px;
  padding: 20px 0;
  border-bottom: 0.5px solid var(--border);
  font-size: 15px;
  line-height: 2;
  letter-spacing: 0.05em;
}

.access-label {
  color: var(--text-muted);
  min-width: 100px;
  font-size: 15px;
  letter-spacing: 0.1em;
}

.access-subhead {
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--text-dim);
  margin-top: 40px;
  margin-bottom: 4px;
  padding-bottom: 8px;
  border-bottom: 0.5px solid rgba(255,255,255,0.15);
}

.access-note {
  display: flex;
  align-items: center;
  padding: 40px;
  border: 0.5px solid var(--border);
}

.access-note p {
  font-size: 15px;
  line-height: 2.8;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

/* ===== FAQ ===== */
.faq {
  padding: 120px 0;
  border-top: 0.5px solid var(--border);
  background: var(--bg2);
}

.faq-inner {
  padding: 0 64px;
  max-width: 860px;
}

.faq h2 {
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 300;
  letter-spacing: 0.3em;
  color: var(--text);
  margin-bottom: 56px;
}

.faq-list {
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-bottom: 0.5px solid var(--border);
}

.faq-item:first-child {
  border-top: 0.5px solid var(--border);
}

.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 15px;
  letter-spacing: 0.1em;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  gap: 24px;
}

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

.faq-q::after {
  content: '+';
  font-family: var(--font-en);
  font-size: 20px;
  font-weight: 300;
  color: var(--text-dim);
  flex-shrink: 0;
  transition: transform 0.3s ease, color 0.3s;
}

.faq-item[open] .faq-q::after {
  transform: rotate(45deg);
  color: var(--accent);
}

.faq-item[open] .faq-q {
  color: var(--accent);
}

.faq-a {
  font-size: 15px;
  line-height: 2.6;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  padding: 0 0 28px;
}

/* ===== RESERVE ===== */
.reserve {
  padding: 120px 64px;
  text-align: center;
  border-top: 0.5px solid var(--border);
}

.reserve h2 {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 300;
  letter-spacing: 0.3em;
  color: var(--text);
  margin-bottom: 20px;
}

.reserve-sub {
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 56px;
}

.reserve-links {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.reserve-btn {
  display: inline-block;
  border: 0.5px solid var(--text-dim);
  padding: 16px 32px;
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--text);
  transition: border-color 0.3s, color 0.3s, background 0.3s;
  min-width: 200px;
  text-align: center;
}

.reserve-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.reserve-btn.outline {
  background: transparent;
  color: var(--text-muted);
}

/* ===== MAP ===== */
.access-map {
  margin-top: 48px;
}

.hand-map {
  display: block;
  width: 100%;
  height: auto;
}

.map-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 18px;
  font-size: 12px;
  letter-spacing: .28em;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  padding-bottom: 2px;
  transition: color .3s, border-color .3s;
}

.map-link:hover {
  color: var(--text);
  border-color: rgba(255,255,255,0.38);
}

/* ===== FOOTER ===== */
footer {
  padding: 64px;
  border-top: 0.5px solid var(--border);
  background: var(--bg);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 32px 80px;
  align-items: start;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--text-dim);
  transition: color 0.3s;
}

.footer-links a:hover { color: var(--text); }

.footer-sns { margin-top: 14px; }

.footer-sns a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--text-dim);
  transition: color 0.3s;
}

.footer-sns svg {
  width: 15px;
  height: 15px;
  flex: none;
}

.footer-sns a:hover { color: var(--accent); }

.footer-copy {
  grid-column: 1 / -1;
  border-top: 0.5px solid var(--border);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copy p {
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--text-dim);
}

/* ===== REVEAL ANIMATION ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .concept-grid { grid-template-columns: 1fr; }
  .concept-text { padding: 60px 48px; }
  .fac-grid { grid-template-columns: repeat(2, 1fr); }
  .tatami-grid { grid-template-columns: 1fr; }
  .tatami-img { height: 400px; }
  .stayinfo-grid { grid-template-columns: 1fr; }
  .access-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .fullmenu { padding-left: 24px; padding-right: 24px; }
  .fullmenu-item { gap: 16px; }
  .fullmenu-en {
    min-width: 118px;
    font-size: 10px;
    letter-spacing: 0.3em;
  }
  .fullmenu-jp {
    font-size: 17px;
    letter-spacing: 0.2em;
  }

  #nav { padding: 20px 24px; }
  #nav.scrolled { padding: 14px 24px; }
  .nav-links, .nav-lang { display: none; }
  .nav-hamburger { display: flex; }

  .hero-content { padding: 0 24px 60px; }
  .hero-scroll { right: 24px; bottom: 60px; }

  .intro { padding: 80px 24px; }
  .intro-body br { display: none; }

  .concept-text { padding: 48px 24px; }
  .features-inner, .facilities-inner, .access-inner, .stayinfo-inner, .faq-inner { padding: 0 24px; }
  .stayinfo-block { padding: 40px 24px; }
  .gallery-header { padding: 0 24px 32px; }
  .season-tabs {
    width: 100%;
    gap: 22px;
    justify-content: flex-start;
    overflow-x: auto;
    padding: 0 0 8px;
    scrollbar-width: none;
  }
  .season-tabs::-webkit-scrollbar { display: none; }
  .season-tab { flex: 0 0 auto; }
  .reserve { padding: 80px 24px; }
  footer { padding: 48px 24px; }

  .fac-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .gal-item { height: 240px; }
  .gal-item.large { grid-column: span 1; }
  .gal-item.tall { grid-row: span 1; height: 440px; }
  .gal-item.big { grid-column: span 1; grid-row: span 1; height: 280px; }

  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-copy { flex-direction: column; gap: 8px; text-align: center; }
  body { font-size: 16px; }
}

/* ===== FIXED BOOKING BUTTON ===== */
.fixed-book {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 100;
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.26em;
  color: var(--bg);
  background: var(--accent);
  border: none;
  padding: 14px 22px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background 0.3s, color 0.3s;
  white-space: nowrap;
}
.fixed-book:hover { background: var(--text); color: var(--bg); }

/* 公式予約システム接続前の状態表示 */
.cta .booking-note {
  max-width: 620px;
  margin: 18px auto 0;
  font-size: 11px;
  line-height: 1.9;
  letter-spacing: 0.08em;
  opacity: 0.72;
}
.cta .btn.booking-pending {
  cursor: default;
  opacity: 0.72;
  background: rgba(246,242,234,0.06);
}
.cta .btn.booking-pending:hover {
  color: #f6f2ea;
  background: rgba(246,242,234,0.06);
  border-color: rgba(246,242,234,0.6);
}

/* 最終CTAの副リンク（予約＝主ボタン、相談＝副リンクに分離） */
.cta-sub {
  margin-top: 22px;
  font-size: 12px;
  letter-spacing: 0.06em;
}
.cta .cta-sub { margin-bottom: 0; }
.cta-sub a {
  color: rgba(246,242,234,0.78);
  border-bottom: 0.5px solid rgba(246,242,234,0.4);
  padding-bottom: 2px;
  transition: color 0.3s ease, border-color 0.3s ease;
}
.cta-sub a:hover { color: #f6f2ea; border-color: rgba(246,242,234,0.9); }

/* ヒーロー内の予約ボタン（1つだけ。細い枠線で写真を邪魔しない） */
.hero-cta { margin-top: 34px; }
.hero-book {
  display: inline-block;
  position: relative;
  font-family: var(--font-jp);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: #f4ead6;
  background: linear-gradient(135deg, rgba(30, 51, 59, 0.97), rgba(13, 30, 37, 0.97));
  border: 1px solid rgba(190, 158, 100, 0.82);
  padding: 15px 34px;
  box-shadow:
    inset 0 0 0 3px rgba(246, 242, 234, 0.08),
    0 7px 24px rgba(12, 20, 22, 0.28);
  transition: transform 0.35s ease, background 0.35s ease, border-color 0.35s ease, color 0.35s ease, box-shadow 0.35s ease;
}
.hero-book:hover {
  transform: translateY(-1px);
  background: linear-gradient(135deg, #263f49, #122931);
  border-color: rgba(213, 184, 128, 0.96);
  color: #fff8ea;
  box-shadow:
    inset 0 0 0 3px rgba(246, 242, 234, 0.12),
    0 10px 28px rgba(12, 20, 22, 0.34);
}
@media (max-width: 768px) {
  .hero-cta { margin-top: 26px; }
  .hero-book { font-size: 12px; padding: 13px 24px; }
}

/* ===== スマホ：下部固定バー =====
   PCではヘッダーの予約ボタンに集約するため、固定ボタンは出さない。
   スマホでは画面下の横長バーにして、親指の届く位置に置く。
   ただし常時表示だと写真を覆う面積が大きくなるため、
   ヒーロー表示中と、他の予約ボタンが見えている間は隠す（JSで制御）。 */
/* ヘッダーの予約ボタンは1025px以上でのみ表示されるため、
   下部バーは1024px以下で出す（769〜1024pxで予約導線が消える穴を防ぐ） */
@media (min-width: 1025px) {
  .fixed-book { display: none; }
}

@media (max-width: 1024px) {
  .fixed-book {
    left: 0; right: 0; bottom: 0;
    width: 100%;
    padding: 17px 0;
    /* iPhone等の下部安全領域ぶんを足す */
    padding-bottom: calc(17px + env(safe-area-inset-bottom, 0px));
    font-size: 12px;
    letter-spacing: 0.16em;
    text-align: center;
    border-radius: 0;
    /* 初期は隠しておき、ヒーローを過ぎたらJSで .is-visible を付ける */
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.35s ease, opacity 0.35s ease;
    pointer-events: none;
  }
  .fixed-book.is-visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  /* バーがフッター最終行を覆わないよう、ページ下端に余白を確保 */
  body { padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px)); }
}

/* ===== GOOGLE MAP IFRAME ===== */
.gmap-iframe {
  display: block;
  width: 100%;
  height: 480px;
  border: none;
  border-radius: 2px;
}

@media (max-width: 768px) { .gmap-iframe { height: 340px; } }

/* ===== MOBILE SLIDE DISABLE KB ===== */
@media (max-width: 640px) {
  .slide img, .slide.playing img { animation: none !important; transform: scale(1.02) !important; }
  .slide { transition: opacity .6s ease; }
}

/* ==========================================================
   v3 — 和紙・白基調への調整と追加セクション
========================================================== */

/* --- ヒーロー文字は常に画像上：白系で固定 --- */
.hero-label { color: var(--accent-lt); }
.hero-title { color: #f6f2ea; }
.hero-sub-jp { color: rgba(246,242,234,0.85); }
.hero-sub { color: rgba(246,242,234,0.8); }
.hero-scroll span { color: rgba(246,242,234,0.7); }
.scroll-line { background: linear-gradient(to bottom, rgba(246,242,234,0.7), transparent); }

/* --- 固定予約ボタンは墨のピルに --- */
.fixed-book { background: var(--sumi); color: #f6f2ea; }
.fixed-book:hover { background: var(--accent); color: #fff; }

/* --- フルスクリーン画像キャプションは白 --- */
.fullscreen-caption { color: rgba(255,255,255,0.7); }

/* --- 縦写真を画面比率に合わせて見せ分ける --- */
.concept-photo { background: var(--sumi); }
.concept-photo .cp-media {
  overflow: hidden;
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  aspect-ratio: 16 / 8.5;
}
.concept-photo .cp-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 61%;
}
.garden-portrait {
  height: min(88vh, 900px);
  min-height: 620px;
  padding: 44px clamp(64px, 9vw, 150px);
  background: var(--bg2);
}
.garden-portrait img {
  object-fit: contain;
  object-position: center;
  transform: none !important;
}
.garden-portrait .fullscreen-caption {
  right: clamp(64px, 9vw, 150px);
  bottom: 18px;
  color: var(--text-dim);
}
@media (max-width: 760px) {
  .concept-photo { background: var(--bg); }
  .concept-photo .cp-media { aspect-ratio: 3 / 4; }
  .concept-photo .cp-media img { object-position: center; }
  .garden-portrait {
    height: 70vh;
    min-height: 0;
    padding: 0;
    background: transparent;
  }
  .garden-portrait img { object-fit: cover; object-position: center; }
  .garden-portrait .fullscreen-caption {
    right: 24px;
    bottom: 24px;
    color: rgba(255,255,255,0.7);
  }
}
.cp-cap {
  text-align: center; font-family: var(--font-en); font-size: 15px;
  letter-spacing: 0.34em; color: var(--text-dim); padding: 16px 24px 28px;
}

/* --- 上部ナビ：横並びリンク（PC）／三本線（スマホ） --- */
.nav-right { display: flex; align-items: center; gap: 34px; }
.nav-links { display: flex; gap: 30px; }
.nav-links a {
  font-family: var(--font-en); font-size: 12px; letter-spacing: 0.24em;
  position: relative; padding-bottom: 3px; transition: color .3s;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 1px;
  background: currentColor; transition: width .35s ease;
}
.nav-links a:hover::after { width: 100%; }
.nav-lang {
  position: relative;
  display: block;
  font-family: var(--font-en);
}
.language-toggle {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 2px;
  border: 0;
  background: transparent;
  color: #f6f2ea;
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 0.24em;
  cursor: pointer;
  transition: color .3s ease;
}
#nav.scrolled .language-toggle { color: var(--text-muted); }
.language-caret {
  width: 6px;
  height: 6px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform .3s ease;
}
.nav-lang.open .language-caret { transform: translateY(2px) rotate(225deg); }
.language-list {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 140;
  display: flex;
  flex-direction: column;
  min-width: 188px;
  padding: 8px 0;
  border: 0.5px solid var(--border);
  background: rgba(246,242,234,0.98);
  box-shadow: 0 18px 44px rgba(23,20,16,0.16);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity .25s ease, visibility .25s ease, transform .25s ease;
}
.nav-lang.open .language-list {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.language-list a {
  display: block;
  padding: 11px 18px;
  border-left: 2px solid transparent;
  color: var(--text-muted);
  font-size: 12px;
  letter-spacing: 0.12em;
  line-height: 1.35;
  white-space: nowrap;
  transition: color .2s ease, background .2s ease, border-color .2s ease;
}
.language-list a:hover,
.language-list a:focus-visible {
  color: var(--text);
  background: rgba(135,109,67,0.08);
  outline: none;
}
.language-list a[aria-current="page"] {
  color: var(--accent);
  border-left-color: var(--accent);
}
.nav-hamburger { display: none; }   /* PCでは非表示 */

/* ヘッダーに予約ボタンを置いたぶん必要幅が増えるため、
   ハンバーガー切替を 900px → 1024px に引き上げる。
   新しい区切りを増やさず、既存の 1024px に合わせている。 */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .language-toggle { font-size: 9px; letter-spacing: 0.2em; }
  .language-list { min-width: 174px; }
  .nav-hamburger { display: flex; }
  .nav-book { display: none; }              /* 予約はフルメニュー内と下部バーに集約 */
}

/* ヘッダーの予約ボタン（PCのみ表示） */
.nav-book {
  font-family: var(--font-jp);
  font-size: 12px;
  letter-spacing: 0.15em;
  color: #f4ead6;
  background: linear-gradient(135deg, #243d47, #122a32);
  border: 1px solid rgba(176, 145, 89, 0.82);
  padding: 8px 16px;
  margin-left: 4px;
  white-space: nowrap;
  box-shadow:
    inset 0 0 0 2px rgba(246, 242, 234, 0.07),
    0 3px 12px rgba(20, 17, 13, 0.17);
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}
.nav-book:hover {
  background: linear-gradient(135deg, #2a4651, #142e37);
  border-color: rgba(205, 174, 115, 0.96);
  color: #fff8ea;
  box-shadow:
    inset 0 0 0 2px rgba(246, 242, 234, 0.1),
    0 4px 14px rgba(20, 17, 13, 0.22);
}
/* ヒーロー上（スクロール前）は白抜きで写真に馴染ませる */
#nav:not(.scrolled) .nav-book {
  color: #f4ead6;
  background: linear-gradient(135deg, rgba(30, 51, 59, 0.94), rgba(13, 30, 37, 0.94));
  border-color: rgba(190, 158, 100, 0.78);
}
#nav:not(.scrolled) .nav-book:hover {
  background: linear-gradient(135deg, rgba(42, 70, 81, 0.98), rgba(20, 46, 55, 0.98));
  border-color: rgba(213, 184, 128, 0.96);
  color: #fff8ea;
}

/* フルメニュー内の言語表示は使わない（上部バーに常時表示のため） */
.fullmenu-lang { display: none; }

/* --- 施設カード：手動スワイプ・カルーセル --- */
.fac-img-wrap { position: relative; }
.fac-slides {
  display: flex; height: 100%; overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  scrollbar-width: none; -ms-overflow-style: none; cursor: grab;
}
.fac-slides::-webkit-scrollbar { display: none; }
.fac-slides img {
  flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover;
  scroll-snap-align: center; user-select: none; -webkit-user-drag: none;
}
/* カルーセル内はホバー拡大を無効化（スクロール幅崩れ防止） */
.fac-item:hover .fac-slides img { transform: none !important; }
.fac-dots {
  position: absolute; bottom: 12px; left: 0; right: 0; z-index: 2;
  display: flex; justify-content: center; gap: 7px; pointer-events: none;
}
.fac-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,0.5); box-shadow: 0 0 3px rgba(0,0,0,0.3);
  pointer-events: auto; cursor: pointer; transition: background .3s, transform .3s;
}
.fac-dot.active { background: #fff; transform: scale(1.3); }
.fac-slides img { cursor: zoom-in; }

/* --- ライトボックス（施設写真の拡大表示） --- */
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(12, 10, 8, 0.94);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .35s ease;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img {
  max-width: 92vw; max-height: 88vh;
  width: auto; height: auto; object-fit: contain;
  box-shadow: 0 20px 80px rgba(0,0,0,0.6);
  transform: scale(0.96); transition: transform .35s ease;
}
.lightbox.open img { transform: scale(1); }
.lb-close {
  position: absolute; top: 22px; right: 26px;
  width: 44px; height: 44px; background: none; border: none; cursor: pointer;
}
.lb-close::before, .lb-close::after {
  content: ''; position: absolute; top: 50%; left: 50%;
  width: 30px; height: 1px; background: #ece7df;
}
.lb-close::before { transform: translate(-50%,-50%) rotate(45deg); }
.lb-close::after  { transform: translate(-50%,-50%) rotate(-45deg); }
.lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; background: none; border: none; cursor: pointer;
  color: #ece7df; font-size: 30px; font-family: serif; line-height: 1;
  opacity: 0.7; transition: opacity .3s;
}
.lb-nav:hover { opacity: 1; }
.lb-prev { left: 14px; }
.lb-next { right: 14px; }
.lb-count {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-en); font-size: 12px; letter-spacing: 0.3em; color: #b6ac9b;
}
@media (max-width: 640px) {
  .lb-nav { width: 44px; height: 44px; font-size: 24px; }
  .lb-close { top: 14px; right: 12px; }
}

/* --- 越前の手仕事（B移植） --- */
.crafts {
  padding: 120px 0;
  background: var(--bg2);
  border-top: 0.5px solid var(--border);
}
.crafts-inner { padding: 0 64px; max-width: 1180px; margin: 0 auto; }
.crafts-head { text-align: left; margin-bottom: 68px; }
.crafts-lead {
  font-size: clamp(15px, 1.5vw, 18px); font-weight: 300;
  letter-spacing: 0.1em; line-height: 2; color: var(--text-muted); margin-top: 18px;
}
.crafts-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 56px 28px;
}
.craft { grid-column: span 2; min-width: 0; }
.craft:nth-child(4) { grid-column: 2 / span 2; }
.craft-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #d8d0c2;
}
.craft-trigger {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: inherit;
}
.craft-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s ease;
}
.craft-open {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 8px 12px 7px;
  border: 0.5px solid rgba(255,255,255,0.55);
  background: rgba(18,20,22,0.56);
  color: #fff;
  font-family: var(--font-en);
  font-size: 9px;
  letter-spacing: 0.2em;
  line-height: 1;
  opacity: 0.84;
  transition: opacity .3s ease, background .3s ease;
}
.craft:hover .craft-media img,
.craft-trigger:focus-visible img { transform: scale(1.025); }
.craft-trigger:hover .craft-open,
.craft-trigger:focus-visible .craft-open {
  opacity: 1;
  background: rgba(18,20,22,0.78);
}
.craft-trigger:focus-visible { outline: 1px solid var(--accent); outline-offset: -4px; }
.craft-copy {
  position: relative;
  padding: 22px 4px 0 38px;
  border-top: 0.5px solid var(--border);
}
.craft-no {
  position: absolute;
  top: 23px;
  left: 4px;
  font-family: var(--font-en);
  font-size: 10px;
  color: var(--accent);
  letter-spacing: 0.2em;
}
.craft-name { font-size: 16px; letter-spacing: 0.18em; margin: 0 0 10px; color: var(--text); }
.craft-desc { font-size: 15px; color: var(--text-muted); line-height: 2; letter-spacing: 0.03em; }

/* 案内冊子の工芸紹介を、産地アクセスだけ除いて横長に再構成 */
.craft-dialog[hidden] { display: none; }
.craft-dialog {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: grid;
  place-items: center;
  padding: 40px;
}
.craft-dialog-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: rgba(14,16,18,0.82);
  cursor: default;
}
.craft-dialog-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(420px, 1.18fr);
  width: min(1120px, calc(100vw - 80px));
  max-height: calc(100vh - 80px);
  overflow: auto;
  background: #f3eee4;
  box-shadow: 0 28px 80px rgba(0,0,0,0.34);
}
.craft-dialog-media {
  min-height: 520px;
  background: #d8d0c2;
}
.craft-dialog-media img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}
.craft-dialog-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(52px, 6vw, 82px);
}
.craft-dialog-no {
  margin-bottom: 12px;
  color: var(--accent);
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 0.28em;
}
.craft-dialog-title {
  margin: 0 0 30px;
  color: var(--text);
  font-size: clamp(23px, 2.4vw, 34px);
  font-weight: 300;
  letter-spacing: 0.18em;
  line-height: 1.5;
}
.craft-dialog-body {
  color: var(--text-muted);
  font-size: 13px;
  letter-spacing: 0.055em;
  line-height: 2.25;
}
.craft-dialog-use {
  margin-top: 34px;
  padding: 24px 26px;
  border-left: 2px solid var(--accent);
  background: rgba(255,255,255,0.48);
}
.craft-dialog-use-label {
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
}
.craft-dialog-use-text {
  color: var(--text);
  font-size: 12px;
  letter-spacing: 0.04em;
  line-height: 2;
}
.craft-dialog-close {
  position: absolute;
  z-index: 2;
  top: 20px;
  right: 20px;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0.5px solid rgba(50,45,38,0.28);
  border-radius: 50%;
  background: rgba(243,238,228,0.88);
  cursor: pointer;
}
.craft-dialog-close::before,
.craft-dialog-close::after {
  content: '';
  position: absolute;
  top: 20px;
  left: 11px;
  width: 19px;
  height: 1px;
  background: var(--text);
}
.craft-dialog-close::before { transform: rotate(45deg); }
.craft-dialog-close::after { transform: rotate(-45deg); }
.craft-dialog-close:focus-visible { outline: 1px solid var(--accent); outline-offset: 3px; }
body.craft-dialog-open { overflow: hidden; }
body.craft-dialog-open .fixed-book { opacity: 0; pointer-events: none; }

/* --- 宿泊のご案内（Bそのまま・濃墨パネル） --- */
.stay2 { padding: 120px 0; background: var(--sumi); }
.stay2-inner { padding: 0 64px; max-width: 1180px; margin: 0 auto; }
.stay2-head { text-align: left; margin-bottom: 60px; }
.stay2-head .section-label { color: var(--accent-lt); }
.stay2-head h2 { font-size: clamp(22px, 2.5vw, 32px); font-weight: 300; letter-spacing: 0.3em; color: #ece5d8; }
.stay2-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,0.08); border: 0.5px solid rgba(255,255,255,0.08); }
.stay2-cell { background: var(--sumi); padding: 44px 36px; }
.stay2-cell h3 { font-family: var(--font-en); font-size: 11px; letter-spacing: 0.34em; color: var(--accent-lt); margin-bottom: 26px; }
.stay2-row { display: flex; justify-content: space-between; gap: 14px; padding: 13px 0; border-bottom: 0.5px solid rgba(255,255,255,0.08); font-size: 15px; }
.stay2-row:last-child { border-bottom: none; }
.stay2-row .k { color: var(--text-dim); letter-spacing: 0.08em; flex-shrink: 0; }
.stay2-row .v { text-align: right; color: #e9e2d4; letter-spacing: 0.03em; }
.stay2-list { font-size: 15px; line-height: 2.2; color: #cfc7b8; letter-spacing: 0.04em; }

/* --- アクセス：写真なし・1カラム --- */
.access .access-grid { grid-template-columns: 1fr; max-width: 760px; }
.access .map-link { color: var(--accent); border-bottom: 1px solid var(--border); font-size: 11px; letter-spacing: 0.2em; }
.access .map-link:hover { color: var(--text); border-color: var(--text-dim); }

/* 周辺：点線リーダーで結ぶ */
.access-around { align-items: flex-start; }
.access-around > .access-label { flex: 0 0 100px; }
.access-around > span:not(.access-label) { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.around-row { display: flex; align-items: baseline; gap: 10px; padding: 4px 0; }
.around-place { flex: 0 0 152px; }  /* 「福井県立恐竜博物館」が1行に収まる幅 */
.around-dots { flex: 0 0 40px; border-bottom: 1px dotted var(--text-dim); opacity: 0.55; transform: translateY(-4px); }
.around-time { flex-shrink: 0; color: var(--text-muted); font-size: 12.5px; letter-spacing: 0.08em; }

/* --- 予約CTA（B移植・画像背景） --- */
.cta { position: relative; padding: 150px 24px; text-align: center; overflow: hidden; }
.cta-bg { position: absolute; inset: 0; z-index: 0; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-bg::after { content: ''; position: absolute; inset: 0; background: rgba(20,17,13,0.5); }
.cta-inner { position: relative; z-index: 2; color: #f6f2ea; }
.cta h2 { font-size: clamp(24px, 3.4vw, 42px); font-weight: 200; letter-spacing: 0.16em; margin-bottom: 20px; color: #f6f2ea; }
.cta p { font-size: 13px; letter-spacing: 0.1em; opacity: 0.9; margin-bottom: 44px; }
.cta .btn {
  display: inline-block; font-family: var(--font-en); font-size: 13px; letter-spacing: 0.34em;
  text-transform: uppercase; color: #f6f2ea; padding: 17px 44px;
  border: 0.5px solid rgba(246,242,234,0.6); transition: background .4s, color .4s, border-color .4s;
}
.cta .btn:hover { background: #f6f2ea; color: var(--text); border-color: #f6f2ea; }

/* --- フッターは濃墨で締める（B） --- */
footer { background: var(--sumi); border-top: none; }
footer .logo-jp { color: #e9e2d4; }
footer .logo-en { color: var(--text-dim); }
footer .footer-links a { color: #b6ac9b; }
footer .footer-links a:hover { color: var(--accent-lt); }
footer .footer-sns a { color: #b6ac9b; }
footer .footer-sns a:hover { color: var(--accent-lt); }
footer .footer-copy { border-top: 0.5px solid rgba(255,255,255,0.08); }
footer .footer-copy p { color: var(--text-dim); }

@media (max-width: 1024px) {
  .stay2-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .crafts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .craft { grid-column: auto; }
  .craft:nth-child(4) { grid-column: auto; }
  .craft:last-child {
    grid-column: 1 / -1;
    width: calc(50% - 14px);
    justify-self: center;
  }
  .craft-dialog { padding: 24px; }
  .craft-dialog-panel {
    grid-template-columns: 1fr;
    width: min(680px, calc(100vw - 48px));
    max-height: calc(100vh - 48px);
  }
  .craft-dialog-media,
  .craft-dialog-media img {
    min-height: 0;
    height: min(38vh, 340px);
  }
  .craft-dialog-copy { padding: 44px 48px 52px; }
}
@media (max-width: 760px) {
  .crafts-inner, .stay2-inner { padding: 0 24px; }
  .crafts { padding: 96px 0; }
  .crafts-head { margin-bottom: 52px; }
  .crafts-grid { grid-template-columns: 1fr; gap: 48px; }
  .craft, .craft:nth-child(4), .craft:last-child {
    grid-column: auto;
    width: 100%;
  }
  .craft-dialog { padding: 14px; }
  .craft-dialog-panel {
    width: calc(100vw - 28px);
    max-height: calc(100vh - 28px);
  }
  .craft-dialog-media,
  .craft-dialog-media img { height: 29vh; min-height: 190px; }
  .craft-dialog-copy { padding: 34px 26px 38px; }
  .craft-dialog-title { margin-bottom: 20px; font-size: 22px; }
  .craft-dialog-body { font-size: 12px; line-height: 2.1; }
  .craft-dialog-use { margin-top: 24px; padding: 19px 20px; }
  .craft-dialog-close { top: 12px; right: 12px; }
  .cta { padding: 100px 24px; }
}

/* ===== RATES & AVAILABILITY（料金・空き状況カレンダー） ===== */
.rates {
  padding: 120px 0;
  border-top: 0.5px solid var(--border);
}
.rates-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 64px;
}
.rates .section-label { text-align: center; }
.rates h2 {
  text-align: center;
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 300;
  letter-spacing: 0.3em;
  color: var(--text);
  margin-bottom: 48px;
}
.rc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.rc-month {
  font-size: 16px;
  letter-spacing: 0.2em;
  color: var(--text);
}
.rc-btn {
  background: none;
  border: 0.5px solid var(--text-dim);
  border-radius: 30px;
  color: var(--text-muted);
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 0.2em;
  padding: 8px 18px;
  cursor: pointer;
  transition: color .3s, border-color .3s;
}
.rc-btn:hover:not(:disabled) { color: var(--accent); border-color: var(--accent); }
.rc-btn:disabled { opacity: 0.3; cursor: default; }
.rc-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}
.rc-table th {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.15em;
  color: var(--text-dim);
  padding: 8px 0;
  border-bottom: 0.5px solid var(--border);
}
.rc-table td {
  border: 0.5px solid var(--border);
  height: 64px;
  vertical-align: top;
  padding: 6px 4px 4px;
  text-align: center;
  background: rgba(255,255,255,0.35);
}
.rc-day {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.4;
}
.rc-price {
  display: block;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--text);
  margin-top: 6px;
}
.rc-status {
  display: block;
  font-size: 13px;
  color: var(--text-dim);
  margin-top: 6px;
}
td.rc-sun .rc-day { color: #a56a5b; }
td.rc-sat .rc-day { color: #5b7a96; }
td.rc-past, td.rc-empty { background: transparent; }
td.rc-past .rc-day { color: var(--border); }
td.rc-booked { background: rgba(0,0,0,0.04); }
td.rc-booked .rc-day { color: var(--text-dim); }
td.rc-today { outline: 1.5px solid var(--accent); outline-offset: -1.5px; }
td.rc-deal .rc-price { color: var(--accent); }
.rc-was {
  display: block;
  font-size: 10px;
  color: var(--text-dim);
  text-decoration: line-through;
  margin-top: 2px;
}
.rates-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: center;
  margin-top: 24px;
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}
.rates-legend .deal-mark { color: var(--accent); }
.rates-note {
  margin-top: 20px;
  text-align: center;
  font-size: 12px;
  line-height: 2;
  color: var(--text-dim);
  letter-spacing: 0.05em;
}
.rates-cta {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}
@media (max-width: 900px) {
  .rates-inner { padding: 0 16px; }
  .rc-table td { height: 56px; padding: 4px 2px 3px; }
  .rc-price { font-size: 11px; }
  .rc-day { font-size: 10px; }
}

/* ===== 公開前の堅牢性・操作性改善 ===== */
.rates-system-note {
  max-width: 680px;
  margin: -20px auto 28px;
  padding: 11px 16px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.28);
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.8;
  letter-spacing: 0.04em;
  text-align: center;
}

a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.fac-slides img[role="button"],
.gallery-grid img[role="button"] { cursor: zoom-in; }

@media (max-width: 640px) {
  .access-around > .access-label { flex-basis: 72px; }
  .around-row { gap: 6px; }
  .around-place { flex: 1 1 auto; min-width: 0; }
  .around-dots { flex-basis: 20px; }
  .around-time { font-size: 12.5px; letter-spacing: 0.04em; }
  .rates-system-note { margin-top: -12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
  .slide img,
  .fullscreen-img img { transform: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}


/* ===== 本文サイズ：スマートフォン（2026-08-12） ===== */
@media (max-width: 640px) {
  .fac-desc,
  .craft-desc,
  .feature-body,
  .faq-a,
  .faq-q,
  .stay2-row,
  .stay2-list,
  .access-row,
  .access-label,
  .access-note p { font-size: 15.5px; }
}

/* ===== 2026-08-20 追加 ===== */

/* 左上ロゴに家紋（パンフレットと同じ扱い。色は文字に追従） */
.nav-logo { flex-direction: row; align-items: center; gap: 11px; }
.nav-logo-text { display: flex; flex-direction: column; }
.nav-kamon { width: 22px; height: 22px; flex: none; color: var(--text); }

/* ハンバーガーメニューのInstagram（大きい項目側） */

/* ギャラリーからInstagramへの導線 */
.gallery-ig { padding: 16px 64px 0; }
.gallery-ig a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  letter-spacing: 0.06em;
  color: var(--accent);
  border-bottom: 0.5px solid var(--accent);
  padding-bottom: 3px;
  transition: color 0.3s, border-color 0.3s;
}
.gallery-ig a:hover { color: var(--text); border-color: var(--text); }
.gal-ig-mark { flex: none; }

/* 著作権表記：ページ下に白い帯を作らず、最終CTAの写真の中へ収める。
   視線の終点として右下に置く。 */
.cta .cta-copy {
  position: absolute;
  right: 64px;
  bottom: 26px;
  z-index: 2;
  margin: 0;
  text-align: right;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(246,242,234,0.6);
}
.cta .cta-copy a { color: inherit; border-bottom: 0.5px solid rgba(246,242,234,0.35); }
.cta .cta-copy a:hover { color: #f6f2ea; }
/* 狭い画面では右下に置くと窮屈で下部バーとも干渉するため、文章の下に中央で置く */
@media (max-width: 900px) {
  .cta .cta-copy { position: static; margin: 40px 0 0; text-align: center; }
}

@media (max-width: 900px) {
  .gallery-ig { padding: 14px 64px 0; }
  .nav-kamon { width: 19px; height: 19px; }
}

/* コンセプト写真も拡大できる */
.feature-photo img { cursor: zoom-in; }

/* ===== 2026-08-20 調整 ===== */

/* ① 家紋の横線を「一乗谷」の一の高さに合わせる
      （中央揃えだと英字行を含めた中心に来て、7px下がっていた） */
.nav-logo { align-items: flex-start; }
.nav-kamon { margin-top: -1px; }

/* ② LANGUAGE を三本線の隣へ
      #nav は space-between の3要素で、真ん中のnav-rightが中央に置かれていた。
      margin-left:auto で余白を左に寄せ、ハンバーガーと並べる */
@media (max-width: 1024px) {
  #nav .nav-right { margin-left: auto; }
  #nav .nav-hamburger { margin-left: 18px; }
}

/* ③ ギャラリーのInstagramを注記文と同じ組みにして馴染ませる */
.gallery-ig {
  padding: 0 64px;
  font-size: 15px;
  line-height: 2;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}
.gallery-ig a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 0;
  color: var(--accent);
  border-bottom: 0.5px solid var(--accent);
}

@media (max-width: 900px) {
  .gallery-ig { padding: 0 64px; }
}

/* 周辺スポットの施設名をルートリンクにする。
   文字色は変えず、細い下線だけで押せることを示す（一覧の見た目を崩さないため） */
a.around-place {
  color: inherit;
  /* 枠が固定幅のため border-bottom だと文字の無い所まで線が伸びる。
     text-decoration なら文字の幅にだけ引かれる。 */
  text-decoration: underline;
  text-decoration-color: var(--border);
  text-decoration-thickness: 0.5px;
  text-underline-offset: 5px;
  transition: color 0.3s, text-decoration-color 0.3s;
}
a.around-place:hover,
a.around-place:focus-visible { color: var(--accent); text-decoration-color: var(--accent); }
.around-note {
  margin: 14px 0 0;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--text-dim);
}
@media (max-width: 900px) { .around-note { font-size: 12.5px; } }

/* 周辺：アクティビティ・観光マップへの入口（2026-10-04） */
.around-maps { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; }
.around-map {
  display: flex; flex-direction: column; gap: 6px; padding: 16px 18px;
  border: 1px solid var(--border); color: inherit; text-decoration: none;
  transition: border-color 0.3s, color 0.3s;
}
.around-map:hover, .around-map:focus-visible { border-color: var(--accent); }
.around-map-name { font-size: 15px; letter-spacing: 0.12em; }
.around-map-name::after { content: " 97"; color: var(--accent); font-size: 12px; }
.around-map-note { font-size: 12px; line-height: 1.7; color: var(--text-dim); }
@media (max-width: 900px) { .around-maps { grid-template-columns: 1fr; } }
