@charset "UTF-8";

body {
    -webkit-text-size-adjust: 100%;
    -webkit-appearance: none;
}

.notification {
    letter-spacing: 0.1rem;
    line-height: 1.5rem;
}

.notification a {
    border-bottom: solid;
    border-color: #aacd06;
    border-width: 3px;
    text-decoration: none;
}

.topimg {
    margin-bottom: 20px;
    z-index: 10;
}

.bnr {
    max-width: 600px;
    margin: 0 auto;
}

.banar-img {
    box-shadow: 0 0 20px rgb(201, 201, 201);
    text-align: center;
}

.banar-img:hover {
    opacity: 0.7;
}

#content a .naika .naika_txt {
    display: block;
}

#content a:hover .naika .naika_txt {
    display: block;
    color: #aacd06;
    text-decoration: underline;
}

#content a .geka .geka_txt {
    display: block;
}

#content a:hover .geka .geka_txt {
    display: block;
    color: #aacd06;
    text-decoration: underline;
}

#content a .hifuka .hifuka_txt {
    display: block;
}

#content a:hover .hifuka .hifuka_txt {
    display: block;
    color: #aacd06;
    text-decoration: underline;
}

#content a .nou .nou_txt {
    display: block;
}

#content a:hover .nou .nou_txt {
    display: block;
    color: #aacd06;
    text-decoration: underline;
}

#content a .ichou .ichou_txt {
    display: block;
}

#content a:hover .ichou .ichou_txt {
    display: block;
    color: #aacd06;
    text-decoration: underline;
}

#content a .dog .dog_txt {
    display: block;
}

#content a:hover .dog .dog_txt {
    display: block;
    color: #aacd06;
    text-decoration: underline;
}

#content .ttl a {
    text-decoration: none;
    color: #333333;
}


/* トップページ カード */

.subject-card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px 2%;
    justify-content: center;
    margin: 50px auto;
}

.subject-card {
    border: #aacd06 3px solid;
}

.subject-card2 {
    border: rgb(252, 200, 0) 3px solid;
}

.subject-card,
.subject-card2 {
    display: flex;
    width: 480px;
    border-radius: 10px;
    box-sizing: border-box;
    height: 126px;
    text-decoration: none !important;
}

.subject-card:hover {
    color: #333333;
    background: #daf07b7c;
}

.subject-card2:hover {
    color: #333333;
    background: #ffd87b88;
}

.subject-card .ttl,
.subject-card2 .ttl {
    width: 200px;
    height: 30px;
    margin: auto;
    margin-left: 50px;
    font-size: 24px;
    border-bottom: solid 3.5px rgb(254, 241, 0);
}

.subject-card p,
.subject-card2 p {
    width: 65%;
    padding: 15px 50px 15px 30px;
}

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

    .subject-card .ttl,
    .subject-card2 .ttl {
        width: 125px !important;
        height: 40px;
        margin: auto;
        margin-left: 5px;
        font-size: 19px !important;
    }

    .subject-card p,
    .subject-card2 p {
        width: 65%;
        padding: 15px !important;
    }
}

/* 大腸カメラ　選ばれる理由 */
#reason {
    margin-bottom: 40px;
}

.reason .reason__img>img {
    max-width: 100%;
    height: auto;
    width: 100%;
}

.reason__list {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    background-color: #aacd06;
}

.reason__item {
    width: 25%;
    padding: 20px 10px;
    box-sizing: border-box;
    border: 2px solid #ffffff;
}

.reason__item .ttl {
    font-size: 18px;
    color: #fff84e;
    text-align: center;
    min-height: 70px;
}
.reason__item .ttl>span{
    font-weight: bold;
    font-size: 24px;
}

.reason__item .txt {
    font-size: 16px;
    color: #333;
    line-height: 1.5;
}

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

@media screen and (max-width:979px) {
    .reason__item {
        width: 50%;
    }
}
@media screen and (max-width:500px) {
    .reason__item {
        width: 100%;
    }
    .reason__item .ttl {
        margin-bottom: 10px;
    }
    
}



