/* リンクの色設定 */
a {
    color: var(--color_link);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #1976D2;
    text-decoration: underline;
}@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD YELLOW
    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_bg: #ffffff;
    --color_text: #333333;
    --color_main: #FF8F00;
    --color_link: #2196F3;
    --color_htag: #FF8F00;
    --color_header_bg: #ffffff;
    --color_header_text: #333333;
    --color_footer_bg: #f8f9fa;
    --color_footer_text: #333333;
    --swl-c_global_bg: #ffffff;
    --accent_yellow: #FFC107;
    --accent_light_yellow: #FFF8E1;
}

body {
    background: #ffffff;
    color: var(--color_text);
    position: relative;
}

@keyframes sparkle {
    0% { transform: rotate(0deg) scale(1); }
    100% { transform: rotate(360deg) scale(1.1); }
}

/* ヘッダーのスタイル */
.l-header {
    background: #ffffff;
    border-bottom: 3px solid var(--accent_yellow);
    box-shadow: 0 2px 10px rgba(255, 193, 7, 0.2);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.c-headLogo__link {
    color: #333333;
    font-weight: bold;
    transition: all 0.3s ease;
}

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

.top #content {
    padding-top: 20px;
}

/* メインコンテンツエリア */
#content {
    background: #ffffff;
    border-radius: 0;
    margin: 0 auto;
    box-shadow: none;
}

/* 漫画カバー画像のサイズ調整 */
.wp-block-image {
    margin: 2em auto;
    max-width: 90%;
}

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

.wp-block-image img:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(255, 152, 0, 0.4);
}

/* 画像のSP表示時の調整 */
@media (max-width: 599px) {
    .wp-block-image {
        margin: 1.5em auto;
        max-width: 85%;
    }
    
    .wp-block-image img {
        display: block;
        margin: 0 auto;
    }
}

/* テーブルのスタイル - SP対応 */
.wp-block-table {
    margin-top: 2rem;
    overflow-x: visible !important;
}

.wp-block-table table {
    border-collapse: separate;
    border-spacing: 0;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(255, 193, 7, 0.3);
}

