/*
Theme Name: Swipe LP Theme
Description: スマホ時代の新常識、スワイプ型LP(ランディングページ)専用WordPressテーマ
Author: 株式会社MERC × Fairy House
Author URI: https://merc.co.jp/
Version: 1.2.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: swipe-lp-theme
Tags: landing-page, swipe, mobile-first, business, one-page
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
*/

/* ========================================
   基本的なリセット・ノーマライズ
======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    line-height: 1.6;
    scroll-behavior: auto !important; /* スムーズスクロール完全無効 */
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans JP", Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    line-height: 1.6;
    color: rgb(97, 97, 97);
    background-color: #fff;
    overflow-x: hidden;
    animation: none !important; /* body レベルのアニメーション無効 */
    transform: none !important;
    transition: none !important;
}

/* ========================================
   ★★★ top-containerの幅設定と中央寄せ ★★★
======================================== */

.top-container {
    width: 40%;
    margin: 0 auto;
}

/* 透過対応版 */
body:not(.page-template-page-lp) .top-container {
    width: 40%;
    margin: 0 auto;
    background: transparent !important;
}

/* タブレット対応(768px以下) */
@media (max-width: 768px) {
    .top-container {
        width: 40% !important;
        margin: 0 auto !important;
    }
}

/* スマートフォン対応(480px以下) */
@media (max-width: 480px) {
    .top-container {
        width: 100% !important;
        margin: 0 auto !important;
    }
}

/* ========================================
   通常ページ専用背景画像設定
======================================== */

/* 通常ページのみに背景画像を適用(LPページは除外) */
body:not(.page-template-page-lp) {
    background-image: url('img/background.jpg');
    background-attachment: fixed;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 100vh;
}

/* ========================================
   パーティクルアニメーション
======================================== */

/* パーティクルコンテナ(通常ページのみ) */
body:not(.page-template-page-lp) .particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;  /* パーティクルレイヤー */
    overflow: hidden;
}

/* 各パーティクル */
.circle-container {
    position: absolute;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    transform: translateY(-10vh);
}

/* パーティクルの光る円 */
.circle {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    mix-blend-mode: screen;
    background-image: radial-gradient(
        #c9183b,
        #c9183b 10%,
        rgba(201, 24, 59, 0) 56%
    );
    animation: fade-frames 200ms infinite, scale-frames 2s infinite;
}

/* フェードアニメーション */
@keyframes fade-frames {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

/* スケールアニメーション */
@keyframes scale-frames {
    0% { transform: scale3d(0.4, 0.4, 1); }
    50% { transform: scale3d(2.2, 2.2, 1); }
    100% { transform: scale3d(0.4, 0.4, 1); }
}

/* パーティクル個別設定は動的にJavaScriptで生成 */

/* パーティクルより上に表示されるコンテンツ */
body:not(.page-template-page-lp) .site-wrapper {
    position: relative;
    z-index: 10;  /* パーティクルより前面に配置 */
}

/* 通常ページの基本レイアウト調整 */
body:not(.page-template-page-lp) {
    position: relative;
}

/* メインコンテンツをパーティクルより前面に */
body:not(.page-template-page-lp) .site-header {
    z-index: 1000;  /* ヘッダーは最前面 */
}

body:not(.page-template-page-lp) .site-main {
    position: relative;
    z-index: 10;  /* メインコンテンツ */
}

/* ========================================
   ★★★ 透過対応レイアウト構造(階層簡略化版) ★★★
======================================== */

/* 通常ページのメインコンテナ(階層簡略化・半透明背景) */
body:not(.page-template-page-lp) .page-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0;
    background: rgba(255, 255, 255, 0.25) !important;  /* 半透明白背景を維持 */
    border-radius: 50px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);  /* Safari対応 */
    position: relative;
    z-index: 2;
    border: 1px solid #fff;
    overflow: hidden;
}

/* ★★★ 個別要素の透過設定 ★★★ */
body:not(.page-template-page-lp) .page-container .page-header {
    padding: 2rem 3rem 1rem;
    background: transparent !important;  /* ヘッダー部分は完全透明 */
    border: none;
    margin: 0;
}

body:not(.page-template-page-lp) .page-container .entry-content {
    padding: 0 3rem 3rem 3rem;
    background: transparent !important;  /* コンテンツ部分も完全透明 */
}

/* ========================================
   通常ページ専用スタイル調整(階層簡略化版)
======================================== */

/* 通常ページのpage-headerスタイル(簡略化) */
body:not(.page-template-page-lp) .page-header {
    background: transparent;
    border: none;
    padding: 2rem 3rem 1rem;
    margin: 0;
    text-align: center;
}

body:not(.page-template-page-lp) .page-header::before {
    display: none;
}

/* 通常ページのpage-titleスタイル調整 */
body:not(.page-template-page-lp) .page-title {
    font-size: 1.7rem;
    font-weight: 600;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
    position: relative;
    color: rgb(97, 97, 97);
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.8);  /* 可読性向上 */
}

/* タイトル下に適度な長さの灰色の線 */
body:not(.page-template-page-lp) .page-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 2px;
    background-color: rgba(204, 204, 204, 0.6);
    margin: 1rem auto 0;
    position: relative;
}

/* ページ要約文(透過対応) */
body:not(.page-template-page-lp) .page-excerpt {
    color: #6c757d;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.6);
    max-width: 600px;
    margin: 0 auto;
}

/* コピーライト(簡略化版) */
body:not(.page-template-page-lp) .page-copyright {
    padding: 20px;
    font-size: 14px;
    text-align: center;
    color: #666;
    background-color: transparent;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

/* ========================================
   ★★★ 選択的アニメーション無効化(インタラクティブ要素は完全除外) ★★★
======================================== */

/* 通常ページのメインコンテンツエリアの静的要素のみアニメーション無効化 */
/* インタラクティブ要素（a, button, input, textarea, select）は完全に除外 */
body:not(.page-template-page-lp) .entry-content > p,
body:not(.page-template-page-lp) .entry-content > div:not(:has(a, button, input, textarea, select)),
body:not(.page-template-page-lp) .entry-content > h1,
body:not(.page-template-page-lp) .entry-content > h2,
body:not(.page-template-page-lp) .entry-content > h3,
body:not(.page-template-page-lp) .entry-content > h4,
body:not(.page-template-page-lp) .entry-content > h5,
body:not(.page-template-page-lp) .entry-content > h6,
body:not(.page-template-page-lp) .page-content > p,
body:not(.page-template-page-lp) .page-content > div:not(:has(a, button, input, textarea, select)),
body:not(.page-template-page-lp) .post-content > p,
body:not(.page-template-page-lp) .post-content > div:not(:has(a, button, input, textarea, select)) {
    /* 静的コンテンツのみ */
}

/* パーティクルコンテナは常にアニメーション有効 */
.particles-container,
.circle-container,
.circle,
.particle-element {
    animation: inherit !important;
    transition: inherit !important;
    transform: inherit !important;
}

/* 通常ページの特定要素のアニメーション無効（インタラクティブ要素以外） */
body:not(.page-template-page-lp) .fadeIn:not(a):not(button):not(input):not(textarea):not(select),
body:not(.page-template-page-lp) .fadeInUp:not(a):not(button):not(input):not(textarea):not(select),
body:not(.page-template-page-lp) .fadeInDown:not(a):not(button):not(input):not(textarea):not(select),
body:not(.page-template-page-lp) .fadeInLeft:not(a):not(button):not(input):not(textarea):not(select),
body:not(.page-template-page-lp) .fadeInRight:not(a):not(button):not(input):not(textarea):not(select),
body:not(.page-template-page-lp) .slideInUp:not(a):not(button):not(input):not(textarea):not(select),
body:not(.page-template-page-lp) .slideInDown:not(a):not(button):not(input):not(textarea):not(select),
body:not(.page-template-page-lp) .animated:not(a):not(button):not(input):not(textarea):not(select),
body:not(.page-template-page-lp) .wow:not(a):not(button):not(input):not(textarea):not(select),
body:not(.page-template-page-lp) .aos-animate:not(a):not(button):not(input):not(textarea):not(select) {
    opacity: 1 !important;
}

/* 通常ページのコンテンツを即座に表示（transitionは無効化しない） */
body:not(.page-template-page-lp) .site-main,
body:not(.page-template-page-lp) main,
body:not(.page-template-page-lp) article {
    opacity: 1 !important;
    animation: none !important;
}

/* ★★★ 静的なコンテンツ要素のみアニメーション無効化 ★★★ */
body:not(.page-template-page-lp) .entry-content p:not(:hover),
body:not(.page-template-page-lp) .entry-content div:not(:hover),
body:not(.page-template-page-lp) .entry-content h1:not(:hover),
body:not(.page-template-page-lp) .entry-content h2:not(:hover),
body:not(.page-template-page-lp) .entry-content h3:not(:hover),
body:not(.page-template-page-lp) .entry-content h4:not(:hover),
body:not(.page-template-page-lp) .entry-content h5:not(:hover),
body:not(.page-template-page-lp) .entry-content h6:not(:hover),
body:not(.page-template-page-lp) .entry-content span:not(:hover),
body:not(.page-template-page-lp) .entry-content li:not(:hover) {
    /* テキスト要素の不要なアニメーションのみ無効化 */
}

/* ★★★ これらのコンテナは子要素のtransitionを阻害しない ★★★ */
body:not(.page-template-page-lp) .site-main *,
body:not(.page-template-page-lp) main *,
body:not(.page-template-page-lp) article * {
    /* 子要素のtransitionは個別に制御 - ここでは何も無効化しない */
}

/* ★★★ 重要: インタラクティブ要素のアニメーションは強制的に有効化 ★★★ */
/* ヘッダーナビゲーション */
.nav-menu a,
.nav-menu a::after,
.site-logo a,
.site-logo img,
.menu-toggle {
    transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1) !important;
}

/* すべてのリンク */
body:not(.page-template-page-lp) a,
body:not(.page-template-page-lp) .entry-content a,
body:not(.page-template-page-lp) .swpm-forgot-pass-link,
body:not(.page-template-page-lp) .swpm-logged-logout-link,
body:not(.page-template-page-lp) .swpm-edit-profile-link,
body:not(.page-template-page-lp) .swpm-terms-row a,
body:not(.page-template-page-lp) .swpm-pp-row a {
    transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1) !important;
}

