/*
Theme Name: クレアクリニック【公式】
Author: Kunitani
Description: ディスクリプション
Version: 2.0
*/

@font-face {
    font-family: "NotoSansJP-VariableFont";
    /*任意のフォントファミリー名でOK*/
    src: url("../font/NotoSansJP-VariableFont_wght.ttf") format("truetype");
    /*fontがあるパスを書いて、formatを指定*/
    font-display: swap;
    /*ダウンロード状況に応じてフォントの表示を変える
    (「swap」はWebフォントが読み込まれるまでフォールバックフォントで表示し、読み込まれた時点で置き換えます。)*/
}

@font-face {
    font-family: "NotoSansJP-Regular";
    /*任意のフォントファミリー名でOK*/
    src: url("../font/NotoSansJP-Regular.ttf") format("truetype");
    /*fontがあるパスを書いて、formatを指定*/
    font-display: swap;
    /*ダウンロード状況に応じてフォントの表示を変える
    (「swap」はWebフォントが読み込まれるまでフォールバックフォントで表示し、読み込まれた時点で置き換えます。)*/
}

@font-face {
    font-family: "NotoSansJP-Regular";
    /*任意のフォントファミリー名でOK*/
    src: url("../font/NotoSansJP-Regular.ttf") format("truetype");
    /*fontがあるパスを書いて、formatを指定*/
    font-display: swap;
    /*ダウンロード状況に応じてフォントの表示を変える
    (「swap」はWebフォントが読み込まれるまでフォールバックフォントで表示し、読み込まれた時点で置き換えます。)*/
}

@font-face {
    font-family: "NotoSerifJP-VariableFont";
    /*任意のフォントファミリー名でOK*/
    src: url("../font/serif/NotoSerifJP-VariableFont_wght.ttf") format("truetype");
    /*fontがあるパスを書いて、formatを指定*/
    font-display: swap;
    /*ダウンロード状況に応じてフォントの表示を変える
    (「swap」はWebフォントが読み込まれるまでフォールバックフォントで表示し、読み込まれた時点で置き換えます。)*/
}

@font-face {
    font-family: "NotoSerifJP-Medium";
    /*任意のフォントファミリー名でOK*/
    src: url("../font/serif/NotoSerifJP-Medium.ttf") format("truetype");
    /*fontがあるパスを書いて、formatを指定*/
    font-display: swap;
    /*ダウンロード状況に応じてフォントの表示を変える
    (「swap」はWebフォントが読み込まれるまでフォールバックフォントで表示し、読み込まれた時点で置き換えます。)*/
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    font-family: "NotoSansJP-Regular", sans-serif;
    font-weight: normal;
    color: #636363;
}

img {
    vertical-align: bottom;
}

a {
    color: #62bec9;
}

p {
    line-height: 1.6;
    letter-spacing: 2px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    letter-spacing: 2px;
}

/*ぱんくずリスト*/

.breadcrumb-001 {
    display: flex;
    gap: 0 2px;
    list-style: none;
    padding: 0;
    font-size: .9em;
}

.breadcrumb-001 li {
    display: flex;
    align-items: center;
}

.breadcrumb-001 li:first-child::before {
    display: inline-block;
    width: 1em;
    height: 1em;
    margin-right: 4px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 20C20 20.5523 19.5523 21 19 21H5C4.44772 21 4 20.5523 4 20V11L1 11L11.3273 1.6115C11.7087 1.26475 12.2913 1.26475 12.6727 1.6115L23 11L20 11V20ZM11 13V19H13V13H11Z' fill='%23333333'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    content: '';
}
/*
.breadcrumb-001 li:not(:last-child)::after {
    display: inline-block;
    transform: rotate(45deg);
    width: .3em;
    height: .3em;
    margin-left: 10px;
    border-top: 1px solid #333333;
    border-right: 1px solid #333333;
    content: '';
}*/

.breadcrumb-001 a {
    color: #333333;
    text-decoration: none;
}

/*===================================================================================*/
/*ヘッダー============================================================================*/
/*===================================================================================*/

/*================================= 全体レイアウト =================================*/
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    border-bottom: 1px solid #ccc;
    width: 100%;
    height: 100px;
    position: fixed;
    top: 0;
    z-index: 2;
}

/*================================= ロゴ =================================*/
.logo {
    font-size: 24px;
    font-weight: bold;
    width: 250px;
    margin-left: 20px;
}

.logo img {
    width: 100%;
    max-width: 250px;
    height: auto;
}

/*================================= ナビ全体 =================================*/
.nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

/*============== 診療案内↓胃カメラ↓大腸カメラ↓症状↓医院紹介↓ リンク ==============*/
.nav-links {
    display: flex;
    list-style: none;
    gap: 15px;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: #636363;
    font-weight: 500;
    font-size: 14px;
    display: block;
    width: 90px;
    padding: 40px 0;
}

.nav-links a:hover {
    color: #62bec9;
}

/*==============診療案内↓胃カメラ↓大腸カメラ↓症状↓医院紹介のドロップダウンメニュー==============*/


.gnavi__list {
    position: relative;
}

.gnavi__list a::before {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    border-top: 2px solid #62bec9;
    border-left: 2px solid #62bec9;
    transform: rotate(225deg);
    position: absolute;
    right: 5px;
    top: calc(50% - 5px);
}

.dropdown__lists {
    visibility: hidden;
    opacity: 0;
    transition: all .3s;
    width: 230px;
    max-width: 230px;
    position: absolute;
    top: 100px;
    left: auto;
}

.gnavi__list:hover .dropdown__lists {
    visibility: visible;
    opacity: 1;
}

.dropdown__list {
    background-color: #62bec9;
    transition: all .3s;
    position: relative;
    list-style: none;
}

.dropdown__list:not(:first-child)::before {
    content: "";
    width: 100%;
    height: 1px;
    background-color: #62bec9;
    position: absolute;
    top: 0;
    left: 0;
}

.dropdown__list:hover {
    background-color: #e6f4f1;
}

.dropdown__list a {
    color: #fff;
    text-decoration: none;
    position: relative;
    padding: 10px 10px;
    width: 175px;
}

.dropdown__list a::before {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    border-top: 2px solid #fff;
    border-left: 2px solid #fff;
    transform: rotate(135deg);
    position: absolute;
    right: -35px;
    top: calc(50% - 5px);
}


/*========================================== 連絡先＆ボタン類 ==========================================*/
.contact-info {
    display: flex;
    align-items: center;
}


.tel_btn {
    display: block;
    text-decoration: none;
    padding: 25px 10px 0 5px;
}

.tel_btn:hover {
    color: #62bec9;
}

.tel_icon {
    max-width: 86px;
    height: 20px;
    vertical-align: sub;
    margin-right: -6px;
}

.tel {
    font-size: 20px;
    font-weight: bold;
    color: #555;
    margin: auto 10px auto 5px;
    font-family: sans-serif;
}

.reception {
    display: block;
    font-size: 10px;
    text-align: center;
    font-weight: normal;
}


.tel_txt_999 {
    display: block;
    color: #333;
}


/*========================================== ボタン共通 ==========================================*/
.btn {
    padding: 20px 3px 20px;
    text-align: center;
    text-decoration: none;
    color: #fff;
    font-size: 13px;
    width: 100px;
    height: 100px;
}

/*========================================== 各ボタンの色 ==========================================*/

.btn.access {
    color: #636363;
    display: inline-block;
    border-left: 1px solid #eee;
    background-repeat: no-repeat;
    background-position: left center;
}

.btn.shoshin {
    color: #636363;
    border-left: 1px solid #eee;
}

.btn.qa {
    color: #636363;
    border-left: 1px solid #eee;
}

.btn.shindan {
    color: #636363;
    border-left: 1px solid #eee;
    font-size: 11.5px;
}

.btn.reserve {
    background-color: #62bec9;
    color: #fff;
}

.btn.access:hover {
    background-color: #62bec9;
    color: #fff;
}

.btn.shoshin:hover {
    background-color: #62bec9;
    color: #fff;
}

.btn.qa:hover {
    background-color: #62bec9;
    color: #fff;
}

.btn.shindan:hover {
    background-color: #62bec9;
    color: #fff;
}

.btn.reserve:hover {
    background-color: #e6f4f1;
    color: #62bec9;
}


/*==========================================アイコン==========================================*/
.btn.access img {
    max-width: 45px;
    display: block;
    margin: 0 auto 2px;
}

.btn.shoshin img {
    max-width: 45px;
    display: block;
    margin: 0 auto 2px;
}

.btn.qa img {
    max-width: 45px;
    display: block;
    margin: 0 auto 2px;
}

.btn.shindan img {
    max-width: 45px;
    display: block;
    margin: 0 auto 4px;
}

.btn.reserve img {
    max-width: 45px;
    display: block;
    margin: 0 auto 2px;
}

/*========================================== ハンバーガーメニュー ==========================================*/

.hamburger {
    width: 100px;
    height: 100px;
    position: relative;
}

.hamburger::after {
    content: 'MENU';
    display: inline-block;
    font-size: 10px;
    position: absolute;
    top: auto;
    right: 0;
    bottom: 20px;
    left: 0;
    margin: auto;
    text-align: center;
}

/*========================================== メニューの表示 ==========================================*/
body {
    width: 100vw;
    height: 100vh;
    animation: bugfix infinite 1s;
    -webkit-animation: bugfix infinite 1s;
}

@keyframes bugfix {
    from {
        padding: 0;
    }

    to {
        padding: 0;
    }
}

@-webkit-keyframes bugfix {
    from {
        padding: 0;
    }

    to {
        padding: 0;
    }
}

#overlay-button {
    position: absolute;
    right: 0em;
    top: 0em;
    padding: 48px 33px;
    z-index: 5;
    cursor: pointer;
    user-select: none;
    display: block;
}

#overlay-button span {
    height: 4px;
    width: 35px;
    border-radius: 2px;
    background-color: #636363;
    position: relative;
    display: block;
    transition: all .2s ease-in-out;
}

#overlay-button span:before {
    top: -10px;
    visibility: visible;
}

#overlay-button span:after {
    top: 10px;
}

#overlay-button span:before,
#overlay-button span:after {
    content: "";
    height: 4px;
    width: 35px;
    border-radius: 2px;
    background-color: #636363;
    position: absolute;
    transition: all .2s ease-in-out;
}

#overlay-button:hover span,
#overlay-button:hover span:before,
#overlay-button:hover span:after {
    background: #636363;
}

input[type=checkbox] {
    display: none;

}

input[type=checkbox]:checked ~ #overlay {
    visibility: visible;
}

input[type=checkbox]:checked ~ #overlay-button:hover span,
input[type=checkbox]:checked ~ #overlay-button span {
    background: transparent;


}

input[type=checkbox]:checked ~ #overlay-button span:before {
    transform: rotate(45deg) translate(7px, 7px);
    background: #fff;
}

input[type=checkbox]:checked ~ #overlay-button span:after {
    transform: rotate(-45deg) translate(7px, -7px);
    background: #fff;
}

#overlay {
    height: 100vh;
    width: 100vw;
    background: #62bec9;
    visibility: hidden;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 3;
    overflow: scroll;
}

.box_overlay_whole {
    width: 100%;
    height: 100vh;
    margin: 0 0 10px 0;
    padding: 120px 30px 100px;
}

#overlay ul {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    height: 100vh;
    padding-left: 0;
    list-style-type: none;
}

#overlay ul li {
    padding: 0.5em 0em;
    width: 100%;
}

#overlay ul li a {
    display: block;
    color: #fff;
    text-decoration: none;
    font-size: 1em;
    width: 100%;
    text-align: left;
}

#overlay ul li a:hover {
    color: #333;
}

.box_overlay_flex {
    display: flex;
    align-items: baseline;
    margin: 0 auto;
    width: 100%;
    max-width: 900px;
}

.box_overlay01 {
    width: 50%;
}

.box_overlay01 ul {
    height: auto !important;
}

.box_overlay01:nth-child(2n+1) {
    margin-left: 0;
}

.box_overlay01 {
    width: calc((100% - 40px) / 2);
    margin-left: 40px;
}

.box_overlay01 a:hover{
    color: #228bc8!important;
}


.box_overlay_block {
    padding-bottom: 100px;
    margin: 0 auto;
    width: 100%;
    max-width: 900px;
}

