/* カラー変数 */
:root {
    --font-primary: 'Noto Serif JP', serif;
    --font-secondary: 'Noto Serif JP', serif;
    --color-primary: #333;
    --color-secondary: #c82047;    /* 赤 - アクセントカラー */
    --color-background: #fff;
    --color-text: #333;
    --color-light: #FFFFFF;        /* 白 - コントラスト用 */
    --color-accent: #8B4513;       /* ブラウン - アクセント */
    --btn-transition: all 0.3s ease;  /* ボタンの共通トランジション */
    --swiper-theme-color: #c82047 !important;
    --swiper-navigation-color: #c82047 !important;
    --swiper-pagination-color: #c82047 !important;
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* ヘッダーの高さ分を調整 */
}

html, body {
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    color: var(--color-text);
    line-height: 1.8;
    background-color: var(--color-background);
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    font-weight: 500;
    letter-spacing: 0.05em;
    line-height: 1.6;
}

.concept-heading,
.menu-title,
.shop-title {
    font-family: var(--font-secondary);
    font-weight: 500;
    letter-spacing: 0.1em;
}

.concept-text,
.menu-description,
.shop-description {
    font-family: var(--font-primary);
    font-weight: 400;
    letter-spacing: 0.05em;
    line-height: 2;
}

/* Common styles */
.section {
    margin: 120px 0;
    position: relative;
    scroll-margin-top: 80px; /* ヘッダーの高さ分を調整 */
}

/* 統一ボタンスタイル */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    border: none;
    background-color: transparent;
    transition: var(--btn-transition);
}

/* ボタン共通スタイル - 全てのread-more-btnに適用 */
.read-more-btn {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--color-secondary);
    border-radius: 50px;
    padding: 12px 35px;
    font-size: 0.9rem;
    text-decoration: none;
    letter-spacing: 0.1em;
    color: var(--color-secondary);
    background: transparent;
    transition: var(--btn-transition);
    /* ボタン幅をコンテンツに合わせる */
    width: auto;
    max-width: fit-content;
    align-self: flex-start;
}

.read-more-btn:hover {
    background-color: var(--color-secondary);
    color: var(--color-light) !important;
}

.read-more-btn .btn-text {
    display: inline-block;
    transition: transform 0.3s ease;
    white-space: nowrap;
}

.read-more-btn:hover .btn-text {
    transform: translateX(5px);
}

.read-more-btn .icon {
    display: inline-block;
    margin-left: 12px;
    transition: transform 0.3s ease;
}

/* ボタンコンテナ */
.button-container {
    display: flex;
    justify-content: flex-start;
    width: 100%;
}

/* 店舗情報スタイル */
.shop-info-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 30px;
    text-align: left;
    align-items: center;
}

.shop-info-item {
    margin-bottom: 10px;
    width: 100%;
    max-width: 400px;
}

.shop-info-title {
    font-size: 1rem;
    color: var(--color-accent);
    margin-bottom: 10px;
    letter-spacing: 0.15em;
    font-weight: 500;
    position: relative;
    display: inline-block;
}

.shop-info-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--color-accent);
    opacity: 0.3;
}

.shop-info-text {
    font-size: 0.9rem;
    line-height: 1.8;
    letter-spacing: 0.05em;
    margin-bottom: 5px;
}

@media (max-width: 768px) {
    .button-container {
        justify-content: center;
        margin-top: 15px;
    }
    
    .concept-content .button-container,
    .menu-content .button-container,
    .shop-content .button-container {
        justify-content: center;
    }
    
    .read-more-btn {
        align-self: center;
    }
    
    .shop-info-container {
        align-items: center;
    }
    
    .shop-info-item {
        width: 100%;
        max-width: 400px;
    }
}

/* Back to Topボタン */
.back-to-top {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--color-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    padding: 12px 25px;
    border: 1px solid var(--color-secondary);
    border-radius: 50px;
    transition: var(--btn-transition);
}

.back-to-top:hover {
    background-color: var(--color-secondary);
    color: var(--color-light);
}

