section.ev_choice {
    width: 722px;
    margin: auto;
}

div.first_nd_chk input {
    scale: 200%;
}

div.opener {
    display: block;
    transition: all 0.2s ease;
    position: relative;
    width: 250px;
    border: solid 1px gray;
    border-radius: 25px;
    box-shadow: 2px 3px 3px #d5d5d5;
    padding: 10px;
    margin: 10px auto;
    text-align: center;
}


div.opener:active {
    transform: translateY(4px);
    box-shadow: none;
}


div.users_checkboxarea {
    /*border: solid 2px red;*/
    padding: 10px;
}

div.users_checkboxarea input {
    scale: 200%;
    margin-bottom: 20px;
}

div.users_checkboxarea label {
    padding-left: 2%;
}


div.result_tablearea {
    /*border: solid 2px blue;*/
    padding: 10px;
    width: 100%;
    overflow-x: hidden;
}

tr.rdy>td {
    display: inline-block;
    width: 30%;
}

tr.rdy table {
    margin-bottom: 0 !important;
}

tr.rdy table img {
    margin-bottom: 0 !important;
}

tr.rdy table th,
tr.rdy table td {
    text-align: center;
}

table.castel_wall {
    position: relative;
    margin-bottom: 0 !important;

}

table.castel_wall tr td,
table.castel_wall tr th {
    padding: 0px;
    border: none;
}

div.backbtn {
    margin: 10px auto;
    text-align: center;
    width: 60% !important;
}

/*スクロールに関係する記述*/
/*#rdy {
    display: flex;
    overflow-x: auto;
    width: 100%;
}
*/

#rdy {
    display: block;
    overflow-x: auto;
    width: 700px;
    white-space: nowrap;
}

#rdy td {
    display: inline-block;
    width: 220px;
    white-space: normal;
}

th.item_name {
    position: relative;
}

div.destroy {
    position: absolute;
    display: block;
    top: 50px;
    right: 2px;
    font-size: 20px;
    border: solid 1px gray;
    border-radius: 15px;
    width: 32px;
    cursor: pointer;
}


/*テーブル内の画像の高さは作成画像側を揃えるため、CSSで制御をあえてしない*/
/*
td.item_img img{
    height: 150px;
}
*/
td.inner.master {
    position: -webkit-sticky;
    position: sticky;
    left: -1px;
    z-index: 3;
}

td.inner {
    margin-left: -3px;
    margin-right: -3px;
}

td.inner table td {
    padding: 8px;
    display: flex !important;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

/*
th.item_name {
    white-space: nowrap;
}
*/
td.firstimp {
    text-align: center;
    padding: 50px 10px !important;
    width: 70% !important;
}

div.ev_choice_btn {
    width: 100%;
}

div.ev_choice_btn a {
    display: block;
    transition: all 0.2s ease;
    position: relative;
    width: 90%;
    border: solid 1px #b3b3b3;
    border-radius: 25px;
    box-shadow: 1px 2px 2px #d5d5d5;
    padding: 10px;
    margin: 10px auto;
    text-align: center;
    background: white;
    font-size: 80%;
    text-decoration: none;
    font-weight: bold;
}

div.ev_choice_btn a:active {
    transform: translateY(4px);
    box-shadow: none;
}


@media (max-width:480px) {
    section.ev_choice {
        width: 340px;
        margin: auto;
    }

    #rdy {
        width: 330px;
    }

    #rdy td {
        width: 160px;
    }

    th,
    td {
        font-size: 80% !important;
    }


    td.item_img img {
        height: 120px;
    }

}


/*ボタンのカラー分け*/

div.ev_choice_btn a.ev_choice_col-red {
    background: #cb4646;
    color: white;
}
div.ev_choice_btn a.ev_choice_col-orange {
    background: #fbbb46;
    color: white;
}
div.ev_choice_btn a.ev_choice_col-blue {
    background: #5a77e5;
    color: white;
}
div.ev_choice_btn a.ev_choice_col-green {
    background: #219725;
    color: white;
}



