@charset "utf-8";

@import url(https://fonts.googleapis.com/earlyaccess/notosansjp.css);
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@200..900&display=swap');

/* 最初は非表示 */
body {
  opacity: 0;
  transition: opacity 1.5s ease;
}

/* フェードイン完了時 */
body.fade-in {
  opacity: 1;
}

body {

    font-family: "Noto Serif JP", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    
    font-size: 16px;
    line-height: 1.6;
    width: 100%;
    -webkit-text-size-adjust:100%;
    letter-spacing: 0.05em;
}

.inner{
    margin: 0 auto;
    padding: 0 50px;
}

.spOnly{
    display: none;
}

a{
    color: #000;
}

a.line{
    text-decoration: underline;
}

a.line:hover{
    text-decoration: none;
}

.taR{
    text-align: right;
}

.taC{
    text-align: center;
}

.fontB{
    font-weight: 700;
        
}

.mb0{
    margin-bottom: 0 !important;
}

.mt0{
    margin-top: 0 !important;
}

.wb-ba {
  word-break: break-all;
}

@media only screen and (max-width: 768px) {
    body {
        font-size: calc(28vw / 7.5) /*750px の時 28px*/;
    }

    .inner{
        padding: 0 calc(40vw / 7.5);
    }
    
    .spOnly{
        display: inline-block;
    }

    .pcOnly{
        display: none;
    }
    
    
}

/*　////////////////////
        header 
////////////////////*/
header {
    position: relative;
}

header #logo {
    margin: 50px 0 0 0;
    width: 150px;
}

header #gnav {
    position: fixed;
    top: 0;
    right: -125%; /* ← 最初は画面外 */
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: right 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    background: #dd7d36;
    z-index: 1000;
    padding: 0 50px 0 80px;
    transition: right 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s ease;
}

#gnav.open {
    right: 0;
    opacity: 1;
}

header #gnav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

header #gnav ul li + li {
    margin-top: 2em;
}

header #gnav ul li {
/*    font-size: 1.75rem;*/
    font-size: clamp(20px, calc(44vw / 7.5),  28px);
    font-weight: 800;
    letter-spacing: 0.1em;
}

header #gnav ul li span {
/*    font-size: 1rem;*/
    font-size: clamp(14px, calc(34vw / 7.5),  16px);
    font-weight: 300;
}

header #gnav ul li a{
    color: #fff;
}

.menuBtn {
    display: block;
    position: fixed;
    top: 44px;
    right: 65px;
    width: 50px;
    height: 50px;
    transition: all .5s;
    cursor: pointer;
    z-index: 30;
    color: #000;
    z-index: 1010;
}

.menuBtn span {
    display: block;
    position: absolute;
    left: 5px;
    width: 40px;
    height: 2px;
    background-color: #000;
    transition: all .5s;
}

.menuBtn span:nth-child(1) {
    top: 14px;
}

.menuBtn span:nth-child(2) {
    top: 24px;
}

.menuBtn span:nth-child(3) {
    bottom: 14px;
}

.menuBtn.open span {
    background-color: #fff;
}

.menuBtn.open span:nth-child(1) {
    -webkit-transform: translateY(10px) rotate(-315deg);
    transform: translateY(10px) rotate(-315deg);
    color: #fff;
}

.menuBtn.open span:nth-child(2) {
    opacity: 0;
}

.menuBtn.open span:nth-child(3) {
    -webkit-transform: translateY(-10px) rotate(315deg);
    transform: translateY(-10px) rotate(315deg);
}

#mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:#fff;
    opacity: 0;
    pointer-events: none; /* 透明の時はクリックできない */
    transition: opacity 0.3s ease;
    z-index: 2;
    cursor: pointer;
}

#gnav.open + #mask {
    opacity: .7;
    pointer-events: auto; /* 表示中はクリックできる */
}


@media only screen and (max-width: 768px) {

    header #logo {
        margin: calc(30vw / 7.5) 0 0 0;
        width:calc(150vw / 7.5)
    }

    header #gnav {
        padding: calc(200vw / 7.5) calc(40vw / 7.5) 0;
        align-items: flex-start;
        text-align: left;
    }

    header #gnav ul {
        text-align: left;
    }

    .menuBtn {
        top: calc(34vw / 7.5);
        right: calc(40vw / 7.5);
        width: 40px;
        height: 30px;
    }    

    .menuBtn span {
        left: 15%;
        width: 70%;
    }

    .menuBtn span:nth-child(1) {
        top: 6px;
    }

    .menuBtn span:nth-child(2) {
        top: 14px;
    }

    .menuBtn span:nth-child(3) {
        bottom: 6px;
    }

    .menuBtn.open span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menuBtn.open span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
}

/*　////////////////////
        footer
////////////////////*/
footer{
    font-family: 'Noto Sans JP', sans-serif;
    background: #f6a844;
    color: #fff;
}

footer .caution{
    background: #dd7d36;
    text-align: center;
    font-size: clamp(12px, calc(28vw / 7.5),  16px);
}

footer .caution .inner{
    padding: 15px 50px;
}

footer > .inner{
    font-size: clamp(12px, calc(28vw / 7.5),  14px);
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
}

footer ul.footer-nav{
    display: flex;
    justify-content: center;
}

footer ul.footer-nav li a{
    color: #fff;
}

footer ul.footer-nav li + li:before{
    content: "｜";
}

 footer .copy{
    font-size: clamp(10px, calc(20vw / 7.5), 14px);
}

@media only screen and (max-width: 768px) {
    footer .caution .inner{
        padding: calc(40vw / 7.5) calc(40vw / 7.5);
    }

    footer > .inner{
        text-align: center;
        display: block;
        padding: calc(30vw / 7.5) calc(40vw / 7.5);
    }

     footer .copy{
         margin-top: calc(20vw / 7.5);
    }
}
