body {
    font-size: 16px;
    font-family: sans-serif;
    margin: 20px;
}

th {
    background-color: rgba(0, 0, 0, 0.2);
    font-weight: 400;
}
.WeaponTable th,
.WeaponTable td{
    padding-top: 12px;
    padding-bottom: 12px;
    border-left: solid 1px rgba(0, 0, 0, 0.15);
    border-right: solid 1px rgba(0, 0, 0, 0.15);
}
.EffectTable th,
.EffectTable td{
    padding-top: 5px;
    padding-bottom: 5px;
    border: solid 1px rgba(0, 0, 0, 0.15);
}
th,
td {
    text-align: center;
    height: 30px;
    width: auto;
    font-size: 18px;
}
.OriginallyEffect {
    border-left: solid 1px rgba(0, 0, 0, 0.15);
    border-right: solid 1px rgba(0, 0, 0, 0.15);
    text-align: center;
    height: 30px;
    width: auto;
    font-size: 18px;
    background-color: whitesmoke;
    padding-top: 13px;
    padding-bottom: 13px;
}

td {
    background-color: whitesmoke;
    padding-top: 13px;
    padding-bottom: 13px;
}

table {
    border-collapse: collapse;
    width: 100%;
}

select,
label {
    height: 32px;
    font-size: 16px;
}

select {
    background-color: white;
    margin: 0px 0px 3px 0px;
    padding: 0px 30px 0px 10px;
    width: auto;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.WeaponSelect {
    width: 280px;
}

.WeaponSelecter {
    width: 300px;
    font-size: 17px;
    border-radius: 0;
    border: none;
    border-bottom: 2px solid rgba(0, 0, 0, 0.3);
}

.Selecter {
    font-size: 18px;
    border-radius: 0;
    border: none;
    border-bottom: 2px solid rgba(0, 0, 0, 0.3);
}

.custom-pull {
    position: relative;
}

.custom-pull:after {
    content: "";
    position: absolute;
    right: 10px;
    top: 6px;
    width: 10px;
    height: 10px;
    border-top: 2px solid rgba(0, 0, 0, 0.3);
    border-left: 2px solid rgba(0, 0, 0, 0.3);
    transform: translateY(-50%) rotate(-135deg);
    font-size: 20px;
    pointer-events: none;
}

.formHead {
    padding: 0px 5px;
    border-bottom: solid 2px black;
    width: 150px;
    margin: 0px 0px 8px 0px;
}

@media screen and (max-width:600px) {
    .grid {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 10px;
    }

    .CheckBoxes {
        font-size: 15px;
    }

    label {
        margin-top: 0px;
        margin-bottom: 0px;
    }

    .custom-table-desktop {
        display: none;
    }

    .custom-table-mobile0,
    .custom-table-mobile1,
    .custom-table-mobile2,
    .custom-table-mobile3 {
        display: block;
    }

    input[type="range"] {
        height: 12px;
    }

    .title {
        font: 30px "Fira Sans", sans-serif;
        font-weight: 200;
    }

    .formHead {
        font-size: 20px;
    }

    .detailText {
        width: auto;
        margin: 2px;
    }
}

@media screen and (min-width:601px) {
    .Explain {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
        gap: 5px;
    }

    .grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
        gap: 5px;
    }

    .forms {
        grid-row: 1 / 3;
    }

    .Checkboxes {
        grid-row: 2 / 4;
    }

    label {
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .custom-table-mobile0,
    .custom-table-mobile1,
    .custom-table-mobile2,
    .custom-table-mobile3 {
        display: none;
    }

    .custom-table-desktop {
        display: block;
    }

    input[type="range"] {
        height: 10px;
    }

    .title {
        font: 45px "Fira Sans", sans-serif;
        font-weight: 200;
    }

    .formHead {
        font-size: 25px;
    }

    .detailText {
        width: 500px;
        margin: 10px;
    }
}

input[type="range"] {
    -webkit-appearance: none;
    /* 🚩これ無しだとスタイルがほぼ全く反映されないので注意 */
    appearance: none;
    cursor: pointer;
    /* カーソルを分かりやすく */
    outline: none;
    /* スライダーのアウトラインは見た目がキツイので消す */
    width: calc(95% - 55px);
    /* バーの幅 */
    background: #8acdff;
    /* バーの背景色 */
    border-radius: 10px;
    /* バーの両端の丸み */
    border: solid 3px whitesmoke;
    /* バー周囲の線 */
}

/* WebKit向けのつまみ */
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    /*  🚩デフォルトのつまみのスタイルを解除 */
    background: #CCCCCC;
    /* 背景色 */
    width: 25px;
    height: 25px;
    border-radius: 50%;
    /* 円形に */
    box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.15);
    /* 影 */
}

/* Moz向けのつまみ */
input[type="range"]::-moz-range-thumb {
    background: #CCCCCC;
    /* 背景色 */
    width: 25px;
    height: 25px;
    border-radius: 50%;
    /* 円形に */
    box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.15);
    /* 影 */
    border: none;
    /* デフォルトの線を消す */
}

/* Firefoxで点線が周りに表示されてしまう問題の解消 */
input[type="range"]::-moz-focus-outer {
    border: 0;
}

/* つまみをドラッグしているときのスタイル */
input[type="range"]:active::-webkit-slider-thumb {
    box-shadow: 0px 5px 10px -2px rgba(0, 0, 0, 0.3);
}

label {
    font-size: 18px;
}

input[type="checkbox"] {
    width: 20px;
    height: 20px;
    text-align: center;
}

.CheckLabel {
    width: 100%;
    display: none;
}

.ChangeDmgTable {
    display: none;
}

.detailText {
    text-align: left;
    padding: 8px 15px;
    font-size: 12px;
    background-color: whitesmoke;
    border: solid 1px rgba(0, 0, 0, 0.15);
    line-height: 20px;
}

.title {
    display: flex;
    justify-items: center;
}

.yellow {
    color: #FFAA00;
}

.bold {
    font-size: 16px;
    font-weight: 500;
}

a {
    text-decoration: none;
}

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

.urls {
    padding: 10px;
}

.sizeup {
    font-size: 25px;
    padding: 5px;
}