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

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

/* 漫画風カラーパレット - 原色系 */
:root {
    --manga-red: #FF0033;
    --manga-blue: #0066FF;
    --manga-yellow: #FFDD00;
    --manga-green: #00CC66;
    --manga-orange: #FF6600;
    --manga-purple: #9933FF;
    --manga-pink: #FF3399;
    
    --color_bg: #FFF8F0;
    --color_text: #2B2B2B;
    --color_main: var(--manga-red);
    --color_link: var(--manga-blue);
    --color_htag: var(--manga-red);
    --color_header_bg: #FFFFFF;
    --color_header_text: #2B2B2B;
    --color_footer_bg: #FFFFFF;
    --color_footer_text: #2B2B2B;
    --swl-c_global_bg: #FFF8F0;
    
    /* 漫画風グラデーション */
    --manga-gradient-red: linear-gradient(135deg, var(--manga-red) 0%, var(--manga-pink) 100%);
    --manga-gradient-blue: linear-gradient(135deg, var(--manga-blue) 0%, var(--manga-purple) 100%);
    --manga-shadow: 4px 4px 0px #000000;
    --manga-shadow-small: 2px 2px 0px #000000;
}

/* 全体の背景にドット柄を追加 */
body {
    background-color: var(--color_bg);
    background-image: 
        radial-gradient(circle at 25% 25%, var(--manga-yellow) 2px, transparent 2px),
        radial-gradient(circle at 75% 75%, var(--manga-pink) 2px, transparent 2px);
    background-size: 50px 50px;
    background-position: 0 0, 25px 25px;
    color: var(--color_text);
    font-family: 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'メイリオ', Meiryo, sans-serif;
}

/* ヘッダーを漫画風に */
.l-header {
    border-bottom: 4px solid var(--manga-red);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    background: linear-gradient(90deg, #FFFFFF 0%, #FFF8F0 50%, #FFFFFF 100%);
    position: relative;
}

.l-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--manga-gradient-red);
}

.l-header__logo {
    padding: 20px 0;
}

.c-headLogo__link {
    color: var(--manga-red);
    font-weight: 900;
    font-size: 1.8em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    letter-spacing: 0.05em;
}

/* 吹き出し風ボタン */
.is-style-balloon_box2 {
    background: var(--manga-yellow);
    color: #2B2B2B;
    border: 3px solid #000000;
    border-radius: 20px;
    padding: 15px 25px;
    position: relative;
    box-shadow: var(--manga-shadow);
    font-weight: bold;
    font-size: 1.2em;
}

/* 漫画カバー画像を漫画風に */
.wp-block-image {
    margin: 2em auto;
    max-width: 90%;
    position: relative;
}

.wp-block-image img {
    border: 4px solid #000000;
    border-radius: 15px;
    box-shadow: 8px 8px 0px var(--manga-red), 12px 12px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    max-width: 100%;
    height: auto;
}

.wp-block-image img:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 12px 17px 0px var(--manga-blue), 16px 21px 30px rgba(0, 0, 0, 0.4);
}

/* セクション見出しをシンプルに */
.wp-block-heading.is-style-section_ttl {
    background: transparent;
    color: var(--manga-red);
    border: none;
    border-bottom: 4px solid var(--manga-red);
    border-radius: 0;
    padding: 10px 0;
    margin: 3rem 0 2rem;
    position: relative;
    box-shadow: none;
    font-weight: 900;
    font-size: 1.8em;
    text-align: left;
    letter-spacing: 0.05em;
}

/* テーブルを漫画風に */
.wp-block-table {
    margin-top: 2rem;
    border: 4px solid #000000;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--manga-shadow);
}

.wp-block-table.is-style-stripes tbody tr {
    border: none;
}

