@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/

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

/* ==========================================================================
   カラーパレット - 緑系かわいいデザイン
   ========================================================================== */
:root {
    /* メインカラー（緑系） */
    --color_main: #6ba368; /* メインの緑 */
    --color_main_light: #8bc387; /* 明るい緑 */
    --color_main_dark: #4d7a4a; /* 暗い緑 */
    --color_accent: #a8d5a3; /* アクセントの薄緑 */
    
    /* 背景色 */
    --color_bg: #fafcfa; /* 薄い緑がかった白 */
    --color_bg_secondary: #f2f7f2; /* セカンダリ背景 */
    --color_bg_soft: #e8f5e8; /* ソフトな緑背景 */
    
    /* テキストカラー */
    --color_text: #2d4a2b; /* ダークグリーン */
    --color_text_light: #5a7a58; /* ライトグリーン */
    --color_text_muted: #7a9578; /* ミュートグリーン */
    
    /* リンクカラー */
    --color_link: #6ba368;
    --color_link_hover: #4d7a4a;
    
    /* ヘッダー・フッター */
    --color_header_bg: #ffffff;
    --color_header_text: #2d4a2b;
    --color_footer_bg: #f2f7f2;
    --color_footer_text: #5a7a58;
    
    /* かわいい要素用カラー */
    --color_pink_accent: #f4c2c2; /* ピンクアクセント */
    --color_yellow_accent: #fff2a8; /* イエローアクセント */
    
    /* グローバル設定 */
    --swl-c_global_bg: var(--color_bg);
    
    /* シャドウ */
    --shadow_soft: 0 2px 8px rgba(45, 74, 43, 0.08);
    --shadow_medium: 0 4px 12px rgba(45, 74, 43, 0.12);
    --shadow_strong: 0 6px 20px rgba(45, 74, 43, 0.15);
    
    /* ボーダーラジアス */
    --radius_small: 8px;
    --radius_medium: 12px;
    --radius_large: 16px;
}

/* ==========================================================================
   基本スタイル
   ========================================================================== */
body {
    background-color: var(--color_bg);
    color: var(--color_text);
    font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Yu Gothic", YuGothic, Verdana, Meiryo, "M+ 1p", sans-serif;
    line-height: 1.8;
}

/* ==========================================================================
   ヘッダー
   ========================================================================== */
.l-header {
    background-color: var(--color_header_bg);
    border-bottom: 2px solid var(--color_accent);
    box-shadow: var(--shadow_soft);
    position: relative;
}

.l-header::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color_main), var(--color_accent), var(--color_main));
}

.l-header__logo {
    padding: 1rem 0;
}

.c-headLogo__link {
    color: var(--color_header_text);
    font-weight: 700;
    font-size: 1.2rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

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

/* SPでのヘッダー調整 */
@media (max-width: 599px) {
    .l-header__logo {
        padding: 1.5rem 1rem;
        text-align: center;
    }
    
    .c-headLogo__link {
        font-size: 1.1rem;
        line-height: 1.4;
    }
}

/* ==========================================================================
   メインコンテンツ
   ========================================================================== */
.top #content {
    padding-top: 0;
}

#main_content {
    background-color: transparent;
}

/* ==========================================================================
   フルワイドセクション（角丸削除版）
   ========================================================================== */
.swell-block-fullWide {
    margin: 2rem auto;
    overflow: hidden;
    box-shadow: var(--shadow_soft);
}

/* 特定のフルワイドブロックを薄緑背景に変更 */
.swell-block-fullWide[style*="background-color:rgba(12, 19, 30, 0.2)"] {
    background-color: var(--color_bg_soft) !important;
    background: linear-gradient(135deg, var(--color_bg_soft), var(--color_bg_secondary)) !important;
}

/* SP調整 */
@media (max-width: 599px) {
    .swell-block-fullWide {
        margin: 1rem auto;
    }
}

/* ==========================================================================
   画像スタイル
   ========================================================================== */
.wp-block-image {
    margin: 2rem auto;
    max-width: 90%;
}

.wp-block-image img {
    border-radius: var(--radius_medium);
    box-shadow: var(--shadow_medium);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    max-width: 100%;
    height: auto;
}

