/*
Theme Name: 瑞葉LP
Description: ランディングページ専用テーマ。
Author: Yuri Asada
Version: 1.0
*/

/* カスタムフォント */
@font-face {
    font-family: 'Keifont';
    src: url('images/main/fonts/keifont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* リセットCSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html, body {
    height: 100%;
    overflow: hidden;
}

/* 特定商取引法・プライバシーポリシーページのhtmlとbodyのオーバーライド - 最優先 */
body.tokusho-standalone-page,
body.privacy-policy-standalone-page {
    height: auto !important;
    overflow: auto !important;
    min-height: 100vh !important;
}

body {
    font-family: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Yu Gothic Medium', 'Meiryo', sans-serif;
    line-height: 1.6;
    color: #333;
    background: url('images/main/main-bg.png') no-repeat center center fixed;
    background-size: cover;
    position: relative;
}

/* 背景オーバーレイ（必要に応じて） */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* メインコンテナ */
.main-container {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
    overflow-y: auto;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* スクロールバーのスタイリング */
.main-container::-webkit-scrollbar {
    width: 8px;
}

.main-container::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
}

.main-container::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
}

.main-container::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.5);
}

/* コンテンツエリア */
.content-area {
    min-height: 100vh;
}

/* 見出しスタイル */
h1 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    text-align: center;
    color: #2c3e50;
    font-weight: bold;
}

h2 {
    font-size: 1.8rem;
    margin: 40px 0 20px;
    color: #34495e;
    border-bottom: 3px solid #3498db;
    padding-bottom: 10px;
}

h3 {
    font-size: 1.5rem;
    margin: 30px 0 15px;
    color: #2c3e50;
}

/* 段落スタイル */
p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* リストスタイル */
ul, ol {
    margin: 20px 0;
    padding-left: 30px;
}

li {
    margin-bottom: 10px;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* ボタンスタイル */
.btn {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(45deg, #3498db, #2980b9);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-align: center;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: linear-gradient(45deg, #2980b9, #1f5f8b);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* セクションスタイル */
.section {
    margin: 60px 0;
    padding: 40px 0;
}

.section:first-child {
    margin-top: 0;
}

/* 画像スタイル */
img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

/* メインビジュアル画像 */
.main-kv-image {
    width: auto;
    height: auto;
    margin: 0 auto;
    display: block;
}

/* ファーストビューセクション */
/* .first-view {
    padding: 20px 0;
} */

/* テキスト中央揃え */
.text-center {
    text-align: center;
}

.pt-1 {
    padding-top: 1rem;
}

.pb-0 {
    padding-bottom: 0 !important;
}

.mb-0 {
    margin-bottom: 0;
}

/* 相対位置スタイル */
.position-relative {
    position: relative;
}

/* CTAボタンスタイル */

.cta-link {
    display: inline-block;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 10px;
    overflow: hidden;
}

.btn-cta {
    position: relative;
    display: inline-block;
    width: 100%;
}

.free-ship-badge {
    position: absolute;
    /* デフォルト: 792px以上の場合 */
    left: 9.343%;
    top: 50%;
    /* ブラウザ互換性のためベンダープレフィックス追加 */
    -webkit-transform: translate(0, -50%);
    -ms-transform: translate(0, -50%);
    transform: translate(0, -50%);
    /* 親要素の幅に対して一定の比率でサイズを維持 */
    width: 10.101%; /* 792px幅時に80px = 80/792 */
    max-width: 80px;
    min-width: 36px;
    height: auto;
    z-index: 10;
    /* アニメーションにもベンダープレフィックス追加 */
    -webkit-animation: pulse-scale 1.5s ease-in-out infinite;
    animation: pulse-scale 1.5s ease-in-out infinite;
    /* アスペクト比を維持してスケール */
    object-fit: contain;
    /* IE11用のobject-fitフォールバック */
    font-family: 'object-fit: contain;';
}

/* 820px以上の場合 */
@media (min-width: 820px) {
    .free-ship-badge {
        left: 9.6%;
        top: 46%;
    }
}

/* Webkit用のキーフレーム */
@-webkit-keyframes pulse-scale {
    0%, 100% {
        -webkit-transform: translate(0, -50%) scale(1);
        transform: translate(0, -50%) scale(1);
    }
    50% {
        -webkit-transform: translate(0, -50%) scale(1.1);
        transform: translate(0, -50%) scale(1.1);
    }
}

/* 標準のキーフレーム */
@keyframes pulse-scale {
    0%, 100% {
        -webkit-transform: translate(0, -50%) scale(1);
        transform: translate(0, -50%) scale(1);
    }
    50% {
        -webkit-transform: translate(0, -50%) scale(1.1);
        transform: translate(0, -50%) scale(1.1);
    }
}

.cta-image {
    width: 100%;
    height: auto;
    display: block;
    transition: all 0.3s ease;
}

.cta-link:hover .cta-image {
    filter: brightness(1.1);
}

/* レスポンシブ対応 */
/* レスポンシブ対応：画面幅に応じて位置を調整 */
@media (min-width: 729px) and (max-width: 768px) {
    .free-ship-badge {
        /* 729～768pxの場合 */
        left: 8.343%;
        top: 48%;
    }
}

@media (max-width: 728px) {
    .free-ship-badge {
        /* 728px以下の場合 */
        left: 6.343%;
        top: 47%;
    }
}

/* マージンユーティリティ */
.mb-20 {
    margin-bottom: 20px;
}

.mb-30 {
    margin-bottom: 30px;
}

.mb-40 {
    margin-bottom: 40px;
}

/* レスポンシブ対応 */
@media (max-width: 850px) {

    /* スマートフォン表示時は背景画像を非表示 */
    body {
        background: #ffffff;
        overflow: auto;
    }

    body::before {
        display: none;
    }

    .main-container {
        position: static;
        width: 100%;
        left: auto;
        transform: none;
        height: auto;
        background: #ffffff;
        backdrop-filter: none;
        box-shadow: none;
        overflow-y: visible;
    }

    .content-area {
        min-height: auto;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    /* メインビジュアル画像をレスポンシブ対応 */
    .main-kv-image {
        width: 100%;
        max-width: 100%;
    }
}

/* FAQアコーディオンスタイル */
.faq-container {
    max-width: 700px;
    margin: 40px auto;
    padding: 0 20px;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid #e0e0e0;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
}

.faq-question.active {
    background: linear-gradient(135deg, #0783b8 0%, #056a94 100%);
    color: white;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.4;
    flex: 1;
    padding-right: 15px;
}

.faq-question.active h3 {
    color: white;
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: bold;
    color: #0783b8;
    transition: all 0.3s ease;
    min-width: 30px;
    text-align: center;
}

.faq-question.active .faq-icon {
    color: white;
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    background: #ffffff;
    padding: 0 25px;
}

.faq-answer.active {
    max-height: 500px;
    padding: 25px;
}

.faq-answer p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
}

/* FAQ内のテーブルスタイル */
.faq-answer table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
    font-size: 0.95rem;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    overflow: hidden;
}

.faq-answer table th {
    background: linear-gradient(135deg, #0783b8 0%, #056a94 100%);
    color: #ffffff;
    font-weight: 600;
    padding: 12px 15px;
    text-align: left;
    border: none;
    font-size: 0.9rem;
}

.faq-answer table td {
    padding: 12px 15px;
    border-bottom: 1px solid #e9ecef;
    color: #555;
    vertical-align: top;
}

.faq-answer table tr:last-child td {
    border-bottom: none;
}

.faq-answer table tr:nth-child(even) {
    background: #f8f9fa;
}

.faq-answer table tr:hover {
    background: #e3f2fd;
    transition: background-color 0.3s ease;
}

/* テーブルの数値セル（右寄せ） */
.faq-answer table td.number,
.faq-answer table th.number {
    text-align: right;
    font-weight: 600;
}

/* テーブルの中央寄せ */
.faq-answer table td.center,
.faq-answer table th.center {
    text-align: center;
}

/* アニメーション効果 */
.faq-item.opening .faq-answer {
    animation: slideDown 0.4s ease forwards;
}

.faq-item.closing .faq-answer {
    animation: slideUp 0.4s ease forwards;
}

@keyframes slideDown {
    from {
        max-height: 0;
        padding: 0 25px;
    }

    to {
        max-height: 500px;
        padding: 25px;
    }
}

@keyframes slideUp {
    from {
        max-height: 500px;
        padding: 25px;
    }

    to {
        max-height: 0;
        padding: 0 25px;
    }
}

@media (max-width: 480px) {

    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.3rem;
    }

    p, li {
        font-size: 1rem;
    }

    /* FAQ レスポンシブ対応 */
    .faq-container {
        padding: 0 10px;
    }

    .faq-question {
        padding: 15px 20px;
    }

    .faq-question h3 {
        font-size: 1rem;
        padding-right: 10px;
    }

    .faq-icon {
        font-size: 1.3rem;
        min-width: 25px;
    }

    .faq-answer.active {
        padding: 20px;
    }

    .faq-answer p {
        font-size: 0.9rem;
    }
    
    /* FAQ内テーブルのレスポンシブ対応 */
    .faq-answer table {
        font-size: 0.85rem;
    }
    
    .faq-answer table th,
    .faq-answer table td {
        padding: 8px 10px;
    }
    
    .faq-answer table th {
        font-size: 0.8rem;
    }
}

/* フッタースタイル */
.site-footer {
    background: #657faa;
    color: #ffffff;
    padding: 40px 20px 20px;
    margin-top: 60px;
    width: 100%;
    box-sizing: border-box;
}

.footer-widgets {
    margin-bottom: 30px;
}

.footer-navigation {
    margin-bottom: 30px;
}

.footer-navigation .footer-menu {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.footer-navigation .footer-menu li a {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-navigation .footer-menu li a:hover {
    color: #3498db;
}

.site-info {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.site-info .container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    text-align: center;
}

.site-info .copyright {
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: #ffffff;
    text-align: center;
    line-height: 1.5;
}

.site-info .copyright a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.site-info .copyright a:hover {
    color: #ffffff;
}

.site-info .theme-credit {
    margin-bottom: 15px;
    font-size: 0.85rem;
    color: #ffffff;
}

.footer-links {
    margin-bottom: 15px;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    margin: 0 15px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    opacity: 0.9;
}

/* レスポンシブ対応 */
@media (max-width: 850px) {
    .site-footer {
        padding: 30px 15px 15px;
        padding-bottom: 100px; /* 追従ボタン分の余白 */
        margin-top: 40px;
    }

    .footer-navigation .footer-menu {
        flex-direction: column;
        gap: 15px;
    }

    .footer-links a {
        display: block;
        margin: 5px 0;
    }
}

@media (max-width: 480px) {
    .site-footer {
        padding: 20px 10px 10px;
        padding-bottom: 120px; /* 追従ボタン分の余白 */
    }

    .site-info .container {
        padding: 0;
    }

    .site-info .copyright,
    .site-info .theme-credit {
        font-size: 0.8rem;
    }

    .footer-links a {
        font-size: 0.85rem;
    }
}

/* プライバシーポリシーページスタイル */
.privacy-policy-page {
    background: #fff;
    min-height: 100vh;
    padding: 60px 0;
}

.privacy-policy-page .container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.privacy-policy-page .page-header {
    text-align: center;
    margin-bottom: 50px;
    border-bottom: 2px solid #3498db;
    padding-bottom: 30px;
}

.privacy-policy-page .page-title {
    font-size: 2.5em;
    color: #2c3e50;
    margin-bottom: 10px;
    font-weight: 700;
}

.privacy-policy-page .page-subtitle {
    font-size: 1.2em;
    color: #7f8c8d;
    margin: 0;
}

.privacy-policy-page .policy-content {
    line-height: 1.8;
    color: #2c3e50;
}

.privacy-policy-page .policy-section {
    margin-bottom: 40px;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #3498db;
}

.privacy-policy-page .policy-section h2 {
    font-size: 1.4em;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 600;
    border-bottom: none;
    padding-bottom: 0;
}

.privacy-policy-page .policy-section p {
    margin-bottom: 15px;
    font-size: 1em;
}

.privacy-policy-page .policy-section ul {
    margin: 15px 0;
    padding-left: 25px;
}

.privacy-policy-page .policy-section li {
    margin-bottom: 8px;
    font-size: 1em;
}

.privacy-policy-page .contact-info {
    background: #ecf0f1;
    padding: 20px;
    border-radius: 5px;
    margin-top: 15px;
}

.privacy-policy-page .contact-info p {
    margin-bottom: 10px;
    font-size: 1em;
}

.privacy-policy-page .policy-footer {
    text-align: center;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #bdc3c7;
}

.privacy-policy-page .effective-date,
.privacy-policy-page .revision-date {
    font-size: 0.9em;
    color: #7f8c8d;
    margin: 5px 0;
}

/* 特定商取引法ページスタイル */
.tokusho-page {
    background: #fff;
    height: auto;
    min-height: calc(100vh - 120px);
    padding: 60px 0;
}

/* 特定商取引法ページ - 通常のページレイアウト */
.full-height-scroll .main-container {
    position: static !important;
    height: auto !important;
    min-height: auto !important;
    transform: none !important;
    left: auto !important;
    width: 100% !important;
    max-width: none !important;
    background: #ffffff !important;
    backdrop-filter: none !important;
    box-shadow: none !important;
    overflow-y: visible !important;
}

.full-height-scroll .tokusho-page {
    background: #ffffff !important;
    padding: 40px 0;
    min-height: auto;
}

/* LPの固定レイアウトを完全に無効化 */
.full-height-scroll {
    position: static !important;
    height: auto !important;
    min-height: auto !important;
    overflow: visible !important;
}

.full-height-scroll body,
.full-height-scroll html {
    height: auto !important;
    overflow: auto !important;
    background: #ffffff !important;
}

.full-height-scroll .site-main {
    height: auto !important;
    overflow: visible !important;
}

/* 固定レイアウト関連のスタイルを無効化 */
.full-height-scroll .main-container {
    position: static !important;
    height: auto !important;
    width: 100% !important;
    max-width: none !important;
    transform: none !important;
    left: auto !important;
    background: transparent !important;
    backdrop-filter: none !important;
    box-shadow: none !important;
    overflow-y: visible !important;
}

.tokusho-page .container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    height: auto;
}

.tokusho-page .page-header {
    text-align: center;
    margin-bottom: 50px;
    border-bottom: 2px solid #e74c3c;
    padding-bottom: 30px;
}

.tokusho-page .page-title {
    font-size: 2.5em;
    color: #2c3e50;
    margin-bottom: 10px;
    font-weight: 700;
}

.tokusho-page .page-subtitle {
    font-size: 1.2em;
    color: #7f8c8d;
    margin: 0;
}

.tokusho-page .tokusho-content {
    line-height: 1.8;
    color: #2c3e50;
    height: auto;
    overflow: visible;
}

.tokusho-page .tokusho-section {
    margin-bottom: 35px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #e74c3c;
}

.tokusho-page .tokusho-section h2 {
    font-size: 1.3em;
    color: #fff;
    margin-bottom: 20px;
    font-weight: 600;
    background: #e74c3c;
    padding: 10px 15px;
    margin: -25px -25px 20px -25px;
    border-radius: 4px 4px 0 0;
    border-bottom: none;
}

.tokusho-page .info-content {
    font-size: 1em;
}

.tokusho-page .info-content p {
    margin-bottom: 10px;
}

.tokusho-page .info-content h3 {
    font-size: 1.1em;
    color: #2c3e50;
    margin: 20px 0 10px 0;
    font-weight: 600;
}

.tokusho-page .info-content ul {
    margin: 15px 0;
    padding-left: 25px;
}

.tokusho-page .info-content li {
    margin-bottom: 8px;
    font-size: 1em;
}

.tokusho-page .note {
    font-size: 0.9em;
    color: #7f8c8d;
    font-style: italic;
}

.tokusho-page .contact-info {
    background: #ecf0f1;
    padding: 20px;
    border-radius: 5px;
    margin-top: 10px;
}

.tokusho-page .contact-info p {
    margin-bottom: 10px;
    font-size: 1em;
}

.tokusho-page .tokusho-footer {
    text-align: center;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #bdc3c7;
}

.tokusho-page .effective-date,
.tokusho-page .revision-date {
    font-size: 0.9em;
    color: #7f8c8d;
    margin: 5px 0;
}

/* 特定商取引法ページのリンクスタイル */
.tokusho-page .tokusho-content a {
    color: #e74c3c;
    text-decoration: none;
    border-bottom: 1px solid #e74c3c;
}

.tokusho-page .tokusho-content a:hover {
    color: #c0392b;
    border-bottom-color: #c0392b;
}

/* プライバシーポリシー・特定商取引法ページのレスポンシブ対応 */
@media (max-width: 768px) {

    .privacy-policy-page,
    .tokusho-page {
        padding: 30px 0;
        min-height: auto;
        height: auto;
    }

    .privacy-policy-page .page-title,
    .tokusho-page .page-title {
        font-size: 2em;
    }

    .privacy-policy-page .policy-section {
        padding: 20px;
        margin-bottom: 30px;
    }

    .privacy-policy-page .policy-section h2 {
        font-size: 1.2em;
    }

    .tokusho-page .tokusho-section {
        padding: 20px;
        margin-bottom: 25px;
    }

    .tokusho-page .tokusho-section h2 {
        font-size: 1.2em;
        margin: -20px -20px 15px -20px;
    }
}

/* 動画セクション */
#video-section {
    scroll-margin-top: 20px;
}

/* ポイント3動画オーバーレイ */
.point-video-overlay {
    position: absolute;
    top: 126%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 540px;
    width: 90%;
    height: auto;
    object-fit: contain;
    z-index: 2;
}

#video-section-02 {
    top: 136%;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .point-video-overlay {
        max-width: 480px;
        top: 126%;
    }
    #video-section-02 {
        top: 136%;
    }
}

@media (max-width: 480px) {
    .point-video-overlay {
        max-width: 320px;
        top: 126%;
    }
    #video-section-02 {
        top: 136%;
    }
}

