/* 参考どおりの FV */
.fv-d .ticker { display: none; }
.fv-d .fv-career { margin-top: 26px; }
.fv-d .fv-lead { margin-top: 18px; }
.fv-d .btns { margin-top: 44px; }
.fv-d .fv-title { margin-top: 18px; }
.fv.fv-d.is-in .slides .sl.is-on img { animation: none; }
@media (min-width: 1024px) {
  .fv-d .fv-grid { min-height: 0; height: clamp(600px, 44.5vw, 760px); max-height: none; padding-top: 0; padding-bottom: 0; }
  .fv-d .fv-copy { max-width: 560px; }
  .fv-d .fv-title { font-size: clamp(48px, 4.3vw, 64px); line-height: 1.5; }
  .fv-d .fv-label { font-size: 17px; }
  .fv-d .fv-career, .fv-d .fv-lead { font-size: 17px; }
  .fv-d .fv-visual { width: 62.4%; }
  .js .fv-d .fv-visual .ph, .js .fv-d.is-in .fv-visual .ph { clip-path: polygon(0 0, 50% 0, 100% 35%, 100% 100%, 57% 100%); }
  .fv-d .fv-visual .ph img { object-position: 62% 30%; }
  /* 右下の斜めの帯（ミント → 水色、半透明） */
  .fv-d .fv-visual::after { clip-path: polygon(62% 100%, 100% 34%, 100% 58%, 80% 100%);
    background: linear-gradient(60deg, rgba(150,225,215,.55) 0%, rgba(120,200,235,.45) 60%, rgba(230,248,250,.6) 100%); }
  .fv-d .fv-visual::before { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
    clip-path: polygon(80% 100%, 100% 58%, 100% 66%, 84% 100%); background: rgba(235,250,250,.55); }
}
.fv-d .fv-career b, .fv-d .fv-career .cnt { font-variant-numeric: normal; letter-spacing: .02em; }
@media (min-width: 1024px) {
  .fv-d .fv-visual::after { background: linear-gradient(55deg, rgba(110,215,200,.75) 0%, rgba(60,160,225,.7) 55%, rgba(170,225,245,.6) 100%); mix-blend-mode: normal; }
}

/* 写真の左の斜めと右の帯を、ロゴのような「Y」の形に：2本の斜めが写真の中ほどで出会い、そこから縦にまっすぐ下りる */
@media (min-width: 1024px) {
  .js .fv-d .fv-visual .ph, .js .fv-d.is-in .fv-visual .ph { clip-path: polygon(0 0, 50% 0, 100% 22%, 100% 100%, 57% 100%, 57% 62%); }
  .fv-d .fv-visual::after { clip-path: polygon(57% 100%, 57% 62%, 100% 22%, 100% 34%, 64% 69%, 64% 100%);
    background: linear-gradient(180deg, rgba(110,215,200,.8) 0%, rgba(60,160,225,.78) 55%, rgba(40,130,205,.8) 100%); }
  .fv-d .fv-visual::before { display: none; }
}

/* 小文字の「y」：右上からの帯が左下までまっすぐ抜け、左からの斜めはその途中で帯にぶつかって止まる */
@media (min-width: 1024px) {
  .js .fv-d .fv-visual .ph, .js .fv-d.is-in .fv-visual .ph { clip-path: polygon(0 0, 50% 0, 100% 14%, 100% 100%, 44% 100%, 75.3% 52%); }
  .fv-d .fv-visual::after { clip-path: polygon(100% 14%, 100% 28%, 53% 100%, 44% 100%);
    background: linear-gradient(200deg, rgba(110,215,200,.82) 0%, rgba(60,160,225,.8) 55%, rgba(40,130,205,.85) 100%); }
}
@media (min-width: 1024px) {
  .js .fv-d .fv-visual .ph, .js .fv-d.is-in .fv-visual .ph { clip-path: polygon(0 0, 50% 0, 100% 14%, 100% 100%, 44% 100%, 66.1% 66%); }
}

/* ===== 参考の画像と同じ形・配色（これより上の切り方の指定を上書き） ===== */
@media (min-width: 1024px) {
  .js .fv-d .fv-visual .ph, .js .fv-d.is-in .fv-visual .ph { clip-path: polygon(0 0, 50% 0, 100% 36%, 100% 100%, 57% 100%); }
  .fv-d .fv-visual .ph img { object-position: 50% 40%; }
  /* ミント → 水色の斜めの帯 */
  .fv-d .fv-visual::after { clip-path: polygon(62% 100%, 100% 36%, 100% 53%, 72% 100%);
    background: linear-gradient(180deg, rgba(196,242,226,.92) 0%, rgba(178,232,232,.9) 45%, rgba(170,220,245,.9) 100%); }
  /* 右下の角の、白っぽい水色の帯 */
  .fv-d .fv-visual::before { display: block; content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
    clip-path: polygon(88% 100%, 100% 82%, 100% 100%); background: rgba(232,246,252,.92); }
}