.box_overlay_block .logo {
    margin: 50px auto 0;
}

address {
    font-style: normal;
    text-align: center;
}

address span {
    font-size: 28px;
    font-weight: bold;
}

address a {
    display: block;
    color: #fff!important;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    text-decoration: none;
}

address a:hover {
    background: rgba(13, 66, 112, 0.6);
}

.address_p {
    text-align: center;
    color: #fff;
    font-size: 14px;
    margin-top: 10px;
}

@media screen and (max-width:999px) {
    .box_overlay_flex {
        flex-wrap: wrap;
    }

    .box_overlay01 {
        width: 100%;
        margin-left: 0;
    }
}

/*==========================================メニューボタン内==========================================*/
#overlay ul li a.btn_m {
    display: block;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    background: #fff;
    width: 100%;
    padding: 10px 40px 10px 40px;
    color: #228bc8;
    font-size: 16px;
    text-align: left;
    text-decoration: none;
    position: relative;
}

#overlay ul li a.btn_m:hover {
    background: #228bc8;
    color: #fff !important;
}

#overlay ul li a.btn_m:before {
    content: "";
    display: inline-block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 7px 0 7px 8px;
    border-color: transparent transparent transparent #228bc8;
    position: absolute;
    top: 50%;
    left: 6%;
    margin-top: -7px;
}

#overlay ul li a.btn_m:hover:before {
    border-color: transparent transparent transparent #fff;
}

#overlay hr {
    width: 100%;
    border: 0.1px solid #f1f1f1;
    margin: 25px 0;
}

.btn_r{
    padding: 30px 40px!important;
    color: #fff !important;
    background: rgba(255, 255, 255, 0.1)!important;
}
#overlay ul li a.btn_r:before{
    border-color: transparent transparent transparent #fff!important;
}

@media screen and (max-width:1576px) {
    .nav-links {
        display: none!important;
    }
}

@media screen and (min-width:1000px) {
    .tel_txt_999 {
        display: none;
    }
}

@media screen and (min-width:1000px) and (max-width:1046px) {
    .logo {
        width: 200px;
    }

    .logo img {
        max-width: 200px;
    }
}

@media screen and (max-width:999px) {
    .logo {
        margin-left: 10px;
    }

    .logo img {
        margin-top: 10px;
    }

    .nav-links {
        display: none;
    }

    .tel {
        display: none;
    }

    .tel_icon {
        margin: 0 auto 5px;
        height: 29px;
    }

    .tel_btn {
        border-left: 1px solid #eee;
        padding: 25px 10px 40px;
        text-align: center;
        text-decoration: none;
        color: #fff;
        font-size: 13px;
        width: 100px;
        height: 100px;
    }

    .shoshin {
        display: none;
    }

    .qa {
        display: none;
    }

    .shindan {
        display: none;
    }

    .hero {
        display: none;
    }
}

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

    #sp-fixed-menu {
        display: none;
    }

    .fadein {
        background-color: #62bec9;
        position: fixed;
        top: 50%;
        right: 0;
        opacity: 0;
        transform: translateY(-20px);
        transition: opacity 0.8s ease, transform 0.8s ease;
        z-index: 1000;
    }

    .scrollin {
        opacity: 1;
        transform: translateY(0);
    }


    .modal-pc__wrap input {
        display: none;
    }

    .modal-pc__open-label,
    .modal-pc__close-label {
        cursor: pointer;
    }

    .modal-pc__open-label {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 3.8em 1em;
        border: none;
        background-color: #62bec9;
        border-top: 1px solid #fff;
        border-left: 1px solid #fff;
        border-bottom: 1px solid #fff;
        color: #ffffff;
        font-weight: 600;
        font-size: 1em;
        -ms-writing-mode: tb-rl;
        writing-mode: vertical-rl;
    }

    .modal-pc__open-label:hover {
        background-color: #fff;
        color: #62bec9;
        outline: 1px solid #62bec9;
    }

    .modal-pc {
        position: fixed;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        z-index: 9999;
        display: none;
    }


    input#modal-pc__open:checked ~ .modal-pc {
        display: block;
        animation: modal-2-animation 0.6s;
    }


    .modal-pc__content-wrap {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        width: 80%;
        max-width: 650px;
        background-color: #fefefe;
        z-index: 3;
        border-radius: 5px;
    }

    .modal-pc__close-label {
        background-color: #777;
        color: #fff;
        border: 2px solid #fff;
        border-radius: 20px;
        width: 36px;
        height: 36px;
        line-height: 1.6;
        text-align: center;
        display: table-cell;
        position: fixed;
        top: -15px;
        right: -2%;
        z-index: 99999;
        font-size: 1.3em;
    }

    .modal-pc__content {
        max-height: 50vh;
        overflow-y: auto;
        padding: 39px 45px 40px;
    }

    .modal-pc__background {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, .45);
        z-index: 1;
    }

    @keyframes modal-2-animation {
        0% {
            opacity: 0;
        }

        100% {
            opacity: 1;
        }
    }


}

@media screen and (max-width:999px) {
    .modal_pc_box {
        display: none;
    }

    /*スマホ版のみ予約ボタン下部*/
    /*メニューをページ下部に固定*/
    #sp-fixed-menu {
        position: fixed;
        width: 100%;
        bottom: 0px;
        font-size: 0;
        opacity: 1;
        z-index: 99;
        overflow: hidden;
    }

    #sp-fixed-menu a {
        text-decoration: none;
    }

    /*メニューを横並びにする*/
    #sp-fixed-menu ul {
        display: flex;
        list-style: none;
        padding: 0;
        margin: 0;
        width: 100%;
    }

    #sp-fixed-menu li {
        justify-content: center;
        align-items: center;
        width: 50%;
        padding: 0;
        margin: 0;
        font-size: 14px;
        border-right: 1px solid #fff;
    }

    /*左側メニューを水色に*/
    #sp-fixed-menu li:first-child {
        background: #62bec9;
    }
    #sp-fixed-menu li{
        background: #333;
    }
    /*中央メニューを黒色に*/
    /*#sp-fixed-menu li:nth-child(2) {
    background: #333;
}

    #sp-fixed-menu li:nth-child(3) {
    background: #333;
}*/

    /*左側メニューを黒色に*/
    #sp-fixed-menu li:last-child {
        /*background: #333;*/
        border-right: 0px solid #000;
    }

    /*ボタンを調整*/
    #sp-fixed-menu li a {
        color: #fff;
        text-align: center;
        display: block;
        width: 100%;
        padding: 14px 20px;
    }

    #sp-fixed-menu .reserve_sp span {
        display: block;
        font-size: 12px;
    }

    #sp-fixed-menu .reserve_sp a {
        /*padding: 12px 20px;*/
        padding: 2px;
    }

    .reserve_sp {
        width: 50% !important;
    }

    .contact_sp {
        width: 25% !important;
    }

    .contact_sp a {
        font-size: 12px !important;
        padding: 14px 2px !important;
    }

    .tel_sp {
        width: 25% !important;
    }

    .tel_sp a {
        font-size: 12px !important;
        padding: 14px 6px !important;
    }

}


@media screen and (min-width:661px) {
    .access02 {
        display: none;
    }
}


@media screen and (max-width:660px) {

    .access {
        display: none !important;
    }

    .shindan02 {
        display: none;
    }

    .qa02 {
        display: none;
    }
}


@media screen and (min-width:561px) {
    .pc_br_none {
        display: none;
    }
}

@media screen and (max-width:560px) {

    .header {
        height: 60px;
    }

    .logo {
        margin-left: 10px;
        width: 170px;
    }

    .logo img {
        margin-top: 10px;
        padding-right: 10px;
        max-width: 170px;
    }

    .tel_btn {
        padding: 10px 10px 10px;
        width: 60px;
        height: 60px;
        font-size: 10px;
    }

    .tel_icon {
        height: 24px;
    }

    .btn {
        padding: 10px 10px 10px!important;
        width: 60px!important;
        height: 60px!important;
        font-size: 10px!important;
    }
    
    .btn.reserve {
        padding: 8px 10px 8px;
        line-height: 1.2;
    }

    .btn.reserve img {
        margin: 0 auto 0px;
        max-width: 26px;
    }

    .hamburger {
        width: 60px;
        height: 60px;
    }

    .hamburger::after {
        bottom: 4px;
    }

    #overlay-button {
        padding: 28px 13px;
    }
}

/*ヘッダー============================================================================*/

/*ファーストビュー============================================================================*/




/*==================================================
スライダーのためのcss
===================================*/

.abz {
    position: relative;
    overflow: hidden;
}
/*
.slider-item_abz01 h1 {
    position: absolute;
    top: 50%;
    left: 20%;
    z-index: 2;
    color: #fff;
    font-family: "NotoSerifJP-Medium", serif;
    font-weight: normal;
    line-height: 1.8;
}*/


.slider_explanation {
    position: absolute;
    top: 50%;
    left: 18%;
    z-index: 2;
}

.slider_explanation h1{
    color: #fff;
    font-family: "NotoSerifJP-Medium", serif;
    font-weight: normal;
    line-height: 1.8;
}


.slider_abz {
    position: relative;
    z-index: 1;
    height: 100vh;
}

/*　背景画像設定　*/

.slider-item_abz01 {
    background: url(images/new-top/top_img2.jpg);
}

.slider-item_abz02 {
    background: url(images/new-top/top_img.jpg);
}

.slider-item_abz03 {
    background: url(images/new-top/top_img3.jpg);
}

.slider-item_abz04 {
    background: url(images/new-top/top_img4.jpg);
}

.slider-item_abz {
    width: 100%;
    height: 100vh;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}


@media screen and (max-width:999px) {
    
    .abz{
        margin-top: 100px;
    }
    
    
    .slider_abz {
        height: 50vh;
    }

    .slider-item_abz {
        height: 50vh;
    }

    /*.slider-item_abz01 h1 {
        font-size: 1.0em;
        top: auto;
        left: 30px;
        right: 30px;
        bottom: 20%;
    }*/
    
    .slider_explanation {
        top: auto;
        left: 30px;
        right: 30px;
        bottom: 20%;
    }

    .slider_explanation h1{
        font-size: 1.0em;
    }
    
    
}

@media screen and (max-width:560px) {

    .abz{
        margin-top:60px;
    }
    
}


/*-------------------------------重要なお知らせ--------------------------------*/

.news_important{
    padding: 0 20px;
    max-width:650px;
    margin: 50px auto 20px;
}

.important_container{
    padding: 30px 40px;
    border: 1px solid #326c69;
}

.important_box{
    display: block;
}
.important_h3{
    text-align: center;
    margin-bottom: 10px;
    color: #326c69;
}
.important_box h3{
    margin: 10px auto 5px;
    color: #326c69;
}


.icon_important_container{
    display: flex;
    gap:2px;
    margin-top: 10px;
}

.icon_important_box img{
    width: 100%;
}


@media screen and (min-width:769px) {
    
    .slider_explanation {
        top: 40%;
    }

.icon_important{
    max-width: 500px;
    padding: 0;
}
    
}
@media screen and (max-width:768px) {
    .important_container {
        padding: 30px 20px;
    }
    .icon_important{
        padding: 0 10px;
        margin: 20px auto;
    }
}


@media screen and (max-width:560px) {
    .icon_important_container {
        display: flex;
        gap: 15px;
    }
    .icon_important{
        padding: 0 12px;
        margin: 20px auto;
    }
}



/*==================================================
スライダーのためのcss バナー用
===================================*/

.banner_abz {
    position: relative;
    overflow: hidden;
}


.slider_abz_banner {/*横幅94%で左右に余白を持たせて中央寄せ*/
    width:94%;
    margin:50px auto 100px;
}

.slider_abz_banner img {
    width:60vw;/*スライダー内の画像を60vwにしてレスポンシブ化*/
    height:auto;
    padding: 20px;
}

.slider_abz_banner .slick-slide {
    /*transform: scale(0.8);/*左右の画像のサイズを80%に*/
    transition: all .5s;/*拡大や透過のアニメーションを0.5秒で行う*/
    opacity: 0.5;/*透過50%*/
}

.slider_abz_banner .slick-slide.slick-center{
    /*transform: scale(1);/*中央の画像のサイズだけ等倍に*/
    opacity: 1;/*透過なし*/
}

.slider_abz_banner li{
    position: relative;
}

