@charset "UTF-8";
/* =========================================================
   大機院 DAIKIIN ｜ style.css
   東福寺塔頭 大機院 公式サイト ― 共通スタイルシート
   全5ページ（ホーム／大機院について／境内・墓地のご案内／
   アクセス／お問い合わせ）共通で読み込みます。
   ========================================================= */

/* ---------- 1. Variables（カラー・フォント・レイアウト） ---------- */
:root {
  /* color ― 苔・御影石・墨・生成り */
  --bg:         #f5f2ea; /* 生成り色（基本背景）       */
  --bg-deep:    #ece6d8; /* 生成り色（やや濃いめの背景）*/
  --ink:        #2c2a26; /* 墨色（基本の文字）         */
  --ink-soft:   #3a342a; /* 墨色（本文・濃いめ）       */
  --green:      #3c4a3e; /* 深い緑（苔・木々）         */
  --green-deep: #28312a; /* 深い緑（濃いめ・フッター） */
  --stone:      #928b7e; /* 御影石グレー               */
  --stone-light:#cdc6b8; /* 石畳グレー（淡）           */
  --line:       rgba(44, 42, 38, .16);
  --white:      #fbfaf6;

  /* font ― 上品な明朝体 */
  --font-jp: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN",
             "Hiragino Mincho Pro", "Noto Serif JP", "Songti SC", serif;
  --font-en: "Cormorant Garamond", "Times New Roman", serif;

  /* layout */
  --header-h: 9rem;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 2. Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 62.5%; /* 1rem = 10px */
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-jp);
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 2;
  letter-spacing: .08em;
  color: var(--ink);
  background: var(--bg);
  font-feature-settings: "palt";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, video, svg { display: block; max-width: 100%; height: auto; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; transition: color .3s var(--ease), opacity .3s var(--ease); }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
address { font-style: normal; }
h1, h2, h3 { font-weight: 500; line-height: 1.7; }
::selection { background: var(--green); color: var(--white); }

/* ---------- 3. Layout utilities ---------- */
.l-inner { width: min(100% - 12rem, 116rem); margin-inline: auto; }
/* 固定動画の上をスクロールで覆うため、各セクションは不透明な背景＋上のレイヤーに */
.section {
  position: relative;
  z-index: 2;
  padding: 15rem 0;
  background: var(--bg);
}
.section--deep { background: var(--bg-deep); }
[id] { scroll-margin-top: var(--header-h); }
/* 視覚的に非表示（スクリーンリーダー・SEO 用）*/
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- 4. Section label（見出しの共通パーツ） ---------- */
.section-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
  margin-bottom: 6rem;
  text-align: center;
}
.section-label__en {
  font-family: var(--font-en);
  font-size: 1.4rem;
  letter-spacing: .42em;
  text-transform: uppercase;
  color: var(--stone);
}
.section-label__ja {
  position: relative;
  font-size: 2.8rem;
  letter-spacing: .18em;
  color: var(--ink);
  padding-top: 2.6rem;
}
.section-label__ja::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 1px; height: 1.6rem;
  background: var(--stone);
}

/* ---------- 5. Buttons & Links ---------- */
.btn {
  display: inline-block;
  padding: 1.8rem 5.4rem;
  font-size: 1.5rem;
  letter-spacing: .2em;
  color: var(--green-deep);
  border: 1px solid var(--green);
  position: relative;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .45s var(--ease);
}
.btn:hover { color: var(--white); }
.btn:hover::before { transform: scaleX(1); transform-origin: left; }

.text-link {
  display: inline-block;
  font-size: 1.5rem;
  letter-spacing: .18em;
  color: var(--green-deep);
  padding-bottom: .4rem;
  border-bottom: 1px solid var(--line);
}
.text-link:hover { color: var(--green); border-color: var(--green); }

/* ---------- 6. Header / Navigation ---------- */
.header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 1000;
  transition: background .45s var(--ease), box-shadow .45s var(--ease);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  width: min(100% - 8rem, 140rem);
  margin-inline: auto;
  transition: height .45s var(--ease);
}

.logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1.4rem;
  color: var(--white);
}
/* ロゴマーク（九条藤家紋）：背景透過PNG。
   動画上は白く、スクロール後は黒で表示するため filter で反転 */
.logo__crest {
  width: 4.6rem;
  height: 4.6rem;
  flex-shrink: 0;
  display: block;
  filter: invert(1);
  transition: filter .4s var(--ease), width .4s var(--ease), height .4s var(--ease);
}
.header.is-scrolled .logo__crest {
  filter: invert(0);
  width: 4rem;
  height: 4rem;
}
.logo__body { display: flex; flex-direction: column; gap: .5rem; line-height: 1.1; }
.logo__sub { font-size: 1.15rem; letter-spacing: .28em; padding-left: .15em; }
.logo__main { display: flex; align-items: baseline; gap: 1rem; }
.logo__name { font-size: 2.5rem; letter-spacing: .22em; font-weight: 500; }
.logo__en {
  font-family: var(--font-en);
  font-size: 1.3rem;
  letter-spacing: .34em;
  text-transform: uppercase;
}

.nav__list { display: flex; gap: 3.6rem; align-items: center; }
.nav__link {
  position: relative;
  font-size: 1.45rem;
  letter-spacing: .14em;
  color: var(--white);
  padding-bottom: .6rem;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .4s var(--ease);
}
.nav__link:hover::after,
.nav__link.is-current::after { transform: scaleX(1); transform-origin: left; }

/* お問い合わせ：横長のくすみレッド系ボタン
   ・縦幅はヘッダーと同じ高さ（var(--header-h)）
   ・横幅は余裕をもって広く、フォントは他メニューより気持ち大きく
   ・テキストは他メニューと縦位置を揃える（nav__list の align-items: center） */
.nav__link--contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: var(--header-h);
  padding: 0 2.6rem;
  background: #cc3300;
  color: var(--white);
  font-size: 1.6rem;
  letter-spacing: .1em;
  line-height: 1.3;
  white-space: nowrap;
  transition: opacity .35s var(--ease), height .45s var(--ease);
}
.nav__link--contact::after { display: none; }
/* ホバーは全体的に薄くなる */
.nav__link--contact:hover { opacity: .7; }

/* スクロール時：ヘッダー7remに合わせてボタンも縮小、フォントカラーは白を維持 */
.header.is-scrolled .nav__link--contact { height: 7rem; }
.header.is-scrolled .nav__link.nav__link--contact { color: var(--white); }

/* スクロール後のヘッダー（背景を生成り色に） */
.header.is-scrolled { background: var(--bg); box-shadow: 0 1px 24px rgba(44, 42, 38, .08); }
.header.is-scrolled .header__inner { height: 7rem; }
.header.is-scrolled .logo,
.header.is-scrolled .nav__link { color: var(--ink); }

/* ハンバーガーボタン（スマホ用・初期は非表示） */
.nav-toggle { display: none; width: 4rem; height: 4rem; position: relative; z-index: 1100; }
.nav-toggle span {
  position: absolute;
  left: .6rem;
  width: 2.8rem; height: 1px;
  background: var(--white);
  transition: transform .4s var(--ease), opacity .3s var(--ease), background .45s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 1.3rem; }
.nav-toggle span:nth-child(2) { top: 2rem; }
.nav-toggle span:nth-child(3) { top: 2.7rem; }
.header.is-scrolled .nav-toggle span { background: var(--ink); }

/* ---------- 7. Hero（ファーストビュー：ビデオ背景） ---------- */
/* ファーストビュー：動画はビューポートに固定し、続くセクションがその上をスクロール */
.hero {
  position: relative;
  z-index: 1;
  height: 100svh;
  min-height: 58rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  background: var(--green-deep);
  z-index: 0;
}
.hero__inner {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: 0 2.4rem;
}
.hero__sub {
  font-size: 1.5rem;
  letter-spacing: .4em;
  margin-bottom: 3.4rem;
  opacity: .9;
}
.hero__copy {
  font-size: clamp(2.8rem, 4.6vw, 4.8rem);
  font-weight: 400;
  line-height: 2.05;
  letter-spacing: .16em;
  text-shadow: 0 2px 30px rgba(0, 0, 0, .45);
}
.hero__copy span { display: block; }

/* スクロール誘導 */
.hero__scroll {
  position: absolute;
  left: 50%; bottom: 3.6rem;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  color: var(--white);
}
.hero__scroll-text {
  font-family: var(--font-en);
  font-size: 1.1rem;
  letter-spacing: .3em;
  text-transform: uppercase;
}
.hero__scroll-line {
  width: 1px; height: 6rem;
  background: rgba(251, 250, 246, .45);
  position: relative;
  overflow: hidden;
}
.hero__scroll-line::after {
  content: "";
  position: absolute;
  top: -6rem; left: 0;
  width: 1px; height: 6rem;
  background: var(--white);
  animation: scrollFlow 2.4s var(--ease) infinite;
}
@keyframes scrollFlow {
  0%   { transform: translateY(0); }
  100% { transform: translateY(12rem); }
}

