@charset "UTF-8";

/* ===========================================================
   BESW AI特化サイト ── レイアウト本体（AとBで共通）
   色はテーマ側（theme_a_dark.css / theme_b_light.css）で決めます。
   ここは構造と余白だけ。片方だけ直すことがないよう1ファイルにまとめています。

   参考にした型：法人向けIT研修サイトの一般的な構成
   ・ヘッダーは上下2段（上＝ロゴと電話／下＝ナビと問い合わせボタン）
   ・FVの右にそのまま送れる問い合わせフォームを置く
   ・見出しは中央に大きい文字だけ。ラベルや飾り線は置かない
   ・面の色を白と薄い面で交互に切り替えてセクションを分ける
   =========================================================== */

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: "NotoSansJP-sub", "Noto Sans JP", "Hiragino Kaku Gothic ProN",
               "Yu Gothic", "Meiryo", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }

.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }

/* カードの塗りはセクションの地に合わせて自動で入れ替える。
   白地のセクション → 薄い面のカード ／ 薄い面のセクション → 白いカード
   枠線で囲まず、塗りの差だけで面を立てる。 */
.sec { --card: var(--c-tint); --card-2: var(--c-tint-2); }
.sec--tint { --card: var(--c-plain); --card-2: var(--c-tint-3); }

/* 固定ヘッダーの高さぶん、リンクで飛んだときの位置を下げる */
section[id], article[id] { scroll-margin-top: 118px; }
.wrap--narrow { width: min(940px, 100% - 40px); }

.n { font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.note { font-size: 13px; line-height: 1.8; color: var(--weak); }

/* 準備中・要差し替えの目印 */
.soon {
  display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 2px;
  font-size: 10px; font-weight: 700; line-height: 1.7; letter-spacing: .04em;
  color: var(--chip-ink); background: var(--chip-bg); vertical-align: 1px;
}
.tbd {
  background: var(--tbd-bg); color: var(--weak);
  font-size: 13px; line-height: 1.7; text-align: center;
  display: flex; align-items: center; justify-content: center; padding: 16px;
}
.tbd-i {
  display: inline-block; padding: 2px 9px; border-radius: 2px; font-size: .92em; font-weight: 400;
  color: var(--weak); background: var(--tbd-bg);
}

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 999px; cursor: pointer;
  font-weight: 700; letter-spacing: .04em; text-align: center; line-height: 1.5;
  padding: 15px 34px; font-size: 15px;
  transition: filter .15s, background-color .15s, color .15s;
}
.btn--brand { background: var(--brand-fill); color: #fff; }
.btn--brand:hover { filter: brightness(1.12); }
.btn--ghost { background: var(--btn-sub); color: var(--btn-sub-ink); }
.btn--ghost:hover { filter: brightness(1.18); }
.btn--block { display: flex; width: 100%; }
.btn--lg { padding: 19px 40px; font-size: 17px; }
.btn--nav { padding: 8px 34px; font-size: 15px; min-width: 180px; }
.btn--sm { padding: 10px 26px; font-size: 13.5px; }
.btn.is-off { background: var(--btn-off); color: var(--btn-off-ink); cursor: default; pointer-events: none; font-weight: 700; }

.ctarow { text-align: center; margin-top: 52px; }
.ctarow .btn, .sub__lead .btn { min-width: 440px; }
.ctarow--wide .btn { min-width: 680px; }

/* ===========================================================
   ヘッダー
   =========================================================== */
.hd { position: sticky; top: 0; z-index: 60; box-shadow: 0 2px 12px rgba(20, 26, 38, .10); }

.hd__top { background: var(--hd-bg); }
.hd__topin {
  width: 100%; margin: 0; padding-inline: 32px;
  display: flex; align-items: stretch; gap: 26px; height: 58px;
}

.hd__logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.hd__logo img { width: 150px; filter: var(--logo-hd-filter); }
.hd__tag {
  font-size: 10px; font-weight: 700; letter-spacing: .04em; line-height: 1.6;
  color: var(--brand-ink-on-tag); background: var(--tag-bg); padding: 2px 7px;
}

.hd__util { display: flex; align-items: center; gap: 20px; margin-left: auto; }
.hd__util a { font-size: 13px; font-weight: 700; color: var(--ink); }
.hd__util a:hover { color: var(--brand); }

.hd__search { display: flex; align-items: center; margin-left: 14px; border-radius: 6px; overflow: hidden; }
.hd__search input {
  width: 232px; height: 34px; padding: 0 13px; font-size: 13px;
  border: 0; border-radius: 0;
  background: var(--search-bg); color: var(--ink); -webkit-appearance: none;
}
.hd__search input::placeholder { color: var(--weak); }
.hd__search button {
  width: 36px; height: 34px; border: 0; cursor: pointer; font-size: 13px; line-height: 1;
  background: var(--brand-fill); color: #fff;
}

.hd__tel {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--tel-bg); color: #fff; padding: 0 22px; margin-right: -32px;
  align-self: stretch; min-width: 182px;
}
.hd__tel span { font-size: 10px; font-weight: 700; line-height: 1.4; letter-spacing: .02em; }
.hd__tel b { font-size: 21px; font-weight: 700; line-height: 1.2; letter-spacing: .01em; }

