/* =========================================================
   IKI VR内覧 — Design Prototype
   コンセプト：「一覧（カタログ）」ではなく「体験」として見せる
   ブランドトークンは hiraya.ai 実サイトから抽出（#221716 / #fef540）
   ========================================================= */
.vr-page{
  --ink:#221716;
  --ink-2:#4a3f3c;
  --ink-3:#8a807d;
  --line:#e6e2e0;
  --paper:#ffffff;
  --paper-2:#f7f5f4;
  --paper-3:#efebe9;
  --brand-yellow:#fef540;
  --live:#12a150;
  --radius:2px;
  --shadow-m:0 8px 24px rgba(34,23,22,.10);
  --shadow-l:0 24px 64px rgba(34,23,22,.22);
  --sans:"游ゴシック Medium","YuGothic","Yu Gothic Medium","Hiragino Kaku Gothic ProN","メイリオ","Meiryo",sans-serif;
  --serif:"游明朝","YuMincho","Yu Mincho","ヒラギノ明朝 ProN W6","Hiragino Mincho ProN","ＭＳ Ｐ明朝",serif;
  --maxw:1200px;
}
.vr-page,.vr-page *{box-sizing:border-box}
{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
.vr-page{
  margin:0;background:var(--paper);color:var(--ink);
  font-family:var(--sans);font-size:15px;line-height:1.85;letter-spacing:.02em;
  -webkit-font-smoothing:antialiased;
}
.vr-page img{max-width:100%;display:block}
.vr-page a{color:inherit;text-decoration:none}
.vr-page button{font:inherit;color:inherit;cursor:pointer}
.vr-page .wrap{width:100%;max-width:var(--maxw);margin:0 auto;padding:0 24px}
body.viewer-open{overflow:hidden}

/* ---------- 共通 ---------- */
.vr-page .sec{padding:96px 0}
.vr-page .sec--tight{padding:64px 0}
.vr-page .sec-head{max-width:700px;margin:0 0 48px}
.vr-page .sec-head.center{margin-left:auto;margin-right:auto;text-align:center}
.vr-page .sec-label{display:inline-flex;align-items:center;gap:8px;font-size:11px;letter-spacing:.22em;
  text-transform:uppercase;color:var(--ink-3);margin-bottom:14px}
.vr-page .sec-head.center .sec-label::before,.vr-page .sec-head.center .sec-label::after{content:"";width:26px;height:1px;background:var(--ink-3)}
.vr-page .sec-label::before{content:"";width:26px;height:1px;background:var(--ink-3)}
.vr-page .sec-title{font-family:var(--serif);font-weight:600;font-size:clamp(24px,3.4vw,36px);
  line-height:1.45;letter-spacing:.06em;margin:0 0 16px}
.vr-page .sec-desc{margin:0;color:var(--ink-2);font-size:14.5px}

.vr-page .btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;
  padding:14px 26px;border-radius:var(--radius);font-size:14px;font-weight:700;
  letter-spacing:.08em;border:1px solid transparent;transition:.22s;white-space:nowrap}
