@charset "utf-8";

main * {
    box-sizing: border-box;
    font-family: Arial, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
    font-size: 15px;
    color: #232a35;
}
@media (min-width: 768px) {
    main * {
        font-size: 14px;
    }
}
body {
    background-color: #e7ecf3;
    margin: 0 auto;
    max-width: 960px;
    position: relative;
}
fieldset {
    margin: 0;
    padding: 0;
    border: none;
}
:root {
    --main-color: #003081;
    --gray-text-color: #6e7c92;
    --border-color: #c1c9d3;
}
::placeholder {
    color: var(--gray-text-color);
}

dd {
    margin: 0;
}

h1 {
    margin: 0;
}

label {
    font-size: 12px;
}
/*-------------------------------------------------------------------------
#
-------------------------------------------------------------------------*/

.main {
    padding: 16px 12px 100px;
}
.heading {
    display: flex;
    flex-flow: column;
    margin: 0 0 4px;
    padding: 0;
}
@media (min-width: 768px) {
    .heading {
        flex-flow: row;
        justify-content: space-between;
        align-items: flex-end;
    }
}
.headline {
    font-size: 20px;
    font-weight: bold;
    color: var(--main-color);
}
.headCompany {
    margin: 0;
}
.table.table-input.confirm-table td {
    max-width: 250px;
    text-align: left;
    word-wrap: break-word;
    overflow-wrap: break-word;
}
.table.table-input th {
    max-width: 120px;
}
#layout_main {
    margin: 0 auto;
    width: 90%;
}
/*-------------------------------------------------------------------------
#
-------------------------------------------------------------------------*/

.form > * + * {
    margin: 12px 0 0;
}
.card {
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 12px;
    margin-top: 10px;
}
.document-request {
    text-align: center;
    height: 90%;
}
/* #
--------------------------- */
.card-info {
    border-top: 4px solid var(--main-color);
}
.card-info-heading {
    margin: 0 0 12px;
    display: flex;
    align-items: center;
    min-width: 80px;
    text-align: center;
}
.card-info-status {
    border: 1px solid #00a4aa;
    line-height: 1;
    padding: 7px 12px;
    font-size: 16px;
    font-weight: bold;
    color: #00a4aa;
    color: #00a4aa;
    margin: 0;
    min-width: 80px;
}
.card-info-time {
    margin: 0;
    padding-left: 8px;
    font-size: 12px;
    color: #2ab4ba;
}
.card-info-name {
    font-size: 18px;
    font-weight: bold;
    line-height: 1.15;
    margin: 0 0 7px;
}
.card-info-price {
    margin: 0 0 5px;
    display: flex;
    gap: 13px;
    align-items: center;
}
.card-info-price-ttl {
    color: var(--gray-text-color);
}
.card-info-price-item {
    font-size: 18px;
    font-weight: bold;
}
.card-info-address {
    display: flex;
    gap: 1px;
}
.card-info-address i {
    font-size: 20px;
    margin: -3px 0 0;
}
.card-info-bottom {
    border-top: 1px solid var(--border-color);
    padding: 4px 0 0;
}
.card-info-bottom > * + * {
    margin: 11px 0 0;
}
.card-info-list {
    display: flex;
    align-items: flex-start;
    margin: 8px 0 0 0;
}

.card-info-list-ttl {
    min-width: 7em;
    color: var(--gray-text-color);
}

