/* JOBPON 学生向けトップ デザイン パターン1
   色はロゴから抽出：濃紺の文字＋青→水色→シアン→ミント→緑のグラデーション */

:root {
  --navy: #0b2a5b;
  --navy-2: #133a74;
  --navy-deep: #07204a;
  --text: #13233f;
  --muted: #5d6b82;
  --line: #dde5ef;
  --bg: #f3f7fb;
  --white: #fff;
  --blue: #1b6ff5;
  --sky: #22b5f5;
  --cyan: #14d0c8;
  --mint: #3ed992;
  --green: #2cc864;
  --grad: linear-gradient(90deg, #1b6ff5 0%, #22b5f5 32%, #14d0c8 62%, #3ed992 84%, #2cc864 100%);
  --grad-diag: linear-gradient(120deg, #1b6ff5 0%, #22b5f5 35%, #14d0c8 65%, #2cc864 100%);
  --line-green: #06c755;
  --en: "LINE Seed JP", "Helvetica Neue", Arial, sans-serif;
  --ja: "LINE Seed JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --r-l: 30px;
  --r-m: 24px;
  --pad: 24px;
}
@media (min-width: 768px) { :root { --pad: 48px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--ja); color: var(--text); background: var(--bg); font-size: 16px; line-height: 1.8; font-weight: 400; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, dl, dd, figure { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; }
img { display: block; max-width: 100%; }
.en { font-family: var(--en); letter-spacing: .04em; }
.inner { max-width: 1200px; margin: 0 auto; padding: 0 var(--pad); }
.sp-only { display: initial; }
.pc-only { display: none; }
@media (min-width: 768px) { .sp-only { display: none !important; } .pc-only { display: initial; } }
.sp-br { display: inline; }
@media (min-width: 768px) { .sp-br { display: none; } }

/* ダミー画像：読み込めないときはロゴ色のグラデーション */
.img { position: relative; overflow: hidden; background: var(--grad-diag); }
.img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 18px; text-decoration: none; font-weight: 700;
  border-radius: 999px; padding: 10px 10px 10px 30px; font-size: 15px; line-height: 1.4; transition: transform .2s, box-shadow .2s;
}
.btn .arrow { width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; flex: none; transition: transform .2s; }
.btn .arrow svg { width: 16px; height: 16px; }
.btn:hover .arrow { transform: translateX(3px); }
.btn.navy { background: var(--navy); color: #fff; }
.btn.navy .arrow { background: var(--grad-diag); color: #fff; }
.btn.line { background: var(--line-green); color: #fff; box-shadow: 0 8px 20px rgba(6,199,85,.25); }
.btn.line .arrow { background: #fff; color: var(--line-green); }
.btn.white { background: #fff; color: var(--navy); }
.btn.white .arrow { background: var(--navy); color: #fff; }
.line-ico { width: 22px; height: 22px; flex: none; }

/* ---------- ヘッダー（固定・スクロールで白地に） ---------- */
.hd {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px var(--pad); transition: background .3s, box-shadow .3s, padding .3s;
}
.hd.scrolled { background: rgba(255,255,255,.92); backdrop-filter: blur(10px); box-shadow: 0 2px 20px rgba(11,42,91,.08); }
.hd .logo img { height: 34px; width: auto; }
.hd nav { display: none; gap: 30px; }
.hd nav a { text-decoration: none; text-align: center; line-height: 1.3; color: var(--navy); }
.hd nav .en { display: block; font-size: 14px; font-weight: 700; }
.hd nav small { display: block; font-size: 10px; color: var(--muted); }
.hd nav a:hover .en { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hd .right { display: flex; gap: 12px; align-items: center; }
.hd .btn { display: none; padding: 8px 18px 8px 14px; font-size: 13px; gap: 8px; }
.menu-btn {
  width: 50px; height: 50px; border-radius: 50%; border: 1.5px solid var(--navy); background: rgba(255,255,255,.7);
  color: var(--navy); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 4px;
}
.menu-btn i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
@media (min-width: 768px) {
  .hd { padding: 22px var(--pad); }
  .hd.scrolled { padding: 12px var(--pad); }
  .hd .logo img { height: 42px; }
  .hd .btn { display: inline-flex; }
}
@media (min-width: 1080px) { .hd nav { display: flex; } }

/* ---------- 全画面メニュー ---------- */
.menu {
  position: fixed; inset: 0; z-index: 60; background: var(--navy); color: #fff; overflow: auto;
  padding: 110px 32px 48px; opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
}
.menu.open { opacity: 1; visibility: visible; }
.menu::before, .menu::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.menu::before { width: 1000px; height: 1000px; right: -420px; top: -260px; background: radial-gradient(circle at 30% 30%, rgba(34,181,245,.35), rgba(20,208,200,.18) 45%, transparent 70%); }
.menu::after { width: 520px; height: 520px; right: -120px; bottom: -200px; background: radial-gradient(circle, rgba(62,217,146,.25), transparent 70%); }
.menu ul { position: relative; z-index: 1; }
.menu li { margin-bottom: 22px; }
.menu li a { text-decoration: none; display: inline-block; }
.menu .en { font-size: 38px; font-weight: 700; display: block; line-height: 1.1; }
.menu small { font-size: 12px; opacity: .75; }
.menu li a:hover .en { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.menu .menu-x { position: absolute; top: 14px; right: var(--pad); z-index: 2; width: 50px; height: 50px; border-radius: 50%; border: 0; background: #fff; color: var(--navy); font-size: 22px; cursor: pointer; }
.menu .btn { position: relative; z-index: 1; margin-top: 18px; }
@media (min-width: 768px) {
  .menu { padding: 130px var(--pad) 48px; }
  .menu ul { width: 420px; margin-left: calc(50% - 300px); }
  .menu .btn { margin-left: calc(50% - 300px); }
  .menu .menu-x { top: 22px; }
  .menu .en { font-size: 46px; }
}

/* ---------- 1. 導入：全面の背景写真＋濃紺のコピー ---------- */
.hero { position: relative; height: 680px; overflow: hidden; background: var(--grad-diag); }
.hero .img { position: absolute; inset: 0; }
/* 位置はワイヤー（students-p1）と同じ：スマホ 左 24px・上 150px／PC 左 13%・上 240px */
.hero .copy { position: absolute; z-index: 1; left: 24px; right: 24px; top: 150px; color: var(--navy); }
.hero .eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .08em; }
.hero .eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 3px; background: var(--grad); }
.hero h1 { font-size: 32px; line-height: 1.45; font-weight: 800; letter-spacing: .03em; margin: 14px 0 14px; }
.hero h1 .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { font-size: 14px; max-width: 36rem; color: var(--text); }
.hero .btn { margin-top: 24px; }
.hero .scroll { display: none; }
@media (min-width: 768px) {
  .hero { height: 820px; }
  .hero .copy { left: 13%; top: 240px; right: auto; }
  .hero h1 { font-size: 54px; }
  .hero p { font-size: 15px; }
  .hero .scroll { display: flex; position: absolute; z-index: 1; left: var(--pad); bottom: 130px; align-items: center; gap: 12px; font-size: 11px; color: var(--navy); font-weight: 700; letter-spacing: .2em; writing-mode: vertical-rl; }
  .hero .scroll::after { content: ""; width: 1px; height: 60px; background: var(--navy); animation: scrollLine 2s ease-in-out infinite; transform-origin: top; }
}
@keyframes scrollLine { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* 導入の下端に食い込む角丸の面 */
.panel { position: relative; z-index: 2; margin-top: -80px; background: var(--bg); border-radius: 32px 32px 0 0; }
@media (min-width: 768px) { .panel { margin-top: -100px; border-radius: 100px 100px 0 0; } }

/* ---------- 見出し（英字＋和文） ---------- */
.ttl { margin-bottom: 32px; }
.ttl .en { display: inline-block; font-size: 14px; font-weight: 700; letter-spacing: .14em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ttl h2 { font-size: 28px; line-height: 1.45; font-weight: 800; color: var(--navy); margin-top: 4px; }
.ttl h2 .count { font-size: 15px; font-weight: 700; color: var(--muted); margin-left: 6px; }
.ttl.center { text-align: center; }
.ttl.white h2 { color: #fff; }
.ttl.white .en { background: linear-gradient(90deg, #7fd3ff, #6ff0d6, #8ff0b5); -webkit-background-clip: text; background-clip: text; }
@media (min-width: 768px) { .ttl { margin-bottom: 48px; } .ttl h2 { font-size: 38px; } }
.sec { padding: 80px 0; }
@media (min-width: 768px) { .sec { padding: 120px 0; } }

/* ---------- 2. 公開中のワークショップ ---------- */
.ws { padding-bottom: 0; }
.ws-grid { display: grid; gap: 20px; }
@media (min-width: 768px) { .ws-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; } }
.card {
  display: flex; flex-direction: column; background: #fff; border-radius: var(--r-m); overflow: hidden; text-decoration: none;
  box-shadow: 0 6px 24px rgba(11,42,91,.06); transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(11,42,91,.12); }
.card .img { aspect-ratio: 16 / 9; }
.card .img img { transition: transform .5s; }
.card:hover .img img { transform: scale(1.04); }
.card .seat { position: absolute; left: 14px; top: 14px; z-index: 1; background: #fff; color: var(--navy); font-size: 12px; font-weight: 700; border-radius: 999px; padding: 3px 12px; }
.card .seat.full { background: var(--navy); color: #fff; }
.card .body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card .ind { align-self: flex-start; font-size: 11px; font-weight: 700; color: var(--blue); background: #eaf3ff; border-radius: 999px; padding: 2px 10px; margin-bottom: 4px; }
.card .co { font-size: 12px; color: var(--muted); }
.card .t { font-size: 17px; font-weight: 700; line-height: 1.55; color: var(--navy); }
.card .cc { font-size: 13px; color: var(--muted); line-height: 1.6; }
.card .meta { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; font-size: 13px; }
.card .meta dt { color: var(--muted); font-size: 12px; }
.card .meta dd { color: var(--text); font-weight: 700; overflow-wrap: anywhere; }
.card .meta dd.deadline { color: var(--blue); }
.card .meta dt:first-child, .card .meta dt:first-child + dd { margin-top: 0; }
.ws-empty { background: #fff; border-radius: var(--r-m); padding: 40px 24px; text-align: center; }
.ws-empty .btn { margin-top: 18px; }
/* 右端の丸い矢印（.arrow）が無いボタンは左右の余白をそろえ、アイコンと文字を中央に置く（.btn の余白は矢印前提で左右非対称） */
.btn:not(:has(.arrow)) { padding: 14px 30px; gap: 10px; justify-content: center; }
.ws-more { text-align: center; margin-top: 44px; }

/* 流れる帯（飾り） */
.marquee { overflow: hidden; background: var(--grad); color: #fff; padding: 22px 0; margin-top: 80px; }
.marquee .run { display: inline-flex; gap: 36px; align-items: center; white-space: nowrap; animation: run 26s linear infinite; }
.marquee .word { font-size: 48px; font-weight: 800; line-height: 1; letter-spacing: .02em; }
.marquee .dot { width: 14px; height: 14px; border-radius: 50%; background: #fff; flex: none; opacity: .9; }
@keyframes run { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (min-width: 768px) { .marquee { padding: 30px 0; margin-top: 120px; } .marquee .word { font-size: 84px; } }
/* 背景：導入と同じく写真＋黒の半透明。写真はスクロールに合わせてゆっくり動かす（パララックス・main.js） */
.marquee { position: relative; background: var(--navy); padding: 40px 0; }
.marquee .mq-bg { position: absolute; left: 0; right: 0; top: -180px; bottom: -180px; will-change: transform; }
.marquee .mq-bg img { width: 100%; height: 100%; object-fit: cover; }
.marquee::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .22); }
.marquee .run { position: relative; z-index: 1; }
@media (min-width: 768px) { .marquee { padding: 64px 0; } }
/* 帯の文字はロゴのグラデーション */
.marquee .word { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- 3・4. 濃紺の面（特徴＋流れ） ---------- */
.dark { position: relative; background: var(--navy); color: #fff; overflow: hidden; }
.dark::before, .dark::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; filter: blur(10px); }
.dark::before { width: 760px; height: 760px; left: -360px; top: 160px; background: radial-gradient(circle, rgba(27,111,245,.35), transparent 65%); }
.dark::after { width: 820px; height: 820px; right: -380px; bottom: 120px; background: radial-gradient(circle, rgba(20,208,200,.25), transparent 65%); }
.dark .inner { position: relative; z-index: 1; }

/* 特徴：文章と写真の交互の行＋円形の英字飾り */
.row { display: grid; gap: 28px; align-items: center; margin-bottom: 72px; }
.row:last-child { margin-bottom: 0; }
.row .txt { position: relative; padding-top: 52px; }
.row .num { font-family: var(--en); font-weight: 700; font-size: 13px; letter-spacing: .14em; color: #7fd3ff; position: relative; z-index: 1; }
.row h3 { font-size: 24px; line-height: 1.5; font-weight: 800; position: relative; z-index: 1; margin-top: 6px; }
.row p { font-size: 15px; margin-top: 14px; position: relative; z-index: 1; color: rgba(255,255,255,.86); }
.row .img { aspect-ratio: 16 / 10; border-radius: var(--r-m); }
.ring { position: absolute; left: -12px; top: 0; width: 110px; height: 110px; z-index: 0; animation: spin 28s linear infinite; }
.ring text { font: 700 13px var(--en); fill: rgba(127,211,255,.45); white-space: pre; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (min-width: 768px) {
  .row { grid-template-columns: 1fr 1fr; gap: 72px; margin-bottom: 110px; }
  .row:nth-child(even) .txt { order: 2; }
  .row .txt { padding: 70px 0 0 44px; }
  .row h3 { font-size: 30px; }
  .row .img { border-radius: 40px; }
  .ring { width: 170px; height: 170px; left: 0; }
}

/* 参加までの流れ：白いカード＋上部の横長画像＋大きな矢印 */
.flow { padding-top: 40px; }
.steps { display: grid; gap: 60px; }
.step { position: relative; background: #fff; color: var(--text); border-radius: var(--r-m); overflow: hidden; display: flex; flex-direction: column; }
.step .img { aspect-ratio: 3 / 1; }
.step .b { padding: 22px 24px 30px; }
.step .no { font-family: var(--en); font-weight: 700; font-size: 13px; letter-spacing: .14em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step h3 { font-size: 19px; line-height: 1.5; font-weight: 800; color: var(--navy); margin: 4px 0 8px; }
.step p { font-size: 14px; color: var(--muted); line-height: 1.75; }
.steps .arrow-wrap { position: relative; }
.steps .arrow-wrap:not(:last-child)::after {
  content: ""; position: absolute; left: 50%; bottom: -44px; transform: translateX(-50%);
  width: 40px; height: 26px; background: linear-gradient(180deg, #22b5f5, #2cc864); clip-path: polygon(0 0, 100% 0, 50% 100%);
}
@media (min-width: 768px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 84px; }
  .step { border-radius: var(--r-l); height: 100%; }
  .step .b { padding: 28px 32px 36px; }
  .steps .arrow-wrap:not(:last-child)::after { left: auto; right: -58px; bottom: auto; top: 50%; transform: translateY(-50%); width: 30px; height: 46px; background: var(--grad-diag); clip-path: polygon(0 0, 100% 50%, 0 100%); }
}

/* ---------- 5. よくある質問 ---------- */
.faq { display: grid; gap: 14px; max-width: 1200px; }
/* 余白は summary 側に持たせ、閉じた状態では箱全体がクリックできる */
.faq details { background: #fff; border-radius: var(--r-m); box-shadow: 0 4px 18px rgba(11,42,91,.05); overflow: hidden; }
.faq summary { padding: 20px 22px; list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px; font-weight: 700; color: var(--navy); line-height: 1.6; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .q { font-family: var(--en); font-weight: 700; font-size: 18px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; flex: none; }
.faq summary .t { flex: 1; }
.faq summary::after {
  content: ""; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--navy);
  background-image: linear-gradient(#fff, #fff), linear-gradient(#fff, #fff); background-size: 14px 2px, 2px 14px; background-position: center; background-repeat: no-repeat;
  transition: transform .3s, background-color .3s;
}
.faq details[open] summary::after { background-size: 14px 2px, 0 0; background-color: var(--sky); transform: rotate(180deg); }
.faq details p { margin: -6px 22px 0; padding: 14px 0 22px 32px; border-top: 1px dashed var(--line); font-size: 15px; color: var(--text); }
@media (min-width: 768px) { .faq details { border-radius: var(--r-l); } .faq summary { padding: 26px 40px; font-size: 17px; } .faq details p { margin: -6px 40px 0; padding-bottom: 28px; } }

/* ---------- 6. 締め：弧の白い面＋大きな丸ボタン ---------- */
.close { position: relative; background: #fff; border-radius: 50% 50% 0 0 / 60px 60px 0 0; padding: 96px var(--pad) 80px; margin-top: 20px; overflow: hidden; }
.close::before { content: ""; position: absolute; width: 600px; height: 600px; border-radius: 50%; left: 50%; top: -200px; transform: translateX(-50%); background: radial-gradient(circle, rgba(34,181,245,.12), transparent 65%); pointer-events: none; }
.close .wrap { position: relative; display: grid; gap: 36px; justify-items: center; text-align: center; max-width: 1200px; margin: 0 auto; }
.close h2 { font-size: 28px; line-height: 1.55; font-weight: 800; color: var(--navy); }
.close .mark { position: relative; display: inline-block; padding: 0 6px; }
.close .mark svg { position: absolute; left: -16px; top: -8px; width: calc(100% + 32px); height: calc(100% + 16px); overflow: visible; }
/* 見出しの「LINE」は和文と同じ太さ */
.close .line-word { font-family: var(--en); font-weight: 800; letter-spacing: .01em; }
.close .lead { font-size: 14px; color: var(--muted); margin-top: 14px; }
.circles { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; }
.circles.pc-only { display: none; }
@media (min-width: 768px) { .circles.pc-only { display: flex; } }
.circle {
  width: 156px; height: 156px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; font-weight: 700; font-size: 14px; text-decoration: none; line-height: 1.5; padding: 16px; transition: transform .25s;
}
.circle:hover { transform: scale(1.04); }
.circle .line-ico { width: 30px; height: 30px; margin-bottom: 6px; }
.circle .arrow { display: inline-block; font-size: 1em; margin-left: 6px; }
.circle.line { background: var(--line-green); color: #fff; box-shadow: 0 12px 30px rgba(6,199,85,.3); }
.circle.grad { background: var(--grad-diag); color: #fff; box-shadow: 0 12px 30px rgba(34,181,245,.3); font-size: 16px; }
.circle.qr { background: #fff; border: 2px solid var(--line); color: var(--muted); font-size: 11px; font-weight: 400; gap: 6px; }
.circle.qr .code { width: 92px; height: 92px; border-radius: 8px; background:
  url(/assets/line-qr.svg) center / contain no-repeat; }
@media (min-width: 768px) {
  .close { border-radius: 50% 50% 0 0 / 120px 120px 0 0; padding: 140px var(--pad) 110px; }
  .close .wrap { grid-template-columns: auto auto; justify-content: center; text-align: left; gap: 88px; align-items: center; }
  .close h2 { font-size: 38px; }
  .circle { width: 210px; height: 210px; font-size: 16px; }
  .circle.grad { font-size: 22px; font-weight: 800; }
  .circle.qr .code { width: 120px; height: 120px; }
}

/* ---------- フッター ---------- */
.ft { background: var(--navy-deep); color: rgba(255,255,255,.8); padding: 56px var(--pad) 32px; font-size: 13px; }
.ft .in { max-width: 1200px; margin: 0 auto; display: grid; gap: 28px; }
.ft .logo { background: #fff; border-radius: 16px; padding: 10px 16px; justify-self: start; }
.ft .logo img { height: 34px; width: auto; }
.ft ul { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.ft a { text-decoration: none; }
.ft a:hover { color: #fff; text-decoration: underline; }
.ft .op { font-size: 12px; }
.ft .copy { font-family: var(--en); font-size: 12px; opacity: .6; border-top: 1px solid rgba(255,255,255,.12); padding-top: 20px; }
.to-top { position: fixed; right: 18px; bottom: 18px; z-index: 30; width: 50px; height: 50px; border-radius: 50%; background: var(--grad-diag); color: #fff; display: flex; align-items: center; justify-content: center; text-decoration: none; box-shadow: 0 8px 20px rgba(11,42,91,.2); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.to-top.show { opacity: 1; visibility: visible; }

/* ---------- スクロールで表示（動きを減らす設定では無効） ---------- */
.fade { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.fade.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .fade { opacity: 1; transform: none; transition: none; }
  .marquee .run, .ring, .hero .scroll::after { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 導入：写真全体に黒の半透明を重ね、文字は白 ---------- */
.hero::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .45); }
.hero .copy, .hero .copy p { color: #fff; }
.hero .scroll { color: #fff; }
.hero .scroll::after { background: #fff; }
/* 導入の上にいる間（スクロール前）はヘッダーも白文字 */
.hd:not(.scrolled) nav a, .hd:not(.scrolled) nav small { color: #fff; }
.hd:not(.scrolled) .menu-btn { border-color: #fff; color: #fff; background: rgba(255,255,255,.12); }

/* カードは「スクロールで表示」の transition に上書きされないよう、影・浮きの transition もまとめて指定 */
.card.fade { transition: opacity .8s ease, transform .25s ease, box-shadow .25s ease; }

/* メニューの閉じるボタン：「×」を線で描いて大きく（文字の × は小さく見えるため） */
.menu .menu-x { font-size: 0; display: inline-flex; align-items: center; justify-content: center; }
.menu .menu-x::before, .menu .menu-x::after { content: ""; position: absolute; width: 24px; height: 2.5px; border-radius: 2px; background: currentColor; }
.menu .menu-x::before { transform: rotate(45deg); }
.menu .menu-x::after { transform: rotate(-45deg); }

/* ======================================================================
   下層ページ（一覧・詳細・見つからない・お問い合わせ）と企業向け
   ====================================================================== */

/* 下層の導入：濃紺の面＋グラデーションの同心円＋英字ラベル＋和文の大見出し */
.sub { position: relative; overflow: hidden; background: var(--navy); color: #fff; padding: 130px 0 130px; }
.sub::before, .sub::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
/* 背景の飾りは、学生トップの濃紺の面と同じぼやけた円 */
.sub::before { width: 760px; height: 760px; right: -280px; top: -320px; background: radial-gradient(circle, rgba(27,111,245,.38), transparent 65%); filter: blur(10px); }
.sub::after { width: 620px; height: 620px; left: -300px; bottom: -380px; background: radial-gradient(circle, rgba(20,208,200,.25), transparent 65%); filter: blur(10px); }
.sub .inner { position: relative; z-index: 1; }
.sub .crumb { font-size: 12px; color: rgba(255,255,255,.7); margin-bottom: 26px; }
.sub .crumb a { color: rgba(255,255,255,.85); }
.sub .en-label { font-family: var(--en); font-weight: 700; font-size: 14px; letter-spacing: .14em; background: linear-gradient(90deg, #7fd3ff, #6ff0d6, #8ff0b5); -webkit-background-clip: text; background-clip: text; color: transparent; display: inline-block; }
.sub .co { font-size: 14px; font-weight: 700; margin-top: 16px; color: rgba(255,255,255,.85); }
.sub h1 { font-size: 30px; line-height: 1.45; font-weight: 800; letter-spacing: .03em; margin-top: 8px; }
.sub .lead { font-size: 14px; margin-top: 14px; color: rgba(255,255,255,.85); max-width: 40em; }
.sub .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.sub .tags span { border: 1.5px solid rgba(255,255,255,.7); border-radius: 999px; padding: 2px 14px; font-size: 12px; font-weight: 700; }
@media (min-width: 768px) { .sub { padding: 210px 0 180px; } .sub h1 { font-size: 44px; } .sub .lead { font-size: 15px; } }

/* 色の面に重ねる要素 */
.overlap { position: relative; z-index: 2; margin-top: -90px; }
@media (min-width: 768px) { .overlap { margin-top: -110px; } }

/* 下層ページのフッター：上辺を弧にする */
body.is-sub .ft { position: relative; z-index: 3; border-radius: 50% 50% 0 0 / 50px 50px 0 0; margin-top: -50px; padding-top: 90px; }
@media (min-width: 768px) { body.is-sub .ft { border-radius: 50% 50% 0 0 / 110px 110px 0 0; margin-top: -110px; padding-top: 150px; } }

/* ---------- 一覧 ---------- */
.list-area { background: var(--navy); padding-bottom: 170px; }
@media (min-width: 768px) { .list-area { padding-bottom: 240px; } }
.filter { background: #fff; color: var(--text); border-radius: var(--r-m); padding: 22px 20px 10px; box-shadow: 0 14px 40px rgba(7,32,74,.25); }
.filter .row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 14px; }
.filter .row b { width: 100%; font-size: 13px; color: var(--navy); }
.chip { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 4px 14px; font-size: 12px; font-weight: 700; color: var(--navy); cursor: pointer; font-family: inherit; transition: border-color .2s, background .2s, color .2s; }
.chip:hover { border-color: var(--sky); }
.chip.on { background: var(--navy); border-color: var(--navy); color: #fff; }
@media (min-width: 768px) { .filter { padding: 32px 44px 16px; border-radius: var(--r-l); } .filter .row b { width: 5em; } }
.list-count { color: rgba(255,255,255,.85); font-size: 14px; margin: 40px 0 16px; }
.list-count b { font-family: var(--en); font-size: 26px; color: #fff; margin-right: 4px; }
.list-area .ws-empty { color: var(--text); }
.pager { display: flex; justify-content: center; align-items: center; gap: 22px; margin-top: 44px; }
.pager .num { font-family: var(--en); font-weight: 700; color: #fff; white-space: nowrap; flex: none; }
.pager a, .pager span.off { width: 100px; height: 100px; border-radius: 50%; background: #fff; color: var(--navy); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; text-decoration: none; transition: background .25s, color .25s; }
.pager a:hover { background: var(--grad-diag); color: #fff; }
.pager span.off { opacity: .3; }
@media (min-width: 768px) { .pager a, .pager span.off { width: 136px; height: 136px; font-size: 15px; } }
.linebox { background: #fff; border-radius: var(--r-l); padding: 40px 24px; text-align: center; margin-top: 72px; }
.linebox p { font-weight: 800; font-size: 18px; color: var(--navy); margin-bottom: 20px; }
@media (min-width: 768px) { .linebox { padding: 56px 40px; } .linebox p { font-size: 22px; } }

/* ---------- 詳細 ---------- */
.detail { padding-bottom: 170px; }
@media (min-width: 768px) { .detail { padding-bottom: 240px; } }
.detail .photo { aspect-ratio: 16 / 9; border-radius: var(--r-m); box-shadow: 0 20px 50px rgba(7,32,74,.2); }
@media (min-width: 768px) { .detail .photo { border-radius: 40px; } }
.dt { display: grid; gap: 24px; margin-top: 28px; }
@media (min-width: 768px) { .dt { grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; margin-top: 48px; } }
.blk { background: #fff; border-radius: var(--r-m); padding: 28px 24px; margin-bottom: 16px; box-shadow: 0 4px 18px rgba(11,42,91,.05); }
@media (min-width: 768px) { .blk { border-radius: var(--r-l); padding: 44px 52px; margin-bottom: 22px; } }
.blk .hd2 { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; }
.blk .hd2 .en { font-weight: 800; font-size: 26px; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.blk .hd2 h2 { font-size: 18px; font-weight: 800; color: var(--navy); }
@media (min-width: 768px) { .blk .hd2 .en { font-size: 40px; } .blk .hd2 h2 { font-size: 20px; } }
.blk .pre { white-space: pre-wrap; font-size: 15px; }
.blk .pre.small { font-size: 14px; }
.summary { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.summary div { background: var(--bg); border-radius: 18px; padding: 14px 16px; font-size: 14px; font-weight: 700; color: var(--navy); }
.summary b { display: block; font-size: 11px; color: var(--muted); }
.summary .wide { grid-column: 1 / -1; }
.summary .hot { background: #eaf6ff; }
.summary .hot span { color: var(--blue); }
.kv { display: grid; grid-template-columns: 6em 1fr; gap: 12px 16px; font-size: 15px; }
.kv dt { color: var(--muted); font-size: 13px; padding-top: 2px; }
.tl { position: relative; }
.tl::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(180deg, #1b6ff5, #14d0c8, #2cc864); opacity: .5; }
.tl li { position: relative; padding: 0 0 20px 34px; display: grid; gap: 2px; font-size: 15px; }
.tl li:last-child { padding-bottom: 0; }
.tl li::before { content: ""; position: absolute; left: 0; top: 5px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 4px solid var(--sky); }
.tl b { font-family: var(--en); font-size: 14px; color: var(--blue); }
@media (min-width: 768px) { .tl li { grid-template-columns: 5em 1fr; } }
.chips2 { display: flex; flex-wrap: wrap; gap: 8px; }
.chips2 span { background: #eaf3ff; color: var(--blue); border-radius: 999px; padding: 5px 16px; font-size: 14px; font-weight: 700; }
.map { aspect-ratio: 16 / 9; border-radius: 18px; margin-top: 18px; background: linear-gradient(135deg, #e3eef9, #d6efe9); display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 13px; }
.map.live { overflow: hidden; background: none; }
.map.live iframe { width: 100%; height: 100%; border: 0; }
.videos .v.live { padding: 0; overflow: hidden; background: #000; }
.videos .v.live::before, .videos .v.live::after { display: none; }
.videos .v.live iframe { width: 100%; height: 100%; border: 0; }
.co-head .logo-img { width: 64px; height: 64px; border-radius: 50%; flex: none; object-fit: cover; }
.co-head { display: flex; gap: 16px; align-items: center; }
.co-head .logo-ph { width: 64px; height: 64px; border-radius: 50%; flex: none; background: var(--grad-diag); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; }
.co-head b { color: var(--navy); font-size: 16px; }
.co-head small { display: block; color: var(--muted); font-size: 12px; }
.videos { display: grid; gap: 14px; margin-top: 18px; }
.videos .v { border-radius: 18px; background: var(--navy); color: rgba(255,255,255,.7); display: flex; align-items: flex-end; padding-bottom: 14px; justify-content: center; font-size: 12px; position: relative; }
.videos .v::before { content: ""; width: 54px; height: 54px; border-radius: 50%; background: rgba(255,255,255,.9); position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.videos .v::after { content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-35%, -50%); width: 16px; height: 18px; background: var(--navy); clip-path: polygon(0 0, 100% 50%, 0 100%); }
.videos .h { aspect-ratio: 16 / 9; }
.videos .s { aspect-ratio: 9 / 16; width: 200px; margin: 0 auto; }
@media (min-width: 768px) { .videos { grid-template-columns: 1fr auto; align-items: center; } }
.blk .faq details { background: var(--bg); box-shadow: none; }
.back { text-align: center; margin-top: 44px; }
.btn.outline { background: #fff; color: var(--navy); border: 1.5px solid var(--navy); }
.btn.outline .arrow { background: var(--navy); color: #fff; }
.btn.outline.rev .arrow svg { transform: rotate(180deg); }
.side { display: none; }
@media (min-width: 768px) {
  .side { display: block; position: sticky; top: 100px; background: #fff; border-radius: var(--r-l); padding: 34px 30px; box-shadow: 0 14px 40px rgba(11,42,91,.1); }
  .side .en { font-weight: 800; font-size: 13px; letter-spacing: .14em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
  .side .date { font-size: 18px; font-weight: 800; color: var(--navy); margin-top: 6px; line-height: 1.5; }
  .side .sm { font-size: 13px; color: var(--muted); margin-top: 6px; }
  .side .sm b { color: var(--blue); }
  .side .btn { width: 100%; justify-content: space-between; margin-top: 22px; }
}
.sticky-apply { position: sticky; bottom: 0; z-index: 20; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.94); backdrop-filter: blur(10px); box-shadow: 0 -4px 20px rgba(11,42,91,.08); }
.sticky-apply .btn { width: 100%; justify-content: space-between; }
@media (min-width: 768px) { .sticky-apply { display: none; } }

/* ---------- 見つからない ---------- */
.nf { position: relative; overflow: hidden; min-height: 100vh; background: var(--navy); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 140px var(--pad) 200px; }
.nf::before, .nf::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; filter: blur(10px); }
.nf::before { width: 820px; height: 820px; right: -340px; top: -260px; background: radial-gradient(circle, rgba(27,111,245,.38), transparent 65%); }
.nf::after { width: 760px; height: 760px; left: -340px; bottom: -280px; background: radial-gradient(circle, rgba(20,208,200,.25), transparent 65%); }
.nf > * { position: relative; z-index: 1; }
.nf .big { font-family: var(--en); font-weight: 800; font-size: 60px; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nf h1 { font-size: 20px; font-weight: 800; margin-top: 26px; }
.nf p { font-size: 14px; margin-top: 10px; color: rgba(255,255,255,.85); }
.nf .acts { display: flex; flex-direction: column; gap: 14px; margin-top: 40px; align-items: center; }
@media (min-width: 768px) { .nf .big { font-size: 130px; } .nf h1 { font-size: 26px; } .nf .acts { flex-direction: row; } }

/* ---------- お問い合わせ ---------- */
.form-area { background: var(--bg); padding-bottom: 170px; }
@media (min-width: 768px) { .form-area { padding-bottom: 240px; } }
.form { background: #fff; border-radius: var(--r-m); padding: 30px 20px 40px; box-shadow: 0 20px 50px rgba(7,32,74,.12); }
@media (min-width: 768px) { .form { border-radius: 40px; padding: 72px 88px 80px; } }
.field { margin-bottom: 28px; }
.field[hidden] { display: none; }
.field .lbl { display: block; font-weight: 800; font-size: 15px; color: var(--navy); margin-bottom: 10px; }
.field .req { display: inline-block; margin-left: 8px; background: var(--grad-diag); color: #fff; font-size: 11px; border-radius: 999px; padding: 1px 9px; vertical-align: 2px; }
.field input[type=text], .field input[type=email], .field textarea {
  width: 100%; border: 1.5px solid var(--line); border-radius: 14px; background: var(--bg); padding: 14px 16px; font: inherit; font-size: 16px; color: var(--text); transition: border-color .2s, background .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--sky); background: #fff; box-shadow: 0 0 0 4px rgba(34,181,245,.15); }
.field textarea { resize: vertical; min-height: 200px; }
.field.has-err input, .field.has-err textarea { border-color: #d6284b; background: #fff6f8; }
.field .err { color: #d6284b; font-size: 13px; font-weight: 700; margin-top: 6px; }
.field .err:empty { display: none; }
.field .rest { text-align: right; font-size: 12px; color: var(--muted); margin-top: 6px; }
.field .rest.over { color: #d6284b; font-weight: 700; }
.who { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.who label, .kinds label { position: relative; }
.who input, .kinds input { position: absolute; opacity: 0; }
.who span { display: flex; flex-direction: column; align-items: center; gap: 2px; border: 2px solid var(--line); border-radius: 18px; padding: 18px 8px; font-weight: 800; color: var(--navy); cursor: pointer; transition: all .2s; }
.who span .en { font-size: 11px; color: var(--muted); letter-spacing: .12em; }
.who input:checked + span { border-color: transparent; background: var(--navy); color: #fff; box-shadow: 0 8px 20px rgba(11,42,91,.2); }
.who input:checked + span .en { background: linear-gradient(90deg, #7fd3ff, #6ff0d6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.who input:focus-visible + span, .kinds input:focus-visible + span { outline: 3px solid var(--sky); outline-offset: 2px; }
.kinds { display: flex; flex-wrap: wrap; gap: 8px; }
.kinds span { display: inline-block; border: 1.5px solid var(--line); border-radius: 999px; padding: 7px 16px; font-size: 13px; font-weight: 700; color: var(--navy); cursor: pointer; transition: all .2s; }
.kinds span:hover { border-color: var(--sky); }
.kinds input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.check { display: inline-flex; gap: 10px; align-items: center; font-size: 15px; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--navy); }
.check a { color: var(--blue); }
.field.agree { text-align: center; margin-top: 40px; }
.fail { background: #fff6f8; border: 1.5px solid #d6284b; color: #d6284b; font-weight: 700; font-size: 14px; border-radius: 14px; padding: 14px 16px; margin-bottom: 22px; text-align: center; }
.fail[hidden] { display: none; }
/* お問い合わせ: 機械だけが埋める隠し欄と、Turnstile の置き場所（#433） */
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.field.turnstile { display: flex; justify-content: center; min-height: 65px; }
.submit { text-align: center; }
.submit .btn { border: 0; cursor: pointer; font: inherit; font-weight: 700; font-size: 16px; padding: 12px 12px 12px 52px; gap: 32px; }
.submit .btn:disabled { opacity: .5; cursor: wait; }
@media (min-width: 768px) {
  .field { display: grid; grid-template-columns: 230px 1fr; gap: 0 36px; margin-bottom: 34px; }
  .field .lbl { padding-top: 14px; margin: 0; }
  .field > :not(.lbl) { grid-column: 2; }
  .field.agree { display: block; }
  .who { max-width: 440px; }
}
.done { text-align: center; padding: 40px 0; }
.done[hidden] { display: none; }
.done .big { font-family: var(--en); font-weight: 800; font-size: 44px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.done .msg { font-weight: 700; font-size: 16px; line-height: 1.9; margin: 18px 0 34px; color: var(--navy); }
@media (min-width: 768px) { .done .big { font-size: 84px; } }

/* ---------- 企業向け（控えめ：回る文字・流れる帯なし） ---------- */
.hero .copy .sub-link { display: inline-block; margin-top: 16px; font-size: 14px; color: #fff; }
.reason { display: grid; gap: 44px; align-items: center; }
.diagram { position: relative; width: 300px; height: 280px; margin: 0 auto; }
.diagram svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.diagram .c { position: absolute; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; font-weight: 800; font-size: 14px; line-height: 1.45; }
.diagram .c .en { font-size: 10px; letter-spacing: .14em; font-weight: 700; }
.diagram .c1, .diagram .c2 { width: 130px; height: 130px; top: 0; background: #fff; color: var(--navy); box-shadow: 0 10px 30px rgba(0,0,0,.2); }
.diagram .c1 { left: 0; } .diagram .c2 { right: 0; }
.diagram .c1 .en, .diagram .c2 .en { color: var(--blue); }
.diagram .c3 { width: 150px; height: 150px; left: 75px; bottom: 0; background: var(--grad-diag); color: #fff; box-shadow: 0 14px 40px rgba(34,181,245,.4); }
.reason-list { display: grid; gap: 16px; }
.reason-list .item { background: #fff; color: var(--text); border-radius: var(--r-m); padding: 28px 24px; }
.reason-list .rn { display: block; font-family: var(--en); font-weight: 700; font-size: 13px; letter-spacing: .14em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.reason-list h3 { font-size: 20px; font-weight: 800; color: var(--navy); margin: 4px 0 8px; }
.reason-list p { font-size: 15px; color: var(--muted); }
@media (min-width: 768px) {
  .reason { grid-template-columns: 440px 1fr; gap: 72px; }
  .diagram { width: 420px; height: 390px; }
  .diagram .c1, .diagram .c2 { width: 180px; height: 180px; font-size: 16px; }
  .diagram .c3 { width: 210px; height: 210px; left: 105px; font-size: 17px; }
  .reason-list .item { padding: 38px 44px; border-radius: var(--r-l); }
}
.funcs { display: grid; gap: 18px; }
.fcard { background: #fff; border-radius: var(--r-m); overflow: hidden; box-shadow: 0 6px 24px rgba(11,42,91,.06); }
.fcard .img { aspect-ratio: 16 / 9; }
.fcard .b { padding: 22px 24px 30px; }
.fcard .no { font-family: var(--en); font-weight: 700; font-size: 13px; letter-spacing: .14em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fcard h3 { font-size: 19px; font-weight: 800; color: var(--navy); line-height: 1.5; margin: 4px 0 8px; }
.fcard p { font-size: 14px; color: var(--muted); line-height: 1.75; }
@media (min-width: 768px) { .funcs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; } .fcard { border-radius: var(--r-l); } }
.plans { display: grid; gap: 18px; }
.plan { position: relative; background: #fff; border-radius: var(--r-m); padding: 40px 24px 34px; text-align: center; overflow: hidden; box-shadow: 0 6px 24px rgba(11,42,91,.06); }
.plan::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--grad); }
.plan .en { font-weight: 700; font-size: 13px; letter-spacing: .14em; color: var(--blue); }
.plan h3 { font-size: 22px; font-weight: 800; color: var(--navy); margin: 4px 0 18px; }
.plan .times { font-size: 15px; font-weight: 700; color: var(--navy); }
.plan .times b { font-family: var(--en); font-size: 56px; line-height: 1; margin: 0 6px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.plan .term { font-size: 13px; color: var(--muted); margin-top: 6px; }
.plan .price { margin-top: 20px; background: var(--bg); border-radius: 999px; padding: 10px; font-weight: 700; color: var(--navy); font-size: 14px; }
.plan-notes { font-size: 14px; margin: 24px auto 0; padding-left: 1.2em; list-style: disc; color: var(--muted); max-width: 40em; }
@media (min-width: 768px) { .plans { grid-template-columns: 1fr 1fr; gap: 28px; } .plan { padding: 56px 44px 44px; border-radius: var(--r-l); } }
.center { text-align: center; }
.close .tel { font-size: 13px; color: var(--muted); margin-top: 10px; }
.circle.navy { background: var(--navy); color: #fff; box-shadow: 0 12px 30px rgba(11,42,91,.25); }
.co-links { position: relative; display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: center; margin-top: 48px; font-size: 14px; }
.co-links a { color: var(--navy); }
/* 導入の上（スクロール前）では、ヘッダーの濃紺ボタンを白に */
.hd:not(.scrolled) .btn.navy { background: #fff; color: var(--navy); }
/* 下層ページは導入が濃紺なので、ヘッダーの文字は白のまま */
@media (min-width: 768px) { .circle.navy { font-size: 22px; font-weight: 800; } }

/* 一覧：メインの背景は明るい面（カード・絞り込みの白い箱は影で浮かせる） */
.list-area { background: var(--bg); }
.list-count { color: var(--muted); }
.list-count b { color: var(--navy); }
.pager .num { color: var(--navy); }
.pager a { background: var(--navy); color: #fff; box-shadow: 0 10px 26px rgba(11,42,91,.18); }
.pager span.off { background: #fff; color: var(--navy); border: 1.5px solid var(--line); opacity: .6; }
.linebox { box-shadow: 0 6px 24px rgba(11,42,91,.06); }

/* 利用規約・プライバシーポリシー（scripts/gen-public-legal.mjs が生成するページ） */
.legal { max-width: 760px; margin: 0 auto; padding: 56px 0 140px; }
.legal .meta { font-size: 13px; color: #5b6b86; margin-bottom: 32px; }
.legal h2 { font-size: 18px; font-weight: 800; color: var(--navy); margin: 36px 0 10px; line-height: 1.5; }
.legal p { margin: 0 0 14px; font-size: 15px; }
.legal ul { list-style: disc; margin: 0 0 14px; padding-left: 1.4em; font-size: 15px; }
.legal li { margin-bottom: 4px; }
.legal .note { font-size: 12px; color: #5b6b86; margin-top: 32px; }

/* ---------- 企業向け LP：導入企業のロゴ（見出しは共通の .ttl。ロゴは枠で囲わず横に流し続ける） ---------- */
.clients-mq { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.clients-run { list-style: none; margin: 0; padding: 0; display: flex; background: var(--bg); /* 動く帯は独立した描画になるので、ロゴの白をなじませる相手の色をここに置く */ width: max-content; animation: clients-run 40s linear infinite; }
.clients-run li { flex: none; display: flex; align-items: center; padding: 0 16px; }
/* 導入企業様の節はほかの節より詰める（ユーザー指定 2026-11-30。PC は下の @media） */
.sec.clients { padding-top: 32px; padding-bottom: 56px; }
.clients .ttl { margin-bottom: 32px; }
.clients .ttl h2 { font-size: 24px; margin-top: 0; }
.clients-run img { height: 44px; width: auto; display: block; mix-blend-mode: multiply; }
/* 横に極端に長いロゴ（wide）は低くして、ほかのロゴと見た目の大きさをそろえる */
.clients-run .wide img { height: 28px; }
.clients-mq:hover .clients-run { animation-play-state: paused; }
@keyframes clients-run { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (min-width: 768px) {
  .clients-run li { padding: 0 36px; } .clients-run img { height: 60px; } .clients-run .wide img { height: 38px; }
  /* 導入企業様の節はほかの節より詰める（ユーザー指定 2026-11-30） */
  .sec.clients { padding-top: 56px; padding-bottom: 80px; }
  .clients .ttl { margin-bottom: 64px; }
  .clients .ttl h2 { font-size: 35px; margin-top: 4px; }
}
@media (prefers-reduced-motion: reduce) { .clients-run { animation: none; } .clients-mq { overflow-x: auto; } }

/* 企業向け LP：スマホではメインビジュアルの見出しを改行させず、幅なりに折り返す（ユーザー指定 2026-11-30） */
@media (max-width: 767px) { body[data-site="companies"] .hero h1 br { display: none; } }
