/* ============================================================
   brand-hitozuma.css — 人妻in誘惑スイートルーム（brand.css の後に読む）
   世界観：白いサテンのスイートルーム。本文の面は淡いアイボリー、
   ヘッダー・ドロワー・フッターはグループ共通の夜色のまま。
   最初の画面：閉じた両開きの扉が奥へ開き、扉をくぐって部屋に入る
   ============================================================ */

/* ---------- 本文の面だけ色を差し替える（main の外は共通の夜色） ---------- */
.page-brand main {
  --night:   #f6f1eb;   /* 地：アイボリーのサテン */
  --night-2: #ece4da;   /* 面 */
  --night-3: #e2d7cb;   /* ホバー・トラック */
  --line:    rgba(74, 52, 52, .16);
  --line-2:  rgba(74, 52, 52, .32);
  --text:    #2b2020;   /* 墨（ロゴのココア寄り） */
  --text-2:  #5a4a46;
  --text-3:  #6e5e59;
  background: var(--night);
  color: var(--text);
}
.page-brand main ::selection { background: var(--accent); color: #fff; }

/* ================= 最初の画面 ================= */
.bh--suite { background: #efe7de; }
.bh--suite .bh-pin { background: #efe7de; }

/* 奥：縦長の画面で集合写真のまわりに見える面。同じ写真をぼかして敷く（2026-10-17 J-4。前はスイートルームの写真） */
.hz-room { position: absolute; inset: 0; z-index: 0; display: none; overflow: hidden; }
.hz-room img { position: absolute; inset: -40px; width: calc(100% + 80px); height: calc(100% + 80px); max-width: none; object-fit: cover; object-position: 50% 50%; filter: blur(24px) brightness(.92); }
.hz-room::after { content: ""; position: absolute; inset: 0; background: rgba(246, 241, 235, .2); }

/* 中：6人の写真。PCは全面（写真の上に文字は置かない。2026-10-15） */
.bh--suite .bh-photo { z-index: 1; will-change: transform; transform-origin: 50% 15%; }
.bh--suite .bh-photo img { object-position: 42% 42%; }  /* 左上に焼き込まれたロゴを切らない */
/* 全面で見せるのは横長の画面だけ（縦横比 6:5 超）。それ以下は下の「帯」にする（写真の横幅の70%以上を見せるため）
   扉が開くころにはヘッダーが地色つきになるので、写真はその下から始めて上端を基準に寄る（焼き込みの縦書きコピーを隠さない） */
@media (min-width: 768px) and (min-aspect-ratio: 121/100) {
  .bh--suite.is-anim .bh-photo { top: 60px; transform-origin: 50% 0%; }
  /* 扉なし（動きを減らす設定）でも同じ：ヘッダーの裏は夜色の帯にして、写真はその下から */
  .bh--suite:not(.is-anim) .bh-pin { background: #0d0a0b; }
  .bh--suite:not(.is-anim) .bh-photo { top: 60px; }
}
/* 横長の画面：写真は切らずに全体を見せる（2026-10-24 クライアント指示。「切らない」を優先。前は四辺に焼き込まれた白っぽい縁の線を隠すため
   104.5% に広げ、上下左右が約2%ずつ欠けていた〔2026-10-17 J-4〕）。ヘッダーの下の残りに収め、余る上下か左右の細い隙間は
   画像のいちばん外側の帯（写真をぼかした帯・約20〜30px）を外へ引き伸ばして敷く。左半分・右半分に同じ画像を横に約2倍（16:9 の画面の左右の隙間 約57px を帯で覆える大きさ）に伸ばして外の端に寄せて置き、
   隙間に来るのが、その辺の帯と同じ色になるようにする（無地の色や写真全体のぼかしを敷くと、地 → 帯 → 白い面の2段の額に見えた）。
   見える境目は画像の中の白い面の縁だけ（画像に焼き込まれているもの） */
@media (min-width: 768px) and (min-aspect-ratio: 121/100) {
  .bh--suite .bh-photo { overflow: hidden; }
  .bh--suite .bh-photo::before, .bh--suite .bh-photo::after { content: ""; position: absolute; top: 0; bottom: 0; width: 50%;
    background: url("../assets/v-hitozuma.webp") no-repeat; background-size: 400% 100%; filter: blur(6px); }
  .bh--suite .bh-photo::before { left: 0; background-position: 0 0; }
  .bh--suite .bh-photo::after { right: 0; background-position: 100% 0; }
  .bh--suite .bh-photo img { position: relative; z-index: 1; object-fit: contain; object-position: 50% 50%; }
}
@media (min-width: 1081px) and (min-aspect-ratio: 121/100) {
  .bh--suite.is-anim .bh-photo { top: 64px; }
  .bh--suite:not(.is-anim) .bh-photo { top: 76px; }
}

/* 扉の隙間からあふれる光（扉の奥・切り抜きの後ろ） */
.hz-spill { position: absolute; inset: 0; z-index: 2; display: none; opacity: 0; pointer-events: none;
  background: radial-gradient(46% 80% at 50% 50%, rgba(255,252,246,1) 0%, rgba(255,248,238,.92) 38%, rgba(255,244,230,.55) 62%, rgba(255,244,230,0) 86%); }

/* 手前：扉のすぐ奥に立つひとり（隙間から見え隠れし、入ると脇へ退く） */

/* 扉 */
.hz-doors { position: absolute; inset: 0; z-index: 4; display: none; perspective: 1500px; perspective-origin: 50% 46%; will-change: transform, opacity; }
.hz-door { position: absolute; top: 0; bottom: 0; width: 50%; overflow: hidden; background: #8f8176; will-change: transform; backface-visibility: hidden; }
.hz-door--l { left: 0; transform-origin: 0% 50%; }
.hz-door--r { right: 0; transform-origin: 100% 50%; }
/* サテンは1枚の布を左右に分けて張る（合わせ目で柄がつながる） */
.hz-satin { position: absolute; top: 0; height: 100%; width: 200%; max-width: none; object-fit: cover; object-position: 50% 30%;
  filter: brightness(.8) sepia(.3) saturate(1.05) contrast(1.04); }
.hz-door--l .hz-satin { left: 0; }
.hz-door--r .hz-satin { right: 0; }
/* 廊下の照明：外側は沈み、合わせ目に近いほど漏れた光を受ける */
.hz-door::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(36, 24, 20, .42) 0%, rgba(36, 24, 20, 0) 24%, rgba(36, 24, 20, 0) 72%, rgba(36, 24, 20, .42) 100%); }
.hz-door::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hz-door--l::after { background: linear-gradient(90deg, rgba(36, 24, 20, .4) 0%, rgba(36, 24, 20, .08) 48%, rgba(255, 240, 222, 0) 80%, rgba(255, 240, 222, .3) 100%); }
.hz-door--r::after { background: linear-gradient(270deg, rgba(36, 24, 20, .4) 0%, rgba(36, 24, 20, .08) 48%, rgba(255, 240, 222, 0) 80%, rgba(255, 240, 222, .3) 100%); }
/* ロゴ：合わせ目で半分ずつ。扉と一緒に割れる。明るいサテンの上で読めるよう、白い刻印にせず公式ロゴの色のまま置く（締めの1枚と同じ。2026-10-19 オーナー指示） */
.hz-mark { position: absolute; top: var(--hz-g0); z-index: 2; width: var(--mw); max-width: none; height: auto; }
/* 刻印・取っ手・店名をひとまとまりにして、ヘッダーの下の見えている所の天地中央に置く（2026-10-25 オーナー指示「もう少し大きくして天地中央に。少し上寄りに見える」）。
   --mw 刻印の幅（高さはその .733）・--hh 取っ手の高さ・--hg あいだ・--tf 店名の字の大きさ */
.bh--suite { --mw: clamp(140px, 12.5vw, 190px); --hh: 128px; --hg: 40px; --tf: clamp(17px, 1.5vw, 21px); --hz-c: calc(50% + 38px);
  --hz-g0: calc(var(--hz-c) - (var(--mw) * .733 + var(--hg) * 2 + var(--hh) + var(--tf) * 1.4) / 2); }
.hz-door--l .hz-mark { right: calc(var(--mw) / -2); }
.hz-door--r .hz-mark { left: calc(var(--mw) / -2); }
/* 取っ手（真鍮の細い引き手） */
.hz-handle { position: absolute; top: calc(var(--hz-g0) + var(--mw) * .733 + var(--hg)); z-index: 2; width: 6px; height: var(--hh); border-radius: 9999px;
  background: linear-gradient(90deg, #7d6446 0%, #e6cfa2 45%, #b39468 70%, #7d6446 100%);
  box-shadow: 0 6px 14px rgba(20, 12, 8, .45); }
.hz-door--l .hz-handle { right: clamp(18px, 2.6vw, 40px); }
.hz-door--r .hz-handle { left: clamp(18px, 2.6vw, 40px); }
/* 開くにつれて落ちる陰（JSで濃くする） */
.hz-shade { position: absolute; inset: 0; z-index: 3; background: #1d1310; opacity: 0; pointer-events: none; }
/* 合わせ目の細い光 */
.hz-seam { position: absolute; top: 0; bottom: 0; left: 50%; z-index: 3; width: 2px; margin-left: -1px; background: #fff8ec;
  box-shadow: 0 0 10px 2px rgba(255, 240, 218, .9), 0 0 48px 10px rgba(255, 232, 204, .32); transform-origin: 50% 50%; }
.bh.is-anim .hz-doors, .bh.is-anim .hz-spill { display: block; }
/* 扉の上の店名（共通の形は brand.css の .bh-copy）。ロゴは扉の刻印（.hz-mark）をそのまま使い、画像は重ねない。
   店名だけを刻印と取っ手より下に1行で置く（2026-10-17） */
.bh--suite.is-anim .bh-copy { inset: calc(var(--hz-g0) + var(--mw) * .733 + var(--hg) * 2 + var(--hh)) 0 auto; padding: 0 var(--gutter); }
.bh--suite .bh-title { font-size: var(--tf); font-family: var(--f-mincho); color: #3a2622; text-shadow: 0 0 10px rgba(255, 248, 236, .7); }   /* 締めの一言と同じココアの墨色（白は明るいサテンで読めなかった） */

/* 縦長の画面（スマホ・縦持ちタブレット）：写真は横長のまま帯で見せる（横幅の91%が見える）。まわりは部屋 */
@media (max-width: 767px), (max-aspect-ratio: 6/5) {
  .hz-room { display: block; }
  .bh--suite .bh-photo { inset: auto; left: -5vw; width: 110vw; top: calc(38% - 31vw); aspect-ratio: 16 / 9; transform-origin: 50% 50%;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 86%, transparent 100%);
            mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 86%, transparent 100%); }
  .bh--suite .bh-photo img { object-position: 50% 50%; }
  .hz-satin { object-position: 50% 40%; }
}
/* スマホ：写真は切らずに丸ごと、部屋の壁に掛けた1枚にする（共通の形は brand.css の .sfv。2026-10-25。
   前は女の子6人に寄せて左上のロゴと右下の筆記体を切り、上下をぼかしていた〔2026-10-19〕）。扉が開く間、写真は箱ごと少し遠くから寄る */
@media (max-width: 767px) {
  .sfv .hz-room { display: none; }
  .sfv.bh--suite .bh-photo { inset: auto; left: var(--sfv-kl); top: var(--sfv-kt); width: var(--sfv-kw); height: var(--sfv-kh); aspect-ratio: auto;
    overflow: hidden; transform-origin: 50% 50%; box-shadow: var(--sfv-shadow); -webkit-mask-image: none; mask-image: none; }
  .sfv.bh--suite .bh-photo img { object-fit: fill; }
}
@media (max-width: 767px) {
  .bh--suite { --mw: 150px; --hh: 96px; --hg: 32px; --tf: 16px; --hz-c: calc(50% + 30px); }
  .hz-handle { width: 5px; }
}

/* ================= 2つ目の区画の文章（コンセプト） ================= */
.page-brand main .concept-lead b, .page-brand main .concept-text b { color: var(--text); font-weight: 700; }

/* ================= 店舗 ================= */
.page-brand main .shop-img { box-shadow: 0 24px 48px rgba(74, 52, 52, .18); }
.page-brand main .shop-name { font-weight: 800; letter-spacing: .04em; }
.page-brand main .shop-facts small { font-size: 13px; }
.page-brand main .sec-title.mincho { font-weight: 800; letter-spacing: .04em; }

/* ================= 締め：開いていた両開きの扉が閉じ、閉じた扉に締めの1枚が浮かぶ（共通の形は brand.css の .bfin） =================
   最初の画面（閉じた扉が奥へ開いて部屋に入る）の逆。扉の布・刻印・取っ手・合わせ目の光は最初の画面に合わせる。
   刻印は締めの1枚のロゴの位置・大きさに合わせて JS が置き、閉じきると合わさって、その上にロゴの色が浮かぶ。
   本文の面は明るい地なので、締めの舞台だけ夜の色（tokens.css の既定）に戻す */
.page-brand main .bfin--hitozuma { --night: #0d0a0b; --text: #f4eeea; --text-2: rgba(244, 238, 234, .76); --text-3: rgba(244, 238, 234, .6);
  --line: rgba(244, 238, 234, .16); --line-2: rgba(244, 238, 234, .28); color: var(--text); }
.bfin--hitozuma .bfin-bg img { object-position: 62% 50%; filter: brightness(.5) sepia(.35) saturate(1.2); }
.bfin--hitozuma .bfin-bg::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(30, 20, 18, .7) 0%, rgba(30, 20, 18, .34) 46%, rgba(30, 20, 18, 0) 78%); }
.bfin--hitozuma .bfin-body { text-align: center; }
.bfin--hitozuma .bfin-title { color: #faf5ef; font-weight: 800; letter-spacing: .06em; }
@media (max-width: 767px) { .bfin--hitozuma .bfin-title { font-size: 28px; letter-spacing: .02em; text-wrap: wrap; } }  /* 30px・行を揃える指定だと「。」だけが2行目に落ちる（2026-10-17） */
.bfin--hitozuma .bfin-text { color: rgba(250, 245, 239, .88); }
.bfin--hitozuma .bfin-cta, .bfin--hitozuma .bfin-more { display: flex; justify-content: center; }
.bfin-doors { position: absolute; inset: 0; z-index: 2; display: none; perspective: 1500px; perspective-origin: 50% 46%; pointer-events: none; }
.bfin--hitozuma.is-anim .bfin-doors { display: block; }
.bfin-door { position: absolute; top: 0; bottom: 0; width: 50%; overflow: hidden; background: #8f8176; will-change: transform; backface-visibility: hidden; }
.bfin-door--l { left: 0; transform-origin: 0% 50%; }
.bfin-door--r { right: 0; transform-origin: 100% 50%; }
.bfin-satin { position: absolute; top: 0; height: 100%; width: 200%; max-width: none; object-fit: cover; object-position: 50% 30%;
  filter: brightness(.8) sepia(.3) saturate(1.05) contrast(1.04); }
.bfin-door--l .bfin-satin { left: 0; }
.bfin-door--r .bfin-satin { right: 0; }
.bfin-door::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(36, 24, 20, .42) 0%, rgba(36, 24, 20, 0) 24%, rgba(36, 24, 20, 0) 72%, rgba(36, 24, 20, .42) 100%); }
.bfin-door::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.bfin-door--l::after { background: linear-gradient(90deg, rgba(36, 24, 20, .4) 0%, rgba(36, 24, 20, .08) 48%, rgba(255, 240, 222, 0) 80%, rgba(255, 240, 222, .3) 100%); }
.bfin-door--r::after { background: linear-gradient(270deg, rgba(36, 24, 20, .4) 0%, rgba(36, 24, 20, .08) 48%, rgba(255, 240, 222, 0) 80%, rgba(255, 240, 222, .3) 100%); }
/* 刻印（ロゴを合わせ目で半分ずつ）：締めの1枚のロゴと同じ位置・大きさ（--mk-top / --mk-w。JS が測る）。
   取っ手：締めの1枚の下（--cb＋余白）。腰の高さの引き手として合わせ目の近くに置く */
.bfin-door { --mw: var(--mk-w, 137px); --hh: 96px; --ht: min(calc(var(--cb, 60%) + 40px), calc(100% - var(--hh) - 24px)); }
.bfin-mark { position: absolute; z-index: 2; top: var(--mk-top, 26%); width: var(--mw); max-width: none; height: auto;
  filter: brightness(0) invert(1); opacity: .62; }
.bfin-door--l .bfin-mark { right: calc(var(--mw) / -2); }
.bfin-door--r .bfin-mark { left: calc(var(--mw) / -2); }
.bfin-handle { position: absolute; top: var(--ht); z-index: 2; width: 6px; height: var(--hh); border-radius: 9999px;
  background: linear-gradient(90deg, #7d6446 0%, #e6cfa2 45%, #b39468 70%, #7d6446 100%); box-shadow: 0 6px 14px rgba(20, 12, 8, .45); }
.bfin-door--l .bfin-handle { right: clamp(18px, 2.6vw, 40px); }
.bfin-door--r .bfin-handle { left: clamp(18px, 2.6vw, 40px); }
.bfin-shade { position: absolute; inset: 0; z-index: 3; background: #1d1310; opacity: 0; pointer-events: none; }
.bfin-seam { position: absolute; top: 0; bottom: 0; left: 50%; z-index: 3; width: 2px; margin-left: -1px; background: #fff8ec; opacity: 0;
  box-shadow: 0 0 10px 2px rgba(255, 240, 218, .9), 0 0 48px 10px rgba(255, 232, 204, .32); transform-origin: 50% 50%; }
/* 締めの1枚：閉じた扉の上。刻印の上にロゴの色が浮かび、明朝の一言はココアの墨色 */
.bfin--hitozuma .bfin-c-line { font-family: var(--f-mincho); color: #3a2622; }
/* LINE：明朝の文字に真鍮の細い縁。反転は、両開きの扉が合わせ目から開くように中央から左右へ */
.bfin-btn--hitozuma { min-height: 62px; padding: 0 52px; border-radius: 2px; border-color: #c9a46a;
  font-family: var(--f-mincho); font-weight: 800; font-size: 17px; letter-spacing: .16em;
  box-shadow: 0 20px 44px rgba(20, 12, 8, .45); --h-bg: #faf5ef; --h-fg: #035e2a; --h-bd: #c9a46a; --wipe: .6s cubic-bezier(.65, 0, .25, 1); }
.bfin-btn--hitozuma .btn-fill { border-radius: 2px; clip-path: inset(0 50% 0 50%); }
@media (hover: hover) { .bfin-btn--hitozuma:hover .btn-fill { clip-path: inset(0 0 0 0); } }
.bfin-btn--hitozuma:focus-visible .btn-fill { clip-path: inset(0 0 0 0); }
@media (max-width: 767px) {
  .bfin-door { --hh: 72px; --ht: min(calc(var(--cb, 60%) + 30px), calc(100% - var(--hh) - 20px)); }
  .bfin--hitozuma .bfin-cta .btn { max-width: 340px; }   /* もとの LINE の幅をそろえる */
  /* 閉じていく扉の縁（左右 30px ほど）に見出しの端が隠れないよう、文字を内側に収める（2026-10-19） */
  .bfin--hitozuma .bfin-body { padding-inline: 40px; }
  .bfin--hitozuma .bfin-title { font-size: 24px; }
  .bfin-handle { width: 5px; }
}


/* ================= 動きを減らす設定 ================= */
@media (prefers-reduced-motion: reduce) {
  .hz-doors, .hz-spill, .bfin-doors { display: none !important; }
}

/* 新着キャスト（2026-09-30）：本文のアイボリーと区別できるよう、明るい面を少し濃いローズベージュに（文字は 4.5:1 以上）。
   背景はアイボリーのサテンとレースとパールの質感画像に、ローズベージュの覆い（2026-09-30） */
.page-brand main .cast.face-light { --night: #eee0d9; --night-2: #e2cfc6; }
.page-brand .cast-backdrop { --cb-base: #eee0d9; --cb-img: url("../assets/newcast/hitozuma-1600.webp"); --cb-veil: rgba(236, 222, 214, .62); }
@media (max-width: 767px) { .page-brand .cast-backdrop { --cb-img: url("../assets/newcast/hitozuma-800.webp"); } }

/* ================= 2つ目の区画：白いスイートルーム。額の中の白いサテンの薄いカーテンが、左右へ寄せられて開く（共通の形は brand.css の .bs） ================= */
.bs--hitozuma { --bs-base: #efe7de; --bs-sx: 60%; --bs-veil: rgba(246, 241, 235, .16); --bs-scrim: rgba(246, 241, 235, .88); --bs-psh: rgba(74, 52, 52, .26); --bs-floor: rgba(74, 52, 52, .28); --bs-pd: 1.6s; }
.bs--hitozuma .bs-frame { box-shadow: 0 0 0 1px rgba(140, 104, 72, .55), 0 0 0 10px #faf6f1, 0 0 0 11px rgba(140, 104, 72, .4), 0 32px 64px rgba(74, 52, 52, .22); }
.bs-sheer { position: absolute; top: 0; bottom: 0; z-index: 2; width: 50.5%; overflow: hidden; opacity: .95; transition: transform 1.7s cubic-bezier(.6, 0, .25, 1) .3s, opacity 1.2s ease 1.1s; }
.bs-sheer--l { left: 0; transform-origin: 0 50%; }
.bs-sheer--r { right: 0; transform-origin: 100% 50%; }
.bs-sheer img { position: absolute; top: 0; height: 100%; width: 200%; max-width: none; object-fit: cover; filter: brightness(1.04); }
.bs-sheer--l img { left: 0; }
.bs-sheer--r img { right: 0; }
.bs-sheer::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(120, 96, 80, .1) 0, rgba(255, 255, 255, 0) 10px, rgba(255, 255, 255, .22) 18px, rgba(120, 96, 80, 0) 26px, rgba(120, 96, 80, .1) 34px); }
.bs.is-on .bs-sheer { transform: scaleX(.12); opacity: 0; }
