@charset "utf-8";
/*====================================


自費診療・自由診療


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

/*-------------------------自費診療メニュー-------------------------*/


.navi-button .photo {
    position: relative;
}

.navi-button .photo span {
    position: absolute;
    top: 0;
    left: 0;
    display: inline-block;
    padding: 1px 8px;
    font-size: 1.2rem;
    color: #fff;
}

.navi-wrap_container {
    display: grid;
    grid-template-columns: calc(50% - 10px) calc(50% - 10px);
    gap: 20px;
}

.col_jihi_box a {
    text-decoration: none;
}


.jihi_menu-text {
    text-decoration: none;
}


.navi-button .detail-box.bg-yellow {
    background-color: #ffff69;
}

.navi-button .detail-box.bg-l-green {
    background-color: #84b3a6;
}

.navi-button .detail-box.bg-brown {
    background-color: #958272;
}

.navi-button .detail-box.bg-brown {
    background-color: #958272;
}

.navi-button .detail-box.bg-blue {
    background-color: #6d9cbe;
}

.navi-button .detail-box.bg-d-green {
    background-color: #648064;
}

.navi-button .detail-box .lead {
    text-align: center;
}

.navi-button .detail-box h3,
.navi-button .detail-box .lead {
    margin: 0 auto 15px;
}

.navi-button .detail-box.bg-l-green h3,
.navi-button .detail-box.bg-d-green h3,
.navi-button .detail-box.bg-blue h3,
.navi-button .detail-box.bg-brown h3 {
    border: solid 2px #fff;
}

.navi-button .detail-box h3 {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding: 2px 8px;
}

.navi-button .detail-box.bg-yellow {
    color: #666;
}

.navi-button .detail-box.bg-yellow h3 {
    border: solid 2px #666;
}


.navi-button a {
    text-decoration: none;
}

.navi-button .detail-box.bg-l-green,
.navi-button .detail-box.bg-d-green,
.navi-button .detail-box.bg-blue,
.navi-button .detail-box.bg-brown {
    color: #fff;
}


.navi-button .photo .bg-jiyuu {
    background-color: #80afb5;
}

.navi-button .detail-box {
    padding: 15px 10px;
}

@media (min-width: 1200px) {
    .navi-button .detail-box {
        padding: 15px 25px;
    }
}

@media (min-width: 1200px) {

    .navi-button .detail-box h3,
    .navi-button .detail-box .lead {
        font-size: 1.4rem;
    }
}


@media screen and (max-width:767px) {
    .navi-wrap_container {
        display: grid;
        grid-template-columns: 100%;
        gap: 20px;
    }
}

.jihishinryo-page-navi {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto 20px;
    padding: 0;
    width: 100%;
}

.jihishinryo-page-navi > li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 40px;
    font-size: 16px;
    font-weight: bold;
    color: #62bec9;
    border: solid 2px #62bec9;
    transition: all .2s ease;
}

.jihishinryo-page-navi .current a,
.jihishinryo-page-navi .current a:hover {
    color: #fff;
    background-color: #62bec9;
    border: solid 2px #62bec9;
}

.jihishinryo-page-navi > li a,
.jihishinryo-page-navi > li a:hover {
    text-decoration: none;
}

@media (max-width:767px) {
    .jihishinryo-page-navi > li {
        width: 48%;
    }

    .jihishinryo-page-navi > li:nth-of-type(n+3) {
        margin-top: 10px;
    }
}

@media (min-width:768px) {
    .jihishinryo-page-navi > li {
        width: 19.5%;
    }

    .jihishinryo-page-navi > li a {
        font-size: 15px;
    }

    .font10 a {
        font-size: 13px !important;
    }
}

@media (max-width:560px) {
    .jihishinryo-page-navi > li a {
        font-size: 11px;
    }
}

/*----------------------------フードアレルギー検査-------------------------*/
/*----------こうした方におすすめです----------*/