/* ---------- 8. Introduction（イントロダクション） ---------- */
.concept {
  position: relative;
  overflow: hidden;
  text-align: center;
  background-color: var(--bg);
}
/* 背景写真（パララックス用に上下を大きめに確保して動かす） */
.concept__bg {
  position: absolute;
  left: 0;
  right: 0;
  top: -20%;
  bottom: -20%;
  z-index: 0;
  background-image: url("../images/back.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  will-change: transform;
}
/* 下→上に白くフェードするグラデーション（写真の上に重ねる）
   ※ 背景写真をより見せるため透明化を軽くしてあります */
.concept::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to top,
    var(--bg) 0%,
    var(--bg) 30%,
    rgba(245, 242, 234, .85) 50%,
    rgba(245, 242, 234, .55) 75%,
    rgba(245, 242, 234, .12) 100%);
}
.concept > .l-inner { position: relative; z-index: 2; }
.concept__body { max-width: 76rem; margin-inline: auto; }
.concept__lead {
  font-size: clamp(2rem, 2.6vw, 2.8rem);
  letter-spacing: .14em;
  color: var(--green);
  line-height: 1.9;
  margin-bottom: 3.6rem;
}
.concept__text {
  font-size: 2rem;
  line-height: 2.2;
  color: var(--ink-soft);
}
.concept__text + .concept__text { margin-top: 2.4rem; }

/* 余白の装飾（七宝模様の隅飾り）― kinsyoji.jp参考 */
.concept__deco {
  position: absolute;
  z-index: 2;
  width: 14rem;
  height: 14rem;
  bottom: 3rem;
  background-image: url("../images/pattern-shippo.svg");
  background-size: 56px 56px;
  background-repeat: repeat;
  opacity: .38;
  pointer-events: none;
}
.concept__deco--bl { left: 3rem; }
.concept__deco--br { right: 3rem; }

/* 縦書きリンク「大機院について」― kinsyoji.jp参考 */
.vertical-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 1.8rem;
  margin-top: 7rem;
  color: var(--ink);
}
.vertical-link__en {
  font-family: var(--font-en);
  font-size: 1.2rem;
  letter-spacing: .42em;
  text-transform: uppercase;
  color: var(--stone);
}
.vertical-link__ja {
  writing-mode: vertical-rl;
  font-size: 2.4rem;
  letter-spacing: .3em;
  padding: .6rem 0;
  color: var(--ink);
  transition: color .3s var(--ease);
}
.vertical-link__line {
  display: block;
  width: 1px;
  height: 5rem;
  background: var(--ink);
  transition: height .4s var(--ease), background .3s var(--ease);
}
.vertical-link:hover .vertical-link__ja { color: var(--green); }
.vertical-link:hover .vertical-link__line { height: 7rem; background: var(--green); }

/* aboutプレビュー（縦書きリンク＋詳しく見るボタン＋写真）
   ※ l-inner の外に配置し、写真をビューポート右端まで伸ばす */
.about-preview {
  display: grid;
  grid-template-columns: 2fr 3fr;
  align-items: center;
  gap: 0;
  margin-top: 8rem;
  position: relative;
  z-index: 2;
}
/* 紅葉のあしらい（散る落ち葉）― 縦書き「大機院について」の脇にさりげなく */
.about-preview__deco {
  position: absolute;
  top: -2rem;
  left: 3%;
  width: clamp(11rem, 14vw, 18rem);
  aspect-ratio: 3 / 4;
  background: url("../images/maple-falling.png") center / contain no-repeat;
  opacity: .55;
  pointer-events: none;
  z-index: 0;
}
.about-preview__link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2.4rem;
  color: var(--ink);
  text-decoration: none;
  justify-self: center;
  padding: 0 3rem;
  position: relative;
  z-index: 1;
}
.about-preview__image { position: relative; z-index: 1; }
.about-preview__link .vertical-link__ja {
  color: var(--ink);
  transition: color .3s var(--ease);
}
.about-preview__link:hover .vertical-link__ja { color: var(--green); }

/* 「詳しく見る」ボタン */
.more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 3rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 1.3rem;
  letter-spacing: .22em;
  background: transparent;
  color: var(--ink);
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.about-preview__link:hover .more-btn {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
}

.about-preview__image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--stone-light);
}
.about-preview__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
}
.about-preview__img--alt { opacity: 0; }

/* デスクトップ：ホバーで山門→枯山水へクロスフェード */
@media (hover: hover) {
  .about-preview:hover .about-preview__img--main { opacity: 0; }
  .about-preview:hover .about-preview__img--alt { opacity: 1; }
  .about-preview:hover .about-preview__img { transform: scale(1.04); }
}
/* スマホ：約3秒ごとに自動でクロスフェード */
@media (max-width: 768px) {
  .about-preview__img--main {
    animation: aboutPhotoSwap 7s ease-in-out infinite;
  }
  .about-preview__img--alt {
    animation: aboutPhotoSwap 7s ease-in-out infinite;
    animation-delay: -3.5s;
  }
}
@keyframes aboutPhotoSwap {
  0%, 38% { opacity: 1; }
  50%, 88% { opacity: 0; }
  100% { opacity: 1; }
}

/* ---------- 9. Feature / Gallery（特徴・ギャラリー動線） ---------- */
/* 特徴セクション（四季と祈りの風景）：紅葉の枝のあしらい */
.feature { overflow: hidden; }
.feature__deco {
  position: absolute;
  top: 4rem;
  right: -3rem;
  width: clamp(20rem, 28vw, 36rem);
  aspect-ratio: 4 / 3;
  background: url("../images/maple-branch.png") center / contain no-repeat;
  opacity: .5;
  pointer-events: none;
  z-index: 0;
}
.feature > .l-inner { position: relative; z-index: 1; }

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4.4rem 3.6rem;
}
.gallery__item { position: relative; }
/* 写真の背面から少しはみ出すスクエアのアクセント */
.gallery__item::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: -1.8rem;
  left: -1.8rem;
  width: 46%;
  aspect-ratio: 1 / 1;
  background: var(--green);
}
.gallery__frame {
  position: relative;
  z-index: 1;
  overflow: hidden;
  background: var(--stone-light);
  aspect-ratio: 3 / 4;
}
.gallery__img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}
.gallery__item:hover .gallery__img { transform: scale(1.06); }
/* 写真の明るさ補正（暗い写真をWeb表示で明るく）。数値は写真ごとに微調整可 */
.gallery__item:nth-child(1) .gallery__img { filter: brightness(1.05) contrast(1.07) saturate(1.10); }
.gallery__item:nth-child(2) .gallery__img { filter: brightness(1.07) contrast(1.04) saturate(1.06); }
.gallery__item:nth-child(3) .gallery__img { filter: brightness(1.20) contrast(1.05) saturate(1.12); }
.gallery__title {
  font-size: 2rem;
  letter-spacing: .14em;
  margin: 2.8rem 0 1.2rem;
}
.gallery__desc {
  font-size: 1.65rem;
  line-height: 2.1;
  color: var(--ink-soft);
}
.feature__action { text-align: center; margin-top: 7rem; }

/* ---------- 10. News（お知らせ） ---------- */
/* 和風の金雲＋青海波の背景（962444.png） */
.news {
  position: relative;
  overflow: hidden;
}
.news::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/962444.png") center / cover no-repeat;
  opacity: .7;
  pointer-events: none;
  z-index: 0;
}
.news > .l-inner {
  position: relative;
  z-index: 1;
}

.news-list {
  border-top: 1px solid var(--line);
  max-width: 88rem;
  margin-inline: auto;
  background: rgba(245, 242, 234, .75);
  backdrop-filter: blur(1px);
}
.news-item { border-bottom: 1px solid var(--line); }
.news-item__link {
  display: flex;
  align-items: center;
  gap: 2.8rem;
  padding: 2.8rem .8rem;
  flex-wrap: wrap;
}
.news-item__link:hover { background: rgba(60, 74, 62, .04); }
.news-item__link:hover .news-item__title { color: var(--green); }
.news-item__date {
  font-family: var(--font-en);
  font-size: 1.5rem;
  letter-spacing: .1em;
  color: var(--stone);
}
.news-item__cat {
  font-size: 1.2rem;
  letter-spacing: .12em;
  color: var(--green);
  border: 1px solid var(--line);
  padding: .4rem 1.6rem;
  white-space: nowrap;
}
.news-item__title {
  font-size: 1.8rem;
  letter-spacing: .06em;
  flex: 1;
  min-width: 60%;
}
.news__action { text-align: center; margin-top: 5rem; }

/* ---------- 11. Footer ---------- */
.footer {
  position: relative;
  z-index: 2;
  background: var(--green-deep);
  color: var(--bg);
  padding: 0 0 4rem;
}

/* アクセス情報（縦書き「アクセス」＋ 住所情報｜Googleマップ）
   ※ l-inner の外に配置し、マップをビューポート右端まで伸ばす */
