.government-page {
    --gov-navy: #011f6a;
    --gov-blue: #0b2d7f;
    --gov-orange: #fe6801;
    --gov-yellow: #ffc400;
    --gov-green: #0a743c;
    --gov-border: #cfd5df;
    --gov-soft-blue: #f5f8ff;
    --gov-soft-orange: #fff9f2;
    color: var(--gov-navy);
    background: #ffffff;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 500;
    padding-bottom: 160px;
}

.gov-container {
    width: calc(100% - 32px);
    max-width: 1200px;
    margin: 0 auto;
}

.gov-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 22px;
    font-size: 14px;
    line-height: 1.5;
}

.gov-breadcrumb a {
    color: var(--gov-navy);
    text-decoration: none;
}

.gov-breadcrumb a:hover,
.gov-breadcrumb a:focus {
    color: var(--gov-orange);
    text-decoration: none;
}

.gov-breadcrumb-current {
    color: var(--gov-yellow);
    font-weight: 900;
}

.gov-breadcrumb a.gov-breadcrumb-current {
    color: var(--gov-yellow);
}

.gov-hero {
    display: flex;
    gap: 30px;
    align-items: center;
    padding: 42px 0 60px;
}

.gov-hero-copy {
    position: relative;
    z-index: 1;
}

.gov-hero-visual,
.gov-hero-copy{
    flex: 1;
}


.gov-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 8px;
    background: var(--gov-yellow);
    color: var(--gov-navy);
    font-size: 19px;
    font-weight: 900;
    line-height: 1.35;
}

.gov-badge .fa {
    font-size: 22px;
}

.gov-hero h1 {
    margin: 24px 0 18px;
    color: var(--gov-navy);
    font-size: 56px;
    font-weight: 900;
    letter-spacing: 0.04em;
    line-height: 1.22;
}

.gov-hero h1 span,
.gov-section-centered h2 span {
    color: var(--gov-orange);
}

.gov-lead {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.75;
}

.gov-hero-visual img {
    display: block;
    width: 100%;
    height: auto;
}

.gov-mini-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin-top: 22px;
}

.gov-mini-card {
    min-height: 118px;
    padding: 15px 10px 12px;
    border: 1px solid #dfe4ec;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.92);
    text-align: center;
}

.gov-mini-card img {
    margin-bottom: 10px ;
    height: 40px
}

.gov-mini-card .fa {
    display: block;
    margin-bottom: 10px;
    color: var(--gov-navy);
    font-size: 32px;
}

.gov-mini-card strong,
.gov-mini-card span {
    display: block;
}

.gov-mini-card strong {
    margin-bottom: 4px;
    font-size: 18px;
    font-weight: 900;
}

.gov-mini-card span {
    font-size: 13px;
    font-weight: 800;
    line-height: 1.45;
}

.gov-cta-panel {
    border: 1.5px solid var(--gov-orange);
    border-radius: 8px;
    padding: 34px 42px 26px;
    background: #ffffff;
    text-align: center;
}

.gov-cta-buttons {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
    gap: 28px;
    max-width: 980px;
    margin: 0 auto 24px;
}

.gov-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    min-height: 70px;
    border: 2px solid transparent;
    border-radius: 8px;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 26px;
    font-weight: 900;
    line-height: 1.25;
    text-decoration: none;
    transition: opacity 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

button.gov-btn {
    width: 100%;
    padding: 0 20px;
    background: transparent;
}

.gov-btn:hover,
.gov-btn:focus {
    opacity: 0.9;
    text-decoration: none;
}

.gov-btn-primary,
.gov-btn-primary:hover,
.gov-btn-primary:focus {
    background: var(--gov-orange);
    border-color: var(--gov-orange);
    color: #ffffff;
}

.gov-btn-outline,
.gov-btn-outline:hover,
.gov-btn-outline:focus {
    border-color: var(--gov-navy);
    color: var(--gov-navy);
}

.gov-btn .fa-angle-right {
    font-size: 42px;
    line-height: 1;
}

.gov-btn-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 96px;
    height: 96px;
    margin-left: -58px;
    border: 1.5px solid var(--gov-orange);
    border-radius: 50%;
    background: #ffffff;
    color: var(--gov-orange);
    font-size: 14px;
    font-weight: 900;
    line-height: 1.45;
    text-align: center;
    flex: 0 0 auto;
}