.slider-item_abz_banner::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    padding: 6px;
    background-color: #62bec9;
    position: absolute;
    right: 20px;
    bottom: 20px;
    z-index: 0;
}

.slider-item_abz_banner::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    background: url(images/new-top/btn_win.png);
    position: absolute;
    right: 25px;
    bottom: 25px;
    z-index: 1;
    background-size: contain;
    vertical-align: middle;
}


.slider_abz_banner .slick-dots{
    margin: 0;
}


@media screen and (max-width:999px) {
    .slider_abz_banner {
        height: auto;
    }

    .slider-item_abz_banner01 h1 {
        font-size: 1.2em;
        top: auto;
        left: 30px;
        right: 30px;
        bottom: 20%;
    }
    .slider_abz_banner img {
        width: 100vw;
        height: auto;
        padding: 0px;
    }
    .slider-item_abz_banner::before{
        display: none;
    }
    .slider-item_abz_banner::after{
        display: none;
    }
    .slider_abz_banner .slick-prev{
        top: 50%;
        height: 15px;
        width: 15px;
    }
    .slider_abz_banner .slick-next{
        top: 50%;
        height: 15px;
        width: 15px;
    }
}

@media screen and (max-width:768px) {
    .slider_abz_banner{
        margin: 10px auto 100px;
    }
}


/*矢印の設定*/

.slick-prev,
.slick-next {
    position: absolute;
    z-index: 3;
    top: 42%;
    cursor: pointer;
    outline: none;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    height: 25px;
    width: 25px;
}

.slick-prev {
    left: 2.5%;
    transform: rotate(-135deg);
}

.slick-next {
    right: 2.5%;
    transform: rotate(45deg);
}

/*ドットナビゲーションの設定*/

.slick-dots {
    position: relative;
    z-index: 1;
    text-align: center;
    margin: -50px 0 0 0;
}

.slick-dots li {
    display: inline-block;
    margin: 0 5px;
}

.slick-dots button {
    color: transparent;
    outline: none;
    width: 12px;
    height: 12px;
    display: block;
    border-radius: 50%;
    background: #62bec9;
    border: 1px solid #62bec9;
    cursor: pointer;
}

.slick-dots .slick-active button {
    background: #326c69;
    border: 1px solid #326c69;
}





/*診療時間PC側============================================================================*/

.hero {
    position: absolute;
    right: 0;
    height: auto;
    bottom: 0;
    z-index: 1;
}

.hero-title {
    margin-bottom: 25px;
    background: #fff;
    padding: 20px;
    overflow: hidden;
    position: sticky;
    top: 0;
    opacity: 1;
    transition: opacity 0.3s;
    will-change: opacity;
}

/*===============================================フッター固定追従===============================================*/
.modal-2__wrap input {
    display: none;
}

.modal-2__open-label,
.modal-2__close-label {
    cursor: pointer;
}

.modal-2__open-label {
    display: flex;
    justify-content: center;
    align-items: center;
    /*margin: 0 auto;*/
    padding: 0.9em 2em;
    border: none;
    color: #ffffff;
    font-weight: 600;
    font-size: 1em;
    background-color: #62bec9;
}

.modal-2__open-label:hover {
    background-color: #fff;
    color: #2589d0;
}


.modal-2 {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
}

.modal-2__open-input:checked + label + input + .modal-2 {
    display: block;
    animation: modal-2-animation .6s;
}

.modal-2__content-wrap {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 650px;
    background-color: #fefefe;
    z-index: 3;
    border-radius: 5px;
}

.modal-2__close-label {
    background-color: #777;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 20px;
    width: 36px;
    height: 36px;
    line-height: 1.6;
    text-align: center;
    display: table-cell;
    position: fixed;
    top: -15px;
    right: -2%;
    z-index: 99999;
    font-size: 1.3em;
}

.modal-2__content {
    max-height: 56vh;
    overflow-y: auto;
    padding: 39px 30px 40px;
}

.modal-2__background {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .45);
    z-index: 1;
}