.footer__access {
  padding: 7rem 0 5rem;
  border-bottom: 1px solid rgba(245, 242, 234, .14);
}
.footer__access-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: center;
}
.footer__access-info {
  display: flex;
  align-items: stretch;
  gap: 2.8rem;
  justify-content: center;
}
.footer__access-label {
  writing-mode: vertical-rl;
  font-size: 2rem;
  letter-spacing: .45em;
  color: var(--bg);
  padding: .6rem 1rem .6rem 0;
  border-right: 1px solid rgba(245, 242, 234, .22);
  align-self: stretch;
}
.footer__access-text {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  text-align: left;
  justify-content: center;
}
.footer__access-name {
  font-size: 1.55rem;
  letter-spacing: .12em;
  color: var(--bg);
}
.footer__addr {
  font-size: 1.45rem;
  line-height: 2.1;
  color: rgba(245, 242, 234, .9);
}
.footer__contact {
  display: grid;
  gap: 1rem;
  font-size: 1.45rem;
  color: rgba(245, 242, 234, .9);
}
.footer__contact-row {
  display: flex;
  align-items: baseline;
  gap: 1.4rem;
}
.footer__contact dt {
  font-family: var(--font-en);
  font-size: 1.1rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--stone-light);
  min-width: 6rem;
}
.footer__contact dd { letter-spacing: .08em; }
.footer__contact a { transition: color .3s var(--ease); }
.footer__contact a:hover { color: var(--white); }
.footer__map {
  background: rgba(245, 242, 234, .06);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  min-height: 24rem;
}
.footer__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: grayscale(.25);
}

/* フッター下部（横並びナビ＋コピーライト） */
.footer__bottom {
  padding: 4rem 0 0;
  text-align: center;
}
.footer__bottom .footer__nav { margin-bottom: 2.2rem; }
.footer__nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .8rem 0;
}
.footer__nav li {
  padding: 0 1.8rem;
  font-size: 1.4rem;
  letter-spacing: .12em;
  border-right: 1px solid rgba(245, 242, 234, .25);
  line-height: 1.5;
}
.footer__nav li:last-child { border-right: 0; }
.footer__nav a {
  color: rgba(245, 242, 234, .88);
  transition: color .3s var(--ease);
}
.footer__nav a:hover { color: var(--white); }
.footer__copy {
  font-family: var(--font-en);
  font-size: 1.2rem;
  letter-spacing: .18em;
  color: rgba(245, 242, 234, .5);
}

/* ---------- 12. Scroll animation（フェードイン） ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(3rem);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
}
.fade-up.is-visible { opacity: 1; transform: translateY(0); }
.gallery__item:nth-child(2) { transition-delay: .15s; }
.gallery__item:nth-child(3) { transition-delay: .30s; }

/* ---------- 13. Responsive ---------- */
@media (max-width: 1080px) {
  .l-inner { width: min(100% - 8rem, 116rem); }
  .gallery { gap: 3.4rem 2.8rem; }
}

@media (max-width: 900px) {
  .header__inner { width: min(100% - 4.8rem, 140rem); }
  .section { padding: 11rem 0; }

  /* ハンバーガー表示 */
  .nav-toggle { display: block; }

  /* ナビをフルスクリーンのオーバーレイに */
  .nav {
    position: fixed;
    inset: 0;
    background: var(--green-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s var(--ease), visibility .5s var(--ease);
  }
  .nav.is-open { opacity: 1; visibility: visible; }
  .nav__list { flex-direction: column; gap: 3.4rem; text-align: center; }
  .nav__link { color: var(--bg); font-size: 1.8rem; }
  /* オーバーレイ上ではお問い合わせの四角は不要 */
  .nav__link--contact,
  .header.is-scrolled .nav__link--contact {
    width: auto;
    height: auto;
    background: transparent;
    color: var(--bg);
    padding: 0;
    font-size: 1.8rem;
    white-space: normal;
  }
  .nav__link--contact::after,
  .header.is-scrolled .nav__link--contact::after { display: block; }

  /* ハンバーガー → ×印 */
  .nav-toggle.is-active span { background: var(--white); }
  .nav-toggle.is-active span:nth-child(1) { transform: translateY(.7rem) rotate(45deg); }
  .nav-toggle.is-active span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-active span:nth-child(3) { transform: translateY(-.7rem) rotate(-45deg); }
}

@media (max-width: 768px) {
  :root { --header-h: 7rem; }
  .l-inner { width: min(100% - 4.8rem, 116rem); }
  .section { padding: 9rem 0; }
  .section-label { margin-bottom: 4.4rem; }
  .section-label__ja { font-size: 2.3rem; }

  .concept__deco { width: 8.5rem; height: 8.5rem; bottom: 2rem; background-size: 44px 44px; }
  .concept__deco--bl { left: 1.6rem; }
  .concept__deco--br { right: 1.6rem; }
  .vertical-link { margin-top: 5rem; }
  .vertical-link__ja { font-size: 2rem; }

  /* aboutプレビューを縦並びに */
  .about-preview { grid-template-columns: 1fr; gap: 3.4rem; margin-top: 5.4rem; }
  .about-preview__link { margin: 0 auto; padding: 0 2.4rem; }
  /* 紅葉のあしらいをコンパクトに */
  .about-preview__deco { width: 9rem; left: 4%; top: -1rem; opacity: .45; }
  .feature__deco { width: 16rem; right: -2rem; top: 1.5rem; opacity: .45; }

  .gallery { grid-template-columns: 1fr; gap: 5rem; }
  .gallery__frame { aspect-ratio: 4 / 3; }

  .news-item__link { gap: 1rem 2rem; padding: 2.4rem .4rem; }
  .news-item__title { min-width: 100%; order: 3; }

  .footer { padding: 0 0 3rem; }
  .footer__access { padding: 5.4rem 0 4rem; }
  .footer__access-body { grid-template-columns: 1fr; gap: 3rem; }
  .footer__access-info { gap: 2rem; }
  .footer__access-text { gap: 1.2rem; }
  .footer__access-label { font-size: 1.7rem; letter-spacing: .35em; padding: .4rem .6rem .4rem 0; }
  .footer__map { aspect-ratio: 16 / 10; min-height: 20rem; }
  .footer__bottom { padding: 3rem 0 0; }
  .footer__nav li { padding: 0 1.2rem; font-size: 1.3rem; }
}

@media (max-width: 480px) {
  .logo { gap: 1rem; }
  .logo__crest { width: 3.6rem; height: 3.6rem; }
  .header.is-scrolled .logo__crest { width: 3.2rem; height: 3.2rem; }
  .logo__sub { font-size: 1.05rem; letter-spacing: .22em; }
  .logo__name { font-size: 2.1rem; }
  .btn { padding: 1.6rem 4rem; }
}

/* =========================================================
   下層ページ共通スタイル（ページヒーロー・パンくず）
   ========================================================= */

/* ---------- 15. Page Hero（下層ページのファーストビュー） ---------- */
.page-hero {
  position: relative;
  z-index: 2;
  height: 60vh;
  min-height: 42rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green-deep);
}
.page-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.page-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg,
    rgba(20, 24, 19, .55) 0%,
    rgba(20, 24, 19, .35) 45%,
    rgba(20, 24, 19, .55) 100%);
}
.page-hero__inner {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: 0 2rem;
}
.page-hero__label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.6rem;
}
.page-hero__en {
  font-family: var(--font-en);
  font-size: 1.5rem;
  letter-spacing: .42em;
  text-transform: uppercase;
  opacity: .92;
}
.page-hero__ja {
  font-size: clamp(2.8rem, 4.4vw, 4.4rem);
  letter-spacing: .22em;
  font-weight: 400;
  line-height: 1.5;
  padding-top: 2rem;
  position: relative;
}
.page-hero__ja::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 1.4rem;
  background: rgba(255, 255, 255, .55);
}

/* パンくずリスト */
.breadcrumb {
  position: absolute;
  bottom: 2.4rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: rgba(255, 255, 255, .8);
  font-size: 1.25rem;
  letter-spacing: .12em;
}
.breadcrumb ol { display: flex; gap: 0; align-items: center; flex-wrap: wrap; justify-content: center; }
.breadcrumb li:not(:last-child)::after {
  content: "／";
  padding: 0 1rem;
  opacity: .5;
}
.breadcrumb a { transition: color .3s var(--ease); }
.breadcrumb a:hover { color: var(--white); }

/* =========================================================
   大機院について（about.html）専用スタイル
   ========================================================= */

/* ---------- 16. About : イントロダクション ---------- */
.about-intro { text-align: center; }
.about-intro__lead {
  font-size: clamp(2.2rem, 2.8vw, 3rem);
  letter-spacing: .16em;
  line-height: 1.9;
  color: var(--green);
  margin: 0 auto 4rem;
  font-weight: 400;
}
.about-intro__text {
  max-width: 76rem;
  margin: 0 auto;
  font-size: 1.7rem;
  line-height: 2.4;
  color: var(--ink-soft);
  text-align: center;
}

/* ---------- 17. About : ヒストリー（画像＋テキスト） ---------- */
.about-story__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
  max-width: 108rem;
  margin: 0 auto;
}
.about-story__grid--reverse .about-story__image { order: 2; }
.about-story__image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--stone-light);
}
.about-story__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.4s var(--ease);
}
.about-story__grid:hover .about-story__image img { transform: scale(1.04); }
.about-story__eyebrow {
  font-family: var(--font-en);
  font-size: 1.25rem;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 1.6rem;
}
.about-story__title {
  font-size: clamp(2rem, 2.4vw, 2.6rem);
  letter-spacing: .14em;
  line-height: 1.75;
  color: var(--ink);
  margin-bottom: 2.8rem;
  font-weight: 500;
  position: relative;
  padding-bottom: 2rem;
}
.about-story__title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 4rem;
  height: 1px;
  background: var(--green);
}
.about-story__body p {
  font-size: 1.65rem;
  line-height: 2.3;
  color: var(--ink-soft);
  margin-bottom: 1.8rem;
}
.about-story__body p:last-child { margin-bottom: 0; }

