@charset "UTF-8";
/*
Template: swell
Theme Name: SWELL CHILD
Theme URI: https://swell-theme.com/
Description: SWELLの子テーマ - モダン白背景デザイン
Version: 1.0.0
Author: LOOS WEB STUDIO
Author URI: https://loos-web-studio.com/
*/

/* モダンな白背景配色 */
:root {
    --color_bg: #ffffff;
    --color_text: #1e293b;
    --color_main: #3b82f6;
    --color_main_light: #60a5fa;
    --color_main_dark: #1e40af;
    --color_link: #3b82f6;
    --color_htag: #1e40af;
    --color_header_bg: rgba(255, 255, 255, 0.95);
    --color_header_text: #1e293b;
    --color_footer_bg: #f8fafc;
    --color_footer_text: #64748b;
    --light-card: #f8fafc;
    --light-card-hover: #f1f5f9;
    --blue-light: rgba(59, 130, 246, 0.1);
    --gradient-blue: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    --shadow-light: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 8px 32px rgba(0, 0, 0, 0.15);
    --border-light: rgba(59, 130, 246, 0.2);
}

/* 基本スタイル - モバイルファースト */
body {
    background: var(--color_bg);
    color: var(--color_text);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', sans-serif;
    line-height: 1.7;
}

/* ヘッダー - グラスモーフィズム */
.l-header {
    background: var(--color_header_bg) !important;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light) !important;
    box-shadow: var(--shadow-light) !important;
}

.c-headLogo__link {
    color: var(--color_header_text);
    font-weight: 700;
    transition: color 0.3s ease;
}

.c-headLogo__link:hover {
    color: var(--color_main);
}

/* 画像 - モダンなカード風 */
.wp-block-image {
    margin: 2rem auto;
    max-width: 100%;
}

.wp-block-image img {
    border-radius: 16px;
    box-shadow: var(--shadow-medium);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    height: auto;
    border: 1px solid #f1f5f9;
}

.wp-block-image img:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 16px 48px rgba(0, 0, 0, 0.2),
        0 0 0 1px var(--color_main_light);
}

/* フルワイドセクション - グラデーション背景（線と角丸削除） */
.swell-block-fullWide {
    background: 
        radial-gradient(circle at 30% 20%, var(--blue-light) 0%, transparent 60%),
        linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    margin: 2rem 0;
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-light);
}

.swell-block-fullWide__inner {
    padding: 1rem 1.5rem;
    position: relative;
    z-index: 1;
}

/* テーブル - クリーンモダン */
.wp-block-table {
    margin: 2rem 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    border: 1px solid #e2e8f0;
}

.wp-block-table table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
}

.wp-block-table th {
    background: var(--gradient-blue);
    color: #ffffff;
    padding: 1rem 0.75rem;
    font-weight: 600;
    text-align: center;
    border: none;
    font-size: 0.9rem;
    position: relative;
}

.wp-block-table th::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
}