.hd__nav { background: var(--nav-bg); }
.hd__navin { width: 100%; margin: 0; padding-inline: 32px; display: flex; align-items: center; height: 51px; }
.gnav { display: flex; align-items: center; flex: 1; }
.gnav a {
  flex: 1; text-align: center; font-size: 15px; font-weight: 700; color: var(--ink);
  line-height: 52px;
}
.gnav a:hover { color: var(--brand); }

/* ===========================================================
   ファーストビュー
   =========================================================== */
.hero { background: var(--hero-bg); padding: 56px 0 60px; position: relative; }
.hero > * { position: relative; }

.hero__grid { display: grid; grid-template-columns: 1fr 348px; gap: 44px; align-items: start; }

.hero__h1 {
  font-size: 72px; font-weight: 900; line-height: 1.26; letter-spacing: -.015em;
  color: var(--hero-ink); margin-bottom: 10px;
}
.hero__h1 em { font-style: normal; color: var(--brand); }

.hero__sub {
  font-size: 33px; font-weight: 700; line-height: 1.45; letter-spacing: normal;
  color: var(--hero-ink); margin-bottom: 16px;
}
.hero__lead {
  font-size: 16px; line-height: 1.8; color: var(--hero-text); max-width: 34em; margin-bottom: 32px;
}

.hero__badges { display: flex; gap: 4px; }
.medal {
  position: relative; flex: 1; max-width: 182px; aspect-ratio: 1 / .82;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; color: var(--medal);
}
.medal__w { position: absolute; left: -6%; top: -8%; width: 112%; height: 116%; }
.medal__k {
  position: relative; font-size: 12px; font-weight: 700; line-height: 1.4; color: var(--hero-text);
}
.medal__n {
  position: relative; font-size: 38px; font-weight: 900; line-height: 1.1; color: var(--brand);
  font-variant-numeric: tabular-nums; letter-spacing: -.03em;
}
.medal__n small { font-size: 16px; font-weight: 900; margin-left: 1px; }
.medal__u { position: relative; font-size: 12px; font-weight: 700; color: var(--hero-text); }
.hero__src { margin-top: 10px; font-size: 12px; color: var(--hero-weak); }

/* FVの中の問い合わせフォーム */
.hform { background: var(--c-plain); border-radius: 5px; overflow: hidden; box-shadow: var(--float-sh); }
.hform__hd {
  background: var(--form-hd); color: #fff; text-align: center;
  font-size: 15px; font-weight: 700; padding: 13px 10px; letter-spacing: .03em;
}
.hform__body { padding: 20px 22px 24px; }
.hform__ttl {
  text-align: center; font-size: 17px; font-weight: 700; color: var(--ink);
  margin-bottom: 16px; line-height: 1.5;
}
.hform__row { display: flex; align-items: center; gap: 10px; margin-bottom: 9px; }
.hform__row label {
  width: 96px; flex-shrink: 0; font-size: 13px; font-weight: 700; color: var(--ink);
  display: flex; align-items: center; gap: 5px; line-height: 1.4;
}
.hform__row label i {
  font-style: normal; font-size: 10px; font-weight: 700; color: #fff;
  background: var(--struct); padding: 1px 5px; line-height: 1.6;
}
.hform__row input, .hform__row select {
  flex: 1; min-width: 0; border: 0; background: var(--input-bg);
  padding: 11px 12px; font-size: 13px; border-radius: 3px; color: var(--ink);
}
.hform__row input::placeholder { color: var(--weak); }
.hform__catch {
  text-align: center; font-size: 12px; font-weight: 700; color: var(--ink);
  margin: 14px 0 8px;
}
.hform__note { margin-top: 12px; font-size: 11px; line-height: 1.7; color: var(--weak); }
.hform__note a { text-decoration: underline; }

/* FV下の入口カード */
.entry { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 40px 0 0; }
.entry__card {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
  background: var(--c-plain); border-radius: 0; padding: 22px 24px; box-shadow: var(--float-sh);
  transition: transform .15s;
}
.entry__card:hover { transform: translateY(-2px); }
.entry__ttl { font-size: 23px; font-weight: 700; color: var(--ink); margin-bottom: 8px; line-height: 1.45; letter-spacing: normal; }
.entry__card ul li {
  font-size: 14px; line-height: 1.85; color: var(--text); padding-left: 15px; position: relative;
}
.entry__card ul li::before {
  content: "・"; position: absolute; left: -1px; top: 0; color: var(--struct-weak); font-weight: 700;
}
.entry__card ul b { color: var(--brand); font-weight: 700; }
.entry__go {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; margin-top: 4px;
  background: var(--struct); color: #fff; font-size: 15px;
  display: flex; align-items: center; justify-content: center;
}

