/*-------------------------------------------メイン---------------------------------------------*/

body {
    margin: 0;
    padding: 0;
    font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", sans-serif;
}

#container {
    background-color: #171c61;
    z-index: 1;
}

#wrapper {
    margin: 0 5%;
    background-color: #EEFFFF;
}

.loop_wrap {
    display: flex;
    width: 100%;
    height: 55vw;
    padding-bottom: 0;
    overflow: hidden;
}

.loop_wrap img {
    width: auto;
    height: 100%;
}

@keyframes loop {
    0% {
        transform: translateX(100%);
    }

    to {
        transform: translateX(-100%);
    }
}

@keyframes loop2 {
    0% {
        transform: translateX(0);
    }

    to {
        transform: translateX(-200%);
    }
}

.loop_wrap img:first-child {
    animation: loop 50s -25s linear infinite;
}

.loop_wrap img:last-child {
    animation: loop2 50s linear infinite;
}

#contents-history {
    width: 100%;
    height: auto;
    background-color: white;
    display: flex;
    justify-content: space-around;
    margin: 5% 0;
    padding: 5% 0;
    box-shadow: 0 0 1px black;
}

#history-title {
    font-size: 3.2vw;
    font-weight: bold;
    color: #171c61;
    background-color: #FFFFEE;
    margin: 0 0 3% 0;
    padding: 0 1%;
    border-left: 1vw solid #171c61;
}

#history {
    width: 90%;
    height: auto;
    font-size: 1.4vw;
    margin: 0 1%;
    color: #14171a;
}

#history-main {
    margin-top: 3%;
}

.history-text {
    margin-bottom: 2%;
    border-bottom: 1px solid rgba(0, 0, 0, 0.4);

}

.history-year {
    font-size: 1.3vw;
}

.history-text p {
    margin: 0;
}

@keyframes key1 {
    0% {
        width: 0;
    }

    100% {
        transform: translateY(-10px);
    }
}

h1 {
    text-align: center;
    margin: 0;
    padding: 0 0 10% 0;
}

h1 img {
    width: 60%;
    vertical-align: middle;
}

#title {
    padding: 3% 0;
    background-color: red;
}

.slider {
    width: 100%;
    margin: 0 auto;
    padding: 0 5% 5% 5%;
}

.slider img {
    width: 100%;
}

#c-container {
    margin-top: 15%;
}

.contents {
    display: flex;
    justify-content: center;
    padding: 0 5% 10% 5%;
    font-size: 2vw;
}

.contents-line {
    text-align: center;
    width: 100%;
}

.contents-line img {
    width: 80%;
}

.contents-bonbon {
    text-align: center;
    width: 100%;
}

.contents-bonbon img {
    width: 80%;
}

.contents-goods {
    text-align: center;
    width: 100%;
}

.contents-goods img {
    width: 80%;
}

.contents-game {
    text-align: center;
    width: 100%;
}

.contents-game img {
    width: 80%;
}

.contents-20thgame {
    text-align: center;
    width: 50%;
}

.contents-20thgame img {
    width: 80%;
}

.contents a {
    color: white;
    text-decoration: none;
}

.contents span {
    background-color: red;
}

.contents-line:hover {
    animation: key1 .3s ease infinite alternate;
}

.contents-bonbon:hover {
    animation: key1 .3s ease infinite alternate;
}

.contents-goods:hover {
    animation: key1 .3s ease infinite alternate;
}

.contents-game:hover {
    animation: key1 .3s ease infinite alternate;
}

.contents-20thgame:hover {
    animation: key1 .3s ease infinite alternate;
}

@keyframes key1 {
    0% {
        transform: translateY(0px);
    }

    100% {
        transform: translateY(-10px);
    }
}

a {
    cursor: pointer;
}

