/* =========================================
   投票ページ専用スタイル (vote.css)
   ========================================= */

/* 1. ヒーローエリア */
.motto-hero-box {
    background: #fff;
    padding: 60px 40px;
    border-radius: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.motto-hero-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: var(--primary-color, #e67e22);
}

/* 2. 投票特典カード */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.reward-card {
    background: #ffffff;
    padding: 35px 25px;
    border-radius: 25px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    border: 1px solid #f0f0f0;
}

.reward-card:hover {
    transform: translateY(-8px);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
}

.reward-card h3 {
    color: #e67e22;
    font-size: 1.25rem;
    margin-bottom: 10px;
}

/* 3. 投票サイト一覧 (横並び・文字溢れ防止修正) */
.vote-button-list {
    display: flex;
    flex-direction: row; /* 横並び */
    flex-wrap: wrap;    /* 折り返し */
    justify-content: center;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.vote-link-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 25px 20px;
    border-radius: 18px;
    text-decoration: none !important;
    transition: all 0.3s ease;
    color: #fff !important;
    
    /* ボタンのサイズを固定して文字溢れを防ぐ */
    width: 240px;
    min-height: 140px;
    box-sizing: border-box;
    text-align: center;
}

.vote-link-card.jms { background: linear-gradient(135deg, #34495e, #2c3e50); }
.vote-link-card.portal { background: linear-gradient(135deg, #2ecc71, #27ae60); }
.vote-link-card.maikura-link { background: linear-gradient(135deg, #3498db, #2980b9); }

.vote-link-card:hover {
    filter: brightness(1.1);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.site-name {
    font-size: 1.2rem;
    font-weight: bold;
    line-height: 1.4;
    margin-bottom: 8px;
}

.click-guide {
    font-size: 0.85rem;
    opacity: 0.9;
}

/* 4. 注意事項ボックス */
.notice-simple-box {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    border-left: 6px solid #e67e22;
    max-width: 750px;
    margin: 0 auto;
}

.notice-list {
    list-style: none;
    padding: 0;
}

.notice-list li {
    position: relative;
    padding-left: 1.8rem;
    margin-bottom: 12px;
    line-height: 1.6;
}

.notice-list li::before {
    content: "⚠️";
    position: absolute;
    left: 0;
}