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

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

#main h2{
    font-weight: bold;
    font-size: 26px;
    border-bottom: 4px solid #000;
    margin: 0 auto 20px;
    width: 88%;
}

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

#main a{
    color: #333333;
    font-size: 0.6em;
}

#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;
}
}

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

#main .store-box h3{
    border-left: 10px solid #000;
    padding-left: 15px;
    font-size: 0.8em;
    font-weight: bold;
}

@media only screen and (min-width:1024px) {
    #main .store-box p,
    #main .store-box h3{
        width: 1100px;
        margin: 0 auto 20px;
        text-align: left;
    }
}

@media only screen and (max-width:1024px) {
    #main .store-box p,
    #main .store-box h3{
        width: 80vw;
        margin: 0 auto 20px;
        text-align: left;
    }
}

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

/* 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;
    }
}

@media only screen and (min-width:1024px) {
    #main .store-box .store-table{
        width: 1100px;
        display: flex;
        margin: 40px auto 0;
    }

    #main .store-box .store-table h3,
    #main .store-box .store-table p{
        width: 550px;
    }
}

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

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

#main .notice-list{
    width: 100%;
    margin: 0 auto 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: 30px;
    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-date-label{
    width: 100%;
    display: flex;
    justify-content: flex-start;
}

@media only screen and (min-width:1024px) {
    #main .notice-date-label{
        width: 100%;
        display: flex;
        justify-content: space-between;
    }
}

#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: 0;
}

@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: 30px;
    margin-left: 30px;
}

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

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

@media only screen and (min-width:1024px) {
    .store-picture{
        width: 1100px;
        margin: 0 auto 40px auto;
    }
}