ul {
    list-style: none;
}
body {
    background-image: url(../img/bg.gif);
    background-position: center -240px;
    background-size: 100% auto;
    z-index: -1;
}
.top .header{
    background-color: #009863;
    height: 60px;
    line-height: 60px;
}
.top .header h2{
    padding: 10px 0 0 40px;
}
.top .header .gnav {
    position: absolute;
    top: 0;
}
.header{
    position: relative;
}
.gnav-top ul {
    display: none;
    width: 100%;
    margin: 0;
    padding: 50px 0 5px;
}
.gnav-top .menu {
    opacity: 0;
}
.nav-open .gnav-top .menu {
    opacity: 1;
    -webkit-transition: .4s;
    transition: .4s;
}
.gnav-top .hamburger {
    position: absolute;
    right: 0;
    top: 4px;
    width: 100px;
    height: 50px;
    cursor: pointer;
    z-index: 300;
    display: block;
  }
.gnav-top ul li{
    padding: 0 0 60px;
    background-image: none;
    width: 100%;
    height: 30px;
    display: block;
    text-align: center;
    margin: 0 auto;
}
.gnav-top ul li a{
    font-size: 2rem;
    color: #014428;
    height: 30px;
    line-height: 30px;
    position: relative;
}
/* アイコン追加 */
.gnav-top ul li a:before {
    content: '';
    display: block;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    top: 0;
}
.gnav-top ul li:nth-of-type(1) a:before {
    width: 56px;
    height: 59px;
    background-image: url(../img/icon_33qa.png);
    background-size: contain;
    top: -50px;
    left: 12px;
}
.gnav-top ul li:nth-of-type(2) a:before {
    width: 55px;
    height: 56px;
    background-image: url(../img/icon_77words.png);
    background-size: contain;
    top: -50px;
    right: -6px;
}
.gnav-top ul li:nth-of-type(3) a:before {
    width: 53px;
    height: 58px;
    background-image: url(../img/icon_movie.png);
    background-size: contain;
    top: -50px;
    right: 123px;
}
.gnav-top ul li:nth-of-type(4) a:before {
    width: 45px;
    height: 64px;
    background-image: url(../img/icon_store.png);
    background-size: contain;
    top: -54px;
    left: -15px;
}


.gnav-top ul li.account a {
    padding: 0 0 0 25px;
}
.gnav-top ul li.account a:before {
    left: 6px;
}
.gnav-top .hamburger__line {
    position: absolute;
    left: 23px;
    width: 50px;
    height: 5px;
    background-color: #014428;
    -webkit-transition: all .6s;
    transition: all .6s;
}
.gnav-top .hamburger__line--1 {
    top: 10px;
}
.gnav-top .hamburger__line--2 {
    top: 24px;
}
.gnav-top .hamburger__line--3 {
    top: 38px;
}
.gnav-top .black-bg {
    width: 100vw;
    height: 100vh;
    z-index: 100;
    background-color: rgba(0,0,0,.8);
    cursor: pointer;
    display: none;
}
.gnav-top ul.line-last {
    margin-bottom: -12px;
}
/* 表示された時用のCSS */
.nav-open .gnav-top {
    right: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    z-index: 200;
    margin-top: -10px;
}
.nav-open .gnav-top ul.gv_link {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    padding: 0;
    margin: -10px 0 -25px;
}
.nav-open .gnav-top ul.gv_link li{
    width: 100%;
    height: 417px;
    padding: 0;
    margin: 0;
}
.nav-open .gnav-top ul.gv_link li a {
    display: block;
    height: auto;
    line-height: 0;
    padding: 0;
}
.nav-open .gnav-top ul {
    display: block;
    background-color: #FFFFFF;
}
.nav-open .black-bg {
    top: 50px;
    opacity: 1;
    display: block;
}
.nav-open .hamburger__line--1 {
    -webkit-transform: rotate(45deg);
            transform: rotate(45deg);
    top: 25px;
}
.nav-open .hamburger__line--2 {
    width: 0;
    left: 50%;
}
.nav-open .hamburger__line--3 {
    -webkit-transform: rotate(-45deg);
            transform: rotate(-45deg);
    top: 25px;
}
body.nav-open{
    overflow: hidden;
}
h1{
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    margin: 100px auto 0;
    width: 875px;
    height: 455px;
    content: '';
    background: url(../img/ttl_main.png) no-repeat;
    background-size: contain;
    text-indent: -9999px;
}
.top .staff{
    text-align: center;
    color: #014428;
    font-size: 1.5rem;
    line-height: 1.5;
    padding-top: 60px;
}
.yodogawa p.txt{
    max-width: 450px;
    width: 90%;
    margin: 0 auto;
    font-size: 1.8rem;
    padding: 80px 0 100px;
}
.yodogawa p.banner{
    max-width: 700px;
    width: 90%;
    margin: 0 auto;
    padding-bottom: 60px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
}
.container{
    background-color: #FFFFFF;
}
.container h3{
    text-align: center;
    font-size: 4.4rem;
    line-height: 1;
    padding: 37px 0;
}
.container h3.ttl1{
    background-image: url(../img/bg_ttl1.png);
    background-position: center center;
    background-size: 100% auto;
    background-repeat: repeat-y;
    background-color: #a6d398;
}
.container h3.ttl2{
    background-image: url(../img/bg_ttl2.gif);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}
