@charset "UTF-8";

:root{
    --main-color: #669cff;
    --sub-color: #cfe6fc;
    --text-color: #282c33;
}

body{
    font-family: "Zen Kaku Gothic New", serif;
    font-size: 16px;
    letter-spacing: 0.1em;
    line-height: 1.5;
    background-color: #fafafa;
    color: var(--text-color);
}

img{
    width: 100%;
    height: auto;
}

input {
    appearance: revert;
}


/* レイアウト */
.container{
    max-width: 1170px;
    padding: 0 50px;
    margin: 0 auto;
}

.content{
    display: grid;
    row-gap: 100px;
    margin: 100px auto;
}


/* セクションタイトル */
.section__heading{
    margin-bottom: 50px;
    display: flex;
    align-items: baseline;
    width: 60%;
    border-bottom: #282c33 2px solid;
    padding-bottom: 20px;
}

.section__title{
    font-size: 50px;
    font-weight: bold;
    margin-right: 10px;
}

.section__subtitle{
    font-size: 20px;
    font-weight: bold;
}

/* ボタン */
.btn{
    display: inline-block;
    border: var(--main-color) 3px solid;
    color: var(--main-color);
    width: 300px;
    font-size: 18px;
    font-weight: 500;
    text-align: center;
    padding: 24px 0;
    border-radius: 50px;
    margin: 50px 0;
}

.btn:hover{
    transition: 0.5s;
    background-color: var(--main-color);
    color: #fff;
}

.home-btn > .btn{
    margin: 0;
}

.home-btn{
    text-align: center;
}

/* ヘッダー */
.header{
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 20px;
    align-items: center;
    position: fixed;
    top: 0;
    z-index: 1;
}

.gnav{
    display: block;
}

.gnav__list{
    display: flex;
    column-gap: 20px;
}

.header__logo{
    font-size: 20px;
    font-weight: 500;
}

.gnav__item{
    font-size: 15px;
    font-weight: 500;
}

.gnav__link{
    position: relative;
}

.gnav__link::after{
    content: "";
    display: block;
    height: 2px;
    width: 90%;
    background-color: var(--main-color);
    position: absolute;
    left: 5%;
    bottom: 10;
    transform: scale(0,1);
    transition: 0.5s;
}

.gnav__link:hover{
    color: var(--main-color);
}

.gnav__link:hover::after{
    transform: scale(1,1);
}

.btn-menu{
    display: none;
}

.header__sub{
    background-color: var(--sub-color);
}


/* MV */
.mv{
    background-image: url(images/mv.jpg);
    background-repeat: no-repeat;
    background-position: top;
    background-size: cover;
}

.mv__titleArea{
    height: 650px;
    display: flex;
    align-items: center;
    max-width: 1280px;
    padding: 0 60px;
    margin: 0 auto;
    color: #fafafa;
    font-weight: bold;
    text-shadow: 3px 3px 8px #9c9c9c;
}

.mv__title{
    font-family: "Oooh Baby", serif;
    font-size: clamp(100px,11vw,130px);
    letter-spacing: 1px;
    line-height: 1;
}

.mv__subtitle{
   font-family: "Oooh Baby", serif;
    font-size: 30px;
    letter-spacing: 1px;
    padding-left: 20px;
}

/* WORKS */
.works__list{
    display: grid;
    column-gap: 30px;
    grid-template-columns: 1fr 1fr 1fr;
}

.works__item{
    margin-bottom: 30px;
}

.works__item:hover{
    opacity: 0.7;
    transition: 0.5s;
}

.works__text{
    margin-top: 15px;
}

.works__title{
    font-weight: bold;
}

.works__subtitle{
    font-size: 13px;
    color: var(--main-color);
}

.works__link{
    text-align: center;
}


/* ABOUT */
#about{
    background-color: var(--sub-color);
    padding: 50px;
}

.about__wrapper{
    display: flex;
    justify-content: space-between;
    align-items: center;
    column-gap: 50px;
}

.about__img-wrapper{
    flex: 0 1 35%;
}

.about__inner{
    flex: 1;
}

.about__name{
    font-size: 30px;
    font-weight: 500;
}

.about__text{
    padding: 40px 0;
}

