/* 基本設定：直線の枠、紺の帯、赤い行動ボタンを共通化する。 */
:root {
  --navy: #243451;
  --ink: #1e2e49;
  --red: #b22f20;
  --red-dark: #922518;
  --muted: #535c69;
  --pale: #ededee;
  --line: #c3c8d0;
  --max: 1080px;
  --font: 'Hiragino Kaku Gothic ProN', 'Yu Gothic', Meiryo, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 24px; }
body { margin: 0; color: var(--ink); font: 16px/1.8 var(--font); -webkit-font-smoothing: antialiased; }
body.dialog-open { overflow: hidden; }
button, input, select { font: inherit; }
button { cursor: pointer; color: inherit; }
button:disabled { cursor: default; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p, figure { margin: 0; }
h1, h2, h3, h4 { color: var(--navy); font-weight: 700; line-height: 1.5; }
h2 { font-size: 30px; }
h3 { font-size: 21px; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #337dad; outline-offset: 4px; }
::selection { background: #d7e3ee; }
.container { width: min(var(--max), calc(100% - 64px)); margin-inline: auto; }
.section { position: relative; padding: 72px 0; }
.section-heading { text-align: center; margin-bottom: 34px; }
.section-heading > p:last-child:not(.eyebrow) { margin-top: 14px; }
.eyebrow { font-size: 16px; font-weight: 700; color: var(--red); margin-bottom: 12px; line-height: 1.5; }
.eyebrow::before, .eyebrow::after { content: ''; display: inline-block; width: 18px; height: 1px; background: currentColor; vertical-align: middle; margin: 0 10px; }
.note { font-size: 14px; line-height: 1.8; color: var(--muted); }
.mobile-only, .narrow-only { display: none; }
.full-width { grid-column: 1 / -1; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 64px; padding: 16px 28px; background: var(--red); border: 1px solid var(--red); color: #fff; font-size: 20px; font-weight: 700; line-height: 1.5; border-radius: 2px; box-shadow: 0 4px 0 #842317; transition: background .18s, box-shadow .18s; }
.button:hover { background: var(--red-dark); box-shadow: 0 4px 0 #692016; }
.button .arrow { font: 26px/1 Arial, sans-serif; margin-left: auto; }
.button-small { font-size: 16px; min-height: 45px; padding: 10px 18px; gap: 10px; box-shadow: 0 2px 0 #842317; }
.button-tag { font-size: 14px; color: var(--red); background: white; padding: 3px 8px; white-space: nowrap; }
.button-outline { color: var(--navy); background: white; border: 2px solid var(--navy); box-shadow: none; font-size: 16px; }
.button-outline:hover { background: var(--navy); color: white; box-shadow: none; }
.text-link { display: inline-flex; align-items: center; gap: 18px; padding: 7px 0; border-bottom: 1px solid; font-size: 16px; font-weight: 700; }
.text-link:hover { color: var(--red); }
.skip-link { position: fixed; top: -90px; left: 20px; z-index: 100; background: var(--navy); color: white; padding: 12px 20px; }
.skip-link:focus { top: 8px; }

/* ヘッダーと、写真を背景に置くファーストビュー。 */
.demo-banner { background: var(--navy); color: white; padding: 6px 24px; text-align: center; font-size: 14px; }
.site-header { position: relative; z-index: 10; background: #fff; border-bottom: 1px solid #d7dbe1; }
.header-inner { max-width: 1320px; margin: auto; padding: 15px 28px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 13px; color: var(--navy); }
.brand b { display: block; font: 800 25px/1.1 Arial, sans-serif; white-space: nowrap; }
.brand b span { font-size: 19px; }
.brand small { display: block; font-size: 14px; margin-top: 6px; letter-spacing: .08em; }
.brand-mark { height: 38px; width: 32px; display: flex; align-items: end; gap: 4px; border-bottom: 3px solid var(--red); padding-bottom: 4px; }
.brand-mark i { width: 7px; height: 29px; background: currentColor; transform: skew(-14deg); }
.brand-mark i:nth-child(2) { height: 23px; }
.brand-mark i:nth-child(3) { height: 17px; }
nav { display: flex; align-items: center; gap: 24px; font-size: 14px; font-weight: 700; }
nav > a:not(.button):hover { color: var(--red); }
.menu-toggle { display: none; }
.hero { background: #e8ebed; }
.hero-main { position: relative; isolation: isolate; width: 100%; max-width: 1600px; min-height: 600px; display: grid; align-items: center; }
.hero-copy { position: relative; z-index: 2; width: 570px; margin-left: max(32px, calc((100% - var(--max)) / 2)); padding: 45px 0 40px; }
.hero-category { display: inline-block; color: white; background: var(--navy); font-size: 17px; font-weight: 700; padding: 5px 17px; margin-bottom: 18px; }
.hero-category > span { display: none; }
h1 { font-size: 48px; line-height: 1.5; letter-spacing: -.035em; text-shadow: 0 1px 10px #ffffffc7; }
h1 em { font-style: normal; color: var(--red); }
.hero-lead { font-size: 18px; font-weight: 700; line-height: 1.85; margin-top: 21px; }
.hero-region { font-size: 16px; margin-top: 17px; border-left: 4px solid var(--navy); padding-left: 13px; }
.hero-action { margin-top: 24px; max-width: 490px; }
.hero-action .button { width: 100%; font-size: 23px; }
.hero-action .note { margin-top: 12px; color: #394252; }
.hero-copy .text-link { margin-top: 8px; }
.hero-visual { position: absolute; z-index: -1; inset: 0; }
.hero-visual > img { width: 100%; height: 100%; object-fit: cover; object-position: center 16%; }
.hero-visual::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #fffffff5 0%, #fffffff2 34%, #ffffffcc 43%, #ffffff18 60%, transparent 76%); }
.hero-caption { position: absolute; z-index: 1; right: max(32px, calc((100% - var(--max)) / 2)); bottom: 40px; background: #243451e8; color: white; padding: 14px 20px; border-left: 5px solid #fff; }
.hero-caption span { font-size: 14px; }
.hero-caption b { display: block; font-size: 20px; line-height: 1.55; margin-top: 4px; }
.photo-label { position: absolute; z-index: 1; right: 15px; top: 15px; font-size: 14px; background: #ffffffe6; padding: 2px 9px; }
.hero-points { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); padding: 20px 0; gap: 22px; }
.hero-points > div { display: flex; align-items: center; justify-content: center; gap: 14px; border-right: 1px solid #aab2bf; }
.hero-points > div:last-child { border: 0; }
.hero-points p { font-size: 14px; line-height: 1.65; }
.hero-points strong { font-size: 18px; }
.point-icon { color: white; background: var(--navy); display: grid; place-items: center; width: 31px; height: 31px; font-size: 20px; }

/* 求人：見出し帯、写真を薄く敷いた地、角枠、給与帯。 */
.jobs-section { padding: 0 0 62px; background: linear-gradient(#ffffffed, #e4e8e9ed), url('../assets/hero.webp') center 55% / cover; }
.jobs-section .section-heading { position: relative; padding: 28px 0 30px; margin-bottom: 27px; background: var(--navy); box-shadow: 0 0 0 100vmax var(--navy); clip-path: inset(0 -100vmax); color: white; }
.jobs-section .eyebrow { color: white; font-size: 16px; margin-bottom: 8px; }
.jobs-section h2 { color: white; font-size: 29px; }
.heading-row > p { margin-top: 12px; }
.heading-row > p br { display: none; }
.sample-notice { display: flex; align-items: baseline; justify-content: center; gap: 12px; font-size: 14px; margin-bottom: 23px; }
.sample-notice > span { border: 1px solid var(--navy); padding: 1px 8px; font-size: 14px; font-weight: 700; }
.job-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.job-card { background: white; border: 1px solid #9aa4b4; border-top: 5px solid var(--navy); box-shadow: 5px 5px 0 #24345126; position: relative; display: flex; flex-direction: column; }
.job-card::after { content: ''; position: absolute; right: -1px; top: -5px; width: 28px; height: 28px; border-top: 5px solid var(--red); border-right: 5px solid var(--red); pointer-events: none; }
.job-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 18px 20px 0; }
.job-top > span:first-child { font-size: 16px; font-weight: 700; }
.job-id { font: 14px/1.5 Arial, sans-serif; color: var(--muted); }
.job-body { display: flex; flex-direction: column; flex: 1; padding: 16px 20px 20px; }
.job-kicker { color: var(--muted); font-size: 14px; margin-bottom: 7px; min-height: 26px; }
.job-card h3 { font-size: 20px; line-height: 1.6; padding-bottom: 16px; border-bottom: 1px solid var(--navy); min-height: 82px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0; }
.tags > span { border: 1px solid var(--red); padding: 1px 6px; color: var(--red); font-size: 14px; font-weight: 700; }
.job-card dl { margin: 0 0 20px; }
dl, dd { margin: 0; }
.job-card dl > div { margin-bottom: 12px; }
.job-card dt { font-size: 14px; font-weight: 700; }
.job-card dd { font-size: 16px; }
.job-salary { margin-top: auto; padding: 11px 15px; background: var(--navy); color: white; display: flex; align-items: baseline; gap: 5px; line-height: 1.4; }
.job-salary strong { font-size: 30px; font-family: Arial, sans-serif; }
.job-salary small { margin-left: auto; font-size: 14px; }
.job-detail { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; background: white; border: 1px solid var(--navy); margin-top: 10px; padding: 11px 14px; font-size: 16px; font-weight: 700; }
.job-detail:hover { background: #e8edf3; }
.jobs-note { margin-top: 24px; }

/* 相談：写真と灰色の説明面を段差で重ね、条件シートを角枠で示す。 */
.match-section::before, .flow-section::before { content: ''; position: absolute; right: 0; top: 0; width: 130px; height: 25px; background: repeating-linear-gradient(135deg, var(--navy) 0 2px, transparent 2px 12px); clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%); }
.match-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 0; }
.match-visual { position: relative; z-index: 1; }
.match-visual > img { aspect-ratio: 1.5; object-fit: cover; border: 8px solid white; border-left: 0; box-shadow: -9px 9px 0 var(--navy); }
.preference-sheet { width: calc(100% - 38px); margin: 24px 0 0; padding: 24px; border: 2px solid var(--navy); background: white; position: relative; }
.sheet-top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 7px; font-size: 14px; margin: -24px -24px 19px; padding: 9px 17px; color: white; background: var(--navy); }
.preference-sheet h3 { font-size: 20px; }
.preference-sheet dl { margin-top: 14px; }
.preference-sheet dl > div { display: grid; grid-template-columns: 145px 1fr; gap: 15px; border-bottom: 1px solid var(--line); padding: 10px 0; }
.preference-sheet dt { font-size: 14px; color: var(--muted); }
.preference-sheet dd { font-size: 16px; }
.preference-sheet > p { margin-top: 15px; font-size: 14px; font-weight: 700; }
.preference-sheet > p span { color: var(--red); }
.match-copy { background: var(--pale); padding: 42px 36px; margin: 48px 0 0 -22px; border-bottom: 5px solid var(--navy); }
.match-copy .eyebrow::before, .learning-copy .eyebrow::before { display: none; }
.match-copy h2 { font-size: 30px; line-height: 1.65; }
.match-copy > p:not(.eyebrow) { margin-top: 22px; }
.approach-line { display: flex; gap: 10px; align-items: center; justify-content: space-between; font-size: 14px; border-block: 1px solid #a9b0bb; padding: 15px 0; margin-top: 26px; }
.approach-line > span { color: var(--red); }

/* 職種の比較表と、働き方の選択パネル。 */
.roles-section { background: var(--pale); }
.role-table { border: 2px solid var(--navy); background: white; box-shadow: 6px 6px 0 #c9cdd3; }
.role-table-head, .role-row { display: grid; grid-template-columns: 1fr 1.2fr 1.2fr; gap: 25px; padding: 20px 24px; align-items: center; }
.role-table-head { background: var(--navy); color: white; font-size: 16px; font-weight: 700; }
.role-row:not(:last-child) { border-bottom: 1px solid var(--line); }
.role-row h3 { font-size: 18px; display: flex; align-items: center; gap: 12px; }
.role-row h3 > span { color: var(--red); font-size: 16px; }
.role-row p { font-size: 16px; }
.role-row small { display: none; }
.roles-section .note { margin-top: 22px; }
.lifestyle-section { background: white; }
.style-switch { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.style-switch button { position: relative; background: #eef0f3; border: 1px solid #a9b3c1; border-bottom: 0; padding: 18px 10px; font-size: 17px; font-weight: 700; }
.style-switch button[aria-pressed='true'] { background: var(--navy); border-color: var(--navy); color: white; }
.style-switch button[aria-pressed='true']::after { content: ''; position: absolute; bottom: -10px; left: calc(50% - 10px); width: 20px; height: 20px; background: var(--navy); transform: rotate(45deg); }
.style-content { padding: 34px; border: 2px solid var(--navy); background: white; }
.style-intro { display: grid; grid-template-columns: 1fr auto; gap: 10px 34px; }
.sample-label { grid-column: 1 / -1; font-size: 14px; font-weight: 700; color: var(--red); }
.style-intro h3 { font-size: 25px; }
.style-intro > p:not(.style-hours) { grid-column: 1; font-size: 16px; }
.style-hours { grid-column: 2; grid-row: 2 / 4; align-self: center; font-size: 28px; font-weight: 700; white-space: nowrap; border-left: 1px solid var(--line); padding-left: 25px; }
.style-hours span { display: block; font-size: 14px; color: var(--muted); font-weight: 400; }
.week-plan { display: grid; grid-template-columns: repeat(7, 1fr); margin-top: 26px; gap: 8px; }
.day { text-align: center; }
.day b { display: block; background: var(--navy); color: white; font-size: 16px; padding: 7px; }
.day > span { display: block; background: #e3eaf2; padding: 19px 4px; font-size: 16px; font-weight: 700; border: 1px solid #bdc8d6; border-top: 0; }
.day.off > span { background: #f1f1f1; color: #585858; border-color: #ccc; }
.day.remote > span { background: #e8eee8; color: #35533d; border-color: #b3c2b5; }
.style-content + .note { margin-top: 16px; }
.inline-cta { text-align: center; margin-top: 34px; }
.inline-cta > p { font-size: 17px; font-weight: 700; margin-bottom: 15px; }
.inline-cta .button { width: min(600px, 100%); }

/* 三者の関係：帯と白枠で役割を区分する。 */
.structure-section { background: var(--navy); color: white; padding-block: 65px; }
.structure-section h2, .structure-section .eyebrow { color: white; }
.relationship { display: grid; grid-template-columns: 1fr 100px 1fr 100px 1fr; align-items: stretch; }
.party { border: 2px solid white; background: white; color: var(--navy); text-align: center; padding: 22px 13px; }
.party-person { outline: 3px solid #d4dce7; outline-offset: 5px; }
.party-top { display: block; font-size: 14px; font-weight: 700; margin-bottom: 20px; }
.party h3 { font-size: 20px; margin-top: 15px; }
.party p { font-size: 16px; margin-top: 13px; }
.party-icon, .office-drawing { display: block; height: 50px; font: 700 46px/50px Arial, sans-serif; }
.person-drawing { display: block; height: 50px; width: 45px; border: 2px solid var(--navy); border-radius: 50% 50% 0 0; border-bottom: 0; margin: 0 auto; position: relative; }
.person-drawing::before { content: ''; position: absolute; height: 23px; width: 23px; border: 2px solid var(--navy); background: white; border-radius: 50%; top: -8px; left: 9px; }
.relationship-arrow { align-self: center; text-align: center; font-size: 14px; }
.relationship-arrow b { display: block; font-size: 35px; line-height: 1.4; }
.relationship-arrow small { font-size: 14px; display: block; }
.relationship-bottom { text-align: center; border: 1px solid #aebad0; padding: 13px 20px; margin: 25px 0 18px; font-size: 16px; }
.structure-section .note { color: #dce2ec; }

/* スキル支援と就業後支援。 */
.learning-section { background: #f1f1f2; }
.learning-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 35px 50px; align-items: center; }
.learning-copy h2 { font-size: 31px; border-left: 5px solid var(--navy); padding-left: 20px; }
.learning-copy > p:not(.eyebrow) { margin-top: 21px; }
.learning-visual { background: var(--navy); box-shadow: 10px 10px 0 #c2c9d2; }
.learning-visual img { aspect-ratio: 1.37; object-fit: cover; }
.image-caption { color: white; font-size: 16px; padding: 13px 19px; }
.image-caption span { font-size: 14px; display: block; margin-top: 5px; color: #dbe2ed; }
.learning-route { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 26px 1fr 26px 1fr; gap: 12px; align-items: stretch; margin-top: 12px; }
.learning-route > div { background: white; border: 1px solid #a7afbd; border-top: 4px solid var(--navy); padding: 23px 20px; }
.learning-route > div > span { font-size: 14px; color: var(--red); font-weight: 700; }
.learning-route h3 { font-size: 20px; margin: 9px 0 13px; }
.learning-route p { font-size: 16px; }
.route-arrow { align-self: center; text-align: center; font-size: 27px; color: var(--red); }
.mini-example { background: var(--pale); padding: 14px; margin-top: 18px; min-height: 93px; }
.mini-example b { font-size: 14px; display: block; margin-bottom: 4px; }
.mini-example p { font-size: 16px; }
.follow-section { background: white; }
.follow-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 65px; }
.follow-grid h2 { margin-bottom: 18px; }
.support-memo { margin-top: 27px; padding: 25px; border: 2px solid var(--navy); box-shadow: 7px 7px 0 #d6dbe1; }
.support-memo > span { color: white; background: var(--navy); display: block; padding: 9px 18px; margin: -25px -25px 21px; font-size: 14px; font-weight: 700; }
.support-memo > p { font-size: 20px; line-height: 1.65; font-weight: 700; }
.memo-reply { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 100px 1fr; gap: 15px; }
.memo-reply b { color: var(--red); font-size: 14px; }
.memo-reply p { font-size: 16px; }
.memo-reply p > span { color: var(--red); }
.follow-timeline { list-style: none; margin: 0; padding: 0 0 0 22px; }
.follow-timeline li { position: relative; border-left: 2px solid var(--navy); padding: 0 0 31px 28px; }
.follow-timeline li:last-child { padding-bottom: 0; }
.timeline-dot { position: absolute; left: -9px; top: 7px; height: 16px; width: 16px; background: var(--red); border: 3px solid white; outline: 1px solid var(--red); }
.timeline-time { display: inline-block; color: white; background: var(--navy); padding: 4px 11px; margin-bottom: 10px; font-size: 14px; font-weight: 700; }
.follow-timeline h3 { margin-bottom: 9px; font-size: 21px; }

/* 条件は比較しやすい一枚の枠にまとめる。 */
.conditions-section { background: var(--pale); }
.conditions-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 0; border: 2px solid var(--navy); background: white; box-shadow: 7px 7px 0 #c3c9d2; }
.conditions-grid > div { padding: 32px; background: #e5e9ee; border-right: 1px solid var(--line); }
.conditions-grid h2 { font-size: 28px; }
.fee-caption { font-size: 16px; font-weight: 700; margin-top: 30px; }
.fee { font-size: 48px; font-weight: 700; color: var(--red); margin: 6px 0 15px; }
.fee span { font-size: 18px; color: var(--navy); margin-right: 15px; }
.conditions-list { padding: 14px 27px; }
.conditions-list > div { display: grid; grid-template-columns: 112px 1fr; gap: 18px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.conditions-list > div:last-child { border: 0; }
.conditions-list dt { font-size: 16px; font-weight: 700; }
.conditions-list dd { font-size: 16px; }

/* 各工程を帯と確認物で結ぶ。 */
.flow-section { background: white; }
.flow-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin: 0 0 26px; padding: 0; list-style: none; }
.flow-list li { position: relative; }
.step-number { display: block; background: var(--navy); color: white; padding: 7px 20px; font-size: 16px; font-weight: 700; clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 0 100%); }
.flow-list h3 { font-size: 22px; color: var(--red); margin: 19px 0 13px; }
.flow-list li > p { font-size: 16px; min-height: 88px; }
.flow-document { border: 1px solid #bec5cf; background: var(--pale); padding: 16px; margin-top: 18px; min-height: 124px; }
.flow-document span, .flow-document small { display: block; font-size: 14px; }
.flow-document b { display: block; font-size: 16px; margin: 7px 0; }

/* FAQは灰色地と独立した白い回答枠。 */
.faq-section { background: var(--pale); }
.faq-grid { max-width: 1000px; }
.faq-grid > div:first-child { text-align: center; margin-bottom: 33px; }
.faq-grid > div:first-child > p:last-child { margin-top: 13px; }
.faq-grid h2 br, .faq-grid > div:first-child > p:last-child br { display: none; }
.faq-list { display: grid; gap: 18px; }
details { background: white; border-left: 4px solid var(--navy); box-shadow: 3px 3px 0 #c7cdd6; }
summary { list-style: none; display: flex; align-items: center; gap: 15px; padding: 22px 25px; font-weight: 700; font-size: 17px; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
summary > span { display: grid; flex-shrink: 0; place-items: center; width: 34px; height: 34px; background: var(--navy); color: white; font-size: 20px; line-height: 1; }
summary::after { content: '+'; margin-left: auto; font-size: 24px; font-weight: 400; }
details[open] summary::after { content: '−'; }
summary:hover { color: var(--red); }
details > p { position: relative; margin: 0 25px 25px; padding-left: 49px; font-size: 16px; }
details > p::before { content: 'A'; position: absolute; top: 0; left: 0; display: grid; place-items: center; width: 34px; height: 34px; background: var(--red); color: white; font-size: 20px; font-weight: 700; }

/* 最後のCTAは背景写真と紺の面に白い入力枠を配置。 */
.consultation-section { background: linear-gradient(#243451f2, #243451ee), url('../assets/consultation.webp') center / cover; color: white; border-top: 8px solid #c3cad5; }
.consult-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.consult-copy h2 { color: white; font-size: 33px; margin-bottom: 23px; }
.consult-copy .eyebrow { color: white; }
.consult-copy .eyebrow::before { display: none; }
.consult-benefits { list-style: none; padding: 0; margin: 25px 0; }
.consult-benefits li { position: relative; padding-left: 27px; margin-bottom: 14px; font-size: 16px; }
.consult-benefits li::before { content: '✓'; position: absolute; left: 0; font-weight: 700; }
.consult-note { border-top: 1px solid #91a0b6; padding-top: 21px; font-size: 14px; }
.consult-note b { color: white; font-size: 16px; }
.consult-panel { padding: 32px; background: white; border-top: 6px solid var(--red); color: var(--ink); box-shadow: 8px 8px 0 #ffffff26; }
.form-label-top { font-size: 23px; font-weight: 700; margin-bottom: 25px; border-bottom: 1px solid var(--navy); padding-bottom: 15px; }
.form-label-top span { display: block; font-size: 14px; color: var(--muted); font-weight: 400; margin-top: 4px; }
form > label { display: block; margin: 17px 0 7px; font-size: 16px; font-weight: 700; }
select { width: 100%; min-height: 52px; padding: 11px 8px; background: #f8f9fa; color: var(--ink); border: 1px solid #8591a2; border-radius: 0; font-size: 16px; }
form > .button { width: 100%; margin: 26px 0 15px; font-size: 18px; padding-inline: 18px; }
.result-label { font-size: 14px; color: var(--red); font-weight: 700; }
#consult-result h3 { font-size: 24px; margin: 10px 0 18px; }
.result-warning { background: #fbefed; border-left: 3px solid var(--red); color: #85342b; font-size: 16px; padding: 13px; }
#result-choices { margin: 22px 0; }
#result-choices > div { border-bottom: 1px solid var(--line); padding: 12px 0; }
#result-choices dt { font-size: 14px; color: var(--muted); }
#result-choices dd { font-size: 16px; font-weight: 700; margin-top: 3px; }
#consult-result h4 { font-size: 18px; margin-bottom: 10px; }
#consult-result .note { margin: 17px 0; }
#edit-choices { width: 100%; }
.site-footer { padding: 36px 0; background: white; border-top: 1px solid #d0d6df; }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 25px; border-bottom: 1px solid var(--line); padding-bottom: 25px; }
.footer-links { display: flex; align-items: center; gap: 20px; font-size: 14px; }
.footer-links button { border: 0; padding: 0; background: transparent; font-size: 14px; text-decoration: underline; }
.footer-links a:hover, .footer-links button:hover { color: var(--red); }
.footer-bottom { margin-top: 21px; font-size: 14px; color: var(--muted); }
.footer-bottom > span { display: block; margin-top: 15px; font-size: 14px; }

/* 共通の詳細ダイアログ。 */
dialog { width: min(660px, calc(100% - 38px)); max-height: 85dvh; padding: 0; border: 2px solid var(--navy); border-top: 6px solid var(--navy); background: white; color: var(--ink); }
dialog::backdrop { background: #122038b5; }
.dialog-inner { position: relative; padding: 40px; }
.dialog-close { position: absolute; top: 7px; right: 10px; width: 44px; height: 44px; font-size: 32px; border: 0; background: white; line-height: 1; }
dialog .eyebrow { margin-top: 5px; font-size: 14px; }
dialog .eyebrow::before, dialog .eyebrow::after { display: none; }
dialog h2 { font-size: 27px; margin-bottom: 25px; }
#dialog-content > p { font-size: 16px; margin-bottom: 19px; }
#dialog-content > .note { font-size: 14px; }
#dialog-content dl > div { padding: 17px 0; border-bottom: 1px solid var(--line); }
#dialog-content dt { font-size: 14px; color: var(--muted); margin-bottom: 6px; }
#dialog-content dd { font-size: 16px; }
#dialog-consult { width: 100%; margin-top: 24px; font-size: 18px; }

@media (max-width: 1100px) {
  .header-inner { gap: 20px; }
  nav { gap: 16px; }
  nav > a:not(.button) { display: none; }
  .hero-copy { width: 51%; }
  h1 { font-size: 42px; }
  .hero-lead { font-size: 16px; }
  .hero-action .button { font-size: 20px; padding-inline: 18px; }
  .hero-caption { right: 30px; }
  .hero-visual::after { background: linear-gradient(90deg, #fffffffa 0%, #ffffffee 38%, #ffffff66 55%, transparent 75%); }
  .job-grid { gap: 16px; }
  .job-body { padding-inline: 15px; }
  .job-top { padding-inline: 15px; flex-wrap: wrap; }
  .job-top > span:first-child { font-size: 16px; }
  .job-kicker { min-height: 50px; }
  .job-card h3 { font-size: 18px; min-height: 104px; }
  .job-salary { padding-inline: 10px; flex-wrap: wrap; }
  .job-salary strong { font-size: 27px; }
  .job-salary small { width: 100%; }
  .match-copy { padding: 32px 25px; }
  .match-copy h2 { font-size: 26px; }
  .preference-sheet { width: calc(100% - 28px); padding: 20px; }
  .sheet-top { margin: -20px -20px 17px; }
  .preference-sheet dl > div { grid-template-columns: 1fr; gap: 4px; }
  .approach-line { flex-wrap: wrap; justify-content: flex-start; }
  .role-table-head, .role-row { grid-template-columns: 1fr 1fr 1fr; gap: 16px; padding-inline: 18px; }
  .role-row h3 { display: block; font-size: 17px; }
  .role-row h3 > span { display: block; margin-bottom: 4px; }
  .style-intro h3 { font-size: 22px; }
  .style-content { padding: 28px; }
  .style-intro { gap: 10px 24px; }
  .style-hours { font-size: 25px; padding-left: 20px; }
  .relationship { grid-template-columns: 1fr 95px 1fr 95px 1fr; }
  .party { padding-inline: 10px; }
  .party h3 { font-size: 18px; }
  .learning-grid { gap: 30px; }
  .learning-route { gap: 8px; grid-template-columns: 1fr 20px 1fr 20px 1fr; }
  .learning-route > div { padding: 20px 15px; }
  .learning-route h3 { font-size: 18px; }
  .mini-example { padding: 10px; min-height: 110px; }
  .follow-grid { gap: 35px; }
  .conditions-grid > div { padding: 27px; }
  .conditions-grid h2 { font-size: 25px; }
  .conditions-list > div { grid-template-columns: 1fr; gap: 6px; }
  .flow-list { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .flow-list li > p { min-height: 58px; }
  .flow-document { min-height: 118px; }
  .consult-grid { gap: 35px; }
  .consult-copy h2 { font-size: 29px; }
  .consult-panel { padding: 26px; }
  .footer-links { flex-wrap: wrap; justify-content: flex-end; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 16px; }
  .container { width: calc(100% - 40px); }
  .section { padding: 52px 0; }
  h2 { font-size: 25px; line-height: 1.6; }
  .section-heading { margin-bottom: 27px; }
  .eyebrow { font-size: 14px; margin-bottom: 10px; }
  .eyebrow::before, .eyebrow::after { width: 12px; margin-inline: 7px; }
  .mobile-only { display: block; }
  .button { font-size: 18px; min-height: 59px; padding: 15px 20px; gap: 12px; }
  .button .arrow { font-size: 23px; }
  .demo-banner { text-align: left; padding: 6px 16px; font-size: 14px; }
  .header-inner { padding: 13px 20px; gap: 15px; flex-wrap: wrap; }
  .brand { gap: 10px; }
  .brand b { font-size: 22px; }
  .brand b span { font-size: 16px; }
  .brand small { font-size: 14px; letter-spacing: .02em; margin-top: 4px; }
  .brand-mark { width: 27px; height: 33px; gap: 3px; }
  .brand-mark i { width: 6px; height: 25px; }
  .brand-mark i:nth-child(2) { height: 19px; }
  .brand-mark i:nth-child(3) { height: 13px; }
  .menu-toggle { display: flex; align-items: center; gap: 6px; background: white; border: 0; font-size: 14px; padding: 8px 0; }
  .menu-icon { height: 15px; width: 20px; border-block: 2px solid var(--navy); position: relative; }
  .menu-icon::after { content: ''; position: absolute; top: 5px; left: 0; right: 0; border-top: 1px solid var(--navy); }
  nav { display: flex; flex-wrap: wrap; width: 100%; gap: 0; border-top: 1px solid var(--line); padding-top: 12px; }
  .js-enabled nav { display: none; }
  .js-enabled nav.is-open { display: flex; }
  nav > a:not(.button) { display: block; width: 50%; padding: 10px 0; font-size: 16px; }
  nav > .button { width: 100%; margin-top: 10px; }
  .hero-main { width: 100%; min-height: 0; display: block; }
  .hero-copy { padding: 30px 20px 22px; margin: 0; width: 100%; }
  .hero-category { font-size: 14px; padding: 5px 9px; margin-bottom: 18px; }
  h1 { font-size: 32px; line-height: 1.55; letter-spacing: -.045em; }
  .hero-lead { max-width: 65%; font-size: 16px; margin-top: 24px; text-shadow: 0 0 8px white; }
  .hero-lead br { display: none; }
  .hero-region { margin-top: 18px; font-size: 14px; width: 65%; border-left-width: 3px; padding-left: 10px; text-shadow: 0 0 8px white; }
  .hero-action { margin-top: 24px; max-width: none; }
  .hero-action .button { font-size: 20px; padding-inline: 17px; }
  .hero-action .note { font-size: 14px; padding: 4px 0; margin-top: 10px; }
  .hero-copy .text-link { font-size: 14px; margin-top: 2px; }
  .hero-visual { height: 440px; }
  .hero-visual > img { object-position: 20% top; }
  .hero-visual::after { background: linear-gradient(0deg, #e8ebed 0%, transparent 24%), linear-gradient(90deg, #ffffffef 0%, #ffffffe3 52%, #ffffff15 76%, transparent 100%); }
  .hero-caption { display: none; }
  .photo-label { top: auto; bottom: 65px; right: 12px; font-size: 14px; }
  .hero-points { gap: 0; grid-template-columns: 1fr; width: calc(100% - 40px); padding: 0 0 20px; }
  .hero-points > div { border: 0; border-top: 1px solid #b7bfcb; justify-content: flex-start; gap: 12px; padding: 11px 0; }
  .hero-points > div:last-child { border-top: 1px solid #b7bfcb; }
  .hero-points p { display: flex; align-items: baseline; gap: 10px; font-size: 14px; }
  .hero-points p br { display: none; }
  .hero-points strong { font-size: 16px; }
  .point-icon { width: 24px; height: 24px; font-size: 17px; flex-shrink: 0; }
  .jobs-section { padding: 0 0 48px; }
  .jobs-section .section-heading { padding: 24px 0; margin-bottom: 22px; }
  .jobs-section h2 { font-size: 25px; }
  .jobs-section .eyebrow { font-size: 14px; }
  .heading-row > p { font-size: 16px; }
  .heading-row > p br { display: block; }
  .sample-notice { align-items: flex-start; gap: 9px; line-height: 1.75; margin-bottom: 20px; }
  .sample-notice > span { flex-shrink: 0; }
  .job-grid { grid-template-columns: 1fr; gap: 25px; padding-right: 5px; }
  .job-top { padding: 18px 21px 0; }
  .job-body { padding: 14px 21px 21px; }
  .job-kicker { min-height: 0; }
  .job-card h3 { min-height: 0; font-size: 21px; padding-bottom: 15px; }
  .job-card dl > div { display: grid; grid-template-columns: 70px 1fr; gap: 10px; margin-bottom: 13px; }
  .job-card dd { font-size: 16px; }
  .job-salary { padding: 12px 16px; }
  .job-salary strong { font-size: 31px; }
  .job-salary small { width: auto; }
  .match-section::before, .flow-section::before { width: 88px; height: 17px; }
  .match-grid { grid-template-columns: 1fr; gap: 25px; }
  .match-copy { grid-row: 1; margin: 0; padding: 26px 22px; }
  .match-copy h2 { font-size: 27px; }
  .match-copy .eyebrow::after { display: none; }
  .match-copy > p:not(.eyebrow) { margin-top: 18px; }
  .approach-line { display: grid; grid-template-columns: 1fr; gap: 3px; text-align: center; }
  .approach-line > span { transform: rotate(90deg); line-height: 1.4; }
  .match-visual { padding-left: 7px; }
  .match-visual > img { border-width: 0; box-shadow: -7px 7px 0 var(--navy); }
  .preference-sheet { margin-top: 29px; width: calc(100% - 7px); padding: 20px; }
  .preference-sheet h3 { font-size: 20px; }
  .sheet-top { margin: -20px -20px 18px; }
  .role-table-head { display: none; }
  .role-row { grid-template-columns: 1fr; gap: 13px; padding: 22px 18px; }
  .role-row h3 { display: flex; font-size: 20px; gap: 13px; }
  .role-row h3 > span { margin: 0; }
  .role-row small { display: block; font-size: 14px; font-weight: 700; margin-bottom: 3px; color: var(--muted); }
  .role-row p:not(:last-child) { border-bottom: 1px dashed var(--line); padding-bottom: 12px; }
  .role-table { box-shadow: 4px 4px 0 #c9cdd3; }
  .style-switch { grid-template-columns: 1fr; gap: 8px; margin-bottom: 15px; }
  .style-switch button { border: 1px solid #a9b3c1; display: flex; justify-content: space-between; align-items: center; padding: 13px 15px; font-size: 16px; text-align: left; }
  .style-switch button::after { content: '○'; font-size: 18px; }
  .style-switch button[aria-pressed='true']::after { content: '✓'; position: static; background: transparent; transform: none; height: auto; width: auto; font-size: 18px; }
  .style-content { padding: 24px 18px; }
  .style-intro { display: block; }
  .style-intro h3 { font-size: 21px; margin: 10px 0 15px; }
  .style-hours { font-size: 27px; border: 0; border-top: 1px solid var(--line); padding: 14px 0 0; margin-top: 20px; }
  .week-plan { grid-template-columns: 1fr; gap: 6px; margin-top: 22px; }
  .day { display: grid; grid-template-columns: 42px 1fr; text-align: left; }
  .day b { text-align: center; font-size: 16px; padding: 7px; }
  .day > span { padding: 7px 15px; font-size: 16px; border: 1px solid #bdc8d6; }
  .inline-cta > p { font-size: 16px; }
  .inline-cta .button { padding-inline: 16px; font-size: 17px; }
  .relationship { grid-template-columns: 1fr; }
  .party { padding: 22px; }
  .party h3 { font-size: 22px; }
  .party-person { outline: none; border-left: 7px solid #a7b5c9; }
  .party-top { margin-bottom: 15px; }
  .relationship-arrow { display: flex; align-items: center; justify-content: center; gap: 17px; padding: 14px 0; }
  .relationship-arrow b { transform: rotate(90deg); font-size: 32px; }
  .relationship-bottom { padding: 14px 17px; text-align: left; font-size: 16px; }
  .learning-grid { grid-template-columns: 1fr; gap: 29px; }
  .learning-copy h2 { font-size: 28px; }
  .learning-visual { margin-right: 7px; box-shadow: 7px 7px 0 #c2c9d2; }
  .learning-visual img { aspect-ratio: 1.4; }
  .image-caption { font-size: 16px; padding: 13px 15px; }
  .learning-route { grid-template-columns: 1fr; gap: 8px; }
  .learning-route > div { padding: 20px; }
  .learning-route h3 { font-size: 21px; }
  .route-arrow { transform: rotate(90deg); line-height: 1.3; }
  .mini-example { min-height: 0; padding: 15px; }
  .follow-grid { grid-template-columns: 1fr; gap: 40px; }
  .support-memo { padding: 22px; margin-right: 6px; box-shadow: 6px 6px 0 #d6dbe1; }
  .support-memo > span { margin: -22px -22px 20px; }
  .support-memo > p { font-size: 20px; }
  .memo-reply { grid-template-columns: 1fr; gap: 10px; }
  .follow-timeline { padding-left: 10px; }
  .follow-timeline li { padding-left: 25px; }
  .follow-timeline h3 { font-size: 20px; }
  .conditions-grid { grid-template-columns: 1fr; box-shadow: 5px 5px 0 #c3c9d2; }
  .conditions-grid > div { padding: 27px 22px; border-right: 0; border-bottom: 2px solid var(--navy); }
  .conditions-grid h2 { font-size: 27px; }
  .conditions-list { padding: 5px 22px; }
  .conditions-list > div { padding: 20px 0; }
  .fee-caption { margin-top: 20px; }
  .fee { font-size: 44px; }
  .flow-list { grid-template-columns: 1fr; gap: 34px; }
  .flow-list li > p { min-height: 0; }
  .flow-list h3 { margin-top: 15px; font-size: 23px; }
  .flow-list li:not(:last-child)::after { content: '↓'; position: absolute; right: 12px; bottom: -35px; color: var(--red); font-size: 27px; }
  .flow-document { min-height: 0; padding: 17px 20px; }
  .faq-grid h2 br { display: block; }
  .faq-list { gap: 18px; padding-right: 3px; }
  summary { align-items: flex-start; padding: 20px 15px; gap: 10px; font-size: 16px; }
  summary > span { width: 29px; height: 29px; font-size: 18px; }
  summary::after { font-size: 22px; line-height: 29px; }
  details > p { margin: 0 15px 22px; padding-left: 39px; }
  details > p::before { width: 29px; height: 29px; font-size: 18px; }
  .consult-grid { grid-template-columns: 1fr; gap: 30px; }
  .consult-copy h2 { font-size: 29px; }
  .consult-copy > p:not(.eyebrow):not(.consult-note) br { display: none; }
  .consult-panel { padding: 25px 20px; margin-right: 5px; box-shadow: 5px 5px 0 #ffffff26; }
  .form-label-top { font-size: 22px; }
  form > .button { font-size: 17px; gap: 10px; padding-inline: 14px; }
  #consult-result h3 { font-size: 22px; }
  .footer-top { display: block; }
  .footer-links { justify-content: flex-start; margin-top: 25px; gap: 15px 22px; }
  .footer-links button { text-align: left; }
  .dialog-inner { padding: 43px 22px 26px; }
  dialog h2 { font-size: 24px; }
  #dialog-consult { font-size: 16px; padding: 13px; gap: 9px; }
}

@media (max-width: 360px) {
  .container { width: calc(100% - 32px); }
  .header-inner { padding-inline: 16px; gap: 10px; }
  .brand b { font-size: 19px; }
  .brand b span { font-size: 15px; }
  .brand-mark { width: 25px; }
  .menu-toggle { gap: 5px; }
  .menu-icon { width: 17px; }
  .hero-main { width: 100%; }
  .hero-copy { padding-inline: 16px; }
  .hero-category { padding-inline: 7px; }
  h1 { font-size: 31px; }
  .narrow-only { display: block; }
  .hero-visual > img { object-position: 35% top; }
  .hero-lead { max-width: 68%; }
  .hero-region { width: 70%; }
  .hero-action .button { font-size: 18px; gap: 9px; padding-inline: 13px; }
  .hero-points p { gap: 7px; flex-wrap: wrap; }
  .hero-points strong { font-size: 16px; }
  .job-body, .job-top { padding-inline: 17px; }
  .job-card h3 { font-size: 20px; }
  .job-card dl > div { grid-template-columns: 64px 1fr; gap: 6px; }
  .job-salary { gap: 4px; padding-inline: 12px; }
  .job-salary strong { font-size: 27px; }
  .match-copy { padding: 24px 19px; }
  .match-copy h2, .conditions-grid h2 { font-size: 25px; }
  .preference-sheet { padding: 18px; }
  .sheet-top { margin: -18px -18px 17px; }
  .eyebrow::before, .eyebrow::after { width: 8px; margin-inline: 5px; }
  .approach-line { justify-content: flex-start; gap: 6px; }
  .style-content { padding-inline: 16px; }
  .style-intro h3 { font-size: 20px; }
  .support-memo { padding: 19px; }
  .support-memo > span { margin: -19px -19px 17px; }
  .support-memo > p { font-size: 18px; }
  .consult-copy h2 { font-size: 26px; }
  .consult-panel { padding-inline: 17px; }
  form > .button { font-size: 16px; }
  #dialog-consult { font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
