#contents .top{
    position: relative;
    width: 100%;
    margin-top: 80px;
}
#contents .top .main-cap{
    position: relative;
    width: 90vw;
    margin: 0 auto;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
#contents .top .main-cap:before{
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    background: #bababa;
    width: 100%;
    height: 1px;
    z-index: 0;
}
#contents .top .main-cap:after{
    content: "";
    position: absolute;
    background: #6c6c6c;
    width: 100px;
    height: 1px;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}
#contents .top .main-cap h1{
    position: relative;
    display: table;
    z-index: 2;
    padding: 20px 100px 20px 0;
    font-size: 1.75em;
    letter-spacing: .2em;
    line-height: 1.9;
    font-weight: normal;
    background: #f5f4eb;
}
#contents .top .text-box{
    width: calc(1200px - 5vw);
    margin-left: 5vw;
    margin-top: 80px;
    display: flex;
}
#contents .top .text-box h2{
    padding-right: 100px;
    font-size: 1.4em;
    letter-spacing: .2em;
    line-height: 1.9;
    font-weight:  normal;
    width: auto;
    white-space: nowrap;
}

#contents .sec{
    width: 95vw;
    margin: 250px auto 0;
}
#contents .sec .image-box1,
#contents .sec .image-box2 {
    width: 86%;
    height: 45vh;
    max-height: 700px;
    margin-left: auto;
}
#contents .sec.left .image-box1,
#contents .sec.left .image-box2 {
    margin-left: 0;
}
#contents .sec .image-box2 {
    display: flex;
}
#contents .sec .image-box2 .image{
    width: calc(50% - 2px);
    height: 100%;
    margin-right: 2px;
}
#contents .sec .image-box2 .image:nth-child(2){
    width: calc(50% - 2px);
    height: 100%;
    margin-left: 2px;
}
#contents .sec .text-box{
    width: 1000px;
    margin: 0 auto;
}
#contents .sec .text-box h2 {
    font-size: 1.35em;
    font-weight: normal;
    line-height: 1.7;
    letter-spacing: .1em;
    margin-top: 50px;
    margin-bottom: 30px;
    color: #606060;
}
#contents .sec1 .text-box h2,
#contents .sec1 .text-box h3 {
    letter-spacing: .25em;
    font-weight: 700;
    font-size: 1.25em;
    margin-top: 40px;
    margin-bottom: 30px;
    color: #606060;
}
#contents .sec1 .text-box h2 {
    text-align: center;
}
#contents .sec .text-box .c-box{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
}
#contents .sec .text-box .text{
    width: auto;
}
#contents .sec .text-box .text a.link{
    margin-top: 60px;
}
#contents .sec .text-box .c-box a.link{
    margin: 40px auto 0;
}
#contents .sec1{
    width: 82vw;
    margin: 100px auto 0;
    padding: 60px 0 100px;
    background: #fefefe;
}

#contents .sec1 .text-box .tel-box{
    letter-spacing: .25em;
    font-size: 1.9em;
    line-height: 1;
    padding: 0 20px 20px;
    white-space: nowrap;
    display: flex;
    align-items: center;
}
#contents .sec1 .text-box .tel-box span.tel {
    margin-right: 20px;
    font-size: .8rem;
    letter-spacing: .3em;
}
#contents .sec1 .text-box .tel-box span.time {
    font-size: .9rem;
    letter-spacing: .3em;
    margin-left: 30px;
}
#contents .sec.link-box a.link{
    margin: 0 15px;
    display: inline-block;
}