.about__link{
    text-align: center;
}

/* CONTACT */
.contact__wrapper{
    text-align: center;
}

/* フッター */
.footer{
    background-color: var(--sub-color);
    padding: 50px;
    text-align: center;
}

.footer__copyright{
    color: #fff;
    font-weight: 500;
}

.page-top{
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1;
}

.page-top__link{
    background-color: #fff;
    color: var(--main-color);
    border: var(--main-color) 2px solid;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    transition: 0.5s;
}

.page-top__link:hover{
    background-color: var(--main-color);
    color: #fff;
}

.page-top__icon{
    font-size: 30px;
}


/* 下層ページ：セクションタイトル */
.section-sub__heading{
    font-size: 30px;
    font-weight: 500;
    border-bottom: var(--main-color) 2px solid;
    margin-bottom: 30px;
    width: 30%;
    padding-bottom: 10px;
}

#intro{
    margin-top: 50px;
}

.intro__wrapper{
    display: flex;
    justify-content: space-between;
    column-gap: 50px;
    align-items: center;
}

.intro__img-wrapper{
    flex: 0 1 35%;
}

.intro__inner{
    flex: 1;
}

.intro__name{
    font-size: 30px;
    font-weight: 500;
}

/* career */
.table-type01{
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;  
}

.table-type01 th,
.table-type01 td{
    padding-bottom: 20px;
}

.table-type01 th,
.career-table__title{
    font-size: 20px;
    font-weight: 500;
    line-height: 2;
}

.table-type01 td{
    padding-left: 30px;
}

/* list-type01 */
.list-type01__item{
    margin-bottom: 20px;
}

.list-type01__title{
    border-left: var(--main-color) 5px solid;
    font-size: 20px;
    font-weight: 500;
    padding: 5px 0 5px 10px ;
}

.list-type01__text{
    padding: 15px 0;
}


/* 下層ページ：WORKS */
#works-page{
    margin-top: 50px;
}

/* 下層ページ：WORKS_child */
#works-child{
    margin-top: 50px;
}

.works-child__heading{
    border-bottom: var(--main-color) 2px solid;
    margin-bottom: 30px;
    padding-bottom: 10px;
    width: 60%;
}

.works-child__title{
    font-size: 30px;
    font-weight: 500;
}

.works-child-img__wrapper{
    width: 100%;
    height: auto;
    margin-bottom: 50px;
}

.works-btn{
    text-align: center;
    margin: 0 auto 30px; 
    width: 120px;
}

.works-btn__link{
    display: flex;
    align-items: end;
    justify-content: space-around;
    font-size: 18px;
    font-weight: 500;
    color: var(--main-color);
    transition: opacity 0.5s;
}

.works-btn__link:hover{
    opacity: 0.7;
}

.wc-item__small{
    font-size: 13px;
}

.wc-item__blue{
    text-decoration: underline;
    color: var(--main-color);
}

/* 下層ページ：CONTACT */
#contact-page{
    margin-top: 50px;
}

.contact__form{
    background-color: #fff;
    padding: 50px 80px 0;
    text-align: left;
}

.form__require{
    font-weight: 500;
    font-size: 12px;
    margin-left: 5px;
    color: var(--main-color);
}

.form__note{
    font-size: 12px;
}

.form__input{
    margin-bottom: 20px;
}

.form__title{
    padding-bottom: 10px;
}

.form__input,
.form__textarea{
    border: var(--sub-color) 1px solid;
    border-radius: 2px;
    padding: 8px;
    background-color: #fff;
}

.form__input{
    width: 300px;
}

.form__textarea{
    width: 100%;
    height: 200px;
}

.form__btn{
    text-align: center;
}




/* 下層ページ：CONTACT_comp */
.contact__comp{
    background-color: #fff;
    padding: 80px 80px 50px; 
    text-align: center;
}

.comp__text{
    margin-bottom: 30px;
}


