/* ===========================================================
   AI real CG 公式サイト — TOPページ専用CSS
   各セクション + レスポンシブ
   =========================================================== */

/* ---------- Hero（スライダー + 中央横並びCTA） ---------- */
.hero { position: relative; width: 100%; height: 680px; overflow: hidden; background: #1a1a1a; }
.hero__slides { position: absolute; inset: 0; }
.hero__slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.2s ease; }
.hero__slide.is-active { opacity: 1; }
.hero__slide--1 { background-image: url("../assets/images/hero-slide-1.png"); }
.hero__slide--2 { background-image: url("../assets/images/hero-slide-2.png"); }
.hero__slide--3 { background-image: url("../assets/images/hero-slide-3.png"); }
.hero__overlay { position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to bottom, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.10) 38%, rgba(0,0,0,0.12) 70%, rgba(0,0,0,0.52) 100%); }

.hero__content { position: relative; z-index: 2; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start; text-align: center;
  padding: 104px 24px 0; color: #fff; }
.hero__label { font-weight: 700; font-size: 12px; letter-spacing: 1.2px; text-transform: uppercase; color: rgba(255,255,255,0.85); }
.hero__title { font-weight: 800; font-size: 46px; line-height: 1.22; letter-spacing: .01em; margin-top: 16px; color: #fff;
  text-shadow: 0 2px 18px rgba(0,0,0,0.35); }
.hero__title-break { display: none; }
.hero__lead { margin-top: 16px; font-weight: 400; font-size: 16px; line-height: 1.7; color: rgba(255,255,255,0.92); }

/* 「今なら7日間無料でお試し」バッジ（LP準拠） */
.hero__trial { position: absolute; left: 50%; bottom: 132px; transform: translateX(-50%); z-index: 3;
  display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; font-size: 13px; color: #fff;
  background: rgba(12,14,18,0.5); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border: 1px solid rgba(245,197,24,0.55); border-radius: 999px; padding: 7px 18px;
  text-shadow: 0 1px 5px rgba(0,0,0,0.45); }
.hero__trial b { color: var(--yellow); font-weight: 800; }

/* ドット */
.hero__dots { position: absolute; bottom: 102px; left: 0; right: 0; z-index: 3; display: flex; gap: 8px; justify-content: center; }
.hero__dot { width: 8px; height: 8px; padding: 0; border: none; border-radius: 50%; background: rgba(255,255,255,0.5); cursor: pointer; transition: width .3s, background .3s; }
.hero__dot.is-active { width: 24px; border-radius: 4px; background: #fff; }

/* ---------- Hero CTA（LP準拠：大ボタンが画像下端に重なる・囲み無し） ---------- */
.hero-cta { position: relative; z-index: 20; margin-top: -72px;
  display: flex; flex-direction: column; align-items: center; padding: 0 24px; }
.hero-cta__buttons { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; align-items: flex-end; width: 100%; max-width: 820px; }
.hero-cta__primary-wrap { display: flex; flex-direction: column; align-items: center; flex: 0 1 380px; min-width: 280px; }
.hero-cta__label { display: flex; align-items: center; gap: 14px; width: fit-content; margin: 0 auto 14px; color: #fff; font-weight: 700; font-size: 13px; letter-spacing: .04em; line-height: 1; text-shadow: 0 1px 12px rgba(0,0,0,0.55); }
.hero-cta__label::before, .hero-cta__label::after { content: ""; display: block; width: 22px; height: 1.5px; background: currentColor; border-radius: 2px; }
.hero-cta__label::before { transform: rotate(60deg); }
.hero-cta__label::after { transform: rotate(-60deg); }
.hero-cta__primary-wrap .btn-lg { width: 100%; min-width: 0; }
.hero-cta__buttons > .btn-lg { min-width: 280px; flex: 0 1 380px; }
.hero-cta .btn-ghost { border-color: transparent; }

/* ラベルを吹き出し型に（LP準拠：「簡単30秒！入力」） */
.hero-cta__label--bubble { position: relative; gap: 0; background: #fff; color: #111; font-weight: 800; font-size: 14px; letter-spacing: .03em; padding: 9px 20px; border-radius: 24px; box-shadow: 0 6px 18px rgba(0,0,0,0.18); border: 1px solid rgba(0,0,0,0.06); text-shadow: none; }
.hero-cta__label--bubble::before { display: none; }
.hero-cta__label--bubble::after { width: 0; height: 0; background: none; border-style: solid; border-width: 8px 7px 0 7px; border-color: #fff transparent transparent transparent; border-radius: 0; bottom: -7px; left: 50%; transform: translateX(-50%); position: absolute; }
.hero-cta__label--bubble .secs { color: var(--red); margin: 0 3px; }

/* プライマリボタンのシャイン演出＋矢印ホバースライド（LP準拠、hero-cta / finalcta 共通） */
.hero-cta .arrow, .finalcta .arrow { transition: transform .25s ease; }
.hero-cta a:hover .arrow, .finalcta a:hover .arrow { transform: translateX(5px); }
.hero-cta .btn-primary, .finalcta .btn-primary { position: relative; overflow: hidden; }
.hero-cta .btn-primary > span, .finalcta .btn-primary > span { position: relative; z-index: 2; }
.hero-cta .btn-primary::before, .finalcta .btn-primary::before { content: ""; position: absolute; top: -25%; left: -75%; width: 45%; height: 150%; background: linear-gradient(120deg, transparent, rgba(255,255,255,0.7), transparent); transform: skewX(-22deg); pointer-events: none; z-index: 1; animation: heroCtaShine 3.2s ease-in-out infinite; }
.finalcta .btn-ghost { border-color: transparent; }
@keyframes heroCtaShine { 0% { left: -75%; } 55%, 100% { left: 140%; } }
@media (prefers-reduced-motion: reduce) {
  .hero-cta .btn-primary::before, .finalcta .btn-primary::before { animation: none; display: none; }
  .hero-cta .arrow, .finalcta .arrow { transition: none; }
}

/* ---------- AI real CGとは（LP準拠） ---------- */
.cg-intro { background: var(--bg-gray); padding: 80px 0; }
.cg-intro .container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.cg-intro h2.section-title { font-size: 28px; font-weight: 700; text-align: center; margin-bottom: 16px; color: var(--ink); }
.cg-intro .section-lead { text-align: center; max-width: 680px; margin: 0 auto 40px; font-size: 15px; color: #555; line-height: 1.9; }
.cg-intro .sub-heading { text-align: center; font-size: 20px; font-weight: 700; color: var(--ink); margin: 8px 0 32px; padding-bottom: 14px; position: relative; }
.cg-intro .sub-heading::after { content: ""; position: absolute; left: 50%; transform: translateX(-50%); bottom: 0; width: 44px; height: 3px; background: var(--yellow); border-radius: 2px; }
.cg-intro .sub-heading-spaced { margin-top: 80px; }
.cg-intro .em { font-weight: 900; font-size: 1.25em; letter-spacing: .01em; }

/* 外観CG / 内観CG カード */
.cg-intro .image-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.cg-intro .image-card { position: relative; border-radius: 10px; overflow: hidden; height: 280px; background: #ddd center/cover; }
.cg-intro .image-card .label { position: absolute; left: 20px; bottom: 50px; color: #fff; font-size: 22px; font-weight: 700; text-shadow: 0 2px 8px rgba(0,0,0,0.6); }
.cg-intro .image-card .desc { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.6); color: #fff; padding: 10px 16px; font-size: 12px; }

/* CG実例 ショーケース（Before/After ドラッグ＋カルーセル） */
.cg-intro .showcase { position: relative; width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); overflow: hidden; }
.cg-intro .showcase-track { display: flex; will-change: transform; transition: transform .55s cubic-bezier(.4,0,.2,1); user-select: none; cursor: grab; }
.cg-intro .showcase-track.dragging { cursor: grabbing; transition: none; }
.cg-intro .showcase-slide { flex: 0 0 calc(70vw - 16px); width: calc(70vw - 16px); margin: 0 8px; position: relative; border-radius: 18px; overflow: hidden; box-sizing: border-box; }
.cg-intro .showcase-slide::after { content: ""; position: absolute; inset: 0; background: rgba(15,15,15,0.72); pointer-events: none; transition: background .45s ease; z-index: 10; border-radius: inherit; }
.cg-intro .showcase-slide.is-active::after { background: rgba(0,0,0,0); }
.cg-intro .showcase-slide.is-active { z-index: 2; }
.cg-intro .showcase-slide > .ba-slider { aspect-ratio: 16/9; border-radius: 18px 18px 0 0; overflow: hidden; background: #000; }
.cg-intro .showcase-slide .ba-handle { width: 4px; background: #fff; }
.cg-intro .showcase-slide .ba-handle::after { width: 60px; height: 60px; background: #fff; box-shadow: none; }
.cg-intro .showcase-slide .ba-handle::before { content: "⇆"; font-size: 22px; color: #111; font-weight: 700; line-height: 1; background: none; width: auto; height: auto; }
.cg-intro .showcase-slide .ba-label { font-size: 11px; padding: 6px 14px; letter-spacing: .22em; backdrop-filter: blur(6px); top: 18px; border-radius: 6px; }
.cg-intro .showcase-slide .ba-label-before { left: 18px; background: rgba(0,0,0,0.65); }
.cg-intro .showcase-slide .ba-label-after { right: 18px; background: var(--yellow); color: #111; }

.cg-intro .showcase-slide .showcase-caption { padding: 24px 28px 28px; background: linear-gradient(180deg,#161616 0%,#0a0a0a 100%); color: #fff; border-radius: 0 0 18px 18px; border-top: 1px solid rgba(255,255,255,0.04); }
.cg-intro .caption-meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.cg-intro .caption-counter { font-size: 12px; font-weight: 800; letter-spacing: .18em; color: var(--yellow); display: inline-flex; align-items: baseline; gap: 4px; }
.cg-intro .caption-counter .caption-divider { opacity: .4; font-weight: 400; }
.cg-intro .caption-counter .caption-total { color: rgba(255,255,255,0.4); font-size: 11px; font-weight: 600; }
.cg-intro .caption-hint { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; color: rgba(255,255,255,0.5); letter-spacing: .06em; }
.cg-intro .caption-hint svg { width: 14px; height: 14px; }
.cg-intro .showcase-caption h4 { font-size: 22px; font-weight: 800; margin-bottom: 6px; letter-spacing: .02em; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.cg-intro .showcase-caption p { font-size: 14px; color: rgba(255,255,255,0.78); line-height: 1.75; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 3.5em; }

.cg-intro .showcase-thumbs { display: flex; gap: 12px; margin: 32px auto 0; max-width: 1100px; padding: 6px 16px 12px; overflow-x: auto; justify-content: center; flex-wrap: wrap; }
.cg-intro .showcase-thumb { position: relative; flex: 0 0 auto; width: 150px; height: 96px; border: 3px solid transparent; border-radius: 12px; overflow: hidden; cursor: pointer; background: transparent; padding: 0; transition: transform .25s ease, border-color .2s; }
.cg-intro .showcase-thumb::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,0.2); transition: background .25s; }
.cg-intro .showcase-thumb:hover { transform: translateY(-3px); }
.cg-intro .showcase-thumb:hover::after { background: rgba(0,0,0,0); }
.cg-intro .showcase-thumb.is-active { border-color: var(--yellow); transform: translateY(-3px); }
.cg-intro .showcase-thumb.is-active::after { background: rgba(0,0,0,0); }
.cg-intro .showcase-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cg-intro .showcase-thumb .thumb-num { position: absolute; top: 6px; left: 6px; background: rgba(0,0,0,0.78); color: #fff; font-size: 10px; font-weight: 800; padding: 3px 8px; border-radius: 4px; letter-spacing: .08em; z-index: 1; }
.cg-intro .showcase-thumb.is-active .thumb-num { background: var(--yellow); color: #111; }

/* Before/After スライダー本体（画像2枚重ね＋ハンドルでクリップ） */
.cg-intro .ba-slider { position: relative; width: 100%; aspect-ratio: 16/9; overflow: hidden; user-select: none; background: #000; touch-action: none; }
.cg-intro .ba-slider img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.cg-intro .ba-after-wrap { position: absolute; inset: 0; clip-path: inset(0 0 0 50%); }
.cg-intro .ba-handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; background: #fff; transform: translateX(-50%); cursor: ew-resize; box-shadow: 0 0 12px rgba(0,0,0,0.5); }
.cg-intro .ba-handle::after { content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 44px; height: 44px; background: #fff; border-radius: 50%; box-shadow: 0 4px 14px rgba(0,0,0,0.35); }
.cg-intro .ba-handle::before { content: "⇆"; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); font-size: 18px; color: #111; font-weight: 700; z-index: 2; line-height: 1; }
.cg-intro .ba-label { position: absolute; top: 14px; background: rgba(0,0,0,0.7); color: #fff; font-size: 10px; letter-spacing: .18em; padding: 5px 10px; border-radius: 4px; font-weight: 700; pointer-events: none; }
.cg-intro .ba-label-before { left: 14px; }
.cg-intro .ba-label-after { right: 14px; background: var(--yellow); color: #111; }

/* ---------- Summary ---------- */
.summary__row { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 1024px; width: 100%; margin: 32px auto 0; gap: 20px; }
.summary__card { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 36px 28px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.summary__icon { display: inline-flex; align-items: center; justify-content: center; width: 76px; height: 76px; border-radius: 50%; background: var(--yellow-soft); }
.summary__icon img { width: 40px; height: 40px; display: block; }
.summary__title { font-weight: 700; font-size: 18px; line-height: 1.5; margin-top: 20px; color: var(--ink); }
.summary__desc { font-weight: 400; font-size: 14px; line-height: 1.8; color: var(--muted); margin-top: 10px; }

/* ---------- HowItWorks ---------- */
.howitworks { padding: 80px 24px; }
.howitworks__inner { width: 100%; max-width: 1024px; margin: 0 auto; }
.howitworks__head { display: flex; flex-direction: column; align-items: center; }
.howitworks__label { font-weight: 700; font-size: 12px; line-height: 16px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--label); text-align: center; margin: 0; }
.howitworks__title { font-weight: 900; font-size: 36px; line-height: 40px; color: var(--ink); text-align: center; margin: 12px 0 0; }
.howitworks__grid { display: grid; grid-template-columns: repeat(3, 301.33px); column-gap: 32px; margin-top: 48px; justify-content: center; }
.howitworks__step { display: flex; flex-direction: column; gap: 16px; }
.howitworks__card { background: var(--bg-gray); border-radius: 6px; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.howitworks__dots { display: flex; gap: 8px; padding-bottom: 4px; }
.howitworks__dots span { width: 8px; height: 8px; border-radius: 50%; background: #e5e7eb; }
.howitworks__step:nth-child(1) .howitworks__card { gap: 8px; }
.howitworks__dropzone { flex: 1; min-height: 117.48px; border: 2px dashed #d1d5dc; border-radius: 4px; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 2px; }
.howitworks__icon { width: 32px; height: 32px; background: #e5e7eb; border-radius: 4px; display: flex; align-items: center; justify-content: center; }
.howitworks__icon img { width: 16px; height: 16px; display: block; }
.howitworks__dropzone-text { font-weight: 400; font-size: 12px; line-height: 16px; color: #99a1af; }
.howitworks__styles { display: flex; gap: 6px; }
.howitworks__styles-btn { flex: 1; height: 29px; display: flex; align-items: center; justify-content: center; border-radius: 6px; border: 1px solid #e5e7eb; font-weight: 500; font-size: 10px; line-height: 15px; color: #99a1af; text-align: center; }
.howitworks__styles-btn--active { background: var(--yellow); border-color: transparent; font-weight: 700; color: var(--ink); }
.howitworks__generating { flex: 1; min-height: 72.48px; background: #e5e7eb; border-radius: 4px; display: flex; align-items: center; justify-content: center; font-weight: 400; font-size: 10px; line-height: 15px; color: #99a1af; }
.howitworks__preview { flex: 1; min-height: 134.67px; background: #f3f4f6; border-radius: 4px; position: relative; overflow: hidden; }
.howitworks__cg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.howitworks__dl { position: absolute; right: 8px; bottom: 8px; background: var(--yellow); border-radius: 6px; padding: 4px 8px; font-weight: 700; font-size: 10px; line-height: 15px; color: var(--ink); }
.howitworks__steptitle { position: relative; min-height: 24px; }
.howitworks__num { position: absolute; left: 0; top: 6px; font-weight: 900; font-size: 12px; line-height: 16px; letter-spacing: 1.2px; color: var(--yellow); }
.howitworks__name { position: absolute; left: 29.03px; top: 0; font-weight: 700; font-size: 16px; line-height: 24px; color: var(--ink); white-space: nowrap; }
.howitworks__desc { margin: 8px 0 0; font-weight: 400; font-size: 14px; line-height: 22.75px; color: var(--label); }

/* ---------- UseCases ---------- */
.usecases { background: var(--bg-gray); padding: 80px 24px; }
.usecases__container { max-width: 1152px; margin: 0 auto; }
.usecases__label { font-weight: 700; font-size: 12px; line-height: 16px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--label); }
.usecases__title { margin: 12px 0 0; font-weight: 900; font-size: 36px; line-height: 40px; color: var(--ink); }
.usecases__grid { margin-top: 48px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.usecases__card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; text-decoration: none; transition: box-shadow .2s, transform .2s; }
.usecases__card:hover { box-shadow: 0 14px 34px rgba(0,0,0,0.07); transform: translateY(-3px); }
.usecases__media { background: #f3f4f6; aspect-ratio: 306 / 228; overflow: hidden; }
.usecases__img { display: block; width: 100%; height: 100%; object-fit: cover; }
.usecases__body { padding: 24px; }
.usecases__cat { display: inline-block; font-weight: 800; font-size: 15px; line-height: 1.3; letter-spacing: .02em; text-transform: none; color: #111; background: var(--yellow); padding: 6px 14px; border-radius: 6px; }
.usecases__name { margin: 8px 0 0; font-weight: 700; font-size: 16px; line-height: 24px; color: var(--ink); }
.usecases__desc { margin: 8px 0 0; font-weight: 400; font-size: 14px; line-height: 22.75px; color: var(--muted); }
.usecases__more { display: inline-flex; align-items: center; gap: 4px; margin-top: 16px; font-weight: 700; font-size: 14px; line-height: 20px; color: var(--ink); }
.usecases__arrow { display: block; width: 14px; height: 14px; }

/* ---------- Features ---------- */
.features { padding: 80px 24px; }
.features__container { width: 100%; max-width: 1152px; margin: 0 auto; }
.features__head { display: flex; flex-direction: column; align-items: flex-start; }
.features__label { margin: 0; font-weight: 700; font-size: 12px; line-height: 16px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--label); }
.features__title { margin: 12px 0 0; font-weight: 900; font-size: 36px; line-height: 40px; color: var(--ink); }
.features__grid { margin-top: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.features__card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; text-decoration: none; transition: box-shadow .2s, transform .2s; }
.features__card:hover { box-shadow: 0 12px 30px rgba(0,0,0,0.08); transform: translateY(-2px); }
.features__media { aspect-ratio: 16 / 9; background: #f3f4f6; overflow: hidden; }
.features__media img, .features__video { width: 100%; height: 100%; object-fit: cover; display: block; }
.features__body { padding: 24px 28px 26px; }
.features__card-title { margin: 0; font-weight: 700; font-size: 17px; line-height: 24px; color: var(--ink); }
.features__card-text { margin: 8px 0 0; font-weight: 400; font-size: 14px; line-height: 22.75px; color: var(--muted); }
.features__more { display: inline-flex; align-items: center; gap: 4px; margin-top: 16px; font-weight: 700; font-size: 13px; line-height: 16px; color: var(--ink); }
.features__arrow { display: block; width: 13px; height: 13px; }

/* ---------- Gallery ---------- */
.gallery { background: var(--bg-gray); padding: 80px 24px; }
.gallery__container { max-width: 1152px; width: 100%; margin: 0 auto; }
.gallery__label { margin: 0; font-weight: 700; font-size: 12px; line-height: 16px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--label); }
.gallery__title { margin: 0; padding-top: 12px; font-weight: 900; font-size: 36px; line-height: 40px; color: var(--ink); }
.gallery__lead { margin: 0; padding-top: 12px; font-weight: 400; font-size: 14px; line-height: 20px; color: var(--muted); }
.gallery__grid { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery__card { background: #fff; border: 1px solid var(--border); border-radius: 6px; overflow: hidden; padding: 1px; }
.gallery__photos { margin-top: 40px; }
.gallery__slider { position: relative; width: 100%; height: 208px; background: #f3f4f6; overflow: hidden; cursor: ew-resize; touch-action: none; user-select: none; }
.gallery__img { position: absolute; inset: 0; width: 100%; height: 100%; }
.gallery__img--after, .gallery__img--before img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.gallery__img--before { z-index: 1; clip-path: inset(0 calc(100% - var(--reveal, 50%)) 0 0); }
.gallery__tag { position: absolute; top: 12px; z-index: 2; padding: 4px 8px; background: rgba(255,255,255,0.9); border-radius: 6px; font-weight: 700; font-size: 10px; line-height: 15px; letter-spacing: 1px; color: var(--ink); white-space: nowrap; }
.gallery__tag--before { left: 12px; }
.gallery__tag--after { right: 12px; }
.gallery__handle { position: absolute; top: 0; left: var(--reveal, 50%); transform: translateX(-1px); width: 2px; height: 208px; z-index: 3; background: #fff; filter: drop-shadow(0px 10px 7.5px rgba(0,0,0,0.1)) drop-shadow(0px 4px 3px rgba(0,0,0,0.1)); pointer-events: none; }
.gallery__knob { position: absolute; left: -17px; top: 86px; width: 36px; height: 36px; background: #fff; border: 1px solid #e5e7eb; border-radius: 50%; display: flex; align-items: center; justify-content: center; filter: drop-shadow(0px 4px 3px rgba(0,0,0,0.1)) drop-shadow(0px 2px 2px rgba(0,0,0,0.1)); }
.gallery__knob img { display: block; width: 14px; height: 14px; }
.gallery__caption { margin: 0; padding: 12px 16px; font-weight: 700; font-size: 12px; line-height: 16px; color: var(--muted); white-space: nowrap; }

/* ---------- Pricing ---------- */
.pricing { display: flex; flex-direction: column; align-items: center; padding: 80px 24px; }
.pricing__container { display: flex; flex-direction: column; align-items: stretch; width: 768px; max-width: 100%; }
.pricing__eyebrow { margin: 0; font-weight: 700; font-size: 12px; line-height: 16px; letter-spacing: 1.2px; text-transform: uppercase; text-align: center; color: var(--muted); }
.pricing__heading { margin: 0; padding-top: 12px; font-weight: 900; font-size: 36px; line-height: 40px; text-align: center; color: var(--ink); }
.pricing__card { margin-top: 40px; background: #fff; border: 1px solid var(--border); border-radius: 6px; box-shadow: 0px 1px 3px 0px rgba(0,0,0,0.1), 0px 1px 2px -1px rgba(0,0,0,0.1); overflow: hidden; }
.pricing__card-head { padding: 40px 40px 41px; border-bottom: 1px solid var(--border); }
.pricing__price-row { display: flex; align-items: flex-end; justify-content: center; gap: 8px; }
.pricing__price { font-weight: 900; font-size: 60px; line-height: 60px; text-align: center; color: var(--ink); white-space: nowrap; }
.pricing__price-unit { padding-bottom: 8px; font-weight: 400; font-size: 16px; line-height: 24px; color: var(--muted); white-space: nowrap; }
.pricing__price-note { margin: 0; padding-top: 8px; font-weight: 400; font-size: 14px; line-height: 20px; text-align: center; color: var(--muted); }
.pricing__card-body { padding: 40px; }
.pricing__features { list-style: none; margin: 0 0 32px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 12px; row-gap: 12px; }
.pricing__feature { display: flex; align-items: center; gap: 10px; }
.pricing__check { flex-shrink: 0; width: 14px; height: 14px; display: block; }
.pricing__feature span { font-weight: 400; font-size: 14px; line-height: 20px; color: var(--ink); }
.pricing__cta { display: flex; align-items: center; justify-content: center; width: 100%; box-sizing: border-box; padding: 14px 32px; background: var(--yellow); border-radius: 6px; text-decoration: none; font-weight: 700; font-size: 16px; line-height: 24px; text-align: center; color: var(--ink); }
.pricing__trial { margin: 0; padding-top: 12px; font-weight: 400; font-size: 12px; line-height: 16px; text-align: center; color: var(--muted); }
.pricing__footnote { margin: 0; padding-top: 24px; font-weight: 400; font-size: 12px; line-height: 16px; text-align: center; color: var(--muted); }
.pricing__faq-link { color: inherit; text-decoration: underline; }

/* ---------- CaseStudies ---------- */
.casestudies { background: var(--bg-gray); padding: 80px 24px; }
.casestudies__container { max-width: 1152px; width: 100%; margin: 0 auto; }
.casestudies__label { margin: 0; font-weight: 700; font-size: 12px; line-height: 16px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--label); }
.casestudies__title { margin: 12px 0 0; font-weight: 900; font-size: 36px; line-height: 40px; color: var(--ink); }
.casestudies__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.casestudies__card { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 32px 30px; box-sizing: border-box; transition: box-shadow .2s, transform .2s; }
.casestudies__card:hover { box-shadow: 0 14px 34px rgba(0,0,0,0.07); transform: translateY(-3px); }
.casestudies__card-label { display: inline-block; margin: 0; padding: 4px 12px; background: var(--yellow-soft); border-radius: 999px; font-weight: 700; font-size: 11px; line-height: 16px; letter-spacing: .3px; color: #8a6a00; }
.casestudies__card-stat { margin: 18px 0 0; font-weight: 900; font-size: 26px; line-height: 1.2; letter-spacing: -0.5px; color: var(--ink); }
.casestudies__card-company { margin: 16px 0 0; font-weight: 700; font-size: 14px; line-height: 20px; color: var(--ink); }
.casestudies__card-desc { margin: 8px 0 0; font-weight: 400; font-size: 14px; line-height: 22.75px; color: var(--label); }

/* ---------- Comparison ---------- */
.comparison { display: flex; flex-direction: column; align-items: center; padding: 80px 24px; }
.comparison__container { width: 896px; max-width: 100%; }
.comparison__head { display: flex; flex-direction: column; align-items: center; }
.comparison__eyebrow { margin: 0; font-weight: 700; font-size: 12px; line-height: 16px; letter-spacing: 1.2px; text-transform: uppercase; text-align: center; color: var(--muted); }
.comparison__title { margin: 12px 0 0; font-weight: 900; font-size: 36px; line-height: 40px; text-align: center; color: var(--ink); }
.comparison__lead { margin: 12px 0 0; font-weight: 400; font-size: 14px; line-height: 20px; text-align: center; color: var(--muted); }
.comparison__table-wrap { margin-top: 48px; border: 1px solid var(--border); border-radius: 6px; overflow: hidden; width: 100%; }
.comparison__table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.comparison__row--head { height: 42px; background: var(--bg-gray); }
.comparison__cell { text-align: left; vertical-align: middle; padding: 0 20px; }
.comparison__cell--label { width: 298px; font-weight: 700; font-size: 14px; line-height: 20px; color: var(--ink); }
.comparison__cell--col { width: 299px; border-left: 1px solid var(--border); }
.comparison__th { font-weight: 700; font-size: 12px; line-height: 16px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); }
.comparison__th--brand { color: var(--ink); background: rgba(245,197,24,0.16); font-size: 13px; }
.comparison__dot { display: inline-block; width: 6px; height: 6px; margin-right: 4px; border-radius: 50%; background: var(--yellow); vertical-align: middle; }
.comparison__row--a, .comparison__row--b { height: 53px; border-top: 1px solid var(--border); }
.comparison__row--a { background: #fff; }
.comparison__row--b { background: rgba(247,247,247,0.5); }
.comparison__old { font-weight: 400; font-size: 14px; line-height: 20px; color: var(--muted); }
.comparison__new { font-weight: 700; font-size: 14px; line-height: 20px; color: var(--ink); background: rgba(245,197,24,0.07); }
.comparison__new::before { content: "✓"; margin-right: 8px; color: #c79400; font-weight: 900; }
.comparison__note { margin: 16px 0 0; font-weight: 400; font-size: 12px; line-height: 16px; text-align: center; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { background: var(--bg-gray); padding: 80px 24px; }
.faq__inner { display: flex; flex-direction: column; align-items: center; width: 672px; max-width: 100%; margin: 0 auto; }
.faq__label { margin: 0; font-weight: 700; font-size: 12px; line-height: 16px; letter-spacing: 1.2px; text-transform: uppercase; text-align: center; color: var(--label); }
.faq__title { margin: 12px 0 0; font-weight: 900; font-size: 36px; line-height: 40px; text-align: center; color: var(--ink); }
.faq__list { width: 100%; margin-top: 48px; background: #fff; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.faq__item { border-bottom: 1px solid var(--border); }
.faq__item:last-child { border-bottom: 0; }
.faq__q-btn { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; padding: 20px 24px; background: none; border: 0; cursor: pointer; text-align: left; font-family: inherit; transition: background .15s; }
.faq__q-btn:hover { background: #fafafa; }
.faq__q { font-weight: 700; font-size: 15px; line-height: 1.5; color: var(--ink); }
.faq__toggle { position: relative; flex-shrink: 0; width: 16px; height: 16px; }
.faq__toggle::before, .faq__toggle::after { content: ""; position: absolute; left: 50%; top: 50%; background: var(--ink); border-radius: 1px; transition: transform .25s, background .25s; }
.faq__toggle::before { width: 14px; height: 2px; transform: translate(-50%,-50%); }
.faq__toggle::after { width: 2px; height: 14px; transform: translate(-50%,-50%); }
.faq__item.is-open .faq__toggle::before { background: var(--yellow); }
.faq__item.is-open .faq__toggle::after { transform: translate(-50%,-50%) scaleY(0); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq__a p { margin: 0; padding: 0 24px 22px; font-size: 14px; line-height: 1.85; color: var(--muted); }
.faq__more { width: 100%; margin-top: 24px; display: flex; justify-content: center; }
.faq__more-link { display: inline-flex; align-items: center; gap: 6px; padding-bottom: 3px; border-bottom: 1px solid var(--ink); font-weight: 700; font-size: 14px; line-height: 20px; color: var(--ink); text-decoration: none; }
.faq__more-icon { flex-shrink: 0; width: 14px; height: 14px; }

/* ---------- FinalCTA ---------- */
.finalcta { display: flex; flex-direction: column; align-items: center; padding: 96px 24px; }
.finalcta__container { display: flex; flex-direction: column; align-items: center; width: 576px; max-width: 100%; }
.finalcta__heading { margin: 0; width: 100%; font-weight: 900; font-size: 36px; line-height: 40px; text-align: center; color: var(--ink); }
.finalcta__lead { margin: 0; padding-top: 16px; font-weight: 400; font-size: 16px; line-height: 24px; text-align: center; color: var(--muted); }
.finalcta__actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: flex-end; justify-content: center; max-width: 820px; margin: 0 auto; padding-top: 32px; }

/* ===========================================================
   トンマナ：セクション見出し（中央寄せ＋イエロー下線・既存LP準拠）
   =========================================================== */
/* 見出しブロックを中央に */
.features__head { align-items: center; }
.usecases__container, .features__head, .gallery__head,
.casestudies__header { text-align: center; }
/* カード内テキストは左寄せに戻す */
.usecases__card, .features__card, .casestudies__card, .gallery__card { text-align: left; }

/* キッカー（英字ラベル）：中央・補足色 */
.howitworks__label, .usecases__label, .features__label, .gallery__label,
.pricing__eyebrow, .casestudies__label, .comparison__eyebrow, .faq__label {
  display: block; text-align: center; color: var(--muted);
}

/* セクションタイトル：中央＋イエロー下線 */
.howitworks__title, .usecases__title, .features__title, .gallery__title,
.pricing__heading, .casestudies__title, .comparison__title, .faq__title, .finalcta__heading {
  text-align: center; position: relative; padding-bottom: 18px;
  font-size: 30px; font-weight: 800; letter-spacing: .02em; color: var(--ink);
}
.howitworks__title::after, .usecases__title::after, .features__title::after, .gallery__title::after,
.pricing__heading::after, .casestudies__title::after, .comparison__title::after, .faq__title::after, .finalcta__heading::after {
  content: ""; position: absolute; left: 50%; transform: translateX(-50%); bottom: 0;
  width: 44px; height: 3px; background: var(--yellow); border-radius: 2px;
}

/* リード文も中央 */
.gallery__lead, .comparison__lead { text-align: center; }

/* ===========================================================
   HowItWorks ステップの“操作している風”アニメーション（CSSのみ・ループ）
   =========================================================== */
/* STEP01：写真がドロップゾーンに落ちて枠が反応 */
.howitworks__dropzone { position: relative; overflow: hidden; animation: hiw-zone 3.4s ease-in-out infinite; }
.howitworks__drop-file { position: absolute; top: 12px; left: 50%; width: 30px; height: 22px; border-radius: 3px;
  background: #fff; border: 1.5px solid #cbd0d8; box-shadow: 0 3px 8px rgba(0,0,0,0.12);
  transform: translate(-50%, -34px); opacity: 0; animation: hiw-drop 3.4s ease-in-out infinite; }
.howitworks__drop-file::after { content: ""; position: absolute; left: 4px; right: 4px; bottom: 4px; height: 7px;
  background: linear-gradient(120deg, var(--yellow) 42%, #cbd0d8 42%); border-radius: 1px; }
@keyframes hiw-zone {
  0%, 38% { border-color: #d1d5dc; background-color: transparent; }
  46%, 64% { border-color: var(--yellow); background-color: rgba(245,197,24,0.08); }
  72%, 100% { border-color: #d1d5dc; background-color: transparent; }
}
@keyframes hiw-drop {
  0% { transform: translate(-50%, -34px); opacity: 0; }
  18% { opacity: 1; }
  44%, 66% { transform: translate(-50%, 0); opacity: 1; }
  82%, 100% { transform: translate(-50%, 0); opacity: 0; }
}

/* STEP02：スタイルが順に選択される + 「生成中…」シマー */
.howitworks__styles-btn { animation: hiw-pick 6s ease-in-out infinite; }
.howitworks__styles-btn:nth-child(1) { animation-delay: 0s; }
.howitworks__styles-btn:nth-child(2) { animation-delay: 2s; }
.howitworks__styles-btn:nth-child(3) { animation-delay: 4s; }
@keyframes hiw-pick {
  0%, 6% { background: #fff; border-color: #e5e7eb; color: #99a1af; }
  12%, 24% { background: var(--yellow); border-color: transparent; color: var(--ink); }
  30%, 100% { background: #fff; border-color: #e5e7eb; color: #99a1af; }
}
.howitworks__generating { position: relative; overflow: hidden; }
.howitworks__generating::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 35%, rgba(255,255,255,0.65) 50%, transparent 65%);
  transform: translateX(-120%); animation: hiw-shimmer 1.8s linear infinite; }
@keyframes hiw-shimmer { to { transform: translateX(120%); } }

/* STEP03：CGがゆっくりズーム + DLボタンが押される風 */
.howitworks__cg { animation: hiw-zoom 6s ease-in-out infinite; }
@keyframes hiw-zoom { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }
.howitworks__dl { animation: hiw-dl 2.6s ease-in-out infinite; }
@keyframes hiw-dl {
  0%, 68%, 100% { transform: scale(1); box-shadow: 0 0 0 rgba(245,197,24,0); }
  80% { transform: scale(0.9); }
  88% { transform: scale(1.08); box-shadow: 0 6px 16px rgba(245,197,24,0.5); }
}

/* モーション控えめ設定を尊重 */
@media (prefers-reduced-motion: reduce) {
  .howitworks__dropzone, .howitworks__styles-btn, .howitworks__generating::after,
  .howitworks__cg, .howitworks__dl { animation: none; }
  .howitworks__drop-file { display: none; }
  .howitworks__styles-btn:nth-child(1) { background: var(--yellow); border-color: transparent; color: var(--ink); }
}

/* ===========================================================
   FinalCTA：暗いフルブリード帯で締める（カード羅列の単調さを断つ）
   =========================================================== */
.finalcta { position: relative; background: #141414; overflow: hidden; }
.finalcta::before { content: ""; position: absolute; inset: 0;
  background: linear-gradient(rgba(15,15,15,0.78), rgba(15,15,15,0.84)), url("../assets/images/drive-exterior.jpg") center/cover no-repeat; }
.finalcta__container { position: relative; z-index: 1; }
.finalcta__heading { color: #fff; }
.finalcta__lead { color: rgba(255,255,255,0.82); }

/* ===========================================================
   レスポンシブ — タブレット ≤900 / ≤768 / モバイル ≤480
   =========================================================== */

/* --- タブレット以下：ヒーロー縮小 --- */
@media (max-width: 900px) {
  .hero { height: 600px; }
  .hero__title { font-size: 32px; }
  .hero__lead { font-size: 15px; }

  .cg-intro .image-cards { grid-template-columns: 1fr; }
  .cg-intro .showcase-slide { flex-basis: calc(80vw - 14px); width: calc(80vw - 14px); margin: 0 7px; border-radius: 14px; }
  .cg-intro .showcase-slide > .ba-slider { border-radius: 14px 14px 0 0; }
  .cg-intro .showcase-slide .showcase-caption { padding: 20px 22px; border-radius: 0 0 14px 14px; }
  .cg-intro .showcase-caption h4 { font-size: 18px; }
  .cg-intro .showcase-caption p { font-size: 13px; }
  .cg-intro .showcase-slide .ba-handle::after { width: 52px; height: 52px; }
  .cg-intro .showcase-thumb { width: 130px; height: 84px; }

  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
}

/* --- タブレット ≤768：グリッドを集約 --- */
@media (max-width: 768px) {
  /* ヒーロー：コピー上・LP準拠の重なりCTA、ボタン縦積み全幅 */
  .hero { height: 520px; }
  .hero__content { padding: 80px 20px 0; }
  .hero__dots { display: none; }
  .hero__title-break { display: inline; }
  .hero__trial { font-size: 11.5px; bottom: 68px; padding: 6px 14px; max-width: calc(100% - 24px); }
  .hero-cta { margin-top: -58px; }
  .hero-cta__buttons { flex-direction: column; align-items: center; gap: 12px; max-width: 360px; }
  .hero-cta__primary-wrap { width: 100%; max-width: 360px; flex: none; min-width: 0; }
  .hero-cta__buttons > .btn-lg { min-width: 0; flex: none; width: 100%; max-width: 360px; }
  .btn-lg { padding: 18px 24px; font-size: 15px; }

  .cg-intro { padding: 56px 0; }
  .cg-intro .container { padding: 0 16px; }
  .cg-intro h2.section-title { font-size: 22px; }
  .cg-intro .section-lead { font-size: 13.5px; line-height: 1.85; margin-bottom: 28px; }
  .cg-intro .sub-heading { font-size: 17px; }
  .cg-intro .sub-heading-spaced { margin-top: 56px; }
  .cg-intro .showcase-slide { flex-basis: 100vw; width: 100vw; margin: 0; border-radius: 0; }
  .cg-intro .showcase-slide::after { background: rgba(15,15,15,0.55); }
  .cg-intro .showcase-slide > .ba-slider { border-radius: 0; }
  .cg-intro .showcase-slide .showcase-caption { padding: 16px 18px; border-radius: 0; }
  .cg-intro .showcase-caption h4 { font-size: 15px; }
  .cg-intro .showcase-caption p { font-size: 12px; }
  .cg-intro .caption-meta { margin-bottom: 8px; }
  .cg-intro .showcase-slide .ba-label { font-size: 10px; padding: 4px 10px; top: 12px; }
  .cg-intro .showcase-slide .ba-label-before { left: 12px; }
  .cg-intro .showcase-slide .ba-label-after { right: 12px; }
  .cg-intro .showcase-slide .ba-handle::after { width: 44px; height: 44px; }
  .cg-intro .showcase-slide .ba-handle::before { font-size: 18px; }
  .cg-intro .showcase-thumb { width: 96px; height: 64px; border-width: 2px; }
  .cg-intro .showcase-thumbs { gap: 8px; margin-top: 18px; }

  .summary__row { grid-template-columns: 1fr; gap: 0; margin-top: 24px; }
  .summary__card { min-height: 0; border-radius: 0; border-bottom: 1px solid var(--border); }
  .summary__card:first-child { border-radius: 6px 6px 0 0; }
  .summary__card:last-child { border-radius: 0 0 6px 6px; border-bottom: 0; }

  .howitworks, .usecases, .features, .gallery, .pricing, .casestudies, .comparison, .faq { padding: 56px 16px; }
  .finalcta { padding: 64px 16px; }

  .howitworks__grid { grid-template-columns: 1fr; row-gap: 32px; max-width: 420px; margin-left: auto; margin-right: auto; }
  .usecases__grid { grid-template-columns: 1fr; gap: 20px; }
  .features__grid { grid-template-columns: 1fr; }
  .gallery__grid { grid-template-columns: 1fr; gap: 20px; max-width: 420px; margin-left: auto; margin-right: auto; }
  .gallery__card { width: 100%; }
  .casestudies__grid { grid-template-columns: 1fr; gap: 20px; }
  .casestudies__card { min-height: 0; }
  .features__card { min-height: 0; }

  /* 各セクション見出しを少し縮小 */
  .howitworks__title, .usecases__title, .features__title, .gallery__title,
  .pricing__heading, .casestudies__title, .comparison__title, .faq__title, .finalcta__heading { font-size: 28px; line-height: 1.3; }

  /* 比較表は横スクロール許可 */
  .comparison__table-wrap { overflow-x: auto; }
  .comparison__table { min-width: 640px; }

  /* 料金カード内の余白を圧縮 */
  .pricing__card-head, .pricing__card-body { padding: 28px 24px; }
  .pricing__price { font-size: 48px; line-height: 1; }

  /* FinalCTA ボタン縦積み */
  .finalcta__actions { flex-direction: column; align-items: center; width: 100%; max-width: 360px; margin: 0 auto; }
  .finalcta__actions .hero-cta__primary-wrap { width: 100%; max-width: 360px; flex: none; min-width: 0; }
  .finalcta__actions > .btn-lg { min-width: 0; flex: none; width: 100%; max-width: 360px; }
  .finalcta__lead { white-space: normal; }
}

/* --- モバイル ≤480：さらに圧縮 --- */
@media (max-width: 480px) {
  .hero__title { font-size: 27px; }
  .pricing__features { grid-template-columns: 1fr; }
  .howitworks__title, .usecases__title, .features__title, .gallery__title,
  .pricing__heading, .casestudies__title, .comparison__title, .faq__title, .finalcta__heading { font-size: 24px; }
  .gallery__caption, .comparison__cell { white-space: normal; }
}