.point_area {
    background-color: #e6f4f1;
    padding-bottom: 100px;
    margin-bottom: 100px;
}

.ttl {
    width: 100%;
    position: relative;
    color: #3d99a3;
    text-align: center;
    padding: 60px 20px 30px;
    font-family: "NotoSerifJP-VariableFont", serif;
    font-weight: normal;
    font-size: 24px;
}

.list_check {
    display: flex;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 10px;
}

.list_check img {
    max-width: 50px;
    margin-bottom: 10px;
}

.list_check > li {
    position: relative;
    padding: 40px;
    margin: 0px 20px;
    font-size: 18px;
    background-color: #fff;
    text-align: center;
    width: 33%;
}

.list_check > li p {
    font-family: "NotoSerifJP-VariableFont", serif;
    color: #3d99a3;
}

@media screen and (max-width:767px){
    .list_check > li p{
        font-size: 1.4rem;
    }
}
@media screen and (max-width:480px){
    .list_check > li{
        padding: 20px 10px!important;
    }
    .list_check > li p{
        font-size: 1.2rem;
    }
}
/*----------------アレルギー反応----------------*/

.lower_middle_area {
    margin-top: 100px;
}

.lower_middle_img {
    width: 40%;
}

.lower_middle_img img {
    width: 100%;
}

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

.lower_middle_text {
    width: 50%;
    margin-right: 100px;
}

.lower_middle_text .lower_middle_title {
    margin-top: 0px;
}

.lower_middle_text .lower_middle_title h2 {
    display: block;
    position: relative;
    text-align: left;
    background-color: rgba(0, 0, 0, 00);
    border-left: 0px solid #62bec9;
    font-size: 24px;
    font-family: "NotoSerifJP-VariableFont", serif;
    margin-bottom: 70px;
    padding: 0;
}

.lower_middle_text .lower_middle_title h2:before {
    content: '';
    display: inline-block;
    position: absolute;
    bottom: -15px;
    left: 30px;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: #62bec9;
}

.lower_middle_text p {
    margin-top: 20px;
}

/*----------------料金表----------------*/

.ryoukin02 {
    margin: 25px 0 25px 0;
}

.ryoukin02 table {
    border-collapse: collapse;
    width: 100%;
}

.ryoukin02 tr th {
    text-align: center;
    color: #62bec9;
    background-color: #e6f4f1;
}

.ryoukin02 tr th,
.ryoukin02 tr td {
    padding: 15px 10px;
    border: solid 1px #c3e5e1;
    text-align: center;
}

.ryoukin02 span {
    margin-top: 10px;
    display: block;
}

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

    /*-----------おすすめです-----------*/
    .ttl {
        font-size: 20px;
    }

    .list_check {
        flex-wrap: wrap;
    }

    .list_check > li {
        width: 100%;
        margin-bottom: 30px;
        padding: 20px;
        font-size: 16px;
    }

    /*-----------------------料金表--------------------*/

    .ryoukin02 table {
        width: 100%;
    }

    .ryoukin02 tr {
        margin-top: 0;
    }

    .ryoukin02 th {
        width: 100%;
        display: block;
    }

    .ryoukin02 .hidden-xs {
        display: block;
    }
    .hidden-xs td{
        width: 769px;
    }

    /*----------------検査でわかるアレルギー反応----------------*/
    .lower_middle_text .lower_middle_title h2 {
        text-align: center;
        font-size: 20px;
    }

    .lower_middle_text .lower_middle_title h2:before {
        left: 50%;
    }

    .lower_middle_flex {
        flex-wrap: wrap;
    }

    .lower_middle_text {
        width: 100%;
        margin-right: 0;
    }

    .lower_middle_img {
        width: 100%;
    }
}


/*-------------------------健康診断-------------------------*/


/*----------------料金表----------------*/

.ryoukin03 {
    margin: 25px 0 25px 0;
}

.ryoukin03 table {
    border-collapse: collapse;
    width: 100%;
}


