* {
    color: #fff;
    margin: 0;
    list-style: none;
}

ul {
    padding: 0;
}

body {
    display: block;
    background-color: rgb(0, 0, 0);
}

main {
    margin: 20px auto 0;
    max-width: 800px;
    display: block;
    unicode-bidi: isolate;
    border: 1px solid #fff;
    background-color: black;
}

#head {
    height: 50px;
    width: 90%;
    margin: 50px auto 0;
    display: flex;
    justify-content: center;
    border: 1px solid #fff;
    background-color: black;
}

#window {
    height: 300px;
    width: 90%;
    margin: 20px auto 0;
    display: flex;
    justify-content: center;
    background-size: cover;
    background-position: 50%;
    border: 1px solid #fff;
    background-color: black;
    position: relative;
    /* overflow: hidden; */
}

/* --------------------------------マップここから---------------------------------- */
/* --------------------------天井----------------------------- */
#map-window {
    width: 100%;
    background-color: rgb(0, 0, 0);
    position: relative;
    overflow: hidden;
}

#map-back-top1 {
    top: 30%;
    width: 100%;
    height: 10%;
    background-image: url(../image/bottom5.jpg);
    background-size: cover;
    opacity: 0.05;
    background-color: aqua;
    position: absolute;
    clip-path: polygon(0% 0%, 30% 0%, 40% 100%, 0% 100%);
}

#map-back-top2 {
    top: 30%;
    width: 100%;
    height: 10%;
    background-image: url(../image/bottom5.jpg);
    background-size: cover;
    /* opacity: 0.03; */
    filter: brightness(0.05);
    background-color: aqua;
    position: absolute;
    clip-path: polygon(30% 0%, 70% 0%, 60% 100%, 40% 100%);
}

#map-back-top3 {
    top: 30%;
    width: 100%;
    height: 10%;
    background-image: url(../image/bottom5.jpg);
    background-size: cover;
    opacity: 0.05;
    background-color: aqua;
    position: absolute;
    clip-path: polygon(70% 0%, 100% 0%, 100% 100%, 60% 100%);
}

#map-top1 {
    top: 20%;
    width: 100%;
    height: 10%;
    background-image: url(../image/bottom5.jpg);
    background-size: cover;
    filter: brightness(0.8);
    background-color: aqua;
    position: absolute;
    clip-path: polygon(0% 0%, 20% 0%, 30% 100%, 0% 100%);
}

#map-top2 {
    top: 20%;
    width: 100%;
    height: 10%;
    background-image: url(../image/bottom5.jpg);
    background-size: cover;
    filter: brightness(0.8);
    background-color: aqua;
    position: absolute;
    clip-path: polygon(20% 0%, 80% 0%, 70% 100%, 30% 100%);
}

#map-top3 {
    top: 20%;
    width: 100%;
    height: 10%;
    background-image: url(../image/bottom5.jpg);
    background-size: cover;
    filter: brightness(0.8);
    background-color: aqua;
    position: absolute;
    clip-path: polygon(80% 0%, 100% 0%, 100% 100%, 70% 100%);
}

#map-top4 {
    top: 10%;
    width: 100%;
    height: 10%;
    background-image: url(../image/bottom5.jpg);
    background-size: cover;
    filter: brightness(0.8);
    background-color: aqua;
    position: absolute;
    clip-path: polygon(0% 0%, 10% 0%, 20% 100%, 0% 100%);
}

#map-top5 {
    top: 10%;
    width: 100%;
    height: 10%;
    background-image: url(../image/bottom5.jpg);
    background-size: cover;
    filter: brightness(0.9);
    background-color: aqua;
    position: absolute;
    clip-path: polygon(10% 0%, 90% 0%, 80% 100%, 20% 100%);
}

#map-top6 {
    top: 10%;
    width: 100%;
    height: 10%;
    background-image: url(../image/bottom5.jpg);
    background-size: cover;
    filter: brightness(0.8);
    background-color: aqua;
    position: absolute;
    clip-path: polygon(90% 0%, 100% 0%, 100% 100%, 80% 100%);
}

#map-top7 {
    top: 0;
    width: 100%;
    height: 10%;
    background-image: url(../image/bottom5.jpg);
    background-size: cover;
    filter: brightness(0.9);
    background-color: aqua;
    position: absolute;
    clip-path: polygon(0% 0%, 0% 0%, 10% 100%, 0% 100%);
}

#map-top8 {
    top: 0;
    width: 100%;
    height: 10%;
    background-image: url(../image/bottom5.jpg);
    background-size: cover;
    filter: brightness(1.0);
    background-color: aqua;
    position: absolute;
    clip-path: polygon(0% 0%, 100% 0%, 90% 100%, 10% 100%);
}

