/* 初期設定
   ========================================================================== */
html {
    font-size: 1vw;
}

body {
    min-width: 100vw;
}

.fadeup-ani {
    transform: translateY(50px);
    opacity: 0;
}

/* グローバルナビ調整
   ========================================================================== */
section#nav {
    width: 100vw;
    height: 80px;
    background-color: #fff;
}

ul#gnav li a {
    color: #00744b;
    font-size: 1.25em;
    font-weight: bold;
}

a#sp-lineup-btn {
    display: none;
}


header#head h1.head-logo a img {
        width: 60%;
}

header#head {
    position: relative;
    width: 90vw;
    height: 100%;
}

div#nav_wrapper {
    width: 100vw;
    height: 100%;
    transition: 1s all;
    z-index: 9999;
}

div#nav_wrapper header#head h1.head-logo {
    top: 50%;
    transform: translateY(-50%);
}

nav#jam_lineup_wrapper {
    position: absolute;
    top: 66px;
    transform-origin: top;
    left: 172px;
    width: 117px;
    font-size: 1.2rem;
    display: none;
}

ul#jam_lineup {
    display: flex;
    flex-wrap: wrap;
    height: 108px;
    flex-direction: column;
    text-align: left;
}

ul#jam_lineup li {
    width: 130px;
    line-height: 3em;
    padding-left: 10px;
    background-color: #FFFDE1;
}

ul#gnav li #jam_lineup a {
    color: #000;
}

ul#jam_lineup li:nth-child(6n),ul#jam_lineup li:nth-child(6n-1),ul#jam_lineup li:nth-child(6n-2) {
    background-color: #fff;
}

nav#pre_gnav-wrap {
    padding-top: 15px;
}

nav#pre_gnav-wrap ul#gnav li {
    line-height: 3em;
}

#pre_gnav-wrap {
  padding-bottom: 45px;
  padding-top: 40px;
  text-align: right; }

ul#jam_lineup li a:before {
    content: url(img/menu_initial.svg);
    display: inline-block;
    width: 6px;
    margin-right: 5px;
}

ul#gnav li.sp-lineup {
        display: none;
}


#gnav li {
        padding-left: 20px;
        font-size: 13px;
}

div#btn-tregger-wrapper {
    display: none;
}

div#btn-tregger-wrapper {
    position: absolute;
    right: 3%;
    top: 10px;
    padding: 9px 7px;
}

.btn-trigger {
    position: relative;
    width: 40px;
    height: 34px;
    cursor: pointer;
    display: none;
}

.btn-trigger span {
      position: absolute;
      left: 0;
      width: 100%;
      height: 4px;
      background-color: #2a6340;
      border-radius: 4px;
}

.btn-trigger, .btn-trigger span {
      display: inline-block;
      transition: all .5s;
      box-sizing: border-box;
}

.btn-trigger span:nth-of-type(1) {
      top: 0;
}

.btn-trigger span:nth-of-type(2) {
      top: 15px;
}

.btn-trigger span:nth-of-type(3) {
      bottom: 0;
}

/*レスポンシブ*/