.ryoukin03 tr th {
    text-align: center;
    color: #62bec9;
    background-color: #e6f4f1;
}

.ryoukin03 tr th,
.ryoukin03 tr td {
    padding: 15px 10px;
    border: solid 1px #c3e5e1;
    text-align: center;
}

.ryoukin03 span {
    margin-top: 10px;
    display: block;
}

.checkup-ryoukinhyo tr:nth-child(even) td {
    background-color: #fafffc;
}

/*-----------------料金-----------------*/

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

    /*------------------検査の費用------------------*/

    .headline_title {
        margin-top: 50px;
    }

    .fixed01 {
        position: sticky;
        top: 0;
        left: 0;
        width: 125px;
        z-index: 1;
        border-right: solid 1px #c3e5e1;
        background-color: #fff;
    }

    .ryoukin03 {
        overflow: scroll;
    }

    .ryoukin03 table {
        width: 900px;
    }
}

/*--------------電話番号--------------*/

.tel_area {
    background-color: #e6f4f1;
    padding: 40px;
    margin: 20px 0 50px;
    text-align: center;
}

.tel_area h3 {
    text-align: center;
    font-size: 24px;
    font-family: "NotoSerifJP-VariableFont", serif;
    color: #3d99a3;
    font-weight: normal;
}

.tel_area span {
    font-size: 16px;
    display: block;
    margin: 20px;
    color: #636363;
    font-family: "NotoSansJP-Regular", sans-serif;
}

.tel_box {
    background-color: #fff;
    max-width: 800px;
    margin: 0 auto;
    padding: 30px 20px;
}

.tel_area a {
    font-size: 4rem;
    font-weight: bold;
    text-decoration: none;
    color: #62bec9;
    display: block;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tel_area p {
    color: #62bec9;
}

.tel_area img {
    max-width: 65px;
    padding-bottom: 0;
    margin-right: 10px;
}

@media screen and (max-width:1000px) {
    .tel_area img {
        max-width: 35px;
    }

    .tel_area a {
        font-size: 2.6rem;
    }
}

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

    .tel_area {
        padding: 40px 20px;
    }

    .tel_area h3 {
        font-size: 20px;
    }

    .tel_area a {
        font-size: 1.8rem;
        font-family: sans-serif;
    }
    .tel_area span{
        margin: 20px 0;
        font-size: 1.4rem;
    }
}

/*-------------------フローチャート-----------------------------------*/

@media screen and (max-width: 1000px) {
    .flowchart_flexarea {
        grid-template-columns: calc(30% - 5px) calc(70% - 5px);
        gap: 10px;
        padding: 20px;
    }
}

/*-------------------------予防接種・抗体検査-------------------------*/

.infl-notes {
    text-align: right !important;
}

/*-------------------------にんにく注射-------------------------*/

/*** ページ内リンクナビ ***/
.improvement-inspection-cmn-cont {
    padding-top: 30px;
    padding-bottom: 20px;
    border-top: solid 1px #666;
    border-top: none;
}

.improvement-inspection-cmn-cont.jiyu-pagenavi {
    padding-top: 0;
    padding-bottom: 0;
    border: none;
}

.improvement-inspection-pagenavi {
    margin: 0;
    width: 100%;
}

.improvement-inspection-pagenavi .md {
    padding: 0 8px 1px 8px;
    text-align: center;
    color: #fff;
    background-color: #62bec9;
}

.improvement-inspection-pagenavi > li:nth-of-type(n+2) {
    text-indent: -1.5em;
    padding-left: 1.5em;
    line-height: 1.3;
    margin-left: 2em;
}

.improvement-inspection-pagenavi li a {
    color: #444;
}

.improvement-inspection-pagenavi {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 0;
    width: 100%;
}


.list_check_i > li {
    width: 50%;
}



