@charset "utf-8";

* {
    margin: 0;
    padding: 0;
}

html {
    font-family: "Droid Sans", "メイリオ", Meiryo, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "MS Ｐゴシック", sans-serif;
}

/* ---------------header---------------*/


header {
    height: 700px;
    width: auto;
    /* background-color: gray; */
    /* position: fixed; */
    top: 0;
    left: 0;
    max-width: 100%;
    background-image: url(img/fv-bgi_01@2x.jpg);
    background-size: cover;
    background-position: center;
    color: white;
}

.container1 {
    display: flex;
    justify-content: space-between;
    z-index: 999;
    width: 80%;
    margin: 0 auto;
}

.container1-left {
    width: 170px;
}

.container1 img {
    width: 100%;
    aspect-ratio: auto;
}

.container1 ul {
    display: flex;
    list-style: none;
    margin-top: 30px;
}

.container1 li {
    margin-left: 25px;
}

.container1 a {
    text-decoration: none;
    color: white;
}

@media screen and (min-width:1280px) {
    .container1-right a:hover {
        transition: .5s all;
        opacity: 0.7;
    }

}


.hamburger-menu {
    display: none;
}

.title {
    width: 60%;
    position: relative;
    top: 250px;
    left: 17%;
}

.title h1 {
    font-size: 50px;
}

.title p {
    font-size: 30px;
    margin-left: 45px;
}

.title-br {
    display: none;
}

/* ----------------------------------------- */

/* -------------concept--------------------- */

.concept,
.service {
    height: 800px;
}

.container2,
.container3,
.service-title,
.container4 {
    width: 60%;
    margin: 0 auto;
    padding-top: 70px;
}

.container2 h1 {
    font-size: 50px;
}

.container2 h2 {
    font-size: 70px;
    font-weight: bold;
    color: rgb(219, 219, 219);
    text-align: right;
    margin-top: 60px;
    margin-right: 30px;
    opacity: 0.1;
}

.concept-title {
    align-items: center;
    display: flex;
    font-weight: 100;
}

.concept-title::after {
    background-color: black;
    /* 横線の色 */
    content: "";
    height: 3px;
    /* 横線の高さ */
    width: 190px;
    /* 横線の長さ */
}

.concept-title::after {
    margin-left: 40px;
    /* 文字との余白 */
}

.thought {
    text-align: center;
    font-size: 20px;
    margin: 40px 0 100px 0;
}

.responsive-br {
    display: none;
}

.explanation {
    display: flex;
}

.explanation-text {
    width: 40%;
    margin-top: 30px;
    margin-right: 100px;
    text-align: justify;
}

.explanation-img {
    width: 40%;
    height: auto;
}

/* --------------------------------------- */

/* -----------works---------------- */

.works {
    height: 800px;
    background-image: url(img/works-bgi@2x.jpg);
    background-size: cover;
    background-position: center;
}

.works-title {
    align-items: center;
    display: flex;
    font-weight: 100;
    color: white;
}

.works-title::after {
    background-color: white;
    /* 横線の色 */
    content: "";
    height: 3px;
    /* 横線の高さ */
    width: 150px;
    /* 横線の長さ */
}

.works-title::after {
    margin-left: 40px;
    /* 文字との余白 */
}


.container3 h1,
.container4 h1 {
    font-size: 50px;
    padding-left: 56%;
}

.container3 h2,
.container4 h2 {
    font-size: 70px;
    font-weight: bold;
    color: rgb(219, 219, 219);
    text-align: left;
    margin-top: 40px;
    opacity: 0.1;
}

.view {
    display: flex;
    width: 80%;
    flex-direction: row;
    justify-content: space-between;
    margin: 60px auto 0;
}

.unit {
    width: 33%;
    font-size: small;
    background-color: white;
}

.unit p {
    text-align: justify;
    width: 80%;
    padding: 10px 10% 25px;
}

.unit img {
    width: 100%;
}

#center {
    margin: 0 10px;
}

.box {
    display: inline-block;
    width: 20%;
    height: 40px;
    background-color: rgb(255, 214, 30);
    border-radius: 100px;
    text-align: center;
    padding-top: 15px;
    margin: 50px 40% 0;
    text-decoration: none;
    color: black;
    transition: .5s all;
}

/* --------------------------------------- */

/* -----------service---------------- */

.service-title {
    align-items: center;
    display: flex;
    font-weight: 100;
    color: black;
    font-size: 50px;
}

.service-title::after {
    background-color: black;
    /* 横線の色 */
    content: "";
    height: 3px;
    /* 横線の高さ */
    width: 150px;
    /* 横線の長さ */
}

