@charset "utf-8";


/*--------------よく見る胃腸の病気・内視鏡でわかる疾患ページ--------------*/

/*
.lower_top_flex {
    display: flex;
    justify-content: space-between;
    margin-bottom: 150px;
}

.lower_top_img {
    width: 40%;
}

.lower_top_img img {
    width: 100%;
}

.lower_top_txt {
    width: 55%;
    padding: 0 0 0 0px;
}

.lower_top_txt p {
    padding: 0 12px;
}

.lower_top_title {
    margin-top: 0;
}

.lower_top_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 12px;
}

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


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

@media screen and (max-width:767px) {
    .lower_top_flex {
        flex-direction: column-reverse;
        margin-bottom: 50px;
    }

    .lower_top_title h2 {
        text-align: center;
        font-size: 20px;
    }

    .lower_top_title h2:before {
        left: 50%;
    }

    .lower_top_txt {
        width: 100%;
        padding: 0 0 20px 0px;
    }

    .lower_top_txt p {
        padding: 0;
    }

    .lower_top_img {
        width: 100%;
        margin: 0 auto 30px;
    }
}*/

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

内視鏡検査ページ

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

.headline_title_endoscope{
    margin-top: 0;
}
.lower_area_flex {
    display: flex;
    flex-wrap: wrap;
}

.endoscope-index-cont {
    border-bottom: 1px solid #d1d1d1;
    padding: 50px 20px;
}

.endoscope-index-cont:last-child {
    border-bottom: 0px solid #d1d1d1 !important;
}

.endoscope-index-border {
    border: 1px solid #62bec9;
    padding: 10px;
    max-width: 700px;
    width: 100%;
    margin: 30px auto 100px;
}


.endoscope-md h3 {
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: normal;
    color: #3d99a3;
    font-family: "NotoSerifJP-VariableFont", serif;
}


.endoscope-index-cont-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}


.endscope_left {
    width: 50%;
}

.endscope_right {
    width: 45%;
}

.endscope_right img {
    width: 100%;
}

.endoscope-txt span{
    font-weight: bold;
}


@media screen and (max-width:1079px){
    .endscope_left{
        width: 100%;
    }
    .endscope_right{
        margin: 0 auto;
    }
}
@media screen and (max-width:768px){
    .endscope_right{
        width: 100%;
        max-width: 500px;
    }
    .endoscope-index-border{
        margin: 30px auto 20px;
    }
}

/*----------------胃カメラ・大腸カメラ検査ボタン----------------*/

.flex_endoscope_container {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.endoscope_box_a01 {
    width: 50%;
}

.endoscope_box_a01 a {
    display: flex;
    align-items: center;
    text-align: left;
    padding: 20px;
    background-color: #62bec9;
    text-decoration: none;
    border: 2px solid #62bec9;
    color: #fff;
    transition: 0.3s;
}

.endoscope_box_a01 img {
    max-width: 120px;
    margin-right: 30px;
}

.endoscope_box_a01 p {
    margin-top: 0;
    font-weight: normal;
    width: 100%;
}

.endoscope_box_a01 a:hover {
    border: 2px solid #62bec9;
    background-color: #3d99a3;
    color: #fff;
}



.endoscope_box_a02 {
    width: 50%;
}

.endoscope_box_a02 a {
    display: flex;
    align-items: center;
    text-align: left;
    padding: 20px;
    background-color: #5ab7aa;
    text-decoration: none;
    border: 2px solid #5ab7aa;
    color: #fff;
    transition: 0.3s;
}

.endoscope_box_a02 img {
    max-width: 120px;
    margin-right: 30px;
}

.endoscope_box_a02 p {
    margin-top: 0;
    font-weight: normal;
    width: 100%;
}

.endoscope_box_a02 a:hover {
    border: 2px solid #62bec9;
    background-color: #3d99a3;
    color: #fff;
}

@media screen and (max-width:768px){
    .flex_endoscope_container {
        flex-wrap: wrap;
    }
    .endoscope_box_a01{
        width: 100%;
    }
    .endoscope_box_a02 {
        width: 100%;
    }
}


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

    .flex_endoscope_container {
        flex-wrap: wrap;
    }

    .endoscope-index-cont {
        padding: 50px 0;
    }

    .endoscope_box_a01 img {
        max-width: 100px;
    }

    .endoscope_box_a01 {
        width: 100%;
    }

    .endoscope_box_a02 img {
        max-width: 100px;
    }

    .endoscope_box_a02 {
        width: 100%;
    }

    .syoukaki-block {
        display: block;
    }

    .block-hdr {
        width: 50%;
        margin: 0 auto;
    }

    .syoukaki-navibtn {
        width: 100%;
        padding: 25px 0 0;
    }

    .lower_middle_precautions02 {
        margin-top: 20px !important;
    }

    .endscope_left {
        width: 100%;
    }

    .endscope_right {
        width: 100%;
    }

    .endoscope-index-border {
        margin: 30px auto 0px;
    }
}



/*-----------胃カメラ検査・大腸カメラ検査ページ-----------*/
.endscope-info {
    margin: 25px 0 25px 0;
}

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

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

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

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

