/*
 * SETTAR CONTACT PAGE
 * Contact固定ページ
 * v1
 */


/* =========================================================
   COMMON
========================================================= */

.settar-contact-page-hero,
.settar-contact-page-form {
    width: 100%;
    max-width: 1200px;

    margin-left: auto !important;
    margin-right: auto !important;

    margin-block-start: 0 !important;
    margin-block-end: 0 !important;
}


/* =========================================================
   PAGE HERO
========================================================= */

.settar-contact-page-hero {
    position: relative;

    padding:
        38px
        clamp(20px, 4vw, 48px)
        46px;
}


/* CONTACT */
.settar-contact-page-hero > p:first-child {
    margin: 0 0 16px !important;

    color: #3179c8;

    font-size: 13px;
    font-weight: 800;

    letter-spacing: .16em;
    text-transform: uppercase;
}


/* H1 */
.settar-contact-page-hero > h1 {
    max-width: 920px;

    margin: 0 0 22px !important;
    padding: 0 !important;

    background: none !important;

    border: 0 !important;
    box-shadow: none !important;

    color: #07172f;

    font-size: clamp(44px, 5.4vw, 72px);
    line-height: 1.13;

    font-weight: 800;
    letter-spacing: -.045em;
}

.settar-contact-page-hero > h1::before,
.settar-contact-page-hero > h1::after {
    content: none !important;
    display: none !important;
}


/* HERO DESCRIPTION */
.settar-contact-page-hero > h1 + p {
    max-width: 860px;

    margin: 0 !important;

    color: #5b6575;

    font-size: 17px;
    line-height: 1.9;
}


/* =========================================================
   FORM SECTION
========================================================= */

.settar-contact-page-form {
    position: relative;

    padding:
        clamp(58px, 6vw, 72px)
        clamp(20px, 4vw, 48px)
        clamp(80px, 8vw, 105px);

    border-top: 1px solid #e5eaf0;
}


/* H2 */
.settar-contact-page-form > h2 {
    max-width: 860px;

    margin: 0 0 20px !important;
    padding: 0 !important;

    background: none !important;

    border: 0 !important;
    box-shadow: none !important;

    color: #07172f;

    font-size: clamp(32px, 3.6vw, 48px);
    line-height: 1.2;

    font-weight: 800;
    letter-spacing: -.03em;
}

.settar-contact-page-form > h2::before,
.settar-contact-page-form > h2::after {
    content: none !important;
    display: none !important;
}


/* FORM INTRO */
.settar-contact-page-form > h2 + p {
    max-width: 760px;

    margin: 0 0 38px !important;

    color: #5b6575;

    font-size: 15px;
    line-height: 1.85;
}


/* =========================================================
   CF7 WRAPPER
========================================================= */

.settar-contact-page-form .wpcf7 {
    width: 100%;
    max-width: 860px;

    margin: 0 auto;
}


/* =========================================================
   FORM CARD
========================================================= */

.settar-contact-page-form .wpcf7-form {
    padding:
        clamp(28px, 4vw, 46px);

    border: 1px solid #e1e7ef;
    border-radius: 24px;

    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #fbfcfe 100%
        );

    box-shadow:
        0 14px 42px rgba(7, 23, 47, .06);
}


/* =========================================================
   LABEL
========================================================= */

.settar-contact-page-form .wpcf7-form label {
    display: block;

    margin: 0 0 26px;

    color: #07172f;

    font-size: 14px;
    font-weight: 700;

    line-height: 1.6;
}


/* =========================================================
   REQUIRED BADGE
========================================================= */

.settar-contact-page-form .required {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    margin-left: 8px;

    padding: 2px 7px;

    border-radius: 999px;

    background: rgba(49, 121, 200, .10);

    color: #245f9f;

    font-size: 11px;
    font-weight: 800;

    line-height: 1.4;
}


/* =========================================================
   INPUT BASE
========================================================= */

.settar-contact-page-form
.wpcf7-form-control-wrap {
    display: block;

    margin-top: 8px;
}


.settar-contact-page-form
input[type="text"],

.settar-contact-page-form
input[type="email"],

.settar-contact-page-form
input[type="tel"],

.settar-contact-page-form
select,

.settar-contact-page-form
textarea {
    width: 100% !important;

    margin: 0 !important;

    padding:
        13px
        15px !important;

    border: 1px solid #d7dee7 !important;
    border-radius: 12px !important;

    background: #ffffff !important;

    color: #07172f !important;

    font-family: inherit;
    font-size: 15px;
    line-height: 1.6;

    box-shadow: none !important;

    transition:
        border-color .20s ease,
        box-shadow .20s ease,
        background-color .20s ease;
}


/* =========================================================
   PLACEHOLDER
========================================================= */

.settar-contact-page-form
input::placeholder,

.settar-contact-page-form
textarea::placeholder {
    color: #9aa3af;

    opacity: 1;
}