#confirmCard {
    padding: 8px 12px 12px;
    border: none;
}
/* FORM LAYOUT
--------------------------- */
.form-ttl {
    margin: 0 0 5px -3px;
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 18px;
    font-weight: bold;
    color: var(--main-color);
}
.document-form-ttl {
    margin: 0 0 14px -3px;
    gap: 8px;
    align-items: center;
    font-size: 18px;
    font-weight: bold;
    color: var(--main-color);
}
.form-radio-ttl {
    margin: 0 0 5px -3px;
}
.form-ttl span {
    background-color: var(--main-color);
    border-radius: 4px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #fff;
}
.confirm-ttl {
    color: #232a35;
    font-size: 20px;
    margin-bottom: 6px;
}
.form-contents > * + * {
    margin: 12px 0 0;
}
#bukkakuSaleAllForm {
    text-align: center;
}
#backButton {
    text-decoration: none;
    color: #232a35;
    position: relative;
    top: 2px;
}
@media (min-width: 768px) {
    #backButton {
        text-decoration: underline;
    }
}
#confirmButtonArea {
    margin-top: 15px;
    display: flex;
    align-items: center;
    gap: 20px;
}
.confirmButtonElm {
    flex: 1;
}
/* FORM CONTENTS 内部
--------------------------- */
.form-contents .form-attached label,
#removeAttachment {
    color: #232a35;
}
.form-contents .form-attached label {
    margin-top: 6px;
}
.errormsg {
    display: inline-block;
    margin-bottom: 10px;
}
div.error {
    background: url("/images/common/icn_error.png") no-repeat scroll 5px 50% #fcc;
    border: solid 1px #c00;
    border-radius: 3px 3px 3px 3px;
    margin: 30px auto 7px;
    padding: 5px 0 5px 30px;
}
.form-contents.radio label {
    font-size: 14px;
}
.form-contents.radio label:hover {
    color: rgb(35, 42, 53);
    transition: .3s ease;
}
@media (min-width: 768px) {
    .form-contents.radio label:hover {
        cursor: pointer;
    }

    .form-contents .form-attached label {
        margin-top: 0;
    }
}
.form-contents #contactDetail {
    margin-top: 5px;
}
label:has(input[type="radio"]:checked) {
    color: rgb(35, 42, 53);
}
.form-note {
    line-height: 1.5;
    margin: 0;
}
.form-quote {
    margin-bottom: 26px;
}
.form-quote button {
    width: 100%;
}
.form-attached {
    border-bottom: 1px solid var(--border-color);
    padding: 0 0 5px;
}
.form-attached-text {
    margin: 0 0 7px;
    font-size: 12px;
}
input[type="file"] {
    display: none;
}
.form-attached-note {
    margin: 0 0 5px 10px;
    color: var(--gray-text-color);
}
.form-attached-inner {
    padding-left: 9px;
}
.form-attached .form-btn {
    width: 107px;
    font-size: 13px;
    margin: 0 0 0 8px;
    height: 27px;
}
.form-consent {
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 10px;
}
.form-consent {
    height: 144px;
    overflow-y: auto;
}
.form-consent :is(p, li) {
    font-size: 13px;
    line-height: 1.53;
}
.file-wrap {
    margin-top: 5px;
}
/*-------------------------------------------------------------------------
FORM
-------------------------------------------------------------------------*/

/* RADIO
--------------------------- */
input[type="radio"] {
    appearance: none;
    background-color: #fff;
    border-radius: 50%;
    border: 1px solid #a2adbd;
    width: 16px;
    height: 16px;
    margin: 0;
    position: relative;
}
input[type="radio"]:checked {
    background-color: #fff;
    border: 5px solid #2e6ace;
}
.radio-label {
    display: flex;
    gap: 6px;
    align-items: center;
    color: var(--gray-text-color);
    margin: 0 0 0 7px;
}
.radio-label:has(input:checked) {
    color: #232a35;
}

.submit-wrap {
    text-align: center;
}
.tmp-btn {
    box-shadow: 0 -2px 0 #e0e4ea inset;
    border-color: #a1adbb;
    background-color: #fff;
    color: #1745a3;
}
button {
    cursor: pointer;
}
.btn {
    display: inline-block;
    min-width: 48px;
    text-align: center;
    vertical-align: middle;
    font-family: inherit;
    font-weight: bold;
    font-size: 13px;
    line-height: 23px;
    letter-spacing: 0.03em;
    white-space: nowrap;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border-width: 1px;
    border-style: solid;
    box-sizing: border-box;
    padding: 0 5px;
    border-radius: 4px;
    transition: color .1s ease-in-out, background-color .1s ease-in-out, border-color .1s ease-in-out, box-shadow .1s ease-in-out;
    cursor: pointer;
    height: 25px;
}
.form-contents label input[type="radio"] {
    position: relative;
    top: 3px;
    margin-right: 5px;
}
.fa-angle-left {
    margin-right: 3px;
}
@media (min-width: 768px) {
    .contents-inner {
        display: flex;
        justify-content: left;
        flex-direction: row-reverse;
    }

    .form-quote button {
        width: 200px;
    }

    .contents-inner .form-note {
        position: relative;
        margin: 18px 0 15px 15px;
    }
}

