@charset "UTF-8";
/* =========================================================
   IDレシートAI LP
   - 基本はPC（1440px基準／コンテンツ幅1200px固定）
   - ブレークポイントは768pxの1つのみ。767px以下がSP
   ========================================================= */

/* ---------- 変数 ---------- */
:root{
  --navy:#07506a;
  --teal:#0b6e8c;
  --rose:#a8455c;
  --pale:#cfe4ec;
  --bg-pale:#eaf4f8;
  --bg-rose:#faeef1;
  --bg-grey:#f3f7f9;
  --border:#d5e1e7;
  --text:#16303d;
  --text-sub:#4b5f6a;
  --text-body:#34495a;
  --red:#c0392b;
  --grad-ai:linear-gradient(120deg,#00a9d4 0%,#6a63c6 52%,#c0399f 100%);
  --grad-cta:linear-gradient(90deg,#ef6600,#f7cc00);
  --header-h:76px;
}

/* ---------- リセット ---------- */
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;background:#fff;color:var(--text);
  font-family:"Noto Sans JP","Hiragino Sans","Yu Gothic",sans-serif;
  font-size:16px;line-height:1.8;-webkit-text-size-adjust:100%;
}
img{max-width:100%;height:auto;border:0}
ul,ol{margin:0;padding:0;list-style:none}
h1,h2,h3,p{margin:0}
a{color:var(--teal);text-decoration:none}
button{font:inherit;color:inherit;background:none;border:0;padding:0;cursor:pointer}

/* アンカー着地が固定ヘッダーに隠れないよう退避 */
#navi,#interview,#data,#cases,#faq,#cta{scroll-margin-top:calc(var(--header-h) + 16px)}

/* ---------- 共通 ---------- */
.container{width:100%;max-width:1240px;margin-inline:auto;padding-inline:20px}
.sp-only{display:none}
.arrow-down.sp-only{display:none}
.gradtx{background:var(--grad-ai);-webkit-background-clip:text;background-clip:text;color:transparent}
/* 見出し内の数字を「万人」「社」の漢字と同じ高さにそろえる（.hero__num と同じ比率） */
.num-lg{font-size:1.11em;letter-spacing:0}
/* SVGグラデーション定義用（表示しない） */
.svg-defs{position:absolute;width:0;height:0;overflow:hidden}
.note{font-size:13px;line-height:1.7;color:var(--text-sub)}
.note--light{color:#d6dee4}
.num{color:var(--red);font-weight:700}
.placeholder{
  display:flex;align-items:center;justify-content:center;
  border:2px dashed #9fb8c3;background:#eef4f7;border-radius:12px;
  color:var(--text-sub);font-size:14px;text-align:center;
}

/* 見出し */
.headline{position:relative;display:flex;flex-direction:column;align-items:center;gap:10px}
.headline__wm{
  position:absolute;top:50%;left:50%;transform:translate(-50%,-92%);
  font-family:"Zen Kaku Gothic New","Noto Sans JP",sans-serif;font-weight:900;
  font-size:110px;line-height:1;letter-spacing:.1em;white-space:nowrap;
  color:rgba(11,60,80,.07);pointer-events:none;
}
.headline__wm--sm{font-size:100px}
.headline__title{
  position:relative;font-family:"Zen Kaku Gothic New","Noto Sans JP",sans-serif;
  font-size:40px;line-height:1.4;font-weight:900;text-align:center;
}
.headline__rule{position:relative;width:96px;height:5px;border-radius:999px;background:var(--grad-ai)}

/* ボタン */
.btn{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;font-weight:700;text-align:center}
.btn--cta{background:var(--grad-cta);color:#fff;box-shadow:0 6px 16px rgba(0,0,0,.18)}
.btn--cta:hover{color:#fff;opacity:.92}
.btn--lg{width:440px;height:76px;font-size:20px}
.btn--xl{width:480px;height:80px;font-size:21px}
.btn--block{width:100%;height:62px;font-size:16px}

/* ▼ */
.arrow-down{display:flex;justify-content:center}
.arrow-down svg{width:96px;height:46px}
.arrow-down svg path{fill:url(#grad-ai-svg)}
.arrow-down--sm svg{width:26px;height:22px}

/* =========================================================
   ヘッダー
   ========================================================= */
.header{
  position:fixed;top:0;left:0;width:100%;z-index:100;
  /* 既定は背景あり：JSが無効でも文字が読めるようにしておく */
  background:rgba(16,29,48,.88);backdrop-filter:blur(8px);
  transition:background .25s ease;
}
/* JSが最上部を検知している間だけ透明にする */
.header.is-top{background:transparent;backdrop-filter:none}
.header__inner{
  max-width:1440px;margin-inline:auto;height:var(--header-h);
  display:flex;align-items:center;gap:30px;padding:0 64px 0 56px;
}
.header__logo{flex-shrink:0}
.header__logo img{display:block;width:180px;height:36px;object-fit:contain;object-position:left center}
.gnav{margin-left:auto}
.gnav__list{display:flex;align-items:center;gap:30px}
.gnav__link{color:#fff;font-size:15px;font-weight:700;white-space:nowrap}
.gnav__link:hover{color:#fff;opacity:.75}
.header__cta{height:46px;padding:0 26px;font-size:15px;white-space:nowrap}
.hamburger{display:none}
.header__blank{display:inline-flex;width:12px;height:12px;margin-left:3px}

/* ドロワー（SPのみ表示） */
.drawer{display:none}

/* =========================================================
   1. ファーストビュー
   ========================================================= */
.hero{position:relative;overflow:hidden;background:#101d30;color:#fff}
.hero__media{position:absolute;inset:0}
.hero__media img{
  width:100%;height:100%;object-fit:cover;object-position:62% 42%;
  filter:grayscale(.95) contrast(1.12) brightness(1.04);opacity:.88;
}
.hero__media::after{
  content:"";position:absolute;inset:0;
  background:
    linear-gradient(180deg,rgba(16,29,48,.6) 0%,rgba(16,29,48,0) 24%,rgba(16,29,48,0) 72%,rgba(16,29,48,.82) 100%),
    linear-gradient(100deg,rgba(16,29,48,.8) 0%,rgba(16,29,48,.68) 34%,rgba(16,29,48,.4) 58%,rgba(16,29,48,.24) 80%,rgba(16,29,48,.5) 100%);
}
.hero__inner{
  position:relative;max-width:1440px;margin-inline:auto;min-height:580px;
  padding:var(--header-h) 64px 36px 56px;display:flex;align-items:center;gap:56px;
}
.hero__copy{flex:0 0 660px;display:flex;flex-direction:column;align-items:flex-start;gap:26px}
.hero__label{
  background:var(--grad-ai);color:#fff;font-size:18px;font-weight:700;
  padding:8px 18px;border-radius:999px;box-shadow:0 6px 18px rgba(0,120,180,.35);
}
.hero__logo{display:block;width:450px;height:90px;object-fit:contain;object-position:left center}
.hero__title{
  font-family:"Zen Kaku Gothic New","Noto Sans JP",sans-serif;
  font-size:34px;line-height:1.6;font-weight:900;white-space:nowrap;
  font-feature-settings:"palt" 1;letter-spacing:.01em;
  text-shadow:0 2px 16px rgba(6,16,30,.75);
}
.hero__phrase{display:inline-block}/* 折り返す場合も文節の途中で切らない */
.hero__num{font-size:1.11em;letter-spacing:0}
.hero__ai{display:inline-block;width:50px;height:42px;object-fit:contain;vertical-align:-9px;margin:0 4px}
.hero__shot{flex:1 1 auto;display:flex;flex-direction:column;align-items:flex-end;gap:10px}
.laptop{width:100%;background:#1d2228;border-radius:12px 12px 0 0;padding:10px 10px 12px}
/* 高さは固定せず元画像の比率に従う（どの幅でも画面全体を表示。差し替え時も比率が変わってよい） */
.laptop img,.laptop video{display:block;width:100%;height:auto;background:#fff}
.laptop .laptop__still{display:none}
/* OSで「視差効果を減らす」等が有効なら、動画の代わりに静止画を出す */
@media (prefers-reduced-motion:reduce){
  .laptop .laptop__video{display:none}
  .laptop .laptop__still{display:block}
}

/* =========================================================
   2. 導入実績
   ========================================================= */
.clients{padding:70px 0 56px;background:#fff}
.clients__inner{display:flex;flex-direction:column;align-items:center;gap:22px}
.clients__lead{
  font-family:"Zen Kaku Gothic New","Noto Sans JP",sans-serif;
  font-size:40px;line-height:1.5;font-weight:900;text-align:center;
}
.clients__lead .gradtx{display:inline-block}
.clients__logos{display:block;width:100%;max-width:990px;height:auto}
.clients__caption{align-self:flex-end;margin-top:-20px;margin-right:35px;font-size:13px;color:var(--text-sub)}

/* =========================================================
   3. 課題と解決
   ========================================================= */
.problem{padding:96px 0 104px;background:var(--bg-pale)}
.pcards,.scards{display:grid;grid-template-columns:repeat(3,1fr);gap:28px;margin-top:44px}
.pcard{background:#fff;border-radius:14px;padding:20px 24px 24px;display:flex;flex-direction:column;gap:10px}
.pcard__tag{
  align-self:flex-start;display:inline-flex;align-items:center;height:38px;padding:0 20px;
  background:var(--pale);color:var(--navy);border-radius:999px;font-size:19px;font-weight:700;
}
.pcard__img{display:block;align-self:center;width:100%;max-width:240px;height:140px;object-fit:contain}
.pcard__text{
  font-family:"Zen Kaku Gothic New","Noto Sans JP",sans-serif;
  font-size:21px;line-height:1.45;font-weight:700;text-align:center;
}
.arrow-down{margin:36px 0 12px}
.scards{margin-top:34px;gap:34px}
.scard{position:relative;background:#fff;border-radius:14px;padding:30px 24px 22px;display:flex;flex-direction:column;align-items:center;gap:14px}
.scard__badge{position:absolute;left:-16px;top:-18px;display:block;filter:drop-shadow(0 4px 10px rgba(10,60,90,.22))}
.scard__badge svg{display:block;width:54px;height:46px}
.scard__badge rect{fill:url(#grad-ai-svg)}
.scard__badge .s{fill:none;stroke:#fff;stroke-width:5;stroke-linecap:round;stroke-linejoin:round}
.scard__text{
  font-family:"Zen Kaku Gothic New","Noto Sans JP",sans-serif;
  font-size:19px;line-height:1.4;font-weight:900;text-align:center;white-space:nowrap;
}
.scard__img{display:block;width:100%;max-width:260px;height:150px;object-fit:contain}

/* =========================================================
   4. 2つの機能
   ========================================================= */
.feature{padding:96px 0 100px;background:#fff}
.fcard{border-radius:20px;overflow:hidden;margin-top:44px}
.fcard--navi{background:var(--bg-pale)}
.fcard--interview{background:var(--bg-rose)}
.fcard::before{content:"";display:block;height:8px;background:var(--grad-ai)}
.fcard__body{display:flex;align-items:center;gap:48px;padding:48px}
.fcard__body--rev{flex-direction:row-reverse}
/* 480px：リード文「集計・読み解き・グラフ化まで」（34px×14字）が1行に収まる幅。広げると下の短い要素との間に余白が目立つ */
.fcard__text{flex:0 0 480px;display:flex;flex-direction:column;align-items:flex-start;gap:24px}
.fcard__demo{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:10px}
.fcard__name{
  display:inline-flex;align-items:center;gap:14px;background:#fff;border-radius:10px;
  padding:10px 24px 10px 16px;white-space:nowrap;
  font-family:"Zen Kaku Gothic New","Noto Sans JP",sans-serif;font-size:34px;font-weight:900;
  box-shadow:0 4px 14px rgba(10,60,90,.10);
}
.fcard__name img{display:block;height:40px;width:auto}
.fcard--navi .fcard__name{color:var(--teal)}
.fcard--interview .fcard__name{color:var(--rose)}
.fcard__lead{font-family:"Zen Kaku Gothic New","Noto Sans JP",sans-serif;font-size:34px;line-height:1.45;font-weight:900}
.fcard__desc{font-size:16px;line-height:1.9;color:var(--text-body)}
.fcard__points{display:flex;flex-direction:column;gap:14px}
.fcard__points li{display:flex;align-items:center;gap:14px;font-size:18px;font-weight:700}
.check{flex-shrink:0;width:24px;height:24px;fill:none;stroke-width:2}
.fcard--navi .check{stroke:var(--teal)}
.fcard--interview .check{stroke:var(--rose)}
.examples{background:#fff;border-radius:12px;padding:18px 22px;display:flex;flex-direction:column;gap:8px}
.examples--navi{border:1px dashed var(--teal)}
.examples--interview{border:1px dashed var(--rose)}
.examples__title{font-family:"Zen Kaku Gothic New","Noto Sans JP",sans-serif;font-size:16px;font-weight:900}
.examples--navi .examples__title{color:var(--teal)}
.examples--interview .examples__title{color:var(--rose)}
.examples__list li{font-size:16px;line-height:1.6;color:#26323a}
.examples__list li::before{content:"・"}

.demo-label{font-size:14px;font-weight:700}
.demo-label--navi{color:var(--teal)}
.demo-label--interview{color:var(--rose)}

/* ブラウザ風モック */
.browser{border-radius:12px;overflow:hidden;background:#f7fbfc}
.browser--navi{border:1px solid var(--border);box-shadow:0 16px 36px rgba(11,60,80,.14)}
.browser--interview{border:1px solid #e3c3ca;background:#fbf5f7;box-shadow:0 16px 36px rgba(80,20,40,.14)}
/* PCはウィンドウごと縮小し、機能カードの高さを1画面に収まる約750pxに抑える（幅は列いっぱいのまま中身だけ縮む） */
@media (min-width:1240px){
  .browser--navi,.browser--interview{zoom:.85}
}
.browser__bar{height:32px;background:#e9edf0;border-bottom:1px solid #dde3e7;display:flex;align-items:center;gap:7px;padding:0 16px}
.browser__dot{width:10px;height:10px;border-radius:50%}
.browser__dot--r{background:#e2a9a2}
.browser__dot--y{background:#e3cd9c}
.browser__dot--g{background:#a9c9a9}

.chat{padding:14px 16px 16px;display:flex;flex-direction:column;gap:10px}
.bubble{padding:11px 16px;font-size:14px;line-height:1.6}
.bubble--q{align-self:flex-end;max-width:86%;background:var(--teal);color:#fff;border-radius:14px 14px 4px 14px}
.bubble--ask{align-self:flex-end;max-width:80%;background:var(--rose);color:#fff;border-radius:14px 14px 4px 14px;font-size:12.5px;line-height:1.7}
.bubble--persona{background:#fff;border:1px solid #e3c3ca;border-radius:4px 14px 14px 14px;font-size:12.5px;line-height:1.7}
.bubble-row{display:flex;gap:10px;align-items:flex-start}
.bubble-row__avatar{flex-shrink:0;width:32px;height:32px;border-radius:50%;object-fit:cover;background:#eef3f4}
.bubble-row .bubble{max-width:94%}
.answer{background:#fff;border:1px solid #dfe8ed;border-radius:14px 14px 14px 4px;padding:14px 16px;display:flex;flex-direction:column;gap:10px}
.answer__text{font-size:13px;line-height:1.85;color:#26323a}

.chartbox{border-top:1px solid #edf2f5;padding-top:10px;display:flex;flex-direction:column;gap:8px}
.chartbox__title{font-size:11px;font-weight:700;color:var(--text-sub)}
.chartbox__legend{display:flex;gap:14px;font-size:10px;color:#5a6b7d}
.lg{display:inline-flex;align-items:center;gap:5px}
.lg::before{content:"";width:14px;height:2px}
.lg--price::before{background:#5b7fd4}
.lg--count::before{background:#b3c92b}
.chart{display:block;width:100%;height:auto;font-size:10px}

.ranks{display:flex;flex-direction:column;gap:7px}
.rank{display:flex;align-items:center;gap:8px}
.rank__no{flex-shrink:0;width:17px;height:17px;border-radius:50%;background:var(--pale);color:var(--navy);font-size:10px;font-weight:700;display:flex;align-items:center;justify-content:center}
.rank__name{flex-shrink:0;width:118px;font-size:11.5px;line-height:1.3}
.rank__track{flex:1 1 auto;display:flex;justify-content:flex-end}
.rank__bar{height:12px;background:linear-gradient(90deg,#cfe4ec,#5b7fd4);border-radius:3px 0 0 3px}
.rank__amount{flex-shrink:0;width:58px;text-align:right;font-size:11px;color:var(--text-sub)}
.rank__pct{flex-shrink:0;width:36px;text-align:right;font-size:11px;color:var(--red);font-weight:700}

.persona{display:flex;align-items:center;gap:10px;background:var(--rose);padding:9px 14px}
.persona__back{flex-shrink:0;width:15px;height:15px;fill:none;stroke:#fff;stroke-width:2.5}
.persona__avatar{flex-shrink:0;width:32px;height:32px;border-radius:50%;object-fit:cover;background:#eef3f4}
.persona__meta{display:flex;flex-direction:column;gap:2px;min-width:0}
.persona__meta strong{color:#fff;font-size:14px;white-space:nowrap}
.persona__meta span{color:#f6dde3;font-size:11px;white-space:nowrap}
.chat--interview{background:#fbf5f7;padding:16px}
.composer{display:flex;align-items:center;gap:12px;margin-top:2px}
.composer__input{flex:1 1 auto;height:44px;display:flex;align-items:center;padding:0 14px;border:1px solid #ddc7ce;border-radius:8px;background:#fff;color:#a08b92;font-size:13px}
.composer__send{flex-shrink:0;height:44px;display:inline-flex;align-items:center;padding:0 20px;background:var(--rose);color:#fff;border-radius:8px;font-size:14px;font-weight:700}

/* =========================================================
   5. データソース
   ========================================================= */
.data{position:relative;overflow:hidden;padding:96px 0 100px;background:var(--bg-grey)}
.crown{
  display:inline-flex;align-items:center;margin-top:36px;
  background:var(--navy);color:#fff;border-radius:999px;padding:12px 30px;
  font-family:"Zen Kaku Gothic New","Noto Sans JP",sans-serif;font-size:26px;font-weight:900;line-height:1.3;
}
.dcols{display:grid;grid-template-columns:repeat(3,1fr);gap:40px;margin-top:28px}
.dcol{position:relative;display:flex;flex-direction:column;align-items:center;gap:12px}
.dcol__tag{
  position:absolute;left:0;top:0;display:inline-flex;align-items:center;height:32px;padding:0 18px;
  background:var(--grad-ai);color:#fff;border-radius:999px;
  font-family:"Zen Kaku Gothic New","Noto Sans JP",sans-serif;font-size:16px;font-weight:900;
}
.dcol__img{display:block;width:100%;max-width:230px;height:150px;object-fit:contain}
.dcol__title{font-family:"Zen Kaku Gothic New","Noto Sans JP",sans-serif;font-size:21px;line-height:1.45;font-weight:700;text-align:center}
.dcol__body{font-size:15px;line-height:1.8;color:var(--text-body)}
.flow{display:flex;align-items:center;justify-content:center;gap:36px;margin-top:20px;padding:28px 36px;background:#fff;border-radius:12px}
/* min-width:0 がないと、flexアイテムの画像は元画像の幅（820px）より縮まず枠からはみ出す */
.flow__pipe{flex:0 1 680px;min-width:0;display:block;width:100%;height:auto}
.flow__card{flex-shrink:0;width:290px;background:var(--bg-grey);border-radius:12px;padding:22px 24px;display:flex;flex-direction:column;align-items:center;gap:12px}
.flow__logo{display:block;width:190px;height:auto}
/* 機能2つは左端をそろえ、まとまりごとロゴと同じく枠の中央に置く */
.flow__fns{display:flex;flex-direction:column;align-items:flex-start;gap:12px}
.flow__fn{display:inline-flex;align-items:center;gap:9px;font-size:16px;font-weight:700}
.flow__fn img{display:block;height:26px;width:auto}
.flow__fn--navi{color:var(--teal)}
.flow__fn--interview{color:var(--rose)}
.data .note{margin-top:16px}

/* =========================================================
   6. 活用例
   ========================================================= */
.cases{position:relative;overflow:hidden;padding:88px 0 96px;background:#fff}
.legend{display:flex;justify-content:flex-end;gap:20px;margin-top:24px}
.legend__item{display:inline-flex;align-items:center;gap:7px;font-size:13px;font-weight:700;color:var(--text-sub)}
.legend__item img{display:block;width:18px;height:18px;object-fit:contain}
.groups{display:grid;grid-template-columns:repeat(2,1fr);gap:40px 48px;margin-top:20px}
.group{display:flex;flex-direction:column;gap:14px}
.group__head{display:flex;align-items:center;gap:12px}
.group__icon{flex-shrink:0;width:50px;height:50px}
.group__icon circle:first-child{fill:url(#grad-ai-svg)}
.group__icon .s{fill:none;stroke:#fff;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.group__title{font-family:"Zen Kaku Gothic New","Noto Sans JP",sans-serif;font-size:30px;font-weight:900;line-height:1.2}
.group__sub{font-size:17px;color:var(--text-sub);font-weight:400}
.theme{border-top:1px solid #e3eaee;padding-top:10px;display:flex;flex-direction:column;gap:8px}
.theme__name{font-size:16px;font-weight:700;color:var(--text-sub)}
.theme__bubbles{display:flex;flex-direction:column;gap:8px}
.theme__bubbles--pair{flex-direction:row;flex-wrap:nowrap;gap:10px}
.qb{display:flex;align-items:flex-start;gap:8px;border-radius:14px 14px 4px 14px;padding:10px 14px 10px 18px;font-size:15px;line-height:1.55;color:#26323a}
/* 2つ並びも文字サイズは単独の吹き出しと同じ。幅は均等にして、収まらない場合は吹き出し内で折り返す */
.theme__bubbles--pair .qb{flex:1 1 0;min-width:0}
.qb img{flex-shrink:0;width:18px;height:18px;object-fit:contain;margin-top:1px}
.qb--navi{background:var(--bg-pale);border:1px solid var(--pale)}
.qb--interview{background:var(--bg-rose);border:1px solid #f1d9df}

/* =========================================================
   7. よくあるご質問
   ========================================================= */
.faq{position:relative;overflow:hidden;padding:84px 0 92px;background:var(--bg-grey)}
/* 段組みで上から詰めて並べる（グリッドだと隣の列の高さに引っぱられて間隔がばらつくため） */
.faqlist{column-count:2;column-gap:24px;margin-top:32px;margin-bottom:-16px}
.faqitem{background:#fff;border-radius:10px;padding:18px 22px;display:flex;flex-direction:column;gap:6px;break-inside:avoid;margin-bottom:16px}
.faqitem__q{font-family:"Zen Kaku Gothic New","Noto Sans JP",sans-serif;font-size:16px;line-height:1.55;font-weight:700;color:var(--navy)}
.faqitem__a{font-size:14px;line-height:1.85;color:var(--text-body)}
.faqitem__link{color:#0b6e8c var(--teal);text-decoration: underline;}

/* =========================================================
   8. CTA
   ========================================================= */
.cta{position:relative;overflow:hidden;padding:84px 0 90px;background:var(--navy)}
.cta__inner{position:relative;display:flex;flex-direction:column;align-items:center;gap:18px}
.cta__wm{
  position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);
  font-family:"Zen Kaku Gothic New","Noto Sans JP",sans-serif;font-weight:900;
  font-size:110px;line-height:1;letter-spacing:.1em;white-space:nowrap;
  color:rgba(255,255,255,.07);pointer-events:none;
}
.cta__title{position:relative;font-family:"Zen Kaku Gothic New","Noto Sans JP",sans-serif;font-size:32px;line-height:1.6;font-weight:900;color:#fff;text-align:center}
.cta__sub{position:relative;font-size:16px;color:var(--pale);text-align:center}

/* =========================================================
   9. 運営会社 / フッター
   ========================================================= */
.company{position:relative;overflow:hidden;padding:80px 0 72px;background:#fff}
.company__box{display:flex;align-items:center;gap:36px;margin-top:28px;border:1px solid var(--border);border-radius:12px;padding:28px 32px}
.company__logo{display:block;flex-shrink:0;width:auto;height:60px}
.company__text{font-size:15px;line-height:1.9;color:var(--text-body)}
/* フッター：上段（白）＝ロゴ・リンク／下段（グレー）＝SNS・バナー・商標表記・コピーライト（既存サイトと同じ並び） */
.footer{background:#fff;border-top:1px solid var(--border);padding-top:36px}
.footer__inner{display:flex;flex-direction:column;gap:16px}
.footer__logo{display:block;width:200px;height:40px;object-fit:contain;object-position:left center}
.footer__links{display:flex;flex-wrap:wrap;gap:8px 28px;font-size:14px;padding-bottom:32px}
.footer__links a{display:inline-flex;align-items:center;gap:6px}
.footer__blank{display:block;width:12px;height:12px}
.footer__sub{background:var(--bg-grey);padding:32px 0 36px}
.footer__sns{display:flex;justify-content:center;gap:24px}
.footer__sns a{display:block}
.footer__sns a:hover{opacity:.7}
.footer__sns img{display:block;width:24px;height:24px}
/* Xロゴは白一色・余白なしのSVG。ほかのアイコン（#bfbfbf・内側に余白あり）に合わせて色と大きさを調整 */
.footer__sns .footer__sns-x{width:18px;height:auto;margin:3px;filter:brightness(.749)}
.footer__banner{display:flex;justify-content:center}
.footer__banner img{display:block;width:100%;max-width:420px}
.footer__notes{font-size:12px;line-height:1.75;color:var(--text-body)}
.footer__notes li{padding-left:1em;text-indent:-1em}/* 2行目以降を※の後ろにそろえる */
.footer__notes li::before{content:"※"}
.footer__notes img{display:inline-block;width:auto;height:1em;vertical-align:-.1em}
.footer__copy{font-size:12px;color:var(--text-sub);text-align:center}
/* 768px以上：既存サイトのPC表示と同じく、左に商標表記、右にSNS（右寄せ）とその下のバナー（幅250px） */
@media (min-width:768px){
  .footer__sub .footer__inner{
    display:grid;grid-template-columns:minmax(0,1fr) 250px;
    grid-template-areas:"notes sns" "notes banner" "copy copy";
    grid-template-rows:auto 1fr auto;column-gap:40px;row-gap:16px;align-items:start;
  }
  .footer__sns{grid-area:sns;justify-content:flex-end;gap:15px}
  .footer__banner{grid-area:banner}
  .footer__banner img{max-width:250px}
  .footer__notes{grid-area:notes}
  .footer__copy{grid-area:copy;margin-top:24px}
}

/* =========================================================
   タブレット〜小型PC（768〜1239px）
   コンテンツ幅1200pxを確保できない帯域。
   レイアウトはPCのまま、固定幅と折り返し禁止だけを緩める。
   ========================================================= */
@media (min-width:768px) and (max-width:1239px){
  .header__inner{padding:0 24px;gap:20px}
  .gnav__list{gap:20px}
  .gnav__link{font-size:14px}
  .hero__inner{padding-left:24px;padding-right:24px;gap:32px}
  /* コピー側と画面側を半々に（画面側が元画像の幅を基準に広がりすぎないよう、基準幅は0） */
  .hero__copy,.hero__shot{flex:1 1 0;min-width:0}
  .hero__copy{max-width:660px}
  .hero__title{white-space:normal;font-size:26px}
  .hero__logo{width:360px;height:72px}
  .btn--lg{width:100%;max-width:440px;height:68px;font-size:18px}
  .headline__wm{font-size:80px}
  .headline__wm--sm{font-size:68px}
  .headline__title{font-size:32px}
  .clients__lead{font-size:30px}
  .pcard{padding:18px 16px 20px}
  .pcard__tag{font-size:15px;padding:0 14px;white-space:nowrap}
  .pcard__text{font-size:18px}
  .scard__text{white-space:normal;font-size:18px}
  /* 狭い列で1〜2文字だけ次行に落ちるのを防ぐ（対応ブラウザのみ。非対応でも表示は崩れない） */
  .headline__title,.pcard__text,.scard__text,.fcard__lead,.dcol__title,.faqitem__q{text-wrap:balance;word-break:auto-phrase}
  .fcard__body,.fcard__body--rev{gap:32px;padding:36px}
  .fcard__text{flex:1 1 400px}
  .fcard__name{font-size:26px;padding:10px 18px 10px 14px}
  .fcard__name img{height:32px}
  .fcard__lead{font-size:28px}
  .fcard__points li{font-size:16px}
  .crown{font-size:21px;padding:11px 24px}
  .dcol__title{font-size:19px}
  .flow{gap:24px;padding:24px}
  .flow__card{width:250px}
  .group__head{flex-wrap:wrap;row-gap:4px}
  .group__title{font-size:26px;white-space:nowrap}
  .group__sub{font-size:15px}
  .theme__bubbles--pair{flex-wrap:wrap}
  .theme__bubbles--pair .qb{flex-basis:240px}
  .cta__wm{font-size:80px}
  .cta__title{font-size:26px}
  .btn--xl{width:100%;max-width:480px;height:74px;font-size:19px}
}

/* =========================================================
   小型タブレット（768〜1023px）
   ヘッダーにナビが収まらず、2カラムでは機能カードのモックが潰れる帯域。
   ナビはハンバーガーへ、機能カードは縦積みにする。
   FVは横並び（半々）のまま、各要素を縮める。
   ========================================================= */
@media (min-width:768px) and (max-width:1023px){
  .hero__inner{gap:24px}
  .hero__copy{gap:20px}
  .hero__label{font-size:15px;padding:6px 14px}
  .hero__logo{width:100%;max-width:300px;height:60px}
  .hero__title{font-size:24px}
  .hero__ai{width:36px;height:30px;vertical-align:-6px}
  .btn--lg{height:60px;font-size:16px}
  .fcard__body,.fcard__body--rev{flex-direction:column;align-items:stretch}
  .fcard__text{flex:none}
}

/* =========================================================
   ハンバーガー＋ドロワー（1023px以下）
   ========================================================= */
@media (max-width:1023px){
  .gnav{display:none}
  .header__cta{margin-left:auto}
  /* タップ領域は44px四方。線は22px幅で、右端を余白の線にそろえる */
  .hamburger{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:4px;width:44px;height:44px;margin-right:-11px;flex-shrink:0}
  .hamburger span{display:block;width:22px;height:2px;background:#fff;border-radius:2px;transition:transform .2s ease,opacity .2s ease}

  /* .drawer＝背面を暗くする全画面レイヤー（タップで閉じる）、.drawer__panel＝メニュー本体 */
  .drawer{
    position:fixed;inset:0;z-index:110;display:flex;justify-content:flex-end;
    background:rgba(6,14,26,.55);
    opacity:0;transition:opacity .25s ease;
  }
  .drawer[hidden]{display:none}
  .drawer.is-open{opacity:1}
  .drawer__panel{
    display:flex;flex-direction:column;width:100%;height:100%;
    background:#101d30;
    transform:translateX(16px);transition:transform .25s ease;
  }
  .drawer.is-open .drawer__panel{transform:none}
  .drawer__head{flex-shrink:0;height:var(--header-h);display:flex;align-items:center;justify-content:space-between;padding:0 24px}
  .drawer__logo{display:block;object-fit:contain;object-position:left center}
  .drawer__close{display:flex;align-items:center;justify-content:center;width:44px;height:44px;margin-right:-11px}
  .drawer__close svg{display:block;width:22px;height:22px;fill:none;stroke:#fff;stroke-width:2;stroke-linecap:round}
  .drawer__nav{flex:1 1 auto;padding:10px 20px 0;overflow-y:auto}
  .drawer__nav ul{border-top:1px solid rgba(255,255,255,.16)}
  .drawer__link{
    display:flex;align-items:center;justify-content:space-between;
    padding:18px 0;border-bottom:1px solid rgba(255,255,255,.16);
    color:#fff;font-size:17px;font-weight:700;
  }
  .drawer__link::after{
    content:"";width:8px;height:8px;border-right:2px solid rgba(255,255,255,.6);
    border-bottom:2px solid rgba(255,255,255,.6);transform:rotate(-45deg);
  }
  .drawer__foot{flex-shrink:0;padding:22px 20px 28px}
  body.is-locked{overflow:hidden}
}

/* タブレット（768〜1023px）：ドロワーは右から出る幅400pxのパネル。左側は暗くした本文が見える */
@media (min-width:768px) and (max-width:1023px){
  .drawer__panel{width:400px;transform:translateX(100%);box-shadow:-12px 0 32px rgba(0,0,0,.28)}
  .drawer__head{padding:0 24px}
  .drawer__logo{width:150px;height:30px}
  .drawer__nav{padding:10px 24px 0}
  .drawer__foot{padding:22px 24px 32px}
}

/* =========================================================
   SP（767px以下）
   ========================================================= */
@media (max-width:767px){
  :root{--header-h:58px}
  body{font-size:14px}
  .container{padding-inline:20px}
  .sp-only{display:block}
  br.sp-only{display:inline}
  .arrow-down.sp-only{display:flex}

  /* 見出し */
  .headline__wm{font-size:36px}
  .headline__wm--sm{font-size:34px}
  .headline__title{font-size:24px;line-height:1.45}
  .headline__rule{width:72px;height:4px}

  .btn--lg,.btn--xl{width:100%;height:62px;font-size:16px}
  .btn--xl{height:66px;font-size:17px}
  .note{font-size:10px;line-height:1.6}

  /* ヘッダー */
  .header__inner{height:var(--header-h);gap:10px;padding:0 20px}
  .header__logo img{width:128px;height:26px}
  .header__cta{height:34px;padding:0 14px;font-size:12px}
  /* ハンバーガー・ドロワー本体は「1023px以下」の指定を参照 */
  .drawer__head{padding:0 20px}
  .drawer__logo{width:128px;height:26px}

  /* FV
     表示順を「ラベル → ロゴ → コピー → 画面 → 注記 → CTA」にするため、
     .hero__copy / .hero__shot を display:contents で解除してグリッドに並べ替える。 */
  .hero__inner{min-height:0;display:grid;grid-template-columns:100%;row-gap:16px;padding:var(--header-h) 20px 34px}
  .hero__copy,.hero__shot{display:contents}
  .hero__label{order:1;justify-self:start;margin-top:24px;font-size:12px;padding:6px 14px}
  .hero__logo{order:2;justify-self:start;width:240px;height:48px}
  /* 1行目（約19.2字分）が改行なしで収まるよう、390px未満では文字を縮める。390px以上は18px */
  .hero__title{order:3;font-size:min(18px,calc((100vw - 40px) / 19.2));line-height:1.7}
  .hero__ai{width:29px;height:24px;vertical-align:-5px;margin:0 2px}
  /* 画面全体を表示するため高さは比率まかせ。広いSP幅で大きくなりすぎないよう最大480pxで中央寄せ */
  .laptop{order:4;width:100%;max-width:480px;justify-self:center;border-radius:10px 10px 0 0;padding:8px 8px 10px}
  .hero__shot .note{order:5;width:100%;max-width:480px;justify-self:center;margin-top:-10px;text-align:right}
  .hero__copy .btn--lg{order:6}

  /* 導入実績 */
  .clients{padding:36px 0 32px}
  .clients__inner{gap:14px}
  .clients__lead{font-size:20px}
  .clients__caption{margin-top:-14px;margin-right:0;font-size:10px}

  /* 課題と解決 */
  .problem{padding:40px 0 44px}
  .pcards,.scards{grid-template-columns:1fr;gap:14px;margin-top:20px}
  .pcard{padding:14px 16px 16px}
  .pcard__tag{height:30px;padding:0 16px;font-size:15px}
  /* イラストはカード幅の約8割（最大224px。データソースのイラストと同じ）まで広げ、高さは画像の比率に合わせる */
  .pcard__img{max-width:224px;height:auto}
  .pcard__text{font-size:16px;line-height:1.5}
  .arrow-down{margin:14px 0 2px}
  .arrow-down svg{width:72px;height:32px}
  .scards{gap:22px;margin-top:20px}
  .scard{padding:22px 18px 14px;gap:10px}
  .scard__badge{left:-8px;top:-16px}
  .scard__badge svg{width:48px;height:41px}
  .scard__text{font-size:17px;white-space:normal}
  .scard__img{max-width:224px;height:auto}

  /* 2つの機能 */
  .feature{padding:44px 0 46px}
  .fcard{margin-top:24px}
  .fcard::before{height:5px}
  .fcard__body,.fcard__body--rev{flex-direction:column;align-items:stretch;gap:14px;padding:20px 16px 22px}
  .fcard__text{flex:none;gap:14px}
  .fcard__name{padding:10px 14px;border-radius:12px;gap:10px;font-size:21px}
  .fcard__name img{height:34px}
  .fcard__lead{font-size:17.5px;line-height:1.5}
  .fcard__desc{font-size:13.5px;line-height:1.75}
  .fcard__points{gap:7px}
  .fcard__points li{align-items:flex-start;gap:8px;font-size:13.5px;line-height:1.6}
  .check{width:15px;height:15px;margin-top:3px}
  .examples{padding:12px 14px;border-radius:10px;gap:6px}
  .examples__title{font-size:13px}
  .examples__list li{font-size:13px}
  .demo-label{font-size:12.5px}
  .browser__bar{height:26px;padding:0 13px}
  .browser__dot{width:9px;height:9px}
  .chat{padding:12px;gap:10px}
  .bubble{padding:9px 12px;font-size:12px;line-height:1.55}
  .bubble--ask,.bubble--persona{font-size:11.5px;line-height:1.6}
  .bubble--ask{max-width:88%}
  .bubble-row__avatar{width:24px;height:24px}
  .answer{padding:12px;border-radius:12px 12px 12px 4px;gap:9px}
  .answer__text{font-size:12px;line-height:1.75}
  .chartbox__title{font-size:10.5px}
  .chartbox__legend{font-size:9.5px;gap:12px}
  .chart{font-size:16px}
  .chart__axis{display:none}/* グラフを低くしたため、SPでは縦軸の目盛り数字が重なる。年ラベルだけ残す */
  .rank__name{width:104px;font-size:10px}
  .rank__no{width:15px;height:15px;font-size:9px}
  .rank__bar{height:11px}
  .rank__amount{width:50px;font-size:9.5px}
  .rank__pct{width:32px;font-size:9.5px}
  .persona{padding:9px 12px;gap:9px}
  .persona__avatar{width:28px;height:28px}
  .persona__meta strong{font-size:12px}
  .persona__meta span{font-size:9px}
  .persona__back{width:14px;height:14px}
  .chat--interview{padding:12px}
  .composer{gap:7px}
  .composer__input{height:36px;font-size:10.5px;border-radius:999px;padding:0 12px}
  .composer__send{height:36px;padding:0 14px;font-size:10.5px;border-radius:999px}

  /* データソース */
  .data{padding:44px 0 46px}
  .crown{display:flex;justify-content:center;text-align:center;margin-top:22px;padding:11px 20px;font-size:16px;line-height:1.45}
  .dcols{grid-template-columns:1fr;gap:22px;margin-top:22px}
  .dcol{background:#fff;border-radius:12px;padding:16px;align-items:stretch;gap:10px;box-shadow:0 2px 10px rgba(10,60,90,.07)}
  .dcol__tag{position:static;align-self:flex-start;height:32px;padding:0 20px;font-size:17.5px}
  .dcol__img{align-self:center;max-width:224px;height:auto}
  .dcol__title{font-size:16px}
  .dcol__body{font-size:12.5px;line-height:1.8}
  .flow{flex-direction:column;gap:4px;padding:0;background:none;margin-top:12px}
  .flow__pipe{flex:none;max-width:400px;height:auto}
  .flow__card{width:100%;flex-direction:row;flex-wrap:wrap;background:#fff;border-radius:14px;padding:18px 16px;gap:14px;box-shadow:0 4px 14px rgba(10,60,90,.09)}
  .flow__fns{flex:0 0 100%;flex-direction:row;align-items:stretch;gap:14px}
  .flow__fn{flex:1 1 0;justify-content:center;border-radius:10px;padding:12px 6px;font-size:13px;flex-direction:column;gap:6px}
  .flow__fn img{height:32px}
  .flow__fn--navi{background:var(--bg-pale)}
  .flow__fn--interview{background:var(--bg-rose)}
  /* ロゴは1行を占有させつつ（下の機能2つを次の行へ送る）、表示は高さ32pxで中央に収める */
  .flow__logo{flex:0 0 100%;width:100%;height:32px;object-fit:contain}

  /* 活用例 */
  .cases{padding:44px 0 46px}
  .legend{gap:14px;margin-top:18px}
  .legend__item{font-size:11px}
  .legend__item img{width:16px;height:16px}
  .groups{grid-template-columns:1fr;gap:26px;margin-top:16px}
  .group__head{gap:10px;flex-wrap:wrap}
  .group__icon{width:42px;height:42px}
  .group__title{font-size:21px}
  .group__sub{font-size:12.5px}
  .theme__name{font-size:12.5px}
  .theme__bubbles--pair{flex-direction:column;gap:7px}
  .theme__bubbles--pair .qb{flex:none}
  .qb,.theme__bubbles--pair .qb{font-size:12.5px;padding:9px 12px 9px 16px;gap:7px}
  .qb img{width:16px;height:16px}

  /* FAQ */
  .faq{padding:40px 0 44px}
  .faqlist{column-count:1;margin-top:18px;margin-bottom:-12px}
  .faqitem{padding:14px 16px;margin-bottom:12px}
  .faqitem__q{font-size:14px}
  .faqitem__a{font-size:12.5px;line-height:1.8}

  /* CTA */
  .cta{padding:44px 0 46px}
  .cta__wm{font-size:38px}
  .cta__title{font-size:20px;line-height:1.6}
  .cta__sub{font-size:13px}

  /* 運営会社・フッター */
  .company{padding:40px 0}
  .company__box{flex-direction:column;align-items:stretch;gap:14px;margin-top:16px;padding:18px 16px}
  .company__logo{height:52px;align-self:center}
  .company__text{font-size:12.5px}
  .footer{padding-top:26px}
  .footer__logo{width:170px;height:34px}
  .footer__links{gap:8px 18px;font-size:12px;padding-bottom:24px}
  .footer__sub{padding:24px 0 28px}
  .footer__notes{font-size:10px}
  .footer__copy{font-size:11px}
}
