@charset "utf-8";

/* box-sizingの統一 */
*, *::before, *::after {
    box-sizing: border-box;
}

/* ----------------------------------------------------------
    ベース
------------------------------------------------------------- */
body.form-page {
    background: #0f172a;
    color: #f8fafc;
    font-family: 'Zen Kaku Gothic New', sans-serif;
    margin: 0;
    padding: 20px 0;
    line-height: 1.6;
    word-break: break-all;
}

#wrapper {
    max-width: 720px;
    width: 94%;
    margin: 0 auto;
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    backdrop-filter: blur(10px);
}

/* ----------------------------------------------------------
    ヘッダー
------------------------------------------------------------- */
.form-header {
    text-align: center;
    padding: 30px 5%;
    background: rgba(0,0,0,0.2);
}

.form-header__main {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 0 0 15px 0;
    flex-wrap: wrap;
}

.form-logo {
    height: 32px;
    width: auto;
}

.form-club-name {
    font-size: 1rem;
    font-weight: bold;
    letter-spacing: 0.1em;
    color: #f8fafc;
}

.title-logo {
    max-width: 100%;
    height: auto;
    width: 320px;
}

/* ----------------------------------------------------------
    フォームセクション
------------------------------------------------------------- */
.section__ttl {
    background: #c41e3a;
    color: #fff;
    padding: 12px 20px;
    font-size: 1.1rem;
    font-weight: bold;
    text-align: center;
    margin: 0;
}

.section__body {
    padding: 30px 5%;
}

#txt_explain {
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: #cbd5e1;
}

.table {
    width: 100% !important;
    border-collapse: separate;
    border-spacing: 0 10px;
    table-layout: fixed;
}

.table th {
    width: 30%;
    background: rgba(255, 255, 255, 0.05);
    color: #f8fafc;
    padding: 15px;
    font-size: 0.85rem;
    border-radius: 8px 0 0 8px;
    text-align: left;
    vertical-align: middle;
}

.table td {
    width: 70%;
    background: rgba(255, 255, 255, 0.02);
    padding: 15px;
    border-radius: 0 8px 8px 0;
}

input[type=text],
input[type=email],
select,
textarea {
    width: 100% !important;
    max-width: 100%;
    background: #0f172a;
    border: 1px solid #334155;
    color: #fff;
    padding: 12px;
    border-radius: 6px;
    font-size: 16px;
}

/* ----------------------------------------------------------
    ボタンデザイン
------------------------------------------------------------- */
.button_box {
    margin-top: 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.btn-submit, .btn-back {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 300px;
    height: 56px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
    letter-spacing: 0.1em;
}

.btn-submit {
    background: linear-gradient(135deg, #e11d48 0%, #c41e3a 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(196, 30, 58, 0.4);
}

.btn-submit:hover {
    background: linear-gradient(135deg, #fb7185 0%, #e11d48 100%);
    transform: translateY(-2px);
}

.btn-back {
    background: rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.95rem;
}

/* ----------------------------------------------------------
    フッターデザイン
------------------------------------------------------------- */
.form-footer {
    margin-top: 20px;
    padding: 30px 20px;
    background: rgba(0, 0, 0, 0.3);
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-support {
    font-size: 0.85rem;
    color: #cbd5e1;
    margin-bottom: 8px;
    letter-spacing: 0.05em;
}

.footer-copy {
    font-size: 0.75rem;
    color: #64748b;
    margin: 0;
}

/* ----------------------------------------------------------
    レスポンシブ
------------------------------------------------------------- */
@media (max-width: 768px) {
    .table, .table tbody, .table tr, .table th, .table td {
        display: block !important;
        width: 100% !important;
    }
    .table th { background: transparent; padding: 10px 0 5px 5px; }
    .table td { background: rgba(255, 255, 255, 0.05); padding: 10px; border-radius: 8px; margin-bottom: 5px; }
    .section__body { padding: 20px 15px; }
}

@media (min-width: 641px) {
    .button_box { flex-direction: row; justify-content: center; }
    .dual-buttons { flex-direction: row-reverse; }
    .btn-submit { width: 260px; }
    .btn-back { width: 180px; }
}

/* その他パーツ */
.back-to-site { text-align: center; padding-bottom: 30px; }
.back-to-site a { color: #94a3b8; font-size: 0.8rem; text-decoration: none; }
.other-contact { margin-top: 20px; padding: 15px; background: rgba(255,255,255,0.05); border-radius: 8px; border: 1px dashed rgba(251,191,36,0.4); }
.other-contact__title { font-size: 0.8rem; font-weight: bold; color: #fbbf24; margin-bottom: 8px; display: block; }
.other-contact__list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 15px; }
.other-contact__list a { color: #fff; text-decoration: none; font-size: 0.9rem; display: flex; align-items: center; gap: 6px; }
.privacy-agreement { margin: 20px 0; text-align: center; font-size: 0.85rem; color: #cbd5e1; }
.privacy-agreement a { color: #fbbf24; text-decoration: underline; }
.tac { text-align: center; }
.red_txt { color: #fb7185; margin-bottom: 15px; font-weight: bold; }