/*-----------------------------------レスポンシブデザインここから-------------------------------------------------------*/
@media screen and (max-width: 600px) {
    #container {
        overflow: hidden;
        background-color: #EEFFFF;
    }

    #wrapper {
        margin: 0;
    }

    #pcmenu {
        display: none;
    }

    #logo {
        display: none;
    }

    #logo2 {
        width: 100px;
        padding-top: 10px;
        padding-left: 10px;
    }

    #logo2 img {
        width: 100%;
    }

    .loop_wrap {
        margin-top: 10%;
    }

    small {
        font-size: 1.5vw;
    }

    body {
        margin: 0;
    }

    .wrap {
        padding: 60px 0 0 0;
        background-color: white;
    }

    #history-title {
        font-size: 5vw;
    }

    .history-year {
        font-size: 3vw;
    }

    #history {
        font-size: 3.3vw;
    }

    /*ハンバーガーボタン*/
    .header {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 60px;
        background-color: #171c61;
        z-index: 300;
    }

    .el_humburger {
        position: absolute;
        top: 18px;
        right: 18px;
        width: 30px;
        height: auto;
        padding-top: 1px;
        box-sizing: border-box;
        z-index: 10000;
        transition: all 0.2s ease-in-out;
        cursor: pointer;
        pointer-events: auto;
    }

    .el_humburger > span {
        display: block;
        width: 100%;
        margin: 0 auto 6px;
        height: 3px;
        background: white;
        transition: all 0.2s ease-in-out;
    }

    .el_humburger > span:last-child {
        margin-bottom: 0;
    }

    .js_humburgerOpen .el_humburger > span {
        background: #000;
    }

    .js_humburgerOpen .el_humburger > span.top {
        transform: translateY(9px) rotate(-45deg);
    }

    .js_humburgerOpen .el_humburger > span.middle {
        opacity: 0;
    }

    .js_humburgerOpen .el_humburger > span.bottom {
        transform: translateY(-9px) rotate(45deg);
    }

    .el_humburgerButton.el_humburgerButton__close {
        top: 2%;
        right: 2%;
    }

    .el_humburgerButton__close > span {
        display: block;
        width: 35px;
        margin: 0 auto;
        height: 4px;
        background: #fff;
    }

    .el_humburgerButton__close > span.el_humburgerLineTop {
        transform: translateY(5px) rotate(-45deg);
    }

    .el_humburgerButton__close > span.el_humburgerLineBottom {
        transform: translateY(-6px) rotate(45deg);
    }

    /*ナビゲーション*/
    .uq_spNavi {
        display: none;
    }

    .uq_spNavi.js_appear {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        display: block;
        z-index: 9999;
    }

    .uq_spNavi_screen {
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        background-color: rgba(255, 255, 255, 0.96);
        z-index: 0;
        margin-top: 0px;
        padding-top: 0px;
        overflow: auto;
        -webkit-overflow-scrolling: touch;
    }

    .navigation {
        padding: 80px 0 0 0;
        text-align: center;
    }

    .navigation_item {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .navigation_item > a {
        color: #000;
        text-decoration: none;
    }

    .js_fixed {
        position: fixed;
        width: 100%;
        height: 100%;
    }

    #wrapper h1 {
        font-size: 7vw;
    }


    .slider {
        width: 100%;
        padding: 5% 2%;
    }

    .slider img {
        width: 100%;
    }

    .contents {
        padding: 0 2% 10% 2%;
    }

    .contents-line img {
        width: 90%;
    }

    .contents-bonbon img {
        width: 90%;
    }

    .contents-goods img {
        width: 90%;
    }

    .contents-game img {
        width: 90%;
    }

    .contents-20thgame img {
        width: 90%;
    }

    .contents-line:hover {
        animation: none;
    }

    .contents-bonbon:hover {
        animation: none;
    }

    .contents-goods:hover {
        animation: none;
    }

    .contents-game:hover {
        animation: none;
    }

    .contents-20thgame:hover {
        animation: none;
    }

    #panzouya {
        font-size: 4vw;
    }

    .snsicon {
        width: 7%;
        margin: 1% 4% 0 4%;
    }

}

@media screen and (max-width: 1025px) {

    #pcmenu ul li {
        font-size: 1.9vw;
    }

    #panzouya {
        font-size: 2.5vw;
    }

}
