/*-------------------------------------------
　基本設定
-------------------------------------------*/
@charset "UTF-8";

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background: #fdfdfd;
    color: #3f4f66;
    font-family: 'Zen Kaku Gothic New', sans-serif;
    font-size: 13px;
    line-height: 1.8;
    letter-spacing: 0.05em;
}

a {
    text-decoration: none;
    color: #fff;
}

ul {
    list-style: none;
}

h2,
h3,
h4 {
    text-align: center;
}

h2 {
    font-family: 'Roboto Slab', serif;
}

h3 {
    margin-bottom: 20px;
}

.section-inner {
    padding: 20px 20px 40px;
    margin: 0 auto;
}

.section-title {
    font-size: 2rem;
}

@media screen and (min-width:768px) {
    .section-inner {
        padding: 40px 20px 60px;
        max-width: 920px;
    }
}



/*-------------------------------------------
　レスポンシブ対応
-------------------------------------------*/
.pc-only {
    display: none;
}

@media screen and (min-width:768px) {
    .pc-only {
        display: block;
    }

    .sp-only {
        display: none;
    }
}



/*-------------------------------------------
　ヘッダーエリア
-------------------------------------------*/
.header {
    background-color: #e5cc29;
    color: #fff;
}

.head-inner {
    margin: 0 auto;
    padding: 0 20px;
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo img {
    height: 40px;
    display: flex;
    align-items: center;
}

@media screen and (min-width:768px) {
    .head-inner {
        max-width: 920px;
    }
}

/*-------------------------------------------
　ハンバーガーメニュー
-------------------------------------------*/
.burger-btn {
    display: block;
    width: 40px;
    height: 40px;
    position: relative;
    z-index: 3;
    background-color: transparent;
    border: none;
}

.bar {
    width: 35px;
    height: 1.5px;
    display: block;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background-color: #3f4f66;
}

.bar_top {
    top: 10px;
}

.bar_mid {
    top: 50%;
    transform: translate(-50%, -50%);
}

.bar_bottom {
    bottom: 10px;
}

.burger-btn.close .bar_top {
    transform: translate(-50%, 10px) rotate(45deg);
    transition: transform .3s;
}

.burger-btn.close .bar_mid {
    opacity: 0;
    transition: opacity .3s;
}

.burger-btn.close .bar_bottom {
    transform: translate(-50%, -8px) rotate(-45deg);
    transition: transform .3s;
}

.nav-wrapper {
    display: none;
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2;
    /*キービジュアルと.btn_triggerとの重なりの前後関係を調整*/
}

.sp-nav {
    width: 100%;
    height: 100%;
    background-color: #e5cc29;
    z-index: 2;
}

.sp-nav .nav-list {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}



/*-------------------------------------------
　グローバルナビ
-------------------------------------------*/

.nav-item {
    margin-top: 40px;
    margin-left: 0px;
}

.nav-item h2 {
    font-family: 'Roboto Slab', serif;
    color: #3f4f66;
    border-bottom: 2px dotted #3f4f66;
}

.nav-item a:hover {
    color: #6e8da1;
}


@media screen and (min-width:768px) {
    .nav-list {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .nav-list li:hover {
        padding-bottom: 4px;
        border-bottom: 2px solid #3f4f66;
    }

    .nav-item {
        margin-left: 50px;
        margin-top: 0;
    }

    .nav-item h2 {
        border-bottom: none;
    }

}



/*-------------------------------------------
　メインビジュアル
-------------------------------------------*/
.main-inner {
    padding: 0 20px;
    margin: 0 auto;
}

.mv-area {
    background-image: url(../img/mv-yamayo.jpg);
    background-size: cover;
    width: 100vw;
    height: 100vh;
    background-position: center center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mv-area p {
    background: #3f4f66;
}



/*-------------------------------------------
　フェードインアニメーション
-------------------------------------------*/
.mv-txt {
    background: #5A6045;
    padding: 20px;
    animation-name: fadeleft;
    animation-duration: 2s;
    animation-iteration-count: 1;
}

@keyframes fadeleft {
    from {
        opacity: 0;
        transform: translateX(150px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}



/*-------------------------------------------
　戻るボタン
-------------------------------------------*/
#js-pagetop {
    position: fixed;
    width: 50px;
    height: 50px;
    border-radius: 50px;
    background: #e5cc29;
    color: #3f4f66;
    bottom: 40px;
    right: 10px;
    cursor: pointer;
}

#js-pagetop span {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: block;
    width: 100%;
    text-align: center;
    font-size: 14px;
    font-weight: 900;
    font-family: 'Roboto Slab', serif;
}

#js-pagetop span::before {
    content: '';
    width: 10px;
    height: 10px;
    border: 0px;
    border-top: solid 2px #3f4f66;
    border-right: solid 2px #3f4f66;
    -ms-transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    position: absolute;
    top: 50%;
    left: 40%;
    margin-top: -15px;
}

/*-------------------------------------------
　フッターエリア
-------------------------------------------*/
.footer {
    background: #e5cc29;
    color: #3f4f66;
    padding: 20px 0 10px;
}

.footer-logo,
.copyright {
    text-align: center;
}

.copyright p {
    font-family: 'Roboto Slab', serif;
    font-weight: bold;
}

.footer-logo img {
    height: 40px;
}



/*-------------------------------------------
　共通メインビジュアル
-------------------------------------------*/
.works-mv {
    display: flex;
    justify-content: center;
    width: 100%;
}

.works-mv img {
    width: 100%;
}

.works-inner {
    margin: 0 20px;
}

.works-txt {
    margin-bottom: 20px;
}

.works-txt a {
    margin: 20px;
}

.works-txt p {
    font-weight: 900;
}

.homepage-link {
    background: #3f4f66;
    text-align: center;
}


@media screen and (min-width:768px) {
    .works-mv {
        max-width: 800px;
        margin: 0 auto;
    }

    .works-txt p {
        max-width: 600px;
        margin: 0 auto;
    }
}

/*-------------------------------------------
　ウェブページレイアウト
-------------------------------------------*/
.web-contents {
    background: #e4e4e4;
    padding: 20px 10px;
}

.item-sp,
.item-pc {
    margin: 0 auto 20px;
}

.item-sp:last-child,
.item-pc:last-child {
    margin-bottom: 0;
}

.item-sp p,
.item-pc p {
    margin-bottom: 10px;
    text-align: center;
    font-weight: 900;
    font-family: 'Roboto Slab', serif;
}

.item-sp img,
.item-pc img {
    width: 100%;
}


@media screen and (min-width:768px) {
    .web-contents {
        background: #e4e4e4;
        max-width: 920px;
        display: flex;
        flex-direction: row;
        justify-content: center;
        margin: 0 auto;
        padding-top: 20px;
    }

    .item-sp {
        width: 45%;
    }

    .item-pc {
        width: 45%;
    }

}



/*-------------------------------------------
　グラフィックレイアウト
-------------------------------------------*/

.graphic-contents {
    padding: 20px;
}

.graphic-contents img {
    width: 100%;
}

.graphic-contents p {
    margin-bottom: 10px;
    text-align: center;
    font-weight: 900;
    font-family: 'Roboto Slab', serif;
}

.gra-wrap {
    display: flex;
    flex-wrap: wrap;
}

.gra-wrap li {
    width: 50%;
}

.gra-wrap img {
    padding: 10px;
}

.gra-wrap02 video {
    width: 100%;
    padding: 10px;
}



.works-slider img {
    padding: 10px;
}

@media screen and (min-width:768px) {
    .graphic-contents {
        max-width: 920px;
        margin: 0 auto;
    }

    .gra-wrap li {
        width: 25%;
    }

    .works-slider img {
        padding: 25px;
    }

    .gra-wrap02 {
        display: flex;
        justify-content: center;
    }

    .gra-wrap02 li {
        width: 50%;
    }

    .gra-wrap02 div {
        text-align: center;
    }

}



/* フェードイン */

.an5-faderight {
    animation-name: faderight;
    animation-duration: 2s;
    animation-iteration-count: 1;
}

@keyframes faderight {
    from {
        opacity: 0;
        transform: translateX(-150px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.an4-fadeleft {
    animation-name: fadeleft;
    animation-duration: 2s;
    animation-iteration-count: 1;
}

@keyframes fadeleft {
    from {
        opacity: 0;
        transform: translateX(150px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}



/*-------------------------------------------
　ボタン関連
-------------------------------------------*/
/* ボタンのデザインリセット */
button {
    background-color: transparent;
    border: none;
    cursor: pointer;
    outline: none;
    padding: 0;
    appearance: none;
}

/*ボタン関連*/
button[type="button"] {
    background: #6e8da1;
    color: #fff;
    padding: 10px;
    width: 200px;
    border-radius: 5px;
    display: block;
    margin: 40px auto 60px;
    font-size: 1rem;
    font-weight: 900;
}

.btn:hover,
.btn:focus {
    background: rgba(0, 0, 0, 0.5);
    color: #e5cc29;
    cursor: pointer;
}