#map-top9 {
    top: 0;
    width: 100%;
    height: 10%;
    background-image: url(../image/bottom5.jpg);
    background-size: cover;
    filter: brightness(0.9);
    background-color: aqua;
    position: absolute;
    clip-path: polygon(100% 0%, 100% 0%, 100% 100%, 90% 100%);
}

/* --------------------------地面----------------------------- */
#map-back-bottom1 {
    top: 60%;
    width: 100%;
    height: 10%;
    background-image: url(../image/bottom6.jpg);
    background-size: cover;
    opacity: 0.05;
    background-color: rgb(166, 125, 58);
    position: absolute;
    clip-path: polygon(0% 0%, 40% 0%, 30% 100%, 0% 100%);
}

#map-back-bottom2 {
    top: 60%;
    width: 100%;
    height: 10%;
    background-image: url(../image/bottom6.jpg);
    background-size: cover;
    /* opacity: 0.05; */
    filter: brightness(0.05);
    background-color: rgb(166, 125, 58);
    position: absolute;
    clip-path: polygon(40% 0%, 60% 0%, 70% 100%, 30% 100%);
}

#map-back-bottom3 {
    top: 60%;
    width: 100%;
    height: 10%;
    background-image: url(../image/bottom6.jpg);
    background-size: cover;
    opacity: 0.05;
    background-color: rgb(166, 125, 58);
    position: absolute;
    clip-path: polygon(60% 0%, 100% 0%, 100% 100%, 70% 100%);
}

#map-bottom1 {
    top: 70%;
    width: 100%;
    height: 10%;
    background-image: url(../image/bottom6.jpg);
    background-size: cover;
    filter: brightness(0.6);
    background-color: rgb(166, 125, 58);
    position: absolute;
    clip-path: polygon(0% 0%, 30% 0%, 20% 100%, 0% 100%);
}

#map-bottom2 {
    top: 70%;
    width: 100%;
    height: 10%;
    background-image: url(../image/bottom6.jpg);
    background-size: cover;
    filter: brightness(0.6);
    background-color: rgb(166, 125, 58);
    position: absolute;
    clip-path: polygon(30% 0%, 70% 0%, 80% 100%, 20% 100%);
}

#map-bottom3 {
    top: 70%;
    width: 100%;
    height: 10%;
    background-image: url(../image/bottom6.jpg);
    background-size: cover;
    filter: brightness(0.6);
    background-color: rgb(166, 125, 58);
    position: absolute;
    clip-path: polygon(70% 0%, 100% 0%, 100% 100%, 80% 100%);
}

#map-bottom4 {
    top: 80%;
    width: 100%;
    height: 10%;
    background-image: url(../image/bottom6.jpg);
    background-size: cover;
    filter: brightness(0.8);
    background-color: rgb(166, 125, 58);
    position: absolute;
    clip-path: polygon(0% 0%, 20% 0%, 10% 100%, 0% 100%);
}

#map-bottom5 {
    top: 80%;
    width: 100%;
    height: 10%;
    background-image: url(../image/bottom6.jpg);
    background-size: cover;
    filter: brightness(0.8);
    background-color: rgb(166, 125, 58);
    position: absolute;
    clip-path: polygon(20% 0%, 80% 0%, 90% 100%, 10% 100%);
}

#map-bottom6 {
    top: 80%;
    width: 100%;
    height: 10%;
    background-image: url(../image/bottom6.jpg);
    background-size: cover;
    filter: brightness(0.8);
    background-color: rgb(166, 125, 58);
    position: absolute;
    clip-path: polygon(80% 0%, 100% 0%, 100% 100%, 90% 100%);
}

#map-bottom7 {
    top: 90%;
    width: 100%;
    height: 10%;
    background-image: url(../image/bottom6.jpg);
    background-size: cover;
    filter: brightness(0.9);
    background-color: rgb(166, 125, 58);
    position: absolute;
    clip-path: polygon(0% 0%, 10% 0%, 0% 100%, 0% 100%);
}

#map-bottom8 {
    top: 90%;
    width: 100%;
    height: 10%;
    background-image: url(../image/bottom6.jpg);
    background-size: cover;
    filter: brightness(1.0);
    /* 明るさを50%に調整 */
    background-color: rgb(166, 125, 58);
    position: absolute;
    clip-path: polygon(10% 0%, 90% 0%, 100% 100%, 0% 100%);
}

#map-bottom9 {
    top: 90%;
    width: 100%;
    height: 10%;
    background-image: url(../image/bottom6.jpg);
    background-size: cover;
    filter: brightness(0.9);
    background-color: rgb(166, 125, 58);
    position: absolute;
    clip-path: polygon(90% 0%, 100% 0%, 100% 100%, 100% 100%);
}

/* --------------------------後ろの壁----------------------------- */
#map-back1 {
    top: 30%;
    left: 0%;
    width: 30%;
    height: 40%;
    background-image: url(../image/center.jpg);
    background-size: cover;
    filter: brightness(0.6);
    background-color: rgb(174, 131, 82);
    position: absolute;
}

