@charset "UTF-8";
/*
Template: swell
Theme Name: SWELL CHILD
Theme URI: https://swell-theme.com/
Description: SWELLの子テーマ - モバイルファースト
Version: 2.0.0
Author: LOOS WEB STUDIO
Author URI: https://loos-web-studio.com/
*/

/* カラーパレット */
:root {
    --color_bg: #ffffff;
    --color_text: #333333;
    --color_main: #e91e63;
    --color_main_light: #f8bbd9;
    --color_main_dark: #c2185b;
    --color_link: #e91e63;
    --color_htag: #c2185b;
    --color_header_bg: #ffffff;
    --color_header_text: #333333;
    --color_footer_bg: #ffffff;
    --color_footer_text: #666666;
    --gray-50: #fafafa;
    --gray-100: #f5f5f5;
    --gray-200: #eeeeee;
    --pink-50: #fce4ec;
    --pink-100: #f8bbd9;
    --accent-color: #1976d2;
}

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

/* ヘッダー */
.l-header {
    background-color: var(--color_header_bg) !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
    border: none !important;
}

.c-headLogo__link {
    color: var(--color_text);
    font-weight: 600;
    font-size: 1.1rem;
}

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

/* 画像スタイル - モバイル最適化 */
.wp-block-image {
    margin: 1.5rem auto;
    max-width: 95%;
    width: 95%;
}

.wp-block-image img {
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    width: 100%;
    height: auto;
}

.wp-block-image img:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* フルワイドセクション - モバイル最適化 */
.swell-block-fullWide {
    background: linear-gradient(135deg, var(--pink-50) 0%, #ffffff 100%);
    border-radius: 12px;
    margin: 1rem 0;
    border: 1px solid var(--gray-200);
}

.swell-block-fullWide__inner {
    padding: 1.5rem 1rem;
}

/* テーブル - モバイル最適化 */
.wp-block-table {
    margin: 1.5rem 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border: 1px solid var(--gray-200);
    font-size: 0.8rem;
}

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

.wp-block-table th {
    background: var(--color_main);
    color: #ffffff;
    padding: 0.75rem 0.5rem;
    font-weight: 600;
    text-align: center;
    border: none;
    font-size: 0.8rem;
}

.wp-block-table td {
    padding: 0.75rem 0.5rem;
    border-bottom: 1px solid var(--gray-200);
    text-align: center;
    vertical-align: middle;
    font-size: 0.75rem;
}

.wp-block-table tbody tr:nth-child(even) {
    background-color: var(--gray-50);
}

.wp-block-table tbody tr:hover {
    background-color: var(--pink-50);
}

/* ○×マークの背景と影を削除 */
.wp-image-19,
.wp-image-20 {
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    border: none !important;
}

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

.wp-block-table img {
    border-radius: 4px;
    padding: 4px;
    background: #ffffff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
    max-width: 80px;
    height: auto;
}

/* ボタン - モバイル最適化 */
.swl-inline-btn a,
.swell-block-button__link {
    background: var(--color_main) !important;
    color: #ffffff !important;
    border: none;
    border-radius: 6px;
    padding: 0.75rem 1rem;
    font-weight: 500;
    text-decoration: none;
    box-shadow: 0 2px 4px rgba(233, 30, 99, 0.2);
    transition: all 0.3s ease;
    font-size: 0.8rem;
    display: inline-block;
    text-align: center;
}

.swl-inline-btn a:hover,
.swell-block-button__link:hover {
    background: var(--color_main_dark) !important;
    box-shadow: 0 4px 8px rgba(233, 30, 99, 0.3);
    transform: translateY(-1px);
}

.swl-inline-btn.is-style-btn_line a {
    background: transparent !important;
    color: var(--color_main) !important;
    border: 2px solid var(--color_main);
    box-shadow: none;
}

.swl-inline-btn.is-style-btn_line a:hover {
    background: var(--color_main) !important;
    color: #ffffff !important;
}

/* 見出し - モバイル最適化 */
.wp-block-heading.is-style-section_ttl {
    color: var(--color_htag);
    font-weight: 700;
    font-size: 1.2rem;
    margin: 2rem 0 1rem 0;
    padding: 0 0 0.75rem 0;
    border: none;
    position: relative;
    background: transparent;
    border-bottom: 3px solid var(--color_main);
    line-height: 1.4;
}

.wp-block-heading.is-style-section_ttl::before {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent-color);
}

/* テキストエリアボックス - モバイル最適化 */
.is-style-bg_stripe {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-left: 4px solid var(--color_main);
    border-radius: 6px;
    padding: 1rem;
    margin: 1rem 0;
    position: relative;
    line-height: 1.7;
    font-size: 0.9rem;
}

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