@media (max-width: 767px) {
    .improvement-inspection-pagenavi {
        display: flex;
        flex-wrap: wrap;
        align-items: flex-start;
        justify-content: space-between;
    }

    .improvement-inspection-pagenavi .md {
        width: 100%;
    }

    .list_check_i > li {
        width: 100%;
        margin: 10px 10px;
    }
}

@media (max-width: 767px) {

    .improvement-inspection-pagenavi > li:nth-of-type(2),
    .improvement-inspection-pagenavi > li:nth-of-type(3) {
        margin-top: 14px;
        margin-left: 0;
    }

    .improvement-inspection-pagenavi > li:nth-of-type(n+2) {
        margin-top: 14px;
        margin-left: 0;
        width: 50%;
    }
}

/*-------------------------各種検査 ミルテル、マイキンソー-------------------------*/
.mirtel_area01 {
    display: grid;
    gap: 20px;
    grid-template-columns: calc(50% - 10px) calc(50% - 10px);
}

.mirtel_box {
    margin-top: 20px;
    border: 1px solid #62bec9;
    padding: 20px;
}

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

.mirtel_area02 {
    margin-top: 50px;
}

.lower_middle_mykinso img {
    width: 100%;
}

.list_check_mykinso{
    display: grid;
    grid-template-columns: calc(33% - 5px) calc(33% - 5px) calc(33% - 5px);
    gap: 15px;
    padding: 0;
}

.list_check_mykinso > li{
    width: 100%;
    margin: 0;
}

@media screen and (max-width:1300px){
    .list_check_mykinso{
        margin: 0;
        padding: 0 20px;
    }
}

@media screen and (max-width:560px){
    .mirtel_area01{
        grid-template-columns: 100%;
        gap: 10px;
    }
    .list_check_mykinso{
        grid-template-columns: calc(50% - 5px) calc(50% - 5px);
        gap: 10px;
    }
}

/*----------------検査の流れ-----------------*/
.flow_box_area_inspection{
    padding: 100px 0 1px;
}
@media screen and (min-width:767px) {
    .sp_none_table{display: none;}
}
@media screen and (max-width:766px) {
    .pc_none_table{display: none;}
}

@media screen and (max-width:767px) {
    .flow_box_area_inspection{
        padding: 100px 0 50px;
    }
}


/*-------------------------診療のご案内------------------------*/

.lower_w03_mi{
    margin-bottom: 100px;
}
.lower_top_mi{
    margin-bottom: 20px;
}

.hoken{
    background-color: #d48089;
    position: absolute;
    top: 0;
    padding: 5px;
}

.hoken p{
    color: #fff;
}


.jiyu{
    background-color: #62bec9;
    position: absolute;
    top: 0;
    padding: 5px;
}
.jiyu p{
    color: #fff;
}


/*他*/

.figure_area_mi {
    display: grid;
    justify-content: space-between;
    grid-template-columns: calc(50% - 50px) calc(50% - 50px);
    gap: 100px;
}

.figure_box_mi {
    width: 100%;
}

.figure_top_mi {
    width: 100%;
    position: relative;
}

.figure_top_mi img {
    width: 100%;
}

.figure_bottom_mi h4 {
    margin: 10px auto 0;
    color: #3d99a3;
    font-size: 24px;
    font-family: "NotoSerifJP-VariableFont", serif;
    font-weight: normal;
}

.figure_bottom_mi .mih4{
    border-bottom: 1px solid #3d99a3;
    padding: 10px 0;
    margin-top: 0;
    margin-bottom: 10px;
}

.lower_middle_flex_qa{
    margin-top: 100px;
    padding-top: 100px;
    border-top: 1px solid #eee;
}

@media screen and (max-width:1000px) {
    .figure_area_mi {
        grid-template-columns: calc(50% - 20px) calc(50% - 20px);
        gap: 40px;
    }
}

