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

ul,
ol {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.2s;
}

a:hover {
    opacity: 0.8;
}

h2 {
    font-size: 40px;
    text-align: center;
    line-height: 1.5;
    letter-spacing: 0.08em;
}

h2 small {
    font-size: 14px;
    font-weight: 400;
}

body {
    font-size: 16px;
    line-height: 1.7;
    color: #222;
    font-family: "Zen Old Mincho", 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;
}

.tb-br,
.sp-br {
    display: none;
}

.pc-br {
    display: block;
}
/*終わり*/


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


/*<header class="header">*/
.header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    z-index: 10;
    text-shadow: 0 0 8px rgba(0,0,0,0.1);
}

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

.h-h1 {
    font-size: 24px;
    line-height: 1;
}

.h-h1 small {
    font-size: 10px;
}

.header-nav ul {
    display: flex;
    align-items: center;
    gap: 32px;
}
/*終わり*/


/*<footer class="footer">*/
.footer {
    padding: 80px 5vw;
    text-align: center;
    font-size: 10px;
}
/*終わり*/


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

    .pc-br,
    .sp-br {
        display: none;
    }

    .tb-br {
        display: block;
    }
/*終わり*/  
  

/*<header class="header">*/
    .header {
        padding: 24px 5vw;
        position: fixed;
        width: 100%;
        height: 100px;
        text-shadow: none;
        z-index: 50;
    }

    .header-inner {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        position: relative;
        width: 100%;
        height: 100%;
    }

    .header-logo {
        width: 50%;
        position: relative;
        z-index: 60;
    }

    .header-site-menu {
        position: relative;
        width: 50%;
        height: 100%;
        margin-top: 0;
    }

    /*ハンバーガーボタン*/
    .hamburger {
        display: block;
        z-index: 999;
        position: absolute;
        top: 50%;
        right: 0%;
        transform: translateY(-50%);
        -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
        width: 42px;
        height: 42px;
        cursor: pointer;
        text-align: center;
        z-index: 50;
    }

    .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: #007FC2;
    }    

    .hamburger span {
        display: block;
        position: absolute;
        width: 30px;
        height: 1px;
        left: 6px;
        background: #fff;
        -webkit-transition: 0.5s ease-in-out;
        -moz-transition: 0.5s ease-in-out;
        transition: 0.5s ease-in-out;
    }

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

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

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

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

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

    .header-nav {
        position: fixed;
        z-index: 50;
        top: 0;
        right: 0;
        background-color: #9AD0EC;
        text-align: center;
        transform: translateX(130%);
        transition: all 0.5s;
        width: 100%;
        height: 100vh;
        opacity: 0;
    }

    .header-nav ul {
        width: 100%;
        margin: 0 auto;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 0 5vw;
        gap: 64px;
        z-index: 50;
    }

    .header-nav ul li {
        list-style-type: none;
        display: block;
        max-width: none;
        width: 100%;
        font-size: 24px;
    }

    .header-nav ul li a {
        display: block;
        width: 100%;
    }

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

    /*終わり*/

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

    h2 small {
        font-size: 12px;
    }

    .pc-br,
    .tb-br {
        display: none;
    }

    .sp-br {
        display: block;
    }
/*終わり*/ 


/*<header class="header">*/
    .h-h1 {
        font-size: 20px;
    }

    .h-h1 small {
        font-size: 8px;
    }

    /*ハンバーガーボタン*/
    .hamburger {
        top: 40%;
    }

    .hamburger::before {
        width: 50px;
        height: 50px;
        line-height: 50px;
    }    

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

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

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

    .header-nav ul {
        gap: 48px;
    }

    .header-nav ul li {
        font-size: 18px;
    }

/*終わり*/ 

}