@charset "utf-8";

/* 協会けんぽ 巡回健診のご案内（info-kk）専用 */


/* ページ固有の見出しをh1にするため、ヘッダー上部の説明文は見た目だけ従来どおりに保つ */
#header .kenpo-info-kk-site-description {
    margin: 0;
    padding: 0;
    background-color: #0081d0;
    color: #fff;
    font-size: 10px;
    font-weight: normal;
    line-height: 15px;
}

.kenpo-info-kk-related-title,
.kenpo-info-kk-mobile-footer {
    display: none;
}

#kenpo-info-kk-page {
    width: 690px;
    color: #333;
    font-size: 14px;
    line-height: 1.8;
}

#kenpo-info-kk-page .kenpo-info-kk-title {
    width: 690px;
    min-height: 96px;
    margin: 0 0 24px 0;
    padding: 30px 28px 24px 28px;
    box-sizing: border-box;
    border: 1px solid #7ea8c6;
    background: #d9eefb;
    color: #075f92;
    font-size: 27px;
    font-weight: bold;
    line-height: 1.35;
    text-align: center;
}

#kenpo-info-kk-page .kenpo-info-kk-hero {
    margin: 0 0 30px;
    padding: 24px 26px 26px;
    box-sizing: border-box;
    border: 1px solid #c8dfe9;
    background: #f8fcfe;
}

#kenpo-info-kk-page .kenpo-info-kk-lead {
    margin: 0 0 6px;
    color: #075f92;
    font-size: 21px;
    font-weight: bold;
    text-align: center;
}

#kenpo-info-kk-page .kenpo-info-kk-copy {
    margin: 0 0 20px;
    font-size: 15px;
    text-align: center;
}

#kenpo-info-kk-page .kenpo-info-kk-route-list {
    display: flex;
    gap: 16px;
}

#kenpo-info-kk-page .kenpo-info-kk-route-card {
    display: flex;
    flex-direction: column;
    width: 50%;
    padding: 20px 18px;
    box-sizing: border-box;
    border: 1px solid #cbdde8;
    background: #fff;
    text-align: center;
}

#kenpo-info-kk-page .kenpo-info-kk-route-card-accent {
    border: 2px solid #55a6ce;
    background: #f1f9fd;
}

#kenpo-info-kk-page .kenpo-info-kk-route-label {
    display: inline-block;
    align-self: center;
    margin: 0 0 8px;
    padding: 3px 10px;
    border-radius: 14px;
    background: #eaf5fb;
    color: #075f92;
    font-size: 13px;
    font-weight: bold;
}

#kenpo-info-kk-page .kenpo-info-kk-route-card h4 {
    margin: 0 0 10px;
    padding: 0;
    border: 0;
    background: none;
    color: #075f92;
    font-size: 20px;
    line-height: 1.4;
}

#kenpo-info-kk-page .kenpo-info-kk-route-card p {
    margin-top: 0;
}

#kenpo-info-kk-page .kenpo-info-kk-route-note {
    margin-bottom: 12px;
    padding: 7px 8px;
    background: #fff7e9;
    color: #5d4b2d;
    font-size: 12px;
    line-height: 1.55;
}

#kenpo-info-kk-page .kenpo-info-kk-route-action {
    margin: auto 0 0;
    padding-top: 8px;
}

#kenpo-info-kk-page .kenpo-info-kk-route-action a,
#kenpo-info-kk-page .kenpo-info-kk-doc a {
    display: block;
    box-sizing: border-box;
    width: 100%;
    padding: 11px 12px;
    border: 1px solid #0873b4;
    border-radius: 5px;
    background: #087fc4;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    line-height: 1.45;
    text-align: center;
    text-decoration: none;
}

#kenpo-info-kk-page .kenpo-info-kk-route-action a:hover,
#kenpo-info-kk-page .kenpo-info-kk-doc a:hover {
    background: #06689f;
    color: #fff;
}

#kenpo-info-kk-page .kenpo-info-kk-section,
#kenpo-info-kk-page .kenpo-info-kk-contact-section {
    margin-top: 0;
}