@media screen and (max-width:560px) {
    .figure_area_mi {
        grid-template-columns: auto;
    }
    
    .lower_top_txt_mi{
        padding: 0;
    }
    .lower_top_title_mi span{
        font-size: 20px!important;
        padding: 0 0 30px;
        text-align: center;
    }
    .lower_top_title_mi h2{
        font-size: 18px;
        padding: 0;
    }
    .lower_middle_precautions_mi{
        margin-top: 10px;
    }
    .figure_bottom_mi h4{
        font-size: 20px;
    }
}




/*-------------------------消化管の健康を乱す要因は様々です。------------------------*/

.inspection_img_002 {
    max-width: 500px;
    margin: 0 auto 30px;
}

.inspection_img_002 img {
    width: 100%;
}

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

@media screen and (max-width:560px){
.inspection_area_box{
    grid-template-columns: 100%;
    gap: 10px;
}
}
/*-------------------------診療のご案内------------------------*/

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

.photo img {
    width: 100%;
}

.navi-button .photo .bg-hoken {
    background-color: #d48089;
}

@media screen and (max-width:767px) {
    .navi-wrap {
        display: grid;
        gap: 50px;
        grid-template-columns: 100%;
    }
}

/*-------------------------当院の特長------------------------*/

.features-cont {
    display: grid;
    gap: 30px;
    grid-template-columns: calc(50% - 15px) calc(50% - 15px);
    border-top: solid 1px #666;
    padding-top: 20px;
    padding-bottom: 20px;
}

.features-photo {
    text-align: center;
}

.features-photo img {
    width: 100%;
}

.features-cont h3 span {
    display: block;
    float: left;
    color: #62bec9;
}

.features-cont h3 span:first-child {
    margin-right: 12px;
    font-size: 2.6rem;
    font-weight: bold;
}

.features-cont h3 span.block-title {
    width: auto;
    line-height: 1.3;
    font-size: 2.2rem;
    color: #62bec9;
}

.features-sent {
    padding-top: 20px;
    clear: left;
}

.features-cont h3 span.block-title {
    font-size: 1.4rem;
}

@media screen and (max-width:767px) {
    .features-cont {
        display: grid;
        gap: 30px;
        grid-template-columns: 100%;
    }

    .features-cont h3 span.block-title {
        font-size: 1.1rem;
    }

    .features-cont h3 span:first-child {
        font-size: 2.0rem;
    }
}



@media screen and (min-width: 769px) and (max-width: 1500px) {
    .lower_top_flex_r {
        display: grid;
        gap: 50px;
        grid-template-columns: calc(65% - 25px) calc(35% - 25px);
    }
}

/*-------------------------院長挨拶------------------------*/


.greetings-cont {
    display: grid;
    gap: 30px;
    grid-template-columns: calc(15% - 20px) calc(20% - 20px) calc(65% - 20px);
}

.sign {
    text-align: right;
}

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

.qualification h4 {
    margin-top: 20px;
    color: #62bec9;
    text-align: left;
    margin-bottom: 20px;
}

.ronbun h4 {
    margin-top: 20px;
    color: #62bec9;
    text-align: left;
    margin-bottom: 20px;
}


#director-photo {
    width: 100%;
}

.facilities-cont {
    margin-top: 50px;
}

#facilities-photo {
    margin-right: -15px;
    width: auto;
}

#facilities-photo li {
    position: relative;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    float: left;
    padding: 0 15px 25px 0;
    width: 25%;
    margin-bottom: 50px;
}

#facilities-photo li img {
    width: 100%;
}

#innai-view-wrap {
    margin-top: 30px;
    text-align: center;
}

@media screen and (max-width:767px) {
    .greetings-cont {
        display: grid;
        gap: 30px;
        grid-template-columns: 100%;
    }

    #facilities-photo li img {
        width: 100%;
    }
}

@media (max-width: 767px) {
    ul#facilities-photo li:nth-child(odd) {
        padding-right: 10px;
        padding-left: 0;
    }
}

@media (max-width: 767px) {
    ul#facilities-photo li {
        float: left;
        padding: 0 10px 10px 0;
        width: 50%;
    }
}

