@charset "UTF-8";

.sub-top {
    background-image: url("../img/common/sub_bg_contact.jpg");
}

.sub-content {
    padding: 6em 0 7rem;
}

.contact-wrap {
    position: relative;
}

.board-head {
    margin-bottom: 60px;
}

.board-head .board-title {
    font-size: 45px;
    font-weight: 700;
    line-height: 68px;
    text-align: left;
    margin-bottom: 10px;
}

.board-head .board-desc {
    font-size: 18px;
    font-weight: 400;
    line-height: 27px;
    text-align: left;
}

.form-info {
    font-size: 18px;
    line-height: 27px;
    text-align: right;
    margin-bottom: 20px;
    color: #757575;
}

.form-info span {
    vertical-align: sub;
}

.board-input-user {
    padding: 35px 0;
    border-top: 2px solid #000;
    border-bottom: 1px solid #e8e8e8;
}

.board-input-content {
    padding: 35px 0 40px 0;
    border-bottom: 2px solid #000;
}

.board-input-group {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.board-input-group.text-area {
    align-items: flex-start;
}

.board-input-group label {
    width: 110px;
    font-size: 18px;
    font-weight: 700;
    line-height: 27px;
    text-align: left;
    margin: 0;
}

.board-input-group input,
.board-input-group textarea {
    flex: 1;
    width: 100%;
    padding: 12px 20px;
    background-color: #fff;
    border: 1px solid #e8e8e8;
    font-size: 18px;
    font-weight: 400;
    line-height: 27px;
}

.board-input-group input:focus,
.board-input-group textarea:focus {
    outline: 1px solid #94a6ed;
    font-weight: 400;
    color: #555;
}

.board-input-group input::-moz-placeholder,
.board-input-group textarea::-moz-placeholder {
    color: #9e9e9e;
}

.board-input-group input::placeholder,
.board-input-group textarea::placeholder {
    color: #9e9e9e;
}

.board-input-group textarea {
    height: 350px;
}

.custom-file {
    position: relative;
    display: inline-block;
    width: 100%;
    height: calc(1em + 0.75rem + 2px);
    margin-bottom: 0;
}

.custom-file-input {
    position: relative;
    z-index: 2;
    width: 100%;
    height: calc(1em + 0.75rem + 2px);
    border: 1px solid #e8e8e8;
    margin: 0;
    opacity: 0;
}

.custom-file-input:focus ~ .custom-file-label {
    border-color: #a1cbef;
    box-shadow: 0 0 0 0.2rem rgba(52, 144, 220, 0.25);
}

.custom-file-input[disabled] ~ .custom-file-label,
.custom-file-input:disabled ~ .custom-file-label {
    background-color: #e9ecef;
}

.custom-file-input:lang(en) ~ .custom-file-label::after {
    content: "Browse";
}

.custom-file-input ~ .custom-file-label[data-browse]::after {
    content: attr(data-browse);
}

.custom-file-label {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1;
    height: calc(1em + 0.75rem + 2px);
    padding: 0.375rem 0.75rem;
    font-weight: 400;
    line-height: 1;
    background-color: #fff;
    border: 1px solid #e8e8e8;
}

.custom-file-label::after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    display: block;
    height: calc(1em + 0.75rem);
    padding: 0.375rem 0.75rem;
    line-height: 1;
    color: #555;
    content: "Browse";
    background-color: #fff;
    border: 1px solid #94a6ed;
}