.service-title::after {
    margin-left: 40px;
    /* 文字との余白 */
}

.service-view {
    width: 100%;
    display: flex;
    padding-top: 60px;
    text-align: center;
    align-items: center;
    justify-content: space-between;
}

@media screen and (min-width:1280px) {
    .service-view a:hover {
        opacity: .5;
    }

}

.service-unit {
    display: flex;
    align-items: center;
    width: calc(100%/3);
    height: 320px;
    text-decoration: none;
}

.service-unit:first-child {
    background-image: url(img/service-img01@2x.jpg);
}

.service-unit:nth-child(2) {
    background-image: url(img/service-img02@2x.jpg);
}

.service-unit:nth-child(3) {
    background-image: url(img/service-img03@2x.jpg);
}

/* .service-unit img {
    width: 100%;
} */

.service-unit p {
    width: fit-content;
    margin: 0 auto;
    font-size: 40px;
    color: white;
}

.service h2 {
    font-size: 70px;
    font-weight: bold;
    color: rgb(219, 219, 219);
    text-align: right;
    margin-top: 60px;
    margin: 0 auto;
    width: 60%;
    opacity: 0.1;
}

/* --------------------------------------- */

/* ----------------contact---------------- */

.contact {
    height: 590px;
    background-image: url(img/contact-bgi@2x.jpg);
    background-size: cover;
    background-position: center;
}

.contact-title {
    align-items: center;
    display: flex;
    font-weight: 100;
    color: white;
    font-size: 50px;
    text-align: right;
}

.contact-title::after {
    background-color: white;
    /* 横線の色 */
    content: "";
    height: 3px;
    /* 横線の高さ */
    width: 150px;
    /* 横線の長さ */
}

.contact-title::after {
    margin-left: 40px;
    /* 文字との余白 */
}

.container4 p {
    text-align: center;
    font-size: 20px;
    color: white;
    margin-top: 60px;
}

/* --------------------------------------- */

/* -----------------footer---------------- */

footer {
    height: 60px;
}

footer p {
    font-size: 10%;
    text-align: center;
    padding: 2% 0;
}