@media (max-width: 767px) {
    div#innai-view-wrap > iframe {
        width: 100%;
    }
}

/*-------------------------エコー------------------------*/



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


よく見る胃腸の病気


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

.lower_top_flex02 {
    justify-content: flex-start;
    gap: 50px;
}

.page_serect_btn_top {
    margin-bottom: 2em;
}

.page-list {
    border: 1px solid #62bec9;
    padding: 3% 5%;
}

.page-list li {
    display: inline-block;
    width: 50%;
    margin: 0 0 0.5em 0;
    padding-left: 36px;
    padding-right: 0.8em;
    position: relative;
}

.page-list li:before {
    content: '';
    position: absolute;
    top: 1px;
    left: 0;
    margin: auto;
    width: 26px;
    height: 26px;
    border: 0;
    background: linear-gradient(-45deg, #62bec9, #3d99a3);
    border-radius: 50%;
}

.page-list li:after {
    content: '';
    position: absolute;
    top: 10px;
    left: 7px;
    margin: auto;
    width: 6px;
    height: 6px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(45deg);
    -o-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
}

.page-list li a {
    text-decoration: none;
    color: #636363;
}

.flex-disease-name-list {
    display: grid;
    gap: 40px;
    grid-template-columns: calc(50% - 20px) calc(50% - 20px);
    margin: 20px auto 50px;
}


.disease-name-list-box {
    background-color: #e6f4f1;
    padding: 5%;
}


.under h4 {
    font-size: 20px;
    color: #3d99a3;
    line-height: 1.3;
    letter-spacing: 0.1em;
    position: relative;
    font-weight: normal;
    padding-bottom: 0.5em;
    margin: 0.2em auto 1em;
    box-sizing: border-box;
    font-family: "NotoSerifJP-VariableFont", serif;
}

.under h4::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    margin: auto;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, #62bec9, #3d99a3);
}

@media screen and (max-width:768px) {
    .page-list li {
        width: 100%;
    }

    .flex-disease-name-list {
        grid-template-columns: auto;
    }
}




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

初診の方へ

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

.first-visit-box {
    display: flex;
    gap: 30px;
    grid-template-columns: calc(33% - 10px) calc(33% - 10px) calc(33% - 10px);
}

.first-visit-box > div {
    margin-bottom: 30px;
}

.upper {
    display: grid;
    gap: 30px;
    grid-template-columns: calc(50% - 15px) calc(50% - 15px);
}

.col_box {}

.photo img {
    width: 100%;
}

.first-visit-intro {
    padding-top: 30px;
    padding-bottom: 30px;
    border-top: solid 1px #666;
    border-bottom: solid 1px #666;
}

.first-visit-intro h3 {
    margin: 0 0 10px 0;
    font-size: 1.6rem;
    color: #3d99a3;
}



.first-visit-necessities .necessities {
    position: relative;
    min-height: 80px;
    background-color: #62bec9;
}

.icon img {
    width: 100%;
}


