body {
    margin: 0;
    font-size: 14px;
    font-family: sans-serif;
    background: #f5e700;
}

#cover {
    background: #f5e700;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (max-width: 767px) {
    #cover {
        height: 90vh;
    }
}

#cover-bg01 {
    animation: fadeInBg 1s cubic-bezier(.17,.84,.44,1) 0s 1 normal;
    animation-fill-mode: forwards;
    background: #dc1046;
    width: 100vw;
    height: 300vh;
    /* transform: rotate(-28deg); */
    transform: translateX(1000px) rotate(-28deg);
    position: absolute;
    top: -100vh;
    left: 60vw;
}

#cover-bg02 {
    animation: fadeInBg 1s cubic-bezier(.17,.84,.44,1) 0.2s 1 normal;
    animation-fill-mode: forwards;
    background: #00a0e8;
    width: 10vw;
    height: 300vh;
    /* transform: rotate(-28deg); */
    transform: translateX(1000px) rotate(-28deg);
    position: absolute;
    top: -100vh;
    left: 48vw;
}

@keyframes fadeInBg {
    0% {
        transform: translateX(1000px) rotate(-28deg);
    }
    100% {
        transform: translateX(0px) rotate(-28deg);
    }
}

#cover-title {
    animation: fadeInTitle 1s cubic-bezier(.17,.84,.44,1) 0.6s 1 normal;
    animation-fill-mode: forwards;
    width: 60vw;
    height: auto;
    position: absolute;
    bottom: 10px;
    left: 10px;
    opacity: 0;
}

@keyframes fadeInTitle {
    0% {
        opacity: 0;
        transform: scale(0.95);
    }
    100% {
        opacity: 1;
        transform: scale(1.0);
    }
}

#cover-title-ja {
    animation: fadeInTitleJa 1s cubic-bezier(.17,.84,.44,1) 0.6s 1 normal;
    animation-fill-mode: forwards;
    width: auto;
    height: 70vh;
    position: absolute;
    top: 10px;
    right: 10px;
    opacity: 0;
}

@keyframes fadeInTitleJa {
    0% {
        opacity: 0;
        transform: translateY(-50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0px);
    }
}

#cover-title-sub {
    animation: fadeInTitleSub 1s cubic-bezier(.17,.84,.44,1) 0.6s 1 normal;
    animation-fill-mode: forwards;
    width: 35vw;
    height: auto;
    position: absolute;
    top: 10px;
    left: 10px;
    opacity: 0;
}

@keyframes fadeInTitleSub {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0px);
    }
}

#chara {
    /* animation: fadeInChara 2s cubic-bezier(.17,.84,.44,1) 0.4s 1 normal; */
    animation: fadeInChara 1s ease-in-out 0.4s 1 normal;
    animation-fill-mode: forwards;
    /* left: 28vw; */
    width: auto;
    height: 130vh;
    opacity: 0;
    /* position: absolute; */
    /* top: 0;
    bottom: 0;
    right: 0;
    left: 0; */
    /* margin: auto; */
}

@media (max-width: 767px) {
    #chara {
        width: 100vw;
        height: auto;
    }
}

@keyframes fadeInChara {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0px);
    }
}

#sharebutton {
    height: 5em;
    background: #313A50;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 0;
}

#sharebutton div {
    margin: 0 0.7em;
}

div.page {
    /* background-image: url("./img/icon.png");
    background-size: 50%;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed; */
}

main {
    width: 80vw;
    margin: 0 auto;
}

@media (max-width: 767px) {
    main {
        width: 100vw;
    }
}

main > div.container {
    background: #fff;
    border-radius: 1em;
    padding: 0.2em 1em 0.7em;
    margin: 1.5em;
}

main > div.container > h1 {
    background: #dc1046;
    line-height: 0;
}

main > div.container > h1 > img {
    height: 1em;
    width: auto;
    margin: 0.2em;
}

main > div.container > h2:before {
    content: "■";
    color: #dc1046;
}

main > div.container > h2 {
    margin-left: 0.5em;
}

@media (max-width: 767px) {
    main > div.container > h2 {
        margin-left: 0;
    }
}

