/* 
---------------------------------------------
                  Sub0301
--------------------------------------------- 
*/

@import url("../components/modal.css");

/* cont1 */
.cont1 .visual {
    position: relative;
    border-radius: 56px;
    min-height: 728px;
    background: url("../../img/inquiry/inquire-cont-bg01.png") center/cover no-repeat;
    overflow: hidden;
}

.cont1 .cont-header {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 100%;
    text-align: right;
}

.cont1 .eyebrow {
    color: #64BDFA;
    font-size: var(--font-2xl);
    font-weight: 600;
    line-height: 1.6;
    letter-spacing: .02em;
}

.cont1 .headline {
    font-weight: 700;
    line-height: 1.5;
}

@media (max-width: 1440px) {
    .cont1 .visual {
        min-height: 640px;
        border-radius: 48px;
    }

    .cont1 .cont-header {
        padding: 48px 56px;
    }
}

@media (max-width: 1280px) {
    .cont1 .visual {
        min-height: 560px;
        border-radius: 42px;
    }

    .cont1 .eyebrow {
        font-size: var(--font-xl);
    }
}

@media (max-width: 1024px) {
    .cont1 .visual {
        min-height: 350px;
        border-radius: 36px;
    }

    .cont1 .cont-header {
        padding: 0 30px;
    }

    .cont1 .headline {
        white-space: pre-line;
    }
}

@media (max-width: 768px) {
    .cont1 .visual {
        background: url("../../img/inquiry/inquire-cont-bg03.png") center/cover no-repeat;
        padding: 50px 20px;
        min-height: auto;
        border-radius: 28px;
        background-position: center top;
    }

    .cont1 .cont-header {
        position: relative;
        padding: 0;
        gap: 5px;
        text-align: left;
    }

    .cont1 .eyebrow {
        font-size: var(--font-md);
        line-height: 1.5;
    }

    .cont1 .headline {
        white-space: normal;
        line-height: 1.4;
    }
}

@media (max-width: 480px) {
    .cont1 .visual {
        padding: 40px 20px;
        border-radius: 10px;
    }

    .cont1 .eyebrow {
        font-size: var(--font-xs);
    }
}

/* cont2 */
.cont2 {
    background: url("../../img/inquiry/inquire-cont-bg02.png") center/cover no-repeat;
}

.cont2 .cont-layout {
    gap: 110px;
}

.cont2 .left {
    flex: 1.1;
}

.cont2 .field {
    margin-bottom: 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cont2 .label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #6C6C6C;
    font-size: var(--font-lg);
    font-weight: 600;
    line-height: 1.4;
}

.cont2 .label i {
    font-size: 18px;
    color: var(--primary);
    width: 24px;
    text-align: center;
}

.cont2 .form .input {
    border-bottom: 1.2px solid #CACACA;
}

.cont2 .form .textarea {
    border: 1.2px solid #CACACA;
    border-radius: 12px;
}

.cont2 .form .input,
.cont2 .form .textarea {
    width: 100%;
    padding: 14px 16px;
    background: white;
    font-size: var(--font-base);
    line-height: 1.5;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.cont2 .form .input::placeholder,
.cont2 .form .textarea::placeholder {
    color: #A4A4A4;
    font-weight: 600;
}

.cont2 .form .input:focus,
.cont2 .form .textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.cont2 .form .textarea {
    resize: vertical;
    min-height: 190px;
}

.cont2 .form-check {
    margin-top: 50px;
    font-size: var(--font-base);
}

.form-check input[type="checkbox"] {
    margin-right: 8px;
}

input[type="checkbox"] {
    padding: 0;
    display: inline-block;
    position: relative;
    appearance: none;
    width: 24px;
    height: 24px;
    background-color: white;
    border: 1px solid #D0D7DE;
    border-radius: 8px;
    cursor: pointer;
    vertical-align: middle;
    transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease, transform .06s ease;
}

input[type="checkbox"]:hover {
    border-color: color-mix(in oklab, var(--primary) 70%, #D0D7DE);
    box-shadow: 0 0 0 4px color-mix(in oklab, var(--primary) 10%, transparent);
}

input[type="checkbox"]:checked {
    background-color: var(--primary);
    border: none;
}

input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    top: 40%;
    left: 50%;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    transform: translate(-50%, -50%) rotate(45deg);
}

input[type="checkbox"]:focus {
    outline: none;
    box-shadow: none;
}

.policy {
    cursor: pointer;
}

.policy-link {
    padding-right: 2px;
    color: #24292F;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 5px;
    transition: color .18s ease;
}

.policy-link:hover {
    color: #25354C;
}

.field-error {
    color: var(--primary);
    font-size: 13px;
}

.form-check .field-error {
    margin-top: 8px;
}

.input.is-invalid,
.textarea.is-invalid {
    border-color: var(--primary) !important;
}

.btn-solid.is-loading {
    opacity: .7;
    pointer-events: none;
}

.cont2 .btn-wrapper {
    margin-top: 50px;
    display: flex;
    justify-content: center;
}

.cont2 .right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
}

