@charset "utf-8";

/*共通設定*/
*,
::before,
::after {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

ul,
ol {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

h2 {
    font-size: 48px;
    font-family: "Oswald", serif;
    font-weight: 500;
    letter-spacing: 0.08em;
}

body {
    font-size: 16px;
    line-height: 1.7;
    color: #222;
    font-family: "Noto Sans JP", serif;
    letter-spacing: 0.05em;
}

img {
    max-width: 100%;
}

.wrap {
    position: relative;
    overflow: hidden;
}

.parent {
    padding: 0 5vw;
}

.child {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}
/*終わり*/


/*アニメーション*/
    /*js表示 一個ずつ出てくる*/
.scr-target {
    opacity: 0;
    transform: translate3d(0, 35px, 0);
}
.scr-target.is-active {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    transition: 1s;
}

    /*カーテンを開くようなテキストアニメーション*/   
.visible {
    position: relative;
    overflow: hidden;
}

.visible::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%; /* 必要なら微調整する */
    height: 100%;
    background-color: #fff;
    transform-origin: right top;/* アニメーションの軸となる座標 */
    transition: 1.0s;/* 1秒かけてアニメーションする */
    transition-delay: 0.3s;
    z-index: 2;
}

.is-inview.visible::before {
    transform: scale(0, 1);
}

    /*スクロールフェードイン*/
.js-fadeRight {
    opacity: 0; /* 最初は非表示 */
    transform: translateX(100px); /* 下に100pxの位置から */
    transition: opacity .5s, transform .5s; /* 透過率と縦方向の移動を0.5秒 */
}

.js-fadeRight.is-inview {
    opacity: 1; /* 表示領域に入ったら表示 */
    transform: translateX(0); /* 100px上に移動する */
    transition-delay: .8s; /* フェード開始を0.2秒遅らせる */
}

.js-fadeLeft {
    opacity: 0; /* 最初は非表示 */
    transform: translateX(-100px); /* 下に100pxの位置から */
    transition: opacity .4s, transform .4s; /* 透過率と縦方向の移動を0.5秒 */
}

.js-fadeLeft.is-inview {
    opacity: 1; /* 表示領域に入ったら表示 */
    transform: translateX(0); /* 100px上に移動する */
    transition-delay: 0.4s; /* フェード開始を0.2秒遅らせる */
}

/*終わり*/



/*<header class="header">*/
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    z-index: 10;
}

.header-inner {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo {
    display: flex;
    align-items: center;
}

.header-logo-btn {
    display: inline-block;
    max-width: 64px;
    width: 100%;
    transition: 0.1s all;
}

.header-logo-btn:hover {
    opacity: 0.8;
}

.header-logo-img {
    display: block;
}

.header-site-menu {
    width: 100%;
    height: 100%;
}

.header-nav {
    position: absolute;
    top: 0;
    right: -5vw;
    transform: translateX(130%);
    opacity: 0;
    transition: 0.5s;
}

.header-nav ul {
    display: flex;
    flex-direction: column;
    gap: 24px;
    background-color: #222;
    color: #fff;
    padding: 120px 80px 40px 64px;
}

.header-nav ul li a {
    position: relative;
    font-weight: 600;
}

.h-circle {
    position: absolute;
    top: 50%;
    left: -32px;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #999;
}

.h-circle::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #fff;
    transition: 0.1s all;
}

.header-nav ul li a:hover .h-circle::before {
    background-image: url(../img/common/black_arrow.svg);
    background-color: inherit;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

    /*ハンバーガーボタン*/
.hamburger {
    display: block;
    z-index: 999;
    position: absolute;
    top: 0;
    right: -5vw;
    width: 100px;
    height: 100px;
    background-color: #fff;
    border-radius: 0 0 0 40px;
    cursor: pointer;
    text-align: center;
    z-index: 20;
}

.hamburger::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    line-height: 60px;
    border-radius: 50%;
    background-color: #222;
    z-index: 30;
}

.hamburger span {
    display: block;
    position: absolute;
    width: 30px;
    height: 1px;
    right: 35%;
    background-color: #fff;
    -webkit-transition: 0.5s ease-in-out;
    -moz-transition: 0.5s ease-in-out;
    transition: 0.5s ease-in-out;
    z-index: 40;
}

.hamburger span:nth-child(1) {
    top: 40px;
}

.hamburger span:nth-child(2) {
    top: 50px;
}