.gov-btn.use-free-btn {
    position: relative;
}

.gov-btn.use-free-btn .gov-btn-badge {
    position: absolute;
    left: 35px;
    font-size: 20px;
    width: 114px;
    height: 114px;
    border-radius: 57px;
    flex-direction: column;
    padding: 2px;
}

.gov-btn.use-free-btn .gov-btn-badge small {
    font-size: 16px
}

.gov-cta-benefits {
    display: flex;
    justify-content: center;
    gap: 28px;
    margin: 0 0 12px;
    padding: 0;
    list-style: none;
    color: var(--gov-navy);
    font-size: 18px;
    font-weight: 900;
}

.gov-cta-benefits li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.gov-cta-benefits li + li {
    padding-left: 28px;
    border-left: 2px solid var(--gov-navy);
}

.gov-cta-benefits .fa,
.gov-check-list li::before {
    color: var(--gov-navy);
    font-size: 26px;
}

.gov-cta-panel p {
    margin: 0;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.65;
}

.gov-cta-panel .gov-note {
    font-size: 14px;
}

.gov-section {
    margin-top: 102px;
}

.gov-section.service-start-second {
    margin-top: 72px !important;
}

.gov-section.first {
    margin-top: 0px;
}

.gov-section.second,
.gov-section.third {
    margin-top: 72px !important;
}

.gov-section-centered {
    text-align: center;
}

.gov-section-kicker {
    margin: 0 auto 8px;
    font-size: 22px;
    font-weight: normal;
    line-height: 1.5;
    position: relative;
    width: max-content;
    padding: 0 40px;
}

.gov-section-kicker br {
    display: none;
}

.gov-section-kicker::before,
.gov-section-kicker::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 2px;
    height: 30px;
    background: #011f6a;
    transform-origin: center;
}

.gov-section-kicker::before {
    left: 10px;
    transform: translateY(-50%) rotate(-30deg);
}

.gov-section-kicker::after {
    right: 10px;
    transform: translateY(-50%) rotate(30deg);
}

.gov-section-centered h2,
.gov-section-title-small {
    margin: 0 0 36px;
    color: var(--gov-navy);
    font-size: 34px;
    font-weight: 900;
    line-height: 1.45;
}

.gov-section-title-small {
    text-align: center;
    font-size: 24px;
}

.gov-audience-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    text-align: left;
}

.gov-audience-card {
    display: grid;
    grid-template-columns: 145px minmax(0, 1fr);
    gap: 24px;
    align-items: center;
    min-height: 280px;
    padding: 36px 34px;
    border: 1.5px solid var(--gov-navy);
    border-radius: 8px;
    background: var(--gov-soft-blue);
}

.gov-audience-citizen {
    border-color: var(--gov-orange);
    background: var(--gov-soft-orange);
}

.gov-card-illustration {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 128px;
    height: 128px;
    border-radius: 50%;
    background: #fff1dc;
    color: var(--gov-navy);
    font-size: 70px;
}

.gov-card-illustration img {
    width: 100%;
    height: 100%;
}

.gov-audience-office .gov-card-illustration {
    background: #eef5ff;
}

.gov-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 134px;
    margin-bottom: 16px;
    padding: 4px 18px;
    border-radius: 999px;
    background: var(--gov-orange);
    color: #ffffff;
    font-size: 15px;
    font-weight: 900;
}

.gov-pill-blue {
    background: var(--gov-navy);
}

.gov-check-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.gov-check-list li {
    position: relative;
    margin-bottom: 13px;
    padding-left: 30px;
    color: #333333;
    font-size: 18px;
    font-weight: 400;
    line-height: 24px;
}

.gov-check-list li strong {
    font-weight: 900;
}

.gov-check-list li:last-child {
    margin-bottom: 0;
}

.gov-check-list li::before {
    content: "\f058";
    position: absolute;
    top: 0 ;
    left: 0;
    font-family: FontAwesome;
    font-size: 26px;
}

.gov-check-orange li::before {
    color: var(--gov-orange);
}

.gov-check-green li::before {
    color: var(--gov-green);
}

.gov-comparison-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.gov-comparison-card {
    min-height: 250px;
    padding: 22px 26px 28px;
    border: 1.5px solid var(--gov-navy);
    border-radius: 8px;
    background: #ffffff;
}