/* .riyu {
    width: 100%;
    background-color: #aacd06;
    text-align: center;
    display: block;
}

.riyuBox {
    width: 980px;
    margin: 0 auto;
    background-color: #aacd06;
}

.reason__item {
    float: left;
    background: url(../img/img_reason01.jpg) no-repeat;
    width: 246px;
    height: 342px;
    position: relative;
}

.reason__item .ttl {
    position: absolute;
    top: 71px;
    left: 47px;
    color: #fff84e;
    font-size: 16px;
}

.reason__item .txt {
    position: absolute;
    top: 145px;
    left: 35px;
    color: #fff;
    text-align: left;
    width: 180px;
}

.reason__item {
    float: left;
    background: url(../img/img_reason02.jpg) no-repeat;
    width: 245px;
    height: 342px;
    position: relative;
}

.reason__item .ttl {
    position: absolute;
    top: 71px;
    left: 87px;
    color: #fff84e;
    font-size: 16px;
}

.reason__item .txt {
    position: absolute;
    top: 145px;
    left: 35px;
    color: #fff;
    text-align: left;
    width: 180px;
}

.reason__item {
    float: left;
    background: url(../img/img_reason03.jpg) no-repeat;
    width: 246px;
    height: 342px;
    position: relative;
}

.riyu03 .ttl {
    position: absolute;
    top: 71px;
    left: 78px;
    color: #fff84e;
    font-size: 16px;
}

.riyu03 .txt {
    position: absolute;
    top: 145px;
    left: 35px;
    color: #fff;
    text-align: left;
    width: 180px;
}

.riyu04 {
    float: left;
    background: url(../img/img_reason04.jpg) no-repeat;
    width: 243px;
    height: 342px;
    position: relative;
}

.riyu04 .ttl {
    position: absolute;
    top: 71px;
    left: 64px;
    color: #fff84e;
    font-size: 16px;
}

.riyu04 .txt {
    position: absolute;
    top: 145px;
    left: 35px;
    color: #fff;
    text-align: left;
    width: 180px;
} */
/* 大腸カメラ　選ばれる理由 ここまで*/



#content3 {
    max-width: 980px;
    margin: 0 auto;
}

.timeBox {
    float: left;
    margin-bottom: 20px;
}

.time {
    border-radius: 10px;
    /* CSS3草案 */
    -webkit-border-radius: 10px;
    /* Safari,Google Chrome用 */
    -moz-border-radius: 10px;
    /* Firefox用 */
    padding: 20px;
    background-color: #f6ab00;
    width: 940px;
}

.time table {
    display: block;
    border-top: 1px solid #FFF;
    border-left: 1px solid #FFF;
    width: 100%;
}

.time td {
    padding: 15px;
    color: #FFF;
    border-right: 1px solid #FFF;
    border-bottom: 1px solid #FFF;
    width: 74px;
}

.top-scrol {
    display: block;
    margin-top: 15px;
    margin-bottom: 15px;
    text-align: center;
}
.access__title{
    text-align: center;
    margin-bottom: 10px;
}
.access {
    float: none;
    display: flex;
    justify-content: space-around;
    margin-bottom: 100px;
}

#map {
    float: none;
    display: inline-block;
    margin-bottom: 100px;
}

.content4 {
    margin-bottom: 10%;
}

.content4 h2 {
    font-size: 200%;
    margin-bottom: 20px;
}

.content4 p {
    font-size: 120%;
}

.collaboration {
    padding: 2%;
    display: flex;
    flex-wrap: wrap;
}

.collaboration li {
    font: 120%;
    margin: 2%;
    border-radius: 10px;
    box-shadow: rgb(201 201 201) 0px 0px 5px;
    padding: 1.5% 2%;
}

@media screen and (max-width: 640px) {
    .access {
        text-align: center;
        display: block;
    }

    .access p {
        text-align: left;
        display: inline-block;
        margin: auto;
    }

    #map {
        text-align: center;
        display: block;
        margin-left: auto;
        margin-right: auto;
        margin-top: 50px;
        margin-bottom: 100px;
    }
}

@media screen and (max-width: 450px) {
    .access {
        text-align: center;
        display: block;
        margin-left: 10px;
    }

    #map {
        text-align: center;
        display: block;
        margin-left: auto;
        margin-right: auto;
        margin-top: 50px;
        margin-bottom: 100px;
    }
}

.news {
    margin-left: auto;
    margin-right: auto;
    margin-top: 75px;
    margin-bottom: 75px;
    width: 600px;
    float: none;
    display: block;
}

.news dl {
    margin-top: -15px;
}

.news dt {
    float: left;
    clear: both;
    width: 80px;
    padding: 10px;
}

.news dd {
    width: 490px;
    padding: 10px 10px 10px 100px;
    border-bottom: 1px dotted #aacd06;
}

.timeBox .ttl {
    color: #fff;
    font-size: 24px;
    margin-bottom: 15px;
}

.white {
    color: #FFF;
}

.red {
    color: #FF0004;
}


/*トピックス*/

