/*-----------------------------------------------------
共通パーツ
-------------------------------------------------------*/

h2{
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-size: 1.5rem;
}

.bg_text{
    font-family: "Cinzel", serif;
    font-size: 12.375rem;
    color:#E6E1DC;
    font-weight: bold;
    position: absolute;
    z-index: -1;
}
#about .bg_text,
#access .bg_text{
    opacity: .5;
    top:-3.75rem;
    left:-2%;
}



.more_btn a{
    display: inline-block;
    padding:.5rem 1.875rem .5rem 3.75rem;
    border-radius: 9999px;
    border:solid 1px #958370;
    text-decoration: none;
    color:#958370;
    transition: .3s;
}
.more_btn a:hover{
    background-color: #958370;
    color:white;
    border:solid 1px white;
}
.more_btn a div{
    display: flex;
    justify-content: center;
    align-items: center;
}
.more_btn a div p{
    margin-right:1.8rem;
}

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


.main_view{
    width:100vw;
    height:1000px;
    position: relative;
    top:0;
    overflow: hidden;
}
.main_view::before{
    content:"";
    display: block;
    position: absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background-color: rgba(96, 85, 75,.5);
    z-index: 5;
}

/*スライドアニメーション*/
@keyframes zoomUp {
    0% {
      transform: scale(1);
    }
    100% {
      transform: scale(1.2);
    }
  }
  
.swiper-slide-active .slide-img,
.swiper-slide-duplicate-active .slide-img,
.swiper-slide-prev .slide-img{
    animation: zoomUp 7s linear 0s 1 normal both; 
}

.mainview-slide .slide-img img{
    width:100vw;
    height:1000px;
    object-fit: cover;
}


.main_view .copy{
    width: 100%;
    text-align: center;
    font-size: 2rem;
    font-weight: 600;
    color:white;
    text-shadow: 0px 0px 15px rgba(0,0,0,.6);
    position: absolute;
    top:50%;
    left:50%;
    transform: translateX(-50%);
    z-index: 6;
}







/*お知らせ*/
.news{
    margin-top:3.75rem;
}
.news .container{
    background-color: #FCF7F3;
    padding:1.25rem 0;
    border-radius: 10px;
}
.news .container .news_content{
    width:93.04%;
    margin:0 auto;
}

.news .container .news_content ul li{
    margin-top:1rem;
    margin-left:1rem;
}




/*当院について*/
#about{
    position: relative;
}
#about .container{
    margin-top:3.75rem;
    display: flex;
    justify-content:space-between;
    align-items: flex-start;
}
#about .about_info{
    width:530px;
}
#about .about_info h3{
    font-size: 1.5rem;
    font-weight: 600;
    line-height:50px;
}
#about .about_info p:not(.more_btn p){
    width:100%;
    margin:3.75rem 0 1.25rem 0;
}

#about .container .about_img{
    width:560px;
    height:330px;
    border-radius: 10px;
    position: relative;
    box-shadow: 0 0 20px 0 rgba(96, 85, 75,.3);
}
#about .container .about_img::after{
    content:"";
    display: block;
    width:100%;
    height:100%;
    background: linear-gradient(-45deg,rgba(98, 86, 76,.7),rgba(149, 131, 112,.08));
    position: absolute;
    top:0;
    left:0;
    border-radius: 10px;
}
#about .container .about_img img{
    width:100%;
    height:100%;
    object-fit: cover;
    border-radius: 10px;
}







/*診療案内*/
#service{
    width:100vw;
    background-color: #958370;
    padding:3.75rem 0 5rem 0;
    margin-top:5rem;
    color:white;
    position: relative;
}
#service h2{
    text-align: center;
}
#service .bg_text{
    z-index: 0;
    opacity: .1;
    top:1rem;
    right:-1.5rem;
}
#service .container h3{
    margin:2rem 0;
    font-size: 1.25rem;
}

.service_wrapper{
    width:100%;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    margin-top:3.75rem;
}
.service_wrapper .service_content{
    width:calc((100% - 2.5rem) / 3);
    background-color: white;
    border-radius: 10px;
    padding:1.875rem 0;
    box-shadow: 0 0 30px 0 rgba(96, 85, 75,.4);
}
.service_wrapper .service_content .service_area {
    width:81.08%;
    margin: 0 auto;
    text-align: center;
}
.service_wrapper .service_content .service_area img{
    width:70px;
    height:70px;
    text-align: center;
}
.service_wrapper .service_content .service_area h4{
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-size: 1.25rem;
    color:#958370;
    text-align: center;
    margin:1.25rem 0;
}
.service_wrapper .service_content .service_area p:not(.more_service p){
    width:100%;
    color:#343434;
    line-height:35px;
    text-align: left;
}
.service_wrapper .service_content .service_area .more_service{
    text-align: right;
}
.service_wrapper .service_content .service_area .more_service a{
    text-decoration: none;
    color:#958370;
    font-family: "Zen Kaku Gothic New", sans-serif;
    transition: .3s;
}
.service_wrapper .service_content .service_area .more_service a:hover{
    opacity: .6;
}






