/*
Theme Name: Twenty Twenty-Five Child - SCSV Exosome
Template: twentytwentyfive
Description: SCSV上清液(エクソソーム)施術認証店舗紹介サイト用カスタマイズテーマ
Author: Labowork株式会社
Author URI: https://labowork.co.jp
Version: 1.0.0
*/

/* ========================================
   CSS変数定義
======================================== */
:root {
    /* メインカラー */
    --primary-color: #4A90E2;
    --secondary-color: #9C27B0;
    --accent-color: #E91E63;
    
    /* グラデーション */
    --gradient-blue: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-pink: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-purple: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    
    /* テキストカラー */
    --text-primary: #2C3E50;
    --text-secondary: #7F8C8D;
    --text-light: #ffffff;
    
    /* 背景カラー */
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-dark: #2C3E50;
    
    /* シャドウ */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.15);
    
    /* トランジション */
    --transition: all 0.3s ease;
}

/* ========================================
   リセット & 基本スタイル
======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.8;
    color: var(--text-primary);
    background-color: var(--bg-white);
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
}

/* レスポンシブ画像 */
img {
    max-width: 100%;
    height: auto;
}

/* レスポンシブコンテナ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

/* ========================================
   ヘッダー
======================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    transition: var(--transition);
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

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

.site-logo {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    letter-spacing: 0.05em;
}

.site-logo:hover {
    color: var(--secondary-color);
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.main-nav a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    padding: 5px 0;
    border-bottom: 2px solid transparent;
}

.main-nav a:hover {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

/* ハンバーガーメニューボタン(初期状態は非表示) */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-menu span {
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* ナビゲーションオーバーレイ */
.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.nav-overlay.active {
    display: block;
}

/* ========================================
   レスポンシブ: スマホ対応(768px以下)
======================================== */
@media (max-width: 768px) {
    /* ヘッダーコンテナ */
    .header-container {
        padding: 15px 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    /* ロゴ */
    .site-logo {
        font-size:1rem;
        max-width: 60%;
        line-height: 1.3;
        order: 1;
        margin: 0;
    }
    
    /* ハンバーガーメニューを右端、ロゴと同じ高さに配置 */
    .hamburger-menu {
        display: flex;
        position: relative;
        right: 0;
        margin-left: auto;
        order: 2;
        align-self: center;
    }
    
    /* ナビゲーションメニュー */
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--bg-white);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
        transition: right 0.3s ease;
        z-index: 1000;
        overflow-y: auto;
        padding-top: 80px;
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 0;
        padding: 20px;
    }
    
    .main-nav li {
        border-bottom: 1px solid #eee;
    }
    
    .main-nav a {
        display: block;
        padding: 15px 10px;
        font-size: 1rem;
        border-bottom: none;
    }
    
    .main-nav a:hover {
        background: var(--bg-light);
        border-bottom: none;
    }
}


/* ========================================
   ヒーローセクション
======================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding-top: 0;
    margin-top: 0;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.4);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: #2C3E50;
    max-width: 900px;
    padding: 0 20px;
}

.hero-logo {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 2px;
    opacity: 0.9;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.4;
    color: #2C3E50;
    text-shadow: 
        0 2px 4px rgba(255, 255, 255, 0.9),
        0 4px 8px rgba(255, 255, 255, 0.8),
        0 0 20px rgba(255, 255, 255, 0.7);
    letter-spacing: 0.05em;
}

.hero-subtitle {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 40px;
    color: #34495e;
    text-shadow: 
        0 2px 4px rgba(255, 255, 255, 0.9),
        0 4px 8px rgba(255, 255, 255, 0.8);
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    justify-content: center;
    align-items: center;
}

/* 2行レイアウト用 */
.hero-buttons-row {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 14px 35px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
    cursor: pointer;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.hero .btn-primary {
    background: rgba(255, 255, 255, 0.95);
    color: #2C3E50;
    border: 2px solid rgba(44, 62, 80, 0.3);
    backdrop-filter: blur(10px);
    font-weight: 700;
}

.hero .btn-primary:hover {
    background: #ffffff;
    color: #4A90E2;
    border-color: #4A90E2;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.hero .btn-outline {
    background: rgba(255, 255, 255, 0.95);
    color: #2C3E50;
    border: 2px solid rgba(44, 62, 80, 0.3);
    backdrop-filter: blur(10px);
    font-weight: 700;
}

.hero .btn-outline:hover {
    background: #ffffff;
    color: #4A90E2;
    border-color: #4A90E2;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* 他のセクションのボタン */
.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--text-light);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    opacity: 0.9;
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--text-light);
}


