@font-face { font-family: 'NIS_SMS5N2'; src: url(../font/NIS_SMS5N.woff2);}
@font-face { font-family: 'NIS_SMS5N'; src: url(../font/NIS_SMS5N.woff);}

#why_wrap{
    display: flex;
    flex-direction: row;
}
#why_wrap .content{
    width: calc(100% - 590px);
    min-width: 600px;
    padding: 0 20px;
    position: relative;
    z-index: 1;
    background: #fff;
}
#why_wrap .content > *{
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}
#why_wrap .img{
    width: 590px;
    height: 100vh;
    position: fixed;
    top: 0;
    right: 0;
    z-index: -1;
}
#why_wrap .img .slide{
    width: 100%;
    height: 100%;
}
#why{
    margin: 0 0 100px;
}
#why h2{
    margin: 60px 0 40px;
    font-size: 3.2rem;
}
#why h2 small{
    font-size: 1.4rem;
    font-family: sans-serif;
}
#why p{
    font-size: 1.6rem;
    line-height: 2;
}
#why dl.why_list{
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid #ddd;
}
#why dl.why_list dt{
    padding: 20px 60px 20px 40px;
    border-top: 1px solid #ddd;
    position: relative;
    font-size: 3rem;
    font-family: NIS_SMS5N2,NIS_SMS5N;
    cursor: pointer;
}
#why dl.why_list dt::before{
    content: attr(title);
    font-size: 1.4rem;
    text-align: center;
    line-height: 20px;
    width: 20px;
    height: 20px;
    margin-top: -10px;
    display: block;
    position: absolute;
    top: 50%;
    left: 0;
}
#why dl.why_list dt::after{
    content: "\f067";
    font-family: "font awesome 5 free";
    font-weight: 600;
    font-size: 1rem;
    color: #666;
    line-height: 20px;
    text-align: center;
    width: 20px;
    height: 20px;
    margin-top: -10px;
    display: block;
    background: #eee;
    position: absolute;
    top: 50%;
    right: 20px;
}
#why dl.why_list dt.active::after{ content: "\f068";}
#why dl.why_list dd{
    margin: 0;
    padding: 0 0 40px;
    display: none;
}
#why .link{
    margin: 40px 0 0;
}
#why .link a{
    display: block;
    padding: 16px 50px 16px 30px;
    display: inline-block;
    background: #eee;
    text-decoration: none;
    color: #333;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.2rem;
    transition: background 0.2s ease;
    position: relative;
}
#why .link a::after{
    content: "\f0da";
    font-family: "font awesome 5 free";
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0;
    color: #fff;
    text-align: center;
    line-height: 16px;
    width: 16px;
    height: 16px;
    margin-top: -8px;
    display: block;
    background: #af1e2b;
    position: absolute;
    right: 10px;
    top: 50%;
}
#why02{
    background: #fff;
}
#why02 .greeting{
    padding: 100px 0 60px;
    text-align: center;
}
#why02 .greeting h2{
    font-size: 3.6rem;
}
#why02 .greeting h2 + p{
    font-size: 1.6rem;
    line-height: 2;
}
#why02 .greeting p.caption{
    margin: 0 0 60px;
    position: relative;
}
#why02 .greeting p.caption::before{
    content: "";
    width: 100%;
    height: 1px;
    background: #ddd;
    display: block;
    position: absolute;
    top: 50%;
    left: 0;
}
#why02 .greeting p.caption span{
    padding: 0 30px;
    display: inline-block;
    background: #fff;
    position: relative;
    z-index: 1;
    font-size: 1.6rem;
    letter-spacing: 0.2rem;
    text-indent: 0.2rem;
}
#why02 .set{
    width: 100%;
    padding: 60px 0;
    display: flex;
}
#why02 .set .ttl{
    width: 300px;
    padding-right: 40px;
}
#why02 .set .ttl h3{
    margin: 0;
    font-size: 2.4rem;
}
#why02 .set .ttl h3 + p{
    margin-top: 10px;
    color: #666;
    font-size: 1.2rem;
    letter-spacing: 0.1rem;
}
#why02 .set .detail{
    flex: 1;
}
#why02 .set .detail dl{
    margin: 0;
}
#why02 .set .detail dl dt h4{
    margin: 0;
    font-size: 3.2rem;
}
#why02 .set .detail dl dd{
    margin: 40px 0 0;
}
#why02 .set .detail dl dd p{
    font-size: 1.6rem;
    line-height: 2;
    text-align: justify;
}

@media (pointer: fine) {
    #why dl.why_list dt:hover span{
        opacity: 0.6;
    }
    #why dl.why_list dt:hover::after{
        background: #af1e2b;
        color: #fff;
    }
    #why .link a:hover{
        background: #ddd;
    }
}

@media screen and (max-width: 1024px){
    #why_wrap{
        flex-direction: column;
    }
    #why_wrap .content{
        width: 100%;
        min-width: inherit;
    }
    #why_wrap .img{
        width: 100%;
        height: 120vw;
        position: relative;
    }
    #why{
        margin: 0 0 60px;
    }
    #why h2{
        margin: 60px 0 40px;
        font-size: 2.4rem;
    }
    #why h2 small{
        font-size: 1.2rem;
    }
    #why p{
        font-size: 1.4rem;
        text-align: justify;
    }
    #why dl.why_list dt{
        padding: 20px 40px 20px 30px;
        font-size: 2rem;
    }
    #why dl.why_list dt::after{
        right: 0;
    }
    
}
@media screen and (max-width: 767.98px){
    #why02 .greeting{
        padding: 60px 0;
        text-align: left;
    }
    #why02 .greeting h2{
        font-size: 3.6rem;
    }
    #why02 .greeting h2 + p{
        font-size: 1.4rem;
    }
    #why02 .greeting p.caption{
        margin: 0 0 40px;
    }
    #why02 .greeting p.caption span{
        padding: 0 30px 0 0;
    }
    #why02 .set{
        padding: 40px 0;
        flex-direction: column;
    }
    #why02 .set .ttl{
        width: 100%;
        padding-right: 0;
    }
    #why02 .set .ttl h3{
        font-size: 1.6rem;
    }
    #why02 .set .detail{
        margin: 10px 0 0;
    }
    #why02 .set .detail dl dt h4{
        font-size: 2rem;
    }
    #why02 .set .detail dl dd p{
        font-size: 1.4rem;
    }
}