@media screen and (max-width: 1300px) {
    #contents .top .text-box{
        display: block;
        width: 90vw;
        margin: 80px auto 0;
    }
    #contents .top .main-cap h1{
        letter-spacing: .15em;
        font-size: 1.6em;
    }
    #contents .sec .text-box{
        display: block;
        width: 80vw;
        margin: 50px auto 0;
    }
    #contents .sec1 .text-box{
        width: 70vw;
    }
    #contents .top .text-box h2,
    #contents .sec .text-box h2{
        margin-bottom: 30px;
        padding-right: 0;
    }
    #contents .sec .image-box{
        width: 100%;
        margin: 0 auto;
    }
    #contents .sec {
        margin: 60px auto 0;
    }
    #contents .sec .text-box .c-box iframe{
        width: 100%;
    }
}
@media screen and (max-width: 1200px) {
    #contents .sec.link-box {
        display: table;
        margin-bottom: 150px;
    }
    #contents .sec.link-box a.link {
        margin: 15px auto 0;
        display: table;
    }
}
@media screen and (max-width: 900px) {
    #contents .top .text-box h2,
    #contents .sec .text-box h2{
        white-space: initial;
    }
    #contents .top .text-box h2 br,
    #contents .sec .text-box h2 br{
        display: none;
    }
    #contents .sec1 .text-box .tel-box{
        white-space: initial;
        display: block;
    }
    #contents .sec1 .text-box .tel-box span.time{
        display: block;
        margin-left: 0;
        margin-top: 13px;
    }
}
@media screen and (max-width: 768px) {
    #contents .top {
        margin-top: 30px;
    }
    #contents .top .main-cap{
        width: 86vw;
    }
    #contents .top .main-cap h1 {
        font-size: 1.25em;
        line-height: 1.5;
        padding: 20px 30px 20px 0;
    }
    #contents .top .main-cap:after{
        width: 70px;
    }
    #contents .top .text-box{
        margin-top: 50px;
        width: 86vw;
    }
    #contents .sec {
        margin: 100px auto 0;
    }
    #contents .sec .image-box2 {
        display: block;
        height: auto;
        max-height: initial;
        width: 100%;
    }
    #contents .sec .image-box2 .image,
    #contents .sec .image-box2 .image:nth-child(2) {
        width: 100%;
        height: 220px;
        margin-left: 0;
    }
    #contents .sec1 .image-box1 {
        width: 100%;
        height: 300px;
    }
    #contents .sec1 .image-box1 .image{
        background-position-y:initial !important;
    }
    #contents .sec .text-box{
        width: 86vw;
        margin: 20px auto 0;
    }
    #contents .top .text-box h2,
    #contents .sec .text-box h2,
    #contents .sec1 .text-box h2,
    #contents .sec1 .text-box h3{
        font-size: 1.25em;
        line-height: 1.7;
        letter-spacing: .05em;
        margin-bottom: 20px;
        margin-top: 20px;
    }
    #contents .sec1 .text-box h2,
    #contents .sec1 .text-box h3 {
        font-size: 1.25rem;
        line-height: 1.4;
    }
    #contents .sec1 .text-box h3 {
        margin-top: 60px;
    }
    #contents .sec1 .text-box .tel-box {
        letter-spacing: .15em;
        font-size: 1.6em;
    }
    #contents .sec1 .text-box .tel-box span.time{
        letter-spacing: .1em;
    }
    #contents .top .text-box p,
    #contents .sec .text-box p{
        font-size: 1rem;
    }
    #contents .sec {
        margin: 30px auto 0;
        padding-top: 30px;
    }
    #contents .sec1 {
        width: 90vw;
        margin-top: 30px;
        padding-bottom: 60px;
    }
    #contents .sec.link-box {
        width: auto;
        margin: 50px 0 0 8vw;
        margin-bottom: 50px;
        padding-top: 0;
    }
    #contents .sec .text-box .text a.link {
        margin-top: 15px;
    }
    #contents .sec.link-box a.link {
        margin: 15px auto 0 0;
    }
}
@media screen and (max-width: 375px) {
    #contents .top .main-cap h1,
    #contents .top .text-box h2,
    #contents .sec .text-box h2,
    #contents .sec5 ul li .txt h3,
    #contents .sec1 .text-box h2,
    #contents .sec1 .text-box h3 {
        font-size: 1.15em;
    }
    #contents .top .text-box p,
    #contents .sec .text-box p,
    #contents .sec5 ul li .txt p,
    #contents .sec5 ul li .txt p,
    #contents .data-box .data-box-in dl,
    #contents .map-box .address .ad,
    #contents .map-box .address a.link.g-map {
        font-size: .9em;
    }
}