@media screen and (max-width:768px) {
    
    div#nav_wrapper {
        height: auto;
    }
    
    ul#gnav {
        overflow: auto;
    }
    
    a#sp-lineup-btn {
        position: absolute;
        display: block;
        right: 1.5em;
        top: 26px;
        width: 2em;
        height: 2em;
    }
    
    a.lineup-active img {
        transform: rotate(90deg);
    }
    
    #pre_gnav-wrap {
        z-index: 9999;
    }
    
    nav#pre_gnav-wrap ul#gnav li.lineup {
        padding-right: 3.5em;
    }
    
    a#sp-lineup-btn img {
        width: 0.75em;
        transition: 0.5s all;
    }
    
    div#btn-tregger-wrapper {
        display: block;
    }
    
    ul#gnav li.sp-lineup {
        display: none;
        font-size: 1.2rem;
        background-color: #FFFDE1;
    }
    
    header#head {
        height: auto;
        min-height: 68px;
        width: 100vw;
        padding-left: 0;
        overflow-y: scroll;
        overflow-x: hidden;
    }
    
    nav#jam_lineup_wrapper {
        display: none;
    }
    
    header {
        padding-top: 15px;
    }
    
    div#nav_wrapper header#head h1.head-logo {
        top: 20px;
        width: 100px;
        left: 10px;
    }
    
    nav#pre_gnav-wrap ul#gnav li {
        padding-right: 10px;
    }
    
    nav#pre_gnav-wrap {
        margin-top: 20px;
        padding-top: 0;
        padding-bottom: 0;
        background-color: #fff;
        transform: translateX(100%);
        transition: 0.5s all;
        position: relative;
        display: none;
    }
    
    ul#gnav li a {
        color: #000;
    }
    
    div.btn-trigger {
    display: block;
    }
    
    #pre_spmenu_trigger span:nth-of-type(1) {
      -webkit-animation: btn07-bar01 .75s forwards;
      animation: btn07-bar01 .75s forwards;
    }
    @-webkit-keyframes btn07-bar01 {
      0% {
        -webkit-transform: translateY(15px) rotate(45deg);
      }
      50% {
        -webkit-transform: translateY(15px) rotate(0);
      }
      100% {
        -webkit-transform: translateY(0) rotate(0);
      }
    }
    @keyframes btn07-bar01 {
      0% {
        transform: translateY(15px) rotate(45deg);
      }
      50% {
        transform: translateY(15px) rotate(0);
      }
      100% {
        transform: translateY(0) rotate(0);
      }
    }
    #pre_spmenu_trigger span:nth-of-type(2) {
      transition: all .25s .25s;
      opacity: 1;
    }
    #pre_spmenu_trigger span:nth-of-type(3) {
      -webkit-animation: btn07-bar03 .75s forwards;
      animation: btn07-bar03 .75s forwards;
    }
    @-webkit-keyframes btn07-bar03 {
      0% {
        -webkit-transform: translateY(-15px) rotate(-45deg);
      }
      50% {
        -webkit-transform: translateY(-15px) rotate(0);
      }
      100% {
        -webkit-transform: translateY(0) rotate(0);
      }
    }
    @keyframes btn07-bar03 {
      0% {
        transform: translateY(-15px) rotate(-45deg);
      }
      50% {
        transform: translateY(-15px) rotate(0);
      }
      100% {
        transform: translateY(0) rotate(0);
      }
    }
    #pre_spmenu_trigger.active span:nth-of-type(1) {
      -webkit-animation: active-btn07-bar01 .75s forwards;
      animation: active-btn07-bar01 .75s forwards;
    }
    @-webkit-keyframes active-btn07-bar01 {
      0% {
        -webkit-transform: translateY(0) rotate(0);
      }
      50% {
        -webkit-transform: translateY(15px) rotate(0);
      }
      100% {
        -webkit-transform: translateY(15px) rotate(45deg);
      }
    }
    @keyframes active-btn07-bar01 {
      0% {
        transform: translateY(0) rotate(0);
      }
      50% {
        transform: translateY(15px) rotate(0);
      }
      100% {
        transform: translateY(15px) rotate(45deg);
      }
    }
    #pre_spmenu_trigger.active span:nth-of-type(2) {
      opacity: 0;
    }
    #pre_spmenu_trigger.active span:nth-of-type(3) {
      -webkit-animation: active-btn07-bar03 .75s forwards;
      animation: active-btn07-bar03 .75s forwards;
    }
    @-webkit-keyframes active-btn07-bar03 {
      0% {
        -webkit-transform: translateY(0) rotate(0);
      }
      50% {
        -webkit-transform: translateY(-15px) rotate(0);
      }
      100% {
        -webkit-transform: translateY(-15px) rotate(-45deg);
      }
    }
    @keyframes active-btn07-bar03 {
      0% {
        transform: translateY(0) rotate(0);
      }
      50% {
        transform: translateY(-15px) rotate(0);
      }
      100% {
        transform: translateY(-15px) rotate(-45deg);
      }
    }
    
    header#head h1.head-logo a img {
        margin-top: 5px;
        margin-left: 10px;
    }
    
    .height {
        height: 75vh;
    }
    
}

