@charset "UTF-8";

/*
ブレイクポイント
SP 〜519px
tab 520px ~ 959px (min-width:520px)
pc 960px~ (min-width:960px)
*/

section {
    max-width: 90%;
    margin: 0 auto 80px;
}

/*======================
mv
======================*/
.mv {
    position: relative;
    height: 80vh;
    width: 100%;
    background-image: url(../img/mv_sp.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom;
}

.mv .mv_copy {
    position: absolute;
    left: 5%;
    top: 40%;
}

.mv .mv_copy span {
    font-size: 18px;
}

.mv .mv_btn {
    position: absolute;
    left: 5%;
    top: 60%;
    display: flex;
}

.mv .mv_btn p {
    margin-right: 30px;
}

/*======================
message
======================*/
.message h3 {
    font-size: var(--size-lg);
    line-height: 1.6;
    margin-bottom: 20px;
}

.message span {
    font-size: var(--size-xxl);
}

.message .message_box {
    position: relative;
    min-height: 450px;
}

.message .message_box li:nth-of-type(1) {
    position: absolute;
    top: 0;
    left: 0;
}

.message .message_box li:nth-of-type(2) {
    position: absolute;
    top: 80px;
    left: 20%;
}

.message .message_box li:nth-of-type(3) {
    position: absolute;
    top: 160px;
    left: 0;
}

.message .message_box li:nth-of-type(4) {
    position: absolute;
    top: 240px;
    left: 20%;
}

.message .message_box li:nth-of-type(5) {
    position: absolute;
    top: 320px;
    left: 0;
}

.message .message_box li:nth-of-type(6) {
    position: absolute;
    top: 400px;
    left: 20%;
}

.message .message_box li a::before {
    content: '#';
    font-size: 20px;
}

/*======================
about
======================*/
.about h4 {
    line-height: 1.2;
    font-size: var(--size-xl);
    font-weight: normal;
    margin: 0 auto 30px;
}

.about h4 span {
    font-size: var(--size-xxl);
    font-weight: bold;
}

.about h4 i {
    font-size: var(--size-xxxl);
    font-style: normal;
    font-weight: bold;
}

.about .about_text {
    width: 100%;
    margin-bottom: 30px;
}

/*======================
service
======================*/
.service .title {
    display: block;
}

.service .service_box li {
    position: relative;
    height: 150px;
    margin-bottom: 15px;
    background: var(--bace-color);
    box-shadow: 3px 3px 3px var(--shadow-color) inset,
        -3px -3px 3px #ffffff inset;
    border-radius: 10px;
}

.service .service_box li:before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 30px;
    width: 9px;
    height: 9px;
    margin: auto;
    border-top: 2px solid var(--text-color);
    border-right: 2px solid var(--text-color);
    transform: rotate(45deg);
}

.service .service_box li a {
    display: block;
    width: 100%;
    height: 150px;
    display: flex;
    align-items: center;
}

.service .service_box li:hover {
    opacity: 0.7;
}

.service .service_box li .service_title {
    font-size: var(--size-lg);
    padding: 30px 0 5px 20px;
}

.service .service_box li .service_title img {
    display: inline;
    height: 30px;
    width: auto;
}

.service .service_box li .service_subtitle {
    font-size: var(--size-md);
    padding: 0px 0 30px 20px;
}

.service .service_box li .subtitle_img {
    display: flex;
}

.service .service_box li .subtitle_img img {
    padding-right: 15px;
    height: 15px;
    width: auto;
}



/*======================
works
======================*/
.works {
    text-align: center;
}

.works .works_inner {
    width: 80%;
    margin: 0 auto;
}

.works .works_box {
    margin-bottom: 60px;
}

.works .works_box .slick-track {
    padding-bottom: 15px;
}

.works .works_box li.works_slide-box {
    background-color: var(--bace-color);
    margin: 0 10px;
    text-align: left;
    box-shadow: 3px 3px 3px var(--shadow-color);
    border-radius: 10px;
}

.works .works_box li .works_img {
    background-color: #747474;
    width: 100%;
    height: 200px;
    border-radius: 10px 10px 0 0;
    position: relative;
    margin-bottom: 10px;
}

.works .works_box li .works_img .works_imgtext {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 10px;
    background-image: linear-gradient(transparent, #333333);
    color: #fff;
}


.works .works_box li .works_category {
    font-size: var(--size-sm);
    padding: 0.5em 1em;
    display: inline;
    background-color: #808080;
    color: #fff;
    border-radius: 10px;
    margin: 20px 1em 10px;
}

.works .works_box li .works_title {
    font-size: var(--size-md);
    margin-bottom: 2rem;
    padding: 0 10px;
}

.slick-next:before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 13px;
    width: 9px;
    height: 9px;
    margin: auto;
    border-top: 2px solid #333;
    border-right: 2px solid #333;
    transform: rotate(45deg);
}