#kenpo-info-kk-page .kenpo-info-kk-docs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 20px;
}

#kenpo-info-kk-page .kenpo-info-kk-doc {
    display: flex;
    flex-direction: column;
    padding: 16px;
    box-sizing: border-box;
    border: 1px solid #d7e3ea;
    background: #fff;
}

#kenpo-info-kk-page .kenpo-info-kk-doc-wide {
    grid-column: 1 / -1;
}

#kenpo-info-kk-page .kenpo-info-kk-doc-important {
    border-color: #e5c36d;
    background: #fffaf0;
}

#kenpo-info-kk-page .kenpo-info-kk-doc h5 {
    margin: 0 0 8px;
    color: #075f92;
    font-size: 16px;
    line-height: 1.4;
}

#kenpo-info-kk-page .kenpo-info-kk-doc p {
    margin: 0 0 12px;
    line-height: 1.65;
}

#kenpo-info-kk-page .kenpo-info-kk-doc a {
    margin-top: auto;
}

#kenpo-info-kk-page .kenpo-info-kk-contact-card {
    padding: 22px 18px;
    box-sizing: border-box;
    border: 1px solid #cbdde8;
    background: #fff;
    text-align: center;
}

#kenpo-info-kk-page .kenpo-info-kk-contact-title {
    margin: 0 0 10px;
    color: #333;
    font-size: 16px;
    font-weight: bold;
}

#kenpo-info-kk-page .kenpo-info-kk-phone {
    margin: 0 0 6px;
    font-size: 27px;
    font-weight: bold;
    line-height: 1.3;
}

#kenpo-info-kk-page .kenpo-info-kk-phone a {
    color: #006fae;
    text-decoration: none;
}

#kenpo-info-kk-page .kenpo-info-kk-contact-line {
    margin: 5px 0 0;
    color: #444;
    font-size: 14px;
}