.wp-block-image img:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow_strong);
}

/* 漫画カバー画像の特別なスタイル */
.wp-block-image a:hover img {
    transform: scale(1.02);
}

/* SP表示時の調整 */
@media (max-width: 599px) {
    .wp-block-image {
        margin: 1.5rem auto;
        max-width: 95%;
    }
    
    .wp-block-image img {
        border-radius: var(--radius_small);
        display: block;
        margin: 0 auto;
    }
}

/* ==========================================================================
   見出し - 薄緑版
   ========================================================================== */
.wp-block-heading.is-style-section_ttl {
    color: var(--color_text);
    background: linear-gradient(135deg, var(--color_bg_soft), var(--color_bg_secondary));
    border: 2px solid var(--color_accent);
    border-radius: var(--radius_medium);
    padding: 1.5rem 2rem;
    margin: 3rem 0 1.5rem 0;
    font-weight: 700;
    position: relative;
    box-shadow: var(--shadow_soft);
    text-align: center;
}

.wp-block-heading.is-style-section_ttl::after {
    content: ' ✨';
    font-size: 1.2rem;
}

/* SP調整 */
@media (max-width: 599px) {
    .wp-block-heading.is-style-section_ttl {
        padding: 1.2rem 1.5rem;
        margin: 2rem 0 1rem 0;
        font-size: 1.1rem;
    }
    
    .wp-block-heading.is-style-section_ttl::after {
        font-size: 1rem;
    }
}

/* ==========================================================================
   テーブル
   ========================================================================== */
.wp-block-table {
    margin: 2rem auto;
    max-width: 100%;
    overflow-x: auto;
}

.wp-block-table table {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    background-color: var(--color_header_bg);
    border-radius: var(--radius_medium);
    overflow: hidden;
    box-shadow: var(--shadow_soft);
}

.wp-block-table.is-style-stripes thead th {
    background: linear-gradient(135deg, var(--color_main), var(--color_main_light));
    color: white;
    font-weight: 700;
    padding: 1rem;
    text-align: center;
    border: none;
}

.wp-block-table.is-style-stripes tbody tr {
    background-color: var(--color_header_bg);
    transition: background-color 0.2s ease;
}

.wp-block-table.is-style-stripes tbody tr:nth-child(odd) {
    background-color: var(--color_bg_soft);
}

.wp-block-table.is-style-stripes tbody tr:hover {
    background-color: var(--color_accent);
}

.wp-block-table.is-style-stripes td {
    padding: 1.2rem 1rem;
    border: none;
    text-align: center;
    vertical-align: middle;
}

/* SP用テーブル調整 */
@media (max-width: 599px) {
    .wp-block-table {
        font-size: 0.9rem;
    }
    
    .wp-block-table.is-style-stripes thead th,
    .wp-block-table.is-style-stripes td {
        padding: 0.8rem 0.5rem;
    }
    
    /* SP時は横スクロール */
    .wp-block-table {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* ==========================================================================
   サービスロゴ
   ========================================================================== */
img.wp-image-18, img.wp-image-23, img.wp-image-21, img.wp-image-24, 
img[alt*="DLsite"], img[alt*="コミックシーモア"], img[alt*="まんが王国"], img[alt*="ebookjapan"], img[alt*="BookLive"] {
    background-color: var(--color_header_bg);
    border-radius: var(--radius_small);
    padding: 0.5rem;
    box-shadow: var(--shadow_soft);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 2px solid var(--color_accent);
}

img.wp-image-18:hover, img.wp-image-23:hover, img.wp-image-21:hover, img.wp-image-24:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow_medium);
    border-color: var(--color_main);
}

/* マル・バツ画像の調整 */
img.wp-image-19, img.wp-image-20,
img[alt*="◎"], img[alt*="○"], img[alt*="×"] {
    width: 50px;
    height: auto !important;
    filter: brightness(1.1);
    aspect-ratio: 1 / 1;
    object-fit: contain;
}

/* SP調整 */
@media (max-width: 599px) {
    img.wp-image-19, img.wp-image-20 {
        width: 40px;
        height: auto !important;
    }
}