/* =========================================================
   FOCUS
========================================================= */

.settar-contact-page-form
input[type="text"]:focus,

.settar-contact-page-form
input[type="email"]:focus,

.settar-contact-page-form
input[type="tel"]:focus,

.settar-contact-page-form
select:focus,

.settar-contact-page-form
textarea:focus {
    outline: none !important;

    border-color: #3179c8 !important;

    background: #ffffff !important;

    box-shadow:
        0 0 0 4px rgba(49, 121, 200, .09) !important;
}


/* =========================================================
   SELECT
========================================================= */

.settar-contact-page-form select {
    min-height: 50px;

    cursor: pointer;
}


/* =========================================================
   TEXTAREA
========================================================= */

.settar-contact-page-form textarea {
    min-height: 180px;

    resize: vertical;
}


/* =========================================================
   SUBMIT AREA
========================================================= */

.settar-contact-page-form
.wpcf7-form p:last-of-type {
    margin:
        8px
        0
        0 !important;
}


/* =========================================================
   SUBMIT BUTTON
========================================================= */

.settar-contact-page-form
input[type="submit"] {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 50px;

    padding:
        13px
        24px !important;

    border: 0 !important;
    border-radius: 999px !important;

    background: #07172f !important;
    color: #ffffff !important;

    box-shadow:
        0 8px 20px rgba(7, 23, 47, .14);

    font-family: inherit;

    font-size: 14px;
    font-weight: 800;

    line-height: 1;

    cursor: pointer;

    transition:
        transform .20s ease,
        background-color .20s ease,
        box-shadow .20s ease;
}


.settar-contact-page-form
input[type="submit"]:hover {
    transform: translateY(-2px);

    background: #0a2146 !important;

    box-shadow:
        0 12px 26px rgba(7, 23, 47, .18);
}


.settar-contact-page-form
input[type="submit"]:active {
    transform: translateY(0);

    background: #0d294f !important;
}


/* =========================================================
   SPINNER
========================================================= */

.settar-contact-page-form .wpcf7-spinner {
    margin:
        0
        0
        0
        12px;
}


/* =========================================================
   VALIDATION
========================================================= */

.settar-contact-page-form
.wpcf7-not-valid-tip {
    margin-top: 7px;

    color: #b54848;

    font-size: 12px;
    line-height: 1.6;
}


/* =========================================================
   RESPONSE MESSAGE
========================================================= */

.settar-contact-page-form
.wpcf7-response-output {
    margin:
        24px
        0
        0 !important;

    padding:
        14px
        16px !important;

    border: 1px solid #dfe6ee !important;
    border-radius: 12px;

    background: #f7f9fc;

    color: #465264;

    font-size: 13px;
    line-height: 1.75;
}


/* SUCCESS */
.settar-contact-page-form
.sent
.wpcf7-response-output {
    border-color: rgba(79, 141, 114, .30) !important;

    background: #f4faf6;

    color: #315b49;
}


/* ERROR */
.settar-contact-page-form
.invalid
.wpcf7-response-output,

.settar-contact-page-form
.failed
.wpcf7-response-output {
    border-color: rgba(181, 72, 72, .28) !important;

    background: #fff7f7;

    color: #8a3b3b;
}


/* =========================================================
   PRIVACY NOTE
========================================================= */

.settar-contact-page-form .settar-contact-privacy {
    margin:
        20px
        0
        0;

    color: #7b8492;

    font-size: 12px;
    line-height: 1.75;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    .settar-contact-page-hero {
        padding:
            30px
            18px
            38px;
    }

    .settar-contact-page-hero > h1 {
        font-size:
            clamp(38px, 11vw, 54px);
    }

    .settar-contact-page-hero > h1 + p {
        font-size: 16px;
    }


    .settar-contact-page-form {
        padding:
            48px
            18px
            72px;
    }

    .settar-contact-page-form > h2 {
        font-size:
            clamp(30px, 9vw, 42px);
    }

    .settar-contact-page-form > h2 + p {
        margin-bottom: 30px !important;

        font-size: 14px;
    }

    .settar-contact-page-form .wpcf7-form {
        padding:
            24px
            20px;

        border-radius: 20px;
    }

    .settar-contact-page-form
    .wpcf7-form label {
        margin-bottom: 22px;
    }

    .settar-contact-page-form
    input[type="text"],

    .settar-contact-page-form
    input[type="email"],

    .settar-contact-page-form
    input[type="tel"],

    .settar-contact-page-form
    select,

    .settar-contact-page-form
    textarea {
        font-size: 16px;
    }

    .settar-contact-page-form
    input[type="submit"] {
        width: 100%;

        min-height: 50px;
    }

    .settar-contact-page-form
    .wpcf7-spinner {
        display: block;

        margin:
            12px
            auto
            0;
    }
}