:root {
  --navy: #163d25;
  --green: #07853f;
  --cyan: #39a85d;
  --pale: #edf7ef;
  --orange: #f2c94c;
  --red-pink: #e5394f;
  --ink: #202822;
  --muted: #657067;
  --line: #cfdacf;
  --white: #fff;
  --shadow: 0 8px 24px rgba(26, 58, 36, .07);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", sans-serif; font-size: 1rem; line-height: 1.7; background: #fff; text-justify: inter-ideograph; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
strong { font-weight: 700; }
.site-header { height: 68px; padding: 0 24px; position: sticky; top: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; background: #fff; font-size: .8rem; }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { display: block; width: auto; height: 46px; }
.sp-break { display: none; }
.hero { width: 100%; max-width: 1280px; min-height: 680px; margin: 0 auto; padding: 48px 24px; display: grid; grid-template-columns: 1fr minmax(400px, 520px); gap: 64px; align-items: start; background-color: #fff; background-image: url("../img/wave_2.svg"); background-position: center; background-size: cover; background-repeat: no-repeat; }
.eyebrow { color: var(--green); font-size: .9rem; font-weight: 700; letter-spacing: .05em; }
.hero .eyebrow { width: fit-content; margin: 0 0 14px; padding: 7px 14px; position: relative; color: #fff; background: var(--green); border-radius: 8px; font-size: 1.125rem; letter-spacing: 0; }
.hero .eyebrow::after { content: ""; position: absolute; left: 24px; bottom: -9px; border-top: 10px solid var(--green); border-right: 9px solid transparent; border-left: 9px solid transparent; }
.hero h1 { margin: .25em 0; font-size: 3.5rem; font-weight: 800; line-height: 1.2; }
.hero h1 em { color: var(--green); font-style: normal; }
.hero-copy > p:not(.eyebrow) { max-width: 600px; margin: 0 0 12px; font-size: 1.32rem; font-weight: 700; }
.hero-benefit-underline { text-decoration: underline; text-underline-offset: 4px; }
.hero .hero-copy > p.small-note { margin: 12px 0 0; font-size: .8125rem; font-weight: 400; }
.hero-plant-sp { display: none; }
.hero-note-sp { display: none; }
.hero ul { padding-left: 1.3em; }
.hero-copy > ul { margin: 0 0 12px; padding: 0; display: flex; gap: 22px; align-items: center; color: var(--green); font-size: 1.5rem; font-weight: 700; list-style: none; }
.hero-copy > ul li { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.hero-copy > ul li::before { content: "✓"; width: 24px; height: 24px; display: grid; place-items: center; flex: 0 0 auto; color: #164d30; background: #f2c94c; border-radius: 50%; font-size: .9rem; font-weight: 700; line-height: 1; }
.diagnosis-card { overflow: hidden; background: var(--pale); border: 6px solid #fff; border-radius: 22px; }
.progress-wrap { padding: 22px 28px 0; }
.progress-meta { display: flex; justify-content: space-between; color: var(--green); font-size: 1.125rem; font-weight: 700; }
.diagnosis-card[data-step="result"] #progress-percent::before { content: "✓"; width: 1.25em; height: 1.25em; margin-right: 6px; display: inline-flex; align-items: center; justify-content: center; color: #fff; background: var(--green); border-radius: 50%; font-size: .8em; line-height: 1; vertical-align: .08em; }
.diagnosis-card[data-step="result"] .progress-wrap { display: none; }
.progress { height: 8px; margin-top: 4px; overflow: hidden; background: #e3ebe3; border-radius: 8px; }
.progress span { display: block; width: 25%; height: 100%; background: var(--green); transition: width .25s; }
.question, .result { padding: 26px 32px 32px; }
.question { position: relative; background: var(--pale); }
.question-plant { width: 72px; height: 126px; position: absolute; top: 20px; right: 32px; object-fit: contain; }
.diagnosis-card[data-step="1"] .question h2 { padding-right: 80px; }
.question-number, .result-label { display: inline-block; margin: 0 0 10px; padding: 3px 12px; color: #fff; background: var(--green); border-radius: 99px; font-size: .8rem; font-weight: 700; }
.result-label { padding-right: 18px; padding-left: 18px; position: relative; background: var(--red-pink); font-size: 1.2rem; }
.result-label i { margin-right: 7px; font-size: .85em; }
.result-label::after { content: ""; position: absolute; bottom: -8px; left: 50%; border-top: 8px solid var(--red-pink); border-right: 7px solid transparent; border-left: 7px solid transparent; transform: translateX(-50%); }
.question-number { position: relative; z-index: 0; isolation: isolate; align-self: flex-start; padding: 0 20px; font-size: 1.5rem; }
.question-number::before,
.question-number::after { content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none; background: var(--green); border-radius: inherit; animation: question-number-pulse 3.6s ease-out infinite; }
.question-number::after { animation-delay: 1.8s; }
@keyframes question-number-pulse {
  0% { opacity: .35; transform: scale(1); }
  53.333%, 100% { opacity: 0; transform: scale(1.55); }
}
@media (prefers-reduced-motion: reduce) {
  .question-number::before,
  .question-number::after { animation: none; opacity: 0; }
}
.question h2, .result h2 { margin: 0 0 8px; line-height: 1.45; }
.question h2 { font-size: 1.4375rem; }
.result h2 { font-size: 1.5625rem; }
.question-note { margin: 0; color: var(--muted); font-size: .9rem; text-align: left; }
.options { display: grid; gap: 10px; margin-top: 20px; }
.options.multi { grid-template-columns: 1fr 1fr; }
.options.multi .option { padding-right: 28px; padding-left: 28px; white-space: nowrap; }
.option { position: relative; min-height: 58px; padding: 13px 48px; display: flex; align-items: center; justify-content: center; color: var(--ink); background: #fff; border: 4px solid var(--line); border-radius: 10px; font: inherit; font-size: 1.25rem; font-weight: 700; text-align: center; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.option.selected { color: #076f36; background: var(--pale); border-color: var(--green); }
@media (hover: hover) and (pointer: fine) {
  .option:not(.selected):hover { border-color: #9fb2a4; }
}
.option i { position: absolute; right: 16px; min-width: 20px; color: var(--green); font-size: 1.25rem; font-style: normal; text-align: center; }
.reason { margin: 18px 0 0; padding: 12px; color: var(--muted); background: var(--pale); border-left: 3px solid var(--green); border-radius: 0 8px 8px 0; font-size: .8rem; text-align: left; }
.actions, .result-actions { display: flex; gap: 10px; align-items: center; margin-top: 22px; }
.back { color: var(--muted); background: none; border: 0; text-decoration: underline; cursor: pointer; }
.primary, .secondary { width: 100%; padding: 16px; border-radius: 10px; font: inherit; font-weight: 700; cursor: pointer; }
.primary::after, .secondary::after { content: "→"; display: inline-block; margin-left: 10px; font-size: 1.1em; line-height: 1; }
.primary { color: #fff; background: #f58220; border: 1px solid #f58220; }
.result-button { background: var(--red-pink); border-color: var(--red-pink); font-size: 1.25rem; }
.primary.result-button:hover { background: #cf2f43; border-color: #cf2f43; }
.next-button { font-size: 1.25rem; }
.primary:hover { background: #e66f0e; border-color: #e66f0e; }
.primary:disabled { opacity: .42; cursor: not-allowed; }
.secondary { margin-top: 10px; color: var(--green); background: #fff; border: 1px solid var(--green); }
.result > .result-label { display: table; margin-right: auto; margin-left: auto; }
.result > h2 { text-align: center; }
.count { color: var(--ink); font-size: 1.25rem; font-weight: 700; text-align: center; }
.count strong { color: var(--green); font-size: 3.2rem; line-height: 1.15; }
.chips { display: flex; justify-content: center; gap: 8px; }
.chips span, .card-tags span { padding: 3px 12px; color: #076f36; background: #e3f2e6; border-radius: 99px; font-size: .8rem; font-weight: 700; }
.chips span:first-child { color: #fff; background: var(--green); }
.chips span:nth-child(2) { color: #fff; background: #00543a; }
.headline { margin: 20px 0; padding: 22px; display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; column-gap: 8px; color: var(--ink); background: #fff; border-radius: 12px; text-align: center; }
.headline small, .headline p { margin: 0; }
.headline > small:first-child { font-size: 1rem; }
.headline strong { color: #f58220; font-size: 3.25rem; line-height: 1.15; }
.headline p, .headline > small:last-child { flex-basis: 100%; }
.headline > small:last-child { margin-top: 8px; color: var(--muted); }
.program-list { display: grid; gap: 12px; }
.program-card, .outside-detail { padding: 18px; background: #fff; border: 0; border-radius: 10px; }
.program-card h3, .outside-detail h3 { margin: 10px 0 2px; font-size: 1.0625rem; line-height: 1.5; }
.program-card > strong, .outside-detail > strong { color: var(--green); font-size: 1.25rem; }
.program-card p, .outside-detail p { margin: 4px 0 0; color: var(--muted); font-size: .9rem; }
.card-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.card-tags span:last-child { color: #735e0b; background: #fff4bd; }
.card-tags span.subsidy-chip { color: #fff; background: var(--green); }
.card-tags span.grant-chip { color: #fff; background: #00543a; }
.locked { background: #fff; }
.program-card > .locked-message { margin: 0; color: var(--ink); font-size: 1rem; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.form-section { position: relative; margin: 76px -32px -32px; padding: 0 32px 32px; background: #edf5ee; border-top: 0; }
.form-section::before { content: "↓"; position: absolute; top: -62px; left: 0; right: 0; color: #d9362b; font-size: 3rem; font-weight: 700; line-height: 1; text-align: center; }
.form-section h3 { margin: 0; }
.form-section .primary { font-size: 1.25rem; }
.form-section form > button.primary[type="submit"] { background: var(--red-pink); border-color: var(--red-pink); }
.form-section form > button.primary[type="submit"]::after { content: none; }
.form-section form > button.primary[type="submit"]:hover { background: #cf2f43; border-color: #cf2f43; }
.form-section > p, .form-section > small { color: var(--muted); font-size: .8rem; }
.form-section > small { display: block; margin-top: 16px; line-height: 1.8; }
.form-section .result-actions { justify-content: center; margin-top: 16px; }
.line-receive { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.line-receive h3 { margin: 0; }
.form-section .line-button { display: flex; align-items: center; justify-content: center; gap: 10px; background: #06c755; border-color: #06c755; }
.form-section .line-button::after { content: none; }
.form-section .line-button:hover { background: #05b34c; border-color: #05b34c; }
.form-section .line-button img { width: 24px; height: 24px; display: block; flex: 0 0 24px; object-fit: contain; }
form label { display: block; margin: 12px 0; font-size: 1rem; font-weight: 700; }
form input:not([type=checkbox]) { width: 100%; margin-top: 5px; padding: 13px; background: #fff; border: 1px solid #bfcbbf; border-radius: 8px; font-size: 1.2rem; }
form input:not([type=checkbox]):focus { outline: 2px solid #9bd0aa; outline-offset: 1px; border-color: var(--green); }
.agree { margin: 18px 0; display: flex; align-items: center; gap: 10px; font-weight: 400; line-height: 1.5; cursor: pointer; }
.agree input[type="checkbox"] { width: 20px; height: 20px; margin: 0; flex: 0 0 20px; accent-color: var(--green); cursor: pointer; }
.agree a { color: var(--green); font-weight: 700; text-underline-offset: 3px; }
.form-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-message { min-height: 1.5em; margin: 0 0 10px; color: #b3261e; font-size: .8125rem; font-weight: 700; }
.form-section form > button:disabled { opacity: .65; cursor: wait; }
.outside > h2 { margin-bottom: 12px; }
.outside > p { margin: 0 0 24px; color: var(--ink); font-size: 1rem; }
.outside > p.result-label { color: #fff; }
.outside-detail { margin: 0 0 16px; padding: 22px; }
.outside-detail .type-chip { display: inline-block; padding: 3px 10px; color: #076f36; background: #e3f2e6; border-radius: 99px; font-size: .8rem; font-weight: 700; }
.outside-detail .type-chip.subsidy-chip { color: #fff; background: var(--green); }
.outside-detail .type-chip.grant-chip { color: #fff; background: #00543a; }
.outside-detail h3 { margin-top: 12px; }
.mandatory-note { margin: 4px 0 28px !important; color: var(--muted); font-size: .8rem; }
.material { padding: 24px; background: #fff; border: 0; border-radius: 10px; }
.material h3 { margin: 0 0 12px; }
.material-heading { display: flex; align-items: center; gap: 9px; }
.material-heading i { color: var(--green); font-size: .9em; }
.material ul { margin: 0 0 18px; padding-left: 1.3em; color: var(--ink); font-size: 1rem; }
.material .primary, .material .secondary { font-size: 1.2rem; }
.material .primary { margin-top: 4px; display: flex; align-items: center; justify-content: center; gap: 10px; background: #06c755; border-color: #06c755; }
.material .secondary { display: flex; align-items: center; justify-content: center; gap: 10px; }
.material .primary::after, .material .secondary::after { content: none; }
.material .primary img { width: 24px; height: 24px; flex: 0 0 24px; object-fit: contain; }
.material .primary:hover { background: #05b34c; border-color: #05b34c; }
.material small { display: block; margin-top: 16px; color: var(--muted); text-align: center; }
.outside > .result-actions { justify-content: center; margin-top: 22px; }
.info-section { max-width: 1180px; margin: auto; padding: 92px 24px; text-align: center; }
.info-section h2 { font-size: 2.125rem; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 38px; text-align: left; }
.features article { padding: 28px; background: #f1f5f1; border: 0; border-radius: 12px; }
.features .feature-with-icon { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px; align-items: center; }
.features .feature-with-icon h3 { margin: 0; }
.features .feature-with-icon p { margin: 0; grid-column: 1 / -1; }
.feature-icon { display: block; width: 64px; height: 64px; object-fit: contain; }
.features b { color: var(--green); font-size: 1.5rem; }
.features h3 { margin: 5px 0; }
.features p { color: inherit; font-size: inherit; }
footer { padding: 48px 24px; color: var(--ink); background: #f1f6f1; font-size: .8125rem; }
.footer-inner { max-width: 1180px; margin: auto; display: grid; grid-template-columns: 380px 1fr; gap: 48px; align-items: stretch; }
.footer-logo img { display: block; width: 220px; height: auto; }
.footer-brand p { margin: 12px 0 0; color: var(--muted); line-height: 1.6; }
.footer-content { display: flex; flex-direction: column; justify-content: space-between; text-align: right; }
.footer-nav { margin-bottom: 28px; display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: flex-end; }
.footer-nav a { color: var(--ink); font-size: .9375rem; font-weight: 700; text-decoration: none; }
.footer-nav a:hover { color: var(--green); }
.footer-info p { margin: 0 0 8px; color: var(--muted); }
.footer-info a { display: inline-block; margin: 0 0 0 18px; color: var(--ink); }
.footer-info a:first-child { margin-left: 0; }
.footer-info p:nth-of-type(2),
.footer-info a { font-size: .8125rem; }
.footer-info .copyright { margin: 8px 0 0; color: var(--muted); font-size: .8125rem; }
@media (min-width: 801px) {
  .diagnosis-card { min-height: 800px; }
  .diagnosis-card[data-step="1"] { min-height: 600px; }
  .diagnosis-card[data-step="1"] .question { min-height: 516px; display: flex; flex-direction: column; }
  .diagnosis-card[data-step="2"] .question,
  .diagnosis-card[data-step="3"] .question,
  .diagnosis-card[data-step="4"] .question { min-height: 716px; display: flex; flex-direction: column; }
  .diagnosis-card[data-step="1"] .actions,
  .diagnosis-card[data-step="2"] .actions,
  .diagnosis-card[data-step="3"] .actions,
  .diagnosis-card[data-step="4"] .actions { margin-top: auto; padding-top: 24px; flex-direction: column; align-items: stretch; }
  .diagnosis-card[data-step] .actions .primary { order: 1; }
  .diagnosis-card[data-step] .actions .back { order: 2; align-self: center; margin-top: 6px; }
  .site-header,
  .question-note,
  .reason,
  .chips span,
  .card-tags span,
  .program-card p,
  .outside-detail p,
  .form-section > p,
  .form-section > small,
  form label,
  .mandatory-note,
  footer { font-size: .9rem; }
}
@media (max-width: 800px) {
  html { font-size: 15px; }
  body { line-height: 1.5; }
  .pc-break { display: none; }
  .sp-break { display: inline; }
  .site-header { height: 56px; }
  .brand img { height: 42px; }
  .hero { min-height: auto; padding: 28px 16px 28px; display: block; }
  .hero-copy { position: relative; margin: 0 12px; text-align: center; }
  .hero .eyebrow { margin-right: auto; margin-left: auto; padding-right: 10px; padding-left: 10px; font-size: 16px; }
  .hero .eyebrow::after { left: 50%; transform: translateX(-50%); }
  .hero h1 { font-size: 28px; }
  .hero h1 .punctuation-line { display: inline-block; transform: translateX(.15em); }
  .hero-copy > p:not(.eyebrow) { margin-top: 10px; font-size: 16px; text-align: left; }
  .hero-copy > p:nth-of-type(2) { margin-bottom: 10px; }
  .hero-note-pc { display: none; }
  .hero .hero-note-sp { margin: 12px 0 0; display: block; text-align: left; }
  .hero-copy > ul {
    margin: 18px 0 8px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    font-size: 18px;
    text-align: left;
  }
  .hero-plant-sp { width: 54px; height: 94px; position: absolute; right: 0; bottom: -16px; display: block; object-fit: contain; }
  .diagnosis-card { margin-top: 16px; border-radius: 16px; }
  .question, .result { padding: 22px 18px 48px; }
  .progress-wrap { padding: 18px 18px 0; }
  .diagnosis-card .progress-wrap { display: none; }
  .question-plant { display: none; }
  .diagnosis-card[data-step="1"] .question h2 { padding-right: 0; }
  .question-number { width: fit-content; margin-right: auto; margin-left: auto; display: block; font-size: 1.25rem; }
  .question h2 { font-size: 20px; text-align: center; }
  .question-note { text-align: center; }
  .result h2 { font-size: 20px; }
  .option:not(.selected):hover { color: var(--ink); background: #fff; border-color: var(--line); }
  .options.multi { grid-template-columns: 1fr; }
  .option { min-height: 48px; padding: 10px 48px; font-size: 1.2rem; }
  .next-button { padding: 14px; font-size: 1.1rem; }
  .material .primary,
  .material .secondary { font-size: 1rem; }
  .outside-detail,
  .material { padding: 18px; }
  .material > small { text-align: left; }
  .form-section .primary { font-size: 1.1rem; }
  .actions { flex-direction: column; align-items: stretch; }
  .actions .primary { order: 1; }
  .actions .back { order: 2; align-self: center; margin-top: 6px; font-size: 1.1rem; }
  .headline strong { font-size: 32px; }
  .form-section { margin: 68px -18px -24px; padding: 0 18px; }
  .form-section::before { top: -54px; font-size: 42px; }
  .info-section { padding: 64px 20px; }
  .info-section h2 { font-size: 26px; }
  .features { grid-template-columns: 1fr; }
  .site-header > span { display: none; }
  footer { padding: 40px 20px; }
  .footer-inner { display: block; }
  .footer-logo img { width: 200px; margin: 0 auto 16px; }
  .footer-brand { margin-bottom: 32px; text-align: center; }
  .footer-brand p { margin-top: 10px; }
  .footer-content { text-align: center; }
  .footer-nav { justify-content: center; }
}
@media (min-width: 801px) and (max-width: 1279px) {
  html { font-size: calc(100vw / 80); }
  .hero { min-height: 53.125vw; padding: 3.75vw 24px; grid-template-columns: minmax(0, 1fr) 40.625vw; gap: 5vw; }
  .hero-copy,
  .diagnosis-card { min-width: 0; }
  .hero .eyebrow { margin-bottom: 1.09375vw; padding: .546875vw 1.09375vw; border-radius: .625vw; }
  .hero .eyebrow::after { left: 1.875vw; bottom: -.703125vw; border-top-width: .78125vw; border-right-width: .703125vw; border-left-width: .703125vw; }
  .hero-copy > ul { gap: 1.71875vw; }
  .hero-copy > ul li { gap: .625vw; }
  .hero-copy > ul li::before { width: 1.875vw; height: 1.875vw; }
  .diagnosis-card { border-radius: 1.71875vw; }
  .progress-wrap { padding: 1.71875vw 2.1875vw 0; }
  .progress { height: .46875vw; margin-top: .625vw; }
  .question,
  .result { padding: 2.03125vw 2.5vw 2.5vw; }
  .question-plant { width: 5.625vw; height: 9.84375vw; top: 1.5625vw; right: 2.5vw; }
  .diagnosis-card[data-step="1"] .question h2 { padding-right: 2.8125vw; }
  .question-number { margin-bottom: .78125vw; padding: 0 1.5625vw; }
  .options { gap: .78125vw; margin-top: 1.5625vw; }
  .option { min-height: 4.53125vw; padding: 1.015625vw 3.75vw; border-width: .3125vw; border-radius: .78125vw; }
  .diagnosis-card,
  .diagnosis-card[data-step="1"] { min-height: 46.875vw; }
  .diagnosis-card[data-step="1"] .question { min-height: 40.3125vw; }
  .diagnosis-card[data-step="2"],
  .diagnosis-card[data-step="3"],
  .diagnosis-card[data-step="4"] { min-height: 62.5vw; }
  .diagnosis-card[data-step="2"] .question,
  .diagnosis-card[data-step="3"] .question,
  .diagnosis-card[data-step="4"] .question { min-height: 55.9375vw; }
}