@media screen and (max-width: 760px) {
    html,
    body {
        min-width: 0 !important;
        width: 100%;
        overflow-x: hidden;
        -webkit-text-size-adjust: 100%;
    }

    div#stage,
    #header,
    div#content,
    #gnavi,
    #foot01,
    #copyright {
        box-sizing: border-box;
        width: 100% !important;
        max-width: 100% !important;
    }

    #header h2 {
        float: none;
        width: 100%;
    }

    #header h2 img {
        display: block;
        width: auto;
        max-width: 100%;
        height: auto;
    }

    #gnavi ul.menu {
        box-sizing: border-box;
        width: 100%;
        overflow: hidden;
    }

    #gnavi ul.menu li[class^="gmenu"] {
        box-sizing: border-box;
        width: 50% !important;
        height: 40px !important;
        background-size: 100% 40px !important;
        background-repeat: no-repeat !important;
    }

    #gnavi ul.menu li[class^="gmenu"] a {
        box-sizing: border-box;
        width: 100% !important;
        height: 40px !important;
        background-size: 100% 40px !important;
        background-repeat: no-repeat !important;
    }

    div#content {
        display: flex;
        flex-direction: column;
        padding: 0 12px;
    }

    div#main {
        order: 1;
        float: none;
        width: 100%;
        margin: 20px 0 0;
    }

    div#side {
        order: 2;
        float: none;
        width: 250px;
        max-width: 100%;
        margin: 22px auto 30px;
    }

    #content > .clear {
        order: 3;
    }

    #kenpo-info-kk-page,
    #kenpo-info-kk-page .kenpo-info-kk-title {
        box-sizing: border-box;
        width: 100%;
        max-width: 100%;
    }

    #kenpo-info-kk-page .kenpo-info-kk-title {
        min-height: 0;
        margin-bottom: 18px;
        padding: 20px 14px;
        font-size: 22px;
        line-height: 1.45;
    }

    #kenpo-info-kk-page .kenpo-info-kk-hero {
        width: 100%;
        margin-bottom: 24px;
        padding: 20px 14px 22px;
        overflow: hidden;
    }

    #kenpo-info-kk-page .kenpo-info-kk-lead {
        font-size: 19px;
    }

    #kenpo-info-kk-page .kenpo-info-kk-copy {
        font-size: 14px;
        line-height: 1.65;
    }

    #kenpo-info-kk-page .kenpo-info-kk-route-list {
        flex-direction: column;
        gap: 12px;
    }

    #kenpo-info-kk-page .kenpo-info-kk-route-card {
        width: 100%;
        padding: 18px 12px;
    }

    #kenpo-info-kk-page .kenpo-info-kk-route-card h4 {
        font-size: 19px;
    }

    #kenpo-info-kk-page .kenpo-info-kk-route-action a,
    #kenpo-info-kk-page .kenpo-info-kk-doc a {
        padding: 13px 10px;
        font-size: 15px;
    }

    #kenpo-info-kk-page .kenpo-info-kk-section,
    #kenpo-info-kk-page .kenpo-info-kk-contact-section {
        width: 100%;
    }

    #kenpo-info-kk-page .kenpo-info-kk-section h4,
    #kenpo-info-kk-page .kenpo-info-kk-contact-section h4 {
        box-sizing: border-box;
        font-size: 19px;
        line-height: 1.4;
    }

    #kenpo-info-kk-page .kenpo-info-kk-docs {
        display: block;
    }

    #kenpo-info-kk-page .kenpo-info-kk-doc {
        margin-bottom: 12px;
        padding: 15px 12px;
    }

    #kenpo-info-kk-page .kenpo-info-kk-contact-card {
        padding: 18px 12px;
    }

    #kenpo-info-kk-page .kenpo-info-kk-phone {
        font-size: 27px;
    }

    /* PCのサイドメニューは、スマホでは本文後の「関連ページ」として見せる */
    .kenpo-info-kk-related-title {
        display: block;
        box-sizing: border-box;
        width: 250px;
        max-width: 100%;
        margin: 0 auto 10px;
        padding: 8px 10px;
        border-left: 4px solid #0786c9;
        background: #eef8fd;
        color: #075f92;
        font-size: 17px;
        font-weight: bold;
        line-height: 1.4;
    }

    /* 関連ページの画像メニューをスマホ画面の中央にそろえる */
    #side .sbox1 {
        width: 250px;
        max-width: 100%;
        margin: 0 auto;
    }

    #side .sbox3 {
        width: 250px;
        max-width: 100%;
        margin: 10px auto 0;
    }

    #side .sbox1 ul.menu li,
    #side .sbox3 ul.menu li {
        margin-left: auto;
        margin-right: auto;
    }

    /* 詳細なPC用フッターはスマホでは省略し、主要リンクだけ表示する */
    #footer {
        padding-top: 0;
    }

    #footer #foot01 {
        display: none;
    }

    .kenpo-info-kk-mobile-footer {
        display: block;
        box-sizing: border-box;
        width: 100%;
        padding: 18px 12px 14px;
        border-top: 0;
        background: #f5f5f5;
        text-align: center;
    }

    .kenpo-info-kk-mobile-footer-name {
        margin: 0 0 12px;
        color: #333;
        font-size: 13px;
        font-weight: bold;
        line-height: 1.55;
    }

    .kenpo-info-kk-mobile-footer ul {
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .kenpo-info-kk-mobile-footer li {
        display: inline-block;
        margin: 3px 4px;
        font-size: 12px;
        line-height: 1.5;
    }

    .kenpo-info-kk-mobile-footer li + li:before {
        margin-right: 8px;
        color: #999;
        content: "|";
    }

    .kenpo-info-kk-mobile-footer a {
        color: #075f92;
        text-decoration: none;
    }

    #copyright {
        box-sizing: border-box;
        width: 100% !important;
        padding: 9px 10px 12px;
        background: #f5f5f5;
        font-size: 10px;
        line-height: 1.5;
        text-align: center;
    }
}

@media screen and (max-width: 400px) {
    #kenpo-info-kk-page .kenpo-info-kk-title {
        font-size: 20px;
    }

    #kenpo-info-kk-page .kenpo-info-kk-lead {
        font-size: 18px;
    }

    #kenpo-info-kk-page .kenpo-info-kk-phone {
        font-size: 25px;
    }
}
