:root {
  --ivory: #faf7f2;
  --white: #ffffff;
  --brown: #5a4632;
  --brown-dark: #3e3021;
  --text: #33302a;
  --green: #4a8f3c;
  --green-dark: #37702c;
  --lime: #cfe36a;
  --line: #e5ddd0;
  --serif: "Cormorant Garamond", "Shippori Mincho", serif;
  --serif-ja: "Shippori Mincho", serif;
  --sans: "Noto Sans JP", sans-serif;
  /* ガラス風UI用 */
  --glass-bg: rgba(255, 255, 255, 0.5);
  --glass-border: rgba(255, 255, 255, 0.72);
  --glass-shadow: 0 8px 32px rgba(90, 70, 50, 0.12);
  /* 画像読み込み中に出す、写真の色味に近い仮の背景 */
  --photo-placeholder: linear-gradient(135deg, #ddd1bf 0%, #bfae98 55%, #a8977f 100%);
  --header-bg: #fbf8f3;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--text);
  /* アイボリーの上に淡い色の光を散らし、ガラス面が映える背景にする */
  background:
    radial-gradient(900px 620px at 88% -120px, rgba(207, 227, 106, 0.32), transparent 65%),
    radial-gradient(760px 560px at -120px 30%, rgba(74, 143, 60, 0.13), transparent 60%),
    radial-gradient(820px 620px at 112% 72%, rgba(240, 203, 145, 0.26), transparent 60%),
    var(--ivory);
  background-attachment: fixed;
  line-height: 1.9;
  font-size: 16px;
  /* 内容の少ないページでもフッターが画面下に来るよう、本文領域を伸ばす */
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
body > main { flex: 1 0 auto; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 28px;
  /* 下の写真や本文が透けてナビが読みにくくならないよう不透明にする */
  background: var(--header-bg);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 14px rgba(90, 70, 50, 0.08);
}
.logo { display: flex; flex-direction: column; line-height: 1.3; }
.logo-en { font-family: var(--serif); font-size: 24px; font-weight: 600; color: var(--brown); letter-spacing: 0.04em; }
.logo-ja { font-size: 11px; color: #8a7d6a; letter-spacing: 0.2em; }
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav > a { display: flex; flex-direction: column; align-items: center; line-height: 1.35; padding: 2px 0; border-bottom: 2px solid transparent; transition: border-color 0.2s; }
.site-nav > a:hover, .site-nav > a.active { border-bottom-color: var(--green); }
.nav-en { font-family: var(--serif); font-size: 15px; font-weight: 600; color: var(--brown); letter-spacing: 0.1em; }
.nav-ja { font-size: 10px; color: #8a7d6a; letter-spacing: 0.1em; }
.nav-sns { display: flex; align-items: center; gap: 14px; margin-left: 6px; }
.nav-sns a { color: var(--brown); opacity: 0.75; transition: opacity 0.2s; display: flex; }
.nav-sns a:hover { opacity: 1; }
.nav-toggle { display: none; }

/* ---------- ヒーロー ---------- */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 28px 20px;
  gap: 30px;
}
.hero-photo { border-radius: 24px; background: var(--photo-placeholder); }
.hero-photo img { width: 100%; height: auto; max-height: 78vh; object-fit: cover; object-position: top; border-radius: 24px; box-shadow: var(--glass-shadow); }
.hero-text { text-align: center; }
.hero-official { font-family: var(--serif); font-size: 18px; color: #9c8b73; letter-spacing: 0.3em; margin-bottom: 10px; }
.hero-name { font-family: var(--serif); font-size: clamp(42px, 6vw, 72px); font-weight: 600; color: var(--brown); line-height: 1.1; }
.hero-tagline { font-family: var(--serif); font-size: clamp(20px, 2.6vw, 30px); color: var(--brown); margin-top: 12px; letter-spacing: 0.06em; }
.hero-name-ja { margin-top: 22px; font-family: var(--serif-ja); font-size: 15px; letter-spacing: 0.24em; color: var(--text); }

/* ---------- セクション共通 ---------- */
.section { padding: 70px 28px; }
.page-top { padding-top: 50px; }
.container { max-width: 1080px; margin: 0 auto; }
.container.narrow { max-width: 780px; }
.center { text-align: center; }
.alt-bg { background: rgba(255, 255, 255, 0.46); }
.section-title { text-align: center; margin-bottom: 42px; line-height: 1.4; }
.section-title .en { display: block; font-family: var(--serif); font-size: 34px; font-weight: 600; color: var(--brown); letter-spacing: 0.12em; }
.section-title .ja { display: inline-block; font-size: 13px; color: var(--green-dark); letter-spacing: 0.2em; margin-top: 10px; }

.message-section p { text-align: center; margin-bottom: 6px; }

/* ---------- ニュース ---------- */
.news-list {
  max-width: 760px;
  margin: 0 auto;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  padding: 6px 22px;
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(10px);
}
.news-list li { border-bottom: 1px solid var(--line); }
.news-list li:last-child { border-bottom: none; }
.news-list a { display: flex; gap: 26px; align-items: baseline; padding: 18px 8px; transition: background 0.2s; }
.news-list a:hover { background: rgba(74, 143, 60, 0.06); }
.news-list time { font-family: var(--serif); font-size: 15px; color: var(--green-dark); white-space: nowrap; letter-spacing: 0.05em; }
.news-list .empty { padding: 18px 8px; color: #8a7d6a; }
.more-wrap { text-align: center; margin-top: 34px; }
.btn-more {
  display: inline-block;
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 0.18em;
  color: var(--brown-dark);
  border: 1px solid rgba(90, 70, 50, 0.35);
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(8px);
  border-radius: 999px;
  padding: 12px 46px;
  box-shadow: 0 4px 18px rgba(90, 70, 50, 0.1);
  transition: all 0.25s;
}
.btn-more:hover { background: var(--brown-dark); color: var(--ivory); }
.btn-more .arrow { display: inline-block; transition: transform 0.25s; }
.btn-more:hover .arrow { transform: translateX(4px); }

.news-article time { font-family: var(--serif); color: var(--green-dark); font-size: 16px; letter-spacing: 0.05em; }
.news-article h1 { font-family: var(--serif-ja); font-size: 26px; color: var(--brown-dark); margin: 8px 0 24px; line-height: 1.5; }
.news-article .news-image { margin-bottom: 24px; }
.news-article .news-image img { margin: 0 auto; max-height: 480px; object-fit: contain; }

/* ---------- ランキング ---------- */
.ranking-updated { text-align: center; color: #8a7d6a; font-size: 13px; margin: -26px 0 26px; }
.ranking-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; max-width: 880px; margin: 0 auto; }
.ranking-card { background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: 20px; box-shadow: var(--glass-shadow); backdrop-filter: blur(12px); text-align: center; padding: 26px 16px; }
.ranking-label { font-size: 13px; letter-spacing: 0.1em; color: var(--green-dark); margin-bottom: 8px; }
.ranking-value { font-family: var(--serif); font-size: 40px; color: var(--brown-dark); line-height: 1.2; }
.ranking-value span, .ranking-best span { display: block; font-size: 11px; letter-spacing: 0.2em; color: #9c8b73; }
.ranking-best { font-family: var(--serif); font-size: 20px; color: var(--brown); margin-top: 8px; }

/* ---------- バナーカード ---------- */
.cards-section .container { display: flex; flex-direction: column; gap: 54px; }
.banner-card { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 36px; }
.banner-card.reverse .banner-photo { order: 2; }
.banner-card.reverse .banner-body { order: 1; }
.banner-photo { display: block; width: 100%; overflow: hidden; border-radius: 22px; background: var(--photo-placeholder); box-shadow: var(--glass-shadow); }
.banner-photo img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; transition: transform 0.5s; }
.banner-card:hover .banner-photo img { transform: scale(1.04); }
.banner-body { text-align: center; }
.banner-title { line-height: 1.4; margin-bottom: 24px; }
.banner-title .ja { display: inline-block; font-family: var(--serif-ja); font-size: 24px; font-weight: 600; color: var(--text); }
.banner-title .en { display: block; font-family: var(--serif); font-size: 22px; color: var(--brown); margin-top: 10px; letter-spacing: 0.08em; }
/* カードの MORE はボタンらしく塗りつぶし、押せる面積を広げる */
.banner-body .btn-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  min-width: 180px;
  padding: 14px 40px;
  background: rgba(55, 112, 44, 0.9);
  border-color: transparent;
  color: #fff;
  font-weight: 600;
  box-shadow: 0 6px 20px rgba(55, 112, 44, 0.28);
}
.banner-body .btn-more:hover, .banner-body .btn-more:focus-visible { background: var(--green-dark); color: #fff; }
.banner-photo:focus-visible, .btn-more:focus-visible, .slider-btn:focus-visible, .slider-dot:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }

/* ---------- 下層ページヒーロー ---------- */
/* 写真に焼き込まれたタイトル文字・クレジットが切れないよう、写真全体を収めて高さを抑える。
   左右の余白は同じ写真をぼかした背景で埋める。
   ぼかし背景は <img> ではなく、中身の無い div の背景画像(HTML側の style 属性で指定)で描く。
   こうしておくと、CSSが古い・読み込めない場合でも div は高さ0になり、写真が2枚並んで表示されることがない */
.page-hero {
  position: relative;
  height: clamp(240px, 46vh, 520px);
  overflow: hidden;
  isolation: isolate;
  background: var(--photo-placeholder);
}
.page-hero-bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(28px) saturate(1.1);
  transform: scale(1.15);
  opacity: 0.85;
  pointer-events: none;
}
.page-hero img {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
}
.page-hero-title {
  position: absolute;
  left: 6%;
  top: 42%;
  transform: translateY(-50%);
  font-family: var(--serif);
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 500;
  color: #fff;
  letter-spacing: 0.06em;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}

/* ---------- プロフィール ---------- */
.def-list {
  max-width: 620px;
  margin: 0 auto 24px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 20px 28px;
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(10px);
}
.def-list.contracts { margin-bottom: 0; }
.def-list > div { display: grid; grid-template-columns: 180px 1fr; padding: 9px 4px; }
.def-list dt { color: var(--green-dark); font-weight: 500; letter-spacing: 0.08em; }
.results-list {
  max-width: 720px;
  margin: 0 auto;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 8px 26px;
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(10px);
}
.results-list li { display: flex; gap: 24px; align-items: baseline; padding: 13px 4px; border-bottom: 1px solid var(--line); }
.results-list li:last-child { border-bottom: none; }
.results-list .year { font-family: var(--serif); font-size: 19px; color: var(--brown); white-space: nowrap; letter-spacing: 0.05em; }
/* 横スライド式フォトギャラリー */
.photo-slider { position: relative; }
.photo-grid {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 4px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  /* 下側に余白を取り、写真の影がスクロール領域で切れないようにする */
  padding: 4px 4px 20px;
  margin-bottom: -16px;
}
.photo-grid::-webkit-scrollbar { display: none; }
.photo-item { flex: 0 0 auto; width: min(300px, 72vw); scroll-snap-align: start; border-radius: 18px; background: var(--photo-placeholder); }
.photo-item img { width: 100%; aspect-ratio: 3 / 3.6; object-fit: cover; border-radius: 18px; box-shadow: var(--glass-shadow); }
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(90, 70, 50, 0.25);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 6px 22px rgba(62, 48, 33, 0.22);
  color: var(--brown-dark);
  font-size: 0;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 0.2s, opacity 0.2s, color 0.2s;
}
/* 矢印は文字ではなく枠線で描く(フォントによって位置がずれないように) */
.slider-btn::before {
  content: "";
  width: 13px;
  height: 13px;
  border-top: 3px solid currentColor;
  border-right: 3px solid currentColor;
  transform: translateX(-2px) rotate(45deg);
}
.slider-btn.prev::before { transform: translateX(2px) rotate(-135deg); }
.slider-btn:hover { background: #fff; color: var(--green-dark); }
.slider-btn:disabled { opacity: 0.35; cursor: default; }
.slider-btn[hidden] { display: none; }
.slider-btn.prev { left: -14px; }
.slider-btn.next { right: -14px; }
/* 現在位置のドット */
.slider-dots { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; margin-top: 14px; }
.slider-dots[hidden] { display: none; }
.slider-dot {
  width: 28px;
  height: 28px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.slider-dot::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(90, 70, 50, 0.28);
  transition: background 0.2s, transform 0.2s;
}
.slider-dot[aria-current="true"]::before { background: var(--green-dark); transform: scale(1.3); }

/* ---------- プロセス・想い ---------- */
.lead-text { text-align: center; margin-bottom: 40px; }
.lead-text p { font-family: var(--serif-ja); font-size: clamp(17px, 2.2vw, 21px); font-weight: 600; color: var(--brown-dark); line-height: 2.1; }
.body-text p { margin-bottom: 18px; }
.body-text.center p { text-align: center; }
.motto-block { margin-bottom: 56px; text-align: center; }
.motto-block:last-child { margin-bottom: 0; }
.motto-title {
  display: inline-block;
  font-family: var(--serif-ja);
  font-size: clamp(21px, 2.8vw, 27px);
  color: var(--brown-dark);
  border-bottom: 2px solid var(--green);
  padding: 0 10px 8px;
  margin-bottom: 22px;
}
.motto-quote { font-family: var(--serif-ja); font-size: 18px; font-weight: 600; color: var(--brown-dark); margin-bottom: 18px; line-height: 2.1; }
.motto-quote .mark { color: var(--green-dark); }
.motto-body { text-align: left; margin-bottom: 14px; }

/* ---------- サポーター ---------- */
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 320px)); gap: 24px; justify-content: center; }
.plan-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-top: 3px solid rgba(74, 143, 60, 0.7);
  border-radius: 20px;
  padding: 30px 26px;
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(12px);
}
.alt-bg .plan-card { background: var(--glass-bg); }
.plan-name { font-family: var(--serif-ja); font-size: 21px; color: var(--brown-dark); text-align: center; }
.plan-price { text-align: center; font-size: 17px; font-weight: 700; color: var(--green-dark); margin: 8px 0 18px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.plan-benefits li { position: relative; padding: 5px 0 5px 22px; font-size: 15px; }
.plan-benefits li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }
/* プラン比較表(ガラス風) */
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 20px;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(12px);
}
.plan-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.plan-table th, .plan-table td {
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
  padding: 14px 10px;
  text-align: center;
  vertical-align: middle;
  font-size: 14px;
}
.plan-table tr > :first-child { border-left: none; }
.plan-table tbody tr:last-child > * { border-bottom: none; }
.plan-table thead th { background: rgba(255, 255, 255, 0.55); padding: 18px 10px; }
.plan-table .feature-col, .plan-table .feature {
  font-weight: 500;
  color: var(--brown-dark);
  min-width: 120px;
  line-height: 1.6;
}
.plan-table .plan-name { display: block; font-family: var(--serif-ja); font-size: 17px; font-weight: 700; color: var(--brown-dark); text-align: center; }
.plan-table .plan-price { display: block; font-size: 13px; font-weight: 700; color: var(--green-dark); margin: 4px 0 0; padding: 0; border: none; }
.plan-table .ok { color: var(--green); font-size: 20px; font-weight: 700; }
.plan-table .no { color: #b8ad9c; }
.plan-link {
  display: inline-block;
  background: rgba(55, 112, 44, 0.88);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(55, 112, 44, 0.25);
  transition: background 0.2s;
}
.plan-link:hover { background: var(--green); }
.apply-wrap { text-align: center; margin-top: 44px; }
.btn-apply {
  display: inline-block;
  background: rgba(55, 112, 44, 0.88);
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.1em;
  padding: 15px 52px;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(55, 112, 44, 0.3);
  backdrop-filter: blur(6px);
  transition: background 0.25s;
}
.btn-apply:hover { background: var(--green); }
.apply-note { margin-top: 16px; font-size: 14px; color: #6f6452; }
.apply-note a { color: var(--green-dark); text-decoration: underline; }

/* ---------- サポーター: 申し込み・限定ページへの導線 ---------- */
.supporter-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; max-width: 880px; margin: 0 auto; }
.supporter-link-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(12px);
  padding: 30px 26px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.supporter-link-card h3 { font-family: var(--serif-ja); font-size: 19px; color: var(--brown-dark); }
.supporter-link-card p { font-size: 14px; color: #6f6452; line-height: 1.9; flex: 1; }
.supporter-link-card .btn-apply { padding: 13px 34px; font-size: 15px; }

/* ---------- 限定ページ・申し込みフォーム ---------- */
.members-box {
  max-width: 640px;
  margin: 0 auto;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(12px);
  padding: 34px 30px;
}
.members-box p { margin-bottom: 12px; line-height: 1.9; }
.members-lead { font-family: var(--serif-ja); font-size: 20px; font-weight: 600; color: var(--brown-dark); }
.members-form { max-width: 360px; margin: 20px auto 8px; display: flex; flex-direction: column; gap: 10px; }
.members-form label { font-size: 14px; color: var(--brown); }
.members-form .btn-apply { margin-top: 8px; border: none; cursor: pointer; font-family: inherit; }
.members-box input[type="text"], .members-box input[type="email"], .members-box input[type="tel"],
.members-box input[type="password"], .members-box select, .members-box textarea {
  width: 100%;
  font: inherit;
  font-size: 16px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px 14px;
}
.members-box input:focus, .members-box select:focus, .members-box textarea:focus { outline: 2px solid rgba(74, 143, 60, 0.4); border-color: var(--green); }
.members-box textarea { resize: vertical; line-height: 1.8; }
.form-error { background: #fbeeea; border: 1px solid #e8bfb5; color: #a5402c; border-radius: 10px; padding: 10px 14px; font-size: 14px; margin: 12px 0; }
.apply-lead { margin-bottom: 26px; font-size: 15px; }
.apply-form .form-row { margin-bottom: 20px; }
.apply-form .form-row label { display: block; font-size: 14px; font-weight: 500; color: var(--brown-dark); margin-bottom: 6px; }
.apply-form .req, .apply-form .opt { display: inline-block; font-size: 11px; font-weight: 700; border-radius: 4px; padding: 1px 7px; margin-left: 6px; vertical-align: 1px; }
.apply-form .req { background: var(--green-dark); color: #fff; }
.apply-form .opt { background: #ece5d8; color: #6f6452; }
.apply-form .hint { font-size: 12px; color: #8a7d6a; margin: 6px 0 0; }
.apply-form .field-error { color: #a5402c; font-size: 13px; margin: 6px 0 0; }
.apply-form .has-error input, .apply-form .has-error select, .apply-form .has-error textarea { border-color: #d48a78; background: #fff8f6; }
.apply-form .btn-apply { border: none; cursor: pointer; font-family: inherit; margin-top: 6px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.report-photo-badge { display: inline-block; margin-left: 8px; font-size: 11px; color: var(--green-dark); border: 1px solid rgba(74, 143, 60, 0.45); border-radius: 999px; padding: 0 8px; vertical-align: 2px; }
.members-logout { text-align: center; padding: 0 28px 50px; }
.link-logout { background: none; border: none; color: #8a7d6a; font: inherit; font-size: 13px; text-decoration: underline; cursor: pointer; }
.link-logout:hover { color: var(--brown-dark); }
@media (max-width: 600px) {
  .members-box { padding: 26px 18px; }
  .supporter-link-card { padding: 26px 18px; }
}

/* ---------- ギャラリー ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}
.gallery-item {
  display: block;
  padding: 0;
  border: none;
  background: none;
  cursor: zoom-in;
  border-radius: 16px;
  overflow: hidden;
  background: var(--photo-placeholder);
  box-shadow: var(--glass-shadow);
}
.gallery-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.4s;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-empty { text-align: center; color: #8a7d6a; }

body.lightbox-open { overflow: hidden; }
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(30, 24, 18, 0.82);
  backdrop-filter: blur(10px);
  padding: 56px 64px;
}
.lightbox[hidden] { display: none; }
.lightbox-figure { margin: 0; text-align: center; max-width: 100%; }
.lightbox-figure img {
  max-width: 100%;
  max-height: calc(100vh - 150px);
  margin: 0 auto;
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}
.lightbox-figure figcaption { color: #f2ead9; font-size: 14px; margin-top: 12px; min-height: 1.5em; }
.lightbox-count { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); color: rgba(255, 255, 255, 0.75); font-size: 13px; letter-spacing: 0.1em; }
.lightbox-close, .lightbox-nav {
  position: absolute;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0 4px;
}
.lightbox-close:hover, .lightbox-nav:hover { background: rgba(255, 255, 255, 0.3); }
.lightbox.single .lightbox-nav { display: none; }
.lightbox-close { top: 10px; right: 12px; }
.lightbox-nav { top: 50%; transform: translateY(-50%); }
.lightbox-nav.prev { left: 10px; }
.lightbox-nav.next { right: 10px; }

@media (max-width: 880px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .gallery-item { border-radius: 10px; }
  .lightbox { padding: 56px 10px 70px; }
  .lightbox-nav { top: auto; bottom: 14px; transform: none; }
  .lightbox-nav.prev { left: calc(50% - 60px); }
  .lightbox-nav.next { right: calc(50% - 60px); }
}
@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- フッター ---------- */
.site-footer { background: var(--brown-dark); color: #d9cfc0; padding: 44px 28px 30px; margin-top: 40px; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 6px; margin: 20px auto 6px; max-width: 760px; }
.footer-nav a {
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: 0.12em;
  color: #f2ead9;
  padding: 8px 12px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.footer-nav a:hover, .footer-nav a.active { border-bottom-color: var(--lime); }
.footer-inner { max-width: 1080px; margin: 0 auto; text-align: center; }
.footer-name { font-family: var(--serif); font-size: 24px; color: #f2ead9; letter-spacing: 0.06em; }
.footer-name span { font-size: 15px; opacity: 0.8; margin-left: 8px; }
.footer-sns { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; max-width: 520px; margin: 10px auto 14px; padding-top: 10px; border-top: 1px solid rgba(217, 207, 192, 0.2); }
.footer-sns:empty { display: none; }
.footer-sns a { padding: 6px 4px; font-family: var(--serif); font-size: 14px; letter-spacing: 0.1em; border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.footer-sns a:hover { border-bottom-color: #d9cfc0; }
.copyright { font-size: 12px; opacity: 0.65; letter-spacing: 0.08em; margin-top: 8px; }

/* ---------- レスポンシブ ---------- */
@media (max-width: 880px) {
  /* backdrop-filterがあると子のposition:fixedがヘッダー基準になり全画面メニューが崩れるため、スマホでは不透明背景にする */
  .site-header { backdrop-filter: none; background: var(--header-bg); }
  body.nav-open { overflow: hidden; }
  .nav-toggle {
    display: block;
    background: none;
    border: none;
    width: 40px;
    height: 34px;
    position: relative;
    cursor: pointer;
    z-index: 210;
  }
  .nav-toggle span {
    position: absolute;
    left: 8px;
    right: 8px;
    height: 2px;
    background: var(--brown);
    transition: all 0.3s;
  }
  .nav-toggle span:nth-child(1) { top: 9px; }
  .nav-toggle span:nth-child(2) { top: 16px; }
  .nav-toggle span:nth-child(3) { top: 23px; }
  body.nav-open .nav-toggle span:nth-child(1) { top: 16px; transform: rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { top: 16px; transform: rotate(-45deg); }
  /* 上から降りてくる白い角丸カード型メニュー */
  .site-nav {
    position: fixed;
    top: 8px;
    left: 8px;
    right: 8px;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(20px) saturate(1.6);
    border: 1px solid var(--glass-border);
    border-radius: 18px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.16);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 6px 12px 18px;
    transform: translateY(calc(-100% - 30px));
    transition: transform 0.35s;
    z-index: 200;
  }
  body.nav-open .site-nav { transform: translateY(0); }
  /* 暗幕はヘッダー(z-index:100)より下に置く。上に置くとメニューのタップを吸ってしまう */
  body.nav-open::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(40, 32, 22, 0.32);
    z-index: 90;
  }
  .site-nav > a {
    flex-direction: row;
    align-items: baseline;
    gap: 12px;
    padding: 15px 10px;
    border-bottom: 1px solid var(--line);
  }
  .site-nav > a:hover, .site-nav > a.active { border-bottom-color: var(--line); }
  .site-nav > a.active .nav-en { color: var(--green-dark); }
  .nav-en { font-size: 17px; }
  .nav-ja { font-size: 12px; }
  .nav-sns { margin: 18px 0 0; gap: 26px; justify-content: flex-start; padding: 0 10px; }
  .hero { grid-template-columns: 1fr; padding-top: 24px; }
  .hero-text { order: 2; }
  .section { padding: 52px 20px; }
  /* スマホでも写真の横に見出し・ボタンを並べる(左右交互の配置も維持) */
  .banner-card { grid-template-columns: 1fr 1fr; gap: 14px; }
  .cards-section .container { gap: 40px; }
  .banner-title { margin-bottom: 16px; }
  .banner-title .ja { font-size: 17px; }
  .banner-title .en { font-size: 14px; margin-top: 6px; }
  .def-list > div { grid-template-columns: 120px 1fr; font-size: 15px; }
  .news-list a { gap: 14px; flex-direction: column; padding: 14px 4px; }
  .news-list a { gap: 4px; }
  .results-list li { flex-direction: column; gap: 0; }
  /* スマホでは写真の比率(約3:2)のまま横幅いっぱいに出し、画面高の4割程度に収める */
  .page-hero { height: auto; aspect-ratio: 3 / 2; max-height: 40vh; min-height: 180px; }
  /* スマホでは写真1枚だけを枠いっぱいに表示する(ぼかし背景は出さない) */
  .page-hero-bg { display: none; }
  .page-hero img { object-fit: cover; object-position: center; }
  .banner-body .btn-more { min-height: 46px; min-width: 0; width: 100%; max-width: 200px; padding: 11px 14px; font-size: 13px; letter-spacing: 0.12em; gap: 6px; }
  .slider-btn { width: 48px; height: 48px; }
  .slider-btn.prev { left: -6px; }
  .slider-btn.next { right: -6px; }
  .footer-nav a { font-size: 13px; padding: 8px 9px; }
}

/* ---------- 比較表(スマホ) ---------- */
@media (max-width: 600px) {
  .plan-table { width: max-content; min-width: 100%; }
  .plan-table th, .plan-table td { padding: 10px 8px; font-size: 13px; }
  .plan-table thead th { padding: 12px 8px; }
  .plan-table td { min-width: 84px; }
  .plan-table .plan-name { font-size: 15px; }
  .plan-table .plan-price { font-size: 12px; }
  .plan-table .ok { font-size: 18px; }
  .plan-link { padding: 7px 12px; font-size: 12px; }
  /* 項目名の列は横スクロールしても固定して、どの行か分かるようにする */
  .plan-table .feature-col, .plan-table .feature {
    position: sticky;
    left: 0;
    z-index: 1;
    min-width: 0;
    width: 7.5em;
    max-width: 7.5em;
    text-align: left;
    background: #fbf9f5;
    box-shadow: 1px 0 0 var(--line), 4px 0 8px -4px rgba(90, 70, 50, 0.18);
  }
}