.topicks {
    position: relative;
    background-color: #fffcf1;
    font-size: 1.5em;
    text-align: center;
    border: 3px solid #abcd07;
    padding: 20px;
    border-radius: 4px;
    /* CSS3草案 */
    -webkit-border-radius: 4px;
    /* Safari,Google Chrome用 */
    -moz-border-radius: 4px;
    /* Firefox用 */
}

.topicks.link {
    display: block;
    position: absolute;
}

@media screen and (max-width: 640px) {
    .hifuka {
        background: #fff;
        border: solid 3px #DBF07B;
        border-radius: 5px;
        width: 100%;
        height: auto;
        position: relative;
        float: none;
        margin-bottom: 20px;
        padding: 15px;
    }

    .hifuka .ttl {
        position: relative;
        top: 0;
        left: 0;
        color: #aacd06;
        font-size: 20px;
        border-bottom: solid 2px #FFF100;
        margin-bottom: 15px;
        padding-bottom: 10px;
    }

    .hifuka_txt {
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
    }

    .hifuka_txt2 {
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
    }

    .ichou {
        background: #fff;
        border: solid 3px #DBF07B;
        border-radius: 5px;
        width: 100%;
        height: auto;
        position: relative;
        float: none;
        margin-bottom: 20px;
        padding: 15px;
    }

    .ichou .ttl {
        position: relative;
        top: 0;
        left: 0;
        color: #aacd06;
        font-size: 20px;
        border-bottom: solid 2px #FFF100;
        margin-bottom: 15px;
        padding-bottom: 10px;
    }

    .ichou_txt {
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
    }

    .ichou_txt2 {
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
    }

    .nou {
        background: #fff;
        border: solid 3px #DBF07B;
        border-radius: 5px;
        width: 100%;
        height: auto;
        position: relative;
        float: none;
        margin-bottom: 20px;
        padding: 15px;
    }

    .nou .ttl {
        position: relative;
        top: 0;
        left: 0;
        color: #aacd06;
        font-size: 20px;
        border-bottom: solid 2px #FFF100;
        margin-bottom: 15px;
        padding-bottom: 10px;
    }

    .nou_txt {
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
    }

    .nou_txt2 {
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
    }

    .nou_txt3 {
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
    }

    .nasi {
        width: 100%;
        height: auto;
        position: relative;
        float: none;
        margin-bottom: 20px;
    }

    .dog,
    .dog2,
    .camera,
    .life {
        background: #fff;
        border: solid 3px #FFD068;
        border-radius: 5px;
        width: 100%;
        height: auto;
        position: relative;
        float: none;
        margin-bottom: 20px;
        padding: 15px;
    }

    .dog .ttl,
    .dog2 .ttl,
    .camera .ttl,
    .life .ttl {
        position: relative;
        top: 0;
        left: 0;
        font-size: 20px;
        border-bottom: solid 2px #FFF100;
        margin-bottom: 15px;
        padding-bottom: 10px;
    }

    .dog_txt,
    .dog2_txt2,
    .dog_txt2,
    .camera_txt,
    .life_txt {
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
    }

    .riyuBox {
        width: 100%;
        margin: 0 auto;
        background-color: #aacd06;
    }

    .riyuBox ul {
        display: -webkit-flex;
        display: flex;
        -webkit-flex-wrap: wrap;
        flex-wrap: wrap;
    }

    .riyu01 {
        float: none;
        background: url(../img/img_reason01.jpg) no-repeat center;
        background-size: contain;
        width: 50%;
        height: auto;
        position: relative;
        padding: 10px 10px 20px;
        border-bottom: solid 1px #fff;
    }

    .riyu01 .ttl,
    .riyu02 .ttl,
    .riyu03 .ttl,
    .riyu04 .ttl {
        position: relative;
        top: 0;
        left: 0;
        font-size: 4vw !important;
        border: none;
        padding: 0;
        margin: 0;
        height: 8em;
    }

    .riyu01 .txt,
    .riyu02 .txt,
    .riyu03 .txt,
    .riyu04 .txt {
        position: relative;
        top: 0;
        left: 0;
        width: auto;
        font-size: 3vw;
    }

    .riyu02 {
        float: none;
        background: url(../img/img_reason02.jpg) no-repeat center;
        background-size: contain;
        width: 50%;
        height: auto;
        padding: 10px 10px 20px;
        border-bottom: solid 1px #fff;
        position: relative;
    }

    .riyu03 {
        float: none;
        background: url(../img/img_reason03.jpg) no-repeat center;
        background-size: contain;
        width: 50%;
        height: auto;
        padding: 10px 10px 20px;
        position: relative;
    }

    .riyu04 {
        float: none;
        background: url(../img/img_reason04.jpg) no-repeat center;
        background-size: contain;
        width: 50%;
        height: auto;
        padding: 10px 10px 20px;
        position: relative;
    }

    #content3 {
        width: 95%;
        margin: 0 auto;
        padding-top: 50px;
        margin-top: -100px;
    }

    .timeBox {
        float: none;
        margin-bottom: 20px;
    }

    .time {
        padding: 10px;
        width: 100%;
    }

    .time table {
        font-size: 3vw;
    }

    .time td {
        padding: 2vw;
        color: #FFF;
        border-right: 1px solid #FFF;
        border-bottom: 1px solid #FFF;
        width: auto;
    }

    .news {
        width: 100%;
        float: none;
    }

    .news dd {
        width: 100%;
        padding: 10px 10px 10px 100px;
        border-bottom: 1px dotted #aacd06;
    }

    .timeBox .ttl {
        color: #fff;
        font-size: 24px;
        margin-bottom: 15px;
    }

    /*トピックス*/
    .topicks {
        position: relative;
        background-color: #fffcf1;
        font-size: 1.5em;
        text-align: center;
        border: 3px solid #abcd07;
        padding: 20px;
        line-height: 2rem;
        border-radius: 4px;
        /* CSS3草案 */
        -webkit-border-radius: 4px;
        /* Safari,Google Chrome用 */
        -moz-border-radius: 4px;
        /* Firefox用 */
    }

    .topicks.link {
        display: block;
        position: absolute;
    }

    .bx-wrapper {
        box-shadow: none !important;
        border: none !important;
    }
}

