@charset "utf-8";
/* -----------------------------
	Contact Page
-------------------------------- */

/* page-title */
#contact-page .page-title-area::after {
    background: linear-gradient(135deg, #1a5c1a, #339933);
}

/* intro */
.contact-intro {
    padding: 60px 0 0;
    text-align: center;
}
.contact-intro .intro-txt {
    font-size: 1.6rem;
    line-height: 2.0;
    color: var(--darkgray);
    margin-bottom: 15px;
}
.contact-intro .required-note {
    font-size: 1.4rem;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* required badge */
.req-badge {
    display: inline-block;
    background: #e53935;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    padding: 2px 10px;
    border-radius: 3px;
    line-height: 1.6;
    letter-spacing: .05em;
}

/* form area */
.contact-form-area {
    padding: 50px 0 80px;
}
.contact-form-area .inner {
    max-width: 900px;
}

/* form table */
.form-table {
    width: 100%;
    border-collapse: collapse;
}
.form-table tr {
    border-bottom: 1px solid #e0e0e0;
}
.form-table tr:first-child {
    border-top: 1px solid #e0e0e0;
}
.form-table th {
    width: 260px;
    padding: 25px 20px;
    text-align: left;
    vertical-align: middle;
    font-size: 1.5rem;
    font-weight: 500;
    color: #333;
    background: var(--rightblue);
}
.form-table th label {
    margin-right: 10px;
}
.form-table td {
    padding: 25px 20px;
}
.form-table input[type="text"],
.form-table input[type="tel"],
.form-table input[type="email"],
.form-table select,
.form-table textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1.5rem;
    font-family: inherit;
    background: #fff;
    transition: border-color .3s;
    appearance: none;
    -webkit-appearance: none;
}
.form-table input:focus,
.form-table select:focus,
.form-table textarea:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(51, 153, 51, .15);
}
.form-table input.input-short {
    max-width: 200px;
}
.form-table select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
    cursor: pointer;
}
.form-table textarea {
    resize: vertical;
    line-height: 1.8;
}

/* placeholder */
.form-table input::placeholder,
.form-table textarea::placeholder {
    color: #aaa;
}

/* privacy check */
.privacy-check {
    text-align: center;
    margin: 40px 0;
    font-size: 1.5rem;
}
.privacy-check label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}
.privacy-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--blue);
    cursor: pointer;
}
.privacy-check a {
    color: var(--blue);
    text-decoration: underline;
}

/* submit */
.form-submit {
    text-align: center;
}
.submit-btn {
    display: inline-block;
    background: linear-gradient(135deg, #1a5c1a, #339933);
    color: #fff;
    border: none;
    padding: 20px 80px;
    border-radius: 50px;
    font-size: 1.8rem;
    font-weight: 600;
    font-family: inherit;
    letter-spacing: .1em;
    cursor: pointer;
    transition: .3s;
}
.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(26, 92, 26, .3);
}

/* tel area */
.contact-tel-area {
    padding: 60px 0;
    background: var(--rightblue);
    text-align: center;
}
.contact-tel-area .tel-lead {
    font-size: 1.6rem;
    color: var(--darkgray);
    margin-bottom: 15px;
}
.contact-tel-area .tel-number {
    font-size: 3.6rem;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: .05em;
}
.contact-tel-area .tel-number i {
    margin-right: 10px;
    font-size: 3.0rem;
}
.contact-tel-area .tel-number a {
    color: var(--navy);
    text-decoration: none;
}
.contact-tel-area .tel-time {
    font-size: 1.4rem;
    color: #666;
    margin-top: 10px;
}

/* -----------------------------
	SP
-------------------------------- */
@media screen and (max-width: 768px) {
    .contact-intro {
        padding: 30px 20px 0;
    }
    .contact-intro .intro-txt {
        text-align: left;
        font-size: 1.4rem;
    }
    .contact-form-area {
        padding: 30px 0 50px;
    }
    .contact-form-area .inner {
        padding: 0 15px;
    }
    .form-table,
    .form-table tbody,
    .form-table tr,
    .form-table th,
    .form-table td {
        display: block;
        width: 100%;
    }
    .form-table tr {
        border-bottom: none;
        padding: 15px 0;
    }
    .form-table tr:first-child {
        border-top: none;
    }
    .form-table th {
        background: transparent;
        padding: 0 0 8px;
        font-size: 1.4rem;
    }
    .form-table td {
        padding: 0;
    }
    .form-table input.input-short {
        max-width: 100%;
    }
    .privacy-check {
        margin: 30px 0;
        font-size: 1.4rem;
    }
    .submit-btn {
        width: 100%;
        max-width: 300px;
        padding: 18px 40px;
        font-size: 1.6rem;
    }
    .contact-tel-area {
        padding: 40px 20px;
    }
    .contact-tel-area .tel-number {
        font-size: 2.8rem;
    }
    .contact-tel-area .tel-number i {
        font-size: 2.2rem;
    }
}