/* ==========================================================================
   ボタン
   ========================================================================== */
/* メインボタン（緑系に変更） */
.blue_, .green_ {
    --the-btn-color: var(--color_main);
    --the-btn-color2: var(--color_main_light);
    --the-solid-shadow: rgba(107, 163, 104, 0.3);
}

.swell-block-button {
    margin: 2rem auto;
    text-align: center;
}

.swell-block-button__link {
    background: linear-gradient(135deg, var(--color_main), var(--color_main_light));
    color: white;
    border-radius: var(--radius_large);
    padding: 1.2rem 2rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: var(--shadow_medium);
    transition: all 0.2s ease;
    display: inline-block;
    border: 3px solid transparent;
    position: relative;
    overflow: hidden;
}

.swell-block-button__link::before {
    content: '▶';
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1rem;
    font-weight: 900;
}

.swell-block-button__link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow_strong);
    border-color: var(--color_main_dark);
}

/* インラインボタン */
.swl-inline-btn a {
    border-radius: var(--radius_small);
    padding: 0.8rem 1.5rem;
    font-weight: 600;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.swl-inline-btn.is-style-btn_normal.blue_ a {
    background: var(--color_main);
    color: white;
    border: 2px solid var(--color_main);
}

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

.swl-inline-btn a:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow_soft);
}

/* SP調整 */
@media (max-width: 599px) {
    .swell-block-button__link {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    .swl-inline-btn a {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
}

/* ==========================================================================
   あらすじ・ハイライト
   ========================================================================== */
.is-style-bg_stripe {
    background: linear-gradient(135deg, var(--color_bg_soft), var(--color_accent));
    border: 2px solid var(--color_accent);
    border-radius: var(--radius_medium);
    padding: 1.8rem;
    box-shadow: var(--shadow_soft);
    position: relative;
    margin: 2rem 0;
    line-height: 1.8;
}

.is-style-bg_stripe::before {
    content: '📚';
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    font-size: 1.2rem;
    opacity: 0.6;
}

/* バルーンボックス */
.is-style-balloon_box2 {
    background: linear-gradient(135deg, var(--color_yellow_accent), #fff8dc);
    border: 3px solid var(--color_main);
    border-radius: var(--radius_large);
    padding: 1.5rem 2rem;
    text-align: center;
    font-weight: 700;
    position: relative;
    box-shadow: var(--shadow_medium);
    margin: 2rem 0;
}

.is-style-balloon_box2::before {
    content: '💫';
    position: absolute;
    top: -0.5rem;
    right: 1rem;
    background: var(--color_main);
    color: white;
    padding: 0.3rem 0.6rem;
    border-radius: var(--radius_small);
    border: 2px solid white;
    font-size: 0.9rem;
    box-shadow: var(--shadow_soft);
}

/* SP調整 */
@media (max-width: 599px) {
    .is-style-bg_stripe {
        padding: 1.2rem;
        border-radius: var(--radius_small);
    }
    
    .is-style-bg_stripe::before {
        top: 0.3rem;
        right: 0.3rem;
        font-size: 1rem;
    }
    
    .is-style-balloon_box2 {
        padding: 1.2rem 1.5rem;
        border-radius: var(--radius_medium);
    }
    
    .is-style-balloon_box2::before {
        top: -0.3rem;
        right: 0.8rem;
        font-size: 0.8rem;
        padding: 0.2rem 0.4rem;
    }
}

/* ==========================================================================
   FAQ（dt/dd要素対応版）
   ========================================================================== */
.swell-block-faq {
    margin: 2rem 0;
}

.swell-block-faq__item {
    border-radius: var(--radius_medium);
    box-shadow: var(--shadow_soft);
    margin-bottom: 1.5rem;
    overflow: hidden;
    border: 2px solid var(--color_accent);
    transition: all 0.2s ease;
}

.swell-block-faq__item:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow_medium);
    border-color: var(--color_main);
}

.swell-block-faq dt.faq_q {
    background: linear-gradient(135deg, var(--color_main), var(--color_main_light));
    color: white;
    font-weight: 700;
    padding: 1.2rem 1.5rem 1.2rem 4.5rem;
    position: relative;
    margin: 0;
}

.swell-block-faq dt.faq_q::before {
    content: 'Q';
    position: absolute;
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    color: var(--color_main);
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1rem;
}

.swell-block-faq dd.faq_a {
    background-color: var(--color_header_bg);
    padding: 1.5rem 1.5rem 1.5rem 4.5rem;
    position: relative;
    margin: 0;
    line-height: 1.8;
}

.swell-block-faq dd.faq_a::before {
    content: 'A';
    position: absolute;
    left: 1.5rem;
    top: 1.8rem;
    background: var(--color_accent);
    color: var(--color_main_dark);
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1rem;
}

/* SP調整 */
@media (max-width: 599px) {
    .swell-block-faq dt.faq_q, 
    .swell-block-faq dd.faq_a {
        padding-left: 3.5rem;
        padding-right: 1rem;
    }
    
    .swell-block-faq dt.faq_q::before, 
    .swell-block-faq dd.faq_a::before {
        left: 0.8rem;
        width: 1.8rem;
        height: 1.8rem;
        font-size: 0.9rem;
    }
    
    .swell-block-faq dd.faq_a::before {
        top: 1.3rem;
    }
}

/* ==========================================================================
   フッター
   ========================================================================== */
.l-footer {
    background: linear-gradient(135deg, var(--color_footer_bg), var(--color_bg_soft));
    border-top: 3px solid var(--color_main);
    padding-top: 3rem;
    margin-top: 4rem;
    position: relative;
}

.l-footer::before {
    content: '';
    position: absolute;
    top: -3px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color_main), var(--color_accent), var(--color_main_light), var(--color_main));
}