/* ===========================================================
   取引先ロゴ
   =========================================================== */
.clients { background: var(--logos-bg); padding: 30px 0 26px; overflow: hidden; }
.clients__marquee { width: 100%; overflow: hidden; }
.clients__track {
  display: flex; align-items: center; width: max-content;
  animation: clients-run 40s linear infinite;
}
.clients__track li { flex: none; padding: 0 34px; }
.clients__track img { display: block; height: 54px; width: auto; }
.clients__marquee:hover .clients__track { animation-play-state: paused; }
@keyframes clients-run {
  from { transform: translateX(0); }
  to   { transform: translateX(-33.3333%); }
}
@media (prefers-reduced-motion: reduce) { .clients__track { animation: none; } }
.clients__cap {
  margin-top: 16px; text-align: center; font-size: 11.5px; font-weight: 700; color: #79818D;
  letter-spacing: .06em;
}

/* ===========================================================
   セクションの土台
   =========================================================== */
.sec { padding: 56px 0 96px; background: var(--bg); }
.sec--tint { background: var(--bg-2); padding-top: 30px; }
/* 面の色が変わる直前は下を広めに取る */
.sec--beforetint { padding-bottom: 112px; }

.shd { text-align: center; margin-bottom: 56px; }
.shd h2 {
  font-size: 32px; font-weight: 700; line-height: 1.45; color: var(--ink); letter-spacing: normal;
}
/* 見出しは3段。入口になる章は大きく、一覧ものは小さく */
.shd--lg h2 { font-size: 36px; }
.shd--sm h2 { font-size: 28px; }
.shd--sm .shd__key { font-size: 20px; }
.shd .shd__key {
  margin-top: 10px; font-size: 22px; font-weight: 700; line-height: 1.6;
  color: var(--brand); letter-spacing: normal; max-width: none;
}
.shd p {
  margin-top: 14px; font-size: 16px; line-height: 1.75; color: var(--text);
  max-width: 660px; margin-inline: auto;
}
.shd p b { color: var(--ink); font-weight: 700; }
.shd--left { text-align: left; margin-bottom: 24px; }
.shd--left p { margin-inline: 0; }

.sub-h {
  margin-top: 72px; font-size: 26px; font-weight: 700; line-height: 1.5;
  color: var(--ink); text-align: center; letter-spacing: normal;
}
.sub-p { margin-top: 12px; font-size: 16px; line-height: 1.75; color: var(--text); text-align: center; }
.sub-h--left, .sub-p--left { text-align: left; }
.sub-p--left { margin-bottom: 20px; }

/* ===========================================================
   成果カード（何がどう変わるか）
   =========================================================== */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.stat {
  background: var(--card); border-radius: 4px; padding: 26px 28px 0; text-align: center;
  overflow: hidden; display: flex; flex-direction: column;
}
.stat__k { font-size: 17px; font-weight: 700; color: var(--ink); line-height: 1.5; }
.stat__v {
  margin-top: 6px; font-size: 33px; font-weight: 900; line-height: 1.3; color: var(--brand);
  font-variant-numeric: tabular-nums; letter-spacing: -.03em;
}
.stat__v em { font-style: normal; margin: 0 1px; }
.stat__u { font-size: 15px; color: var(--sub); line-height: 1.6; margin-bottom: 18px; }
.stat__by {
  margin-top: auto; margin-inline: -28px; padding: 13px 20px;
  background: var(--c-tint-2); font-size: 14px; font-weight: 700; color: var(--text);
}
.stats + .note { margin-top: 18px; text-align: center; }

/* ===========================================================
   課題
   =========================================================== */
