/* * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
} */

.wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
}

.wrapper img {
    width: 200px;
    object-fit: contain;
    cursor: pointer;
}

/* modal */

.modal-wrapper,
.modal-wrapper-smp
 {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0,0,0,0.5);
    pointer-events: none;
    opacity: 0;
    transition: 0.25s ease-out;
}

.modal-wrapper.show,
.modal-wrapper-smp.show
 {
    opacity: 1;
    pointer-events: all;
}

.modal-wrapper .modal-image {
    /* position: absolute; */
    /* width: 90%; */
    /* max-width: 90%;
    max-height: 90%; */
    /* ▼▼▼ 追加 ▼▼▼ */
    min-width: 90%;
    /* min-height: 300px; */
    /* ▲▲▲ 追加 ▲▲▲ */
    /* top: 50%;
    left: 50%; */
    /* transform: translate(-50%, -50%); */
    margin-top: 5%;
    object-fit: cover;
    opacity: 0;
    transition: 0.5s ease-out;
}

.modal-wrapper-smp .modal-image {
    /* scroll-snap-align: start; */
    position: absolute;
    margin-top: 5%;
    /* top: 5%; */
    left: 0%;
    /* bottom: 5%; */
    transform: translate(0%, -0%);
    -webkit-transform: translate(0%, -0%);
    -ms-transform: translate(0%, -0%);
    /* width: 100%; */
    min-width: 100%;
    /* position: absolute; */
    /* width: 100%; */
    /* height: 100%; */
    /* max-width: 100%;
    max-height: 100%; */
    /* top: 30%; */
    /* left: 50%; */
    /* transform: translate(-50%, 0%); */
    /* transform: translate(-40%, 0%); */
    /* transform: translate(0%, 20%); */
    object-fit: cover;
    opacity: 0;
    transition: 0.5s ease-out;
    vertical-align: middle;
}

.modal-image.show {
    opacity: 1;
}

.modal-image.show.img_h {
    height: 90%;
}

.modal-image.show.img_w {
    width: 90%;
}

/*
* 以下、同意するボタン設定
*/

a.cstm_btn_agreement {
    font-size: 1.0rem;
    font-weight: 700;
    line-height: 1.5;
    position: relative;
    display: inline-block;
    padding: 1.2rem 2rem;
    margin-top: 10px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    text-align: center;
    vertical-align: middle;
    text-decoration: none;
    letter-spacing: 0.1em;
    color: #212529;
    border-radius: 0.5rem;
}

a.cstm_btn_agreement {
    color: #fff;
    background-color: #008cff;
}

a.cstm_btn_agreement:hover {
    color: #fff;
    background: #89caff;
}

label.answertext input[type="radio"][disabled] ~ span.dummy-radio-after,
label.answertext input[type="checkbox"][disabled] ~ span.dummy-checkbox-after,
.diabled_target_str
 {
    color: #999;
}

label.answertext input[type="radio"][disabled] ~ span.dummy-radio,
td[class^="answer_cell"] input[type="radio"][disabled] ~ span.dummy-radio
{
    opacity: 0.5;
}

/* label.answertext input[type="checkbox"][disabled] ~ span.dummy-checkbox
{
    opacity: 0.3;
} */

input:disabled:not(input[type="submit"]:disabled),select:disabled,textarea:disabled {
    opacity: 0.5;
    background-color: #ccc;
    /*
    color: inherit もしくは活性の時と同じ色;
    cursor: not-allowed; */
  }