/* ファーストビュー B案（濃紺・中央揃え・発光） — index-b.html 専用。lp.css の後に読み込む */

/* header: 明るい半透明のバー */
.theme-b .site-header,
.theme-b .site-header.is-compact { background: rgba(241, 244, 249, .9); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); box-shadow: 0 1px 0 rgba(9, 30, 71, .07); }
.theme-b .menu-btn { width: 46px; height: 46px; border-radius: 50%; background: rgba(255, 255, 255, .55); box-shadow: inset 0 0 0 1px rgba(9, 30, 71, .1); }
.theme-b .menu-btn span { left: 14px; right: 14px; }
.theme-b .menu-btn span:first-child { top: 18px; }
.theme-b .menu-btn span:last-child { top: 26px; }

/* hero */
.hero.hero-b {
  display: block; min-height: 0; color: #fff; text-align: center;
  padding: calc(var(--header-h) + clamp(48px, 7vw, 88px)) 0 clamp(80px, 9vw, 120px);
  background:
    radial-gradient(ellipse 70% 42% at 50% 16%, rgba(64, 120, 255, .75) 0%, rgba(30, 76, 220, .45) 32%, transparent 70%),
    linear-gradient(180deg, #0c2a8c 0%, #0a1f6e 28%, #071552 55%, #050d33 100%);
}
.hb-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hb-glow { position: absolute; left: 50%; top: calc(var(--header-h) + 40px); width: 520px; height: 520px; margin-left: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(120, 170, 255, .55) 0%, rgba(60, 110, 255, .2) 35%, transparent 68%); filter: blur(10px); }
.hb-ring { position: absolute; left: 50%; top: calc(var(--header-h) + 300px); border-radius: 50%; border: 1px solid rgba(140, 180, 255, .12); transform: translate(-50%, -50%); }
.hb-ring.r1 { width: 560px; height: 560px; }
.hb-ring.r2 { width: 900px; height: 900px; border-color: rgba(140, 180, 255, .08); }
.hb-ring.r3 { width: 1300px; height: 1300px; border-color: rgba(140, 180, 255, .05); }
/* 背景のガラスの Q（背景を除去した透過画像） */
.hb-q { position: absolute; left: 50%; top: calc(var(--header-h) + 90px); width: min(980px, 82vw); margin-left: calc(min(980px, 82vw) / -2); }
.hb-q img { width: 100%; opacity: .62; animation: qDrift 14s ease-in-out infinite; mask-image: radial-gradient(closest-side, #000 72%, transparent 100%); -webkit-mask-image: radial-gradient(closest-side, #000 72%, transparent 100%); }
@keyframes qDrift { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-18px) rotate(-2deg); } }
.hb-title { position: relative; }
.hb-spark { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: rgba(170, 200, 255, .6); filter: blur(3px); animation: twinkle 5s ease-in-out infinite; }
.hb-spark.s1 { left: 18%; top: 22%; }
.hb-spark.s2 { left: 82%; top: 30%; animation-delay: 1.2s; }
.hb-spark.s3 { left: 9%; top: 46%; width: 7px; height: 7px; animation-delay: 2.4s; }
.hb-spark.s4 { left: 70%; top: 12%; width: 6px; height: 6px; animation-delay: .6s; }
.hb-spark.s5 { left: 90%; top: 55%; width: 8px; height: 8px; animation-delay: 3s; }
@keyframes twinkle { 0%, 100% { opacity: .25; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.15); } }