/* ---------- 18. About : 大切にしていること（4カード） ---------- */
.values__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 96rem;
  margin: 0 auto;
}
.value-card {
  background: var(--bg);
  padding: 4.4rem 3.6rem;
  border: 1px solid var(--line);
  position: relative;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.value-card:hover {
  transform: translateY(-.4rem);
  box-shadow: 0 1.4rem 3rem rgba(44, 42, 38, .06);
}
.value-card__title {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  font-size: 2rem;
  letter-spacing: .16em;
  color: var(--green);
  margin-bottom: 2.2rem;
  padding-bottom: 1.8rem;
  border-bottom: 1px solid var(--line);
  font-weight: 500;
  line-height: 1.5;
}
/* 中見出しの文頭に お釋迦さん アイコン */
.value-card__title::before {
  content: "";
  display: block;
  width: 4.6rem;
  height: 4.6rem;
  background: url("../images/25734230.png") center / contain no-repeat;
  flex-shrink: 0;
}
.value-card__text {
  font-size: 1.5rem;
  line-height: 2.15;
  color: var(--ink-soft);
}

/* ---------- 19. About : 東福寺とのつながり ---------- */
.tofukuji__lead {
  text-align: center;
  font-size: clamp(1.9rem, 2.4vw, 2.4rem);
  letter-spacing: .16em;
  color: var(--green);
  margin-bottom: 5rem;
  font-weight: 400;
}
.tofukuji__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  max-width: 100rem;
  margin: 0 auto 6rem;
}
.tofukuji__body p {
  font-size: 1.6rem;
  line-height: 2.3;
  color: var(--ink-soft);
  margin-bottom: 1.6rem;
}
.tofukuji__body p:last-child { margin-bottom: 0; }
.tofukuji__image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--stone-light);
}
.tofukuji__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 塔頭のコールアウトボックス */
.callout {
  max-width: 76rem;
  margin: 0 auto;
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 3.6rem 4rem;
  position: relative;
}
.callout::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 3rem;
  height: 3rem;
  border-top: 2px solid var(--green);
  border-left: 2px solid var(--green);
}
.callout__title {
  font-size: 1.7rem;
  letter-spacing: .2em;
  color: var(--green);
  margin-bottom: 2rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--line);
  font-weight: 500;
}
.callout p {
  font-size: 1.5rem;
  line-height: 2.15;
  color: var(--ink-soft);
  margin-bottom: 1rem;
}
.callout p:last-child { margin-bottom: 0; }

/* ---------- 20. 下層ページのレスポンシブ ---------- */
@media (max-width: 900px) {
  .page-hero { height: 44vh; min-height: 30rem; }
  .about-story__grid,
  .about-story__grid--reverse,
  .tofukuji__grid {
    grid-template-columns: 1fr;
    gap: 3.4rem;
    max-width: 60rem;
  }
  .about-story__grid--reverse .about-story__image { order: initial; }
  .values__grid { grid-template-columns: 1fr; gap: 2.4rem; max-width: 60rem; }
}

@media (max-width: 768px) {
  .page-hero { height: 40vh; min-height: 26rem; }
  .breadcrumb { bottom: 1.6rem; font-size: 1.15rem; }
  .about-intro__lead { line-height: 2; }
  .value-card { padding: 3.4rem 2.8rem; }
  .callout { padding: 2.8rem 2.4rem; }
}

/* =========================================================
   アクセス（access.html）専用スタイル
   ========================================================= */

/* ---------- 21. Access : 冒頭イントロダクション ---------- */
.access-intro {
  padding: 12rem 0 3rem;
  text-align: center;
}
.access-intro + .section { padding-top: 6rem; }
.access-intro__text {
  max-width: 82rem;
  margin: 0 auto;
  font-size: 1.75rem;
  line-height: 2.4;
  color: var(--ink-soft);
  letter-spacing: .08em;
}
@media (max-width: 768px) {
  .access-intro { padding: 8rem 0 2rem; }
  .access-intro__text { font-size: 1.6rem; line-height: 2.2; }
}

/* ---------- 22. Access : 基本情報＋Googleマップ ---------- */
.access-overview .section-label { margin-bottom: 5rem; }
.access-info {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: stretch;
  max-width: 108rem;
  margin: 0 auto;
}
.access-info__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1rem 0;
}
.access-info__name {
  font-size: clamp(1.8rem, 2.2vw, 2.2rem);
  letter-spacing: .18em;
  color: var(--green);
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}
.access-info__dl {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  margin-bottom: 2.6rem;
}
.access-info__row {
  display: flex;
  gap: 2.4rem;
  font-size: 1.65rem;
  line-height: 2;
}
.access-info__row dt {
  font-size: 1.65rem;
  letter-spacing: .14em;
  color: var(--ink);
  min-width: 7.2rem;
  font-weight: 500;
}
.access-info__row dd {
  color: var(--ink-soft);
  letter-spacing: .06em;
}
.access-info__row dd a { transition: color .3s var(--ease); }
.access-info__row dd a:hover { color: var(--green); }
.access-info__link { margin-top: auto; }
.access-info__map {
  aspect-ratio: 4 / 3;
  min-height: 30rem;
  overflow: hidden;
  background: var(--stone-light);
}
.access-info__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: grayscale(.15);
}

/* ---------- 22. Access : ルート概要（電車・バス） ---------- */
.route-summary {
  max-width: 96rem;
  margin: 0 auto 6rem;
}
.route-summary__list {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}
.route-summary__list li {
  display: flex;
  align-items: baseline;
  gap: 2rem;
  padding: 2.4rem 3rem;
  background: var(--bg);
  border: 1px solid var(--line);
  flex-wrap: wrap;
}
.section--deep .route-summary__list li { background: var(--white); }
.route-summary__line {
  font-size: 1.65rem;
  letter-spacing: .12em;
  color: var(--ink);
  min-width: 8rem;
  font-weight: 500;
}
.route-summary__station {
  font-size: 1.85rem;
  letter-spacing: .14em;
  color: var(--ink);
  flex: 1;
}
.route-summary__walk {
  font-size: 1.65rem;
  letter-spacing: .08em;
  color: var(--ink-soft);
}
.route-summary__walk strong {
  color: var(--green);
  font-weight: 500;
  font-size: 1.85rem;
  padding: 0 .3em;
}

/* ---------- 23. Access : 道順ガイド（写真ステップ） ---------- */
.route-guide { max-width: 108rem; margin: 0 auto; }
.route-guide__title {
  text-align: center;
  font-size: clamp(1.9rem, 2.4vw, 2.4rem);
  letter-spacing: .16em;
  color: var(--green);
  margin-bottom: 4.4rem;
  padding-bottom: 2rem;
  position: relative;
  font-weight: 500;
}
.route-guide__title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4rem;
  height: 1px;
  background: var(--green);
}
.route-guide__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3.4rem 3rem;
  list-style: none;
  counter-reset: none;
}
.route-guide__step { margin: 0; }

/* 写真プレースホルダー（グレースケール） */
.access-photo {
  margin: 0;
  display: flex;
  flex-direction: column;
}
.access-photo__frame {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, #d3cec3 0%, #b8b3a6 50%, #d3cec3 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  filter: grayscale(100%);
}
.access-photo__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.access-photo__label {
  font-family: var(--font-en);
  font-size: 1.15rem;
  letter-spacing: .5em;
  text-transform: uppercase;
  color: rgba(60, 55, 45, .35);
  padding-left: .5em;
}
.access-photo figcaption {
  display: flex;
  align-items: baseline;
  gap: 1.4rem;
  padding-top: 1.6rem;
  font-size: 1.5rem;
  letter-spacing: .08em;
  color: var(--ink-soft);
  line-height: 1.7;
}
.access-photo__num {
  font-family: var(--font-en);
  font-size: 1.4rem;
  letter-spacing: .24em;
  color: var(--green);
  min-width: 2.5em;
  padding-top: .1em;
}

/* ---------- 24. Access : バスの経路表 ---------- */
.bus-table {
  max-width: 100rem;
  margin: 0 auto;
}
.bus-table__title {
  text-align: center;
  font-size: clamp(1.9rem, 2.4vw, 2.4rem);
  letter-spacing: .16em;
  color: var(--green);
  margin-bottom: 3.6rem;
  padding-bottom: 2rem;
  position: relative;
  font-weight: 500;
}
.bus-table__title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4rem;
  height: 1px;
  background: var(--green);
}
.bus-table__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.5rem;
}
.bus-table__table thead th {
  padding: 1.8rem 1.4rem;
  font-size: 1.6rem;
  letter-spacing: .12em;
  color: var(--ink);
  text-align: left;
  border-bottom: 2px solid var(--line);
  font-weight: 500;
}
.bus-table__table tbody th {
  padding: 2rem 1.4rem;
  font-size: 1.65rem;
  letter-spacing: .1em;
  color: var(--ink);
  text-align: left;
  font-weight: 500;
  min-width: 12rem;
}
.bus-table__table tbody td {
  padding: 2rem 1.4rem;
  font-size: 1.65rem;
  color: var(--ink-soft);
  letter-spacing: .06em;
}
.bus-table__table tbody tr { border-bottom: 1px solid var(--line); }
.bus-table__note {
  margin-top: 2.4rem;
  font-size: 1.55rem;
  letter-spacing: .06em;
  color: var(--ink-soft);
  text-align: center;
}