/* TEXTAREA
--------------------------- */
textarea {
    width: 100%;
    height: 110px;
    border: 1px solid #bec7d6;
    border-radius: 4px;
    padding: 10px;
}
/* BUTTON
--------------------------- */
.form-quote .form-btn {
    color: #232a35;
}
.form-contents label .form-attached .tmp-btn {
    color: #232a35;
}
.form-btn {
    background-color: #fff;
    border: 1px solid #a1adbb;
    border-radius: 4px;
    box-shadow: 0 -2px 0 #e0e4ea inset;
    padding: 5px 0;
    font-weight: bold;
    cursor: pointer;
    color: var(--main-color);
}
.form-submit {
    padding: 10px;
    background-color: #334dae;
    border: none;
    border-radius: 4px;
    box-shadow: none;
    font-weight: bold;
    color: #fff;
    font-size: 16px;
}
.form-submit:hover {
    /* background: #393f95; */
    /* box-shadow: none; */
    /* transition: .3s ease; */
}
.confirm-submit {
    width: 100%;
}
.next {
    margin-top: 18px;
}
.next .form-submit {
    width: 50%;
    min-width: 300px;
    background-color: #fff;
    border: 1px solid #334dae;
    border-radius: 4px;
    box-shadow: 0 -2px 0 #d0d9e7 inset;
    height: 40px;
    font-weight: bold;
    color: #334dae;
}
.next .form-submit:hover {
    background: #f9fbfe;
    box-shadow: none;
    transition: .3s ease;
}
.js-fileBulkDownload {
    margin-top: 15px;
    color: #232a35;
    min-width: 300px;
}
#removeAttachment {
    display: inline-block;
    margin-left: 3px;
}
#removeAttachment.none,
#removeApplicantAttachment.none{
    display: none;
}
#fileName {
    margin-left: 3px;
}
.logout:hover {
    text-decoration: none;
}
@media (min-width: 768px) {
    .next .form-submit {
        width: auto;
        min-width: 164px;
    }

    .desktop-hidden {
        display: none;
    }

    #removeAttachment {
        margin-right: 6px;
    }

    #removeAttachment:hover {
        text-decoration: none;
    }
}

/* TEXT
--------------------------- */
input[type="text"] {
    width: 100%;
    height: 36px;
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 0 0 0 10px;
}
.form-input .required {
    color: #EF5350;
    margin: 0 0 0 3px;
    font-size: 12px;
    font-weight: normal;
}
.form-input .optional {
    color: #78909C;
    margin: 0 0 0 3px;
    font-size: 12px;
    font-weight: normal;
}
input:focus {
    outline: none;
}
.form-input:not(:first-of-type) {
    margin: 24px 0 0;
}
.form-input {
    color: #455A64;
    font-weight: bold;
}
.name-form {
    display: flex;
    gap: 8px;
}
.alert,
.applicant-alert {
    color: red;
    font-weight: bold;
}
b {
    color: red;
}
#explanation {
    margin: 0;
}
.submit-note {
    font-size: 16px;
    margin-top: 0;
    margin-bottom: 10px;
}
.caution {
    margin: 0 0 5px;
    background-color: #fef9b6;
    padding: 7px 4px;
    line-height: 1.2;
}
.errormsg {
    margin: 0;
}
.thanks #contactUrl,
.thanks #logoutUrl {
    color: #1745a3;
}
#contactUrl:hover,
#logoutUrl:hover {
    cursor: pointer;
    text-decoration: none;
}
.file-delete-txt {
    font-size: 13px;
}
@media (min-width: 768px) {
    .file-delete-txt {
        font-size: 12px;
    }
}
/*-------------------------------------------------------------------------
#
-------------------------------------------------------------------------*/

.thanks {
    margin: 100px 0 0;
    text-align: center;
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 30px 10px;
}
.thanks > * + * {
    margin: 20px 0 0;
}

/*-------------------------------------------------------------------------
#資料ダウンロード
-------------------------------------------------------------------------*/
#fileArea {
    margin-top: 10px;
    text-align: left;
}
.file-row {
    height: 40px;
    line-height: 1.5;
}
.document-table.table td,
.document-table.table th {
    border-style: solid;
    border-color: rgb(193, 201, 211);
}
.download-file {
    font-size: 14px;
}
.file-name .fa {
    font-size: 14px;
}
.file-row .file-num {
    font-size: 14px;
}
.file-name {
    padding-left: 5px;
}
#fileArea .input {
    width: 100%;
}

#documentExplanation {
    word-wrap: break-word;
}

/*-------------------------------------------------------------------------
#メンテナンスモード
-------------------------------------------------------------------------*/
#maintenance_wrapper {
    background-color: rgb(255, 204, 204);
    border: 1px solid rgb(204, 0, 0);
    border-radius: 10px;
    overflow: hidden;
}
#maintenance_text {
    padding: 5px 7px;
}
#informationBar {
    position: absolute;
    left: 0;
    right: 0;
}
#informationBar > p {
    width: 91%;
    padding-left: 10px;
    margin: 0;
}
#closeBar {
    position: absolute;
    top: 10px;
    right: 10px;
    font-weight: bold;
    cursor: pointer;
}