#global-nav.m_fixed {
    left: 0;
    position: fixed;
    top: 0;
}
.container .prof{
    max-width: 1000px;
    margin: 0 auto;
    text-align: right;
    padding-top: 30px;
    cursor: pointer;
}
.container .prof img:hover{
    -webkit-transition: opacity .15s ease .1s;
    transition: opacity .15s ease .1s;
    opacity: .7;
}
.container .popup {
    position: fixed;
    z-index: -1;
    opacity: 0;
    background: rgba(0, 0, 0, 0.6);
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    -webkit-transition-property: opacity;
    transition-property: opacity;
    -webkit-transition-duration: .1s;
            transition-duration: .1s;
}
.container .popup.active {
    z-index: 100;
    opacity: 1;
}
.container .popup .box {
    background-color: #ffffff;
    text-align: center;
    width: 600px;
    max-height: 90vh;
    height: auto;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    padding: 30px 0;
    position: fixed;
    top: 50%;
    left: 50%;
    -webkit-transform: translateY(-50%) translateX(-50%);
            transform: translateY(-50%) translateX(-50%);
    z-index: 2;
    overflow: scroll;
}
.container .popup .box h2{
    max-width: 400px;
    width: 100%;
    margin: 0 auto;
    font-size: 2.4rem;
    line-height: 1.5;
    text-align: left;
}
.container .popup .box h2 span{
    font-size: 2rem;
}
.container .popup .box .text{
    max-width: 400px;
    width: 100%;
    margin: 0 auto;
    font-size: 1.5rem;
    text-align: left;
    line-height: 1.7;
    padding-top: 1em;
}
.container .popup .box .text a{
    display: inline-block;
    text-decoration: underline;
}
.container .popup .box > .close {
    width: 38px;
    position: absolute;
    cursor: pointer;
    bottom: 10px;
    right: 20px;
}
.container .popup .box > .close img{
    width: 100%;
}