/*診療時間・アクセス*/
#access{
    margin:3.75rem 0 5rem 0;
    position: relative;
}
#access h2{
    text-align: center;
}
.access_wrapper{
    width:100%;
    margin-top:3.75rem;
    display: flex;
    justify-content: space-between;
}
.access_wrapper .access_img_map{
    width:560px;
}
.access_wrapper .access_img_map img,
.access_wrapper .access_img_map iframe{
    width:100%;
    height:320px;
    object-fit: cover;
}

.access_info{
    width:545px;
}
/*営業時間表*/
.access_time{
    width:100%;
    border:solid 1px #958370;
    border-radius: 10px;
    border-spacing: 0;
    color:#60554B;
    background-color: white;
}
.access_time tr th,.access_time tr td{
    padding:1rem 0;
    border-bottom:solid 1px #958370;
}
.access_time tr:last-of-type th,.access_time tr:last-of-type td{
    border-bottom:none;
}
.access_time tr th{
    text-align: left;
    padding-left:1.85rem;
    width:40%;
}
.access_time tr td{
    width:20px;
    text-align: center;
}
.access_time tr td:last-of-type{
    padding-right:1.85rem;
}
.access_time tr .open_time{
    font-size: 1.25rem;
}

/*当院の情報*/
.company_table {
    margin-top:1.5rem;
}
.company_table tr{
    width:100%;
    display: flex;
    justify-content: space-between;
    border-bottom:solid 1px #958370;
}
.company_table tr:last-of-type{
    border-bottom:none;
}
.company_table tr th{
    width:100px;
    text-align: left;
    color:#60554B;
}
.company_table tr td{
    width:calc(100% - 120px);
}
.company_table tr th,.company_table tr td{
    padding:1rem 0;
}
.company_table tr td span{
    font-family: "Zen Kaku Gothic New", sans-serif;
    color:#958370;
    font-weight: bold;
    display: inline-block;
    margin-bottom:5px;
}
.company_table tr td .train{
    margin-top:1.25rem;
}









/*よくある質問*/
#q_a{
    background-color: #FCF7F2;
    position: relative;
    padding:3.75rem 0 5rem 0;
    overflow: hidden;
}
#q_a h2{
    text-align: center;
    position: relative;
}
#q_a .bg_text{
    opacity: .5;
    z-index: 0;
    top:-3%;
    left:50%;
    transform: translateX(-50%);
}
.q_a_wrapper{
    position: relative;
    z-index: 2;
    margin-top:2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}

/*アコーディオン*/
.q_a_content{
    width:560px;
    background-color: white;
    box-shadow: 0 0 30px 0 #F8ECDF;
    border-radius: 10px;
    padding:1.875rem 0;
    cursor: pointer;
}
.q_a_content:nth-of-type(n+3){
    margin-top:1.25rem;
}
.q_a_area{
    width:84.11%;
    margin-left:3.73rem;
}
.q_a_top{
    display: flex;
    align-items:flex-start;
    justify-content: space-between;
}
.q_a_top .q_a_ttl{
    color:#958370;
    position: relative;
    width:90%;
}
.q_a_top .q_a_ttl::before{
    content:"Q";
    color:#958370;
    position: absolute;
    left:-2rem;
    font-size: 1.25rem;
}
.arrow{
    position: relative;
    width:20px;
    height:20px;
}
.arrow::before,.arrow::after{
    content:"";
    display: block;
    width:15px;
    height:3px;
    background-color: #958370;
    position: absolute;
    top:50%;
}
.arrow::before{
    transform: rotate(45deg);
    right: 9px;
}
.arrow::after{
    transform: rotate(-45deg);
    right: 0;
}

.q_a_ttl , .answer{
    line-height:30px;
}

.answer{
    margin-top:1.25rem;
    display: none;
}





/*--------------------レスポンシブ----------------------*/
@media(max-width:1980px){
    .main_view,
    .mainview-slide .slide-img img{
        height:631px;
    }
}
@media(max-width:1440px){


    /*お知らせ*/
    #about .about_info {
        width: 47%;
    }
    #about .container .about_img{
        width: calc((100% - 47%) - 5%);
        height: 22.92vw;
    }

    /*アクセス*/
    .access_wrapper .access_img_map{
        width: calc((100% - 47%) - 5%);
    }
    .access_wrapper .access_img_map img, 
    .access_wrapper .access_img_map iframe {
        height: 22.92vw;
    }
    .access_info{
        width:47%;
    }



    /*よくある質問*/
    .q_a_content{
        width: calc((100% - 3%) / 2);
    }
    
}

@media(max-width:1200px){
    /*メインビュー*/
    .main_view{
        height:600px;
    }
}


