@charset "utf-8";
/* ==========================================================================
 * contact-custom.css — お問い合わせページ固有（フォーム / 地図）
 * ========================================================================== */

.maeno-form {
    max-width: 820px;
    margin: 0 auto;
}
.maeno-form__row {
    display: flex;
    gap: 24px;
    padding: 22px 4px;
    border-bottom: 1px solid #e7eef5;
    align-items: flex-start;
}
.maeno-form__row:first-child {
    border-top: 1px solid #e7eef5;
}
.maeno-form__label {
    width: 32%;
    flex-shrink: 0;
    font-weight: 700;
    color: #004EA1;
    padding-top: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    line-height: 1.4;
}
.maeno-form__field {
    flex: 1;
    min-width: 0;
}
.maeno-form__req {
    font-size: 1.1rem;
    background: #004EA1;
    color: #fff;
    padding: 3px 11px;
    border-radius: 4px;
    font-weight: 600;
    letter-spacing: 0.04em;
    line-height: 1.3;
}
.maeno-form__req--any {
    background: #b7c4d2;
}
.maeno-form textarea.form-input {
    min-height: 170px;
    resize: vertical;
}
.maeno-form__file {
    background: #fff;
    padding: 10px 12px;
}
.maeno-form__note {
    font-size: 1.2rem;
    color: #777;
    margin-top: 8px;
    line-height: 1.6;
}
.maeno-form__checks {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 28px;
    padding-top: 8px;
}
.maeno-form__checks label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: 500;
}
.maeno-form__checks input {
    width: 18px;
    height: 18px;
    accent-color: #004EA1;
    flex-shrink: 0;
}
/* 送信ボタンを少し大きく */
.maeno-form .btn-submit {
    min-width: 280px;
    background: #004EA1;
    padding: 16px 40px;
    font-size: 1.6rem;
}
.maeno-form .btn-submit:hover {
    background: #00B3E8;
    opacity: 1;
}

/* --------------------------------------------------
 * ご案内（フォーム手前の案内文＋お悩み別の相談例カード）
 * -------------------------------------------------- */
/* ご案内セクション全体の背景（白に近いグレー） */
.maeno-contact-intro {
    background: #fafafa;
}
.maeno-contact-lead {
    text-align: center;
}
.maeno-contact-lead__main {
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1.6;
    color: #004EA1;
    letter-spacing: 0.03em;
    margin-bottom: 22px;
}
.maeno-contact-lead__sub {
    font-size: 1.5rem;
    line-height: 2;
    color: #333;
    text-align: left;
}
.maeno-contact-cases__title {
    display: inline-block;
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    background: #004EA1;
    padding: 9px 28px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 78, 161, 0.25);
}
.maeno-contact-cases {
    gap: 20px;
}
.maeno-contact-case {
    background: #fff;
    box-shadow: 0 6px 20px rgba(0, 78, 161, 0.10);
    padding: 32px 14px;
    text-align: center;
    border-radius: 18px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.maeno-contact-case:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(0, 78, 161, 0.18);
}
.maeno-contact-case .icon-circle {
    margin: 0 auto 16px;
    width: 78px;
    height: 78px;
    font-size: 2.6rem;
    color: #fff;
}
.maeno-contact-case:nth-child(1) .icon-circle { background: #00B3E8; }
.maeno-contact-case:nth-child(2) .icon-circle { background: #004EA1; }
.maeno-contact-case:nth-child(3) .icon-circle { background: #00B3E8; }
.maeno-contact-case:nth-child(4) .icon-circle { background: #004EA1; }
.maeno-contact-case p {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.6;
    color: #004EA1;
}
/* フォームへの誘導（下向き矢印） */
.maeno-contact-arrow {
    text-align: center;
    margin-top: 40px;
    color: #00B3E8;
    font-size: 3rem;
    line-height: 1;
}
.maeno-contact-arrow i {
    display: inline-block;
    animation: maenoArrowBounce 1.6s ease-in-out infinite;
}
@keyframes maenoArrowBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}
@media screen and (max-width: 1100px) {
    .maeno-contact-lead {
        padding: 32px 24px;
    }
    .maeno-contact-lead__main {
        font-size: 2rem;
    }
}

/* --------------------------------------------------
 * お電話でのお問い合わせ（参考画像レイアウト）
 * 枠の上辺に見出しが乗り、中央に電話アイコン＋大きな番号
 * ※ 角丸なしの方針に合わせて直角の枠
 * -------------------------------------------------- */
.maeno-telbnr {
    position: relative;
    max-width: 560px;
    margin: 0 auto;
    border: 3px solid #004EA1;
    padding: 30px 20px 24px;
    text-align: center;
}
.maeno-telbnr__ttl {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    line-height: 1;
}
.maeno-telbnr__ttl span {
    background: #fff;
    padding: 0 18px;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #333;
}
.maeno-telbnr__num {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-family: "Oswald", sans-serif;
    font-size: 4rem;
    font-weight: 700;
    color: #004EA1;
    line-height: 1.1;
    letter-spacing: 0.02em;
}
.maeno-telbnr__num i {
    font-size: 0.78em;
    color: #004EA1;
}
.maeno-telbnr__num:hover {
    opacity: 0.8;
}
.maeno-telbnr__hours {
    text-align: center;
    margin-top: 18px;
    color: #004EA1;
    font-weight: 500;
}

/* お問い合わせフォーム（CMS出力）の幅を縮小して中央寄せ */
#cms-contact-1-1-area {
    display: block;
    max-width: 760px;
    margin: 0 auto;
}

/* フォーム直下の注意書き（薄赤） */
.maeno-form-note {
    max-width: 760px;
    margin: 24px auto 0;
    background: #fdeaea;
    border: 1px solid #f1c4c4;
    padding: 18px 22px;
    font-size: 1.3rem;
    line-height: 1.9;
    color: #b3413e;
}

/* アクセスマップ */
.maeno-map {
    height: 440px;
}

@media screen and (max-width: 1100px) {
    .maeno-form__row {
        flex-direction: column;
        gap: 10px;
    }
    .maeno-form__label {
        width: 100%;
        padding-top: 0;
    }
    .maeno-map {
        height: 320px;
    }
}
