@charset "utf-8";

.com_mv {
    /* main visual */
    background: url('/assets/images/hospitalization/kv_hospitalization.jpg') no-repeat top center;
    -webkit-background-size: 100% auto;
    -o-background-size: 100% auto;
    background-size: 100% auto;
}

.ttl_top_com {
    padding-top: 70px;
}

.ttl_top_com:before {
    content: '';
    position: absolute;
    width: 77px;
    height: 60px;
    background: url('/assets/images/common/icon_hospitalization.svg') no-repeat top center;
    background-size: contain;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.tag_sec {
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.tag_sec a {
    width: 268px;
}

.tag_sec a:nth-child(1),
.tag_sec a:nth-child(2),
.tag_sec a:nth-child(3) {
    border-bottom: 1px solid var(--white-color);
}

.tag_sec a:nth-child(4) {
    border-left: none;
}

 .custom a.mod_btn{
     padding: .55em;
 }

/* Step Box */
.step_box {
    margin: 30px 0 40px;
}

.step_group {
    background: #f0f1f3;
    border-radius: 4px;
    padding: 20px 24px;
}

.step_group_ttl {
    font-size: 16px;
    font-weight: bold;
    color: #666666;
    text-align: center;
    margin-bottom: 14px;
}

.step_items {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.step_item {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 12px 16px;
    font-size: 15px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s;
}

.step_item:hover {
    border-color: #2E8854;
    color: #2E8854;
    opacity: 1;
}

.step_items_single .step_item {
    flex: 1;
}

.step_connector {
    width: 1px;
    height: 30px;
    background: #aaa;
    margin: 0 auto;
}

.step_note {
    margin-top: 16px;
    font-size: 14px;
    color: #CB2D1D;
    text-align: left;
}

.mod_table_div1.custom>.row>.heading {
    width: 200px;
    flex: none;
}

.mod_txt_list.bg {
    padding: 1em;
    background: var(--green-transparent);
    -webkit-box-shadow: -2px 0px 25px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: -2px 0px 25px rgba(0, 0, 0, 0.1);
    box-shadow: -2px 0px 25px rgba(0, 0, 0, 0.1);
}

iframe {
    margin-top: 1em;
}

.mod_table.custom_tbl tr th:first-child,
.mod_table.custom_tbl tr td:first-child {
    border-left: none;
    max-width: 850px;
    white-space: normal;
}

p.mod_ttl_h4{
    font-size: 20px;
    font-weight: bold;
    line-height: 2;
    border-bottom: 1px solid var(--sub2-color);
    color: var(--main-color);
    margin-bottom: 30px;
}
/* For Tablet --------------------------------*/
@media only screen and (min-width: 768px) and (max-width: 1200px) {
    .tag_sec a {
        width: 30%;
    }
    iframe {
        width: 100%;
        height: 6rem;
        margin-top: 1em;
    }
}

/* SP */
@media screen and (max-width: 767px) {
    .ttl_top_com { padding-top: 1.2rem; margin-bottom: .6rem;}
    .tag_sec {
        display: flex;
        flex-wrap: wrap;
        align-items: stretch;
        border-left: 1px solid var(--white-color);
        border-top: 1px solid var(--white-color);
    }

    .tag_sec a {
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        box-sizing: border-box;
        width: 50%;
        min-height: 1.2rem;
        padding: .25rem .1rem;
        border-right: 1px solid var(--white-color);
        border-bottom: 1px solid var(--white-color);
        border-left: none;
        border-top: none;
    }

    .tag_sec a:nth-child(1),
    .tag_sec a:nth-child(2),
    .tag_sec a:nth-child(3),
    .tag_sec a:nth-child(4) {
        border-bottom: 1px solid var(--white-color);
    }

    .step_items {
        flex-wrap: wrap;
    }

    .step_item {
        width: 100%;
        flex: none;
        font-size: 0.28rem;
        padding: 0.2rem 0.3rem;
    }

    .step_group_ttl {
        font-size: 0.3rem;
    }

    .step_note {
        font-size: 0.26rem;
    }

    .mod_table_div1.custom>.row>.heading {
        width: 100%;
        flex: none;
    }

    iframe {
        width: 100%;
        height: 4rem;
    }

    p.mod_ttl_h4{ font-size: .36rem; }
}