@charset "UTF-8";

.fx {
    display: flex;
}

.grid {
    display: grid;
}


/*———————————
250224
———————————*/



.un-gairai .firstMain__section {
    max-width: 800px;
}

/*
外来リンク
———————————*/
.bl-gairaiLink-wrap {
    padding: 50px 0;
    width: 100%;
}

.bl-gairaiLink {
    justify-content: center;
    gap: 30px;
    padding: 20px;
    flex-wrap: wrap;
}

.bl-gairaiLink-item {
    width: 100%;
    max-width: 350px;
    background-color: #fff;
    padding: 30px 30px 30px 40px;
}

.bl-gairaiLink-item:first-of-type {}

.bl-gairaiLink-item h4 {
    font-size: 20px;
    margin-bottom: 20px;
    font-weight: bold;
    text-align: center;
}

.bl-gairaiLink-item li {
    margin-bottom: 10px;
    font-size: 16px;

}

.bl-gairaiLink-item a {
    color: #66a3bd;
    position: relative;
}

.bl-gairaiLink-item a::before {
    clip-path: polygon(0 0, 0% 100%, 100% 50%);
    content: "";
    height: 10px;
    left: calc(-8px * 2);
    margin-top: -5px;
    position: absolute;
    top: 50%;
    width: 8px;
}

/* カラー */
.cl-pink::before {
    background: #fa83e5;
}

.cl-green::before {
    background: #11945a;
}

.cl-yellow::before {
    background: #debe36;
}

.cl-red::before {
    background: #9f3324;
}

.cl-blue::before {
    background: #66a3bd;
}

.bl-gairaiLink-item li:last-of-type {
    margin-bottom: 0;
}

/* 外来背景 */
.un-gairai_top {
    position: relative;
}

.un-gairai_top::before {
    background: rgba(240, 253, 242, .8);
    border-radius: 60px;
    content: "";
    filter: blur(40px);
    height: 90%;
    left: 0;
    position: absolute;
    top: 0%;
    width: 90%;
    z-index: -100;
}


/*
adult
———————————*/
.un-adult .mainTitle {
    line-height: 1.4;
}

.itemNaviType02__link--medic::before {
    background: #66a3bd;
    clip-path: polygon(0 0, 0% 100%, 100% 50%);
    content: "";
    height: 10px;
    left: calc(-8px * 2);
    margin-top: -5px;
    position: absolute;
    top: 50%;
    width: 8px;
}



/* overview
----------------------------------------------------- */


.firstMain__section--title.for-info::before {
    background: #66a3bd;
}

.overview {
    padding: calc(8px * 12) 0 0;
    padding-top: 0;
}

