@charset "UTF-8";

/*indexメインイメージ
---------------------------------------------------------------------------*/

.mainImg__wrapper {
    position: relative;

    &>img {
        object-fit: cover;
        object-position: center;
        width: 100%;
        max-height: 500px;
        aspect-ratio: 750 / 500;
    }

    & .mainImg__message--1 {
        position: absolute;
        display: block;
        right: 5%;
        bottom: 35%;
        font-size: clamp(20px, 5vw, 40px);
        font-family: 游明朝体, "Yu Mincho", YuMincho, "ヒラギノ明朝 Pro", serif;
        color: #333;
        line-height: 130%;
    }

    & .mainImg__message--2 {
        clip-path: polygon(15% 0%, 100% 0%, 85% 100%, 0% 100%);
        position: absolute;
        bottom: 40px;
        right: 20px;
        font-family: 游明朝体, "Yu Mincho", YuMincho, "ヒラギノ明朝 Pro", serif;
        font-size: 48px;
        background-image: linear-gradient(230deg, rgb(213 246 255 / 75%), rgb(67 171 255 / 57%));
        padding: 15px 70px;
        font-weight: normal;
        color: #333;
    }
}

@media screen and (min-width:1400px) {

    .mainImg__wrapper .mainImg__message--1,
    .mainImg__wrapper .mainImg__message--2 {
        right: 15%;
    }

    .mainImg__wrapper .mainImg__message--1{
        padding-right: 100px;
    }
}

@media screen and (max-width:799px) {
    .mainImg__wrapper .mainImg__message--2 {
        clip-path: polygon(10% 0%, 100% 0%, 90% 100%, 0% 100%);
        font-size: clamp(20px, 5vw, 40px);
        padding: 10px 25px;
        right: 10px;
    }
}

@media screen and (max-width:450px) {
    .mainImg__wrapper .mainImg__message--2 {
        bottom: 15px;
    }

    .mainImg__wrapper .mainImg__message--1 {
        bottom: 70px;
    }
}

/*index ページタイトル
---------------------------------------------------------------------------*/

.indextitle {
    font-size: 4em;
    font-weight: bold;
    text-align: center;
    padding-top: 2%;
    padding-bottom: 2%;
}

.indeximg h2 {
    background: #FDF7F9;
    text-align: center;
}


/*フッターリスト
---------------------------------------------------------------------------*/

.item_list2 {
    overflow: hidden;
}

.item_list2 li {
    float: left;
    margin-right: 1%;
    width: 24.25%;
    font-size: 18px;
    font-weight: bold;
    padding-top: 10px;
    padding-bottom: 10px;
    line-height: 48px;
    text-align: center;
    color: #FFF;
}

.item_list2 li:last-child {
    margin-right: 0;
}

.item_list2 a {
    color: #fff;
    text-decoration: none;
}


/*科目リスト
---------------------------------------------------------------------------*/

.kamoku_list li {
    text-align: center;
    background-color: #EEE;
    padding: 2% 0;
    margin-bottom: 10px;
    margin-right: 1%;
    float: left;
    width: 19.2%;
    font-size: 1.2em;
}

.kamoku_list li.kamoku_list_last {
    margin-right: 0;
}