/* ---------- 25. Access : 車でのアクセス ---------- */
.access-car__body {
  max-width: 68rem;
  margin: 0 auto;
  text-align: center;
}
.access-car__body p {
  font-size: 1.7rem;
  line-height: 2.2;
  color: var(--ink-soft);
  margin-bottom: 2rem;
  letter-spacing: .06em;
}
.access-car__note {
  font-size: 1.4rem !important;
  color: var(--stone) !important;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  margin-top: 2rem !important;
}

/* ---------- 26. Access レスポンシブ ---------- */
@media (max-width: 900px) {
  .access-info {
    grid-template-columns: 1fr;
    gap: 3.4rem;
    max-width: 60rem;
  }
  .access-info__map { min-height: 26rem; }
  .route-guide__list { grid-template-columns: repeat(2, 1fr); gap: 3rem 2.4rem; }
  .bus-table__table thead { display: none; }
  .bus-table__table,
  .bus-table__table tbody,
  .bus-table__table tr,
  .bus-table__table th,
  .bus-table__table td { display: block; width: 100%; text-align: left; }
  .bus-table__table tbody tr {
    padding: 2rem 0;
    border-bottom: 1px solid var(--line);
  }
  .bus-table__table tbody th { padding: 0 0 .8rem; font-size: 1.7rem; }
  .bus-table__table tbody td {
    padding: .4rem 0;
    font-size: 1.4rem;
  }
  .bus-table__table tbody td::before {
    content: attr(data-label);
    display: inline-block;
    min-width: 8rem;
    color: var(--stone);
    font-size: 1.2rem;
    letter-spacing: .18em;
    text-transform: uppercase;
  }
}

@media (max-width: 768px) {
  .route-summary__list li {
    padding: 2rem;
    gap: 1rem 1.4rem;
  }
  .route-summary__station { min-width: 100%; font-size: 1.7rem; }
  .route-guide__list { grid-template-columns: 1fr; gap: 3rem; max-width: 40rem; margin-inline: auto; }
  .access-photo figcaption { font-size: 1.4rem; }
}

/* =========================================================
   境内・墓地のご案内（garden.html）専用スタイル
   ========================================================= */

/* ---------- 27. 写真プレースホルダー（共通） ---------- */
.photo-slot {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, #d3cec3 0%, #b8b3a6 50%, #d3cec3 100%);
  filter: grayscale(100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.photo-slot--tall { aspect-ratio: 3 / 4; }
.photo-slot__label {
  font-family: var(--font-en);
  font-size: 1.15rem;
  letter-spacing: .5em;
  text-transform: uppercase;
  color: rgba(60, 55, 45, .35);
  padding-left: .5em;
}
.photo-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* 実写真が入ったらグレースケール解除・プレースホルダー背景も透明化 */
.photo-slot:has(img) {
  filter: none;
  background: transparent;
}

/* ---------- 28. Garden : 冒頭イントロ ---------- */
.garden-intro {
  padding: 12rem 0 3rem;
  text-align: center;
}
.garden-intro + .section { padding-top: 6rem; }
.garden-intro__text {
  max-width: 84rem;
  margin: 0 auto;
  font-size: 1.75rem;
  line-height: 2.4;
  color: var(--ink-soft);
  letter-spacing: .08em;
}

/* ---------- 29. Garden : 境内のご案内 ---------- */
.grounds .section-label { margin-bottom: 4rem; }
.grounds__lead {
  text-align: center;
  max-width: 76rem;
  margin: 0 auto 6rem;
  font-size: 1.65rem;
  line-height: 2.3;
  color: var(--ink-soft);
  letter-spacing: .08em;
}
.grounds__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5rem 3.4rem;
  max-width: 108rem;
  margin: 0 auto;
}
.grounds-card { margin: 0; }
.grounds-card__title {
  font-size: 1.8rem;
  letter-spacing: .18em;
  color: var(--ink);
  margin: 2.4rem 0 1.4rem;
  font-weight: 500;
  position: relative;
  padding-bottom: 1.4rem;
}
.grounds-card__title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 2.4rem;
  height: 1px;
  background: var(--green);
}
.grounds-card__text {
  font-size: 1.5rem;
  line-height: 2.1;
  color: var(--ink-soft);
  letter-spacing: .06em;
}

/* ---------- 30. Garden : 永代供養 ---------- */
.eitai .section-label { margin-bottom: 5rem; }
.eitai__lead {
  max-width: 108rem;
  margin: 0 auto 8rem;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.eitai__lead-body { text-align: left; }
.eitai__lead-title {
  font-size: clamp(2rem, 2.4vw, 2.4rem);
  letter-spacing: .18em;
  color: var(--green);
  margin-bottom: 2.6rem;
  padding-bottom: 1.8rem;
  font-weight: 500;
  position: relative;
  text-align: left;
}
.eitai__lead-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 3.6rem;
  height: 1px;
  background: var(--green);
}
.eitai__lead p {
  font-size: 1.65rem;
  line-height: 2.4;
  color: var(--ink-soft);
  letter-spacing: .06em;
  margin-bottom: 1.8rem;
  text-align: left;
}
.eitai__lead p:last-child { margin-bottom: 0; }
.eitai__lead-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--stone-light);
}
.eitai__lead-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* こんな方に */
.eitai-target {
  max-width: 76rem;
  margin: 0 auto 8rem;
  padding: 4rem 4.4rem;
  background: var(--bg-deep);
  border: 1px solid var(--line);
}
.eitai-target__title {
  text-align: center;
  font-size: clamp(1.8rem, 2.2vw, 2.2rem);
  letter-spacing: .18em;
  color: var(--green);
  margin-bottom: 2.6rem;
  padding-bottom: 1.6rem;
  position: relative;
  font-weight: 500;
}
.eitai-target__title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 3rem;
  height: 1px;
  background: var(--green);
}
.eitai-target__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .4rem 3rem;
}
.eitai-target__list li {
  display: flex;
  align-items: baseline;
  gap: 1.2rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 1.55rem;
  color: var(--ink);
  letter-spacing: .06em;
}
.eitai-target__list li::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  flex-shrink: 0;
  transform: translateY(-.2em);
}

/* 大機院の永代供養墓 */
.eitai-plan {
  max-width: 100rem;
  margin: 0 auto 8rem;
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 4.4rem;
  align-items: center;
}
.eitai-plan__title {
  font-size: clamp(1.9rem, 2.4vw, 2.3rem);
  letter-spacing: .16em;
  color: var(--ink);
  margin-bottom: 2.4rem;
  padding-bottom: 1.6rem;
  border-bottom: 1px solid var(--line);
  font-weight: 500;
}
.eitai-plan__body p {
  font-size: 1.6rem;
  line-height: 2.3;
  color: var(--ink-soft);
  letter-spacing: .06em;
  margin-bottom: 1.6rem;
}
/* 費用の表示（永代供養費用・墓地永代使用料） */
.eitai-plan__prices {
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 2.6rem;
}
.eitai-plan__price-heading {
  font-size: 1.5rem;
  letter-spacing: .22em;
  color: var(--green);
  margin-bottom: 1rem;
  font-weight: 500;
}
.eitai-plan__price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.4rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
}
.eitai-plan__price-block .eitai-plan__price-row:first-of-type {
  border-top: 1px solid var(--line);
}
.eitai-plan__price-name {
  font-size: 1.5rem;
  color: var(--ink);
  letter-spacing: .08em;
  line-height: 1.6;
}
.eitai-plan__price-amount {
  font-size: 1.55rem;
  color: var(--ink);
  letter-spacing: .04em;
  white-space: nowrap;
}
.eitai-plan__price-amount strong {
  font-family: var(--font-en);
  font-size: 2.4rem;
  color: var(--green);
  letter-spacing: 0;
  padding-right: .15em;
  font-weight: 500;
}
@media (max-width: 480px) {
  .eitai-plan__price-name { font-size: 1.4rem; }
  .eitai-plan__price-amount strong { font-size: 2.1rem; }
}

