@charset "UTF-8";

body {
    display: flex;
    overflow-y: scroll;
    background: #555;
}

#modal_wpdl main {
    width: 100%;
    background: #000;
    color: #fff;
    padding-bottom: 8rem;
}

#modal_wpdl .wrapper {
    text-align: center;
}

#modal_wpdl h1 {
    font-size: 4rem;
    line-height: 1.3;
    margin: 0;
}

#modal_wpdl h2 {
    font-size: 2.4rem;
    line-height: 1.5;
    background: #303030;
    padding: 0.5em 1em;
}


/* input.php */

.reqMessage {
    font-size: 1.8rem;
    font-weight: 600;
    color: #d60000;
    margin-top: 1.5em;
}

@media (max-width: 460px) {

    .reqMessage br {
        display: none;
    }
}

.img_label {
    width: 100%;
    max-width: 48rem;
    margin-top: 3em;
}

form {
    margin-top: 4em;
}

select, input {
    height: 2.4em;
    width: 6.6em;
    padding: 0 0.5em;
    border: 0;
    border-radius: 0.25rem;
    font-size: 1.8rem;
    font-weight: 500;
    text-align: center;
    color: #333;
}

.cont_model-sn {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-end;
}

@media (max-width: 360px) {
    .cont_model-sn {
        flex-direction: column;
        align-items: center;
    }

    .sn-rev {
        margin-top: 1em;
    }
}

.cont_model-sn > div {
    display: flex;
    flex-direction: column;
    justify-content: left;
}

.cont_model-sn label {
    margin-bottom: 0.3em;
}

.sn-rev {
    flex-direction: row !important;
    align-items: flex-end;
}

.sn {
    margin: 0 0.5em 0 1em;
    display: flex;
    flex-direction: column;
}

.rev {
    display: inline-block;
    box-sizing: border-box;
    height: 2.4em;
    padding: 0 0.5em;
    border-radius: 0.25rem;
    background: #a9a9a9;
    font-size: 1.8rem;
    color: #222;
    font-weight: 500;
    line-height: 2.4em;
}

.cont_error {
    height: auto;
    display: flex;
    align-items: center;
    margin: 2em 0;
}

.errorMessage {
    margin: 0 auto;
    font-size: 1.7rem;
    font-weight: 500;
    color: #d60000;
    padding: 0.5em 1.4em;
    border: solid 4px #d60000;
}

.errorMessage::before {
    content: "\f071";
    font: normal normal normal 14px/1 FontAwesome;
    font-size: 1.05em;
    margin-right: 0.1em;
}

input[type="submit"] {
    width: 100%;
    max-width: 48rem;
    height: 2.6em;
    color: #fff;
    background: linear-gradient(135deg, #757477 0%, #4f4c50 100%);
    text-shadow: 0 1px .6px rgba(0, 0, 0, 0.33);
    border-radius: 0;
    cursor: pointer;
    transition: opacity 0.2s ease-out;
}

input[type="submit"]:hover {
    opacity: 0.75;
}



/* DL 画面 */

.anchor_type {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 1em;
    margin-top: 1em;
}

.anchor_type a {
    display: block;
    background: #7a7a7a;
    box-sizing: border-box;
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 2.4;
    padding: 0 1.5em;
    border-radius: 1.2em;
    transition: opacity 0.2s ease-out;
}

.anchor_type a:hover {
    opacity: 0.7;
}

#modal_wpdl h3 {
    margin: 3em 0 1em;
    font-weight: 700;
    font-size: 2.5rem;
    position: relative;
}

#modal_wpdl h3:after {
    content: "";
    width: 1.8em;
    height: 4px;
    border-radius: 2px;
    background: #d60000;
    opacity: 0.8;
    position: absolute;
    bottom: -0.4em;
    left: 50%;
    margin-left: -0.9em;
}

#statusMessage {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    color: #333;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 500;
    display: none;
    z-index: 1000;
}

button {
    background-color: #d60000cc;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.6rem;
    font-weight: 600;
    width: 100%;
    transition: opacity 0.2s ease-out;
}

button:hover {
    opacity: 0.75;
}

button:disabled {
    background-color: #e9ecef;
    color: #adb5bd;
    cursor: not-allowed;
}

.dl_sp,
.dl_pc {
    display: flex;
    flex-direction: column;
}

.sample_sp,
.sample_pc {
    display: block;
    margin: 0 auto;
    border: solid 1px #666;
    width: 100%;
}

.sample_sp {
    width: calc(0.45 * 87.2vw);
    max-width: 22.8rem;
}

.sample_pc {
    max-width: 48rem;
}

.dl_type {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 3rem;
    margin: 0.5em auto 0;
}

.dl_type li {
    width: 21rem;
}

.dl_type p {
    font-size: 1.6rem;
    font-weight: 400;
    margin-bottom: 0.5em;
}

#statusMessage {
    background: #d60000;
    color: #fff;
    font-size: 1.6rem;
}


@media screen and (max-width: 495px) {

    .dl_type {
        flex-direction: column;
        gap: 0;
    }
}