#map-back2 {
    top: 30%;
    left: 30%;
    width: 40%;
    height: 40%;
    background-image: url(../image/center.jpg);
    background-size: cover;
    filter: brightness(0.6);
    background-color: rgb(114, 161, 193);
    position: absolute;
}

#map-back3 {
    top: 30%;
    left: 70%;
    width: 30%;
    height: 40%;
    background-image: url(../image/center.jpg);
    background-size: cover;
    filter: brightness(0.6);
    background-color: rgb(194, 92, 167);
    position: absolute;
}

#map-back4 {
    top: 20%;
    left: 0%;
    width: 20%;
    height: 60%;
    background-image: url(../image/center.jpg);
    background-size: cover;
    filter: brightness(0.7);
    background-color: rgb(43, 41, 28);
    position: absolute;
}

#map-back5 {
    top: 20%;
    left: 20%;
    width: 60%;
    height: 60%;
    background-image: url(../image/center.jpg);
    background-size: cover;
    filter: brightness(0.7);
    background-color: rgb(28, 32, 43);
    position: absolute;
}

#map-back6 {
    top: 20%;
    left: 80%;
    width: 20%;
    height: 60%;
    background-image: url(../image/center.jpg);
    background-size: cover;
    filter: brightness(0.7);
    background-color: rgb(43, 28, 32);
    position: absolute;
}

#map-back7 {
    top: 10%;
    left: 0%;
    width: 10%;
    height: 80%;
    background-image: url(../image/center.jpg);
    background-size: cover;
    filter: brightness(0.9);
    background-color: rgb(100, 155, 80);
    position: absolute;
}

#map-back8 {
    top: 10%;
    left: 10%;
    width: 80%;
    height: 80%;
    background-image: url(../image/center.jpg);
    background-size: cover;
    filter: brightness(0.9);
    background-color: rgb(40, 28, 43);
    position: absolute;
}

#map-back9 {
    top: 10%;
    left: 90%;
    width: 10%;
    height: 80%;
    background-image: url(../image/center.jpg);
    background-size: cover;
    filter: brightness(0.9);
    background-color: rgb(43, 28, 28);
    position: absolute;
}

/* --------------------------右の壁----------------------------- */
#map-right0 {
    right: 30%;
    width: 10%;
    height: 100%;
    background-image: url(../image/right.jpg);
    background-size: cover;
    /* opacity: 0.03; */
    filter: brightness(0.03);
    background-color: rgb(43, 78, 78);
    position: absolute;
    clip-path: polygon(0% 40%, 100% 30%, 100% 70%, 0% 60%);
}

#map-right1 {
    right: 20%;
    width: 10%;
    height: 100%;
    background-image: url(../image/right.jpg);
    background-size: cover;
    filter: brightness(0.6);
    background-color: rgb(93, 185, 185);
    position: absolute;
    clip-path: polygon(0% 30%, 100% 20%, 100% 80%, 0% 70%);
}

#map-right2 {
    right: 10%;
    width: 10%;
    height: 100%;
    background-image: url(../image/right.jpg);
    background-size: cover;
    filter: brightness(0.7);
    background-color: rgb(43, 78, 78);
    position: absolute;
    clip-path: polygon(0% 20%, 100% 10%, 100% 90%, 0% 80%);
}

#map-right3 {
    right: 0;
    width: 10%;
    height: 100%;
    background-image: url(../image/right.jpg);
    background-size: cover;
    filter: brightness(0.9);
    background-color: rgb(67, 121, 121);
    position: absolute;
    clip-path: polygon(0% 10%, 100% 0%, 100% 100%, 0% 90%);
}

/* --------------------------左の壁----------------------------- */
#map-left0 {
    left: 30%;
    width: 10%;
    height: 100%;
    background-image: url(../image/left.jpg);
    background-size: cover;
    /* opacity: 0.03; */
    filter: brightness(0.03);
    background-color: rgb(45, 147, 147);
    position: absolute;
    clip-path: polygon(0% 30%, 100% 40%, 100% 60%, 0% 70%);
}

#map-left1 {
    left: 20%;
    width: 10%;
    height: 100%;
    background-image: url(../image/left.jpg);
    background-size: cover;
    filter: brightness(0.6);
    background-color: rgb(45, 147, 147);
    position: absolute;
    clip-path: polygon(0% 20%, 100% 30%, 100% 70%, 0% 80%);
}

#map-left2 {
    left: 10%;
    width: 10%;
    height: 100%;
    background-image: url(../image/left.jpg);
    background-size: cover;
    filter: brightness(0.7);
    background-color: rgb(42, 116, 116);
    position: absolute;
    clip-path: polygon(0% 10%, 100% 20%, 100% 80%, 0% 90%);
}

