/*
Theme Name: HOLOMUA
Author: KINDLER
Description: HOLOMUA（TikTok LIVE専門ライバー事務所）のランディングページ用テーマ。静的サイト（holomua-sp）をそのままテーマ化したもの。
Version: 1.8.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: holomua
*/

:root{
  --ink:#111113;
  --paper:#FFFFFF;
  --mist:#F6F6F7;
  --rule:#E4E4E7;
  --orange:#EF5100;   /* ロゴのオレンジより */
  --orange-d:#F02400; /* ロゴの深いオレンジ */
  --yellow:#FFCE00;   /* ロゴのイエローより */
  --brand-grad:linear-gradient(90deg,#F02400 0%,#FC7800 55%,#FCD800 100%);
  --green:#06C755;
  --sub:#76767C;
  --body:#3E3E44;
}
*{margin:0;padding:0;box-sizing:border-box;}
html{scroll-behavior:smooth;scroll-padding-top:78px;}
body{
  font-family:"Noto Sans JP",sans-serif;
  color:var(--ink);background:var(--paper);
  -webkit-font-smoothing:antialiased;overflow-x:hidden;
  padding-bottom:86px;
}
img{max-width:100%;display:block;}

/* ========================================
   プレースホルダー用スタイル
   ※画像が用意でき次第、<img>に置き換え
   ======================================== */
.ph{
  position:relative;
  background:var(--mist);
  border:1px dashed #C8C8CE;
  display:flex;flex-direction:column;
  align-items:center;justify-content:center;
  gap:6px;text-align:center;padding:16px;
  color:#96969E;
}
.ph .id{
  position:absolute;top:8px;left:8px;
  font-size:10px;font-weight:900;letter-spacing:.06em;
  background:var(--ink);color:#fff;padding:3px 7px;border-radius:3px;
}
.ph .what{font-size:13px;font-weight:900;line-height:1.6;color:#6E6E76;}
.ph .spec{font-size:11px;font-weight:500;line-height:1.7;color:#A2A2AA;}
.ph-icon{
  width:100%;aspect-ratio:1/1;max-width:74px;margin:0 auto;
  border-radius:50%;
}
.ph-icon .id{top:auto;bottom:-7px;left:50%;transform:translateX(-50%);font-size:9px;padding:2px 6px;}
.ph-icon .what{font-size:10px;line-height:1.4;}

/* ========================================
   ヘッダー
   ======================================== */

.header{
  position:sticky;top:0;z-index:80;
  display:flex;align-items:center;justify-content:space-between;
  padding:14px 32px;background:rgba(255,255,255,.96);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--rule);
}
.brand{display:flex;align-items:center;gap:14px;}
.brand .logo{height:34px;width:auto;}
.brand .brand-sub{
  font-size:11px;letter-spacing:.06em;color:var(--sub);font-weight:700;
  line-height:1.6;padding-left:14px;border-left:1px solid var(--rule);
}
.gnav{display:flex;align-items:center;gap:26px;}
.gnav a{
  font-size:13.5px;font-weight:700;color:var(--ink);text-decoration:none;
}
.gnav a:hover{color:var(--orange);}
.gnav .btn{
  background:var(--green);color:#fff;padding:12px 24px;border-radius:6px;
  font-weight:900;font-size:13.5px;
}
.gnav .btn:hover{color:#fff;filter:brightness(1.07);}

/* ========================================
   共通パーツ
   ======================================== */
section{padding:96px 32px;}
.inner{max-width:1080px;margin:0 auto;}

/* セクション見出し：英字を主役、日本語を添える */
.sec-en{
  font-size:68px;
  font-weight:900;line-height:.98;letter-spacing:-.035em;
  color:var(--ink);margin-bottom:14px;
}
.sec-head .sec-ja+.sec-lead{margin-top:18px;}
.sec-en::after{
  content:"";display:inline-block;width:.13em;height:.13em;border-radius:50%;
  background:var(--orange);margin-left:.08em;vertical-align:baseline;
}
.sec-ja{
  font-size:15px;font-weight:900;letter-spacing:.04em;color:var(--ink);
}
.sec-title{
  font-size:37px;font-weight:900;line-height:1.5;
  letter-spacing:-.015em;margin-bottom:14px;
}
.sec-title .mk{background:linear-gradient(transparent 64%,var(--yellow) 64%);}
.sec-lead{font-size:15px;line-height:2;color:var(--body);font-weight:500;margin-top:18px;}
.sec-head{margin-bottom:52px;}

.cta-btn{
  display:inline-flex;align-items:center;justify-content:center;gap:11px;
  background:var(--green);color:#fff;text-decoration:none;
  font-size:19px;font-weight:900;letter-spacing:.02em;
  padding:21px 48px;border-radius:8px;
  box-shadow:0 5px 0 #04A247;
  transition:transform .12s ease,box-shadow .12s ease;
}
.cta-btn:hover{transform:translateY(3px);box-shadow:0 2px 0 #04A247;}
.cta-note{
  display:flex;gap:18px;margin-top:13px;
  font-size:13px;color:var(--sub);font-weight:700;
}
.cta-note span::before{content:"✓";color:var(--green);font-weight:900;margin-right:5px;}

/* ========================================
   01 FV
   ======================================== */
.fv{position:relative;padding:0;overflow:hidden;background:#FFFFFF;}
/* 背景写真：4枚をクロスフェードで切り替え、その間ゆっくり寄る */
.fv-slider{position:absolute;inset:0;}
.fv-slide{
  position:absolute;inset:0;
  background-position:center 34%;background-size:cover;background-repeat:no-repeat;
  opacity:0;transform:scale(1.09);
  transition:opacity 1.4s ease;
}
.fv-slide.is-on{
  opacity:1;
  animation:fvZoom 7.5s cubic-bezier(.2,.6,.35,1) forwards;
}
@keyframes fvZoom{from{transform:scale(1.09);}to{transform:scale(1);}}

.fv-note{
  position:absolute;right:32px;bottom:16px;z-index:3;
  font-size:10.5px;color:rgba(17,17,19,.45);font-weight:500;letter-spacing:.02em;
}

/* 切り替えのインジケーター */
.fv-dots{
  position:absolute;left:32px;bottom:34px;z-index:3;
  display:flex;gap:8px;
}
.fv-dots button{
  width:26px;height:3px;border:none;padding:0;cursor:pointer;
  background:rgba(17,17,19,.22);transition:background .3s ease;
}
.fv-dots button.is-on{background:var(--orange);}

/* 写真の上に白のベールを敷き、左ほど濃くして文字を読ませる */
/* 背景写真をやめ、ロゴのグラデーション由来の淡い暖色にした。
   写真に白を96%かけても見えないという問題が根本から解消する */
.fv::before{
  content:"";position:absolute;inset:0;z-index:1;
  background:#FFFFFF;
}


/* --- シャボン玉：白背景なので、縁のオレンジを線として立たせる --- */
/* 上昇（i）と横揺れ（b）を別々の要素に分け、周期をずらして規則性を消す */
.fv-bubbles{position:absolute;inset:0;z-index:1;pointer-events:none;overflow:hidden;}
.fv-bubbles{opacity:1;}
.fv-bubbles i{
  position:absolute;bottom:-16%;display:block;opacity:0;
  animation-name:bubbleRise;animation-timing-function:linear;
  animation-iteration-count:infinite;
}
.fv-bubbles i b{
  display:block;width:100%;height:100%;border-radius:50%;
  /* 塗りは JS で1つずつ指定する。グラデーションもツヤも使わない単色 */
  animation-name:bubbleSway;animation-timing-function:ease-in-out;
  animation-iteration-count:infinite;animation-direction:alternate;
}
@keyframes bubbleSway{
  from{transform:translateX(-13px) scale(.95);}
  to  {transform:translateX(13px)  scale(1.05);}
}
@keyframes bubbleRise{
  0%  {transform:translate(0,0) scale(.9);opacity:0;}
  10% {opacity:1;}
  50% {transform:translate(26px,-52vh) scale(1.02);}
  88% {opacity:.85;}
  100%{transform:translate(-16px,-124vh) scale(1.1);opacity:0;}
}
.fv .inner{
  position:relative;z-index:2;
  max-width:1080px;margin:0 auto;
  padding:104px 32px 108px;display:block;
}
.fv-copy{max-width:620px;}

.eyebrow{
  display:inline-flex;align-items:center;gap:9px;
  font-size:13px;font-weight:900;letter-spacing:.04em;margin-bottom:22px;
}
.eyebrow::before{content:"";width:26px;height:3px;background:var(--brand-grad);}
.fv h1{
  font-size:56px;font-weight:900;
  line-height:1.36;letter-spacing:-.025em;margin-bottom:100px;
}
.fv h1 .line{display:block;overflow:hidden;}
.fv h1 .line>span{
  display:inline-block;transform:translateY(112%);
  animation:lineUp .95s cubic-bezier(.16,.84,.3,1) forwards;
}
.fv h1 .line:nth-child(1)>span{animation-delay:.18s;}
.fv h1 .line:nth-child(2)>span{animation-delay:.32s;}
@keyframes lineUp{to{transform:translateY(0);}}

/* 黄色のマーカーが左から引かれる */
.fv h1 .mk{
  background:linear-gradient(transparent 64%,var(--yellow) 64%);
  background-repeat:no-repeat;background-size:0 100%;
  animation:markDraw .75s cubic-bezier(.4,0,.2,1) 1.05s forwards;
}
@keyframes markDraw{to{background-size:100% 100%;}}

/* --- FVのスマホ：配信スタイルが切り替わる --- */
.fv-phone{
  position:absolute;z-index:2;top:50%;transform:translateY(-50%);
  right:max(32px, calc((100% - 1080px) / 2));
  width:clamp(230px, 22vw, 320px);aspect-ratio:589/1100;
  pointer-events:none;
}
.fv-phone img{
  position:absolute;left:50%;bottom:0;transform:translateX(-50%);
  height:100%;width:auto;opacity:0;transition:opacity 1.1s ease;
  filter:drop-shadow(0 26px 50px rgba(0,0,0,.20));
}
.fv-phone img.is-on{opacity:1;}
/* コピーが出そろう1.80秒（黄色マーカーの描画終了）を待ってから登場させる */
.fv-phone{opacity:0;animation:phoneIn .75s cubic-bezier(.2,.7,.3,1) .35s forwards;}
@keyframes phoneIn{
  from{opacity:0;transform:translateY(calc(-50% + 34px)) scale(.97);}
  to  {opacity:1;transform:translateY(-50%) scale(1);}
}
/* 縦に狭いスマホでは置き場所がないため出さない */
@media(max-width:900px){ .fv-phone{display:none;} }
@media(prefers-reduced-motion:reduce){ .fv-phone img{transition:none;} }

/* --- 3つの数字（エンブレム・小さめ） --- */
.points{display:flex;gap:14px;margin-bottom:34px;}
.point{
  position:relative;width:104px;aspect-ratio:1/1;flex-shrink:0;
  background:url('images/emblem-v2.webp') no-repeat center / contain;
  display:flex;align-items:center;justify-content:center;
}
.point-inner{width:54%;text-align:center;line-height:1.2;}
.point .t{
  display:block;font-size:9px;font-weight:900;color:#55555B;
  letter-spacing:.01em;margin-bottom:3px;
}
.point .n{
  display:block;font-size:20px;font-weight:900;line-height:1;
  letter-spacing:-.03em;color:var(--ink);
}
.point .n i{font-style:normal;font-size:.5em;margin-left:1px;}

/* ========================================
   02 共感
   ======================================== */
/* セクション背景：白とグレーを交互にする */
.bg-mist{background:var(--mist);}
.empathy{background:var(--mist);}
/* カードは離して独立させる（D-3）／番号は右上に薄く全体を見せる（N-2） */
.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;}
.card{
  background:#fff;border:1px solid var(--rule);
  position:relative;overflow:hidden;padding:34px 24px 32px;
}
.card .no{
  position:absolute;right:14px;top:12px;
  font-size:72px;font-weight:900;line-height:1;letter-spacing:-.06em;
  color:rgba(17,17,19,.055);
}
.card .card-body{position:relative;}
.card .c-icon{margin-bottom:18px;}
.card h3{font-size:17px;font-weight:900;line-height:1.65;margin-bottom:12px;}
.card p{font-size:13px;line-height:1.95;color:#5A5A61;font-weight:500;}
.empathy-foot{margin-top:40px;text-align:center;}
.empathy-foot p{font-size:24px;font-weight:900;line-height:1.7;}
.empathy-foot p .mk{background:linear-gradient(transparent 64%,var(--yellow) 64%);}

/* ========================================
   03 選ばれる理由
   ======================================== */
/* --- 理由3カラム（共感カードと同じ型：離す・左揃え・番号は右上の背景） --- */
.reasons{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;}
.reason{
  background:#fff;border:1px solid var(--rule);
  position:relative;overflow:hidden;
  padding:34px 26px 30px;
  display:flex;flex-direction:column;
}
/* 番号は右上の背景に薄く */
.reason .reason-no{
  position:absolute;right:14px;top:12px;
  font-size:72px;font-weight:900;line-height:1;letter-spacing:-.06em;
  color:rgba(17,17,19,.055);
}
.reason .card-body{position:relative;display:flex;flex-direction:column;flex:1;}
/* 数字はアイコンの位置に置く */
.reason .lead-num{
  display:block;font-size:52px;line-height:1;font-weight:900;
  letter-spacing:-.045em;color:var(--orange);margin-bottom:20px;
}
.reason .lead-num i{font-style:normal;font-size:22px;margin-left:2px;}
.reason h3{
  font-size:19px;font-weight:900;line-height:1.55;letter-spacing:-.015em;
  margin-bottom:14px;
}
.reason h3 .mk{background:linear-gradient(transparent 62%,var(--yellow) 62%);}
.reason p{font-size:14px;line-height:2;color:var(--body);font-weight:500;}
.reason p b{font-weight:900;color:var(--ink);}
.reason .more{
  margin-top:auto;padding-top:20px;
  font-size:12.5px;font-weight:900;color:var(--orange);text-decoration:none;
}

/* --- 詳しい説明ブロック --- */
.detail{margin-top:56px;padding-top:52px;border-top:1px solid var(--rule);}
.detail+.detail{margin-top:48px;}
.detail-label{
  display:inline-flex;align-items:center;gap:9px;
  font-size:12px;font-weight:900;letter-spacing:.1em;color:var(--sub);margin-bottom:16px;
}
.detail-label::before{content:"";width:20px;height:3px;background:var(--brand-grad);}
.detail h4{font-size:25px;font-weight:900;line-height:1.55;margin-bottom:20px;letter-spacing:-.015em;}
.detail-body{display:grid;grid-template-columns:.92fr 1.08fr;gap:40px;align-items:center;}
.detail-body p{font-size:15px;line-height:2.1;color:var(--body);font-weight:500;}
.detail-body p b{font-weight:900;color:var(--ink);}
.detail-body p+p{margin-top:15px;}
.figure img{width:100%;display:block;border:1px solid var(--rule);border-radius:4px;}
/* 比較図（SVG）。文字はテキストのままなので、幅に応じて大きさだけ調整する */
.figure-wide{max-width:620px;border:1px solid var(--rule);padding:24px 22px;background:#fff;}
.figure-wide svg{width:100%;height:auto;display:block;}
.detail-after{max-width:760px;margin-top:28px;}
.detail-after p{font-size:15px;line-height:2.1;color:var(--body);font-weight:500;}
.detail-after p b{font-weight:900;color:var(--ink);}
.detail-note{
  margin-top:18px;padding-left:14px;border-left:3px solid var(--rule);
  font-size:13.5px!important;line-height:1.95!important;color:var(--sub)!important;
}
.detail-note a{color:var(--orange);font-weight:900;text-decoration:none;}
.figure figcaption{margin-top:11px;font-size:12.5px;color:var(--sub);font-weight:700;line-height:1.7;}

/* 保証制度の一覧：2列に並べて縦を詰める */
.detail-lead{font-size:15px;line-height:2;color:var(--body);font-weight:500;margin-bottom:22px;}
.specs{
  display:grid;grid-template-columns:1fr 1fr;gap:0 32px;
  border-top:2px solid var(--ink);
}
.spec{
  display:grid;grid-template-columns:96px 1fr;gap:14px;
  padding:14px 0;border-bottom:1px solid var(--rule);
}
.spec dt{font-size:13px;font-weight:900;color:var(--ink);padding-top:2px;}
.spec dd{font-size:14px;line-height:1.75;color:var(--body);font-weight:500;}
/* 条件は横いっぱいに使い、オレンジの縦バーで強調 */
.spec.key{
  grid-column:1 / -1;position:relative;padding-left:14px;
}
.spec.key::before{
  content:"";position:absolute;left:0;top:14px;bottom:14px;width:3px;background:var(--orange);
}
.spec.key dt{padding-left:0;}
.spec.key dd{font-weight:700;color:var(--ink);}

/* ========================================
   04 代表メッセージ
   ======================================== */
.message{background:var(--mist);}
.message .inner-head{max-width:1080px;margin:0 auto;}
.message .inner{display:block;}
/* 代表写真は掲載しないため1カラム。行が長くなりすぎないよう本文の幅を絞る */
.msg-body{max-width:760px;}
/* 氏名は署名のすぐ下に置く */
.msg-body .name{
  display:inline-block;min-width:220px;
  margin-top:30px;padding-top:15px;border-top:2px solid var(--ink);
}
.msg-body .name span{font-size:11.5px;font-weight:700;color:var(--sub);letter-spacing:.08em;}
.msg-body .name strong{display:block;font-size:20px;font-weight:900;margin-top:5px;}
.msg-body .lead{
  font-size:27px;font-weight:900;line-height:1.7;
  margin-bottom:26px;letter-spacing:-.015em;
}
.msg-body .lead .mk{background:linear-gradient(transparent 64%,var(--yellow) 64%);}
.msg-body p{font-size:15px;line-height:2.15;color:var(--body);font-weight:500;margin-bottom:20px;}
.msg-body p b{font-weight:900;color:var(--ink);}
.msg-body .sign{margin-top:30px;padding-left:19px;border-left:3px solid var(--orange);font-size:17px;font-weight:900;}

/* ========================================
   05 対象
   ======================================== */
.targets{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;}
.target{
  border:1px solid var(--rule);padding:26px 22px;
  display:flex;align-items:center;gap:16px;
}
.target .t-name{font-size:16px;font-weight:900;line-height:1.5;}
.target .t-sub{font-size:12.5px;color:var(--sub);font-weight:500;margin-top:5px;line-height:1.7;}

/* ========================================
   06 流れ
   ======================================== */
/* 応募の流れ：丸で囲んだアイコンを縦線でつなぐ（間隔は --gap で統一） */
.steps{
  --gap:40px;max-width:660px;
  display:grid;grid-auto-rows:1fr;row-gap:var(--gap);
}
.step{display:flex;gap:24px;align-items:flex-start;position:relative;}
.step .circle{
  width:76px;height:76px;flex-shrink:0;position:relative;z-index:2;
  background:#fff;border:2px solid var(--orange);border-radius:50%;
  display:flex;align-items:center;justify-content:center;
}
.step .circle img{width:40px;height:40px;object-fit:contain;}
.step .circle .num{
  position:absolute;left:-6px;top:-6px;width:28px;height:28px;border-radius:50%;
  background:var(--ink);color:#fff;font-size:12px;font-weight:900;
  display:flex;align-items:center;justify-content:center;
}
/* 縦線は丸の下端から次の丸の上端までを埋める（行の高さが揃うので3本とも同じ長さになる） */
.step:not(:last-child)::before{
  content:"";position:absolute;left:37px;top:76px;
  bottom:calc(var(--gap) * -1);width:2px;background:var(--rule);
}
.step .body{padding-top:8px;}
.step h3{font-size:19px;font-weight:900;margin-bottom:10px;line-height:1.55;}
.step p{font-size:14.5px;line-height:2.05;color:var(--body);font-weight:500;}
.step p b{font-weight:900;color:var(--ink);}

/* PCでは3ステップを横並びにする。下の「応募条件／対応地域／必要なもの」の
   3列と縦のラインが揃うよう、中央揃えにする */
@media(min-width:901px){
  .steps{
    --gap:40px;max-width:none;
    grid-template-columns:repeat(3,1fr);
    column-gap:var(--gap);row-gap:0;
    grid-auto-rows:auto;align-items:stretch;
  }
  .step{flex-direction:column;align-items:center;text-align:center;gap:18px;}
  .step .body{padding-top:0;}
  /* 縦の接続線を横線に置き換える。丸の右端から次の丸の左端までを結ぶ */
  .step:not(:last-child)::before{
    top:37px;left:calc(50% + 48px);right:calc(-50% + 8px);
    width:auto;height:2px;bottom:auto;
  }
}

.conditions{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:38px;}
.flow-photo{margin-top:40px;}
.flow-photo img{width:100%;aspect-ratio:21/8;object-fit:cover;display:block;border-radius:4px;}
.flow-photo figcaption{
  margin-top:12px;font-size:12.5px;color:var(--sub);font-weight:700;
  line-height:1.7;text-align:center;
}
.cond{border:1px solid var(--rule);padding:24px 20px;text-align:center;}
.cond .c-label{font-size:11.5px;font-weight:900;color:var(--sub);letter-spacing:.08em;margin-bottom:10px;}
.cond .c-value{font-size:19px;font-weight:900;line-height:1.5;}
.cond .c-note{font-size:12px;color:var(--sub);font-weight:500;margin-top:7px;line-height:1.7;}

/* PCでは3つを1本の帯にまとめ、値をブランドカラーで大きく見せる */
@media(min-width:901px){
  .conditions{
    gap:0;background:var(--paper);
    border:1px solid var(--rule);border-radius:4px;overflow:hidden;
  }
  .cond{border:none;padding:30px 20px 28px;}
  .cond + .cond{border-left:1px solid var(--rule);}
  .cond .c-label{font-size:11px;letter-spacing:.12em;margin-bottom:12px;}
  .cond .c-value{font-size:30px;line-height:1.25;letter-spacing:-.02em;color:var(--orange);}
  .cond .c-note{margin-top:11px;}
  /* グラデ文字は対応ブラウザのみ。非対応でも単色オレンジで読める */
  @supports (-webkit-background-clip:text) or (background-clip:text){
    .cond .c-value{
      background:var(--brand-grad);
      -webkit-background-clip:text;background-clip:text;color:transparent;
    }
  }
}

/* ========================================
   07 FAQ
   ======================================== */
.faq{background:var(--paper);}
.faq .qa{border-color:var(--rule);}
.qa{background:#fff;border:1px solid var(--rule);margin-bottom:10px;}
.qa summary{
  list-style:none;cursor:pointer;
  display:flex;align-items:center;gap:15px;
  padding:22px 24px;font-size:16px;font-weight:900;line-height:1.6;
}
.qa summary::-webkit-details-marker{display:none;}
.qa summary .q{
  flex-shrink:0;width:28px;height:28px;border-radius:50%;
  background:var(--ink);color:#fff;
  display:flex;align-items:center;justify-content:center;
  font-size:13px;font-weight:900;
}
.qa summary .mark{
  margin-left:auto;flex-shrink:0;font-size:20px;color:var(--orange);
  transition:transform .2s ease;font-weight:900;
}
.qa[open] summary .mark{transform:rotate(45deg);}
.qa .a{
  display:flex;gap:15px;padding:0 24px 24px 24px;
  font-size:14.5px;line-height:2.05;color:var(--body);font-weight:500;
}
.qa .a .a-mark{
  flex-shrink:0;width:28px;height:28px;border-radius:50%;
  background:var(--orange);color:#fff;
  display:flex;align-items:center;justify-content:center;
  font-size:13px;font-weight:900;
}

/* ========================================
   08 運営者情報
   ======================================== */
.info-table{width:100%;border-collapse:collapse;border-top:2px solid var(--ink);}
.info-table th,.info-table td{
  border-bottom:1px solid var(--rule);padding:18px 10px;
  font-size:14.5px;text-align:left;vertical-align:top;line-height:1.8;
}
.info-table th{width:170px;font-weight:900;white-space:nowrap;}
.info-table td{color:var(--body);font-weight:500;}
/* 表内のリンクは既定の青のままだとサイトの配色から外れる */
.info-table td a{
  color:var(--orange);font-weight:900;text-decoration:none;
  border-bottom:1px solid rgba(239,81,0,.4);padding-bottom:1px;
}
.info-table td a:hover{border-bottom-color:var(--orange);}

/* ========================================
   09 最終CTA
   ======================================== */
.final{
  position:relative;overflow:hidden;
  background:#17171C;color:#fff;text-align:center;
}
/* 上から差すオレンジの光。彩度は面積ではなくボタンに集める */
.final::before{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:radial-gradient(120% 88% at 50% 0%,rgba(240,36,0,.34) 0%,rgba(252,120,0,.13) 40%,transparent 68%);
}
/* 上端のブランドライン。白いCompanyセクションとの境目をつくる */
.final::after{content:"";position:absolute;top:0;left:0;right:0;height:4px;background:var(--brand-grad);}
.final .inner{position:relative;}
.final .eyebrow{
  display:inline-flex;align-items:center;gap:10px;
  font-size:12px;font-weight:900;letter-spacing:.14em;color:#FF8A3D;margin-bottom:22px;
}
.final .eyebrow::before,.final .eyebrow::after{content:"";width:22px;height:2px;background:var(--brand-grad);}
.final h2{font-size:42px;font-weight:900;line-height:1.5;margin-bottom:20px;letter-spacing:-.02em;}
.final h2 em{font-style:normal;background:linear-gradient(transparent 70%,var(--orange) 70%,var(--orange) 92%,transparent 92%);}
.final .f-lead{font-size:15.5px;line-height:2;color:#B9B9C2;font-weight:500;margin-bottom:38px;}
.final-box{display:flex;justify-content:center;}
/* 暗い背景なのでLINE緑がそのまま映える。サイト内の他のボタンと色が揃う */
.final .cta-note{color:#9A9AA4;justify-content:center;margin-top:16px;gap:22px;}
.final .cta-note span::before{color:var(--green);}

/* ========================================
   フッター
   ======================================== */
footer{background:var(--ink);color:#fff;border-top:1px solid #2A2A30;padding:44px 32px 34px;}
/* 左にブランド、右に MENU / ABOUT の2列。リンクが1行だと右下が大きく空くため */
.f-inner{
  max-width:1080px;margin:0 auto;display:flex;justify-content:space-between;
  gap:30px 60px;flex-wrap:wrap;align-items:flex-start;
}
.f-brand .logo{height:34px;width:auto;}
.f-brand p{font-size:12px;color:#8A8A94;margin-top:16px;line-height:1.8;}
.f-col{display:flex;flex-direction:column;gap:11px;min-width:150px;}
.f-head{
  font-size:10.5px;font-weight:900;letter-spacing:.16em;color:#6E6E78;
  margin-bottom:4px;padding-bottom:9px;border-bottom:1px solid #2A2A30;
}
.f-col a{font-size:13px;color:#C6C6CC;text-decoration:none;font-weight:500;}
.f-col a:hover{color:#fff;}
.f-sns{display:flex;gap:10px;margin-top:14px;}
.f-sns .ph{width:38px;height:38px;border-radius:6px;background:#242428;border-color:#44444C;}
.f-sns .ph .what{font-size:9px;color:#8A8A94;}
.copyright{
  max-width:1080px;margin:40px auto 0;padding-top:20px;border-top:1px solid #2A2A30;
  font-size:11.5px;color:#76767E;
}

/* ========================================
   下部固定バー
   ======================================== */
.sticky{
  position:fixed;left:0;bottom:0;width:100%;z-index:90;
  background:#fff;border-top:1px solid var(--rule);
  padding:12px 32px;
  display:flex;align-items:center;justify-content:center;gap:26px;
  box-shadow:0 -2px 12px rgba(0,0,0,.08);
}
.sticky .txt{font-size:14px;font-weight:900;}
.sticky .txt i{font-style:normal;color:var(--orange);}
.sticky a{
  background:var(--green);color:#fff;text-decoration:none;
  font-size:17px;font-weight:900;padding:15px 42px;border-radius:8px;
  box-shadow:0 4px 0 #04A247;white-space:nowrap;
}

/* ========================================
   レスポンシブ
   ======================================== */
/* ===== 実素材用スタイル ===== */
.c-icon{width:52px;height:52px;object-fit:contain;}
.t-icon{width:46px;height:46px;flex-shrink:0;object-fit:contain;}
.sns-icon{
  width:38px;height:38px;object-fit:contain;padding:7px;
  background:#fff;border-radius:7px;
}

/* ========================================
   レスポンシブ
   ======================================== */

/* タップ時にhoverが残らないようにする（タッチ端末） */
@media(hover:none){
  .cta-btn:hover{transform:none;box-shadow:0 5px 0 #04A247;}
  .cta-btn:active{transform:translateY(3px);box-shadow:0 2px 0 #04A247;}
  .gnav a:hover,.f-col a:hover{color:inherit;}
}

/* ---------- スマートフォン ---------- */
@media(max-width:900px){
  html{scroll-padding-top:60px;}

  /* 固定バーの高さぶんだけ本文の下に余白。iPhoneのホームバー領域も考慮 */
  body{padding-bottom:calc(84px + env(safe-area-inset-bottom));}

  section{padding:48px 16px;}
  .sec-head{margin-bottom:30px;}
  .sec-en{font-size:38px;margin-bottom:10px;letter-spacing:-.04em;}
  .detail h4{font-size:18px;}
  .msg-body .lead{font-size:20px;}
  .final h2{font-size:25px;}
  .sec-ja{font-size:13.5px;}
  .sec-title{font-size:23px;line-height:1.55;}
  .sec-lead{margin-top:14px;}
  .sec-lead{font-size:14px;line-height:1.95;}

      
  /* --- ヘッダー --- */
  .header{padding:9px 14px;}
  .brand{gap:10px;}
  .brand .logo{height:20px;}
  .brand .brand-sub{font-size:9.5px;padding-left:10px;line-height:1.5;}
  /* ナビはハンバーガーに集約（.gnav の非表示は下部の専用ブロックで指定） */

  /* --- FV --- */
  .fv-slide{background-position:center 30%;}
  .fv-dots{left:16px;bottom:16px;}
  /* スマホではスマホのモックを出さず、画像が1枚も無くなるため注記も消す */
  .fv-note{display:none;}
  .fv::before{background:#FFFFFF;}
  /* ファーストビューの高さ＝画面 − ヘッダー62 − 下部固定バー96 − 次セクションの覗き分64。
     svh を使うと iOS のアドレスバー伸縮でも高さが変わらない */
  .fv{
    min-height:calc(100vh - 222px);
    min-height:calc(100svh - 222px);
    display:flex;
  }
  .fv .inner{
    width:100%;display:flex;flex-direction:column;justify-content:center;
    padding:36px 16px 46px;
  }
  .fv-copy{max-width:none;}
  .eyebrow{font-size:11.5px;margin-bottom:16px;}
  /* エンブレムを小さくしたぶんを見出しに回し、主役を見出しに戻す */
  .fv h1{font-size:31px;line-height:1.42;letter-spacing:-.03em;margin-bottom:92px;}
  .points{gap:10px;margin-bottom:28px;}
  .point{width:auto;flex:1;max-width:84px;}
  .point-inner{width:58%;}
  .point .t{font-size:7.5px;margin-bottom:2px;}
  .point .n{font-size:15px;}

  /* --- 共感カード：2列を維持して縦のばしを防ぐ --- */
  .cards{grid-template-columns:1fr 1fr;gap:10px;}
  .card{padding:22px 14px 20px;}
  .card .no{font-size:46px;right:10px;top:8px;}
  .c-icon{width:40px;height:40px;margin-bottom:14px;}
  .card h3{font-size:14.5px;line-height:1.6;margin-bottom:9px;}
  .card p{font-size:12px;line-height:1.85;}
  .empathy-foot{margin-top:28px;}
  .empathy-foot p{font-size:17px;}

  /* --- 選ばれる理由 --- */
  /* PCと同じ型のまま、1カラムに落として寸法だけ詰める */
  .reasons{grid-template-columns:1fr;gap:10px;}
  .reason{padding:24px 16px 22px;}
  .reason .reason-no{right:12px;top:8px;font-size:56px;}
  .reason .lead-num{font-size:40px;margin-bottom:14px;}
  .reason .lead-num i{font-size:17px;}
  .reason h3{font-size:16.5px;margin-bottom:9px;}
  .reason p{font-size:13px;line-height:1.95;}
  .reason .more{padding-top:14px;font-size:12px;}

  .detail{margin-top:36px;padding-top:32px;}
  .detail+.detail{margin-top:32px;}
  .detail h4{font-size:18px;line-height:1.5;margin-bottom:16px;}
  .detail-body{grid-template-columns:1fr;gap:22px;}
  .figure-wide{max-width:none;padding:14px 10px;}
  .detail-after{margin-top:22px;}
  .detail-after p{font-size:14px;line-height:1.95;}
  .detail-note{font-size:12.5px!important;padding-left:12px;}
  .detail-body p{font-size:14px;line-height:1.95;}
  .figure figcaption{font-size:11.5px;}

  /* 保証制度：1列に落とす */
  .detail-lead{font-size:14px;line-height:1.95;margin-bottom:18px;}
  .specs{grid-template-columns:1fr;gap:0;}
  .spec{grid-template-columns:74px 1fr;gap:10px;padding:12px 0;}
  .spec dt{font-size:12px;}
  .spec dd{font-size:13.5px;line-height:1.7;}
  .spec.key{padding-left:12px;}
  .spec.key::before{top:12px;bottom:12px;}

  /* --- 代表メッセージ --- */
  .message .inner-head{padding:0;}
  .msg-body{max-width:none;}
  .msg-body .name strong{font-size:18px;}
  .msg-body .lead{font-size:20px;line-height:1.65;margin-bottom:20px;}
  .msg-body p{font-size:14.5px;line-height:2;margin-bottom:17px;}
  .msg-body .sign{font-size:16px;margin-top:24px;}

  /* --- 対象 --- */
  .targets{grid-template-columns:1fr 1fr;gap:8px;}
  .target{padding:16px 12px;gap:11px;flex-direction:column;align-items:flex-start;}
  .t-icon{width:34px;height:34px;}
  .target .t-name{font-size:13px;line-height:1.5;}
  .target .t-sub{font-size:11px;margin-top:4px;}

  /* --- 応募の流れ：PCと同じ型のまま寸法を詰める --- */
  .steps{--gap:34px;max-width:none;}
  .step{gap:16px;}
  .step .circle{width:58px;height:58px;}
  .step .circle img{width:32px;height:32px;}
  .step .circle .num{left:-5px;top:-5px;width:23px;height:23px;font-size:10.5px;}
  .step:not(:last-child)::before{left:28px;top:58px;}
  .step .body{padding-top:5px;}
  .step h3{font-size:16px;margin-bottom:8px;line-height:1.5;}
  .step p{font-size:13px;line-height:1.9;}
  /* 応募条件：保証制度の一覧と同じ組み方に揃える */
  .conditions{
    grid-template-columns:1fr;gap:0;margin-top:28px;
    border-top:2px solid var(--ink);
  }
  .cond{
    border:none;border-bottom:1px solid var(--rule);
    padding:11px 0;display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 12px;
    text-align:left;
  }
  .cond .c-label{
    width:74px;flex-shrink:0;
    font-size:12px;font-weight:900;color:var(--sub);margin-bottom:0;letter-spacing:.06em;
  }
  .cond .c-value{font-size:15px;font-weight:900;line-height:1.5;}
  .cond .c-note{font-size:12px;color:var(--sub);margin-top:0;line-height:1.6;}
  .flow-photo{margin-top:28px;}
  .flow-photo img{aspect-ratio:16/10;}
  .flow-photo figcaption{font-size:11.5px;text-align:left;}

  /* --- FAQ --- */
  .qa summary{padding:16px 14px;font-size:14px;gap:10px;min-height:52px;}
  .qa summary .q{width:24px;height:24px;font-size:12px;}
  .qa summary .mark{font-size:18px;}
  .qa .a{padding:0 14px 18px 14px;font-size:13.5px;gap:10px;line-height:1.95;}
  .qa .a .a-mark{width:24px;height:24px;font-size:12px;}

  /* 運営者情報：こちらも縦積みに */
  .info-table,.info-table tbody,.info-table tr,.info-table th,.info-table td{
    display:block;width:auto;
  }
  .info-table{border-top:none;}
  .info-table tr{border-top:1px solid var(--rule);padding:14px 0;}
  .info-table tr:first-child{border-top:2px solid var(--ink);}
  .info-table tr:last-child{border-bottom:1px solid var(--rule);}
  .info-table th,.info-table td{border:none;padding:0;white-space:normal;}
  .info-table th{font-size:11.5px;letter-spacing:.06em;color:var(--sub);margin-bottom:5px;}
  .info-table td{font-size:14.5px;line-height:1.8;word-break:break-all;}

  /* --- 最終CTA --- */
  .final .eyebrow{font-size:11px;letter-spacing:.12em;margin-bottom:14px;}
  .final h2{font-size:25px;line-height:1.5;}
  /* 狭い端末で「登録30/秒」のように途中で割れるのを防ぐ */
  .final .cta-note{gap:9px 16px;flex-wrap:wrap;}
  .final .cta-note span{white-space:nowrap;}
  .final .f-lead{font-size:14px;line-height:1.9;margin-bottom:26px;}
  .final-box{flex-direction:column;gap:20px;}
  
  /* --- フッター --- */
  footer{padding:36px 16px 28px;}
  .f-inner{flex-direction:column;gap:26px;}
  .f-brand .logo{height:26px;}
  .f-col{min-width:0;gap:13px;}
  .f-col a{font-size:13px;padding:2px 0;}
  .sns-icon{width:40px;height:40px;}

  /* --- 下部固定バー：1行に圧縮し、ホームバーを避ける --- */
  .sticky{
    flex-direction:column;gap:7px;
    padding:9px 14px calc(9px + env(safe-area-inset-bottom));
  }
  .sticky .txt{font-size:11px;text-align:center;line-height:1.5;}
  .sticky a{width:100%;text-align:center;padding:15px;font-size:16px;}
}



/* ========================================
   動き
   ======================================== */
[data-reveal]{
  opacity:0;transform:translateY(12px);
  transition:opacity .42s cubic-bezier(.2,.7,.3,1), transform .42s cubic-bezier(.2,.7,.3,1);
  will-change:opacity,transform;
}
[data-reveal].is-in{opacity:1;transform:none;}

/* FVは読み込み時にずらして出す */
.fv-copy>*{opacity:0;animation:fvUp .8s cubic-bezier(.2,.7,.3,1) forwards;}
.fv-copy>h1{opacity:1;animation:none;}
.fv-copy>*:nth-child(1){animation-delay:.05s;}
.fv-copy>*:nth-child(2){animation-delay:.16s;}
.fv-copy>*:nth-child(3){animation-delay:.27s;}
.fv-copy>*:nth-child(4){animation-delay:.38s;}
.fv-copy>*:nth-child(5){animation-delay:.52s;}
.fv-copy>*:nth-child(6){animation-delay:.62s;}
@keyframes fvUp{from{opacity:0;transform:translateY(20px);}to{opacity:1;transform:none;}}

/* エンブレムは順番に浮かび上がる */
.points .point{opacity:0;animation:emblemIn .7s cubic-bezier(.2,.7,.3,1) forwards;}
@keyframes emblemIn{from{opacity:0;transform:translateY(10px) scale(.9);}to{opacity:1;transform:none;}}
.points .point:nth-child(1){animation-delay:.44s;}
.points .point:nth-child(2){animation-delay:.54s;}
.points .point:nth-child(3){animation-delay:.64s;}
.points .point:nth-child(1) .point-inner{animation:emblemFloat 5.5s ease-in-out 1.2s infinite;}
.points .point:nth-child(2) .point-inner{animation:emblemFloat 5.5s ease-in-out 1.6s infinite;}
.points .point:nth-child(3) .point-inner{animation:emblemFloat 5.5s ease-in-out 2.0s infinite;}
@keyframes emblemFloat{0%,100%{transform:translateY(0);}50%{transform:translateY(-3px);}}

/* CTAボタンに、ときどき光が走る */
.fv .cta-btn{position:relative;overflow:hidden;}
.fv .cta-btn::after{
  content:"";position:absolute;top:0;left:-60%;width:40%;height:100%;
  background:linear-gradient(100deg,transparent,rgba(255,255,255,.38),transparent);
  transform:skewX(-18deg);
  animation:shine 5s ease-in-out 2s infinite;
}
@keyframes shine{0%{left:-60%;}22%{left:130%;}100%{left:130%;}}

/* カード類のホバーで上端にブランドカラーが差す */
@media(hover:hover){
  .target{position:relative;transition:transform .3s ease;}
  .target::after{
    content:"";position:absolute;left:0;right:0;top:0;height:3px;
    background:var(--brand-grad);transform:scaleX(0);transform-origin:left;
    transition:transform .35s cubic-bezier(.2,.7,.3,1);
  }
  .target:hover::after{transform:scaleX(1);}
  .card,.reason{transition:border-color .3s ease,transform .3s ease;}
  .card:hover,.reason:hover{border-color:var(--orange);transform:translateY(-3px);}
  .qa summary{transition:background .2s ease;}
  .qa summary:hover{background:var(--mist);}
}

/* 動きを減らす設定の人には出さない */
@media(prefers-reduced-motion:reduce){
  [data-reveal],[data-reveal].is-in,.fv-copy>*,.points .point,
  .fv-slide,.fv h1 .line>span,.fv h1 .mk,.point-inner,.point::after,.fv .cta-btn::after{
    opacity:1!important;transform:none!important;animation:none!important;transition:none!important;
  }
  .fv h1 .mk{background-size:100% 100%!important;}
  .fv-bubbles{display:none;}
  .fv-phone{opacity:1!important;animation:none!important;}
  .fv .cta-btn::after{display:none;}
}

/* ========================================
   オープニング（ロゴアニメーション）
   開いた瞬間にロゴが描かれ、2.05秒後にフェードしてFVへ渡す。
   JSが動かない環境でもCSSだけで必ず消えるようにしてある。
   ======================================== */
.intro{
  position:fixed;inset:0;z-index:999;background:var(--paper);
  display:flex;align-items:center;justify-content:center;cursor:pointer;
  animation:introOut .45s ease 4.2s forwards;
}
/* ロゴのアニメーションは動画ではなく「アニメーションする画像（WebP）」で出す。
   iPhone の低電力モードでは動画の自動再生が止められるが、画像は止められないため */
.intro-anim,.intro video{width:min(620px,76vw);height:auto;display:block;}
/* 低電力モード用の画像は、切り替えるまで必ず隠す。
   上の display:block が hidden 属性より強く効き、中身のない画像の枠（細いグレーの線）が出ていた */
.intro-anim[hidden]{display:none!important;}
.intro{display:grid;place-items:center;}
.intro > video,.intro > .intro-anim{grid-area:1 / 1;}
/* 再生が始まるまで動画は見せない（自動再生が止められたときの再生ボタンを出さないため） */
html.intro-lock .intro video{opacity:0;}
html.intro-lock .intro.is-playing video{opacity:1;}
.intro video::-webkit-media-controls,
.intro video::-webkit-media-controls-start-playback-button{display:none!important;-webkit-appearance:none;}
/* JS で閉じるときのフェード */
.intro.is-out{opacity:0;visibility:hidden;transition:opacity .38s ease, visibility 0s linear .38s;}
@keyframes introOut{to{opacity:0;visibility:hidden;}}

/* 2回目以降の表示では出さない */
html.intro-done .intro{display:none;}
/* イントロ中はスクロールを止める */
html.intro-lock,html.intro-lock body{overflow:hidden;}
/* イントロ中はFVの登場アニメーションを止めておき、明けてから再生する。
   止めないと、ロゴを見ている間に見出しのせり上がりが終わってしまう */
html.intro-lock .fv-copy>*,
html.intro-lock .fv h1 .line>span,
html.intro-lock .fv h1 .mk,
html.intro-lock .points .point,
html.intro-lock .points .point .point-inner,
html.intro-lock .fv-slide.is-on,
html.intro-lock .fv-phone,
html.intro-lock .fv-bubbles i,
html.intro-lock .fv-bubbles i b,
html.intro-lock .fv .cta-btn::after{animation-play-state:paused;}

@media(max-width:900px){ .intro-anim,.intro video{width:84vw;} }
@media(prefers-reduced-motion:reduce){ .intro{display:none;} }

/* ========================================
   スマホ用ハンバーガーメニュー
   900px以下では .gnav を丸ごと隠し、右上のハンバーガーに集約する。
   応募CTAは画面下部の固定バーが常時担っているので、ヘッダーからは外す。
   ======================================== */
.hamb{
  display:none;width:44px;height:44px;padding:0;border:0;background:transparent;
  cursor:pointer;flex-direction:column;align-items:center;justify-content:center;gap:5px;
}
.hamb span{display:block;width:22px;height:2px;border-radius:2px;background:var(--ink);}

.menu{
  position:fixed;inset:0;z-index:92;background:var(--paper);
  display:flex;flex-direction:column;
  opacity:0;visibility:hidden;transition:opacity .26s ease,visibility .26s ease;
}
.menu.is-open{opacity:1;visibility:visible;}
.menu-head{
  display:flex;align-items:center;justify-content:space-between;
  padding:9px 14px;border-bottom:1px solid var(--rule);flex:none;
}
.menu-head .logo{height:20px;width:auto;}
.menu-close{
  width:44px;height:44px;padding:0;border:0;background:transparent;cursor:pointer;
  position:relative;
}
.menu-close::before,.menu-close::after{
  content:"";position:absolute;left:11px;top:21px;width:22px;height:2px;
  border-radius:2px;background:var(--ink);
}
.menu-close::before{transform:rotate(45deg);}
.menu-close::after{transform:rotate(-45deg);}

.menu-body{flex:1;overflow-y:auto;padding:8px 22px 26px;}
.menu-body a.m-link{
  display:flex;align-items:center;justify-content:space-between;
  padding:19px 2px;font-size:16.5px;font-weight:900;color:var(--ink);text-decoration:none;
  border-bottom:1px solid var(--rule);
}
.menu-body a.m-link::after{content:"→";color:var(--orange);font-weight:900;}

.menu-foot{padding:22px 22px calc(26px + env(safe-area-inset-bottom));flex:none;border-top:1px solid var(--rule);}
.menu-foot .cta-btn{display:flex;width:100%;padding:19px 10px;font-size:17px;}
.menu-foot .cta-note{justify-content:center;margin-top:13px;gap:9px 16px;flex-wrap:wrap;}
.menu-foot .cta-note span{white-space:nowrap;}

@media(max-width:900px){
  .gnav{display:none;}
  .hamb{display:flex;}
  /* メニューを開いている間はスクロールを止める。
     PC幅では効かないようにして、開いたまま画面を広げても固まらないようにする */
  html.menu-open,html.menu-open body{overflow:hidden;}
}

/* PC幅ではメニューを絶対に出さない。
   JSのresizeが走らない環境でもデスクトップに残らないようCSSで塞ぐ */
@media(min-width:901px){
  .menu{display:none!important;}
}

/* ========================================
   スクロール連動の背景演出（Why Live / Reason / Message）
   ・背景の文字は .inner より背面（z-index:0）に敷くので可読性は落ちない
   ・ピン留めはセクションが画面に収まるときだけ有効（収まらなければ自動で通常表示）
   ======================================== */
.empathy,#reason,.message,#members,#faq{position:relative;overflow:hidden;}
.empathy .inner,#reason .inner,.message .inner,.message .inner-head,
#members .inner,#faq .inner{position:relative;z-index:1;}

.sec-bg{position:absolute;inset:0;z-index:0;pointer-events:none;overflow:hidden;}
/* 横に流す帯 */
.sec-bg .run{position:absolute;top:50%;left:0;white-space:nowrap;will-change:transform;transform:translate(0,-50%);}
.sec-bg .run b{
  display:inline-block;font-weight:900;line-height:1;letter-spacing:-.03em;
  color:rgba(17,17,19,.045);padding-right:.15em;
}
.empathy .sec-bg .run b{font-size:clamp(96px,13vw,190px);}
.message .sec-bg .run b{font-size:clamp(110px,14vw,210px);}
#members .sec-bg .run b{font-size:clamp(96px,13vw,190px);}
/* 縦に流す帯。1本の縦テキストとして流す（ブロックを積むと横に並んでしまうため） */
.sec-bg .runv{
  position:absolute;right:3%;top:0;will-change:transform;
  writing-mode:vertical-rl;text-orientation:upright;white-space:nowrap;
  font-size:clamp(130px,15vw,240px);font-weight:900;line-height:1;
  letter-spacing:.04em;color:rgba(17,17,19,.045);
}
@media(max-width:900px){.sec-bg .runv{right:-6%;}}

/* ピン留め：ラッパーを縦に伸ばし、中のセクションを画面に貼り付ける */
.pin{position:relative;}
/* ヘッダーが sticky で最前面にいるため、その高さぶん下げて貼り付ける。
   top:0 にするとセクションの上部がヘッダーの下に潜って見出しが切れる */
.pin.is-pinned > section{position:sticky;top:var(--head-h,0px);}

/* スクロールに合わせた段階表示 */
.is-stepping .step-item{opacity:0;will-change:opacity,transform;}

/* Message：ピン留めを成立させるため余白を詰める（918px→画面内に収める） */
.message{padding-top:40px;padding-bottom:40px;}
.message .sec-head{margin-bottom:26px;}

@media(prefers-reduced-motion:reduce){
  .sec-bg{display:none;}
  .pin{height:auto!important;}
  .pin.is-pinned > section{position:static;}
  .is-stepping .step-item{opacity:1!important;transform:none!important;}
}
/* T4：3台が順に前へ出てくるローテーション。
   3枚は元画像の比率が違うため、幅ではなく高さで揃える */
.fv-phone{
  width:clamp(330px,40vw,580px);aspect-ratio:16/11;
  right:max(24px, calc((100% - 1160px) / 2));
}
.fv-phone img{
  position:absolute;top:50%;bottom:auto;width:auto;opacity:1;
  transition:left .95s cubic-bezier(.4,0,.2,1),
             transform .95s cubic-bezier(.4,0,.2,1),
             height .95s cubic-bezier(.4,0,.2,1),
             filter .95s ease, opacity .45s ease;
}
.fv-phone img.p0{left:19%;height:74%;z-index:1;
  transform:translate(-50%,-53%) rotate(-13deg);
  filter:drop-shadow(0 12px 24px rgba(0,0,0,.13));}
.fv-phone img.p1{left:50%;height:96%;z-index:3;
  transform:translate(-50%,-50%) rotate(0deg);
  filter:drop-shadow(0 26px 46px rgba(0,0,0,.24));}
.fv-phone img.p2{left:81%;height:74%;z-index:2;
  transform:translate(-50%,-53%) rotate(13deg);
  filter:drop-shadow(0 12px 24px rgba(0,0,0,.13));}
@media(prefers-reduced-motion:reduce){.fv-phone img{transition:none;}}

/* ===== スマホ幅だけ：端末を見出しとエンブレムの間に置く =====
   要素の移動は JS で行う。PC側は今のまま（.fv の子・絶対配置）なので寸法は変わらない */
@media(max-width:900px){
  .fv-phone{
    display:block;position:relative;z-index:2;
    top:auto;right:auto;left:auto;bottom:auto;
    width:100%;margin-left:0;aspect-ratio:auto;
    transform:none;
    opacity:0;animation:phoneIn .75s cubic-bezier(.2,.7,.3,1) .35s forwards;
  }
  /* 縦積み用の登場アニメーション。名前は phoneIn のまま
     （ローテーション開始の合図に使っているため） */
  @keyframes phoneIn{
    from{opacity:0;transform:translateY(22px) scale(.97);}
    to  {opacity:1;transform:translateY(0) scale(1);}
  }
  .fv-phone img{top:50%;bottom:auto;}
  /* M10：端末を主役に。月桂樹とCTAを小さくして下へ寄せる */
  .fv-phone{height:200px;margin-bottom:16px;}
  .fv-phone img.p0{left:20%;height:74%;transform:translate(-50%,-53%) rotate(-14deg);}
  .fv-phone img.p1{left:50%;height:100%;transform:translate(-50%,-50%) rotate(0deg);}
  .fv-phone img.p2{left:80%;height:74%;transform:translate(-50%,-53%) rotate(14deg);}
  .fv h1{margin-bottom:50px;}  /* 端末をさらに下へ */
  /* エンブレムを小さくして下へ寄せ、CTAも小さくする。端末を主役にする */
  /* 月桂樹とLINEボタンの間を 30→18px に詰める */
  .points{max-width:none;gap:10px;margin-top:72px;margin-bottom:18px;}
  .point{max-width:70px;}
  .point .t{font-size:6.5px;margin-bottom:1px;}
  .point .n{font-size:13px;}
  .fv .cta-btn{font-size:16px;padding:15px 28px;box-shadow:0 4px 0 #04A247;}
  .fv .cta-note{font-size:12px;margin-top:10px;gap:14px;}
  /* コピーを上端に寄せ、上の余白も詰める。いちばん上がる */
  .fv .inner{padding-top:8px;padding-bottom:12px;justify-content:flex-start;}
  /* C2：FVのコピーを丸ごと中央寄せ */
  .fv-copy{text-align:center;}
  .points{justify-content:center;}
  .fv .cta-btn{display:flex;width:fit-content;margin-left:auto;margin-right:auto;}
  .fv .cta-note{justify-content:center;}
}
            .box   { fill:#fff; stroke:#111113; stroke-width:1.6; }
            .box-o { fill:#FFF6F1; stroke:#EF5100; stroke-width:2.4; }
            .box-d { fill:#fff; stroke:#B0B0B8; stroke-width:1.6; stroke-dasharray:6 5; }
            .t     { font-family:"Noto Sans JP",sans-serif; font-weight:900; font-size:20px; fill:#111113;
                     text-anchor:middle; dominant-baseline:middle; }
            .t-s   { font-size:17px; }
            .t-o   { fill:#EF5100; }
            .t-d   { fill:#8A8A92; }
            .hd    { font-family:"Noto Sans JP",sans-serif; font-weight:900; font-size:15px;
                     letter-spacing:.06em; fill:#9A9AA2; }
            .hd-o  { fill:#EF5100; }
            .memo  { font-family:"Noto Sans JP",sans-serif; font-weight:500; font-size:17px;
                     fill:#76767C; text-anchor:middle; }
            .ar    { stroke:#B0B0B8; stroke-width:1.8; fill:none; }
            .ar-o  { stroke:#EF5100; stroke-width:2.2; fill:none; }
            .ar-d  { stroke:#B0B0B8; stroke-width:1.8; fill:none; stroke-dasharray:6 5; }
            .divide{ stroke:#E4E4E7; stroke-width:1.6; }
          
/* ============================================================
   FV：丸アイコンが順番に中央へ出てくる
   入れ物（.fv-phone）の位置・スマホ幅での配置・登場タイミングはそのまま使う
   ============================================================ */
.fv-phone.fv-icons{width:clamp(400px,40vw,600px);aspect-ratio:1/1;}
.fv-phone .fv-ic{
  position:absolute;left:0;top:0;width:var(--base,200px);aspect-ratio:1;
  transform-origin:50% 50%;z-index:2;will-change:transform;
  transition:transform .95s cubic-bezier(.65,0,.35,1), opacity .6s ease;
}
.fv-phone.is-resizing .fv-ic{transition:none;}
.fv-phone .fv-ic.is-center{z-index:4;}
.fv-phone .fv-ic.is-moving{z-index:5;}
.fv-ic .ic-float{display:block;width:100%;height:100%;
  animation:icFloat var(--p,8s) ease-in-out var(--dl,0s) infinite;}
.fv-ic .ic-ring{display:block;width:100%;height:100%;border-radius:50%;background:#fff;padding:3.4%;
  box-shadow:0 10px 22px rgba(38,22,36,.20),0 3px 6px rgba(38,22,36,.10);}
/* 以前のスマホ画像用の指定（絶対配置・フェード）を打ち消す */
.fv-phone .fv-ic img{
  position:static;display:block;width:100%;height:100%;max-width:none;
  left:auto;right:auto;top:auto;bottom:auto;transform:none;opacity:1;filter:none;transition:none;
  border-radius:50%;object-fit:cover;
}
/* 下に落ちる影。浮き上がると小さく薄くなる */
.fv-ic::after{
  content:"";position:absolute;left:16%;right:16%;bottom:-12%;height:11%;border-radius:50%;
  background:radial-gradient(closest-side,rgba(38,22,36,.30),rgba(38,22,36,0));
  animation:icShadow var(--p,8s) ease-in-out var(--dl,0s) infinite;z-index:-1;pointer-events:none;
}
@keyframes icFloat{0%,100%{transform:translate(0,0)}50%{transform:translate(2px,-9px)}}
@keyframes icShadow{0%,100%{transform:scaleX(1);opacity:1}50%{transform:scaleX(.78);opacity:.55}}
@media(max-width:900px){
  /* PC用の幅指定（clamp）がスマホに残らないよう、ここで100%に戻す */
  .fv-phone.fv-icons{width:100%;height:260px;aspect-ratio:auto;}
}
@media(prefers-reduced-motion:reduce){
  .fv-ic .ic-float,.fv-ic::after{animation:none;}
  .fv-phone .fv-ic{transition:none;}
}

/* PC：大きい丸を3つ横に並べる。横幅を広く使うため、箱を横長にして右の余白も詰める */
@media(min-width:901px){
  .fv-phone.fv-icons{
    width:clamp(560px,48vw,760px);aspect-ratio:680/520;
    right:max(24px, calc((100% - 1300px) / 2));
  }
}

/* ============================================================
   以下、別系統で決めたデザイン変更をまとめて反映
   ============================================================ */
/* B：セクションの境界をゆるい斜めにする */
.empathy,.message,.bg-mist{position:relative;}
.empathy::before,.message::before,.bg-mist::before,
.empathy::after,.message::after,.bg-mist::after{
  content:"";position:absolute;left:0;right:0;height:2.6vw;
  background:var(--paper);pointer-events:none;z-index:0;
}
.empathy::before,.message::before,.bg-mist::before{top:0;clip-path:polygon(0 0,100% 0,100% 0,0 100%);}
.empathy::after,.message::after,.bg-mist::after{bottom:0;clip-path:polygon(0 100%,100% 0,100% 100%,0 100%);}

/* B：エンブレムの数字とCTAの影（PCのみ。スマホは詰めた寸法をそのまま使う） */
@media(min-width:901px){
  .point-inner{width:60%;}
  .point .n{font-size:26px;letter-spacing:-.04em;}
  .point .t{font-size:8.5px;}
  .cta-btn{box-shadow:0 7px 0 #04A247;}
  .cta-btn:hover{transform:translateY(5px);box-shadow:0 2px 0 #04A247;}
}

/* 背景の巨大英字：ロゴのグラデーション 20%。縦は REASON だけ、FAQ はグレーのまま */
.sec-bg .run b{color:rgba(239,81,0,.075);}
@supports (-webkit-background-clip:text) or (background-clip:text){
  .sec-bg .run b{
    color:transparent;background:var(--brand-grad);
    -webkit-background-clip:text;background-clip:text;opacity:.20;
  }
  #reason .sec-bg .runv{
    color:transparent;
    background:linear-gradient(180deg,#F02400 0%,#FC7800 30%,#FCD800 50%,#FC7800 70%,#F02400 100%);
    background-size:100% 1400px;background-repeat:repeat;
    -webkit-background-clip:text;background-clip:text;opacity:.20;
  }
}
/* スマホでは背景文字を小さく、薄く（PCと同じ比率に戻す） */
@media(max-width:900px){
  .empathy .sec-bg .run b,.message .sec-bg .run b{font-size:58px;}
  .sec-bg .runv{font-size:78px;}
  .sec-bg .run b,#reason .sec-bg .runv{opacity:.13;}
}

/* カクつき対策：一度きりの表示アニメーションに will-change を残さない */
[data-reveal],[data-reveal].is-in,
.is-stepping .step-item,.step-item{will-change:auto!important;}

/* スマホのフッター：MENU / ABOUT を横並び */
@media(max-width:900px){
  .f-inner{display:grid;grid-template-columns:1fr 1fr;column-gap:16px;row-gap:26px;align-items:start;}
  .f-brand{grid-column:1 / -1;}
}

/* 下部固定バー：FVのボタンが見えている間と、最後のCTA・フッターが見えている間は隠す。
   同じ画面にCTAが2つ並ぶとしつこく見えるため */
.sticky{transition:transform .38s cubic-bezier(.2,.7,.3,1), opacity .25s ease, visibility 0s linear 0s;}
.sticky.is-hidden{
  transform:translateY(110%);opacity:0;pointer-events:none;visibility:hidden;
  transition:transform .38s cubic-bezier(.2,.7,.3,1), opacity .25s ease, visibility 0s linear .38s;
}
@media(prefers-reduced-motion:reduce){.sticky,.sticky.is-hidden{transition:none;}}

/* 各セクションの見出し（Why Live / Reason / Message / Members / Flow / FAQ / Company）：
   1文字ずつ左から順に出す。末尾のオレンジの点は最後に出る。
   以前は切り抜き（clip-path）で出していたが、スマホではスクロール中にコマ落ちするため、
   位置と透明度だけを動かす方式に変えた（この2つは専用の回路で滑らかに描ける） */
.sec-head[data-reveal]{transform:none;}
.sec-en .ch{
  display:inline-block;opacity:0;transform:translateX(-.35em);
  transition:opacity .36s ease, transform .5s cubic-bezier(.2,.7,.3,1);
  transition-delay:calc(var(--i) * 45ms);
}
.sec-head.is-in .sec-en .ch{opacity:1;transform:none;}
.sec-en.is-split::after{
  opacity:0;transform:scale(.3);
  transition:opacity .3s ease, transform .45s cubic-bezier(.3,1.6,.5,1);
  transition-delay:calc(var(--n) * 45ms + 60ms);
}
.sec-head.is-in .sec-en.is-split::after{opacity:1;transform:none;}
@media(prefers-reduced-motion:reduce){
  .sec-en .ch,.sec-en.is-split::after{opacity:1;transform:none;transition:none;}
}

/* ============================================================
   スマホ：背景英字をセクション上部の帯で横に流す
   本文やカードの裏を通るとほとんど見えないため、上に専用の余白を取る。
   縦書きの REASON / FAQ も横流しにそろえる（向きはすべて左へ）
   ============================================================ */
.sec-bg .run-sp{display:none;}
@media(max-width:900px){
  .sec-bg .runv{display:none;}
  .sec-bg .run-sp{display:block;}
  .empathy,#reason,.message{padding-top:112px;}
  .sec-bg .run{top:70px;}
  .empathy .sec-bg .run b,.message .sec-bg .run b,
  #reason .sec-bg .run b{font-size:60px;}
  .sec-bg .run b{opacity:.22;}
}

/* スマホの動作を軽くする：同時に動くアニメーションを減らす（見た目はほぼ同じ）
   ・FVの丸は上昇だけにして、横揺れはやめる
   ・アイコンの影は残し、伸び縮みだけやめる */
@media(max-width:900px){
  .fv-bubbles i b{animation:none;}
  .fv-ic::after{animation:none;}
}

/* FVが画面から外れている間は、FVのアニメーションを止める。
   見えていないのに動かし続けると、他のセクションのスクロールと処理を取り合って重くなる */
.fv.is-off .fv-bubbles i,
.fv.is-off .fv-bubbles i b,
.fv.is-off .fv-ic .ic-float,
.fv.is-off .fv-ic::after,
.fv.is-off .points .point-inner,
.fv.is-off .cta-btn::after{animation-play-state:paused;}

/* スマホ：背景英字はスクロールに連動させず、自動でゆっくり流し続ける。
   CSS のアニメーションは専用の回路で描けるので、スクロール連動より滑らか */
@keyframes tickerFlow{
  from{transform:translate(0,-50%);}
  to  {transform:translate(calc(var(--unit,300px) * -1),-50%);}
}
@keyframes tickerFlowV{
  from{transform:translateY(0);}
  to  {transform:translateY(calc(var(--unitV,300px) * -1));}
}
/* 背景の英字は、スクロールに連動させず自動で流し続ける。
   スクロール連動は毎フレーム計算が必要で、ページ全体の動きが重くなるため */
.sec-bg .run{animation:tickerFlow var(--dur,8s) linear infinite;}
.sec-bg .runv{animation:tickerFlowV var(--durV,12s) linear infinite;}
@media(prefers-reduced-motion:reduce){ .sec-bg .run,.sec-bg .runv{animation:none;} }

/* フッターの下に白い帯が出ないようにする（PC・スマホとも）。
   固定CTAバーのぶん本文の下に空きを取っていたが、フッターが見えている間はバーを隠すので不要。
   iPhone のホームバーのぶんはフッターの中に余白を取り、濃い色を画面の下端まで伸ばす */
body{padding-bottom:0;}
footer{padding-bottom:calc(34px + env(safe-area-inset-bottom));}
@media(max-width:900px){
  footer{padding-bottom:calc(28px + env(safe-area-inset-bottom));}
}
/* ============================================================
   ヘッダー：いちばん上ではFVに溶け込ませる（透明・区切り線なし）。
   スクロールしたら半透明の白に切り替えて、本文と重なっても読めるようにする。
   すりガラス（ぼかし）はPCだけ。スマホでは処理が重いので使わない
   ============================================================ */
.header{
  background:transparent;border-bottom-color:transparent;
  backdrop-filter:none;-webkit-backdrop-filter:none;
  transition:background-color .3s ease, box-shadow .3s ease;
}
.header.is-scrolled{
  background:rgba(255,255,255,.98);   /* スマホは暗いセクションの上で透けないように */
  box-shadow:0 1px 0 rgba(17,17,19,.06), 0 6px 18px rgba(17,17,19,.05);
}
@media(min-width:901px){
  .header.is-scrolled{
    background:rgba(255,255,255,.82);
    backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);
  }
}
/* FVをヘッダーの後ろまで広げ、丸がヘッダーの裏まで浮かぶようにする。
   広げたぶんだけ上に余白を足して、中身の位置は変えない */
.fv{margin-top:calc(var(--head-h,75px) * -1);padding-top:var(--head-h,75px);}
@media(min-width:901px){
  .fv-phone.fv-icons{top:calc(50% + var(--head-h,75px) / 2);}
}
@media(max-width:900px){
  .fv{min-height:calc(100vh - 222px + var(--head-h,63px));min-height:calc(100svh - 222px + var(--head-h,63px));}
}

/* ============================================================
   FVアイコンの見せ方 比較用（5案共通）
   ============================================================ */
/* 白いフチはアイコンの直径の3.4%。% だと親の幅が基準になるため、並べ方ごとに --ring で渡す */
.fv-phone.v5 .ic{display:block;border-radius:50%;background:#fff;padding:var(--ring,3.4%);
  box-shadow:0 10px 22px rgba(38,22,36,.20),0 3px 6px rgba(38,22,36,.10);}
.fv-phone.v5 .ic img{
  position:static;display:block;width:100%;height:100%;max-width:none;
  left:auto;right:auto;top:auto;bottom:auto;transform:none;opacity:1;filter:none;transition:none;
  border-radius:50%;object-fit:cover;
}
@media(max-width:900px){
  /* スマホは帯を画面の端から端まで使う */
  .fv-phone.v5{width:100vw;margin-left:calc(50% - 50vw);}
}

/* A：流れる帯。途切れずに流れ続けるので、人数を数えられない
   ・列ごとに別の人を割り当て、同じ人が2つの列に同時に出ないようにする
   ・全列を同じ向き・同じ速さ・同じ間隔（--P）で流し、隣の列と半分ずらす（互い違い）。
     横一列にそろう瞬間ができない */
.vA .mq-track{display:flex;will-change:transform;animation:mqFlow calc(var(--n) * var(--T)) linear infinite;}
.vA .mq-track .ic{flex:0 0 auto;width:var(--s);height:var(--s);--ring:calc(var(--s) * .034);}
@keyframes v5In{from{opacity:0;transform:translateY(30px)}to{opacity:1;transform:none}}
@media(min-width:901px){
  /* PC：右半分を上から下まで使い、縦に3列流す。上下の端はぼかす */
  .fv-phone.vA{
    --s1:clamp(118px,10.4vw,158px);--s2:clamp(150px,13.2vw,200px);--s3:clamp(108px,9.4vw,142px);
    /* 間隔：4人の列でも1周が画面の高さより長くなるようにする（同じ人が同じ列に2回映らない） */
    --P:max(27vh, calc(var(--s2) + 28px));--T:8s;
    top:0;bottom:0;left:52%;right:0;width:auto;aspect-ratio:auto;transform:none;
    display:flex;justify-content:center;align-items:flex-start;gap:clamp(16px,1.8vw,30px);
    overflow:hidden;animation-name:v5In;
    -webkit-mask-image:linear-gradient(to bottom,transparent 0,transparent var(--head-h,75px),#000 calc(var(--head-h,75px) + 90px),#000 calc(100% - 110px),transparent 100%);
            mask-image:linear-gradient(to bottom,transparent 0,transparent var(--head-h,75px),#000 calc(var(--head-h,75px) + 90px),#000 calc(100% - 110px),transparent 100%);
  }
  .vA .sp-lane{display:none;}
  .vA .mq-col{flex:0 0 auto;padding:0 6px;}
  .vA .mq-track{flex-direction:column;--dx:0px;--dy:calc(var(--n) * var(--P) * -1);}
  .vA .mq-track .ic{margin-bottom:calc(var(--P) - var(--s));}
  /* 丸の中心で揃える。真ん中の列だけ半分（P/2）ずらす */
  .vA .c1{--s:var(--s1);margin-top:calc(var(--P) * -1);}
  .vA .c2{--s:var(--s2);margin-top:calc(var(--P) * -.5 + (var(--s1) - var(--s2)) / 2);}
  .vA .c3{--s:var(--s3);margin-top:calc(var(--P) * -1 + (var(--s1) - var(--s3)) / 2);}
}
@media(max-width:900px){
  /* スマホ：横に2段。同じ向きに流し、下の段を半分ずらす。左右の端はぼかす */
  .fv-phone.vA{
    --s1:108px;--s2:88px;--P:124px;--T:6.5s;
    height:250px;overflow:hidden;display:flex;flex-direction:column;justify-content:center;gap:14px;
    -webkit-mask-image:linear-gradient(to right,transparent 0,#000 10%,#000 90%,transparent 100%);
            mask-image:linear-gradient(to right,transparent 0,#000 10%,#000 90%,transparent 100%);
  }
  .vA .pc-lane{display:none;}
  .vA .mq-col{height:var(--s);}
  .vA .mq-track{flex-direction:row;width:max-content;--dy:0px;--dx:calc(var(--n) * var(--P) * -1);}
  .vA .mq-track .ic{margin-right:calc(var(--P) - var(--s));}
  .vA .m1{--s:var(--s1);margin-left:calc(var(--P) * -1);}
  .vA .m2{--s:var(--s2);margin-left:calc(var(--P) * -.5 + (var(--s1) - var(--s2)) / 2);}
}
@keyframes mqFlow{from{transform:translate3d(0,0,0)}to{transform:translate3d(var(--dx),var(--dy),0)}}
.fv.is-off .vA .mq-track{animation-play-state:paused;}
@media(prefers-reduced-motion:reduce){ .vA .mq-track{animation:none;} }
