/* 
 * ZEN Monthly Report Styles
 * @package ZENTECH
 * @since 1.0.0
 */

/* ZEN Monthly Report Styles */
.zen-monthly-report {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 18px; /* 基本フォントサイズを大きく */
    line-height: 1.6;
    color: #333;
    max-width: 1000px;
    margin: 0 auto;
    background-color: #f8f9fa;
}

.zen-monthly-report h1 {
    color: #2c3e50;
    text-align: center;
    font-size: 2.2em;
    margin-bottom: 1em;
    border-bottom: 2px solid #18508f;
    padding-bottom: 0.3em;
}

.zen-monthly-report h2 {
    color: #18508f;
    font-size: 1.8em;
    margin-top: 1.5em;
    border-left: 5px solid #18508f;
    padding-left: 15px;
}

.zen-monthly-report h3 {
    color: #ff6f61;
    font-size: 1.4em;
    margin-top: 1.2em;
}

.zen-data-summary {
    background-color: #e8f4f8;
    padding: 15px;
    border-radius: 10px;
    margin: 20px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border-left: 4px solid #ff6f61;
}

.zen-data-summary ul {
    list-style-type: none;
    padding-left: 10px;
}

.zen-data-summary li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 25px;
}

.zen-data-summary li:before {
    content: "•";
    color: #18508f;
    font-size: 1.5em;
    position: absolute;
    left: 0;
    top: -5px;
}

.zen-region-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.zen-region-card {
    background-color: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-left: 4px solid #18508f;
}

.zen-region-card h4 {
    color: #ff6f61;
    margin: 0 0 10px 0;
    font-size: 1.2em;
}

.zen-thumbnail-container {
    margin: 20px 0;
    text-align: center;
}

.zen-thumbnail {
    width: 200px;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    cursor: pointer;
    display: inline-block;
}

.zen-thumbnail:hover {
    transform: scale(1.05);
}

.zen-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.8);
}

.zen-modal-content {
    margin: auto;
    display: block;
    max-width: 80%;
    max-height: 80%;
}

.zen-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.zen-close:hover, 
.zen-close:focus {
    color: #bbb;
    text-decoration: none;
}

.zen-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: white;
    padding: 10px 0;
    height: 50px;
}

.zen-sponsor-list, 
.zen-ranking-list {
    background-color: #f1f8e9;
    padding: 15px 20px;
    border-radius: 10px;
    margin: 20px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border-left: 4px solid #ff6f61;
}

.zen-sponsor-list h2, 
.zen-ranking-list h2 {
    border-left: none;
    color: #18508f;
    padding-left: 0;
}

.zen-footer-message {
    text-align: center;
    font-size: 1.2em;
    font-weight: bold;
    margin: 40px 0 20px;
    color: #18508f;
}

.zen-activity-section {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-top: 3px solid #ff6f61;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .zen-monthly-report {
        font-size: 17px; /* タブレットサイズ */
        padding: 10px;
    }
    
    .zen-monthly-report h1 {
        font-size: 1.8em;
    }
    
    .zen-region-grid {
        grid-template-columns: 1fr;
    }
    
    .zen-data-summary,
    .zen-activity-section,
    .zen-sponsor-list,
    .zen-ranking-list {
        margin: 15px 0;
        padding: 12px;
    }
    
    .zen-monthly-report h2 {
        font-size: 1.5em;
        margin-top: 1em;
    }
    
    .zen-monthly-report h3 {
        font-size: 1.2em;
    }
}

/* スマートフォン対応 */
@media (max-width: 480px) {
    .zen-monthly-report {
        font-size: 16px; /* スマートフォンサイズ */
        background-color: transparent;
    }
    
    .zen-monthly-report h1 {
        font-size: 1.5em;
        margin-bottom: 0.8em;
    }
    
    .zen-thumbnail {
        width: 150px;
        height: 112px;
    }
    
    .zen-data-summary li {
        margin-bottom: 6px;
        /* font-size: 0.9em; を削除して読みやすく */
    }
    
    .zen-region-card {
        padding: 12px;
    }
    
    .zen-activity-section {
        padding: 15px;
    }
}

/* ダークモード対応 */
@media (prefers-color-scheme: dark) {
    .zen-monthly-report {
        background-color: #1a1a1a;
        color: #e0e0e0;
    }
    
    .zen-data-summary {
        background-color: #2a2a2a;
        border-left-color: #ff6f61;
    }
    
    .zen-region-card,
    .zen-activity-section {
        background-color: #2a2a2a;
        color: #e0e0e0;
    }
    
    .zen-sponsor-list,
    .zen-ranking-list {
        background-color: #2a2a2a;
        color: #e0e0e0;
    }
}

/* 印刷対応 */
@media print {
    .zen-monthly-report {
        background-color: white;
        color: black;
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .zen-modal {
        display: none;
    }
    
    .zen-thumbnail {
        width: auto;
        height: auto;
        max-width: 200px;
    }
    
    .zen-monthly-report h1 {
        font-size: 18pt;
    }
    
    .zen-monthly-report h2 {
        font-size: 16pt;
    }
    
    .zen-monthly-report h3 {
        font-size: 14pt;
    }
}