#map-left3 {
    left: 0;
    width: 10%;
    height: 100%;
    background-image: url(../image/left.jpg);
    background-size: cover;
    filter: brightness(0.9);
    background-color: rgb(67, 121, 121);
    position: absolute;
    clip-path: polygon(0% 0%, 100% 10%, 100% 90%, 0% 100%);
}

/* --------------------------キャラクターオブジェクト----------------------------- */
#map-characterA {
    top: 45%;
    left: 5%;
    width: 20%;
    height: 20%;
    background-position: 50% 70%;
    background-image: url(../image/event0.png);
    background-size: contain;
    background-repeat: no-repeat;
    filter: brightness(0.1);
    position: absolute;
}

#map-characterB {
    top: 45%;
    left: 40%;
    width: 20%;
    height: 20%;
    background-position: 50% 70%;
    background-image: url(../image/event0.png);
    background-size: contain;
    background-repeat: no-repeat;
    filter: brightness(0.2);
    position: absolute;
}

#map-characterC {
    top: 45%;
    left: 75%;
    width: 20%;
    height: 20%;
    background-position: 50% 70%;
    background-image: url(../image/event0.png);
    background-size: contain;
    background-repeat: no-repeat;
    filter: brightness(0.1);
    position: absolute;
}

#map-character1 {
    top: 35%;
    left: -15%;
    width: 40%;
    height: 40%;
    background-position: 50% 70%;
    background-image: url(../image/event0.png);
    background-size: contain;
    background-repeat: no-repeat;
    filter: brightness(0.6);
    position: absolute;
}

#map-character2 {
    top: 35%;
    left: 30%;
    width: 40%;
    height: 40%;
    background-position: 50% 70%;
    background-image: url(../image/event0.png);
    background-size: contain;
    background-repeat: no-repeat;
    filter: brightness(0.6);
    position: absolute;
}

#map-character3 {
    top: 35%;
    left: 75%;
    width: 40%;
    height: 40%;
    background-position: 50% 70%;
    background-image: url(../image/event0.png);
    background-size: contain;
    background-repeat: no-repeat;
    filter: brightness(0.6);
    position: absolute;
}

#map-character4 {
    top: 30%;
    left: -35%;
    width: 60%;
    height: 60%;
    background-position: 50% 70%;
    background-image: url(../image/event0.png);
    background-size: contain;
    background-repeat: no-repeat;
    filter: brightness(0.8);
    position: absolute;
}

#map-character5 {
    top: 30%;
    left: 20%;
    width: 60%;
    height: 60%;
    background-position: 50% 70%;
    background-image: url(../image/event0.png);
    background-size: contain;
    background-repeat: no-repeat;
    filter: brightness(0.8);
    position: absolute;
}

#map-character6 {
    top: 30%;
    left: 75%;
    width: 60%;
    height: 60%;
    background-position: 50% 70%;
    background-image: url(../image/event0.png);
    background-size: contain;
    background-repeat: no-repeat;
    filter: brightness(0.8);
    position: absolute;
}

/* --------------------------------マップコマンド---------------------------------- */

#message {
    height: 300px;
    width: 90%;
    margin: 20px auto 50px;
    display: flex;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    justify-content: center;
    border: 1px solid #fff;
    background-color: black;
    position: relative;
}

#window {
    height: 300px;
    width: 90%;
    margin: 20px auto 0;
    display: flex;
    justify-content: center;
    background-size: cover;
    background-position: 50%;
    border: 1px solid #fff;
    background-color: black;
}

button {
    color: black;
    height: 100px;
    margin-top: 100px;
}

#button_area {
    width: 100%;
    background-color: aqua;
    display: grid;
}

#button_area button:hover {
    background-color: rgb(57, 57, 57);
}

#button_left {
    font-size: 20px;
    color: #fff;
    border: 1px solid #fff;
    margin: 0;
    grid-row: 2/3;
    grid-column: 1/3;
    background-color: black;
}

#button_center {
    font-size: 30px;
    color: #fff;
    border: 1px solid #fff;
    margin: 0;
    grid-row: 1/2;
    grid-column: 1/5;
    background-color: black;
}

#button_right {
    font-size: 20px;
    color: #fff;
    border: 1px solid #fff;
    margin: 0;
    grid-row: 2/3;
    grid-column: 3/5;
    background-color: black;
}

#button_menu {
    margin: 0;
    grid-row: 3/4;
    grid-column: 2/4;
    font-size: 20px;
    color: #fff;
    border: 1px solid #fff;
    background-color: black;
}

#button_item {
    margin: 0;
    grid-row: 3/4;
    grid-column: 1/2;
    font-size: 20px;
    color: #fff;
    border: 1px solid #fff;
    background-color: black;
}

#button_option {
    margin: 0;
    grid-row: 3/4;
    grid-column: 4/5;
    font-size: 20px;
    color: #fff;
    border: 1px solid #fff;
    background-color: black;
}

#touch_area_left {
    border: 0 solid transparent;
    left: 0;
    margin-top: 0;
    width: 30%;
    height: 100%;
    position: absolute;
    opacity: 0;
}