.wp-block-table.is-style-stripes tbody tr {
    background-color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

.wp-block-table.is-style-stripes tbody tr:nth-child(odd) {
    background-color: rgba(255, 248, 225, 0.8);
}

.wp-block-table.is-style-stripes td {
    padding: 20px 15px;
    border: none;
    vertical-align: middle;
}

.wp-block-table.is-style-stripes th {
    background: linear-gradient(45deg, #FF8F00, #FF6F00);
    color: white;
    padding: 20px 15px;
    font-weight: bold;
    text-align: center;
}

/* 作品情報テーブル専用スタイル */
.wp-block-table.td_to_th_ table {
    background: rgba(255, 255, 255, 0.9);
}

.wp-block-table.td_to_th_ td:first-child {
    background: var(--accent_light_yellow);
    color: #333333;
    font-weight: bold;
    text-align: center;
    width: 30%;
}

.wp-block-table.td_to_th_ tr:nth-child(even) {
    background: rgba(255, 235, 59, 0.1);
}

/* サービスロゴのスタイル */
img.wp-image-18, img.wp-image-23, img.wp-image-21, img.wp-image-24, img.ls {
    background-color: #fff;
    border-radius: 12px;
    padding: 8px;
    box-shadow: 0 5px 15px rgba(255, 152, 0, 0.2);
    transition: all 0.3s ease;
}

/* 見出しのスタイル */
.wp-block-heading.is-style-section_ttl {
    color: #FF6F00;
    border-bottom: 3px solid #FFD600;
    padding-bottom: 0.5em;
    margin-top: 3rem;
    margin-bottom: 2rem;
    position: relative;
    text-align: center;
}

/* マークとボタンのサイズ調整 */
img.wp-image-19, img.wp-image-20 {
    width: 50px;
    height: auto;
    transition: all 0.3s ease;
}

/* ボタンスタイル */
.swl-inline-btn a {
    border-radius: 25px;
    padding: 12px 25px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.swl-inline-btn a:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

/* 試し読みボタン */
.swl-inline-btn.is-style-btn_normal.blue_ a {
    background: linear-gradient(45deg, #2196F3, #03A9F4);
    color: white;
}

.swl-inline-btn.is-style-btn_line.blue_ a {
    background: transparent;
    border: 2px solid #2196F3;
    color: #2196F3;
}

.swl-inline-btn.is-style-btn_line.blue_ a:hover {
    background: #2196F3;
    color: white;
}

/* 価格ハイライト - デフォルトに戻す */
.swl-inline-color.has-swl-deep-04-color {
    /* デフォルトの表示に戻す */
}

/* CTA大ボタン */
.swell-block-button.red_.-size-l a {
    background: linear-gradient(45deg, #FF5722, #FF7043);
    color: white;
    padding: 25px 50px;
    border-radius: 50px;
    font-size: 1.3em;
    font-weight: bold;
    box-shadow: 0 8px 25px rgba(255, 87, 34, 0.4);
    transition: all 0.3s ease;
    text-align: center;
    display: block;
}

.swell-block-button.red_.-size-l a:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 87, 34, 0.6);
}

/* FAQのスタイル - Q/Aの余白調整 */
.swell-block-faq {
    margin-top: 2rem;
}

.swell-block-faq__item {
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.2);
    margin-bottom: 1.5rem;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.95);
    transition: all 0.3s ease;
	border: 1px solid var(--accent_yellow);
}

.faq_q {
    background: var(--accent_light_yellow);
    color: #333333;
    font-weight: bold;
    padding: 1.5rem 1.5rem 1.5rem 75px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq_q::before {
    content: "Q";
    position: absolute;
    left: 20px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: var(--color_main);
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: bold;
    font-size: 1.1em;
}

.faq_a {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 1.5rem 1.5rem 1.5rem 75px;
    position: relative;
    border-top: 2px solid rgba(255, 193, 7, 0.3);
}

.faq_a::before {
    content: "A";
    position: absolute;
    left: 20px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: #4CAF50;
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: bold;
    font-size: 1.1em;
}

/* フルワイドブロック */
.swell-block-fullWide {
    background: var(--accent_light_yellow);
    margin: 30px 0;
    position: relative;
}

/* バルーンボックス */
.is-style-balloon_box2 {
    background: var(--accent_light_yellow);
    color: #333333;
    padding: 15px 25px;
    border-radius: 25px;
    font-size: 1.1em;
    font-weight: bold;
    text-align: center;
    border: 2px solid var(--accent_yellow);
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.2);
    transition: all 0.3s ease;
}

.is-style-balloon_box2:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(255, 193, 7, 0.3);
}

.is-style-balloon_box2 a {
    color: var(--color_link) !important;
    font-weight: bold;
}

.is-style-balloon_box2 a:hover {
    color: #1976D2 !important;
}

.is-style-balloon_box2.has-text-align-center:before {
    color: var(--accent_yellow);
}

/* あらすじ強調 */
.is-style-bg_stripe {
    background: linear-gradient(45deg, rgba(255, 248, 225, 0.9), rgba(255, 245, 157, 0.9));
    border-left: 5px solid #FF8F00;
    padding: 2rem;
    border-radius: 0 15px 15px 0;
    box-shadow: 0 8px 25px rgba(255, 152, 0, 0.2);
    position: relative;
}

.is-style-bg_stripe::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 20px 20px 0;
    border-color: transparent #FFD600 transparent transparent;
}

/* フッターの調整 */
.l-footer {
    padding-top: 3rem;
    background: #f8f9fa;
    border-top: 3px solid var(--accent_yellow);
    color: #333333;
    margin-top: 60px;
}

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

.copyright {
    color: #666666;
    text-align: center;
}

.p-profileBox {
    background: #ffffff;
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid var(--accent_yellow);
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.1);
}

.p-profileBox__name {
    color: #333333;
    font-weight: bold;
}

.p-profileBox__text {
    color: #666666;
}

