
/* ----------------------------------------------------------------------------
* Contents
* ------------------------------------------------------------------------- */

#main{
    margin: 0 auto;
    width: 100%;
    text-align: center;
}

#main h2{
    font-weight: bold;
    font-size: 26px;
    margin-bottom: 40px;
}

@media only screen and (min-width:1024px) {
    #main h2{
        font-weight: bold;
        font-size: 35px;
        margin-bottom: 40px;
    }
}

#main p{
    line-height: 1.7;
}

#main .box-wrapper{
    margin: 0 auto 100px;
}

#main .fv-sp{
    display: block;
}
#main .fv-pc{
    display: none;
}

@media only screen and (min-width:1024px) {
#main .fv-sp{
    display: none;
}
#main .fv-pc{
    display: block;
}
}

#main .fv-box{
    width: 100%;
}

#main .fv-box img{
    width: 100%;
}

.top-sub-section-sp{
    display: block;
}

.top-sub-section-pc{
    display: none;
}

@media only screen and (min-width:1024px) {
.top-sub-section-sp{
    display: none;
}

.top-sub-section-pc{
    display: block;
}
}

#main .box-wrapper{
    flex-direction:column;
}

#main .top-sub-section-sp .box-wrapper{
    width: 90%;
}

.sub-section-image img{
    width: 100%;
}

@media only screen and (min-width:1024px) {
#main .box-wrapper:nth-child(odd){
    flex-direction:row;
}

#main .box-wrapper:nth-child(even){
    flex-direction:row-reverse;
}
}

#main .box-wrapper p{
    font-size: 16px;
    margin-bottom: 50px;
}

#main .box-inner h2{
    text-align: center;
}

#main .box-inner p{
    text-align: left;
}

@media only screen and (min-width:1024px) {
    #main .box-inner h2,
    #main .box-inner p{
        text-align: left;
    }
}

#main .box-wrapper .box-inner{
    margin: 0 auto;
}

@media only screen and (min-width:1024px) {
#main .box-wrapper:nth-child(odd) .box-inner{
    margin-right: 100px;
}

#main .box-wrapper:nth-child(even) .box-inner{
    margin-left: 100px;
}
}

/* Google Map */
#main .store-box .map {
    position: relative;
    width: 100%;
    height: 0;
    padding-top: 75%; /* 4:3 */
}

  /* Google Map iframe */
#main .store-box .map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

@media only screen and (min-width:1024px) {
    #main .store-box .map{
        width: 1100px;
        height: 410px;
        margin: 0 auto;
        padding: inherit;
    }
}

#main .store-table{
    width: 90%;
    margin: 50px auto 50px;
    text-align: left;
    line-height: 2;
    font-size: 16px;
}

@media only screen and (min-width:1024px) {
    #main .store-table{
        width: 900px;
        margin: 50px auto 50px;
        text-align: left;
        line-height: 2;
        font-size: 16px;
    }
}

#main .store-table th{
    padding-right: 50px;
    vertical-align: top;
    width: 40%;
}

#main .notice-box{
    background-color: #DCF3FF;
    padding-top: 40px;
    padding-bottom: 40px;
    width: 100%;
}

#main .notice-list{
    width: 100%;
    margin: 0 auto 50px;
}

#main .notice-box p{
    font-size: 18px;
    margin-bottom: 50px;
}

@media only screen and (min-width:1024px) {
    #main .notice-list{
        width: 1100px;
        margin: 0 auto 50px;
    }
}

#main .notice-list li{
    font-size: 16px;
    border-top: #333333 dotted 1px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    text-align: left;
}

@media only screen and (min-width:1024px) {
    #main .notice-list li{
        font-size: 16px;
        border-top: #333333 dotted 1px;
        padding: 30px;
        display: flex;
        justify-content: space-between;
        flex-direction:row;
        text-align: left;
    }
}

#main .notice-list li:last-child{
    border-bottom: #333333 dotted 1px;
}

#main .notice-title{
    width: 100%;
    display: flex;
    justify-content: space-between;
}

#main .notice-list li p{
    height: 35px;
    width: 600px;
    vertical-align: middle;
    margin-bottom: 0px;
}

@media only screen and (min-width:1024px) {
    #main .notice-date-label{
        width: 450px;
        display: flex;
    }
    
    #main .notice-title{
        width: 650px;
        display: flex;
    }
}

#main .notice-date{
    width: 120px;
}
/* 
#main .notice-label{
    width: 180px;
    margin-right: 0px;
    margin-left: 30px;
}

@media only screen and (min-width:1024px) {
#main .notice-label{
    width: 180px;
    margin-right: 30px;
    margin-left: 30px;
}
} */

#main .notice-arrow{
    justify-content:right;
}

.staff-box,
.line-box,
.qa-box{
    width: 1100px;
    display: flex;
}

.detail_link{
    margin: 0 auto;
    width: 216px;
    padding: 15px;
    border: 2px solid #0F7CDE;
    background-color: #fff;
    font-size: 28px;
}

.detail_link a{
    text-decoration: none;
    color: #0F7CDE;
}

.image-radius img{
    border-radius: 20px;
}

.prescription_top{
    margin-bottom: 100px;
}

@media only screen and (max-width:1024px) {
    .prescription_top_box{
        width: 90%;
        margin: 0 auto;
    }

    .prescription_top_image img{
        width: 100%;
    }
}
/* ----------------------------------------------------------------------------
* carousel
* ------------------------------------------------------------------------- */

.carousel-container {
    width: 100vw; 
    height: 60vh;
    margin: 0; 
    position: relative;
    overflow: hidden; 
}

.carousel-slide {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    object-fit: cover; 
}

.carousel-slide.active {
    opacity: 1;
}