.gov-comparison-featured {
    border-color: var(--gov-orange);
}

.gov-comparison-card .gov-comparison-featured-detail {
    display:flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
}

.gov-comparison-card h3 {
    display: inline-flex;
    min-width: 210px;
    margin: 0 0 22px;
    padding: 6px 18px;
    border-radius: 999px;
    background: #41527e;
    color: #ffffff;
    font-size: 18px;
    font-weight: 900;
    justify-content: center;
}

.gov-comparison-featured h3 {
    background: var(--gov-orange);
}

.gov-comparison-icon {
    display: block;
    float: left;
    width: 92px;
    margin: 12px 22px 20px 0;
    color: var(--gov-navy);
    font-size: 72px;
    text-align: center;
}

.gov-flow-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 36px;
}

.gov-flow-card {
    position: relative;
    min-height: 175px;
    padding: 22px 14px 18px;
    border: 1px solid var(--gov-border);
    border-radius: 8px;
    background: #ffffff;
    text-align: center;
}

.gov-flow-card + .gov-flow-card::before {
    content: "\2192";
    position: absolute;
    top: 50%;
    left: -30px;
    color: var(--gov-navy);
    font-size: 28px;
    font-weight: 900;
    transform: translateY(-50%);
}

.gov-flow-card span,
.gov-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin: 0;
    border-radius: 50%;
    background: var(--gov-navy);
    color: #ffffff;
    font-size: 15px;
    font-weight: 900;
}

.gov-flow-card .fa {
    display: block;
    margin-bottom: 8px;
    color: var(--gov-navy);
    font-size: 38px;
}

.gov-flow-card h3 {
    margin: 0 0 8px;
    color: var(--gov-navy);
    font-size: 17px;
    font-weight: 900;
}

.gov-flow-card img {
    margin: 15px auto;
}

.gov-flow-card p {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
    line-height: 24px;
}

.gov-final-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    margin-top: 78px;
    padding: 28px 34px;
    border: 1.5px solid var(--gov-orange);
    border-radius: 8px;
    background: #fffaf2;
}

.gov-free-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 86px;
    height: 86px;
    border: 1.5px solid var(--gov-orange);
    border-radius: 50%;
    background: #ffffff;
    color: var(--gov-orange);
    font-size: 24px;
    font-weight: 900;
    flex: 0 0 auto;
}

.gov-final-cta p {
    margin: 0;
    flex: 1;
    font-size: 19px;
    font-weight: 800;
    line-height: 1.65;
}

.gov-final-cta p strong {
    font-size: 24px;
}

.gov-btn-compact {
    min-width: 270px;
    min-height: 60px;
    padding: 0 26px;
    font-size: 22px;
    border-radius: 35px;
}

.gov-hero-start {
    padding-bottom: 72px;
}

.gov-support-note {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    margin-top: 28px;
    padding: 22px 26px;
    border-radius: 8px;
    background: var(--gov-soft-blue);
}

.gov-support-note .fa {
    color: var(--gov-navy);
    font-size: 46px;
}

.gov-support-note p {
    margin: 0;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.65;
    text-align: left;
}

.gov-start-steps h2 {
    display: inline-flex;
    align-items: center;
    gap: 34px;
}

.gov-start-steps h2::before,
.gov-start-steps h2::after {
    content: "";
    display: block;
    width: 38px;
    height: 2px;
    background: var(--gov-navy);
    transform: rotate(58deg);
}

.gov-start-steps h2::after {
    transform: rotate(-58deg);
}

.gov-step-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 42px;
    text-align: center;
}

.gov-step-card {
    position: relative;
    min-height: 332px;
    padding: 32px 28px 28px;
    border: 1px solid var(--gov-border);
    border-radius: 8px;
    background: #ffffff;
}

.gov-step-card + .gov-step-card::before {
    content: "\203A";
    position: absolute;
    top: 50%;
    left: -30px;
    color: var(--gov-orange);
    font-size: 56px;
    font-weight: 300;
    transform: translateY(-50%);
}

.gov-step-number {
    width: 52px;
    height: 52px;
    margin-right: 10px;
    font-size: 30px;
    vertical-align: middle;
}

.gov-step-card h3 {
    display: inline-flex;
    align-items: center;
    color: var(--gov-navy);
    font-size: 24px;
    font-weight: 900;
    vertical-align: middle;
}