.endscope-info .img-responsive {
    width: 100%;
    max-width: 150px;
}

@media screen and (max-width:767px) {
    
    /*-----------------胃カメラ・大腸カメラ種類-----------------*/

    .endscope_table {
        width: 80%;
    }

    .endscope_table .thead {
        display: none;
    }

    .endscope_table th {
        display: block;
        width: 100%;
        position: relative;
    }

    .endscope_table tr,
    .endscope_table td {
        display: block;
        width: 100%;
        position: relative;
    }

    .endscope_table .hidden-xs {
        display: none;
    }

    .endscope_table .th {
        background-color: #e6f4f1;
        color: #62bec9;
        font-weight: bold;
    }

    .visible-xs {
        background-color: #62bec9;
        color: #fff;
        padding: 4px 10px;
        display: inline-block !important;
        margin-right: 10px;
    }

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

    .endscope-info tr td:last-child {
        border-bottom: solid 1px #eee;
    }
}


@media screen and (max-width:560px) {
    .endscope-info .img-responsive {
        max-width: 250px;
    }
}
/*----------------------より苦痛の少ない胃カメラを----------------------*/

.lower_top_flex_gastrocamera {
    display: flex;
    justify-content: space-between;
    margin-top: 100px;
    margin-bottom: 150px;
}

.lower_top_img_gastrocamera {
    width: 40%;
    height: 250px;
    overflow: hidden;
    position: relative;
}

.lower_top_img_gastrocamera img {
    width: 100%;
}

.lower_top_img_gastrocamera::before{
    content: '※クリックしますと、拡大で画像が表示されます。';
    display: block;
    color: #fff;
    position: absolute;
    top: 225px;
    left: 5px;
}

.lower_top_txt_gastrocamera {
    width: 55%;
    padding: 0 0 0 0px;
}

.lower_top_txt_gastrocamera p {
    padding: 0 12px;
}

.lower_top_title_gastrocamera {
    margin-top: 0;
}

.lower_top_title_gastrocamera 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 12px;
}

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


/* ポップアップ背景 */
.image-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* ポップアップ画像 */
.image-popup-overlay img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(255,255,255,0.2);
    cursor: pointer;
}





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

@media screen and (max-width:767px) {
    .lower_top_flex_gastrocamera {
        flex-direction: column-reverse;
        margin-bottom: 50px;
    }

    .lower_top_title_gastrocamera h2 {
        text-align: center;
        font-size: 20px;
    }

    .lower_top_title_gastrocamera h2:before {
        left: 50%;
    }

    .lower_top_txt_gastrocamera {
        width: 100%;
        padding: 0 0 20px 0px;
    }

    .lower_top_txt_gastrocamera p {
        padding: 0;
    }

    .lower_top_img_gastrocamera {
        width: 100%;
        margin: 0 auto 30px;
    }
}

@media screen and (min-width:370px) and (max-width:480px) {
    .lower_top_img_gastrocamera{height: 200px;
    overflow: hidden;
}
    .lower_top_img_gastrocamera::before{
        content: '※クリックしますと、画像が拡大で表示されます。';
        display: block;
        color: #fff;
        position: absolute;
        top: 170px;
        left: 5px;
        font-size: 12px;
    }
}
@media screen and (max-width:369px) {
    .lower_top_img_gastrocamera{
        height: 150px;
        overflow: hidden;
    }
    .lower_top_img_gastrocamera::before{
        content: '※クリックしますと、画像が拡大で表示されます。';
        display: block;
        color: #fff;
        position: absolute;
        top: 125px;
        left: 5px;
        font-size: 10px;
    }
}


/*----------------------安心して内視鏡検査を受けていただくために----------------------*/
.appeal{}
.appeal_subtext p{text-align:center;margin-bottom: 50px;}
.appeal_point_flex{
    display: grid;
    grid-template-columns: calc(33% - 5px) calc(33% - 5px) calc(33% - 5px);
    gap:15px;
}
.appeal_point{
    border: 1px solid #62bec9;
    padding: 30px 20px;
}
.appeal_point h3{
    font-size: 20px;
    color: #5ab4bd;
    padding: 0 0 20px;
    font-family: "NotoSerifJP-VariableFont", serif;
}

@media screen and (max-width:999px){
    .appeal_point_flex{
        display: grid;
        grid-template-columns: auto;
        gap:15px;
    }
}


/*----------------------胃カメラ・大腸カメラ検査の流れ----------------------*/
/*
.flow_box_area {
    background-color: #e6f4f1;
    padding: 100px 0;
    margin-top: 100px;
}

.flow_area_title {
    margin-top: 0px;
}

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

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

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

.flow_right h4 {
    font-size: 24px;
    color: #5ab4bd;
    padding: 0px 20px 20px 20px;
    font-family: "NotoSerifJP-VariableFont", serif;
}

.flow_right p {
    padding: 0px 20px 20px 20px;
}


@media screen and (max-width:767px) {
    .flow_box_area {
        padding: 50px 0 50px;
        margin-top: 50px;
    }
    
    */
    /*-----------------検査の流れ・スマホ用-----------------*/