/* すべてのボタン */
body:not(.page-template-page-lp) button,
body:not(.page-template-page-lp) .swpm-login-form-submit,
body:not(.page-template-page-lp) .swpm-submit,
body:not(.page-template-page-lp) .swpm-profile-submit-button,
body:not(.page-template-page-lp) .wp-block-button__link,
body:not(.page-template-page-lp) .wp-block-button a,
body:not(.page-template-page-lp) .swpm-subscription-button-submit,
body:not(.page-template-page-lp) .swpm-button-wrapper input[type="submit"],
body:not(.page-template-page-lp) [type="submit"],
body:not(.page-template-page-lp) .comment-form input[type="submit"],
body:not(.page-template-page-lp) .existing-lp-btn {
    transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1) !important;
}

/* すべての入力フィールド */
body:not(.page-template-page-lp) input,
body:not(.page-template-page-lp) textarea,
body:not(.page-template-page-lp) select,
body:not(.page-template-page-lp) .swpm-text-field,
body:not(.page-template-page-lp) .swpm-form-input-wrap input,
body:not(.page-template-page-lp) .comment-form input[type="text"],
body:not(.page-template-page-lp) .comment-form input[type="email"],
body:not(.page-template-page-lp) .comment-form input[type="url"],
body:not(.page-template-page-lp) .comment-form textarea {
    transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1) !important;
}

/* チェックボックス */
body:not(.page-template-page-lp) [type="checkbox"],
body:not(.page-template-page-lp) .swpm-login-widget-form input[type="checkbox"],
body:not(.page-template-page-lp) #swpm-rememberme,
body:not(.page-template-page-lp) #swpm-accept-terms,
body:not(.page-template-page-lp) #swpm-accept-pp {
    transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1) !important;
}

/* ページリンク */
body:not(.page-template-page-lp) .page-links a,
body:not(.page-template-page-lp) .page-links span {
    transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1) !important;
}

/* ========================================
   タイポグラフィ
======================================== */

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: rgb(97, 97, 97);
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.25rem;
    color: #c9183b;
}

h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

h5 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

h6 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

p {
    margin-bottom: 1.2rem;
    line-height: 1.8;
}

a {
    color: #c9183b;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1) !important;
}

a:hover, a:focus {
    color: #b8102f;
    text-decoration: underline;
}

strong, b {
    font-weight: 700;
    color: rgb(97, 97, 97);
}

em, i {
    font-style: italic;
}

/* ========================================
   基本的なレイアウト
======================================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ページコンテナ(新規追加) */
.page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

.site-main {
    min-height: calc(100vh - 200px);
    padding: 2rem 0;
}

/* ========================================
   ★★★ ヘッダー関連(共通設定・アニメーション保持) ★★★
======================================== */

.site-header {
    box-shadow: none !important;
    background: #fff;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: transform 0.4s cubic-bezier(0.4, 0.0, 0.2, 1), box-shadow 0.4s cubic-bezier(0.4, 0.0, 0.2, 1) !important;
}

.user-dropdown{
    box-shadow: 2px 4px 5px rgba(0, 0, 0, 0.05);
    border: none;
}

.site-header.header-hide {
    transform: translateY(-100%);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   ★★★ ログイン画面(page-id-10)でのヘッダー非表示 ★★★
======================================== */

body.page-id-792 .site-header {
    display: none !important;
}

body.page-id-10 .page-title,body.page-id-792 .page-title,body.page-id-9 .page-title {
    display: none !important;
}

/* ========================================
   ★★★ 読書進行バー非表示 ★★★
======================================== */

.reading-progress-bar {
    display: none !important;
}

/* ========================================
   ★★★ ヘッダーナビゲーション(ふわっとアニメーション強化) ★★★
======================================== */

.nav-menu {
    position: relative;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-menu li {
    position: relative;
    margin: 0;
}

.nav-menu a {
    display: block;
    padding: 20px 25px;
    color: rgb(97, 97, 97);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    position: relative;
    border-bottom: 3px solid transparent;
    transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1) !important;
}

/* ホバー時の色変更（持ち上がらない） */
.nav-menu a:hover,
.nav-menu a:focus {
    color: #c9183b !important;
    text-decoration: none !important;
}

/* ★★★ ヘッダーメニューの赤い帯アニメーション ★★★ */
.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    right: 0;
    width: 0;
    height: 3px;
    background: #c9183b;
    margin: 0 auto;
    border-radius: 2px 2px 0 0;
    transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1) !important;
}

/* ホバー時に赤い帯が伸びるアニメーション */
.nav-menu a:hover::after,
.nav-menu a:focus::after {
    width: 100%;
}

/* アクティブ(現在のページ)の赤い帯 */
.nav-menu .current-menu-item a::after,
.nav-menu .current_page_item a::after,
.nav-menu .current-page-ancestor a::after {
    width: 100%;
}

/* アクティブメニューの色 */
.nav-menu .current-menu-item a,
.nav-menu .current_page_item a,
.nav-menu .current-page-ancestor a {
    color: #c9183b;
}

/* ========================================
   ヘッダーロゴ
======================================== */

.site-logo {
    display: flex;
    align-items: center;
}

.site-logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: rgb(97, 97, 97);
    font-size: 24px;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.site-logo a:hover {
    transform: scale(1.05);
    text-decoration: none;
}

.site-logo img {
    max-height: 40px;
    width: auto;
    margin-right: 10px;
    transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.site-logo img:hover {
    transform: scale(1.1);
}

/* ========================================
   モバイルメニュー(アニメーション保持)
======================================== */

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 20px;
    color: rgb(97, 97, 97);
    cursor: pointer;
    padding: 10px;
    transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.menu-toggle:hover {
    transform: scale(1.1);
    color: #c9183b;
}

/* ★★★ ハンバーガーアイコンアニメーション保持 ★★★ */
.menu-toggle .hamburger {
    transition: all 0.3s ease !important;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .site-navigation {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;

        display: none;
        transition: all 0.3s ease !important;
    }
    
    .site-navigation.active {
        display: block;
    }
    
    .site-navigation ul {
        flex-direction: column;
        padding: 20px 0;
    }
    
    .site-navigation a {
        padding: 15px 25px;
        border-bottom: 1px solid #fff;
        transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1) !important;
    }
    
    .site-navigation a::after {
        display: none;
    }
    
    .site-navigation a:hover {
        background: rgba(201, 24, 59, 0.05);
        transform: translateX(5px);
    }
}

/* ========================================
   ページヘッダー(デフォルト)
======================================== */

.page-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 3rem 0 2rem;
    margin-bottom: 3rem;
    border-bottom: 3px solid #c9183b;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #c9183b 0%, #b8102f 50%, #c9183b 100%);
}

.page-title-wrapper {
    text-align: center;
    margin-bottom: 0;
}

.page-title {
    font-size: 2.5rem;
    color: rgb(97, 97, 97);
    margin-bottom: 1rem;
    font-weight: 700;
    position: relative;
}

.page-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #c9183b, #b8102f);
    margin: 1rem auto;
    border-radius: 2px;
}