@media (max-width: 480px) {

    .privacy-policy-page .container,
    .tokusho-page .container {
        padding: 0 15px;
    }

    .privacy-policy-page .page-title,
    .tokusho-page .page-title {
        font-size: 1.8em;
    }

    .privacy-policy-page .policy-section {
        padding: 15px;
    }

    .tokusho-page .tokusho-section {
        padding: 15px;
    }

    .tokusho-page .tokusho-section h2 {
        margin: -15px -15px 15px -15px;
        font-size: 1.1em;
    }
}

/* 特定商取引法ページ - 独立したスタイル */
.tokusho-standalone-page {
    background: #fafafa !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Yu Gothic Medium", sans-serif;
    line-height: 1.7;
    color: #333;
    margin: 0;
    padding: 20px 0 60px;
}

.tokusho-standalone {
    background: #ffffff;
    padding: 60px 40px;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.tokusho-standalone .page-header {
    text-align: center;
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e5e5e5;
}

.tokusho-standalone .page-title {
    font-size: 2.4rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.tokusho-standalone .page-subtitle {
    font-size: 1rem;
    color: #666;
    font-weight: 400;
    margin: 0;
}

.tokusho-standalone .tokusho-section {
    margin-bottom: 40px;
    padding: 0;
}

.tokusho-standalone .tokusho-section h2 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 16px;
    padding: 0 0 8px 0;
    border-bottom: 2px solid #333;
    letter-spacing: -0.01em;
    background: none;
}

.tokusho-standalone .info-content {
    padding-left: 0;
}

.tokusho-standalone .info-content p {
    margin-bottom: 12px;
    font-size: 1rem;
    line-height: 1.7;
    color: #444;
}

.tokusho-standalone .info-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 24px 0 12px 0;
}

.tokusho-standalone .info-content ul {
    margin: 16px 0;
    padding-left: 20px;
}

.tokusho-standalone .info-content li {
    margin-bottom: 8px;
    font-size: 1rem;
    line-height: 1.6;
    color: #444;
}

.tokusho-standalone .note {
    font-size: 0.9rem;
    color: #666;
    font-style: normal;
    margin-top: 8px;
}

.tokusho-standalone .contact-info {
    background: #f8f9fa;
    padding: 24px;
    border-radius: 6px;
    border: 1px solid #e9ecef;
}

.tokusho-standalone .contact-info p {
    margin-bottom: 8px;
    font-size: 1rem;
}

.tokusho-standalone .tokusho-footer {
    text-align: center;
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid #e5e5e5;
}

.tokusho-standalone .effective-date,
.tokusho-standalone .revision-date {
    font-size: 0.9rem;
    color: #666;
    margin: 4px 0;
}

.tokusho-standalone a {
    color: #0066cc;
    text-decoration: none;
}

.tokusho-standalone a:hover {
    text-decoration: underline;
}

.tokusho-standalone strong {
    font-weight: 600;
    color: #1a1a1a;
}

