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


/* ================================================
   Fマガ カスタムCSS - 2026-02-08
   デザイン改善: ホバー、CTA、免責表示、カテゴリ、フッターCTA、モバイル
   ================================================ */

/* --------------------------------------------------
   1. 記事カードのホバーエフェクト
   -------------------------------------------------- */
.p-postList__item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.p-postList__item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.p-blogCard {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.p-blogCard:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

/* --------------------------------------------------
   2. CTAボタンの改善
   -------------------------------------------------- */
.swell-block-button .wp-block-button__link {
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.swell-block-button .wp-block-button__link:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(20, 180, 176, 0.35);
}

/* メインカラーCTAの強調 */
.swell-block-button.is-style-btn_normal .wp-block-button__link,
.swell-block-button.is-style-btn_solid .wp-block-button__link {
    padding: 14px 36px;
    border-radius: 30px;
    font-weight: 700;
    letter-spacing: 0.03em;
}

/* シャイニーボタンのホバー補強 */
.swell-block-button.is-style-btn_shiny .wp-block-button__link:hover {
    box-shadow: 0 6px 18px rgba(20, 180, 176, 0.4);
}

/* --------------------------------------------------
   3. YMYL免責表示のデザイン改善
   -------------------------------------------------- */
.ymyl-disclaimer {
    background: #f8f9fa !important;
    border-left: 4px solid #14b4b0 !important;
    padding: 18px 20px !important;
    margin: 0 0 24px 0 !important;
    border-radius: 0 6px 6px 0;
    font-size: 13.5px !important;
    line-height: 1.7 !important;
    color: #555;
    position: relative;
}

.ymyl-disclaimer strong {
    color: #333;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
}

.ymyl-disclaimer strong::before {
    content: "\26A0";
    font-size: 16px;
    color: #14b4b0;
}

/* --------------------------------------------------
   4. カテゴリページのヘッダー装飾
   -------------------------------------------------- */
.l-topTitleArea {
    position: relative;
}

.archive .l-topTitleArea {
    border-bottom: 3px solid #14b4b0;
    padding-bottom: 16px;
}

.archive .c-pageTitle {
    font-size: 1.5em;
    font-weight: 700;
    color: #1a1a1a;
    position: relative;
    padding-left: 16px;
}

.archive .c-pageTitle::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 70%;
    background: #14b4b0;
    border-radius: 2px;
}

/* --------------------------------------------------
   5. フッター前CTA領域
   -------------------------------------------------- */
.fmaga-footer-cta {
    background: linear-gradient(135deg, #034b60 0%, #026d6b 100%);
    padding: 48px 20px;
    text-align: center;
    margin-top: 40px;
}

.fmaga-footer-cta__inner {
    max-width: 800px;
    margin: 0 auto;
}

.fmaga-footer-cta__heading {
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 12px 0;
    line-height: 1.5;
}

.fmaga-footer-cta__subtext {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    margin: 0 0 28px 0;
    line-height: 1.6;
}

.fmaga-footer-cta__buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.fmaga-footer-cta__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    line-height: 1.4;
}

.fmaga-footer-cta__btn:hover {
    transform: translateY(-2px);
    text-decoration: none;
}

.fmaga-footer-cta__btn--primary {
    background: #14b4b0;
    color: #fff;
    box-shadow: 0 4px 14px rgba(20, 180, 176, 0.3);
}

.fmaga-footer-cta__btn--primary:hover {
    background: #11a09d;
    color: #fff;
    box-shadow: 0 6px 20px rgba(20, 180, 176, 0.45);
}

.fmaga-footer-cta__btn--secondary {
    background: #fff;
    color: #034b60;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.fmaga-footer-cta__btn--secondary:hover {
    background: #f0fafa;
    color: #034b60;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.fmaga-footer-cta__btn-icon {
    font-size: 18px;
    line-height: 1;
}

/* --------------------------------------------------
   6. モバイル対応
   -------------------------------------------------- */
@media screen and (max-width: 768px) {
    /* CTA ボタンサイズ調整 */
    .swell-block-button .wp-block-button__link {
        padding: 12px 24px;
        font-size: 14px;
    }

    /* フッターCTA モバイル対応 */
    .fmaga-footer-cta {
        padding: 36px 16px;
    }

    .fmaga-footer-cta__heading {
        font-size: 18px;
    }

    .fmaga-footer-cta__buttons {
        flex-direction: column;
        align-items: center;
    }

    .fmaga-footer-cta__btn {
        width: 100%;
        max-width: 320px;
        justify-content: center;
        padding: 14px 24px;
    }

    /* カテゴリヘッダー モバイル */
    .archive .c-pageTitle {
        font-size: 1.25em;
    }

    /* ナビゲーション視認性向上 */
    .p-spHeadMenu a {
        padding: 10px 14px;
        font-size: 13px;
    }

    /* カード内テキスト読みやすさ */
    .p-postList__title {
        font-size: 15px;
        line-height: 1.5;
    }
}

@media screen and (max-width: 480px) {
    .fmaga-footer-cta__btn {
        padding: 12px 20px;
        font-size: 14px;
    }

    .fmaga-footer-cta__heading {
        font-size: 16px;
    }

    .ymyl-disclaimer {
        padding: 14px 14px !important;
        font-size: 12.5px !important;
    }
}