.page-excerpt {
    font-size: 1.2rem;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ========================================
   記事・ページレイアウト(階層簡略化・透過対応)
======================================== */

/* エントリーコンテンツ(透過対応) */
body:not(.page-template-page-lp) .entry-content {
    padding: 0 3rem 3rem 3rem;
    line-height: 1.8;
    font-size: 1.05rem;
    background: transparent !important;
}

.entry-content {
    padding: 0 3rem 4rem 3rem;
    line-height: 1.8;
    font-size: 1.05rem;
}

/* コンテンツ内のテキスト要素の可読性向上 */
body:not(.page-template-page-lp) .entry-content p,
body:not(.page-template-page-lp) .entry-content li,
body:not(.page-template-page-lp) .entry-content td {
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

/* 見出し2(透過対応) */
body:not(.page-template-page-lp) .entry-content h2 {
    border-left: 5px solid #c9183b;
    padding-left: 1.5rem;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    background: rgba(248, 249, 250, 0.5);  /* 半透明背景 */
    padding: 1rem 1.5rem;
    border-radius: 0 8px 8px 0;
    position: relative;
}

.entry-content h2 {
    border-left: 5px solid #c9183b;
    padding-left: 1.5rem;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, rgba(201, 24, 59, 0.03) 100%);
    padding: 1rem 1.5rem;
    border-radius: 0 8px 8px 0;
    position: relative;
}

.entry-content h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(180deg, #c9183b 0%, #b8102f 100%);
    border-radius: 0 2px 2px 0;
}

/* 見出し3(透過対応) */
body:not(.page-template-page-lp) .entry-content h3 {
    color: #c9183b;
    margin-top: 2.5rem;
    margin-bottom: 1.2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(241, 243, 244, 0.5);
    position: relative;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

.entry-content h3 {
    color: #c9183b;
    margin-top: 2.5rem;
    margin-bottom: 1.2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #fff;
    position: relative;
}

.entry-content h3::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: #c9183b;
    border-radius: 1px;
}

.entry-content h4 {
    color: rgb(97, 97, 97);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.entry-content h5, .entry-content h6 {
    color: #6c757d;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    line-height: 1.5;
}

.entry-content ul, .entry-content ol {
    margin-left: 2rem;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    padding-left: 0;
}

.entry-content ul li, .entry-content ol li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 0.5rem;
}

.entry-content ul li::before {
    content: '▶';
    color: #c9183b;
    font-weight: bold;
    position: absolute;
    left: -1.5rem;
    top: 0;
}

.entry-content ol {
    counter-reset: ol-counter;
}

.entry-content ol li {
    counter-increment: ol-counter;
}

.entry-content ol li::before {
    content: counter(ol-counter);
    background: #c9183b;
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    position: absolute;
    left: -2rem;
    top: 2px;
}

/* 引用ブロック(透過対応) */
body:not(.page-template-page-lp) .entry-content blockquote {
    background: rgba(248, 249, 250, 0.5);  /* 半透明背景 */
    border-left: 4px solid #c9183b;
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    font-style: italic;
    border-radius: 0 8px 8px 0;
    position: relative;
    color: #495057;
}

.entry-content blockquote {
    background: linear-gradient(135deg, #f8f9fa 0%, rgba(201, 24, 59, 0.05) 100%);
    border-left: 4px solid #c9183b;
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    font-style: italic;
    border-radius: 0 8px 8px 0;
    position: relative;
    color: #495057;
}

.entry-content blockquote::before {
    display: none;
    content: '"';
    font-size: 4rem;
    color: #c9183b;
    opacity: 0.3;
    position: absolute;
    top: -10px;
    left: 20px;
    font-family: serif;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    margin: 1.5rem 0;
}

/* テーブル(透過対応) */
body:not(.page-template-page-lp) .entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: rgba(255, 255, 255, 0.8);  /* 半透明白背景 */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.entry-content table th,
.entry-content table td {
    padding: 1rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid #fff;
}

body:not(.page-template-page-lp) .entry-content table th {
    background: rgba(201, 24, 59, 0.9);  /* 半透明赤背景 */
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.entry-content table th {
    background: linear-gradient(135deg, #c9183b 0%, #b8102f 100%);
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

body:not(.page-template-page-lp) .entry-content table tr:hover {
    background: rgba(201, 24, 59, 0.05);
}

.entry-content table tr:hover {
    background: rgba(201, 24, 59, 0.03);
}

.entry-content table tr:last-child td {
    border-bottom: none;
}

/* コピーライト(透過対応) */
body:not(.page-template-page-lp) .page-copyright {
    background-color: transparent !important;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

/* ========================================
   ページリンク・ページネーション
======================================== */

.page-links {
    margin: 2.5rem 0;
    text-align: center;
    padding: 2rem;
    background: rgba(248, 249, 250, 0.8);
    border-radius: 8px;
    border: 1px solid rgba(233, 236, 239, 0.8);
}

.page-links-title {
    display: block;
    margin-bottom: 1rem;
    color: #495057;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.page-links a, .page-links span {
    display: inline-block;
    padding: 0.75rem 1.25rem;
    margin: 0 0.25rem 0.5rem;
    background: #fff;
    border: 2px solid #e9ecef;
    border-radius: 25px;
    text-decoration: none;
    color: #495057;
    font-weight: 500;
    transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
    min-width: 45px;
    text-align: center;
}

.page-links a:hover {
    background: #c9183b;
    color: white;
    border-color: #c9183b;
    transform: translateY(-3px) !important;
    box-shadow: 0 6px 20px rgba(142, 38, 60, 0.35);
}

.page-links .current {
    background: linear-gradient(135deg, #c9183b 0%, #b8102f 100%);
    color: white;
    border-color: #c9183b;
    box-shadow: 0 2px 10px rgba(142, 38, 60, 0.3);
}

/* ========================================
   コメント
======================================== */

.comments-area {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 3rem;
    margin-top: 3rem;
    border: 1px solid rgba(241, 243, 244, 0.8);
}

.comments-title {
    color: rgb(97, 97, 97);
    font-size: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #fff;
    position: relative;
}

.comments-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 80px;
    height: 2px;
    background: #c9183b;
}

.comment-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.comment {
    border-bottom: 1px solid #fff;
    padding: 2rem 0;
    position: relative;
}

.comment:last-child {
    border-bottom: none;
}

.comment-author {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: rgb(97, 97, 97);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.comment-meta {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 1rem;
    display: flex;
    gap: 1rem;
    align-items: center;
}

.comment-content {
    line-height: 1.7;
    color: #495057;
    padding-left: 0;
}

.comment-content p:last-child {
    margin-bottom: 0;
}

/* コメント階層表示 */
.children {
    margin-left: 2rem;
    padding-left: 2rem;
    border-left: 2px solid #fff;
}

/* ========================================
   フォーム (ふわっとアニメーション強化)
======================================== */

.comment-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #495057;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
    font-family: inherit;
    background: #fff;
}

.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus,
.comment-form textarea:focus {
    border-color: #c9183b;
    outline: none;
    box-shadow: 0 0 0 4px rgba(201, 24, 59, 0.15);
    transform: translateY(-2px);
}

.comment-form textarea {
    min-height: 120px;
    resize: vertical;
}

.comment-form input[type="submit"] {
    background: linear-gradient(135deg, #c9183b 0%, #b8102f 100%);
    color: white;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(142, 38, 60, 0.3);
}

.comment-form input[type="submit"]:hover {
    background: linear-gradient(135deg, #b8102f 0%, #a00e29 100%);
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 25px rgba(142, 38, 60, 0.45);
}

.comment-form input[type="submit"]:active {
    transform: translateY(-1px) scale(1.01);
    box-shadow: 0 4px 15px rgba(142, 38, 60, 0.3);
}

/* ========================================
   Simple WP Membership ログインフォーム(透過対応・ふわっとアニメーション強化)
======================================== */

body:not(.page-template-page-lp) .swpm-login-widget-form {
    width: 65%;
    margin: 0 auto;
    background: transparent !important;
}

.swpm-login-widget-form {
    width: 65%;
    margin: 0 auto;
}

/* 登録フォームも同じ幅に設定 */
body:not(.page-template-page-lp) .swpm-registration-widget-form {
    width: 65%;
    margin: 0 auto;
    background: transparent !important;
}

.swpm-registration-widget-form {
    width: 65%;
    margin: 0 auto;
}

/* 編集プロフィールフォームも同じ幅に設定 */
body:not(.page-template-page-lp) .swpm-edit-profile-form {
    width: 65%;
    margin: 0 auto;
    background: transparent !important;
}

.swpm-edit-profile-form {
    width: 65%;
    margin: 0 auto;
}

/* 一般的なinput要素には影響させない */
.swpm-login-widget-form input {
    width: auto;
}

/* SWMPテキストフィールド(透過調整・ふわっとアニメーション) */
body:not(.page-template-page-lp) .swpm-login-widget-form .swpm-text-field,
body:not(.page-template-page-lp) .swpm-login-widget-form input.swpm-text-field,
body:not(.page-template-page-lp) .swpm-registration-widget-form .swpm-text-field,
body:not(.page-template-page-lp) .swpm-registration-widget-form input.swpm-text-field {
    width: 100% !important;
    border-radius: 10px;
    height: 50px;
    background: rgba(136, 136, 136, 0.7) !important;  /* 透過度を高める */
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0 15px;
    margin-bottom: 10px;
    transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1) !important;
    transform: translateZ(0);
    backface-visibility: hidden;
    will-change: background-color, box-shadow, color;
}

/* swmp-text-fieldのみに特別なスタイルを適用 */
.swpm-login-widget-form .swpm-text-field,
.swpm-login-widget-form input.swpm-text-field,
.swpm-registration-widget-form .swpm-text-field,
.swpm-registration-widget-form input.swpm-text-field {
    width: 100% !important;
    border-radius: 10px;
    height: 50px;
    background: rgba(136, 136, 136, 0.9);
    color: white;
    border: none;
    padding: 0 15px;
    margin-bottom: 10px;
    transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1) !important;
    transform: translateZ(0);
    backface-visibility: hidden;
    will-change: background-color, box-shadow, color;
}

body:not(.page-template-page-lp) .swpm-login-widget-form .swpm-text-field:focus,
body:not(.page-template-page-lp) .swpm-login-widget-form .swpm-text-field:active,
body:not(.page-template-page-lp) .swpm-login-widget-form input.swpm-text-field:focus,
body:not(.page-template-page-lp) .swpm-login-widget-form input.swpm-text-field:active,
body:not(.page-template-page-lp) .swpm-registration-widget-form .swpm-text-field:focus,
body:not(.page-template-page-lp) .swpm-registration-widget-form .swpm-text-field:active,
body:not(.page-template-page-lp) .swpm-registration-widget-form input.swpm-text-field:focus,
body:not(.page-template-page-lp) .swpm-registration-widget-form input.swpm-text-field:active {
    background: rgba(255, 255, 255, 0.85) !important;  /* フォーカス時も半透明 */
    box-shadow: 0 4px 8px rgba(83, 60, 65, 0.4);
    color: rgb(97, 97, 97);
    outline: none;
    transform: translateY(-2px) translateZ(0);
}

.swpm-login-widget-form .swpm-text-field:focus,
.swpm-login-widget-form .swpm-text-field:active,
.swpm-login-widget-form input.swpm-text-field:focus,
.swpm-login-widget-form input.swpm-text-field:active,
.swpm-registration-widget-form .swpm-text-field:focus,
.swpm-registration-widget-form .swpm-text-field:active,
.swpm-registration-widget-form input.swpm-text-field:focus,
.swpm-registration-widget-form input.swpm-text-field:active {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 8px rgba(83, 60, 65, 0.4);
    color: rgb(97, 97, 97);
    outline: none;
    transform: translateY(-2px) translateZ(0);
}

.swpm-login-widget-form .swpm-text-field::placeholder,
.swpm-login-widget-form input.swmp-text-field::placeholder {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.swpm-login-widget-form .swpm-text-field:focus::placeholder,
.swpm-login-widget-form input.swpm-text-field:focus::placeholder {
    color: rgba(51, 51, 51, 0.5);
}

/* swpm-form-input-wrap内のinput要素にも同じスタイルを適用（ラジオ・チェックボックス除外） */
body:not(.page-template-page-lp) .swpm-form-input-wrap input:not([type="radio"]):not([type="checkbox"]),
body:not(.page-template-page-lp) .swpm-login-widget-form .swpm-form-input-wrap input:not([type="radio"]):not([type="checkbox"]),
body:not(.page-template-page-lp) .swpm-registration-widget-form .swpm-form-input-wrap input:not([type="radio"]):not([type="checkbox"]),
body:not(.page-template-page-lp) .wpcf7-form-control-wrap input:not([type="radio"]):not([type="checkbox"]),
body:not(.page-template-page-lp) .wpcf7-form-control-wrap textarea,
body:not(.page-template-page-lp) select {
    width: 100% !important;
    border-radius: 10px;
    height: 50px;
    background: rgba(136, 136, 136, 0.7);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0 15px;
    margin-bottom: 10px;
    transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1) !important;
    transform: translateZ(0);
    backface-visibility: hidden;
    will-change: background-color, box-shadow, color;
}

.swpm-form-input-wrap input,
.swpm-login-widget-form .swpm-form-input-wrap input,
.swpm-registration-widget-form .swpm-form-input-wrap input,
.wpcf7-form-control-wrap input,
.wpcf7-form-control-wrap textarea,
select {
    width: 100% !important;
    border-radius: 10px;
    height: 50px;
    background: rgba(136, 136, 136, 0.9);
    color: white;
    border: none;
    padding: 0 15px;
    margin-bottom: 10px;
    transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1) !important;
    transform: translateZ(0);
    backface-visibility: hidden;
    will-change: background-color, box-shadow, color;
}

/* textareaの高さ調整 */
body:not(.page-template-page-lp) .wpcf7-form-control-wrap textarea,
.wpcf7-form-control-wrap textarea {
    height: 120px !important;
    padding: 15px !important;
    resize: vertical;
}

body:not(.page-template-page-lp) .swpm-form-input-wrap input:focus,
body:not(.page-template-page-lp) .swpm-form-input-wrap input:active,
body:not(.page-template-page-lp) .swpm-login-widget-form .swpm-form-input-wrap input:focus,
body:not(.page-template-page-lp) .swpm-login-widget-form .swpm-form-input-wrap input:active,
body:not(.page-template-page-lp) .swpm-registration-widget-form .swpm-form-input-wrap input:focus,
body:not(.page-template-page-lp) .swpm-registration-widget-form .swpm-form-input-wrap input:active,
body:not(.page-template-page-lp) .wpcf7-form-control-wrap input:focus,
body:not(.page-template-page-lp) .wpcf7-form-control-wrap input:active,
body:not(.page-template-page-lp) .wpcf7-form-control-wrap textarea:focus,
body:not(.page-template-page-lp) .wpcf7-form-control-wrap textarea:active,
body:not(.page-template-page-lp) select:focus,
body:not(.page-template-page-lp) select:active {
    background: rgba(255, 255, 255, 0.85) !important;
    box-shadow: 0 4px 8px rgba(83, 60, 65, 0.4);
    color: rgb(97, 97, 97);
    outline: none;
    transform: translateY(-2px) translateZ(0);
}

.swpm-form-input-wrap input:focus,
.swpm-form-input-wrap input:active,
.swpm-login-widget-form .swpm-form-input-wrap input:focus,
.swpm-login-widget-form .swpm-form-input-wrap input:active,
.swpm-registration-widget-form .swpm-form-input-wrap input:focus,
.swpm-registration-widget-form .swpm-form-input-wrap input:active,
.wpcf7-form-control-wrap input:focus,
.wpcf7-form-control-wrap input:active,
.wpcf7-form-control-wrap textarea:focus,
.wpcf7-form-control-wrap textarea:active,
select:focus,
select:active {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 8px rgba(83, 60, 65, 0.4);
    color: rgb(97, 97, 97) !important;
    outline: none;
    transform: translateY(-2px) translateZ(0);
}

.slide:nth-child(11) .wpcf7-form-control-wrap[data-name="your-message"]::before{
    display: none !important;
}

.swpm-form-input-wrap input::placeholder,
.swpm-login-widget-form .swpm-form-input-wrap input::placeholder,
.swpm-registration-widget-form .swpm-form-input-wrap input::placeholder,
.wpcf7-form-control-wrap input::placeholder,
.wpcf7-form-control-wrap textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.swpm-form-input-wrap input:focus::placeholder,
.swpm-login-widget-form .swpm-form-input-wrap input:focus::placeholder,
.swpm-registration-widget-form .swpm-form-input-wrap input:focus::placeholder,
.wpcf7-form-control-wrap input:focus::placeholder,
.wpcf7-form-control-wrap textarea:focus::placeholder {
    color: rgba(51, 51, 51, 0.5);
}

/* 特定のフォームフィールドを非表示 */
.swpm-form-firstname-input-wrap,
.swpm-form-lastname-input-wrap,
.swpm-form-phone-input-wrap,
.swpm-form-street-label-wrap,
.swpm-form-city-label-wrap,
.swpm-state-row,
.swpm-country-row,
.swpm-form-zipcode-label-wrap,
.swpm-form-company-label-wrap,
.swpm-membership-level-row,
.swpm-form-row.swpm-firstname-row,
.swpm-form-row.swpm-lastname-row,
.swpm-form-row.swpm-phone-row,
.swpm-form-street-input-wrap,
.swpm-city-row,
.swpm-zipcode-row,
.swpm-company-row,
.swpm-login-widget-form .swpm-form-firstname-input-wrap,
.swpm-login-widget-form .swpm-form-lastname-input-wrap,
.swpm-login-widget-form .swpm-form-phone-input-wrap,
.swpm-login-widget-form .swpm-form-street-label-wrap,
.swpm-login-widget-form .swpm-form-city-label-wrap,
.swpm-login-widget-form .swpm-state-row,
.swpm-login-widget-form .swpm-country-row,
.swpm-login-widget-form .swpm-form-zipcode-label-wrap,
.swpm-login-widget-form .swpm-form-company-label-wrap,
.swpm-login-widget-form .swpm-membership-level-row,
.swpm-login-widget-form .swpm-form-row.swpm-firstname-row,
.swpm-login-widget-form .swpm-form-row.swpm-lastname-row,
.swpm-login-widget-form .swpm-form-row.swpm-phone-row,
.swpm-login-widget-form .swpm-form-street-input-wrap,
.swpm-login-widget-form .swpm-city-row,
.swpm-login-widget-form .swpm-zipcode-row,
.swpm-login-widget-form .swpm-company-row {
    display: none !important;
}

/* Simple WP Membership 送信ボタンのスタイル(ふわっとアニメーション強化) */
.swpm-login-widget-form .swpm-login-form-submit,
.swpm-registration-widget-form .swpm-submit,
.swpm-registration-widget-form input[type="submit"],
.swpm-profile-submit-button,
.wpcf7-form-control.wpcf7-submit,
.wpcf7-submit {
    width: 100%;
    height: 50px;
    color: white;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    font-family: noto-sans, sans-serif;
    margin-top: 10px;
    background: #c9183b;
    border-width: initial;
    border-style: none;
    border-color: initial;
    border-image: initial;
    border-radius: 10px;
    transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1) !important;
}

.swpm-login-widget-form .swpm-login-form-submit:hover,
.swpm-registration-widget-form .swpm-submit:hover,
.swpm-registration-widget-form input[type="submit"]:hover,
.swpm-profile-submit-button:hover,
.wpcf7-form-control.wpcf7-submit:hover,
.wpcf7-submit:hover {
    background: rgb(184, 16, 47);
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 20px rgba(142, 38, 60, 0.4);
}

.swpm-login-widget-form .swpm-login-form-submit:active,
.swpm-registration-widget-form .swpm-submit:active,
.swpm-registration-widget-form input[type="submit"]:active,
.swpm-profile-submit-button:active,
.wpcf7-form-control.wpcf7-submit:active,
.wpcf7-submit:active {
    transform: translateY(-1px) scale(1.01);
    box-shadow: 0 4px 12px rgba(142, 38, 60, 0.35);
}

/* Simple WP Membership Join usリンク非表示 */
.swpm-join-us-link {
    display: none;
}

/* Simple WP Membership パスワード忘れリンク中央配置 */
.swpm-forgot-pass-link,
.swpm-login-widget-form .swpm-forgot-pass-link {
    text-align: center;
    display: block;
    width: 100%;
    transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.swpm-forgot-pass-link:hover,
.swpm-login-widget-form .swpm-forgot-pass-link:hover {
    transform: translateX(3px);
}

/* ========================================
   Simple WP Membership チェックボックス
======================================== */

.swpm-remember-me {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    margin: 15px 0 !important;
    gap: 8px !important;
}

.swpm-login-widget-form .swpm-remember-me {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    margin: 15px 0 !important;
    gap: 8px !important;
}

/* 利用規約とプライバシーポリシー行のスタイル */
.swpm-terms-row,
.swpm-pp-row {
    margin: 10px 0;
}

.swpm-terms-row label,
.swpm-pp-row label {
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.swpm-terms-row a,
.swpm-pp-row a {
    color: #c9183b;
    text-decoration: underline;
    transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.swpm-terms-row a:hover,
.swpm-pp-row a:hover {
    color: #b8102f;
    transform: translateX(2px);
}

/* チェックボックス本体のスタイル */
.swpm-login-widget-form input[type="checkbox"],
.swpm-login-widget-form #swpm-rememberme,
.swpm-login-widget-form input#swpm-rememberme,
#swpm-accept-terms,
#swpm-accept-pp {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    width: 22px !important;
    height: 22px !important;
    min-width: 22px !important;
    min-height: 22px !important;
    border: 2px solid #ddd !important;
    border-radius: 4px !important;
    background: white !important;
    position: relative !important;
    cursor: pointer !important;
    margin: 0 8px 0 0 !important;
    vertical-align: middle !important;
    flex-shrink: 0 !important;
    display: inline-block !important;
    transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1) !important;
}

/* チェックボックスにフォーカス時 */
.swpm-login-widget-form input[type="checkbox"]:focus,
.swpm-login-widget-form #swpm-rememberme:focus,
.swpm-login-widget-form input#swpm-rememberme:focus,
#swpm-accept-terms:focus,
#swpm-accept-pp:focus {
    outline: none !important;
    border-color: #c9183b !important;
    box-shadow: 0 0 0 3px rgba(142, 38, 60, 0.2) !important;
}

/* チェックボックスがチェックされた状態 */
.swpm-login-widget-form input[type="checkbox"]:checked,
.swpm-login-widget-form #swpm-rememberme:checked,
.swpm-login-widget-form input#swpm-rememberme:checked,
#swpm-accept-terms:checked,
#swpm-accept-pp:checked {
    background: #c9183b !important;
    background-color: #c9183b !important;
    border-color: #c9183b !important;
    position: relative !important;
    transform: scale(1.05);
}

/* ::before疑似要素を無効化(2重表示防止) */
.swpm-login-widget-form input[type="checkbox"]:checked::before,
.swpm-login-widget-form #swpm-rememberme:checked::before,
.swpm-login-widget-form input#swpm-rememberme:checked::before,
#swpm-accept-terms:checked::before,
#swpm-accept-pp:checked::before {
    content: none !important;
    display: none !important;
}

/* チェックマーク - CSSで白いチェックマークを1つだけ描画 */
.swpm-login-widget-form input[type="checkbox"]:checked::after,
.swpm-login-widget-form #swpm-rememberme:checked::after,
.swpm-login-widget-form input#swpm-rememberme:checked::after,
#swpm-accept-terms:checked::after,
#swpm-accept-pp:checked::after {
    content: '' !important;
    position: absolute !important;
    display: block !important;
    left: 7px !important;
    top: 3px !important;
    width: 5px !important;
    height: 10px !important;
    border: solid !important;
    border-color: #ffffff !important;
    border-width: 0 2px 2px 0 !important;
    transform: rotate(45deg) !important;
    -webkit-transform: rotate(45deg) !important;
    opacity: 1 !important;
    box-sizing: border-box !important;
}

/* Safari専用の追加対策 */
@media not all and (min-resolution:.001dpcm) {
    @supports (-webkit-appearance:none) {
        .swpm-login-widget-form input[type="checkbox"]:checked::after,
        .swpm-login-widget-form #swpm-rememberme:checked::after,
        .swpm-login-widget-form input#swpm-rememberme:checked::after,
        #swpm-accept-terms:checked::after,
        #swpm-accept-pp:checked::after {
            border-color: #ffffff !important;
            opacity: 1 !important;
        }
    }
}