/* CTA カード（背景動画つき・外部サイト誘導） */
.cta-card {
  position: relative;
  z-index: 1;
  max-width: 96rem;
  margin: 0 auto;
  overflow: hidden;
  background: var(--green-deep);
  color: var(--white);
  text-align: center;
}
.cta-card__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.cta-card__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg,
    rgba(20, 24, 19, .55) 0%,
    rgba(20, 24, 19, .35) 42%,
    rgba(20, 24, 19, .65) 100%);
}
.cta-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 2.8rem;
  height: 2.8rem;
  border-top: 2px solid rgba(255, 255, 255, .75);
  border-left: 2px solid rgba(255, 255, 255, .75);
  z-index: 2;
}
.cta-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 2.8rem;
  height: 2.8rem;
  border-bottom: 2px solid rgba(255, 255, 255, .75);
  border-right: 2px solid rgba(255, 255, 255, .75);
  z-index: 2;
}
.cta-card__inner {
  position: relative;
  z-index: 2;
  padding: 8rem 5rem;
}
.cta-card__eyebrow {
  font-family: var(--font-en);
  font-size: 1.25rem;
  letter-spacing: .42em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .85);
  margin-bottom: 1.8rem;
}
.cta-card__title {
  font-size: clamp(2rem, 2.6vw, 2.6rem);
  letter-spacing: .16em;
  color: var(--white);
  margin-bottom: 2.6rem;
  font-weight: 400;
  line-height: 1.75;
}
.cta-card__text {
  font-size: 1.55rem;
  line-height: 2.2;
  color: rgba(255, 255, 255, .92);
  margin-bottom: 3.4rem;
  letter-spacing: .06em;
}
.cta-card__link {
  display: inline-flex;
  align-items: center;
  gap: 1.4rem;
  padding: 1.8rem 4.4rem;
  border: 1px solid rgba(255, 255, 255, .85);
  color: var(--white);
  font-size: 1.5rem;
  letter-spacing: .18em;
  background: transparent;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
  position: relative;
}
.cta-card__link::after {
  content: "→";
  font-family: var(--font-en);
  transition: transform .3s var(--ease);
}
.cta-card__link:hover {
  background: var(--white);
  color: var(--green-deep);
  border-color: var(--white);
}
.cta-card__link:hover::after { transform: translateX(.4rem); }