/* 特定商取引法ページ - レスポンシブ対応 */
@media (max-width: 768px) {
    .tokusho-standalone-page {
        padding: 10px 0 40px;
    }

    .tokusho-standalone {
        padding: 40px 24px;
        margin: 0 16px;
        border-radius: 6px;
    }

    .tokusho-standalone .page-title {
        font-size: 2rem;
    }

    .tokusho-standalone .tokusho-section h2 {
        font-size: 1.2rem;
    }

    .tokusho-standalone .contact-info {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .tokusho-standalone {
        padding: 30px 20px;
        margin: 0 12px;
    }

    .tokusho-standalone .page-title {
        font-size: 1.8rem;
    }

    .tokusho-standalone .page-subtitle {
        font-size: 0.9rem;
    }
}

/* プライバシーポリシーページ - 独立したスタイル */
.privacy-policy-standalone-page {
    background: #fafafa !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Yu Gothic Medium", sans-serif;
    line-height: 1.7;
    color: #333;
    margin: 0;
    padding: 20px 0 60px;
}

.privacy-policy-standalone {
    background: #ffffff;
    padding: 60px 40px;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.privacy-policy-standalone .page-header {
    text-align: center;
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e5e5e5;
}

.privacy-policy-standalone .page-title {
    font-size: 2.4rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.privacy-policy-standalone .page-subtitle {
    font-size: 1rem;
    color: #666;
    font-weight: 400;
    margin: 0;
}

.privacy-policy-standalone .privacy-content {
    line-height: 1.8;
    color: #2c3e50;
    height: auto;
    overflow: visible;
}

.privacy-policy-standalone .privacy-section {
    margin-bottom: 40px;
    padding: 0;
}

.privacy-policy-standalone .privacy-section h2 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 16px;
    padding: 0 0 8px 0;
    border-bottom: 2px solid #2980b9;
    letter-spacing: -0.01em;
    background: none;
}

.privacy-policy-standalone .privacy-section p {
    margin-bottom: 12px;
    font-size: 1rem;
    line-height: 1.7;
    color: #444;
}

.privacy-policy-standalone .privacy-section ul {
    margin: 16px 0;
    padding-left: 20px;
}

.privacy-policy-standalone .privacy-section li {
    margin-bottom: 8px;
    font-size: 1rem;
    line-height: 1.6;
    color: #444;
}

.privacy-policy-standalone .contact-info {
    background: #f8f9fa;
    padding: 24px;
    border-radius: 6px;
    border: 1px solid #e9ecef;
}

.privacy-policy-standalone .contact-info p {
    margin-bottom: 8px;
    font-size: 1rem;
}

.privacy-policy-standalone .privacy-footer {
    text-align: center;
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid #e5e5e5;
}

.privacy-policy-standalone .effective-date,
.privacy-policy-standalone .revision-date {
    font-size: 0.9rem;
    color: #666;
    margin: 4px 0;
}

.privacy-policy-standalone a {
    color: #2980b9;
    text-decoration: none;
}

.privacy-policy-standalone a:hover {
    text-decoration: underline;
}

.privacy-policy-standalone strong {
    font-weight: 600;
    color: #1a1a1a;
}

/* プライバシーポリシーページ - レスポンシブ対応 */
@media (max-width: 768px) {
    .privacy-policy-standalone-page {
        padding: 10px 0 40px;
    }

    .privacy-policy-standalone {
        padding: 40px 24px;
        margin: 0 16px;
        border-radius: 6px;
    }

    .privacy-policy-standalone .page-title {
        font-size: 2rem;
    }

    .privacy-policy-standalone .privacy-section h2 {
        font-size: 1.2rem;
    }

    .privacy-policy-standalone .contact-info {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .privacy-policy-standalone {
        padding: 30px 20px;
        margin: 0 12px;
    }

    .privacy-policy-standalone .page-title {
        font-size: 1.8rem;
    }

    .privacy-policy-standalone .page-subtitle {
        font-size: 0.9rem;
    }
}

/* CSSのみのモーダル（JavaScriptで制御） */
.css-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    z-index: 99999;
    transition: visibility 0s linear 0.3s, opacity 0.3s ease;
}

/* JavaScriptで visibility: visible が設定された時 */
.css-modal[style*="visibility: visible"] {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transition-delay: 0s;
}

/* :target擬似クラスもサポート（後方互換性） */
.css-modal:target {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transition-delay: 0s;
}

.css-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.css-modal-container {
    background: #ffffff;
    border-radius: 15px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.8) translateY(-50px);
    transition: transform 0.3s ease;
}

/* モーダルが開いている時のコンテナアニメーション */
.css-modal[style*="visibility: visible"] .css-modal-container,
.css-modal:target .css-modal-container {
    transform: scale(1) translateY(0);
}

.css-modal-header {
    display: flex;
    justify-content: flex-end;
    padding: 15px 20px 0;
}

.css-modal-close {
    background: none;
    border: none;
    font-size: 30px;
    color: #999;
    cursor: pointer;
    line-height: 1;
    padding: 5px;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
}

.css-modal-close:hover {
    color: #333;
    text-decoration: none;
}

.css-modal-content {
    padding: 0 30px 30px;
}

.css-modal-content .css-modal-text {
    font-size: clamp(1.2rem, 1.0667rem + 0.5926vw, 1.8rem);
    font-weight: bold;
    margin-bottom: 1em;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
}

.css-attention-icon {
    width: 1.2em;
    height: 1.2em;
    flex-shrink: 0;
}

.css-modal-content .css-modal-heading {
    font-size: clamp(0.95rem, 0.8722rem + 0.3457vw, 1.3rem);
    font-weight: bold;
    margin-bottom: 1em;
}

.css-modal-content .css-modal-note {
    font-size: clamp(0.7rem, 0.6611rem + 0.1728vw, 0.875rem);
    color: #999;
    margin-top: .5rem;
}


.css-modal-image {
    text-align: center;
}

.css-modal-product-image-01 {
    max-width: 100%;
    height: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.css-modal-product-image-02 {
    max-width: 160px;
    height: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.css-modal-actions {
    text-align: center;
    margin-bottom: 1rem;
    margin-top: 3rem;
}

.css-purchase-btn {
    display: inline-block;
    position: relative;
    background: linear-gradient(135deg, #0783b8 10%, #06c0cc 90%);
    color: #fff;
    font-size: 1.2rem;
    font-weight: bold;
    padding: 15px 40px;
    border: none;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    width: 100%;
    max-width: 320px;
    overflow: hidden;
}

.css-purchase-btn:hover {
    transform: scale(1.05);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .css-modal-overlay {
        padding: 10px;
    }

    .css-modal-container {
        max-width: 95%;
    }

    .css-modal-content {
        padding: 0 20px 20px;
    }

    .css-purchase-btn {
        font-size: 1.1rem;
        padding: 12px 30px;
    }
}

@media (max-width: 480px) {
    .css-modal-overlay {
        padding: 5px;
    }

    .css-modal-container {
        max-width: 98%;
    }

    .css-modal-content {
        padding: 0 15px 15px;
    }

    .css-modal-header {
        padding: 10px 15px 0;
    }

    .css-modal-product-image-02 {
        max-width: 110px;
    }

    .css-purchase-btn {
        font-size: 1rem;
        padding: 12px 25px;
        width: 100%;
    }
}

/* サンクスページスタイル */
.thanks-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px;
    font-family: 'Noto Sans JP', sans-serif;
}

.thanks-container {
    max-width: 600px;
    width: 100%;
}

.thanks-content {
    background: #ffffff;
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.thanks-icon {
    margin-bottom: 30px;
    animation: checkmark 0.6s ease-in-out;
}

@keyframes checkmark {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.thanks-title {
    font-size: 28px;
    font-weight: 700;
    color: #333333;
    margin-bottom: 30px;
    line-height: 1.4;
}

.thanks-message {
    margin-bottom: 40px;
}

.thanks-message p {
    font-size: 16px;
    line-height: 1.8;
    color: #666666;
    margin-bottom: 20px;
}

.thanks-message p:last-child {
    margin-bottom: 0;
}

.thanks-actions {
    margin-top: 40px;
}

.btn-home {
    display: inline-block;
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: #ffffff;
    text-decoration: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.btn-home:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
    color: #ffffff;
    text-decoration: none;
}

/* サンクスページ - レスポンシブ対応 */
@media (max-width: 768px) {
    .thanks-page {
        padding: 15px;
    }
    
    .thanks-content {
        padding: 40px 25px;
        border-radius: 15px;
    }
    
    .thanks-title {
        font-size: 24px;
        margin-bottom: 25px;
    }
    
    .thanks-message p {
        font-size: 15px;
        line-height: 1.7;
    }
    
    .btn-home {
        padding: 12px 30px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .thanks-content {
        padding: 30px 20px;
    }
    
    .thanks-title {
        font-size: 22px;
    }
    
    .thanks-message p {
        font-size: 14px;
    }
}

/* 投稿ページの見出し余白カスタマイズ */
.post-content h2,
.post-content h3,
.post-content h4 {
    margin-top: 40px;
    margin-bottom: 20px;
}

/* 追従購入ボタンスタイル */
.floating-purchase-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    opacity: 1;
    transform: translateY(0);
    transition: all 0.3s ease;
    pointer-events: auto;
}

.floating-button-main {
    background: linear-gradient(135deg, #ff8c42 0%, #ff6b35 100%);
    color: #ffffff;
    border: none;
    border-radius: 50px;
    padding: 18px 30px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(255, 140, 66, 0.5);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 240px;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.floating-button-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.floating-button-main:hover::before {
    left: 100%;
}

.floating-button-main:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(255, 140, 66, 0.7);
}

.floating-button-main:active {
    transform: translateY(-1px) scale(1.02);
}

/* リンクタイプのボタン用スタイル */
.floating-button-link {
    text-decoration: none;
    display: flex;
}

.floating-button-link:hover {
    text-decoration: none;
    color: #ffffff;
}

.floating-button-icon {
    font-size: 22px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-5px);
    }
    60% {
        transform: translateY(-3px);
    }
}

.floating-button-text {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.floating-button-price {
    font-size: 14px;
    background: rgba(255, 255, 255, 0.2);
    padding: 3px 10px;
    border-radius: 12px;
    margin-left: 5px;
    font-weight: 600;
}

/* 追従ボタン用モーダルの調整 */
.floating-modal .css-modal-container {
    animation: floatingModalSlideIn 0.4s ease-out;
    transform: scale(1) translateY(0);
}

@keyframes floatingModalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(50px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .floating-purchase-button {
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        position: fixed;
        z-index: 9999;
    }
    
    .floating-button-main {
        width: 100%;
        max-width: 100%;
        padding: 14px 20px;
        font-size: 16px;
        border-radius: 8px;
    }
    
    .floating-button-text {
        font-size: 14px;
    }
    
    .floating-button-price {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .floating-purchase-button {
        bottom: 0;
        left: 0;
        right: 0;
    }
    
    .floating-button-main {
        padding: 12px 16px;
        font-size: 15px;
        min-width: auto;
    }
    
    .floating-button-icon {
        font-size: 18px;
    }
    
    .floating-button-text {
        font-size: 13px;
    }
    
    .floating-button-price {
        font-size: 11px;
        padding: 2px 6px;
    }
}

/* 特定のページで追従ボタンを非表示にする */
.page-template-page-privacy-policy .floating-purchase-button,
.page-template-page-tokusho .floating-purchase-button,
.page-template-page-thanks .floating-purchase-button {
    display: none !important;
}

/* 追従ボタンのパルス効果 */
.floating-button-main {
    position: relative;
}

.floating-button-main::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border-radius: 50px;
    background: rgba(255, 140, 66, 0.4);
    transform: translate(-50%, -50%);
    animation: pulse 3s infinite;
    z-index: -1;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.7;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0;
    }
}

/* ダークモード対応 */
@media (prefers-color-scheme: dark) {
    .floating-button-close {
        background: rgba(255, 255, 255, 0.2);
        color: #ffffff;
    }
    
    .floating-button-close:hover {
        background: rgba(255, 255, 255, 0.3);
    }
}

/* ============================================
   追従購入カードスタイル
   ============================================ */

.floating-purchase-card {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    z-index: 9998;
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    pointer-events: auto;
}

.floating-card-inner {
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 16px;
    padding: 16px 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15), 0 2px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    min-width: 200px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.floating-card-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #eee;
    color: #5a4a00;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 16px 6px 8px;
    border-radius: 20px;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.floating-card-badge-icon {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.floating-card-price {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 14px;
}

.floating-card-price .original-price {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
    font-weight: 500;
}

.floating-card-price .sale-price {
    font-size: 26px;
    font-weight: bold;
    color: #cc0c39;
    letter-spacing: -0.5px;
}

.floating-card-button {
    display: block;
    width: 100%;
    background: linear-gradient(135deg, #ffd814 0%, #f5c800 100%);
    color: #111111;
    border: none;
    border-radius: 8px;
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 216, 20, 0.5);
    letter-spacing: 0.5px;
    text-decoration: none;
    text-align: center;
}

.floating-card-button:hover {
    background: linear-gradient(135deg, #ffe44d 0%, #ffd814 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 216, 20, 0.6);
    color: #111111;
}

.floating-card-button:active {
    transform: translateY(0);
}

/* お問合せボタン（縦積み用） */
.floating-card-button-contact {
    background: linear-gradient(135deg, #5DBAE0 0%, #4aa8ce 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(93, 186, 224, 0.4);
    margin-top: 8px;
    padding: 10px 24px;
    font-size: 13px;
}

.floating-card-button-contact:hover {
    background: linear-gradient(135deg, #6fc5e8 0%, #5DBAE0 100%);
    box-shadow: 0 6px 20px rgba(93, 186, 224, 0.5);
    color: #ffffff;
}

/* ボタンラッパー（PC時は縦並び） */
.floating-card-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

/* 追従購入カードのレスポンシブ対応 */
@media (max-width: 768px) {
    .floating-purchase-card {
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
    }
    
    .floating-card-inner {
        padding: 10px 12px;
        min-width: auto;
        border-radius: 0;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }
    
    .floating-card-badge {
        font-size: 11px;
        padding: 4px 10px;
        margin-bottom: 0;
        order: 1;
        flex: 0 0 auto;
    }
    
    .floating-card-badge-icon {
        width: 24px;
        height: 24px;
    }
    
    .floating-card-price {
        margin-bottom: 0;
        gap: 6px;
        order: 2;
        flex: 0 0 auto;
    }
    
    .floating-card-price .original-price {
        font-size: 11px;
    }
    
    .floating-card-price .sale-price {
        font-size: 18px;
    }
    
    /* ボタンを横並びにするコンテナ */
    .floating-card-button {
        padding: 12px 16px;
        font-size: 13px;
        flex: 1;
        min-width: 0;
    }
    
    .floating-card-button-contact {
        margin-top: 0;
        padding: 12px 16px;
        font-size: 13px;
    }
    
    /* SP時はボタンを横並び */
    .floating-card-buttons {
        flex-direction: row;
        gap: 8px;
        width: 100%;
        order: 3;
        flex: 1 0 100%;
    }
}

@media (max-width: 480px) {
    .floating-purchase-card {
        bottom: 0;
        left: 0;
        right: 0;
    }
    
    .floating-card-inner {
        padding: 8px 10px;
        gap: 6px;
    }
    
    .floating-card-badge {
        font-size: 10px;
        padding: 3px 8px;
    }
    
    .floating-card-badge-icon {
        width: 20px;
        height: 20px;
    }
    
    .floating-card-price {
        gap: 4px;
    }
    
    .floating-card-price .original-price {
        font-size: 10px;
    }
    
    .floating-card-price .sale-price {
        font-size: 16px;
    }
    
    .floating-card-button {
        padding: 10px 12px;
        font-size: 12px;
    }
    
    .floating-card-button-contact {
        padding: 10px 12px;
        font-size: 12px;
    }
    
    .floating-card-buttons {
        flex-direction: row;
        gap: 6px;
        width: 100%;
        order: 3;
        flex: 1 0 100%;
    }
}

/* 特定のページで追従購入カードを非表示にする */
.page-template-page-privacy-policy .floating-purchase-card,
.page-template-page-tokusho .floating-purchase-card,
.page-template-page-thanks .floating-purchase-card,
.contact-page-body .floating-purchase-card {
    display: none !important;
}

/* ============================================
   追従お問合せカードスタイル
   ============================================ */

.floating-contact-card {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    pointer-events: auto;
}

.floating-contact-card .floating-card-inner {
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 16px;
    padding: 16px 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15), 0 2px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    min-width: 200px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.floating-card-badge-contact {
    background: linear-gradient(135deg, #64b5f6 0%, #42a5f5 100%) !important;
    color: #ffffff !important;
}

.floating-card-badge-icon-emoji {
    font-size: 18px;
}

/* 特定のページで追従お問合せカードを非表示にする */
.page-template-page-privacy-policy .floating-contact-card,
.page-template-page-tokusho .floating-contact-card,
.page-template-page-thanks .floating-contact-card,
.contact-page-body .floating-contact-card {
    display: none !important;
}

/* レスポンシブ対応 - 追従お問合せカード */
@media (max-width: 768px) {
    .floating-contact-card {
        bottom: 10px;
        right: 10px;
    }
    
    .floating-contact-card .floating-card-inner {
        padding: 12px 16px;
        min-width: 180px;
    }
}

@media (max-width: 480px) {
    .floating-contact-card {
        bottom: 8px;
        right: 8px;
    }
    
    .floating-contact-card .floating-card-inner {
        padding: 10px 14px;
        min-width: 160px;
    }
}

/* ============================================
   LINEブリッジ記事スタイル（article-sample.html用）
   ============================================ */

/* メインラッパー */
.miz-wrap {
    max-width: 100%;
    margin: 0 auto;
    color: #333;
    line-height: 1.75;
}

/* ヒーローセクション */
.miz-hero {
    padding: 40px 20px;
    background: linear-gradient(135deg, #e8f5f3 0%, #d4ebe6 100%);
    border-bottom: none;
    text-align: center;
    margin-bottom: 40px;
    border-radius: 0 0 20px 20px;
}

.miz-eyebrow {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #4a9b8e;
    background: rgba(74, 155, 142, 0.15);
    padding: 8px 18px;
    border-radius: 20px;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.miz-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    text-align: center;
    color: #2c3e50;
    font-weight: bold;
    line-height: 1.4;
    padding: 0;
    border: none;
}

.miz-sub {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin: 0;
    max-width: 700px;
    margin: 0 auto;
}

/* カードスタイル */
.miz-card {
    margin: 40px 0;
    background: #ffffff;
    border-radius: 16px;
    transition: all 0.3s ease;
}

/* セクションスタイル */
.miz-section {
    margin: 60px 0;
    padding: 0;
}

.miz-section:first-child {
    margin-top: 0;
}

/* 見出しスタイル（親しみやすく改良） */
.post-content .miz-heading-lg {
    font-size: 2rem;
    margin: 40px 0 20px;
    color: #4a9b8e;
    border-bottom: none;
    padding: 20px;
    font-weight: bold;
    text-align: center;
    background: linear-gradient(135deg, #f0fdf4 0%, #e8f5f3 100%);
    border-radius: 12px;
    position: relative;
}

.post-content .miz-heading-lg::before {
    content: '🌿';
    margin-right: 8px;
}

.post-content .miz-heading-sm {
    font-size: 1.5rem;
    margin: 80px 0 20px;
    color: #2c3e50;
    font-weight: 600;
    padding-left: 15px;
    border-left: 4px solid #4a9b8e;
    position: relative;
    border-bottom: 0;
}

.post-content .miz-heading-sm .heading-highlight {
    color: #ff6b6b;
    font-weight: bold;
}

.yen-big {
    font-size: 1.4rem;
    font-weight: bold;
    color: #ff6b6b;
}

/* 段落スタイル（読みやすく改良） */
.post-content .miz-card p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.85;
    color: #444;
    text-align: center  ;
}

.post-content .miz-card p:last-child,
.post-content .miz-section p:last-child {
    margin-bottom: 0;
}

/* リストスタイル（親しみやすく改良） */
.post-content .miz-bullets {
    margin: 20px 0;
    padding: 1em 2em;
    list-style: none;
    margin-top: 3em;
    background: #f8fcfb;
    border-radius: 12px;
}

.post-content .miz-bullets li {
    position: relative;
    margin-bottom: 12px;
    font-size: 1.1rem;
    line-height: 1.7;
    padding-left: 10px;
}

.post-content .miz-bullets li::before {
    content: '✓';
    position: absolute;
    left: -25px;
    color: #4a9b8e;
    font-weight: bold;
    font-size: 1.2em;
}

.post-content .miz-empathy-paragraph {
    font-weight: 600;
    text-align: center;
    margin-top: 2em;
    font-size: 1.15rem;
    color: #4a9b8e;
}

/* 強調テキスト */
.post-content .miz-empathy-conclusion {
    font-size: 1.15rem;
    line-height: 1.85;
    color: #333;
    margin-top: 3em;
    padding: 20px;
    background: linear-gradient(to right, #fff9e6 0%, transparent 100%);
    border-left: 3px solid #ffc107;
    border-radius: 8px;
}

.post-content .miz-empathy-conclusion strong {
    font-weight: bold;
    color: #e67e22;
}

/* クオートスタイル */
.miz-quote {
    font-size: 1.2rem;
    font-style: italic;
    color: #4a9b8e;
    line-height: 1.85;
    padding: 25px 30px;
    margin: 30px 0;
    background: linear-gradient(135deg, #f0fdf4 0%, #e8f5f3 100%);
    border-left: none;
    border-radius: 12px;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.miz-quote::before {
    content: '"';
    font-size: 3rem;
    color: #4a9b8e;
    opacity: 0.3;
    position: absolute;
    top: 5px;
    left: 5px;
    font-family: Georgia, serif;
}

/* 特徴セクション */
.miz-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    margin: 30px 0;
}

.miz-feature {
    background: #ffffff;
    border: 2px solid #e8f5f3;
    border-radius: 16px;
    padding: 30px 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.miz-feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #4a9b8e 0%, #6bcaba 100%);
}

.miz-feature:hover {
    box-shadow: 0 6px 20px rgba(74, 155, 142, 0.15);
    transform: translateY(-3px);
    border-color: #4a9b8e;
}

/* バッジスタイル */
.miz-badge {
    display: inline-block;
    font-size: 1rem;
    font-weight: bold;
    color: #ffffff;
    background: linear-gradient(135deg, #4a9b8e 0%, #3d8278 100%);
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 12px;
    box-shadow: 0 2px 6px rgba(74, 155, 142, 0.3);
}

/* 特徴タイトル */
.miz-feature-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    line-height: 1.5;
    margin: 10px 0 15px 0;
}

.post-content .miz-feature-title {
    margin-top: 5px;
    margin-bottom: 20px;
}

/* 特徴説明 */
.miz-feature p {
    font-size: 1.05rem;
    line-height: 1.85;
    color: #555;
    margin: 0;
}


#miz-campaign.miz-heading-sm {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #333333;
    text-align: center;
    padding-left: 0;
    border-left: none;
}

#miz-campaign.miz-heading-sm::before,
#miz-campaign.miz-heading-sm::after {
    width: 3px;
    height: 40px;
    background-color: #ff6b6b;
    content: '';
}

#miz-campaign.miz-heading-sm::before {
    transform: rotate(-35deg);
    margin-right: 30px;
}

#miz-campaign.miz-heading-sm::after {
    transform: rotate(35deg);
    margin-left: 30px;
}

.balloon-left {
    position: relative;
    margin: 2em 0 2em 40px;
    padding: 18px 22px;
    background: linear-gradient(135deg, #fff4d6 0%, #ffe8a8 100%);
    border-radius: 20px;
    text-align: left;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    font-size: 1.05rem;
    line-height: 1.7;
  }
  
  .balloon-left:before {  
    content: "";
    position: absolute;
    left: -38px;
    width: 13px;
    height: 12px;
    bottom: 0;
    background: #ffe8a8;
    border-radius: 50%;
  }
  
  .balloon-left:after {
    content: "";
    position: absolute;
    left: -24px;
    width: 20px;
    height: 18px;
    bottom: 3px;
    background: #ffe8a8;
    border-radius: 50%;
  }

  .balloon-right {
    position: relative;
    margin: 2em 40px 2em 0;
    padding: 18px 22px;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-radius: 20px;
    text-align: left;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    font-size: 1.05rem;
    line-height: 1.7;
  }
  
  .balloon-right:before {  
    content: "";
    position: absolute;
    right: -38px;
    width: 13px;
    height: 12px;
    bottom: 0;
    background: #bbdefb;
    border-radius: 50%;
  }
  
  .balloon-right:after {
    content: "";
    position: absolute;
    right: -24px;
    width: 20px;
    height: 18px;
    bottom: 3px;
    background: #bbdefb;
    border-radius: 50%;
  }

  .balloon-left p,
  .balloon-right p {
    margin: 0; 
    padding: 0;
  }

/* 画像と吹き出しの横並びレイアウト */
.miz-image-balloon-flex {
  display: flex;
  gap: 60px;
  align-items: center;
  margin: 30px 0;
}

.miz-image-balloon-flex .miz-image {
  flex: 0 0 auto;
  width: 40%;
  max-width: 300px;
  margin: 0;
}

.miz-image-balloon-flex .miz-balloon-left-wrapper {
  flex: 1;
  margin: 0;
}

.miz-image-balloon-flex .balloon-left {
  margin: 0 0 15px 0;
}

.miz-image-balloon-flex .balloon-left:last-child {
  margin-bottom: 0;
}

/* レスポンシブ対応 - タブレット以下は縦並び */
@media (max-width: 768px) {

    .miz-image-balloon-flex .miz-balloon-left-wrapper {
        padding-left: 30px;
    }
  .miz-image-balloon-flex {
    flex-direction: column;
    gap: 15px;
  }

  .miz-image-balloon-flex .miz-image {
    width: 100%;
    max-width: 50%;
  }
}

/* 沖縄の水の悩みリストスタイル */
.miz-water-problem-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2c3e50;
    text-align: center;
    margin: 40px 0 30px;
    padding: 15px 20px;
    background: linear-gradient(135deg, #fff4e6 0%, #ffe8cc 100%);
    border-radius: 12px;
    border-left: 5px solid #ff8c42;
    position: relative;
}

.miz-water-problem-title::before {
    content: '💧';
    margin-right: 8px;
    font-size: 1.2em;
}

/* PFASポイントリストスタイル */
.miz-pfas-point-list {
    list-style: none;
    margin: 30px 0;
    padding: 0;
    display: grid;
    gap: 18px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.miz-pfas-point-list li {
    background: linear-gradient(135deg, #fff5f5 0%, #ffe5e5 100%);
    border: 2px solid #ffcdd2;
    border-radius: 12px;
    padding: 18px 25px 18px 55px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    line-height: 1.7;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 2px 8px rgba(244, 67, 54, 0.08);
}

.miz-pfas-point-list li::before {
    content: '⚗️';
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.6rem;
}

.miz-pfas-point-list li:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(244, 67, 54, 0.15);
    border-color: #ef5350;
}

/* 製品特徴のサブタイトル */
.miz-feature-subtitle {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    text-align: center;
    margin: 40px 0 20px;
    line-height: 1.6;
}

/* 暮らしの変化（ベネフィット）リストスタイル */
.miz-benefit-list {
    list-style: none;
    margin: 30px 0;
    padding: 0;
    display: grid;
    gap: 18px;
}

.miz-benefit-list li {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 2px solid #86efac;
    border-radius: 12px;
    padding: 18px 25px 18px 55px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    line-height: 1.7;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.08);
}

.miz-benefit-list li::before {
    content: '✓';
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.8rem;
    font-weight: bold;
    color: #22c55e;
}

.miz-benefit-list li:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.2);
    border-color: #4ade80;
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
}

/* 料理の味が変わるリストスタイル */
.miz-cooking-problem-list {
    list-style: none;
    margin: 30px 0;
    padding: 0;
    display: grid;
    gap: 20px;
}

.miz-cooking-problem-list li {
    background: linear-gradient(135deg, #fffbf0 0%, #fff8e1 100%);
    border: 2px solid #ffe0b2;
    border-radius: 12px;
    padding: 20px 25px;
    font-size: 1.15rem;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1.8;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 2px 8px rgba(255, 152, 0, 0.08);
}

.miz-cooking-problem-list li::before {
    content: '🍳';
    position: absolute;
    left: -10px;
    top: -10px;
    font-size: 1.8rem;
    background: #fff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(255, 152, 0, 0.15);
}

.miz-cooking-problem-list li:nth-child(2)::before {
    content: '🍚';
}

.miz-cooking-problem-list li:nth-child(3)::before {
    content: '☕';
}

.miz-cooking-problem-list li:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 152, 0, 0.2);
    border-color: #ffb74d;
}

.miz-cooking-problem-list li span {
    display: block;
    font-size: 0.95rem;
    font-weight: 400;
    color: #666;
    margin-top: 8px;
    line-height: 1.6;
    padding-left: 0;
}

.miz-water-problem-list {
    list-style: none;
    margin: 30px 0;
    padding: 0;
    display: grid;
    gap: 20px;
}

.miz-water-problem-list li {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 2px solid #e8f5f3;
    border-radius: 12px;
    padding: 20px 25px;
    font-size: 1.15rem;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1.8;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.miz-water-problem-list li::before {
    content: '⚠️';
    position: absolute;
    left: -10px;
    top: -10px;
    font-size: 1.8rem;
    background: #fff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.miz-water-problem-list li:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(74, 155, 142, 0.15);
    border-color: #4a9b8e;
}

.miz-water-problem-list li span {
    display: block;
    font-size: 0.95rem;
    font-weight: 400;
    color: #666;
    margin-top: 8px;
    line-height: 1.6;
    padding-left: 0;
}

/* レスポンシブ対応 - タブレット */
@media (max-width: 850px) {
    .miz-feature-subtitle {
        font-size: 1.05rem;
        margin: 35px 0 18px;
    }

    .miz-water-problem-title {
        font-size: 1.3rem;
        padding: 12px 18px;
        margin: 35px 0 25px;
    }

    .miz-water-problem-list {
        gap: 15px;
        margin: 25px 0;
    }

    .miz-water-problem-list li {
        padding: 18px 22px;
        font-size: 1.1rem;
    }

    .miz-water-problem-list li::before {
        font-size: 1.6rem;
        width: 36px;
        height: 36px;
    }

    .miz-water-problem-list li span {
        font-size: 0.9rem;
    }

    .miz-pfas-point-list {
        gap: 15px;
        margin: 25px auto;
    }

    .miz-pfas-point-list li {
        padding: 16px 22px 16px 50px;
        font-size: 1.05rem;
    }

    .miz-pfas-point-list li::before {
        font-size: 1.5rem;
        left: 12px;
    }

    .miz-benefit-list {
        gap: 15px;
        margin: 25px 0;
    }

    .miz-benefit-list li {
        padding: 16px 22px 16px 50px;
        font-size: 1.05rem;
    }

    .miz-benefit-list li::before {
        font-size: 1.6rem;
        left: 15px;
    }

    .miz-cooking-problem-list {
        gap: 15px;
        margin: 25px 0;
    }

    .miz-cooking-problem-list li {
        padding: 18px 22px;
        font-size: 1.1rem;
    }

    .miz-cooking-problem-list li::before {
        font-size: 1.6rem;
        width: 36px;
        height: 36px;
    }

    .miz-cooking-problem-list li span {
        font-size: 0.9rem;
    }
}

/* レスポンシブ対応 - スマートフォン */
@media (max-width: 480px) {
    .miz-feature-subtitle {
        font-size: 1rem;
        margin: 30px 0 15px;
    }

    .miz-water-problem-title {
        font-size: 1.15rem;
        padding: 12px 15px;
        margin: 30px 0 20px;
    }

    .miz-water-problem-title::before {
        font-size: 1.1em;
    }

    .miz-water-problem-list {
        gap: 12px;
        margin: 20px 0;
    }

    .miz-water-problem-list li {
        padding: 15px 18px;
        font-size: 1.05rem;
    }

    .miz-water-problem-list li::before {
        font-size: 1rem;
        width: 32px;
        height: 32px;
        left: -8px;
        top: -8px;
    }

    .miz-water-problem-list li span {
        font-size: 0.85rem;
        margin-top: 6px;
    }

    .miz-pfas-point-list {
        gap: 12px;
        margin: 20px auto;
    }

    .miz-pfas-point-list li {
        padding: 14px 18px 14px 45px;
        font-size: 1rem;
    }

    .miz-pfas-point-list li::before {
        font-size: 1.3rem;
        left: 10px;
    }

    .miz-benefit-list {
        gap: 12px;
        margin: 20px 0;
    }

    .miz-benefit-list li {
        padding: 14px 18px 14px 45px;
        font-size: 1rem;
    }

    .miz-benefit-list li::before {
        font-size: 1.5rem;
        left: 12px;
    }

    .miz-cooking-problem-list {
        gap: 12px;
        margin: 20px 0;
    }

    .miz-cooking-problem-list li {
        padding: 15px 18px;
        font-size: 1.05rem;
    }

    .miz-cooking-problem-list li::before {
        font-size: 1.4rem;
        width: 32px;
        height: 32px;
        left: -8px;
        top: -8px;
    }

    .miz-cooking-problem-list li span {
        font-size: 0.85rem;
        margin-top: 6px;
    }
}

/* 画像スタイル */
.miz-image {
    margin: 30px 0;
    text-align: center;
}

.miz-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    transition: all 0.3s ease;
}

/* メタ情報 */
.post-content .miz-meta {
    font-size: 0.9rem;
    color: #999;
    line-height: 1.6;
    margin-top: 30px;
    padding: 18px 22px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 3px solid #ddd;
}

.post-content .miz-meta p {
    font-size: 0.9rem;
    color: #999;
    margin: 5px 0;
}

/* CTAセクション */
.miz-cta {
    position: sticky;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #4a9b8e 0%, #3d8278 100%);
    padding: 30px 20px;
    box-shadow: 0 -4px 20px rgba(74, 155, 142, 0.3);
    z-index: 1000;
    margin-top: 60px;
    border-top: 3px solid #6bcaba;
}

.miz-cta-inner {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.miz-cta-label {
    display: inline-block;
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    background: rgba(255, 193, 7, 0.95);
    padding: 8px 20px;
    border-radius: 25px;
    margin: 0;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(255, 193, 7, 0.4);
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 2px 8px rgba(255, 193, 7, 0.4);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 4px 16px rgba(255, 193, 7, 0.6);
        transform: scale(1.02);
    }
}

.miz-cta-text {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    text-align: center;
    margin: 8px 0;
    line-height: 1.7;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.miz-cta-text strong {
    font-size: 1.35rem;
    font-weight: 800;
    color: #fff9e6;
}

.miz-cta-note {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    margin: 0;
    letter-spacing: 0.3px;
}

/* ボタンスタイル（親しみやすく改良） */
.miz-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 18px 40px;
    background: linear-gradient(135deg, #4a9b8e, #3d8278);
    color: white;
    text-decoration: none;
    border-radius: 35px;
    font-weight: bold;
    font-size: 1.15rem;
    transition: all 0.3s ease;
    text-align: center;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.miz-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.miz-btn:hover::before {
    left: 100%;
}

.miz-btn:hover {
    background: linear-gradient(135deg, #3d8278, #326b62);
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    color: white;
}

.miz-btn:active {
    transform: translateY(-1px) scale(1.01);
}

.miz-btnPrimary {
    background: #ffffff;
    color: #4a9b8e;
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.5);
    font-size: 1.2rem;
    padding: 20px 45px;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.miz-btnPrimary:hover {
    background: #fff9e6;
    color: #3d8278;
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.7);
    border-color: rgba(255, 255, 255, 0.5);
}

.miz-btn-icon {
    font-size: 1.3em;
    line-height: 1;
    animation: water-drop 2s ease-in-out infinite;
}

@keyframes water-drop {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-3px);
    }
}

.miz-btn-text {
    font-weight: 800;
    letter-spacing: 0.5px;
}

.miz-btn-arrow {
    font-size: 1.2em;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.miz-btn:hover .miz-btn-arrow {
    transform: translateX(5px);
}

/* レスポンシブ対応 - タブレット */
@media (max-width: 850px) {

    .miz-hero {
        padding: 30px 15px;
        margin-bottom: 30px;
    }

    .miz-hero h1 {
        font-size: 2rem;
    }

    .miz-card {
        margin: 30px 0;
    }

    .miz-section {
        margin: 40px 0;
    }

    .miz-heading-lg {
        font-size: 1.5rem;
    }

    .miz-heading-sm {
        font-size: 1.3rem;
    }

    .miz-features {
        gap: 15px;
    }

    .miz-feature {
        padding: 20px 18px;
    }

    .miz-cta {
        padding: 20px 15px;
        margin-top: 40px;
    }

    .miz-cta-inner {
        gap: 10px;
    }

    .miz-cta-label {
        font-size: 0.85rem;
        padding: 6px 16px;
    }

    .miz-cta-text {
        font-size: 1.1rem;
    }

    .miz-cta-text strong {
        font-size: 1.2rem;
    }

    .miz-cta-note {
        font-size: 0.85rem;
    }

    .miz-btnPrimary {
        font-size: 1.1rem;
        padding: 16px 35px;
    }
}

/* レスポンシブ対応 - スマートフォン */
@media (max-width: 480px) {

    .miz-hero {
        padding: 25px 12px;
        margin-bottom: 20px;
    }

    .miz-hero h1 {
        font-size: 1.8rem;
    }

    .miz-eyebrow {
        font-size: 0.75rem;
        padding: 5px 12px;
    }

    .miz-sub {
        font-size: 1rem;
    }

    .miz-section {
        margin: 30px 0;
    }

    .post-content .miz-heading-lg {
        font-size: 1.3rem;
        padding-bottom: 8px;
        padding: 1em .5em;
    }

    .post-content .miz-heading-sm {
        font-size: 1.1rem;
    }

    .post-content .miz-card p,
    .post-content .miz-section p,
    .post-content .miz-bullets li,
    .miz-feature p {
        font-size: 1rem;
    }

    .post-content .miz-bullets {
        padding-left: 24px;
        text-align: left;
        padding-right: 0;
    }

    .post-content .miz-bullets li::before {
        left: -20px;
    }

    .post-content .miz-quote {
        padding: 1em 2em;
        margin: 15px 0;
        font-size: 1rem;
    }

    .post-content .miz-features {
        gap: 12px;
    }

    .miz-feature {
        padding: 18px 15px;
    }

    .miz-badge {
        font-size: 0.8rem;
        padding: 4px 10px;
    }

    .miz-feature-title {
        font-size: 1.1rem;
    }

    .miz-cta {
        padding: 18px 12px;
        margin-top: 30px;
    }

    .miz-cta-inner {
        gap: 8px;
    }

    .miz-cta-label {
        font-size: 0.8rem;
        padding: 5px 14px;
    }

    .miz-cta-text {
        font-size: 1rem;
        line-height: 1.6;
    }

    .miz-cta-text br {
        display: inline;
    }

    .miz-cta-text br::after {
        content: ' ';
    }

    .miz-cta-text strong {
        font-size: 1.1rem;
    }

    .miz-cta-note {
        font-size: 0.8rem;
    }

    .miz-btn {
        gap: 6px;
    }

    .miz-btnPrimary {
        padding: 16px 30px;
        font-size: 1rem;
        width: 100%;
        max-width: 340px;
    }

    .miz-btn-icon {
        font-size: 1.2em;
    }

    .miz-btn-text {
        font-size: 0.95rem;
    }

    .miz-btn-arrow {
        font-size: 1.1em;
    }
}

/* アクセシビリティ対応 */
@media (prefers-reduced-motion: reduce) {
    .miz-card,
    .miz-feature,
    .miz-btn {
        transition: none;
    }

    .miz-btn:hover {
        transform: none;
    }
}

/* 沖縄限定送料無料バナー */
.post-content .miz-campaign-banner {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
    padding: 1rem;
    margin: 1.5rem 0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
    animation: pulse-glow 2s ease-in-out infinite;
}

.post-content .miz-campaign-text strong {
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: bold;
    text-align: center;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.05em;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
    }
    50% {
        box-shadow: 0 6px 20px rgba(255, 107, 107, 0.5);
    }
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .miz-campaign-text {
        font-size: 1.1rem;
    }
}

/* SP時のみ改行するクラス */
.sp-br {
    display: none;
}

@media (max-width: 768px) {
    .sp-br {
        display: block;
    }
}

/* post-footer と post-navigation を非表示 */
.post-footer,
.post-navigation {
    display: none !important;
}

/* ============================================
   お悩み解決モーダルスタイル
   ============================================ */

/* クリック可能な画像リンク */
.clickable-image-link {
    display: block;
    cursor: pointer;
    transition: all 0.3s ease;
}

.clickable-image-link:hover {
    opacity: 0.9;
}

/* お悩み解決モーダル専用スタイル */
.solution-modal-container {
    max-width: 500px;
}

.solution-modal-title {
    font-size: 1.8rem;
    font-weight: bold;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.5;
}

.solution-benefits {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.solution-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.solution-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.15);
}

.solution-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.solution-item p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
    color: #2c3e50;
}

.solution-item strong {
    color: #0783b8;
    font-weight: 700;
}

.solution-cta {
    text-align: center;
    margin-bottom: 15px;
}

.solution-next-btn {
    display: inline-block;
    background: linear-gradient(135deg, #0783b8 0%, #06c0cc 100%);
    color: #fff;
    font-size: 1.3rem;
    font-weight: bold;
    padding: 18px 45px;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(7, 131, 184, 0.3);
    position: relative;
    overflow: hidden;
}

.solution-next-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.solution-next-btn:hover::before {
    left: 100%;
}

.solution-next-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(7, 131, 184, 0.4);
    text-decoration: none;
    color: #fff;
}

.solution-note {
    text-align: center;
    font-size: 0.85rem;
    color: #999;
    margin: 0;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .solution-modal-container {
        max-width: 95%;
    }

    .solution-modal-title {
        font-size: 1.5rem;
        margin-bottom: 25px;
        margin-top: 0;
    }

    .solution-benefits {
        gap: 15px;
        margin-bottom: 25px;
    }

    .solution-item {
        padding: 12px;
        gap: 12px;
    }

    .solution-icon {
        font-size: 1.8rem;
    }

    .solution-item p {
        font-size: 0.95rem;
    }

    .solution-next-btn {
        font-size: 1.2rem;
        padding: 16px 40px;
    }

    .solution-note {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .solution-modal-title {
        font-size: 1.3rem;
        margin-bottom: 20px;
    }

    .solution-benefits {
        gap: 12px;
        margin-bottom: 20px;
    }

    .solution-item {
        padding: 10px;
        gap: 10px;
    }

    .solution-icon {
        font-size: 1.5rem;
    }

    .solution-item p {
        font-size: 0.9rem;
    }

    .solution-next-btn {
        font-size: 1.1rem;
        padding: 14px 35px;
        width: 100%;
        max-width: 280px;
    }

    .solution-note {
        font-size: 0.75rem;
    }
}

/* 下向き矢印アイコン（3つ横並び） */
.arrow-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    padding: 16px 0;
    margin: 20px 0;
}

.arrow-icon {
    transform: rotate(90deg);
    animation: arrowScale 1.5s ease-in-out infinite;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.arrow-icon:hover {
    opacity: 1;
}

.arrow-delay-1 {
    animation-delay: 0.2s;
}

.arrow-delay-2 {
    animation-delay: 0.4s;
}

@keyframes arrowScale {
    0%, 100% {
        transform: rotate(90deg) scale(1);
    }
    50% {
        transform: rotate(90deg) scale(1.3);
    }
}

/* キャンペーンテキストオーバーレイ */
.campaign-image-wrapper {
    position: relative;
    /* display: inline-block; */
}

.campaign-text-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Keifont', sans-serif;
    font-size: 2.5rem;
    color: #4a689b;
    text-shadow: 
        /* 白い縁取り（8方向） */
        -2px -2px 0 #fff,
        2px -2px 0 #fff,
        -2px 2px 0 #fff,
        2px 2px 0 #fff,
        -2px 0 0 #fff,
        2px 0 0 #fff,
        0 -2px 0 #fff,
        0 2px 0 #fff,
        /* さらに太い縁取り（8方向） */
        -3px -3px 0 #fff,
        3px -3px 0 #fff,
        -3px 3px 0 #fff,
        3px 3px 0 #fff,
        -3px 0 0 #fff,
        3px 0 0 #fff,
        0 -3px 0 #fff,
        0 3px 0 #fff,
        /* 黒い影で立体感 */
        4px 4px 6px rgba(0, 0, 0, 0.8),
        /* 光彩効果 */
        0 0 10px rgba(255, 255, 0, 0.6);
    animation: pulseScale 1.5s ease-in-out infinite;
    white-space: nowrap;
    z-index: 10;
    pointer-events: none;
}

@keyframes pulseScale {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
    }
}

/* お問い合わせボタンスタイル */
.inquiry-button-wrapper {
    margin: 30px 0;
}

.inquiry-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 40px;
    background: #4a689b;
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-size: 18px;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    transition: all 0.3s ease;
    cursor: pointer;
    width: 80%;
    outline: 2px solid rgb(255, 255, 255);
    outline-offset: -7px;
}

.inquiry-button .mail-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.inquiry-button:hover {
    transform: translateY(-2px);
    text-decoration: none;
}

.inquiry-button:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .inquiry-button-wrapper {
        margin: 20px 0;
    }

    .inquiry-button {
        padding: 12px 30px;
        font-size: 16px;
    }

    .campaign-text-overlay {
    font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .inquiry-button-wrapper {
        margin: 15px 0;
        padding: 0 10px;
    }

    .inquiry-button {
        padding: 12px 25px;
        font-size: 15px;
        width: 100%;
    }

    .campaign-text-overlay {
        font-size: 1.4rem;
    }
}

/* クリックアイコンオーバーレイ */
.click-icon-overlay {
    position: absolute;
    right: 10px;
    top: 0;
    width: 80px;
    height: auto;
    z-index: 10;
    pointer-events: none;
    animation: clickAnimation 1.5s ease-in-out infinite;
}

@keyframes clickAnimation {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(0.85);
        opacity: 0.7;
    }
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .click-icon-overlay {
        width: 60px;
        right: 8px;
        bottom: 8px;
    }
}

@media (max-width: 480px) {
    .click-icon-overlay {
        width: 50px;
        right: 5px;
        bottom: 5px;
    }
}

/* ============================================
   お問い合わせページ専用スタイル
   ============================================ */

/* お問い合わせページのbodyスタイル - スクロール可能にするための必須オーバーライド */
body.contact-page-body,
body.contact-standalone-page {
    height: auto !important;
    overflow: visible !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    min-height: 100vh !important;
    position: static !important;
    margin: 0;
    padding: 0;
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: #333;
    background: none !important;
}

body.contact-page-body::before,
body.contact-standalone-page::before {
    display: none !important;
}

/* お問い合わせページ用 html オーバーライド */
body.contact-page-body html,
html:has(body.contact-page-body) {
    height: auto !important;
    overflow: visible !important;
    overflow-x: hidden !important;
    min-height: 100vh !important;
    position: static !important;
}

/* テーマのmain-containerスタイルを無効化 */
body.contact-page-body .main-container,
body.contact-page-body #page,
body.contact-page-body .site,
body.contact-page-body .site-main {
    position: static !important;
    height: auto !important;
    width: 100% !important;
    max-width: none !important;
    transform: none !important;
    left: auto !important;
    background: transparent !important;
    backdrop-filter: none !important;
    box-shadow: none !important;
    overflow: visible !important;
}

/* 追従ボタンを非表示 */
body.contact-page-body .floating-purchase-button {
    display: none !important;
}

/* 背景のグラデーションオーバーレイ */
.contact-page-wrapper {
    min-height: 100vh;
    background: 
        linear-gradient(
            135deg,
            rgba(74, 104, 155, 0.08) 0%,
            rgba(74, 104, 155, 0.03) 25%,
            rgba(255, 255, 255, 0.5) 50%,
            rgba(74, 104, 155, 0.05) 75%,
            rgba(74, 104, 155, 0.12) 100%
        ),
        linear-gradient(
            to bottom,
            rgba(74, 104, 155, 0.06) 0%,
            rgba(255, 255, 255, 0.8) 30%,
            rgba(255, 255, 255, 0.9) 50%,
            rgba(74, 104, 155, 0.04) 80%,
            rgba(74, 104, 155, 0.1) 100%
        );
    background-color: #f0f3f7;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 40px 20px;
    box-sizing: border-box;
}

/* メインコンテナ */
.contact-container {
    width: 100%;
    max-width: 680px;
    background: rgba(255, 255, 255, 0.97);
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    padding: 50px 60px;
    position: relative;
}

/* ページタイトル */
.contact-header {
    margin-bottom: 30px;
}

.contact-header .sub-title {
    font-size: 0.9rem;
    color: #666;
    margin: 0 0 5px 0;
    font-weight: 500;
    text-align: center;
}

.contact-header .main-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #4a689b;
    margin: 0;
    letter-spacing: 0.02em;
    line-height: 1;
    margin-bottom: 2rem;
}

