@charset "utf-8";
/* FV */
.fv{
    padding: 0 3% 1rem;
    background-color: var(--bg-blue);
    position: relative;
}
.fv_img img{
    aspect-ratio: 1 / 1;
    border-radius: 2rem;
    object-fit: cover;
}
.fv_text,.fv_name{
    position: absolute;
    color: var(--text-white);
    font-weight: bold;
    text-shadow: 0 0.1rem 0.3rem #414141 ;
}
.fv_text{
    bottom: 8rem;
    left: 5%;
    font-size: 2.4rem;
    line-height: 1.4;
}
.fv_name{
    bottom: 4rem;
    left: 6%;
    font-size: 1.6rem;
}
.fv_medicalhour_list{
    display: none;
}
@media screen and (min-width:1024px) {
    .fv_img img{
        border-radius: 0 0 2rem 2rem;
        aspect-ratio: 16 / 9;
    }
    .fv_text{
        bottom: 10rem;
        font-size: 4.8rem;
    }
    .fv_name{
        font-size: 3.6rem;
    }
    .title_big{
        font-size: 6rem;
    }
}
@media screen and (min-width:1100px) {
    .fv_medicalhour_list{
        display: block;
        position: absolute;
        max-width: 60rem;
        bottom: -3rem;
        right: 0;
        transform: translateY(50%);
        background-color: var(--bg-white);
        padding: 1rem 1% 1rem 2%;
        border-top-left-radius: 2rem;
        border-bottom-left-radius: 2rem;
        z-index: 2;
        border: 2px solid var(--blue);
        border-right: none;
    }
    .fv_medicalhour_list .medicalhour{
        margin-top: 0;
    }
}
/* 背景色 */
.bluebg{
    background-color: var(--bg-blue); 
    padding: 2%;
}
.whitebg{
    background-color: var(--bg-white);
    border-radius: 2rem;
}
.graphbg{
    background-image: linear-gradient(0deg, transparent 9px, #4a90c4 10px), linear-gradient(90deg,  transparent 9px, #4a90c4 10px);
    background-size: 10px 10px;
    background-color: var(--bg-white);
}
/* NEWS お知らせ */
.news_wpembed {
    border: 3px solid var(--orange); 
    border-radius: 0.8rem;
    overflow: hidden;
}
.wp_wrap{
    padding: 2rem;
    overflow-y: scroll;
    max-height: 30rem;
}
.news-item {
    border-bottom: 2px dashed var(--bg-grey);
    padding: 1.5rem 0;
}
.news-item:last-child {
    border-bottom: none;
}
.news-date {
    display: block;
    font-size: 1.4rem;
    color: var(--title-color);
    margin-bottom: 5px;
}
.news-title {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 5px;
    color: var(--title-color);
}
.news-content {
    font-size: 14px;
    color: var(--text-black);
}
/* treatment 診察内容　 */
.treatment_list{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    row-gap: 1rem;
    padding-bottom: 3rem;
}
.treatment_list-item{
    width: 47%;
    max-width: 35rem;
    border-radius: 2rem;
    color: var(--text-white);
    border: 0.3rem solid;
}
.treatment_list-item:first-child{
    border-color: var(--blue);
    background-color: var(--blue);
}
.treatment_list-item:nth-child(2){
    border-color: var(--orange);
    background-color: var(--orange);
}
.treatment_list-item:nth-child(3){
    border-color: var(--green);
    background-color: var(--green);
}
.treatment_list-item:last-child{
    border-color: var(--pink);
    background-color: var(--pink);
}
.treatment_img img{
    border-radius: 2rem 2rem 0 0;
}
.treatment_textbox{
    padding: 1rem ;
}
.treatment_title{
    font-size: 1.7rem;
    font-weight: bold;
    display: block;
    text-align: center;
}
.treatment_caption{
    font-size: 1.4rem;
    display: block;
    text-align: center;
    margin-top: 0.8rem;
}
@media screen and (min-width:1024px){
    .treatment_list{
        flex-wrap: nowrap;
        padding-bottom: 7rem;
    } 
    .treatment_list-item{
        width: 24%;
    }
    .treatment_list-item:nth-child(odd){
        transform: translateY(2.5rem);
    }
}
/* aboutus 当院について */
.aboutus{
    position: relative;
    padding-bottom: 33rem;
}
.aboutus_text{
    font-size: 1.5rem;
    line-height: 2;
    padding: 2rem 1rem ;
    text-align: center;
}
.aboutus_img_list-item{
    position: absolute;
    border-radius: 2rem;
    overflow: hidden;
}
.aboutus_img01{
    width: 10rem;
    top: 65%;
    left: 6%;
}
.aboutus_img02{
    width: 16rem;
    top: 60%;
    right: 0;
}
.aboutus_img03{
    width: 16rem;
    bottom:3%;
    left: 5%;
}
.aboutus_img04{
    width: 9rem;
    bottom: 0;
    right: 10%;
}
.aboutus_img04 img{
    aspect-ratio: 1 / 1;
    object-fit: cover;
}
@media screen and (min-width:768px) {
    .aboutus{
        position: relative;
        padding-bottom: 25rem;
    }
    #aboutus .whitebg{
        max-width: 70vw;
        margin-inline: auto;
    }
    .aboutus_text{
        width: 90%;
        margin-inline: auto;
    }
    .aboutus_img01{
        width: 20vw;
        max-width: 20rem;
        top: 30%;
        left: -1%;
    }
    .aboutus_img02{
        width: 20vw;
        max-width: 28rem;
        top: 15%;
        right: -2%;
    }
    .aboutus_img03{
        width: 30vw;
        max-width: 30rem;
        bottom: 5%;
        left: 10%;
    }
    .aboutus_img04{
        width: 20vw;
        max-width: 17rem;
        bottom: 10%;
        right: 22%;
    }
}
@media screen and (min-width:1024px) {
    .aboutus_text{
        width: 100%;
    }
    .aboutus_img01{
        top: 18%;
        left: -1%;
    }
    .aboutus_img02{
        top: 5%;
        right: -2%;
    }
    .aboutus_img03{
        bottom: 7%;
        left: 10%;
    }
    .aboutus_img04{
        bottom: 10%;
        right: 22%;
    }
}
/* doctor 医師紹介 */
.doctor{
    position: relative;
}
.doctor::before{
    content: "";
    position: absolute;
    width: 100%;
    height: 100px;
    top: -60px;
    left: 0;
    background: url(../images/wave.svg) no-repeat center;
}
.doctor_wrap{
    display: flex;
    justify-content: space-around;
    gap: 2.5rem;
    flex-wrap: wrap;
    align-items: center;
}
.doctor_left{
    width: 100%;
}
.doctor_img{
    width: 80%;
    max-width: 35rem;
    border-radius: 2rem;
    overflow: hidden;
    margin: 0 auto;
}
.doctor_img img{
    aspect-ratio: 3 / 4;
    object-fit: cover;
}
.doctor_right{
    width: 100%;
}
.doctor_message{
    width: 100%;
    padding: 0 5%;
    text-align: center;
}
.doctor_message p{
    font-size: 1.7rem;
    line-height: 1.7;
}
.tbl_doctor_history{
    width: 95%;
    margin: 3rem auto 0 ;
    max-width: 56rem;
}
.tbl_doctor_history-item{
    display: flex;
    align-items: center;
    justify-content: space-around;
    border-top: 1px solid var(--text-black);
}
.tbl_doctor_history-item:last-child{ 
    border-bottom: 1px solid var(--text-black);
}
.doctor_history_head{
    font-size: 1.2rem;
    width: 20%;
}
.doctor_history_content{
    padding: 1rem 0;
    font-size: 1.6rem;
    width: 70%;
}
.doctor_name_ja{
    font-weight: bold;
}
.doctor_name_en{
    font-size: 1.2rem;
}
@media screen and (min-width:1024px) {
    .doc::before{
        height: 120px;
        top: -80px;
    }
    .doctor_wrap{
        max-width: 100rem;
        margin-inline: auto;
    }
    .doctor_left{
        width: 40%;
    }
    .doctor_img{
        width: 100%;
    }
    .doctor_right{
        width: 55%;
    }
    .doctor_message{
        padding: 0;
        text-align: left;
    }
    .tbl_doctor_history{
        width: 100%;
        margin-inline: auto;
    }
    .doctor_history_head{
        font-size: 1.6rem;
    }
}
/* equipment 院内の設備*/
.swiper{
    width: 100%;
    overflow: hidden;
}
.swiper-wrapper{
    -webkit-transition-timing-function:linear!important;
    -o-transition-timing-function:linear!important; 
    transition-timing-function:linear!important; 
}
.swiper-slide{
    width: auto;
}
.swiper-slide_wrap{
    position: relative;
    width: 100%;
    max-width: 30rem;
    margin: 0 auto;
    border-radius: 2rem;
    overflow: hidden;
}
.slide_img img{
    width: 100%;
    height: auto;
    max-height: 40rem;
    aspect-ratio: 3 / 4;
    object-fit: cover;
}
.slide_textbox{
    position: absolute;
    color: var(--text-white);
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 0.5rem 0;
    text-align: center;
    border-radius: 0 0 2rem 2rem;
}
.slide_b{
    background-color: var(--blue);
}
.slide_or{
    background-color: var(--orange);
}
.slide_pi{
    background-color: var(--pink);
}
.slide_gr{
    background-color: var(--green);
}
/* access アクセス */
.access{
    position: relative;
    background-color: var(--bg-blue);
    padding-bottom: 7rem;
}
.access::after{
    position: absolute;
    content: "";
    width: 100%;
    height: 20rem;
    top: -100px;
    left: 0;
    background-color: var(--bg-blue); 
    z-index: -1;
}
.access_wrap{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    flex-direction: column-reverse;
}
.access_left{
    width: 100%;
    padding: 1.5rem 5%;
}
.access_right{
    width: 100%;
}
.access_gmembed{
    position: relative;
    border-top: 3px solid var(--blue);
    border-bottom: 4px solid var(--blue);
}
.access_gmembed iframe{
    aspect-ratio: 4 / 3;
    width: 100%;
    height: auto;
}
.addresslist{
    width: 100%;
    max-width: 50rem;
    margin: 0 auto;
}
.addresslist_flex{
    display: flex;
    justify-content: start;
    gap: 2rem;
    margin-top: 2rem;
}
.addresslist_flex p{
    font-size: 1.6rem;
}
@media screen and (min-width:1024px){
    .access{
        padding-bottom: 0;
    }
    .access_wrap{
        justify-content: end;
        gap: 5rem;
        flex-direction: row;
    }
    .access_left{
        width: 40%;
        padding: 0 0 0 5%;
    }
    .access_right{
        width: 55%;
    }
    .access_gmembed{
        border-left: 3px solid var(--blue);
        border-top-left-radius: 5rem;
    }
    .access_gmembed iframe{
        border-top-left-radius: 5rem;
        max-height: 50rem;
    }
}
/* recruit　採用情報*/
.graphbg{
    padding-bottom: 7rem;
}
.job_group{
    padding-top: 5rem;
}
.job_group_title{
    font-size: 2rem;
    color: var(--title-color);
    padding-left: 2.5rem;
    background-position: left 0 center;
    background-repeat: no-repeat;
    background-size: 2.5rem 2.5rem;
}
.full-time{
    background-image: url(../images/teeth_ye.svg);
}
.part-time{
    background-image: url(../images/teeth_pi.svg);
}
.tbl_job{
    margin-top: 2rem;
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 2rem;
    overflow: hidden;
}
.tbl_job:last-child{
    margin-bottom: 5rem;
}
.tbl_job_head{
    display: block;
    font-size: 1.7rem;
    color: var(--text-white);
    background-color: var(--hover-blue);
    text-align: center;
    padding: 0.5rem 0;
}
.tbl_job td{
    display: block;
    font-size: 1.6rem;
    background-color: var(--bg-white);
    padding: 0.5rem 0 0.5rem 3%;
}
.job_list-item{
    position: relative;
    padding-left: 1rem;
}
.job_list-item::before{
    position: absolute;
    content: "";
    background-color: var(--hover-blue);
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    top: 1rem;
    left: 0;
}
@media screen and (min-width:1024px) {
    .job_group_title{
        font-size: 3.2rem;
    }
    .tbl_job_head{
        width: 20%;
        display: table-cell;
        padding: 1rem 0;
        font-size: 1.8rem;
        border-bottom: 1px solid var(--text-black);
    }
    .tbl_job td{
        width: 70%;
        display: table-cell;
        padding: 1rem 0 1rem 2rem;
        border-bottom: 1px solid var(--text-black);
    }
    .tbl_job tr:last-child th,
    .tbl_job tr:last-child td{
        border-bottom: none;
    }
}