.hb-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.hb-icon img { width: clamp(92px, 8vw, 120px); border-radius: 26%; box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 0 40px 6px rgba(90, 150, 255, .55), 0 20px 50px -10px rgba(0, 0, 0, .5); animation: floatY 7s ease-in-out infinite; }
.hb-title { margin-top: clamp(32px, 4vw, 48px); font-size: clamp(42px, 5.8vw, 86px); line-height: 1.24; font-weight: 900; letter-spacing: .01em; text-shadow: 0 0 32px rgba(110, 165, 255, .55), 0 2px 0 rgba(0, 0, 0, .08); }
.hb-title .line { white-space: nowrap; }
/* 発光が四角く切れないよう、見出しはクリップせずにフェードで表示 */
.js .hb-title .reveal-line { overflow: visible; padding-bottom: 0; }
.js .hb-title .reveal-line > span { transform: translateY(24px); opacity: 0; filter: blur(8px); transition: transform 1.1s var(--ease), opacity 1s var(--ease), filter 1s var(--ease); }
.js .hb-title .reveal-line.is-in > span { transform: none; opacity: 1; filter: none; }
.js .hb-title .reveal-line:nth-child(2) > span { transition-delay: .14s; }
.sp-br { display: none; }
.hb-lead { margin-top: clamp(24px, 3vw, 36px); max-width: 640px; font-size: clamp(15.5px, 1.4vw, 19px); line-height: 2; letter-spacing: .06em; color: rgba(222, 232, 255, .86); }
.hb-cta { margin-top: clamp(36px, 4vw, 52px); display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.hb-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 66px; min-width: 300px; padding: 0 32px; border-radius: 18px; font-size: 18px; font-weight: 700; letter-spacing: .06em; text-decoration: none; transition: box-shadow .4s var(--ease), transform .4s var(--ease), background-color .3s; }
.hb-btn-main { background: #fff; color: #1a44d2; box-shadow: 0 0 0 1.5px rgba(160, 200, 255, .9), 0 0 26px 4px rgba(90, 160, 255, .65), 0 0 60px 6px rgba(60, 120, 255, .35); }
.hb-btn-main:hover { transform: translateY(-2px); box-shadow: 0 0 0 1.5px rgba(190, 220, 255, 1), 0 0 34px 8px rgba(110, 175, 255, .8), 0 0 80px 10px rgba(60, 120, 255, .45); }
.hb-btn-sub { color: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .72); }
.hb-btn-sub:hover { background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 2px #fff; }

.hb-devices { position: relative; margin-top: clamp(64px, 8vw, 110px); width: min(1000px, 100%); }
.hb-devices::before { content: ""; position: absolute; inset: -12% -10% 10%; z-index: -1; background: radial-gradient(closest-side, rgba(70, 130, 255, .45), transparent); filter: blur(20px); }
.hb-pc { box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .65), 0 0 0 1px rgba(255, 255, 255, .12); }
.hb-sp { position: absolute; right: -5%; bottom: -8%; width: 21%; }

/* 03 以降へのつなぎ */
.theme-b .about { padding-top: clamp(96px, 12vw, 168px); }

@media (max-width: 767px) {
  .hero.hero-b { padding: calc(var(--header-h) + 40px) 0 72px; }
  .hb-glow { width: 380px; height: 380px; margin-left: -190px; top: calc(var(--header-h) + 10px); }
  .hb-ring { top: calc(var(--header-h) + 200px); }
  .hb-ring.r1 { width: 380px; height: 380px; } .hb-ring.r2 { width: 640px; height: 640px; } .hb-ring.r3 { width: 900px; height: 900px; }
  .hb-q { width: 132vw; margin-left: -66vw; top: calc(var(--header-h) + 150px); }
  .hb-q img { opacity: .55; }
  .sp-br { display: inline; }
  .hb-title { font-size: clamp(38px, 11.6vw, 50px); line-height: 1.32; margin-top: 30px; }
  .hb-lead { font-size: 15.5px; letter-spacing: .04em; }
  .hb-cta { flex-direction: column; width: 100%; align-items: center; gap: 16px; }
  .hb-btn { width: min(340px, 100%); min-width: 0; min-height: 64px; font-size: 17px; }
  .hb-devices { margin-top: 64px; width: 100%; }
  .hb-sp { right: -2%; bottom: -12%; width: 32%; }
}
