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

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

body {
    background: #fdfdfd;
    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 0px;
    margin: 0 auto;
}

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

@media screen and (min-width:768px) {
    .section-inner {
        padding: 40px 20px 0px;
        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 {
    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;
}



/*-------------------------------------------
　404エラー
-------------------------------------------*/
.error-wrap {
    height: 75vh;
    background-image: url(../img/img01.jpg);
    background-position: center center;
    background-size: cover;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.error-wrap h2 {
    font-size: 3rem;
    line-height: 100%;
    margin: 40px 0 20px;
    text-shadow: 0px 3px 5px #333;
}

.error-wrap h3 {
    font-size: 1rem;
    font-weight: 900;
    text-shadow: 0px 3px 5px #333;
}



/*-------------------------------------------
　オープニングアニメ（B）
-------------------------------------------*/

.shutter {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #3f4f66;
    z-index: 9999;
    animation: byeShutter 2.6s forwards;
}

.shutter::before,
.shutter::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    margin: auto;
}

.shutter::before {
    background-color: #e5cc29;
    width: 0;
    height: 1px;
    animation: shutterOpen1 2.6s forwards;
}

.shutter::after {
    width: 120%;
    height: 0;
    margin-left: -10%;
    background-color: #fdfdfd;
    animation: shutterOpen2 2.6s forwards;
}


.content {
    animation: contentScale 2.6s forwards;
}

@keyframes byeShutter {
    70% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        display: none;
        z-index: -1;
    }
}

@keyframes shutterOpen1 {
    0% {
        width: 0;
        height: 1px;
    }

    50% {
        width: 100%;
        height: 1px;
    }

    90% {
        width: 100%;
        height: 100%;
    }

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

@keyframes shutterOpen2 {
    60% {
        width: 120%;
        height: 0;
        transform: rotate(5deg);
    }

    90% {
        width: 120%;
        height: 100%;
        transform: rotate(-5deg);
    }

    100% {
        width: 120%;
        height: 100%;
        transform: rotate(-5deg);
    }
}

@keyframes contentScale {
    70% {
        transform: perspective(800px) scale(0.9) rotateX(15deg);
    }

    100% {
        transform: perspective(800px) scale(1) rotateX(0);
    }
}



/*-------------------------------------------
　メインビジュアル
-------------------------------------------*/

.mv-area {
    height: 90vh;
    background-image: url(../img/img01.jpg);
    background-position: center center;
    background-size: cover;
}

.mv-wrap {
    background: rgb(63, 79, 102, 0.5);
    height: 90vh;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.mv-wrap h2 {
    font-size: 4rem;
    line-height: 100%;
    margin-bottom: 20px;
}

.mv-wrap h3 {
    font-size: 1.2rem;
}



/*-------------------------------------------
　インフォエリア
-------------------------------------------*/
.info-area {
    padding: 40px 20px;
    background: #3f4f66;
}

/*吹き出し*/
.balloon_r {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    /*縦位置を上揃え*/
    /*   align-items: center; */
    /*縦位置を真ん中揃え*/
}

.balloon_r {
    justify-content: center
}

.faceicon img {
    width: 110px;
    /*任意のサイズ*/
    height: auto;
}

.balloon_r .faceicon {
    margin-left: 25px;
}

.balloon_r .faceicon {
    order: 2 !important;
}

.says {
    max-width: 540px;
    /*最大幅は任意*/
    display: flex;
    flex-wrap: wrap;
    position: relative;
    padding: 17px 13px 15px 18px;
    border-radius: 12px;
    background: #6e8da1;
    /*色は任意*/
    box-sizing: border-box;
    margin: 0 !important;
    line-height: 1.5;
    /*   align-items: center; */
}

.says p {
    font-weight: bold;
    margin: 8px 0 0 !important;
}

.says p:first-child {
    margin-top: 0 !important;
}

.says:after {
    content: "";
    position: absolute;
    border: 10px solid transparent;
    /*   margin-top:-3px;  */
}

.balloon_r .says:after {
    right: -26px;
    border-left: 22px solid #6e8da1;
}



/*-------------------------------------------
　ウェブエリア
-------------------------------------------*/
.web-area {
    background: #fdfdfd;
}

.web-wrap {
    background: rgb(110, 141, 161, .6);
    padding: 40px 0;
}

.icon-txt {
    display: flex;
    flex-direction: row;
    padding: 0 20px;
}

.icon {
    flex: 45%;
}

.txt {
    flex: 55%;
}

.icon img {
    width: 100%;
    padding-right: 15px;
}


@media screen and (min-width:768px) {
    .web-wrap {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        padding: 40px 10px;
    }

    .web-title h3 {
        margin-bottom: 0;
    }

    .icon-txt {
        display: flex;
        align-items: center;
        padding: 0;
        margin-left: 10px;
    }

    .txt {
        flex: 50%;
        font-weight: bold;
    }

    .icon {
        flex: 0;
    }

    .icon img {
        width: 160px;
        padding-right: 15px;
    }
}


.web-contents {
    margin-top: 40px;
}

.web-item p {
    font-weight: 900;
    color: #3f4f66;
    text-align: center;
}

.web-item img {
    width: 100%;
    padding: 20px;
}

.category {
    font-family: 'Roboto Slab', serif;
    font-size: 16px;
    color: rgb(110, 141, 161, .6);
}




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

    .web-contents li {
        margin-right: 20px;
    }

    .web-item img {
        max-width: 420px;
    }

    .site-img:hover img {
        transform: scale(1.2);
        transition-duration: 1.0s;
    }
}



/*-------------------------------------------
　ボタン関連
-------------------------------------------*/
/* ボタンのデザインリセット */
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: 20px auto 40px;
    font-family: 'Roboto Slab', serif;
    font-size: 1rem;
    font-weight: 900;
}

.btn:hover,
.btn:focus {
    background: #3f4f66;
    color: #e5cc29;
    cursor: pointer;
}


/*ボタンアニメーション*/