/*--------------------------------------------------
cntact page
--------------------------------------------------*/
.contact-section {
    padding: 80px 0;
    background-color: #fff;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 4%;
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

@media screen and (max-width: 991px) {
    .contact-container {
        flex-direction: column;
        gap: 60px;
    }
}

/* 左カラム */
.contact-info-col {
    flex: 1;
    max-width: 450px;
}

.contact-lead {
    font-size: 16px;
    line-height: 2;
    color: #1a1a1a;
    margin-bottom: 40px;
}

.contact-tel-box .tel-title {
    font-size: 20px;
    font-weight: bold;
    color: #144a9e;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.contact-tel-box .tel-number {
    font-size: 45px;
    font-weight: 600;
    line-height: 1.2em;
    letter-spacing: .1em;
}

.contact-tel-box .tel-number a {
    color: #144a9e;
    text-decoration: none;
    font-family: "Montserrat", sans-serif;
    font-weight: bold;
}

.contact-tel-box .tel-number a:hover {
    text-decoration: none;
    opacity: 0.8;
}

.contact-form-col {
    flex: 1;
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 60px 40px;
}

@media screen and (max-width: 575px) {
    .contact-form-col {
        padding: 20px;
    }

    .contact-tel-box .tel-number {
        font-size: 35px;
    }
}

/*--------------------------------------------------
  Contact Form 7 
--------------------------------------------------*/
.contact-form-table {
    margin-bottom: 30px;
}

.form-row {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #e9ecef;
    padding: 20px 0;
}

.form-row:first-child {
    padding-top: 0;
}

.form-row.valign-top {
    align-items: flex-start;
}

@media screen and (max-width: 767px) {
    .form-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}


.form-label {
    width: 30%;
    font-weight: 600;
    font-size: 16px;
}

.form-label .required {
    color: #dd3333;
    margin-left: 4px;
}

.form-field {
    width: calc(100% - 180px);
}

@media screen and (max-width: 767px) {
    .form-field {
        width: 100%;
    }

    .form-label {
        width: 100%;
    }
}

.contact-form-col input[type="text"],
.contact-form-col input[type="email"],
.contact-form-col input[type="tel"],
.contact-form-col textarea {
    width: 100%;
    padding: 12px 15px;
    background-color: #fff;
    border: 1px solid #cccccc;
    border-radius: 4px;
    font-size: 15px;
    color: #333;
    transition: border-color 0.3s;
}

.contact-form-col input:focus,
.contact-form-col textarea:focus {
    border-color: var(--cl-secondary);
    outline: none;
}

.contact-form-col textarea {
    height: 150px;
}


.form-acceptance-wrapper {
    margin-bottom: 40px;
}

.acceptance-checkbox {
    font-weight: 600;
    font-size: 16px;
    margin: 0 0 10px;
}

.acceptance-checkbox .required {
    color: #dd3333;
    margin-left: 4px;
}

.acceptance-desc {
    font-size: 16px;
    line-height: 2em;
    padding: 0 0 0 20px;
    font-weight: 400;
}

.form-submit-wrapper {
    margin-top: 30px;
}

.contact-form-col input[type="submit"] {
    display: inline-block;
    width: 100%;
    max-width: 300px;
    height: 68px;
    padding: 0 70px 0 40px;
    background-color: transparent;
    font-size: 18px;
    font-weight: bold;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-sizing: border-box;
    text-align: left;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 44' fill='none' stroke='%2300c0ff' stroke-width='1.2'><circle cx='22' cy='22' r='21'/><path d='M16 22h11M23 18l4 4-4 4' stroke-linecap='round' stroke-linejoin='round'/></svg>");
    background-repeat: no-repeat;
    background-position: calc(100% - 15px) center;
    background-size: 44px 44px;
    border: 1px solid #36ccfe;
    color: #36ccfe;
}

.contact-form-col input[type="submit"]:hover {
    background-color: #fff;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 44' fill='none' stroke='%2300c0ff' stroke-width='1.2'><circle cx='22' cy='22' r='21'/><path d='M16 22h11M23 18l4 4-4 4' stroke-linecap='round' stroke-linejoin='round'/></svg>");
}

.wpcf7-not-valid-tip {
    color: #dd3333;
    font-size: 13px;
    margin-top: 5px;
}

.wpcf7-response-output {
    margin: 20px 0 0 0 !important;
    padding: 15px !important;
    border-radius: 6px;
    font-size: 14px;
}

@media screen and (max-width: 767px) {
    .acceptance-checkbox {
        font-size: 14px;
    }

    .acceptance-checkbox .wpcf7-list-item {
        margin: 0 0;
    }

    .acceptance-checkbox .wpcf7-list-item input {
        position: relative;
        top: -2px;
    }

    .acceptance-desc {
        font-size: 14px;
        text-align: justify;
        padding: 0 0;
    }

    .contact-form-col input[type="submit"] {
        font-size: 16px;
        padding-left: 20px;
    }
}