.kamoku_list_2 {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.kamoku_list_2 li {
    text-align: center;
    background-color: #EEE;
    padding: 2% 0;
    margin-bottom: 10px;
    width: 19.2%;
    font-size: 1.2em;
}

.kamoku_list_2 li.blank_white {
    background-color: #fff;
}

@media screen and (max-width:768px) {
    .kamoku_list_2 li {
        width: 47%;
    }

    .blank_white {
        display: none;
    }
}


/*画像付きリスト（dl）
---------------------------------------------------------------------------*/

.photo {
    overflow: hidden;
}

dl.list_photo {
    float: left;
    width: 30%;
    margin-right: 5%;
}

dl.list_photo:last-child {
    margin-right: 0;
}

.photo dl dt {
    margin-bottom: 5px;
}


/*画像付きリスト(ul)
---------------------------------------------------------------------------*/

.list_photo li {
    float: left;
    width: 30%;
    margin-right: 5%;
}

.list_photo li:last-child {
    margin-right: 0;
}


/*メニュー一覧
---------------------------------------------------------------------------*/

.menu_list li {
    float: left;
    width: 23.5%;
    margin-right: 2%;
    text-align: center;
}

.menu_list li img {
    margin-bottom: 2%;
}

.menu_list {
    overflow: hidden;
    margin-top: 2%;
    margin-bottom: 2%;
}

.menu_list li:last-child {
    margin-right: 0;
}


/*装飾
---------------------------------------------------------------------------*/

.comment_box {
    background-color: #FDF7F9;
    padding: 15px;
    border-radius: 6px;
    -webkit-border-radius: 6px;
    /* for Safari and Chrome 対応*/
    -moz-border-radius: 6px;
    /* for Firefox 対応*/
    border: 1px solid #FAD6E0;
}

.comment_list li {
    list-style-position: inside;
    list-style-type: disc;
}


/*sns
---------------------------------------------------------------------------*/

#sns {
    overflow: hidden;
    background-color: #666;
    padding-top: 20px;
    padding-bottom: 20px;
}

#sns p {
    margin-bottom: 10px;
    font-weight: bold;
    color: #FFF;
    font-size: 16px;
}

#sns ul {
    text-align: center;
}

#sns ul li {
    display: inline;
    padding-right: 10px;
    padding-left: 10px;
}


/*フッターコンテンツ
---------------------------------------------------------------------------*/

#footcontents {
    overflow: hidden;
    background-color: #FDF7F9;
}

.footcontents_in {
    width: 1080px;
    margin-top: 20px;
    margin-right: auto;
    margin-bottom: 20px;
    margin-left: auto;
    overflow: hidden;
}

.clinic_name {
    float: left;
    width: 49%;
}

.clinic_name p {
    margin-top: 2%;
    margin-bottom: 2%;
}

.clinic_time {
    float: right;
    width: 49%;
}

.clinic_point {
    background-color: #FFFFFF;
    color: #FF6699;
    padding: 0.5%;
    text-align: center;
    font-weight: bold;
    font-size: 1.4em;
    border-radius: 6px;
    -webkit-border-radius: 6px;
    /* for Safari and Chrome 対応*/
    -moz-border-radius: 6px;
    /* for Firefox 対応*/
    width: 50%;
    margin-bottom: 1.5%;
    border: 1px solid #FF6699;
}

.clinic_point2 {
    background-color: #FF6699;
    color: #FFF;
    padding: 0.5%;
    text-align: center;
    font-weight: bold;
    font-size: 1.4em;
    border-radius: 6px;
    -webkit-border-radius: 6px;
    /* for Safari and Chrome 対応*/
    -moz-border-radius: 6px;
    /* for Firefox 対応*/
    width: 65%;
    margin-top: 0;
    margin-right: auto;
    margin-bottom: 1.5%;
    margin-left: auto;
    border: 1px solid #FF6699;
}


/*診療時間テーブル
---------------------------------------------------------------------------*/

.clinic_time {
    margin-bottom: 30px;
    overflow: hidden;
}

.clinic_time:last-child {
    margin-bottom: 0;
}

.ta_time th {
    padding: 10px;
    text-align: center;
    width: 140px;
    background-color: #FAD6E0;
}

.ta_time td {
    text-align: center;
    background-color: #fff;
}

.ta_time,
.ta_time td,
.ta_time th {
    border: 1px solid #ccc;
    line-height: 2;
}

.access_box {
    margin-top: 10px;
}

.access_time {
    float: left;
    margin-right: 50px;
}

.access_time dt {
    font-weight: bold;
}


/*バナー
---------------------------------------------------------------------------*/

.bnr p {
    margin-bottom: 10px;
}


/*サイトマップ
---------------------------------------------------------------------------*/

.sitemap ul li a {
    display: block;
    padding-left: 10px;
    padding-top: 15px;
    padding-bottom: 15px;
    background-color: #fff;
}

.sitemap li a {
    list-style-type: none;
    background-image: url(../images/arrow.png);
    background-repeat: no-repeat;
    background-position: 10px center;
    background-size: 6px 10px;
    padding-left: 25px;
}