.gov-step-card .fa {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 96px;
    height: 96px;
    margin: 0 auto 24px;
    border-radius: 50%;
    background: var(--gov-soft-blue);
    color: var(--gov-navy);
    font-size: 52px;
}

.gov-step-card strong {
    display: block;
    margin-bottom: 16px;
    color: var(--gov-navy);
    font-size: 20px;
    font-weight: 900;
    line-height: 1.45;
}

.gov-step-card p {
    margin: 0;
    color: var(--gov-navy);
    font-size: 15px;
    font-weight: 800;
    line-height: 1.7;
}

.gov-support-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    padding: 30px;
    border: 1px solid var(--gov-border);
    border-radius: 8px;
    text-align: left;
}

.gov-support-grid article {
    display: flex;
    align-items: center;
    gap: 20px;
}

.gov-support-grid .fa {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 86px;
    height: 86px;
    border-radius: 50%;
    background: #fff7ed;
    color: var(--gov-orange);
    font-size: 44px;
    flex: 0 0 auto;
}

.gov-support-grid h3,
.gov-prepare-grid h3 {
    margin: 0 0 8px;
    color: var(--gov-navy);
    font-size: 22px;
    font-weight: 900;
}

.gov-prepare-grid h3 {
    color: var(--gov-green);
}

.gov-support-grid p,
.gov-prepare-grid p {
    margin: 0;
    color: var(--gov-navy);
    font-size: 18px;
    font-weight: 800;
    line-height: 1.6;
}

.gov-prepare-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    text-align: left;
}

.gov-prepare-grid article {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 22px;
    align-items: center;
    padding: 28px 34px;
    border: 1px solid var(--gov-border);
    border-radius: 8px;
    background: #ffffff;
}

.gov-prepare-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: #eef8f3;
    color: var(--gov-green);
    font-size: 48px;
}

.gov-prepare-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 12px;
}

.gov-prepare-list li {
    margin-bottom: 0;
}

.gov-start-cta-panel {
    margin-top: 82px;
}

.modal-dialog.dticket-modal.government-download-modal {
    max-width: 820px;
    width: calc(100% - 48px);
}

.government-download-modal .modal-content {
    border: 0;
    border-radius: 36px;
    box-shadow: none;
}

.government-download-modal .modal-header {
    border-bottom: 0;
    padding: 62px 56px 0;
    text-align: center;
}

.government-download-modal .close {
    position: absolute;
    right: 32px;
    color: #333333;
    font-size: 34px;
    font-weight: 300;
    line-height: 1;
    opacity: 1;
    text-shadow: none;
}

.government-download-modal .modal-title {
    color: #000000;
    font-size: 24px;
    font-weight: 700;
}

.government-download-modal .modal-body {
    padding: 26px 56px 58px;
    color: #000000;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 20px;
    line-height: 1.7;
    text-align: center;
}

.government-download-modal .modal-body p {
    margin: 0 0 22px;
    color: #000000;
    font-weight: 400;
}

.government-download-links > div {
    margin-top: 14px;
    text-align: center;
    font-weight: 400;
}

.government-download-modal .modal-body a {
    color: #0070c0;
    text-decoration: underline;
}

@media (max-width: 1199px) {
    .gov-hero h1 {
        font-size: 48px;
    }

    .gov-badge {
        font-size: 16px;
    }

    .gov-cta-panel {
        padding-left: 26px;
        padding-right: 26px;
    }

    .gov-btn {
        font-size: 22px;
    }

    .gov-btn-badge {
        width: 84px;
        height: 84px;
        margin-left: -44px;
        font-size: 13px;
    }

    .gov-btn.use-free-btn {
        width: calc(100% - 30px);
        margin-left: auto;
    }

    .gov-btn.use-free-btn .gov-btn-badge {
        left: 7px;
    }    
}