.wp-block-table td {
    padding: 1rem 0.75rem;
    border-bottom: 1px solid #f1f5f9;
    text-align: center;
    vertical-align: middle;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.wp-block-table tbody tr:nth-child(even) {
    background: #f8fafc;
}

.wp-block-table tbody tr:hover {
    background: var(--blue-light);
    transform: scale(1.01);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
}

/* 特定の画像クラスの背景を透明に（○×マーク） */
.wp-image-19,
.wp-image-20 {
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    border: none !important;
}

/* ロゴ画像（DLsite等）は白背景と影を維持 */
.wp-image-18,
.wp-image-23,
.wp-image-21,
.wp-image-24,
img[alt="BookLive!"] {
    background: #ffffff !important;
}

.wp-block-table img {
    border-radius: 8px;
    padding: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    max-width: 100px;
    height: auto;
    border: 1px solid #e2e8f0;
}

/* ボタン - モダンデザイン */
.swl-inline-btn a,
.swell-block-button__link {
    background: var(--gradient-blue) !important;
    color: #ffffff !important;
    border: none;
    border-radius: 12px;
    padding: 0.875rem 1.5rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 
        var(--shadow-light),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    font-size: 0.875rem;
}

.swl-inline-btn a::before,
.swell-block-button__link::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.swl-inline-btn a:hover,
.swell-block-button__link:hover {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%) !important;
    transform: translateY(-2px);
    box-shadow: 
        0 8px 24px rgba(59, 130, 246, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.swl-inline-btn a:hover::before,
.swell-block-button__link:hover::before {
    left: 100%;
}

.swl-inline-btn.is-style-btn_line a {
    background: transparent !important;
    color: var(--color_main) !important;
    border: 2px solid var(--color_main);
    box-shadow: 0 0 0 rgba(59, 130, 246, 0.1);
}

.swl-inline-btn.is-style-btn_line a:hover {
    background: var(--gradient-blue) !important;
    color: #ffffff !important;
    border-color: var(--color_main_light);
    box-shadow: var(--shadow-light);
}

/* 見出し - グラスモーフィズム風 */
.wp-block-heading.is-style-section_ttl {
    color: var(--color_htag);
    font-weight: 700;
    font-size: 1.375rem;
    margin: 3rem 0 1.5rem 0;
    padding: 1rem 1.5rem;
    border: none;
    position: relative;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    box-shadow: 
        0 8px 32px rgba(59, 130, 246, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.wp-block-heading.is-style-section_ttl::after {
    content: "";
    position: absolute;
    bottom: 8px;
    left: 1.5rem;
    width: 60px;
    height: 3px;
    background: var(--gradient-blue);
    border-radius: 2px;
}

/* POINTボックス - モダンカード */
.is-style-bg_stripe {
    background: var(--light-card);
    border: 1px solid var(--border-light);
    border-left: 4px solid var(--color_main);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    position: relative;
    line-height: 1.8;
    box-shadow: var(--shadow-light);
}

.is-style-bg_stripe::before {
    content: "POINT";
    position: absolute;
    top: -8px;
    left: 16px;
    background: var(--gradient-blue);
    color: #ffffff;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-light);
}

/* FAQ - モダンアコーディオン */
.swell-block-faq {
    margin: 2rem 0;
}

.swell-block-faq__item {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
    margin-bottom: 1rem;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.swell-block-faq__item:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-2px);
}

.swell-block-faq .faq_q {
    background: var(--gradient-blue) !important;
    color: #ffffff !important;
    font-weight: 600;
    padding: 1rem 1rem 1rem 3.5rem !important;
    margin: 0 !important;
    position: relative;
    font-size: 0.9rem;
}

.swell-block-faq .faq_q::before {
    content: "Q";
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.swell-block-faq .faq_a {
    background: #ffffff !important;
    padding: 1rem 1rem 1rem 3.5rem !important;
    margin: 0 !important;
    position: relative;
    font-size: 0.875rem;
}

.swell-block-faq .faq_a::before {
    content: "A";
    position: absolute;
    left: 16px;
    top: 16px;
    background: var(--color_main_light);
    color: #ffffff;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.2);
}

/* タグ - クリーンデザイン */
.swl-bg-color.has-swl-gray-background-color {
    background: var(--blue-light);
    color: var(--color_main_dark);
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid var(--border-light);
}

/* ページトップボタン */
#pagetop {
    background: var(--gradient-blue) !important;
    border-radius: 50%;
    box-shadow: var(--shadow-medium);
    width: 56px;
    height: 56px;
    transition: all 0.3s ease;
}

#pagetop:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 12px 32px rgba(59, 130, 246, 0.3),
        0 4px 16px rgba(0, 0, 0, 0.1);
}

/* フッター */
.l-footer {
    background: var(--color_footer_bg);
    padding-top: 3rem;
    border-top: 1px solid #e2e8f0;
}

/* モバイル最適化 */
.top #content {
    padding-top: 0;
}

.l-header__menuBtn.sp_ {
    display: none;
}

/* タブレット以上 */
@media (min-width: 769px) {
    .wp-block-image {
        max-width: 560px;
    }
    
    .swell-block-fullWide .wp-block-image {
        max-width: 560px;
    }
    
    .swell-block-fullWide__inner {
        padding: 1.25rem 2rem;
    }
    
    .wp-block-heading.is-style-section_ttl {
        font-size: 1.5rem;
    }
    
    .wp-block-table th,
    .wp-block-table td {
        padding: 1.25rem 1rem;
        font-size: 1rem;
    }
}

/* PC */
@media (min-width: 960px) {
    .l-header__logo {
        padding: 40px 2vw;
    }
    
    .swell-block-fullWide__inner {
        padding: 1.5rem 3rem;
    }
    
    .wp-block-heading.is-style-section_ttl::after {
        width: 80px;
    }
    
    /* 表組み内のボタンを小さく */
    .wp-block-table .swl-inline-btn a {
        padding: 0.5rem 1rem !important;
        font-size: 0.8rem !important;
    }
}

/* スマートフォン専用調整 */
@media (max-width: 768px) {
    .wp-block-image {
        margin: 1.5rem auto;
    }
    
    .wp-block-heading.is-style-section_ttl {
        font-size: 1.25rem;
        margin: 2rem 0 1rem 0;
    }
    
    .wp-block-table {
        font-size: 0.8rem;
    }
    
    .wp-block-table th,
    .wp-block-table td {
        padding: 0.75rem 0.5rem;
    }
    
    .swl-inline-btn a,
    .swell-block-button__link {
        padding: 0.75rem 1.25rem;
        font-size: 0.8rem;
        border-radius: 8px;
    }
    
    .swell-block-faq .faq_q,
    .swell-block-faq .faq_a {
        padding-left: 3rem !important;
        font-size: 0.85rem;
    }
    
    .swell-block-faq .faq_q::before,
    .swell-block-faq .faq_a::before {
        width: 24px;
        height: 24px;
        font-size: 12px;
        left: 12px;
    }
}

/* 超小型デバイス */
@media (max-width: 480px) {
    .swell-block-fullWide__inner {
        padding: 1rem;
    }
    
    .is-style-bg_stripe {
        padding: 1.25rem;
    }
    
    .wp-block-table {
        font-size: 0.75rem;
    }
    
    .wp-block-heading.is-style-section_ttl::after {
        width: 50px;
        height: 3px;
    }
}