.tab-title {
    margin-top: 125px;
    margin-bottom: -25px;
    text-align: center;
    font-size: 50px;
}

.tab_wrap {
    width: 100%;
    margin: 80px auto;
    text-align: center;
}

input[type="radio"] {
    display: none;
}

.tab_area {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 35px;
}

.tab_label {
    display: block;
    width: 175px;
    padding: 15px 0;
    text-align: center;
    color: black;
    cursor: pointer;
    transition: ease 0.2s opacity;
    border-radius: 10px;
    font-size: 15px !important;
    color: #333333;
    border: 1px solid #f5ac00;
}

.tab_a {
    text-decoration: none !important;
}

.panel_area {
    margin-top: 15px;
    background: white;
    border-radius: 25px;
}

.tab_panel {
    width: 100%;
    padding: 200px 0;
    margin-top: -180px;
    display: none;
}

.tab_panel p {
    font-size: 16px !important;
    letter-spacing: 1px;
    text-align: center;
}

.tab_label:hover,
p.backtotab a:hover {
    background: #f5ac00a1;
    opacity: 1;
    cursor: pointer !important;
    color: #333333;
}

#panel1 {
    display: block;
    margin-top: -50px;
}

#panel2,
#panel3,
#panel4,
#panel5,
#panel6,
#panel7 {
    display: block;
}

#panel8 {
    display: block;
    margin-bottom: -100px;
}


/* 表のcss */

.time-table {
    margin: -50px auto;
    width: 100%;
}

div.time-table body {
    line-height: 1.25;
}

div.time-table table {
    border-collapse: collapse;
    margin: 35px auto;
    padding: 0;
    font-size: 1.4rem;
    width: 100%;
}

div.time-table tr {
    padding: .35em;
    border-bottom: 2px solid white;
}

div.time-table th {
    padding: 5px;
    border-right: 2px solid white;
    text-align: center;
}

div.time-table th.sun {
    padding: 1px 1px;
}

div.time-table td {
    padding: 5px;
    border-right: 2px solid white;
    text-align: center;
}

div.time-table th {
    font-size: .85em;
}

div.time-table table thead tr {
    background-color: #f5aa00;
    color: #333333;
}

div.time-table table tbody th {
    background: #f5aa00;
}

div.time-table h3 {
    font-size: 30px;
    margin-bottom: 30px;
}

.open {
    text-align: center;
    font-weight: bold;
    font-size: 15px;
}

.close {
    text-align: center;
    color: gray;
    font-weight: bold;
}

.open,
.close {
    background-color: #fef6e5;
}

.non {
    background: #f5aa00;
}

p.attention {
    text-align: center;
    margin: 30px 0 -10px 20px;
    font-size: 16px;
}

p.backtotab a {
    display: block;
    width: 180px;
    text-align: center;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid #f5ac00;
    text-decoration: none;
    margin: 0 0 0 auto;
    font-size: 14px !important;
}