.hamburger span:nth-child(3) {
    top: 60px;
}

    /* ナビ開いてる時のボタン */
.hamburger.active span:nth-child(1) {
    top: 50px;
    right: 35px;
    -webkit-transform: rotate(315deg);
    -moz-transform: rotate(315deg);
    transform: rotate(315deg);
}

.hamburger.active span:nth-child(2),
.hamburger.active span:nth-child(3) {
    top: 50px;
    -webkit-transform: rotate(-315deg);
    -moz-transform: rotate(-315deg);
    transform: rotate(-315deg);
}

    /* このクラスを、jQueryで付与・削除する */
.header-nav.active {
    transform: translateX(0%);
    opacity: 1;
}
/*終わり*/


/*<footer class="footer">*/
.footer {
    padding: 80px 5vw;
    background-color: #373737;
    color: #fff;
}

.footer-ul {
    display: flex;
    align-items: center;
    gap: 80px;
    padding-bottom: 80px;
    border-bottom: solid 1px #fff;
}

.footer-ul li a {
    position: relative;
    padding-left: 32px;
    font-weight: 600;
}

.f-circle {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #999;
}

.f-circle::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #fff;
}


.footer-ul li a:hover .f-circle {
    border-radius: 100% 0 0 0;
    transition: 0.2s all;
}

.footer-ul li a:hover .f-circle::before {
    display: none;
}

.footer-flex {
    padding-top: 80px;
    display: flex;
    justify-content: space-between;
}

.footer-logo {
    max-width: 64px;
    width: 100%;
}

.copyright {
    font-size: 10px;
}

/*終わり*/


/*タブレット*/
@media (max-width: 1024px) {
/*共通設定*/
    h2 {
        font-size: 40px;
    }
/*終わり*/


/*<header class="header">*/
/*終わり*/


/*<footer class="footer">*/
    .footer-ul {
        gap: 40px;
    }
/*終わり*/

}


/*スマホ*/
@media (max-width: 599px) {
/*共通設定*/
    h2 {
        font-size: 24px;
    }
/*終わり*/


/*<header class="header">*/
    .header {
        height: 80px;
    }

    .header-logo {
        position: relative;
        z-index: 1;
    }

    .header-logo-btn {
        max-width: 48px;
        width: 100%;
    }    

    .header-nav {
        background-color: #222;
        width: 100vw;
        height: 100vh;
        padding: 0 5vw;
    }

    .header-nav ul {
        justify-content: center;
        gap: 32px;
        max-width: 200px;
        width: 100%;
        margin: 0 auto;
        height: 100%;
        padding: 0;
    }
    
    .header-nav ul li a {
        padding-left: 32px;
        font-size: 20px;
        width: 100%;
        display: block;
    }
    
    .h-circle {
        left: 0;
    }    

    /*ハンバーガーボタン*/
    .hamburger {
        width: 80px;
        height: 80px;
        border-radius: 0 0 0 32px;
    }
    
    .hamburger::before {
        width: 50px;
        height: 50px;
        line-height: 50px;
    }
    
    .hamburger span {
        display: block;
        position: absolute;
        width: 24px;
        height: 1px;
        right: 35%;
        background-color: #fff;
        -webkit-transition: 0.5s ease-in-out;
        -moz-transition: 0.5s ease-in-out;
        transition: 0.5s ease-in-out;
        z-index: 40;
    }
    
    .hamburger span:nth-child(1) {
        top: 32px;
    }
    
    .hamburger span:nth-child(2) {
        top: 40px;
    }
    
    .hamburger span:nth-child(3) {
        top: 48px;
    }
    
    /* ナビ開いてる時のボタン */
    .hamburger.active span:nth-child(1) {
        top: 40px;
        right: 28px;
        -webkit-transform: rotate(315deg);
        -moz-transform: rotate(315deg);
        transform: rotate(315deg);
    }
    
    .hamburger.active span:nth-child(2),
    .hamburger.active span:nth-child(3) {
        top: 40px;
        -webkit-transform: rotate(-315deg);
        -moz-transform: rotate(-315deg);
        transform: rotate(-315deg);
    }
/*終わり*/


/*<footer class="footer">*/
    .footer {
        padding: 80px 5vw 40px 5vw;
    }

    .footer-ul {
        align-items: flex-start;
        flex-direction: column;
        gap: 24px;
        padding-bottom: 64px;
    }

    .footer-flex {
        padding-top: 64px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 40px;
    }
    
/*終わり*/

}