/* ===========================
   色定義
=========================== */
:root {
    --c-primary: #0B3D91;
    --c-primary-dark: #072a6a;
    --c-primary-mid: #3a6bbf;
    --c-primary-light: #e8eef8;
    --c-primary-muted: rgba(11, 61, 145, 0.08);

    --c-bg: #ffffff;
    --c-bg-alt: #f7f9fc;
    --c-border: #e4e9f0;

    --c-text: #1a2340;
    --c-text-body: #374151;
    --c-text-muted: #6b7280;

    --c-footer-bg: #072a6a;
    --c-footer-text: rgba(255, 255, 255, 0.78);

    --c-footer-bg: #072a6a;
    --c-footer-text: rgba(255, 255, 255, 0.78);

    --container: 1080px;
    --radius: 6px;
    --radius-lg: 14px;

    --shadow-sm: 0 1px 4px rgba(0, 0, 0, 0.07);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.10);

    --ease: 0.2s ease;
}


* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Noto Sans JP", "Yu Gothic", sans-serif;
    color: var(--c-text);
    background: var(--c-bg);
    line-height: 1.7;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: min(1120px, 92%);
    margin: 0 auto;
}

header {
    height: 72px;
    background: #fff;
    border-bottom: 1px solid #e3eefb;
}

.header-inner {
    height: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.logo {
    /* font-size: 24px; */
    font-weight: 900;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-header {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.logo-header .logo-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 6px;
}

.logo-header h1 {
    font-weight: 900;
    font-size: 1.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    border-radius: 10px;
    font-weight: 900;
    border: 0;
    cursor: pointer;
    transition: .2s transform, .2s box-shadow;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, .18)
}


.hero {
    background: linear-gradient(135deg, #f8fbff, #e8f4ff);
    padding: 60px 0;
    overflow: hidden;
}

.hero {
    position: relative;
    padding: 4rem;
    background-image:
        linear-gradient(90deg,
            rgb(255, 255, 255) 0%,
            rgb(255, 255, 255, 0.6) 50%,
            rgba(255, 255, 255, 0.15) 100%),
        url("assets/hero.jpg");
    background-size: auto;
    background-repeat: no-repeat;
    background-position: center;
    overflow: hidden;
}

.hero-inner {
    display: grid;
    gap: 40px;
    align-items: center;
}

.hero h1 {
    font-size: 46px;
    line-height: 1.35;
    font-weight: 900;
    margin-bottom: 22px;
}

.hero h1 span {
    font-size: 4rem;
    color: #0057d8;
}

.hero p {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 28px;
}

.note {
    font-size: 13px;
    margin-top: 14px;
    color: #555;
}

.device {
    background: #fff;
    border-radius: 26px;
    padding: 26px;
    box-shadow: 0 24px 50px rgba(0, 70, 170, .18);
}

.screen {
    height: 320px;
    border-radius: 18px;
    background: linear-gradient(135deg, #06439c, #f8fbff);
    padding: 24px;
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 18px;
}

.side {
    background: #0648a8;
    border-radius: 14px;
}

.dashboard {
    background: #fff;
    border-radius: 14px;
    padding: 20px;
    display: grid;
    gap: 14px;
}

.bar {
    height: 38px;
    border-radius: 8px;
    background: linear-gradient(90deg, #dcecff, #006ee8);
}

section {
    padding: 58px 0;
}

.title {
    text-align: center;
    font-size: 30px;
    font-weight: 900;
    margin-bottom: 34px;
}

.title::after {
    content: "";
    display: block;
    width: 46px;
    height: 4px;
    background: #0057d8;
    border-radius: 999px;
    margin: 12px auto 0;
}

.features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.feature {
    padding: 10px 20px;
    border-right: 1px solid #cfe1f7;
}

.feature:last-child {
    border-right: none;
}

.feature .icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    font-weight: 900;
}

.feature h3 {
    color: var(--c-primary);
    font-size: 20px;
    margin-bottom: 8px;
}

.feature p {
    font-weight: 700;
    font-size: 14px;
}

.diagnosis {
    background: #edf6ff;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.q-card {
    background: #fff;
    border-radius: 14px;
    padding: 18px;
    min-height: 190px;
}

.q-title {
    font-weight: 900;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.q-num {
    background: #0057d8;
    color: #fff;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.form-table {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 16px 20px;
    align-items: center;
    margin-top: 1.5rem;
}

.form-table label {
    font-weight: 600;
}

.form-table input {
    width: 100%;
    font-size: 1rem;
    box-sizing: border-box;
}

.contact-note {
    margin-top: 1.5rem;
    font-size: .95rem;
    color: #666;
}



label {
    display: block;
    font-weight: 700;
    color: #0057d8;
    margin: 8px 0;
    cursor: pointer;
}

input {
    padding: 12px 14px;
    border: 1px solid #d9d9d9;
    border-radius: 8px;
}

input[type="radio"],
input[type="checkbox"] {
    margin-right: 8px;
}

textarea {
    width: 100%;
    height: 110px;
    border: 1px solid #cfe1f7;
    border-radius: 10px;
    padding: 12px;
    resize: vertical;
    font-family: inherit;
}

.diagnosis-bottom {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: center;
    margin-top: 22px;
}

.safe-text {
    font-weight: 700;
    font-size: 15px;
}

.cases {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.case {
    border: 1px solid #d7e6f7;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 70, 170, .08);
}

.case-img {
    height: 150px;
    background: linear-gradient(135deg, #dcecff, #fff);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0057d8;
    font-weight: 900;
}

.case-body {
    padding: 18px;
}

.case-body h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.case-body strong {
    color: #0057d8;
    font-size: 26px;
}

.btn.cta {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;

    border: 1px solid var(--c-primary);
    color: var(--c-primary);
    border-radius: 1rem;
    font-size: 2rem;

    width: 100%;
    max-width: 100%;
    padding: 26px
}

.btn.cta .icon-cta {
    height: 2rem;
}

.small-btn {
    display: inline-block;
    margin-top: 14px;
    padding: 8px 28px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 14px;
}


.cta-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: center;
}

.cta h2 {
    font-size: 30px;
    font-weight: 900;
}

.cta p {
    font-weight: 700;
}

.cta .btn {
    background: #fff;
    color: #0057d8;
    box-shadow: none;
}



.image_qr {
    border-radius: 1rem;
    overflow: hidden;
}

footer {
    background: #031a44;
    color: #fff;
    padding: 2rem
}


footer .logo {
    width: 2rem;
}

.brand .logo {
    width: 1.2rem;
    scale: 1.2;
}

footer p {
    margin: 7px 0
}

footer .muted {
    color: #c9d8ee
}

.foot-cta {
    display: grid;
    gap: 14px
}

.copy {
    text-align: center;
    color: #b7c7df;
    margin-top: 36px;
    font-size: .9rem
}


.flex-col-left {
    display: flex;
    flex-direction: column;
    align-items: start;
}

a.example {
    text-decoration: underline;
    font-weight: 600;
    font-size: 1.2rem;
    margin-left: 2rem;
}

a.example:link {
    color: #0057d8;
}

a.example:visited {
    color: purple;
}


@media (max-width: 900px) {
    .hero {
        padding: 1.5rem;
        background-image:
            linear-gradient(90deg,
                rgb(255, 255, 255) 0%,
                rgb(255, 255, 255, 0.8) 60%,
                rgba(255, 255, 255, 0.15) 100%),
            url("assets/hero.jpg");
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        overflow: hidden;
    }

    .hero-inner,
    .diagnosis-bottom,
    .cta-inner {
        grid-template-columns: 1fr;
    }


    header {
        height: auto;
        padding: 14px 0;
    }

    .hero h1 {
        font-size: 1.2rem;
    }

    .hero h1 span {
        font-size: 2rem;
    }

    .features,
    .cases {
        grid-template-columns: 1fr 1fr;
    }

    .title {
        font-size: 1.5rem;
        font-weight: 700;
        margin-bottom: 28px;
    }

    .feature {
        border-right: none;
    }


    .feature .icon {
        width: 3rem;
        height: 3rem;
        margin: 0 auto 14px;
        font-size: 30px;
        font-weight: 900;
    }

    .form-table {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .form-table label {
        margin-top: 8px;
    }

    .diagnosis-box {
        padding: 22px;
    }

    .btn {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .hero {
        padding: 1.5rem;
        background-image:
            linear-gradient(90deg,
                rgb(255, 255, 255) 0%,
                rgb(255, 255, 255, 0.8) 80%,
                rgba(255, 255, 255, 0.15) 100%),
            url("assets/hero.jpg");
    }

    .features,
    .cases {
        grid-template-columns: 1fr;
    }
}