.th-pc {
    display: block;
}

.sp-br,
.th-sp {
    display: none;
}

@media screen and (max-width: 942px) {
    .tab-title {
        font-size: 40px;
    }

    input[type="radio"] {
        display: none;
    }

    .tab_label {
        width: 165px;
    }

    .tab_area {
        gap: 15px;
    }

    #panel1 {
        padding-top: 150px;
        margin-top: 0px;
    }

    .tab_panel {
        width: 100%;
        padding: 200px 0;
        margin-top: -180px;
        display: none;
    }

    .tab_panel p {
        font-size: 9px;
        letter-spacing: 1px;
        text-align: center;
    }

    #tab8~.panel_area #panel8 {
        display: block;
        margin-bottom: -120px;
    }

    /* 表のcss */
    .time-table {
        margin: -50px auto;
    }

    div.time-table body {
        line-height: 1.25;
    }

    div.time-table table {
        border-collapse: collapse;
        margin: 0 auto;
        padding: 0;
        font-size: 16px;
    }

    div.time-table tr {
        padding: .35em;
        border-bottom: 2px solid white;
    }

    div.time-table th {
        padding: 4px;
        font-size: 15px;
    }

    div.time-table td {
        padding: 4px;
    }

    div.time-table table thead tr {
        background-color: #f5aa00;
        color: #333333;
    }

    div.time-table table tbody th {
        font-size: 15px;
    }

    div.time-table h3 {
        font-size: 25px;
        margin-bottom: 20px;
        letter-spacing: 0.1rem;
    }

    .open {
        text-align: center;
        font-size: 90%;
        white-space: nowrap;
    }

    .close {
        text-align: center;
        color: gray;
        font-weight: bold;
    }

    .open,
    .close {
        background-color: #fef6e5;
    }

    .non {
        background: #f5aa00;
    }

    p.attention {
        width: 90%;
        margin: 30px auto -10px auto;
        text-align: left;
    }

    .th-pc {
        display: none;
    }

    .sp-br,
    .th-sp {
        display: block;
    }
}


/* トップページ 各科初診の方について・未成年者の受診について */

.caution {
    background: #fff;
    margin-bottom: 50px;
    padding: 15px;
    border: #aacd06 3px solid;
}

.caution h3 {
    font-size: 1.2em;
    border-bottom: solid 3.5px rgb(254, 241, 0);
    padding-bottom: 5px;
    display: inline;
}

.caution p {
    font-size: 1.2em;
    margin-top: 15px;
}

.caution span {
    color: #db4218;
}


/* トップのコラムのCSS */

.tcolumn h3 {
    text-align: center;
    font-weight: bold;
    font-size: 30px;
    margin-bottom: 30px;
}

.tcolumn .box {
    border: 1px solid #aacd06;
    width: 92%;
    margin: 0 auto;
    max-width: 800px;
    min-height: 160px;
    margin-bottom: 30px;
}

.tcolumn .box .postbox {
    padding: 20px 20px 20px 10px;
    width: 77%;
    box-sizing: border-box;
}

.tcolumn .box .post .postbox h2 {
    font-weight: 500;
    padding-bottom: 5px;
    font-size: 30px;
}

.flex-box {
    display: flex;
}

.column_icon {
    padding: 20px 10px 20px 20px;
    width: 23%;
    box-sizing: border-box;
}

@media screen and (max-width: 750px) {
    .tcolumn .box .post .postbox h2 {
        font-size: 1.4em;
    }

    .column_icon {
        padding: 10px 5px 10px 10px;
        width: 30%;
    }

    .tcolumn .box .postbox {
        padding: 10px 10px 10px 5px;
        width: 70%;
        box-sizing: border-box;
    }
}

.noticeArea{
    width: 95%;
    max-width: 600px;
    margin: -20px auto 10px;
    padding: 20px 20px 50px;
    font-size: 18px;
    color: #fff;
    background-image: url(/img/board_top.png), url(/img/board.png);
    background-size: contain, cover;
    background-position: top center, bottom center;
    background-repeat: no-repeat, no-repeat;
    line-height: 1.4;
}
.noticeArea__description{
    display: none;
}
.noticeArea__description .--red{
    color: #ff9898;
}
.noticeArea__additional{
    text-align: right;
    margin-top: 10px;
}
.noticeArea__additional a{
    color: #fff;
}

.--maxW80{
    max-width: 80px;
    @media screen and (min-width:800px) {
        max-width: 40px;        
    }
}