.p-profileBox__iconImg {
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* PR表示の調整 */
.swl-bg-color.has-swl-gray-background-color {
    background: var(--accent_yellow);
    color: #333333;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
}

/* モバイル調整 - ボタンのレスポンシブ対応を追加 */
@media (max-width: 959px) {
    .l-header__logo {
        padding: 15px 2vw;
    }
    
    .swell-block-fullWide {
        padding: 1.5rem 0;
        margin: 20px 0;
    }
    
    .is-style-balloon_box2 {
        max-width: 100%;
        padding: 15px 20px;
        font-size: 1.1em;
    }
    
    /* FAQ QA部分のモバイル調整 */
    dl.swell-block-faq div.swell-block-faq__item dt.faq_q,
    .swell-block-faq div.swell-block-faq__item dt.faq_q,
    .swell-block-faq__item dt.faq_q,
    dl.swell-block-faq dt.faq_q,
    .swell-block-faq dt.faq_q,
    dt.faq_q,
    .faq_q {
        padding: 1rem 1rem 1rem 70px !important;
        font-size: 0.95em !important;
    }
    
    dl.swell-block-faq div.swell-block-faq__item dd.faq_a,
    .swell-block-faq div.swell-block-faq__item dd.faq_a,
    .swell-block-faq__item dd.faq_a,
    dl.swell-block-faq dd.faq_a,
    .swell-block-faq dd.faq_a,
    dd.faq_a,
    .faq_a {
        padding: 1rem 1rem 1rem 70px !important;
        font-size: 0.95em !important;
    }
    
    /* QAアイコンのモバイル調整 */
    dl.swell-block-faq div.swell-block-faq__item dt.faq_q::before,
    .swell-block-faq div.swell-block-faq__item dt.faq_q::before,
    .swell-block-faq__item dt.faq_q::before,
    dl.swell-block-faq dt.faq_q::before,
    .swell-block-faq dt.faq_q::before,
    dt.faq_q::before,
    .faq_q::before,
    dl.swell-block-faq div.swell-block-faq__item dd.faq_a::before,
    .swell-block-faq div.swell-block-faq__item dd.faq_a::before,
    .swell-block-faq__item dd.faq_a::before,
    dl.swell-block-faq dd.faq_a::before,
    .swell-block-faq dd.faq_a::before,
    dd.faq_a::before,
    .faq_a::before {
        width: 30px !important;
        height: 30px !important;
        font-size: 1em !important;
        left: 20px !important;
    }
    
    /* テーブル内ボタンの調整 */
    .wp-block-table .swl-inline-btn a {
        padding: 12px 20px !important;
        font-size: 0.9em !important;
        border-radius: 20px !important;
        display: inline-block !important;
        white-space: nowrap !important;
        min-width: auto !important;
    }
    
    /* 大きなCVボタンの調整 */
    .swell-block-button.red_.-size-l a {
        padding: 18px 30px !important;
        font-size: 1.1em !important;
        border-radius: 30px !important;
        line-height: 1.4 !important;
    }
    
    /* テーブル全体の調整 */
    .wp-block-table table {
        font-size: 0.9em !important;
    }
    
    .wp-block-table th,
    .wp-block-table td {
        padding: 12px 8px !important;
    }
    
    /* サービスロゴの調整 */
    .service-logo,
    img.wp-image-18, img.wp-image-23, img.wp-image-21, img.wp-image-24 {
        width: 100px !important;
        max-width: 100px !important;
    }
    
    /* 価格表示の調整 */
    .swl-fz.u-fz-s,
    .swl-fz.u-fz-xs {
        font-size: 0.8em !important;
    }
    
    /* バルーンボックス内のリンク調整 */
    .is-style-balloon_box2 a {
        font-size: inherit !important;
    }
}

/* より小さな画面用の追加調整 */
@media (max-width: 599px) {
    .swell-block-button.red_.-size-l a {
        padding: 15px 25px !important;
        font-size: 1em !important;
        line-height: 1.5 !important;
    }
    
    .wp-block-table .swl-inline-btn a {
        padding: 10px 18px !important;
        font-size: 0.85em !important;
    }
    
    .wp-block-table th,
    .wp-block-table td {
        padding: 10px 6px !important;
        font-size: 0.85em !important;
    }
    
    /* FAQ部分のより小さな画面での調整 */
    dl.swell-block-faq div.swell-block-faq__item dt.faq_q,
    .swell-block-faq div.swell-block-faq__item dt.faq_q,
    .swell-block-faq__item dt.faq_q,
    dl.swell-block-faq dt.faq_q,
    .swell-block-faq dt.faq_q,
    dt.faq_q,
    .faq_q,
    dl.swell-block-faq div.swell-block-faq__item dd.faq_a,
    .swell-block-faq div.swell-block-faq__item dd.faq_a,
    .swell-block-faq__item dd.faq_a,
    dl.swell-block-faq dd.faq_a,
    .swell-block-faq dd.faq_a,
    dd.faq_a,
    .faq_a {
        padding: 0.8rem 0.8rem 0.8rem 60px !important;
        font-size: 0.9em !important;
    }
    
    /* より小さなQAアイコン */
    dl.swell-block-faq div.swell-block-faq__item dt.faq_q::before,
    .swell-block-faq div.swell-block-faq__item dt.faq_q::before,
    .swell-block-faq__item dt.faq_q::before,
    dl.swell-block-faq dt.faq_q::before,
    .swell-block-faq dt.faq_q::before,
    dt.faq_q::before,
    .faq_q::before,
    dl.swell-block-faq div.swell-block-faq__item dd.faq_a::before,
    .swell-block-faq div.swell-block-faq__item dd.faq_a::before,
    .swell-block-faq__item dd.faq_a::before,
    dl.swell-block-faq dd.faq_a::before,
    .swell-block-faq dd.faq_a::before,
    dd.faq_a::before,
    .faq_a::before {
        width: 28px !important;
        height: 28px !important;
        font-size: 0.9em !important;
        left: 15px !important;
    }
}

/* ナビゲーション非表示 */
.l-header__menuBtn.sp_ {
    display: none;
}

/* アニメーション効果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wp-block-table,
.swell-block-faq__item,
.wp-block-heading.is-style-section_ttl {
    animation: fadeInUp 0.6s ease-out;
}

/* ポップアップ効果 */
.pop-effect {
    transition: all 0.3s ease;
}

.pop-effect:hover {
    transform: scale(1.02);
}

/* PC表示でのFAQ余白強制修正 */
@media (min-width: 960px) {
    dl.swell-block-faq div.swell-block-faq__item dt.faq_q,
    .swell-block-faq div.swell-block-faq__item dt.faq_q,
    .swell-block-faq__item dt.faq_q,
    dl.swell-block-faq dt.faq_q,
    .swell-block-faq dt.faq_q,
    dt.faq_q,
    .faq_q {
        padding-left: 90px !important;
    }
    
    dl.swell-block-faq div.swell-block-faq__item dd.faq_a,
    .swell-block-faq div.swell-block-faq__item dd.faq_a,
    .swell-block-faq__item dd.faq_a,
    dl.swell-block-faq dd.faq_a,
    .swell-block-faq dd.faq_a,
    dd.faq_a,
    .faq_a {
        padding-left: 90px !important;
    }
    
    /* PC用QAアイコン位置 */
    dl.swell-block-faq div.swell-block-faq__item dt.faq_q::before,
    .swell-block-faq div.swell-block-faq__item dt.faq_q::before,
    .swell-block-faq__item dt.faq_q::before,
    dl.swell-block-faq dt.faq_q::before,
    .swell-block-faq dt.faq_q::before,
    dt.faq_q::before,
    .faq_q::before,
    dl.swell-block-faq div.swell-block-faq__item dd.faq_a::before,
    .swell-block-faq div.swell-block-faq__item dd.faq_a::before,
    .swell-block-faq__item dd.faq_a::before,
    dl.swell-block-faq dd.faq_a::before,
    .swell-block-faq dd.faq_a::before,
    dd.faq_a::before,
    .faq_a::before {
        left: 30px !important;
    }
    
    /* テーブル内ボタンのPC表示 */
    .wp-block-table .swl-inline-btn a {
        padding: 10px 20px !important;
        font-size: 0.9em !important;
    }
}

/* WordPress管理画面用のデータ属性追加スクリプト - head内に追加 */
.wpscript-insert {
    display: none;
}

/* ヘッダーカスタムボタン非表示 */
.l-header__customBtn.sp_ {
    display: none;
}