/* ファーストビュー
   ========================================================================== */

section#hero {
    width: 100vw;
}

.hero-wrapper {
    position: relative;
}

.hero-back {
    width: 100%;
}

.hero-parts {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    opacity: 0;
    width: 100vw;
}

/* キャンペーンセクション
   ========================================================================== */


section#campaign {
    width: 100vw;
    margin-top: 1em;
}

div.cp-wrapper {
    position: relative;
}

@keyframes bgmove {
    from {
        background-position: 0%;
    }
    to {
        background-position: 245%;
    }
}

div.cp-title-area {
    position: absolute;
    height: 10%;
    width: 100%;
    top: -6%;
    left: 50%;
    transform: translateX(-50%);
    background-image: url(img/campaign_title_back.png);
    background-size: cover;
    background-repeat: repeat-x;
    animation: bgmove 20s infinite;
    animation-timing-function: linear;
}

.cp-title-area img {
    position: absolute;
    width: 65vw;
    left: 50%;
    transform: translate(-50%, 55%);
}

.cp-box-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    margin-top: 4%;
}

.cp-box {
    display: flex;
    background-image: url(img/cp-box.png);
    background-size: contain;
    background-repeat: no-repeat;
    width: 65vw;
    height: 24.75vw;
    padding-top: 4%;
    align-items: center;
    margin-bottom: 7%;
}

.cp-box.coming {
    background-image: url(img/cp-coming.png);
}

.cp-box.coming div {
    display: none;
}

.cp-img {
    width: 46%;
    margin: 0 4%;
}

.cp-img img {
    max-height: 80%;
}

.cp-detail {
    width: 42%;
    height: 80%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cp-detail h4 {
    font-family: "Mochiy Pop One", sans-serif;
    font-size: 1.05em;
    line-height: 1.2em;
    letter-spacing: -0.05em;
}

.blue h4 {
    color: #59b4ba;
}

.red h4 {
    color: #dc7583;
}

.cp-detail p {
    height: 60%;
    font-size: 0.75em;
    line-height: 1.3em;
    word-break: break-all;
    padding-top: 0.5em;
}

.cp-detail span.notes {
    font-size: 0.85em;
    font-weight: 100;
    line-height: 2.5em;
}

.cp-button {
    border: none;
    font-size: 0.8em;
    line-height: 2em;
    padding: 0 1em;
    border-radius: 1em;
    margin-right: 0.75em;
}

.blue .cp-button {
    background-color: #59b4ba;
}

.red .cp-button {
    background-color: #dc7583;
}

.cp-button.pink-button {
    background-color: #dc7583;
}

.cp-button a {
    color: #fff;
}

@media screen and (max-width: 768px){
    div.cp-title-area {
        height: 16%;
        top: -3%;
    }
    
    .cp-title-area img {
        transform: translate(-50%, 25%);
        width: 85vw;
    }
    
    .cp-box-wrapper {
        margin-top: 10%;
    }
    
    .cp-box {
        width: 90vw;
        height: 34.75vw;
    }
    
    .cp-img {
        width: 40%;
        margin: 0 4% 0 5%;
    }
    
    .cp-detail {
        width: 48%;
    }
    
    .cp-detail h4 {
        font-size: 1.35em;
    }
    
    .cp-detail p {
        font-size: 1.15em;
    }
    
    .cp-button {
        font-size: 1.35em;
    }
    
}


/* バナー
   ========================================================================== */

#banner {
    width: 100vw;
    padding: 5em 0;
}

.banner-box {
    width: 50%;
    margin: 0 auto;
}

.sns {
    display: flex;
    justify-content: space-between;
    margin-top: 3em;
}

.sns a {
    width: 48%;
}

@media screen and (max-width: 768px){
    .banner-box {
        width: 90vw;
    }
}

/* 他リンク
   ========================================================================== */

