@charset "UTF-8";

html {
    font-size: 75%;
}

body {
    background-color: var(--whiteblue);
    font-family: "BIZ UDPGothic", sans-serif;
    font-size: 20px;
    color: var(--darkblue);
    text-align: center;
    margin: 0;
    height: 100%;
}

h1 {
    margin: 50px 0;
    font-size: 2rem;
}

p {
    margin: 0;
}

.progress-table {
    display: inline-block;
    text-align: center;
    margin-bottom: 50px;
}

    .progress-table th {
        height: 40px;
        font-size: 1.5rem;
    }

.progress-block {
    box-shadow: 2px 2px 4px grey;
    background-color: white;
    border-radius: 0 0 50% 50%;
    width: 100px;
    height: 80px;
    font-weight: bold;
}

.select {
    background-color: var(--darkblue);
    color: white;
}

.progress-table hr {
    border: 1px solid;
    width: 100px;
}

.form-area {
    background-color: white;
    width: 70vw;
    margin: 0 auto 50px auto;
    padding: 20px 10vw;
    box-sizing: border-box;
}

.finished-form-area {
    background-color: white;
    width: 70vw;
    margin: 0 auto 50px auto;
    padding: 20px 20vw;
    box-sizing: border-box;
    text-align: left;
}

.requiredcaption {
    text-align: right;
    font-weight: bold;
    margin-bottom: 50px;
}

.requiredmark {
    color: red;
}

.item {
    text-align: left;
    margin: 15px 0;
    font-size: 1.3rem;
}

    .item label {
        display: flex;
    }

    .item .input-text, .item textarea {
        width: 100%;
        margin: 10px 0;
        padding: 10px;
        font-family: "BIZ UDPGothic", sans-serif;
        font-size: 1.2rem;
        border: 1px solid #c3c3c3;
        border-radius: 5px;
    }

    .item .check-text {
        background-color: #f5f5f5;
        width: 100%;
        margin: 10px 0;
        padding: 10px;
        font-family: "BIZ UDPGothic", sans-serif;
        font-size: 1.2rem;
        border: 1px solid #c3c3c3;
        border-radius: 5px;
    }

    .item input::placeholder, .item textarea::placeholder {
        color: rgb(122, 120, 120);
    }

    .item input[type=text]:focus, .item textarea:focus {
        border: 2px solid #6495ed;
        outline: 0;
    }

a {
    color: var(--darkblue);
}

.consent-check {
    margin: 20px 0;
}

input[type=checkbox] {
    display: none;
}

.checklbl {
    box-sizing: border-box;
    cursor: pointer;
    display: inline-block;
    font-weight: bold;
    padding: 5px 30px;
    position: relative;
    width: auto;
}

    .checklbl::before {
        background: #fff;
        border: 2px solid var(--darkblue);
        border-radius: 3px;
        content: "";
        display: block;
        height: 16px;
        left: 5px;
        margin-top: -8px;
        position: absolute;
        top: 50%;
        width: 16px;
    }

    .checklbl::after {
        border-right: 6px solid var(--darkblue);
        border-bottom: 3px solid var(--darkblue);
        content: "";
        display: block;
        height: 20px;
        left: 7px;
        margin-top: -16px;
        opacity: 0;
        position: absolute;
        top: 50%;
        transform: rotate(45deg);
        width: 9px;
    }

input[type=checkbox]:checked + .checklbl::before {
    border-color: var(--darkblue);
    border-width: 3px;
}

input[type=checkbox]:checked + .checklbl::after {
    opacity: 1;
}

.btn {
    background-color: var(--darkblue);
    color: white;
    cursor: pointer;
    font-size: 18px;
    border: 0;
    border-radius: 50px;
    height: 40px;
    margin-bottom: 10px;
    padding: 5px 80px;
}

#back {
    background-color: #c3c3c3;
    color: white;
}

/* タブレット向けデザイン */
@media screen and (max-width: 768px) {
    html {
        font-size: 62.5%;
    }

    p {
        font-size: 1.6rem;
    }

    h1 {
        margin: 30px 0;
        font-size: 2.5rem;
    }

    .form-area {
        width: 80vw;
        padding: 20px 5vw;
    }

    .item {
        font-size: 1.7rem;
    }

        .item .input-text, .item textarea {
            font-size: 1.6rem;
        }
}
/* スマホ向けデザイン */
@media screen and (max-width: 480px) {
    html {
        font-size: 62.5%;
    }

    p {
        font-size: 1.5rem;
    }

    .progress-table hr {
        width: 20px;
    }

    .progress-block {
        width: 80px;
        font-size: 1.5rem;
    }

    .form-area {
        width: 90vw;
        padding: 10px;
    }

    .item .input-text, .item textarea {
        padding: 10px 5px;
        letter-spacing: 1.2px;
        width: 80vw;
        font-size: 1.35rem;
    }

    .checklbl {
        font-size: 1.5rem;
    }

    .btn {
        padding: 5px 40px;
    }
}