.slick-prev:before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 11px;
    width: 9px;
    height: 9px;
    margin: auto;
    border-top: 2px solid #333;
    border-right: 2px solid #333;
    transform: rotate(225deg);
}


.slick-prev,
.slick-next {
    width: 30px;
    height: 30px;
    background: var(--bace-color);
    box-shadow: 3px 3px 3px var(--shadow-color),
        -3px -3px 3px #ffffff;
    border-radius: 50px;
    z-index: 10;
}

.slick-next {
    right: -35px;
}

.slick-prev {
    left: -35px;
}

/*======================
news
======================*/
.news {
    text-align: center;
}

.news .news_inner {
    width: 80%;
    margin: 0 auto;
}

.news .news_box {
    margin-bottom: 60px;
}

.news .news_box .slick-track {
    padding-bottom: 15px;
}

.news .news_box li.news_slide-box {
    background-color: var(--bace-color);
    margin: 0 1rem;
    text-align: left;
    box-shadow: 3px 3px 3px var(--shadow-color);
    border-radius: 1rem;
    padding-bottom: 2rem;
}

.news .news_box li .news_img {
    background-color: #747474;
    width: 100%;
    height: 200px;
    border-radius: 10px 10px 0 0;
    margin-bottom: 10px;
}

.news .news_box li .news_date {
    margin-top: 10px;
    font-size: var(--size-sm);
    padding: 0 10px;
}

.news .news_box li .news_title {
    font-size: var(--size-md);
    padding: 0 1rem;
    margin-bottom: 2rem;
}

/*======================
access
======================*/
.access .access_box {
    background: #b2b2b2;
    width: 100%;
    padding: 2em;
    background: var(--bace-color);
    box-shadow: 3px 3px 3px var(--shadow-color) inset,
        -3px -3px 3px #ffffff inset;
    border-radius: 10px;
}

.access .access_box dl {
    display: flex;
    gap: 20px;
    margin: 20px 0;
}

.access .access_box dl dt {
    width: 15%;
}

.access .access_box dl dd {
    border-left: 1px solid var(--text-color);
    padding-left: 20px;
    width: 75%;
}

/* ===============ここからmin-width:520px=============== */
@media screen and (min-width:520px) {

    .message .message_box {
        position: relative;
        min-height: 250px;
    }

    .message .message_box li:nth-of-type(1) {
        position: absolute;
        top: 10%;
        left: 0;
    }

    .message .message_box li:nth-of-type(2) {
        position: absolute;
        top: 15%;
        left: 30%;
    }

    .message .message_box li:nth-of-type(3) {
        position: absolute;
        top: 45%;
        left: 10%;
    }

    .message .message_box li:nth-of-type(4) {
        position: absolute;
        top: 50%;
        left: 40%;
    }

    .message .message_box li:nth-of-type(5) {
        position: absolute;
        top: 80%;
        left: 0;
    }

    .message .message_box li:nth-of-type(6) {
        position: absolute;
        top: 85%;
        left: 30%;
    }
}

/* ===============ここまでmin-width:520px=============== */


/* ===============ここからmin-width:960px=============== */
@media screen and (min-width:960px) {

    section {
        max-width: 1200px;
        margin: 0 auto 80px;
    }

    .mv .mv_copy span {
        font-size: 24px;
    }

    .mv .mv_copy {
        left: 10%;
    }

    .mv .mv_btn {
        left: 10%;
    }

    .about .about_text {
        width: 550px;
        margin-bottom: 30px;
    }

    .service .service_box li {
        width: 700px;
        height: 170px;
    }

    .service .service_box li a {
        width: 700px;
        height: 170px;
    }

    .service .service_box li .subtitle_img img {
        padding-right: 20px;
        height: 25px;
        width: auto;
    }

    .slick-next:before {
        right: 25px;
        width: 18px;
        height: 18px;
        margin: auto;
        border-top: 4px solid #333;
        border-right: 4px solid #333;
    }

    .slick-prev:before {
        left: 23px;
        width: 18px;
        height: 18px;
        margin: auto;
        border-top: 4px solid #333;
        border-right: 4px solid #333;
    }

    .slick-prev,
    .slick-next {
        width: 60px;
        height: 60px;
    }

    .slick-next {
        right: -70px;
    }

    .slick-prev {
        left: -70px;
    }

    .works .works_inner {
        width: 100%;
    }

    .news .news_inner {
        width: 100%;
    }

    .access .access_inner {
        width: 700px;
    }


    .access .access_inner dl dt {
        width: 80px;
    }

    .access .access_inner dl dd {
        width: 500px;
    }
}

/* ===============ここまでmin-width:960px=============== */