/* ============================================================
   Campus Connect LP - Pattern A(情報充実型)
   Bootstrap 5 上書き + 独自スタイル
   ============================================================ */

:root {
  --cc-navy: #1c2f5e;
  --cc-navy-dark: #14224a;
  --cc-navy-light: #e9edf7;
  --cc-green: #1e8e5a;
  --cc-green-light: #e6f4ec;
  --cc-orange: #f5a623;
  --cc-text: #2b3245;
  --cc-muted: #6b7280;
  --cc-bg-alt: #f5f7fb;
}

body {
  font-family: 'Noto Sans JP', "Hiragino Kaku Gothic ProN", "BIZ UDPGothic", sans-serif;
  color: var(--cc-text);
  line-height: 1.9;
  letter-spacing: .02em;
  padding-top: 72px;
}

.text-navy { color: var(--cc-navy) !important; }
.text-green { color: var(--cc-green) !important; }

/* ---------- ヘッダー ---------- */
.site-header {
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 rgba(28, 47, 94, .08);
  transition: box-shadow .3s;
}
.site-header.is-scrolled { box-shadow: 0 4px 20px rgba(28, 47, 94, .12); }
.navbar { min-height: 72px; }
.brand-logo { height: 30px; width: auto; display: block; }
.gnav-pc { gap: .1rem; }
.gnav-pc-link {
  display: inline-block;
  font-size: .9rem;
  font-weight: 500;
  color: var(--cc-text);
  text-decoration: none;
  padding: .5rem .7rem;
  position: relative;
}
.gnav-pc-link::after {
  content: "";
  position: absolute;
  left: .7rem; right: .7rem; bottom: .2rem;
  height: 2px;
  background: var(--cc-navy);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s;
}
.gnav-pc-link:hover { color: var(--cc-navy); }
.gnav-pc-link:hover::after { transform: scaleX(1); }