.vr-page .btn--primary{background:var(--brand-yellow);color:var(--ink)}
.vr-page .btn--primary:hover{background:#fff58a;transform:translateY(-1px)}
.vr-page .btn--ghost{background:transparent;color:#fff;border-color:rgba(255,255,255,.55)}
.vr-page .btn--ghost:hover{background:rgba(255,255,255,.14)}
.vr-page .btn--outline{background:#fff;color:var(--ink);border-color:var(--ink)}
.vr-page .btn--outline:hover{background:var(--ink);color:#fff}

/* ---------- プロトタイプ注記 ---------- */
.vr-page .proto-note{background:var(--paper-3);color:var(--ink-2);font-size:11.5px;
  letter-spacing:.04em;text-align:center;padding:9px 20px;line-height:1.7}
.vr-page .proto-note strong{color:var(--ink)}

/* ---------- ヘッダー ---------- */
.vr-page .site-header{position:sticky;top:0;z-index:60;background:rgba(255,255,255,.94);
  backdrop-filter:blur(8px);border-bottom:1px solid var(--line)}
.vr-page .site-header .wrap{display:flex;align-items:center;justify-content:space-between;height:70px;gap:20px}
.vr-page .logo{display:flex;align-items:center;gap:12px}
.vr-page .logo img{height:42px;width:auto;display:block}
.vr-page .logo span{font-size:10px;letter-spacing:.18em;color:var(--ink-3);
  border-left:1px solid var(--line);padding-left:12px;line-height:1.5}
.vr-page .nav{display:flex;gap:26px;font-size:13px;letter-spacing:.06em}
.vr-page .nav a{color:var(--ink-2);padding:6px 0;border-bottom:1px solid transparent;transition:.2s}
.vr-page .nav a:hover{border-bottom-color:var(--ink);color:var(--ink)}
.vr-page .nav-cta{background:var(--brand-yellow);color:var(--ink);font-size:13px;font-weight:700;
  padding:11px 20px;border-radius:var(--radius);letter-spacing:.06em}
@media(max-width:980px){.vr-page .nav{display:none}}

/* ---------- ヒーロー ---------- */
.vr-page .hero{position:relative;overflow:hidden;background:var(--ink);color:#fff;
  min-height:min(84vh,680px);display:flex;align-items:flex-end}
.vr-page .hero-bg{position:absolute;inset:0;background-size:cover;background-position:center;transform:scale(1.04)}
.vr-page .hero-bg::after{content:"";position:absolute;inset:0;
  background:linear-gradient(180deg,rgba(34,23,22,.62) 0%,rgba(34,23,22,.40) 38%,rgba(34,23,22,.92) 100%)}
.vr-page .hero-inner{position:relative;z-index:2;padding-top:130px;padding-bottom:60px;width:100%}
.vr-page .hero-badge{display:inline-flex;align-items:center;gap:9px;background:var(--brand-yellow);color:var(--ink);
  font-size:11px;font-weight:700;letter-spacing:.16em;padding:8px 15px;border-radius:999px;margin-bottom:22px}
.vr-page .hero h1{font-family:var(--serif);font-weight:600;margin:0 0 20px;
  font-size:clamp(28px,5vw,52px);line-height:1.34;letter-spacing:.08em;
  text-shadow:0 2px 24px rgba(0,0,0,.4)}
.vr-page .hero p{max-width:660px;margin:0 0 32px;color:#f1edec;font-size:15px;line-height:2}
.vr-page .hero-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.vr-page .hero-promise{display:flex;flex-wrap:wrap;gap:26px;margin-top:46px;
  padding-top:26px;border-top:1px solid rgba(255,255,255,.22);font-size:12.5px;color:#e8e3e2}
.vr-page .hero-promise i{font-style:normal;color:var(--brand-yellow);margin-right:7px}

/* ---------- VRブロック（主役） ---------- */
.vr-page .tour{padding:0}
.vr-page .tour + .tour{margin-top:0}
.vr-page .tour-inner{padding-top:96px;padding-bottom:96px}
.vr-page .tour--alt{background:var(--paper-2)}
.vr-page .tour-head{display:grid;grid-template-columns:118px 1fr;gap:26px;align-items:start;
  max-width:1000px;margin:0 0 34px}
.vr-page .tour-num{font-family:var(--serif);font-size:clamp(48px,6vw,76px);line-height:.9;
  color:var(--paper-3);font-weight:600;letter-spacing:0}
.vr-page .tour--alt .tour-num{color:#e4dfdc}
.vr-page .tour-kicker{font-size:11.5px;letter-spacing:.2em;color:var(--ink-3);margin:0 0 10px}
.vr-page .tour-title{font-family:var(--serif);font-size:clamp(24px,3.6vw,38px);font-weight:600;
  letter-spacing:.05em;line-height:1.4;margin:0 0 14px}
.vr-page .tour-lead{margin:0;color:var(--ink-2);font-size:14.5px;max-width:720px}

.vr-page .tour-stage{position:relative;width:100%;aspect-ratio:16/9;background:#1a1210;
  overflow:hidden;box-shadow:var(--shadow-m)}
.vr-page .tour-stage iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.vr-page .stage-poster{position:absolute;inset:0;background-size:cover;background-position:center;
  display:flex;align-items:center;justify-content:center;cursor:pointer}
.vr-page .stage-poster::after{content:"";position:absolute;inset:0;
  background:linear-gradient(180deg,rgba(24,16,14,.22),rgba(24,16,14,.58));transition:.3s}
.vr-page .stage-poster:hover::after{background:linear-gradient(180deg,rgba(24,16,14,.12),rgba(24,16,14,.46))}
.vr-page .play{position:relative;z-index:2;text-align:center;color:#fff}
.vr-page .play-circle{width:78px;height:78px;border-radius:50%;background:var(--brand-yellow);color:var(--ink);
  display:flex;align-items:center;justify-content:center;margin:0 auto 14px;transition:.25s}
.vr-page .play-circle svg{width:30px;height:30px;margin-left:3px}
.vr-page .stage-poster:hover .play-circle{transform:scale(1.08)}
.vr-page .play small{font-size:11px;letter-spacing:.2em}

.vr-page .tour-foot{display:flex;flex-wrap:wrap;gap:28px;align-items:flex-end;
  justify-content:space-between;margin-top:26px}
.vr-page .tour-facts{display:flex;flex-wrap:wrap;gap:0 40px;margin:0;flex:1 1 520px}
.vr-page .tour-facts > div{min-width:150px;padding:14px 0 0;border-top:1px solid var(--line)}
.vr-page .tour-facts dt{font-size:11px;letter-spacing:.16em;color:var(--ink-3);margin-bottom:5px}
.vr-page .tour-facts dd{margin:0;font-size:13.5px;color:var(--ink-2);line-height:1.7}
.vr-page .tour-actions{display:grid;grid-template-columns:max-content max-content;gap:10px}
.vr-page .tour-actions .btn--showroom{grid-column:1 / -1}

/* ---------- 中央：確かめられること ---------- */
.vr-page .facts{display:grid;grid-template-columns:repeat(4,1fr);gap:0;border-top:1px solid var(--line)}
.vr-page .fact{padding:30px 24px 30px 0;border-bottom:1px solid var(--line)}
.vr-page .fact + .fact{border-left:1px solid var(--line);padding-left:24px}
.vr-page .fact b{display:block;font-family:var(--serif);font-size:12px;letter-spacing:.2em;
  color:var(--ink-3);margin-bottom:14px}
.vr-page .fact h4{font-size:15px;font-weight:700;letter-spacing:.04em;margin:0 0 9px}
.vr-page .fact p{margin:0;font-size:13px;color:var(--ink-2);line-height:1.85}
@media(max-width:900px){.vr-page .facts{grid-template-columns:repeat(2,1fr)}
  .vr-page .fact:nth-child(3){border-left:0;padding-left:0}}
@media(max-width:560px){.vr-page .facts{grid-template-columns:1fr}
  .vr-page .fact + .fact{border-left:0;padding-left:0}}

/* ---------- 操作ガイド ---------- */
.vr-page .guide-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:34px}
.vr-page .step .num{display:inline-flex;align-items:center;justify-content:center;
  width:34px;height:34px;border-radius:50%;background:var(--ink);color:var(--brand-yellow);
  font-size:12px;font-weight:700;letter-spacing:.06em;margin-bottom:16px}
.vr-page .step h4{font-size:16px;font-weight:700;margin:0 0 10px;letter-spacing:.04em}
.vr-page .step p{margin:0;font-size:13.5px;color:var(--ink-2)}
@media(max-width:820px){.vr-page .guide-grid{grid-template-columns:1fr;gap:26px}}

.vr-page .notice{margin-top:52px;padding:22px 26px;background:var(--paper-2);
  border-left:3px solid var(--ink-3);font-size:13px;color:var(--ink-2);line-height:1.9}
.vr-page .notice b{color:var(--ink)}

/* ---------- CTA ---------- */
.vr-page .cta{background:var(--ink);color:#fff;text-align:center;padding:104px 0}
.vr-page .cta h2{font-family:var(--serif);font-size:clamp(24px,3.6vw,38px);font-weight:600;
  letter-spacing:.06em;margin:0 0 18px;line-height:1.5}
.vr-page .cta p{max-width:620px;margin:0 auto 34px;color:#ddd7d5;font-size:14.5px}
.vr-page .cta-actions{display:flex;flex-wrap:wrap;gap:12px;justify-content:center}

/* ---------- フッター ---------- */
.vr-page .site-footer{border-top:1px solid var(--line);padding:34px 0;background:#fff}
.vr-page .site-footer .wrap{display:flex;flex-wrap:wrap;gap:12px;justify-content:space-between;
  font-size:11.5px;color:var(--ink-3);letter-spacing:.04em}

/* ---------- モーダルビューア ---------- */
.vr-page .viewer{position:fixed;inset:0;z-index:10001;background:#120c0b;
  display:none;flex-direction:column}
.vr-page .viewer[data-open="true"]{display:flex}
.vr-page .viewer-bar{display:flex;align-items:center;gap:14px;padding:12px 18px;color:#fff;
  border-bottom:1px solid rgba(255,255,255,.14);flex-wrap:wrap}
.vr-page .vtitle{font-size:14px;font-weight:700;letter-spacing:.06em}
.vr-page .vsub{font-size:11.5px;color:rgba(255,255,255,.6);letter-spacing:.08em;margin-top:2px}
.vr-page .vbtn{background:transparent;border:1px solid rgba(255,255,255,.4);color:#fff;
  font-size:12.5px;padding:9px 16px;border-radius:2px;letter-spacing:.06em}
.vr-page .vbtn--close{margin-left:auto;background:#fff;color:var(--ink);border-color:#fff;font-weight:700}
.vr-page .viewer-stage{position:relative;flex:1;min-height:0;background:#000}
.vr-page .viewer-stage iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.vr-page .viewer-loading{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;
  justify-content:center;gap:14px;color:#fff;background:#171010;z-index:3;transition:opacity .4s}
.vr-page .viewer-loading[hidden]{display:none}
.vr-page .viewer-loading.is-fading{opacity:0;pointer-events:none}
.vr-page .spinner{width:30px;height:30px;border:2px solid rgba(255,255,255,.25);
  border-top-color:var(--brand-yellow);border-radius:50%;animation:vr-spin 1s linear infinite}
@keyframes vr-spin{to{transform:rotate(360deg)}}
.vr-page .viewer-foot{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;
  padding:10px 18px;color:rgba(255,255,255,.65);font-size:12px;
  border-top:1px solid rgba(255,255,255,.14)}
.vr-page .viewer-foot a{color:var(--brand-yellow);text-decoration:underline}
@media(max-width:560px){.vr-page .vbtn{font-size:11.5px;padding:8px 12px}}

/* ---------- レスポンシブ ---------- */
@media(max-width:820px){
  .vr-page .sec{padding:70px 0}
  .vr-page .tour-inner{padding-top:70px;padding-bottom:70px}
  .vr-page .tour-head{grid-template-columns:1fr;gap:8px}
  .vr-page .tour-num{font-size:44px}
  .vr-page .hero-inner{padding-top:100px;padding-bottom:48px}
  .vr-page .hero-promise{gap:14px}
  .vr-page .tour-foot{flex-direction:column;align-items:stretch}
  /* 縦並び時はflex-basis:520pxが高さにならないようにする */
  .vr-page .tour-facts{flex:0 0 auto;gap:16px 24px}
}
@media(max-width:560px){
  .vr-page .hero-actions{flex-direction:column;align-items:stretch}
  .vr-page .hero-actions .btn{width:100%}
  .vr-page .cta-actions{flex-direction:column;align-items:stretch}
  .vr-page .cta-actions .btn{width:100%}
  .vr-page .tour-actions{display:flex;flex-direction:column;align-items:stretch}
  .vr-page .tour-actions .btn{width:100%}
}

/* VRページの画像・背景 */
.vr-page .hero-bg,
.vr-page #maebashi .stage-poster { background-image: url("https://my.matterport.com/api/v2/player/models/yCQoYymrz33/thumb/"); }
.vr-page #assist .stage-poster { background-image: url("https://hiraya.ai/vr/iki-assist-28/media/panorama_D68BA9CC_DA63_F358_41E1_F7E8BD7F240E_0/r/3/0_0.jpg"); }
.vr-page #guide { background: var(--paper-2); }

/* 各展示場のカバー画像 */
.vr-page #oyama .stage-poster { background-image: url("/vr/img/vr-oyama.webp"); }
.vr-page #kasahara .stage-poster { background-image: url("/vr/img/vr-kasahara.webp"); }
.vr-page #kashiwa .stage-poster { background-image: url("/vr/img/vr-kashiwa.webp"); }

/* VRページのPCヘッダーロゴを常時表示（共通CSSの初期opacity:0を上書き） */
@media screen and (min-width: 1025px) {
  body#vr-tour .header #logo-pc2 {
    opacity: 1;
  }
}