.issues { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.issue {
  background: var(--card); border-radius: 4px; padding: 26px 30px 28px;
}
.issue__no {
  font-size: 26px; font-weight: 700; line-height: 1; color: var(--struct);
  font-variant-numeric: tabular-nums; margin-bottom: 10px;
}
.issue h3 { font-size: 21px; font-weight: 700; line-height: 1.5; color: var(--ink); margin-bottom: 10px; letter-spacing: normal; }
.issue p { font-size: 16px; line-height: 1.75; color: var(--text); }

.issues__after {
  margin-top: 40px; text-align: center; font-size: 22px; font-weight: 700;
  line-height: 1.75; color: var(--ink);
}
.issues__after b { color: var(--brand); font-weight: 700; }

/* ===========================================================
   サービス3本
   =========================================================== */
.svc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svc__card {
  background: var(--card); border-radius: 4px; overflow: hidden;
  display: flex; flex-direction: column;
  transition: background-color .2s ease;
}
.svc__card:hover { background: var(--struct); }
.svc__card:hover h3, .svc__card:hover .svc__sub, .svc__card:hover .svc__txt { color: #fff; }
.svc__card:hover .btn--ghost { background: #fff; color: var(--struct); }
.svc__img { aspect-ratio: 5 / 2; overflow: hidden; background: var(--card-2); }
.svc__img img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.svc__img img.is-shot { object-position: top center; }
.svc__body { padding: 20px 30px 26px; display: flex; flex-direction: column; flex: 1; }
.svc__sub { font-size: 13.5px; font-weight: 700; color: var(--struct); line-height: 1.6; }
.svc__card h3 { font-size: 22px; font-weight: 700; line-height: 1.45; color: var(--ink); margin: 6px 0 12px; letter-spacing: -.02em; }
.svc__txt { font-size: 16px; line-height: 1.75; color: var(--text); margin-bottom: 22px; flex: 1; }

/* ===========================================================
   研修を探す
   =========================================================== */
.menu { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.menu__card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--card); border-radius: 4px; padding: 52px 26px 24px;
  position: relative; transition: background-color .2s ease;
}
.menu__card:hover { background: var(--struct); }
.menu__card:hover h3, .menu__card:hover .menu__copy, .menu__card:hover .menu__txt { color: #fff; }
.menu__card:hover .menu__meta { background: rgba(255,255,255,.14); color: #fff; }
.menu__cat {
  position: absolute; top: 0; left: 0; margin: 0;
  width: 118px; height: 30px; display: flex; align-items: center; justify-content: center;
  font-size: 12.5px; font-weight: 700; letter-spacing: .02em; line-height: 1;
  color: #fff; background: var(--struct);
}
.menu__copy { font-size: 13.5px; font-weight: 700; line-height: 1.6; color: var(--struct); margin-bottom: 4px; }
.menu__card h3 { font-size: 23px; font-weight: 700; line-height: 1.45; color: var(--ink); margin-bottom: 10px; letter-spacing: normal; }
.menu__txt { font-size: 16px; line-height: 1.75; color: var(--text); margin-bottom: 16px; }
.menu__meta {
  margin-top: auto; margin-inline: -26px; margin-bottom: -24px; padding: 12px 26px;
  background: var(--card-2); font-size: 14px; font-weight: 700; color: var(--text);
}

.menu__lead {
  margin: 48px 0 14px; font-size: 17px; font-weight: 700; color: var(--ink);
}
.tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.tags span {
  border-radius: 3px; background: var(--card);
  padding: 10px 16px; font-size: 15px; font-weight: 400; color: var(--text); line-height: 1.6;
}

.tools {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 26px;
  margin-top: 40px; padding: 22px 24px; background: var(--logos-bg); border-radius: 4px;
}
.tools img { height: 26px; width: auto; }
.tools img[alt="ChatGPT"] { height: 30px; }
.tools__k { font-size: 13px; font-weight: 700; color: #16181D; }
.tools__n { font-size: 12.5px; color: #6B727D; }

/* ===========================================================
   部門から探す
   =========================================================== */
.depts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 8px; }
.depts a {
  position: relative; display: flex; align-items: center;
  background: var(--card); border-radius: 0;
  padding: 17px 22px 17px 44px; font-size: 16px; font-weight: 700; color: var(--ink);
  transition: background-color .2s ease, color .2s ease;
}
.depts a::before {
  content: "▶"; position: absolute; left: 20px; top: 50%; transform: translateY(-50%);
  font-size: 9px; color: var(--struct-weak); transition: color .2s ease;
}
.depts a:hover { background: var(--struct); color: #fff; }
.depts a:hover::before { color: #fff; }

/* ===========================================================
   実物・ビフォーアフター
   =========================================================== */
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.ba figure { background: var(--card); border-radius: 4px; overflow: hidden; }
.ba figcaption { padding: 18px 22px 20px; }
.ba__k { display: block; font-size: 14px; font-weight: 700; color: var(--sub); line-height: 1.6; }
.ba__n {
  display: block; margin-top: 4px; font-size: 27px; font-weight: 900; line-height: 1.4;
  color: var(--ink); font-variant-numeric: tabular-nums;
}
.ba__n em { font-style: normal; color: var(--brand); margin: 0 4px; }

.decks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 32px; }
.decks figure { background: var(--card); border-radius: 4px; overflow: hidden; }
.decks figcaption { padding: 16px 20px 18px; font-size: 16px; line-height: 1.75; color: var(--text); }

/* ===========================================================
   選ばれる理由
   =========================================================== */
.reasons { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.reason { background: var(--card); border-radius: 4px; padding: 34px 36px 36px; text-align: center; }
.reason__no {
  font-size: 26px; font-weight: 700; line-height: 1; color: var(--struct);
  font-variant-numeric: tabular-nums;
}
.reason h3 { margin: 8px 0 22px; font-size: 26px; font-weight: 700; line-height: 1.5; color: var(--ink); }
.reason h3 em { font-style: normal; color: var(--brand); }
.reason__img {
  height: 260px; overflow: hidden; border-radius: 3px; background: var(--card); margin-bottom: 22px;
}
.reason__img img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.reason__img img.is-shot { object-position: top center; }
.reason__txt { font-size: 16px; line-height: 1.8; color: var(--text); text-align: left; margin-bottom: 24px; }
.reason .btn { max-width: 460px; margin-inline: auto; }

/* ===========================================================
   助成金
   =========================================================== */
.sub { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.sub__big {
  font-size: 34px; font-weight: 700; line-height: 1.4; color: var(--ink); margin-bottom: 16px;
}
.sub__big .n { font-size: 74px; color: var(--brand); margin: 0 6px; line-height: 1; }
.sub__big .u { font-size: 20px; margin-left: 4px; }
.sub__txt { font-size: 16px; line-height: 1.85; color: var(--text); margin-bottom: 26px; }
.sub__lead .note { margin-top: 16px; }

.sub__box { background: var(--card); border-radius: 4px; overflow: hidden; }
.sub__boxh {
  background: var(--form-hd); color: #fff; font-size: 16px; font-weight: 700;
  padding: 13px 24px; letter-spacing: .03em;
}
.sub__box ul { padding: 0; }
.sub__box li { padding: 15px 26px; font-size: 15px; line-height: 1.75; color: var(--text); }
.sub__box li:nth-child(odd) { background: var(--c-tint-2); }
.sub__box li b { display: block; font-size: 16px; font-weight: 700; color: var(--ink); }

/* ===========================================================
   料金
   =========================================================== */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.plan {
  background: var(--card); border-radius: 4px; overflow: hidden;
  padding: 61px 30px 30px; display: flex; flex-direction: column;
}
.plan--pick { background: var(--c-plain); padding: 0 30px 30px; box-shadow: var(--float-sh); }

.plan__pick {
  margin: 0 -30px 22px; background: var(--brand-fill); color: #fff;
  font-size: 13px; font-weight: 700; letter-spacing: .04em; text-align: center;
  padding: 9px 12px; line-height: 1.6;
}
.plan__name { font-size: 23px; font-weight: 700; line-height: 1.4; color: var(--ink); }
.plan__for { margin-top: 4px; font-size: 13.5px; color: var(--sub); }
.plan__price {
  margin: 18px -30px; padding: 16px 26px; background: var(--c-tint-2);
  font-size: 16px; font-weight: 700; line-height: 1.6; color: var(--ink);
}
.plan__price span { display: block; font-size: 13px; font-weight: 400; color: var(--sub); }
.plan__list { flex: 1; margin-bottom: 24px; }
.plan__list li {
  position: relative; padding-left: 26px; font-size: 14px; line-height: 1.8; color: var(--text);
  margin-bottom: 9px;
}
.plan__list li::before {
  content: "✓"; position: absolute; left: 0; top: 0; color: var(--struct-weak); font-weight: 700;
}
.plan__list li.no { color: var(--weak); }
.plan__list li.no::before { content: "×"; color: var(--weak); }

/* ===========================================================
   導入の流れ
   =========================================================== */
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.flow li {
  background: var(--card); border-radius: 4px; padding: 24px 22px 22px;
  position: relative; overflow: hidden; display: flex; flex-direction: column;
}
.flow li::after {
  content: ""; position: absolute; top: 50%; right: -11px; width: 8px; height: 8px; z-index: 2;
  border-top: 2px solid var(--struct-weak); border-right: 2px solid var(--struct-weak);
  transform: translateY(-50%) rotate(45deg);
}
.flow li:last-child::after { display: none; }
.flow__no {
  font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--struct);
  line-height: 1.6; margin-bottom: 6px;
}
.flow h3 { font-size: 18px; font-weight: 700; line-height: 1.45; color: var(--ink); margin-bottom: 8px; }
.flow__txt { font-size: 14.5px; line-height: 1.75; color: var(--text); margin-bottom: 14px; }
.flow__when {
  margin-top: auto; margin-inline: -22px; margin-bottom: -22px; padding: 11px 20px;
  background: var(--c-tint-2); font-size: 14px; font-weight: 700; color: var(--text); text-align: center;
}
.flow + .note { margin-top: 24px; text-align: center; }

/* ===========================================================
   導入事例
   =========================================================== */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case {
  background: var(--card); border-radius: 4px; padding: 26px 30px 28px; overflow: hidden;
  display: flex; flex-direction: column; text-align: center;
}
.case__tag {
  position: absolute; left: 0; top: 0; background: var(--struct); color: var(--struct-ink);
  font-size: 11.5px; font-weight: 700; padding: 5px 14px; line-height: 1.7;
}
.case__img {
  position: relative; aspect-ratio: 2 / 1; border-radius: 0; margin: -26px -30px 18px;
  background: var(--card-2);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
}
.case__img img { display: none; }
.case__img span { font-size: 14px; font-weight: 700; color: var(--struct); }
.case__lead { font-size: 20px; font-weight: 700; color: var(--ink); line-height: 1.55; }
.case__co { margin-top: 6px; font-size: 15px; font-weight: 700; color: var(--struct); line-height: 1.6; }
.case__txt {
  margin: 14px 0 20px; font-size: 16px; line-height: 1.75; color: var(--text); text-align: left;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.case .btn { margin-top: auto; }
.cases__note { margin-top: 16px; text-align: center; }

.logogrid {
  margin-top: 24px; background: var(--logos-bg); border-radius: 4px; padding: 32px 30px 30px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 24px 30px;
}
.logogrid img { display: block; height: 44px; width: auto; max-width: 100%; }
.logogrid__note { margin: 12px 0 40px; text-align: center; }

.clientlist { margin-top: 26px; background: var(--c-tint-2); border-radius: 4px; padding: 26px 32px 24px; }
.clientlist__h { font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.clientlist p { font-size: 16px; line-height: 1.8; color: var(--text); }
.clientlist .note { margin-top: 8px; }

/* ===========================================================
   講師
   =========================================================== */
.lect {
  display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: start;
  background: var(--card); border-radius: 4px; padding: 36px 40px;
}
.lect__photo {
  aspect-ratio: 3 / 4; border-radius: 0; background: var(--card-2);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
}
.lect__photo img { display: none; }
.lect__photo span { font-size: 14px; font-weight: 700; color: var(--struct); }
.lect__name { font-size: 24px; font-weight: 700; line-height: 1.4; color: var(--ink); }
.lect__role { font-size: 14px; font-weight: 700; color: var(--brand); margin-top: 4px; }
.lect__txt { margin: 16px 0 22px; font-size: 16px; line-height: 1.8; color: var(--text); }
.lect__facts div {
  display: grid; grid-template-columns: 130px 1fr; gap: 16px;
  padding: 12px 16px; font-size: 15px; line-height: 1.8;
}
.lect__facts div:nth-child(odd) { background: var(--c-tint-2); }
.lect__facts dt { font-weight: 700; color: var(--ink); }
.lect__facts dd { color: var(--text); }

/* ===========================================================
   FAQ
   =========================================================== */
.faq__cat { font-size: 18px; font-weight: 700; color: var(--ink); line-height: 1.5; margin: 0 0 14px; }
.faq + .faq__cat { margin-top: 44px; }

.faq__item {
  background: var(--card); border-radius: 4px;
  margin-bottom: 10px; overflow: hidden;
}
.faq__q {
  width: 100%; display: flex; align-items: center; gap: 14px; text-align: left; cursor: pointer;
  background: none; border: 0; padding: 20px 62px 20px 22px;
  font-size: 16.5px; font-weight: 700; line-height: 1.6; color: var(--ink); position: relative;
}
.faq__i {
  flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--struct);
  color: var(--struct-ink); font-size: 13px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.faq__q::after {
  content: ""; position: absolute; right: 24px; top: 50%; width: 13px; height: 13px;
  border-right: 2.5px solid var(--struct); border-bottom: 2.5px solid var(--struct);
  transform: translateY(-70%) rotate(45deg); transition: transform .25s ease;
}
.faq__q:hover { background: var(--card-2); }
.faq__item.is-open .faq__q { background: var(--card-2); }
.faq__item.is-open .faq__q::after { transform: translateY(-30%) rotate(225deg); }

/* 開閉は高さのアニメーションで見せる */
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.faq__a > div { overflow: hidden; }
.faq__a p {
  padding: 4px 24px 24px 64px; font-size: 16px; line-height: 1.85; color: var(--text);
}
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }

/* ===========================================================
   お知らせ・コラム
   =========================================================== */
.news { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; max-width: 1080px; margin-inline: auto; }
.news__h { font-size: 21px; font-weight: 700; color: var(--ink); line-height: 1.5; text-align: center; }
.news__d {
  margin: 12px 0 18px; background: var(--c-tint-2); border-radius: 3px; padding: 15px 18px;
  font-size: 13.5px; line-height: 1.8; color: var(--text);
}
.news__col li { display: block; min-height: 90px; padding: 16px 20px; margin: 0; }
.news__col li:nth-child(odd) { background: var(--c-tint); }
.news__col li:hover .news__ttl { text-decoration: underline; text-underline-offset: 3px; }
.news__meta { display: flex; align-items: center; gap: 12px; }
.news__tag {
  flex-shrink: 0; min-width: 76px; text-align: center; background: var(--struct); color: var(--struct-ink);
  font-size: 11.5px; font-weight: 700; padding: 2px 10px; line-height: 1.7; border-radius: 999px;
}
.news__tag--sub { background: var(--news-tag-sub); }
.news__date { flex-shrink: 0; font-size: 13px; color: var(--sub); }
.news__ttl { display: block; margin-top: 8px; font-size: 15.5px; font-weight: 700; line-height: 1.7; color: var(--ink); }
.news__more {
  display: inline-block; margin-top: 22px; font-size: 14px; color: var(--ink);
  text-decoration: underline; text-underline-offset: 3px;
}
.news__more::after { content: " ›"; color: var(--struct); }

/* ===========================================================
   締めのCTA
   =========================================================== */
.cta {
  background-color: var(--cta-bg);
  background-image: linear-gradient(rgba(16, 19, 25, .84), rgba(16, 19, 25, .80)), url(../assets/photo_cta.jpg);
  background-size: cover; background-position: center; background-repeat: no-repeat;
  padding: 60px 0 78px; text-align: center; position: relative;
}
.cta::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--brand-fill); }
.cta > * { position: relative; }
.cta__small { font-size: 18px; font-weight: 700; color: rgba(255,255,255,.82); margin-bottom: 10px; letter-spacing: .02em; }
.cta__h { font-size: 32px; font-weight: 700; line-height: 1.5; color: #fff; letter-spacing: normal; }
.cta__lead { margin-top: 18px; font-size: 16px; line-height: 1.9; color: rgba(255,255,255,.84); }

.cta__box {
  display: grid; grid-template-columns: 1fr 1fr; gap: 22px;
  max-width: 900px; margin: 34px auto 0;
}
.cta__btn {
  background: var(--brand-fill); border-radius: 0; padding: 22px 20px; min-height: 110px; color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: filter .15s;
}
.cta__btn:hover { filter: brightness(1.12); }
.cta__btn b { font-size: 22px; font-weight: 700; line-height: 1.4; }
.cta__tel {
  background: #fff; border-radius: 0; padding: 20px; min-height: 110px; color: #14171D;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.cta__tel span { font-size: 13px; font-weight: 700; color: #6B727D; }
.cta__tel span:first-child { font-size: 17px; color: #DC0000; line-height: 1.2; margin-bottom: 5px; }
.cta__tel span:last-child { margin-top: 8px; }
.cta__tel a { font-size: 34px; font-weight: 900; line-height: 1.25; letter-spacing: .01em; color: #14171D; }

/* ===========================================================
   フッター
   =========================================================== */
.ft { background: var(--ft-bg); color: var(--ft-text); padding: 60px 0 0; }
.ft > .wrap { padding-bottom: 57px; }
.ft__nav { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.ft__nav li { margin-bottom: 15px; }
.ft__nav a {
  font-size: 15px; line-height: 1; color: #fff; position: relative; padding-left: 15px;
  display: inline-block;
}
.ft__nav a::before {
  content: ""; position: absolute; left: 0; top: 6px; width: 8px; height: 2px; background: var(--ft-mark);
}
.ft__nav a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ft__nav .soon { color: var(--ft-weak); background: var(--ft-chip); }

.ft__info {
  margin-top: 44px; padding-top: 0;
  display: flex; align-items: center; gap: 28px; flex-wrap: wrap;
}
.ft__logo img { width: 104px; filter: var(--logo-ft-filter); }
.ft__addr { font-size: 13px; line-height: 1.9; color: var(--ft-text); }
.ft__addr a { text-decoration: underline; }

.ft__bottom {
  margin-top: 18px; padding: 0 0 30px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.ft__links { display: flex; flex-wrap: wrap; gap: 20px; }
.ft__links a { font-size: 12.5px; color: var(--ft-text); }
.ft__links a:hover { color: #fff; }
.ft__links .soon { color: var(--ft-weak); background: var(--ft-chip); }
.ft__info .btn { flex-shrink: 0; margin-left: auto; color: #fff; background: var(--ft-btn); }
.ft__info .btn:hover { filter: brightness(1.15); }

.ft__band { background: var(--logos-bg); padding: 26px 0; }
.ft__band .wrap {
  width: min(1360px, 100% - 80px);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
}
.ft__band__brand { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.ft__band img { width: 150px; filter: none; }
.ft__band p { font-size: 12px; line-height: 1.9; color: #6B727D; }
.ft__band__r { text-align: right; }
.ft__band__r a { color: #6B727D; }

.totop {
  position: fixed; right: 20px; bottom: 20px; z-index: 55;
  width: 50px; height: 50px; border-radius: 3px;
  background: var(--struct); color: #fff; font-size: 15px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  opacity: 1; transition: background-color .2s ease;
}
.totop:hover { background: var(--ink); }
.totop svg { display: block; }

/* スマホの固定ボタン */
.spcta { display: none; }

/* ===========================================================
   レスポンシブ
   =========================================================== */
@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: 1fr; gap: 36px; }
  .hform { max-width: 480px; }
  .hero__h1 { font-size: 52px; }
  .hero__sub { font-size: 24px; }
  .hd__topin, .hd__navin { padding-inline: 20px; }
  .hd__tel { margin-right: -20px; }
  .hd__logo img { width: 128px; }
  .issues { grid-template-columns: 1fr 1fr; }
  .svc, .menu, .decks, .cases, .depts, .stats { grid-template-columns: 1fr 1fr; }
  .news { grid-template-columns: 1fr; gap: 34px; }
  .hd__search input { width: 140px; }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .flow li::after { display: none; }
  .hd__util { display: none; }
  .gnav a { font-size: 13.5px; }
}

@media (max-width: 780px) {
  body { font-size: 15px; }
  .sec { padding: 30px 0 58px; }
  .hd__topin { height: 52px; padding-inline: 14px; }
  .hd__navin { padding-inline: 14px; }
  .hd__logo img { width: 104px; }
  .hd__tag { display: none; }
  .hd__tel { margin-left: auto; padding: 0 12px; margin-right: -14px; min-width: 0; }
  .hd__tel b { font-size: 17px; }
  .hd__navin { height: auto; padding: 8px 0; flex-wrap: wrap; }
  .gnav { flex-wrap: wrap; }
  .gnav a { flex: 0 0 auto; line-height: 2.2; padding: 0 10px; font-size: 12.5px; }
  .btn--nav { display: none; }

  .hero { padding: 32px 0 36px; }
  .hero__h1 { font-size: 34px; }
  .hero__sub { font-size: 19px; }
  .hero__sub br { display: none; }
  .hero__lead { font-size: 14.5px; }
  .hero__badges { gap: 0; }
  .medal { max-width: none; }
  .medal__n { font-size: 30px; }
  .medal__k, .medal__u { font-size: 11px; }
  .hform { max-width: none; }
  .hform__row { flex-direction: column; align-items: stretch; gap: 4px; }
  .hform__row label { width: auto; }
  .entry { grid-template-columns: 1fr; padding: 28px 0 0; }

  .shd { margin-bottom: 28px; }
  .shd h2 { font-size: 26px; }
  .shd--lg h2 { font-size: 28px; }
  .shd--sm h2 { font-size: 24px; }
  .shd__key { font-size: 18px; }
  .shd p { font-size: 14.5px; }
  .sub-h { font-size: 21px; margin-top: 48px; }
  .sub-p { font-size: 15px; }

  .issues, .svc, .menu, .decks, .cases, .depts, .ba, .reasons, .sub, .plans, .flow, .cta__box, .ft__nav, .stats {
    grid-template-columns: 1fr;
  }
  .hd__search { display: none; }
  .stat__v { font-size: 25px; }
  .news__ttl { min-width: 100%; }
  .logogrid { padding: 18px 16px; }
  .ft__band { padding: 18px 0 22px; }
  .totop { right: 12px; bottom: 74px; width: 40px; height: 40px; }
  .issues__after { font-size: 17px; }
  .stat__v { font-size: 30px; }
  .stat__k { font-size: 15.5px; }
  .ctarow .btn, .sub__lead .btn, .ctarow--wide .btn { min-width: 0; width: 100%; }
  .depts { gap: 10px; }
  .clients__track li { padding: 0 20px; }
  .clients__track img { height: 40px; }
  .logogrid { gap: 22px 28px; }
  .logogrid img { height: 38px; }
  .reason { padding: 26px 22px 28px; }
  .reason h3 { font-size: 21px; }
  .reason__img { height: 200px; }
  .sub__big { font-size: 26px; }
  .sub__big .n { font-size: 54px; }
  .lect { grid-template-columns: 1fr; gap: 24px; padding: 26px 22px; }
  .lect__photo { max-width: 220px; }
  .lect__facts div { grid-template-columns: 1fr; gap: 2px; }
  .faq__q { font-size: 15px; padding: 16px 44px 16px 16px; }
  .faq__a p { padding: 0 16px 18px 52px; font-size: 15px; }
  .cta { padding: 56px 0 66px; }
  .cta__h { font-size: 25px; }
  .cta__btn b { font-size: 18px; }
  .cta__tel a { font-size: 30px; }
  .ft > .wrap { padding-bottom: 40px; }
  .ft { padding-bottom: 78px; }
  .ft__band .wrap { grid-template-columns: 1fr; text-align: center; gap: 18px; }
  .ft__band__r { text-align: center; }
  .ft__nav a { font-size: 14.5px; }

  section[id], article[id] { scroll-margin-top: 132px; }

  .spcta {
    display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
    background: var(--c-plain); box-shadow: 0 -6px 20px rgba(0,0,0,.14); padding: 9px 14px;
  }
  .spcta .btn { flex: 1; padding: 12px 8px; font-size: 13.5px; }
}
