@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ (japaero カスタム)
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/* =============================================
   ヒーローセクション
   ============================================= */
.japaero-hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: #fff;
    text-align: center;
    padding: 60px 20px;
    margin-bottom: 48px;
}

.japaero-hero__title {
    font-size: 2.8rem;
    font-weight: bold;
    letter-spacing: 0.08em;
    margin: 0 0 12px;
    color: #fff;
}

.japaero-hero__subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* =============================================
   コミックセクション
   ============================================= */
.comic-section {
    padding: 0 0 60px;
}

.comic-section__title {
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    margin: 0 0 32px;
    padding-bottom: 16px;
    border-bottom: 3px solid #e60033;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 16px;
    padding-right: 16px;
}

/* =============================================
   グリッドレイアウト（3列 × 4行 = 12作品）
   ============================================= */
.comic-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 16px;
}

@media (max-width: 900px) {
    .comic-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 540px) {
    .comic-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 0 10px;
    }
}

/* =============================================
   コミックカード
   ============================================= */
.comic-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.10);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.comic-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
}

/* --- 表紙画像 --- */
.comic-card__cover {
    display: block;
    width: 100%;
    overflow: hidden;
    background: #f5f5f5;
    flex-shrink: 0;
}

.comic-card__cover img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.comic-card:hover .comic-card__cover img {
    transform: scale(1.04);
}

/* --- カード本文 --- */
.comic-card__body {
    padding: 14px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.comic-card__title {
    font-size: 0.9rem;
    font-weight: bold;
    line-height: 1.5;
    color: #222;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.comic-card__description {
    font-size: 0.78rem;
    color: #666;
    line-height: 1.65;
    margin: 0;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* --- 星評価 --- */
.comic-card__rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 2px;
}

.comic-card__stars {
    color: #FFB800;
    font-size: 1rem;
    letter-spacing: 2px;
    line-height: 1;
}

.comic-card__rating-num {
    font-size: 0.85rem;
    font-weight: bold;
    color: #FFB800;
}

/* --- アフィリエイトボタン --- */
.comic-card__btn {
    display: block;
    text-align: center;
    background: linear-gradient(135deg, #e60033 0%, #ff4466 100%);
    color: #fff !important;
    padding: 10px 8px;
    border-radius: 6px;
    text-decoration: none !important;
    font-size: 0.82rem;
    font-weight: bold;
    margin-top: auto;
    transition: opacity 0.2s;
    box-shadow: 0 2px 6px rgba(230, 0, 51, 0.3);
}

.comic-card__btn:hover {
    opacity: 0.85;
    color: #fff !important;
}