/* タブレット・スマホ用のチェックマーク位置調整 */
@media (max-width: 768px) {
    .swpm-login-widget-form input[type="checkbox"]:checked::after,
    .swpm-login-widget-form #swpm-rememberme:checked::after,
    .swpm-login-widget-form input#swpm-rememberme:checked::after,
    #swpm-accept-terms:checked::after,
    #swpm-accept-pp:checked::after {
        left: 6px !important;
        top: 2px !important;
        width: 4px !important;
        height: 9px !important;
    }
}

/* 小型スマホ用のチェックマーク位置調整 */
@media (max-width: 480px) {
    .swpm-login-widget-form input[type="checkbox"]:checked::after,
    .swpm-login-widget-form #swpm-rememberme:checked::after,
    .swpm-login-widget-form input#swpm-rememberme:checked::after,
    #swpm-accept-terms:checked::after,
    #swpm-accept-pp:checked::after {
        left: 5px !important;
        top: 2px !important;
        width: 4px !important;
        height: 8px !important;
    }
}

/* ラベル全体の修正 */
.swpm-login-widget-form label[for="swpm-rememberme"],
.swpm-login-widget-form .swpm-remember-me label {
    display: flex !important;
    align-items: center !important;
    cursor: pointer !important;
    user-select: none !important;
    font-size: 14px !important;
    color: rgb(97, 97, 97) !important;
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
    flex-wrap: nowrap !important;
}

