/* ===== 色と基本 ===== */
:root {
  --ink: #1a1a1a;
  --ink-2: #5a5a5a;
  --line: rgba(203, 203, 203, .6);
  --line-2: #cbcbcb;
  --paper: #fbfaf7;
  --paper-2: #f2f0ec;
  --red: #d13239;
  --red-2: #d9595e;
  --ease: cubic-bezier(.25, .1, .25, 1);
  --ease-nav: cubic-bezier(.455, .03, .515, .955);
  --wrap: 82.1%;
  --font: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", serif;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--ink); font-family: var(--font); font-size: 14px; line-height: 2.07;
  letter-spacing: .072em; font-feature-settings: "palt" 0;
  background-color: var(--paper);
  /* 紙の地紋（手本の背景画像の代わりにSVGノイズ） */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .42 0 0 0 0 .38 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: opacity .6s var(--ease); }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
::selection { background: rgba(209, 50, 57, .16); color: var(--ink); }
:focus-visible { outline: 1px solid var(--red); outline-offset: 4px; }
.tex { background-color: var(--paper-2); }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.crest { display: block; }

/* ===== 読み込み（手本: 中身が0.5秒待ってから0.6秒で現れ、印が消える） ===== */
#wrapAll { opacity: 0; }
.js-pgload #wrapAll { opacity: 1; transition: opacity .6s var(--ease) .5s; }
.loader { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; background: var(--paper); }
.loader .crest { width: 50px; height: 50px; }
.js-pgload .loader { opacity: 0; z-index: -1; transition: opacity .6s var(--ease) .5s, z-index 1.1s; }
.no-js #wrapAll { opacity: 1; } .no-js .loader { display: none; }