.back-to-top-icon {
    font-family: serif;
    transform: rotate(-90deg);
    display: inline-block;
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.back-to-top:hover .back-to-top-icon {
    transform: rotate(-90deg) translateX(5px);
}

/* Navigation Button */
.menu-button {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 0.9rem;
    color: var(--color-accent);
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
}

.menu-toggle-btn {
    padding: 10px;
    margin: 0;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-icon {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 20px;
}

.menu-button-icon {
    width: 24px;
    height: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-bottom: 5px;
}

.menu-button-icon span {
    width: 100%;
    height: 2px;
    background-color: var(--color-accent);
    display: block;
}

/* Animation Classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Menu Icon Animation */
.menu-icon span {
    transition: all 0.3s ease;
}

.menu-icon span.active:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

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

.menu-icon span.active:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Sound Controls Animation */
.sound-on, .sound-off {
    transition: all 0.3s ease;
}

.sound-on.active, .sound-off.active {
    opacity: 0.5;
}

/* Hero Content Animation */
.hero-content {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease-out;
}

.hero-content.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 初期化済みの場合は常に表示 */
.hero-content.initialized {
    opacity: 1;
    transform: translateY(0);
    transition: none; /* アニメーション効果を無効化 */
}

/* Scroll Indicator Animation */
.scroll-indicator {
    opacity: 0;
    transition: all 0.8s ease-out;
}

.scroll-indicator.visible {
    opacity: 1;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-10px) translateX(-50%);
    }
    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

@keyframes scrollLine {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateY(30px);
        opacity: 0;
    }
}

/* モーダルナビゲーション */
.nav-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-modal.active {
    display: block;
    opacity: 1;
}