/* --------------------------------------- */


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

    .container2,
    .container3,
    .service-title,
    .container4 {
        width: 70%;
    }

    /* -----------header----------- */
    .container1-left {
        width: 160px;
        margin-top: 10px;
    }

    /* -----------concept---------- */
    .explanation-text {
        width: 100%;
        margin-top: 30px;
        margin-right: 70px;
        text-align: justify;
    }

    .explanation-img {
        width: 45%;
        object-fit: cover;
    }

    /* -----------works------------ */

    .view {
        width: 100%;
    }
}

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

    /* ---------------------ハンバーガーボタン ------------------------*/
    .hamburger-menu {
        display: inline-block;
    }

    .menu-btn {
        position: relative;
        top: 13px;
        right: -100px;
        display: flex;
        height: 60px;
        width: 60px;
        justify-content: center;
        align-items: center;
        z-index: 90;
    }

    .menu-btn span,
    .menu-btn span:before,
    .menu-btn span:after {
        content: '';
        display: block;
        height: 3px;
        width: 25px;
        border-radius: 3px;
        background-color: #ffffff;
        position: absolute;
    }

    .menu-btn span:before {
        bottom: 8px;
    }

    .menu-btn span:after {
        top: 8px;
    }

    #menu-btn-check:checked~.menu-btn span {
        background-color: rgba(255, 255, 255, 0);
        /*メニューオープン時は真ん中の線を透明にする*/
    }

    #menu-btn-check:checked~.menu-btn span::before {
        bottom: 0;
        transform: rotate(45deg);
    }

    #menu-btn-check:checked~.menu-btn span::after {
        top: 0;
        transform: rotate(-45deg);
    }

    #menu-btn-check {
        display: none;
    }

    .menu-content {
        width: 100%;
        height: 100%;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 80;
    }

    .menu-content ul {
        text-align: center;
        position: relative;
        top: 40%;
        left: 8px;
        line-height: 3em;
    }

    .menu-content ul li {
        /* border-bottom: solid 1px #ffffff; */
        list-style: none;
    }

    .menu-content ul li a {
        display: block;
        width: 100%;
        font-size: 15px;
        box-sizing: border-box;
        color: white;
        text-decoration: none;
        padding: 9px 15px 10px 0;
        position: relative;
    }

    .menu-content {
        width: 100%;
        height: 100%;
        position: fixed;
        top: 0;
        left: 100%;
        /*leftの値を変更してメニューを画面外へ*/
        z-index: 80;
        background-color: #282F35;
        transition: all 0.5s;
        /*アニメーション設定*/
    }

    #menu-btn-check:checked~.menu-content {
        left: 0;
        /*メニューを画面内へ*/
    }

    /* ------------------------------------------------------------ */

    .container1 h2 {
        margin: 20px 0 20px 65px;
        font-size: 30px;
    }

    .container1-right {
        display: none;
    }

    .title {
        width: 95%;
        top: 200px;
        left: 2%;
    }

    .title h1 {
        font-size: 34px;
        width: 100%;
        font-weight: bold;
        margin: 0 auto;
        text-align: center;
    }

    .title p {
        width: 100%;
        font-size: 23px;
        /* margin-left: 50px; */
        margin-top: 50px;
        margin-left: 0;
        text-align: center;
        font-weight: bold;
        line-height: 2em;
    }

    .title-br {
        display: block;
    }

    /* ----------------------------------------- */

    /* -------------concept--------------------- */

    .concept {
        height: 760px;
    }

    .service {
        height: 800px;
    }

    .container2,
    .container3,
    .service-title,
    .container4 {
        width: 94%;
    }

    .container2 h1 {
        font-size: 25px;
    }

    .container2 h2 {
        width: 85%;
        font-size: 35px;
        margin-right: 0;
    }

    .concept-title::after {
        width: 80px;
        /* 横線の長さ */
    }

    .thought {
        margin-bottom: 0;
        width: 100%;
    }

    .pc-br {
        display: none;
    }

    .responsive-br {
        display: block;
    }

    .explanation {
        flex-flow: column;
    }

    .explanation-text {
        width: 100%;
        margin-right: 0;
    }

    .explanation-img {
        width: 100%;
    }

    /* --------------------------------------- */

    /* -----------works---------------- */

    .works {
        height: 1410px;
    }

    .works-title::after {
        width: 68px;
        /* 横線の長さ */
    }



    .container3 h1 {
        font-size: 25px;
        padding-left: 37%;
        display: inline-flex;
    }

    .container4 h1 {
        font-size: 25px;
        padding-left: 30%;
        display: inline-flex;
    }

    .container3 h2,
    .container4 h2 {
        width: 85%;
        font-size: 35px;
        margin-top: 30px;
        margin-left: 5px;
    }

    .view {
        flex-direction: column;
        width: 100%;
        margin-left: 0;
    }

    .unit {
        width: 95%;
        margin: 0 auto 25px;
    }

    #center {
        margin: 0 10px 25px;
    }

    .box {
        width: 55%;
        margin: 50px 23% 0;
        text-decoration: none;
    }

    /* --------------------------------------- */

    /* -----------service---------------- */

    .service {
        height: 1200px;
    }

    .service-title {
        display: inline-flex;
        font-size: 25px;
        margin-left: 10px;
    }

    .service-title::after {
        width: 68px;
        /* 横線の長さ */
    }

    .service-view {
        flex-direction: column;
    }

    .service-unit {
        width: 100%;
    }

    .service-unit p {
        top: -160px;
        right: -135px;
        font-size: 30px;
        display: inline;
    }

    .service h2 {
        width: 85%;
        font-size: 35px;
        position: relative;
        right: 15px;
        top: -25px;
    }

    /* --------------------------------------- */

    /* ----------------contact---------------- */

    .contact {
        height: 450px;
    }

    .contact-title {
        font-size: 25px;
    }

    .contact-title::after {
        width: 110px;
        /* 横線の長さ */
    }

    .container4 p {
        margin-left: 75px;
        display: inline-block;
    }

    /* --------------------------------------- */

    /* -----------------footer---------------- */

    footer p {
        font-size: 15px;
        display: inline-block;
        margin: 12px 0 0 165px;
    }

    /* --------------------------------------- */
}

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

    /* ---------------header---------------*/
    .container1 {
        width: 90%;
        left: 0;
    }

    .container1 ul {
        flex-direction: column;
        margin-top: 0;
    }

    /* ---------------------ハンバーガーボタン ------------------------*/
    .menu-btn {
        right: -10px;
    }

    .menu-content ul {
        top: 27%;
        left: 0;
        line-height: 3em;
    }

    /* -------------concept------------- */
    .explanation-text {
        width: 90%;
        margin: 50px auto;
    }
}

@media screen and (max-width:390px) {
    .container1-left {
        width: 145px;
    }

    /* ---------------------ハンバーガーボタン ------------------------*/
    .menu-btn {
        top: 6px;
    }
}