@charset "utf-8";

/* ============================================================
   お問い合わせページ：タイトル・厚み・余白 完全統合版
   ============================================================ */

/* 1. ページ全体のベース */
.contact-section {
    background-color: #fcfaf5 !important;
    padding: 180px 0 100px;
    font-family: 'Zen Maru Gothic', sans-serif !important;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 2. 💡 セクションタイトル（距離と厚みをミリ単位で修正） */
.section-title {
    text-align: center;
    margin-bottom: 60px; /* 下のフォームとの距離 */
    display: block !important; /* flexによる自動余白を解除 */
}

.section-title .title-inner {
    display: inline-flex;
    align-items: center; 
    justify-content: center;
    gap: 20px;
    font-size: 28px;
    font-weight: 900 !important; /* 最大の厚み */
    color: #4a3728;
    line-height: 1; /* 文字上下の隙間をカット */
    margin: 0;
}

/* 左右の緑の棒 */
.section-title .title-inner::before,
.section-title .title-inner::after {
    content: "";
    flex-shrink: 0;
    width: 6px;
    height: 32px; 
    background-color: #08A66C;
    border-radius: 10px;
}

/* 下の英語（Contact）日本語にグッと近づける */
.section-title span:not(.title-inner) {
    display: block;
    font-size: 14px;
    color: #08A66C;
    font-weight: 900 !important; /* 厚みを揃える */
    letter-spacing: 0.2em;
    line-height: 1;
    margin-top: 10px !important; /* 画像のバラバラ感を解消する絶妙な距離 */
}

/* 3. フォームコンテナ（厚みのあるデザイン） */
.contact-form-wrapper {
    max-width: 650px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 60px;
    border-radius: 30px;
    box-shadow: 0 15px 35px rgba(93, 64, 55, 0.05);
    border: 2px solid #fff;
}

/* 各項目の厚み調整 */
.form-group {
    margin-bottom: 30px;
    text-align: left;
}

.form-label {
    display: inline-block;
    font-weight: 900 !important;
    color: #4a3728;
    font-size: 17px;
    margin-bottom: 10px;
}

.form-input, .form-textarea {
    display: block !important;
    width: 100% !important;
    padding: 18px !important;
    border: 2px solid #f0f0f0 !important;
    border-radius: 15px !important;
    background-color: #fafafa !important;
    font-family: inherit;
    font-weight: 700 !important; /* 入力文字の厚み */
    box-sizing: border-box;
}

/* 4. 送信ボタンエリア（くっつき解消！） */
.form-submit-container {
    text-align: center;
    /* 上の入力欄としっかり距離（60px）を取る */
    margin-top: 60px !important; 
}

.submit-button {
    background-color: #08A66C !important;
    color: #fff !important;
    padding: 20px 80px !important;
    border-radius: 50px !important;
    font-weight: 900 !important;
    font-size: 18px !important;
    border: none !important;
    cursor: pointer !important;
    box-shadow: 0 10px 25px rgba(8, 166, 108, 0.3);
    transition: 0.3s;
    min-width: 280px; /* ボタンにどっしりした安定感 */
}

.submit-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(8, 166, 108, 0.4);
}

/* 5. スマホ対応 */
@media screen and (max-width: 768px) {
    .contact-section { padding-top: 120px; }
    .contact-form-wrapper { padding: 40px 20px; margin: 0 15px; }
    
    .section-title .title-inner { font-size: 22px; gap: 15px; }
    .section-title span:not(.title-inner) { 
        font-size: 12px; 
        margin-top: 8px !important; 
    }
    
    .form-submit-container {
        margin-top: 40px !important;
    }
    
    .submit-button { 
        width: 100%; 
        min-width: auto; 
        padding: 18px !important; 
    }
}