/* ホバー効果 */
.swpm-login-widget-form input[type="checkbox"]:hover:not(:checked),
.swpm-login-widget-form #swpm-rememberme:hover:not(:checked),
.swpm-login-widget-form input#swpm-rememberme:hover:not(:checked),
#swpm-accept-terms:hover:not(:checked),
#swpm-accept-pp:hover:not(:checked) {
    border-color: #c9183b !important;
    background: rgba(201, 24, 59, 0.05) !important;
    transform: scale(1.05);
}

.swpm-login-widget-form input[type="checkbox"]:hover:checked,
.swpm-login-widget-form #swpm-rememberme:hover:checked,
.swpm-login-widget-form input#swmp-rememberme:hover:checked,
#swpm-accept-terms:hover:checked,
#swpm-accept-pp:hover:checked {
    background: #b8102f !important;
    border-color: #b8102f !important;
    transform: scale(1.08);
}

/* デフォルトのピンク色を完全に上書き */
.swpm-login-widget-form input[type="checkbox"]:checked,
#swpm-accept-terms:checked,
#swpm-accept-pp:checked {
    background-color: #c9183b !important;
    accent-color: #c9183b !important;
}

/* ========================================
   ★★★ Simple WP Membership ログイン後の表示 ★★★
======================================== */

/* ログインウィジェット全体を縦並び・左揃え・横位置中央 */
.swpm-login-widget-logged,
.swpm-login-widget-form.swpm-login-widget-logged {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;  /* 左揃え */
    justify-content: center !important;
    text-align: left !important;  /* テキスト左揃え */
    width: fit-content !important;  /* コンテンツ幅に合わせる */
    margin: 0 auto !important;  /* 横位置中央 */
    gap: 10px !important;
    padding: 0 20px !important;  /* 左右に余白 */
}

/* ユーザー名を横並びに */
.swpm-logged-username,
.swpm-login-widget-logged .swpm-logged-username {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;  /* 左揃え */
    margin: 0 !important;
}

/* ステータスを非表示 */
.swpm-logged-status,
.swpm-login-widget-logged .swpm-logged-status {
    display: none !important;
}

/* メンバーシップレベルを横並びに */
.swpm-logged-membership,
.swpm-login-widget-logged .swpm-logged-membership {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;  /* 左揃え */
    margin: 0 !important;
}

/* 有効期限も横並びに */
.swpm-logged-expiry,
.swpm-login-widget-logged .swpm-logged-expiry {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;  /* 左揃え */
    margin: 0 !important;
}

/* ログアウトリンク */
.swpm-logout-link,
.swpm-login-widget-logged .swpm-logout-link {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;  /* 左揃え */
    width: 100% !important;
    margin-top: 10px !important;
}

/* ログアウトリンクのスタイル調整 */
.swpm-logged-logout-link,
.swpm-login-widget-logged .swpm-logged-logout-link {
    font-size: 13px !important;
    transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.swpm-logged-logout-link:hover {
    transform: translateX(3px);
}

/* プロフィール編集リンクのスタイル調整 */
.swpm-edit-profile-link,
.swpm-login-widget-logged .swpm-edit-profile-link {
    font-size: 13px !important;
    transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.swpm-edit-profile-link:hover {
    transform: translateX(3px);
}

/* マージンボトムクラスを非表示 */
.swpm-margin-bottom-10,
.swpm-login-widget-logged .swpm-margin-bottom-10 {
    display: none !important;
}

/* ========================================
   ★★★ ラジオボタンのスタイル ★★★
======================================== */

/* ラジオボタン本体のスタイル */
input[type="radio"] {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    min-height: 20px !important;
    max-width: 20px !important;
    max-height: 20px !important;
    border: 2px solid #ddd !important;
    border-radius: 50% !important;
    background: white !important;
    background-color: white !important;
    position: relative !important;
    cursor: pointer !important;
    margin: 0 8px 0 0 !important;
    padding: 0 !important;
    vertical-align: middle !important;
    flex-shrink: 0 !important;
    display: inline-block !important;
    transition: all 0.3s ease !important;
    accent-color: #c9183b !important;
    transform: none !important;
    writing-mode: horizontal-tb !important;
}

/* ラジオボタンにフォーカス時 - 四角いシャドウを削除し円形アウトラインに */
input[type="radio"]:focus {
    outline: none !important;
    border-color: #c9183b !important;
    box-shadow: 0 0 0 3px rgba(201, 24, 59, 0.2) !important;
    background: white !important;
    background-color: white !important;
}

/* ラジオボタンがチェックされた状態 */
input[type="radio"]:checked {
    background: white !important;
    background-color: white !important;
    border-color: #c9183b !important;
    border-width: 2px !important;
}

/* チェックされた時の内側の円 */
input[type="radio"]:checked::after {
    content: '' !important;
    position: absolute !important;
    display: block !important;
    left: 50% !important;
    top: 50% !important;
    width: 10px !important;
    height: 10px !important;
    border-radius: 50% !important;
    background: #c9183b !important;
    transform: translate(-50%, -50%) !important;
}

/* ラジオボタンのホバー効果 */
input[type="radio"]:hover:not(:checked) {
    border-color: #c9183b !important;
    transform: scale(1.05) !important;
    background: white !important;
    background-color: white !important;
}

/* チェック済みのホバー効果 */
input[type="radio"]:hover:checked {
    border-color: #b8102f !important;
    transform: scale(1.05) !important;
    background: white !important;
    background-color: white !important;
}

input[type="radio"]:hover:checked::after {
    background: #b8102f !important;
}

/* ラジオボタンのラベル - 横並びレイアウト */
.radio-label,
label:has(> input[type="radio"]) {
    display: inline-flex !important;
    align-items: center !important;
    cursor: pointer !important;
    user-select: none !important;
    font-size: 14px !important;
    color: rgb(97, 97, 97) !important;
    margin: 8px 0 !important;
    padding: 0 !important;
    gap: 8px !important;
    writing-mode: horizontal-tb !important;
    flex-direction: row !important;
    white-space: normal !important;
    line-height: 1.5 !important;
    word-break: break-word !important;
}

/* ラジオボタングループ */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 10px 0;
}

/* タブレット・スマホ用のラジオボタン調整 */
@media (max-width: 768px) {
    input[type="radio"] {
        width: 18px !important;
        height: 18px !important;
        min-width: 18px !important;
        min-height: 18px !important;
        max-width: 18px !important;
        max-height: 18px !important;
        padding: 0 !important;
        background: white !important;
        background-color: white !important;
    }
    
    input[type="radio"]:checked::after {
        width: 8px !important;
        height: 8px !important;
    }
}

/* 小型スマホ用のラジオボタン調整 */
@media (max-width: 480px) {
    input[type="radio"] {
        width: 16px !important;
        height: 16px !important;
        min-width: 16px !important;
        min-height: 16px !important;
        max-width: 16px !important;
        max-height: 16px !important;
        padding: 0 !important;
        background: white !important;
        background-color: white !important;
    }
    
    input[type="radio"]:checked::after {
        width: 8px !important;
        height: 8px !important;
    }
}

/* ========================================
   ★★★ Simple WP Membership サブスクリプションボタン(ふわっとアニメーション強化) ★★★
======================================== */

/* すべてのサブスクリプションボタン共通スタイル */
.swpm-subscription-button-submit,
.swpm-button-wrapper input[type="submit"].swpm-subscription-button-submit,
.swpm-button-wrapper .swpm-subscription-button-submit,
.stripe-button-el span {
    display: block !important;
    width: 500px !important;
    height: 65px !important;
    margin: 20px auto !important;
    padding: 0 30px !important;
    font-size: 17px !important;
    font-weight: bold !important;
    border: none !important;
    border-radius: 10px !important;
    cursor: pointer !important;
    transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1) !important;
    text-align: center !important;
    line-height: 65px !important;
    text-decoration: none !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans JP", sans-serif !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/* ベーシックプランのボタン(現在のプロプランスタイルに変更) */
.basicplan .swpm-subscription-button-submit,
.basicplan .swpm-button-wrapper input[type="submit"].swpm-subscription-button-submit,
.basicplan .swpm-button-wrapper .swpm-subscription-button-submit,
.basicplan .stripe-button-el span {
    background: #fff !important;
    color: #c9183b !important;
    /*border: 2px solid #c9183b !important;*/
    width: 500px !important;
}

.basicplan .swpm-subscription-button-submit:hover,
.basicplan .swpm-button-wrapper input[type="submit"].swpm-subscription-button-submit:hover,
.basicplan .swpm-button-wrapper .swpm-subscription-button-submit:hover,
.basicplan .stripe-button-el:hover span {
    background: #fff !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2) !important;
    transform: translateY(-3px) !important;
    /*border: 2px solid #b8102f !important;*/
    color: #b8102f !important;
}

.basicplan .swpm-subscription-button-submit:active,
.basicplan .swpm-button-wrapper input[type="submit"].swpm-subscription-button-submit:active,
.basicplan .swpm-button-wrapper .swpm-subscription-button-submit:active,
.basicplan .stripe-button-el:active span {
    transform: translateY(-2px) scale(1.01) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15) !important;
    color: #b8102f !important;
}

