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

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

body {
    background: #3f4f66;
    color: #ffffff;
    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: 1.75rem;
}

@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;
    }

}



/*-------------------------------------------
　戻るボタン
-------------------------------------------*/
#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;
}



/*-------------------------------------------
　素顔と略歴
-------------------------------------------*/
.mv-title {
    font-size: 3rem;
    margin-bottom: -10px;
}



.about-wrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-img img {
    width: 100%;
    margin-bottom: 20px;
}

.name {
    text-align: center;
    margin-bottom: 30px;
}

.name h3 {
    font-size: 18px;
    font-weight: bold;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin-bottom: 5px;
}

.stamp {
    margin-top: 6px;
    width: 24px;
    height: 24px;
}


.about-item {
    margin-bottom: 30px;
}

.about-item:last-child {
    margin-bottom: 0;
}


.about-item h3 {
    margin-bottom: 5px;
}

.line-height {
    margin-bottom: 10px;
}


@media screen and (min-width:768px) {
    .about-wrap {
        display: flex;
        flex-direction: row;
        justify-content: center;
    }

    .about-img img {
        max-width: 360px;
    }

    .about-txt {
        width: 360px;
        margin-left: 60px;
    }

    .name h3 {
        display: flex;
        justify-content: start;
    }

    .name p {
        text-align: left;
    }

    .about-item h3,
    .about-item p {
        text-align: left;
    }

}


/*-------------------------------------------
　スキル
-------------------------------------------*/
#skill {
    background: #6e8da1;
}

.skill-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.skill-icon img {
    margin: 10px;
    width: 50px;
}

.skill-item {
    margin-bottom: 30px;
}

.skill-item:last-child {
    margin-bottom: 0;
}


.skill-item h3 {
    margin-bottom: 5px;
}


@media screen and (min-width:768px) {
    .skill-icon {
        display: flex;
        flex-direction: row;
        justify-content: center;
    }

    .skill-icon img {
        margin: 10px 15px;
    }

    .skill-contents {
        display: flex;
        justify-content: space-between;
    }

    .skill-item {
        flex: 1;
        margin-right: 50px;
        margin-bottom: 0;
    }

    .skill-item:last-child {
        margin-right: 0;
    }
}


.flipLeft {
    animation-name: flipLeftAnime;
    animation-duration: 1s;
    animation-fill-mode: forwards;
    perspective-origin: left center;
    opacity: 0;
}

@keyframes flipLeftAnime {
    from {
        transform: perspective(600px) translate3d(0, 0, 0) rotateY(30deg);
        opacity: 0;
    }

    to {
        transform: perspective(600px) translate3d(0, 0, 0) rotateY(0deg);
        opacity: 1;
    }
}