@media (max-width: 991px) {
    .government-page {
        padding-bottom: 102px;
    }

    .gov-hero {
        flex-direction: column;
        padding-top: 34px;
    }

    .gov-btn.use-free-btn  {
        width: calc(100% - 20px);
    }

    .gov-btn.use-free-btn .gov-btn-badge {
        left: -26px;
        font-size: 12px;
        width: 90px;
        height: 90px;
    }

    .gov-btn.use-free-btn .gov-btn-badge small {
        font-size: 10px ;
    }

    .gov-hero-copy {
        text-align: center;
    }

    .gov-lead {
        font-size: 18px;
    }

    .gov-mini-grid {
        max-width: 640px;
        margin-left: auto;
        margin-right: auto;
    }

    .gov-hero-visual {
        max-width: 720px;
        margin: 0 auto;
    }

    .gov-cta-buttons,
    .gov-audience-grid,
    .gov-comparison-grid,
    .gov-step-grid,
    .gov-support-grid,
    .gov-prepare-grid {
        grid-template-columns: 1fr;
    }

    .gov-btn-badge {
        margin-left: 0;
    }

    .gov-audience-card,
    .gov-prepare-grid article {
        grid-template-columns: 120px minmax(0, 1fr);
    }

    .gov-flow-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gov-flow-card + .gov-flow-card::before,
    .gov-step-card + .gov-step-card::before {
        display: none;
    }

    .gov-support-grid {
        padding: 26px;
    }
    .gov-hero {
        padding: 42px 0 34px;
    }
}

@media (max-width: 767px) {
    .gov-container {
        width: calc(100% - 24px);
    }

    .gov-breadcrumb {
        flex-wrap: wrap;
        font-size: 13px;
    }

    .gov-hero h1 {
        font-size: 36px;
    }

    .gov-badge {
        font-size: 14px;
    }

    .gov-mini-grid,
    .gov-flow-grid {
        grid-template-columns: 1fr;
    }

    .gov-cta-panel {
        padding: 24px 16px;
    }

    .gov-btn {
        min-height: 62px;
        font-size: 19px;
    }

    .gov-btn-badge {
        width: 72px;
        height: 72px;
        font-size: 12px;
    }

    .gov-cta-benefits {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        font-size: 15px;
    }

    .gov-cta-benefits li + li {
        padding-left: 0;
        border-left: 0;
    }

    .gov-section {
        margin-top: 54px;
    }

    .gov-section-centered h2,
    .gov-section-title-small {
        margin-bottom: 26px;
        font-size: 26px;
    }

    .gov-section-kicker {
        font-size: 17px;
    }

    .gov-section-kicker br {
        display: block;
    }

    .gov-audience-card,
    .gov-prepare-grid article {
        padding: 26px 20px;
        text-align: left;
    }

    .gov-card-illustration,
    .gov-prepare-icon {
        width: 100px;
        height: 100px;
        font-size: 52px;
    }

    .gov-comparison-icon {
        float: none;
        width: auto;
        margin: 0 0 16px;
    }

    .gov-final-cta {
        flex-direction: column;
        text-align: center;
    }

    .gov-final-cta p strong {
        font-size: 20px;
    }

    .gov-start-steps h2 {
        gap: 14px;
    }

    .gov-start-steps h2::before,
    .gov-start-steps h2::after {
        width: 24px;
    }

    .gov-step-card h3 {
        display: flex;
        justify-content: center;
        font-size: 21px;
    }

    .gov-support-grid article {
        align-items: flex-start;
    }

    .gov-prepare-list {
        grid-template-columns: 1fr;
    }

    .modal-dialog.dticket-modal.government-download-modal {
        width: calc(100% - 28px);
    }

    .government-download-modal .modal-content {
        border-radius: 12px;
    }

    .government-download-modal .modal-header {
        padding: 52px 24px 0;
    }

    .government-download-modal .close {
        top: 22px;
        right: 24px;
        font-size: 32px;
    }

    .government-download-modal .modal-title {
        font-size: 18px;
    }

    .government-download-modal .modal-body {
        padding: 24px 18px 30px;
        font-size: 16px;
    }

    .government-download-links > div,
    .government-download-modal .modal-body a {
        font-size: 17px;
    }

    .government-download-links > div {
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .gov-hero h1 {
        font-size: 30px;
    }

    .gov-lead {
        font-size: 15px;
    }

    .gov-cta-buttons {
        gap: 20px;
    }

    .gov-btn {
        gap: 10px;
        font-size: 16px;
    }

    .gov-btn .fa-angle-right {
        font-size: 30px;
    }

    .gov-btn-badge {
        width: 62px;
        height: 62px;
        font-size: 10px;
    }
}
