:root {
  --main-color: #1e4a6e;
  --sub-color: #2c6384;
  --cta-color: #b8965c;
  --cta-color-hover: #a07d47;
  --text-color: #333333;
  --heading-color: #1e4a6e;
  --light-bg: #f5f7f8;
  --border-color: #e1e5e8;
  --footer-bg: #16334b;
  --font-base: "Noto Sans JP", "Yu Gothic", "游ゴシック体", "Hiragino Kaku Gothic ProN", sans-serif;
  --fz-base: 16px;
  --fz-h1: 36px;
  --fz-h2: 30px;
  --fz-h3: 20px;
  --container-max: 1200px;
  --container-narrow: 880px;
  --header-height: 76px;
  --section-padding: 80px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { color: var(--text-color); background: #fff; font-family: var(--font-base); font-size: var(--fz-base); line-height: 1.75; -webkit-font-smoothing: antialiased; word-break: normal; overflow-wrap: break-word; line-break: strict; }
main { display: block; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { border: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
table { width: 100%; border-collapse: collapse; border-spacing: 0; }
.container { width: 100%; max-width: var(--container-max); margin: 0 auto; padding: 0 24px; }
.container.narrow, .narrow { max-width: var(--container-narrow); margin-right: auto; margin-left: auto; }
.section { padding: var(--section-padding) 0; }
.section--light { background: var(--light-bg); }

.site-header { position: sticky; z-index: 50; top: 0; height: var(--header-height); border-bottom: 1px solid var(--border-color); background: rgba(255,255,255,.96); backdrop-filter: blur(8px); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 100%; }
.site-header__logo { display: flex; align-items: center; min-width: 0; height: 100%; }
.site-header__logo img { width: auto; height: 36px; }

.cta-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 0; border-radius: 4px; background: var(--cta-color); box-shadow: 0 2px 4px rgba(0,0,0,.08); color: #fff; font-weight: 700; line-height: 1.4; text-align: center; white-space: nowrap; transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.cta-button::after { content: "›"; flex: 0 0 auto; font-size: 14px; font-weight: 400; line-height: 1; }
.cta-button:hover { background: var(--cta-color-hover); box-shadow: 0 4px 8px rgba(0,0,0,.12); transform: translateY(-1px); }
.cta-button:focus-visible, .faq-question:focus-visible, a:focus-visible, .table-scroll:focus-visible { outline: 3px solid var(--main-color); outline-offset: 3px; }
.cta-button--header { min-height: 40px; height: 40px; padding: 9px 18px; font-size: 14px; }
.cta-button--large { min-height: 54px; padding: 14px 36px; font-size: 16px; letter-spacing: .02em; }
.cta-button--fixed { min-width: min(100%, 390px); }

.hero { padding: 56px 0 44px; background: #fff; }
.hero__grid { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; gap: 48px; }
.hero__content { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; text-align: left; }
.hero-copy, .hero-copy h1, .hero-copy .hero-message, .hero-copy .hero-description { text-align: left; }
.eyebrow { display: inline-block; margin-bottom: 20px; padding: 6px 16px; border: 1px solid rgba(184,150,92,.4); border-radius: 999px; background: rgba(184,150,92,.08); color: var(--cta-color); font-size: 13px; font-weight: 600; letter-spacing: .04em; }
.hero h1 { margin-bottom: 24px; color: var(--heading-color); font-size: var(--fz-h1); font-weight: 700; line-height: 1.45; letter-spacing: .02em; }
.hero__lead { margin-bottom: 16px; color: var(--heading-color); font-size: 22px; font-weight: 700; line-height: 1.65; }
.hero__text { max-width: 46em; margin-bottom: 24px; font-size: 15px; line-height: 1.85; }
.hero__conditions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; text-align: left; }
.hero__conditions li { display: inline-flex; align-items: center; padding: 8px 14px; border: 1px solid var(--border-color); border-radius: 6px; background: #fff; color: var(--heading-color); font-size: 14px; font-weight: 600; line-height: 1.5; }
.hero__conditions li::before { content: "•"; margin-right: 8px; color: var(--cta-color); font-size: 18px; line-height: 1; }
.hero__cta { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.cta-note { color: #555; font-size: 13px; line-height: 1.6; text-align: left; }
.page-meta { margin-top: 8px; color: #777; font-size: 13px; }
.hero__media, .image-split__media { display: flex; min-height: 480px; height: 100%; }
.hero__media img, .image-split__media img { width: 100%; height: 100%; aspect-ratio: 4 / 5; border-radius: 4px; object-fit: cover; }

.page-notice { margin: 0 auto 56px; padding: 16px 20px; border: 1px solid rgba(184,150,92,.35); border-radius: 6px; background: #f0ece2; color: #5a4a30; font-size: 14px; line-height: 1.7; text-align: left; }
.section-heading { margin-bottom: 40px; }
.section-heading, .section-title, .card-title { text-align: center; }
.section-title { margin-bottom: 16px; color: var(--heading-color); font-size: var(--fz-h2); font-weight: 700; line-height: 1.45; letter-spacing: .02em; text-wrap: balance; }
.section-description, .section-lead, .card-description, .section-body, .faq-answer, .bullet-list, .comparison-table { text-align: left; }
.section-description, .section-lead { max-width: 860px; margin-right: auto; margin-left: auto; line-height: 1.85; text-wrap: pretty; }
.section-description + .section-description { margin-top: 14px; }
.section-description--centered { text-align: center; }
.section-closing { margin-top: 28px; color: #555; font-size: 15px; line-height: 1.8; text-align: left; }
.section-closing.emphasis { padding: 18px 20px; border-left: 4px solid var(--cta-color); background: #fff; color: var(--heading-color); font-size: 17px; font-weight: 700; }
.annotation { margin-top: 20px; color: #555; font-size: 14px; line-height: 1.7; text-align: left; }

.card-grid, .point-grid, .comparison-grid, .scheme-grid, .steps { display: grid; gap: 16px; }
.card-grid--issues, .point-grid, .comparison-grid, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.info-card, .point-card, .comparison-card, .scheme-card, .info-box, .step { padding: 24px; border: 1px solid var(--border-color); border-radius: 6px; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.03); }
.info-card, .point-card, .comparison-card { transition: box-shadow .2s ease; }
.info-card:hover, .point-card:hover, .comparison-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,.06); }
.info-card h3, .point-card h3, .comparison-card h3, .scheme-card h3 { margin-bottom: 12px; color: var(--heading-color); font-size: var(--fz-h3); font-weight: 700; line-height: 1.45; text-align: center; }
.info-card p, .point-card p, .comparison-card p, .scheme-card p, .info-box p { font-size: 15px; line-height: 1.8; text-align: left; }
.issue-card { display: flex; align-items: center; }
.issue-card p { position: relative; width: 100%; padding-left: 1.4em; }
.issue-card p::before { content: "・"; position: absolute; top: 50%; left: 0; color: var(--cta-color); font-weight: 700; line-height: 1; transform: translateY(-50%); }

.image-split { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; gap: 56px; }
.image-split__content { display: flex; flex-direction: column; justify-content: center; }
.image-split__content > * + * { margin-top: 18px; }
.image-split__content .section-heading { margin-bottom: 0; }
.image-split--reverse .image-split__media { order: 1; }
.image-split--reverse .image-split__content { order: 2; }

.bullet-list, .check-list { display: grid; gap: 12px; text-align: left; }
.bullet-list li, .check-list li, .support-list li { position: relative; display: block; padding: 14px 18px 14px 34px; border: 1px solid var(--border-color); border-radius: 6px; background: #fff; font-size: 15px; line-height: 1.75; text-align: left; }
.bullet-list li::before { content: "・"; position: absolute; top: calc(14px + .875em); left: 12px; color: var(--cta-color); font-weight: 700; line-height: 1; transform: translateY(-50%); }
.check-list { grid-template-columns: repeat(2, minmax(0,1fr)); }
.check-list li::before, .support-list li::before { content: "✓"; position: absolute; top: calc(14px + .875em); left: 12px; color: var(--cta-color); font-weight: 700; line-height: 1; transform: translateY(-50%); }
.compact-list li { padding-top: 11px; padding-bottom: 11px; }
.compact-list li::before { top: calc(11px + .875em); }

.table-scroll { overflow-x: auto; border: 1px solid var(--border-color); border-radius: 6px; background: #fff; }
.comparison-table { min-width: 720px; }
.comparison-table th, .comparison-table td { padding: 20px 22px; border-right: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); font-size: 15px; line-height: 1.75; vertical-align: top; }
.comparison-table th:last-child, .comparison-table td:last-child { border-right: 0; }
.comparison-table tbody tr:last-child th, .comparison-table tbody tr:last-child td { border-bottom: 0; }
.comparison-table thead th { background: var(--main-color); color: #fff; font-weight: 700; }
.comparison-table tbody th { width: 120px; background: var(--light-bg); color: var(--heading-color); white-space: nowrap; }
.section-cta { display: flex; justify-content: center; margin-top: 32px; }
.section-cta--left { justify-content: flex-start; }

.scheme-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; }
.scheme-card { border-top: 4px solid var(--main-color); }
.info-box { border-left: 4px solid var(--cta-color); }
.document-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
.document-grid li { position: relative; padding: 16px 16px 16px 42px; border: 1px solid var(--border-color); border-radius: 6px; background: #fff; font-size: 15px; }
.document-grid li::before { content: "✓"; position: absolute; left: 17px; color: var(--cta-color); font-weight: 700; }

.steps { gap: 16px; }
.step__num { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; margin-bottom: 10px; border-radius: 50%; background: var(--main-color); color: #fff; font-size: 14px; font-weight: 700; }
.step h3 { margin-bottom: 8px; color: var(--heading-color); font-size: 17px; font-weight: 700; line-height: 1.5; text-align: left; }
.step p { font-size: 14px; line-height: 1.8; text-align: left; }
.support-list { display: grid; grid-template-columns: 1fr; gap: 10px; }

.short-cta { padding: 38px 0; background: #eef3f6; }
.short-cta__inner { display: flex; align-items: center; justify-content: center; gap: 28px; }
.short-cta__inner p { color: var(--heading-color); font-size: 17px; font-weight: 700; text-align: left; }

.faq-list { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }
.faq-item { overflow: hidden; border: 1px solid var(--border-color); border-radius: 6px; background: #fff; transition: box-shadow .2s ease; }
.faq-item:hover { box-shadow: 0 2px 8px rgba(0,0,0,.05); }
.faq-item h3 { text-align: left; }
.faq-question { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; padding: 20px 24px; color: var(--heading-color); font-size: 16px; font-weight: 700; line-height: 1.6; text-align: left; }
.faq-question:hover { background: rgba(245,247,248,.8); }
.faq-question__q { flex: 1; }
.faq-question__icon { position: relative; display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 24px; height: 24px; color: var(--cta-color); }
.faq-question__icon::before, .faq-question__icon::after { content: ""; position: absolute; top: 50%; left: 50%; background: currentColor; transition: transform .25s ease; }
.faq-question__icon::before { width: 14px; height: 2px; transform: translate(-50%,-50%); }
.faq-question__icon::after { width: 2px; height: 14px; transform: translate(-50%,-50%); }
.faq-item.is-open .faq-question__icon::after { transform: translate(-50%,-50%) rotate(90deg); }
.faq-answer { padding: 0 24px 22px; font-size: 15px; line-height: 1.85; }
.js-enabled .faq-answer[hidden] { display: none; }

.final-cta { padding: 80px 0; background: var(--main-color); color: #fff; }
.final-cta .section-title { color: #fff; text-align: center; }
.final-cta .section-description { max-width: 760px; color: rgba(255,255,255,.92); text-align: left; }
.final-cta__inner { text-align: center; }
.final-cta__actions { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 32px; }
.final-cta .cta-note { color: rgba(255,255,255,.82); text-align: center; }

.site-footer { padding: 56px 0 32px; background: var(--footer-bg); color: #fff; }
.site-footer__inner { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.site-footer__logo img { width: auto; height: 40px; }
.site-footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px; font-size: 14px; }
.site-footer__links a { color: rgba(255,255,255,.85); }
.site-footer__links a:hover { color: #fff; text-decoration: underline; }
.delivery-download-link { position: fixed; z-index: 70; right: 18px; bottom: 18px; padding: 11px 16px; border: 1px solid rgba(255,255,255,.45); border-radius: 4px; background: var(--main-color); box-shadow: 0 4px 14px rgba(0,0,0,.2); color: #fff; font-size: 13px; font-weight: 700; }
.delivery-download-link:hover { border-color: #fff; background: var(--sub-color); }
.delivery-download-link[hidden] { display: none; }
.site-footer__copyright { margin-top: 8px; color: rgba(255,255,255,.7); font-size: 13px; letter-spacing: .04em; }

.package-page { min-height: 100vh; background: var(--light-bg); }
.package-main { display: grid; min-height: 100vh; place-items: center; padding: 40px 20px; }
.package-card { width: min(100%, 720px); padding: 48px; border: 1px solid var(--border-color); border-radius: 8px; background: #fff; box-shadow: 0 8px 30px rgba(30,74,110,.08); text-align: left; }
.package-card h1 { margin-bottom: 18px; color: var(--heading-color); font-size: 30px; line-height: 1.45; }
.package-card > p { margin-bottom: 22px; text-align: left; }
.package-status { margin-bottom: 24px; padding: 16px; border-radius: 6px; background: #eef3f6; color: var(--heading-color); font-weight: 700; }
.package-status--error { background: #fff2f2; color: #9b2525; }
.package-note { margin-top: 22px; margin-bottom: 0 !important; font-size: 14px; }
.package-note a { color: var(--main-color); text-decoration: underline; }

@media (max-width: 1024px) {
  :root { --fz-h1: 30px; --fz-h2: 26px; --fz-h3: 18px; --section-padding: 64px; }
  .hero__grid, .image-split { gap: 32px; }
  .card-grid--three, .document-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 900px) {
  .hero__grid, .image-split, .scheme-grid, .card-grid--three, .card-grid--issues, .point-grid, .comparison-grid, .steps { grid-template-columns: 1fr; }
  .hero__media, .image-split__media { min-height: 360px; max-height: 700px; }
  .image-split--reverse .image-split__media, .image-split--reverse .image-split__content { order: initial; }
  .short-cta__inner { flex-direction: column; text-align: center; }
  .short-cta__inner p { text-align: center; }
}

@media (max-width: 768px) {
  :root { --fz-h1: 26px; --fz-h2: 22px; --fz-h3: 18px; --section-padding: 56px; --header-height: 64px; }
  .container { padding: 0 20px; }
  .site-header__logo img { height: 28px; }
  .cta-button--header { min-height: 36px; height: 36px; padding: 7px 14px; font-size: 13px; }
  .hero { padding: 32px 0; }
  .hero h1 { font-size: 24px; line-height: 1.55; }
  .hero__lead { font-size: 18px; }
  .hero__text { font-size: 14px; }
  .hero__conditions { width: 100%; }
  .hero__conditions li { width: 100%; font-size: 13px; }
  .hero__cta { width: 100%; }
  .cta-button--large { width: 100%; min-height: 50px; padding: 12px 16px; font-size: 14px; }
  .document-grid, .check-list { grid-template-columns: 1fr; }
  .faq-question { padding: 18px; font-size: 15px; }
  .faq-answer { padding: 0 18px 18px; font-size: 14px; }
  .info-card, .point-card, .comparison-card, .scheme-card, .info-box, .step { padding-right: 18px; padding-left: 18px; }
  .comparison-table th, .comparison-table td { padding: 16px; font-size: 14px; }
  .section-cta--left { justify-content: center; }
}

@media (max-width: 480px) {
  .container, .container.narrow, .narrow { padding-right: 16px; padding-left: 16px; }
  .site-header__inner { gap: 12px; }
  .site-header__logo img { max-width: 170px; height: auto; }
  .cta-button--header { padding-right: 11px; padding-left: 11px; font-size: 12px; }
  .hero h1 { font-size: 22px; }
  .cta-button--large { white-space: normal; word-break: keep-all; }
  .section-title br { display: none; }
  .final-cta .section-title br { display: inline; }
}