/* ========================================
   トラストセクション
======================================== */
.trust-section {
    padding: 80px 20px;
    background: var(--bg-light);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 15px;
    letter-spacing: 0.03em;
}

.section-title p {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* 画像付きトラストアイテム（互い違いレイアウト） */
.trust-item {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 60px;
    background: var(--bg-white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.trust-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.trust-item:last-child {
    margin-bottom: 0;
}

/* 画像左配置 */
.trust-item-left {
    flex-direction: row;
}

/* 画像右配置 */
.trust-item-right {
    flex-direction: row-reverse;
}

.trust-item-image {
    flex: 0 0 45%;
    overflow: hidden;
    border-radius: 16px;
}

.trust-item-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: var(--transition);
}

.trust-item:hover .trust-item-image img {
    transform: scale(1.05);
}

.trust-item-content {
    flex: 1;
}

.trust-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.trust-item-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.trust-item-content p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.9;
}

/* 無料表示の強調 */
.free-notice {
    color: #E91E63;
    font-weight: bold;
    display: inline-block;
    margin-top: 10px;
}


/* ========================================
   研修プログラムセクション
======================================== */
.training-section {
    padding: 100px 20px;
    background: var(--bg-white);
}

.curriculum-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.curriculum-intro h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.curriculum-intro p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.curriculum-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.chapter-card {
    background: var(--bg-white);
    border: 2px solid #e0e0e0;
    border-radius: 16px;
    padding: 30px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.chapter-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-blue);
    transform: scaleX(0);
    transition: var(--transition);
}

.chapter-card:hover::before {
    transform: scaleX(1);
}

