/* ===================================== */
/* 📌 1. ページ共通スタイル */
/* ===================================== */

/* ページタイトル (contact.html の h1) */
.page-title-hero h1 {
    font-size: 2.5em; /* チーム紹介ページと同じサイズ */
    color: var(--main-color); /* チーム紹介ページと同じメインカラー */
    text-align: center; /* 中央寄せ */
    padding: 20px 0; /* 上下の余白 */
}

/* フォーム全体への導入文 */
.form-intro {
    text-align: center; /* 文字を中央寄せにする */
    max-width: 800px;
    margin: 0 auto 40px auto;
    font-size: 1.05em;
    line-height: 1.8;
}

/* ===================================== */
/* 📌 2. Googleフォーム (埋め込み) */
/* ===================================== */

/* Googleフォームコンテナの調整 */
.google-form-container {
    max-width: 800px; /* フォームの最大幅を設定 */
    margin: 0 auto;
    /* フォームに影をつけて、埋め込み感を出す */
    border: 1px solid #ddd;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden; /* 角丸を適用 */
}
/* iframe自体が親要素のサイズに合わせる */
.google-form-container iframe {
    display: block;
}

/* ===================================== */
/* 📌 3. その他の連絡手段 (カード) */
/* ===================================== */

.contact-methods {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
}
.method-card {
    text-align: center;
    padding: 30px;
    background-color: #fff;
    border-radius: 8px;
    flex: 1;
    max-width: 300px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}
.method-card i:not(.contact-link i) {
    font-size: 3em;
    color: var(--accent-color);
    margin-bottom: 15px;
}
.method-card h3 {
    font-size: 1.4em;
    color: var(--main-color);
    margin-bottom: 10px;
}
.method-card p {
    font-size: 1.05em;
    color: #555;
    margin-bottom: 20px;
}
.contact-link {
    display: inline-block;
    font-weight: bold;
    color: var(--accent-color);
    border-bottom: 2px solid var(--main-color);
    padding-bottom: 2px;
}
.contact-link i {
    margin-right: 5px;
    font-size: 1.1em;
}

/* ===================================== */
/* 📌 4. レスポンシブ対応 (MAX-WIDTH: 768PX) */
/* ===================================== */
@media (max-width: 768px) {
    /* フォームのコンテナ（モバイルでの左右余白調整） */
    .google-form-container {
        border-radius: 0;
        box-shadow: none;
        border: none;
    }
    /* 連絡手段のカードを縦並びに */
    .contact-methods {
        flex-direction: column;
        gap: 20px;
        margin: 40px 15px 0 15px; /* 左右に余白を設定 */
    }
    .method-card {
        max-width: none;
        width: 100%;
    }
}