.l-footer__widgetArea {
    padding-bottom: 2rem;
}

.l-footer .widget_text {
    background-color: var(--color_header_bg);
    border-radius: var(--radius_medium);
    padding: 1.5rem;
    box-shadow: var(--shadow_soft);
}

.copyright {
    color: var(--color_text_muted);
    text-align: center;
    padding: 1.5rem 0;
    border-top: 1px solid var(--color_accent);
    margin-top: 1rem;
    font-size: 0.9rem;
}

/* ==========================================================================
   PRタグ
   ========================================================================== */
.swl-bg-color.has-swl-gray-background-color {
    background-color: var(--color_pink_accent);
    color: var(--color_main_dark);
    padding: 0.3rem 0.8rem;
    border-radius: var(--radius_small);
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
    border: 1px solid var(--color_main);
}

/* ==========================================================================
   価格表示
   ========================================================================== */
.swl-inline-color.has-swl-deep-04-color {
    color: var(--color_main);
    font-weight: 900;
}

/* ==========================================================================
   管理バー非表示（SP）
   ========================================================================== */
.l-header__menuBtn.sp_ {
    display: none;
}

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

/* ==========================================================================
   かわいい装飾要素
   ========================================================================== */
/* ページトップボタン */
#pagetop {
    background: linear-gradient(135deg, var(--color_main), var(--color_main_light));
    border: 3px solid white;
    box-shadow: var(--shadow_medium);
    transition: all 0.2s ease;
}

#pagetop:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: var(--shadow_strong);
}

/* スクロール時のアニメーション抑制 */
* {
    scroll-behavior: auto;
}

/* 軽量化のためのアニメーション制限 */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ==========================================================================
   SP専用追加調整
   ========================================================================== */
@media (max-width: 599px) {
    /* 全体のマージン調整 */
    .post_content {
        padding: 0 1rem;
    }
    
    /* 見出しのレスポンシブ調整 */
    h2, h3, h4 {
        font-size: clamp(1.1rem, 4vw, 1.4rem);
        line-height: 1.4;
    }
    
    /* テキストの可読性向上 */
    p, li, td {
        font-size: 0.95rem;
        line-height: 1.7;
    }
    
    /* ボタンのタップエリア拡大 */
    .swell-block-button__link,
    .swl-inline-btn a {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* 画像の最適化 */
    img {
        max-width: 100%;
        height: auto;
    }
}