.first-visit-necessities .necessities p {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    line-height: 1.3;
    text-align: center;
    font-size: 1.4rem;
    color: #fff;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}


@media screen and (max-width:767px) {
    .first-visit-box {
        display: flex;
        flex-wrap: wrap;
        gap: 30px;
        grid-template-columns: 100%;
    }

    .upper {
        display: grid;
        gap: 30px;
        grid-template-columns: 100%;
    }
}

/*-------------------------SAS----------------------------*/

.lower_box_medical_grid{
    margin-top: 20px;
    display: grid;
    grid-template-columns: calc(50% - 20px) calc(50% - 20px);
    gap: 40px;
}
.lower_box_medical_grid_two{
    border: 1px solid #62bec9;
    padding: 40px 60px;
}
.lower_box_medical_grid_two h3{
    width: 100%;
    position: relative;
    color: #3d99a3;
    text-align: center;
    font-family: "NotoSerifJP-VariableFont", serif;
    font-weight: normal;
    font-size: 24px;
}

.lower_box_medical_grid_two span{
    display: block;
    width: 100%;
    position: relative;
    color: #3d99a3;
    text-align: center;
    font-family: "NotoSerifJP-VariableFont", serif;
    font-weight: normal;
    font-size: 16px;
    margin-bottom: 20px;
}

.lower_box_medical_grid_two p{

}


.lower_box_medical_grid_one{
    border-bottom: 1px solid #62bec9;
    padding: 40px 0px;
}
.lower_box_medical_grid_one h3{
    width: 100%;
    position: relative;
    color: #3d99a3;
    font-family: "NotoSerifJP-VariableFont", serif;
    font-weight: normal;
    font-size: 24px;
    margin-bottom: 20px;
}

.lower_box_medical_grid_one span{
    margin-left: 10px;
    width: 100%;
    position: relative;
    color: #3d99a3;
    font-family: "NotoSerifJP-VariableFont", serif;
    font-weight: normal;
    font-size: 16px;
    margin-bottom: 20px;
}

.lower_box_medical_grid_one p{

}


@media screen and (max-width:900px){
    .lower_box_medical_grid_two{
        padding: 40px 20px;
    }
}

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


/*--------------------------------------ピロリ菌の除去---------------------------------------*/
.lower_top_flex_p{
    margin-bottom:50px;
}

.pylori_c_doctor{
    color: #3d99a3;
    background-color: #e6f4f1;
    padding: 30px 20px;
    text-align: center;
    margin-top: 50px;
}

.ulli{
    color:#62bec9;
    display: inline !important;
}

@media screen and (max-width:900px){
    .pylori_c_doctor{
        text-align: left;
    }
}

/*---------------------------------------腹部エコー----------------------------------------*/

.flowchart_echo{
    padding-bottom: 0;
    margin-bottom: 0;
}

.lower_top_flex_echo{
    margin-top: 100px;
    margin-bottom: 100px;
}

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

/*---------------------------------------自由診療メニュー---------------------------------------*/

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

.image-hover {
    position: relative;
    display: inline-block;
    overflow: hidden;
    cursor: pointer;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.image-hover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-hover .content {
    position: absolute;
    left: 0px;
    bottom: 0px;
    color: #fff;
    min-height: 120px;
    z-index: 0;
    transition: opacity 0.3s ease;
    display: block;
    background-color: rgba(61, 153, 163, 0.6);
    padding: 10px 20px;
    width: 100%;
}

.image-hover .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(61, 153, 163, 0.6);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

/* ホバー時の表示切り替え */
.image-hover:hover .content {
    opacity: 0;
}

.image-hover:hover .overlay {
    opacity: 1;
}


.image-hover .content h3 {
    font-size: 24px;
    font-weight: normal;
    margin-bottom: 10px;
}
@media screen and (min-width:1060px) and (max-width:1215px){
    .image-hover .content h3 {
        font-size: 20px;
    }
}
@media screen and (max-width:1059px){
    .image-hover .content h3 {
        font-size: 18px;
    }
    .image-hover .content p {
        font-size: 14px;
    }
    .fm_treatment_flex {
        display: grid;
        grid-template-columns: calc(33% - 3px) calc(33% - 3px) calc(33% - 3px);
        gap: 10px;
    }
}

@media screen and (max-width:960px){
    .image-hover .content h3 {
        font-size: 18px;
    }
    .image-hover .content p {
        font-size: 14px;
    }
    .fm_treatment_flex {
        display: grid;
        grid-template-columns: calc(50% - 5px) calc(50% - 5px);
        gap: 10px;
    }
}
@media screen and (max-width:649px){
    .image-hover .content h3 {
        font-size: 18px;
    }
    .image-hover .content p {
        font-size: 14px;
    }
    .fm_treatment_flex {
        display: grid;
        grid-template-columns: 100%;
        gap: 10px;
    }
}