/* ===== 同じ幅の斜めの枠（＼）に写真を入れ、男性の頭だけ枠の外へはみ出させる ===== */
.fv-d .pop { display: none; }
@media (min-width: 1024px) {
  .js .fv-d .fv-visual .ph, .js .fv-d.is-in .fv-visual .ph { clip-path: polygon(0 0, 64% 0, 100% 82%, 100% 100%, 44% 100%); }
  .fv-d .fv-visual::before { display: none; }
  .fv-d .fv-visual::after { clip-path: polygon(70% 100%, 100% 50%, 100% 64%, 79% 100%); }
  /* 写真と同じ位置・大きさで、頭だけの切り抜きを重ねる */
  .fv-d .pop { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; z-index: 3; pointer-events: none; }
  .js .fv-d .pop { opacity: 0; }
  .js .fv-d.is-in .pop { opacity: 1; transition: opacity 1.2s ease .1s; }
}
/* 帯：右端の高さ中央から、枠の左下の角まで。太さは前の1.5倍 */
@media (min-width: 1024px) {
  .fv-d .fv-visual::after { clip-path: polygon(44% 100%, 100% 50%, 100% 62%, 57.5% 100%); }
}
/* 帯：赤で描いてもらった位置（右端は少し上から、枠の左下の角へ） */
@media (min-width: 1024px) {
  .fv-d .fv-visual::after { clip-path: polygon(44% 100%, 100% 37%, 100% 50.5%, 56% 100%); }
}
/* 一時的に写真を消す（枠の形が分かるよう、淡い色で塗る）。戻すときはこの3行を消す */
.fv-d .fv-visual .ph img, .fv-d .pop { visibility: hidden; }
.fv-d .fv-visual .ph { background: #EEF4F8; }
/* フレームと帯を、赤線で描いてもらった位置に合わせる */
@media (min-width: 1024px) {
  .js .fv-d .fv-visual .ph, .js .fv-d.is-in .fv-visual .ph { clip-path: polygon(1.1% 0, 63.5% 0, 100% 88%, 100% 100%, 54.2% 100%); }
  .fv-d .fv-visual::after { clip-path: polygon(64% 100%, 100% 37.3%, 100% 57.7%, 75.7% 100%); }
}
/* 帯を赤線の位置へ（2回目） */
@media (min-width: 1024px) {
  .fv-d .fv-visual::after { clip-path: polygon(50.8% 100%, 100% 36.5%, 100% 55.6%, 64.6% 100%); }
}

/* ===== 写真を戻す：新しい4枚を、白く飛ばしながら順に切り替える ===== */
.fv-d .fv-visual .ph img { visibility: visible; }
.fv-d .fv-visual .ph { background: none; }
@media (min-width: 1024px) {
  .fv-d .slides .sl + .sl { position: absolute; inset: 0; }
  .fv-d .slides .sl img { object-position: 50% 30%; }
}

/* ===== オープニング：キャッチコピーを真ん中に出してからFVへ ===== */
/* 見出しの文字は1文字ずつではなく、まとめてふわっと出す */
.op-copy .fv .ch, .op-done .fv .ch { opacity: 1; transform: none; filter: none; transition: none; }
.op-copy .fv-title { opacity: 0; position: relative; z-index: 5; }
.op-copy .fv-title.op-show { opacity: 1; transition: opacity .7s ease; }
.op-copy body { overflow: hidden; }
/* コピーの間は、写真・帯・下の帯を隠す */
.fv-d .fv-visual, .fv-d ~ * .facts, .fv-d .facts { transition: opacity .9s ease .2s; }
.op-copy .fv-d .fv-visual, .op-copy .fv-d .facts { opacity: 0; }

/* オープニング：真っ白な画面に、文字が1文字ずつゆっくり現れる */
.op-copy .site-header, .op-copy .progress { opacity: 0; }
.site-header, .progress { transition: opacity 1s ease .3s; }
.op-copy .fv-title { opacity: 1; }
.op-copy .fv .fv-title .ch { opacity: 0; filter: blur(10px); transform: none; transition-property: opacity, filter; transition-duration: 1.6s, 1.6s; transition-timing-function: ease; }
.op-copy .fv .fv-title.op-show .ch { opacity: 1; filter: blur(0); }

/* ===== 見出しを手書き（ペン字）の画像に。文字の見出しは読み上げ・検索用に残す ===== */
.pen-wrap { display: none; }
/* 画像のペン字（?f=pen）：文字の見出しは読み上げ用に残し、見た目は画像にする */
.f-pen .fv-title .ln { display: none; }
.f-pen .fv-title .pen-wrap { display: block; position: relative; width: min(100%, 580px); margin-left: -10px; }
.f-pen .pen-wrap img { display: block; width: 100%; height: auto; }
.f-pen .pen-wrap .pen-line { position: absolute; inset: 0; }
/* オープニング（1行目が書き終わる瞬間に2行目が書きはじまるよう、時間を合わせてある）：1行目「看護師が、」→ 2行目「看護師を集める。」の順に左上からゆっくり現れ、最後に青い線を左から引く */
.f-pen .pen-wrap .pen-ink2 { position: absolute; inset: 0; }
.f-pen.op-copy .pen-img, .f-pen.op-copy .pen-ink2 {
  -webkit-mask-image: linear-gradient(100deg, #000 46%, transparent 52%); mask-image: linear-gradient(100deg, #000 46%, transparent 52%);
  -webkit-mask-size: 220% 100%; mask-size: 220% 100%; -webkit-mask-position: 100% 0; mask-position: 100% 0; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
.f-pen.op-copy .fv-title.op-show .pen-img, .f-pen.op-copy .fv-title.op-show .pen-ink2 { -webkit-mask-position: 0 0; mask-position: 0 0; }
.f-pen.op-copy .fv-title.op-show .pen-img { transition: -webkit-mask-position 2s linear .2s, mask-position 2s linear .2s; }
.f-pen.op-copy .fv-title.op-show .pen-ink2 { transition: -webkit-mask-position 2.2s linear 1.37s, mask-position 2.2s linear 1.37s; }
.f-pen.op-copy .pen-line { clip-path: inset(0 100% 0 0); }
.f-pen.op-copy .fv-title.op-show .pen-line { clip-path: inset(0 0 0 0); transition: clip-path .8s cubic-bezier(.6,0,.3,1) 3.55s; }
/* 狭いPC（1024〜1200px）でも、手書きの見出しが写真の枠にかからないように */
@media (min-width: 1024px) {
  .f-pen .fv-title .pen-wrap { width: min(100%, 580px, 42vw); }
}

/* =====================================================================
   v3：情報整理・相談導線・読みやすさの改善（2026-11-22）
   ===================================================================== */

/* --- FVの説明文：意味のまとまりで改行。スマホは自然に折り返す --- */
.fv-c .fv-lead .lb { display: block; }
.fv-c .fv-lead { line-height: 1.85; word-break: keep-all; overflow-wrap: anywhere; }
@media (max-width: 1023px) { .fv-c .fv-lead { font-size: 15px; } }

/* --- LINE相談ボタンは、FVのブルーで統一（ヘッダー・FV・中間・下部・追従） --- */
:root { --cta: #1F7FC0; --cta-d: #17639A; }
.btn-line, .fv-c .btn-line, .header-line, .s-line { background: var(--cta) !important; color: #fff !important; }
.btn-line { box-shadow: 0 3px 0 var(--cta-d); }
.fv-c .btn-line { box-shadow: none; }
.btn-line:hover, .header-line:hover, .s-line:hover { background: var(--cta-d) !important; filter: none; }
.btn-outline, .s-form, .header-cta { background: #fff; color: var(--navy); }
.btn, .s-line, .s-form { min-height: 48px; }
.btn-line .bt { word-break: keep-all; }
.s-line { white-space: nowrap; }
@media (min-width: 1024px) {
  .header-line { padding: 0 16px; font-size: 13px; }
}

/* --- スクロールで出す動きは控えめに：本文は最初から読める（透明にしない） --- */
.js .reveal { opacity: 1; transform: translateY(12px); transition: transform .6s var(--ease); }
.js .reveal.is-in { transform: none; }
.js .match .msg { opacity: 1; }
.js .match.is-in .msg.left, .js .match.is-in .msg:nth-child(1) { transition-delay: .05s; }
.js .match.is-in .msg.right, .js .match.is-in .msg:nth-child(2) { transition-delay: .25s; }

/* --- 制作イメージ（架空施設の見本） --- */
.sample { background: #fff; }
.sample-note { margin-top: 14px; display: inline-block; font-size: 13px; line-height: 1.7; color: var(--text); background: var(--pale); border-radius: 8px; padding: 8px 14px; }
.smp-grid { margin-top: 28px; display: grid; gap: 28px; }
.smp { margin: 0; display: flex; flex-direction: column; }
.smp figcaption { display: flex; align-items: baseline; gap: 10px; color: var(--navy); font-weight: 700; font-size: 17px; margin-bottom: 12px; }
.smp figcaption b { color: var(--blue); font-size: 14px; letter-spacing: .08em; }
.smp-card { position: relative; flex: 1; border-radius: 18px; border: 1px solid #DCE6EF; background: #fff; box-shadow: 0 10px 28px rgba(21,37,74,.08); overflow: hidden; font-size: 14px; line-height: 1.7; color: var(--navy); }
.smp-card::after { content: "見本"; position: absolute; top: 10px; right: 10px; z-index: 2; font-size: 11px; font-weight: 700; letter-spacing: .1em; color: #fff; background: rgba(21,37,74,.72); padding: 2px 10px; border-radius: 999px; }
.smp-desc { margin-top: 12px; font-size: 14px; line-height: 1.75; color: var(--text); }
.mock-btn { display: block; text-align: center; font-size: 13px; color: #6B7280; border: 1px dashed #B8C4D0; border-radius: 8px; padding: 8px; cursor: default; user-select: none; }
/* ① 広告 */
.ad-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; }
.ad-av { width: 34px; height: 34px; border-radius: 50%; background: var(--pale); color: var(--blue); display: grid; place-items: center; font-weight: 700; }
.ad-head b { display: block; font-size: 13px; line-height: 1.3; }
.ad-head small { font-size: 11px; color: #6B7280; }
.smp-ad img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 30%; }
.ad-body { padding: 14px 16px 6px; }
.ad-copy { font-weight: 700; font-size: 17px; line-height: 1.5; }
.ad-text { margin-top: 8px; font-size: 14px; color: var(--text); }
.ad-foot { padding: 10px 16px 16px; }
/* ② 採用ページ */
.smp-page { padding: 0 0 8px; }
.pg-top { background: var(--navy); color: #fff; font-weight: 700; padding: 14px 16px; padding-right: 64px; font-size: 14px; }
.pg-sec { padding: 12px 16px; border-bottom: 1px solid #EEF2F6; }
.pg-sec:last-child { border-bottom: 0; }
.pg-h { font-weight: 700; color: var(--blue); font-size: 13px; letter-spacing: .04em; margin-bottom: 4px; }
.pg-sec p:not(.pg-h) { font-size: 14px; color: var(--text); }
.pg-time { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.pg-time li { display: flex; gap: 12px; font-size: 14px; color: var(--text); }
.pg-time span { flex: none; width: 3.2em; font-weight: 700; color: var(--navy); font-variant-numeric: tabular-nums; }
/* ③ 採用専用LINE */
.smp-line { background: #E9F0F7; padding: 0 12px 14px; display: flex; flex-direction: column; gap: 10px; }
.ln-top { margin: 0 -12px 4px; background: #fff; border-bottom: 1px solid #DCE6EF; font-weight: 700; font-size: 14px; padding: 14px 16px; padding-right: 64px; }
.lb-msg { max-width: 86%; padding: 10px 12px; border-radius: 14px; font-size: 14px; line-height: 1.6; }
.lb-msg.in { align-self: flex-start; background: #fff; border-top-left-radius: 4px; }
.lb-msg.out { align-self: flex-end; background: #BDECDF; border-top-right-radius: 4px; }
.ln-info { display: flex; flex-direction: column; gap: 6px; }
.ln-info b { font-size: 13px; color: var(--blue); }
.ln-info span { display: block; font-size: 13px; color: var(--navy); background: #F4F7FA; border: 1px solid #DCE6EF; border-radius: 8px; padding: 6px 10px; cursor: default; }
@media (min-width: 1024px) {
  .smp-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; }
}

/* --- ミスマッチ対策：伝える情報の例と、知る→見る→聞く→決める --- */
.m-info { margin: 28px auto 0; max-width: 880px; background: #fff; border-radius: 16px; padding: 18px 20px; box-shadow: 0 6px 20px rgba(21,37,74,.06); }
.m-info-h { font-weight: 700; color: var(--navy); font-size: 15px; margin-bottom: 10px; }
.m-info ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.m-info li { font-size: 14px; color: var(--navy); background: var(--pale); border-radius: 999px; padding: 6px 14px; }
.msteps { counter-reset: none; }
.m-foot { margin-top: 20px; text-align: center; color: var(--navy); font-size: 15px; line-height: 1.7; }

/* --- 3つの強み（カードを横に3つ。高さと文章量をそろえる） --- */
.st-list { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 20px; }
.st-card { display: flex; flex-direction: column; background: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 10px 28px rgba(21,37,74,.08); }
.st-ph img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.st-body { position: relative; padding: 22px 22px 26px; flex: 1; }
.st-num { position: absolute; right: 18px; top: 10px; font-family: "Noto Sans JP", sans-serif; font-weight: 900; font-size: 40px; color: #E3EEF7; line-height: 1; }
.st-body h3 { position: relative; color: var(--navy); font-size: 19px; line-height: 1.55; margin-bottom: 10px; }
.st-body p { font-size: 15px; line-height: 1.85; color: var(--text); }
@media (min-width: 1024px) {
  .st-list { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .st-body h3 { min-height: 3.1em; }
}

/* --- 料金：広い面積は白・淡いブルー。ピンクは割引の金額と「先着5施設」だけ --- */
.pc-m { background: #EEF5FB; }
.pc-note { font-size: 13px; color: var(--navy); font-weight: 700; }
.price2-note { font-size: 13px; }
.total { margin-top: 24px; background: #F4F8FC; border: 1px solid #DCE6EF; border-radius: 16px; padding: 20px 18px; }
.total-h { font-weight: 700; color: var(--navy); font-size: 18px; }
.total-sub { margin-top: 2px; font-size: 13px; color: var(--text); }
.total-list { margin: 14px 0 0; display: grid; gap: 8px; }
.total-list > div { display: grid; grid-template-columns: 7.5em 1fr; gap: 10px; align-items: baseline; background: #fff; border-radius: 10px; padding: 10px 14px; }
.total-list dt { font-weight: 700; color: var(--navy); font-size: 14px; }
.total-list dd { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; }
.total-list dd b { font-family: "Noto Sans JP", sans-serif; font-weight: 900; font-size: 22px; color: var(--navy); font-variant-numeric: tabular-nums; }
.total-list dd small { font-size: 13px; color: var(--text); }
.total-list .sum { border: 2px solid var(--navy); }
.total-note { margin-top: 12px; font-size: 13px; line-height: 1.75; color: var(--text); }
@media (min-width: 1024px) {
  .total { padding: 24px 28px; }
  .total-list { grid-template-columns: repeat(2, 1fr); }
  .total-list > div { grid-template-columns: 9em 1fr; }
  .total-list dd b { font-size: 26px; }
}
@media (max-width: 400px) { .total-list > div { grid-template-columns: 1fr; gap: 2px; } }

/* --- 担当者：どう支援に活かすか --- */
.p-how { margin-top: 12px; padding-top: 12px; border-top: 1px solid #E5ECF2; font-size: 14px; line-height: 1.8; color: var(--text); }
.p-how b { display: block; font-size: 12px; color: var(--blue); letter-spacing: .06em; margin-bottom: 2px; }

/* --- 無料相談で整理すること --- */
.consult { margin-top: 18px; background: var(--pale); border-radius: 14px; padding: 16px 18px; text-align: left; }
.consult-h { font-weight: 700; color: var(--navy); font-size: 16px; margin-bottom: 8px; }
.consult ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.consult li { position: relative; padding-left: 1.4em; font-size: 15px; line-height: 1.7; color: var(--navy); }
.consult li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 10px; height: 10px; border-radius: 50%; background: var(--blue); }
.contact-side .sec-lead b { color: var(--navy); }
@media (min-width: 1024px) { .consult { max-width: 640px; margin-left: auto; margin-right: auto; } }

/* --- フッター：運営者情報とプライバシーポリシーを分ける --- */
.f-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; }

/* --- オープニングの「スキップ」 --- */
.op-skip { position: fixed; right: 16px; bottom: 16px; z-index: 60; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid #C8D3DE; background: #fff; color: var(--navy); font: inherit; font-size: 14px; cursor: pointer; }
.op-skip[hidden] { display: none; }

/* --- オープニングを短く（1行目→2行目→線：約2.6秒） --- */
.f-pen.op-copy .fv-title.op-show .pen-img { transition: -webkit-mask-position 1.2s linear .1s, mask-position 1.2s linear .1s; }
.f-pen.op-copy .fv-title.op-show .pen-ink2 { transition: -webkit-mask-position 1.3s linear .81s, mask-position 1.3s linear .81s; }
.f-pen.op-copy .fv-title.op-show .pen-line { transition: clip-path .5s cubic-bezier(.6,0,.3,1) 2.1s; }
/* もしもの保険：オープニングや動きが止まっても、FVの文字・写真・ボタンを表示する */
.js-fallback .fv .up, .js-fallback .fv .ch { opacity: 1 !important; transform: none !important; filter: none !important; }
.js-fallback .fv-visual, .js-fallback .fv-visual .ph, .js-fallback .facts, .js-fallback .site-header { opacity: 1 !important; clip-path: none !important; }
.js-fallback .fv-c .fv-visual .ph { clip-path: polygon(1.1% 0, 63.5% 0, 100% 88%, 100% 100%, 54.2% 100%) !important; }
/* 強みのカード：大きな番号と見出しが重ならないように */
.st-body h3 { padding-right: 52px; }
/* 担当者のカード：スマホでは1列にして読みやすく */
@media (max-width: 767px) { .profile-cards { grid-template-columns: 1fr !important; } }

/* 「医療職の採用に特化」：文字を大きくして枠で囲む */
.fv-c .fv-label { display: inline-flex; font-size: 17px; font-weight: 700; color: var(--navy); border: 1.5px solid var(--navy); border-radius: 4px; padding: 5px 14px; letter-spacing: .08em; line-height: 1.5; }
@media (min-width: 1024px) { .fv-d .fv-label { font-size: 19px; padding: 6px 18px; } }

/* =====================================================================
   スマホの見直し（2026-11-22）
   ===================================================================== */

/* --- 比較表：スマホでは1行ずつカードにする（はみ出しと区切りの見えにくさを解消） --- */
@media (max-width: 767px) {
  .cmp { overflow: visible; }
  .cmp table, .cmp tbody, .cmp tr, .cmp th, .cmp td { display: block; width: auto; }
  .cmp table { table-layout: auto; font-size: 15px; }
  .cmp thead { display: none; }
  .cmp tbody { display: grid; gap: 14px; }
  .cmp tbody tr { border: 1px solid #DCE6EF; border-radius: 14px; overflow: hidden; background: #fff; }
  .cmp tbody th { background: var(--navy); color: #fff; padding: 10px 16px !important; font-size: 16px; border: 0; white-space: normal; }
  .cmp tbody th br { display: none; }
  .cmp td, .cmp td.us { padding: 12px 16px !important; border: 0; border-radius: 0 !important; overflow-wrap: normal; word-break: normal; line-break: strict; }
  .cmp td::before { content: attr(data-label); display: block; font-size: 12px; font-weight: 700; letter-spacing: .04em; color: #6B7280; margin-bottom: 4px; }
  .cmp td { color: #4B5563; border-bottom: 1px dashed #DCE6EF; }
  .cmp td.us { background: #F2F8FC; border: 0 !important; color: var(--navy); }
  .cmp td.us::before { color: var(--blue); }
  .cmp td .nw, .cmp td.us .nw { white-space: normal; }
  .cmp td.us .c-sub { font-size: 13px; }
}

/* --- 料金：運用費の注記と、広告費の「目安」 --- */
.pc-note { line-height: 1.55; }
.pc-note .nw { white-space: nowrap; }

/* =====================================================================
   CTAボタン（mato-button-depth の基準で仕上げ）
   ・LINE（メイン）：ブルーのピル。上から光。上端の明部・上3分の1の光沢・右下の反射光・
     少し濃いブルーの厚み・ブルーを暗くした色の柔らかい影（黒・グレーは使わない）
   ・フォーム（サブ）：白のピル＋細い紺の線。影はほぼ付けず、メインより控えめ
   ・文字は縮めない。2段まで（LINEで／無料相談する）
   ===================================================================== */
.btn, .fv-c .btn-line, .fv-c .btn-outline, .s-line, .s-form, .header-line, .header-cta { border-radius: 9999px !important; }
.btn-line, .fv-c .btn-line, .header-line, .s-line {
  --shadow-rgb: 18, 74, 120;
  background:
    linear-gradient(to bottom, rgba(255,255,255,.22), rgba(255,255,255,0) 36%),
    linear-gradient(100deg, #2B8BD0 0%, #1F7FC0 55%, #1B71AE 100%) !important;
  color: #fff !important;
  border: 0 !important;
  box-shadow:
    inset 0 1.5px 0 rgba(255,255,255,.55),
    inset -2px -4px 8px rgba(255,255,255,.18),
    0 3px 0 #155B8E,
    0 4px 6px rgba(var(--shadow-rgb), .10),
    0 12px 24px rgba(var(--shadow-rgb), .16) !important;
  text-shadow: 0 1px 1px rgba(var(--shadow-rgb), .35);
  font-weight: 700;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn-line:hover, .header-line:hover, .s-line:hover { transform: translateY(-1px); filter: none; }
.btn-line:active, .header-line:active, .s-line:active { transform: translateY(2px); box-shadow: inset 0 1.5px 0 rgba(255,255,255,.5), 0 1px 0 #155B8E, 0 4px 10px rgba(18,74,120,.14) !important; }
.btn-line::after { display: none !important; }
.btn-outline, .fv-c .btn-outline, .s-form, .header-cta {
  background: #fff !important; color: var(--navy) !important;
  border: 1.5px solid var(--navy) !important;
  box-shadow: 0 2px 6px rgba(21,37,74,.06) !important;
  font-weight: 700;
}
.btn-outline::after { content: none !important; }
.btn-outline:hover, .s-form:hover, .header-cta:hover { background: #F2F8FC !important; }

/* 中身：文字は2段まで。矢印は右端 */
.btn .bt { display: inline-block; line-height: 1.35; text-align: center; overflow-wrap: normal; word-break: keep-all; }
.btn .bt .nw { white-space: nowrap; }
.btn .arw { flex: none; margin-left: 6px; font-size: 1.05em; }
.btn { overflow-wrap: normal; }

/* FV・料金下のボタンの並び：メイン（LINE）を大きく、サブ（フォーム）を小さく */
.fv-c .btns, .price-cta .btns { display: grid !important; grid-template-columns: 1.25fr 1fr; gap: 12px !important; align-items: center; }
.fv-c .btns .btn, .price-cta .btns .btn { min-height: 56px; padding: 8px 16px !important; font-size: 16px; }
.fv-c .btns .btn-outline, .price-cta .btns .btn-outline { min-height: 50px; font-size: 15px; }
@media (min-width: 768px) {
  .fv-c .btns, .price-cta .btns { grid-template-columns: auto auto; justify-content: start; gap: 16px !important; }
  .fv-c .btns .btn-line, .price-cta .btns .btn-line { padding: 10px 30px !important; min-height: 58px; }
  .fv-c .btns .btn-outline, .price-cta .btns .btn-outline { padding: 8px 26px !important; }
}
@media (max-width: 359px) { .fv-c .btns, .price-cta .btns { grid-template-columns: 1fr; } }

/* スマホ下の追従ボタン：LINEを大きく */
.sticky-cta { grid-template-columns: 1.3fr 1fr !important; }
.sticky-cta a { min-height: 50px; padding: 0 10px; }
.s-form { font-size: 14px; }
.sticky-cta a { text-align: center; line-height: 1.3; flex-wrap: wrap; align-content: center; }
.sticky-cta .nw { white-space: nowrap; }
/* 2段のボタン：1段目と2段目の文字が上下で重ならないよう、行の高さを少しだけ広げる */
.btn .bt { line-height: 1.5; }

/* 制作イメージ：SNS求人広告は実際の広告画像（4:5）をそのまま見せる */
.smp-ad img.ad-creative { aspect-ratio: 1080 / 1350; object-fit: cover; object-position: 50% 0; }
.smp-ad .ad-cap { padding: 12px 16px 16px; }
.smp-ad .ad-cap .ad-text { margin-top: 0; font-size: 13px; line-height: 1.75; }
.smp-ad .ad-cap b { color: var(--navy); margin-right: 4px; }

/* =====================================================================
   担当者紹介：写真＋自己紹介を2人並べる（2026-11-23）
   ===================================================================== */
.profile .staff { margin-top: 28px; display: grid; grid-template-columns: 1fr; gap: 20px; }
.profile .p-card { padding: 0; overflow: hidden; border-radius: 18px; display: flex; flex-direction: column; }
.profile .p-ph { background: #F3F3F1; }
.profile .p-ph img { display: block; width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.profile .p-tx { padding: 18px 20px 22px; }
.profile .profile-foot { margin-top: 28px; }
@media (min-width: 640px) {
  .profile .staff { grid-template-columns: 1fr 1fr; gap: 24px; }
}
@media (min-width: 1024px) {
  .profile .staff { gap: 32px; margin-top: 40px; }
  .profile .p-tx { padding: 24px 30px 28px; }
}

/* =====================================================================
   サービス：横長の4行リスト（番号｜名前｜説明｜線のアイコン）（2026-11-23）
   ===================================================================== */
.sv-lead { margin-top: 16px; color: var(--text); font-size: 15px; line-height: 1.8; }
.sv-rows { margin-top: 28px; border-top: 1px solid #CFDCE7; }
.sv-rows li { display: grid; grid-template-columns: 52px 1fr 44px; grid-template-areas: "num h ic" "num p ic"; column-gap: 14px; row-gap: 6px; align-items: center; padding: 20px 2px; border-bottom: 1px solid #CFDCE7; }
.sv-num { grid-area: num; align-self: start; font-family: "Times New Roman", "Georgia", serif; font-style: italic; font-size: 40px; line-height: 1; color: #2E5F80; letter-spacing: -.02em; padding-top: 2px; }
.sv-rows h3 { grid-area: h; color: var(--navy); font-weight: 700; font-size: 19px; line-height: 1.45; }
.sv-rows p { grid-area: p; color: var(--text); font-size: 14px; line-height: 1.8; }
.sv-ic { grid-area: ic; width: 40px; height: 40px; fill: none; stroke: #1F7FC0; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sv-ic circle[r="1.2"], .sv-ic circle[r="1.4"] { fill: #1F7FC0; stroke: none; }
.sv-you { margin-top: 24px; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 16px; background: #E8F2F9; border-radius: 6px; color: var(--navy); font-size: 15px; font-weight: 700; line-height: 1.6; text-align: center; }
.sv-you svg { flex: none; width: 22px; height: 22px; fill: none; stroke: #3BAA75; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 768px) {
  .sv-lead { font-size: 17px; }
  .sv-rows { margin-top: 40px; }
  .sv-rows li { grid-template-columns: 110px 1px minmax(220px, 300px) 1fr 76px; grid-template-areas: "num bar h p ic"; column-gap: 28px; padding: 26px 8px; }
  .sv-rows li::before { content: ""; grid-area: bar; width: 1px; height: 72px; background: #CFDCE7; align-self: center; }
  .sv-num { font-size: 60px; align-self: center; padding: 0; }
  .sv-rows h3 { font-size: 22px; }
  .sv-rows p { font-size: 15.5px; }
  .sv-ic { width: 64px; height: 64px; justify-self: end; }
  .sv-you { margin-top: 32px; font-size: 17px; padding: 16px 20px; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .sv-rows li { grid-template-columns: 80px 1px 1fr 56px; grid-template-areas: "num bar h ic" "num bar p ic"; row-gap: 4px; }
  .sv-num { font-size: 48px; }
  .sv-ic { width: 52px; height: 52px; }
}
.sv-rows li > * { min-width: 0; }
@media (max-width: 767px) {
  .sv-rows li { grid-template-columns: 48px 1fr 36px; column-gap: 12px; }
  .sv-rows p .nw { white-space: normal; }
  .sv-rows p { line-break: strict; }
  .sv-ic { width: 34px; height: 34px; align-self: start; margin-top: 2px; }
  .sv-num { font-size: 36px; }
}
@media (min-width: 1024px) { .sv-rows h3 { font-size: 24px; } }

/* =====================================================================
   本文の文字を大きく（2026-11-23）：サービスの説明に合わせ、PCは17px・スマホは15px
   （見本のカードの中身・※の注記・料金の数字まわりは変えない）
   ===================================================================== */
.sv-rows p { font-size: 15px; }
.smp-desc, .msteps p, .profile .p-how, .profile .p-card li, .flow .steps p:not(.you) { font-size: 15px; }
@media (min-width: 1024px) {
  .sv-rows p { font-size: 17px; line-height: 1.85; }
  .pain-list p, .st-body p, .smp-desc, .msteps p, .m-foot, .m-info li,
  .profile .p-card li, .profile .p-how, .price-cta-sub, .flow .steps p:not(.you),
  .faq .a, .consult li { font-size: 17px; line-height: 1.85; }
  .profile .p-how b { font-size: 13px; }
}
@media (min-width: 1024px) { .flow .steps p:not(.you) { font-size: 16px; line-height: 1.8; } }

/* =====================================================================
   見出しを2サイズ上げる（2026-11-24）
   セクションの大見出し：PC 42→46px／スマホ 26.5→28.5px
   カードや項目の小見出し：それぞれ +2px
   ===================================================================== */
main .sec .h2 { font-size: clamp(28px, 7.3vw, 44px); }
main .sec .rs-title { font-size: clamp(33px, 8.5vw, 50px); }
main .price2 .h2 { font-size: clamp(26px, 6.7vw, 36px); }
.pain-list h3 { font-size: 20px; }
.sv-rows h3 { font-size: 21px; }
.msteps h3 { font-size: 22px; }
.st-body h3 { font-size: 21px; }
.flow .steps h3 { font-size: 19px; }
.total-h { font-size: 20px !important; }
.consult-h { font-size: 18px !important; }
.m-info-h { font-size: 17px !important; }
@media (min-width: 1024px) {
  main .sec .h2 { font-size: 46px; }
  main .price2 .h2, main .faq .h2 { font-size: 36px; }
  main .sec .rs-title { font-size: 52px; }
  .pain-list h3 { font-size: 22px; }
  .sv-rows h3 { font-size: 26px; }
  .st-body h3 { font-size: 21px; }
  .flow .steps h3 { font-size: 21px; }
}

/* =====================================================================
   制作イメージ：SNS広告のデザイン例（縦長3枚）（2026-11-24）
   ===================================================================== */
.stories { margin-top: 56px; }
.stories-h { color: var(--navy); font-weight: 700; font-size: 21px; line-height: 1.5; }
.stories-h small { display: block; font-size: 13px; font-weight: 400; color: #6B7280; margin-top: 2px; }
.stories-lead { margin-top: 8px; font-size: 15px; line-height: 1.8; color: var(--text); }
.story-row { margin: 20px -20px 0; padding: 4px 20px 12px; display: grid; grid-auto-flow: column; grid-auto-columns: 62%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.story-row::-webkit-scrollbar { display: none; }
.story { scroll-snap-align: start; margin: 0; }
.story-ph { position: relative; border-radius: 16px; overflow: hidden; box-shadow: 0 10px 28px rgba(21,37,74,.12); background: #F3F3F1; }
.story-ph::after { content: "見本"; position: absolute; top: 10px; right: 10px; font-size: 11px; font-weight: 700; letter-spacing: .1em; color: #fff; background: rgba(21,37,74,.72); padding: 2px 10px; border-radius: 999px; }
.story-ph img { display: block; width: 100%; height: auto; aspect-ratio: 941 / 1672; }
.story figcaption { margin-top: 10px; font-size: 14px; font-weight: 700; color: var(--navy); line-height: 1.6; }
@media (min-width: 768px) {
  .story-row { margin: 24px 0 0; padding: 0; grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); grid-auto-columns: auto; gap: 24px; overflow: visible; }
}
@media (min-width: 1024px) {
  .stories { margin-top: 72px; }
  .stories-h { font-size: 24px; }
  .stories-lead { font-size: 17px; }
  .story-row { gap: 32px; max-width: 1000px; }
  .story figcaption { font-size: 16px; }
}
@media (max-width: 767px) {
  .story-row { margin: 20px -20px 0 0; padding: 4px 20px 12px 0; scroll-padding-left: 0; }
}
.story-ph::after { top: auto; bottom: 10px; }
/* 広告のデザイン例：4枚。PCは4枚横並び、タブレットは2×2、スマホは横にめくる */
@media (min-width: 768px) { .story-row { grid-template-columns: repeat(2, 1fr); max-width: 640px; } }
@media (min-width: 1024px) { .story-row { grid-template-columns: repeat(4, 1fr); max-width: none; gap: 24px; } .story figcaption { font-size: 15px; } }
.smp-ad img.ad-creative { aspect-ratio: 941 / 1672; }

/* =====================================================================
   お問い合わせ：フォームの代わりに、LINEとメールの案内（2026-11-25）
   ===================================================================== */
.ways { gap: 18px; }
.ways-h { color: var(--navy); font-weight: 700; font-size: 18px; }
.way { background: #fff; border: 1px solid #DCE6EF; border-radius: 16px; padding: 20px 18px 22px; display: grid; gap: 14px; }
.way-t b { display: block; color: var(--navy); font-size: 17px; }
.way-t span { display: block; margin-top: 4px; font-size: 15px; line-height: 1.75; color: var(--text); }
.way .btn { width: 100%; min-height: 56px; justify-content: center; font-size: 16px; }
.way-list { display: grid; gap: 4px; padding: 12px 14px; background: #F2F8FC; border-radius: 10px; }
.way-list li { position: relative; padding-left: 14px; font-size: 14px; line-height: 1.7; color: var(--text); }
.way-list li::before { content: ""; position: absolute; left: 0; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.way-addr { font-size: 14px; color: var(--text); overflow-wrap: anywhere; }
.way-addr .addr { color: var(--navy); font-weight: 700; user-select: all; }
@media (min-width: 1024px) {
  .way { padding: 24px 28px 26px; }
  .way-t span, .way-list li { font-size: 16px; }
}
