html,
body,
div,
span,
p {
    margin: 0;
    padding: 0;
    border: 0;
}

html {
    width: auto;
}

/* bodyタグの設定 */
body {
    letter-spacing: 0.5px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
}

label {
    display: block;
    font-size: .95rem;
    padding: 5px 5px 5px 0;
}

/* header・body・footerを持つ要素の設定 */
.main {
    max-width: 1025px;
    margin: 0 auto;
    text-align: left;
}

/* ヘッダーエリアの設定 */
.header {
    position: static;
    width: 100%;
    height: 50px;
    margin-bottom: 10px;
    border-bottom-right-radius: 6px 6px;
    border-bottom-left-radius: 6px 6px;
    background-color: #0081bb;
    max-width: 1025px;
}

/* 左上のシステム名称表示エリアの設定 */
/* TODO responsive */
.system-name {
    padding-left: 10px;
    font-size: 1.8rem;
    font-weight: bold;
    color: #dfe6f1;
    text-shadow: 1px 3px 0px #0b7cb4;
    cursor: pointer;
    background: linear-gradient(0deg, #dee6f1 45%, #fafcfe 45%, #728fac 10%);
    -webkit-background-clip: text;
}

/* 言語切り替え設定・ログアウトボタン表示エリアの設定 */
.header-right {
    min-height: 27px;
    padding: 11.5px 10px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.header-right-element {
    margin: auto 0;
}

/* mainクラス内の主要な要素の設定 */
.body {
    background-color: #CEEFFF;
    overflow: visible;
    padding: 4%;
    border-radius: 8px;
    max-width: 1025px;
}

/* formを持つエリアの親要素の設定 */
.operation-wrapper {
    box-sizing: border-box;
    padding: 0px;
    margin: 0 15%;
    border: 1px solid #e3edf4;
}

@media (max-width : 1000px),
(max-device-width : 1000px) {
    .operation-wrapper {
        margin: 0 14%;
    }
}

@media (max-width : 975px),
(max-device-width : 975px) {
    .operation-wrapper {
        margin: 0 13%;
    }
}

@media (max-width : 950px),
(max-device-width : 950px) {
    .operation-wrapper {
        margin: 0 12%;
    }
}

@media (max-width : 925px),
(max-device-width : 925px) {
    .operation-wrapper {
        margin: 0 11%;
    }
}

@media (max-width : 900px),
(max-device-width : 900px) {
    .operation-wrapper {
        margin: 0 10%;
    }
}

@media (max-width : 875px),
(max-device-width : 875px) {
    .operation-wrapper {
        margin: 0 9%;
    }
}

@media (max-width : 850px),
(max-device-width : 850px) {
    .operation-wrapper {
        margin: 0 8%;
    }
}

@media (max-width : 825px),
(max-device-width : 825px) {
    .operation-wrapper {
        margin: 0 7%;
    }
}

@media (max-width : 800px),
(max-device-width : 800px) {
    .operation-wrapper {
        margin: 0 6%;
    }
}

@media (max-width : 775px),
(max-device-width : 775px) {
    .operation-wrapper {
        margin: 0 5%;
    }
}

@media (max-width : 750px),
(max-device-width : 750px) {
    .operation-wrapper {
        margin: 0 auto;
    }
}

/* formを持つエリアの設定 */
.form-wrapper {
    margin: auto;
    padding: 2% 5%;
    box-sizing: border-box;
    width: 100%;
    background-color: #ffffff;
    border: 3px solid #0081bb;
    border-radius: 10px;
    overflow: hidden;
}

/* ページタイトル */
/* TODO responsive */
.operation-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #007099;
    margin-bottom: 15px;
    white-space: nowrap;
    text-wrap: inherit;
}

@media (max-width : 450px),
(max-device-width : 450px) {
    .EN-title {
        font-size: 1.15rem;
    }
}

@media (max-width : 432px),
(max-device-width : 432px) {
    .EN-title {
        font-size: 1.1rem;
    }
}

@media (max-width : 415px),
(max-device-width : 415px) {
    .EN-title {
        font-size: 1.05rem;
    }
}

@media (max-width : 409px),
(max-device-width : 409px) {
    .JA-title {
        font-size: 1.15rem;
    }

    label {
        font-size: .9rem;
    }

    .important-label {
        font-size: .75rem;
    }
}

@media (max-width : 390px),
(max-device-width : 390px) {
    .JA-title {
        font-size: 1.1rem;
    }

    .EN-title {
        font-size: 1rem;
    }
}

@media (max-width : 375px),
(max-device-width : 375px) {
    .JA-title {
        font-size: 1.05rem;
    }

    .EN-title {
        font-size: .95rem;
    }

    label {
        font-size: .85rem;
    }

    .important-label {
        font-size: .7rem;
    }
}

@media (max-width : 358px),
(max-device-width : 358px) {
    .JA-title {
        font-size: 1rem;
    }

    .EN-title {
        font-size: .9rem;
    }
}

@media (max-width : 343px),
(max-device-width : 343px) {
    .JA-title {
        font-size: .95rem;
    }

    .EN-title {
        font-size: .85rem;
    }

    label {
        font-size: .8rem;
    }

    .important-label {
        font-size: .65rem;
    }
}

@media (max-width : 325px),
(max-device-width : 325px) {
    .JA-title {
        font-size: .9rem;
    }

    .EN-title {
        font-size: .8rem;
    }
}

/* message表示エリアの設定 */
.fixed-message {
    font-weight: bold;
    margin: 10px;
    padding: 5px 5px 5px 0;
    font-size: 1rem;
}

@media (max-width : 852px),
(max-device-width : 852px) {
    .fixed-message {
        font-size: .95rem;
    }
}

@media (max-width : 666px),
(max-device-width : 666px) {
    .fixed-message {
        font-size: .9rem;
    }
}

@media (max-width : 343px),
(max-device-width : 343px) {
    .fixed-message {
        font-size: .85rem;
    }
}

@media (max-width : 329px),
(max-device-width : 329px) {
    .fixed-message {
        font-size: .8rem;
    }
}

.bold {
    font-weight: bold;
}

/* formの設定 */
form {
    margin: 10px 0 0 0;
}

/* ボタン周辺 */
/* submitを行うボタンの表示エリア */
.submit-group {
    padding: 10px;
    text-align: left;
    background: #0081bb;
    box-sizing: border-box;
    border-radius: 5px;
}

/* 表示されているボタンに付与する */
.button {
    margin: 0 8px;
    padding: 2px 10px;
    border: 1px solid #b5b5b5;
    font-weight: bold;
    font-size: .8rem;
    cursor: pointer;
}

@media (max-width : 369px),
(max-device-width : 369px) {
    .button {
        font-size: .75rem;
    }
}

@media (max-width : 354px),
(max-device-width : 354px) {
    .responsive-button {
        margin: 5px 8px;
    }
}

/* ボタン周辺 */

/* フッター */
/* フッターに付与する */
.footer {
    color: #0081bb;
    padding-top: 10px;
    text-align: center;
    font-size: .8rem;
}

@media (max-width : 583px),
(max-device-width : 583px) {
    .footer {
        font-size: .75rem;
    }
}

@media (max-width : 550px),
(max-device-width : 550px) {
    .footer {
        font-size: .7rem;
    }
}

/* フッター */

/* 非表示の要素に付与する */
.d-none {
    display: none;
}

/* 要素の下にbrタグを入れる時に省略する用 */
.br::before {
    content: "\A";
    white-space: pre;
}

/* メッセージ用 */
#messageFrame {
    text-align: left;
    box-sizing: border-box;
    padding: 10px;
    border-radius: 5px;
    line-height: 25px;
    margin: 10px;
}

#messageText {
    font-weight: bold;
    font-size: 0.8rem;
    margin-left: 20px;
}

#message-info-icon {
    width: 12px;
    padding-top: 7px;
    position: absolute;
}

.warning-frame {
    background: #f9dbdc;
    border: 2px solid #fc2326;
    border-left: 10px solid #fc2326;
}

.warning-message {
    color: #b70120;
}

.info-frame {
    background: #8ae084;
    border: 2px #49e03e;
    border-left: 10px solid #49e03e;
}

.info-message {
    color: #004c30;
}