/* ============================================
   会員登録・ログイン画面（サイト共通デザインに統一）
   見出しは他ページと同じ title-bounce + グラデ下線。
   配色：紫 #bf9ce2 / 青 #9daee4 / グレー #6e6e6e / Yu Mincho
   ============================================ */

#member {
    padding: 80px 16px;
}

/* 見出し（GUIDE/MOVIE等と同じ） */
#member .title-bounce { animation: textBounceGrey 5s ease-in-out infinite; }
#member .title-bounce:nth-child(1) { animation-delay: 0s; }
#member .title-bounce:nth-child(2) { animation-delay: 0.4s; }
#member .title-bounce:nth-child(3) { animation-delay: 0.8s; }
#member .title-bounce:nth-child(4) { animation-delay: 1.2s; }
#member .title-bounce:nth-child(5) { animation-delay: 1.6s; }
#member .title-bounce:nth-child(6) { animation-delay: 2.0s; }
#member .title-bounce:nth-child(7) { animation-delay: 2.4s; }
#member .title-bounce:nth-child(8) { animation-delay: 2.8s; }

#member h2 {
    color: #6e6e6e;
    position: relative;
    z-index: 2;
    font-weight: 300;
    -webkit-text-stroke: 5px #ffffff;
    text-stroke: 5px #ffffff;
    paint-order: stroke fill;
}
#member h2::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, 5px);
    width: 340px;
    height: 15px;
    background: linear-gradient(90deg, #ffcfe3 0%, #eaeaff 40%, #eaeaff 60%, #ffcfe3 100%);
    background-size: 200% 100%;
    border-radius: 5px;
    z-index: -1;
    animation: memberBorderGradientFlow 10s ease-in-out infinite;
}
@keyframes memberBorderGradientFlow {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* フォームカード */
.member-card {
    width: 100%;
    max-width: 420px;
    margin: 40px auto 0;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(191, 156, 226, 0.35);
    border-radius: 12px;
    padding: 34px 28px 30px;
    box-shadow: 0 8px 28px rgba(157, 174, 228, 0.25);
    position: relative;
    z-index: 2;
}

.member-lead {
    font-family: "Yu Mincho", "YuMincho", serif;
    font-size: 13px;
    color: #6e6e6e;
    text-align: center;
    margin: 0 0 24px;
    line-height: 1.8;
}

.member-form { display: flex; flex-direction: column; gap: 16px; }

.member-label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-family: "Yu Mincho", "YuMincho", serif;
    font-size: 13px;
    color: #6e6e6e;
}

.member-input {
    font-size: 16px; /* iOS自動ズーム防止 */
    color: #333;
    background: #fff;
    border: 1px solid rgba(191, 156, 226, 0.5);
    border-radius: 6px;
    padding: 11px 12px;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.member-input:focus {
    outline: none;
    border-color: #bf9ce2;
    box-shadow: 0 0 0 3px rgba(191, 156, 226, 0.2);
}

.member-btn {
    margin-top: 8px;
    padding: 13px;
    font-family: "Yu Mincho", "YuMincho", serif;
    font-size: 16px;
    letter-spacing: 0.12em;
    color: #6e6e6e;
    background: linear-gradient(90deg, #ffcfe3 0%, #eaeaff 40%, #eaeaff 60%, #ffcfe3 100%);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.2s;
}
.member-btn:hover { opacity: 0.92; transform: translateY(-1px); }

.member-alert {
    background: rgba(255, 207, 227, 0.3);
    border: 1px solid rgba(229, 130, 160, 0.5);
    color: #a3445f;
    font-family: "Yu Mincho", "YuMincho", serif;
    font-size: 13px;
    border-radius: 6px;
    padding: 11px 13px;
    margin-bottom: 18px;
    line-height: 1.7;
}
.member-alert a { color: #8a5a8a; font-weight: bold; }

.member-switch {
    margin: 22px 0 0;
    text-align: center;
    font-family: "Yu Mincho", "YuMincho", serif;
    font-size: 13px;
    color: #6e6e6e;
}
.member-switch a {
    color: #9d6fc4;
    font-weight: bold;
    text-decoration: underline;
}

@media screen and (max-width: 768px) {
    #member { padding: 40px 16px 60px; }
    #member h2::before { width: 80%; }
    .member-card { margin-top: 28px; padding: 28px 20px 26px; }
}
