/* サイト全体の基本設定 */
body {
    font-family: 'Segoe UI', Tahoma, Arial, sans-serif;
    background-color: #f8f9fa;
    color: #3c4043;
    margin: 0;
    padding: 20px;
}

.container {
    max-width: 700px;
    margin: 40px auto;
    background: #ffffff;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #dadce0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

h2 {
    color: #202124;
    border-bottom: 1px solid #dadce0;
    padding-bottom: 15px;
    margin-bottom: 30px;
    font-weight: 500;
}

/* フォームグループの基本設定 */
.form-group {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

/* 姓と名を横並びにする親要素 */
.form-group-row {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

/* 姓と名の各要素 */
.form-group-half {
    display: flex;
    align-items: center;
    flex: 1; /* 均等に分割 */
}

/* ラベル共通設定 */
label {
    width: 180px;
    font-weight: 500;
    color: #5f6368;
    flex-shrink: 0;
}

/* 姓・名専用のラベル設定 */
.form-group-half label {
    width: 30px;
}

/* 入力欄の共通設定（サイズを全て統一） */
input[type="text"],
input[type="email"],
select {
    width: 100%;
    padding: 10px;
    border: 1px solid #dadce0;
    border-radius: 4px;
    box-sizing: border-box;
}

/* 会員種別の調整 */
.checkbox-group {
    display: flex;
    gap: 15px;
    align-items: center;
}

/* --- 同意エリアのスタイル --- */
.consent-box {
    background: #f1f3f4;
    padding: 20px;
    border-radius: 4px;
    margin-top: 30px;
    margin-bottom: 30px;
    border: 1px solid #dadce0;
    text-align: left; /* 基本は左寄せ */
}

/* タイトルと説明文は左寄せ */
.consent-title { font-weight: bold; display: block; margin-bottom: 10px; font-size: 14px; text-align: center; }
.consent-text { font-size: 0.85em; color: #5f6368; display: block; margin-bottom: 15px; }

/* チェックボックス部分をセンター配置するための調整 */
.consent-check-wrapper {
    text-align: center; /* これで中のlabelをセンターに寄せる */
}

.consent-check-area {
    display: inline-flex; /* 内容の幅に合わせて中央配置 */
    align-items: center;
    gap: 10px;
    font-weight: bold;
    cursor: pointer;
}

/* ボタン */
.button-area { text-align: center; }
.btn-submit {
    background-color: #3367d6; /* Google風ブルー */
    color: white;
    padding: 12px 40px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}
.btn-submit:hover { background-color: #2858b5; }