/*
 * ビザ申請サービスページ 2026年版（template-parts/service-lp-2026.php）2026-10-28
 * 土台は車庫証明LPと共通の shako-2026.css。ここにはビザのページにしかない部品だけを書きます
 * （よくある誤解・おすすめの方・料金プラン・安心のサポート体制・流れ6ステップ・LINE特典など）。
 */
.btn-form{background:var(--amber);color:var(--ink);box-shadow:0 10px 24px -10px rgba(244,183,64,.8)}
.btn-form:hover{background:#f1aa22}

/* ---------- ファーストビュー ---------- */
.svc26-body .hero-card picture img{object-position:62% 40%}
/* 見出し：「家族滞在ビザ申請サポート」（12文字）が1行に収まる大きさ */
.svc26-body .hero h1{font-size:clamp(30px,3.6vw,46px);line-height:1.3}
.svc26-body .hero h1 em{font-size:.62em;display:inline-block;margin-top:10px;background:none;color:#ffd27a}
.svc26-body .chip-card b{font-size:22px}

/* ---------- よくある誤解 ---------- */
.myth{margin-top:28px;background:#fff8e8;border-radius:var(--radius);padding:28px 32px;box-shadow:var(--shadow)}
.myth-label{display:inline-block;font-size:12px;font-weight:700;color:#8a5a00;background:#ffeec4;border-radius:999px;padding:3px 12px}
.myth-q{font-size:clamp(18px,2vw,22px);font-weight:900;margin:12px 0 10px;text-decoration:line-through;text-decoration-color:rgba(214,64,74,.6);text-decoration-thickness:2px}
.myth-a{color:var(--ink-2);font-size:15px}
.myth-a+.myth-a{margin-top:6px}

/* ---------- こんな方におすすめ ---------- */
.personas{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.persona{background:var(--surface);border-radius:var(--radius);padding:26px;box-shadow:var(--shadow)}
.persona .tnum{display:block;font-family:var(--num);font-weight:800;font-size:13px;color:var(--green-2);letter-spacing:.1em;margin-bottom:10px}
.persona h3{font-size:17px;font-weight:900;margin-bottom:8px}
.persona p{font-size:14.5px;color:var(--ink-2)}

/* ---------- 選ばれる理由 ---------- */
.why-quote{font-size:17px;font-weight:700;color:var(--ink);line-height:1.7}
.why-list li{display:block;padding-left:18px;position:relative;font-weight:400;color:var(--ink-2)}
.why-list li::before{position:absolute;left:0;top:0}
.why-list b{display:block;color:var(--ink);font-size:15.5px}

/* ---------- 料金 ---------- */
.supports{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;counter-reset:sup;margin-bottom:22px!important}
.support{background:var(--green-soft);border-radius:var(--radius-sm);padding:16px 18px;font-weight:700;font-size:14.5px;line-height:1.5;display:flex;gap:10px;align-items:center}
.support::before{counter-increment:sup;content:counter(sup);font-family:var(--num);font-weight:800;flex:none;width:28px;height:28px;border-radius:50%;background:var(--green);color:#fff;display:grid;place-items:center;font-size:14px}
.plans{display:grid;grid-template-columns:repeat(var(--n,3),1fr);gap:18px;align-items:stretch}
.plans[style*="--n:2"]{max-width:900px;margin:0 auto}
.plans[style*="--n:1"]{max-width:460px}
.plan{background:var(--surface);border-radius:28px;padding:32px 28px;box-shadow:var(--shadow);position:relative;overflow:hidden;display:flex;flex-direction:column}
.plan.is-featured{box-shadow:var(--shadow-lg),inset 0 0 0 2px var(--green)}
.plan.is-featured::before{content:"";position:absolute;inset:0 0 auto;height:6px;background:linear-gradient(90deg,var(--green),#3fae7c,var(--amber))}
.plan .price-tag{align-self:flex-start;margin-bottom:12px}
.plan h3{font-size:22px;font-weight:900}
.plan-desc{font-size:14px;color:var(--ink-2);margin-top:8px;min-height:3.2em}
.plan-price{margin:14px 0 18px;padding-bottom:16px;border-bottom:1px solid var(--line)}
.plan-price b{font-size:clamp(30px,3vw,38px);font-weight:800;letter-spacing:-.01em;color:var(--ink)}
.plan-price small{font-size:13px;color:var(--muted);margin-left:4px}
.plan .price-inc{grid-template-columns:1fr;margin:0}
/* 経営管理ビザ：古物商許可・車庫証明の料金表 */
.extra-pricing{margin-top:44px;padding-top:36px;border-top:1px solid var(--line)}
.extra-pricing > h3{font-size:clamp(20px,2.4vw,26px);font-weight:900}
.extra-intro{color:var(--ink-2);font-size:14.5px;margin-top:8px}
.extra-pricing .plans{margin-top:20px}
.plans-sm .plan{padding:26px 24px}
.plans-sm .plan h3{font-size:19px}
.plans-sm .plan-price b{font-size:clamp(26px,2.6vw,32px)}
.extra-link{margin-top:18px}
.plan-note{margin-top:18px;font-size:13.5px;color:var(--ink-2);text-align:center}
.plan-cta{text-align:center;margin-top:30px}

/* ---------- 安心のサポート体制 ---------- */
.promises{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.promises .tile{min-height:0;grid-column:auto;grid-row:auto}

/* ---------- 流れ（6ステップ・本文が長いので3列） ---------- */
.svc-flow{grid-template-columns:repeat(3,1fr)}
.svc-flow .step p{font-size:14px}
.step-hl{margin-top:10px;font-size:13px!important;font-weight:700;color:var(--green)!important;background:var(--green-soft);border-radius:10px;padding:8px 12px}
.step.hl .step-hl{background:rgba(255,255,255,.14);color:#fff!important}

/* ---------- LINE特典 ---------- */
.gift{display:grid;grid-template-columns:1fr auto;gap:32px;align-items:center;background:var(--surface);border-radius:32px;padding:40px 44px;box-shadow:var(--shadow-lg);position:relative;overflow:hidden}
.gift::before{content:"";position:absolute;inset:0 auto 0 0;width:6px;background:var(--line-green)}
.gift .kicker{display:block;margin-bottom:6px}
.gift-badge{display:inline-block;font-size:12px;font-weight:700;color:#04913f;background:#e3f8ea;border-radius:999px;padding:3px 12px;margin-bottom:10px}
.gift h2{font-size:clamp(20px,2.4vw,26px);font-weight:900;margin-bottom:10px}
.gift p{color:var(--ink-2);font-size:15px}
.gift .btn{margin-top:20px}
.gift-note{font-size:12.5px!important;color:var(--muted)!important;margin-top:10px}
.gift-qr{text-align:center}
.gift-qr img{width:140px;height:140px;border-radius:14px;box-shadow:inset 0 0 0 1px var(--line)}
.gift-qr small{display:block;font-size:12px;color:var(--muted);margin-top:6px}

.final-mail a{font-weight:700}

/* 就労ビザ：顧問サービスの案内・外国人雇用インサイトの確認表 */
.adv-card .dealer-img{min-height:300px}
.adv-eyebrow{font-size:12.5px;font-weight:700;color:var(--green-2);margin-bottom:6px}
.adv-price{font-weight:700;color:var(--ink)!important;margin:14px 0 22px}
.insight{margin-top:16px;background:var(--surface);border-radius:var(--radius);padding:28px 32px;box-shadow:var(--shadow)}
.insight .kicker{display:block;margin-bottom:6px}
.insight-badge{background:#e8eef8!important;color:#14213d!important}
.insight h3{font-size:19px;font-weight:900;margin:2px 0 12px}
.insight ul{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:1fr 1fr;gap:8px}
.insight li a{display:block;padding:12px 16px;border-radius:12px;background:var(--bg);box-shadow:inset 0 0 0 1px var(--line);text-decoration:none;font-weight:700;font-size:14.5px;color:#14213d}
.insight li a:hover{box-shadow:inset 0 0 0 1.5px #14213d}
.insight li a::after{content:" ↗";color:var(--muted);font-weight:500}

/* ---------- レスポンシブ ---------- */
@media (max-width:1080px){
  .svc-flow{grid-template-columns:repeat(2,1fr)}
  .supports{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:900px){
  .personas,.promises{grid-template-columns:1fr 1fr}
  .plans,.plans[style*="--n:2"]{grid-template-columns:1fr;max-width:560px;margin:0 auto}
  .plan-desc{min-height:0}
}
@media (max-width:640px){
  .plans[style*="--n:2"],.plans[style*="--n:1"]{max-width:none}
  .extra-pricing{margin-top:32px;padding-top:28px}
  .extra-link .btn{width:100%;white-space:normal}
  .insight{padding:22px 20px}
  .insight ul{grid-template-columns:1fr}
  .adv-card .dealer-img{min-height:180px}
  .svc26-body .hero-card picture img{object-position:62% 30%}
  .svc26-body .hero h1{font-size:27px}
  .svc26-body .chip-card b{font-size:20px}
  .myth{padding:22px 20px}
  .personas,.promises{grid-template-columns:1fr;gap:10px}
  .persona{padding:18px 20px}
  .persona .tnum{margin-bottom:4px}
  .persona h3{font-size:16px}
  .supports{grid-template-columns:1fr;gap:8px}
  .plan{padding:26px 20px;border-radius:22px}
  .plan-price b{font-size:30px}
  .promises .tile{padding:20px 20px 20px 64px}
  .svc-flow{grid-template-columns:1fr}
  .svc-flow .step{grid-template-columns:44px 1fr}
  .svc-flow .step p{font-size:13px}
  .step-hl{grid-column:2}
  .gift{grid-template-columns:1fr;padding:30px 20px;margin-left:-16px;margin-right:-16px;border-radius:0;box-shadow:none}
  .gift-qr{display:none}
  .gift .btn{width:100%}
  .why-quote{font-size:15.5px}
  .final-card h2{font-size:24px}
}


/* =========================================================
 * 「私たちが選ばれる理由」「Our Mission」：従来のサイトと同じ写真の帯（2026-10-28 ご依頼で元のデザインに）
 * assets/css/style.css の .photo-band / .photo-band--why（最終的に効いている値）を、このページ用に写したものです。
 * ========================================================= */
.photo-band{--color-gold:#b8934a;--font-heading:"Shippori Mincho","Noto Serif JP","Hiragino Mincho ProN",serif;position:relative;padding:120px 0;color:#fff;background-color:#14503a;background-image:linear-gradient(100deg,rgba(14,62,42,.84) 0%,rgba(16,70,47,.5) 52%,rgba(16,70,47,.1) 100%),var(--band-image);background-size:cover;background-position:center 62%}
@media (min-width:1025px){.photo-band{background-attachment:fixed}}
.photo-band__inner > *{max-width:680px}
.photo-band__eyebrow{display:inline-flex;align-items:center;gap:12px;font-size:.8rem;font-weight:700;letter-spacing:.28em;text-transform:uppercase;color:var(--color-gold);margin-bottom:18px}
.photo-band__eyebrow::after{content:"";width:48px;height:1px;background:var(--color-gold)}
.photo-band__quote{font-family:var(--font-heading);font-size:clamp(1.5rem,1rem + 2vw,2.4rem);font-weight:700;line-height:1.7;letter-spacing:.04em;margin-bottom:18px}
.photo-band__sub{font-size:1.02rem;margin:0;opacity:.92;letter-spacing:.04em}
.photo-band__quote,.photo-band__sub,.photo-band__title{text-shadow:0 1px 14px rgba(6,30,20,.45)}
.photo-band--why{padding:110px 0;background-image:linear-gradient(260deg,rgba(14,62,42,.88) 0%,rgba(16,70,47,.66) 45%,rgba(16,70,47,.18) 100%),var(--band-image);background-position:center,left center}
.photo-band--why .photo-band__inner{display:flex;flex-direction:column;align-items:flex-end}
.photo-band--why .photo-band__inner > *{width:100%;max-width:600px}
.photo-band__title{font-family:var(--font-heading);font-size:1.05rem;font-weight:600;letter-spacing:.12em;color:rgba(255,255,255,.85);margin:-6px 0 14px}
.photo-band--why .photo-band__quote{font-size:clamp(1.4rem,1rem + 1.5vw,2rem);line-height:1.6}
.photo-band--why .photo-band__sub{font-size:.98rem;line-height:1.95;opacity:.88}
.photo-band__points{display:grid;gap:12px;margin-top:32px}
.photo-band__point{display:flex;gap:14px;align-items:flex-start;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.22);border-radius:12px;padding:18px 20px}
.photo-band__point-icon{flex-shrink:0;width:28px;height:28px;color:var(--color-gold)}
.photo-band__point h3{font-size:1.05rem;color:#fff;margin:0 0 4px}
.photo-band__point p{font-size:.9rem;line-height:1.75;margin:0;opacity:.85}
/* 帯の次のセクションは上の余白を戻す（各セクションは前のセクションとの間を詰めるため padding-top:0 にしてある） */
.photo-band + .sec{padding-top:104px!important}
@media (max-width:700px){
  .photo-band{padding:64px 0;background-position:65% center;background-image:linear-gradient(180deg,rgba(14,62,42,.7) 0%,rgba(16,70,47,.62) 100%),var(--band-image)}
  .photo-band__quote{font-size:clamp(1rem,4.6vw,1.3rem);letter-spacing:.02em}
  .photo-band__sub{font-size:.9rem}
  .photo-band--why{padding:64px 0;background-image:linear-gradient(180deg,rgba(14,62,42,.62) 0%,rgba(16,70,47,.8) 32%,rgba(16,70,47,.86) 100%),var(--band-image);background-size:cover,auto 420px;background-position:center,20% top;background-repeat:no-repeat}
  .photo-band--why .photo-band__inner{align-items:stretch}
  .photo-band--why .photo-band__eyebrow{font-size:.7rem;margin-bottom:12px}
  .photo-band--why .photo-band__title{font-size:1.3rem;font-weight:700;color:#fff;letter-spacing:.08em;margin:0 0 14px}
  .photo-band--why .photo-band__quote{font-size:1.05rem;line-height:1.75;margin-bottom:14px}
  .photo-band--why .photo-band__sub{font-size:.9rem;line-height:1.85}
  .photo-band--why .photo-band__points{margin-top:24px;gap:10px}
  .photo-band__point{padding:14px 16px}
  .photo-band--why .photo-band__point h3{font-size:.9rem;line-height:1.5}
  .photo-band--why .photo-band__point p{font-size:.82rem;line-height:1.75}
  .photo-band__point-icon{width:24px;height:24px}
}
@media (max-width:640px){
  .photo-band + .sec{padding-top:56px!important}
}

/* 「私たちが選ばれる理由」「Our Mission」の帯：文字の種類だけ2026年版に合わせる（明朝体→ページと同じ Noto Sans JP）。大きさ・色・配置は従来の帯のまま（2026-10-28 ご依頼） */
.photo-band .photo-band__title,
.photo-band .photo-band__quote{font-family:var(--font)}

/* 写真を画面の横幅いっぱいに（2026-10-28 トップページで採用→「他のページもフロントページに倣って」で全ページへ）。
   文字は下の内容と同じ幅（1160px）の中にそろえ、特長4つの帯は従来の幅のまま */
@media (min-width:641px){
  .svc26-body .hero{padding-top:0}
  .svc26-body .hero > .wrap{max-width:none;padding:0}
  .svc26-body .hero-card{border-radius:0;box-shadow:none}
  .svc26-body .hero-inner{--hero-pl:max(56px,calc((100vw - var(--max)) / 2 + 36px));padding-left:var(--hero-pl);max-width:calc(var(--hero-pl) + 644px)}
  .svc26-body .trust{max-width:var(--max);margin-left:auto;margin-right:auto;padding:0 20px}
}

/* スマホのヘッダー：ロゴ画像の代わりに、ページの緑に合わせたマーク＋事務所名＋英語名（2026-10-28 ご依頼）。PCは従来のロゴ画像 */
.logo-sp{display:none}
@media (max-width:640px){
  .logo .logo-pc{display:none}
  .logo .logo-sp{display:flex;align-items:center;gap:9px;min-width:0}
  .logo .logo-sp img{width:auto;height:36px;max-width:none;flex:none}
  .logo-sp__text{display:flex;flex-direction:column;min-width:0;line-height:1.2}
  .logo-sp__text b{font-size:19.5px;font-weight:700;color:var(--ink);letter-spacing:.03em;white-space:nowrap} /* 2026-10-28 ご依頼で16px→19.5px */
  .logo-sp__text small{font-size:8.6px;font-weight:500;color:var(--ink-2);letter-spacing:.01em;white-space:nowrap;margin-top:3px}
}

/* スマホ：写真の下の緑を少し暗く（2026-10-28 トップページで調整→「各ページともフロントページに倣って」で全ページへ。元の値は shako-2026.css の #14603f→#0d4630）。PC版は変更なし */
/* 2026-10-30「スマホ版は緑が強すぎる」→ 鮮やかさを抑えた落ち着いた緑に（写真の下・最後の相談の枠・フッター）。前の値は #0e4f36→#0a3826 */
@media (max-width:640px){
  .svc26-body .hero-card{background:linear-gradient(180deg,#264a3d 0%,#1c3a30 100%)}
  .svc26-body .hero-card::before{background:linear-gradient(180deg,rgba(38,74,61,0) 55%,#264a3d 100%)}
  .svc26-body .final-card{background:radial-gradient(120% 140% at 0% 0%,#3a6352 0%,#2a5242 40%,#1c3a30 100%)}
  .svc26-body .final-card::after{background:radial-gradient(circle,rgba(170,205,185,.22),transparent 65%)}
  .svc26-body .ftr26{background:linear-gradient(180deg,#264a3d 0%,#1c3a30 100%)}
}

/* 受付の2つの窓口（template-parts/reception-2026.php。トップ・ビザ申請サービスページの最後のお問い合わせ欄）2026-11-01
   ① お問い合わせ（白）／② 無料カウンセリング（生成り＋金の枠）で色を分ける */
.rcp-cards{display:grid;grid-template-columns:1fr 1fr;gap:18px;max-width:880px;margin:40px auto 0;text-align:left}
.rcp-card{background:#fff;color:var(--ink);border-radius:26px;padding:30px 28px 26px;display:flex;flex-direction:column}
.rcp-card--cns{background:#fffaf0;box-shadow:inset 0 0 0 2px var(--amber)}
.rcp-num{font-family:var(--num);font-weight:800;font-size:13px;letter-spacing:.14em;color:var(--green-2)}
.rcp-card h3{font-size:22px;font-weight:900;margin:2px 0 8px;line-height:1.4}
.final-card .rcp-lead{color:var(--ink-2);font-size:14.5px;margin:0;max-width:none}
.rcp-list{list-style:none;margin:16px 0 22px;padding:0;display:grid;gap:8px;font-size:14.5px;font-weight:500;line-height:1.6}
.rcp-list li{display:flex;gap:10px;align-items:flex-start}
.rcp-list li::before{content:"";flex:none;width:18px;height:18px;border-radius:50%;margin-top:3px;background:var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/11px no-repeat}
.rcp-card .btn{margin-top:auto;width:100%}
.rcp-card .btn-form{background:var(--amber);color:var(--ink);box-shadow:0 10px 24px -10px rgba(244,183,64,.8)}
.rcp-card .btn-form:hover{background:#f1aa22}
.rcp-sub{display:inline-flex;align-items:center;justify-content:center;gap:6px;margin-top:12px;font-size:14px;font-weight:700;color:#05a447;text-decoration:none}
.rcp-sub svg{width:18px;height:18px}
.final-card.rcp .final-mail a{font-family:var(--num);font-size:16px}
.rcp-nw{display:inline-block}
@media (max-width:760px){
  .rcp-cards{grid-template-columns:1fr;gap:14px;margin-top:28px}
  .rcp-card{padding:24px 20px 22px;border-radius:22px}
  .rcp-card h3{font-size:20px}
}

/* 写真のすぐ下の2つの窓口（placement 'top'）：明るい背景の上なので、カードに影と線を付ける（2026-11-01） */
.rcp-top{padding:56px 0 8px}
.rcp-top .sec-head{text-align:center;margin-left:auto;margin-right:auto}
.rcp-top .rcp-cards{margin-top:0}
.rcp-top .rcp-card{box-shadow:var(--shadow),inset 0 0 0 1px var(--line)}
.rcp-top .rcp-card--cns{box-shadow:var(--shadow),inset 0 0 0 2px var(--amber)}
.rcp-top .rcp-lead{color:var(--ink-2);font-size:14.5px;margin:0}
@media (max-width:640px){
  .rcp-top{padding:36px 0 0}
}

/* ヘッダーの「お問い合わせ」「無料カウンセリング」ボタン（2026-11-01）。
   幅が足りない画面では、電話番号→ページ内メニューの順に省く（電話番号は最後のお問い合わせ欄・画面下のボタンにあり）。スマホは画面下のボタンを使う */
.hdr .btn{white-space:nowrap}
.hdr .btn-form,.hero-ctas .btn-form,.mbar .btn-form{background:var(--amber);color:var(--ink);box-shadow:0 10px 24px -10px rgba(244,183,64,.8)}
.hdr .btn-form:hover,.hero-ctas .btn-form:hover,.mbar .btn-form:hover{background:#f1aa22}
.mbar .btn-form{box-shadow:none}
.hdr-cta{gap:10px}
.hdr .nav a{white-space:nowrap}
/* 広い画面（1480px〜）：ヘッダーだけ横幅を広げ、メニュー・電話番号・ボタンをすべて表示 */
@media (min-width:1480px){
  .hdr > .wrap{max-width:none;padding:0 40px}
}
/* 〜1479px：ページ内メニューを省く／〜1179px：電話番号も省く／〜760px：ENも省く／〜720px：「お問い合わせ」も省く（スマホは画面下のボタン） */
@media (max-width:1479px){
  .hdr .nav{display:none}
  .hdr .hdr-cta{margin-left:auto}
}
@media (max-width:1179px){
  .hdr .hdr-tel{display:none}
}
@media (max-width:720px){
  .hdr .hdr-inq{display:none}
}
@media (max-width:760px){
  .hdr .lang{display:none}
}

/* スマホ下部の固定ボタン：電話を外し、「お問い合わせ」「カウンセリング予約」を隙間なく2等分で並べる（2026-11-01 ご依頼） */
.mbar{grid-template-columns:1fr 1fr;gap:0}
.mbar a{border-radius:0}
/* 周りの余白・白い枠・角丸もなくし、画面の下端・左右いっぱいに（2026-11-01 ご依頼）。iPhoneの下端のバーの分はボタンの中で空ける */
.mbar{left:0;right:0;bottom:0;padding:0;border-radius:0;background:none;backdrop-filter:none;-webkit-backdrop-filter:none}
.mbar a{min-height:calc(56px + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom);box-shadow:none}
/* 幅100%：2つのボタンを常に半分ずつに固定（文字の長さで広がって左右にはみ出さないように。2026-11-01 ご指摘） */
.mbar{width:100%;max-width:100vw;box-sizing:border-box;grid-template-columns:repeat(2,minmax(0,1fr))}
.mbar a{min-width:0;width:100%;box-sizing:border-box;padding-left:6px;padding-right:6px;font-size:clamp(12px,3.6vw,14px);white-space:nowrap;overflow:hidden;transform:none}

/* スマホのファーストビュー：写真の下の緑を少し明るく（2026-11-01「緑が目立ちすぎる」→明るい背景版は「前の方がいい」で取りやめ、前の緑を少し明るくした）。
   前の値は #264a3d→#1c3a30 */
@media (max-width:640px){
  .svc26-body .hero-card{background:linear-gradient(180deg,#36604f 0%,#2b5040 100%)}
  .svc26-body .hero-card::before{background:linear-gradient(180deg,rgba(54,96,79,0) 55%,#36604f 100%)}
}

/* スマホのファーストビュー：写真の下の緑に透明度をつけて、生成りの背景がうっすら透ける柔らかい緑に（2026-11-01「まだ緑がきつい」）。
   前の値は #36604f→#2b5040（不透明）。写真の下端のぼかしは、透けた後の色に合わせています。
   11-01 追記「透明度を少しだけ下げて」：.80→.86／.86→.90（さらに提案で下側を.92に）、ぼかしの色 #5d7e70→#517566 */
@media (max-width:640px){
  .svc26-body .hero-card{background:linear-gradient(180deg,rgba(54,96,79,.86) 0%,rgba(43,80,64,.92) 100%)}
  .svc26-body .hero-card::before{background:linear-gradient(180deg,rgba(81,117,102,0) 55%,#517566 100%)}
}

/* スマホのヘッダーを英語版と同じ形に（2026-11-01 ご依頼「英語版のほうがいい」）：白地・従来のロゴ画像（高さ28px）・右端に☰メニュー。
   ☰の中に、ページ内メニュー・English（トップのみ）・お問い合わせ・無料カウンセリングを予約。PC（761px〜）は従来どおり */
.hdr-toggle,.hdr .nav .nav-sp{display:none}
@media (max-width:760px){
  .hdr,.hdr.scrolled{background:#fff;border-bottom:1px solid var(--line);backdrop-filter:none;-webkit-backdrop-filter:none}
  .hdr .wrap{height:56px;gap:10px}
  .logo{flex:1;min-width:0}
  .logo .logo-pc{display:block}
  .logo .logo-sp{display:none}
  .logo .logo-pc img{height:28px;width:auto;max-width:100%}
  .hdr .hdr-cta{display:none}
  .hdr-toggle{display:inline-flex;align-items:center;justify-content:center;flex:none;width:44px;height:44px;margin-right:-8px;padding:0;background:none;border:0;color:var(--ink);cursor:pointer}
  .hdr-toggle svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
  .hdr .nav{display:none}
  .hdr.menu-open .nav{display:flex;flex-direction:column;gap:0;position:absolute;top:100%;left:0;right:0;background:#fff;padding:4px 20px 16px;border-bottom:1px solid var(--line);box-shadow:0 12px 24px rgba(0,0,0,.08)}
  .hdr.menu-open .nav a{display:block;padding:13px 0;border-bottom:1px solid var(--line);font-size:15px;font-weight:500;color:var(--ink);text-decoration:none;border-radius:0;background:none}
  .hdr.menu-open .nav a:last-child{border-bottom:0}
  .hdr .nav .nav-sp{display:block}
}

/* スマホ（2026-11-01 ご依頼）：写真の下の「お問い合わせ」「無料カウンセリングを予約」ボタンは出さない（下部のボタンと重複するため。PCは従来どおり）。
   下部の「お問い合わせ／カウンセリング予約」は、少しスクロールすると下から出てくる形（各LPの形）にそろえ、動きを滑らかに（下からすっと上がりながらふわっと表示） */
@media (max-width:640px){
  .hero-ctas{display:none}
  .mbar{transform:translateY(100%);opacity:0;visibility:hidden;will-change:transform,opacity;
    transition:transform .55s cubic-bezier(.22,1,.36,1),opacity .4s ease,visibility 0s linear .55s}
  .mbar.show{transform:none;opacity:1;visibility:visible;
    transition:transform .55s cubic-bezier(.22,1,.36,1),opacity .4s ease,visibility 0s}
}

/* スマホ：料金の下の「まずは無料カウンセリングで費用を確認する」ボタンが画面より広くなり、ページ全体が左にずれていた（2026-11-01 ご指摘）。
   画面幅に収め、文字が長いときは折り返す（顧問サービスのページと同じ指定） */
@media (max-width:640px){
  .plan-cta .btn{width:100%;max-width:100%;white-space:normal;text-align:center;line-height:1.5;padding-top:10px;padding-bottom:10px}
}

/* PC版の最初の画面の配色（2026-11-02 トップページで決定→「このデザインで全ページそろえて」）。
   黄色を控えめにしてコーポレートカラーの緑に：写真に重ねる色を黒っぽい緑→深緑（左を濃く、人物の手前で透明に）、
   写真はコントラストと鮮やかさを少し上げ、バッジ＝明るい緑、キャッチコピー＝やわらかい金色、説明文は白。11-02「もう少し深い緑」「キャッチコピーをはっきり」で 深緑 rgba(10,72,46)→rgba(6,56,35)、金 #f1d48a→#f7cf63＋薄い影。
   戻すときはこのブロックを消す（旧版 _バックアップ/pc-hero-color-all-before-20261102） */
@media (min-width:641px){
  .svc26-body .hero-card::before{background:linear-gradient(90deg,rgba(6,56,35,.95) 0%,rgba(8,62,39,.90) 36%,rgba(11,74,47,.40) 54%,rgba(11,74,47,0) 70%),linear-gradient(0deg,rgba(5,40,25,.28),transparent 32%)}
  .svc26-body .hero-card picture img{filter:contrast(1.08) saturate(1.1)}
  .svc26-body .hero .eyebrow i{background:#3fa66d;color:#fff}
  .svc26-body .hero h1 em{background:none;color:#f7cf63;text-shadow:0 1px 2px rgba(0,30,15,.35)}
  .svc26-body .hero-lead{color:#fff}
  .svc26-body .hero-meta{color:rgba(255,255,255,.95)}
  /* ボタン：ヘッダーの予約＝緑（お問い合わせは白地に緑の枠）、写真の上＝白地に緑の文字（もう一方は白の枠線だけ） */
  .svc26-body .hdr .hdr-cns{background:var(--green);color:#fff;box-shadow:0 10px 24px -10px rgba(20,96,63,.8)}
  .svc26-body .hdr .hdr-cns:hover{background:#0f4f33}
  .svc26-body .hdr .hdr-inq{background:#fff;color:var(--green);box-shadow:inset 0 0 0 1.5px var(--green)}
  .svc26-body .hdr .hdr-inq:hover{background:#eef6f1}
  .svc26-body .hero-ctas .btn-form{background:#fff;color:var(--green);box-shadow:0 12px 28px -12px rgba(0,0,0,.45)}
  .svc26-body .hero-ctas .btn-form:hover{background:#eef6f1}
  .svc26-body .hero-ctas .btn-ghost{background:transparent;color:#fff;box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.75)}
  .svc26-body .hero-ctas .btn-ghost:hover{background:rgba(255,255,255,.12);box-shadow:inset 0 0 0 1.5px #fff}
}

/* スマホ：写真の下の緑を、PC版と同じ「深い森の緑」の系統に（2026-11-02「信頼感を上げる」提案①）。
   前の値は rgba(54,96,79,.86)→rgba(43,80,64,.92)（灰緑）。鮮やかさは抑えた深い緑なので、以前の「きつい」緑（#14603f）とは別物 */
@media (max-width:640px){
  .svc26-body .hero-card{background:linear-gradient(180deg,rgba(16,64,44,.88) 0%,rgba(10,56,37,.94) 100%)}
  .svc26-body .hero-card::before{background:linear-gradient(180deg,rgba(44,86,68,0) 55%,#2c5644 100%)}
  /* 提案②：下部の「無料カウンセリング予約」を黄色→深い緑、「お問い合わせ」を白地に緑の文字（PC版のヘッダーと同じ組み合わせ） */
  .svc26-body .mbar .btn-form{background:#184331;color:#fff}
  .svc26-body .mbar .btn-form:hover{background:#0f3324}
  .svc26-body .mbar .btn-primary{background:#fff;color:#184331;box-shadow:inset 0 1px 0 #d9e3dd}
}

/* スマホの最初の画面：縦長の写真を画面いっぱいに敷き、文字を写真の上に重ねる（2026-11-02 ご依頼。トップと5つのビザページ）。
   上＝バッジ・タイトル・キャッチコピー・説明文（文字の後ろだけ深い緑）、中央＝人物（写真のまま）、下＝チェック4項目と登録番号（下端も深い緑）。
   写真は *-sp.webp（人物が下寄りの縦長）。以前の「写真が上・緑の枠が下」と、配偶者ビザだけの写真位置（15% 30%）はこれで置き換え。
   戻すときはこのブロックを消し、home-lp-2026.php・service-lp-2026.php を _バックアップ/mobile-photo-hero-before-20261102 から戻す */
@media (max-width:640px){
  .svc26-body .hero-card{display:flex;flex-direction:column;min-height:760px;min-height:max(760px,calc(100svh - 56px));background:#0e3a28;border-radius:0}
  .svc26-body .hero-card picture{position:absolute;inset:0;height:auto}
  .svc26-body .hero-card picture img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 100%;filter:contrast(1.06) saturate(1.08)}
  .svc26-body .hero-card::before{inset:0;height:auto;z-index:-1;background:linear-gradient(180deg,rgba(6,56,35,.90) 0%,rgba(8,62,39,.82) 30%,rgba(11,74,47,.42) 45%,rgba(11,74,47,0) 57%,rgba(11,74,47,0) 68%,rgba(6,56,35,.80) 85%,rgba(6,56,35,.95) 100%)}
  .svc26-body .hero-inner{flex:1;display:flex;flex-direction:column;align-items:flex-start;padding:26px 20px 22px;margin-top:0}
  .svc26-body .hero .eyebrow{background:rgba(255,255,255,.14)}
  .svc26-body .hero .eyebrow i{background:#3fa66d;color:#fff}
  .svc26-body .hero h1,.svc26-body .hero-lead,.svc26-body .hero-meta{text-shadow:0 1px 12px rgba(4,30,18,.55)}
  .svc26-body .hero h1 em{color:#f7cf63}
  .svc26-body .hero-lead{color:#fff}
  .svc26-body .hero-meta{margin-top:auto;padding-top:18px;width:100%;color:#fff}
  .svc26-body .hero-cred{width:100%;max-width:none}
}

/* 11-02 追記（スマホ日本語版の写真全面の調整）：
   ①キャッチコピーを1行に（画面幅に合わせて文字を少し小さく、折り返さない）
   ②説明文と写真の人物の頭が離れすぎ→画面の高さ（100svh）に合わせるのをやめ、写真の自然な高さに近い 640px に縮めて詰める
   ③一番上の「全国・海外対応」バッジは削除（下の特長カードにも同じ内容があるため）。その分、文字を上へ */
@media (max-width:640px){
  .svc26-body .hero-card{min-height:640px}
  .svc26-body .hero .eyebrow{display:none}
  .svc26-body .hero-inner{padding-top:22px}
  .svc26-body .hero h1{margin-top:0}
  .svc26-body .hero h1 em{white-space:nowrap;font-size:clamp(12px,3.85vw,16px);letter-spacing:0}
  /* 写真を上へずらして（--lift）人物の頭を説明文に近づける。ずらした分の下は深い緑で、チェック4項目と登録番号の背景になる。
     人物の位置は写真ごとに違うので、ずらす量はページごと（数値が大きいほど人物が上へ） */
  .svc26-body .hero-card{--lift:60px}
  body[data-cta-prefix="home"] .hero-card{--lift:80px}
  body[data-cta-prefix="spouse"] .hero-card{--lift:110px}
  body[data-cta-prefix="family"] .hero-card{--lift:120px}
  body[data-cta-prefix="employment"] .hero-card{--lift:75px}
  body[data-cta-prefix="business"] .hero-card{--lift:185px}
  body[data-cta-prefix="permanent"] .hero-card{--lift:70px}
  /* 写真の下端は深い緑に溶け込ませる（ずらした写真の切れ目が線に見えないように） */
  .svc26-body .hero-card{background:#063823}
  .svc26-body .hero-card picture img{transform:translateY(calc(-1 * var(--lift)));-webkit-mask-image:linear-gradient(180deg,#000 calc(100% - 150px),transparent 100%);mask-image:linear-gradient(180deg,#000 calc(100% - 150px),transparent 100%)}
  .svc26-body .hero-card::before{background:
    linear-gradient(180deg,rgba(6,56,35,.90) 0%,rgba(8,62,39,.82) 34%,rgba(11,74,47,.42) 46%,rgba(11,74,47,0) 56%),
    linear-gradient(0deg,rgba(6,56,35,.97) 0,rgba(6,56,35,.97) var(--lift),rgba(6,56,35,.80) calc(var(--lift) + 60px),rgba(6,56,35,0) calc(var(--lift) + 170px))}
}

/* 11-02 追記2（スマホ日本語版の最初の画面）：
   ・キャッチコピーを画面幅いっぱいに、できるだけ大きく（文字数 --tl で幅を割った大きさ。上限22px）
   ・人物の頭を説明文にさらに近づける（--lift を各ページ +35px 前後）
   ・最初の画面（スマホのブラウザで見える高さ＝100svh）に写真部分が全部収まる高さに（ヘッダー56pxを引いた高さ。580〜660px） */
@media (max-width:640px){
  .svc26-body .hero-card{min-height:600px;min-height:clamp(580px,calc(100svh - 56px),660px)}
  .svc26-body .hero h1 em{display:block;width:100%;font-size:min(22px,calc((100vw - 40px) / var(--tl,20)));letter-spacing:0;margin-top:8px}
  .svc26-body .hero-lead{margin-top:10px}
  .svc26-body .hero-meta{padding-top:12px}
  body[data-cta-prefix="home"] .hero-card{--lift:105px}
  body[data-cta-prefix="spouse"] .hero-card{--lift:145px}
  body[data-cta-prefix="family"] .hero-card{--lift:150px}
  body[data-cta-prefix="employment"] .hero-card{--lift:92px}
  body[data-cta-prefix="business"] .hero-card{--lift:215px}
  body[data-cta-prefix="permanent"] .hero-card{--lift:100px}
}

/* 11-02 追記3（スマホ日本語版）：①写真を少し下へ（--lift を各ページ 30px 小さく）
   ②写真の「もや」を減らす：上の緑は文字の後ろだけに縮め、下の緑も人物にかかる幅を短く。写真のコントラストを少し上げ、下端のぼかしも短く */
@media (max-width:640px){
  body[data-cta-prefix="home"] .hero-card{--lift:75px}
  body[data-cta-prefix="spouse"] .hero-card{--lift:92px}
  body[data-cta-prefix="family"] .hero-card{--lift:120px}
  body[data-cta-prefix="employment"] .hero-card{--lift:62px}
  body[data-cta-prefix="business"] .hero-card{--lift:185px}
  body[data-cta-prefix="permanent"] .hero-card{--lift:70px}
  .svc26-body .hero-card::before{background:
    linear-gradient(180deg,rgba(6,56,35,.90) 0%,rgba(8,62,39,.80) 32%,rgba(11,74,47,.22) 43%,rgba(11,74,47,0) 50%),
    linear-gradient(0deg,rgba(6,56,35,.97) 0,rgba(6,56,35,.97) var(--lift),rgba(6,56,35,.78) calc(var(--lift) + 45px),rgba(6,56,35,0) calc(var(--lift) + 120px))}
  .svc26-body .hero-card picture img{filter:contrast(1.12) saturate(1.12);-webkit-mask-image:linear-gradient(180deg,#000 calc(100% - 100px),transparent 100%);mask-image:linear-gradient(180deg,#000 calc(100% - 100px),transparent 100%)}
}

/* 11-02 追記4（スマホ日本語版）：
   ①もやを就労ビザのページに合わせる（配偶者ビザは除く）。就労ビザは写真自体がくっきりしているため、
     ほかのページは写真の背景のぼけ（明るくかすんだ部分）を、コントラストを上げ明るさを少し落として締める
   ②キャッチコピーの文字の大きさを、いちばん長い経営管理ビザ（22文字・画面幅いっぱい）に全ページそろえる */
@media (max-width:640px){
  body[data-cta-prefix="home"] .hero-card picture img,
  body[data-cta-prefix="business"] .hero-card picture img{filter:contrast(1.24) saturate(1.16) brightness(.93)}
  body[data-cta-prefix="family"] .hero-card picture img{filter:contrast(1.2) saturate(1.14) brightness(.95)}
  body[data-cta-prefix="permanent"] .hero-card picture img{filter:contrast(1.16) saturate(1.1) brightness(.97)}
  .svc26-body .hero h1 em{font-size:min(16px,calc((100vw - 40px) / 23.6))} /* 「〜」「・」が1文字より少し広いため、22 ではなく少し余裕をみて 23.6 で割る */
}

/* 11-02 追記5（スマホ）：経営管理ビザとトップの写真を、就労ビザと同じ構成に。
   縦長の写真（*-sp.webp）は上のほうがぼかしで足してあり、くっきりした部分は就労ビザ＝下62%、経営管理＝下38%、トップ＝下45%だけ。
   経営管理とトップは写真を拡大して、くっきりした部分が説明文のすぐ下から始まるようにする（ぼかし部分は文字の後ろの緑に隠れる）。
   --img-h＝写真の高さ、--img-top＝写真の上端の位置（マイナス＝画面より上にはみ出す） */
@media (max-width:640px){
  body[data-cta-prefix="business"] .hero-card{--img-h:700px;--img-top:-239px} /* 11-02「もう少し引いて」960→840→「もっと引いて」700px */
  body[data-cta-prefix="home"] .hero-card{--img-h:610px;--img-top:-100px} /* 11-02「もう少し引いて」790→700→640→610px（画面幅390pxを覆える下限）、少し下げる */
  body[data-cta-prefix="business"] .hero-card picture img,
  body[data-cta-prefix="home"] .hero-card picture img{inset:auto;top:var(--img-top);left:50%;width:auto;max-width:none;height:var(--img-h);min-width:100%;object-fit:cover;object-position:50% 100%;transform:translateX(-50%);filter:contrast(1.12) saturate(1.12)}
  body[data-cta-prefix="business"] .hero-card,
  body[data-cta-prefix="home"] .hero-card{--lift:80px}
}
/* ↑写真を引くと、幅の広いスマホ（430pxなど）では写真の幅が足りなくなるため、min-width:100% で常に画面幅いっぱいに（はみ出す分は上下を切る） */

/* 11-02 家族滞在：写真の下のほうのもや（深い緑へのぼかし）を下げる。ぼかしの幅を短くして、家族にかかる範囲を減らす（写真の位置はそのまま） */
@media (max-width:640px){
  body[data-cta-prefix="family"] .hero-card picture img{-webkit-mask-image:linear-gradient(180deg,#000 calc(100% - 45px),transparent 100%);mask-image:linear-gradient(180deg,#000 calc(100% - 45px),transparent 100%)}
  body[data-cta-prefix="family"] .hero-card::before{background:
    linear-gradient(180deg,rgba(6,56,35,.90) 0%,rgba(8,62,39,.80) 32%,rgba(11,74,47,.22) 43%,rgba(11,74,47,0) 50%),
    linear-gradient(0deg,rgba(6,56,35,.97) 0,rgba(6,56,35,.97) calc(var(--lift) - 15px),rgba(6,56,35,.6) calc(var(--lift) + 15px),rgba(6,56,35,0) calc(var(--lift) + 55px))}
}

/* 11-02 トップ「写真を少し引いて、少しだけ右に寄せて」：縦長の写真では引ける限界だったため、スマホも横長の写真（home.webp・全体がくっきり）に。
   説明文のすぐ下（--img-top）に高さ --img-h で置き、女性の中心が画面の左から57.7%（中央より少し右）に来るよう横位置を決める
   （home.webp では女性の中心が写真の左から72%＝290px高のとき492px）。写真の上端・下端は深い緑に溶かす */
@media (max-width:640px){
  body[data-cta-prefix="home"] .hero-card{--img-h:290px;--img-top:212px} /* 11-02「頭と説明文の間を詰めて」238→212px */
  body[data-cta-prefix="home"] .hero-card picture img{left:calc(57.7vw - 492px);transform:none;min-width:0;object-fit:fill;
    -webkit-mask-image:linear-gradient(180deg,transparent 0,#000 50px,#000 calc(100% - 70px),transparent 100%);mask-image:linear-gradient(180deg,transparent 0,#000 50px,#000 calc(100% - 70px),transparent 100%)}
}

/* 11-02 トップ「写真の上のもやのかけ方を他のページ同様に」：横長の写真の上に何もなく暗い帯になっていたため、
   写真の後ろ（picture の背景）に縦長の写真 home-sp.webp（上のほうが窓のぼかし）を敷き、横長の写真の上端をそこへ溶かす。
   他のページと同じく、説明文の後ろから写真がうっすら現れる見え方になる */
@media (max-width:640px){
  body[data-cta-prefix="home"] .hero-card picture{background:url(../images/hero/home-sp.webp) 50% 0/100% auto no-repeat}
  body[data-cta-prefix="home"] .hero-card picture img{-webkit-mask-image:linear-gradient(180deg,transparent 0,#000 90px,#000 calc(100% - 70px),transparent 100%);mask-image:linear-gradient(180deg,transparent 0,#000 90px,#000 calc(100% - 70px),transparent 100%)}
}

/* 11-02 トップ「写真の上部のもやを少しだけ上に」：文字の後ろの緑が消える位置を少し上へ（50%→45%）、写真の上端のぼかしも短く（90px→55px） */
@media (max-width:640px){
  body[data-cta-prefix="home"] .hero-card::before{background:
    linear-gradient(180deg,rgba(6,56,35,.90) 0%,rgba(8,62,39,.80) 29%,rgba(11,74,47,.22) 39%,rgba(11,74,47,0) 45%),
    linear-gradient(0deg,rgba(6,56,35,.97) 0,rgba(6,56,35,.97) var(--lift),rgba(6,56,35,.78) calc(var(--lift) + 45px),rgba(6,56,35,0) calc(var(--lift) + 120px))}
  body[data-cta-prefix="home"] .hero-card picture img{-webkit-mask-image:linear-gradient(180deg,transparent 0,#000 55px,#000 calc(100% - 70px),transparent 100%);mask-image:linear-gradient(180deg,transparent 0,#000 55px,#000 calc(100% - 70px),transparent 100%)}
}

/* 11-02「フロント・配偶者ビザ・就労ビザのトップ写真を少し引いて」（約90%に縮小）
   トップ：横長の写真の高さ 290→262px（女性の顔の位置はほぼそのまま。幅の広いスマホでも右端が切れないよう left に下限）。
   配偶者・就労：縦長の写真は画面幅いっぱいで引ける限界のため、写真を約90%に縮めて中央に置き、
   左右にできるすき間には同じ写真をぼかして敷く（picture::before）。写真の左右の端はぼかしへ溶かす。
   戻すときはこのブロックを消す（_バックアップ/zoomout-3pages-before-20261102） */
@media (max-width:640px){
  body[data-cta-prefix="home"] .hero-card{--img-h:262px;--img-top:222px}
  body[data-cta-prefix="home"] .hero-card picture img{left:max(calc(57.7vw - 445px),calc(100vw - 618px))}

  body[data-cta-prefix="spouse"] .hero-card{--img-h:550px;--img-top:-59px}
  body[data-cta-prefix="employment"] .hero-card{--img-h:550px;--img-top:-34px}
  body[data-cta-prefix="spouse"] .hero-card picture img,
  body[data-cta-prefix="employment"] .hero-card picture img{inset:auto;top:var(--img-top);left:50%;width:auto;max-width:none;height:var(--img-h);min-width:0;object-fit:cover;transform:translateX(-50%);
    -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 24px,#000 calc(100% - 24px),transparent 100%),linear-gradient(180deg,#000 calc(100% - 100px),transparent 100%);
    -webkit-mask-composite:source-in;
    mask-image:linear-gradient(90deg,transparent 0,#000 24px,#000 calc(100% - 24px),transparent 100%),linear-gradient(180deg,#000 calc(100% - 100px),transparent 100%);
    mask-composite:intersect}
  body[data-cta-prefix="spouse"] .hero-card picture,
  body[data-cta-prefix="employment"] .hero-card picture{overflow:hidden}
  body[data-cta-prefix="spouse"] .hero-card picture::before,
  body[data-cta-prefix="employment"] .hero-card picture::before{content:"";position:absolute;z-index:-3;left:-30px;right:-30px;top:var(--img-top);height:var(--img-h);background:50% 100%/cover no-repeat;filter:blur(14px) brightness(.9);
    -webkit-mask-image:linear-gradient(180deg,#000 calc(100% - 100px),transparent 100%);mask-image:linear-gradient(180deg,#000 calc(100% - 100px),transparent 100%)}
  body[data-cta-prefix="spouse"] .hero-card picture::before{background-image:url(../images/hero/spouse-sp.webp)}
  body[data-cta-prefix="employment"] .hero-card picture::before{background-image:url(../images/hero/employment-sp.webp)}
}

/* 11-02「経営管理ビザのトップ写真ももっと引いて」：写真の高さ 700→580px。画面幅より細くなるため、
   配偶者・就労と同じく左右のすき間は同じ写真のぼかしで埋める。戻すときはこのブロックを消す（_バックアップ/business-zoomout-before-20261102） */
@media (max-width:640px){
  body[data-cta-prefix="business"] .hero-card{--img-h:580px;--img-top:-125px}
  body[data-cta-prefix="business"] .hero-card picture img{min-width:0;
    -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 24px,#000 calc(100% - 24px),transparent 100%),linear-gradient(180deg,#000 calc(100% - 100px),transparent 100%);
    -webkit-mask-composite:source-in;
    mask-image:linear-gradient(90deg,transparent 0,#000 24px,#000 calc(100% - 24px),transparent 100%),linear-gradient(180deg,#000 calc(100% - 100px),transparent 100%);
    mask-composite:intersect}
  body[data-cta-prefix="business"] .hero-card picture{overflow:hidden}
  body[data-cta-prefix="business"] .hero-card picture::before{content:"";position:absolute;z-index:-3;left:-30px;right:-30px;top:var(--img-top);height:var(--img-h);background:url(../images/hero/business-sp.webp) 50% 100%/cover no-repeat;filter:blur(14px) brightness(.9);
    -webkit-mask-image:linear-gradient(180deg,#000 calc(100% - 100px),transparent 100%);mask-image:linear-gradient(180deg,#000 calc(100% - 100px),transparent 100%)}
}

/* 11-02 スマホ4点（戻すときはこのブロックを消し、_バックアップ/mobile-4changes-before-20261102 の family-sp.webp・service-lp-2026.php も戻す）
   ①家族滞在：縦長の写真 family-sp.webp を高解像度の元写真（family.webp）から作り直し（900×1400→1350×2100。以前は小さい写真を拡大していたためイラストのように見えた）。
     人物を写真の下端まで下げたので、その分を少し（15px）上へずらす（写真の下端が上がりすぎないよう、人物は以前より少し下）。コントラストの強調も控えめに
   ②経営管理：スマホも横長の写真（business.webp・腰まで写っている）に切り替えてさらに引く。トップと同じ作り（後ろに縦長の写真を敷く）
   ③トップ：写真の高さ 262→245px（顔の位置はそのまま）
   ④配偶者：写真の高さ 550→515px、少し左へ（12px） */
@media (max-width:640px){
  body[data-cta-prefix="family"] .hero-card picture img{transform:translateY(calc(-1 * var(--lift) - 15px));filter:contrast(1.08) saturate(1.06)}

  body[data-cta-prefix="business"] .hero-card{--img-h:330px;--img-top:215px}
  body[data-cta-prefix="business"] .hero-card picture::before{content:none}
  body[data-cta-prefix="business"] .hero-card picture{background:url(../images/hero/business-sp.webp) 50% 0/100% auto no-repeat}
  body[data-cta-prefix="business"] .hero-card picture img{left:max(calc(50vw - 493px),calc(100vw - 759px));transform:none;object-fit:fill;
    -webkit-mask-composite:source-over;mask-composite:add;
    -webkit-mask-image:linear-gradient(180deg,transparent 0,#000 55px,#000 calc(100% - 70px),transparent 100%);mask-image:linear-gradient(180deg,transparent 0,#000 55px,#000 calc(100% - 70px),transparent 100%)}

  body[data-cta-prefix="home"] .hero-card{--img-h:245px;--img-top:228px}
  body[data-cta-prefix="home"] .hero-card picture img{left:max(calc(57.7vw - 416px),calc(100vw - 578px))}

  body[data-cta-prefix="spouse"] .hero-card{--img-h:515px;--img-top:-39px}
  body[data-cta-prefix="spouse"] .hero-card picture img{left:calc(50% - 12px)}
}

/* 11-02 スマホ5点（戻すときはこのブロックを消し、_バックアップ/mobile-5changes-before-20261102 の3ファイルを戻す）
   ①全ページ：写真の下のチェック4項目を削除し、その分（70px）最初の画面を短くして登録番号の行と下のカードを上へ。
     写真の位置は画面の高さに左右されないよう、すべて「上端の位置（--img-top）と高さ（--img-h）」で指定。--lift（下の緑の帯の高さ）は70px減らす。
     トップ・経営管理・就労の横長写真の後ろに敷いた縦長写真が、背の高いスマホで写真の下からはみ出して重なって見えていたため、写真の下は深い緑で覆う
   ②配偶者：少し右へ（左へ12px→4px）
   ③家族滞在：少し左へ（family-sp.webp の人物の位置を約10px左に作り直し）
   ④就労：スマホも横長の写真（employment.webp）に切り替えて引く（service-lp-2026.php）
   ⑤経営管理：写真の高さ 330→300px
   背の高いスマホでも緑の帯が長くなりすぎないよう、最初の画面の高さは最大545px */
@media (max-width:640px){
  .svc26-body .hero-meta{display:none}
  .svc26-body .hero-cred{margin-top:auto;padding-top:14px}
  .svc26-body .hero-card{min-height:530px;min-height:clamp(510px,calc(100svh - 126px),545px)}

  body[data-cta-prefix="home"] .hero-card{--lift:10px}
  body[data-cta-prefix="business"] .hero-card{--lift:10px;--img-h:300px;--img-top:219px}
  body[data-cta-prefix="spouse"] .hero-card{--lift:22px}
  body[data-cta-prefix="employment"] .hero-card{--lift:20px;--img-h:260px;--img-top:205px}
  body[data-cta-prefix="family"] .hero-card{--lift:50px;--img-h:608px;--img-top:-135px}
  body[data-cta-prefix="permanent"] .hero-card{--lift:25px;--img-h:608px;--img-top:-70px}

  body[data-cta-prefix="business"] .hero-card picture img{left:max(calc(50vw - 449px),calc(100vw - 690px))}
  body[data-cta-prefix="spouse"] .hero-card picture img{left:calc(50% - 4px)}

  /* 就労：横長の写真（女性の中心＝写真の左から54%）。トップ・経営管理と同じ作り */
  body[data-cta-prefix="employment"] .hero-card picture::before{content:none}
  body[data-cta-prefix="employment"] .hero-card picture img{inset:auto;top:var(--img-top);left:max(calc(50vw - 349px),calc(100vw - 647px));width:auto;max-width:none;height:var(--img-h);min-width:0;object-fit:fill;transform:none;
    -webkit-mask-composite:source-over;mask-composite:add;
    -webkit-mask-image:linear-gradient(180deg,transparent 0,#000 55px,#000 calc(100% - 70px),transparent 100%);mask-image:linear-gradient(180deg,transparent 0,#000 55px,#000 calc(100% - 70px),transparent 100%)}

  /* 横長写真の後ろの縦長写真は、写真の下端より下を深い緑で覆う */
  body[data-cta-prefix="home"] .hero-card picture{background:linear-gradient(180deg,rgba(6,56,35,0) 0,#063823 60px) 0 calc(var(--img-top) + var(--img-h) - 90px)/100% 100% no-repeat,url(../images/hero/home-sp.webp) 50% 0/100% auto no-repeat}
  body[data-cta-prefix="business"] .hero-card picture{background:linear-gradient(180deg,rgba(6,56,35,0) 0,#063823 60px) 0 calc(var(--img-top) + var(--img-h) - 90px)/100% 100% no-repeat,url(../images/hero/business-sp.webp) 50% 0/100% auto no-repeat}
  body[data-cta-prefix="employment"] .hero-card picture{background:linear-gradient(180deg,rgba(6,56,35,0) 0,#063823 60px) 0 calc(var(--img-top) + var(--img-h) - 90px)/100% 100% no-repeat,url(../images/hero/employment-sp.webp) 50% 0/100% auto no-repeat}

  /* 家族滞在・永住：縦長の写真も上端の位置と高さで指定（画面の高さで写真の大きさが変わらないように） */
  body[data-cta-prefix="family"] .hero-card picture img,
  body[data-cta-prefix="permanent"] .hero-card picture img{inset:auto;top:var(--img-top);left:50%;width:auto;max-width:none;height:var(--img-h);min-width:100%;object-fit:cover;object-position:50% 100%;transform:translateX(-50%)}
}

/* 11-02 スマホ全ページ（戻すときはこのブロックを消す。_バックアップ/mobile-badge-before-20261102）
   ①「申請取次行政書士｜登録番号」を少し下げて、写真の下の濃い緑の部分に入れる（最初の画面を20px長く）
   ②一番上に「全国・海外対応／神奈川県川崎市」のバッジを戻す。今の写真の位置はそのまま、バッジの分（--eb）だけ
     写真と文字の後ろの緑を下へずらし、上に深い緑を伸ばす */
@media (max-width:640px){
  .svc26-body .hero-card{--eb:50px;min-height:600px;min-height:calc(clamp(510px,calc(100svh - 126px),545px) + 70px)}
  .svc26-body .hero .eyebrow{display:inline-flex;margin:0 0 12px}
  .svc26-body .hero-card picture{top:var(--eb);-webkit-mask-image:linear-gradient(180deg,transparent 0,#000 60px);mask-image:linear-gradient(180deg,transparent 0,#000 60px)}
  .svc26-body .hero-card::before{top:var(--eb)}
  .svc26-body .hero-cred{padding-top:12px}
}

/* 11-02 スマホ（戻すときはこのブロックを消す。_バックアップ/mobile-3tweaks-before-20261102）
   ①全ページ：登録番号の行の下の余白を詰める（下の余白 22→10px、最初の画面もその分短く）
   ②経営管理：写真を少し右へ（12px）　③配偶者：写真を少し右へ（10px） */
@media (max-width:640px){
  .svc26-body .hero-inner{padding-bottom:10px}
  .svc26-body .hero-card{min-height:588px;min-height:calc(clamp(510px,calc(100svh - 126px),545px) + 58px)}
  body[data-cta-prefix="business"] .hero-card picture img{left:max(calc(50vw - 437px),calc(100vw - 690px))}
  body[data-cta-prefix="spouse"] .hero-card picture img{left:calc(50% + 6px)}
}

/* 11-02 永住「写真の上の方のもやを少し上げて」：文字の後ろの緑が消える位置を上へ（50%→44%）。戻すときはこのブロックを消す */
@media (max-width:640px){
  body[data-cta-prefix="permanent"] .hero-card::before{background:
    linear-gradient(180deg,rgba(6,56,35,.90) 0%,rgba(8,62,39,.80) 28%,rgba(11,74,47,.22) 38%,rgba(11,74,47,0) 44%),
    linear-gradient(0deg,rgba(6,56,35,.97) 0,rgba(6,56,35,.97) var(--lift),rgba(6,56,35,.78) calc(var(--lift) + 45px),rgba(6,56,35,0) calc(var(--lift) + 120px))}
}

/* 11-02 トップ「人物の頭を少しだけ文章に近づけて、もやも調整」：写真を16px上へ（228→212px）、文字の後ろの緑が消える位置もその分上へ（45%→42%）。戻すときはこのブロックを消す */
@media (max-width:640px){
  body[data-cta-prefix="home"] .hero-card{--img-top:212px}
  body[data-cta-prefix="home"] .hero-card::before{background:
    linear-gradient(180deg,rgba(6,56,35,.90) 0%,rgba(8,62,39,.80) 26%,rgba(11,74,47,.22) 36%,rgba(11,74,47,0) 42%),
    linear-gradient(0deg,rgba(6,56,35,.97) 0,rgba(6,56,35,.97) var(--lift),rgba(6,56,35,.78) calc(var(--lift) + 45px),rgba(6,56,35,0) calc(var(--lift) + 120px))}
}

/* 11-02 永住「上の方のもやを少し上げて」（44%→39%）・「写真の上の文章の行間を詰めて」（1.75→1.6）。戻すときはこのブロックを消す */
@media (max-width:640px){
  body[data-cta-prefix="permanent"] .hero-card::before{background:
    linear-gradient(180deg,rgba(6,56,35,.90) 0%,rgba(8,62,39,.80) 24%,rgba(11,74,47,.22) 33%,rgba(11,74,47,0) 39%),
    linear-gradient(0deg,rgba(6,56,35,.97) 0,rgba(6,56,35,.97) var(--lift),rgba(6,56,35,.78) calc(var(--lift) + 45px),rgba(6,56,35,0) calc(var(--lift) + 120px))}
  body[data-cta-prefix="permanent"] .hero-lead{line-height:1.6}
}

/* 11-02 トップ「人物の頭を少し文章に近づけて／文章の行間を詰めて／全体的に上に」（戻すときはこのブロックを消す）
   上の余白 22→14px、説明文の行間 1.75→1.6、写真は文章が縮んだ分＋16px上へ。最初の画面もその分（31px）短く。もやも合わせて上へ */
@media (max-width:640px){
  body[data-cta-prefix="home"] .hero-inner{padding-top:14px}
  body[data-cta-prefix="home"] .hero-lead{line-height:1.6}
  body[data-cta-prefix="home"] .hero-card{--eb:42px;--img-top:189px;min-height:557px;min-height:calc(clamp(510px,calc(100svh - 126px),545px) + 27px)}
  body[data-cta-prefix="home"] .hero-card::before{background:
    linear-gradient(180deg,rgba(6,56,35,.90) 0%,rgba(8,62,39,.80) 24%,rgba(11,74,47,.22) 34%,rgba(11,74,47,0) 40%),
    linear-gradient(0deg,rgba(6,56,35,.97) 0,rgba(6,56,35,.97) var(--lift),rgba(6,56,35,.78) calc(var(--lift) + 45px),rgba(6,56,35,0) calc(var(--lift) + 120px))}
}

/* 11-02「バランスがとてもいい。全ページに適用」：トップと同じ調整を5つのビザページにも（戻すときはこのブロックを消す。_バックアップ/all-up-before-20261102）
   上の余白 22→14px、説明文の行間 1.6、写真は文章が縮んだ分＋16px上へ、最初の画面を31px短く、もやもその分上へ */
@media (max-width:640px){
  .svc26-body .hero-inner{padding-top:14px}
  .svc26-body .hero-lead{line-height:1.6}
  .svc26-body .hero-card{--eb:42px;min-height:557px;min-height:calc(clamp(510px,calc(100svh - 126px),545px) + 27px)}
  body[data-cta-prefix="spouse"] .hero-card{--img-top:-62px}
  body[data-cta-prefix="family"] .hero-card{--img-top:-158px}
  body[data-cta-prefix="employment"] .hero-card{--img-top:182px}
  body[data-cta-prefix="business"] .hero-card{--img-top:199px}
  body[data-cta-prefix="permanent"] .hero-card{--img-top:-93px}
  body[data-cta-prefix="spouse"] .hero-card::before,
  body[data-cta-prefix="employment"] .hero-card::before,
  body[data-cta-prefix="business"] .hero-card::before{background:
    linear-gradient(180deg,rgba(6,56,35,.90) 0%,rgba(8,62,39,.80) 27%,rgba(11,74,47,.22) 39%,rgba(11,74,47,0) 46%),
    linear-gradient(0deg,rgba(6,56,35,.97) 0,rgba(6,56,35,.97) var(--lift),rgba(6,56,35,.78) calc(var(--lift) + 45px),rgba(6,56,35,0) calc(var(--lift) + 120px))}
  body[data-cta-prefix="family"] .hero-card::before{background:
    linear-gradient(180deg,rgba(6,56,35,.90) 0%,rgba(8,62,39,.80) 27%,rgba(11,74,47,.22) 39%,rgba(11,74,47,0) 46%),
    linear-gradient(0deg,rgba(6,56,35,.97) 0,rgba(6,56,35,.97) calc(var(--lift) - 15px),rgba(6,56,35,.6) calc(var(--lift) + 15px),rgba(6,56,35,0) calc(var(--lift) + 55px))}
  body[data-cta-prefix="permanent"] .hero-card::before{background:
    linear-gradient(180deg,rgba(6,56,35,.90) 0%,rgba(8,62,39,.80) 19%,rgba(11,74,47,.22) 28%,rgba(11,74,47,0) 35%),
    linear-gradient(0deg,rgba(6,56,35,.97) 0,rgba(6,56,35,.97) var(--lift),rgba(6,56,35,.78) calc(var(--lift) + 45px),rgba(6,56,35,0) calc(var(--lift) + 120px))}
}

/* 2026-11-20 在留資格の更新・変更 専用ページへの案内（トップのサービス一覧の下・各サービスページの料金の下。専用ページの公開後に表示） */
.rnw26{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:18px 22px;margin:36px auto 0;max-width:980px;padding:22px 26px;border-radius:20px;background:#f2f7f3;border:1px solid #d5e4da}
.rnw26__ic{width:52px;height:52px;border-radius:50%;background:#123f32;color:#dcc592;display:grid;place-items:center}
.rnw26__ic svg{width:26px;height:26px}
.rnw26__title{margin:0;font-weight:700;font-size:17px;color:#123f32;line-height:1.5}
.rnw26__text p:last-child{margin:4px 0 0;font-size:14.5px;color:var(--ink-2);line-height:1.7}
.rnw26 .rnw26__btn{background:#123f32;color:#fff;box-shadow:none;white-space:nowrap}
.rnw26 .rnw26__btn:hover{background:#0b2e24}
@media (max-width:760px){
  .rnw26{grid-template-columns:auto minmax(0,1fr);padding:20px 18px}
  .rnw26__ic{width:44px;height:44px}
  .rnw26__btn{grid-column:1 / -1;width:100%;white-space:normal !important;text-align:center}
}

/* 2026-11-20 代表者紹介（総合ブランドLP /visa-support/ と同じ形。template-parts/profile-2026.php） */
.pf26-sec{padding-top:0}
.pf26{display:grid;grid-template-columns:minmax(0,340px) minmax(0,1fr);gap:56px;align-items:start}
.pf26__photo img{width:100%;height:auto;border-radius:24px;box-shadow:0 1px 2px rgba(18,63,50,.05),0 14px 34px -14px rgba(18,63,50,.18);background:#fff}
.pf26__kicker{display:inline-flex;align-items:center;gap:12px;font-family:var(--num);font-weight:700;font-size:13px;letter-spacing:.2em;text-transform:uppercase;color:#7a5f2a;margin-bottom:12px}
.pf26__kicker::before{content:"";width:28px;height:1px;background:#b99a5b}
.pf26 .pf26__title{font-family:"Shippori Mincho","Hiragino Mincho ProN","Yu Mincho",serif;font-weight:700;font-size:clamp(25px,3.2vw,38px);line-height:1.45;color:#123f32;letter-spacing:.02em}
.pf26__name{font-family:"Shippori Mincho","Hiragino Mincho ProN","Yu Mincho",serif;font-weight:700;font-size:26px;color:#252a27;margin-top:18px;line-height:1.4}
.pf26__name small{font-family:var(--num);font-weight:500;font-size:14px;letter-spacing:.08em;color:#5f6862;margin-left:12px}
.pf26__role{color:#454d48;font-size:14.5px;margin-top:2px}
.pf26__creds{list-style:none;margin:14px 0 6px;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.pf26__creds li{font-size:12.5px;font-weight:700;color:#123f32;background:#fff;border:1px solid #d5e4da;border-radius:999px;padding:5px 12px;line-height:1.5}
.pf26__text{color:#454d48;font-size:15.5px;line-height:1.95;margin-top:16px;word-break:normal;line-break:strict}
.pf26__more{margin-top:16px}
.pf26__more a{display:inline-flex;align-items:center;min-height:44px;font-weight:700;color:#123f32;text-decoration:underline;text-underline-offset:4px;text-decoration-color:#b99a5b}
@media (max-width:900px){.pf26{grid-template-columns:minmax(0,220px) minmax(0,1fr);gap:32px}}
@media (max-width:640px){
  .pf26{grid-template-columns:1fr;gap:20px}
  .pf26__photo{max-width:240px}
  .pf26 .pf26__title{font-size:23px}
  .pf26__name small{display:block;margin:4px 0 0}
}