#touch_area_center {
    border: 0 solid transparent;
    left: 30%;
    margin-top: 0;
    width: 40%;
    height: 100%;
    position: absolute;
    opacity: 0;
}

#touch_area_right {
    border: 0 solid transparent;
    left: 70%;
    margin-top: 0;
    width: 30%;
    height: 100%;
    position: absolute;
    opacity: 0;
}

#message_area {
    bottom: -1%;
    height: 240%;
    width: 101%;
    position: absolute;
    /* background-color: rgb(0, 0, 0, 0.7); */
    /* opacity: 0.5; */
    /* filter: brightness(0.8); */
    display: flex;
}

#message_window {
    bottom: 0;
    height: 300px;
    width: 100%;
    position: absolute;
    border: 1px solid #fff;
    background-color: black;
}

/* #touch_area_window {
    border: 0 solid transparent;
    margin-top: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    opacity: 0;
} */

#message_text {
    font-size: 30px;
    padding: 15px;
    position: absolute;
}

#next_icon {
    font-size: 25px;
    height: 100%;
    width: 100%;
    color: #fff;
    text-align: center;
    position: absolute;
    bottom: -70%;
}

/* --------------------------------メニュー画面---------------------------------- */
#menu_screen {
    top: -140%;
    height: 250%;
    width: 105%;
    position: absolute;
    border: 1px solid #fff;
    background-color: black;
    /* background-color: rgb(0, 0, 0, 0.8); */
    /* filter: brightness(0.7); */
    overflow: hidden;
    display: flex;
}

.menu_screen_char {
    width: 23%;
    margin: 2% auto 2%;
    text-align: center;
    float: left;
    border: 1px solid #fff;
}

.menu_name {
    width: 90%;
    margin: 5% auto 0;
    border: 1px solid #fff;
}

.menu_job {
    width: 90%;
    margin: 5% auto 0;
    border: 1px solid #fff;
}

.menu_image {
    width: 90%;
    margin: 5% auto 0;
    border: 1px solid #fff;
    aspect-ratio: 1/1;
}

.menu_status {
    width: 90%;
    margin: 5% auto 0;
    border: 1px solid #fff;
    column-count: 2;
}

.menu_status ul li {
    letter-spacing: -1px;
}

.menu_skill {
    width: 90%;
    margin: 5% auto 0;
    border: 1px solid #fff;
}

.menu_skill ul {
    width: 100%;
}

.menu_skill ul li {
    width: 100%;
}

.menu_ability {
    width: 90%;
    margin: 5% auto 0;
    border: 1px solid #fff;
}

.menu_weapon {
    width: 90%;
    margin: 5% auto 0;
    border: 1px solid #fff;
}

.menu_armor {
    width: 90%;
    margin: 5% auto 0;
    border: 1px solid #fff;
}

#menu_image1 {
    background-image: url(../image/character0.png);
    background-size: cover;
}

#menu_image2 {
    background-image: url(../image/character2.png);
    background-size: cover;
}

#menu_image3 {
    background-image: url(../image/character3.png);
    background-size: cover;
}

#menu_image4 {
    background-image: url(../image/character4.png);
    background-size: cover;
}

/* --------------------------------バトル上画面---------------------------------- */

#battle_parameter {
    top: -35%;
    left: -2.5%;
    height: 30%;
    width: 105%;
    position: absolute;
    border: 1px solid #fff;
    background-color: black;
    overflow: hidden;
    display: flex;
}

.parameter_class {
    width: 25%;
    margin: auto 0 auto;
    text-align: center;
    float: left;
    /* border: 1px solid #fff; */
}

#battle_screen {
    bottom: -1%;
    height: 101%;
    width: 105%;
    position: absolute;
    border: 1px solid #fff;
    background-color: rgb(0, 0, 0, 0.8);
    filter: brightness(0.7);
    overflow: hidden;
    display: flex;
}

#monster1 {
    width: 25%;
    height: 60%;
    margin: auto auto 5%;
    background-image: url(../image/event01.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

#monster2 {
    width: 25%;
    height: 60%;
    margin: auto auto 5%;
    background-image: url(../image/event01.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

#monster3 {
    width: 25%;
    height: 60%;
    margin: auto auto 5%;
    background-image: url(../image/event01.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

#monster4 {
    width: 25%;
    height: 60%;
    margin: auto auto 5%;
    background-image: url(../image/event01.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

#monster1:hover,
#monster2:hover,
#monster3:hover,
#monster4:hover {
    filter: brightness(1.3);
}

#touch_battle_window {
    border: 0 solid transparent;
    margin-top: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    opacity: 0;
}

/* --------------------------------バトル下画面---------------------------------- */

#battle_command {
    top: -1%;
    height: 105%;
    width: 105%;
    display: flex;
    position: absolute;
    border: 1px solid #fff;
    background-color: black;
}

#battle_command div ul li:hover {
    color: rgb(150, 150, 150);
    background-size: 20%;
    background-position: 10% 50%;
    background-image: url(/image/cursor.gif);
    background-repeat: no-repeat;
}

