@charset "UTF-8";

.module .box{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.module .box .text_box{
    width: 540px;
    padding-right: 100px;
    padding-top: 100px;
    position: relative;
}
.module:nth-child(2n-1) .box .img{
    order: 1;
}
.module:nth-child(2n-1) .box .text_box{
    padding-right: 0;
    padding-left: 100px;
}
.module .box .title{
    font-size: 2.4rem;
    line-height: 1.17;
    font-weight: 500;
    position: absolute;
    top:0;
    left: 0;
    writing-mode: vertical-rl;
}
.module:nth-child(2n-1) .box .title{
    left: 90px;

}
.module .box .text{
    width: 350px;
    margin: 0 0 85px auto;
}
.module .btn{

    max-width: 200px;
    width: 100%;
    margin: 0 auto 0 175px;
}
.module .btn a{
    border: 1px solid #333333;
    font-size: 1.6rem;
    padding: 10px 10px;
    text-decoration: none;display: block;
    position: relative;
    transition: .3s ease-in-out;

}
.module .btn a:hover {
    background: #333333;
    color: #fff;
    cursor: pointer;
    text-decoration: none;
}

.module .box img {
    width: 445px;
    height: 350px;
}

@media screen and (max-width: 960px) {

    .module .box {
        display: block;
    }
    .module .box .img{
        text-align: center;
        margin: 0 auto 30px;
    }
    .module:nth-child(2n-1) .box .text_box,
    .module .box .text_box{
        width: 100%;
        padding: 0;
        margin: 0 auto;
    }
    .module .box .text {
        width: 100%;
        padding: 0;
        margin: 0 auto 50px;
    }
    .module .btn{
        margin: 0 auto;
    }
    .module:nth-child(2n-1) .box .title,
    .module .box .title {
        font-size: 2rem;
        margin-bottom: 20px;
        position: initial;
        top: auto;
        left: auto;
        writing-mode: initial;
    }
}