/* FAQ - モバイル最適化 */
.swell-block-faq {
    margin: 1.5rem 0;
}

.swell-block-faq__item {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin-bottom: 1rem;
    overflow: hidden;
    border: 1px solid var(--gray-200);
}

.swell-block-faq .faq_q {
    background: var(--gray-100) !important;
    color: var(--color_text) !important;
    font-weight: 600;
    padding: 1rem 1rem 1rem 2.5rem !important;
    margin: 0 !important;
    position: relative;
    font-size: 0.85rem;
    line-height: 1.5;
}

.swell-block-faq .faq_q::before {
    content: "Q";
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: var(--color_main);
    color: #ffffff;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 10px;
    font-family: Arial, sans-serif;
}

.swell-block-faq .faq_a {
    background: #ffffff !important;
    padding: 1rem 1rem 1rem 2.5rem !important;
    margin: 0 !important;
    position: relative;
    font-size: 0.8rem;
    line-height: 1.6;
}

.swell-block-faq .faq_a::before {
    content: "A";
    position: absolute;
    left: 0.75rem;
    top: 1rem;
    background: var(--accent-color);
    color: #ffffff;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 10px;
    font-family: Arial, sans-serif;
}

/* チップ・タグ */
.swl-bg-color.has-swl-gray-background-color {
    background: var(--gray-200);
    color: var(--color_text);
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 500;
}

/* ページトップボタン */
#pagetop {
    background: var(--color_main) !important;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(233, 30, 99, 0.3);
    width: 50px;
    height: 50px;
}

#pagetop:hover {
    background: var(--color_main_dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(233, 30, 99, 0.4);
}

/* フッター */
.l-footer {
    background: var(--gray-50);
    padding-top: 2rem;
    border-top: 1px solid var(--gray-200);
}

/* h3見出し - モバイル最適化 */
.wp-block-heading:not(.is-style-section_ttl) {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 1.5rem 0 0.75rem 0;
    line-height: 1.4;
}

/* 段落 - モバイル最適化 */
p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* タブレット以上の調整 */
@media (min-width: 481px) {
    body {
        font-size: 15px;
    }
    
    .wp-block-image {
        max-width: 90%;
        width: 90%;
    }
    
    .swell-block-fullWide__inner {
        padding: 2rem 1.5rem;
    }
    
    .wp-block-table {
        font-size: 0.9rem;
    }
    
    .wp-block-table th,
    .wp-block-table td {
        padding: 1rem 0.75rem;
    }
    
    .wp-block-table img {
        max-width: 100px;
    }
    
    .wp-block-heading.is-style-section_ttl {
        font-size: 1.4rem;
        margin: 2.5rem 0 1.5rem 0;
    }
    
    .wp-block-heading.is-style-section_ttl::before {
        width: 50px;
    }
    
    .swl-inline-btn a,
    .swell-block-button__link {
        padding: 1rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* PC（769px以上）の調整 */
@media (min-width: 769px) {
    body {
        font-size: 16px;
    }
    
    .wp-block-image {
        max-width: 560px;
        margin: 2rem auto;
    }
    
    .swell-block-fullWide .wp-block-image {
        max-width: 560px;
    }
    
    .swell-block-fullWide__inner {
        padding: 3rem 2rem;
    }
    
    .wp-block-table {
        font-size: 1rem;
    }
    
    .wp-block-table th,
    .wp-block-table td {
        padding: 1.25rem 1rem;
    }
    
    .wp-block-table img {
        max-width: 120px;
    }
    
    /* 表組み内のボタンを小さく */
    .wp-block-table .swl-inline-btn a {
        padding: 0.5rem 1rem !important;
        font-size: 0.8rem !important;
    }
    
    .wp-block-heading.is-style-section_ttl {
        font-size: 1.5rem;
        margin: 3rem 0 2rem 0;
    }
    
    .wp-block-heading.is-style-section_ttl::before {
        width: 60px;
    }
    
    .swl-inline-btn a,
    .swell-block-button__link {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .swell-block-faq .faq_q {
        padding: 1.25rem 1.25rem 1.25rem 3rem !important;
        font-size: 0.9rem;
    }
    
    .swell-block-faq .faq_q::before {
        width: 24px;
        height: 24px;
        font-size: 12px;
        left: 1rem;
    }
    
    .swell-block-faq .faq_a {
        padding: 1.25rem 1.25rem 1.25rem 3rem !important;
        font-size: 0.9rem;
    }
    
    .swell-block-faq .faq_a::before {
        width: 24px;
        height: 24px;
        font-size: 12px;
        left: 1rem;
        top: 1.25rem;
    }
    
    #pagetop {
        width: 56px;
        height: 56px;
    }
}