.basicplan .swpm-subscription-button-submit:focus,
.basicplan .swpm-button-wrapper input[type="submit"].swpm-subscription-button-submit:focus,
.basicplan .swpm-button-wrapper .swpm-subscription-button-submit:focus,
.basicplan .stripe-button-el:focus span {
    color: #b8102f !important;
}

/* プロプランのボタン(紫のグラデーションスタイル) */
.proplan .swpm-subscription-button-submit,
.proplan .swpm-button-wrapper input[type="submit"].swpm-subscription-button-submit,
.proplan .swpm-button-wrapper .swpm-subscription-button-submit,
.proplan .stripe-button-el span {
    background: linear-gradient(120deg, #fd5392 0%, #f86f64 100%) !important;
    color: #fff !important;
    border: none !important;
    width: 500px !important;
}

.proplan .swpm-subscription-button-submit:hover,
.proplan .swpm-button-wrapper input[type="submit"].swpm-subscription-button-submit:hover,
.proplan .swpm-button-wrapper .swpm-subscription-button-submit:hover,
.proplan .stripe-button-el:hover span {
    background: linear-gradient(120deg, #fd5392 0%, #f86f64 100%) !important;
    box-shadow: 0 8px 30px rgba(201, 24, 59, 0.4) !important;
    transform: translateY(-3px) !important;
    border: none !important;
    color: #fff !important;
}

.proplan .swpm-subscription-button-submit:active,
.proplan .swpm-button-wrapper input[type="submit"].swpm-subscription-button-submit:active,
.proplan .swpm-button-wrapper .swpm-subscription-button-submit:active,
.proplan .stripe-button-el:active span {
    transform: translateY(-2px) scale(1.01) !important;
    box-shadow: 0 4px 20px rgba(201, 24, 59, 0.3) !important;
    border: none !important;
    color: #fff !important;
}

.proplan .swpm-subscription-button-submit:focus,
.proplan .swpm-button-wrapper input[type="submit"].swpm-subscription-button-submit:focus,
.proplan .swpm-button-wrapper .swpm-subscription-button-submit:focus,
.proplan .stripe-button-el:focus span {
    border: none !important;
    color: #fff !important;
}

/* swpm-button-wrapper内の上書き対策 */
.swpm-button-wrapper input[type="submit"],
.stripe-button-el span {
    width: 500px !important;
}

/* タブレット対応(768px以下) */
@media (max-width: 768px) {
    .swpm-subscription-button-submit,
    .swpm-button-wrapper input[type="submit"].swpm-subscription-button-submit,
    .swpm-button-wrapper .swpm-subscription-button-submit,
    .basicplan .swpm-subscription-button-submit,
    .basicplan .swpm-button-wrapper input[type="submit"].swpm-subscription-button-submit,
    .proplan .swpm-subscription-button-submit,
    .proplan .swpm-button-wrapper input[type="submit"].swpm-subscription-button-submit,
    .swpm-button-wrapper input[type="submit"],
    .stripe-button-el span,
    .basicplan .stripe-button-el span,
    .proplan .stripe-button-el span {
        width: 380px !important;
        font-size: 14px !important;
        height: 60px !important;
        line-height: 60px !important;
        padding: 0 20px !important;
        margin: 20px auto !important;
    }
}

/* スマートフォン対応(480px以下) */
@media (max-width: 480px) {
    .swpm-subscription-button-submit,
    .swpm-button-wrapper input[type="submit"].swpm-subscription-button-submit,
    .swpm-button-wrapper .swpm-subscription-button-submit,
    .basicplan .swpm-subscription-button-submit,
    .basicplan .swpm-button-wrapper input[type="submit"].swpm-subscription-button-submit,
    .proplan .swpm-subscription-button-submit,
    .proplan .swpm-button-wrapper input[type="submit"].swpm-subscription-button-submit,
    .swpm-button-wrapper input[type="submit"],
    .stripe-button-el span,
    .basicplan .stripe-button-el span,
    .proplan .stripe-button-el span {
        width: 268px !important;
        font-size: 11px !important;
        height: 64px !important;
        line-height: 64px !important;
        padding: 0 15px !important;
        margin: 20px auto !important;
    }
}

/* ========================================
   WordPress Block Button スタイル(ふわっとアニメーション強化)
======================================== */

.wp-block-button__link,
.wp-block-button a,
.wp-block-button button {
    display: inline-block !important;
    height: 50px !important;
    padding: 0 30px !important;
    color: white !important;
    font-size: 16px !important;
    font-weight: bold !important;
    cursor: pointer !important;
    font-family: noto-sans, sans-serif !important;
    background: #c9183b !important;
    border: none !important;
    border-radius: 10px !important;
    transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1) !important;
    text-decoration: none !important;
    line-height: 50px !important;
    text-align: center !important;
}

.wp-block-button__link:hover,
.wp-block-button a:hover,
.wp-block-button button:hover {
    background: rgb(184, 16, 47) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 25px rgba(142, 38, 60, 0.4) !important;
    color: white !important;
    text-decoration: none !important;
}

.wp-block-button__link:active,
.wp-block-button a:active,
.wp-block-button button:active {
    transform: translateY(-2px) scale(1.02) !important;
    box-shadow: 0 4px 15px rgba(142, 38, 60, 0.35) !important;
}

/* wp-block-buttonの親要素のスタイル調整 */
.wp-block-button {
    margin: 20px 0 !important;
    display: inline-block !important;
}

/* wp-block-button内のリンクのフォーカス時 */
.wp-block-button__link:focus,
.wp-block-button a:focus,
.wp-block-button button:focus {
    outline: none !important;
    box-shadow: 0 0 0 4px rgba(201, 24, 59, 0.2) !important;
}

/* ========================================
   active-options ボタンスタイル(グラデーション)
======================================== */

.active-options .wp-block-button__link,
.active-options .wp-block-button a,
.active-options .wp-block-button button {
    height: 60px !important;
    line-height: 60px !important;
    background: linear-gradient(to right, #fd5392, #f86f64) !important;
    transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1) !important;
}

.active-options .wp-block-button__link:hover,
.active-options .wp-block-button a:hover,
.active-options .wp-block-button button:hover {
    background: linear-gradient(to right, #f4508d, #e8665c) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 25px rgba(71, 58, 93, 0.4) !important;
}

.active-options .wp-block-button__link:active,
.active-options .wp-block-button a:active,
.active-options .wp-block-button button:active {
    background: linear-gradient(to right, #f4508d, #e8665c) !important;
    transform: translateY(-2px) scale(1.02) !important;
    box-shadow: 0 4px 15px rgba(71, 58, 93, 0.35) !important;
}

.active-options .wp-block-button__link:focus,
.active-options .wp-block-button a:focus,
.active-options .wp-block-button button:focus {
    outline: none !important;
    box-shadow: 0 0 0 4px rgba(117, 48, 227, 0.2) !important;
}

/* ========================================
   passive-options ボタンスタイル(グレー)
======================================== */

.passive-options .wp-block-button__link,
.passive-options .wp-block-button a,
.passive-options .wp-block-button button {
    height: 60px !important;
    line-height: 60px !important;
    background: #646464 !important;
    box-shadow: 0 4px 12px rgba(100, 100, 100, 0.25) !important;
    transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1) !important;
}

.passive-options .wp-block-button__link:hover,
.passive-options .wp-block-button a:hover,
.passive-options .wp-block-button button:hover {
    background: #555555 !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 25px rgba(100, 100, 100, 0.4) !important;
}

.passive-options .wp-block-button__link:active,
.passive-options .wp-block-button a:active,
.passive-options .wp-block-button button:active {
    background: #4a4a4a !important;
    transform: translateY(-2px) scale(1.02) !important;
    box-shadow: 0 4px 15px rgba(100, 100, 100, 0.35) !important;
}

.passive-options .wp-block-button__link:focus,
.passive-options .wp-block-button a:focus,
.passive-options .wp-block-button button:focus {
    outline: none !important;
    box-shadow: 0 0 0 4px rgba(100, 100, 100, 0.2) !important;
}

/* ========================================
   既存LPボタン(ふわっとアニメーションのみ)
======================================== */

.existing-lp-btn {
    transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1) !important;
}

.existing-lp-btn:hover {
    transform: translateY(-3px) !important;
}

.existing-lp-btn:active {
    transform: translateY(-1px) !important;
}

/* ========================================
   サイドバー・ウィジェット完全非表示
======================================== */

/* 全てのサイドバーウィジェットを強制非表示 */
.sidebar,
.widget-area,
.secondary,
#secondary,
.widget,
.widget_search,
.widget_pages,
.widget_archives,
.widget_categories,
.widget_meta,
.widget_recent_entries,
.widget_recent_comments,
.widget_rss,
.widget_tag_cloud,
.widget_calendar,
.widget_nav_menu {
    display: none !important;
}

/* WordPressデフォルトサイドバー非表示 */
#sidebar,
.site-sidebar,
.primary-sidebar,
.content-sidebar {
    display: none !important;
}

/* ========================================
   レスポンシブデザイン
======================================== */

@media screen and (min-width: 783px) {
    .site-main {
        margin-top: 0 !important;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    /* 通常ページのカード型コンテンツに左右10px余白 */
    body:not(.page-template-page-lp) .page-container {
        margin: 2rem 10px;
        border-radius: 30px;  /* モバイルでは角丸を小さく */
    }
    
    body:not(.page-template-page-lp) .page-container .page-header {
        padding: 1.5rem 2rem 1rem;
    }
    
    body:not(.page-template-page-lp) .page-container .entry-content {
        padding: 0 0 2rem 0;
    }
    
    .page-header {
        padding: 2rem 0 1.5rem;
        margin-bottom: 2rem;
    }
    
    .page-title {
        font-size: 1.8rem;
    }
    
    .page-excerpt {
        font-size: 1rem;
    }
    
    .entry-content {
        padding: 1.5rem 2rem;
        font-size: 1rem;
        margin: 0 auto 60px;
    }
    
    .entry-content h2 {
        font-size: 1.5rem;
        padding: 0.75rem 1rem;
        margin-top: 2rem;
    }
    
    .entry-content h3 {
        font-size: 1.25rem;
    }
    
    .entry-content h4 {
        font-size: 1.1rem;
    }
    
    .entry-content ul, .entry-content ol {
        margin-left: 1.5rem;
    }
    
    .entry-content ul li::before {
        left: -1.2rem;
    }
    
    .entry-content ol li::before {
        left: -1.7rem;
    }
    
    .entry-content blockquote {
        padding: 1rem 1.5rem;
        margin: 1.5rem 0;
    }
    
    .entry-content blockquote::before {
        font-size: 3rem;
        top: -5px;
        left: 15px;
    }
    
    .entry-content table {
        font-size: 0.9rem;
    }
    
    .entry-content table th,
    .entry-content table td {
        padding: 0.75rem 1rem;
    }
    
    .comments-area {
        padding: 2rem 1.5rem;
    }
    
    .comment {
        padding: 1.5rem 0;
    }
    
    .children {
        margin-left: 1rem;
        padding-left: 1rem;
    }
    
    /* ★★★ モバイル版 SWPMフォーム幅調整 ★★★ */
    .swpm-login-widget-form,
    .swpm-registration-widget-form,
    .swpm-edit-profile-form {
        width: 100% !important;
        margin: 0 auto !important;
    }
    
    /* モバイル版チェックボックスサイズ調整 */
    .swpm-login-widget-form input[type="checkbox"],
    .swpm-login-widget-form #swpm-rememberme,
    .swpm-login-widget-form input#swpm-rememberme {
        width: 20px !important;
        height: 20px !important;
        min-width: 20px !important;
        min-height: 20px !important;
    }
    
    .swpm-login-widget-form input[type="checkbox"]:checked::after,
    .swpm-login-widget-form #swpm-rememberme:checked::after,
    .swpm-login-widget-form input#swpm-rememberme:checked::after {
        font-size: 12px !important;
    }
    
    /* ★★★ タブレットでの利用規約とプライバシーポリシー行の文字サイズ調整 ★★★ */
    .swpm-terms-row,
    .swpm-pp-row {
        font-size: 12px !important;
    }
    
    .swpm-terms-row label,
    .swpm-pp-row label,
    .swpm-terms-row a,
    .swpm-pp-row a,
    .swpm-terms-row span,
    .swpm-pp-row span,
    .swpm-terms-row div,
    .swpm-pp-row div {
        font-size: 12px !important;
        line-height: 1.4 !important;
    }
    
    /* フォーム説明文も同じサイズに */
    .swpm-terms-row .swpm-form-desc,
    .swpm-pp-row .swpm-form-desc {
        font-size: 12px !important;
    }
}