#other {
    width: 100vw;
    background-color: #f0f1f2;
}

.other-box {
    width: 80vw;
    margin: 0 auto;
    padding: 3em 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.other-box a {
    width: 48%;
    margin: 2% 0;
}

@media screen and (max-width: 768px){
    .other-box {
        width: 90vw;
    }
    
    .other-box a {
        width: 100%;
    }
}

/* フッター
   ========================================================================== */

footer {
    width: 100vw;
    padding-bottom: 4em;
}

footer div.foot-inner {
    width: 90%;
    position: relative;
}

.foot-chara {
    position: absolute;
    height: 8em;
    top: 30%;
}

@media screen and (max-width:767px){
    .foot-chara {
        position: inherit;
        height: 15em;
    }
}

/* ヒストリー
   ========================================================================== */

section {
    width: 100vw;
}

#history-hero {
    background-color: #c5dec5;
}

#history-content {
    position: relative;
    background-color: #c5dec5;
    height: 100%;
}

#history-content::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 1%;
    transform: translateX(-50%);
    border-left: 0.5em solid #fff9b9;
    display: block;
    height: calc(100% - 18em);
    border-radius: 1em;
}

#history-content::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 1%;
    transform: translateX(-50%);
    background-image: url(img/dott.svg);
    background-size: 0.5em 1.5em;
    background-repeat: repeat-y;
    background-position: bottom center;
    height: calc(100% - 4em);
    width: 0.5em;
}

.history-wrapper {
    width: 80vw;
    margin: 0 auto;
    display: flex;
    flex-direction: row-reverse;
    flex-wrap: wrap;
    justify-content: space-between;
}

.hs-head {
    width: 42%;
    height: 8em;
}

.hs-item {
    width: 42%;
    height: 16.25em;
    margin-bottom: 2em;
    position: relative;
    opacity: 0;
    z-index: 5000;
}

.hs-item:nth-child(even) {
    transform: translateY(55%);
}

.hs-item:nth-child(odd)::before {
    content: "";
    display: block;
    width: 5.25em;
    height: 1.5em;
    background-image: url(img/history-line.png);
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    left: -5.35em;
    top: 3%;
}

.hs-item:nth-child(even)::before {
    content: "";
    display: block;
    width: 5.25em;
    height: 1.5em;
    background-image: url(img/history-line.png);
    background-size: contain;
    background-repeat: no-repeat;
    transform: rotate(180deg);
    position: absolute;
    right: -5.35em;
    top: 3%;
}

#history-after {
    background-color: #c5dec5;
}

img.history-chara {
    position: absolute;
    width: 18vw;
}

img.history-chara.chara01 {
    top: 19%;
    left: 4%;
}

img.history-chara.chara02 {
    top: 28%;
    right: -6%;
}

img.history-chara.chara03 {
    bottom: 13.5%;
    left: -5%;
}

@media screen and (max-width: 768px){
    .history-wrapper {
        width: 90vw;
    }
    
    .hs-item {
        width: 80%;
        height: auto;
        margin-bottom: 6em;
    }
    
    .hs-item:nth-child(even) {
        transform: none;
    }
    
    #history-content::before {
        left: 9.85%;
        top: 1em;
        border-left: 1.5em solid #fff9b9;
        height: calc(100% - 37em);
    }
    
    #history-content::after {
        left: 9.85%;
        top: 1em;
        width: 1.6em;
        background-size: 1.5em 4em;
    }
    
    .hs-item:nth-child(odd)::before {
        width: 11em;
        height: 3.5em;
        left: -11em;
    }
    
    .hs-item:nth-child(even)::before {
        width: 11em;
        height: 3.5em;
        left: -11em;
        transform: none;
    }
    
    img.history-chara {
        width: 25vw;
    }
    
    img.history-chara.chara01 {
        left: 18%;
        top: 9.95%;
    }
    
    img.history-chara.chara02 {
        top: 44.5%;
    }
    
    img.history-chara.chara03 {
        bottom: 21.5%;
        left: 15%;
    }
}