/* 1. ボックス全体のデザイン */
.swpm-custom-login-box {
    padding: 35px 25px;
    margin: 40px auto;
    background: #ffffff;
    border-radius: 12px;
    /* 上部にひまわりイエローの太めのアクセントラインを追加 */
    border-top: 6px solid #ffcc00; 
    /* それ以外の枠線は薄くして上品に */
    border-left: 1px solid #e0e7eb;
    border-right: 1px solid #e0e7eb;
    border-bottom: 1px solid #e0e7eb;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
    max-width: 500px;
    color: #333;
    line-height: 1.6;
}

/* 2. メインメッセージ（見出し） */
.swpm-main-msg {
    font-size: 1.25rem;
    font-weight: 800;
    margin: 10px 0 10px 0 !important; /* 上のラインとのバランスで少し調整 */
    color: #2c3e50;
}

.swpm-sub-msg {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 25px;
}

/* 3. Googleボタン（最優先CTA） */
.swpm-google-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    padding: 14px 20px;
    background-color: #ffffff;
    border: 1px solid #dadce0;
    border-radius: 8px;
    text-decoration: none !important;
    color: #3c4043;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.2s ease;
}

.swpm-google-btn:hover {
    background-color: #f8f9fa;
    border-color: #c6dafc;
    box-shadow: 0 3px 10px rgba(0,0,0,0.12);
    transform: translateY(-1px);
}

.swpm-google-btn img {
    width: 20px;
    height: 20px;
}

/* 4. 区切り線（または） */
.swpm-divider {
    margin: 30px 0;
    position: relative;
    border-top: 1px solid #eee;
}
.swpm-divider span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #ffffff;
    padding: 0 15px;
    font-size: 0.85rem;
    color: #999;
}

/* 5. IDログインボタン（二次CTA） */
.swpm-login-link-btn {
    display: inline-block;
    width: 100%;
    max-width: 320px;
    padding: 12px 20px;
    color: #4ec4d3 !important;
    border: 1px solid #4ec4d3;
    border-radius: 8px;
    text-decoration: none !important;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 20px;
    transition: all 0.2s ease;
}

.swpm-login-link-btn:hover {
    background-color: #f0fbfe;
}

/* 6. 登録案内 */
.swpm-register-guide {
    font-size: 0.9rem;
    color: #777;
    margin-top: 10px;
}
.swpm-register-guide a {
    color: #4ec4d3;
    font-weight: bold;
    text-decoration: none;
}

/* 7. スマホ最適化 */
@media (max-width: 480px) {
    .swpm-custom-login-box {
        padding: 25px 15px;
        margin: 20px 0;
    }
    .swpm-main-msg {
        font-size: 1.15rem;
    }
}