@charset "UTF-8";
/*******************************

community.Css

*******************************/

/*-----------------------------
maintxt
-----------------------------*/
.sec-society {
    margin: 100px 0;
}

.wrap-common {
    position: relative;
    margin-bottom: 120px;
}

.sec-ttl {
    margin-bottom: 40px;
}

.sec-society .txt {
    font-size: 134%;
    letter-spacing: .02em;
    line-height: 2;
    text-align: center;
    margin: 80px 0;
}

/*==== mobile スマフォ横〜用css ===*/
@media screen and (max-width: 768px) {
    .sec-society {
        margin: 60px 0;
    }

    .wrap-common {
        margin-bottom: 80px;
    }

    .sec-society .txt {
        font-size: 120%;
        text-align: left;
        margin: 40px 0;
    }
}

/*==== mobile スマフォ縦用css ===*/
@media screen and (max-width: 480px) {
    .sec-society {
        margin: 30px 0;
    }

    .wrap-common {
        margin-bottom: 50px;
    }
}



/*-----------------------------
photo
-----------------------------*/
.sec-society .photoWrap {
    position: relative;
    margin-bottom: 200px;
}

.waku {
    position: relative;
}

.waku::before {
    position: absolute;
    top: 0px;
    left: 0;
    width: 100%;
    height: 100%;
    border: 1px solid #007ae4;
    content: '';
    -webkit-transform: skew(45deg) rotate(0deg);
    transform: skew(45deg) rotate(0deg);
}

.waku2 {
    position: relative;
}

.waku2::before {
    position: absolute;
    top: 0px;
    left: 0;
    width: 100%;
    height: 100%;
    border: 1px solid #007ae4;
    content: '';
    -webkit-transform: skew(-45deg) rotate(0deg);
    transform: skew(-45deg) rotate(0deg);
}

.sec-society .photoWrap.photo01 {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
    -ms-flex-direction: row-reverse;
    flex-direction: row-reverse;
}

.sec-society .photoWrap.photo01 .txt-wrap {
    margin-right: -130px;
    padding-right: 130px;
    width: 70%;
}

.sec-society .photoWrap.photo02 .txt-wrap {
    margin-left: -130px;
    padding-left: 130px;
    width: 70%;
}


.sec-society .photoWrap .txt-wrap dl {
    max-width: 480px;
    padding: 50px 0;
    text-align: left;
}

.sec-society .photoWrap.photo01 .txt-wrap dl {
    margin: 0 0 0 150px;
}

.sec-society .photoWrap.photo02 .txt-wrap dl {
    margin: 0 auto;
}

.sec-society .photoWrap .txt-wrap dt {
    border-left: 5px solid #007ae4;
    color: #007ae4;
    font-size: 160%;
    padding-left: 15px;
    margin-bottom: 20px;
}

.sec-society .photoWrap .txt-wrap dd {
    line-height: 2;
}

.sec-society .photoWrap.photo01 figure {
    width: 60%;
    text-align: left;
    position: absolute;
    left: 0;
    bottom: -50px;
}

.sec-society .photoWrap.photo02 figure {
    width: 60%;
    text-align: right;
    position: absolute;
    right: 0;
    bottom: -50px;
}

/*==== tablet タブレット用css ===*/
@media screen and (max-width: 1024px) {
    .sec-society .photoWrap.photo01 .txt-wrap {
        width: 90%;
    }
    .sec-society .photoWrap.photo02 .txt-wrap {
        width: 90%;
    }

    .sec-society .photoWrap.photo01 .txt-wrap dl {
        margin: 0 10px 0 0;
        float: right;
    }

    .sec-society .photoWrap.photo02 .txt-wrap dl {
        margin: 0 0 0 20px;
    }

    .sec-society .photoWrap .txt-wrap dl {
        max-width: 70%;
    }

    .sec-society .photoWrap.photo01 figure {
        bottom: -100px;
    }

    .sec-society .photoWrap.photo02 figure {
        bottom: -100px;
    }
}

/*==== mobile スマフォ横〜用css ===*/
@media screen and (max-width: 768px) {

    .sec-society .photoWrap {
        margin-bottom: 50px;
    }

    .waku::before {
        border: none;
        -webkit-transform: skew(0deg) rotate(0deg);
        transform: skew(0deg) rotate(0deg);
    }

    .waku2::before {
        border: none;
        -webkit-transform: skew(0deg) rotate(0deg);
        transform: skew(0deg) rotate(0deg);
    }

    .sec-society .photoWrap.photo01 .txt-wrap {
        margin: 0 auto;
        padding: 0;
        width: 90%;
    }

    .sec-society .photoWrap.photo02 .txt-wrap {
        margin: 0 auto;
        padding: 0;
        width: 90%;
    }

    .sec-society .photoWrap .txt-wrap dl {
        max-width: 100%;
        padding: 20px 0;
    }

    .sec-society .photoWrap.photo01 .txt-wrap dl {
        margin: 0;
    }
    .sec-society .photoWrap.photo02 .txt-wrap dl {
        margin: 0;
    }

    .sec-society .photoWrap.photo01 figure {
        width: 100%;
        position: relative;
        left: 0;
        bottom: auto;
    }
    .sec-society .photoWrap.photo02 figure {
        width: 100%;
        position: relative;
        left: 0;
        bottom: auto;
    }
}