/* ハンバーガーボタン */
.menu-toggle {
  width: 46px; height: 46px;
  border: 0;
  background: transparent;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 7px;
  padding: 0;
}
.menu-toggle-bar {
  display: block;
  width: 26px; height: 2px;
  border-radius: 2px;
  background: var(--cc-navy);
  transition: transform .35s ease, opacity .25s ease;
}
.menu-toggle.is-open .menu-toggle-bar:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.menu-toggle.is-open .menu-toggle-bar:nth-child(2) { opacity: 0; }
.menu-toggle.is-open .menu-toggle-bar:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ---------- ドロワーメニュー(SP) ---------- */
.site-drawer {
  --bs-offcanvas-width: min(320px, 86vw);
  width: min(320px, 86vw);
  background: linear-gradient(170deg, #22376b 0%, var(--cc-navy-dark) 90%);
  color: #fff;
  border-left: none;
  transition: transform .5s cubic-bezier(.32, .72, .24, 1);
}
.site-drawer .offcanvas-header { padding: 1.2rem 1.4rem .6rem; }
.drawer-logo { height: 26px; width: auto; filter: brightness(0) invert(1); }
.site-drawer .offcanvas-body {
  display: flex;
  flex-direction: column;
  padding: .4rem 1.4rem 1.6rem;
}
.drawer-nav { margin-bottom: 1.4rem; }
.drawer-link {
  display: flex;
  align-items: center;
  color: #fff;
  text-decoration: none;
  padding: .8rem .2rem;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.drawer-link:hover, .drawer-link:focus { color: #ffd98a; }
.drawer-link-text { display: flex; flex-direction: column; line-height: 1.4; }
.drawer-link-en {
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .25em;
  color: #8fa3d6;
}
.drawer-link-jp { font-size: .98rem; font-weight: 700; }
.drawer-link .bi { margin-left: auto; font-size: .8rem; opacity: .5; }
.drawer-cta { margin-top: auto; }
.drawer-cta .btn { border-radius: 12px; font-size: .92rem; }
.drawer-foot {
  border-top: 1px solid rgba(255, 255, 255, .12);
  margin-top: 1.4rem;
  padding-top: 1.1rem;
  text-align: center;
}
.drawer-tel { font-size: 1.35rem; font-weight: 900; letter-spacing: .04em; }
.drawer-company { font-size: .72rem; color: #8fa3d6; }

/* ドロワー展開時:項目が右から順番に現れる */
.site-drawer .drawer-item {
  opacity: 0;
  transform: translateX(28px);
  transition: opacity .45s ease, transform .45s ease;
}
.site-drawer.show .drawer-item { opacity: 1; transform: none; }
.site-drawer.show .drawer-item:nth-child(1) { transition-delay: .06s; }
.site-drawer.show .drawer-item:nth-child(2) { transition-delay: .1s; }
.site-drawer.show .drawer-item:nth-child(3) { transition-delay: .14s; }
.site-drawer.show .drawer-item:nth-child(4) { transition-delay: .18s; }
.site-drawer.show .drawer-item:nth-child(5) { transition-delay: .22s; }
.site-drawer.show .drawer-item:nth-child(6) { transition-delay: .26s; }
.site-drawer.show .drawer-item:nth-child(7) { transition-delay: .3s; }
.site-drawer.show .drawer-item:nth-child(8) { transition-delay: .34s; }
.site-drawer.show .drawer-cta { transition-delay: .4s; }
.site-drawer.show .drawer-foot { transition-delay: .46s; }
@media (prefers-reduced-motion: reduce) {
  .site-drawer, .site-drawer .drawer-item { transition: none; }
}

/* ---------- ボタン ---------- */
.btn-cta {
  background: var(--cc-orange);
  border: none;
  color: #fff;
  font-weight: 700;
  border-radius: 50rem;
  box-shadow: 0 6px 16px rgba(245, 166, 35, .35);
  transition: transform .2s, box-shadow .2s;
}
.btn-cta:hover {
  background: #e29414;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(245, 166, 35, .45);
}
.btn-outline-navy {
  border: 2px solid var(--cc-navy);
  color: var(--cc-navy);
  font-weight: 700;
  border-radius: 50rem;
}
.btn-outline-navy:hover { background: var(--cc-navy); color: #fff; }
.btn-link-navy { color: var(--cc-navy); font-weight: 700; text-decoration: none; }
.btn-link-navy:hover { color: var(--cc-navy-dark); text-decoration: underline; }

/* ---------- セクション共通 ---------- */
.section { padding: 96px 0; }
.section-alt { background: var(--cc-bg-alt); }
.section-label {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .25em;
  color: var(--cc-green);
  margin-bottom: .5rem;
}
.section-title {
  font-size: clamp(1.5rem, 3.4vw, 2.2rem);
  font-weight: 900;
  color: var(--cc-navy);
  line-height: 1.5;
  margin-bottom: 1rem;
}
.section-lead { max-width: 780px; color: var(--cc-muted); }
.section-label-light { color: #9fd6bb; }
.section-title-light, .section-lead-light { color: #fff; }

/* ---------- 1. ヒーロー ---------- */
.hero {
  background:
    radial-gradient(ellipse 900px 500px at 85% 10%, rgba(30, 142, 90, .08), transparent),
    linear-gradient(160deg, #f8faff 0%, #eef2fb 55%, #e7edf9 100%);
  padding: 88px 0 0;
  overflow: hidden;
}
.hero-label {
  display: inline-block;
  background: #fff;
  border: 1px solid rgba(28, 47, 94, .15);
  color: var(--cc-navy);
  font-size: .82rem;
  font-weight: 700;
  border-radius: 50rem;
  padding: .35em 1.1em;
  margin-bottom: 1.2rem;
}
.hero-title {
  font-size: clamp(2rem, 5vw, 3.3rem);
  font-weight: 900;
  color: var(--cc-navy);
  line-height: 1.45;
  margin-bottom: 1.2rem;
}
.hero-lead { color: var(--cc-muted); max-width: 560px; }
.hero-points { display: flex; flex-direction: column; gap: .6rem; margin-top: 1.4rem; }
.hero-point {
  display: flex; align-items: center; gap: .8rem;
  font-size: .92rem; font-weight: 500;
}
.hero-point-badge {
  flex-shrink: 0;
  font-size: .8rem;
  font-weight: 700;
  color: #fff;
  border-radius: 6px;
  padding: .25em .8em;
}
.badge-navy { background: var(--cc-navy); }
.badge-green { background: var(--cc-green); }

/* 実画面キャプチャ共通 */
.device-shot {
  width: 100%;
  height: 100%;
  min-height: 0;
  flex: 1;
  object-fit: cover;
  object-position: top;
  display: block;
}

/* ヒーロー:デバイスフレーム(実画面キャプチャ) */
.hero-visual { position: relative; padding: 1rem 0 3rem; }
.device-laptop {
  background: #dfe5f0;
  border-radius: 18px;
  padding: 14px 14px 22px;
  box-shadow: 0 30px 60px rgba(28, 47, 94, .18);
}
.device-laptop .device-screen {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  display: flex; flex-direction: column;
}
.mock-header {
  height: 26px; background: var(--cc-navy);
  display: flex; align-items: center; gap: 5px; padding: 0 10px;
}
.mock-dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.4); }
.mock-body { flex: 1; display: flex; }
.mock-sidebar {
  width: 22%; background: var(--cc-navy-light);
  padding: 12px 8px; display: flex; flex-direction: column; gap: 8px;
}
.mock-sidebar span { height: 9px; border-radius: 4px; background: rgba(28, 47, 94, .25); }
.mock-main { flex: 1; padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.mock-cards { display: flex; gap: 8px; }
.mock-cards i {
  flex: 1; height: 34px; border-radius: 6px;
  background: linear-gradient(135deg, var(--cc-green-light), #d3ecdf);
}
.mock-graph {
  flex: 1; border-radius: 6px;
  background:
    linear-gradient(to top, rgba(30,142,90,.25) 0 30%, transparent 30%) 0 100% / 14% 60% no-repeat,
    linear-gradient(to top, rgba(30,142,90,.45) 0 55%, transparent 55%) 18% 100% / 14% 80% no-repeat,
    linear-gradient(to top, rgba(28,47,94,.35) 0 45%, transparent 45%) 36% 100% / 14% 70% no-repeat,
    linear-gradient(to top, rgba(28,47,94,.55) 0 70%, transparent 70%) 54% 100% / 14% 90% no-repeat,
    linear-gradient(to top, rgba(30,142,90,.6) 0 85%, transparent 85%) 72% 100% / 14% 95% no-repeat,
    #f5f7fb;
}
.mock-rows { display: flex; flex-direction: column; gap: 6px; }
.mock-rows b { height: 8px; border-radius: 4px; background: #e5e9f2; }
.device-phone {
  position: absolute;
  right: -6px; bottom: 6px;
  width: 27%;
  background: #1f2937;
  border-radius: 22px;
  padding: 8px;
  box-shadow: 0 20px 40px rgba(28, 47, 94, .3);
}
.device-phone .device-screen {
  background: #fff; border-radius: 15px; overflow: hidden;
  aspect-ratio: 9 / 17;
  display: flex; flex-direction: column;
}
.mock-phone-head { height: 22%; background: linear-gradient(135deg, var(--cc-navy), #3d5aa8); }
.mock-phone-list { flex: 1; padding: 10px; display: flex; flex-direction: column; gap: 7px; }
.mock-phone-list b { height: 14%; border-radius: 6px; background: #eef1f7; position: relative; }
.mock-phone-list b.done { background: var(--cc-green-light); }
.mock-phone-list b.done::after {
  content: "✓"; position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  color: var(--cc-green); font-size: .7rem; font-weight: 700;
}

/* ヒーロー下 実績帯 */
.hero-stats {
  margin-top: 64px;
  background: var(--cc-navy);
  padding: 28px 0;
  color: #fff;
}
.stat-num { font-size: 2rem; font-weight: 900; margin-bottom: 0; line-height: 1.3; white-space: nowrap; }
.stat-num small { font-size: 1rem; font-weight: 700; margin-left: 2px; }
.stat-label { font-size: .8rem; color: #b7c3e0; margin-bottom: 0; }

/* ヒーロー下 キャッチコピー帯 */
.hero-catch {
  font-size: clamp(1.25rem, 3.6vw, 2rem);
  font-weight: 800;
  line-height: 1.6;
  letter-spacing: .02em;
  text-align: center;
  margin-bottom: .75rem;
}
.hero-catch-sub {
  font-size: clamp(.82rem, 1.6vw, .95rem);
  color: #b7c3e0;
  line-height: 1.8;
  text-align: center;
  margin-bottom: 0;
}

/* ---------- 2. 課題 ---------- */
.problem-box {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 8px 30px rgba(28, 47, 94, .07);
}
.problem-box-title {
  font-size: 1.1rem; font-weight: 700; color: var(--cc-navy);
  border-bottom: 2px solid var(--cc-navy-light);
  padding-bottom: .6rem; margin-bottom: 1rem;
}
.check-list { list-style: none; padding-left: 0; margin-bottom: 0; }
.check-list li { position: relative; padding-left: 1.7em; margin-bottom: .55em; }
.check-list li::before {
  font-family: "bootstrap-icons";
  position: absolute; left: 0; top: 0;
}
.check-list-warn li::before { content: "\F62A"; color: var(--cc-orange); } /* exclamation-triangle-fill */
.check-list-light li::before { content: "\F26B"; color: #fff; opacity: .9; } /* check-circle-fill */

.conclusion-band {
  margin-top: 2.5rem;
  background: var(--cc-navy);
  color: #fff;
  border-radius: 14px;
  padding: 1.4rem 2rem;
  text-align: center;
  font-size: 1.05rem;
}
.conclusion-band strong { color: #ffd98a; }
.conclusion-band-green { background: var(--cc-green); }
.conclusion-band-green strong { color: #fff; text-decoration: underline; text-underline-offset: 4px; }

/* ---------- 3. 対応業務チップ ---------- */
.task-chip {
  display: flex; align-items: center; gap: .6rem;
  background: #fff;
  border: 1px solid rgba(28, 47, 94, .1);
  border-radius: 10px;
  padding: .8rem 1rem;
  font-size: .86rem;
  font-weight: 500;
  height: 100%;
}
.task-chip i { color: var(--cc-green); font-size: 1.15rem; flex-shrink: 0; }

/* ---------- 4. 比較表 ---------- */
.compare-table { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 8px 30px rgba(28,47,94,.07); }
.compare-table thead th { border: none; padding: 1.3rem 1rem; text-align: center; }
.compare-th-empty { background: #fff; width: 18%; }
/* Bootstrap5.3のテーブルは--bs-table-bgで塗られるため変数ごと上書き */
.compare-th-navy { --bs-table-bg: var(--cc-navy); background: var(--cc-navy); color: #fff; }
.compare-th-green { --bs-table-bg: var(--cc-green); background: var(--cc-green); color: #fff; }
.compare-name { display: block; font-size: 1.25rem; font-weight: 900; }
.compare-sub { display: block; font-size: .78rem; font-weight: 500; opacity: .85; }
.compare-table tbody th {
  background: var(--cc-bg-alt);
  font-size: .88rem;
  padding: 1.1rem 1.2rem;
  white-space: nowrap;
}
.compare-table tbody td {
  padding: 1.2rem 1.2rem;
  font-size: .92rem;
  text-align: center;
  vertical-align: middle;
  width: 41%;
}
/* 製品ごとの列に薄い地色を敷いて比較しやすく */
.compare-table tbody td:nth-child(2) { background: #f7f9fd; border-left: 1px solid #edf0f7; border-right: 1px solid #edf0f7; }
.compare-table tbody td:nth-child(3) { background: #f4faf7; }
.compare-table { min-width: 640px; } /* SPは横スクロールで崩れ防止 */

/* 対応マーク(◎○−) */
.cmp-mark {
  display: block;
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 1.3;
}
.cmp-mark-navy { color: var(--cc-navy); }
.cmp-mark-green { color: var(--cc-green); }
.cmp-mark-muted { color: #c2c8d6; }
.cmp-strong { display: block; font-weight: 700; }
.cmp-note { display: block; font-size: .78rem; color: var(--cc-muted); margin-top: .15rem; }

/* 提供形態バッジ */
.cmp-badge {
  display: inline-block;
  color: #fff;
  font-size: .85rem;
  font-weight: 700;
  border-radius: 50rem;
  padding: .35em 1.4em;
}
.cmp-badge-navy { background: var(--cc-navy); }
.cmp-badge-green { background: var(--cc-green); }

/* 導入期間の強調 */
.cmp-period { font-size: 1.05rem; font-weight: 900; }
.cmp-period b { font-size: 2rem; line-height: 1; margin: 0 .05em; }

/* 対象校チップ */
.cmp-chip {
  display: inline-block;
  background: #fff;
  border: 1px solid rgba(28, 47, 94, .18);
  border-radius: 50rem;
  font-size: .78rem;
  font-weight: 500;
  padding: .2em .9em;
  margin: .15em .1em;
}

/* 凡例 */
.compare-legend {
  text-align: right;
  font-size: .78rem;
  color: var(--cc-muted);
  margin: .8rem 0 0;
}

/* ---------- 5. 業務フロー ---------- */
.flow-box { border-radius: 16px; padding: 2rem; }
.flow-before { background: #fff; border: 1px solid rgba(28,47,94,.1); }
.flow-after { background: linear-gradient(160deg, var(--cc-navy), #2a4380); color: #fff; }
.flow-box-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 1.2rem; }
.flow-before .flow-box-title { color: var(--cc-muted); }
.flow-steps { counter-reset: step; list-style: none; padding-left: 0; margin-bottom: 1rem; }
.flow-steps li {
  counter-increment: step;
  position: relative;
  padding: .45em 0 .45em 2.6em;
  font-size: .92rem;
}
.flow-steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: .5em;
  width: 1.9em; height: 1.9em;
  border-radius: 50%;
  background: #eef1f7; color: var(--cc-muted);
  font-size: .75rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.flow-steps li:not(:last-child)::after {
  content: "";
  position: absolute; left: .95em; top: 2.4em; bottom: -.4em;
  width: 2px; background: #e5e9f2;
}
.flow-steps-after li::before { background: rgba(255,255,255,.18); color: #fff; }
.flow-steps-after li:not(:last-child)::after { background: rgba(255,255,255,.25); }
.flow-note { font-size: .85rem; margin-bottom: 0; opacity: .85; }

/* ---------- 6-7. 実画面フレーム ---------- */
.phone-frame {
  background: #1f2937;
  border-radius: 26px;
  padding: 8px;
  box-shadow: 0 18px 40px rgba(28, 47, 94, .18);
  max-width: 220px;
  margin: 0 auto;
}
.phone-frame-screen {
  border-radius: 19px;
  overflow: hidden;
  aspect-ratio: 9 / 16;
  display: flex;
}
.phone-frame-label {
  text-align: center;
  font-size: .85rem;
  font-weight: 700;
  color: var(--cc-navy);
  margin: .8rem 0 0;
}
.browser-frame {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(28, 47, 94, .16);
}
.browser-bar {
  height: 32px;
  background: var(--cc-navy);
  display: flex; align-items: center; gap: 6px;
  padding: 0 14px;
}
.browser-bar span { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.35); }
.dashboard-shot { width: 100%; height: auto; display: block; }
.browser-frame-label {
  text-align: center;
  font-size: .85rem;
  font-weight: 700;
  color: var(--cc-navy);
  margin: .8rem 0 0;
}

/* ---------- 6-7. 機能カード ---------- */
.feature-card {
  background: #fff;
  border-radius: 14px;
  padding: 1.6rem;
  border: 1px solid rgba(28,47,94,.08);
  transition: transform .25s, box-shadow .25s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(28,47,94,.1); }
.feature-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: var(--cc-navy-light);
  color: var(--cc-navy);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.feature-icon-green { background: var(--cc-green-light); color: var(--cc-green); }
.feature-title { font-weight: 700; font-size: 1.02rem; margin-bottom: .4rem; color: var(--cc-navy); }
.feature-text { font-size: .88rem; color: var(--cc-muted); margin-bottom: 0; }

.division-card {
  background: var(--cc-navy);
  color: #fff;
  border-radius: 12px;
  padding: 1.4rem;
}
.division-name {
  font-weight: 700;
  border-bottom: 1px solid rgba(255,255,255,.25);
  padding-bottom: .5rem; margin-bottom: .7rem;
}
.division-text { font-size: .86rem; opacity: .9; }

/* ---------- 8. 決済 ---------- */
.pay-card {
  background: #fff;
  border: 1px solid rgba(28,47,94,.1);
  border-radius: 16px;
  text-align: center;
  padding: 2rem 1rem;
  height: 100%;
}
.pay-card i { font-size: 2.4rem; color: var(--cc-green); }
.pay-card p { font-weight: 700; margin: .8rem 0 0; }

/* ---------- 9. 連携図 ---------- */
.integration-diagram {
  display: flex; flex-direction: column; align-items: center; gap: .8rem;
  margin-top: 2rem;
}
@media (min-width: 992px) {
  .integration-diagram { flex-direction: row; justify-content: center; gap: 1.2rem; }
}
.integration-node {
  background: #fff;
  border: 2px solid rgba(28,47,94,.15);
  border-radius: 14px;
  font-weight: 700;
  color: var(--cc-navy);
  padding: 1.2rem 2.4rem;
  text-align: center;
  min-width: 220px;
}
.integration-node-main {
  background: var(--cc-navy);
  border-color: var(--cc-navy);
  color: #fff;
  box-shadow: 0 12px 28px rgba(28,47,94,.25);
}
.integration-arrow { color: var(--cc-green); font-size: 1.6rem; }
.roadmap-tag {
  display: inline-block;
  font-size: .68rem;
  background: var(--cc-green-light);
  color: var(--cc-green);
  border-radius: 50rem;
  padding: .1em .9em;
  margin-top: .3em;
}
.diff-box {
  background: #fff;
  border-left: 4px solid var(--cc-green);
  border-radius: 0 12px 12px 0;
  padding: 1.5rem 1.8rem;
  box-shadow: 0 8px 24px rgba(28,47,94,.06);
}

/* ---------- 10-11. 製品カード ---------- */
.product-card { border-radius: 20px; padding: 2.4rem; color: #fff; }
.product-card-navy { background: linear-gradient(160deg, var(--cc-navy), #2a4380); }
.product-card-green { background: linear-gradient(160deg, var(--cc-green), #26a76d); }
.product-type {
  display: inline-block;
  background: rgba(255,255,255,.18);
  font-size: .78rem; font-weight: 700;
  border-radius: 50rem;
  padding: .25em 1em;
  margin-bottom: .8rem;
}
.product-name { font-size: 1.7rem; font-weight: 900; margin-bottom: .3rem; }
.product-catch { font-size: 1.08rem; font-weight: 700; opacity: .95; margin-bottom: 1.4rem; line-height: 1.7; }
.product-card .check-list li { font-size: .92rem; margin-bottom: .5em; }
.product-msg {
  background: rgba(255,255,255,.12);
  border-radius: 10px;
  font-size: .9rem;
  padding: 1rem 1.2rem;
  margin: 1.4rem 0 0;
}

/* ---------- 12-13. 料金 ---------- */
.section-navy { background: linear-gradient(160deg, var(--cc-navy-dark), var(--cc-navy)); }
.price-card {
  position: relative;
  background: #fff;
  border-radius: 20px;
  padding: 2.2rem 2rem;
  box-shadow: 0 20px 50px rgba(0,0,0,.2);
}
.price-card-recommend { outline: 3px solid var(--cc-orange); }
.price-ribbon {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--cc-orange); color: #fff;
  font-size: .78rem; font-weight: 700;
  border-radius: 50rem;
  padding: .3em 1.4em;
  white-space: nowrap;
  margin: 0;
}
.price-plan-type { font-size: .78rem; font-weight: 700; letter-spacing: .15em; color: var(--cc-muted); margin-bottom: .2rem; }
.price-plan-name { font-size: 1.5rem; font-weight: 900; margin-bottom: 1.2rem; }
.price-row {
  display: flex; justify-content: space-between; align-items: baseline;
  border-top: 1px solid #eef1f7;
  padding: .8rem 0 .2rem;
}
.price-label { font-size: .85rem; font-weight: 700; color: var(--cc-muted); }
.price-value { font-size: 2rem; font-weight: 900; color: var(--cc-navy); line-height: 1.2; }
.price-value small { font-size: .95rem; margin-left: 2px; }
.price-breakdown { font-size: .76rem; color: var(--cc-muted); margin-bottom: .4rem; }
.price-foot {
  background: var(--cc-bg-alt);
  border-radius: 10px;
  font-size: .9rem;
  padding: 1rem 1.2rem;
  margin-top: 1.2rem;
}
.option-table th { font-size: .82rem; font-weight: 700; color: var(--cc-navy); border: none; padding: .7rem .4rem; white-space: nowrap; }
.option-table td { font-size: .82rem; border: none; padding: .7rem .4rem; }
.option-table tr { border-bottom: 1px solid #eef1f7; }

/* ---------- 14. 導入効果 ---------- */
.effect-card {
  background: #fff;
  border: 1px solid rgba(28,47,94,.08);
  border-radius: 14px;
  padding: 1.5rem 1.3rem;
}
.effect-card i { font-size: 1.7rem; color: var(--cc-green); }
.effect-title { font-weight: 700; margin: .7rem 0 .3rem; color: var(--cc-navy); font-size: .98rem; }
.effect-text { font-size: .84rem; color: var(--cc-muted); }

/* ---------- 15. 導入実績 ---------- */
.result-num { font-size: clamp(2.4rem, 5.5vw, 3.6rem); font-weight: 900; color: var(--cc-navy); margin-bottom: 0; line-height: 1.2; white-space: nowrap; }
.result-num small { font-size: 1.4rem; margin-left: 4px; }
.result-label { color: var(--cc-muted); font-weight: 700; }
.results-summary {
  background: #fff;
  border-radius: 14px;
  padding: 1.6rem 2rem;
  box-shadow: 0 8px 24px rgba(28,47,94,.06);
}

/* ---------- 16. セキュリティ ---------- */
.security-card {
  background: var(--cc-bg-alt);
  border-radius: 14px;
  padding: 1.7rem;
}
.security-card i { font-size: 1.9rem; color: var(--cc-navy); }
.security-card .feature-title { margin-top: .8rem; }

/* ---------- 18. FAQ ---------- */
.faq-accordion .accordion-item {
  border: none;
  border-radius: 12px !important;
  margin-bottom: .8rem;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(28,47,94,.06);
}
.faq-accordion .accordion-button {
  font-weight: 700;
  color: var(--cc-navy);
  background: #fff;
  padding: 1.2rem 1.4rem;
}
.faq-accordion .accordion-button:not(.collapsed) {
  background: var(--cc-navy-light);
  box-shadow: none;
}
.faq-accordion .accordion-button:focus { box-shadow: 0 0 0 .2rem rgba(28,47,94,.1); }
.faq-q, .faq-a {
  flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  width: 1.7em; height: 1.7em;
  border-radius: 50%;
  font-weight: 900;
  margin-right: .8em;
  font-size: .9rem;
}
.faq-q { background: var(--cc-navy); color: #fff; }
.faq-a { background: var(--cc-green); color: #fff; float: left; }
.accordion-body { display: flex; align-items: flex-start; }

/* ---------- 19. CTA ---------- */
.section-cta {
  /* 明るいCTA:アイソメイラスト(campus-isometric.svg)を右配置 */
  background: linear-gradient(180deg, #fff 0%, var(--cc-navy-light) 70%, #dbe3f2 100%);
}
.cta-title {
  font-size: clamp(1.5rem, 3.5vw, 2.3rem);
  font-weight: 900;
  line-height: 1.6;
  color: var(--cc-navy);
}
.cta-lead { color: var(--cc-muted); margin-top: 1rem; }
.cta-tel { margin-top: 2.5rem; }
.cta-tel-num { font-size: 2rem; font-weight: 900; letter-spacing: .05em; color: var(--cc-navy); }
.cta-tel .small { color: var(--cc-muted); }
.cta-illust {
  width: 100%;
  max-width: 640px;
  height: auto;
  display: block;
  margin: 0 auto;
  /* 元画像の四隅の暗い背景をフェードアウトして馴染ませる */
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 76%, transparent 94%);
  mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 76%, transparent 94%);
  mix-blend-mode: multiply;
}

/* ---------- フッター ---------- */
.site-footer { background: #10182e; color: #c6cde0; }
.footer-brand { font-size: 1.3rem; font-weight: 900; color: #fff; }
.footer-logo { height: 28px; width: auto; filter: brightness(0) invert(1); opacity: .95; }
.footer-title { font-weight: 700; color: #fff; font-size: .9rem; margin-bottom: 1rem; }
.footer-links li { margin-bottom: .5rem; }
.footer-links a { color: #c6cde0; text-decoration: none; font-size: .86rem; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-badge { background: rgba(255,255,255,.12); font-weight: 500; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); }

/* ---------- 追従CTA / ページトップ ---------- */
.floating-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  padding: .6rem .8rem;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(6px);
  box-shadow: 0 -4px 20px rgba(28,47,94,.12);
  z-index: 1030;
}
.floating-cta .btn { border-radius: 12px; }
.pagetop {
  position: fixed;
  right: 18px; bottom: 84px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--cc-navy);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
  z-index: 1030;
}
.pagetop.is-visible { opacity: 1; pointer-events: auto; }
.pagetop:hover { color: #fff; background: var(--cc-navy-dark); }
@media (min-width: 992px) { .pagetop { bottom: 24px; } }

/* ---------- スクロールアニメーション ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.fade-up.is-shown { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .fade-up { opacity: 1; transform: none; transition: none; }
}

/* ---------- スムーススクロール ---------- */
html { scroll-behavior: smooth; scroll-padding-top: 84px; }

/* ---------- レスポンシブ微調整 ---------- */
@media (max-width: 767.98px) {
  .section { padding: 64px 0; }
  body { padding-bottom: 74px; } /* 追従CTA分 */
  .compare-table tbody th { white-space: normal; min-width: 6.5em; }
}

/* ============ お問い合わせフォーム(Contact Form 7) ============ */
/* 入力欄本体はフォームタブでBootstrapのform-control / form-selectを付与。
   ここではCF7が独自に出力するspanラッパー・エラー表示など、
   Bootstrapのクラスでは指定できない部分だけを補う。 */
.cf7-form {
  background: #fff;
  border: 1px solid #e3e8f2;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 10px 30px rgba(28, 47, 94, .08);
}
/* ラベルとタグの間の改行が余白になるのを防ぐためflex化する */
.cf7-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.25rem;
}
.row .cf7-field { margin-bottom: .25rem; }
.cf7-label {
  display: block;
  margin-bottom: .4rem;
  font-weight: 700;
  font-size: .95rem;
  color: var(--cc-navy);
}
.cf7-required {
  display: inline-block;
  margin-left: .5em;
  padding: .1em .5em;
  border-radius: 4px;
  background: var(--cc-orange);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  vertical-align: 2px;
}
/* CF7は入力欄をspanで囲むため、幅が効くようブロック化する */
.cf7-form .wpcf7-form-control-wrap { display: block; }
.cf7-form .form-control,
.cf7-form .form-select {
  border-color: #ccd5e6;
  padding: .7rem .9rem;
}
.cf7-form .form-control:focus,
.cf7-form .form-select:focus {
  border-color: var(--cc-navy);
  box-shadow: 0 0 0 .2rem rgba(28, 47, 94, .12);
}
.cf7-form .form-control::placeholder { color: #aab2c2; }

/* ラジオ・チェックボックス(CF7はclass指定がinputではなくspanに付くため個別に調整) */
.cf7-form .wpcf7-radio,
.cf7-form .wpcf7-checkbox,
.cf7-form .wpcf7-acceptance {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
}
.cf7-form .wpcf7-list-item { margin: 0; }
.cf7-form .wpcf7-list-item label {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  margin: 0;
  cursor: pointer;
  font-size: .95rem;
}
.cf7-form .wpcf7-list-item input[type="radio"],
.cf7-form .wpcf7-list-item input[type="checkbox"] {
  flex: none;
  width: 1.15em;
  height: 1.15em;
  margin: 0;
  accent-color: var(--cc-navy);
}

/* プライバシーポリシー同意 */
.cf7-privacy {
  margin-top: 1.75rem;
  padding: 1rem 1.25rem;
  background: var(--cc-bg-alt);
  border-radius: 10px;
  text-align: center;
}
.cf7-privacy .wpcf7-acceptance { justify-content: center; }
.cf7-privacy a { color: var(--cc-navy); font-weight: 700; }

.cf7-submit { margin-top: 1.75rem; text-align: center; }
/* 同意チェックが入るまでCF7が送信ボタンを無効化するため、無効時の見た目を整える
   (Bootstrapの .btn:disabled より詳細度を高くする必要がある) */
.cf7-form .wpcf7-submit:disabled {
  background: #cfd6e3;
  color: #fff;
  opacity: 1;
  box-shadow: none;
  transform: none;
  cursor: not-allowed;
}

/* エラー表示 */
.cf7-form .wpcf7-not-valid { border-color: #dc3545; }
.cf7-form .wpcf7-not-valid-tip {
  display: block;
  margin-top: .35rem;
  color: #dc3545;
  font-size: .85rem;
  font-weight: 500;
}
/* 送信結果メッセージ(Bootstrapのalert相当) */
.wpcf7 form .wpcf7-response-output {
  margin: 1.5rem 0 0;
  padding: .9rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: .95rem;
  line-height: 1.7;
}
.wpcf7 form.sent .wpcf7-response-output {
  border-color: var(--cc-green);
  background: var(--cc-green-light);
  color: #14603c;
}
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
  border-color: var(--cc-orange);
  background: #fff6e6;
  color: #8a5a00;
}
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
  border-color: #dc3545;
  background: #fdecee;
  color: #a02330;
}
.wpcf7-spinner { margin: 0 0 0 .6rem; }

@media (max-width: 575.98px) {
  .cf7-form { padding: 22px 18px; border-radius: 12px; }
  .cf7-form .wpcf7-radio,
  .cf7-form .wpcf7-checkbox { flex-direction: column; gap: .55rem; }
}

/* ============ 下層ページ共通 ============ */
.page-header {
  background:
    radial-gradient(ellipse 900px 500px at 85% 10%, rgba(30, 142, 90, .08), transparent),
    linear-gradient(160deg, #f8faff 0%, #eef2fb 55%, #e7edf9 100%);
  padding: 56px 0 48px; /* 固定ヘッダー分は body の padding-top で確保済み */
}
.breadcrumb-nav { font-size: .8rem; color: var(--cc-muted); margin-bottom: 1.2rem; }
.breadcrumb-nav a { color: var(--cc-navy); text-decoration: none; }
.breadcrumb-nav a:hover { text-decoration: underline; }

/* ---------- プライバシーポリシー ---------- */
.policy-block { margin-bottom: 3rem; }
.policy-title {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--cc-navy);
  padding-left: .85rem;
  border-left: 4px solid var(--cc-green);
  margin-bottom: 1rem;
}
.policy-text { line-height: 2; margin-bottom: 0; }
.policy-list { list-style: none; counter-reset: policy; padding-left: 0; margin-bottom: 0; }
.policy-item {
  counter-increment: policy;
  position: relative;
  margin-bottom: 1rem;
  padding: 1.4rem 1.5rem 1.4rem 3.6rem;
  background: var(--cc-bg-alt);
  border-radius: 12px;
}
.policy-item::before {
  content: counter(policy);
  position: absolute;
  left: 1.4rem;
  top: 1.45rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background: var(--cc-navy);
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
}
.policy-item-title { font-weight: 700; color: var(--cc-navy); margin-bottom: .4rem; }
.policy-item-text { font-size: .95rem; line-height: 1.9; margin-bottom: 0; }

/* ---------- 会社概要 ---------- */
.company-table { width: 100%; margin-bottom: 0; }
.company-table th,
.company-table td {
  padding: 1.1rem 1.2rem;
  border-bottom: 1px solid #e6ebf5;
  font-size: .95rem;
  line-height: 1.9;
  vertical-align: top;
}
.company-table tr:first-child th,
.company-table tr:first-child td { border-top: 1px solid #e6ebf5; }
.company-table th {
  width: 11em;
  background: var(--cc-bg-alt);
  color: var(--cc-navy);
  font-weight: 700;
  white-space: nowrap;
}
.company-table a { color: var(--cc-navy); }
.company-en { display: inline-block; color: var(--cc-muted); font-size: .85rem; }
.company-office {
  display: inline-block;
  min-width: 5.5em;
  margin-right: .6em;
  padding: .05em .5em;
  border-radius: 4px;
  background: var(--cc-navy-light);
  color: var(--cc-navy);
  font-size: .78rem;
  font-weight: 700;
  text-align: center;
}
.company-list { list-style: none; padding-left: 0; margin-bottom: 0; }
.company-list li { position: relative; padding-left: 1.1em; }
.company-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .85em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cc-green);
}

@media (max-width: 575.98px) {
  .page-header { padding: 36px 0 32px; }
  .policy-item { padding: 1.2rem 1.1rem 1.2rem 3.2rem; }
  .company-table tr { display: block; padding: 1rem 0; border-bottom: 1px solid #e6ebf5; }
  .company-table tr:first-child { border-top: 1px solid #e6ebf5; }
  .company-table th,
  .company-table td { display: block; width: auto; padding: 0; border: none; }
  .company-table th { margin-bottom: .35rem; background: none; }
  .company-office { min-width: 0; }
}

/* ---------- 404 ページが見つかりません ---------- */
.notfound-box { padding-bottom: 2.5rem; text-align: center; }
.notfound-code {
  margin-bottom: 1.2rem;
  background: linear-gradient(135deg, var(--cc-navy), var(--cc-green));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: clamp(4rem, 12vw, 7rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: .04em;
}
.notfound-lead { margin-bottom: 2rem; color: var(--cc-muted); }
.notfound-actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }
.notfound-links {
  margin-top: 1rem;
  padding: 1.8rem 2rem;
  background: var(--cc-bg-alt);
  border-radius: 14px;
}
.notfound-links-title { margin-bottom: .8rem; color: var(--cc-navy); font-weight: 700; }
.notfound-link-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 1.8rem;
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}
.notfound-link-list a {
  display: flex;
  align-items: center;
  gap: .7em;
  padding: .75rem .2rem;
  border-bottom: 1px solid #e1e7f2;
  color: var(--cc-text);
  font-size: .93rem;
  text-decoration: none;
  transition: color .2s;
}
.notfound-link-list a:hover { color: var(--cc-navy); }
.notfound-link-en {
  min-width: 6.8em;
  color: var(--cc-green);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
}
.notfound-link-list i { margin-left: auto; color: var(--cc-muted); font-size: .78rem; }

@media (max-width: 575.98px) {
  .notfound-links { padding: 1.4rem 1.2rem; }
  .notfound-link-list { grid-template-columns: 1fr; }
}