.wp-block-table.is-style-stripes tbody tr:nth-child(odd) {
    background: linear-gradient(90deg, #FFE6F0 0%, #E6F7FF 100%);
}

.wp-block-table.is-style-stripes tbody tr:nth-child(even) {
    background: linear-gradient(90deg, #E6F7FF 0%, #FFE6F0 100%);
}

.wp-block-table.is-style-stripes td {
    padding: 20px 15px;
    border: 2px solid #000000;
    font-weight: bold;
}

.wp-block-table.is-style-stripes th {
    background: var(--manga-gradient-blue);
    color: #FFFFFF;
    font-weight: 900;
    padding: 20px 15px;
    border: 2px solid #000000;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* サービスロゴを漫画風に */
img.wp-image-18, 
img.wp-image-23, 
img.wp-image-21, 
img.wp-image-24, 
img.ls,
img[alt="BookLive!"] {
    background: #FFFFFF;
    border: 3px solid #000000;
    border-radius: 15px;
    padding: 10px;
    box-shadow: var(--manga-shadow-small);
    transition: all 0.3s ease;
}

img.wp-image-18:hover, 
img.wp-image-23:hover, 
img.wp-image-21:hover, 
img.wp-image-24:hover, 
img.ls:hover,
img[alt="BookLive!"]:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 6px 9px 0px var(--manga-blue), 10px 13px 15px rgba(0, 0, 0, 0.3);
}

/* マルバツアイコン */
img.wp-image-19, img.wp-image-20 {
    width: 60px;
    height: 60px;
    border: none;
    border-radius: 0;
    box-shadow: none;
    transition: all 0.3s ease;
    object-fit: contain;
}

img.wp-image-19:hover, img.wp-image-20:hover {
    transform: scale(1.1);
}

/* ボタンを漫画風に */
.swl-inline-btn.is-style-btn_normal a,
.swl-inline-btn.is-style-btn_solid a {
    background: var(--manga-gradient-red);
    border: 3px solid #000000;
    border-radius: 25px;
    color: #FFFFFF;
    font-weight: 900;
    padding: 12px 24px;
    box-shadow: var(--manga-shadow);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.swl-inline-btn.is-style-btn_normal a:hover,
.swl-inline-btn.is-style-btn_solid a:hover {
    background: var(--manga-gradient-blue);
    transform: translateY(-3px);
    box-shadow: 6px 9px 0px #000000, 10px 13px 20px rgba(0, 0, 0, 0.3);
}

.swl-inline-btn.is-style-btn_line a {
    background: transparent;
    border: 3px solid var(--manga-blue);
    color: var(--manga-blue);
    font-weight: 900;
    padding: 12px 24px;
    border-radius: 25px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.swl-inline-btn.is-style-btn_line a:hover {
    background: var(--manga-blue);
    color: #FFFFFF;
    transform: scale(1.05);
}

/* 大きなボタン（CVボタン用） */
.swell-block-button a {
    background: var(--manga-gradient-red);
    border: 4px solid #000000;
    border-radius: 30px;
    color: #FFFFFF;
    font-weight: 900;
    font-size: 1.3em;
    padding: 20px 60px 20px 40px;
    box-shadow: 8px 8px 0px #000000, 12px 12px 25px rgba(0, 0, 0, 0.3);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
    text-decoration: none;
}

.swell-block-button a::after {
    content: '＞';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5em;
    color: #FFFFFF;
    font-weight: bold;
}

.swell-block-button a:hover {
    background: var(--manga-gradient-blue);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 12px 17px 0px #000000, 16px 21px 30px rgba(0, 0, 0, 0.4);
}

/* あらすじ部分を青にして目立つデザインに */
.is-style-bg_stripe {
    background: var(--manga-gradient-blue);
    color: #FFFFFF;
    border: 4px solid #000000;
    border-radius: 15px;
    padding: 25px;
    box-shadow: var(--manga-shadow);
    position: relative;
    font-weight: bold;
    line-height: 1.8;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.is-style-bg_stripe::before {
    content: 'あらすじ';
    position: absolute;
    top: -15px;
    left: 20px;
    background: var(--manga-yellow);
    color: #000000;
    border: 2px solid #000000;
    border-radius: 20px;
    padding: 5px 15px;
    font-size: 0.9em;
    font-weight: 900;
    box-shadow: var(--manga-shadow-small);
}

/* FAQ部分を漫画風に（確実に20pxの余白を確保） */
.swell-block-faq__item {
    border: 3px solid #000000;
    border-radius: 15px;
    box-shadow: var(--manga-shadow);
    margin-bottom: 2rem;
    overflow: hidden;
}

dt.faq_q,
.faq_q {
    background: var(--manga-gradient-blue) !important;
    color: #FFFFFF !important;
    font-weight: 900;
    padding: 20px 20px 20px 70px !important;
    position: relative;
    border-bottom: 3px solid #000000;
    margin: 0 !important;
    margin-left: 0 !important;
}

dt.faq_q::before,
.faq_q::before {
    content: 'Q';
    position: absolute !important;
    top: 20px !important;
    left: 25px !important;
    background: var(--manga-yellow);
    color: #000000;
    border: 2px solid #000000;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    box-shadow: var(--manga-shadow-small);
    font-size: 16px;
}

dd.faq_a,
.faq_a {
    background: #FFFFFF !important;
    padding: 25px 25px 25px 70px !important;
    position: relative;
    font-weight: bold;
    margin: 0 !important;
    margin-left: 0 !important;
}

dd.faq_a::before,
.faq_a::before {
    content: 'A';
    position: absolute !important;
    top: 25px !important;
    left: 25px !important;
    background: var(--manga-red);
    color: #FFFFFF;
    border: 2px solid #000000;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    box-shadow: var(--manga-shadow-small);
    font-size: 16px;
}

/* PR表示を漫画風に */
.swl-bg-color.has-swl-gray-background-color {
    background: var(--manga-orange);
    color: #000000;
    border: 2px solid #000000;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.9em;
    font-weight: bold;
    box-shadow: var(--manga-shadow-small);
}

/* フッターを漫画風に */
.l-footer {
    background: linear-gradient(135deg, #FFFFFF 0%, #FFF8F0 100%);
    border-top: 4px solid var(--manga-red);
    padding-top: 3rem;
    position: relative;
}

.l-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--manga-gradient-red);
}

.copyright {
    color: var(--manga-blue);
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

/* ページトップボタンも漫画風に */
#pagetop {
    background: var(--manga-gradient-red);
    border: 3px solid #000000;
    border-radius: 50%;
    box-shadow: var(--manga-shadow);
    transition: all 0.3s ease;
}

#pagetop:hover {
    background: var(--manga-gradient-blue);
    transform: scale(1.1);
}

/* 追加の漫画風エフェクト */
.post_content h2:not(.is-style-section_ttl) {
    color: var(--manga-red);
    font-weight: 900;
    border-left: 8px solid var(--manga-blue);
    padding-left: 15px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

/* モバイル対応 */
@media (max-width: 599px) {
    .wp-block-image {
        margin: 1.5em auto;
        max-width: 90%;
    }
    
    .wp-block-heading.is-style-section_ttl {
        font-size: 1.5em;
        padding: 8px 0;
    }
    
    .swell-block-button a {
        font-size: 1.1em;
        padding: 15px 50px 15px 25px;
    }
    
    dt.faq_q,
    .faq_q {
        padding-left: 60px !important;
    }
    
    dd.faq_a,
    .faq_a {
        padding-left: 60px !important;
    }
    
    dt.faq_q::before,
    .faq_q::before {
        left: 20px !important;
        width: 25px;
        height: 25px;
        font-size: 14px;
        top: 22px !important;
    }
    
    dd.faq_a::before,
    .faq_a::before {
        left: 20px !important;
        width: 25px;
        height: 25px;
        font-size: 14px;
        top: 27px !important;
    }
    
    /* スマホでのテーブル内ロゴサイズ調整（サービスロゴのみ） */
    .wp-block-table.is-style-stripes td img[alt="DLsite"],
    .wp-block-table.is-style-stripes td img[alt="コミックシーモア"],
    .wp-block-table.is-style-stripes td img[alt="まんが王国"],
    .wp-block-table.is-style-stripes td img[alt="ebookjapan"],
    .wp-block-table.is-style-stripes td img[alt="BookLive!"] {
        width: 120px !important;
        min-width: 120px;
        height: auto;
    }
    
    /* スマホでのマルバツアイコン調整（○×のみ小さく） */
    .wp-block-table.is-style-stripes td img[alt="◎"],
    .wp-block-table.is-style-stripes td img[alt="×"] {
        width: 30px !important;
        height: 30px !important;
    }
    
    /* スマホでのボタンサイズ調整 */
    .wp-block-table .swl-inline-btn a {
        padding: 10px 16px;
        font-size: 0.9em;
        min-width: 80px;
        text-align: center;
    }
    
    /* スマホでのテーブルセル調整 */
    .wp-block-table.is-style-stripes td {
        padding: 15px 10px;
        min-width: 100px;
    }
}

@media (max-width: 959px) {
    .l-header__logo {
        padding: 20px 2vw;
    }
    
    .c-headLogo__link {
        font-size: 1.5em;
    }
}