@media(max-width:1024px){

    /*アクセス*/
    .access_wrapper{
        flex-flow: column-reverse;
    }
    .access_wrapper .access_img_map{
        display: flex;
        justify-content: space-between;
        width:100%;
        margin-top:2.5rem;
    }
    .access_wrapper .access_img_map img,
    .access_wrapper .access_img_map iframe{
        width:50%;
    }
    .access_info{
        width:100%;
    }


    /*よくある質問*/
    .q_a_area {
        margin-left: 12.5%;
    }
    .q_a_top .q_a_ttl::before{
        left: -1.5rem;
    }
    .q_a_top .q_a_ttl{
        width: 85%;
    }
    .arrow::before {
        transform: rotate(45deg) translateX(50%);
        right: 20px;
    }
    .arrow::after{
            transform: rotate(-45deg) translateX(-50%);
    }
}

@media(max-width:768px){
    /*共通パーツ------------*/
        h2{
            font-size: 1.125rem;
        }
        .bg_text{
            font-size: 25.78vw;
        }

    /*----*/


    /*メインビュー*/
    .main_view .copy{
        line-height:50px;
    }

    /*当院について*/
    #about .container{
        flex-flow: column-reverse;
    }
    #about .bg_text{
        top:58vw;
        left:-5%;
    }
    #about .container .about_img{
        width: 100%;
        height: 58.1vw;
    }
    #about .about_info {
        width: 100%;
        margin-top: 2.5rem;
    }
    #about .about_info p:not(.more_btn p){
        margin: 1.25rem 0 2.5rem 0;
    }


    /*診療案内*/
    #service .bg_text{
        font-size: 21.22vw;
    }
    .service_wrapper{
        flex-flow: column;
    }
    .service_wrapper .service_content{
        width: 100%;
        margin: 1.25rem auto 0 auto;
    }
    .service_wrapper .service_content:first-of-type{
        margin:0 auto;
    }


    /*よくある質問*/
    #q_a .bg_text{
        top: -2%;
    }
    .q_a_content {
        width: 100%;
    }
    .q_a_content:nth-of-type(n+2){
        margin-top: 1.25rem;
    }
    .q_a_area {
        margin-left: 10.5%;
    }
    .q_a_top .q_a_ttl::before {
        left: -2.5rem;
    }
    .q_a_top .q_a_ttl {
        width: 90%;
    }
}


@media(max-width:425px){
    /*共通パーツ------------*/
        .container{
            width:95%;
        }
        .bg_text{
            font-size: 114px;
        }
        #about .bg_text, #access .bg_text{
            font-size: 26.82vw;
        }
        .more_btn a{
            width:100%;
            padding: .5rem 0;
        }
    /*----*/


    /*メインビュー*/
    .main_view{
        height:480px;
    }
    .main_view .copy{
        font-size: 1.25rem;
        line-height:30px;
    }


    /*当院について*/
	#about .bg_text, #access .bg_text {
        font-size: 26.82vw;
    }
    #about .about_info h3{
        font-size: 1.125rem;
        line-height:30px;
    }

    /*診療案内*/
    #service{
        padding: 2.5rem 0;
        margin-top: 2.5rem;
    }
    #service .bg_text{
        font-size: 5.625rem;
    }
    .service_wrapper{
        margin-top: 1.875rem;
    }


    /*アクセス*/
    #access{
        margin:2.5rem 0;
    }
    #access .bg_text{
        top: -2.25rem;
    }
    .access_wrapper{
        margin-top:2.5rem;
    }
    .access_time tr .open_time {
    font-size: 1rem;
    }
    .access_time tr th{
        width: 35%;
    }
    .access_time tr th{
        padding:0.375rem 0 0.375rem 1.25rem;
    }
    .access_time tr td:last-of-type{
        padding-right:1.25rem;
    }
    .access_time tr td{
        padding: 0.375rem 0;
    }
    .company_table{
        margin-top:1.875rem
    }
    .company_table tr{
        flex-flow: column;
        padding: 1rem 0;
    }
    .company_table tr:first-of-type{
        padding:0 0 1rem 0;
    }
    .company_table tr th, .company_table tr td{
        width:100%;
        padding:0;
    }
    .company_table tr td{
        margin-top:0.625rem;
    }
    .access_wrapper .access_img_map{
        flex-flow: column;
    }
    .access_wrapper .access_img_map img, 
    .access_wrapper .access_img_map iframe{
        width:100%;
        height:54.12vw;
    }


    /*よくある質問*/
    #q_a{
        padding:2.5rem 0;
    }
    #q_a .bg_text{
        top:0;
    }
    .q_a_area {
        margin-left: 12.5%;
    }
    .q_a_area {
        margin-left: 12%;
    }
    .q_a_top .q_a_ttl {
        width: 85%;
    }
    .q_a_top .q_a_ttl::before {
        left: -1.8rem;
    }
    .q_a_wrapper{
        margin-top:5rem;
    }
    
    
}
