@charset "utf-8";
/* CSS Document */
.kawara1 {
    position: absolute;
    top: 70px;
    right: 0;
    width: 30%;
}
@media(max-width: 1200px) {
    .kawara1 {
        width: 40%;
        top: 80px;
    }
}
@media(max-width: 600px) {
    .kawara1 {
        width: 50%;
        top: 60px;
    }
}
.slogan {
    position: absolute;
    -ms-writing-mode: vertical-rl;
    -webkit-writing-mode: vertical-rl;
    writing-mode: vertical-rl;
    top: 100px;
    left: calc(50% - 20%);
}
.slogan p {
    display: inline;
    background: linear-gradient(transparent 0%, rgba(255, 255, 255, 0.8) 0%);
    padding: 10px 5px;
    font-size: clamp(20px, 1.667vw, 30px);
    font-weight: 700;
    line-height: 2.2;
    letter-spacing: 0.15em;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
    vertical-align: top;
}
@media(max-width: 1200px) {
    .slogan {
        top: 8.5vw;
        left: calc(50% - 43%);
    }
}
@media(max-width: 450px) {
    .slogan {
        top: 13vw;
        left: calc(50% - 43%);
    }
    .slogan p {
        line-height: 2.0em;
    }
}
.slider {
    position: relative;
    z-index: -1;
    height: 78vh;
    margin-top: 10.5vw;
    margin-left: 21.88vw;
}
.slider-item01 {
    background: url("../images/top_img_0948.jpg");
}
.slider-item02 {
    background: url("../images/top_img_1122.jpg");
}
.slider-item03 {
    background: url("../images/top_img_1257.jpg");
}
.slider-item {
    width: 100%;
    height: 78vh;
    background-repeat: no-repeat;
    background-position: top;
    background-size: cover;
}
@media(max-width: 1200px) {
    .slider {
        height: 60vh;
        margin-top: 8vw;
        margin-left: 0;
    }
    .slider-item {
        height: 60vh;
    }
}
@media(max-width: 600px) {
    .slider {
        height: 40vh;
        margin-top: 8vw;
        margin-left: 0;
    }
    .slider-item {
        height: 40vh;
    }
}
.about {
    margin: 150px 0 270px 21.88vw;
}
.about h2, .about h3, .about p, .about a {
    -ms-writing-mode: tb-rl;
    -webkit-writing-mode: vertical-rl;
    writing-mode: vertical-rl;
}
.about1 h2, .about2 h3 {
    letter-spacing: 0.15em;
    text-indent: -1em;
}
.about1, .about2 {
    display: flex;
}
.about1_img {
    width: 36.46vw;
    height: 36.46vw;
    background-image: url("../images/about_0992@0.5x.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
.about1 p {
    margin: 0 3.65vw 0 8.85vw;
    line-height: 3.5rem;
    text-indent: 1em;
}
.about2 {
    position: relative;
    margin-top: 100px;
}
.about2_img {
    width: 36.46vw;
    height: 46.3vh;
    background-image: url("../images/about_1028@0.5x.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    margin: 0 0 0 auto;
}
.about h3 {
    line-height: 4.5rem;
}
.about2 p {
    height: 400px;
    margin: 0 3.65vw 0 7vw;
    line-height: 3.5rem;
    text-indent: 1em;
}
.btn_inner {
    position: absolute;
    bottom: 0;
}
.about a {
    width: 30px;
    height: 200px;
    border: solid 1px #5D92B1;
    font-size: 1.6rem;
    text-align: center;
    position: relative;
    color: #5D92B1;
    display: block;
    line-height: 30px
}
.about a::after {
    content: "";
    width: 1px;
    height: 70px;
    background: #5D92B1;
    position: absolute;
    top: -30%;
    left: 50%;
}
@media(max-width: 1200px) {
    .about {
        padding-left: 6vw;
        margin: 100px auto 150px;
    }
    .about1_img {
        width: 40vw;
        height: 40vw;
    }
    .about1 p {
        margin: 0 3.65vw 0 8.85vw;
        line-height: 3.5rem;
        text-indent: 1em;
    }
    .about2_img {
        width: 40vw;
        height: 36vh;
    }
    .about2 p {
        height: 350px;
        margin: 0 3.65vw 0 8vw;
        line-height: 3.5rem;
        text-indent: 1em;
    }
}
@media(max-width: 600px) {
    .about {
        width: 90%;
        margin: 80px auto 100px;
        padding-left: 0;
    }
    .about1 p {
        line-height: 3.5rem;
        margin: 0 10vw 0 13vw;
    }
    .about1_img, .about2_img {
        display: none;
    }
    .about1_img_sp {
        display: block;
        width: 100%;
        height: 300px;
        background-image: url("../images/about_0992@0.5x.jpg");
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
        margin-top: 20px;
    }
    .about h3 {
        line-height: 3.5rem;
    }
    .about2 {
        justify-content: flex-end;
    }
    .about2 p {
        height: 420px;
        line-height: 3.5rem;
    }
    .btn_inner {
        left: 3vw;
    }
}
#services {
    width: 100vw;
    background-color: #B5C7D1;
    padding: 180px 0 130px;
}
.services_inner {
    position: relative;
    margin-left: 21.88vw;
}
.kawara2 {
    position: absolute;
    top: -290px;
    left: 0;
    width: 30vw;
}
.services_inner h2 {
    margin-bottom: 50px;
}
.services_inner p {
    width: 60vw;
    max-width: 800px;
    text-align: justify;
}
.wrapper {
    width: 100%;
    margin: 30px 0;
}
.tab {
    display: flex;
    flex-wrap: wrap;
}
.tab li a {
    display: block;
    background: #B5C7D1;
    text-align: center;
    margin: 0 2px;
    width: 190px;
    height: 60px;
    line-height: 60px;
    border: 1px solid #666;
    color: #666;
}
.tab li.active a {
    background: #5D92B1;
    width: 190px;
    height: 60px;
    color: #FFF;
    border: none;
}
.area {
    display: none;
    opacity: 0;
    background: #B5C7D1;
    padding-top: 50px;
}
.area.is-active {
    display: inline-flex;
    animation-name: displayAnime;
    animation-duration: 2s;
    animation-fill-mode: forwards;
}
@keyframes displayAnime {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
.area img {
    width: 25vw;
    height: auto;
}
.area span {
    display: block;
    margin-bottom: 15px;
}
.area p {
    margin-left: 3%;
}
.area a {
    font-size: clamp(14px, 1.0vw, 16px);
    color: #2C5169;
}
@media(max-width: 1200px) {
    #services {
        padding: 100px 0 100px;
    }
    .services_inner {
        width: 90%;
        margin: 0 auto;
    }
    .services_inner h2 {
        margin-bottom: 30px;
    }
    .services_inner p {
        width: 90%;
    }
    .kawara2 {
        top: -150px;
        width: 40vw;
    }
    .wrapper {
        display: flex;
        margin: 3% 0;
    }
    .tab {
        display: block;
    }
    .tab li a {
        margin: 0 2px 4px;
        font-size: clamp(16px, 1.2vw, 20px);
    }
    .tab li.active a {
        font-size: clamp(16px, 1.2vw, 20px);
    }
    .area {
        padding: 0 0 0 5%;
    }
    .area.is-active {
        display: block;
    }
    .area img {
        width: 40vw;
        height: auto;
    }
    .area span {
        margin-bottom: 0;
    }
}
@media(max-width: 600px) {
    #services {
        padding: 70px 0;
    }
    .services_inner h2 {
        margin-bottom: 30px;
    }
    .services_inner p {
        width: 100%;
        margin-bottom: 20px;
    }
    .kawara2 {
        top: -110px;
        width: 60%;
    }
    .wrapper {
        display: flex;
        margin: 3% 0;
    }
    .tab li a {
        margin: 5px 2px;
        width: 150px;
        height: 50px;
        line-height: 50px;
    }
    .tab li.active a {
        width: 150px;
        height: 50px;
    }
    .area img {
        width: 48vw;
        height: auto;
    }
}
#works {
    position: relative;
    padding-top: 100px;
    margin: -100px 0 0 21.88vw;
}
#works h2, #works span {
    position: relative;
    -ms-writing-mode: tb-rl;
    -webkit-writing-mode: vertical-rl;
    writing-mode: vertical-rl;
    z-index: 2;
}
#works h2 {
    text-indent: -1em;
    margin-left: 5%;
}
#works span {
    height: 300px;
    line-height: 3.5rem;
    text-align: justify;
    text-indent: 1em;
}
.kawara3 {
    position: absolute;
    width: 28vw;
    height: auto;
    top: -100px;
    right: 0;
}
.works_inner {
    display: flex;
    justify-content: flex-end;
    margin-top: 150px;
    padding-right: 10vw;
}
.slider2 {
    margin: 100px 0;
}
.slider2 img {
    width: 100%;
    height: auto;
}
.slider2 .slick-slide {
    margin: 0 5px;
}
.slider2_title {
    margin: 10px 0 5px;
    font-weight: 700;
}
@media(max-width: 1200px) {
    #works {
        padding-top: 80px;
        margin: -80px 0 0 0;
    }
    #works span {
        height: 250px;
        width: 100%;
    }
    .kawara3 {
        width: 38vw;
        top: -50px;
    }
    .works_inner {
        margin-top: 110px;
    }
    .slider2 {
        margin: 70px 0;
    }
}
@media(max-width: 600px) {
    #works {
        padding-top: 30px;
        margin: -30px 0 0;
    }
    #works h2 {
        text-indent: -1em;
        margin-left: 30px;
    }
    #works span {
        height: 320px;
        line-height: 3.0rem;
        width: 100%;
    }
    .kawara3 {
        width: 60%;
        top: -50px;
    }
    .works_inner {
        margin-top: 100px;
    }
    .slider2 {
        margin: 70px 0;
    }
}
#recruit {
    margin-left: 21.88vw;
    height: 50vh;
    background-image: url("../images/recruit_bg.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    text-align: center;
    padding-top: 90px;
    color: #FFF;
    font-size: 3.0rem;
}
#recruit h2 {
    margin-bottom: 50px;
    font-size: 3.0rem;
}
#recruit p {
    width: 50%;
    margin: 0 auto;
    text-align: left;
    font-size: 1.8rem;
    line-height: 2.6rem;
}
@media(max-width: 1200px) {
    #recruit {
        margin-left: 0;
    }
    #recruit p {
        width: 65%;
    }
}
@media(max-width: 600px) {
    #recruit p {
        width: 90%;
    }
}