#you_command {
    width: 20%;
    height: 90%;
    margin-top: 2%;
    margin-left: 2%;
    border: 1px solid #fff;
    background-color: black;

}

#command_message {
    font-size: 20px;
    text-align: center;
    border-bottom: 1px solid #fff;
}

#skill_message {
    font-size: 20px;
    text-align: center;
    border-bottom: 1px solid #fff;
}

#item_message {
    font-size: 20px;
    text-align: center;
    border-bottom: 1px solid #fff;
}

#taget_message {
    font-size: 20px;
    text-align: center;
    border-bottom: 1px solid #fff;
}

#command_ul {
    height: 100%;
    width: 75%;
    padding-left: 0;
    /* list-style: none; */
}

.command_li {
    width: 120%;
    margin-top: 20%;
    text-align: center;
    font-size: 20px;
}

#you_skill {
    width: 50%;
    height: 90%;
    margin-top: 2%;
    margin-left: 2%;
    border: 1px solid #fff;
    background-color: black;
}

#command_skill_ul {
    height: 100%;
    width: 100%;
    padding-left: 0;
    column-count: 2;
    /* list-style: none; */
}

.command_skill_li {
    font-size: 20px;
    padding-top: 10%;
    text-align: center;
}

#you_item {
    width: 50%;
    height: 90%;
    margin-top: 2%;
    margin-left: 2%;
    border: 1px solid #fff;
    background-color: black;
}

#command_item_ul {
    height: 100%;
    width: 100%;
    padding-left: 0;
    column-count: 2;
    /* list-style: none; */
}

.command_item_li {
    font-size: 20px;
    padding-top: 10%;
    text-align: center;
}

#you_target {
    width: 20%;
    height: 90%;
    margin-top: 2%;
    margin-left: 2%;
    border: 1px solid #fff;
    background-color: black;
    overflow: hidden;
}

#command_target_ul {
    height: 100%;
    width: 100%;
    padding-left: 0;
    /* list-style: none; */

}

.command_target_li {
    font-size: 20px;
    padding-top: 10%;
    text-align: center;
}



/* --------------------------------ショップ画面---------------------------------- */

#shop_screen {
    bottom: 0;
    height: 230%;
    width: 100%;
    position: absolute;
    /* background-color: black; */
}

#shop_screen div {
    text-align: center;
    bottom: 0;
    height: 43%;
    width: 100%;
    position: absolute;
    border: 1px solid #fff;
    background-color: black;
}

#shop_screen div p {
    display: inline-block;
}

#shop_screen div p {
    text-align: center;
    font-size: 20px;
    margin: 3%;
}

#shop_screen div ul {
    text-align: center;
    padding-left: 0;
    column-count: 2;
}

#shop_screen div ul li {
    margin: 3%;
}

#shop_screen div div {
    bottom: 0;
    font-size: 20px;
    text-align: center;
    width: 100%;
    height: 10%;
    padding-top: 2%;
    padding-bottom: 2%;
    border-top: 1px solid #fff;
    background-color: black;
    position: absolute;
}

#shop_screen div div:hover {
    background-color: rgb(57, 57, 57);
}

/* --------------------------------召喚画面---------------------------------- */

#summon_screen {
    bottom: -1%;
    height: 240%;
    width: 101%;
    position: absolute;
    background-color: rgb(0, 0, 0, 0.7);
    /* opacity: 0.5; */
    /* filter: brightness(0.8); */
    display: flex;
}

#summon_job {
    text-align: center;
    bottom: 0;
    height: 43%;
    width: 100%;
    position: absolute;
    border: 1px solid #fff;
    background-color: black;
}

#summon_job p {
    font-size: 20px;
    margin: 3% 0 3%;
    /* display: inline-block; */
}

#summon_job ul {
    text-align: center;
    padding-left: 0;
    column-count: 4;
}

#summon_job ul li {
    font-size: 17px;
    margin: 3%;
}

#summon_money {
    margin-top: 0;
}

#summon_screen_close {
    bottom: 0;
    font-size: 20px;
    text-align: center;
    width: 100%;
    border-top: 1px solid #fff;
    background-color: black;
    position: absolute;
}

#summon_screen_close p {
    margin: 2% 0 2%;
}

#summon_screen_close:hover {
    background-color: rgb(57, 57, 57);
}

/* サモンリザルト */
#summon_result {
    text-align: center;
    bottom: 0;
    height: 100%;
    width: 100%;
    position: absolute;
    border: 1px solid #fff;
    background-color: black;
    /* background-color: rgb(0, 0, 0, 0.7); */
    display: flex;
    flex-direction: column;
}

