@charset "UTF-8";

/* ---------------------------------------------------------------- reset */
*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, p, figure, ul, li { margin: 0; padding: 0; }
img, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }

/* ---------------------------------------------------------------- tokens */
:root {
  --mincho: "Shippori Mincho", "Yu Mincho", YuMincho, "Hiragino Mincho ProN",
            "Noto Serif JP", serif;

  --ink:    #333;                 /* 本文 */
  --sub:    rgba(0, 0, 0, .58);   /* 補足。白地で 4.5:1 を満たす濃さ */
  --ftr:    #6e6e6e;              /* フッター文字。住所と電話は読めることを優先 */
  --cr:     #6e6e6e;              /* コピーライト */
  --paper:  #fff;
  --sumi:   #000;                 /* 動画帯・FVの黒地 */
  --accent: #d23527;              /* 朱：落款とホバー下罫のみ */

  --gutter: 90px;                 
}

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--mincho);
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.9;
  overflow-x: hidden;             /* 横溢れ保険 */
  overflow-x: clip;               /* hiddenはSafariでstickyを壊すためclip優先 */
  -webkit-font-smoothing: antialiased;
}

html.is-menu, html.is-menu body { overflow: hidden; }

.loading {
  position: fixed;
  inset: 0;
  z-index: 9000;
  /* 白地に朱の紋章 → 墨へ転じる二段演出（施主指定 2026-09-08） */
  background: var(--paper, #fdfdfc);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .9s ease, background-color 1.1s ease;
}
.loading.is-dark { background: var(--sumi); }
.loading.is-out { opacity: 0; pointer-events: none; }
.loading__logo {
  width: 118px;                 
  height: auto;
  opacity: 0;
  animation: loadIn 1.2s ease forwards;
}
@keyframes loadIn { to { opacity: 1; } }
/* 墨に転じると同時に紋章は静かに退く */
.loading.is-dark .loading__logo { animation: loadOut .8s ease forwards; }
@keyframes loadOut { from { opacity: 1; } to { opacity: 0; } }

.hdr {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 220;                    /* .menu(205) より上。ハンバーガーを閉じられるように */
  height: 0;                       /* 流し込みの高さを持たない */
  pointer-events: none;
}
.hdr > * { pointer-events: auto; }

.hdr__logo {
  position: fixed;
  top: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: block;
}
.hdr__logo img {
  width: 240px;
  height: auto;
  transition: opacity .5s ease;
}
.hdr__logo--w { opacity: .92; }
.hdr__logo--k { position: absolute; top: 0; left: 0; opacity: 0; }
.hdr.is-light .hdr__logo--w { opacity: 0; }
.hdr.is-light .hdr__logo--k { opacity: .95; }

/* 白地の区間では、ロゴの後ろに生成りの帯を敷いて本文と重ならないようにする。
   下端はぼかして、線で区切った「ヘッダーバー」にはしない。 */
.hdr::before {
  content: "";
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 104px;
  background: linear-gradient(to bottom,
    var(--paper, #fdfdfc) 0%, var(--paper, #fdfdfc) 68%, rgba(253,253,252,0) 100%);
  opacity: 0;
  transition: opacity .5s ease;
  pointer-events: none;
}
.hdr.is-light::before { opacity: 1; }

.hdr__nav { position: absolute; display: flex; }
.hdr__nav a {
  color: #fff;
  transition: opacity .4s ease, border-color .4s ease, color .5s ease;
}

.hdr__nav--en {
  left: 141px;
  top: 148px;
  flex-direction: column;
  gap: 13px;
}
.hdr__nav--en a {
  font-size: 11px;
  letter-spacing: .22em;
  line-height: 1;
  color: #ccc;
  border-bottom: 1px solid transparent;
  padding-bottom: 4px;
}
.hdr__nav--en a:hover { color: #fff; border-bottom-color: var(--accent); }

.hdr__nav--ja {
  right: 52px;
  top: 128px;
  flex-direction: row-reverse;     /* 縦書きは右の列から左へ進む */
  gap: 16px;
}
.hdr__nav--ja a {
  writing-mode: vertical-rl;
  -webkit-writing-mode: vertical-rl;
  font-size: 13px;
  letter-spacing: .28em;
  opacity: .82;
  border-left: 1px solid transparent;   /* 縦書きの「下罫」＝左罫 */
  padding-left: 6px;
}
.hdr__nav--ja a:hover { opacity: 1; border-left-color: var(--accent); }

/* 白地区間に入ったら墨に反転（JSが .is-light を付ける） */
.hdr.is-light .hdr__nav--ja a   { color: var(--ink); }
.hdr.is-light .hdr__nav--en a   { color: var(--sub); }
.hdr.is-light .hdr__nav--en a:hover { color: var(--ink); }
.hdr.is-light .hdr__burger span { background: var(--ink); }

/* 狭い画面のみ。既定は隠す。 */
.hdr__burger {
  position: fixed;                 /* 狭い画面では唯一の導線なので固定 */
  top: 22px; right: 18px;
  width: 40px; height: 40px;
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  z-index: 210;
}
.hdr__burger span {
  display: block;
  width: 22px; height: 1px;
  margin: 0 auto;
  background: #fff;
  transition: transform .3s ease, opacity .3s ease, background-color .5s ease;
}
.hdr__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hdr__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hdr__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 全画面メニュー（狭い画面） */
.menu {
  position: fixed;
  inset: 0;
  z-index: 205;
  background: var(--sumi);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .32s ease;
}
.menu[hidden] { display: none; }   /* display:flex が [hidden] を上書きするため明示 */
.menu.is-open { opacity: 1; }
.menu__nav { display: flex; flex-direction: column; gap: 34px; text-align: center; }
.menu__nav a { color: #fff; display: block; }
.menu__nav .ja { display: block; font-size: 19px; letter-spacing: .3em; }
.menu__nav .en { display: block; margin-top: 8px; font-size: 10px; letter-spacing: .3em; color: #ccc; }

.fixLead {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 190;
  color: var(--ink);
  transition: color .5s ease;
}
.fixLead.is-dark { color: #ccc; }          
.fixLead.is-dark:hover { color: #fff; }

.fixLead--l { left: 30px; }                /* 4. 左端中段：RESERVATION */
.fixLead--r { right: 30px; }               /* 5. 右端中段：ご予約 */

.fixLead__en,
.fixLead__ja {
  writing-mode: vertical-rl;
  -webkit-writing-mode: vertical-rl;
  display: block;
  border-left: 1px solid transparent;
  padding-left: 6px;
  transition: border-color .4s ease;
}
.fixLead__en { font-size: 12px; letter-spacing: .2em; }
.fixLead__ja { font-size: 18px; letter-spacing: .15em; }
.fixLead:hover .fixLead__en,
.fixLead:hover .fixLead__ja { border-left-color: var(--accent); }

/* ============================================================ 03 FV
   ========================================================== */
.fv { background: var(--sumi); }

/* 開幕：全画面の動画 → スクロールで枠が出て 600px 帯へ縮む。
   stage がスクロール量（100vh+60vh）を確保し、sticky が画面に貼り付く。
   縮小の進行は JS が CSS変数 --p（0→1）で渡す。 */
.fv__stage {
  position: relative;
  height: calc(100vh + 40vh);   /* 「やや」縮むぶんのスクロール距離 */
}
.fv__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--sumi);
  --p: 0;                        /* 0=フルブリード / 1=レターボックス帯 */
}

.fv__attention {
  position: absolute;
  left: 50%;
  bottom: 34px;
  z-index: 3;
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, .55);
  transform-origin: top;
  animation: attn 2.6s ease-in-out infinite;
}
@keyframes attn {
  0%   { transform: scaleY(0);   opacity: 0; }
  35%  { transform: scaleY(1);   opacity: 1; }
  70%  { transform: scaleY(1);   opacity: 1; }
  100% { transform: scaleY(1);   opacity: 0; }
}

.fv__texts {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -34%);  
  z-index: 4;
  color: #fff;
  pointer-events: none;
  text-shadow: 0 1px 14px rgba(0,0,0,.45);
}
.fv__month {                      /* 60px／字間0.8em（＝48px）／白 */
  writing-mode: vertical-rl;
  -webkit-writing-mode: vertical-rl;
  font-size: 60px;
  letter-spacing: .8em;
  line-height: 1;
  text-indent: .8em;              /* 字間ぶんの重心ずれを戻す */
  font-weight: 400;
}
.fv__monthEn {                    /* 12px／字間0.8em（＝9.6px）／白 */
  writing-mode: vertical-rl;
  -webkit-writing-mode: vertical-rl;
  font-size: 12px;
  letter-spacing: .8em;
  line-height: 1;
  text-indent: .8em;
  opacity: .85;
}

.vband {
  position: relative;
  width: 100%;
  background: var(--sumi);
  overflow: hidden;
}

.vband--fv {
  height: 600px;
  width: calc(100% - 180px * var(--p, 0));
  transition: none;              /* スクロール直結。トゥイーンさせない */
}
.vband--end { height: 475px; }

.vband__media { position: absolute; inset: 0; }

/* 動画（読み込めたときだけ Ken Burns の上に出す） */
.vband__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.6s ease;
}
.vband.is-video .vband__video { opacity: 1; }
.vband.is-video .kb { opacity: 0; }

/* Ken Burns フォールバック（静止画3枚・CSSのみ） */
.kb { position: absolute; inset: 0; transition: opacity 1.2s ease; }
.kb i {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  animation: kbCycle 27s ease-in-out infinite;
}
.kb i:nth-child(1) { animation-delay: 0s; }
.kb i:nth-child(2) { animation-delay: 9s; }
.kb i:nth-child(3) { animation-delay: 18s; }
@keyframes kbCycle {
  0%   { opacity: 0; transform: scale(1.00); }
  6%   { opacity: 1; }
  33%  { opacity: 1; }
  39%  { opacity: 0; transform: scale(1.10); }
  100% { opacity: 0; transform: scale(1.10); }
}

/* 帯の右下：フルスクリーン＋音声（縦棒4本のイコライザ型） */
.vband__ctrl {
  position: absolute;
  right: 26px;
  bottom: 22px;
  display: flex;
  align-items: flex-end;
  gap: 20px;
  z-index: 3;
}
.ico { opacity: .7; transition: opacity .3s ease; }
.ico:hover { opacity: 1; }

.ico--full { width: 20px; height: 20px; }
.ico--full svg {
  width: 20px; height: 20px;
  fill: none;
  stroke: #fff;
  stroke-width: 1;
}

.ico--sound {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 18px;
}
.ico--sound span {
  display: block;
  width: 1px;
  background: #fff;
}
.ico--sound span:nth-child(1) { height: 7px; }
.ico--sound span:nth-child(2) { height: 14px; }
.ico--sound span:nth-child(3) { height: 10px; }
.ico--sound span:nth-child(4) { height: 16px; }
.ico--sound:hover span { animation: eq .9s ease-in-out infinite alternate; }
.ico--sound:hover span:nth-child(2) { animation-delay: .15s; }
.ico--sound:hover span:nth-child(3) { animation-delay: .3s; }
.ico--sound:hover span:nth-child(4) { animation-delay: .45s; }
@keyframes eq { from { transform: scaleY(.5); } to { transform: scaleY(1.25); } }
.ico--sound span { transform-origin: bottom; }

.index { background: var(--paper); }

.fvImage {
  height: 525px;
  margin: 0 var(--gutter);
  overflow: hidden;
}
.fvImage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------------------------------------------------------- essay 907px */
.essay {
  padding: 121px 0 117px;         /* 実測で 907px ちょうどに合わせた値 */
  text-align: center;
}

/* タイトル部 210px */
.essay__head {
  height: 210px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
}
.essay__no {
  font-size: 11px;
  letter-spacing: .4em;
  color: var(--sub);
  text-indent: .4em;
}
.essay__title {
  font-size: 26px;
  font-weight: 400;
  letter-spacing: .34em;
  text-indent: .34em;
  color: var(--ink);
  line-height: 1.6;
}

/* 本文 16px／行間35px／字間1.6px／#333 */
.essay__body {
  max-width: 640px;
  margin: 0 auto;
  text-align: left;
}
.essay__body p {
  font-size: 16px;
  line-height: 35px;
  letter-spacing: 1.6px;
  color: var(--ink);
}
.essay__body p + p { margin-top: 28px; }

.essay__details {
  margin-top: 44px;
  font-size: 12px;
  letter-spacing: .18em;
  color: var(--sub);
}
.essay__details a {
  border-bottom: 1px solid transparent;
  padding-bottom: 4px;
  transition: border-color .4s ease, color .4s ease;
}
.essay__details a:hover { color: var(--ink); border-bottom-color: var(--accent); }
.essay__details .arw { margin-left: .7em; }

/* info 115px */
.essay__info {
  height: 115px;
  margin-top: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.essay__info p {
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--sub);
}

/* ============================================================ 05 フッター 471px
   縦ロゴ 92×136 → 住所2列（各523px）→ コピーライト 8px
   ========================================================== */
.ftr {
  background: var(--paper);
  padding: 74px 0 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--ftr);
}

.ftr__logo {
  width: 92px;
  height: 136px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ftr__logo span {
  writing-mode: vertical-rl;
  -webkit-writing-mode: vertical-rl;
  /* 92×136 の枠に1列で収まるサイズ（9文字 × 14.4px ＝ 130px < 136px） */
  font-size: 12px;
  letter-spacing: .2em;
  text-indent: .2em;
  color: var(--ink);
  white-space: nowrap;
}

.ftr__addr {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 0;
}
.ftr__col { width: 523px; }
.ftr__col--en { text-align: left;  padding-right: 40px; }
.ftr__col--ja { text-align: right; padding-left: 40px; }
.ftr__col p {
  font-size: 12px;
  line-height: 2;
  letter-spacing: .1em;
  color: var(--ftr);
}

.ftr__cr {
  margin-top: 46px;
  font-size: 10px;
  letter-spacing: .3em;
  color: var(--cr);
}

/* ============================================================ 画面幅の調整
   ========================================================== */

/* --- 中間（タブレット〜小型ノート） --- */
@media (max-width: 1180px) {
  :root { --gutter: 56px; }
  .ftr__col { width: 46%; }
  .hdr__nav--ja { right: 32px; top: 112px; }
  .hdr__nav--en { left: 56px;  top: 128px; }
}

@media (max-width: 900px) {
  .fixLead { display: none; }        /* ハンバーガーと導線が重なるため畳む */
}

@media (max-width: 767px) {
  :root { --gutter: 20px; }

  /* ヘッダー：縦書きナビは畳み、ロゴを左寄せ＋ハンバーガー */
  .hdr__nav { display: none; }
  .hdr__burger { display: flex; }
  .hdr__logo { left: 20px; top: 26px; transform: none; }
  .hdr__logo img { width: 172px; }

  /* FV：帯の高さを画面比に寄せる（1440×600 ＝ 帯:画面幅 5:12 を維持） */
  .fv__stage { height: calc(100vh + 30vh); }
  .vband--fv {
    height: 52vh;
    width: calc(100% - 40px * var(--p, 0));
  }
  .vband--end { height: 44vh; }

  .fv__texts { min-height: 380px; gap: 20px; }
  .fv__line   { height: 46px; }
  .fv__month  { font-size: 40px; }
  .fv__monthEn { font-size: 10px; }

  .fvImage { height: 300px; }

  .essay { padding: 72px 20px 64px; }
  .essay__head { height: auto; gap: 18px; padding: 0 0 48px; }
  .essay__title { font-size: 21px; letter-spacing: .26em; text-indent: .26em; }
  .essay__body { max-width: none; }
  .essay__body p { font-size: 15px; line-height: 31px; }
  .essay__info { height: auto; margin-top: 40px; }
  .essay__info p { line-height: 2.2; }

  .ftr { padding: 56px 20px 32px; }
  .ftr__addr { flex-direction: column; gap: 26px; margin-top: 30px; }
  .ftr__col { width: auto; text-align: center; padding: 0; }
  .ftr__col--ja { text-align: center; }
}

/* ============================================================ アクセシビリティ
   ========================================================== */
@media (prefers-reduced-motion: reduce) {
  .loading { display: none; }
  .kb i,
  .fv__attention,
  .ico--sound:hover span { animation: none; }
  .kb i:nth-child(1) { opacity: 1; }
  .fv__attention { opacity: .55; }
  .fv__stage { height: auto; }
  .fv__sticky { position: static; height: auto; padding: 0; --p: 1; }
  .vband--fv { height: 600px; }
  * { transition-duration: .01ms !important; }
}

:focus-visible { outline: 1px solid var(--accent); outline-offset: 4px; }

/* ============================================================
   プラン（エッセイ下）— 白地・4枠の扉。
   出現は「ふわっと浮かぶ」：下から28px・1.1秒・時差120ms。
   ホバーでもわずかに浮く。ベタ塗りなし・数字タイルなし。
   ========================================================== */
.bplans {
  max-width: 1260px;
  margin: 0 auto;
  padding: 96px 90px 40px;
}
.bplans__grid {
  display: grid;
  gap: 40px 36px;
  margin-top: 8px;
}
@media (min-width: 761px) { .bplans__grid { grid-template-columns: repeat(2, 1fr); } }

.bplans__item {
  display: block;
  text-decoration: none;
  color: #333;
  /* ふわっと出現（.is-in で解除） */
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity  1.1s cubic-bezier(0.215, 0.61, 0.355, 1),
    transform 1.1s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.bplans__item.is-in { opacity: 1; transform: translateY(0); }
/* 時差：カードごとに 120ms ずらす */
.bplans__item:nth-child(2) { transition-delay: .12s; }
.bplans__item:nth-child(3) { transition-delay: .24s; }
.bplans__item:nth-child(4) { transition-delay: .36s; }

.bplans__ph {
  display: block;
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-size: 0 0;   /* 描画は::beforeに任せる（inline指定のURLをinheritで受ける） */
}
.bplans__ph::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: inherit;
  background-size: cover;
  background-position: center 22%;
  transform: scale(1);
  transition: transform 1.8s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.bplans__item:hover .bplans__ph::before { transform: scale(1.045); }
.bplans__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(0, 0, 0, .12);
  margin-top: 18px;
}
.bplans__tag {
  display: inline-block;
  margin-left: 10px;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .18em;
  text-indent: .1em;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 2px 7px 1px 8px;
  vertical-align: 2px;
  white-space: nowrap;
}
.bplans__name {
  font-size: 17px;
  letter-spacing: .12em;
  font-weight: 500;
  padding-bottom: 3px;
  background-image: linear-gradient(var(--accent, #d23527), var(--accent, #d23527));
  background-repeat: no-repeat;
  background-size: 0 1px;
  background-position: left bottom;
  transition: background-size .7s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.bplans__item:hover .bplans__name { background-size: 100% 1px; }
.bplans__from {
  font-family: var(--font-num, "Prata", serif);
  font-size: 15px;
  letter-spacing: .04em;
  color: rgba(0, 0, 0, .55);
  white-space: nowrap;
}
.bplans .essay__details { margin-top: 44px; }

@media (max-width: 760px) {
  .bplans { padding: 64px 24px 24px; }
  .bplans__grid { gap: 34px; }
  /* モバイルは1列＝時差は控えめに */
  .bplans__item:nth-child(n) { transition-delay: 0s; }
}
@media (prefers-reduced-motion: reduce) {
  .bplans__item { opacity: 1; transform: none; transition: none; }
  .bplans__ph::before { transition: none; }
  .bplans__item:hover .bplans__ph::before { transform: none; }
  .bplans__item:hover .bplans__more .arw { transform: none; }
}

/* --- 3-3-2-1 構成の追加分（施主指示：プラン全載は絶対要件） --- */
.bplans__cat {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 64px 0 22px;
}
.bplans__cat:first-of-type { margin-top: 18px; }
.bplans__cat .en {
  font-family: "Cormorant Garamond", serif;
  font-size: 17px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, .38);
}
.bplans__cat .ja {
  font-size: 18px;
  letter-spacing: .2em;
  color: var(--ink, #1a1612);
}
@media (min-width: 1001px) { .bplans__grid--3 { grid-template-columns: repeat(3, 1fr); } }
.bplans__sub {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-top: 9px;
}
.bplans__copy {
  font-size: 12.5px;
  letter-spacing: .08em;
  line-height: 1.9;
  color: rgba(0, 0, 0, .52);
}
.bplans__more {
  font-size: 11px;
  letter-spacing: .16em;
  color: rgba(0, 0, 0, .42);
  white-space: nowrap;
  transition: color .5s;
}
.bplans__more .arw {
  display: inline-block;
  margin-left: 6px;
  transition: transform .5s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.bplans__item:hover .bplans__more { color: var(--accent, #d23527); }
.bplans__item:hover .bplans__more .arw { transform: translateX(4px); }
.bplans__item--fit .bplans__more { display: block; margin-top: 10px; }
.bplans__from small {
  display: block;
  font-family: -apple-system, "Hiragino Sans", sans-serif;
  font-size: 10px;
  letter-spacing: .08em;
  color: rgba(0, 0, 0, .4);
  text-align: right;
  margin-top: 3px;
}

/* 試着＝1枚の横長バナー（写真5:本文7） */
.bplans__item--fit {
  display: grid;
  border: 1px solid rgba(0, 0, 0, .12);
}
@media (min-width: 761px) { .bplans__item--fit { grid-template-columns: 5fr 7fr; } }
.bplans__item--fit .bplans__ph {
  aspect-ratio: auto;
  min-height: 220px;
  height: 100%;
}
.bplans__fitbody {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 34px 38px;
}
.bplans__item--fit .bplans__row { display: none; }
.bplans__fitdesc {
  font-size: 12.5px;
  line-height: 2;
  letter-spacing: .05em;
  color: rgba(0, 0, 0, .55);
}
.bplans__item--fit .bplans__from { margin-top: 4px; font-size: 18px; }
.bplans__item--fit:hover .bplans__ph { transform: none; box-shadow: none; }
.bplans__item--fit:hover { background: #fffdf8; }

/* ============================================================
   プラン詳細フロート — ふわっと立ち上がるモーダル。
   遷移させない（施主指示）。白地・明朝・細罫のB版トーン。
   ========================================================== */
.pmodal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  visibility: hidden;
  pointer-events: none;
}
.pmodal.is-open { visibility: visible; pointer-events: auto; }

.pmodal__scrim {
  position: absolute;
  inset: 0;
  background: rgba(26, 22, 18, .62);
  opacity: 0;
  transition: opacity .7s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.pmodal.is-open .pmodal__scrim { opacity: 1; }

.pmodal__panel {
  position: relative;
  width: min(880px, 100%);
  max-height: min(86vh, 780px);
  overflow-y: auto;
  background: #fdfcf9;
  display: grid;
  /* ふわっと：下から浮かび上がる */
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity  .9s cubic-bezier(0.215, 0.61, 0.355, 1),
    transform .9s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.pmodal.is-open .pmodal__panel { opacity: 1; transform: translateY(0); }
@media (min-width: 761px) {
  .pmodal__panel { grid-template-columns: 5fr 7fr; overflow: hidden; }
}

.pmodal__ph {
  display: block;
  background-size: cover;
  background-position: center 12%;
  min-height: 220px;
}
@media (min-width: 761px) { .pmodal__ph { min-height: 100%; } }

.pmodal__body {
  padding: 44px 46px 38px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow-y: auto;
}
.pmodal__no {
  font-family: "Cormorant Garamond", serif;
  font-size: 12px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, .38);
}
.pmodal__name {
  font-family: "Shippori Mincho", serif;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: .1em;
  line-height: 1.5;
  color: #222;
  margin: 0;
}
.pmodal__sub {
  font-size: 13px;
  letter-spacing: .08em;
  color: rgba(0, 0, 0, .55);
  margin: 0;
}
.pmodal__spec {
  margin: 10px 0 0;
  border-top: 1px solid rgba(0, 0, 0, .12);
  padding-top: 16px;
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 10px 14px;
}
.pmodal__spec dt {
  font-family: "Cormorant Garamond", serif;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, .38);
  padding-top: 3px;
}
.pmodal__spec dd {
  margin: 0;
  font-size: 13px;
  line-height: 2;
  letter-spacing: .04em;
  color: #333;
}
.pmodal__notes {
  font-size: 11.5px;
  line-height: 1.9;
  letter-spacing: .04em;
  color: rgba(0, 0, 0, .45);
  margin: 4px 0 0;
}
.pmodal__foot {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 0, 0, .12);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.pmodal__price {
  font-family: var(--font-num, "Prata", serif);
  font-size: 19px;
  letter-spacing: .03em;
  color: #222;
}
.pmodal__cta {
  font-size: 13px;
  letter-spacing: .1em;
  color: #333;
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 0, 0, .3);
  padding-bottom: 3px;
}
.pmodal__cta:hover { color: var(--accent); border-bottom-color: var(--accent); }
.pmodal__cta .arw { margin-left: 8px; }

.pmodal__close {
  position: absolute;
  top: 10px;
  right: 12px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  font-size: 22px;
  line-height: 1;
  color: rgba(0, 0, 0, .5);
  cursor: pointer;
}
.pmodal__close:hover { color: #222; }
@media (max-width: 760px) {
  .pmodal { padding: 14px; }
  .pmodal__body { padding: 30px 24px 26px; }
  .pmodal__close { color: rgba(0,0,0,.6); background: rgba(253,252,249,.9); border-radius: 50%; }
}
@media (prefers-reduced-motion: reduce) {
  .pmodal__scrim, .pmodal__panel { transition: none; }
  .pmodal__panel { transform: none; }
}

/* ============================================================
   区切り：反物の窓。背景固定で、スクロールすると隙間から覗く。
   薄い墨のスクリムで彩度を一段落とし、シックに。
   ========================================================== */
.tanmono {
  height: 46vh;
  min-height: 300px;
  margin-top: 72px;
  background-image:
    linear-gradient(rgba(26, 22, 18, .22), rgba(26, 22, 18, .22)),
    url('../images/tanmono.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
/* iOS Safari は fixed 非対応：通常スクロールにフォールバック */
@supports (-webkit-touch-callout: none) {
  .tanmono { background-attachment: scroll; }
}

/* ============================================================
   ロケーション（シック版）
   写真＋名前＋アクセスのみ。罫と余白で組む。
   ========================================================== */
.bloc {
  max-width: 1260px;
  margin: 0 auto;
  padding: 96px 90px 60px;
}
.bloc__lead {
  font-family: "Shippori Mincho", serif;
  font-size: 14px;
  line-height: 2.3;
  letter-spacing: .12em;
  color: rgba(0, 0, 0, .6);
  margin: 0 0 44px;
}
.bloc__grid {
  display: grid;
  gap: 40px 30px;
}
@media (min-width: 641px)  { .bloc__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1001px) { .bloc__grid { grid-template-columns: repeat(3, 1fr); } }

.bloc__item {
  margin: 0;
  position: relative;
  z-index: 1;                          /* 地図の線より上（写真を隠さない） */
  /* ふわっと出現（bplansと同じ機構） */
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity  1.1s cubic-bezier(0.215, 0.61, 0.355, 1),
    transform 1.1s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.bloc__item.is-in { opacity: 1; transform: translateY(0); }
.bloc__item:nth-child(3n+2) { transition-delay: .1s; }
.bloc__item:nth-child(3n)   { transition-delay: .2s; }

.bloc__ph {
  display: block;
  aspect-ratio: 16 / 10;
  background-size: cover;
  background-position: center 24%;
  /* シック：彩度をほんの少し落として揃える */
  filter: saturate(.86);
}
.bloc__item figcaption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-top: 13px;
  border-top: 1px solid rgba(0, 0, 0, .12);
  margin-top: 14px;
}
.bloc__name {
  font-family: "Shippori Mincho", serif;
  font-size: 14.5px;
  letter-spacing: .1em;
  color: #2c2c2c;
}
.bloc__meta {
  font-size: 11px;
  letter-spacing: .06em;
  color: rgba(0, 0, 0, .42);
  white-space: nowrap;
}
.bloc .essay__details { margin-top: 48px; }

@media (max-width: 760px) {
  .bloc { padding: 64px 24px 40px; }
  .bloc__grid { gap: 30px; }
  .bloc__item:nth-child(n) { transition-delay: 0s; }
  .tanmono { height: 34vh; margin-top: 56px; }
}
@media (prefers-reduced-motion: reduce) {
  .bloc__item { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   モデルコース — 歩く時間の追体験。
   左＝stickyの写真窓（場面がクロスフェード）／右＝時刻と一行。
   ========================================================== */
.course {
  max-width: 1260px;
  margin: 0 auto;
  padding: 96px 90px 48px;
}
.course__wrap { position: relative; }
@media (min-width: 861px) {
  /* セクション全体をピン留めするスクロールトラック。
     100vh のピン内に見出し・写真・工程を収め、残り 260vh ぶんの
     スクロールで場面を進める。写真は一切動かない。 */
  .course {
    height: 360vh;
    padding: 0 90px;
  }
  .course__pin {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    /* 中央揃えにすると本文の開閉で全体が再センタリングされ
       見出しまで動くため、上基準で固定する */
    justify-content: flex-start;
    padding-top: 9vh;
  }
  .course__pin .essay__head { margin-bottom: 4vh; }
  .course__wrap {
    display: grid;
    grid-template-columns: 6fr 5fr;
    gap: 70px;
    align-items: start;   /* 写真も不動に。開閉は下方向へだけ逃がす */
  }
  /* 非アクティブ工程は淡く、現在地だけ点灯。本文は現在地のみ開く */
  .course__step { opacity: .3; transition: opacity .7s; }
  .course__step.is-on { opacity: 1; }
  .course__step .course__text {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height .8s cubic-bezier(0.215, 0.61, 0.355, 1), opacity .8s;
  }
  .course__step.is-on .course__text { max-height: 8em; opacity: 1; }
  .course .essay__details { margin-top: 4vh; }
}
.course__stage {
  position: relative;
  aspect-ratio: 4 / 5;
  max-height: 62vh;
  overflow: hidden;
}
.course__ph {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 24%;
  filter: saturate(.88);
  opacity: 0;
  transform: scale(1.04);
  transition:
    opacity  1.4s cubic-bezier(0.215, 0.61, 0.355, 1),
    transform 6s   cubic-bezier(0.215, 0.61, 0.355, 1);
}
.course__ph.is-now { opacity: 1; transform: scale(1); }

.course__steps {
  list-style: none;
  margin: 0;
  padding: 0;
}
.course__step {
  padding: 2.4vh 0;
  border-bottom: 1px solid rgba(0, 0, 0, .1);
}
.course__step:last-child { border-bottom: 0; }
.course__time {
  display: block;
  font-family: "Shippori Mincho", serif;
  font-size: 13px;
  letter-spacing: .3em;
  color: rgba(0, 0, 0, .45);
  margin-bottom: 14px;
}
.course__name {
  font-family: "Shippori Mincho", serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: .14em;
  color: #2c2c2c;
  margin: 0 0 14px;
}
.course__text {
  font-size: 13.5px;
  line-height: 2.3;
  letter-spacing: .06em;
  color: rgba(0, 0, 0, .6);
  margin: 0;
  max-width: 26em;
}
.course .essay__details { margin-top: 24px; }

@media (max-width: 860px) {
  .course { padding: 64px 24px 40px; }
  /* モバイル：sticky窓はやめ、写真をステップごとにインライン表示 */
  .course__stagewrap { display: none; }
  .course__step { padding: 34px 0; }
  .course__step::before {
    content: "";
    display: block;
    aspect-ratio: 16 / 10;
    margin-bottom: 18px;
    background-size: cover;
    background-position: center 24%;
    background-image: var(--ph);
  }
}
@media (prefers-reduced-motion: reduce) {
  .course__ph { transition: none; transform: none; }
}

/* ============================================================
   案内図 — 写真グリッドの下。線画マップ＋朱ドット。
   ========================================================== */
.locmap {
  margin: 72px auto 0;
  max-width: 860px;
  position: relative;
}
.locmap img { display: block; width: 100%; height: auto; }
.locmap__dot {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 7px;
  pointer-events: none;
}
.locmap__dot i {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(210, 53, 39, .18);
  flex: none;
}
.locmap__dot em {
  font-style: normal;                 /* 恒久ルール：イタリック禁止 */
  font-family: "Shippori Mincho", serif;
  font-size: 11.5px;
  letter-spacing: .12em;
  color: #3a3a3a;
  white-space: nowrap;
  background: rgba(255, 255, 255, .82);
  padding: 2px 5px;
}
/* ラベルを下側に出す変種（上下の窮屈さ回避用） */
.locmap__dot--below { flex-direction: column; gap: 4px; }
@media (max-width: 760px) {
  .locmap { margin-top: 48px; }
  .locmap__dot i { width: 10px; height: 10px; }
  .locmap__dot em { font-size: 9.5px; letter-spacing: .06em; }
}

/* --- 中央セルの案内図（3×3グリッドの真ん中） ---
   見本準拠：セルに収めず、中央セルを起点に周囲のカードへ
   大きくはみ出して浮かせる。白地が周囲の写真を覆う。 --- */
.bloc__item--map { position: relative; z-index: 0; }  /* 写真の下に敷く */
.bloc__item--map::before {           /* セル分の場所取り（写真セルと同比率） */
  content: "";
  display: block;
  aspect-ratio: 16 / 10;
}
.bloc__mapwrap {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 114%;                        /* 見本準拠：セル幅の約1.1倍。左右へは僅かに、
                                         主に上下（キャプション帯）へはみ出す */
  /* 背景なし：透過の線画のまま、写真の下に潜らせて隙間から覗かせる */
}
.bloc__mapwrap img { display: block; width: 100%; height: auto; }
/* セル内はドットのみ（ラベル文字はスペースが無いため出さない） */
.bloc__item--map .locmap__dot { position: absolute; transform: translate(-50%,-50%); }
.bloc__item--map .locmap__dot i {
  display: block;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(210,53,39,.16);
}
/* 2列・1列レイアウトでは、はみ出しをやめてセル内に戻す */
@media (max-width: 1000px) {
  .bloc__item--map::before { display: none; }
  .bloc__mapwrap {
    position: static;
    transform: none;
    width: 100%;
    box-shadow: none;
  }
  .bloc__item--map .locmap__dot i { width: 8px; height: 8px; }
}

/* ============================================================
   プラン「お品書き型」行（2026-09-15 施主承認の提案A）
   縦3:4写真を左、右にプラン名…リーダー罫…金額。
   .bplansカード系は group-b.html が使うため残し、こちらは追加分。
   ========================================================== */
.pgrid2{display:grid;grid-template-columns:1fr 1fr;gap:0 clamp(40px,5vw,76px);align-items:start}
@media (max-width:1000px){.pgrid2{grid-template-columns:1fr;gap:0}}
/* 下段（撮影付き｜ご試着）の見出し上の余白を広げる */
.pgrid2 + .pgrid2 .bplans__cat{margin-top:48px}
.prow{
  background-size:0 0;               /* 行自身は描かない（子のphが::beforeで描く） */
  display:grid;grid-template-columns:154px 1fr;gap:26px;
  padding:20px 0;border-bottom:1px solid rgba(0,0,0,.12);
  cursor:pointer;text-decoration:none;color:var(--ink);
  opacity:0;transform:translateY(28px);
  transition:opacity 1s cubic-bezier(.215,.61,.355,1),transform 1s cubic-bezier(.215,.61,.355,1);
}
.prow.is-in{opacity:1;transform:none}
.bplans__cat + .prow{border-top:1px solid rgba(0,0,0,.12)}
.prow__ph{
  aspect-ratio:3/4;overflow:hidden;position:relative;background-size:0 0;
}
.prow__ph::before{
  content:"";position:absolute;inset:0;background-image:inherit;
  background-size:cover;background-position:var(--pos,center 18%);
  transition:transform 1.8s cubic-bezier(.215,.61,.355,1);
}
.prow:hover .prow__ph::before{transform:scale(1.045)}
.prow__body{display:flex;flex-direction:column;justify-content:center;min-width:0}
.prow__line{display:flex;align-items:baseline;gap:12px}
.prow__name{flex:0 1 auto;font-size:16px;font-weight:500;letter-spacing:.14em;color:var(--ink);line-height:1.6}
.prow__leader{flex:1;min-width:26px;border-bottom:1px dotted rgba(0,0,0,.38);transform:translateY(-5px)}
.prow__price{font-family:var(--font-num,"Prata",serif);font-size:15px;color:var(--ink);white-space:nowrap}
.prow__price{text-align:right;line-height:1.3}
.prow__price small{display:block;font-family:var(--mincho);font-size:10.5px;color:rgba(0,0,0,.55);margin-top:3px}
.prow__copy{margin:10px 0 0;font-size:13px;letter-spacing:.06em;color:rgba(0,0,0,.68);line-height:2}
.prow__spec{margin:14px 0 0;font-size:12px;letter-spacing:.05em;color:rgba(0,0,0,.5);line-height:1.9}
.prow__more{margin:12px 0 0;font-size:11px;letter-spacing:.16em;color:rgba(0,0,0,.42);transition:color .5s}
.prow__more .arw{display:inline-block;margin-left:6px;transition:transform .5s}
.prow:hover .prow__more{color:var(--accent)}
.prow:hover .prow__more .arw{transform:translateX(4px)}
.prow__tag{display:inline-block;margin-left:10px;font-size:10px;letter-spacing:.18em;color:var(--accent);border:1px solid var(--accent);padding:2px 7px 1px 8px;vertical-align:3px;white-space:nowrap}
@media (max-width:700px){
  .prow{grid-template-columns:134px 1fr;gap:16px}
  .prow__name{font-size:15px;white-space:normal}
}
@media (prefers-reduced-motion:reduce){
  .prow{opacity:1;transform:none;transition:none}
  .prow__ph::before{transition:none}
  .prow:hover .prow__ph::before{transform:none}
}

/* ============================================================
   ひろみさん写真差し替え（2026-09-17）
   ========================================================== */
/* トップの区切り帯：反物ではなく写真。団体ページは .tanmono（反物）のまま */
.tanmono--top{
  background-image:
    linear-gradient(rgba(26,22,18,.12),rgba(26,22,18,.12)),
    url('../images/top_divider_1192.jpg?v=20260917r');
  background-position:center 40%;
}
/* 最下部の帯：動画をやめた写真1枚。ゆっくり寄る余韻だけ残す */
.vband__photo{
  position:absolute;inset:0;
  background-size:cover;background-repeat:no-repeat;
  animation:endZoom 24s ease-in-out infinite alternate;
}
@keyframes endZoom{from{transform:scale(1)}to{transform:scale(1.06)}}
@media (prefers-reduced-motion:reduce){.vband__photo{animation:none}}

/* ============================================================
   カジュアル／スタンダードの違い（2026-09-28 会長ご要望）
   写真が揃うまでは、持ち物の有無で違いを示す。罫線だけの静かな表。
   ========================================================== */
.pdiff{ max-width:720px; margin:54px auto 0; }
.pdiff__head,.pdiff__row{
  display:grid; grid-template-columns:1fr 132px 132px; align-items:center;
  padding:11px 4px; border-bottom:1px solid rgba(0,0,0,.1);
}
.pdiff__head{ border-bottom:1px solid rgba(0,0,0,.28); padding-bottom:14px; }
.pdiff__item{ font-size:13.5px; letter-spacing:.08em; color:var(--ink); }
.pdiff__head .pdiff__item{ font-size:12px; letter-spacing:.18em; color:rgba(0,0,0,.55); }
.pdiff__c{ text-align:center; font-size:15px; color:rgba(0,0,0,.3); }
.pdiff__row .pdiff__c:last-child{ color:var(--accent); }
.pdiff__row .pdiff__c:nth-child(2){ color:var(--ink); }
.pdiff__head .pdiff__c a{
  display:block; text-decoration:none; color:var(--ink);
  font-size:14px; letter-spacing:.1em; font-weight:500;
}
.pdiff__head .pdiff__c a small{
  display:block; margin-top:4px; font-family:var(--font-num,"Prata",serif);
  font-size:12px; color:rgba(0,0,0,.6); letter-spacing:.04em; font-weight:400;
}
.pdiff__note{ margin:18px 0 0; font-size:12px; line-height:2; letter-spacing:.05em; color:rgba(0,0,0,.6); }
@media (max-width:700px){
  .pdiff__head,.pdiff__row{ grid-template-columns:1fr 74px 74px; }
  .pdiff__item{ font-size:12.5px; }
  .pdiff__head .pdiff__c a{ font-size:12px; letter-spacing:.04em; }
}

/* ============================================================
   プランフロート ／ セット内容（小物の丸サムネイル）
   写真がまだ無い小物は .is-empty（破線の空丸）で枠だけ確保する。
   ============================================================ */
.pmodal__set {
  margin: 14px 0 0;
  padding-top: 18px;
  border-top: 1px solid rgba(0, 0, 0, .12);
}
.pmodal__setttl {
  margin: 0 0 14px;
  font-size: 11px;
  letter-spacing: .18em;
  color: rgba(0, 0, 0, .45);
}
.pmset {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(66px, 1fr));
  gap: 18px 12px;
}
.pmset__i { text-align: center; }
.pmset__ph {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: #f1ece2 center / cover no-repeat;
}
.pmset__i.is-empty .pmset__ph {
  background: transparent;
  border: 1px dashed rgba(0, 0, 0, .22);
}
.pmset__n {
  display: block;
  margin-top: 8px;
  font-size: 11.5px;
  line-height: 1.5;
  letter-spacing: .02em;
  color: #333;
}
@media (max-width: 760px) {
  .pmset { grid-template-columns: repeat(auto-fill, minmax(58px, 1fr)); gap: 16px 10px; }
  .pmset__n { font-size: 11px; }
}

/* ============================================================
   ギャラリー帯（Gallery）
   高さだけを揃えて横一列に流す。縦横の比率は元のままなので、
   幅の違いがそのまま並びのリズムになる。
   ============================================================ */
.gal { margin: 0 0 18px; padding-top: 26px; }
.gal__lead {
  text-align: center;
  font-size: 13px;
  line-height: 2;
  letter-spacing: .06em;
  color: #4a443e;
  margin: -6px 0 34px;
}
.gal__tape {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  cursor: grab;
  touch-action: pan-x;
}
.gal__tape::-webkit-scrollbar { display: none; }
.gal__tape.is-drag { cursor: grabbing; }
.gal__track {
  display: flex;
  gap: 10px;
  padding: 0 10px;
  width: max-content;
}
.gal__item {
  flex: 0 0 auto;
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  background: #efe9dc;
  overflow: hidden;
  cursor: pointer;
}
.gal__item img {
  display: block;
  height: 450px;
  width: auto;
  user-select: none;
  -webkit-user-drag: none;
  transition: transform 1.6s cubic-bezier(.215,.61,.355,1);
}
.gal__item:hover img { transform: scale(1.04); }
.gal__item:focus-visible { outline: 1px solid var(--accent); outline-offset: 2px; }
@media (max-width: 760px) {
  .gal__item img { height: 260px; }
  .gal__lead { font-size: 12.5px; margin-bottom: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .gal__item img, .gal__item:hover img { transition: none; transform: none; }
}

/* --- 拡大表示 --- */
.galbox {
  position: fixed;
  inset: 0;
  z-index: 320;
  display: grid;
  place-items: center;
  padding: 6vh 7vw;
  visibility: hidden;
  pointer-events: none;
}
.galbox.is-open { visibility: visible; pointer-events: auto; }
/* 拡大中はヘッダーと両端の導線を伏せる（写真に集中させる） */
body.gal-open .hdr,
body.gal-open .fixLead { opacity: 0; pointer-events: none; transition: opacity .4s; }
.galbox__scrim {
  position: absolute;
  inset: 0;
  background: rgba(14, 12, 10, .92);
  opacity: 0;
  transition: opacity .5s;
}
.galbox.is-open .galbox__scrim { opacity: 1; }
.galbox__fig {
  position: relative;
  margin: 0;
  max-width: 100%;
  opacity: 0;
  transform: scale(.985);
  transition: opacity .6s cubic-bezier(.215,.61,.355,1), transform .6s cubic-bezier(.215,.61,.355,1);
}
.galbox.is-open .galbox__fig { opacity: 1; transform: none; }
.galbox__img {
  display: block;
  max-width: 100%;
  max-height: 78vh;
  margin: 0 auto;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .55);
}
.galbox__cap {
  margin: 16px 0 0;
  text-align: center;
  font-size: 12.5px;
  letter-spacing: .08em;
  color: rgba(255, 255, 255, .82);
}
.galbox__close,
.galbox__nav {
  position: absolute;
  border: 0;
  background: none;
  color: rgba(255, 255, 255, .8);
  cursor: pointer;
  line-height: 1;
  transition: color .3s;
}
.galbox__close:hover,
.galbox__nav:hover { color: #fff; }
.galbox__close { top: 20px; right: 26px; font-size: 30px; }
.galbox__nav { top: 50%; transform: translateY(-50%); font-size: 46px; padding: 10px 14px; }
.galbox__nav--prev { left: 10px; }
.galbox__nav--next { right: 10px; }
@media (max-width: 760px) {
  .galbox { padding: 8vh 4vw; }
  .galbox__img { max-height: 70vh; }
  .galbox__nav { font-size: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  .galbox__scrim, .galbox__fig { transition: none; }
  .galbox__fig { transform: none; }
}

/* フッターの規約リンク */
.ftr__links { text-align: center; margin: 26px 0 0; }
.ftr__links a {
  display: inline-block; margin: 0 14px 6px;
  font-size: 11.5px; letter-spacing: .1em; text-decoration: none;
  color: rgba(255,255,255,.72); border-bottom: 1px solid rgba(255,255,255,.26);
  padding-bottom: 3px; transition: color .4s, border-color .4s;
}
.ftr__links a:hover { color: #fff; border-bottom-color: rgba(255,255,255,.7); }
.ftr.light .ftr__links a { color: rgba(0,0,0,.6); border-bottom-color: rgba(0,0,0,.22); }
.ftr.light .ftr__links a:hover { color: var(--accent); border-bottom-color: var(--accent); }

/* ============================================================
   多言語（2026-10-15）
   ・言語の切り替えはヘッダー左、英字ナビの真下に置く
   ・非日本語のときは縦書きの日本語ナビを畳み、横書きナビを当該言語で使う
   ============================================================ */
.langsw {
  position: absolute;      /* ヘッダーの英字ナビと同じ挙動（上端にだけ出す） */
  left: 141px;
  top: 316px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 9px;
  align-items: flex-start;
}
.langsw a {
  font-size: 10.5px;
  letter-spacing: .18em;
  line-height: 1;
  color: #ccc;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 3px;
  cursor: pointer;
}
.langsw a:hover,
.langsw a[aria-current="true"] { color: #fff; border-bottom-color: var(--accent); }

.hdr.is-light .langsw a { color: var(--sub); }
.hdr.is-light .langsw a:hover,
.hdr.is-light .langsw a[aria-current="true"] { color: var(--ink); }

/* 非日本語：縦書きナビとメニューの英字副題を畳む */
html.lang-x .hdr__nav--ja { display: none; }
html.lang-x .menu__nav .en { display: none; }
/* 見出しの英字副題は、日本語のときだけ意匠として添える */
html.lang-x .bplans__cat .en { display: none; }

/* 狭い画面：ヘッダーの切り替えは畳み、メニューの中のものを使う */
.langsw--menu { position: static; flex-direction: row; gap: 22px; margin-top: 40px; }
.langsw--menu a { color: var(--sub); font-size: 11.5px; }
.langsw--menu a:hover,
.langsw--menu a[aria-current="true"] { color: var(--ink); }
@media (min-width: 768px) { .langsw--menu { display: none; } }
@media (max-width: 767px) { .langsw:not(.langsw--menu) { display: none; } }

/* 規約ページ：翻訳の注記（日本語のときは出さない） */
.tprevail{
  max-width:720px; margin:0 auto 10px; padding:10px 18px;
  border:1px solid var(--line, rgba(0,0,0,.14));
  font-size:12.5px; line-height:1.8; color:var(--sub, #4a443e); text-align:center;
}
html.lang-ja .tprevail{ display:none; }