.chapter-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.chapter-number {
    display: inline-block;
    background: var(--gradient-blue);
    color: var(--text-light);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.chapter-card h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.chapter-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ========================================
   検索セクション
======================================== */
.search-section {
    padding: 100px 20px;
    background: var(--bg-light);
    color: var(--text-primary);
}

/* スマホ用の検索セクション調整 */
@media (max-width: 768px) {
    .search-section {
        padding: 60px 0;
    }
}

.search-section .section-title h2,
.search-section .section-title p {
    color: var(--text-primary);
}

/* 日本地図コンテナ */
.japan-map-container {
    max-width: 900px;
    margin: 0 auto 50px;
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
}

.search-form {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.form-group select,
.form-group input {
    width: 100%;
    padding: 15px 20px;
    font-size: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    transition: var(--transition);
}

.form-group select:focus,
.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.search-button {
    width: 100%;
    padding: 16px;
    font-size: 1.1rem;
    font-weight: 700;
    background: var(--gradient-blue);
    color: var(--text-light);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.search-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}


/* ========================================
   ピックアップサロンセクション
======================================== */
.pickup-section {
    padding: 100px 20px;
    background: var(--bg-light);
}

.shop-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.shop-grid-three {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.shop-card {
    background: var(--bg-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.shop-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.shop-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.shop-content {
    padding: 30px;
}

.shop-prefecture {
    display: inline-block;
    background: var(--gradient-blue);
    color: var(--text-light);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.shop-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.shop-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.shop-link {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.shop-link:hover {
    color: var(--secondary-color);
}

/* ========================================
   フッター
======================================== */
.site-footer {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 60px 20px 30px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-section p,
.footer-section address {
    font-size: 0.95rem;
    line-height: 1.8;
    opacity: 0.9;
    font-style: normal;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    opacity: 0.7;
    font-size: 0.9rem;
}

/* ========================================
   会員様専用Q&Aページ
======================================== */

/* Q&Aページコンテナ */
.qa-page-container {
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    padding: 60px 0 80px;
    min-height: 100vh;
}

/* ヘッダーセクション */
.qa-header {
    text-align: center;
    margin-bottom: 50px;
}

.qa-header h1 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.qa-header h1 i {
    color: #ffc107;
}

.qa-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* 検索バー */
.qa-search-container {
    max-width: 800px;
    margin: 0 auto 30px;
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
    background: white;
    border-radius: 50px;
    padding: 15px 25px;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.15);
    transition: all 0.3s ease;
}

.search-box:focus-within {
    box-shadow: 0 6px 30px rgba(102, 126, 234, 0.25);
    transform: translateY(-2px);
}

.search-box i.fa-search {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-right: 15px;
}

#qa-search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1rem;
    color: var(--text-primary);
    background: transparent;
}

#qa-search-input::placeholder {
    color: #999;
}

.clear-btn {
    background: none;
    border: none;
    color: #999;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 5px 10px;
    transition: color 0.3s ease;
}

.clear-btn:hover {
    color: var(--primary-color);
}

.search-result-count {
    text-align: center;
    margin-top: 15px;
    font-size: 0.95rem;
    color: var(--primary-color);
    font-weight: 500;
}

/* カテゴリーフィルター */
.qa-category-filter {
    display: flex;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.category-btn {
    padding: 10px 20px;
    border: 2px solid #e0e0e0;
    background: white;
    border-radius: 25px;
    font-size: 0.95rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.category-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.category-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.category-count {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* Q&Aリスト */
.qa-list {
    max-width: 900px;
    margin: 0 auto;
}

.qa-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

.qa-item:hover {
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.15);
}

/* 質問部分 */
.qa-question {
    display: flex;
    align-items: flex-start;
    padding: 25px 30px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.qa-question:hover {
    background: #f8f9ff;
}

.qa-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.1rem;
    margin-right: 20px;
}

.qa-question-content {
    flex: 1;
}

.qa-question-content h3 {
    font-size: 1.15rem;
    color: var(--text-primary);
    margin: 0 0 10px 0;
    line-height: 1.6;
}

.qa-categories {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.qa-category-tag {
    display: inline-block;
    padding: 4px 12px;
    background: #f0f4ff;
    color: var(--primary-color);
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.qa-toggle {
    flex-shrink: 0;
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 5px 10px;
    transition: all 0.3s ease;
    margin-left: 15px;
    align-self: center;
}

.qa-toggle i {
    transition: transform 0.3s ease;
}

/* 回答部分 */
.qa-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.qa-answer-content {
    padding: 0 30px 25px 100px;
    display: flex;
    gap: 15px;
}

.answer-label {
    flex-shrink: 0;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--secondary-color);
}

.answer-text {
    flex: 1;
    color: var(--text-secondary);
    line-height: 1.8;
}

.answer-text p {
    margin-bottom: 15px;
}

.answer-text p:last-child {
    margin-bottom: 0;
}

/* 検索ハイライト */
.search-highlight {
    background: #ffeb3b;
    padding: 2px 4px;
    border-radius: 3px;
    font-weight: 600;
}

/* 検索結果なし */
.no-results-message {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.no-results-message i {
    font-size: 3rem;
    color: #ccc;
    margin-bottom: 20px;
}

.no-results-message p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.no-results-hint {
    font-size: 0.95rem;
    color: #999;
}

.no-qa-message {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.no-qa-message i {
    font-size: 3rem;
    color: #ccc;
    margin-bottom: 20px;
}

.no-qa-message p {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* お問い合わせセクション */
.qa-contact-section {
    max-width: 900px;
    margin: 60px auto 0;
}

.contact-box {
    background: linear-gradient(135deg, #fff3cd 0%, #ffe8a3 100%);
    border-left: 5px solid #ffc107;
    border-radius: 12px;
    padding: 30px;
}

.contact-box h3 {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-box h3 i {
    color: #ffc107;
}

.contact-box p {
    margin-bottom: 20px;
    line-height: 1.7;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-info p {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info i {
    color: var(--primary-color);
}

.contact-info a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* スマートフォン対応 */
@media (max-width: 768px) {
    .qa-page-container {
        padding: 40px 0 60px;
    }
    
    .qa-header h1 {
        font-size: 1.6rem;
        flex-direction: column;
        gap: 10px;
    }
    
    .qa-description {
        font-size: 0.95rem;
    }
    
    .search-box {
        padding: 12px 20px;
    }
    
    #qa-search-input {
        font-size: 0.95rem;
    }
    
    .qa-category-filter {
        padding: 0 15px;
    }
    
    .category-btn {
        font-size: 0.85rem;
        padding: 8px 15px;
    }
    
    .qa-list {
        padding: 0 15px;
    }
    
    .qa-question {
        padding: 20px 15px;
    }
    
    .qa-number {
        width: 40px;
        height: 40px;
        font-size: 0.95rem;
        margin-right: 15px;
    }
    
    .qa-question-content h3 {
        font-size: 1rem;
    }
    
    .qa-answer-content {
        padding: 0 15px 20px 70px;
    }
    
    .contact-box {
        padding: 20px;
    }
    
    .contact-box h3 {
        font-size: 1.1rem;
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ========================================
   ユーティリティクラス
======================================== */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mt-4 { margin-top: 40px; }

.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }
.mb-4 { margin-bottom: 40px; }

.py-1 { padding-top: 10px; padding-bottom: 10px; }
.py-2 { padding-top: 20px; padding-bottom: 20px; }
.py-3 { padding-top: 30px; padding-bottom: 30px; }
.py-4 { padding-top: 40px; padding-bottom: 40px; }

/* ========================================
   店舗詳細ページ
======================================== */
.shop-detail-page {
    padding-top: 70px;
    min-height: 100vh;
    background: var(--bg-light);
}

.shop-detail-container {
    padding: 60px 0;
}

/* パンくずナビ */
.breadcrumb {
    padding: 20px 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb .separator {
    margin: 0 10px;
    color: var(--text-secondary);
}

.breadcrumb .current {
    color: var(--text-primary);
    font-weight: 600;
}

/* 店舗ヘッダー */
.shop-detail-header {
    text-align: center;
    margin-bottom: 40px;
}

.shop-detail-header h1 {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 20px;
    font-weight: 700;
}

.shop-prefecture-tag {
    display: inline-block;
    background: var(--gradient-blue);
    color: var(--text-light);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 600;
}

/* 画像と情報を横並び */
.shop-detail-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
    align-items: start;
}

/* 店舗画像(横並び時) */
.shop-detail-main .shop-detail-image {
    margin-bottom: 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    max-height: 400px;
}

.shop-detail-main .shop-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 店舗情報(横並び時) */
.shop-detail-main .shop-info-section {
    margin-bottom: 0;
    position: sticky;
    top: 100px;
}

/* 店舗情報セクション */
.shop-info-section,
.shop-description-section {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 40px;
}

.shop-info-section h2,
.shop-description-section h2 {
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.shop-info-section h2 i,
.shop-description-section h2 i {
    color: var(--primary-color);
}

/* 店舗情報グリッド */
.shop-info-grid {
    display: grid;
    gap: 30px;
}

.info-item {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 20px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 12px;
    transition: var(--transition);
}

.info-item:hover {
    box-shadow: var(--shadow-sm);
}

.info-label {
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-label i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.info-content {
    color: var(--text-secondary);
    line-height: 1.8;
}

.info-content p {
    margin-bottom: 5px;
}

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

.tel-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    transition: var(--transition);
}

.tel-link:hover {
    color: var(--secondary-color);
}

.website-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.website-link:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.website-link i {
    font-size: 0.85rem;
    margin-left: 5px;
}

.text-small {
    font-size: 0.9rem;
    color: #999;
}

/* 店舗説明 */
.shop-description {
    color: var(--text-secondary);
    line-height: 1.8;
}

.shop-description p {
    margin-bottom: 20px;
}

/* ナビゲーション */
.shop-navigation {
    margin: 60px 0 40px;
}

.nav-links {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.nav-link {
    flex: 1;
    padding: 20px 30px;
    background: var(--bg-white);
    border-radius: 12px;
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-link:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    background: var(--primary-color);
    color: var(--text-light);
}

.prev-link {
    justify-content: flex-start;
}

.next-link {
    justify-content: flex-end;
}

/* 戻るボタン */
.back-to-list {
    text-align: center;
    margin-top: 40px;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .shop-detail-header h1 {
        font-size: 1.8rem;
    }
    
    /* スマホでは縦並び */
    .shop-detail-main {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .shop-detail-main .shop-detail-image {
        max-height: none;
    }
    
    .shop-detail-main .shop-info-section {
        position: static;
    }
    
    .shop-info-section,
    .shop-description-section {
        padding: 25px 20px;
    }
    
    .info-item {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .nav-links {
        flex-direction: column;
    }
    
    .nav-link {
        padding: 15px 20px;
    }
}

/* ========================================
   店舗一覧ページ(archive-shop.php)
======================================== */
.shop-archive-page {
    background: var(--bg-light);
    padding: 100px 0 80px;
    min-height: 100vh;
}

/* ページヘッダー */
.archive-header {
    text-align: center;
    margin-bottom: 50px;
}

.archive-header h1 {
    font-size: 2.2rem;
    color: var(--text-primary);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.archive-header h1 i {
    color: var(--primary-color);
}

.archive-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* 検索フォーム */
.shop-filter-section {
    max-width: 800px;
    margin: 0 auto 50px;
    background: var(--bg-white);
    padding: 30px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.shop-filter-form {
    display: flex;
    gap: 20px;
    align-items: flex-end;
    flex-wrap: wrap;
}

.filter-group {
    flex: 1;
    min-width: 200px;
}

.filter-group label {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.filter-group select {
    width: 100%;
    padding: 12px 15px;
    font-size: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    transition: var(--transition);
    background: var(--bg-white);
}

.filter-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.filter-submit {
    padding: 12px 30px;
    white-space: nowrap;
}

/* 店舗数表示 */
.shop-count {
    text-align: center;
    margin-bottom: 30px;
}

.shop-count p {
    font-size: 1rem;
    color: var(--text-secondary);
}

.shop-count strong {
    font-size: 1.3rem;
    color: var(--primary-color);
    font-weight: 700;
}

/* 店舗カード(一覧ページ用) */
.shop-card-image-link {
    display: block;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
}

.shop-card-image-link img {
    transition: transform 0.3s ease;
}

.shop-card:hover .shop-card-image-link img {
    transform: scale(1.05);
}

.shop-card-title {
    margin-top: 0;
}

.shop-card-title a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.shop-card-title a:hover {
    color: var(--primary-color);
}

.shop-card-address,
.shop-card-tel {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.shop-card-address i,
.shop-card-tel i {
    color: var(--primary-color);
}

.shop-card-tel a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.shop-card-tel a:hover {
    color: var(--primary-color);
}

.shop-card-excerpt {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 15px;
}

/* ページネーション */
.pagination {
    margin-top: 60px;
    text-align: center;
}

.pagination .page-numbers {
    display: inline-flex;
    list-style: none;
    padding: 0;
    gap: 10px;
}

.pagination .page-numbers li {
    list-style: none;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 10px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

.pagination a:hover {
    background: var(--primary-color);
    color: var(--text-light);
    border-color: var(--primary-color);
}

.pagination .current {
    background: var(--primary-color);
    color: var(--text-light);
    border-color: var(--primary-color);
}

/* 店舗が見つからない場合 */
.no-shops-message {
    text-align: center;
    padding: 80px 20px;
    background: var(--bg-white);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.no-shops-message i {
    font-size: 4rem;
    color: #ccc;
    margin-bottom: 30px;
}

.no-shops-message h2 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.no-shops-message p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .shop-archive-page {
        padding: 60px 0 50px;
    }
    
    .archive-header h1 {
        font-size: 1.6rem;
        flex-direction: column;
        gap: 10px;
    }
    
    .archive-description {
        font-size: 0.95rem;
    }
    
    .shop-filter-section {
        padding: 20px;
    }
    
    .shop-filter-form {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-submit {
        width: 100%;
        padding: 14px;
    }
    
    .shop-count p {
        font-size: 0.95rem;
    }
    
    .shop-count strong {
        font-size: 1.1rem;
    }
    
    .no-shops-message {
        padding: 60px 20px;
    }
    
    .no-shops-message i {
        font-size: 3rem;
    }
    
    .no-shops-message h2 {
        font-size: 1.3rem;
    }
}

/* ========================================
   レスポンシブ対応（768px以下）
======================================== */

@media (max-width: 768px) {

    /* トラストセクション */
    .trust-item {
        flex-direction: column !important;
        gap: 30px;
        padding: 30px 20px;
    }
    
    .trust-item-image {
        flex: 0 0 100%;
    }
    
    .trust-item-image img {
        height: 250px;
    }
    
    .trust-item-content {
        text-align: center;
    }
    
    .trust-item-content h3 {
        font-size: 1.4rem;
    }
    
    .trust-item-content p {
        font-size: 0.95rem;
    }
    
    /* 検索セクション - スマホで余白削除 */
    .search-section {
        padding: 60px 0 80px 0;
    }
    
    .search-section .section-title {
        padding: 0 20px;
        margin-bottom: 40px;
    }
    
    .search-section .section-title h2 {
        font-size: 1.6rem;
    }
    
    .search-section .section-title p {
        font-size: 0.95rem;
    }
.map-wrapper {
  overflow-x: hidden;
  width: 100%;
height: 120%;
}
    

    /* 日本地図 - スマホで画面いっぱいに表示 */
    .japan-map-container {
        padding: 0 !important;
        margin: 0 0 40px 0 !important;
        background: transparent !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        max-width: 100% !important;
        width: 100vw !important;
        position: relative;
        left: 50%;
        right: 50%;
        margin-left: -50vw !important;
        margin-right: -50vw !important;
transform: scale(1.4) !important;
transform-origin: top center;
    }
    
    .japan-map-container svg,
    .japan-map-container img,
    .mapsvg-container {
        width: 100% !important;
        height: auto !important;
        min-height: 450px !important;
        max-width: 100% !important;
    }
    
    .mapsvg-wrap {
        max-width: 100% !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    /* MapGeoプラグインの内部要素も強制調整 */
    .mapsvg {
        width: 100% !important;
        height: auto !important;
    }
    
    .mapsvg-map-container {
        width: 100% !important;
    }
    
    /* 検索セクションのコンテナ調整 */
    .search-section .container {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    /* 検索フォームは余白を維持 */
    .search-form {
        margin-left: 20px;
        margin-right: 20px;
        padding: 30px 20px;
    }
    
    .form-group label {
        font-size: 0.9rem;
    }
    
    .form-group select,
    .form-group input {
        padding: 12px 15px;
        font-size: 0.95rem;
    }
    
    .search-button {
        padding: 14px;
        font-size: 1rem;
    }
}


/* ========================================
   トピックスセクション
======================================== */
.topics-section {
    padding: 100px 20px;
    background: var(--bg-white);
}

.topics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* タブレット表示 */
@media (max-width: 1024px) {
    .topics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.topic-card {
    background: var(--bg-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid #e0e0e0;
}

.topic-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.topic-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.topic-thumbnail {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: var(--bg-light);
}

.topic-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.topic-card:hover .topic-thumbnail img {
    transform: scale(1.1);
}

.topic-date {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.topic-date i {
    font-size: 0.9rem;
}

.topic-content {
    padding: 25px;
}

.topic-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.topic-excerpt {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.topic-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.topic-card:hover .topic-read-more {
    gap: 12px;
    color: var(--secondary-color);
}

.topic-read-more i {
    font-size: 0.8rem;
    transition: var(--transition);
}

.no-topics {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
    font-size: 1.1rem;
    grid-column: 1 / -1;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .topics-section {
        padding: 60px 20px;
    }
    
    .topics-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .topic-thumbnail {
        height: 200px;
    }
    
    .topic-content {
        padding: 20px;
    }
    
    .topic-title {
        font-size: 1.1rem;
    }
    
    .topic-excerpt {
        font-size: 0.9rem;
    }
}

/* ========================================
   トピックス一覧ページ
======================================== */
.topics-archive-page {
    background: var(--bg-light);
    padding: 100px 0 80px;
    min-height: 100vh;
}

.topics-list {
    margin-top: 40px;
}

.no-topics-message {
    text-align: center;
    padding: 80px 20px;
    background: var(--bg-white);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.no-topics-message i {
    font-size: 4rem;
    color: #ccc;
    margin-bottom: 30px;
}

.no-topics-message h2 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.no-topics-message p {
    font-size: 1.1rem;

/* ========================================
   トピックス詳細ページ
======================================== */
.single-post-page {
    padding-top: 70px;
    min-height: 100vh;
    background: linear-gradient(to bottom, #f8f9ff 0%, #ffffff 100%);
}

.single-post-page .container {
    max-width: 800px;
    padding: 60px 20px;
}

/* パンくずナビ */
.single-post-page .breadcrumb {
    padding: 20px 0 30px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.single-post-page .breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

.single-post-page .breadcrumb a:hover {
    text-decoration: underline;
    color: var(--secondary-color);
}

.single-post-page .breadcrumb .separator {
    margin: 0 10px;
    color: #ccc;
}

.single-post-page .breadcrumb .current {
    color: var(--text-primary);
    font-weight: 600;
}

/* 投稿ヘッダー */
.post-header {
    text-align: center;
    margin-bottom: 50px;
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

.post-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.post-date {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 600;
    background: var(--gradient-blue);
    padding: 8px 20px;
    border-radius: 25px;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.post-date i {
    font-size: 0.95rem;
}

.post-categories {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.post-category-tag {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(245, 87, 108, 0.3);
}

.post-title {
    font-size: 2.2rem;
    color: var(--text-primary);
    margin: 0;
    font-weight: 800;
    line-height: 1.5;
    letter-spacing: 0.02em;
    position: relative;
    padding-bottom: 20px;
}

.post-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-blue);
    border-radius: 2px;
}

/* アイキャッチ画像 */
.post-thumbnail {
    margin-bottom: 50px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    position: relative;
}

.post-thumbnail::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.1) 100%);
    z-index: 1;
}

.post-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.post-thumbnail:hover img {
    transform: scale(1.05);
}

/* 投稿本文 */
.post-content {
    background: var(--bg-white);
    padding: 60px;
    border-radius: 20px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 50px;
    line-height: 2;
    color: var(--text-primary);
    font-size: 1.05rem;
    position: relative;
}

.post-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--gradient-blue);
    border-radius: 20px 0 0 20px;
}

.post-content h2 {
    font-size: 1.9rem;
    color: var(--text-primary);
    margin: 50px 0 25px;
    padding: 0 0 15px 25px;
    border-left: 5px solid var(--primary-color);
    font-weight: 700;
    position: relative;
}

.post-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--gradient-blue);
}

.post-content h3 {
    font-size: 1.6rem;
    color: var(--text-primary);
    margin: 40px 0 20px;
    padding-left: 15px;
    border-left: 4px solid var(--secondary-color);
    font-weight: 700;
}

.post-content h4 {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin: 30px 0 15px;
    font-weight: 700;
}

.post-content p {
    margin-bottom: 25px;
    font-size: 1.05rem;
    line-height: 2;
}

.post-content p:first-of-type {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 2.1;
}

.post-content ul,
.post-content ol {
    margin: 25px 0 25px 40px;
    padding-left: 0;
}

.post-content li {
    margin-bottom: 15px;
    line-height: 1.9;
    position: relative;
    padding-left: 10px;
}

.post-content ul li::before {
    content: '●';
    color: var(--primary-color);
    font-size: 0.7rem;
    position: absolute;
    left: -15px;
    top: 8px;
}

.post-content blockquote {
    margin: 30px 0;
    padding: 25px 30px;
    background: linear-gradient(135deg, #f0f4ff 0%, #ffffff 100%);
    border-left: 5px solid var(--primary-color);
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: var(--text-secondary);
    box-shadow: 0 2px 15px rgba(102, 126, 234, 0.1);
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 40px 0;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.post-content a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border-bottom: 2px solid transparent;
}

.post-content a:hover {
    color: var(--secondary-color);
    border-bottom-color: var(--secondary-color);
}

/* ナビゲーション */
.post-navigation {
    margin: 60px 0 50px;
}

.post-navigation .nav-links {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.post-navigation .nav-link {
    flex: 1;
    padding: 25px 30px;
    background: var(--bg-white);
    border-radius: 15px;
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
}

.post-navigation .nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-blue);
    transition: var(--transition);
    z-index: 0;
}

.post-navigation .nav-link:hover::before {
    left: 0;
}

.post-navigation .nav-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.3);
    color: var(--text-light);
}

.post-navigation .nav-link i {
    position: relative;
    z-index: 1;
}

.post-navigation .nav-link span {
    position: relative;
    z-index: 1;
}

.post-navigation .prev-link {
    justify-content: flex-start;
}

.post-navigation .next-link {
    justify-content: flex-end;
}

/* 戻るボタン */
.single-post-page .back-to-list {
    text-align: center;
    margin-top: 50px;
}

.single-post-page .back-to-list .btn {
    padding: 16px 40px;
    font-size: 1.05rem;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: 0 6px 25px rgba(102, 126, 234, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.single-post-page .back-to-list .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(102, 126, 234, 0.4);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .single-post-page .container {
        padding: 40px 15px;
    }
    
    .post-header {
        margin-bottom: 35px;
    }
    
    .post-title {
        font-size: 1.6rem;
        padding-bottom: 15px;
    }
    
    .post-title::after {
        width: 50px;
        height: 3px;
    }
    
    .post-meta {
        flex-direction: column;
        gap: 12px;
    }
    
    .post-date {
        font-size: 0.85rem;
        padding: 6px 16px;
    }
    
    .post-category-tag {
        font-size: 0.8rem;
        padding: 5px 14px;
    }
    
    .post-thumbnail {
        margin-bottom: 35px;
        border-radius: 15px;
    }
    
    .post-content {
        padding: 35px 25px;
        font-size: 1rem;
        line-height: 1.9;
        border-radius: 15px;
    }
    
    .post-content::before {
        width: 4px;
    }
    
    .post-content h2 {
        font-size: 1.5rem;
        margin: 35px 0 20px;
        padding-left: 20px;
    }
    
    .post-content h3 {
        font-size: 1.3rem;
        margin: 30px 0 15px;
        padding-left: 12px;
    }
    
    .post-content h4 {
        font-size: 1.1rem;
    }
    
    .post-content p {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .post-content ul,
    .post-content ol {
        margin-left: 25px;
    }
    
    .post-content blockquote {
        padding: 20px 20px;
        font-size: 0.95rem;
    }
    
    .post-navigation .nav-links {
        flex-direction: column;
    }
    
    .post-navigation .nav-link {
        padding: 18px 20px;
    }
}