/*
    #double-slider {
        width: 90%;
        margin: 0 auto;
        background: #FFF;
        padding: 20px;
    }

    .double-slider {
        width: 90%;
        margin: 0 auto;
        background: #FFF;
        padding: 20px;
    }
*/
    /*----------------- テキストスライダーの装飾 -----------------*/
    /*#text-slider {
        width: 100%;
        margin: 0 auto 0;
        padding: 15px 0 30px;
        text-align: center;
    }

    #text-slider02 {
        width: 100%;
        margin: 0 auto 0;
        padding: 15px 0 30px;
        text-align: center;
    }

    #text-slider03 {
        width: 100%;
        margin: 0 auto 0;
        padding: 15px 0 30px;
        text-align: center;
    }

    .inspection-main-slider {
        display: flex;
        align-items: center;
    }

    .inspection-main-slider li {
        width: 100%;
        margin: 0 auto;
    }

    .inspection-main-slider img {
        max-width: 100%;
        height: auto;
        display: block;
    }

    .inspection-main-slider02 {
        display: flex;
        align-items: center;
    }

    .inspection-main-slider02 li {
        width: 100%;
        margin: 0 auto;
    }

    .inspection-main-slider02 img {
        max-width: 100%;
        height: auto;
        display: block;
    }

    .inspection-main-slider03 {
        display: flex;
        align-items: center;
    }

    .inspection-main-slider03 li {
        width: 100%;
        margin: 0 auto;
    }

    .inspection-main-slider03 img {
        max-width: 100%;
        height: auto;
        display: block;
    }

    .custom-dots .slick-dots {
        margin: 20px 0 0 0;
    }

    .text_box h4 {
        text-align: left;
        font-size: 24px;
        color: #5ab4bd;
        padding: 0px 0px 20px 0px;
        font-family: "NotoSerifJP-VariableFont", serif;
    }

    .text_box p {
        text-align: left;
    }

    .text_box span {
        font-size: 12px;
    }
    
    
}
*/



/*----------------ご来院から検査まで-----------------*/
/*
.flowchart_flexarea .photo img{
    width: 100%;
}
*/


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

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

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

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

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

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


@media screen and (max-width:767px) {
    /*-----------------料金-----------------*/
    .endoscope-ryoukinhyo {
        width: 80%;
    }

    .endoscope-ryoukinhyo .thead {
        display: none;
    }

    .endoscope-ryoukinhyo tr {
        margin-top: 10px;
    }

    .endoscope-ryoukinhyo tr,
    .endoscope-ryoukinhyo td {
        display: block;
        width: 100%;
        position: relative;
    }

    .endoscope-ryoukinhyo .hidden-xs {
        display: none;
    }

    .endoscope-ryoukinhyo .th {
        background-color: #e6f4f1;
        color: #62bec9;
        font-weight: bold;
    }

    .visible-xs {
        background-color: #62bec9;
        color: #fff;
        padding: 4px 10px;
        display: inline-block !important;
        margin-right: 10px;
    }
}




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

大腸カメラ

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



/*----------------大腸ポリープ切除----------------*/

.lower_middle02_area {
    margin-top: 100px;
}


.lower_middle02_img {
    width: 40%;
}

.lower_middle02_img img {
    width: 100%;
}

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

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

.lower_middle02_text .lower_middle02_title {
    margin-top: 0px;
}

.lower_middle02_text .lower_middle02_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_middle02_text .lower_middle02_title h2:before {
    content: '';
    display: inline-block;
    position: absolute;
    bottom: -15px;
    left: 30px;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: #62bec9;
}

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


/*----------------大腸ポリープの注意事項----------------*/

.lower_middle02_precautions {
    margin-top: 50px;
    border: 1px solid #62bec9;
    padding: 40px 60px;
}

.lower_middle02_precautions h3 {
    text-align: center;
    font-size: 24px;
    color: #62bec9;
    font-family: "NotoSerifJP-VariableFont", serif;
    margin-bottom: 20px;
}


.lower_middle02_precautions ul {
    display: flex;
    flex-wrap: wrap;
}

.lower_middle02_precautions li {
    list-style: square;
    width: 45%;
    line-height: 2;
    margin-left: 20px;
}

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

    /*------------大腸ポリープ-------------*/
    .annotation {
        font-weight: normal;
        font-size: 12px;
        margin-top: 0 !important;
    }


    .lower_middle02_text .lower_middle02_title h2 {
        text-align: center;
    }

    .lower_middle02_text .lower_middle02_title h2:before {
        left: 50%;
    }

    .lower_middle02_flex {
        flex-wrap: wrap;
    }

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

    .lower_middle02_img {
        width: 100%;
    }

    .lower_middle02_precautions {
        padding: 40px 20px;
    }

}





/*--------------非表示・表示--------------*/
@media screen and (min-width:768px) {
    .pc_table_none {
        display: none;
    }

}
@media screen and (max-width:767px) {
    .sp_table_none {
        display: none!important;
    }
}
