/* トップのファーストビューの下（template-parts/top-hub.php）：「業種から探す」と「機能から探す」
   カードは活用シーンの一覧と同じもの（patterns.css）。ここでは見出しと、機能の6段だけを持つ */
.top-hub{padding:88px 0}
/* 機能から探す：セクションぜんたいをFVと同じ深い緑に（枠の中に枠を作らない。2026-10-16 本人指示） */
.top-hub--feature{position:relative;overflow:hidden;color:#fff;background:radial-gradient(110% 120% at 88% 0%,#2a816c 0%,#13493f 48%,#0b2f29 100%)}
.top-hub--feature::before{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(50% 45% at 72% 45%,rgba(127,233,198,.10),transparent 70%)}
.top-hub--feature > .container{position:relative;z-index:1}
/* 段ごとの写真。入れ替わるときは1.1秒で重ね、写っている間はゆっくり寄る。上に深い緑の膜（左は濃く、右は写真が透ける） */
.tf-bg{position:absolute;inset:0;z-index:0;pointer-events:none}
.tf-bg i{position:absolute;inset:0;background-size:cover;background-repeat:no-repeat;opacity:0;transform:scale(1.04);transition:opacity 1.1s ease,transform 9s linear}
.tf-bg i.is-on{opacity:1;transform:scale(1.1)}
.tf-bg::after{content:"";position:absolute;inset:0;
  background:radial-gradient(50% 45% at 72% 45%,rgba(127,233,198,.10),transparent 70%),
             linear-gradient(90deg,rgba(11,47,41,.96) 0%,rgba(13,52,45,.9) 38%,rgba(19,73,63,.8) 70%,rgba(30,96,80,.72) 100%)}
@media (max-width:1023px){ .tf-bg::after{background:linear-gradient(180deg,rgba(11,47,41,.94) 0%,rgba(19,73,63,.86) 100%)} }
@media (prefers-reduced-motion:reduce){ .tf-bg i{transition:none;transform:none} }
.top-hub--feature .top-hub__title{color:#fff}
.top-hub--feature .top-hub__more-link{background:transparent;border-color:rgba(255,255,255,.7);color:#fff}
.top-hub--feature .top-hub__more-link:hover{background:#fff;color:#13493f}
.top-hub__head{text-align:center;margin-bottom:40px}
.top-hub__title{margin:0 0 10px;font-size:36px;font-weight:700;line-height:1.4;letter-spacing:.04em;color:var(--color-black,#1f2523)}
.top-hub__sub{margin:0;font-size:15px;line-height:1.7;color:var(--color-dark-gray,#555)}
.top-hub .scene-archive-grid{margin:0}

/* 機能：案件の流れの6段。番号を細い線でつなぎ、段ごとに機能ページへのリンクを並べる */
.top-flow{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:24px;counter-reset:none}
.top-flow__step{position:relative;background:#fff;border:1px solid rgba(42,129,108,.1);border-radius:16px;padding:24px 22px 18px;
  box-shadow:0 8px 28px rgba(0,0,0,.04)}
.top-flow__head{position:relative;margin-bottom:14px;padding-bottom:14px;border-bottom:1px solid #edf2f0}
.top-flow__head::after{content:"";position:absolute;left:0;bottom:-1px;width:40px;height:2px;border-radius:2px;background:linear-gradient(90deg,#2a816c,#7fe9c6)}
/* 番号：名前の右に、薄く大きく置く（2026-10-15 本人「STEPは余計。文字の横に01、薄くて大きめ」） */
.top-flow__head{padding-right:64px}
.top-flow__num{position:absolute;right:0;top:-6px;font-size:52px;font-weight:800;line-height:1;letter-spacing:-.01em;font-family:inherit;color:rgba(42,129,108,.13);pointer-events:none}
.top-flow__name{margin:0;font-size:20px;font-weight:700;line-height:1.35;color:var(--color-black,#1f2523)}
.top-flow__line{margin:4px 0 0;font-size:13px;line-height:1.5;color:var(--color-dark-gray,#555)}
.top-flow__links,.top-flow__common-links{list-style:none;margin:0;padding:0}
.top-flow__links li+li{border-top:1px solid #edf2f0}
.top-flow__link{display:flex;align-items:center;gap:12px;padding:10px 6px;border-radius:8px;color:var(--color-black,#1f2523);text-decoration:none;
  transition:background-color .2s ease,color .2s ease}
.top-flow__link:hover{background:#f2f8f6;color:var(--color-main,#2a816c)}
.top-flow__icon{flex:none;display:flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:9px;
  background:rgba(42,129,108,.08);color:var(--color-main,#2a816c)}
.top-flow__icon svg{width:20px;height:20px}
.top-flow__label{flex:1;font-size:15px;font-weight:700;line-height:1.45}
.top-flow__link>svg{flex:none;color:var(--color-main,#2a816c);opacity:.6;transition:transform .2s ease,opacity .2s ease}
.top-flow__link:hover>svg{opacity:1;transform:translateX(3px)}
/* 6段を左から右へ追えるよう、段の右上に次への矢印を薄く置く（行の右端は除く） */
.top-flow__step:not(:nth-child(3n))::after{content:"";position:absolute;top:44px;right:-19px;width:14px;height:14px;
  border-top:2px solid rgba(42,129,108,.35);border-right:2px solid rgba(42,129,108,.35);transform:rotate(45deg)}

/* すべての段で使える機能：横長の帯 */
.top-flow__common{display:flex;align-items:center;gap:24px;margin-top:24px;padding:16px 22px;background:#fff;
  border:1px solid rgba(42,129,108,.1);border-radius:16px}
.top-flow__common-title{flex:none;margin:0;font-size:15px;font-weight:700;color:var(--color-main,#2a816c)}
.top-flow__common-links{flex:1;display:grid;grid-template-columns:repeat(3,1fr);gap:8px}

.top-hub__more{margin-top:40px;text-align:center}
.top-hub__more-link{display:inline-flex;align-items:center;gap:8px;padding:14px 32px;border-radius:999px;border:2px solid var(--color-main,#2a816c);
  background:#fff;color:var(--color-main,#2a816c);font-size:15px;font-weight:700;text-decoration:none;transition:background-color .2s ease,color .2s ease}
.top-hub__more-link:hover{background:var(--color-main,#2a816c);color:#fff}

/* 特徴：FVと同じ深い緑に、流れる光を1本。左に見出しとボタン、右に6つの価値 */
.top-hub--about{position:relative;overflow:hidden;color:#fff;background:#0b2f29}
/* 背景：人の写っていないビルのロビーの写真（画像生成。業種カードと同じ作り）に、左を濃く右を薄く緑の膜（2026-10-16 本人決定 C） */
.top-hub--about::before{content:"";position:absolute;inset:0;z-index:0;
  background:linear-gradient(90deg,rgba(11,47,41,.96) 0%,rgba(19,73,63,.86) 48%,rgba(42,129,108,.5) 100%),url(../media/top/about-band-bg.webp) center/cover no-repeat}
.top-hub--about > *{position:relative;z-index:1}
.top-about__light{position:absolute !important;inset:0;width:100%;height:100%;pointer-events:none}
.top-about__line{fill:none;stroke:rgba(182,247,226,.28);stroke-width:1.3}
.top-about__glow{mix-blend-mode:screen}
.top-about__tr{fill:none;stroke-linecap:round}
.top-about{position:relative;display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:56px;align-items:center}
.top-about__eyebrow{display:inline-block;margin:0 0 14px;padding:6px 14px;border-radius:999px;font-size:13px;font-weight:700;letter-spacing:.06em;
  color:#fff;background:linear-gradient(90deg,rgba(82,163,140,.4),rgba(82,163,140,.08));box-shadow:inset 0 0 0 1px rgba(159,240,214,.42)}
.top-hub .top-about__title{color:#fff;text-align:left}
.top-about__lead{margin:0 0 28px;font-size:15px;line-height:1.8;color:rgba(255,255,255,.85)}
.top-about__btn{display:inline-flex;align-items:center;gap:8px;padding:14px 30px;border-radius:999px;background:#fff;color:#13493f;font-size:15px;font-weight:700;
  text-decoration:none;transition:transform .2s ease,box-shadow .2s ease}
.top-about__btn:hover{transform:translateY(-2px);box-shadow:0 10px 24px -10px rgba(0,0,0,.5)}
.top-about__values{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.top-about__value{display:flex;flex-direction:column;gap:12px;height:100%;padding:20px 18px;border-radius:14px;text-decoration:none;color:#fff;
  background:rgba(255,255,255,.06);box-shadow:inset 0 0 0 1px rgba(159,240,214,.22);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);
  transition:background-color .2s ease,box-shadow .2s ease}
.top-about__value:hover{background:rgba(255,255,255,.11);box-shadow:inset 0 0 0 1px rgba(182,247,226,.6)}
/* 乗せても文字は白のまま（サイト全体の a:hover の緑を打ち消す）。代わりに文字が白く光る */
.top-about__value:hover,.top-about__value:focus{color:#fff;text-decoration:none}
.top-about__value-title{transition:text-shadow .2s ease}
.top-about__value:hover .top-about__value-title,.top-about__value:focus-visible .top-about__value-title{text-shadow:0 0 10px rgba(255,255,255,.6),0 0 22px rgba(182,247,226,.45)}
.top-about__icon{display:block;width:40px;height:40px;color:#9ff0d6}
.top-about__icon svg{width:100%;height:100%}
.top-about__value-title{font-size:15px;font-weight:700;line-height:1.55}
@media (prefers-reduced-motion:reduce){ .top-about__glow{display:none} }

/* 業種の写真のカード：下から深緑のグラデーション＋FVと同じ流れる光（試作 .preview/top-fv/scene-cards.html の E） */
.top-scene-photo{background:#0d3a33}
.top-scene-photo img{object-fit:cover}
.top-scene-photo::before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(180deg,rgba(13,58,51,0) 40%,rgba(13,58,51,.62))}
.top-scene-photo svg{position:absolute;inset:0;width:100%;height:100%;z-index:2;overflow:visible;pointer-events:none}
.top-scene-photo .ln{fill:none;stroke:rgba(182,247,226,.6);stroke-width:2.4;filter:drop-shadow(0 0 4px rgba(143,240,205,.7))}
.top-scene-photo .tr3{fill:none;stroke:rgba(143,240,205,.3);stroke-width:16;filter:blur(3px);stroke-linecap:round}
.top-scene-photo .tr2{fill:none;stroke:rgba(190,250,228,.7);stroke-width:7;stroke-linecap:round;filter:drop-shadow(0 0 6px rgba(143,240,205,.9))}
.top-scene-photo .tr1{fill:none;stroke:#f2fffa;stroke-width:4;stroke-linecap:round;filter:drop-shadow(0 0 8px #9ff5d8)}
.top-scene-photo .dot{fill:#f2fffa;filter:drop-shadow(0 0 6px #9ff5d8) drop-shadow(0 0 14px rgba(143,240,205,.9))}
/* サイト全体の .tag（白い札）とぶつからないよう、名前に top-scene-photo__ を付ける */
.top-scene-photo__tag{position:absolute;left:16px;bottom:14px;z-index:3;color:#fff;font-size:12px;font-weight:700;letter-spacing:.14em;text-shadow:0 1px 6px rgba(0,0,0,.35)}
.top-scene-photo__sheen{position:absolute;top:-20%;bottom:-20%;left:-60%;width:40%;transform:skewX(-18deg);z-index:2;opacity:0;
  background:linear-gradient(90deg,rgba(255,255,255,0),rgba(214,255,240,.4),rgba(255,255,255,0))}
.scene-archive-card:hover .top-scene-photo__sheen{animation:topSheen 1.1s cubic-bezier(.3,.6,.2,1)}
@keyframes topSheen{0%{left:-60%;opacity:0}15%{opacity:1}100%{left:120%;opacity:0}}
/* PC：行ごとの1本の光（top-hub.php のスクリプトが描き、写真の形で切り抜く）。カードごとの光は隠す。
   乗せたときに浮くと線とずれるので、カードは動かさない。光り方はカード1枚のとき（.top-scene-photo）と同じ */
.top-hub .scene-archive-grid.is-linked{position:relative}
.top-scene-link{position:absolute;inset:0;width:100%;height:100%;z-index:3;pointer-events:none;mix-blend-mode:screen} /* screen：光が下の写真を明るくする（本物の光のように足し算で重なる） */
.top-scene-link .tr{fill:none;stroke-linecap:round}
.is-linked .top-scene-photo svg{display:none}
.is-linked .scene-archive-card:hover{transform:none}
/* 4枚にまたがる大きな面なので、ぼかし・影（filter）は使わない。毎コマ描き直す負荷で光が一瞬止まって見えたため（2026-10-15 本人指摘）。
   光のにじみは太さと濃さの違う線を重ねて出す */
.top-scene-link .ln{fill:none;stroke:rgba(182,247,226,.55);stroke-width:1.2}
.top-scene-link .tr4{fill:none;stroke:rgba(143,240,205,.14);stroke-width:12;stroke-linecap:round}
.top-scene-link .tr3{fill:none;stroke:rgba(143,240,205,.26);stroke-width:7;stroke-linecap:round}
.top-scene-link .tr2{fill:none;stroke:rgba(190,250,228,.75);stroke-width:3.2;stroke-linecap:round}
.top-scene-link .tr1{fill:none;stroke:#f2fffa;stroke-width:1.8;stroke-linecap:round}
.top-scene-link .halo{fill:rgba(159,245,216,.32)}
.top-scene-link .dot{fill:#f7fffc}
@media (prefers-reduced-motion:reduce){ .top-scene-photo .tr1,.top-scene-photo .tr2,.top-scene-photo .tr3,.top-scene-photo .dot{display:none} }

/* 資料ダウンロード：資料5つ＋ウェビナー一覧を同じカードで3列×2行 */
.top-hub__head--row{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;text-align:left}
.top-hub__head--row .top-hub__title{margin:0}
.top-hub__all{display:inline-flex;align-items:center;gap:6px;font-size:14px;font-weight:700;color:var(--color-main,#2a816c);text-decoration:none;white-space:nowrap}
.top-hub__all:hover{text-decoration:underline}
.top-docs{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.top-doc{display:flex;flex-direction:column;height:100%;border-radius:16px;overflow:hidden;background:#fff;border:1px solid rgba(42,129,108,.1);
  box-shadow:0 8px 28px rgba(0,0,0,.04);text-decoration:none;color:inherit;transition:box-shadow .2s ease,transform .2s ease}
.top-doc:hover{transform:translateY(-3px);box-shadow:0 14px 32px rgba(42,129,108,.12)}
.top-doc__img{position:relative;display:block;aspect-ratio:1200/630;background:#eef4f2;overflow:hidden}
.top-doc__img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.top-doc__body{flex:1;display:flex;flex-direction:column;justify-content:space-between;gap:14px;padding:18px 20px 20px}
.top-doc__title{font-size:16px;font-weight:700;line-height:1.55;color:var(--color-black,#1f2523)}
.top-doc__cta{display:inline-flex;align-items:center;gap:6px;font-size:14px;font-weight:700;color:var(--color-main,#2a816c)}
.top-doc__cta svg{transition:transform .2s ease}
.top-doc:hover .top-doc__cta svg{transform:translateX(3px)}
.top-doc__webinar{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;color:#e8fff6;
  background:radial-gradient(120% 140% at 85% 0%,#2a816c 0%,#13493f 50%,#0b2f29 100%)}
.top-doc__webinar span{font-size:13px;font-weight:700;letter-spacing:.22em}
.top-doc__play{position:absolute;left:50%;top:50%;display:flex;align-items:center;justify-content:center;width:56px;height:56px;margin:-28px 0 0 -28px;border-radius:50%;
  color:#13493f;background:rgba(255,255,255,.92);box-shadow:0 8px 24px rgba(0,0,0,.25);transition:transform .2s ease}
.top-doc:hover .top-doc__play{transform:scale(1.08)}
.top-doc__play svg{margin-left:3px}
/* 2枚（サービス資料・ウェビナー一覧）のときは、横長のカードを2列に。写真の右に見出しとボタン */
.top-docs--two{grid-template-columns:repeat(2,1fr)}
.top-docs--two .top-doc{flex-direction:row}
.top-docs--two .top-doc__img{flex:none;width:52%;aspect-ratio:1200/630}
.top-docs--two .top-doc__body{justify-content:center;gap:18px;padding:24px 26px}
.top-docs--two .top-doc__title{font-size:20px}
.top-docs--two .top-doc__cta{align-self:flex-start;padding:10px 18px;border-radius:999px;background:#f2f8f6;font-size:14px}

/* 新着情報：ほかのブロックと同じ見出しの行に、1行の枠。左に緑の NEWS、下の細い光の線が7秒で伸びて次へ送る */
.top-news{padding:72px 0 8px}
.top-news__head{margin-bottom:20px}
.top-news__inner{position:relative;display:flex;align-items:center;gap:22px;min-height:76px;padding:0 16px 0 18px;border-radius:14px;background:#fff;overflow:hidden;
  border:1px solid rgba(42,129,108,.12);box-shadow:0 8px 28px rgba(0,0,0,.04)}
.top-news__badge{flex:none;display:inline-flex;align-items:center;height:30px;padding:0 12px;border-radius:8px;font-size:12px;font-weight:800;letter-spacing:.16em;color:#fff;
  background:linear-gradient(135deg,#2a816c,#52a38c)} /* よくある質問の Q と同じグラデーション */
.top-news__list{flex:1;min-width:0;position:relative;height:28px;list-style:none;margin:0;padding:0}
.top-news__item{position:absolute;inset:0;display:flex;align-items:center;gap:18px;opacity:0;transform:translateY(8px);transition:opacity .4s ease,transform .4s ease;pointer-events:none}
.top-news__item.is-on{opacity:1;transform:none;pointer-events:auto}
.top-news__progress{position:absolute;left:0;right:0;bottom:0;height:2px;background:#eef4f2}
.top-news__progress i{position:absolute;inset:0;transform-origin:left;background:linear-gradient(90deg,#2a816c,#7fe9c6);transform:scaleX(0);animation:topNewsBar 7s linear forwards}
.top-news.is-hover .top-news__progress i{animation-play-state:paused}
@keyframes topNewsBar{to{transform:scaleX(1)}}
@media (prefers-reduced-motion:reduce){ .top-news__progress{display:none} }
.top-news__date{flex:none;font-size:14px;color:#9aa5a1;letter-spacing:.02em}
.top-news__title{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:15px;color:var(--color-black,#1f2523);text-decoration:none}
.top-news__title:hover{color:var(--color-main,#2a816c);text-decoration:underline}
.top-news__ctrl{flex:none;display:flex;align-items:center;gap:6px}
.top-news__btn{display:flex;align-items:center;justify-content:center;width:36px;height:36px;flex:none;padding:0;border:0;border-radius:50%;background:none;color:#4a5552;cursor:pointer}
.top-news__btn svg{flex:none;width:18px;height:18px} /* サイト全体の button の余白で幅0に潰れていた */
.top-news__btn:hover{background:#e6eeeb;color:var(--color-main,#2a816c)}

/* よくある質問（トップだけ）：質問と答えを1枚の白いカードに入れ、Q と A の印を付ける */
/* 幅はほかのブロック（新着情報など）と同じ。左に見出しと一覧へのリンク、右に質問（2026-10-15 本人「横幅が新着情報と違って歪」） */
.front-page-content .faq-section{padding-top:72px;padding-bottom:8px}
/* よくある質問 → 資料・ウェビナーの間を、新着情報 → よくある質問と同じ80pxに（2026-10-16 本人「なぜか大きい」） */
.front-page-content .top-hub--docs{padding-top:72px}
/* 見出しの行はほかのブロックと同じ（左に見出し・右上にリンク）。質問は2列×3段（2026-10-16 本人決定） */
.front-page-content .faq-section .container{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:24px;align-items:end}
.front-page-content .faq-section .section-title{grid-column:1;grid-row:1;display:block;white-space:nowrap;margin:0 0 20px;text-align:left;font-size:36px;font-weight:700;letter-spacing:.04em;line-height:1.4;color:var(--color-black,#1f2523)} /* 見出しは新着情報・資料と同じ黒の文字 */
.front-page-content .faq-section .section-title::before,.front-page-content .faq-section .section-title::after{display:none}
.front-page-content .faq-section .faq-section__all{grid-column:2;grid-row:1;margin-bottom:22px}
.front-page-content .faq-section .faq-container{grid-column:1 / -1;grid-row:2;max-width:none;margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:start}
.front-page-content .faq-section .faq-item{margin-bottom:0}
.front-page-content .faq-section .faq-item{background:#fff;border:1px solid rgba(42,129,108,.12);border-radius:14px;box-shadow:0 6px 20px rgba(0,0,0,.03);margin-bottom:12px}
.front-page-content .faq-section .faq-item.active{border-color:rgba(42,129,108,.35)}
.front-page-content .faq-section .faq-question{gap:14px;padding:18px 24px;background:none;border:0;border-radius:0}
.front-page-content .faq-section .faq-question::before,
.front-page-content .faq-section .faq-answer::before{display:flex;align-items:center;justify-content:center;flex:none;width:30px;height:30px;border-radius:50%;font-size:14px;font-weight:800;line-height:1;font-family:'Helvetica Neue',Arial,sans-serif;padding-top:1px} /* 和文フォントの Q は字面が下がるので欧文の書体で組む */
.front-page-content .faq-section .faq-question::before{content:"Q";color:#fff;background:linear-gradient(135deg,#2a816c,#52a38c)}
.front-page-content .faq-section .faq-question h3{font-size:16px;color:var(--color-black,#1f2523)}
.front-page-content .faq-section .faq-answer{position:relative}
.front-page-content .faq-section .faq-item.active .faq-answer{padding:18px 24px 22px 68px;border-top:1px solid #edf2f0;max-height:none}
.front-page-content .faq-section .faq-answer::before{content:"A";position:absolute;left:24px;top:16px;color:var(--color-main,#2a816c);background:#e8f4f0}
.front-page-content .faq-section .faq-answer p{margin:0 0 10px;font-size:15px;line-height:1.85;color:#3c4643}
.front-page-content .faq-section .faq-answer p:last-child{margin-bottom:0}
.front-page-content .faq-section .faq-answer ul{list-style:none;margin:4px 0 12px;padding:14px 18px;border-radius:10px;background:#f6faf9}
.front-page-content .faq-section .faq-answer li{position:relative;margin:0 0 6px;padding-left:16px;font-size:14px;line-height:1.7;color:#3c4643}
.front-page-content .faq-section .faq-answer li:last-child{margin-bottom:0}
.front-page-content .faq-section .faq-answer li::before{content:"";position:absolute;left:0;top:.7em;width:6px;height:6px;border-radius:50%;background:#52a38c}

/* 業種のカード（トップだけ）：内側の余白を詰め、説明文が3行に収まるように */
.top-hub .scene-archive-card .proone-features-showcase__card-body{padding:22px 20px 22px} /* 上は写真との間を空ける。左右だけ詰める */
.top-hub .scene-archive-card .proone-features-showcase__card-title{margin-bottom:10px}
.top-hub .scene-archive-card .proone-features-showcase__card-desc{font-size:14px;line-height:1.75;flex-grow:0;min-height:calc(1.75em * 3)}
/* 説明文は3行分の高さで止め、「導入事例◯社」の枠の上端をどのカードでもそろえる（社数が違っても下へずれない。2026-10-16 本人指摘） */

/* 2026-10-19 本人FB: 上半分（写真〜詳細を見る）は活用シーンへのリンク、下の「導入事例」の箱は会社ごとの事例へのリンク。
   「詳細を見る」は説明文のすぐ下。「導入事例」は中央揃えで社数は出さない。会社名は黒丸をやめ、先頭に事例ページの写真を丸く付ける */
.scene-archive-card.has-cases{cursor:default}
.scene-archive-card__main{display:flex;flex-direction:column;color:inherit;text-decoration:none}
.scene-archive-card__main:hover{color:inherit}
.top-hub .scene-archive-card.has-cases .proone-features-showcase__card-body{padding-bottom:18px;flex:none}
.top-hub .scene-archive-card.has-cases .proone-features-showcase__card-action{margin-top:2px;padding-top:0;border-top:0} /* 説明文のすぐ下（区切り線なし。2026-10-19 本人） */
.scene-archive-card__main:hover .proone-features-showcase__card-action{opacity:1;color:var(--color-sub-light)}
.scene-archive-card__main:hover .proone-features-showcase__card-action svg{transform:translateX(4px)}
.top-hub .scene-archive-card.has-cases .scene-archive-cases{margin:0 12px 12px;padding:14px 8px 10px;text-align:left} /* 上端をそろえる（社数で下端が変わってよい） */
.top-hub .scene-archive-cases__label{margin:0 0 6px;text-align:center;font-size:12px;font-weight:800;letter-spacing:.06em;color:var(--color-main)}
.top-hub .scene-archive-card.has-cases .scene-archive-cases__names li{padding:0}
/* 社数が2社以下でも、緑の枠は3社分の高さにそろえる（2026-10-19 本人）。1行＝写真28px＋上下5px */
.top-hub .scene-archive-card.has-cases .scene-archive-cases__names{min-height:calc(38px * 3)}
.top-hub .scene-archive-card.has-cases .scene-archive-cases__names li::before{display:none}
.top-hub .scene-archive-cases__names a{display:flex;align-items:center;gap:8px;padding:5px 4px;border-radius:8px;font-size:13px;font-weight:700;line-height:1.45;color:var(--color-sub-dark);text-decoration:none;transition:background .2s ease,color .2s ease}
.top-hub .scene-archive-cases__names a:hover{background:#fff;color:var(--color-main)}
.top-hub .scene-archive-cases__names img,.top-hub .scene-archive-cases__noface{flex:none;width:28px;height:28px;border-radius:50%;object-fit:cover;background:#dfe9e5;box-shadow:0 0 0 2px #fff}

/* 導入事例：6社を並べ、2段目は下へ薄く消して、その上に「すべての導入事例を見る」を重ねる */
.top-cases{position:relative}
.top-cases .case-studies-grid{-webkit-mask-image:linear-gradient(180deg,#000 0,#000 56%,rgba(0,0,0,.35) 76%,transparent 94%);mask-image:linear-gradient(180deg,#000 0,#000 56%,rgba(0,0,0,.35) 76%,transparent 94%)}
.top-cases .case-studies-grid > :nth-child(n+4){pointer-events:none}
.top-cases .top-cases__more{position:relative;z-index:2;display:flex;justify-content:center;margin-top:-140px;padding-bottom:8px}

/* 舞台：FVと同じ深い緑。左に縦の流れ、右に代表の動画と押せる機能 */
.tf{position:relative;display:grid;grid-template-columns:minmax(0,4.2fr) minmax(0,7.8fr);gap:56px;color:#fff}

/* 左：縦の流れ */
.tf__steps{position:relative;list-style:none;align-self:center}
.tf__track{position:absolute;left:0;top:0;width:40px;height:100%;overflow:visible;pointer-events:none;mix-blend-mode:screen}
.tf__step{position:relative;display:block;width:100%;padding:14px 12px 14px 52px;border:0;border-radius:14px;background:none;color:inherit;font-family:inherit;text-align:left;cursor:pointer;
  opacity:.5;transition:opacity .35s ease,background-color .35s ease}
.tf__step:hover,.tf__step:focus{opacity:.85;color:inherit;background:linear-gradient(90deg,rgba(255,255,255,.06),rgba(255,255,255,0))} /* サイト全体の button:hover（濃いオレンジ）を打ち消す */
.tf__step.is-on,.tf__step.is-on:hover{opacity:1;background:linear-gradient(90deg,rgba(255,255,255,.08),rgba(255,255,255,0))}
.tf__node{position:absolute;left:14px;top:50%;width:12px;height:12px;margin-top:-6px;border-radius:50%;background:#0b2f29;box-shadow:inset 0 0 0 2px rgba(159,240,214,.55);transition:all .35s}
.tf__step.is-on .tf__node{background:#e9fff7;box-shadow:0 0 0 4px rgba(127,233,198,.25),0 0 14px 3px rgba(127,233,198,.7)}
.tf__step.is-past .tf__node{background:#7fe9c6;box-shadow:none}
.tf__no{font-size:12px;font-weight:800;letter-spacing:.12em;color:#9ff0d6}
.tf__name{display:block;font-size:20px;font-weight:700;line-height:1.4;margin-top:2px}
.tf__line{display:block;font-size:13px;line-height:1.6;color:rgba(255,255,255,.72);margin-top:2px;max-height:0;overflow:hidden;transition:max-height .4s ease}
.tf__step.is-on .tf__line{max-height:3em}

/* 右：動画 */
.tf__main{position:relative;display:flex;flex-direction:column;gap:28px;min-width:0}
/* 画面は薄いタブレットの縁で囲む（2026-10-16 本人決定 B）。上の縁にカメラの点。
   縁は box-shadow で外に11px出るので、左右も11px内に寄せ、縁の外側を下のボタンの端にそろえる */
.tf__screen{position:relative;aspect-ratio:1200/816;border-radius:20px;overflow:visible;background:#f3f5f5;margin:11px 11px 0;
  box-shadow:0 0 0 10px #101b19,0 0 0 11px rgba(159,240,214,.28),0 30px 60px -20px rgba(0,0,0,.65),0 0 70px -10px rgba(127,233,198,.22)}
.tf__screen > video{border-radius:20px}
.tf__screen::after{content:"";position:absolute;left:50%;top:-7px;width:5px;height:5px;margin-left:-2.5px;border-radius:50%;background:#2c3a37;z-index:4}
.tf__sheen{border-radius:20px}
.tf__screen video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .5s ease;background:#f3f5f5}
.tf__screen video.is-on{opacity:1}
/* 切り替わりの瞬間、画面の表面を斜めの光が横切る（FVと同じ） */
.tf__sheen{position:absolute;inset:0;z-index:2;pointer-events:none;overflow:hidden}
.tf__sheen::before{content:"";position:absolute;top:-20%;bottom:-20%;left:-60%;width:40%;transform:skewX(-18deg);opacity:0;
  background:linear-gradient(90deg,rgba(255,255,255,0),rgba(214,255,240,.5),rgba(255,255,255,0))}
.tf__screen.sweep .tf__sheen::before{animation:tfSweep 1.1s cubic-bezier(.3,.6,.2,1)}
@keyframes tfSweep{0%{left:-60%;opacity:0}15%{opacity:1}100%{left:120%;opacity:0}}
.tf__cap{position:absolute;left:16px;bottom:14px;z-index:3;display:inline-flex;align-items:center;gap:8px;padding:6px 12px;border-radius:999px;font-size:12px;font-weight:700;
  color:#fff;background:rgba(11,47,41,.72);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}

/* 右下：押せる機能の札 */
.tf__feats[hidden]{display:none}
.tf__feats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.tf__feat{position:relative;display:flex;align-items:center;gap:12px;padding:16px 14px 16px 18px;border-radius:14px;overflow:hidden;text-decoration:none;color:#fff;
  background:rgba(255,255,255,.07);box-shadow:inset 0 0 0 1px rgba(159,240,214,.26);transition:background-color .25s ease,box-shadow .25s ease,transform .25s ease;
  animation:fIn .45s ease both}
.tf__feat:nth-child(2){animation-delay:.06s}.tf__feat:nth-child(3){animation-delay:.12s}
@keyframes fIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
/* 乗せても文字は白のまま（サイト全体の a:hover の緑を打ち消す）。代わりに文字がほんのり光る */
.tf__feat:hover,.tf__feat:focus{color:#fff;text-decoration:none}
.tf__feat:hover .tf__fname{text-shadow:0 0 12px rgba(159,240,214,.7)}
.tf__feat:hover{background:rgba(255,255,255,.13);box-shadow:inset 0 0 0 1px rgba(182,247,226,.75),0 10px 26px -12px rgba(127,233,198,.6);transform:translateY(-2px)}
.tf__ico{flex:none;display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:rgba(127,233,198,.16);color:#9ff0d6}
.tf__ico svg{width:20px;height:20px}
.tf__fname{flex:1;min-width:0;font-size:14px;font-weight:700;line-height:1.4}
.tf__fname small{display:block;font-size:12px;font-weight:500;color:rgba(255,255,255,.6);margin-top:2px}
.tf__go{flex:none;display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#fff;color:#13493f;transition:transform .25s ease,background-color .25s ease}
.tf__feat:hover .tf__go{transform:translateX(3px);background:#9ff0d6}
.tf__feat::after{content:"";position:absolute;top:0;bottom:0;left:-60%;width:40%;transform:skewX(-18deg);opacity:0;pointer-events:none;
  background:linear-gradient(90deg,rgba(255,255,255,0),rgba(214,255,240,.22),rgba(255,255,255,0))}
.tf__feat:hover::after{animation:tfSweep .9s ease}


@media (max-width:1023px){
  .tf{grid-template-columns:1fr;gap:24px}
  .tf__screen{margin:8px 8px 0;border-radius:14px;box-shadow:0 0 0 7px #101b19,0 0 0 8px rgba(159,240,214,.28),0 20px 40px -20px rgba(0,0,0,.6)}
  .tf__screen > video,.tf__sheen{border-radius:14px}
  .tf__screen::after{top:-5px;width:4px;height:4px;margin-left:-2px}
  .tf__steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
  .tf__track{display:none}
  .tf__step{padding:10px 8px;text-align:center;border-radius:12px;background:rgba(255,255,255,.04)}
  .tf__step.is-on,.tf__step.is-on:hover{background:rgba(255,255,255,.12)}
  .tf__step:hover{background:rgba(255,255,255,.08)}
  .tf__node,.tf__line{display:none}
  .tf__name{font-size:13px}
  .tf__no{font-size:12px}
  .tf__feats{grid-template-columns:1fr}
  .top-docs{grid-template-columns:repeat(2,1fr)}
  .top-docs--two{grid-template-columns:1fr}
  .top-about{grid-template-columns:1fr;gap:32px}
  .top-flow{grid-template-columns:repeat(2,1fr)}
  .top-flow__step::after{display:none}
  .top-flow__common{flex-direction:column;align-items:stretch;gap:8px}
  .top-flow__common-links{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:767px){
  .top-hub--about::before{background:linear-gradient(180deg,rgba(11,47,41,.95) 0%,rgba(19,73,63,.88) 55%,rgba(42,129,108,.7) 100%),url(../media/top/about-band-bg.webp) 70% center/cover no-repeat}
  .top-hub{padding:56px 0}
  .top-hub__head{margin-bottom:28px}
  .top-hub__title{font-size:24px}
  .top-hub__sub{font-size:14px}
  .top-flow{grid-template-columns:1fr;gap:14px}
  .top-flow__step{padding:18px 16px 12px}
  .top-flow__common{padding:16px}
  .top-about__values{grid-template-columns:repeat(2,1fr);gap:10px}
  .top-about__value{padding:16px 14px;gap:8px}
  .top-about__icon{width:32px;height:32px}
  .top-about__value-title{font-size:14px}
  .top-flow__num{font-size:42px}
  .top-docs{grid-template-columns:1fr;gap:14px}
  .top-doc{flex-direction:row}
  .top-doc__img{flex:none;width:42%;aspect-ratio:auto}
  .top-docs--two .top-doc__img{width:42%}
  .top-docs--two .top-doc__body{padding:12px 14px;gap:8px}
  .top-docs--two .top-doc__title{font-size:15px}
  .top-docs--two .top-doc__cta{padding:6px 12px;font-size:12px}
  .top-doc__body{padding:12px 14px;gap:8px}
  .top-doc__title{font-size:14px}
  .top-doc__cta{font-size:12px}
  .top-news__inner{flex-wrap:wrap;gap:8px 12px;padding:14px 12px 14px 16px}
    .top-news__list{order:3;flex-basis:100%;height:48px}
  .top-news__item{flex-direction:column;align-items:flex-start;gap:2px}
  .top-news__title{white-space:normal;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical}
  .top-news__ctrl{margin-left:auto}
  .top-cases .case-studies-grid > :nth-child(n+5){display:none}
  .top-cases .case-studies-grid{-webkit-mask-image:linear-gradient(180deg,#000 0,#000 70%,transparent 97%);mask-image:linear-gradient(180deg,#000 0,#000 70%,transparent 97%)}
  .top-cases .top-cases__more{margin-top:-100px}
  .front-page-content .faq-section{padding-top:48px;padding-bottom:8px}
  .front-page-content .top-hub--docs{padding-top:48px}
  .front-page-content .faq-section .faq-container{grid-template-columns:1fr}
  .front-page-content .faq-section .section-title{font-size:24px;margin-bottom:12px}
  .front-page-content .faq-section .faq-section__all{margin-bottom:12px}
  .front-page-content .faq-section .faq-question{padding:16px}
  .front-page-content .faq-section .faq-item.active .faq-answer{padding:14px 16px 18px}
  .front-page-content .faq-section .faq-answer::before{display:none}
  .top-flow__common-links{grid-template-columns:1fr}
  .top-flow__link{padding:8px 4px}
  /* 業種：スマホは横長の小さなカードを1列に。説明と社名は外し、写真と「導入事例◯社」だけ残す */
  .top-hub .scene-archive-grid{grid-template-columns:1fr;gap:12px}
  .top-hub .scene-archive-card{flex-direction:row;align-items:center;text-align:left;border-radius:14px}
  .top-hub .scene-archive-card:hover{transform:none}
  .top-hub .scene-archive-card .proone-feature-thumb{flex:none;width:40%;border-bottom:0;border-right:1px solid rgba(42,129,108,.08)}
  .top-hub .scene-archive-card .proone-features-showcase__card-body{flex:1;padding:10px 14px}
  .top-hub .scene-archive-card .proone-features-showcase__card-title{margin:0 0 6px;font-size:16px}
  .top-hub .scene-archive-card .proone-features-showcase__card-desc,
  .top-hub .scene-archive-card .scene-archive-cases__names,
  .top-hub .scene-archive-card .proone-features-showcase__card-action{display:none}
  .top-hub .scene-archive-cases{margin:0;padding:0;background:none}
  .top-hub .scene-archive-cases__head{margin:0;gap:8px}
  .top-hub .scene-archive-cases__faces img{width:24px;height:24px;margin-left:-6px;border-color:#fff}
  .top-hub .scene-archive-cases__label{font-size:12px;white-space:nowrap}
  .top-hub .scene-archive-card.has-cases{display:block}
  .top-hub .scene-archive-card.has-cases .scene-archive-card__main{flex-direction:row;align-items:center}
  .top-hub .scene-archive-card.has-cases .proone-features-showcase__card-body{padding:10px 14px}
  .top-hub .scene-archive-card.has-cases .scene-archive-cases{display:none}
  /* 写真の右の縁取り線の下に濃い地が透けて黒い線に見えるので消す（2026-10-19 本人） */
  .top-hub .scene-archive-card .proone-feature-thumb{border-right:0}
}

@media (prefers-reduced-motion:reduce){ .tf__track{display:none} }

/* 導入事例の見出しの下の線を外す（ほかの見出しに線は無い。2026-10-16 本人指示） */
.front-page-content .case-studies-section .section-title::after,.front-page-content .case-studies-section .section-title::before{display:none}

/* 業種のカードの上の緑の線（機能カード共通の飾り）を外す（2026-10-16 本人指摘。スマホで目立つ） */
.top-hub .scene-archive-card::before{display:none}

/* 業種の写真の下の縁取り線は、写真の地（濃い緑）が透けて黒い線に見えるので外す（PC。2026-10-20 本人） */
.top-hub .scene-archive-card .proone-feature-thumb{border-bottom:0}