/* 説明文 */
.contact-description {
    margin-bottom: 25px;
}

.contact-description p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #555;
    margin: 0 0 10px 0;
}

.contact-description .note {
    font-size: 0.85rem;
    color: #888;
}

.contact-description .note a {
    color: #f39800;
    text-decoration: underline;
}

.contact-description .note a:hover {
    text-decoration: none;
}

/* ========================================
   Contact Form 7 カスタムスタイル
   ======================================== */

/* フォームグループ */
.contact-form-wrapper .wpcf7-form {
    margin: 0;
}

.contact-form-wrapper .form-group {
    margin-bottom: 25px;
}

/* ラベル */
.contact-form-wrapper .form-label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #333;
}

/* 必須バッジ */
.contact-form-wrapper .required-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f39800;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 3px;
    letter-spacing: 0.05em;
}

.contact-form-wrapper .required-asterisk {
    color: #f39800;
    font-size: 1.2rem;
    font-weight: bold;
}

/* セレクトボックス */
.contact-form-wrapper .wpcf7-form-control.wpcf7-select {
    width: 100%;
    padding: 14px 40px 14px 16px;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E") no-repeat right 16px center;
    background-size: 12px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form-wrapper .wpcf7-form-control.wpcf7-select:focus {
    outline: none;
    border-color: #f39800;
    box-shadow: 0 0 0 3px rgba(243, 152, 0, 0.15);
}

/* テキスト入力 */
.contact-form-wrapper .wpcf7-form-control.wpcf7-text,
.contact-form-wrapper .wpcf7-form-control.wpcf7-email {
    width: 100%;
    padding: 14px 16px;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}

.contact-form-wrapper .wpcf7-form-control.wpcf7-text:focus,
.contact-form-wrapper .wpcf7-form-control.wpcf7-email:focus {
    outline: none;
    border-color: #f39800;
    box-shadow: 0 0 0 3px rgba(243, 152, 0, 0.15);
}

/* プレースホルダー */
.contact-form-wrapper .wpcf7-form-control::placeholder {
    color: #aaa;
}

/* テキストエリア */
.contact-form-wrapper .wpcf7-form-control.wpcf7-textarea {
    width: 100%;
    min-height: 150px;
    padding: 14px 16px;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    resize: vertical;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}

.contact-form-wrapper .wpcf7-form-control.wpcf7-textarea:focus {
    outline: none;
    border-color: #f39800;
    box-shadow: 0 0 0 3px rgba(243, 152, 0, 0.15);
}

/* 注意書き */
.contact-form-wrapper .form-notes {
    margin: 30px 0;
    font-size: 0.85rem;
    color: #666;
    line-height: 1.8;
}

.contact-form-wrapper .form-notes p {
    margin: 0 0 8px 0;
}

.contact-form-wrapper .form-notes a {
    color: #f39800;
    text-decoration: underline;
}

.contact-form-wrapper .form-notes a:hover {
    text-decoration: none;
}

/* 送信ボタン */
.contact-form-wrapper .submit-wrapper {
    text-align: center;
    margin-top: 35px;
}

.contact-form-wrapper .wpcf7-form-control.wpcf7-submit {
    display: inline-block;
    min-width: 240px;
    padding: 18px 60px;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    background: #3d3d3d;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.1em;
}

.contact-form-wrapper .wpcf7-form-control.wpcf7-submit:hover {
    background: #555;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.contact-form-wrapper .wpcf7-form-control.wpcf7-submit:active {
    transform: translateY(0);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

/* バリデーションエラー */
.contact-form-wrapper .wpcf7-not-valid {
    border-color: #e74c3c !important;
}

.contact-form-wrapper .wpcf7-not-valid-tip {
    display: block;
    margin-top: 8px;
    font-size: 0.85rem;
    color: #e74c3c;
}

/* 送信中スピナー */
.contact-form-wrapper .wpcf7-spinner {
    margin-left: 15px;
}

/* 送信成功/エラーメッセージ */
.contact-form-wrapper .wpcf7-response-output {
    margin: 20px 0 0 0;
    padding: 15px 20px;
    border-radius: 6px;
    font-size: 0.9rem;
    text-align: center;
}

.contact-form-wrapper .wpcf7-mail-sent-ok {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.contact-form-wrapper .wpcf7-mail-sent-ng {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

/* ========================================
   Contact Form 7 カスタムフォームスタイル
   ======================================== */

/* フィールドセットボックス */
.contact-form-wrapper .cf7-box {
    border: 2px solid #e8e8e8;
    border-radius: 8px;
    padding: 20px 25px;
    margin-bottom: 25px;
    background: #fafafa;
}

.contact-form-wrapper .cf7-box legend {
    font-size: 0.95rem;
    font-weight: 600;
    color: #333;
    padding: 0 10px;
    background: #fafafa;
}

/* チェックボックスリスト */
.contact-form-wrapper .wpcf7-checkbox {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 15px;
}

.contact-form-wrapper .wpcf7-checkbox .wpcf7-list-item {
    margin: 0;
    display: flex;
    align-items: flex-start;
}

.contact-form-wrapper .wpcf7-checkbox .wpcf7-list-item label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #444;
    padding: 8px 12px;
    border-radius: 6px;
    transition: background-color 0.2s ease;
    width: 100%;
}

.contact-form-wrapper .wpcf7-checkbox .wpcf7-list-item label:hover {
    background: #f0f0f0;
}

.contact-form-wrapper .wpcf7-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: #f39800;
    cursor: pointer;
}

/* ラジオボタンリスト */
.contact-form-wrapper .wpcf7-radio {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
}

.contact-form-wrapper .wpcf7-radio .wpcf7-list-item {
    margin: 0;
}

.contact-form-wrapper .wpcf7-radio .wpcf7-list-item label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.95rem;
    color: #444;
    padding: 10px 15px;
    border: 2px solid #e8e8e8;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.contact-form-wrapper .wpcf7-radio .wpcf7-list-item label:hover {
    border-color: #f39800;
    background: #fff9f0;
}

.contact-form-wrapper .wpcf7-radio input[type="radio"] {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    accent-color: #f39800;
    cursor: pointer;
}

.contact-form-wrapper .wpcf7-radio input[type="radio"]:checked + .wpcf7-list-item-label {
    color: #f39800;
    font-weight: 600;
}

/* 2カラムレイアウト */
.contact-form-wrapper .cf7-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.contact-form-wrapper .cf7-row p {
    margin: 0;
}

.contact-form-wrapper .cf7-row label {
    display: block;
    font-size: 0.95rem;
    font-weight: 500;
    color: #333;
    line-height: 1.6;
}

/* ラベル下の入力フィールド */
.contact-form-wrapper p > label {
    display: block;
    font-size: 0.95rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* セレクトボックス（カスタム） */
.contact-form-wrapper .wpcf7-form-control.wpcf7-select {
    width: 100%;
    padding: 12px 40px 12px 14px;
    font-size: 0.95rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E") no-repeat right 14px center;
    background-size: 12px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    margin-top: 8px;
}

/* テキスト・メール・電話入力 */
.contact-form-wrapper .wpcf7-form-control.wpcf7-text,
.contact-form-wrapper .wpcf7-form-control.wpcf7-email,
.contact-form-wrapper .wpcf7-form-control.wpcf7-tel {
    width: 100%;
    padding: 12px 14px;
    font-size: 0.95rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
    margin-top: 8px;
}

/* テキストエリア */
.contact-form-wrapper .wpcf7-form-control.wpcf7-textarea {
    width: 100%;
    min-height: 120px;
    padding: 12px 14px;
    font-size: 0.95rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
    resize: vertical;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
    margin-top: 8px;
}

/* フォーカス状態 */
.contact-form-wrapper .wpcf7-form-control.wpcf7-text:focus,
.contact-form-wrapper .wpcf7-form-control.wpcf7-email:focus,
.contact-form-wrapper .wpcf7-form-control.wpcf7-tel:focus,
.contact-form-wrapper .wpcf7-form-control.wpcf7-select:focus,
.contact-form-wrapper .wpcf7-form-control.wpcf7-textarea:focus {
    outline: none;
    border-color: #f39800;
    box-shadow: 0 0 0 3px rgba(243, 152, 0, 0.12);
}

/* プレースホルダー */
.contact-form-wrapper .wpcf7-form-control::placeholder {
    color: #aaa;
    font-size: 0.9rem;
}

/* 注意書き */
.contact-form-wrapper .cf7-note {
    font-size: 0.85rem;
    color: #777;
    line-height: 1.8;
    margin: 25px 0;
    padding: 15px 20px;
    background: #f8f8f8;
    border-radius: 6px;
    border-left: 3px solid #ddd;
}

/* 送信ボタン */
.contact-form-wrapper .cf7-submit {
    display: block;
    width: 100%;
    max-width: 320px;
    margin: 30px auto 0;
    padding: 18px 40px;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #3d3d3d 0%, #555 100%);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.08em;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.contact-form-wrapper .cf7-submit:hover {
    background: linear-gradient(135deg, #555 0%, #666 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.contact-form-wrapper .cf7-submit:active {
    transform: translateY(0);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

/* バリデーションエラー */
.contact-form-wrapper .wpcf7-not-valid {
    border-color: #e74c3c !important;
}

.contact-form-wrapper .wpcf7-not-valid-tip {
    display: block;
    margin-top: 6px;
    font-size: 0.8rem;
    color: #e74c3c;
}

/* 送信中スピナー */
.contact-form-wrapper .wpcf7-spinner {
    display: block;
    margin: 15px auto 0;
}

/* 送信結果メッセージ */
.contact-form-wrapper .wpcf7-response-output {
    margin: 25px 0 0 0;
    padding: 15px 20px;
    border-radius: 8px;
    font-size: 0.9rem;
    text-align: center;
}

/* お問い合わせページ - レスポンシブ対応 */
@media (max-width: 768px) {
    .contact-page-wrapper {
        padding: 20px 15px;
    }
    
    .contact-container {
        padding: 35px 25px;
    }
    
    .contact-header .main-title {
        font-size: 2rem;
    }
    
    /* 2カラムを1カラムに */
    .contact-form-wrapper .cf7-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .contact-form-wrapper .cf7-box {
        padding: 18px 20px;
    }
    
    .contact-form-wrapper .cf7-submit {
        max-width: 100%;
        padding: 16px 30px;
    }
    
    .contact-form-wrapper .wpcf7-radio .wpcf7-list-item label {
        padding: 12px 15px;
    }
}

@media (max-width: 480px) {
    .contact-container {
        padding: 25px 18px;
    }
    
    .contact-header .main-title {
        font-size: 1.8rem;
    }
    
    .contact-header .sub-title {
        font-size: 0.85rem;
    }
    
    .contact-description p {
        font-size: 0.9rem;
    }
    
    .contact-form-wrapper .cf7-box {
        padding: 15px 15px;
    }
    
    .contact-form-wrapper .cf7-box legend {
        font-size: 0.9rem;
    }
    
    .contact-form-wrapper .wpcf7-checkbox .wpcf7-list-item label {
        font-size: 0.9rem;
        padding: 6px 8px;
    }
    
    .contact-form-wrapper .wpcf7-checkbox input[type="checkbox"] {
        width: 16px;
        height: 16px;
    }
    
    .contact-form-wrapper .wpcf7-radio .wpcf7-list-item label {
        font-size: 0.9rem;
        padding: 10px 12px;
    }
    
    .contact-form-wrapper p > label,
    .contact-form-wrapper .cf7-row label {
        font-size: 0.9rem;
    }
    
    .contact-form-wrapper .wpcf7-form-control.wpcf7-select,
    .contact-form-wrapper .wpcf7-form-control.wpcf7-text,
    .contact-form-wrapper .wpcf7-form-control.wpcf7-email,
    .contact-form-wrapper .wpcf7-form-control.wpcf7-tel,
    .contact-form-wrapper .wpcf7-form-control.wpcf7-textarea {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
    
    .contact-form-wrapper .cf7-note {
        font-size: 0.8rem;
        padding: 12px 15px;
    }
    
    .contact-form-wrapper .cf7-submit {
        font-size: 0.95rem;
        padding: 15px 25px;
    }
}

/* Contact Form 7 共通スタイル（他ページでも使用可能） */
.cf7-custom-form .wpcf7-form {
    margin: 0;
}

.cf7-custom-form .form-group {
    margin-bottom: 25px;
}

.cf7-custom-form .form-label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #333;
}

.cf7-custom-form .required-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f39800;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 3px;
    letter-spacing: 0.05em;
}

.cf7-custom-form .required-asterisk {
    color: #f39800;
    font-size: 1.2rem;
    font-weight: bold;
}

/* セレクトボックス */
.cf7-custom-form .wpcf7-form-control.wpcf7-select {
    width: 100%;
    padding: 14px 40px 14px 16px;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E") no-repeat right 16px center;
    background-size: 12px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.cf7-custom-form .wpcf7-form-control.wpcf7-select:focus {
    outline: none;
    border-color: #f39800;
    box-shadow: 0 0 0 3px rgba(243, 152, 0, 0.15);
}

/* テキスト入力・メール */
.cf7-custom-form .wpcf7-form-control.wpcf7-text,
.cf7-custom-form .wpcf7-form-control.wpcf7-email,
.cf7-custom-form .wpcf7-form-control.wpcf7-tel {
    width: 100%;
    padding: 14px 16px;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}

.cf7-custom-form .wpcf7-form-control.wpcf7-text:focus,
.cf7-custom-form .wpcf7-form-control.wpcf7-email:focus,
.cf7-custom-form .wpcf7-form-control.wpcf7-tel:focus {
    outline: none;
    border-color: #f39800;
    box-shadow: 0 0 0 3px rgba(243, 152, 0, 0.15);
}

/* プレースホルダー */
.cf7-custom-form .wpcf7-form-control::placeholder {
    color: #aaa;
}

/* テキストエリア */
.cf7-custom-form .wpcf7-form-control.wpcf7-textarea {
    width: 100%;
    min-height: 150px;
    padding: 14px 16px;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    resize: vertical;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}

.cf7-custom-form .wpcf7-form-control.wpcf7-textarea:focus {
    outline: none;
    border-color: #f39800;
    box-shadow: 0 0 0 3px rgba(243, 152, 0, 0.15);
}

/* 注意書き */
.cf7-custom-form .form-notes {
    margin: 30px 0;
    font-size: 0.85rem;
    color: #666;
    line-height: 1.8;
}

.cf7-custom-form .form-notes p {
    margin: 0 0 8px 0;
}

.cf7-custom-form .form-notes a {
    color: #f39800;
    text-decoration: underline;
}

.cf7-custom-form .form-notes a:hover {
    text-decoration: none;
}

/* 送信ボタン */
.cf7-custom-form .submit-wrapper {
    text-align: center;
    margin-top: 35px;
}

.cf7-custom-form .wpcf7-form-control.wpcf7-submit {
    display: inline-block;
    min-width: 240px;
    padding: 18px 60px;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    background: #3d3d3d;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.1em;
}

.cf7-custom-form .wpcf7-form-control.wpcf7-submit:hover {
    background: #555;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.cf7-custom-form .wpcf7-form-control.wpcf7-submit:active {
    transform: translateY(0);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

/* バリデーションエラー */
.cf7-custom-form .wpcf7-not-valid {
    border-color: #e74c3c !important;
}

.cf7-custom-form .wpcf7-not-valid-tip {
    display: block;
    margin-top: 8px;
    font-size: 0.85rem;
    color: #e74c3c;
}

/* 送信中スピナー */
.cf7-custom-form .wpcf7-spinner {
    margin-left: 15px;
}

/* 送信成功/エラーメッセージ */
.cf7-custom-form .wpcf7-response-output {
    margin: 20px 0 0 0;
    padding: 15px 20px;
    border-radius: 6px;
    font-size: 0.9rem;
    text-align: center;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .cf7-custom-form .wpcf7-form-control.wpcf7-submit {
        width: 100%;
        min-width: auto;
        padding: 16px 40px;
    }
}

@media (max-width: 480px) {
    .cf7-custom-form .form-label {
        font-size: 0.9rem;
    }
    
    .cf7-custom-form .wpcf7-form-control.wpcf7-select,
    .cf7-custom-form .wpcf7-form-control.wpcf7-text,
    .cf7-custom-form .wpcf7-form-control.wpcf7-email,
    .cf7-custom-form .wpcf7-form-control.wpcf7-tel,
    .cf7-custom-form .wpcf7-form-control.wpcf7-textarea {
        padding: 12px 14px;
        font-size: 0.95rem;
    }
}

/* ============================================
   画像のみ表示テンプレート用スタイル
   ============================================ */

   .miz-card.image-only-article {
    margin-top: 0;
   }

   .image-only-article .miz-image {
    margin-top: 0;
   }

   .image-only-article .miz-image img {
    margin-top: 0;
   }

/* ページタイトルとアイキャッチ画像のみ非表示 */
.image-only-article .post-header,
.image-only-article .post-thumbnail {
    display: none !important;
}

/* 動画トリガーリンク */
.video-trigger-link {
    display: block;
    position: relative;
    cursor: pointer;
    text-decoration: none;
}

.video-trigger-link:hover .click-icon-overlay {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

/* 動画モーダル */
.video-modal .video-modal-container {
    max-width: 90vw;
    width: 100%;
    max-height: 90vh;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    transform: scale(0.8) translateY(-50px);
    transition: transform 0.3s ease;
}

/* 動画モーダルが開いている時 */
.video-modal:target .video-modal-container,
.video-modal[style*="visibility: visible"] .video-modal-container {
    transform: scale(1) translateY(0);
}

.video-modal-content {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
}

.modal-video-player {
    width: 100%;
    height: auto;
    max-height: 80vh;
    display: block;
}

.video-modal .css-modal-header {
    position: absolute;
    top: 0;
    right: 0;
    padding: 0;
    z-index: 10;
}

.video-modal .css-modal-close {
    color: #fff;
    font-size: 40px;
    background: rgba(0, 0, 0, 0.5);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 10px;
    text-decoration: none;
    line-height: 1;
}

.video-modal .css-modal-close:hover {
    background: rgba(0, 0, 0, 0.8);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .video-modal .video-modal-container {
        max-width: 95vw;
    }
    
    .modal-video-player {
        max-height: 70vh;
    }
    
    .video-modal .css-modal-close {
        font-size: 32px;
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .video-modal .video-modal-container {
        max-width: 98vw;
    }
    
    .modal-video-player {
        max-height: 60vh;
    }
    
    .video-modal .css-modal-close {
        font-size: 28px;
        width: 36px;
        height: 36px;
        top: 5px;
        right: 5px;
    }
}

/* ============================================
   安心な水に切り替えるボタン
   ============================================ */

.safe-water-btn-wrapper {
    padding: 20px 20px 20px 20px;
}

.safe-water-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background-color: #5DBAE0;
    color: #ffffff;
    text-decoration: none;
    padding: 18px 35px;
    padding-right: 40px;
    border-radius: 50px;
    font-size: 1.5rem;
    position: relative;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(93, 186, 224, 0.4);
    min-width: 480px;
}

.safe-water-btn:hover {
    background-color: #4AABCF;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(93, 186, 224, 0.5);
    text-decoration: none;
    color: #ffffff;
}

.safe-water-btn:active {
    transform: translateY(0);
    box-shadow: 0 3px 10px rgba(93, 186, 224, 0.4);
}

.safe-water-btn-text {
    letter-spacing: 0.05em;
}

.safe-water-btn-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: #ffffff;
    border-radius: 50%;
    flex-shrink: 0;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.safe-water-btn-arrow svg {
    width: 10px;
    height: auto;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .safe-water-btn {
        padding: 16px 30px;
        padding-right: 40px;
        font-size: 1.3rem;
        gap: 12px;
        min-width: 100%;
    }
    
    .safe-water-btn-arrow {
        width: 32px;
        height: 32px;
        right: 18px;
    }
    
    .safe-water-btn-arrow svg {
        width: 8px;
    }
}

@media (max-width: 480px) {
    
    .safe-water-btn {
        padding: 14px 25px;
        padding-right: 60px;
        font-size: 1.15rem;
        gap: 10px;
        min-width: auto;
        width: 100%;
    }
    
    .safe-water-btn-arrow {
        width: 28px;
        height: 28px;
        right: 15px;
    }
    
    .safe-water-btn-arrow svg {
        width: 7px;
    }
}

/* ============================================
   Amazonでも販売中ボタン
   ============================================ */

.amazon-btn-wrapper {
    padding: 20px;
}

.amazon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background-color: #ffffff;
    color: #232f3e;
    text-decoration: none;
    padding: 15px 30px;
    padding-right: 70px;
    border-radius: 50px;
    border: 3px solid #ff9900;
    position: relative;
    font-size: 1.4rem;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 153, 0, 0.2);
    min-width: 480px;
}

.amazon-btn:hover {
    background-color: #fff9f0;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 153, 0, 0.3);
    text-decoration: none;
    color: #232f3e;
}

.amazon-btn:active {
    transform: translateY(0);
    box-shadow: 0 3px 10px rgba(255, 153, 0, 0.2);
}

.amazon-btn-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.amazon-btn-subtitle {
    font-size: 0.65rem;
    font-weight: normal;
    color: #666;
    letter-spacing: 0.05em;
}

.amazon-logo-svg {
    width: 80px;
    height: auto;
}

.amazon-logo-img {
    width: 80px;
    height: auto;
}

.amazon-btn-divider {
    width: 1px;
    height: 40px;
    background-color: #ddd;
}

.amazon-btn-text {
    letter-spacing: 0.02em;
    color: #232f3e;
}

.amazon-btn-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 50%;
    flex-shrink: 0;
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
}

.amazon-btn-arrow svg {
    width: 8px;
    height: auto;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .amazon-btn {
        padding: 12px 25px;
        padding-right: 60px;
        font-size: 1.2rem;
        gap: 12px;
        min-width: 280px;
    }
    
    .amazon-logo-svg {
        width: 70px;
    }
    
    .amazon-logo-img {
        width: 70px;
    }
    
    .amazon-btn-divider {
        height: 35px;
    }
    
    .amazon-btn-arrow {
        width: 28px;
        height: 28px;
        right: 15px;
    }
    
    .amazon-btn-arrow svg {
        width: 7px;
    }
}

@media (max-width: 480px) {
    .amazon-btn {
        padding: 10px 18px;
        padding-right: 55px;
        font-size: 1rem;
        gap: 10px;
        min-width: auto;
        width: 100%;
    }
    
    .amazon-btn-subtitle {
        font-size: 0.55rem;
    }
    
    .amazon-logo-svg {
        width: 60px;
    }
    
    .amazon-logo-img {
        width: 60px;
    }
    
    .amazon-btn-divider {
        height: 30px;
    }
    
    .amazon-btn-arrow {
        width: 26px;
        height: 26px;
        right: 12px;
    }
    
    .amazon-btn-arrow svg {
        width: 6px;
    }
}