#contents .top{
    position: relative;
    width: 100%;
    margin-top: 80px;
}
#contents .top .main-cap{
    position: relative;
    width: 90vw;
    margin: 0 auto;
}
#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.6em;
    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;
}
#contents .sec{
    width: 95vw;
    margin: 200px auto 0;
}
#contents .sec1{
    width: 95vw;
    margin: 150px auto 0;
}
#contents .sec1 .image-box{
    width: 90%;
    height: 50vh;
    max-height: 700px;
    margin-left: auto;
}
#contents .sec1 .image-box .image{
    width: 100%;
    height: 100%;
    background: url(../img/faq1.jpg) center / cover no-repeat;
}
#contents .sec .text-box{
    width: 1000px;
    margin: 0 auto;
    margin-top: 100px;
    position: relative;
}
#contents .sec .text-box h2{
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.6em;
    margin-right: 7px;
    font-weight: 700;
    line-height: 1.7;
    letter-spacing: .5em;
    justify-content: center;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    white-space: nowrap;
}
#contents .sec .text-box .text{
    width: calc(100% - 100px);
    margin-left: 100px;
    margin-top: 80px;
    padding: 0 20px;
}
#contents .sec .text-box .text.top{
    margin-top: 0;
    border-top: 2px solid #bababa;
    padding-top: 50px;
}
#contents .sec .text-box h3{
    font-size: 1.6em;
    letter-spacing: .1em;
    line-height: 2;
    font-weight: normal;
    width: auto;
    margin-bottom: 5px;
    padding-left: 30px;
    position: relative;
}
#contents .sec .text-box h3::after{
    content: "・";
    position: absolute;
    left: 0;
    top: 0.05em;
}
#contents .sec .text-box p{
    padding-left: 30px;
    font-size: 1.05em;
    margin-top: 15px;
}
#contents .sec.last{
    margin: 150px auto 250px;
    display: table;
    width: auto;
}
#contents .sec.last .text h3{
    font-size: 1.4em;
    letter-spacing: .2em;
    line-height: 2;
    font-weight: normal;
    width: auto;
    margin-bottom: 20px;
    position: relative;
}
#contents .sec.last .text a.link{
    margin: 0 auto;
}

@media screen and (max-width: 1300px) {
    #contents .top .text-box{
        display: block;
        width: 80vw;
        margin: 80px auto 0;
    }
    #contents .sec .text-box{
        display: block;
        width: 80vw;
        margin: 50px auto 0;
    }
    #contents .top .text-box h2,
    #contents .sec .text-box h2{
        margin-bottom: 30px;
        padding-right: 0;
    }
    #contents .sec1 .image-box{
        width: 100%;
        margin: 0 auto;
    }
    #contents .sec .text-box .text{
        padding: 0 10px;
    }
}
@media screen and (max-width: 1200px) {
    #contents .sec1 {
        margin: 60px auto 0;
    }
}
@media screen and (max-width: 1200px) {
    #contents .sec.last {
        display: table;
        margin-bottom: 150px;
    }
}
@media screen and (max-width: 1000px) {
    #contents .sec .text-box .text {
        width: calc(100% - 70px);
        margin-left: 70px;
    }
    #contents .sec.last .text h3 {
        font-size: 1.3em;
        letter-spacing: .1em;
        display: table;
        margin: 0 auto;
    }
}
@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.35em;
        padding: 20px 30px 20px 0;
    }
    #contents .top .main-cap:after{
        width: 70px;
    }
    #contents .top .text-box{
        margin-top: 50px;
        width: 86vw;
    }
    #contents .sec {
        margin: 90px auto 0;
    }
    #contents .sec1 {
        margin: 30px auto 0;
    }
    #contents .sec1 .image-box{
        height: 300px;
    }
    #contents .sec .text-box {
        width: 90vw;
        margin: 80px auto 0;
    }
    #contents .sec .text-box .text {
        width: calc(100% - 40px);
        margin-left: 40px;
        margin-top: 70px;
    }
    #contents .sec .text-box .text.top {
        border-top: 1px solid #bababa;
        padding-top: 40px;
    }
    #contents .top .text-box h2{
        font-size: 1.25em;
        line-height: 1.7;
        letter-spacing: .05em;
        white-space: initial;
        margin-bottom: 20px;
    }
    #contents .sec .text-box h3,
    #contents .sec.last .text h3{
        font-size: 1.15em;
        line-height: 1.7;
        letter-spacing: .05em;
        white-space: initial;
        margin-bottom: 5px;
        padding-left: 0;
    }
    #contents .sec .text-box h3::after{
        content: none;
    }
    #contents .sec .text-box h2{
        font-size: 1em;
    }
    #contents .top .text-box h2 br,
    #contents .sec .text-box h3 br,
    #contents .sec .text-box p br{
        display: none;
    }
    #contents .top .text-box p,
    #contents .sec .text-box p{
        font-size: 1rem;
    }
   #contents .sec .text-box p {
        font-size: 1.05rem;
        padding-left: 0;
        line-height: 2em;
    }
    #contents .sec.last {
        margin: 70px auto 100px;
        width: 86vw;
    }
    #contents .sec.last .text h3 {
        font-size: 1.1em;
        margin-bottom: 30px;
    }
    #contents .sec.last .text a.link {
        margin: 0;
    }
}
@media screen and (max-width: 375px) {
    #contents .top .main-cap h1{
        font-size: 1.25em;
    }
    #contents .top .text-box h2{
        font-size: 1.15em;
    }
    #contents .sec .text-box h2 {
        font-size: .9em;
    }
    #contents .sec .text-box h3,
    #contents .sec.last .text h3{
        font-size: 1.05em;
    }
    #contents .sec .text-box p {
        font-size: .9rem;
    }
}