/* ---------- 31a. Garden : ギャラリースライド（2段の流れるカルーセル） ---------- */
.gallery-slide {
  margin-top: 9rem;
  overflow: hidden;
  position: relative;
}
.gallery-slide__row {
  overflow: hidden;
  padding: .6rem 0;
}
.gallery-slide__row + .gallery-slide__row { margin-top: 2rem; }
.gallery-slide__track {
  display: flex;
  width: max-content;
}
.gallery-slide__row--rtl .gallery-slide__track {
  animation: gallerySlideLeft 60s linear infinite;
}
.gallery-slide__row--ltr .gallery-slide__track {
  animation: gallerySlideRight 60s linear infinite;
}
.gallery-slide__track img {
  width: 32rem;
  height: 22rem;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
  margin-right: 2.4rem;
}
@keyframes gallerySlideLeft {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes gallerySlideRight {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

/* ---------- 31b. Garden : 動画パララックス（境内→墓地の間） ---------- */
.video-inset {
  position: relative;
  z-index: 2;
  height: 62vh;
  min-height: 42rem;
  overflow: hidden;
  background: var(--green-deep);
}
.video-inset__video {
  position: absolute;
  left: 0;
  right: 0;
  top: -15%;
  width: 100%;
  height: 130%;
  object-fit: cover;
  will-change: transform;
}

/* ---------- 31. Garden レスポンシブ ---------- */
@media (max-width: 900px) {
  .grounds__grid { grid-template-columns: 1fr 1fr; gap: 4rem 2.8rem; max-width: 66rem; }
  .eitai__lead { grid-template-columns: 1fr; gap: 3rem; max-width: 60rem; }
  .eitai-plan { grid-template-columns: 1fr; gap: 3rem; max-width: 60rem; }
  .photo-slot--tall { aspect-ratio: 4 / 3; }
  .eitai-target__list { grid-template-columns: 1fr; gap: 0; }
  .gallery-slide { margin-top: 6rem; }
  .gallery-slide__track img { width: 26rem; height: 18rem; margin-right: 1.8rem; }
  .video-inset { height: 50vh; min-height: 34rem; }
}
@media (max-width: 768px) {
  .garden-intro { padding: 8rem 0 2rem; }
  .garden-intro__text { font-size: 1.6rem; line-height: 2.2; }
  .grounds__grid { grid-template-columns: 1fr; gap: 3.4rem; max-width: 40rem; }
  .eitai-target { padding: 3rem 2.4rem; }
  .cta-card__inner { padding: 5.4rem 2.6rem; }
  .cta-card__link { padding: 1.6rem 2.6rem; font-size: 1.4rem; }
  .gallery-slide__track img { width: 20rem; height: 14rem; margin-right: 1.4rem; }
  .gallery-slide__row + .gallery-slide__row { margin-top: 1.4rem; }
  .video-inset { height: 42vh; min-height: 28rem; }
}

/* =========================================================
   下層ページ用の紅葉・仏像イラスト装飾
   ========================================================= */

/* ---------- 32. About : 装飾（5枚並紅葉／仏像） ---------- */
.about-intro { position: relative; overflow: hidden; }
.about-intro > .l-inner { position: relative; z-index: 1; }
.about-intro__deco {
  position: absolute;
  top: 3rem;
  right: -3rem;
  width: clamp(20rem, 26vw, 32rem);
  aspect-ratio: 4 / 3;
  background: url("../images/22014377.png") center / contain no-repeat;
  opacity: .5;
  pointer-events: none;
  z-index: 0;
}

.values { position: relative; overflow: hidden; }
.values > .l-inner { position: relative; z-index: 1; }


/* ---------- 33. Garden : 装飾（紅葉クラスター／花桶） ---------- */
.grounds { position: relative; overflow: hidden; }
.grounds > .l-inner,
.grounds > .gallery-slide { position: relative; z-index: 1; }
.grounds__deco {
  position: absolute;
  top: -3rem;
  right: -4rem;
  width: clamp(20rem, 28vw, 34rem);
  aspect-ratio: 4 / 3;
  background: url("../images/22007920.png") center / contain no-repeat;
  opacity: .48;
  pointer-events: none;
  z-index: 0;
}

.eitai { position: relative; overflow: hidden; }
.eitai > .l-inner { position: relative; z-index: 1; }
.eitai__deco {
  position: absolute;
  top: 12rem;
  left: -3rem;
  width: clamp(11rem, 16vw, 20rem);
  aspect-ratio: 3 / 4;
  background: url("../images/2378185.png") center / contain no-repeat;
  opacity: .55;
  pointer-events: none;
  z-index: 0;
}

/* ---------- 34. Access : 装飾（枝紅葉） ---------- */
.access-intro { position: relative; overflow: hidden; }
.access-intro > .l-inner { position: relative; z-index: 1; }
.access-intro__deco {
  position: absolute;
  top: 4rem;
  right: -3rem;
  width: clamp(18rem, 24vw, 28rem);
  aspect-ratio: 4 / 3;
  background: url("../images/maple-branch.png") center / contain no-repeat;
  opacity: .5;
  pointer-events: none;
  z-index: 0;
}

/* ---------- 35. イラスト装飾レスポンシブ ---------- */
@media (max-width: 768px) {
  .about-intro__deco { width: 14rem; top: 2rem; right: -2rem; opacity: .4; }
  .values__deco { width: 7rem; bottom: 2rem; right: 4%; opacity: .4; }
  .grounds__deco { width: 15rem; top: -1.5rem; right: -2rem; opacity: .4; }
  .eitai__deco { width: 9rem; top: 8rem; left: -2rem; opacity: .45; }
  .access-intro__deco { width: 13rem; top: 2rem; right: -2rem; opacity: .4; }
}

/* =========================================================
   お問い合わせ（contact.html）専用スタイル
   ========================================================= */

/* ---------- 36. Contact : ご案内・注意事項 ---------- */
.contact-guide {
  padding: 12rem 0 4rem;
}
.contact-guide__lead {
  text-align: center;
  font-size: clamp(1.7rem, 2vw, 1.9rem);
  letter-spacing: .12em;
  color: var(--ink);
  margin-bottom: 3.4rem;
  line-height: 2;
  font-weight: 500;
}
.contact-guide__notes {
  max-width: 82rem;
  margin: 0 auto;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}
.contact-guide__notes li {
  position: relative;
  padding: 1.6rem 2rem 1.6rem 3.4rem;
  font-size: 1.5rem;
  line-height: 2;
  color: var(--ink-soft);
  background: var(--bg-deep);
  border-left: 3px solid var(--green);
  letter-spacing: .06em;
}
.contact-guide__notes li::before {
  content: "?";
  position: absolute;
  left: 1.4rem;
  top: 1.6rem;
  color: var(--green);
  font-size: 1.6rem;
}
.contact-guide__notes strong {
  color: var(--green);
  font-weight: 500;
}

/* ---------- 37. Contact : お電話 ---------- */
.contact-tel { padding: 8rem 0; }
.contact-tel__box {
  max-width: 68rem;
  margin: 0 auto;
  padding: 4.4rem 4rem;
  background: var(--white);
  border: 1px solid var(--line);
  text-align: center;
}
.contact-tel__heading {
  font-size: 1.5rem;
  letter-spacing: .2em;
  color: var(--green);
  margin-bottom: 1.4rem;
  font-weight: 500;
}
.contact-tel__number {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 1.2rem;
  margin-bottom: 1rem;
}
.contact-tel__label {
  font-family: var(--font-en);
  font-size: 1.4rem;
  letter-spacing: .3em;
  color: var(--stone);
}
.contact-tel__number a {
  font-family: "Helvetica Neue", "Segoe UI", "Hiragino Sans", "Yu Gothic UI", Meiryo, sans-serif;
  font-size: clamp(2.8rem, 3.6vw, 3.6rem);
  letter-spacing: .02em;
  color: var(--ink);
  font-weight: 500;
  transition: color .3s var(--ease);
}
.contact-tel__number a:hover { color: var(--green); }
.contact-tel__hours {
  font-size: 1.4rem;
  letter-spacing: .1em;
  color: var(--ink-soft);
}

/* ---------- 38. Contact : フォーム本体 ---------- */
.contact-form-section .section-label { margin-bottom: 5rem; }
.contact-form {
  max-width: 88rem;
  margin: 0 auto;
}
.form-list {
  border-top: 1px solid var(--line);
  margin-bottom: 5rem;
}
.form-row {
  display: grid;
  grid-template-columns: 22rem 1fr;
  gap: 3rem;
  padding: 2.4rem 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.form-row dt {
  padding-top: 1.4rem;
  font-size: 1.6rem;
  letter-spacing: .1em;
  color: var(--ink);
  font-weight: 500;
}
.form-row dt label { cursor: default; }
.req, .opt {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 1rem;
  letter-spacing: .2em;
  padding: .3rem .8rem;
  margin-left: .8rem;
  vertical-align: middle;
  border-radius: 2px;
}
.req { background: #cc3300; color: var(--white); }
.opt { background: var(--stone); color: var(--white); }
.form-row dd { min-width: 0; }
.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="tel"],
.form-row textarea {
  width: 100%;
  padding: 1.4rem 1.6rem;
  font-family: inherit;
  font-size: 1.55rem;
  letter-spacing: .06em;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 2px;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--green);
  background: var(--bg);
}
.form-row input::placeholder,
.form-row textarea::placeholder {
  color: rgba(60, 55, 45, .35);
  font-family: inherit;
}
.form-row textarea {
  resize: vertical;
  min-height: 16rem;
  line-height: 1.8;
}
.form-row .input--short { max-width: 18rem; }

.form-checks {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2.4rem;
  padding: 1rem 0;
}
.form-checks label {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  font-size: 1.55rem;
  letter-spacing: .06em;
  color: var(--ink);
  cursor: pointer;
}
.form-checks input[type="checkbox"] {
  width: 1.8rem;
  height: 1.8rem;
  accent-color: var(--green);
  cursor: pointer;
}

/* プライバシーポリシー（インラインフレーム） */
.form-privacy {
  margin-bottom: 4rem;
}
.form-privacy__label {
  font-size: 1.5rem;
  letter-spacing: .16em;
  color: var(--green);
  margin-bottom: 1.6rem;
  font-weight: 500;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}
.form-privacy__frame {
  width: 100%;
  height: 32rem;
  border: 1px solid var(--line);
  background: var(--bg);
  overflow: hidden;
  margin-bottom: 2rem;
}
.form-privacy__frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.form-privacy__agree {
  text-align: center;
  padding: 2rem 0;
  font-size: 1.6rem;
  color: var(--ink);
}
.form-privacy__agree label {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  letter-spacing: .1em;
}
.form-privacy__agree input[type="checkbox"] {
  width: 2rem;
  height: 2rem;
  accent-color: var(--green);
  cursor: pointer;
}

/* 送信ボタン */
.form-submit { text-align: center; }
.form-submit__btn {
  display: inline-flex;
  align-items: center;
  gap: 1.4rem;
  padding: 2rem 6rem;
  border: 1px solid var(--green);
  background: var(--green);
  color: var(--white);
  font-family: inherit;
  font-size: 1.55rem;
  letter-spacing: .2em;
  cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.form-submit__btn::after {
  content: "→";
  font-family: var(--font-en);
  transition: transform .3s var(--ease);
}
.form-submit__btn:hover {
  background: var(--green-deep);
  border-color: var(--green-deep);
}
.form-submit__btn:hover::after { transform: translateX(.4rem); }

/* =========================================================
   お知らせ（news.html / news-detail.html）専用スタイル
   ========================================================= */

/* ---------- 39. News : 一覧カード ---------- */
.news-list-section { padding: 13rem 0; }
.news-cards {
  list-style: none;
  max-width: 96rem;
  margin: 0 auto 6rem;
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
}
.news-card {
  background: var(--white);
  border: 1px solid var(--line);
  transition: box-shadow .4s var(--ease), transform .4s var(--ease);
}
.news-card:hover {
  transform: translateY(-.3rem);
  box-shadow: 0 1.2rem 3rem rgba(44, 42, 38, .06);
}
.news-card__link {
  display: grid;
  grid-template-columns: 28rem 1fr;
  gap: 3rem;
  padding: 2.6rem;
  color: var(--ink);
  text-decoration: none;
  align-items: center;
}
.news-card__thumb {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--stone-light);
}
.news-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .8s var(--ease);
}
.news-card:hover .news-card__thumb img { transform: scale(1.05); }
.news-card__body { min-width: 0; }
.news-card__meta {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  margin-bottom: 1.4rem;
}
.news-card__date {
  font-family: var(--font-en);
  font-size: 1.4rem;
  letter-spacing: .12em;
  color: var(--stone);
}
.news-card__cat {
  font-size: 1.15rem;
  letter-spacing: .16em;
  color: var(--green);
  border: 1px solid var(--line);
  padding: .3rem 1.4rem;
}
.news-card__title {
  font-size: clamp(1.7rem, 2.2vw, 2rem);
  letter-spacing: .12em;
  color: var(--ink);
  margin-bottom: 1.4rem;
  line-height: 1.7;
  font-weight: 500;
  transition: color .3s var(--ease);
}
.news-card:hover .news-card__title { color: var(--green); }
.news-card__excerpt {
  font-size: 1.5rem;
  line-height: 2;
  color: var(--ink-soft);
  letter-spacing: .06em;
  margin-bottom: 1.8rem;
}
.news-card__more {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  font-size: 1.35rem;
  letter-spacing: .2em;
  color: var(--green);
  padding-bottom: .3rem;
  border-bottom: 1px solid var(--green);
}
.news-card__more::after {
  content: "→";
  font-family: var(--font-en);
  transition: transform .3s var(--ease);
}
.news-card:hover .news-card__more::after { transform: translateX(.4rem); }

/* ページネーション */
.pagination { margin-top: 4rem; }
.pagination ul {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .8rem;
}
.pagination__item a,
.pagination__item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 4.4rem;
  height: 4.4rem;
  padding: 0 1.2rem;
  font-family: var(--font-en);
  font-size: 1.4rem;
  letter-spacing: .1em;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.pagination__item a:hover {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.pagination__item.is-current span {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.pagination__item--next a { font-size: 1.6rem; }

/* ---------- 40. News : 記事詳細 ---------- */
.page-hero--slim { height: 44vh; min-height: 32rem; }
.news-single { padding: 12rem 0 14rem; }
.article {
  max-width: 84rem;
  margin: 0 auto;
}
.article__head {
  text-align: center;
  margin-bottom: 4.4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--line);
}
.article__meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.6rem;
  margin-bottom: 2rem;
}
.article__date {
  font-family: var(--font-en);
  font-size: 1.5rem;
  letter-spacing: .14em;
  color: var(--stone);
}
.article__cat {
  font-size: 1.25rem;
  letter-spacing: .16em;
  color: var(--green);
  border: 1px solid var(--line);
  padding: .4rem 1.6rem;
}
.article__title {
  font-size: clamp(2.2rem, 3vw, 3.2rem);
  letter-spacing: .14em;
  line-height: 1.7;
  color: var(--ink);
  font-weight: 500;
}
.article__eyecatch {
  margin: 0 0 4.4rem;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--stone-light);
}
.article__eyecatch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.article__body {
  font-size: 1.65rem;
  line-height: 2.2;
  color: var(--ink-soft);
  letter-spacing: .06em;
}
.article__body p {
  margin-bottom: 2rem;
}
.article__lead {
  font-size: 1.75rem !important;
  color: var(--ink) !important;
  line-height: 2.2 !important;
  padding: 2rem 2.4rem;
  background: var(--bg-deep);
  border-left: 3px solid var(--green);
  margin-bottom: 3.4rem !important;
}
.article__h2 {
  font-size: clamp(1.9rem, 2.4vw, 2.2rem);
  letter-spacing: .14em;
  color: var(--green);
  margin: 4rem 0 2rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--line);
  font-weight: 500;
  position: relative;
}
.article__h2::before {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 3.6rem;
  height: 1px;
  background: var(--green);
}
.article__info {
  background: var(--bg-deep);
  padding: 2.6rem 3rem;
  margin: 2.4rem 0 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.article__info-row {
  display: grid;
  grid-template-columns: 10rem 1fr;
  gap: 2rem;
  padding: .8rem 0;
  border-bottom: 1px dashed rgba(44, 42, 38, .16);
  font-size: 1.55rem;
  line-height: 1.9;
}
.article__info-row:last-child { border-bottom: 0; }
.article__info-row dt {
  color: var(--green);
  font-weight: 500;
  letter-spacing: .1em;
}
.article__info-row dd { color: var(--ink); }
.article__note {
  font-size: 1.35rem;
  color: var(--stone);
  margin-top: 2rem;
  padding-top: 1.4rem;
  border-top: 1px dashed rgba(44, 42, 38, .16);
}
.article__foot {
  margin-top: 6rem;
  padding-top: 3rem;
  border-top: 1px solid var(--line);
  text-align: center;
}
.article__back {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1.4rem 3rem;
  border: 1px solid var(--green);
  color: var(--green);
  font-size: 1.4rem;
  letter-spacing: .16em;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.article__back:hover {
  background: var(--green);
  color: var(--white);
}

/* ---------- 41. Contact / News レスポンシブ ---------- */
@media (max-width: 900px) {
  .form-row { grid-template-columns: 1fr; gap: 1rem; padding: 2rem 0; }
  .form-row dt { padding-top: 0; }
  .news-card__link { grid-template-columns: 1fr; gap: 2rem; padding: 2rem; }
  .news-card__thumb { aspect-ratio: 16 / 9; }
}
@media (max-width: 768px) {
  .contact-guide { padding: 8rem 0 3rem; }
  .contact-tel { padding: 5rem 0; }
  .contact-tel__box { padding: 3.4rem 2.4rem; }
  .contact-form-section { padding-top: 5rem; }
  .form-privacy__frame { height: 26rem; }
  .form-submit__btn { padding: 1.8rem 4rem; font-size: 1.4rem; }
  .news-list-section { padding: 8rem 0; }
  .news-single { padding: 8rem 0 10rem; }
  .article__info-row { grid-template-columns: 1fr; gap: .4rem; }
  .article__info-row dt { padding-top: 0; }
}

/* ---------- 14. アクセシビリティ（モーション軽減） ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .fade-up { opacity: 1; transform: none; }
}

/* ---------- Snow Monkey Forms : 大機院オリジナルデザイン ---------- */
.contact-form .smf-form {
  border-top: 1px solid var(--line);
}
.contact-form .smf-item {
  display: grid;
  grid-template-columns: 22rem minmax(0, 1fr);
  gap: 3rem;
  align-items: start;
  padding: 2.4rem 0;
  border-bottom: 1px solid var(--line);
}
.contact-form .smf-item__col--label {
  padding-top: 1.2rem;
}
.contact-form .smf-item__label,
.contact-form .smf-item__label__text {
  font-size: 1.6rem;
  line-height: 1.7;
  letter-spacing: .1em;
  color: var(--ink);
  font-weight: 500;
}
.contact-form .smf-item__label__required,
.contact-form .smf-item__label__optional {
  display: inline-block;
  min-width: 4.2rem;
  margin-left: .8rem;
  padding: .3rem .8rem;
  border-radius: 2px;
  font-family: var(--font-en);
  font-size: 1rem;
  line-height: 1.4;
  letter-spacing: .12em;
  text-align: center;
  vertical-align: middle;
}
.contact-form .smf-item__label__required {
  background: #cc3300;
  color: var(--white);
}
.contact-form .smf-item__label__optional {
  background: var(--stone);
  color: var(--white);
}
.contact-form .smf-item__col--controls,
.contact-form .smf-item__controls {
  min-width: 0;
}
.contact-form .smf-text-control,
.contact-form .smf-email-control,
.contact-form .smf-tel-control,
.contact-form .smf-url-control,
.contact-form .smf-textarea-control,
.contact-form .smf-select-control {
  width: 100%;
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form input[type="url"],
.contact-form input[type="number"],
.contact-form input[type="date"],
.contact-form select,
.contact-form textarea,
.contact-form .smf-text-control__control,
.contact-form .smf-email-control__control,
.contact-form .smf-tel-control__control,
.contact-form .smf-url-control__control,
.contact-form .smf-number-control__control,
.contact-form .smf-date-control__control,
.contact-form .smf-select-control__control,
.contact-form .smf-textarea-control__control {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  padding: 1.4rem 1.6rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--white);
  color: var(--ink);
  font-family: inherit;
  font-size: 1.55rem;
  line-height: 1.7;
  letter-spacing: .06em;
  transition: border-color .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease);
}
.contact-form textarea,
.contact-form .smf-textarea-control__control {
  min-height: 16rem;
  resize: vertical;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--green);
  background: var(--bg);
  box-shadow: 0 0 0 2px rgba(71, 91, 68, .08);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(60, 55, 45, .35);
}
.contact-form .smf-radio-buttons-control,
.contact-form .smf-checkboxes-control {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2.4rem;
  padding: 1rem 0;
}
.contact-form .smf-radio-button-control,
.contact-form .smf-checkbox-control {
  margin: 0;
}
.contact-form .smf-radio-button-control__label,
.contact-form .smf-checkbox-control__label {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  color: var(--ink);
  font-size: 1.55rem;
  line-height: 1.7;
  letter-spacing: .06em;
  cursor: pointer;
}
.contact-form input[type="radio"],
.contact-form input[type="checkbox"] {
  width: 1.8rem;
  height: 1.8rem;
  flex: 0 0 auto;
  accent-color: var(--green);
  cursor: pointer;
}
.contact-form .smf-help-text,
.contact-form .smf-item__description {
  margin-top: .8rem;
  color: var(--ink-soft);
  font-size: 1.3rem;
  line-height: 1.8;
}
.contact-form .smf-error-messages {
  margin-top: .8rem;
  padding: 0;
  color: #b52b20;
  font-size: 1.35rem;
  line-height: 1.7;
  list-style: none;
}
.contact-form .smf-action {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.2rem;
  margin-top: 5rem;
  text-align: center;
}
.contact-form .smf-button-control__control,
.contact-form button[type="submit"],
.contact-form button[type="button"] {
  min-width: 24rem;
  padding: 1.8rem 4rem;
  border: 1px solid var(--green);
  border-radius: 0;
  background: var(--green);
  color: var(--white);
  font-family: inherit;
  font-size: 1.5rem;
  line-height: 1.5;
  letter-spacing: .18em;
  cursor: pointer;
  transition: background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}