/* ===== 上の飾り（左上リンク・右上小メニュー） ===== */
.toplink { position: absolute; top: 19px; left: 17px; display: flex; gap: 34px; z-index: 5; }
.toplink a { display: inline-flex; align-items: center; gap: 10px; font-size: 11px; letter-spacing: .18em; line-height: 28px; border-bottom: 1px solid #555; padding-right: 2px; }
.toplink a:hover { opacity: .6; }
.toplink li + li { position: relative; }
.toplink li + li::before { content: ""; position: absolute; left: -17px; top: 8px; width: 1px; height: 12px; background: var(--line); }
.i-win { width: 15px; height: 9px; flex: none; }
.snav { position: absolute; top: 12px; right: 24px; display: flex; gap: 18px; font-size: 10px; letter-spacing: .2em; z-index: 6; }
.snav > li { position: relative; }
.snav > li + li::before { content: ""; position: absolute; left: -10px; top: 6px; width: 1px; height: 9px; background: var(--line-2); }
.snav button { all: unset; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; }
.snav button::after { content: ""; border: 3px solid transparent; border-top: 4px solid currentColor; border-bottom: 0; }
.snav dd { position: absolute; top: 22px; right: -8px; margin: 0; padding: 8px 12px; background: #fff; border: 1px solid var(--line); white-space: nowrap; opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .4s var(--ease), transform .4s var(--ease), visibility .4s; }
.snav dl:hover dd, .snav dl:focus-within dd { opacity: 1; visibility: visible; transform: none; }
.snav dd a { display: block; line-height: 2; }
.snav dd a:hover { opacity: .5; }

/* ===== ヘッダー（真ん中に縦の寺名、左右に4つずつ） ===== */
.header { position: relative; height: 197px; }
.header__logo { position: absolute; left: 50%; top: 32px; transform: translateX(-50%); display: flex; flex-direction: row-reverse; align-items: flex-start; gap: 6px; z-index: 2; }
.header__logo .crest { width: 30px; height: 30px; margin: 0 0 0 4px; }
.header__logo .name { writing-mode: vertical-rl; font-size: 25px; font-weight: 700; letter-spacing: .3em; line-height: 1; margin-top: 2px; }
.header__logo .sub { writing-mode: vertical-rl; font-size: 10px; letter-spacing: .32em; line-height: 1; margin-top: 4px; }
.header__logo .roman { writing-mode: vertical-rl; font-size: 8px; letter-spacing: .3em; line-height: 1; margin-top: 52px; color: var(--ink-2); }
.header__nav { position: absolute; top: 76px; left: 50%; transform: translateX(-50%); width: var(--wrap); display: flex; justify-content: space-between; }
.header__nav ul { display: flex; width: 40%; justify-content: space-between; }
.nav-a { position: relative; display: block; font-size: 13px; font-weight: 700; letter-spacing: .46em; line-height: 36px; padding: 13px 0 13px .46em; text-align: center; white-space: nowrap; }
.nav-a::after { content: ""; position: absolute; left: 50%; bottom: 13px; width: 10px; height: 0; margin-left: -5px; background: var(--ink); opacity: 0; transform: translate3d(0, -6px, 0); transition: all 400ms var(--ease-nav); }
.nav-a:hover { opacity: .7; }
.nav-a:hover::after, .nav-a.is-current::after { opacity: 1; height: 1px; transform: translate3d(0, -12px, 0); }
.nav-a.is-current::after { background: var(--red); }
.hairline { width: var(--wrap); height: 1px; margin: 0 auto; background: var(--line); display: none; }

/* ===== 追従メニュー（下へ進むと上から滑り込む） ===== */
.fx-menu { position: fixed; top: 0; left: 0; width: 100%; z-index: 100; padding-top: 40px; background: rgba(251, 250, 247, .97); transform: translateY(-100%); transition: transform .6s var(--ease); }
.fx-menu.is-show { transform: translateY(0); box-shadow: 0 6px 18px -14px rgba(0, 0, 0, .25); }
.fx-menu__ul { width: var(--wrap); margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
.fx-menu__ul > li { width: 9%; }
.fx-menu__ul > li.logo { width: auto; padding: 0 8%; }
.fx-menu__ul .logo a:hover { opacity: .6; }
.fx-menu__ul .logo .crest { width: 32px; height: 32px; }
.fx-menu .nav-a { padding: 13px 0 13px .46em; }
.fx-menu .nav-a::after { bottom: 3px; }
.fx-menu .toplink { top: 7px; }

/* ===== 1画面目（左に大きな写真、右に縦見出しの欄） ===== */
.mv { width: var(--wrap); margin: 0 auto; display: flex; justify-content: space-between; align-items: flex-start; }
.mv__img { width: 59%; position: relative; display: block; }
.mv__img::before { content: ""; display: block; padding-top: 100%; }
.mv__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.mv__img::after { content: ""; position: absolute; inset: 0; background: #000; opacity: 0; transition: opacity .6s var(--ease); backface-visibility: hidden; }
.mv__img:hover::after { opacity: .4; }
.mv__cap { position: absolute; left: 20px; bottom: 18px; z-index: 1; color: #fff; font-size: 11px; letter-spacing: .24em; text-shadow: 0 1px 8px rgba(0, 0, 0, .45); }
.mv__side { width: 37%; }
.box { position: relative; display: flex; gap: 22px; }
.box + .box { margin-top: 44px; }
.box__ttl { flex: none; writing-mode: vertical-rl; font-size: 11px; font-weight: 700; letter-spacing: .3em; line-height: 1; padding: 14px 7px; border: 1px solid var(--line-2); border-radius: 14px; align-self: flex-start; background: var(--paper); }
.box__body { flex: 1; position: relative; padding-left: 0; }
.box::before { content: ""; position: absolute; left: 13px; top: 0; bottom: 0; width: 1px; background: var(--line); z-index: -1; }
.box::after { content: ""; position: absolute; left: 13px; bottom: 3px; width: 10px; height: 1px; background: var(--line); transform: rotate(45deg); transform-origin: left; }
.notice li a { position: relative; display: block; font-size: 13px; letter-spacing: .1em; line-height: 1.8; padding: 22px 46px 22px 14px; border-bottom: 1px solid var(--line); transition: background .6s var(--ease); }
.notice li:first-child a { border-top: 1px solid var(--line); }
.notice li a:hover { background: rgba(0, 0, 0, .05); }
.arr { position: absolute; right: 2px; top: 50%; width: 21px; height: 7px; margin-top: -3px; }
.news { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 22px; padding: 6px 0 0; }
.news a { display: block; }
.news .imgwrap { position: relative; aspect-ratio: 3 / 2; overflow: hidden; }
.news .imgwrap img { width: 100%; height: 100%; object-fit: cover; }
.news .imgwrap::after { content: ""; position: absolute; inset: 0; background: #000; opacity: 0; transition: opacity .6s var(--ease); }
.news a:hover .imgwrap::after { opacity: .4; }
.news time { display: block; margin-top: 10px; font-size: 11px; color: var(--ink-2); letter-spacing: .12em; line-height: 1.6; }
.news p { font-size: 12px; line-height: 1.75; letter-spacing: .08em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.more { text-align: right; margin-top: 26px; }
.more a { position: relative; display: inline-block; font-size: 12px; letter-spacing: .24em; padding-right: 14px; }
.more a::before { content: ""; position: absolute; left: 0; bottom: -6px; width: calc(100% + 0px); height: 1px; background: #eb4b64; transition: opacity .5s; }
.more a::after { content: ""; position: absolute; right: 0; top: 50%; margin-top: -3px; border: 3.5px solid transparent; border-left: 6px solid currentColor; border-right: 0; }
.more a:hover::before { opacity: 0; }

/* ===== 見出し（赤い短線が上から降りて現れる） ===== */
.ttl { text-align: center; font-size: 16px; font-weight: 700; letter-spacing: .4em; padding-left: .4em; line-height: 1; }
.ttl::after { content: ""; display: block; width: 20px; height: 2px; margin: 18px auto 0; background: var(--red); opacity: 0; transform: translate(0, -6px); transition: .6s var(--ease); }
.ttl.scrolled::after { opacity: 1; transform: none; }
.ttl.en { font-size: 17px; letter-spacing: .24em; font-weight: 500; }

/* ===== 読む（特集） ===== */
.feature { margin-top: 120px; padding: 104px 0 110px; }
.feature__ul { width: var(--wrap); margin: 66px auto 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 24px; opacity: 0; transition: opacity .6s var(--ease); }
.feature__ul.scrolled { opacity: 1; }
.feature__ul a { display: block; }
.feature .imgwrap { position: relative; aspect-ratio: 3 / 2; overflow: hidden; }
.feature .imgwrap img { width: 100%; height: 100%; object-fit: cover; }
.feature .imgwrap::after { content: ""; position: absolute; inset: 0; background: #000; opacity: 0; transition: opacity .6s var(--ease); }
.feature a:hover .imgwrap::after { opacity: .4; }
.feature .series { display: block; margin-top: 16px; font-size: 11px; color: var(--red); letter-spacing: .1em; line-height: 1.7; }
.feature .t { font-size: 14px; line-height: 1.85; letter-spacing: .1em; margin-top: 2px; }
.feature__note { width: var(--wrap); margin: 34px auto 0; font-size: 11px; color: var(--ink-2); text-align: right; }

/* ===== ご案内（縦長の写真カード3枚） ===== */
.content { width: var(--wrap); margin: 0 auto; padding-top: 110px; }
.content__ul { display: flex; justify-content: space-between; margin-top: 96px; opacity: 0; transition: opacity .6s var(--ease); }
.content__ul.scrolled { opacity: 1; }
.content__ul > li { width: 30.5556%; }
.content__ul a { display: block; text-align: center; }
.content .img { position: relative; aspect-ratio: 3 / 4; overflow: hidden; }
.content .img img { width: 100%; height: 100%; object-fit: cover; }
.content .img::after { content: ""; position: absolute; inset: 0; background: var(--ink); opacity: 0; transition: opacity .6s var(--ease); }
.content a:hover .img::after { opacity: .6; }
.content h3 { font-size: 18px; font-weight: 700; letter-spacing: .4em; padding-left: .4em; line-height: 80px; }
.content p { font-size: 14px; line-height: 29px; letter-spacing: .072em; text-align: left; }
.btn { position: relative; display: inline-block; margin-top: 1em; font-size: 11px; line-height: 32px; letter-spacing: .28em; }
.btn::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--red-2); transition: width .6s var(--ease); }
a:hover .btn::after { width: 0; left: 100%; transition: .6s var(--ease); }

/* ===== 案内の一覧（写真＋文、2列×3段） ===== */
.sitemap { width: var(--wrap); margin: 111px auto 0; padding-bottom: 86px; border-bottom: 1px solid var(--line); }
.sitemap__ul { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 4.8%; opacity: 0; transition: opacity .6s cubic-bezier(.66, .005, .545, .63); }
.sitemap__ul.scrolled { opacity: 1; }
.sitemap__ul a { display: flex; gap: 24px; align-items: flex-start; }
.sitemap .img { position: relative; width: 37.94%; flex: none; aspect-ratio: 190 / 126; overflow: hidden; }
.sitemap .img img { width: 100%; height: 100%; object-fit: cover; }
.sitemap .img::after { content: ""; position: absolute; inset: 0; background: var(--ink); opacity: 0; transition: opacity .6s var(--ease); }
.sitemap a:hover .img::after { opacity: .6; }
.sitemap h3 { font-size: 14px; font-weight: 700; line-height: 32px; letter-spacing: .1em; margin-top: .2em; }
.sitemap h3 span { position: relative; }
.sitemap h3 span::after { content: ""; position: absolute; top: calc(100% + 4px); left: 100%; width: 0; height: 1px; background: rgba(40, 40, 40, .4); transition: left .6s var(--ease), width .3s var(--ease) .3s; }
.sitemap a:hover h3 span::after { width: 14px; left: 0; transition: width .6s var(--ease); }
.sitemap p { font-size: 12px; line-height: 2; letter-spacing: .062em; margin-top: 4px; }

/* ===== 行事の帯（枠つきの横長バナー） ===== */
.band { display: block; width: 58.6%; max-width: 750px; margin: 96px auto 128px; padding: 4px; border: 1px solid #ddd; opacity: 0; transition: opacity .6s var(--ease); }
.band.scrolled { opacity: 1; }
.band__in { position: relative; height: 145px; overflow: hidden; display: grid; place-items: center; }
.band__in img { position: absolute; inset: -12% 0; width: 100%; height: 124%; object-fit: cover; object-position: 50% 50%; will-change: transform; }
.band__in::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(20, 20, 20, .18), rgba(20, 20, 20, .32)); z-index: 1; transition: background .6s var(--ease); }
.band:hover .band__in::before { background: rgba(20, 20, 20, .45); }
.band__t { position: relative; z-index: 2; color: #fff; font-size: 17px; font-weight: 700; letter-spacing: .28em; padding: 0 0 4px .28em; border-bottom: 1px solid rgba(255, 255, 255, .9); text-shadow: 0 1px 10px rgba(0, 0, 0, .3); }

/* ===== インスタグラム ===== */
.insta { padding: 120px 0 128px; }
.insta__ul { width: 75.08vw; max-width: 1332px; margin: 96px auto 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; opacity: 0; transition: opacity .6s cubic-bezier(.66, .005, .545, .63); }
.insta__ul.scrolled { opacity: 1; }
.insta__ul li { position: relative; aspect-ratio: 1; overflow: hidden; }
.insta__ul a { display: block; height: 100%; }
.insta__ul img { width: 100%; height: 100%; object-fit: cover; }
.insta__ul a::after { content: ""; position: absolute; inset: 0; z-index: 1; background: var(--ink); opacity: 0; transition: opacity .6s var(--ease); }
.insta__ul a:hover::after { opacity: .7; }
.insta__ul .cap { position: absolute; top: 50%; left: 20px; width: calc(100% - 40px); z-index: 2; transform: translateY(-50%); color: #fff; font-size: 12px; line-height: 20px; text-align: center; opacity: 0; transition: opacity .6s var(--ease); }
.insta__ul a:hover .cap { opacity: 1; }
.insta__info { width: 75.08vw; max-width: 1332px; margin: 0 auto; display: flex; justify-content: space-between; align-items: flex-start; padding-top: 42px; }
.insta__info .moreig { display: inline-flex; gap: 14px; align-items: center; font-size: 11px; letter-spacing: .2em; line-height: 30px; border-bottom: 1px solid var(--red); transition: border-color .6s var(--ease); }
.insta__info .moreig:hover { border-bottom-color: transparent; }
.insta__info p { width: 50%; font-size: 14px; line-height: 2.1; letter-spacing: .1em; }
.sns { position: relative; width: 75.08vw; max-width: 1332px; margin: 92px auto 0; padding: 30px 0; }
.sns::before, .sns::after { content: ""; position: absolute; left: 50%; width: 0; height: 1px; background: var(--line); transition: 1s cubic-bezier(.45, .085, .345, .9); }
.sns::before { top: 0; } .sns::after { bottom: 0; }
.sns.scrolled::before, .sns.scrolled::after { width: 100%; left: 0; }
.sns ul { display: flex; justify-content: center; gap: 56px; }
.sns a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: #fff; }
.sns a:hover { opacity: .6; }
.sns svg { width: 18px; height: 18px; }

/* ===== 下の3枚バナー（ホバーで線が描かれる） ===== */
.banners { padding: 74px 0 128px; }
.banners__list { width: 76.9%; max-width: 1332px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5%; }
.banners__link { position: relative; display: block; padding: 4px; border: 1px solid var(--line-2); }
.banners__link::before, .banners__link::after { content: ""; position: absolute; inset: -1px; z-index: 2; transition: .4s ease-out; pointer-events: none; }
.banners__link::before { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); transform: scale(0, 1); }
.banners__link::after { border-left: 1px solid var(--ink); border-right: 1px solid var(--ink); transform: scale(1, 0); }
.banners__link:hover::before, .banners__link:hover::after { transform: scale(1); }
.banners__in { position: relative; aspect-ratio: 305 / 78; overflow: hidden; }
.banners__in img { width: 100%; height: 100%; object-fit: cover; }
.banners__in::before { content: ""; position: absolute; inset: 0; background: rgba(20, 20, 20, .38); z-index: 1; transition: background .4s var(--ease); }
.banners__link:hover .banners__in::before { background: rgba(26, 26, 26, .6); }
.banners__t { position: absolute; left: 50%; top: 50%; z-index: 2; transform: translate(-50%, -50%); width: 100%; text-align: center; color: #fff; font-size: 15px; font-weight: 700; letter-spacing: .28em; text-shadow: 0 1px 10px rgba(0, 0, 0, .5); }
.banners__text { margin-top: 12px; font-size: 12px; line-height: 2; letter-spacing: .06em; color: var(--ink-2); }

/* ===== 足もと ===== */
.footer { position: relative; text-align: center; padding: 72px 0 60px; font-size: 12px; letter-spacing: .12em; }
.footer .crest { width: 34px; height: 34px; margin: 0 auto 14px; }
.footer address { font-style: normal; line-height: 2.2; }
.footer address b { font-weight: 700; margin-right: 1em; }
.footer .tel::before { content: ""; display: inline-block; width: 1px; height: 12px; background: #333; margin: 0 14px; position: relative; top: 2px; }
.footer .copy { margin-top: 18px; font-size: 10px; color: var(--ink-2); letter-spacing: .16em; }
.totop { position: fixed; right: 24px; bottom: 24px; z-index: 90; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .7); display: grid; place-items: center; opacity: 0; pointer-events: none; transition: opacity .4s var(--ease); }
.totop.js-scroll { opacity: 1; pointer-events: auto; }
.totop.js-scroll:hover { opacity: .5; }
.totop svg { width: 9px; height: 10px; }

/* ===== スマホのメニュー（右から滑り込む） ===== */
.sp-head, .sp-btn, .sp-menu { display: none; }

/* ===== 試作の注記 ===== */
.proto { position: fixed; left: 14px; bottom: 14px; z-index: 95; font-size: 10px; letter-spacing: .14em; color: var(--ink-2); background: rgba(255, 255, 255, .85); border: 1px solid var(--line); padding: 2px 10px; }

/* ===== 幅が狭いとき ===== */
@media (max-width: 1080px) {
  .header__nav ul { width: 42%; }
  .nav-a { letter-spacing: .3em; font-size: 12px; }
}
@media (max-width: 768px) {
  body { font-size: 14px; }
  .toplink, .snav, .header, .fx-menu { display: none; }
  #wrapAll { padding-top: 0; }
  .sp-head { display: flex; position: sticky; top: 0; z-index: 100; height: 64px; padding: 0 24px; align-items: center; justify-content: space-between; background: rgba(251, 250, 247, .96); }
  .sp-head .logo { display: flex; align-items: center; gap: 10px; }
  .sp-head .crest { width: 26px; height: 26px; }
  .sp-head .sub { font-size: 9px; letter-spacing: .24em; }
  .sp-head .name { font-size: 19px; font-weight: 700; letter-spacing: .26em; }
  .sp-btn { all: unset; display: block; position: fixed; top: 14px; right: 18px; z-index: 210; width: 36px; height: 36px; cursor: pointer; }
  .sp-btn span { position: absolute; left: 5px; width: 26px; height: 1px; background: var(--ink); transition: transform .6s var(--ease), opacity .6s var(--ease), top .6s var(--ease); }
  .sp-btn span:nth-child(1) { top: 12px; } .sp-btn span:nth-child(2) { top: 17px; } .sp-btn span:nth-child(3) { top: 22px; }
  .is-menu .sp-btn span:nth-child(1) { top: 17px; transform: rotate(20deg); }
  .is-menu .sp-btn span:nth-child(2) { opacity: 0; }
  .is-menu .sp-btn span:nth-child(3) { top: 17px; transform: rotate(-20deg); }
  .sp-menu { display: block; position: fixed; inset: 0; z-index: 200; background: var(--paper); padding: 96px 32px 40px; transform: translateX(100%); visibility: hidden; transition: transform .6s var(--ease), visibility .6s; overflow-y: auto; }
  .is-menu .sp-menu { transform: none; visibility: visible; }
  .sp-menu li a { display: block; font-size: 15px; font-weight: 700; letter-spacing: .3em; line-height: 1; padding: 19px 0; border-bottom: 1px solid var(--line); }
  .sp-menu .sub-links { margin-top: 28px; display: grid; gap: 12px; font-size: 12px; letter-spacing: .14em; }
  .sp-menu .sub-links a { border-bottom: 1px solid #555; display: inline-flex; gap: 8px; align-items: center; width: max-content; }
  .hairline { display: block; width: calc(100% - 48px); }

  .mv { width: auto; display: block; padding: 40px 24px 0; }
  .mv__img, .mv__side { width: 100%; }
  .mv__side { margin-top: 96px; }
  .box { display: block; }
  .box::before, .box::after { display: none; }
  .box__ttl { writing-mode: horizontal-tb; display: block; width: max-content; margin: 0 auto 20px; padding: 7px 24px; letter-spacing: .3em; }
  .box + .box { margin-top: 56px; }
  .box__body { border-left: 1px solid var(--line); padding-left: 0; }
  .notice li a { padding: 20px 44px 20px 14px; }
  .news { grid-template-columns: 1fr; gap: 0; padding: 0; }
  .news a { display: grid; grid-template-columns: 42% 1fr; gap: 16px; padding: 14px 0 14px 14px; border-bottom: 1px solid var(--line); }
  .news time { margin-top: 0; }
  .more { text-align: center; margin-top: 30px; }

  .feature { margin-top: 70px; padding: 70px 0; }
  .feature__ul { width: calc(100% - 82px); grid-template-columns: 1fr; gap: 40px; margin-top: 56px; }
  .feature__note { width: calc(100% - 82px); text-align: left; }
  .content { width: calc(100% - 64px); padding-top: 80px; }
  .content__ul { display: block; margin-top: 56px; }
  .content__ul > li { width: 100%; }
  .content__ul > li + li { margin-top: 48px; }
  .content .img { aspect-ratio: 4 / 3; }
  .content h3 { line-height: 64px; }
  .sitemap { width: calc(100% - 64px); margin-top: 72px; padding-bottom: 56px; }
  .sitemap__ul { grid-template-columns: 1fr; gap: 22px; }
  .sitemap__ul a { gap: 16px; }
  .sitemap .img { width: 42%; }
  .sitemap p { display: none; }
  .sitemap h3 { margin-top: 1.4em; font-size: 14px; }
  .band { width: calc(100% - 64px); margin: 72px auto 90px; }
  .band__in { height: 110px; }
  .band__t { font-size: 15px; }
  .insta { padding: 80px 0; }
  .insta__ul, .insta__info, .sns { width: calc(100% - 64px); }
  .insta__ul { grid-template-columns: 1fr 1fr; margin-top: 56px; }
  .insta__info { display: block; }
  .insta__info p { width: 100%; margin-top: 22px; }
  .sns { margin-top: 48px; }
  .sns ul { gap: 40px; }
  .banners { padding: 64px 0 96px; }
  .banners__list { grid-template-columns: 1fr; gap: 24px; width: calc(100% - 64px); }
  .footer { padding: 56px 24px 72px; }
  .footer .tel { display: block; }
  .footer .tel::before { display: none; }
  .proto { left: 10px; bottom: 10px; }
}

/* ===== 動きを減らす設定 ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; transition-delay: 0s !important; }
  #wrapAll { opacity: 1; } .loader { display: none; }
  .feature__ul, .content__ul, .sitemap__ul, .band, .insta__ul { opacity: 1; }
  .ttl::after { opacity: 1; transform: none; }
  .sns::before, .sns::after { width: 100%; left: 0; }
}

/* =====================================================
   下層ページ（手本: 清水寺の下層。題の下に縦線が伸びる）
   ===================================================== */
.pmv { text-align: center; padding-top: 24px; }
.pmv h1 { display: block; width: 1em; margin: 0 auto; font-size: 30px; font-weight: 700; line-height: 1; }
.pmv h1 span { display: block; margin-bottom: .42em; }
.pmv .en { display: block; margin-top: 18px; font-size: 10px; letter-spacing: .32em; color: var(--ink-2); }
.pmv::after { content: ""; display: block; width: 1px; height: 0; margin: 26px auto 0; background: var(--line-2); transition: height 1.2s var(--ease) 1s; }
.js-pgload .pmv::after { height: 110px; }
.pimg { width: var(--wrap); margin: 40px auto 0; aspect-ratio: 21 / 9; overflow: hidden; }
.pimg img { width: 100%; height: 100%; object-fit: cover; }
.lead { width: min(640px, 82%); margin: 96px auto 0; font-size: 15px; line-height: 2.3; letter-spacing: .1em; text-align: center; }
.psec { width: var(--wrap); max-width: 1060px; margin: 120px auto 0; }
.psec .ttl { margin-bottom: 64px; }
.fade { opacity: 0; transform: translateY(12px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.fade.scrolled { opacity: 1; transform: none; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 6%; align-items: center; }
.split + .split { margin-top: 96px; }
.split.rev > :first-child { order: 2; }
.split .img { aspect-ratio: 4 / 3; overflow: hidden; }
.split .img img { width: 100%; height: 100%; object-fit: cover; }
.split h3 { font-size: 18px; font-weight: 700; letter-spacing: .24em; line-height: 1.6; margin-bottom: 22px; }
.split p { font-size: 14px; line-height: 2.2; letter-spacing: .08em; }
.split p + p { margin-top: 1em; }
.quote { margin-top: 28px; padding-left: 18px; border-left: 1px solid var(--red); font-size: 15px; line-height: 2.1; letter-spacing: .12em; }
.after { width: min(640px, 82%); margin: 140px auto 0; text-align: center; font-size: 14px; line-height: 2.2; letter-spacing: .1em; position: relative; padding-top: 80px; }
.after::before { content: ""; position: absolute; top: 0; left: 50%; width: 1px; height: 0; background: var(--line-2); transition: height 1s var(--ease); }
.after.scrolled::before { height: 56px; }
.after .button { display: inline-block; margin-top: 28px; font-size: 12px; letter-spacing: .28em; line-height: 32px; position: relative; }
.after .button::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--red-2); transition: width .6s var(--ease), left .6s var(--ease); }
.after .button:hover::after { width: 0; left: 100%; }
.pend { padding-bottom: 140px; }

/* 交通 */
.place-block { display: grid; grid-template-columns: 1.2fr 1fr; gap: 6%; align-items: start; }
.place-block + .place-block { margin-top: 110px; }
.map { aspect-ratio: 4 / 3; border: 1px solid var(--line); background: var(--paper-2); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; filter: saturate(.75); }
.place-block h3 { font-size: 18px; font-weight: 700; letter-spacing: .24em; margin-bottom: 18px; }
.place-block dl { margin: 0; display: grid; grid-template-columns: 5.5em 1fr; row-gap: 12px; font-size: 14px; line-height: 1.9; letter-spacing: .08em; border-top: 1px solid var(--line); padding-top: 18px; }
.place-block dt { color: var(--ink-2); font-size: 12px; letter-spacing: .2em; padding-top: 2px; }
.place-block dd { margin: 0; }
.place-block dd a { border-bottom: 1px solid var(--line-2); }
.place-block dd a:hover { opacity: .6; }
.linkbtn { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; font-size: 12px; letter-spacing: .2em; line-height: 30px; border-bottom: 1px solid var(--red); }
.linkbtn:hover { border-bottom-color: transparent; }
.linkbtn + .linkbtn { margin-left: 24px; }
.place-block .thumb { margin-top: 26px; aspect-ratio: 3 / 2; overflow: hidden; }
.place-block .thumb img { width: 100%; height: 100%; object-fit: cover; }

/* お知らせ一覧 */
.newslist { border-top: 1px solid var(--line); }
.newslist a { display: grid; grid-template-columns: 200px 9em 1fr 24px; gap: 28px; align-items: center; padding: 22px 8px; border-bottom: 1px solid var(--line); transition: background .6s var(--ease); }
.newslist a:hover { background: rgba(0, 0, 0, .04); }
.newslist .imgwrap { aspect-ratio: 3 / 2; overflow: hidden; position: relative; }
.newslist .imgwrap img { width: 100%; height: 100%; object-fit: cover; }
.newslist time { font-size: 12px; color: var(--ink-2); letter-spacing: .12em; }
.newslist p { font-size: 15px; letter-spacing: .1em; line-height: 1.8; }
.newslist .arr { position: static; margin: 0; }
.newslist .ext { font-size: 11px; color: var(--ink-2); margin-left: .6em; letter-spacing: .1em; }

/* お知らせ記事 */
.article { width: min(720px, 84%); margin: 72px auto 0; }
.article time { display: block; text-align: center; font-size: 12px; color: var(--ink-2); letter-spacing: .16em; }
.article h2 { text-align: center; font-size: 22px; font-weight: 700; letter-spacing: .16em; line-height: 1.7; margin-top: 14px; }
.article h2::after { content: ""; display: block; width: 20px; height: 2px; margin: 24px auto 0; background: var(--red); }
.article .body { margin-top: 56px; font-size: 15px; line-height: 2.3; letter-spacing: .08em; }
.article .body p + p { margin-top: 1.2em; }
.article .back { margin-top: 72px; text-align: center; }

/* お問い合わせ */
.ways { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4%; }
.way { border: 1px solid var(--line-2); padding: 40px 32px; text-align: center; background: rgba(255, 255, 255, .45); }
.way h3 { font-size: 15px; font-weight: 700; letter-spacing: .3em; }
.way .big { display: inline-block; margin-top: 18px; font-size: 26px; letter-spacing: .1em; border-bottom: 1px solid var(--line-2); }
.way p { margin-top: 14px; font-size: 13px; color: var(--ink-2); letter-spacing: .08em; line-height: 1.9; }
.way .line-btn { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; padding: 10px 28px; background: #06c755; color: #fff; font-size: 14px; letter-spacing: .14em; border-radius: 2px; }
.way .line-btn:hover { opacity: .8; }
.way .line-btn svg { width: 22px; height: 22px; }
.formwrap { margin-top: 32px; border: 1px solid var(--line); background: #fff; }
.formwrap iframe { display: block; width: 100%; height: 1400px; border: 0; }
.form-note { margin-top: 14px; font-size: 12px; color: var(--ink-2); text-align: right; }
.form-note a { border-bottom: 1px solid var(--line-2); }

@media (max-width: 768px) {
  .pmv { padding-top: 40px; }
  .pmv h1 { font-size: 24px; }
  .js-pgload .pmv::after { height: 64px; }
  .pimg { width: calc(100% - 48px); aspect-ratio: 4 / 3; margin-top: 28px; }
  .lead { margin-top: 64px; text-align: left; font-size: 14px; }
  .psec { width: calc(100% - 48px); margin-top: 88px; }
  .psec .ttl { margin-bottom: 44px; }
  .split { grid-template-columns: 1fr; gap: 28px; }
  .split.rev > :first-child { order: 0; }
  .split + .split { margin-top: 64px; }
  .after { margin-top: 96px; text-align: left; }
  .after::before { left: 0; }
  .place-block { grid-template-columns: 1fr; gap: 28px; }
  .place-block + .place-block { margin-top: 72px; }
  .linkbtn + .linkbtn { margin-left: 0; }
  .linkbtn { display: flex; width: max-content; }
  .newslist a { grid-template-columns: 96px 1fr; gap: 6px 16px; padding: 16px 0; }
  .newslist .imgwrap { grid-row: span 2; }
  .newslist .arr { display: none; }
  .newslist p { font-size: 14px; }
  .article { width: calc(100% - 48px); margin-top: 48px; }
  .article h2 { font-size: 19px; }
  .ways { grid-template-columns: 1fr; gap: 20px; }
  .way { padding: 32px 20px; }
  .formwrap iframe { height: 1500px; }
}
@media (prefers-reduced-motion: reduce) {
  .fade { opacity: 1; transform: none; }
  .pmv::after { height: 110px; }
  .after::before { height: 56px; }
}

/* 記事の写真 */
.article .photos { margin-top: 48px; display: grid; gap: 16px; }
.article .photos.two { grid-template-columns: 1fr 1fr; }
.article .photos img { width: 100%; height: auto; display: block; }
.article .src { margin-top: 40px; font-size: 12px; color: var(--ink-2); letter-spacing: .08em; text-align: right; }
.article .src a { border-bottom: 1px solid var(--line-2); }
@media (max-width: 768px) { .article .photos.two { grid-template-columns: 1fr; } }
.linkbtn .arr { position: static; margin: 0; width: 21px; height: 7px; }

/* 案内の一覧：アイコンのカード（LINE・Instagram は各社の公式マークの形と色のまま） */
.sitemap .img.icon { display: grid; place-items: center; background: #fff; border: 1px solid var(--line); }
.sitemap .img.icon svg { width: 26%; height: auto; position: relative; z-index: 0; }
.sitemap .img.icon .ic-pin { width: 28%; transition: transform .6s var(--ease); }
.sitemap a:hover .img.icon .ic-pin { transform: translateY(-4px); }
.sitemap .img.icon::after { z-index: 1; }
@media (max-width: 768px) { .sitemap .img.icon svg { width: 30%; } }

/* 写真がまだない区画 */
.split .img.nophoto { display: grid; place-items: center; background: var(--paper-2, #efede8); border: 1px dashed var(--line-2); }
.split .img.nophoto span { font-size: 12px; letter-spacing: .2em; color: var(--ink-2); }

/* 縦の写真は切らずに全体を見せる */
.pimg.tall { width: min(520px, 76%); aspect-ratio: auto; }
.pimg.tall img { height: auto; }
@media (max-width: 768px) { .pimg.tall { width: calc(100% - 48px); aspect-ratio: auto; } }
.split .img.dai2 { aspect-ratio: auto; display: grid; gap: 10px; }
.split .img.dai2 img { aspect-ratio: 4 / 3; }