@media (max-width: 480px) {
    .site-main {
        padding: 1rem 0;
    }
    
    .page-header {
        padding: 1.5rem 0 1rem;
    }
    
    .page-title {
        font-size: 1.5rem;
    }
    
    .entry-content {
        width: 90% !important;
        padding: 0 2rem;
        margin: 0 auto 60px;
    }
    
    .entry-content h2 {
        font-size: 1.3rem;
        padding: 0.5rem 0.75rem;
    }
    
    .entry-content blockquote {
        padding: 0.75rem 1rem;
    }
    
    .comments-area {
        padding: 1.5rem 1rem;
    }
    
    /* ★★★ 小型スマホでも SWPMフォーム幅100%維持 ★★★ */
    .swpm-login-widget-form,
    .swpm-registration-widget-form,
    .swpm-edit-profile-form {
        width: 100% !important;
        margin: 0 auto !important;
    }
    
    /* モバイル小サイズでのチェックボックス */
    .swpm-login-widget-form input[type="checkbox"],
    .swpm-login-widget-form #swpm-rememberme,
    .swpm-login-widget-form input#swpm-rememberme {
        width: 18px !important;
        height: 18px !important;
        min-width: 18px !important;
        min-height: 18px !important;
    }
    
    .swpm-login-widget-form input[type="checkbox"]:checked::after,
    .swpm-login-widget-form #swpm-rememberme:checked::after,
    .swpm-login-widget-form input#swpm-rememberme:checked::after {
        font-size: 11px !important;
    }
    
    /* ★★★ 利用規約とプライバシーポリシー行の文字サイズ調整 ★★★ */
    .swpm-terms-row,
    .swpm-pp-row {
        font-size: 10px !important;
    }
    
    .swpm-terms-row label,
    .swpm-pp-row label,
    .swpm-terms-row a,
    .swpm-pp-row a,
    .swpm-terms-row span,
    .swpm-pp-row span,
    .swpm-terms-row div,
    .swpm-pp-row div {
        font-size: 10px !important;
        line-height: 1.4 !important;
    }
    
    /* フォーム説明文も同じサイズに */
    .swpm-terms-row .swpm-form-desc,
    .swpm-pp-row .swpm-form-desc {
        font-size: 10px !important;
    }
}


/* ========================================
   ★★★ Simple WP Membership パスワードリセットフォーム ★★★
======================================== */

/* パスワードリセットフォームの幅設定 */
body:not(.page-template-page-lp) .swpm-pw-reset-widget-form {
    width: 65%;
    margin: 0 auto;
    background: transparent !important;
}

.swpm-pw-reset-widget-form {
    width: 65%;
    margin: 0 auto;
}

/* パスワードリセットフォームのinputフィールド */
body:not(.page-template-page-lp) .swpm-pw-reset-email-input input,
body:not(.page-template-page-lp) .swpm-pw-reset-widget-form input[type="text"],
body:not(.page-template-page-lp) .swpm-pw-reset-widget-form input[type="email"] {
    width: 100% !important;
    border-radius: 10px;
    height: 50px;
    background: rgba(136, 136, 136, 0.7) !important;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0 15px;
    margin-bottom: 10px;
    transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1) !important;
    transform: translateZ(0);
    backface-visibility: hidden;
    will-change: background-color, box-shadow, color;
}

.swpm-pw-reset-email-input input,
.swpm-pw-reset-widget-form input[type="text"],
.swpm-pw-reset-widget-form input[type="email"] {
    width: 100% !important;
    border-radius: 10px;
    height: 50px;
    background: rgba(136, 136, 136, 0.9);
    color: white;
    border: none;
    padding: 0 15px;
    margin-bottom: 10px;
    transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1) !important;
    transform: translateZ(0);
    backface-visibility: hidden;
    will-change: background-color, box-shadow, color;
}

/* パスワードリセットフォームのinputフィールド - フォーカス時 */
body:not(.page-template-page-lp) .swpm-pw-reset-email-input input:focus,
body:not(.page-template-page-lp) .swpm-pw-reset-email-input input:active,
body:not(.page-template-page-lp) .swpm-pw-reset-widget-form input[type="text"]:focus,
body:not(.page-template-page-lp) .swpm-pw-reset-widget-form input[type="text"]:active,
body:not(.page-template-page-lp) .swpm-pw-reset-widget-form input[type="email"]:focus,
body:not(.page-template-page-lp) .swpm-pw-reset-widget-form input[type="email"]:active {
    background: rgba(255, 255, 255, 0.85) !important;
    box-shadow: 0 4px 8px rgba(83, 60, 65, 0.4);
    color: rgb(97, 97, 97);
    outline: none;
    transform: translateY(-2px) translateZ(0);
}

.swpm-pw-reset-email-input input:focus,
.swpm-pw-reset-email-input input:active,
.swpm-pw-reset-widget-form input[type="text"]:focus,
.swpm-pw-reset-widget-form input[type="text"]:active,
.swpm-pw-reset-widget-form input[type="email"]:focus,
.swpm-pw-reset-widget-form input[type="email"]:active {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 8px rgba(83, 60, 65, 0.4);
    color: rgb(97, 97, 97);
    outline: none;
    transform: translateY(-2px) translateZ(0);
}