@media screen and (max-width:767px) {
    body{
        font-size: 15px;
        font-weight: normal;
    }
    
    /* レイアウト */
    .container{
        width: 100%;
        padding: 0 20px;
    }

    .content{
        row-gap: 80px;
        margin: 50px auto;
    }

    /* セクションタイトル */
    .section__heading{
        width: 100%;
        margin-bottom: 30px;
        padding-bottom: 10px;
    }

    .section__title{
        font-size: 35px;
        margin-right: 10px;
    }

    .section__subtitle{
        font-size: 15px;
    }

    /* ボタン */
    .btn{
        font-size: 15px;
        width: 250px;
        padding: 20px 0 ;
        margin: 20px 0;
    }

    /* ヘッダー */
    .header{
        padding: 15px;
    }

    .header__logo{
        font-size: 15px;
    }

    /* ハンバーガーメニュー */
    .gnav{
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        z-index: 10;
        width: 180px;
        height: 100%;
        background-color: var(--sub-color);
        box-shadow: -3px 0 20px #9c9c9c;
    }

    .gnav__list{
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 180px;
        padding: 50px 0;
        row-gap: 25px;
    }

    .btn-menu {
        display: flex;
        position: absolute;
        top: 0;
        right: 0;
        z-index: 100;
        align-items: center;
        justify-content: center;
        width: 60px;
        height: 60px;
        text-align: center;
        padding: 21px 16px;
        border: none;
        outline: none;
        background: none;
        cursor: pointer;
        appearance: none;
    }
    
    .btn-menu__line {
        display: block;
        position: relative;
        left: 0;
        width: 100%;
        height: 2px;
        transition: all 0.4s;
        border-radius: 4px;
        background-color: var(--text-color);
    }
    
    .btn-menu__line::before,
    .btn-menu__line::after {
        display: block;
        content: "";
        position: absolute;
        width: 100%;
        height: 100%;
        transition: inherit;
        border-radius: 4px;
        background-color: var(--text-color);
    }
    
    .btn-menu__line::before {
        top: -8px;
    }
    
    .btn-menu__line::after {
        top: 8px;
    }
    
    .btn-menu.active .btn-menu__line {
        background-color: transparent;
    }
    
    .btn-menu.active .btn-menu__line::before,
    .btn-menu.active .btn-menu__line::after {
        top: 0;
        background-color: var(--text-color);
    }
    
    .btn-menu.active .btn-menu__line::before {
        transform: rotate(45deg);
    }
    
    .btn-menu.active .btn-menu__line::after {
        transform: rotate(-45deg);
    }

    /* MV */
    .mv{
        background-position: right;
    }

    .mv__titleArea{
        height: 500px;
    }

    .mv__title{
        font-size: 80px;
    }

    .mv__subtitle{
        font-size: 22px;
        padding-left: 10px;
    }

    /* WORKS */
    .works__list{
        grid-template-columns: 1fr;
        column-gap: 0;
        row-gap: 20px;
    }

    /* ABOUT */
    #about{
        padding: 20px 0 0 0;
    }

    .about__wrapper{
        flex-direction: column;
        column-gap: 0;
        row-gap: 20px;
    }

    .about__img-wrapper{
        width: 70%;
    }

    .about__name{
        font-size: 25px;
    }

    .about__text{
        padding: 10px 0;
    }

    /* フッター */
    .footer{
        padding: 25px;
    }


    /*　下層ページ：セクションタイトル */
    .section-sub__heading{
        font-size: 22px;
        padding-bottom: 5px;
        width: 50%;
    }

    .intro__wrapper{
        flex-direction: column;
        row-gap: 20px;
    }

    .intro__img-wrapper{
        width: 100%;
    }

    .about__img{
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
        object-fit: cover;
    }

    .intro__name{
        font-size: 22px;
    }

    .table-type01 th,
    .career-table__title{
        font-size: 18px;
    }

    .list-type01__title{
        font-size: 18px;
    }

    /* career */
    .table-type01 th,
    .career-table__title{
        font-size: 18px;
        line-height: 1.5;
    }

    .table-type01 td{
        padding-left: 10px;
    }

    /* 下層ページ：WORKS-child */
    .works-child__title{
        font-size: 22px;
    }

    .works-btn__link{
        font-size: 15px;
    }

    /* 下層ページ：CONTACT */
    .contact__form{
        padding: 20px 40px 0;
    }

    .form__input{
        width: 100%;
    }


}