/* =====================================================
   フォーム全体レイアウト
   ===================================================== */
.contact-form-main .form-content {
    max-width: 900px;


    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 16px;

    box-shadow:
        0 8px 30px rgba(56, 81, 62, 0.08),
        0 2px 8px rgba(0,0,0,0.04);
}

        .form-title{
            font-size :1.2rem;
            font-weight:400;

        }

.sec-sato p {
     line-height: 1.4; 
}



/* --- 1. dt(左)とdd(右)を横並びにする --- */
.contact-form-main .form-content dl {
    display: flex !important;           /* 強制横並び */
    flex-wrap: wrap;                    /* 必要に応じて折り返し */
    border-bottom: 1px solid #ccc;      /* 既存の境界線 */
    margin: 0;
}

/* dt(項目名)の設定 */
.contact-form-main dl dt {
    width: 27% !important;              /* 幅を固定 */
    padding: 40px 30px !important;      /* 既存の余白 */
    flex-shrink: 0;                     /* 幅を縮めない */
}

/* dd(入力エリア)の設定 */
.contact-form-main dl dd {
    width: 73% !important;              /* 残りの幅 */
    display: flex !important;           /* flexを適用 */
    flex-wrap: wrap;
    align-items: center;                /* 縦方向中央揃え */
    padding: 30px !important;           /* 既存の余白 */
    margin: 0 !important;
    gap: 10px;                          /* 要素間の隙間 */
}

/* --- 2. 必須項目のデザイン復元 --- */
.contact-form-main .form-label.hissu {
    display: inline-block !important;   /* ラベルを消さない */
    background-color: #b3e4ae !important; /* 必須背景色 */
    padding: 2px 8px !important;
    border-radius: 3px !important;
    font-size: 13px !important;
    color: #000;                        /* 必要に応じて文字色 */
}

/* --- 3. 入力項目のスタイル調整 --- */
.contact-form-main .form-ipt {
    padding: 3px 20px !important;
    height: 40px !important;
    border: 1px solid #999999 !important;
    border-radius: 30px !important;     /* カッコいい丸い形状 */
    background: #fff !important;
    box-sizing: border-box;
 /*   flex: 1;   */                         /* 入力項目を適度な幅に */
}

/* --- 4. レスポンシブ対応 (スマホ用) --- */
@media screen and (max-width: 767px) {
    .contact-form-main .form-content dl {
        flex-direction: column !important; /* スマホでは縦並びに */
    }
    .contact-form-main dl dt,
    .contact-form-main dl dd {
        width: 100% !important;
        padding: 15px !important;
    }
}


/* メールアドレス入力欄専用の固定幅設定 */
.contact-form-main .email-input-wrap {
    display: flex !important;
    flex-wrap: wrap;
    gap: 20px; /* 左右の入力欄の間の隙間 */
    width: 100% !important;
}

/* 入力欄を正確に同じ幅にする指定 */
.contact-form-main .email-input-wrap .form-ipt {
    width: 280px !important; /* ここで具体的な幅を指定してください */
    flex: none !important;    /* 伸縮を無効化 */
    box-sizing: border-box;
}

/* 補足：全体の幅との兼ね合いで調整が必要な場合 */
@media screen and (max-width: 767px) {
    .contact-form-main .email-input-wrap .form-ipt {
        width: 100% !important; /* スマホでは全幅に */
    }
}



.inquiry-button-area {
    text-align: center;
    margin-top: 50px;
}

.inquiry-submit,
.inquiry-reset {

    min-width: 220px;
    height: 58px;

    border: none;
    border-radius: 999px;

    font-size: 1rem;
    letter-spacing: 0.12em;

    cursor: pointer;

    transition: all 0.35s ease;
}

/* 送信ボタン */
.inquiry-submit {

    background:
        linear-gradient(135deg, #607c68, #38513e);

    color: #fff;

    box-shadow:
        0 10px 25px rgba(56, 81, 62, 0.18);
}

.inquiry-submit:hover {

    transform: translateY(-3px);

    box-shadow:
        0 16px 35px rgba(56, 81, 62, 0.28);
}

/* リセット */
.inquiry-reset {

    background: #eceeea;
    color: #38513e;

    margin-left: 12px;
}

/* メッセージ */
.form-message {

    margin-top: 22px;

    font-size: 0.95rem;
    letter-spacing: 0.05em;
}

.form-message.is-success {
    color: #38513e;
}

.form-message.is-error {
    color: #c0392b;
}

/* スマホ */
@media screen and (max-width: 767px) {

    .inquiry-submit,
    .inquiry-reset {

        width: 100%;
        margin: 0 0 14px 0;
    }
}