/* パスワードリセットフォームのinputフィールド - プレースホルダー */
.swpm-pw-reset-email-input input::placeholder,
.swpm-pw-reset-widget-form input[type="text"]::placeholder,
.swpm-pw-reset-widget-form input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.swpm-pw-reset-email-input input:focus::placeholder,
.swpm-pw-reset-widget-form input[type="text"]:focus::placeholder,
.swpm-pw-reset-widget-form input[type="email"]:focus::placeholder {
    color: rgba(51, 51, 51, 0.5);
}

/* パスワードリセットフォームの送信ボタン */
.swpm-pw-reset-submit,
.swpm-pw-reset-submit-button,
.swpm-pw-reset-submit-button input[type="submit"],
.swpm-pw-reset-widget-form input[type="submit"],
.swpm-pw-reset-widget-form .swpm-pw-reset-submit {
    width: 100% !important;
    height: 50px !important;
    color: white !important;
    font-size: 16px !important;
    font-weight: bold !important;
    cursor: pointer !important;
    font-family: noto-sans, sans-serif !important;
    margin-top: 10px !important;
    background: #c9183b !important;
    border: none !important;
    border-radius: 10px !important;
    transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1) !important;
    box-shadow: 0 4px 12px rgba(142, 38, 60, 0.25) !important;
}

/* パスワードリセットフォームの送信ボタン - ホバー時 */
.swpm-pw-reset-submit:hover,
.swpm-pw-reset-submit-button:hover,
.swpm-pw-reset-submit-button input[type="submit"]:hover,
.swpm-pw-reset-widget-form input[type="submit"]:hover,
.swpm-pw-reset-widget-form .swpm-pw-reset-submit:hover {
    background: rgb(184, 16, 47) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 20px rgba(142, 38, 60, 0.4) !important;
}

/* パスワードリセットフォームの送信ボタン - アクティブ時 */
.swpm-pw-reset-submit:active,
.swpm-pw-reset-submit-button:active,
.swpm-pw-reset-submit-button input[type="submit"]:active,
.swpm-pw-reset-widget-form input[type="submit"]:active,
.swpm-pw-reset-widget-form .swpm-pw-reset-submit:active {
    transform: translateY(-1px) scale(1.01) !important;
    box-shadow: 0 4px 12px rgba(142, 38, 60, 0.35) !important;
}

/* パスワードリセット成功メッセージボックス */
.swpm-reset-pw-success-box {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid #dee2e6;
    color: #2c3e50;
}
/* ========================================
   ユーティリティクラス
======================================== */

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

.p-1 { padding: 1rem; }
.p-2 { padding: 2rem; }
.p-3 { padding: 3rem; }

.color-primary { color: #c9183b; }
.color-secondary { color: #6c757d; }
.color-dark { color: rgb(97, 97, 97); }

.bg-primary { background-color: #c9183b; }
.bg-light { background-color: #f8f9fa; }
.bg-white { background-color: #fff; }

/* ========================================
   WordPressデフォルトクラス
======================================== */

.alignleft {
    float: left;
    margin-right: 1.5rem;
    margin-bottom: 1rem;
}

.alignright {
    float: right;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.aligncenter {
    display: block;
    margin: 1.5rem auto;
    text-align: center;
}

.wp-caption {
    max-width: 100%;
    margin-bottom: 1.5rem;
    background: rgba(248, 249, 250, 0.8);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid rgba(233, 236, 239, 0.8);
}

.wp-caption-text {
    font-size: 0.9rem;
    color: #6c757d;
    text-align: center;
    margin-top: 0.75rem;
    line-height: 1.4;
    font-style: italic;
}

.screen-reader-text {
    position: absolute;
    left: -9999px;
    top: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* ========================================
   アクセシビリティ
======================================== */

:focus {
    outline: 3px solid #c9183b;
    outline-offset: 2px;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 20px;
    background: #c9183b;
    color: white;
    padding: 12px 20px;
    text-decoration: none;
    z-index: 9999;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.skip-link:focus {
    left: 20px;
    outline: 2px solid #fff;
    transform: scale(1.05);
}

/* マウス使用時のフォーカスリング除去 */
.using-mouse :focus {
    outline: none;
}

/* ========================================
   印刷用スタイル
======================================== */

@media print {
    body {
        font-size: 12pt;
        line-height: 1.4;
        color: #000;
        background: #fff;
    }
    
    .page-header {
        background: none;
        color: #000;
        border-bottom: 2px solid #000;
        box-shadow: none;
    }
    
    .page-title::after {
        background: #000;
    }
    
    .entry-content h2 {
        background: none;
        border-left: 3px solid #000;
    }
    
    .entry-content h2::before {
        background: #000;
    }
    
    .entry-content h3::after {
        background: #000;
    }
    
    a {
        color: #000;
        text-decoration: underline;
    }
    
    .comments-area {
        display: none;
    }
    
    .entry-content img {
        max-width: 100%;
        box-shadow: none;
    }
    
    .page-links a,
    .page-links span {
        border: 1px solid #000;
        background: #fff;
        color: #000;
    }
}

.user-dropdown-menu a:hover{
    text-decoration: none !important;
}

.user-menu-trigger:hover, .user-menu-trigger:focus {
    text-decoration: none !important;
}

.mobile-user-button:hover, .mobile-user-button:hover {
    text-decoration: none !important;
}

.using-mouse :focus{
    text-decoration: none !important;
}
/* ========================================
   パーティクル表示
======================================== */
.particles-container{
    display: none !important;
}

body.page-id-1386 .entry-content h2::before{
    display: none;
}

body.page-id-1386 .entry-content h2 {
    border-left: 0px;
    background: none !important;
    color: #c9183b !important;
    font-weight: 600;
    font-size: 23px;
}
body.page-id-1386 .entry-content h4{
    /*color: #c9183b;*/
    font-weight: 600;
    font-size: 23px;
}

body.page-id-1386 .entry-content blockquote::before{
    display: none !important;
}

body.page-id-1386 .entry-content blockquote{
   padding: 10px 2rem; 
   font-style: normal !important;
}

body.page-id-1386 .entry-content blockquote p {
    margin: 0;
    font-style: normal !important;

}

body.page-id-1386 .entry-content li::marker{
    font-size: 0!important;
    display: none !important;
}

/* ★★★ ネストされたリストの赤い▶を非表示 ★★★ */
body.page-id-1386 .entry-content ul li ul li::before,
body.page-id-1386 .entry-content ul li ol li::before,
body.page-id-1386 .entry-content ol li ul li::before {
    display: none !important;
}

.howtocontent{
    width: 800px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .howtocontent{
    width: 100%;
    margin: auto;
}
}

.entry-content ul li::marker,.entry-content ol li::marker{
    font-size: 0 !important;
}

.form-box{
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid #dee2e6;
    border-radius: 15px;
    padding: 25px;
    padding-bottom: 0px !important;
}

.small{
    font-size: 15px;
}

body:not(.page-template-page-lp) .entry-content blockquote{
    font-style: normal !important;
}

blockquote p{
    margin-bottom: 0 !important;
}

.entry-content ul li ul li::before{
    content: '・' !important;
    color: rgb(97, 97, 97);
    font-weight: bold;
    position: absolute;
    left: -1rem !important;
    top: 0;
}

.wpcf7 form .wpcf7-response-output{
    border: none !important;
    text-align: center !important;
    margin: 0 0 60px !important;
    padding: 0 !important;
}

.user-dropdown{
    min-width: 230px;
}

.swpm-login-action-msg{
    text-align: center;
}

.stripe-button-el {
    background: none !important;
    box-shadow: none !important;
    overflow: visible !important;

}

@media (min-width: 1024px) {
    /* PC用背景画像 */
    body:not(.page-template-page-lp){
        background: url('img/PC-background.jpg') no-repeat center center fixed;
        background-size: cover;
    }
}

.swpm-yellow-box{
    display: none;
}

/* ========================================
   定期購読キャンセルボタン（ベーシックプランと同じスタイル）
======================================== */

/* キャンセルボタンの基本スタイル */
button[name="swpm_do_cancel_stripe_sub"],
input[name="swpm_do_cancel_stripe_sub"] {
    display: block !important;
    width: 500px !important;
    height: 65px !important;
    margin: 20px auto !important;
    padding: 0 30px !important;
    font-size: 17px !important;
    font-weight: bold !important;
    border: none !important;
    border-radius: 10px !important;
    cursor: pointer !important;
    transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1) !important;
    text-align: center !important;
    line-height: 65px !important;
    text-decoration: none !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans JP", sans-serif !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    background: #fff !important;
    color: #c9183b !important;
}

/* キャンセルボタンのホバー時 */
button[name="swpm_do_cancel_stripe_sub"]:hover,
input[name="swpm_do_cancel_stripe_sub"]:hover {
    background: #fff !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2) !important;
    transform: translateY(-3px) !important;
    color: #b8102f !important;
}

/* キャンセルボタンのアクティブ時 */
button[name="swpm_do_cancel_stripe_sub"]:active,
input[name="swpm_do_cancel_stripe_sub"]:active {
    transform: translateY(-2px) scale(1.01) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15) !important;
    color: #b8102f !important;
}

/* キャンセルボタンのフォーカス時 */
button[name="swpm_do_cancel_stripe_sub"]:focus,
input[name="swpm_do_cancel_stripe_sub"]:focus {
    color: #b8102f !important;
}

/* タブレット対応(768px以下) */
@media (max-width: 768px) {
    button[name="swpm_do_cancel_stripe_sub"],
    input[name="swpm_do_cancel_stripe_sub"] {
        width: 380px !important;
        font-size: 14px !important;
        height: 60px !important;
        line-height: 60px !important;
        padding: 0 20px !important;
        margin: 20px auto !important;
    }
}

/* スマートフォン対応(480px以下) */
@media (max-width: 480px) {
    button[name="swpm_do_cancel_stripe_sub"],
    input[name="swpm_do_cancel_stripe_sub"] {
        width: 100% !important;
        max-width: 340px !important;
        font-size: 14px !important;
        height: 55px !important;
        line-height: 55px !important;
        padding: 0 15px !important;
        margin: 15px auto !important;
    }
}

.swpm-stripe-cancel-error-msg{
    text-align: center;
}