@charset "UTF-8";
/************************************
component
************************************/
/* --- ベーススタイル --- */

.section_container {
    padding: 80px 0;
}

.section_ttl {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
}

.section_ttl::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #78B541; /* 安心感のあるグリーン */
}

/* --- メインビジュアル --- */
.main_vis {
    height: 70vh;
    min-height: 400px;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), 
                url('../img/main-bg.png') center/cover no-repeat; /* 背景画像を適宜設定 */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
}

.main_vis h2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
    letter-spacing: 0.1em;
}

/* --- 会社概要 (テーブル) --- */
.profile_table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.profile_table th, 
.profile_table td {
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.profile_table th {
    width: 30%;
    text-align: left;
    background-color: #f9f9f9;
    font-weight: 700;
}

.profile_table td li {
    margin-bottom: 5px;
}

/* --- お問い合わせ --- */
#contact {
    background-color: #f4f8f0; /* 薄いグリーンの背景で安心感を演出 */
    text-align: center;
}

.contact_msg {
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.contact_btn a {
    display: inline-block;
    background-color: #F39800; /* 行動を促すアクセントカラーのオレンジ */
    color: #fff;
    padding: 20px 60px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(243, 152, 0, 0.3);
    transition: all 0.3s ease;
}

.contact_btn a:hover {
    background-color: #e68f00;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(243, 152, 0, 0.4);
}


/* --- お問い合わせページ全体 --- */
#form {
    background-color: #f9f9f9;
    padding-bottom: 100px;
}

.page_ttl {
    background-color: #78B541; /* トップページのテーマカラーと統一 */
    color: #fff;
    text-align: center;
    padding: 60px 20px;
    margin-bottom: 60px;
}

.page_ttl h1 {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.page_content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact_text-top {
    text-align: center;
    margin-bottom: 40px;
}

/* --- フォームレイアウト --- */
.form__list {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 25px;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 25px;
}

.form__term {
    width: 30%;
    font-weight: 700;
    display: flex;
    align-items: center;
}

.form__description {
    width: 70%;
    margin: 0;
}

/* 必須・任意ラベル */
.form__req, .form__any {
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 3px;
    margin-left: 10px;
    color: #fff;
}

.form__req {
    background-color: #e63946; /* 必須：赤 */
}

.form__any {
    background-color: #999; /* 任意：グレー */
}

/* --- 入力フィールド --- */
/* CF7が生成するspan(wpcf7-form-control-wrap)への対策 */
.wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

.form__description input[type="text"],
.form__description input[type="email"],
.form__description input[type="tel"],
.form__description textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #fff;
    box-sizing: border-box;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form__description textarea {
    height: 180px;
}

.form__description input:focus,
.form__description textarea:focus {
    border-color: #78B541;
    outline: none;
    box-shadow: 0 0 5px rgba(120, 181, 65, 0.2);
}

/* --- 送信ボタン --- */
.action {
    text-align: center;
    margin-top: 40px;
}

.wpcf7-submit {
    display: inline-block;
    background-color: #F39800; /* トップページのボタンと統一 */
    color: #fff;
    padding: 20px 80px;
    border-radius: 50px;
    border: none;
    font-weight: 700;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(243, 152, 0, 0.3);
    transition: all 0.3s ease;
}

.wpcf7-submit:hover {
    background-color: #e68f00;
    transform: translateY(-2px);
}

/* --- 個人情報保護方針テキスト --- */
.contact_text {
    margin-top: 40px;
    padding: 20px;
    background-color: #eee;
    font-size: 0.9rem;
    border-radius: 5px;
    line-height: 1.6;
}

.contact_text a {
    color: #78B541;
    text-decoration: underline;
}

/* --- レスポンシブ (スマホ対応) --- */
@media (max-width: 768px) {
    
}

/* --- レスポンシブ (スマホ対応) --- */
@media (max-width: 768px) {
    .main_vis h2 {
        font-size: 1.5rem;
        padding: 0 20px;
    }

    .section_container {
        padding: 50px 0;
    }

    .profile_table th, 
    .profile_table td {
        display: block;
        width: 100%;
    }

    .profile_table th {
        background-color: transparent;
        padding-bottom: 0;
        color: #78B541;
    }
    
    .contact_btn a {
        padding: 15px 40px;
        width: 100%;
        box-sizing: border-box;
    }


    /* --- お問い合わせページ --- */
    .form__term, .form__description {
        width: 100%;
    }

    .form__term {
        margin-bottom: 10px;
    }

    .page_ttl {
        padding: 40px 20px;
    }

    .wpcf7-submit {
        width: 100%;
        padding: 15px 20px;
    }

}