.nav-modal-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.nav-modal-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-close {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-close span {
    display: block;
    width: 30px;
    height: 2px;
    background-color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.nav-close span:first-child {
    transform: translate(-50%, -50%) rotate(45deg);
}

.nav-close span:last-child {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.modal-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.modal-nav-item {
    color: var(--color-light);
    text-decoration: none;
    font-size: 1.5rem;
    letter-spacing: 0.15em;
    position: relative;
    padding-bottom: 5px;
    transition: all 0.3s ease;
}

.modal-nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-light);
    transition: width 0.3s ease;
}

.modal-nav-item:hover {
    color: var(--color-secondary);
}

.modal-nav-item:hover::after {
    width: 100%;
    background-color: var(--color-secondary);
}

/* トピックス基本スタイル */
.topics-section {
    margin-top: 50px;
    margin-bottom: 120px;
    position: relative;
    scroll-margin-top: 80px;
}

/* Topic Card Link Style */
.topic-card-link {
    display: block;
    text-decoration: none;
    color: var(--color-text);
    transition: transform 0.3s ease;
}

.topic-card-link:hover {
    transform: translateY(-5px);
}

.topic-card-link:hover .topic-card {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* 既存のホバースタイルを調整 */
.topic-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* トピックスカードのホバー効果は不要になるので削除
.topic-card:hover {
    transform: translateY(-5px);
} */

/* トピックス個別記事ページスタイル */
.single-topics-container {
    max-width: 800px;
    margin: 120px auto 80px;
    padding: 0 20px;
}

.single-topics .entry-header {
    text-align: center;
    margin-bottom: 30px;
}

.single-topics .entry-meta {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.single-topics .entry-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 10px;
}

.single-topics .date {
    font-size: 1.8rem;
    color: var(--color-primary);
    font-weight: 500;
    margin-bottom: 5px;
    letter-spacing: 0.05em;
}

.single-topics .time {
    font-size: 0.9rem;
    color: var(--color-primary);
    opacity: 0.8;
}

.single-topics .new-tag {
    display: inline-block;
    color: var(--color-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 10px;
}

.single-topics .entry-title {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--color-primary);
    margin-bottom: 30px;
    letter-spacing: 0.1em;
    line-height: 1.6;
}

.single-topics .entry-thumbnail {
    margin-bottom: 40px;
    text-align: center;
}

.single-topics .entry-thumbnail img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.single-topics .entry-content {
    margin-bottom: 60px;
    line-height: 1.8;
    font-size: 0.95rem;
}

.single-topics .entry-content p {
    margin-bottom: 1.5em;
}

.single-topics .entry-content img {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
    border-radius: 5px;
}

.single-topics .entry-footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.single-topics .entry-categories {
    margin-bottom: 20px;
}

.single-topics .category-link {
    display: inline-block;
    background-color: #f5f5f5;
    color: var(--color-primary);
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 0.8rem;
    text-decoration: none;
    margin-right: 10px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.single-topics .category-link:hover {
    background-color: var(--color-secondary);
    color: var(--color-light);
}

.single-topics .entry-back-to-archive {
    text-align: center;
    margin: 30px 0;
}

.single-topics .back-link {
    display: inline-block;
    color: var(--color-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    padding: 12px 30px;
    border: 1px solid var(--color-secondary);
    border-radius: 50px;
    transition: var(--btn-transition);
}

.single-topics .back-link:hover {
    background-color: var(--color-secondary);
    color: var(--color-light);
}

/* 前後のトピックスナビゲーション */
.topics-navigation {
    margin: 60px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 30px;
}

.topics-navigation .nav-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.topics-navigation .nav-previous,
.topics-navigation .nav-next {
    position: relative;
}

.topics-navigation .prev-topic-link,
.topics-navigation .next-topic-link {
    display: block;
    color: var(--color-primary);
    text-decoration: none;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.topics-navigation .prev-topic-link:hover,
.topics-navigation .next-topic-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

.topics-navigation .nav-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.topics-navigation .nav-date {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--color-primary);
}

.topics-navigation .nav-subtitle {
    font-size: 0.8rem;
    color: var(--color-secondary);
}

.topics-navigation .nav-title {
    display: block;
    font-size: 0.9rem;
    line-height: 1.5;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* レスポンシブ調整 */
@media (max-width: 768px) {
    .single-topics-container {
        margin: 80px auto 60px;
        padding: 0 15px;
    }
    
    .single-topics .entry-title {
        font-size: 1.3rem;
    }
    
    .topics-navigation .nav-links {
        grid-template-columns: 1fr;
    }
    
    .topics-navigation .nav-date {
        font-size: 1rem;
    }
}

/* トピックス個別ページとアーカイブページのヘッダー共通スタイル */
.single-topics .simple-header {
    background-color: #f8f3f3;
    position: relative;
    width: 100%;
    min-height: 160px; /* さらに高さを増やす */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2.5rem 1.5rem; /* 上下のパディングをさらに増やす */
    z-index: 100;
    box-sizing: border-box;
}

.single-topics .simple-header .logo-center {
    position: absolute;
    left: 50%;
    top: 52%; /* さらに位置を調整 */
    transform: translate(-50%, -50%); /* X軸とY軸両方の中央揃え */
    margin: 0;
    z-index: 1;
    padding: 10px 0 0 0; /* 上部に余白を追加 */
}

.single-topics .simple-header .logo-center img {
    max-width: 100%;
    height: auto;
    display: block; /* ブロック要素にして余分なスペースを削除 */
    margin: 8px auto 0; /* 上部に余白を追加 */
}

.single-topics .simple-header .nav-toggle {
    position: absolute;
    top: 40%; /* ハンバーガーメニューの位置をロゴのME部分の上部に合わせる */
    right: 1.5rem;
    transform: translateY(-50%);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* モバイルでの調整を強化 */
@media (max-width: 768px) {
    .single-topics .simple-header {
        min-height: 130px; /* モバイルの高さも増やす */
        padding: 2rem 1rem;
    }
    
    /* モバイルでのロゴとナビゲーションの中央配置をさらに強化 */
    .single-topics .simple-header .logo-center {
        top: 52% !important; /* さらに位置を調整 */
        transform: translate(-50%, -50%) !important;
        padding: 10px 0 0 0 !important; /* 上部に余白を追加 */
    }
    
    .single-topics .simple-header .logo-center img {
        margin: 8px auto 0 !important; /* 上部に余白を追加 */
    }
    
    .single-topics .simple-header .nav-toggle {
        top: 40% !important; /* ハンバーガーメニューの位置をロゴのME部分の上部に合わせる */
        right: 1rem;
        transform: translateY(-50%) !important;
    }
}

/* フロントページのヘッダースタイル シングルトピックスと同様に調整 */
header.header {
    position: fixed;
    top: 20px; /* 上部に余白を追加 */
    left: 0;
    right: 0;
    width: 100%;
    min-height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    box-sizing: border-box;
    padding: 1.5rem;
}

header.header .logo-center {
    position: absolute;
    left: 50%;
    top: 52%;
    transform: translate(-50%, -50%);
    margin: 0;
    z-index: 10000;
    padding: 10px 0 0 0;
}

header.header .logo-center img,
header.header .logo-center .custom-logo-link img {
    display: block;
    margin: 8px auto 0;
}

header.header .header-right {
    position: absolute;
    top: 40%; /* ハンバーガーメニューの位置をロゴのME部分の上部に合わせる */
    right: 1.5rem;
    transform: translateY(-50%);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* トピックスアーカイブページのスタイル */
.topics-archive-container {
    max-width: 1200px;
    margin: 120px auto 60px;
    padding: 0 20px;
}

.archive-header {
    text-align: center;
    margin-bottom: 40px;
}

.archive-title {
    font-size: 2rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--color-primary);
}

/* トピックスアーカイブページの背景色 */
body.post-type-archive-topics {
    background-color: #f8f3f3; /* 薄いピンク/ベージュ背景 */
}

.topics-cards.archive-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.topic-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.topic-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.card-link {
    text-decoration: none;
    color: var(--color-text);
    display: flex;
    flex-direction: column;
    height: 100%;
    padding-bottom: 15px;
}

.card-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 15px 0;
    text-align: center;
}

.card-date .date {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--color-primary);
    letter-spacing: 0.05em;
}

.card-date .time {
    font-size: 0.8rem;
    color: var(--color-primary);
    opacity: 0.7;
    margin-top: 3px;
}

.card-date .new-tag {
    display: inline-block;
    background-color: var(--color-secondary);
    color: #fff;
    font-size: 0.7rem;
    padding: 3px 10px;
    border-radius: 20px;
    margin-top: 8px;
    letter-spacing: 0.05em;
    font-weight: 500;
}

.card-image-container {
    width: 100%;
    aspect-ratio: 4 / 3;
    position: relative;
    overflow: hidden;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.topic-card:hover .card-image {
    transform: scale(1.05);
}

.card-title {
    font-size: 0.9rem;
    text-align: center;
    font-weight: normal;
    margin: 15px 10px 0;
    padding: 0 5px;
    line-height: 1.6;
    letter-spacing: 0.03em;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* カテゴリ表示 */
.card-category {
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 5px 12px;
    border-top-right-radius: 8px;
}

.card-category span {
    color: #fff;
    font-size: 0.7rem;
    letter-spacing: 0.05em;
}

/* トピックスカード - モバイル対応 */
@media (max-width: 768px) {
    .topics-archive-container {
        margin: 100px auto 40px;
        padding: 0 15px;
    }
    
    .archive-title {
        font-size: 1.8rem;
    }
    
    .topics-cards.archive-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .topics-archive-container {
        margin: 80px auto 30px;
        padding: 0 10px;
    }
    
    .archive-title {
        font-size: 1.5rem;
    }
    
    .topics-cards.archive-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* ページネーションスタイル */
.pagination {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 0 5px;
    border-radius: 50%;
    text-decoration: none;
    color: var(--color-text);
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.pagination .page-numbers.current {
    background-color: var(--color-secondary);
    color: #fff;
}

.pagination .page-numbers:not(.current):hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.pagination .prev,
.pagination .next {
    width: auto;
    padding: 0 15px;
}

/* アーカイブページヘッダーの黒い背景を上書き */
body.post-type-archive-topics .simple-header {
    background-color: #f8f3f3 !important;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    min-height: 200px; /* 高さを増やす */
    padding: 3rem 1.5rem; /* 上下のパディングを増やす */
}

/* アーカイブページのロゴ中央配置を強制適用 */
body.post-type-archive-topics .simple-header .logo-center {
    position: absolute;
    left: 50%;
    top: 52%;
    transform: translate(-50%, -50%);
    margin: 0;
    z-index: 1;
    padding: 10px 0 0 0;
}

body.post-type-archive-topics .simple-header .logo-center img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 8px auto 0;
}

body.post-type-archive-topics .simple-header .nav-toggle {
    position: absolute;
    top: 40%;
    right: 1.5rem;
    transform: translateY(-50%);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* モバイル調整 */
@media (max-width: 768px) {
    body.post-type-archive-topics .simple-header {
        min-height: 160px; /* モバイルでも高さを確保 */
        padding: 2.5rem 1rem; /* モバイルでもパディングを確保 */
    }
    
    body.post-type-archive-topics .simple-header .logo-center {
        top: 52% !important;
        transform: translate(-50%, -50%) !important;
        padding: 10px 0 0 0 !important;
    }
    
    body.post-type-archive-topics .simple-header .logo-center img {
        margin: 8px auto 0 !important;
    }
    
    body.post-type-archive-topics .simple-header .nav-toggle {
        top: 40% !important;
        right: 1rem;
        transform: translateY(-50%) !important;
    }
}

/* スライダーナビゲーションボタン */
.swiper-button-next,
.swiper-button-prev {
    color: #c82047 !important;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    opacity: 1;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 1.5rem;
    font-weight: bold;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.swiper-container-horizontal > .swiper-pagination-bullets {
    bottom: 20px;
}

.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #fff;
    opacity: 0.7;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: #c82047 !important;
}

@media (max-width: 768px) {
    .swiper-button-next,
    .swiper-button-prev {
        display: none;
    }
    
    .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
    }
}