/* お問い合わせ */

.wpcf7-form {
    max-width: 100rem;
    margin: 0 auto;
}
.form-wrap{
    padding: 1rem;
    background-color: var(--bg-white);
    border-radius: 2rem;
}
.form-label {
    font-weight: bold;
    display: block;
}
.required {
    display: inline-block;
    margin-left: 0.8rem;
    padding: 0.3rem 1rem;
    background: var(--pink);
    color: var(--text-white);
    font-size: 1.6rem;
    border-radius: 1rem;
    font-weight: normal;
}
.wpcf7-text,
.wpcf7-email,
.wpcf7-tel {
    width: 100%;
    padding: 0.8rem;
    border: none;
    background-color: var(--bg-grey);
    box-sizing: border-box;
}
.wpcf7-textarea {
    width: 100%;
    height: 150px;
    padding: 8px;
    border: none;
    background-color: var(--bg-grey);
    box-sizing: border-box;
}
.wpcf7-text::placeholder,
.wpcf7-email::placeholder,
.wpcf7-tel::placeholder,
.wpcf7-textarea::placeholder {
    color: #9F7D52;
}
.wpcf7-submit {
    display: block;
    margin: 3rem auto 0;
    padding: 1.6rem 6.4rem;
    background-color: var(--pink);
    color: var(--text-white);
    border-radius: 2.4rem;
    font-size: 1.6rem;
    box-shadow: 0rem 0.4rem 0 var(--shadow-color);
    transition: 0.3s;
}
.wpcf7-submit:hover{
    transform: translateY(0.4rem);
    box-shadow: none;
}

@media screen and (min-width:1024px) {
    .form-item{
        padding: 1.5rem 0;
        border-bottom: 1px solid var(--text-black);
    }
    .form-item_last{
        border-bottom: none;
    }
    .form-item label{
        display: flex;
        justify-content: space-between;
        gap: 2rem;
    } 
    .form-label{
        width: 20%;
        max-width: 20rem;
    }
    .wpcf7-form-control-wrap{
        width: 70%;
    }
}
