@charset "utf-8";

html {
    position: relative;
    width: 100vw;
    height: 100vh;
    background-color: #000;
    background-image: url('../images/renga01.png');
}

body {
    position: relative;
    width: 100vw;
    height: 100vh;
    display: block;
    overflow: hidden;
}

main {
    position: relative;
    width: 1530px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-image: url('../images/kusa01.png');
}

section {
    position: relative;
}

h1 {
  all: unset;
}

#topHeader {
    position: relative;
    width: 100%;
    height: 200px;
    padding: 20px;
    background-image: url('../images/title.jpg');
    background-size: cover;
}

#topTitle {
    color:white;
    font-family: "RocknRoll One", sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 30px;
    white-space: nowrap;
}

#material {
    position: absolute;
    font-family: "Reggae One", system-ui;
    color: wheat;
    font-size: 18px;
    right: 10px;
    bottom: 10px;
}
#startMess,
#soundReq {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-image: url('../images/sounbBoard.jpg');
    background-size: 100% 100%;
    border-radius: 20px;
    border: 4px solid rgb(72, 10, 10);
    text-shadow:
        1px 1px 0 white,
        -1px -1px 0 white,
        -1px 1px 0 white,
        1px -1px 0 white,
        0 1px 0 white,
        0 -1px 0 white,
        1px 0 0 white,
        -1px 0 0 white;
    /* width: 400px; */
    /* height: 200px; */
    padding: 10px 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#soundReq {
    display: none;
}

#soundReq img {
    width: 512px;
}

#startMess div,
#soundReq div {
    font-size: 28px;
    font-weight: bold;
    white-space: nowrap;
    color:black;
    margin: 10px;
}

#startMess button,
#soundReq button {
    font-size: 30px;
    font-weight: bold;
    color:black;
    margin: 10px;
    background-color: white;
    border-radius: 20px;
    border: 1px solid black;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 3px;
    padding-bottom: 3px;
}

#soundReqMask {
    position: fixed;
    width: 100vw;
    height: 100vh;;
    top: 0;
    left: 0;
    z-index: 999;
    background-color: #0008;
}

#please {
    margin-top: 5px;
}

#topRule {
    position: relative;
    width:1530px;
    margin-top: 5px;
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
}

#howto {
    margin: 10px;
    padding: 5px;
}
#howto img{
    height: 340px;
    border: 2px solid black;
    border-radius: 20px;
}
#howto > div:nth-of-type(1) {
    position: relative;
    border-radius: 20px;
    padding: 10px;
    border-radius: 10px;
    margin-top: 5px;
    color: black;
    background-color: #fff8;
}


#howtoButton {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
}

#quest {
    position: relative;
    width: 512px;
    height: 512px;
    background-image: url("../images/quest01.png");
    background-size: 100% 100%;
    font-family: "Reggae One", system-ui;
    font-style: normal;
    font-weight: bold;
    font-size: 20px;
    color: #55361A;
    margin-left: 5px;
    display: flex;
}
#quest_1 {
    position: absolute;
    padding-top: 149px;
    padding-left: 55px;
    font-size: 26px;
    color:darkred;
}
#quest_2 {
    position: absolute;
    padding-top: 200px;
    padding-left: 55px;
    font-size: 17px;
}
#quest_3 {
    position: absolute;
    padding-top: 240px;
    padding-left: 60px;
    font-size: 17px;
}
#quest_4 {
    position: absolute;
    padding-top: 280px;
    padding-left: 55px;
    font-size: 16px;
}
#quest_5 {
    position: absolute;
    padding-top: 320px;
    padding-left: 55px;
    font-size: 16px;
}
#quest_6 {
    position: absolute;
    padding-top: 355px;
    padding-left: 55px;
    font-size: 16px;
}
#quest_7 {
    position: absolute;
    padding-top: 390px;
    padding-left: 55px;
    font-size: 16px;
}
#quest_8 {
    position: absolute;
    padding-top: 420px;
    padding-left: 190px;
    font-size: 22px;
}
#quest_s {
    position: absolute;
    padding-top: 420px;
    padding-left: 300px;
}

#topKey {
    position: relative;
    width: 100vw;
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
}
#topKey > div {
    position: relative;

}
#topKey > div > img{
    position: relative;
    width: 300px;
}

#topStartButton {
    font-size: 24px;
    font-family: sans-serif;
    font-weight: 700;
    background-color: yellow;
    padding: 10px 20px;
    border-radius: 20px;
    border: 1px solid black;
    margin-top: 10px;
}

#profileButton {
    font-size: 20px;
    font-family: "DotGothic16", sans-serif;
    font-weight: 400;
    background-color: lightblue;
    padding: 5px 20px;
    border-radius: 20px;
    border: 1px solid black;
    margin-top: 10px;
}

/* ランキングボード */
#rankingBordTop {
    position: relative;
    width: 400px;
    height: 500px;
    background-image: url("../images/rankingBoard.png");
    background-size: 100% auto;
    font-family: "Reggae One", system-ui;
    font-style: normal;
    font-weight: bold;
    border: 3px solid #692703;
    border-radius: 15px;
    padding-top: 0px;
    padding-bottom: 20px;
    margin-top: 10px;
    margin-right: 10px;
    display: block;
}
#ranking{
    position: relative;
    width: 100%;
    height: 100%;
    display: block;
}
#rankingBordTop > div:nth-of-type(1) {
    position: relative;
    font-size: 24px;
    font-weight: bold;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 16px;
    text-align: center;
}
#rankButton {
    position: absolute;
    font-size: 20px;
    left: 20px;
    bottom: 10px;
}
a:hover,
button:hover {
    transform: scale(1.1);
    cursor: pointer;
}

#footer {
    width: 1530px;
    justify-items: center;
    align-items: center;
    font-family: "DotGothic16", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 20px;
    white-space: nowrap;
    color: white;
    padding-top: 5px;
    padding-bottom: 5px;
    background-color: #0008;
}