#result_top {
    width: 100%;
    height: 30%;
    display: block;
    display: flex;
}

#result_face {
    height: 80%;
    aspect-ratio: 1/1;
    margin: 2% 2% 2% 10%;
    background-image: url(/image/character12.png);
    background-repeat: no-repeat;
    background-size: contain;
}

#result_rarity {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#rarity_word {
    font-size: 30px;
}

#rarity_score {
    font-size: 20vh;
    margin-left: 5%;
}

#aresult_body {
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: space-between;
}

#result_parameter {
    text-align: center;
    height: 90%;
    width: 33%;
    margin-top: 2%;
    margin-left: 4%;
    /* border: 1px solid #fff; */
    display: grid;
}

#result_parameter div {
    margin-top: 10%;
    border: 1px solid #fff;
}

#result_parameter div p {
    width: fit-content;
    margin: -10px auto 0;
    background-color: black;
}

#result_parameter div ul {
    margin-top: 10px;
    display: grid;
    gap: 10px;
}

#result_skill {
    text-align: center;
    height: 90%;
    width: 33%;
    margin-top: 2%;
    margin-left: 4%;
    /* border: 1px solid #fff; */
    display: grid;
}

#result_skill div {
    margin-top: 10%;
    border: 1px solid #fff;
}

#result_skill div p {
    width: fit-content;
    margin: -10px auto 0;
    background-color: black;
}

#result_skill div ul {
    margin-top: 10px;
    display: grid;
    gap: 10px;
}

#result_etc {
    text-align: center;
    height: 90%;
    width: 33%;
    margin-top: 2%;
    margin-left: 4%;
    margin-right: 4%;
    /* border: 1px solid #fff; */
    display: grid;
}

#result_etc div {
    margin-top: 10%;
    border: 1px solid #fff;
}

#result_etc div p {
    width: fit-content;
    margin: -10px auto 0;
    background-color: black;
}

#result_etc div ul {
    margin-top: 10px;
    display: grid;
    gap: 10px;
}

/* --------------------------------チョイス画面---------------------------------- */
#choice_area {
    bottom: -1%;
    height: 240%;
    width: 101%;
    position: absolute;
    background-color: rgb(0, 0, 0, 0.7);
    /* opacity: 0.5; */
    /* filter: brightness(0.8); */
    display: flex;
}

#choice_window {
    text-align: center;
    width: 100%;
    height: 40%;
    margin: 58% auto 0;
    border: 1px solid #fff;
    background-color: black;
    display: table;
    display: flex;
    overflow: hidden;
}

#choice_text {
    width: 70%;
    height: 80%;
    margin-top: 4%;
    /* border: 1px solid #fff;
    background-color: black; */
}

#choice_text p {
    font-size: 20px;
    text-align: left;
    margin: 5% 0 0 15%;
    /* border: 1px solid #fff;
    background-color: black; */
}

#choice_target_ul {
    width: 25%;
    height: 80%;
    margin-top: 4%;
    border: 1px solid #fff;
    background-color: black;
}

.choice_target_li {
    font-size: 20px;
    padding-top: 10%;
    text-align: center;
}



/* --------------------------------アラート---------------------------------- */
.alert_window {
    bottom: 0;
    height: 230%;
    width: 100%;
    position: absolute;
}

#alert {
    text-align: center;
    width: 70%;
    height: 20%;
    margin: 20% auto 0;
    border: 2px solid #fff;
    background-color: black;
    display: table;
}

#alert_text {
    display: table-cell;
    vertical-align: middle;
}

/* --------------------------------アイテム画面---------------------------------- */
#item_screen {
    bottom: 0;
    height: 230%;
    width: 100%;
    position: absolute;
    background-color: black;
    border: 1px solid #fff;
    overflow: hidden;
}

#item_screen_top {
    top: 5%;
    left: 5%;
    width: 90%;
    height: 20%;
    border: 1px solid #fff;
    background-color: black;
    display: table;
    position: absolute;
}

#item_screen_top div {
    text-align: center;
    width: 100%;
    border-bottom: 1px solid #fff;
    background-color: black;
}

#item_screen_top ul {
    width: 90%;
    margin: 2% auto 2%;
    /* border: 1px solid #fff; */
    background-color: black;

    padding-left: 0;
    column-count: 2;
    text-align: center;
}

#item_screen_bottom {
    top: 30%;
    left: 5%;
    width: 90%;
    height: 50%;
    border: 1px solid #fff;
    background-color: black;
    display: table;
    position: absolute;
}

#item_screen_bottom div {
    text-align: center;
    width: 100%;
    margin: 0 auto 0;
    border-bottom: 1px solid #fff;
    background-color: black;
}

#item_screen_bottom ul {
    width: 90%;
    margin: 5% auto 0;
    /* border: 1px solid #fff; */
    background-color: black;

    padding-left: 0;
    column-count: 4;
    text-align: center;
}

