:root {
  --navy: #082a4d;
  --navy-deep: #041d36;
  --blue: #0e6f91;
  --teal: #0b8298;
  --cyan: #dff4f7;
  --paper: #f8fafb;
  --white: #ffffff;
  --ink: #102b44;
  --muted: #607286;
  --line: #d7e1e8;
  --orange: #ed6c00;
  --orange-dark: #cc5700;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.container { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  color: var(--white);
  background: rgba(4, 29, 54, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: flex; flex-direction: column; text-decoration: none; line-height: 1.35; }
.brand-kicker { font-size: .7rem; letter-spacing: .08em; opacity: .8; }
.brand strong { font-size: 1.25rem; letter-spacing: .04em; }
.header-actions { display: flex; align-items: center; gap: 22px; }
.phone-link { display: flex; flex-direction: column; font-size: 1.1rem; font-weight: 800; line-height: 1.2; text-decoration: none; }
.phone-link span { font-size: .68rem; font-weight: 500; text-align: right; opacity: .72; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 58px; padding: 0 30px; border-radius: 6px; font-weight: 800; text-decoration: none; text-align: center; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid #ffd166; outline-offset: 3px; }
.button-primary { color: var(--white); background: linear-gradient(135deg, #f47b08, var(--orange)); }
.button-primary:hover { background: linear-gradient(135deg, var(--orange), var(--orange-dark)); }
.button-small { min-height: 46px; padding-inline: 23px; font-size: .92rem; }
.button-large { min-height: 82px; }
.hero { position: relative; min-height: 540px; overflow: hidden; color: var(--navy); background: #f7fafb url("img/main_bg.png") center center / cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.93) 28%, rgba(255,255,255,.58) 42%, rgba(255,255,255,.10) 56%, rgba(255,255,255,0) 68%); }

.hero-inner { position: relative; z-index: 2; display: flex; align-items: center; min-height: 540px; padding-block: 48px; }
.hero-copy { max-width: 760px; }
.eyebrow { margin: 0 0 12px; font-size: 1.05rem; font-weight: 800; letter-spacing: .06em; }
.hero h1 { margin: 0; font-size: clamp(2.1rem, 4vw, 3.8rem); line-height: 1.18; letter-spacing: .02em; }
.hero h1 span { color: var(--teal); }
.hero-note { margin: 20px 0 25px; font-size: clamp(.95rem, 1.6vw, 1.15rem); font-weight: 700; }
.hero-audience { width: fit-content; padding: 13px 18px; color: var(--white); background: linear-gradient(135deg, var(--blue), var(--teal)); border-left: 4px solid var(--navy); }
.hero-audience p { margin: 0; font-size: .85rem; opacity: .85; }
.hero-audience strong { font-size: 1rem; line-height: 1.65; }
.hero-actions { display: flex; align-items: center; gap: 25px; margin-top: 30px; }
.text-link { display: inline-flex; gap: 10px; align-items: center; font-weight: 700; text-underline-offset: 5px; }
.hero-art { display: none; }
.building { position: absolute; bottom: 0; border: 1px solid rgba(190,244,248,.24); background-color: rgba(132,213,224,.09); background-image: linear-gradient(rgba(207,246,250,.17) 1px, transparent 1px), linear-gradient(90deg, rgba(207,246,250,.17) 1px, transparent 1px); background-size: 42px 35px; clip-path: polygon(9% 7%, 100% 0, 100% 100%, 0 100%); }
.building-a { right: 4%; width: 47%; height: 76%; }
.building-b { right: 42%; width: 34%; height: 60%; opacity: .82; }
.building-c { right: -12%; width: 31%; height: 92%; opacity: .7; }
.section { padding-block: 52px; }
.change-summary { position: relative; z-index: 5; margin-top: -26px; }
.summary-card { display: grid; grid-template-columns: 1fr 330px; gap: 38px; align-items: center; padding: 36px 40px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; }
.section-label { margin: 0 0 8px; color: var(--teal); font-size: 1.15rem; font-weight: 900; }
.summary-card h2 { margin: 0 0 10px; font-size: clamp(1.2rem, 1.9vw, 1.65rem); line-height: 1.45; }
.summary-card p { margin: 8px 0; }
.alert-list { display: flex; flex-wrap: wrap; gap: 10px 20px; margin: 20px 0; padding: 0; list-style: none; }
.alert-list li { position: relative; padding-left: 24px; font-weight: 800; }
.alert-list li::before { content: "!"; position: absolute; left: 0; top: .22em; display: grid; width: 18px; height: 18px; place-items: center; color: var(--white); background: var(--orange); border-radius: 50%; font-size: .7rem; line-height: 1; }
.summary-card strong { color: var(--orange); }
.summary-cta { display: flex; flex-direction: column; gap: 10px; text-align: center; }
.summary-cta small { color: var(--muted); font-weight: 700; }
.mobile-only { display: none; }
.section-heading { margin: 0 auto 38px; text-align: center; }
.section-heading h2 { margin: 0; font-size: clamp(1.55rem, 2.6vw, 2.3rem); line-height: 1.35; letter-spacing: .02em; }
.section-heading p { margin: 8px 0 0; }
.risks-section { padding-top: 68px; background: var(--paper); }
.risk-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.risk-card { position: relative; display: grid; grid-template-columns: 48px 1fr; grid-template-rows: auto auto; column-gap: 20px; row-gap: 6px; align-content: start; min-height: 144px; padding: 34px 28px; background: var(--white); border: 1px solid var(--line); border-radius: 10px; }
.risk-number { grid-column: 1; grid-row: 1 / 3; display: inline-grid; width: 38px; height: 38px; place-items: center; color: var(--white); background: var(--teal); border-radius: 50%; font-size: .8rem; font-weight: 900; }
.risk-card h3 { grid-column: 2; margin: 0; font-size: 1.08rem; line-height: 1.45; }
.risk-card p { grid-column: 2; margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.7; }
.inline-cta { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-top: 28px; padding: 24px 28px; background: #eaf4f8; border-left: 5px solid var(--teal); border-radius: 8px; }
.inline-cta div { display: flex; flex-direction: column; }
.inline-cta strong { font-size: 1.15rem; }
.inline-cta span { color: var(--muted); font-size: .85rem; }
.screening-section { padding-block: 72px; color: var(--white); background: radial-gradient(circle at 78% 48%, rgba(10,107,137,.24), transparent 38%), linear-gradient(120deg, #031c34, var(--navy-deep) 52%, #063955); }
.screening-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(390px, .96fr); gap: 46px; align-items: center; }
.section-label.light { color: #27b6d0; }
.screening-copy h2 { margin: 0; font-size: clamp(2rem, 3.6vw, 3.25rem); line-height: 1.38; letter-spacing: .03em; }
.screening-lead { margin: 30px 0 18px; font-size: 1.12rem; font-weight: 800; }
.support-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 18px 0 26px; }
.support-grid span { position: relative; display: flex; align-items: center; min-height: 66px; padding: 12px 14px 12px 50px; background: rgba(10,64,94,.38); border: 1px solid rgba(113,190,214,.32); border-radius: 7px; font-size: .96rem; font-weight: 800; }
.support-grid span::before { content: "✓"; position: absolute; left: 18px; color: #25b8d2; font-size: 1.55rem; font-weight: 900; line-height: 1; }
.screening-note { margin: 0; font-size: .94rem; font-weight: 700; }
.screening-visual { width: 100%; aspect-ratio: 757 / 750; background: url("img/shinsa_bg.png") center / cover no-repeat; border-radius: 24px; }
.document-sheet { position: relative; width: 205px; height: 270px; padding: 52px 30px 20px; background: var(--white); border-radius: 8px; transform: rotate(4deg); }
.document-sheet::before { content: "審査確認"; position: absolute; top: 18px; left: 30px; color: var(--navy); font-weight: 900; }
.document-sheet span { display: block; height: 7px; margin-bottom: 20px; border-radius: 6px; background: #dce8ee; }
.document-sheet strong { position: absolute; right: 24px; bottom: 24px; display: grid; width: 66px; height: 66px; place-items: center; color: var(--white); background: var(--teal); border-radius: 50%; font-size: 2.4rem; }
.consultation-section { background: var(--white); }
.check-panel { padding: 34px 40px; border: 1px solid #b9d2df; border-radius: 10px; background: #f7fbfc; }
.check-panel ul { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 36px; margin: 0; padding: 0; list-style: none; }
.check-panel li { position: relative; padding-left: 32px; font-weight: 700; }
.check-panel li::before { content: "✓"; position: absolute; left: 0; display: grid; width: 23px; height: 23px; place-items: center; color: var(--white); background: var(--teal); border-radius: 50%; font-size: .8rem; }
.seminar-note { text-align: center; font-weight: 700; }
.wide-cta { display: flex; width: min(760px, 100%); margin: 24px auto 0; }
.contact-section { color: var(--white); background: linear-gradient(140deg, #031a30, #07395e); }
.light-heading .section-label { color: #75d9e5; }
.contact-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 40px; align-items: start; }
.contact-phone { display: inline-block; margin-bottom: 20px; color: var(--white); font-size: clamp(1.95rem, 3.8vw, 3.15rem); font-weight: 900; line-height: 1; text-decoration: none; }
.contact-info dl { margin: 0 0 30px; }
.contact-info dl div { display: grid; grid-template-columns: 90px 1fr; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.16); }
.contact-info dt { font-weight: 800; }
.contact-info dd { margin: 0; }
.access-card { padding: 28px; color: var(--ink); background: var(--white); border-radius: 12px; }
.access-label { margin: 0; color: var(--teal); font-size: .8rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.access-card h3 { margin: 5px 0 10px; }
.access-card p { margin: 0 0 14px; }
.access-card a { color: var(--blue); font-weight: 800; text-underline-offset: 4px; }
.contact-form { display: grid; gap: 18px; padding: 34px; color: var(--ink); background: var(--white); border-radius: 14px; }
.form-intro { margin: 0 0 5px; color: var(--muted); }
.contact-form label:not(.privacy-check) { display: grid; gap: 7px; }
.contact-form label > span { font-weight: 800; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; padding: 13px 14px; color: var(--ink); background: #fbfcfd; border: 1px solid #c9d6df; border-radius: 5px; font: inherit; }
.contact-form textarea { resize: vertical; }
.privacy-check { display: flex; align-items: flex-start; gap: 10px; font-size: .9rem; }
.privacy-check input { width: 18px; height: 18px; margin-top: 5px; }
.privacy-check a { color: var(--blue); }
.form-button { border: 0; cursor: pointer; font: inherit; }
.form-status { min-height: 1.5em; margin: 0; color: var(--teal); font-weight: 800; text-align: center; }
.form-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-page { min-height: 100vh; background: var(--paper); }
.form-page-main { padding: 64px 0 80px; }
.form-page-card { width: min(760px, calc(100% - 32px)); margin: 0 auto; padding: 40px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 16px 46px rgba(4, 29, 54, .08); }
.form-page-card h1 { margin: 0 0 10px; color: var(--navy); font-size: clamp(1.6rem, 4vw, 2.25rem); line-height: 1.4; text-align: center; }
.form-page-card > p { margin: 0 0 28px; color: var(--muted); text-align: center; }
.confirm-list { margin: 0; border-top: 1px solid var(--line); }
.confirm-list div { display: grid; grid-template-columns: 190px 1fr; gap: 24px; padding: 18px 12px; border-bottom: 1px solid var(--line); }
.confirm-list dt { font-weight: 800; }
.confirm-list dd { margin: 0; overflow-wrap: anywhere; white-space: pre-wrap; }
.form-page-actions { display: flex; justify-content: center; gap: 16px; margin-top: 30px; }
.button-secondary { color: var(--navy); background: #edf3f6; border: 1px solid #c6d5de; cursor: pointer; }
.form-alert { margin: 24px 0; padding: 16px 18px; color: #8b2c00; background: #fff2ea; border-left: 4px solid var(--orange); border-radius: 5px; }
.form-alert ul { margin: 0; padding-left: 1.4em; }
.completion-mark { display: grid; width: 72px; height: 72px; margin: 0 auto 22px; place-items: center; color: var(--white); background: var(--teal); border-radius: 50%; font-size: 2rem; font-weight: 900; }
.form-page-note { margin-top: 24px !important; font-size: .9rem; }
.site-footer { padding: 38px 0 100px; color: rgba(255,255,255,.82); background: #021426; text-align: center; }
.footer-inner p { margin: 10px 0; font-size: .86rem; }
.footer-inner small { opacity: .65; }
.mobile-cta { display: none; }

@media (max-width: 860px) {
  .container { width: min(100% - 32px, 720px); }
  .site-header { position: relative; }
  .header-inner { min-height: 68px; }
  .header-actions .phone-link { display: none; }
  .button-small { min-height: 44px; padding-inline: 16px; font-size: .82rem; }
  .hero, .hero-inner { min-height: 540px; }
  .hero { background-position: 38% center; }
  .hero::before { background: linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.94) 32%, rgba(255,255,255,.64) 48%, rgba(255,255,255,.12) 62%, rgba(255,255,255,0) 72%); }
  .hero-art { width: 84%; opacity: .25; }
  .hero-copy { max-width: 100%; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .summary-card { grid-template-columns: 1fr; padding: 28px 24px; }
  .risk-grid { grid-template-columns: repeat(2, 1fr); }
  .screening-panel { grid-template-columns: 1fr; }
  .screening-visual { width: min(620px, 100%); margin-inline: auto; }
  .support-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-layout { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .container { width: min(100% - 24px, 520px); }
  .brand-kicker { font-size: .56rem; }
  .brand strong { font-size: .93rem; }
  .header-actions .button { font-size: .74rem; padding-inline: 12px; }
  .hero, .hero-inner { min-height: 570px; }
  .hero { background-position: 8% center; }
  .hero::before { background: linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.95) 38%, rgba(255,255,255,.68) 55%, rgba(255,255,255,.14) 70%, rgba(255,255,255,0) 82%); }
  .hero-inner { padding-block: 54px; align-items: flex-start; }
  .hero h1 { font-size: 1.95rem; }
  .hero-note { width: fit-content; max-width: 100%; padding: 5px 8px; font-size: .82rem; line-height: 1.55; background: rgba(255,255,255,.88); border-radius: 4px; }
  .hero-audience { width: 100%; }
  .mobile-only { display: initial; }
  .change-summary { margin-top: -12px; }
  .section { padding-block: 38px; }
  .risk-grid { grid-template-columns: 1fr; }
  .risk-card { min-height: auto; }
  .inline-cta { align-items: stretch; flex-direction: column; padding: 22px 18px; }
  .support-grid { grid-template-columns: 1fr; }
  .screening-section { padding-block: 48px; }
  .screening-copy h2 { font-size: 2rem; }
  .screening-visual { display: block; }
  .check-panel { padding: 24px 20px; }
  .check-panel ul { grid-template-columns: 1fr; gap: 14px; }
  .contact-form { padding: 24px 18px; }
  .contact-phone { font-size: 2.05rem; }
  .mobile-cta { position: fixed; z-index: 40; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: .8fr 1.2fr; min-height: 58px; }
  .mobile-cta a { display: grid; place-items: center; color: var(--white); background: var(--teal); font-size: .88rem; font-weight: 900; text-decoration: none; }
  .mobile-cta a:last-child { background: var(--orange); }
  .form-page-main { padding: 32px 0 48px; }
  .form-page-card { padding: 28px 18px; }
  .confirm-list div { grid-template-columns: 1fr; gap: 4px; padding: 14px 6px; }
  .form-page-actions { align-items: stretch; flex-direction: column-reverse; }
}