.cont2 .cont-header {
    text-align: right;
}

.cont2 .headline {
    color: var(--primary);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -.01em;
}

.cont2 .desc {
    color: #777;
    font-size: var(--font-base);
    font-weight: 300;
    line-height: 1.6;
}

.cont2 .bubble {
    position: relative;
    width: 395px;
    max-width: 100%;
    padding: 85px 40px 40px 82px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: var(--bubble-bg, url('../../img/inquiry/bubble-bg.png')) center/cover no-repeat;
    color: white;
    aspect-ratio: 1 / 1;
}

.cont2 .bubble .title {
    font-size: var(--font-2xl);
    font-weight: 700;
    line-height: 1.5;
}

.cont2 .bubble .list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cont2 .bubble .row {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cont2 .bubble dt {
    font-size: var(--font-base);
    font-weight: 500;
}

.cont2 .bubble dd {
    font-size: var(--font-md);
    font-weight: 300;
}

@media (max-width:1440px) {
    .cont2 .cont-layout {
        gap: 80px;
    }

    .cont2 .bubble {
        padding: 72px 34px 34px 72px;
        width: 360px;
    }

    .cont2 .label {
        font-size: var(--font-md);
    }

    .cont2 .label i {
        font-size: 16px;
        width: 22px;
    }
}

@media (max-width:1280px) {
    .cont2 .cont-layout {
        gap: 60px;
    }

    .cont2 .left {
        flex: 1;
    }

    .cont2 .bubble {
        width: 340px;
        padding: 64px 30px 30px 60px;
    }

    .cont2 .headline {
        font-size: 42px;
    }

    .cont2 .form .input {
        padding: 11px 10px;
    }
}

@media (max-width:1024px) {
    .cont2 .cont-layout {
        gap: 20px;
    }
}

@media (max-width:768px) {
    .cont2 .cont-layout {
        display: flex;
        flex-direction: column;
        gap: 32px;
    }

    .cont2 .right {
        display: contents;
    }

    .cont2 .right .cont-header {
        order: 0;
        text-align: left;
    }

    .cont2 .left {
        order: 1;
    }

    .cont2 .right .bubble {
        order: 2;
        width: 320px;
        align-self: end;
        background-size: cover;
    }

    .cont2 .headline {
        font-size: 28px;
        line-height: 1.35;
    }

    .cont2 .label i {
        font-size: 15px;
        width: 20px;
    }

    .cont2 .bubble .title {
        font-size: var(--font-lg);
    }

    .cont2 .bubble dd {
        font-size: var(--font-base);
    }
}

@media (max-width:480px) {
    .cont2 .cont-layout {
        gap: 24px;
    }

    .cont2 .right .bubble {
        width: 250px;
        padding: 45px 55px 20px 55px;
        border-radius: 18px;
    }

    .cont2 .field {
        margin-bottom: 16px;
    }

    .cont2 .form .textarea {
        min-height: 160px;
    }

    .cont2 .btn-wrapper {
        margin-top: 32px;
    }

    .cont2 .bubble .title {
        font-size: var(--font-md);
    }

    .cont2 .bubble .row {
        flex-direction: row;
        gap: 5px;
    }
}