.custom-control-label::before,
.custom-file-label,
.custom-select {
    transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

@media (prefers-reduced-motion: reduce) {
    .custom-control-label::before,
    .custom-file-label,
    .custom-select {
        transition: none;
    }
}

.board-file-input {
    flex: 1;
    height: 40px;
}

.board-file-input .custom-file-input {
    height: 45px;
    border: 1px solid #e8e8e8;
    cursor: pointer;
}

.board-file-input .custom-file-label {
    height: 45px;
    background-color: #fff;
    color: #555;
    font-size: 18px;
    font-weight: 400;
    line-height: 20px;
    padding: 12px 20px;
    border: 1px solid #e8e8e8;
    border-radius: 0;
    width: 100%;
}

.board-file-input .custom-file-label::after {
    content: "\D30C\C77C\C120\D0DD";
    font-size: 18px;
    line-height: 20px;
    padding: 12px 43px;
    border-radius: 0;
    background-color: white;
    color: #555;
    border: 1px solid #e8e8e8;
    margin-left: 10px;
    height: auto;
}

.board-term {
    padding: 40px 0 60px;
    font-size: 16px;
    line-height: 24px;
    text-align: left;
    color: #757575;
}

.board-term .term-info {
    margin-bottom: 20px;
}

.board-term .custom-control-label {
    color: #424242;
    font-size: 18px;
    font-weight: 400;
    line-height: 24px;
    text-align: left;
}

.board-term .custom-control-label::before,
.board-term .custom-control-label::after {
    top: 2px;
}

.board-term .btn-term {
    font-size: 15px;
    line-height: 25px;
    padding: 5px 10px 4px;
    margin-left: 30px;
    border: 1px solid #e8e8e8;
    box-sizing: border-box;
    border-radius: 25px;
}

.board-term .btn-term:hover {
    color: #f00;
}

.board-submit {
    border-radius: 39px;
    display: inline-block;
    cursor: pointer;
    color: white;
    background: #007AFF;
    border: 1px solid #007AFF;
    padding: 16px 50px;
    font-size: 18px;
}

.modal-header .btn-close {
    background: none;
    border: none;
    margin-right: 3px;
    color: #fff;
}

.modal-header .btn-close img {
    width: 22px;
}

.modal-header .modal-title {
    font-weight: 700;
}

.terms-content {
    font-size: 16px;
    padding: 2rem 1.6rem;
    line-height: 24px;
}

.terms-content h6 {
    font-size: 19px;
    font-weight: 600;
    line-height: 30px;
}

.inquiry-img {
    display: inline-block;
    width: 47%;
}

.inquiry-box {
    position: relative;
}

.inquiry-img img {
    width: 100%;
}

.inquiry-desc {
    display: inline-block;
    width: 47%;
    border-top: 2px solid #000;
    border-bottom: 2px solid #000;
    position: absolute;
    right: 0;
}

.inquiry-desc dl {
    position: relative;
}

.inquiry-desc dt {
    position: absolute;
    width: 90px;
    font-size: 18px;
    font-weight: 700;
    padding: 2rem 0 2rem 13px;
    background: url('../img/company/dot.png') no-repeat 0 50%;
}

.inquiry-desc dd {
    font-size: 18px;
    font-weight: 400;
    padding: 2rem 0 2rem 110px;
    border-bottom: 1px solid #e8e8e8;
}

.inquiry-desc dd:last-child {
    border-bottom: 0;
}

.inquiry-slogan {
    position: absolute;
    left: 53%;
    bottom: 0;
}

@media (max-width: 800px) {
    .sub-content {
        padding-top: 4em;
    }

    .board-head {
        margin-bottom: 30px;
    }

    .board-head .board-title {
        font-size: 26px;
        line-height: 39px;
        margin-bottom: 0;
    }

    .board-head .board-desc {
        font-size: 16px;
        line-height: 24px;
    }

    .form-info {
        font-size: 15px;
        line-height: 23px;
        margin-bottom: 15px;
    }

    .board-input-user,
    .board-input-content {
        padding: 20px 0;
    }

    .board-input-group {
        display: block;
    }

    .board-input-group label {
        display: block;
        width: 100%;
        font-size: 16px;
        line-height: 24px;
        margin-bottom: 10px;
    }

    .board-input-group input,
    .board-input-group textarea {
        flex: none;
        width: 100%;
        padding: 12px 10px;
        font-size: 15px;
        line-height: 23px;
    }

    .board-input-group textarea {
        height: 250px;
    }

    .board-file-input .custom-control-label::after {
        padding: 4px 10px;
    }

    .board-term {
        padding: 30px 0 40px;
    }

    .board-term .custom-control-label {
        font-size: 17px;
    }

    .custom-control-label::before {
        width: 1.22rem;
        height: 1.22rem;
    }

    .custom-control-label::after {
        width: 1.22rem;
        height: 1.22rem;
    }
}

@media (max-width: 990px) {
    .terms-content {
        font-size: 15px;
    }

    .terms-content h6 {
        font-size: 18px;
        line-height: 30px;
    }

    .inquiry-box {
        position: relative;
    }

    .inquiry-img {
        display: block;
        width: 100%;
    }

    .inquiry-desc {
        display: block;
        width: 100%;
        margin-top: 2.5rem;
        position: relative;
        right: unset;
    }

    .inquiry-desc dt {
        font-size: 15px;
        padding: 1.5rem 0 1.5rem 10px;
    }

    .inquiry-desc dd {
        font-size: 15px;
        padding: 1.5rem 0 1.5rem 110px;
    }

    .inquiry-slogan {
        position: relative;
        margin-top: 2.5rem;
        left: 0;
        bottom: 0;
    }
}

/* english */
.en .board-input-group label {
    text-align: left;
}

.en .attachment {
    letter-spacing: -0.05em;
}

.en .term-info {
    font-size: 17px;
    line-height: 20px;
}

.en .terms-content {
    font-size: 17px;
    line-height: 22px;
    color: #555;
}

.en .terms-content h6 {
    font-size: 22px;
    line-height: 24px;
    font-weight: 700;
    margin: 0.5rem 0 0.8rem 0;
    color: #454545;
}

@media (max-width: 1220px) {
    .inquiry-desc dt {
        font-size: 17px;
        padding: 1.3rem 0 1.3rem 13px;
    }

    .inquiry-desc dd {
        font-size: 17px;
        padding: 1.3rem 0 1.3rem 110px;
    }

    .inquiry-slogan {
        display: block;
    }

}

.en .modal-header .modal-title {
    font-size: 24px;
}