div.rules-image {
    text-align: center;
}

div.rules-image img {
    width: 90%;
}

main > div.container div.rules-row {
    display: flex;
    margin: 0 2em;
}

@media (max-width: 767px) {
    main > div.container div.rules-row {
        margin: 0;
    }
}

main > div.container div.rules-row div.maru {
    width: 1.4em;
    height: 1.4em;
    border-radius: 0.7em;
    background: #dc1046;
    /* border: 2px solid #dc1046; */
    text-align: center;
    line-height: 1.4em;
    color: #fff;
    /* color: #dc1046; */
    font-weight: bold;
    margin: 1.1em 0.5em;
}

main > div.container div.rules-row p {
    flex: 1;
}

main > div.container > p {
    margin: 1em 1.2em;
    line-height: 170%;
}

main > div.container > ul {
    margin-bottom: 2em;
}

@media (max-width: 767px) {
    main > div.container > ul {
        padding-left: 1.5em;
    }
}

main > div.container > ul > li {
    margin-bottom: 0.4em;
}

main > div.container b {
    color: #dc1046;
}

div.catch {
    text-align: center;
    padding: 3em 2em;
}

div.catch img.catch {
    width: 100%;
}

div.catch img.catch_title {
    width: 80%;
    padding-top: 3em;
}

@media (max-width: 767px) {
    div.catch {
        text-align: center;
        padding: 1em 0;
    }

    div.catch img.catch {
        width: 100%;
    }

    div.catch img.catch_title {
        width: 80%;
        padding-top: 1em;
    }
}

div#map p.map {
    text-align: center;
}

div#map p.map img {
    width: 90%;
    margin-top: 1em;
}

div.circle-list {
    display: flex;
    /* justify-content: space-between; */
    flex-wrap: wrap;
    width: 90%;
    margin: 1.5em auto 1em;
}

@media (max-width: 767px) {
    div.circle-list {
        width: 99%;
    }
}

div.circle-list div.elm {
    width: 50%;
    display: flex;
    align-items: center;
    margin-bottom: 1em;
}

@media (max-width: 767px) {
    div.circle-list div.elm {
        width: 100%;
    }
}

div.circle-list div.elm div.space {
    background: #313A50;
    border-radius: 0.5em;
    width: 4.5em;
    height: 4.5em;
    color: #fff;
    text-align: center;
    font-weight: bold;
    line-height: 4.5em;
}

@media (max-width: 767px) {
    div.circle-list div.elm div.space {
        font-size: 90%;
    }
}

div.circle-list div.elm div.name {
    font-weight: bold;
    font-size: 140%;
    margin-left: 0.5em;
    flex: 1;
}

div.circle-list div.elm div.name a {
    text-decoration: none;
}

@media (max-width: 767px) {
    div.circle-list div.elm div.name {
        font-size: 130%;
    }
}

a {
    /* text-decoration: none; */
    color: #00a0e8;
}

a:hover {
    /* text-decoration: underline; */
    background: #dc1046;
    color: #fff;
}

div.footer {
    text-align: center;
    margin: 1.8em 0 2em;
    font-size: 80%;
}

a.no-hover {
    background: inherit;
    color: inherit;
    text-decoration: none;
}

div.chan {
    display: flex;
    justify-content: center;
    align-items: center;
}

div.chan img {
    width: 10vw;
    height: auto;
    cursor: pointer;
}

@media (max-width: 767px) {
    div.chan img {
        width: 20vw;
    }
}

.balloon {
    height: 2em;
    width: 8em;
    padding-left: 1.1em;
    line-height: 2em;
    cursor: pointer;
    font-weight: bold;
    background-image: url("./img/balloon.png");
    background-size: contain;
    background-repeat: no-repeat;
}

.shirafu-logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.shirafu-logo div {
    /* text-align: center;
    background: #fff;
    border-radius: 1em;
    width: 16vw; */
}

.shirafu-logo img {
    width: 15vw;
}

@media (max-width: 767px) {
    .shirafu-logo img {
        width: 50vw;
    }
}