#item_screen_close {
    bottom: 0;
    font-size: 20px;
    text-align: center;
    width: 100%;
    height: 11%;
    border-top: 1px solid #fff;
    background-color: black;
    position: absolute;
}

#item_screen_close p {
    margin-top: 3%;
}

#item_screen_close:hover {
    background-color: rgb(57, 57, 57);
}

/* --------------------------------ステータス画面---------------------------------- */

#status_screen {
    bottom: 0;
    height: 230%;
    width: 100%;
    position: absolute;
    background-color: black;
    border: 1px solid #fff;
    overflow: hidden;
    display: flex;
}

#face_screen {
    width: 20%;
    height: 96%;
    margin: 2% 2% 0;
    /* background-color: black;
    border: 1px solid #fff; */
}

#fece_character0 {
    width: 100%;
    height: 20%;
    margin-bottom: 10%;
    background-image: url(/image/character0.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border: 1px solid #fff;
    background-color: rgb(57, 57, 57);
}

/* #fece_character0:hover {
    opacity: 0.9;
} */

#fece_character1 {
    width: 100%;
    height: 20%;
    margin-bottom: 10%;
    background-image: url(/image/event0.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border: 1px solid #fff;
    background-color: black;
}

/* #fece_character1:hover {
    opacity: 0.9;
} */

#fece_character2 {
    width: 100%;
    height: 20%;
    margin-bottom: 10%;
    background-image: url(/image/event0.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border: 1px solid #fff;
    background-color: black;
}

/* #fece_character2:hover {
    opacity: 0.9;
} */

#fece_character3 {
    width: 100%;
    height: 20%;
    background-image: url(/image/event0.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border: 1px solid #fff;
    background-color: black;
}

/* #fece_character3:hover {
    filter: brightness(0.9);
} */

#character_screen {
    width: 74%;
    height: 84%;
    margin-top: 2%;
    border: 1px solid #fff;
    background-color: black;
    display: flex;
}

#parameter_area {
    text-align: center;
    height: 90%;
    width: 28%;
    margin-top: 5%;
    margin-left: 4%;
    /* border: 1px solid #fff; */
    display: grid;
}

#parameter_area div {
    margin-top: 10%;
    border: 1px solid #fff;
}

#parameter_area div p {
    width: fit-content;
    margin: -10px auto 0;
    background-color: black;
}

#parameter_area div ul {
    margin-top: 10px;
    display: grid;
    gap: 10px;
}

#skill_area {
    text-align: center;
    height: 90%;
    width: 28%;
    margin-top: 5%;
    margin-left: 4%;
    /* border: 1px solid #fff; */
    display: grid;
}

#skill_area div {
    margin-top: 10%;
    border: 1px solid #fff;
}

#skill_area div p {
    width: fit-content;
    margin: -10px auto 0;
    background-color: black;
}

#skill_area div ul {
    margin-top: 10px;
    display: grid;
    gap: 10px;
}

#etc_area {
    text-align: center;
    height: 90%;
    width: 28%;
    margin-top: 5%;
    margin-left: 4%;
    /* border: 1px solid #fff; */
    display: grid;
}

#etc_area div {
    margin-top: 10%;
    border: 1px solid #fff;
}

#etc_area div p {
    width: fit-content;
    margin: -10px auto 0;
    background-color: black;
}

#etc_area div ul {
    margin-top: 10px;
    display: grid;
    gap: 10px;
}

#status_screen_close {
    bottom: 0;
    font-size: 20px;
    text-align: center;
    width: 100%;
    height: 11%;
    border-top: 1px solid #fff;
    background-color: black;
    position: absolute;
}

#status_screen_close p {
    margin-top: 3%;
}

#status_screen_close:hover {
    background-color: rgb(57, 57, 57);
}

/* --------------------------------オプション画面---------------------------------- */
#option_screen {
    bottom: 0;
    height: 230%;
    width: 100%;
    position: absolute;
    background-color: black;
    border: 1px solid #fff;
    overflow: hidden;
}

#option_area {
    width: 90%;
    height: 30%;
    margin: 5% 5% 0;
    background-color: black;
    border: 1px solid #fff;
}

#option_area p {
    width: 90%;
    padding-top: 5%;
    margin-bottom: 5%;
    margin-left: 5%;
    font-size: 20px;
}

/* --------------------------------音楽---------------------------------- */

audio {
    display: none;
}

/* レスポンシブ */
@media (max-width: 800px) {
    #battle_command div ul li {
        font-size: 15px;
    }

    #battle_command div div {
        font-size: 15px;
    }

    #message_window p {
        font-size: 20px;
    }

    .menu_screen_char div ul {
        white-space: nowrap;
        /* overflow: hidden; */
        /* text-overflow: ellipsis; */
    }

    .menu_screen_char div ul li {
        font-size: 15px;
        /* white-space: nowrap;
        overflow-x: auto; */
    }
}