@charset "UTF-8";

/* --- Contact Page --- */
#contact-main {
    width: 100%;
}

/* Breadcrumb */
.contact-breadcrumb {
    max-width: 1000px;
    margin: 20px auto;
    padding: 0 20px;
    font-size: 14px;
    color: #333;
}

/* Title Section */
.contact-title-section {
    text-align: center;
    padding: 40px 20px 20px;
    background-color: #fff;
    border-bottom: 4px solid #00A968;
}

.contact-title-section h1 {
    font-size: 36px;
    font-weight: bold;
    color: #333;
    margin: 0;
}

/* --- Contact Intro Section --- */
.contact-intro-section {
    background-color: #fff;
    padding: 40px 20px;
}

.contact-intro-inner {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-intro-text {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

/* --- Contact Info Section --- */
.contact-info-section {
    background-color: #f5f5f5;
    padding: 40px 20px;
}

.contact-info-inner {
    max-width: 900px;
    margin: 0 auto;
}

.contact-info-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.contact-info-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 40px 60px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 25px;
}

.contact-info-icon {
    width: 60px;
    height: 60px;
    background-color: #00A968;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-icon i {
    font-size: 24px;
    color: #fff;
}

.contact-info-content {
    flex: 1;
}

.contact-info-label {
    font-size: 14px;
    color: #666;
    margin: 0 0 5px;
}

.contact-info-value {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin: 0 0 5px;
    white-space: nowrap;
}

.contact-info-note {
    font-size: 13px;
    color: #888;
    margin: 0;
}

.contact-info-value a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info-value a:hover {
    color: #00A968;
}

/* --- Contact Form Section --- */
.contact-form-section {
    background-color: #fff;
    padding: 60px 20px 80px;
}

.contact-form-inner {
    max-width: 800px;
    margin: 0 auto;
}

.contact-form-title {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    text-align: center;
    margin: 0 0 10px;
    padding-bottom: 15px;
    border-bottom: 3px solid #00A968;
}

.contact-form-required-note {
    text-align: right;
    font-size: 14px;
    color: #666;
    margin: 15px 0 30px;
}

.required-mark {
    color: #e53935;
    font-weight: bold;
}

.contact-form-wrapper {
    background-color: #fafafa;
    border-radius: 12px;
    padding: 40px;
}

/* --- Contact Form 7 Styles --- */
.wpcf7-form {
    width: 100%;
}

.wpcf7-form p {
    margin-bottom: 25px;
}

.wpcf7-form label {
    display: block;
    font-size: 15px;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
}

.wpcf7-form-control-wrap {
    display: block;
}

/* --- Contact Table --- */
.contact-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

.contact-table tr {
    border-bottom: 1px solid #e0e0e0;
}

.contact-table th,
.contact-table td {
    padding: 20px 15px;
    text-align: left;
    vertical-align: top;
}

.contact-table th {
    width: 200px;
    font-size: 15px;
    font-weight: bold;
    color: #333;
    background-color: #f9f9f9;
}

.contact-table th p {
    display: inline;
    margin: 0;
}

.contact-table th.required p::after {
    content: "*";
    color: #e53935;
    font-weight: bold;
    margin-left: 5px;
}

.contact-table td {
    background-color: #fff;
}

/* --- Privacy Section --- */
#privacy {
    margin: 30px 0;
    padding: 25px;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}

#privacy p {
    font-size: 14px;
    line-height: 1.8;
    color: #555;
    margin: 0 0 20px;
}

#privacy a {
    color: #00A968;
    text-decoration: underline;
}

#privacy a:hover {
    text-decoration: none;
}

#privacy .wpcf7-acceptance {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

#privacy .wpcf7-acceptance input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

#privacy .wpcf7-list-item-label {
    font-size: 15px;
    font-weight: bold;
    color: #333;
}

/* --- Submit Section --- */
#submit {
    text-align: center;
    margin-top: 20px;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea,
.wpcf7-form select {
    width: 100%;
    padding: 12px 15px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background-color: #fff;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form textarea:focus,
.wpcf7-form select:focus {
    outline: none;
    border-color: #00A968;
    box-shadow: 0 0 0 3px rgba(0, 169, 104, 0.1);
}

.wpcf7-form textarea {
    min-height: 150px;
    resize: vertical;
}

.wpcf7-form select {
    cursor: pointer;
}

/* Submit Button */
.wpcf7-form input[type="submit"] {
    display: block;
    width: 100%;
    max-width: 300px;
    margin: 30px auto 0;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    background-color: #00A968;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.wpcf7-form input[type="submit"]:hover {
    background-color: #008c56;
    transform: translateY(-2px);
}

/* Validation Messages */
.wpcf7-not-valid-tip {
    color: #e53935;
    font-size: 13px;
    margin-top: 5px;
}

.wpcf7-response-output {
    margin: 20px 0 0;
    padding: 15px;
    border-radius: 6px;
    text-align: center;
}

.wpcf7-mail-sent-ok {
    background-color: #e8f5e9;
    border: 1px solid #4caf50;
    color: #2e7d32;
}

.wpcf7-validation-errors,
.wpcf7-acceptance-missing {
    background-color: #ffebee;
    border: 1px solid #e53935;
    color: #c62828;
}

/* Checkbox & Radio */
.wpcf7-form .wpcf7-checkbox,
.wpcf7-form .wpcf7-radio {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.wpcf7-form .wpcf7-list-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.wpcf7-form .wpcf7-list-item input {
    width: auto;
}

/* --- Responsive - Tablet --- */
@media screen and (min-width: 768px) and (max-width: 1023px) {
    .contact-title-section h1 {
        font-size: 32px;
    }

    .contact-info-value {
        font-size: 24px;
    }
}

/* --- Responsive - SP --- */
@media screen and (max-width: 767px) {
    .contact-title-section {
        padding: 30px 15px 15px;
    }

    .contact-title-section h1 {
        font-size: 26px;
    }

    .contact-breadcrumb {
        padding: 0 15px;
        font-size: 12px;
    }

    .contact-intro-section {
        padding: 30px 15px;
    }

    .contact-intro-text {
        font-size: 14px;
    }

    .contact-info-section {
        padding: 30px 15px;
    }

    .contact-info-grid {
        flex-direction: column;
        align-items: center;
    }

    .contact-info-card {
        padding: 25px 30px;
        width: 100%;
        max-width: 320px;
    }

    .contact-info-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .contact-info-value {
        font-size: 18px;
        white-space: nowrap;
    }

    .contact-form-section {
        padding: 40px 15px 60px;
    }

    .contact-form-title {
        font-size: 20px;
    }

    .contact-form-wrapper {
        padding: 25px 15px;
    }

    /* Contact Table SP */
    .contact-table,
    .contact-table tbody,
    .contact-table tr,
    .contact-table th,
    .contact-table td {
        display: block;
        width: 100%;
    }

    .contact-table tr {
        margin-bottom: 0;
    }

    .contact-table th {
        padding: 15px 15px 8px;
        border-bottom: none;
        display: block;
    }

    .contact-table td {
        padding: 8px 15px 15px;
    }

    #privacy {
        padding: 20px 15px;
    }

    #privacy p {
        font-size: 13px;
    }

    .wpcf7-form input[type="submit"] {
        max-width: 100%;
    }
}