/* biz-ca 公式サイト トップ（明るいベージュ × オレンジ・動きのあるページ） */
.home {
  --bg: #fbf7f0; --bg-2: #f4ede2; --card: #ffffff;
  --ink: #1f1a15; --ink-2: #6b6157; --line: #ebe2d4;
  --o1: #ff7a1a; --o2: #ffb03a; --o-ink: #d4590a;
  background: var(--bg); color: var(--ink);
}
.home .s-head { background: rgba(251,247,240,.82); border-bottom-color: var(--line); backdrop-filter: saturate(1.4) blur(14px); }
.home .s-nav a { color: var(--ink-2); }
.home .s-nav a:hover { color: var(--ink); }
.home .s-nav__cta { background: var(--ink); color: #fff !important; }

.h-eyebrow { margin: 0 0 12px; font: 700 12px/1 'Inter', var(--font); letter-spacing: .22em; color: var(--o-ink); }
.h-grad { background: linear-gradient(100deg, var(--o1), var(--o2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.h-h2, .h-step h2, .h-cta__title, .h-hero__title { word-break: auto-phrase; }
.h-hero__title .h-grad { word-break: keep-all; }
.h-h2 { margin: 0 0 16px; font-size: clamp(28px, 5vw, 48px); line-height: 1.25; letter-spacing: .01em; }
.h-sub { margin: 0 0 32px; color: var(--ink-2); max-width: 40em; }

.h-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border-radius: 999px; font-weight: 700; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, background .2s; }
.h-btn:hover { transform: translateY(-2px); }
.h-btn--primary { background: linear-gradient(100deg, var(--o1), var(--o2)); color: #fff; box-shadow: 0 10px 30px rgba(255,122,26,.35); }
.h-btn--ghost { border: 1px solid var(--line); background: #fff; color: var(--ink); }
.h-btn--ghost:hover { border-color: var(--o2); }
.h-btn--lg { min-height: 60px; padding: 0 36px; font-size: 18px; }

/* ---------- ヒーロー ---------- */
.h-hero { position: relative; overflow: hidden; padding: 72px 0 96px; min-height: 100svh; display: flex; align-items: center; }
.h-hero__glow { position: absolute; inset: -20% -10% auto; height: 120%; background:
  radial-gradient(40% 40% at 72% 42%, rgba(255,176,58,.35), transparent 70%),
  radial-gradient(32% 36% at 18% 72%, rgba(255,122,26,.16), transparent 70%); pointer-events: none; animation: h-glow 12s ease-in-out infinite alternate; }
@keyframes h-glow { to { transform: translate3d(-4%, 4%, 0) scale(1.08); } }
.h-hero__in { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.h-hero__in > :not(.h-hero__visual) { grid-column: 1; }
.h-hero__visual { grid-column: 2; grid-row: 1 / span 4; }
.h-hero__title { margin: 0 0 20px; font-size: clamp(40px, 7.4vw, 84px); line-height: 1.12; letter-spacing: .01em; font-weight: 800; }
.h-hero__lead { margin: 0 0 32px; color: var(--ink-2); font-size: 17px; }
.h-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.h-hero__img { width: 100%; height: auto; display: block; border-radius: 28px; box-shadow: 0 40px 90px rgba(120,70,20,.22); }
.h-scroll { position: absolute; left: 50%; bottom: 24px; margin: 0; transform: translateX(-50%); font: 700 11px 'Inter', sans-serif; letter-spacing: .3em; color: var(--ink-2); }
.h-scroll::after { content: ''; display: block; width: 1px; height: 40px; margin: 10px auto 0; background: linear-gradient(var(--o1), transparent); animation: h-drop 1.8s ease-in-out infinite; transform-origin: top; }
@keyframes h-drop { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
.h-in { opacity: 0; transform: translateY(24px); animation: h-in .9s cubic-bezier(.2,.7,.2,1) forwards; }
.h-in:nth-child(2) { animation-delay: .1s; } .h-in:nth-child(3) { animation-delay: .2s; } .h-in:nth-child(4) { animation-delay: .3s; } .h-in:nth-child(5) { animation-delay: .25s; }
@keyframes h-in { to { opacity: 1; transform: none; } }
@media (max-width: 820px) {
  .h-hero { padding-top: 40px; }
  .h-hero__in { grid-template-columns: 1fr; gap: 28px; }
  .h-hero__visual { grid-column: 1; grid-row: auto; }
}

/* ---------- 画面は止まり、スマホの中だけがスクロールする（Apple風） ---------- */
.h-pin { position: relative; height: 340vh; background: linear-gradient(var(--bg), var(--bg-2)); }
.h-pin__sticky { position: sticky; top: 0; height: 100svh; display: flex; align-items: center; overflow: hidden; }
.h-pin__in { display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center; width: 100%; }
.h-pin__text { position: relative; min-height: 300px; }
.h-step { position: absolute; inset: 40px 0 auto; opacity: 0; transform: translateY(30px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); pointer-events: none; }
.h-step.is-on { opacity: 1; transform: none; pointer-events: auto; }
.h-step__n { font: 800 72px/1 'Inter', sans-serif; color: transparent; -webkit-text-stroke: 1.5px rgba(255,122,26,.55); }
.h-step h2 { margin: 8px 0 12px; font-size: clamp(28px, 4.6vw, 44px); }
.h-step p { margin: 0; color: var(--ink-2); max-width: 26em; }
.h-dots { position: absolute; left: 0; bottom: -40px; display: flex; gap: 8px; }
.h-dots span { width: 28px; height: 3px; border-radius: 3px; background: rgba(31,26,21,.15); transition: background .4s, width .4s; }
.h-dots span.is-on { width: 48px; background: var(--o1); }

.h-phone { position: relative; width: min(320px, 74vw, calc((100svh - 120px) * 9 / 19)); aspect-ratio: 9 / 19; padding: 12px; border-radius: 50px; background: linear-gradient(145deg, #3b3632, #171412); box-shadow: 0 0 0 2px #514a44, 0 50px 110px rgba(120,70,20,.28); }
.h-phone::before { content: ''; position: absolute; top: 22px; left: 50%; width: 30%; height: 22px; transform: translateX(-50%); border-radius: 999px; background: #000; z-index: 2; }
.h-phone__screen { position: relative; height: 100%; overflow: hidden; border-radius: 39px; background: #eef1ee; }
/* スマホの中の名刺ページ（本物と同じ並び：名刺 → 写真 → プロフィール → リンク → QR） */
.h-page { position: absolute; left: 0; right: 0; top: 0; padding: 48px 10px 24px; will-change: transform; }
.h-page__card { display: block; width: 100%; height: auto; border-radius: 12px; box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 8px 20px rgba(0,0,0,.10); }
.h-page__photo { display: block; width: 100%; height: auto; margin-top: 12px; border-radius: 14px; }
.h-page__block { margin-top: 12px; padding: 12px 14px; border-radius: 14px; background: #fff; font-size: 11px; line-height: 1.7; color: #3d4441; }
.h-page__block p { margin: 0; }
.h-page__label { font-weight: 800; color: #16191a; margin-bottom: 4px !important; }
.h-page__link { display: flex; justify-content: space-between; gap: 8px; padding: 7px 0; border-top: 1px solid #eef0ee; font-weight: 700; color: #16191a; }
.h-page__link { white-space: nowrap; }
.h-page__link i { font-style: normal; font-weight: 400; color: #848b8d; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.h-page__qr { text-align: center; }
.h-page__qr img { width: 46%; margin: 4px auto 6px; display: block; }
.h-page__save { display: block; margin-top: 12px; padding: 10px; border-radius: 999px; text-align: center; font-weight: 800; font-size: 12px; color: #fff; background: linear-gradient(90deg, #239a4a, #8dc63f); }
@media (max-width: 820px) {
  .h-pin__in { grid-template-columns: 1fr; gap: 12px; justify-items: center; }
  .h-pin__text { order: 2; min-height: 210px; width: 100%; }
  .h-step { inset: 26px 0 auto; }
  .h-pin__text .h-eyebrow { margin: 0; }
  .h-step__n { font-size: 40px; }
  .h-dots { bottom: -24px; }
  .h-phone { width: min(230px, 58vw, calc((100svh - 330px) * 9 / 19)); padding: 9px; border-radius: 38px; }
  .h-phone__screen { border-radius: 30px; }
  .h-phone::before { top: 16px; height: 15px; }
  .h-page { padding-top: 36px; }
}

/* ---------- 特長 ---------- */
.h-sec { padding: 120px 0; }
.h-sec--tight { padding-top: 40px; }
.h-sec--light { background: var(--bg); color: var(--ink); }
.h-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.h-feat { padding: 28px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); transition: transform .3s ease, box-shadow .3s ease; }
.h-feat:hover { transform: translateY(-4px); box-shadow: 0 20px 50px rgba(120,70,20,.10); }
.h-feat__k { font: 700 11px 'Inter', sans-serif; letter-spacing: .2em; color: var(--o-ink); }
.h-feat h3 { margin: 10px 0 6px; font-size: 19px; }
.h-feat p { margin: 0; color: var(--ink-2); font-size: 15px; }
@media (max-width: 860px) { .h-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .h-grid { grid-template-columns: 1fr; } .h-sec { padding: 80px 0; } }

/* ---------- 縦スクロールで、横に流れる ---------- */
.h-hscroll { position: relative; height: 240vh; background: var(--bg-2); }
.h-hscroll__sticky { position: sticky; top: 0; height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.h-hscroll__head { width: 100%; }
.h-hscroll__track { display: flex; gap: 24px; padding: 0 max(20px, calc((100vw - 1000px) / 2)); will-change: transform; align-items: flex-end; }
.h-pair { flex: none; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: min(460px, 82vw); align-items: end; }
.h-pair img { width: 100%; height: auto; border-radius: 14px; }
.h-pair__card { box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 16px 36px rgba(120,70,20,.14); }
.h-pair__photo { box-shadow: 0 16px 36px rgba(120,70,20,.18); }
.h-pair figcaption { grid-column: 1 / -1; font-size: 13px; color: var(--ink-2); letter-spacing: .06em; }
.h-tipcard { flex: none; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; width: min(280px, 64vw); aspect-ratio: 3 / 4; padding: 28px; border-radius: 22px; text-decoration: none; color: #fff; background: linear-gradient(140deg, var(--o1), var(--o2)); box-shadow: 0 20px 50px rgba(255,122,26,.3); }
.h-tipcard .h-eyebrow { color: rgba(255,255,255,.85); }
.h-tipcard strong { font-size: 24px; line-height: 1.4; }
.h-tipcard span:last-child { font-weight: 700; }

/* ---------- 画像が流れ続ける帯 ---------- */
.h-scenes { padding: 120px 0 100px; background: var(--bg); overflow: hidden; }
.h-marquee { margin-top: 20px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.h-marquee__track { display: flex; gap: 16px; width: max-content; animation: h-marquee 48s linear infinite; }
.h-marquee--rev .h-marquee__track { animation-direction: reverse; animation-duration: 56s; }
.h-marquee:hover .h-marquee__track { animation-play-state: paused; }
.h-marquee figure { margin: 0; flex: none; width: clamp(200px, 26vw, 320px); }
.h-marquee img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; }
@keyframes h-marquee { to { transform: translateX(-50%); } }

/* ---------- 料金 ---------- */
.h-price { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.h-plan { position: relative; padding: 36px; border-radius: 28px; background: #fff; border: 1px solid var(--line); box-shadow: 0 40px 90px rgba(120,70,20,.14); overflow: hidden; }
.h-plan::before { content: ''; position: absolute; inset: -45% -45% auto auto; width: 80%; aspect-ratio: 1; background: radial-gradient(circle, rgba(255,176,58,.35), transparent 65%); }
.h-plan > * { position: relative; }
.h-plan__name { margin: 0; color: var(--o-ink); font-weight: 700; }
.h-plan__price { margin: 8px 0 0; font: 800 56px/1.1 'Inter', var(--font); }
.h-plan__price span { font-size: 18px; margin-right: 6px; font-weight: 700; }
.h-plan__price small { font-size: 18px; font-weight: 700; margin-left: 4px; }
.h-plan__price em { display: block; font-style: normal; font-size: 13px; font-weight: 500; color: var(--ink-2); margin-top: 4px; }
.h-plan__seats { margin: 4px 0 20px; color: var(--ink-2); }
.h-plan ul { margin: 0 0 28px; padding: 0; list-style: none; display: grid; gap: 8px; }
.h-plan li::before { content: '✓'; margin-right: 10px; color: var(--o1); font-weight: 800; }
@media (max-width: 820px) { .h-price { grid-template-columns: 1fr; } }

/* ---------- FAQ（蛇腹） ---------- */
.h-faq { display: grid; gap: 10px; margin-top: 28px; }
.h-faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 0 22px; }
.h-faq summary { list-style: none; cursor: pointer; padding: 18px 28px 18px 0; font-weight: 700; position: relative; }
.h-faq summary::-webkit-details-marker { display: none; }
.h-faq summary::after { content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--o1); transition: transform .3s; }
.h-faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.h-faq p { margin: 0 0 18px; color: var(--ink-2); }
.h-faq a { color: var(--o-ink); }

/* ---------- 最後の呼びかけ ---------- */
.h-cta { position: relative; overflow: hidden; padding: 140px 0; text-align: center; background: linear-gradient(160deg, #fff3e3, #ffe2c2); }
.h-cta__in { position: relative; }
.h-cta__title { margin: 0 0 36px; font-size: clamp(32px, 6vw, 64px); line-height: 1.2; }

/* スクロールで浮かび上がる */
.h-reveal { opacity: 0; transform: translateY(36px); transition: opacity .9s ease var(--d, 0ms), transform .9s cubic-bezier(.2,.7,.2,1) var(--d, 0ms); }
.h-reveal.is-in { opacity: 1; transform: none; }

.home .s-foot { background: #2a231d; }

/* 動きを減らす設定の方には、動きを止めて普通に並べる */
@media (prefers-reduced-motion: reduce) {
  .h-in, .h-reveal { opacity: 1; transform: none; animation: none; transition: none; }
  .h-hero__glow, .h-scroll::after, .h-marquee__track { animation: none; }
  .h-pin, .h-hscroll { height: auto; }
  .h-pin__sticky, .h-hscroll__sticky { position: static; height: auto; padding: 80px 0; }
  .h-step { position: static; opacity: 1; transform: none; margin-bottom: 24px; }
  .h-pin__text { min-height: 0; }
  .h-dots { display: none; }
  .h-hscroll__track { overflow-x: auto; }
}