.contact-form .smf-button-control__control:hover,
.contact-form button[type="submit"]:hover,
.contact-form button[type="button"]:hover {
  border-color: var(--green-deep);
  background: var(--green-deep);
}
.contact-form .smf-button-control__control[data-action="back"],
.contact-form .smf-button-control__control--back {
  border-color: var(--line);
  background: var(--white);
  color: var(--ink);
}
.contact-form .smf-button-control__control[data-action="back"]:hover,
.contact-form .smf-button-control__control--back:hover {
  border-color: var(--stone);
  background: var(--bg);
}
.contact-form .smf-complete-content {
  padding: 5rem 3rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
  font-size: 1.55rem;
  line-height: 2;
  letter-spacing: .08em;
}

@media (max-width: 767px) {
  .contact-form .smf-item {
    display: block;
    padding: 2rem 0;
  }
  .contact-form .smf-item__col--label {
    padding-top: 0;
    margin-bottom: 1.2rem;
  }
  .contact-form .smf-radio-buttons-control,
  .contact-form .smf-checkboxes-control {
    display: grid;
    gap: 1rem;
  }
  .contact-form .smf-action {
    display: grid;
    margin-top: 3.5rem;
  }
  .contact-form .smf-button-control__control,
  .contact-form button[type="submit"],
  .contact-form button[type="button"] {
    width: 100%;
    min-width: 0;
  }
}

/* Snow Monkey Forms: inquiry type options in one horizontal row */
.contact-form .smf-checkboxes-control,
.contact-form .smf-checkboxes-control__control,
.contact-form .smf-radio-buttons-control,
.contact-form .smf-radio-buttons-control__control {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: center;
  column-gap: 2.4rem;
  row-gap: 1rem;
}
.contact-form .smf-checkbox-control,
.contact-form .smf-radio-button-control,
.contact-form .smf-checkboxes-control > label,
.contact-form .smf-radio-buttons-control > label {
  display: inline-flex !important;
  width: auto !important;
  margin: 0 !important;
}

@media (max-width: 767px) {
  .contact-form .smf-checkboxes-control,
  .contact-form .smf-checkboxes-control__control,
  .contact-form .smf-radio-buttons-control,
  .contact-form .smf-radio-buttons-control__control {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    column-gap: 1.6rem;
    row-gap: 1rem;
  }
}

/* iOS Safari: background video native play overlay suppression */
.hero__video {
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
}
.hero__video::-webkit-media-controls,
.hero__video::-webkit-media-controls-panel,
.hero__video::-webkit-media-controls-play-button,
.hero__video::-webkit-media-controls-start-playback-button {
  display: none !important;
  -webkit-appearance: none;
  opacity: 0;
}


/* Hero video poster fallback: hides native play overlay until autoplay begins */
.hero__poster {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  pointer-events: none;
  background: var(--green-deep) url('../images/pr_movie_mobile-poster.jpg') center center / cover no-repeat;
  opacity: 1;
  visibility: visible;
  transition: opacity .45s ease, visibility .45s ease;
}
.hero__poster.is-hidden {
  opacity: 0;
  visibility: hidden;
}
@media (min-width: 769px) {
  .hero__poster { display: none; }
}

/* スマホメニュー：スクロール後もオーバーレイ内の文字色を白系に固定 */
@media (max-width: 900px) {
  .header.is-scrolled .nav .nav__link,
  .header.is-scrolled .nav .nav__link--contact {
    color: var(--bg) !important;
  }
}

/* スマホだけで改行 */
br.sp-only {
  display: none !important;
}

@media screen and (max-width: 768px) {
  br.sp-only {
    display: inline !important;
  }
}

/* お問い合わせ注意事項の見やすさ調整 */
.contact-guide__notes li {
  padding-left: 1.2em !important;
  margin-bottom: 0.8em;
  line-height: 1.9;
}

.contact-guide__notes li::before {
  content: none !important;
  display: none !important;
}