@font-face {
    font-family: "myfont";
    src: url("fonts/GenEiKiwamiGo_v1.2/GenEiKiwamiGo.ttf") format("truetype");
}

@font-face {
    font-family: "bodyfont";
    src: url("fonts/GenEiMGothic_v2.0/GenEiMGothic2-Black.ttf") format("truetype");
}

@font-face {
    font-family: "engfont";
    src: url("fonts/ballpark_weiner/BALLW___.TTF") format("truetype");
}

body {
    font-family: "bodyfont", sans-serif;
}

.course-page {
    font-family: "engfont", sans-serif;
}

h1 {
    margin-bottom: 15px;

    text-align: center;
    line-height: 1.1;
    font-family: "myfont", sans-serif;
    font-size: 45px;
    color: crimson;
}

h1.course-title {
    font-family: "engfont";
}

.page-sub-title {
    text-align: center;
    font-family: "myfont",sans-serif;
    font-size: 20px;
    color: forestgreen;
}

.choose-gacha-area {
    margin-top: 40px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.gacha-button {
    display: flex;
    width: 270px;
    height: 50px;
    margin: 8px;

    justify-content: center;
    align-items: center;

    text-decoration: none;
    font-size: 28px;
    color: white;
    background-color: forestgreen;
}

.explanation {
    margin-top: 20px;

    text-align: center;
    font-size: 22px;
    color: forestgreen;
}

.input-area form {
    margin-top: 30px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

input[type="number"] {
    width: 170px;
    height: 30px;

    border-radius: 0px;
    font-family: "bodyfont", sans-serif;
    font-size: 25px;
}

.how-about-drinkbar,
.how-about-alcohol,
.which-course {
    font-size: 20px;
}

.course-page label {
    font-family: sans-serif;
}

select {
    width: 220px;
    height: 30px;

    border-radius: 0px;
    font-family: "bodyfont", sans-serif;
    font-size: 22px;
}

button[type="submit"] {
    width: fit-content;
    height: fit-content;
    padding: 10px;
    margin: 10px;

    font-family: "bodyfont", sans-serif;
    font-size: 25px;
    line-height: 1.0;
    color: white;
    background-color: forestgreen;
}

.error-message {
    width: fit-content;
    padding: 10px;
    margin: 0 auto;

    font-size: 20px;
    color: crimson;
    border: 2px solid crimson;
}

.gacha-result-area {
    width: fit-content;
    margin: 0 auto;
    margin-top: 20px;
    padding: 20px;
    border: 2px solid forestgreen;
}

.result-title {
    margin: 10px;
    text-align: center;
    font-size: 25px;
}

.gacha-result-area table {
    width: fit-content;
    margin: 0 auto;
    margin-bottom: 10px;

    font-size: 20px;
    border-collapse: collapse;
}

.gacha-result-area th, td {
    padding: 5px;
    border: 1px solid #333;
}

.gacha-result-area th {
    background-color: silver;
}

.reset-button {
    display: flex;
    justify-content: center;
}

.course-page button[type="submit"] {
    font-family: sans-serif;
    font-weight: bold;
    font-size: 22px;
}

.course-page .gacha-result-area {
    color: #b8860b;
}

.course-page .result-title {
    font-size: 21px;
}

.course-page table {
    text-align: center;
    font-size: 17px;
}

.course-page th,
.course-page td {
    border: none;
}

.course-page th {
    font-size: 22px;
    background-color: white;
}

.total-price {
    text-align: right;
    font-size: 25px;
    letter-spacing: 1px;
}