@keyframes modal-2-animation {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@media only screen and (max-width: 520px) {
    .modal-2__open-label {
        /*max-width: 90%;*/
        padding: .94em 2.1em .94em 2.6em;
    }

    .modal-2__close-label {
        top: -17px;
        right: -4%;
    }

    .modal-2__content-wrap {
        width: 90vw;
    }

    .modal-2__content {
        padding: 40px 10px 10px;
        max-width: 100%;
    }

}

/*===============================================診療時間===============================================*/
.biz-hour {
    display: block;
    border-collapse: collapse;
    overflow-x: auto;
    width: 100%;
    display: table;
    width: 100%;
    border-collapse: collapse;
    min-width: 100%;
}

.biz-hour th {
    border-bottom: 1px solid #d1d1d1;
    color: #636363;
}

.biz-hour tr {
    border-bottom: 1px solid #d1d1d1;
}

.biz-hour th,
.biz-hour td {
    padding: 4px 8px;
    text-align: center;
}

.biz-hour td {
    color: #62bec9;
}

/* 最上段の表の見出し。background-colorを書き換えれば背景色が変わります。 */
.biz-hour th {
    font-weight: normal;
}

/* 「土」の文字色 */
.biz-hour th.sat {
    color: #62bec9;
}

/* 「日」の文字色 */
.biz-hour th.sun {
    color: #e66a6a;
}

.color_t_r {
    color: #CF7A7A!important;
}

.color_t_b {
    color: #62bec9;
}

.time_c {
    color: #636363 !important;
}

.kyushin span{
    display: inline-block!important;
}

@media screen and (max-width:1500px){
    @media screen and (max-height:800px){
        .hero-title{
            padding: 20px;
        }
        .biz-hour th, .biz-hour td {
            padding: 4px;
        }
        .hero-title .kyushin{
            font-size: 12px;
        }
    }
}


@media only screen and (max-width: 520px) {

    .biz-hour th,
    .biz-hour td {
        padding: 2px;
    }
}

/*===============================================ニュースティッカー===============================================*/

.ticker-wrap {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 700px;
    background-color: #fff;
    padding: 0px;
    position: absolute;
    left: 40px;
    bottom: 25px;
    z-index: 1;
}

.ticker-foot {
    width: calc(18em + 8px);
    color: #FFF;
    line-height: 30px;
    text-align: center;
}


.ticker {
    width: 100%;
    font-size: 15px;
    line-height: 30px;
    padding: 20px 40px 20px 20px;
    overflow: hidden;
    height: 135px;
}

.ticker ul {
    position: relative;
    list-style: none;
    height: 100%;
    padding: 0;
    margin: 0;
}

.ticker-item {
    position: relative;
    width: 100%;
    height: 30px;
    opacity: 1;


}

.ticker-item a {
    display: inline-block;
    width: auto;
    color: #333;
    white-space: nowrap;
    text-decoration: none;
    transition: transform 5s linear;
}


.ticker-date {
    font-weight: bold;
    color: #62bec9;
}

.ticker-title {
    margin-left: 10px;
}


.ticker-new {
    color: red;
    margin-left: 10px;
    animation: blink 1s ease-in-out infinite alternate;
}

.fadeInDown {
    opacity: 0;
}

.fadeInDown.run {
    animation: fadeInDown 0.3s cubic-bezier(0.645, 0.045, 0.355, 1) forwards;
}

.fadeOutDown {
    opacity: 1;
}

.fadeOutDown.run {
    animation: fadeOutDown 0.3s cubic-bezier(0.645, 0.045, 0.355, 1) forwards;
}

@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translateY(-30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOutDown {
    0% {
        opacity: 1;
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateY(30px);
    }
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.ticker-foot a {
    text-decoration: none;
    color: #62bec9;
}

.ticker-foot a:hover {
    text-decoration: none;
    color: #326c69;
}

.button_arrow01 {
    display: inline-block;
    position: relative;
    background: #fff;
    color: #62bec9;
    padding: 1.0rem 5.5rem 1.0rem 1.0rem;
    transition: all 0.3s;
}

.button_arrow01:after {
    content: "";
    position: absolute;
    display: block;
    transition: all 0.3s;
    width: 7px;
    height: 28px;
    top: 50%;
    right: 3.5rem;
    border-top: solid 2px #62bec9;
    border-right: solid 2px #62bec9;
    transform: translateY(-50%) rotate(45deg) skewX(-45deg);
}

.button_arrow01:hover:after {
    right: 20px;
}


@media screen and (min-width:1000px) and (max-width:1270px){
    .news_sp {
        height: 150px;
        display: none;
    }
}


@media screen and (max-width:999px) {

    .slick-prev, .slick-next{
        top: 50%;
    }

    .news_sp {
        height: 150px;
        display: none;
    }

    .ticker-wrap {
        flex-wrap: wrap;
        width: 100%;
        position: relative;
        left: 0;
        bottom: 0;


    }



    .ticker {
        line-height: normal;
        height: auto;
    }

    .ticker-foot {
        line-height: normal;
        text-align: center;
        margin: 0 auto;
    }

    .ticker-foot a {
        line-height: normal;
        display: block;
    }
}

@media screen and (min-width:1024px){
    .m280{
        display: none;
    }
}
@media screen and (min-width:600px) and (max-width:1024px){
    .hero-title{
        padding: 20px;
        margin-bottom: 0px;
    }
    .biz-hour th, .biz-hour td {
        padding: 4px 6px;
    }
    
    .slider_explanation {
        left: 8%;
    }

    .slider_explanation h1{
        font-size: 1.0em;
    }
    .m280{
        max-width: 280px;
        margin: 0;
    }
    .sp_none600{
        display: none;
    }
}

@media screen and (max-width:599px){
    .m280{
        display: none;
    }
}

/*===============================追従バナー右側 サイドバー==============================*/

.wrapper {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}

.wrapper h2 {
    padding: 0.5em;
    color: #494949;
    background: #e8f8fa;
    border-left: solid 5px#62bec9;
}

.sp_main h2 {
    padding: 0.5em;
    color: #494949;
    background: #e8f8fa;
    border-left: solid 5px#62bec9;
}

.main {
    width: calc(100% - 300px);
    height: 1000px;
    background-color: #f0f0f0;
}

.sp_main {
    width: 100%;
}

.sidebar {
    width: 280px;
}

.widget + .widget {
    margin-top: 20px;
}

.widget--sticky {
    position: sticky;
    top: 20px;
}

.widget--sticky li {
    list-style: none;
}

.active_li {
    text-decoration: none;
    padding: 10px 20px;
    display: block;
    background-color: #e8f8fa;
    color: #333;
}

.widget {
    background-color: #f0f0f0;
}

/*===============================================sp サイドバー===============================================*/
/*===============================================アコーディオン全体===============================================*/
.accordion-area {
    list-style: none;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
}

.accordion-area li {
    margin: 10px 0;
}

.accordion-area section {
    border: 1px solid #ccc;
}


/*============================

アコーディオンタイトル

============================*/

.title {
    position: relative;
    cursor: pointer;
    font-size: 1rem;
    font-weight: normal;
    padding: 3% 3% 3% 50px;
    transition: all .5s ease;
}

/*アイコンの＋と×*/
.title::before,
.title::after {
    position: absolute;
    content: '';
    width: 15px;
    height: 2px;
    background-color: #333;

}

.title::before {
    top: 48%;
    left: 15px;
    transform: rotate(0deg);

}

.title::after {
    top: 48%;
    left: 15px;
    transform: rotate(90deg);

}

/*　closeというクラスがついたら形状変化　*/
.title.close::before {
    transform: rotate(45deg);
}

.title.close::after {
    transform: rotate(-45deg);
}

@media screen and (min-width:1000px) {
    .sp_view {
        display: none;
    }
}

@media screen and (max-width:999px) {
    .pc_view {
        display: none;
    }
}

/*アコーディオンで現れるエリア*/
.box_accordion {
    display: none;
    background: #f3f3f3;
    margin: 0 3% 3% 3%;
    padding: 3%;
}





/*===============================================お知らせとブログ===============================================*/

.news_top_area {
    margin-bottom: 100px;
}


dl {
    width: 100%;
}

dt {
    float: left;
    padding: 10px 5px;
}

dd {
    margin-left: 100px;
    padding: 0;
}

.flex_news_blog {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    grid-template-columns: calc(50% - 25px) calc(50% - 25px);
    gap: 50px;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

.flex_news_blog a {
    color: #333;
    margin: 0 20px;
    padding: 5px 15px;
    text-decoration: none;
}



.column_box img {
    width: 100%;
    height: auto;
}

.news_container {
    display: flex;
    justify-content: space-between;
}

.news_box_btn a {
    border-radius: 0;
    transition: 0.3s;
    margin: 0;
}
/*
.news_box_btn a:hover {
background-color: #326c69;
}*/




.column_container {
    display: flex;
    justify-content: space-between;
}

.column_box_btn a {
    border-radius: 0;
    transition: 0.3s;
    margin: 0;
}
/*
.column_box_btn a:hover {
background-color: #326c69;
}*/

.column_container h3 {
    color: #3d99a3;
    font-size: 40px;
    font-family: "NotoSerifJP-VariableFont", serif;
    font-weight: normal;
}

.column_container span {
    font-size: 16px;
    display: block;
    letter-spacing: 2px;
    font-family: "NotoSunsJP-Medium", sans-serif;
    font-weight: normal;
    margin-bottom: 10px;
}


.news_dtdd a {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    padding: 24px 74px 15px 0;
    border-bottom: 1px solid #DDDDDD;
    position: relative;
}

.news_dtdd figure {
    width: 8.1vw;
    margin-right: 2.5vw;
    overflow: hidden;
    z-index: 1;
}

.news_dtdd .dtl {
    flex: 1;
}

.news_dtdd dd {
    display: block;
    margin:0;
}

.news_dtdd .cat {
    display: inline-block;
    font-size: 11px;
    line-height: 1;
    letter-spacing: .03em;
    padding: 4px 12px;
    border: 2px solid #DDDDDD;
    border-radius: 11px;
    color: #fff;
    background-color: #62bec9;
    margin-left: 10px;
}

.news_dtdd dt {
    display: inline-block;
    margin-left: 3px;
    font-size: 12px;
    line-height: 1;
    letter-spacing: 0em;
    color: #62bec9;
    width: 100%;
}


.news_container h3 {
    color: #3d99a3;
    font-size: 40px;
    font-family: "NotoSerifJP-VariableFont", serif;
    font-weight: normal;
}

.news_container span {
    font-size: 16px;
    display: block;
    letter-spacing: 2px;
    font-family: "NotoSunsJP-Medium", sans-serif;
    font-weight: normal;
    margin-bottom: 10px;
}

.news_box_btn .button_arrow01 {
    display: inline-block;
    position: relative;
    background: #fff;
    color: #62bec9;
    border-radius: 50px;
    border: 1px solid #62bec9;
    padding: 1.4rem 6rem 1.4rem 1.0rem;
    transition: all 0.3s;
}

.news_box_btn .button_arrow01:after {
    content: "";
    position: absolute;
    display: block;
    transition: all 0.3s;
    width: 7px;
    height: 28px;
    top: 50%;
    right: 3.5rem;
    border-top: solid 2px #62bec9;
    border-right: solid 2px #62bec9;
    transform: translateY(-50%) rotate(45deg) skewX(-45deg);
}

.news_box_btn .button_arrow01:hover:after {
    right: 20px;
}


.news_box_btn {
    margin-top: 40px;
}



.column_box_btn {
    margin-top: 40px;
}

.column_box_btn .button_arrow01 {
    display: inline-block;
    position: relative;
    background: #fff;
    color: #62bec9;
    border: 1px solid #62bec9;
    border-radius: 50px;
    padding: 1.4rem 6rem 1.4rem 1.0rem;
    transition: all 0.3s;
}

.column_box_btn .button_arrow01:after {
    content: "";
    position: absolute;
    display: block;
    transition: all 0.3s;
    width: 7px;
    height: 28px;
    top: 50%;
    right: 3.5rem;
    border-top: solid 2px #62bec9;
    border-right: solid 2px #62bec9;
    transform: translateY(-50%) rotate(45deg) skewX(-45deg);
}

.column_box_btn .button_arrow01:hover:after {
    right: 20px;
}


.news_box,
.column_box {
    width: calc(50% - 25px);
    display: flex;
    flex-direction: column;
}
.news_box,
.column_box {
    align-self: stretch;
}

@media screen and (max-width:767px) {
    /*.news_container{
    padding: 0 20px;
}*/

    .news_dtdd a{
        padding: 15px 0px 15px 0;
    }
    /*.news_box_btn {
    padding: 0 20px;
}*/
}

/*---------------------------

当院の紹介

----------------------------*/

.medical-information{
    position: relative;
}
.medical-information::before {
    content: '';
    position: absolute;
    background-color: #e6f4f1;
    top: 100px;
    right: 0;
    width: 65%;
    height: 65%;
    z-index: -1;
}



.information_box:nth-child(even) {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    background-color: #fff;
    max-width: 1300px;
    margin: 0 auto 100px;
}

.information_text{
    width: 50%;
    padding-right: 80px;
}
.information_text p {
    text-align: left;
    line-height: 2.2;
    padding: 0px 20px 30px;
}

.information_h3 {
    color: #525252;
    text-align: center;
    padding: 0 20px;
    margin: 0 auto;
    font-family: "NotoSansJP-Regular", sans-serif;
}


.information_h3 img {
    width: 100%;
    max-width: 50px;
}

.information_h3 p{
    color: #3d99a3;
    text-align: left;
    padding: 0px 20px 4px 0px;
    line-height: 1.8;
    font-family: "NotoSansJP-Regular", sans-serif;
    letter-spacing: 2px;
}


.information_h3 h3 {
    font-size: 24px;
    font-style: normal;
    text-align: center;
    text-align: left;
    color: #3d99a3;
    font-weight: 500;
    margin-bottom: 50px;
    font-family: "NotoSerifJP-VariableFont", serif;
    letter-spacing: 4px;

}



.information_img {
    width: 50%;
    position: relative;
    z-index: 1;
}


.information_img img {
    width: 100%;
}



.infor_contanier{
    max-width: 1300px;
    margin: 0 auto 100px;
    display: grid;
    grid-template-columns:24% 24% 24% 24%;
    justify-content: space-between;
}
.infor_contanier_box{
    text-align: center;
    width: 100%;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    padding: 14px;
    background-color: #fff;
}

.infor_contanier_box h4{
    line-height: 2;
    font-size: 13px;
}

.infor_contanier_box span{
    color: #3d99a3;
}

.infor_contanier_box img{
    width: 100%;
    max-width: 100px;
    margin: 20px auto;
}


.infor_contanier_box .button_arrow01 {
    display: block;
    position: relative;
    top: 50px;
    background: #62bec9;
    color: #62bec9;
    border-radius: 50px;
    border: 1px solid #fff;
    padding: 35px;
    transition: all 0.3s;
    text-decoration: none;
    margin: 0 auto;
    max-width: 50px;
    width: 50px;
}
.infor_contanier_box .button_arrow01:after {
    content: "";
    position: absolute;
    display: block;
    transition: all 0.3s;
    width: 7px;
    height: 28px;
    top: 50%;
    right: 2rem;
    border-top: solid 2px #fff;
    border-right: solid 2px #fff;
    transform: translateY(-50%) rotate(45deg) skewX(-45deg);
}

.infor_contanier_box .button_arrow01:hover:after {
    right: 25px;
}


@media(max-width : 750px) {
    .information_box:nth-child(even) {
        display: block;
    }
}

.information_box:nth-child(odd) {
    display: flex;
    flex-direction: row;
    max-width: 1300px;
    margin: 0 auto 100px;
}

@media(max-width : 750px) {
    .information_box:nth-child(odd) {
        display: block;
    }
}
@media screen and (min-width:1191px) and (max-width:1240px) {
    .infor_contanier_box{
        padding: 8px;
    }
}
@media screen and (max-width:1190px) {
    .infor_contanier_box{
        padding: 8px;
    }
    .information_box:nth-child(odd){
        margin: 0 auto;
    }
    .infor_contanier{
        flex-wrap: wrap;
    }
    .infor_contanier_box{
        width: 100%;
    }
    .information_text {
        padding: 0;
    }
    .information_h3 {
        padding: 20px 20px;
    }
}
@media screen and (max-width:1000px) {
   

    .information_text {
        width: 100%;
        padding: 0;
    }

    .information_img {
        width: 100%;
    }

    .information_box:nth-child(even) {
        display: flex;
        flex-direction: column-reverse;
    }

    .information_text {
        width: 100%;
    }

    .information_img {
        width: 100%;
    }
    .infor_contanier_box{
        margin-bottom: 80px;
    }
    .information_box:nth-child(odd) {
        display: flex;
        flex-direction: column-reverse;
    }
    
    .infor_contanier{
        grid-template-columns: calc(50% - 5px) calc(50% - 5px);
        padding: 0 20px;
        gap: 10px;
    }

}

@media screen and (max-width:767px){
    .information_h3{
        padding: 20px 20px;
    }
    .infor_contanier{
        grid-template-columns: 100%;
    }
    .medical-information::before{
        width: 80%;
        height: 95%;
    }
}
/*==============================

ピックアップ

============================*/




.pickup_text {
    width: 50%;
    padding: 20px 20px 20px 40px;
}

.pickup_text h4 {
    color: #525252;
    font-size: 24px;
    font-weight: 500;
    text-align: center;
    padding: 0px 20px;
    font-family: "NotoSerifJP-VariableFont", serif;
}

.pickup_text02 {
    width: 50%;
    padding: 20px 40px 20px 20px;
}

.pickup_text02 h4 {
    color: #525252;
    font-size: 24px;
    font-weight: 500;
    text-align: center;
    padding: 0px 20px;
    font-family: "NotoSerifJP-VariableFont", serif;
}

.pickup_text02 p {
    text-align: left;
    line-height: 2.2;
    padding: 30px 20px;
}

.pickup_img02 img {
    width: 100%;
}

.pickup_img02 {
    width: 50%;
    position: relative;
    z-index: 1;
}
/*
.pickup_img02::after {
background-color: #edf9f4;
content: '';
position: absolute;
top: 20px;
right: -20px;
width: 100%;
height: 100%;
z-index: -1;
}*/

.pickup_text02 .button_arrow01 {
    display: block;
    position: relative;
    background: #fff;
    color: #62bec9;
    border-radius: 50px;
    border: 1px solid #62bec9;
    padding: 1.4rem 5.5rem 1.4rem 1.0rem;
    transition: all 0.3s;
    text-decoration: none;
    margin: 0 auto;
    max-width: 250px;
}


.pickup_text p {
    text-align: left;
    line-height: 2.2;
    padding: 30px 20px;
}

.pickup_img {
    width: 50%;
    position: relative;
    z-index: 1;
}


.pickup_img img {
    width: 100%;
}


.pickup_text .button_arrow01 {
    display: block;
    position: relative;
    background: #fff;
    color: #62bec9;
    border-radius: 50px;
    border: 1px solid #62bec9;
    padding: 1.4rem 5.5rem 1.4rem 1.0rem;
    transition: all 0.3s;
    text-decoration: none;
    margin: 0 auto;
    max-width: 250px;
}



.pickup_box:nth-child(even) {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    background-color: #fff;
    max-width: 1300px;
    margin: 0 auto 100px;
}

@media(max-width : 750px) {
    .pickup_box:nth-child(even) {
        display: block;
    }
}

.pickup_box:nth-child(odd) {
    display: flex;
    flex-direction: row;
    align-items: center;
    max-width: 1300px;
    margin: 0 auto 100px;
    background-color: #fff;
}

@media(max-width : 750px) {
    .pickup_box:nth-child(odd) {
        display: block;
    }
}


/*==============================

役立つ知識

================================*/


.knowledge_container {
    max-width: 1300px;
    margin: 0 auto;
}

.fukidashi{
    padding-top: 100px;
}

.fukidashi h5 {
    position: relative;
    padding: 0.6em;
    background: #326c69;
    color: #fff;
    max-width: 150px;
    margin: 10px auto 0;
    font-family: "NotoSerifJP-Medium", sans-serif;
    font-weight: normal;
    text-align: center;
}

.fukidashi h5:after {
    position: absolute;
    content: '';
    right: 0;
    left: 0;
    bottom: -25px;
    margin: 0 auto;
    border: 15px solid transparent;
    border-top: 15px solid #326c69;
    width: 0;
    height: 0;
}


.knowledge_container h4 {
    margin: 20px auto 50px;
    font-size: 40px;
    color: #326c69;
    font-family: "NotoSerifJP-Medium", sans-serif;
    font-weight: normal;
    text-align: center;
}


.disease_con_flex {
    display: grid;
    grid-template-columns: calc(50% - 30px) calc(50% - 30px);
    gap: 60px;
    padding: 0 20px;
}

.layered-box01 {
    position: relative;
    width: 100%;
    height: 700px;
    background-image: url('images/new-top/icamera.jpg');
    /* 第1階層：画像 */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: top;
    overflow: hidden;
}

.layered-box01 h4 {
    color: #fff;
    font-size: 28px;
    position: absolute;
    bottom: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.layered-box01 p {
    color: #fff;
    position: absolute;
    bottom: 15%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 65%;
    z-index: 1;
}

/* 第2階層：グラデーション */
.overlay01 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 83.33%;
    background: linear-gradient(to top, rgba(98, 190, 201, 1) 0%, rgba(98, 190, 201, 1) 40%, rgba(98, 190, 201, 0.9) 70%, rgba(98, 190, 201, 0) 100%);
    z-index: 0;
}

/* 第3階層：ボタン */
.cta-button01 {
    position: absolute;
    z-index: 1;
    bottom: 40px;
    left: 0;
    right: 0;
    font-weight: bold;
    cursor: pointer;
}

.disease0101_btn_area {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: auto;
}



.disease0101_btn_area .button_arrow0101 {
    display: block;
    position: relative;
    background: #fff;
    color: #62bec9;
    border-radius: 50px;
    border: 1px solid #62bec9;
    padding: 1.8rem 5.5rem 1.8rem 1.8rem;
    transition: all 0.3s;
    text-decoration: none;
    margin: 0 auto;
    width: 300px;
    max-width: 300px;
}


.button_arrow0101 {
    display: inline-block;
    position: relative;
    background: #fff;
    color: #62bec9;
    padding: 1.0rem 5.5rem 1.0rem 1.0rem;
    transition: all 0.3s;
}

.button_arrow0101:after {
    content: "";
    position: absolute;
    display: block;
    transition: all 0.3s;
    width: 7px;
    height: 28px;
    top: 50%;
    right: 3.5rem;
    border-top: solid 2px #62bec9;
    border-right: solid 2px #62bec9;
    transform: translateY(-50%) rotate(45deg) skewX(-45deg);
}

.button_arrow0101:hover:after {
    right: 25px;
}






.layered-box02 {
    position: relative;
    width: 100%;
    height: 700px;
    background-image: url('images/new-top/camera01.jpg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: top;
    overflow: hidden;
}

.layered-box02 h4 {
    color: #fff;
    font-size: 28px;
    position: absolute;
    bottom: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.layered-box02 p {
    color: #fff;
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 65%;
    z-index: 1;
}

/* 第2階層：グラデーション */
.overlay02 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 83.33%;
    background: linear-gradient(to top, rgba(90, 183, 170, 1) 0%, rgba(90, 183, 170, 1) 40%, rgba(90, 183, 170, 0.9) 70%, rgba(90, 183, 170, 0) 100%);
    z-index: 1;
}

/* 第3階層：ボタン */
.cta-button02 {
    position: absolute;
    z-index: 1;
    bottom: 40px;
    left: 0;
    right: 0;
    font-weight: bold;
    cursor: pointer;
}


.disease0202_btn_area {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: auto;
}



.disease0202_btn_area .button_arrow0202 {
    display: block;
    position: relative;
    background: #fff;
    color: #62bec9;
    border-radius: 50px;
    border: 1px solid #62bec9;
    padding: 1.8rem 5.5rem 1.8rem 1.8rem;
    transition: all 0.3s;
    text-decoration: none;
    margin: 0 auto;
    width: 300px;
    max-width: 300px;
}


.button_arrow0202 {
    display: inline-block;
    position: relative;
    background: #fff;
    color: #62bec9;
    padding: 1.0rem 5.5rem 1.0rem 1.0rem;
    transition: all 0.3s;
}

.button_arrow0202:after {
    content: "";
    position: absolute;
    display: block;
    transition: all 0.3s;
    width: 7px;
    height: 28px;
    top: 50%;
    right: 3.5rem;
    border-top: solid 2px #62bec9;
    border-right: solid 2px #62bec9;
    transform: translateY(-50%) rotate(45deg) skewX(-45deg);
}

.button_arrow0202:hover:after {
    right: 20px;
}

@media screen and (max-width:767px) {
    .disease_con_flex{
        grid-template-columns: 100%;
    }
    .layered-box01 h4{
        top: 35%;
        bottom: auto;
        left: 0;
        right: 0;
        transform: translate(0%, 0%);
    }
    .layered-box01 p{
        width: 92%;
    }
    .layered-box02 h4{
        top: 35%;
        bottom: auto;
        left: 0;
        right: 0;
        transform: translate(0%, 0%);
    }
    .layered-box02 p{
        width: 92%;
    }
}
@media screen and (max-width:560px) {
    .layered-box01 h4{
        top: 25%;
    }
    .layered-box02 h4{
        top: 25%;
    }
}


/* ------------------------------ */
/* 診療内容*/
/* ------------------------------ */



.treatment {
    background-color: #e6f4f1;
    padding: 100px 20px 100px;
}

.treatment_container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.treatment_container h3 {
    font-size: 24px;
    font-style: normal;
    text-align: center;
    color: #3d99a3;
    font-weight: 500;
    margin-bottom: 50px;
    font-family: "NotoSerifJP-VariableFont", serif;
    letter-spacing: 4px;
}

.treatment_container p {
    color: #3d99a3;
    text-align: center;
    padding: 0px 20px 4px 20px;
    line-height: 1.8;
    font-family: "NotoSansJP-Regular", sans-serif;
    letter-spacing: 2px;
}

.treatment_flex {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    gap: 50px;
    grid-template-columns: calc(33% - 29px) calc(33% - 29px) calc(33% - 29px);
}

.treatment_box {
    position: relative;
}

.treatment_box img {
    width: 100%;
}


.treatment_h3 {
    color: #525252;
    text-align: center;
    padding: 20px;
    margin: 0 auto;
    font-family: "NotoSansJP-Regular", sans-serif;
}


.treatment_h3 img {
    width: 100%;
    max-width: 50px;
}

.treatment_h3 h3 {
    margin-top: 10px;
    font-size: 22px;
    font-weight: normal;
    font-family: "NotoSerifJP-VariableFont", serif;
    position: relative;

}

.treatment_h3 h3::before {
    position: absolute;
    border-bottom: 4px solid #62bec9;
    top: 140%;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    content: '';
}


.treatment_p {
    padding-top: 30px;
}

.treatment_p p {
    line-height: 2.2;
}

.treatment_btn_area {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: auto;
}



.treatment_btn_area .button_arrow01 {
    display: block;
    position: relative;
    background: #fff;
    color: #62bec9;
    border-radius: 50px;
    border: 1px solid #62bec9;
    padding: 1.4rem 6rem 1.4rem 1.0rem;
    transition: all 0.3s;
    text-decoration: none;
    margin: 0 auto;
    max-width: 250px;
}


/*------------------------------一般内科・消化器内科・自由診療------------------------------*/
.treatment02_flex {
    display: flex;
    justify-content: space-between;
    max-width: 1300px;
    margin: 0 auto;
}

.treatment02_box {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 30%;
    background-color: #fff;
}

.treatment02_box img {
    width: 100%;
}

.treatment_btn_area {
    margin-top: auto;
}

.box_margin {
    padding: 30px 20px 20px;
}

.treatment_margin {
    margin: 15px auto 0;
}

.btn_margin {
    padding: 20px 20px 50px;
}



@media screen and (max-width:767px) {
    .treatment02_flex{
        display: block;
    }
    .treatment02_box{
        width: 100%;
    }
}



/* ------------------------------ */
/* このような症状 */
/* ------------------------------ */

.pain {
    background: url(images/new-top/bk04_1.png);
    background-repeat: no-repeat;
    background-size: cover;
    padding: 100px 20px;
    position: relative;
}

.pain h3 {
    color: #3d3d3d;
    padding: 0px 20px 30px 20px;
    text-align: center;
    font-size: 24px;
    font-weight: 500;
    font-family: "NotoSerifJP-Medium", sans-serif;
    letter-spacing: 2px;
}

.pain h3 span {
    background-color: #5a84b7;
    color: #FFF;
    padding: 6px;
}

.pain_bk::after {
    content: '';
    display: block;
    background: url(images/new-top/bk05_1_01.png);
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: 800px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

.pain_bk {
    position: relative;
    margin-bottom: 100px;
}

.pain_bk img {
    position: relative;
    z-index: 1;
    width: 100%;
}


.pain_bk02::after {
    content: '';
    display: block;
    /*background: url(images/new-top/bk05_1_01.png);*/
    background-color: rgba(61, 153, 163, 0.85);
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: 800px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

.pain_bk02 {
    position: relative;
    margin-bottom: 0px;
}

.pain_bk02 img {
    position: relative;
    z-index: 1;
    width: 100%;
}



.pain_container {
    max-width: 1300px;
    margin: 0 auto;
}

.pain_box_flex {
    display: grid;
    gap: 50px;
    grid-template-columns: calc(50% - 25px) calc(50% - 25px);
}

.pain_box01 {
    border: 1px solid #62bec9;
    background-color: #62bec9;
}

.pain_box02 {
    border: 1px solid #5ab7aa;
    background-color: #5ab7aa;
}

.pain_box img {
    width: 100%;
}

/*------------------------------list------------------------------*/

.list01 {
    list-style-type: none;
    padding: 2em 2em 1em 2em;
    background-color: #FFF;
    position: relative;
}

.list01:after {
    content: "";
    position: absolute;
    height: 60px;
    width: 100%;
    clip-path: polygon(0 0, 50% 100%, 100% 0);
    background-color: #FFF;
    left: 0;
    bottom: -60px;
}

.list01 li {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0 15px;
    padding: .3em;
    color: #3d3d3d;
    font-family: sans-serif;
    border-bottom: 1px dotted #d1d1d1;
}

.list01 li::before {
    display: inline-block;
    width: 10px;
    height: 5px;
    border-bottom: 2px solid #FFF;
    border-left: 2px solid #FFF;
    transform: rotate(-45deg) translateY(-1.5px);
    content: '';
    z-index: 1;
}

.list01 li::after {
    background-color: #2589d0;
    content: '';
    border-radius: 50%;
    width: 20px;
    height: 20px;
    position: absolute;
    left: 0;
    z-index: 0;
}

.pain_txt01 {
    background-color: #62bec9;
    /*padding: 90px 20px 30px;*/
}

.pain_txt01 p {
    text-align: center;
    color: #FFF;
    font-family: "NotoSansJP-Regular", sans-serif;
}

.pain_txt01 span {
    color: #ffffa2;
}

.pain_txt01 a{
    padding: 90px 20px 30px;
    display: block;
    text-align: center;
}

.btn_icamera{
    margin-top: 20px;
    display: block;
    font-size: 18px;
}

/*------------------------------list02------------------------------*/

.list02 {
    list-style-type: none;
    padding: 2em 2em 1em 2em;
    background-color: #FFF;
    position: relative;
}


.list02:after {
    content: "";
    position: absolute;
    height: 60px;
    width: 100%;
    clip-path: polygon(0 0, 50% 100%, 100% 0);
    background-color: #FFF;
    left: 0;
    bottom: -60px;
}


.list02 li {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0 15px;
    padding: .3em;
    color: #3d3d3d;
    font-family: sans-serif;
    border-bottom: 1px dotted #d1d1d1;
}

.list02 li::before {
    display: inline-block;
    width: 10px;
    height: 5px;
    border-bottom: 2px solid #FFF;
    border-left: 2px solid #FFF;
    transform: rotate(-45deg) translateY(-1.5px);
    content: '';
    z-index: 1;
}

.list02 li::after {
    background-color: #5ab7aa;
    content: '';
    border-radius: 50%;
    width: 20px;
    height: 20px;
    position: absolute;
    left: 0;
    z-index: 0;
}

.pain_txt02 {
    background-color: #5ab7aa;
    /*padding: 90px 20px 30px;*/
}

.pain_txt02 p {
    text-align: center;
    color: #FFF;
    font-family: "NotoSansJP-Regular", sans-serif;
}

.pain_txt02 span {
    color: #ffffa2;
}

.pain_txt02 a{
    padding: 90px 20px 30px;
    display: block;
    text-align: center;
}

.btn_daichocamera{
    margin-top: 20px;
    display: block;
    font-size: 18px;
}

@media screen and (max-width:480px){
    .btn_icamera{
        font-size: 15px;
    }
    .btn_daichocamera{
        font-size: 15px;
    }
}

/* ------------------------------ */
/* クリニック */
/* ------------------------------ */


.clinic {
    padding: 0px 20px 100px;
}

.clinic_bk {
    position: relative;
}

.clinic_bk::before {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 800px;
    background: url(images/new-top/bk_p01.png);
    background-size: contain;
    background-repeat: no-repeat;
    z-index: -1;
}

.clinic_bk .before_bk02::before {
    position: absolute;
    content: '';
    top: 30%;
    right: 0;
    display: block;
    width: 300px;
    height: 800px;
    background: url(images/new-top/bk_p02.png);
    background-size: contain;
    background-repeat: no-repeat;
    z-index: -1;
}


.clinic_bk .before_bk02::after {
    position: absolute;
    content: '';
    top: 50%;
    left: 0;
    display: block;
    width: 20%;
    height: 500px;
    background: url(images/new-top/bk_p03.png);
    background-size: contain;
    background-repeat: no-repeat;
    z-index: -1;
}



.clinic_bk::after {
    position: absolute;
    content: '';
    bottom: 0;
    right: 0;
    display: block;
    width: 800px;
    height: 530px;
    background: url(images/new-top/bk_p04.jpg);
    background-size: contain;
    background-repeat: no-repeat;
    z-index: -1;
}

.clinic p {
    color: #326c69;
    text-align: center;
    padding: 100px 20px 30px 20px;
}

.clinic h3 {
    color: #326c69;
    text-align: center;
    font-size: 50px;
    font-weight: 500;
    position: relative;
    font-style: oblique;
    margin-bottom: 50px;
    font-family: "NotoSansJP-Regular", sans-serif;
}

.clinic span {
    font-size: 54px;
}

.clinic_container {
    max-width: 1300px;
    margin: 0 auto;
}

.text {
    width: 40%;
    padding: 20px 20px 20px 40px;
}

.text02 {
    padding: 20px 40px 20px 20px;
}

.text h4 {
    color: #326c69;
    font-size: 24px;
    font-weight: 500;
    text-align: left;
    padding: 0px 20px;
    font-family: "NotoSansJP-Regular", sans-serif;
}

.n01 {
    position: relative;
    z-index: 1;
}

.n01::after {
    content: '01';
    font-size: 70px;
    font-style: oblique;
    position: absolute;
    bottom: -20px;
    right: 45px;
    z-index: -1;
    color: #edf9f4;
}

.n02 {
    position: relative;
    z-index: 1;
}

.n02::after {
    content: '02';
    font-size: 70px;
    font-style: oblique;
    position: absolute;
    bottom: -20px;
    left: 190px;
    z-index: -1;
    color: #edf9f4;
}

.n03 {
    position: relative;
    z-index: 1;
}

.n03::after {
    content: '03';
    font-size: 70px;
    font-style: oblique;
    position: absolute;
    bottom: -20px;
    right: 45px;
    z-index: -1;
    color: #edf9f4;
}

.text p {
    text-align: left;
    line-height: 1.8;
    padding: 30px 20px;
}

.img {
    width: 60%;
    position: relative;
    z-index: 1;
}

.img::after {
    background-color: #edf9f4;
    content: '';
    position: absolute;
    top: 20px;
    right: -20px;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.img02::after {
    background-color: #edf9f4;
    content: '';
    position: absolute;
    top: 20px;
    left: -20px;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.img img {
    width: 100%;
}

.clinic_container .box:nth-child(even) {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding-bottom: 100px;
}

@media(max-width : 750px) {
    .clinic_container .box:nth-child(even) {
        /*display: block;*/
        flex-wrap: wrap-reverse;
        padding-bottom: 20px;
    }
}

.clinic_container .box:nth-child(odd) {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    padding-bottom: 100px;
}

@media(max-width : 750px) {
    .clinic_container .box:nth-child(odd) {
        /*display: block;*/
        flex-wrap: wrap-reverse;
        padding-bottom: 20px;
    }
    
    
    .clinic_container{
        padding-top: 50px;
    }
}

.daicho {
    max-width: 1300px;
    margin: 0 auto 50px;
    box-shadow: 2px 3px 2px 3px #edf9f4;
    padding: 40px;
    background-color: #fff;
}

.daicho h3 {
    font-size: 24px;
    font-style: normal;
    font-family: "NotoSansJP-Regular", sans-serif;
}

.daicho p {
    color: #326c69;
    text-align: left;
    padding: 0px 20px 30px 20px;
    line-height: 1.8;
}

.daicho_jiko_flex {
    display: grid;
    gap: 50px;
    grid-template-columns: calc(50% - 25px) calc(50% - 25px);
}

.daicho_jiko_box {}

.daicho_jiko_box img {
    width: 100%;
}

.daicho_jiko_box h3 {
    font-size: 24px;
    text-align: left;
    font-style: normal;
    margin-top: 20px;
    margin-bottom: 20px;
}

.daicho_jiko_box p {
    text-align: left;
    padding: 0 0 50px 0;
}



.n04 {
    position: relative;
    z-index: 1;
}

.n04::after {
    content: '04';
    font-size: 70px;
    font-style: oblique;
    position: absolute;
    bottom: 30px;
    right: 45px;
    z-index: -1;
    color: #edf9f4;
}

.n05 {
    position: relative;
    z-index: 1;
}

.n05::after {
    content: '05';
    font-size: 70px;
    font-style: oblique;
    position: absolute;
    bottom: 30px;
    right: 45px;
    z-index: -1;
    color: #edf9f4;
}

.n06 {
    position: relative;
    z-index: 1;
}

.n06::after {
    content: '06';
    font-size: 70px;
    font-style: oblique;
    position: absolute;
    bottom: 30px;
    right: 45px;
    z-index: -1;
    color: #edf9f4;
}

.n07 {
    position: relative;
    z-index: 1;
}

.n07::after {
    content: '07';
    font-size: 70px;
    font-style: oblique;
    position: absolute;
    bottom: 50px;
    right: 45px;
    z-index: -1;
    color: #edf9f4;
}


/* ------------------------------ */
/* flow */
/* ------------------------------ */



.flow {
    background-color: #e6f4f1;
    padding: 50px 20px 100px;
}



.flow_container h3 {
    font-size: 24px;
    font-style: normal;
    text-align: center;
    color: #3d99a3;
    font-weight: 500;
    margin-bottom: 50px;
    font-family: "NotoSerifJP-VariableFont", serif;
}

.flow_container p {
    color: #3d99a3;
    text-align: center;
    padding: 0px 20px 20px 20px;
    line-height: 1.8;
}

/*タブ切り替え全体のスタイル*/
.tabs {
    margin-top: 50px;
    padding-bottom: 40px;
    max-width: 1300px;
    margin: 0 auto;
}

/*タブのスタイル*/
.tab_item {
    width: calc(50% - 0px);
    height: 80px;
    border: 1px solid #5ab7aa;
    background-color: #FFFFFF;
    line-height: 80px;
    font-size: 20px;
    text-align: center;
    color: #5ab7aa;
    display: block;
    float: left;
    text-align: center;
    font-weight: bold;
    transition: all 0.2s ease;
    cursor: pointer;
}

.tab_item:hover {
    opacity: 0.75;
}

/*ラジオボタンを全て消す*/
input[name="tab_item"] {
    display: none;
}

/*タブ切り替えの中身のスタイル*/
.tab_content {
    display: none;
    padding: 40px 0px 0;
    clear: both;
    overflow: hidden;
    background-color: #e6f4f1;
}


/*選択されているタブのコンテンツのみを表示*/
#all:checked ~ #all_content,
#daicho:checked ~ #daicho_content {
    display: block;
}

/*選択されているタブのスタイルを変える*/
.tabs input:checked + .tab_item {
    background-color: #5ab4bd;
    color: #fff;
}

.tab_content img {
    width: 100%;
}

.arrow {
    text-align: center;
    margin: 20px auto;
}

.arrow img {
    max-width: 80px;
}

/*------------------------------基本の吹き出し------------------------------*/
.tabs input:checked + .tab_item {
    position: relative;
    background: #5ab4bd;
}

.tabs input:checked + .tab_item:after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -20px;
    left: 0;
    width: 0px;
    height: 0px;
    margin: auto;
    border-style: solid;
    border-color: #5ab4bd transparent transparent transparent;
    border-width: 20px 20px 0 20px;
}



.flowchart {
    display: block;
    position: relative;
    top: 0px;
    left: 0px;
    background-color: #fff;
    margin-bottom: 80px;
}


.flowchart::after {
    content: ' ';
    position: absolute;
    bottom: -110px;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: url(images/new-top/arrow.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain !important;
}

.flowchart:last-child::after {
    display: none;
}

.flowchart_flexarea {
    display: grid;
    grid-template-columns: 35% 65%;
    grid-template-columns: calc(35% - 5px) calc(65% - 5px);
    gap: 10px;
    padding: 50px;
}


.flow_left img {
    width: 100%;
}

.flow_right h4 {
    font-size: 24px;
    color: #5ab4bd;
    padding: 0px 20px 20px 20px;
}

.flow_right p {
    color: #333;
    text-align: left;
}

@media screen and (max-width:768px){
    .flow{
        padding: 50px 20px 0px;
    }
}


/* ------------------------------ */
/* item */
/* ------------------------------ */

.item_container {
    background-color: #EA7574;
}

.item_height {
    height: 100vh;
}

.text_item {
    margin: 10rem 0 5rem .1rem;
    padding: 100px 0 0 0;
}

.item_title {
    color: #000;
    text-align: center;
    font-size: 48px;
    font-weight: bold;
    padding-left: 6rem;
}

.item_title span {
    font-size: 12px;
    display: block;
}


/*=============-タブ切り替え-===============*/


.parallax_content{
    padding: 50px 20px 50px;
    padding-top: 100px;
    margin-top: -100px;
    height: auto;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
}

.parallax_content::before {
    content: '';
    background-color: rgba(61, 153, 163, 0.85);
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}

.parallax_content h3{
    color: #fff;
}

.parallax_content p{
    color: #fff;
}

.img_bg_01{
    background: url(images/new-top/clinic_bk.jpg);
    background-repeat: repeat;
    background-size: cover;
}

/*
#trouble{
    padding-top: 100px;
    margin-top: -100px;
}*/

.content02 {
    /*padding: 50px 20px 50px;*/
    background: #fff;
}

@media screen and (max-width:999px) {
    .parallax_content{
        padding: 50px 20px 50px;
        margin-top: 0;
    }
    .content02 {
        /*padding: 50px 20px 50px;*/
    }
}



.disease_name {
    display: grid;
    grid-template-columns: calc(25% - 8px) calc(25% - 8px) calc(25% - 8px) calc(25% - 8px);
    gap: 10px;
}

.disease01 a {
    display: block;
    text-decoration: none;
    padding: 30px 20px;
    color: #326c69;
    background-color: #e6f4f1;
    border-radius: 12px;
}

.disease01 a:hover{
    color: #fff;
    background-color:rgba(61, 153, 163, 0.85);
}


.symptoms {
    display: grid;
    grid-template-columns: calc(20% - 8px) calc(20% - 8px) calc(20% - 8px) calc(20% - 8px) calc(20% - 8px);
    gap: 10px;
}

.symptoms01 a {
    display: block;
    text-decoration: none;
    padding: 25px 20px;
    color: #326c69;
    background-color: #e6f4f1;
    border-radius: 12px;
}

.symptoms01 a:hover{
    color: #fff;
    background-color: rgba(61, 153, 163, 0.85);
}

@keyframes horizontal-animation {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

.slider-container {
    display: flex;
    overflow: hidden;
}

.slider-wrapper {
    display: flex;
    animation: horizontal-animation 30s linear infinite;
}

.slide {
    width: 400px;
    margin-right: 20px;
}

.slide img {
    width: 100%;
    height: auto;
    vertical-align: bottom;
}

@media (hover: hover) {
    .slider-container:hover .slider-wrapper {
        animation-play-state: paused;
    }
}




/*--------------------------------*/
/*悩み別に見る*/
/*--------------------------------*/


/*タブ切り替え全体のスタイル*/
.tabs02 {
    margin-top: 50px;
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    background-color: #fff;
    padding: 40px;
}

/*タブのスタイル*/
.tab_item02 {
    width: calc(50% - 0px);
    height: 80px;
    border: 1px solid #5ab7aa;
    background-color: #FFFFFF;
    line-height: 80px;
    font-size: 20px;
    text-align: center;
    color: #5ab7aa;
    display: block;
    float: left;
    text-align: center;
    font-weight: bold;
    transition: all 0.2s ease;
    cursor: pointer;
}

.tab_item02:hover {
    opacity: 0.75;
}

/*ラジオボタンを全て消す*/
input[name="tab_item02"] {
    display: none;
}

/*タブ切り替えの中身のスタイル*/
.tab_content02 {
    display: none;
    padding: 40px 0px 0;
    clear: both;
    overflow: hidden;
}


/*選択されているタブのコンテンツのみを表示*/
#disease_name_label:checked ~ #disease_name_content,
#symptoms:checked ~ #symptoms_content {
    display: block;
}

/*選択されているタブのスタイルを変える*/
.tabs02 input:checked + .tab_item02 {
    background-color: #5ab4bd;
    color: #fff;
}

.tab_content02 img {
    width: 100%;
}


/*基本の吹き出し*/
.tabs02 input:checked + .tab_item02 {
    position: relative;
    background: #5ab4bd;
}

.tabs02 input:checked + .tab_item02:after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -20px;
    left: 0;
    width: 0px;
    height: 0px;
    margin: auto;
    border-style: solid;
    border-color: #5ab4bd transparent transparent transparent;
    border-width: 20px 20px 0 20px;
}

.access_btn_area{
    margin-top: 30px;
}

@media screen and (max-width:768px){
    .tabs02{
        padding: 20px;
    }
}


/*--------------------------------*/
/*医院紹介*/
/*--------------------------------*/

.clinic_information {
    /*background: url(images/new-top/clinic_bk.jpg);*/
    background-color: #e6f4f1;
    background-repeat: no-repeat;
    position: relative;
}
/*
.clinic_information::before {
    content: '';
    background-color: rgba(61, 153, 163, 0.85);
    display: block;
    width: 100%;
    height: 595px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}*/


.clinic_information {
    background: url(images/new-top/clinic_bk.jpg);
    background-color: #e6f4f1;
    background-repeat: no-repeat;
    position: relative;
    padding-bottom: 50px;
    margin-bottom: 50px;
}

.clinic_information::before {
content: '';
background-color: rgba(61, 153, 163, 0.85);
display: block;
width: 100%;
height: 595px;
position: absolute;
top: 0;
left: 0;
z-index: 0;
}



.clinic_info_container {
    padding: 50px;
    position: relative;
}

.clinic_info_container h3 {
    color: #FFF;
    /*color: #3d99a3;*/
    font-size: 24px;
    font-style: normal;
    text-align: center;
    font-weight: 500;
    margin-bottom: 50px;
    font-family: "NotoSerifJP-VariableFont", serif;
    letter-spacing: 4px;
}

.clinic_info_container p {
    color: #FFF;
    /*color: #3d99a3;*/
    text-align: center;
    padding: 0px 20px 4px 20px;
    line-height: 1.8;
    font-family: "NotoSansJP-Regular", sans-serif;
    letter-spacing: 2px;
}

.clinic_information {
    position: relative;
}


.clinic_info_area {
    max-width: 1300px;
    margin: 0 auto;
    background-color: #fff;
    padding: 50px;
    margin-top: -60px;
    position: relative;
}

.clinic_info_box {
    display: grid;
    grid-template-columns: calc(30% - 25px) calc(70% - 25px);
    gap: 50px;
}

.clinic_info_left {}

.clinic_info_left img {
    width: 100%;
}

.clinic_info_right {}

.incho_tit h3 {
    font-family: "NotoSerifJP-VariableFont", serif;
    font-size: 20px;
    font-weight: normal;
    margin-bottom: 20px;
}

.incho_tit p {
    font-family: "NotoSerifJP-VariableFont", serif;
}

/*------------------------------経歴・資格------------------------------*/
.clinic_info_box02 {
    margin-top: 100px;
    display: grid;
    grid-template-columns: calc(50% - 25px) calc(50% - 25px);
    gap: 50px;
}

.clinic_info_left02 h4 {
    color: #62bec9;
    text-align: center;
    margin-bottom: 20px;
}


/*------------------------------ めくれた紙風 ------------------------------*/
.clinic_info_left02 {
    border: 1px solid #62bec9;
    display: block;
    position: relative;
    padding: 40px 30px;
}

.clinic_info_left02 ul li {
    margin-left: 30px;
    line-height: 2;
    list-style: square;
}

::marker{
    color: #62bec9;
}


.clinic_info_left02::before {
    content: '';
    background: url(images/new-top/kado01.jpg);
    display: block;
    width: 20px;
    height: 20px;
    position: absolute;
    top: -1px;
    right: -1px;
    background-size: contain;
}

.clinic_info_left02::after {
    content: '';
    background: url(images/new-top/kado02.jpg);
    display: block;
    width: 20px;
    height: 20px;
    position: absolute;
    bottom: -1px;
    left: -1px;
    background-size: contain;
}

.clinic_info_right02 {
    border: 1px solid #62bec9;
    display: block;
    position: relative;
    padding: 40px 30px;
}

.clinic_info_right02 h4 {
    color: #62bec9;
    text-align: center;
    margin-bottom: 20px;
}

.clinic_info_right02 ul li {
    margin-left: 30px;
    line-height: 2;
    list-style: square;
}

.clinic_info_right02::before {
    content: '';
    background: url(images/new-top/kado01.jpg);
    display: block;
    width: 20px;
    height: 20px;
    position: absolute;
    top: -1px;
    right: -1px;
    background-size: contain;
}

.clinic_info_right02::after {
    content: '';
    background: url(images/new-top/kado02.jpg);
    display: block;
    width: 20px;
    height: 20px;
    position: absolute;
    bottom: -1px;
    left: -1px;
    background-size: contain;
}


/*------------------------------女性医師の紹介------------------------------*/

.clinic_staff {
    max-width: 1300px;
    margin: 0 auto;
}

.clinic_info_box03 {
    display: grid;
    grid-template-columns: calc(50% - 20px) calc(50% - 20px);
    grid-template-columns:100%;
    gap: 40px;
    align-items: center;
    margin-bottom: 100px;
}

.clinic_info_left03 h4 {
    margin-top: 10px;
    text-align: center;
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    margin-bottom: 50px;
    font-family: "NotoSerifJP-VariableFont", serif;
    letter-spacing: 4px;
}

.clinic_info_right03{
    padding: 0 40px;
}

.clinic_info_right03 p{
    margin-bottom: 50px;
}

.clinic_info_left03 span {
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    margin-bottom: 50px;
    font-family: "NotoSerifJP-VariableFont", serif;
    letter-spacing: 4px;
}

.clinic_info_left03 img {
    width: 100%;
}

.clinic_info_right03 h4 {
    color: #62bec9;
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    margin-bottom: 50px;
    font-family: "NotoSerifJP-VariableFont", serif;
    letter-spacing: 4px;
}

/*------------------------------マップ------------------------------*/

.clinic_access {
    padding: 50px 0;
}


.access_btn_area .button_arrow03 {
    display: block;
    position: relative;
    background: #fff;
    color: #62bec9;
    border-radius: 50px;
    border: 1px solid #62bec9;
    padding: 1.4rem 5.5rem 1.4rem 1.0rem;
    transition: all 0.3s;
    text-decoration: none;
    margin: 0 auto;
    max-width: 300px;
    width: 100%;
}


.button_arrow03 {
    display: inline-block;
    position: relative;
    background: #62bec9;
    color: #fff;
    padding: 1.0rem 5.5rem 1.0rem 1.0rem;
    transition: all 0.3s;
}

.button_arrow03:after {
    content: "";
    position: absolute;
    display: block;
    transition: all 0.3s;
    width: 7px;
    height: 28px;
    top: 50%;
    right: 3.5rem;
    border-top: solid 2px #62bec9;
    border-right: solid 2px #62bec9;
    transform: translateY(-50%) rotate(45deg) skewX(-45deg);
}

.button_arrow03:hover:after {
    right: 20px;
}


/*------------------------------診療案内・カレンダー------------------------------*/
.clinic_calendar {
    max-width: 1300px;
    margin: 50px auto;
}

.clinic_calendar img {
    width: 100%;
}


.clinic_calendar_grid {
    display: grid;
    grid-template-columns: calc(50% - 20px) calc(50% - 20px);
    gap: 40px;
    align-items: end;
    padding: 0 20px;
}

.footer_calendar_grid {
    display: grid;
    grid-template-columns: calc(50% - 5px) calc(50% - 5px);
    gap: 10px;
    margin: 20px auto;
}

.access_footer {
    margin-bottom: 50px;
}

.footer_logo img {
    max-width: 500px;
}

.footer_tel {
    font-size: 28px;
    font-weight: bold;
    color: #555;
}

.footer_tel_icon {
    max-width: 24px;
    height: auto;
    vertical-align: sub;
}
.footer_web_icon {
    max-width: 24px;
    height: auto;
    vertical-align: sub;
    margin-right: 10px;
}

.footer_tel_btn {
    display: block;
    text-decoration: none;
}

.footer_tel_btn:hover {
    color: #62bec9;
}


.reserve_f_btn_area .button_arrow02 {
    display: block;
    position: relative;
    background: #62bec9;
    color: #fff;
    border-radius: 50px;
    border: 1px solid #fff;
    padding: 1.4rem 5.5rem 1.4rem 2.0rem;
    transition: all 0.3s;
    text-decoration: none;
    margin: 0 auto;
    max-width: 100%;
    width: 100%;
}


.button_arrow02 {
    display: inline-block;
    position: relative;
    background: #fff;
    color: #62bec9;
    padding: 1.0rem 5.5rem 1.0rem 1.0rem;
    transition: all 0.3s;
}

.button_arrow02:after {
    content: "";
    position: absolute;
    display: block;
    transition: all 0.3s;
    width: 7px;
    height: 28px;
    top: 50%;
    right: 3.5rem;
    border-top: solid 2px #fff;
    border-right: solid 2px #fff;
    transform: translateY(-50%) rotate(45deg) skewX(-45deg);
}

.button_arrow02:hover:after {
    right: 20px;
}

@media screen and (max-width:999px){
    .footer_tel_btn{
        text-align: center;
    }
    .footer_calendar_grid{
        grid-template-columns:auto;
    }
}


/*------------------------------モーダル1 PC TOP右側------------------------------*/

.modal-1__wrap {
    display: inline-block;
}

.modal-1__wrap input {
    display: none;
}

.modal-1__open-label,
.modal-1__close-label {
    cursor: pointer;
}

.modal-1__open-label {
    color: #4f96f6;
    font-size: .95em;
}

.modal-1__open-label:hover {
    text-decoration: underline;
    cursor: pointer;
    color: #c7511f;
}

.modal-1 {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
}

.modal-1__open-input:checked + label + input + .modal-1 {
    display: block;
    animation: modal-1-animation .6s;
}

.modal-1__content-wrap {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 650px;
    background-color: #fefefe;
    z-index: 2;
    border-radius: 5px;
}

.modal-1__close-label {
    background-color: #777;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 20px;
    width: 36px;
    height: 36px;
    line-height: 1.5;
    text-align: center;
    display: table-cell;
    position: fixed;
    top: -15px;
    right: -2%;
    z-index: 99999;
    font-size: 1.4em;
}

.modal-1__content {
    max-height: 55vh;
    overflow-y: auto;
    padding: 39px 45px 40px;
}

.modal-1__content img {
    width: 100%;
}

.modal-1__background {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .45);
    z-index: 1;
}

@keyframes modal-1-animation {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@media only screen and (max-width: 520px) {
    .modal-1__open-label {
        max-width: 90%;
        padding: .94em 2.1em .94em 2.6em;
    }

    .modal-1__close-label {
        top: -17px;
        right: -4%;
    }

    .modal-1__content-wrap {
        width: 90vw;
    }

    .modal-1__content {
        padding: 33px 21px 35px;
        max-width: 100%;
    }
}

/*------------------------------モーダル1 PC TOP右側------------------------------*/


.accordion-003 {
    margin-bottom: 7px;
    border-bottom: 2px solid #d0d0d0;
}

.accordion-003 summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 1em 2em;
    color: #62bec9;
    font-weight: 600;
    cursor: pointer;
}

.accordion-003 summary::-webkit-details-marker {
    display: none;
}

.accordion-003 summary::after {
    transform: translateY(-25%) rotate(45deg);
    width: 7px;
    height: 7px;
    margin-left: 10px;
    border-bottom: 3px solid #333333b3;
    border-right: 3px solid #333333b3;
    content: '';
    transition: transform .3s;
}

.accordion-003[open] summary::after {
    transform: rotate(225deg);
}

.accordion-003 p {
    transform: translateY(-10px);
    opacity: 0;
    margin: 0;
    padding: .3em 2em 1.5em;
    color: #333333;
    transition: transform .5s, opacity .5s;
}

.accordion-003[open] p {
    transform: none;
    opacity: 1;
}


.accordion-003 img {
    width: 100%;
}


/*モーダル3*/

/*XOカレンダー*/
.xo-event-calendar table.xo-month .month-header>span{
    color: #62bec9;
    font-weight: bold;
}
.xo-event-calendar table.xo-month>thead th{
    color: #fff!important;
    background-color: #62bec9;
}
.xo-event-calendar table.xo-month>thead th.saturday {
    color: #00d!important;
}
.xo-event-calendar table.xo-month>thead th.sunday {
    color: #d00!important;
}

.xo-event-calendar p.holiday-title span{
    display: inline-block;
    width: 20px;
    height: 16.5px;
}
.xo-event-calendar table.xo-month button span.nav-prev{
    margin-left: 5px;
    color: #fff;
}

.xo-event-calendar table.xo-month button{
    color: #fff;
}

.xo-event-calendar table.xo-month button span.nav-next{
    margin-left: auto;
    margin-right: 5px;
    color: #fff;
}
.xo-event-calendar table.xo-month .month-event td{
    border: 0px solid #ccc;
}

.calendar-caption{
    font-size: 18px;
}
@media screen and (max-width: 999px) {
    .nav-next {
        font-size: 0;
    }

    .nav-next::before {
        content: ''; /* 任意のアイコンや記号に置き換えられます */
        font-size: 16px;
    }
}


@media screen and (max-width:480px){
    .calendar-caption{
        font-size: 14px!important;
    }

    .month-event a span{
        font-size: 8px!important;
    }
}



/*
.xo-event-calendar .month-event, .xo-event-calendar .month-event-space{
display: block!important;
}*/


/*--------------------------------*/
/*フッター*/
/*--------------------------------*/
footer {
    background-color: #62bec9;
    width: 100%;
    margin-top: 50px;
    padding: 4rem 20px;
    font-size: 15px;
    color: #fff;
}


hr {
    height: 1px;
    border: 0;
    border-top: 1px solid #e5e7eb;
}

.footer_grid {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer__navi-heading {
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 18px;
}

.footer__navi {
    display: grid;
    grid-template-columns: 50% 50%;
}

.footer__logo {
    display: inline-block;
    margin-bottom: 2rem;
}

.footer__navi li {
    margin-bottom: 0.75rem;
    list-style: none;
}

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

.footer__navi a:hover {
    color: rgba(13, 66, 112, 0.6);
}


.copy_footer {
    display: flex;
    justify-content: space-between;
}

.copy_footer a {
    display: inline-block;
    color: #fff!important;
    padding: 10px;
    text-decoration: none;
}

.copy_footer a:hover {
    color: rgba(13, 66, 112, 0.6);
}


@media (min-width: 768px) {

    .grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media screen and (max-width:480px){
    .footer_logo{
        text-align: center;
    }
    .footer_logo img{
        max-width: 300px;
    }
}


/*--------------------------------*/

/*カレンダー*/

/*--------------------------------*/

.xo-event-calendar table.xo-month .month-dayname-space{
    height: 1.6em!important;
}

@media screen and (max-width:480px){
    .xo-event-calendar table.xo-month .month-dayname-space{
        height: 1.5em!important;
    }
}

/* ------------------------------ */
/*上に戻るボタン*/
/* ------------------------------ */

.button_top {
    z-index: 1;
    position: fixed;
    bottom: 70px;
    left: 0;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.button_top p {
    font-size: 12px;
    padding: 6px 10px;
    color: #fff;
    background: #62bec9;
    text-align: center;
    cursor: pointer;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
}

.button_top span {
    font-size: 14px;
}

.button_top.visible {
    opacity: 1;
    pointer-events: auto;
}

@media screen and (max-width:1000px) {
    .button_top {
        z-index: 1;
    }

    .button_top p {
        font-size: 9px;
        padding: 6px 2px;
        color: #fff;
        background: #62bec9;
        text-align: center;
        cursor: pointer;
    }

    .button_top span {
        font-size: 14px;
    }
}

/*こんな症状フッターバナー*/

@media screen and (max-width:768px){

.shojo_banner {
    background-color: #fff;
    border: 1px solid #62bec9;
    position: fixed;
    right: 0px;
    bottom: 50px;
    z-index: 999;
    transition: opacity 0.3s ease;
}

.shojo_banner a{
    text-decoration: none;
    display: block;
    padding: 10px 7px;
    font-size: 14px;
    display: flex;
    align-items: center;
    background-color: #62bec9;
    color: #fff;
}
.shojo_banner p{
    text-align: left;
}
.shojo_banner img{
    max-width: 50px;
    width: 100%;
    background-color: #fff;
    border-radius: 50%;
    margin-right: 10px;
}


.shojo_banner.hide {
    opacity: 0;
    pointer-events: none;
}
}

/* PCでは常に非表示（任意） */
@media (min-width: 769px) {
    .shojo_banner {
        display: none;
    }
}





@media screen and (max-width:1000px) {
    .flex_news_blog {
        grid-template-columns: auto;
    }

    .pickup_text {
        width: 100%;
    }

    .pickup_img {
        width: 100%;
    }

    .pickup_box:nth-child(even) {
        display: flex;
        flex-direction: column-reverse;
    }

    .pickup_text02 {
        width: 100%;
    }

    .pickup_img02 {
        width: 100%;
    }

    .pickup_box:nth-child(odd) {
        display: flex;
        flex-direction: column-reverse;
    }

    .treatment_flex {
        grid-template-columns: auto;
    }

    .pain_box_flex {
        grid-template-columns: auto;
    }

    .text {
        width: 100%;
    }

    .img {
        width: 100%;
    }

    .daicho_jiko_flex {
        grid-template-columns: auto;
    }

    .tab_item {
        width: 50%;
        margin: 0;
    }

    .flowchart_flexarea {
        grid-template-columns: auto;
        gap: 10px;
        padding: 20px;
    }
    .flow_right h4{
        padding: 0px 0px 20px 0px;
    }
    .flow_container p{
        padding: 0px 0px 20px 0px;
    }
    .tab_content {
        padding: 40px 0px 0;
    }

    .disease_name {
        display: grid;
        grid-template-columns: calc(33% - 5px) calc(33% - 5px) calc(33% - 5px);
        gap: 10px;
    }

    .symptoms {
        display: grid;
        grid-template-columns: calc(33% - 5px) calc(33% - 5px) calc(33% - 5px);
        gap: 10px;
    }

    .clinic_info_box {
        display: grid;
        grid-template-columns: auto;
        gap: 50px;
    }

    .clinic_info_box02 {
        grid-template-columns: auto;
    }

    .clinic_info_box03 {
        display: flex;
        flex-direction: column-reverse;
        flex-wrap: wrap;
    }
}


@media screen and (min-width: 767px){
    .pc_none{
        display: none;
    }
}

@media screen and (max-width: 766px){
    .sp_none{
        display: none;
    }
}

@media screen and (max-width: 767px){
    .text_under{
        bottom: 30px;
        left: 20px;
        right: 6px;
        transform: translate(-0%, -0%);
        width: 90%;
    }
    .news_container h3{
        font-size: 24px;
    }
    .column_container h3{
        font-size: 24px;
    }
    .news_box, .column_box{
        width:calc(100% - 25px);
    }
    .under_banner .p01{
        font-size: 16px;
    }
    .under_banner .p02{
        font-size: 16px;
    }

    .disease_name{
        grid-template-columns: calc(50% - 5px) calc(50% - 5px);
    }
    .disease01 a{
        padding: 15px;
    }
    .symptoms{
        grid-template-columns: calc(50% - 5px) calc(50% - 5px);
    }
    .symptoms01 a{
        padding: 15px;
    }
    .text{
        padding:20px 0px 20px 0px;
    }
    .text h4{
        padding: 0;
    }
    .text p{
        padding: 30px 0px;
    }
    .text02 {
        padding: 20px 0px 20px 0px;
    }
    .n01::after{
        bottom: 30px;
        right: 5px;
    }
    .n02::after{
        bottom: 30px;
        right: 5px;
        left: auto;
    }
    .n03::after{
        bottom: 30px;
        right: 5px;
    }

    .pain h3 span{
        display: block;
    }
    .knowledge_container h4{
        font-size: 24px;
    }
    .layered-box01 h4{
        font-size: 24px;
    }
    .daicho{
        padding: 40px 20px;
    }
    .daicho p{
        padding: 0px 0px 30px 0px;
    }
    .flex_news_blog a{
        margin:0!important;
    }
    .news_box_btn .button_arrow01{
        padding: 1.0rem 6rem 1.0rem 1.0rem;
    }
    .news_box_btn{
        margin-top: 20px;
    }
    .column_box_btn .button_arrow01{
        padding: 1.0rem 6rem 1.0rem 1.0rem;
    }
    .column_box_btn{
        margin-top: 20px;
    }
    
    .news_dtdd figure{
        width: 20.1vw;
    }
    :where(figure) {
        margin: 5px 5px 0em 0em!important;
    }
    
    .treatment_h3{
        padding: 20px 0;
    }
    .pickup_text{
        padding: 20px;
    }
    .pickup_text02{
        padding: 20px;
    }
    .pickup_text p{
        padding: 30px 0;
    }
    .pickup_text02 p{
        padding: 30px 0;
    }

    .clinic span {
        font-size: 38px;
    }
    .clinic h3 {
        font-size: 24px;
    }
    .clinic p {
        padding: 20px 0px 15px 0px;
    }
    .tab_item{
        font-size: 16px;
    }
    .tab_item02{
        font-size: 16px;
    }

    .n04::after{
        bottom: 30px;
        right: 5px;
    }
    .n05::after{
        bottom: 30px;
        right: 5px;
    }
    .n06::after{
        bottom: 30px;
        right: 5px;
    }
    .n07::after{
        bottom: 30px;
        right: 5px;
    }
    .clinic_info_area{
        padding: 50px 20px;
    }
    .clinic_info_left02{
        padding: 40px 20px;
    }
    .clinic_info_right02{
        padding: 40px 20px;
    }
    .clinic_info_box03{
        padding: 0 20px;
    }
    .clinic_info_right03{
        padding: 0;
    }
    .clinic_calendar{
        padding: 0 20px;
    }
    .clinic_calendar_grid{
        grid-template-columns: 100%;
        padding: 0px;
    }
    .footer_tel_btn{
        text-align: center;
    }
    .footer_calendar_grid{
        grid-template-columns: 100%;
    }
    .footer_grid{
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
    .copy_footer{
        display: block;
    }
}

@media screen and (max-width:480px){
    .under_banner{
        max-width: 350px;
    }
    .layered-box01{
        height: 580px;
    }
    .layered-box02{
        height: 580px;
    }
    .n01::after {
        bottom: -10px;
    }
    .n02::after {
        bottom: -50px;
    }
    .n03::after {
        bottom: -10px;
    }
    .n07::after {
        bottom: 0px;
    }
    address span{
        display: block;
    }
}

@media screen and (max-width:350px){
    .under_banner{
        height: auto;
    }
    .text_under {
        bottom: 25px;
        width: 88%;
    }
}