@charset "utf-8";

*,::before,::after {
    padding: 0;
    margin: 0;
    box-sizing: border-box; /* 幅と高さの計算方法をシンプルに計算できる設定 */
}

ul,ol {
    list-style: none; /* 行頭アイコンを非表示 */
}

a {
    color: inherit; /* 文字色をなくす */
}

img {
    max-width: 100%;
}

html{
    scroll-behavior: smooth;
}

body {
    font-family: 'Zen Kaku Gothic New', sans-serif;
    font-size: 16px; /* 文字サイズ */
    color: #223a70;
    line-height: 1.5; /* 行間 */
    text-align: center;
    background-color: #ffffff; /* 背景色を白に */
    display: flex;
    min-height: 100vh;
}

.main-area {
    width: 900px;
    min-width: 330px;
    z-index: 10;
    box-shadow: 0 10px 25px 0 rgba(0, 0, 0, .5);
}

.header-inner {
    margin-top: 25px;
    margin-bottom: 25px;
}

.errors {
    margin-top: 25px;
    width: 500px;
    max-height: 240px;
    text-align: left;
    display: inline-block;
    justify-content: center;
    overflow-wrap: break-word;
    overflow: auto;
}

.error-list {
    list-style: disc inside;
    color: red;
}

fieldset {
    margin: auto;
    padding: 15px;
    border-top: double 10px #6694ff;
    border-bottom: double 10px #6694ff;
    border-left: none;
    border-right: none;
    border: none;
    width: 600px;
}

legend {
    font-weight: bold;
    font-size: 25px;
    display: none;
}

input[type="submit"],button,input[type="radio"],input[type="checkbox"],input[type="button"] {
    cursor: pointer; /* マウスを置いた時のカーソルの形 */
}

input[type="text"],input[type="password"],input[type="date"],select,textarea,input[type="number"] {
    font-weight: bold;
    font-size: 20px;
    letter-spacing: 2px;
    font-family: 'Zen Kaku Gothic New', sans-serif;
}

input[type="text"]:hover,input[type="password"]:hover,input[type="date"]:hover,select:hover,textarea:hover,input[type="number"]:hover {
    background-color: #eaf4fc;
}

.footer {
    margin: 25px 0;
}

.logo {
    margin: 20px 0;
}

.copyright {
    padding: 0;
    text-align: center;
    line-height: 100%;
    color: #000000;
    background-color: #fbd7a1;
}

textarea {
    resize: vertical;
    width: calc(100% - 30px);
    min-height: 100px;
}

h1 {
    border-top : solid 5px #223a70;
    border-bottom : solid 5px #223a70;
    margin-left: 10px;
    margin-right: 10px;
    border: none;
    background-color: #6694ff;
    color: #ffffff;
}

table {
    border-collapse: separate;
    border-spacing: 0 15px;
    margin-left: auto;
    margin-right: auto;
}

th {
    text-align: right;
    font-size: 18px;
}

td {
    text-align: left;
}

/* login,signup,password_reset,examinee_question */
.form-area {
    display: inline-block;
    justify-content: center;
    margin: 15px 0;
}

/* login,signup,password_reset */
.input-text {
    width: 100%;
    max-width: 300px;
    height: 40px;
    padding-left: 10px;
    padding-right: 10px;
}

.submit-button {
    background-color: #223a70;
    min-width: 180px;
    line-height: 60px;
    border-radius: 32px;
    font-size: 25px;
    font-weight: bold;
    color: #ffffff;
    text-align: center;
    margin-top: 25px;
    border: 1px solid;
}

.submit-button:hover {
    background-color: #ffffff;
    color: #223a70;
    border: 1px solid #223a70;
}

.URL-list li {
    padding: 10px 0;
}

.page-back input {
    width: 230px;
    background-color: #ff7f50;
    letter-spacing: 5px;
}

.page-back input:hover {
    color: #ff7f50;
    border: 1px solid #ff7f50;
}

.asterisk {
    font-size: 14px;
    font-weight: normal;
    color: red;
    display: inline-block;
}

.common-body h1 {
    letter-spacing: 20px;
}

.common-body fieldset {
    min-width: 300px;
}

.common-body .item-title {
    letter-spacing: 5px;
}

.common-body .h1-logout {
    letter-spacing: 10px;
}

.common-body .h1-HealthQuesta {
    letter-spacing: normal;
}

.legend-name {
    color: #000000;
}

.honorific-title {
    margin-left: 10px;
}

/* examinee_exit,logout,importing_examinee_list,list_examinee */
.message {
    font-size: 18px;
}

/* examinee_exit,logout */
.thanks-message {
    margin-top: 10px;
}

@media (min-width: 900px) {
    .left-area,.right-area {
        width: calc(50vw - 450px);
        background-color: #f8f8f8;
    }
}

@media (max-width: 900px) {
    .main-area {
        box-shadow: none;
    }
}

@media (max-width: 650px) {
    .main-area {
        width: 100vw;
    }

    .errors {
        width: calc(100vw - 150px); /* 100vw-(650px-500px) */
        min-width: 180px;
    }

    fieldset {
        width: calc(100vw - 50px);
    }

    .form-area {
        margin: 0;
    }

    tr,th,td {
        display: block;
    }

    th {
        text-align: left;
    }

    tr {
        margin: 15px 0;
    }
}