html { scroll-behavior: smooth;}

body {
    background-color: rgba(255, 255, 0, 1);
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-weight: 300;
    scroll-behavior: smooth;
}

img { display: block;}

.ib { display: inline-block;}

#header_pc {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s, visibility 0.5s;
    position: fixed;
    top: 10px;
    left: 0;
    width: 100%;
    z-index: 1000;
  }

  #header_pc.active {
    opacity: 1;
    visibility: visible;
  }

#header_pc nav {
    width: 100%;
    height: 100%;
    padding: 0 95px;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: baseline;
}

#header_pc nav a { transition: all .2s;}

#header_pc nav a:hover { opacity: .3;}

#header_pc div a {
    font-size: clamp( 30px, 3.6vw, 60px);
}

#header_pc ul {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

#header_pc ul li {
    font-size: clamp(14px, 1vw, 20px);
    margin-left: 50px;
}

#header_pc ul li:first-child { margin-left: 0;}

#header_pc ul li,
#header_pc div a {
    font-family: "Nunito Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    font-variation-settings:
      "wdth" 100,
      "YTLC" 500;
      text-transform: uppercase;
}


#header_sp { display: none;}

.container {
    max-width: 1920px;
    margin: 0 auto;
    overflow: hidden;
}

.container section {
    margin-bottom: 200px;
    padding-top: 100px;
    margin-top: -100px;
}

.container section:last-of-type { margin-bottom: 0;}

.container section h2 {
    width: 100%;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
    word-break: break-all;
    margin-bottom: 40px;
    font-size: clamp( 60px, 5.2vw, 100px);
    font-family: "Nunito Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    font-variation-settings:
      "wdth" 100,
      "YTLC" 500;
}

.copyright {
    position: relative;
    z-index: 1;
    width: 100%;
    text-align: center;
    font-size: clamp( 10px, 0.8vw, 13px);
    font-family: "Nunito Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    font-variation-settings:
      "wdth" 100,
      "YTLC" 500;
      word-break: break-all;
}

#footer {
    background-color: #ffff00;
    padding: 20px 0;
}

/* responsive */
@media (max-width: 1920px){
    #header_pc nav { padding: 0 4.9vw;}

    #header_pc ul li { margin-left: 3.2vw;}

    .container section { margin-bottom: 50vh;}

    .container section h2 { margin-bottom: 3.7vh;}
}

@media (max-width: 600px) {
    .container section { margin-bottom: 15vh;}

    .container section h2 { margin-bottom: 2vh;}

    #header_pc { display: none;}

    #header_sp { display: block;}

    #g-nav{
        position:fixed;
        z-index: -1;
        opacity: 0;
        top:0;
        width:100%;
        height: 100vh;
        background:#b8ff00;
        transition: all 0.3s;
    }

    #g-nav.panelactive{
        opacity: 1;
        z-index:999;
    }

    #g-nav ul {
        display: none;
        position: absolute;
        z-index: 999;
        top:50%;
        left:50%;
        transform: translate(-50%,-50%);
    }

    #g-nav.panelactive ul { display: block;}

    #g-nav li{
        list-style: none;
        text-align: center;
    }

    #g-nav li a{
        color: #000;
        text-decoration: none;
        padding: 15px;
        display: block;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        font-family: "Nunito Sans", sans-serif;
        font-optical-sizing: auto;
        font-weight: 300;
        font-style: normal;
        font-variation-settings:
          "wdth" 100,
          "YTLC" 500;
          font-size: 20px;
    }

    #g-nav li:first-child a {
        font-size: 40px;
    }

    .openbtn{
        position:fixed;
        z-index: 9999;
        top:10px;
        left: 25px;
        cursor: pointer;
        width: 50px;
        height:50px;
    }

    .openbtn span{
        display: inline-block;
        transition: all .4s;
        position: absolute;
        height: 1px;
        border-radius: 2px;
        background-color: #000;
          width: 100%;
      }

    .openbtn span:nth-of-type(1) { top:15px;}

    .openbtn span:nth-of-type(2) { top:23px;}

    .openbtn span:nth-of-type(3) { top:31px;}

    .openbtn.active span:nth-of-type(1) {
        top: 18px;
        transform: translateY(6px) rotate(-45deg);
    }

    .openbtn.active span:nth-of-type(2) { opacity: 0;}

    .openbtn.active span:nth-of-type(3){
        top: 30px;
        transform: translateY(-6px) rotate(45deg);
    }

}