.overview-wrap {
    column-gap: calc(8px * 11);
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.overviewUnit__item:nth-of-type(2) {
    margin-top: calc(8px * 5);
}

.overviewUnit__item--title {
    font-size: var(--fontSize18);
    font-weight: 500;
}

.overviewUnit__item--text {
    font-size: var(--fontSize18);
    line-height: 1.8;
    margin-top: calc(8px * 3);
}

.overviewSchedule__title {
    font-size: var(--fontSize18);
    font-weight: 500;
    margin-bottom: calc(8px * 4);
}

.overviewSchedule__item {
    align-items: center;
    border-top: 1px solid #ddd;
    display: grid;
    font-size: var(--fontSize18);
    grid-template-columns: 20% auto;
    padding: calc(8px * 2) 0 calc(8px * 2) calc(8px * 1);
}

.overviewSchedule__item:last-of-type {
    border-bottom: 1px solid #ddd;
}

.overviewSchedule__notes {
    font-size: 16px;
    margin-top: calc(8px * 2);
    text-align: right;
}

@media screen and (max-width: 767px) {
    .overview {
        padding: calc(8px * 6) 0 0;
    }

    .overview-wrap {
        grid-template-columns: 100%;
        row-gap: calc(8px * 5);
    }

    .overviewUnit__item:nth-of-type(2) {
        margin-top: calc(8px * 5);
    }

    .overviewUnit__item--text {
        margin-top: calc(8px * 2);
    }

    .overviewSchedule__title {
        margin-bottom: calc(8px * 2);
    }
}



/*
こども
———————————*/

.mainvisual.for-child {
    background-image: url("https://saino.biotooop.net/wp-content/uploads/2025/02/img-child_mv.jpg");
}

/* イラスト */
.un-child_illsut{
    width: 100%;
    text-align: center;
    padding: 10px 0;
}
.un-child_illsut img{
    width: 250px;
    
}
.bl-schedule {
    width: 100%;
}

.bl-schedule table {
    width: 100%;
    max-width: 500px;
    margin-inline: auto;
    border: 1px solid #66a3bd;
    font-size: 20px;
}

@media screen and (max-width:768px) {
    .bl-schedule table {
        font-size: 15px;
    }

}

.bl-schedule td {
    padding: 8px;
    text-align: center;
}

@media screen and (max-width:768px) {
    .bl-schedule td {
        padding: 5px;
    }

}

.bl-schedule td:first-of-type {
    border-bottom: 1px solid #fff;
}

.bl-schedule tr:last-of-type td {
    border-bottom: none;
}

.bl-schedule_week {
    background-color: #66a3bd;
    color: #fff;
}

.bl-schedule_week td {
    border-bottom: 1px solid #66a3bd;
    border-right: 1px solid #fff;
}

.bl-schedule_week td:last-of-type {
    border-right: 1px solid #66a3bd;
}

.bl-schedule_time td:first-of-type {
    background-color: #fff;
    background-color: #66a3bd;
    color: #fff;
}

.bl-schedule_time td {
    border-right: 1px solid #66a3bd;
}

.un-schedule_time-AM {
    border-bottom: 1px solid #66a3bd;
}

/*
医師
———————————*/

.bl-doctor_unit {
    column-gap: calc(8px* 10);
    display: grid;
    grid-template-columns: 1fr;
    margin: calc(8px* 10) auto 0;
    max-width: 1170px;
    row-gap: calc(8px* 7);
    width: 100%;
}
.bl-doctor_unit .itemDoctor{
    justify-content: center;
    grid-template-columns: 230px auto;
}
/*
診療内容
———————————*/
.sec-sick {
    padding: 50px 0 30px;
}

.sec-sick h3 {
    font-size: 22px;
    text-align: center;
    margin-bottom: 30px;
}

.bl-list_unit {
    width: 100%;
    max-width: 600px;
    margin-inline: auto;
    display: block;
    margin-bottom: 40px;
}
.bl-list_unit:last-of-type{
    margin-bottom: 0;
}
.bl-list {
    display: flex;
    box-sizing: border-box;
    flex-wrap: wrap;
    font-size: 20px;
}

.bl-list h4 {
    color: #000;
    padding: 20px 0;
    text-align: center;
    background-color: #f1f1f1;
    width: 100%;
    font-weight: bold;
}

.bl-list li {
    width: 50%;
    padding: 20px 10px;
    text-align: center;
    border-bottom: 1px solid #ccc;
}

.bl-list li:nth-of-type(2n) {
    border-left: 1px solid #ccc;
}


.bl-list li > span,
.bl-list_noitce > span {
    color: #66a3bd;
    margin-right: 2px;
}

.bl-list_noitce {
    margin-top: 10px;
}
@media screen and (max-width:768px) {
    .bl-list {
        font-size: 16px;
    }
    .bl-list h4 {
        padding: 15px 5px;
    }
    .bl-list li {
        padding: 15px 10px;
        line-height: 1.3;
    }

}
/*
vaccine
———————————*/
.vaccine-txt {
    width: 100%;
    max-width: 600px;
    margin-inline: auto;
    font-size: 16px;
    line-height: 1.4;
}


/*———————————
ヘッダー
———————————*/
.hv-nav_gairai {
    position: relative;
}

.hv-nav_gairai ul {
    display: none;
}

.hv-nav_gairai:hover ul {
    display: block;
    position: absolute;
    top: 20px;
    width: max-content;
    ;
    padding-top: 20px;
}

.hv-nav_gairai:hover li {
    padding: 12px 8px;
    background-color: #fff;
    border-bottom: 1px solid #ccc;
}

/*———————————
アクセス
———————————*/
.un-access .mainTitle {
    line-height: 1.4;
}

/*———————————
共通
———————————*/

.el-jushin_button {
    padding: 30px 20px;
}

.el-jushin_button a {
    position: relative;
    width: max-content;
    padding: 20px 10px 20px 30px;
    font-size: 20px;
    font-weight: bold;
    color: var(--colorBase);
    border: 1px solid #66a3bd;
    margin-inline: auto;
    display: flex;
    align-items: center;
    border-radius: 8px;
    transition: 0.5s;
}

.el-jushin_button a:hover {
    background-color: #66a3bd;
    color: #fff;
}

.el-jushin_button a::before {
    background: #66a3bd;
    clip-path: polygon(0 0, 0% 100%, 100% 50%);
    content: "";
    height: 14px;
    aspect-ratio: 1/1.5;
    left: 10px;
    position: absolute;
    transition: 0.5s;
}

.el-jushin_button a:hover::before {
    background: #fff;
}

@media screen and (max-width:768px) {
    .el-jushin_button a {
        font-size: 16px;
        padding-top: 15px;
        padding-bottom: 15px;
    }
}