.container .popup > .close {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}
.container a{
    color: #000;
    display: block;
}
a.anchor{
    display: block;
    padding-top: 64px;
    margin-top: -64px;
}
.container ul.items{
    max-width: 1000px;
    width: 96%;
    margin: 0 auto;
    padding-top: 70px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
}
.container ul li{
    width: 300px;
    text-align: center;
    padding-bottom: 80px;
    position: relative;
}
.container ul li h4{
    font-size: 2rem;
    line-height: 1.4;
}
.container ul li h4 span{
    font-size: 1.8rem;
    display: block;
}
.container ul li p{
    font-size: 2rem;
}
.container ul li a.sold:after {
    content: '完売しました';
    display: block;
    width: 171px;
    height: 48px;
    line-height: 43px;
    text-align: center;
    color: #999999;
    border: 3px solid #999999;
    background-color: rgba(255,255,255,.8);
    font-size: 2rem;
    letter-spacing: .015em;
    border-radius: 70px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    white-space: nowrap;
    position: absolute;
    top: 30%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
}
.container .book {
    background-image: url(../img/bg_ttl1.png);
    background-position: center center;
    background-size: 100% auto;
    padding: 60px 0 120px;
    background-color: #65be97;
}
.container .book .inner{
    max-width: 880px;
    width: 90%;
    margin: 0 auto;
    font-size: 1.7rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
}
.container .book .inner div:first-of-type{
    text-align: center;
    font-size: 2rem;
    line-height: 1.5;
}
.container .book .inner div:first-of-type span{
    font-size: 1.4rem;
}
.container .book .inner div:first-of-type p{
    font-size: 2.4rem;
    margin: 10px 0 20px;
}
.container .book .inner div:first-of-type p.note{
    font-size: 1.4rem;
}
.container .book .btn_cart{
    width: 210px;
    margin: 0 auto;
}
/* .container .book .btn_cart{
    font-size: 1.5rem;
    border: 2px solid;
    display: inline-block;
    border-radius: 20px;
    padding: 0 1em;
} */
.footer .info h3 a{
    color: #ffffff;
}
@media screen and (max-width: 768px){
    body {
        background-image: url(../img/bg_sp.gif);
        background-position: center top;
        background-size: 100% auto;
    }
    h1 {
        margin: 40px auto 0;
        width: 95%;
        height: 0;
        padding-top: 50.3%;
    }
    .top .staff{
        font-size: 1.1rem;
        padding-top: 30px;
    }
    .top .header {
        height: 40px;
        line-height: 40px;
    }
    .top .header h2 {
        padding: 3px 0 0 10px;
    }
    .top .header h2 img{
        width: 40%;
    }
    .gnav-top ul{
        padding-bottom: 5px;
    }
    .gnav-top ul li {
        width: 100%;
        padding: 0 0 30px;
    }
    .gnav-top ul li a{
        font-size: 1.4rem;
    }
    .gnav-top .hamburger{
        top: -4px;
        width: 50px;
        height: 40px;
    }
    .gnav-top .hamburger__line {
        width: 18px;
        height: 2px;
    }
    .gnav-top .hamburger__line--1 {
        top: 16px;
    }
    .gnav-top .hamburger__line--2 {
        top: 24px;
    }
    .gnav-top .hamburger__line--3 {
        top: 32px;
    }
    .nav-open .gnav-top{
        margin-top: 0;
    }
    .nav-open .gnav-top .hamburger__line--1 {
        -webkit-transform: rotate(45deg);
        transform: rotate(45deg);
        top: 25px;
    }
    .nav-open .gnav-top .hamburger__line--2 {
        width: 0;
        left: 50%;
    }
    .nav-open .gnav-top .hamburger__line--3 {
        -webkit-transform: rotate(-45deg);
        transform: rotate(-45deg);
        top: 25px;
    }
    /* 追加 */
    .gnav-top ul li:nth-of-type(1) a:before {
        width: 40px;
        top: -45px;
        left: -8px;
    }
    .gnav-top ul li:nth-of-type(2) a:before {
        width: 38px;
        top: -44px;
        right: -3px;
    }
    .gnav-top ul li:nth-of-type(3) a:before {
        width: 37px;
        top: -45px;
        right: 86px;
    }
    .gnav-top ul li:nth-of-type(4) a:before {
        width: 35px;
        top: -50px;
        left: -12px;
    }

    .yodogawa p.txt{
        font-size: 1.5rem;
        padding: 40px 0;
    }
    .yodogawa p.banner img{
        width: 98%;
    }
    .yodogawa p.banner img{
        width: 90%;
    }
    .container h3{
        padding: 16px 0 8px 0;
    }
    .container h3.ttl1 img{
        width: 77%;
    }
    .container h3.ttl2{
        padding: 42px 0 37px 0;
    }
    .container h3.ttl2 img{
        width: 90%;
    }
    a.anchor{
        display: block;
        padding-top: 49px;
        margin-top: -49px;
    }    
    .container .prof img{
        width: 50%;
    }
    .container .popup .box{
        width: 90%;
        padding: 20px 10px;
    }
    .container .popup .box h2 {
        font-size: 1.8rem;
    }
    .container .popup .box h2 span {
        font-size: 1.6rem;
    }
    .container .popup .box .text {
        font-size: 1.4rem;
        text-align: left;
    }
    .container .popup .box > .close img {
        width: 25px;
    }
    .container .popup .box > .close {
        bottom: 5px;
        right: 5px;
    }
    .container .prof{
        padding-right: 10px;
    }
    .container ul.items{
        padding-top: 10px;
    }
    .container ul li{
        width: 50%;
        padding-bottom: 40px;
    }
    .container ul li h4{
        font-size: 1.5rem;
    }
    .container ul li h4 span{
        font-size: 1.2rem;
    }
    .container ul li p{
        font-size: 1.5rem;
    }
    .container ul li img:last-of-type{
        width: 55%;
    }
    .container ul li a.sold:after{
        width: 138px;
        height: 36px;
        line-height: 36px;
        border: 2px solid #999999;
        font-size: 1.6rem;
    }
    .container .book{
        padding: 30px 0 60px;
    }
    .container .book .inner{
        display: block;
        font-size: 1.5rem;
    }
    .container .book .inner div:first-of-type{
        margin-bottom: 10px;
        font-size: 1.8rem;
    }
    .container .book .inner div:first-of-type p.note{
        width: 90%;
        text-align: left;
        margin: 0 auto 20px;
    }
}
@media screen and (max-width: 640px){
    .container .book h3 img{
        width: 79%;
    }
}
