/* ==========================================
   カスタムCSS 
   ========================================== */

.content {
  margin-top: 0;
  background-image: url("https://wbjapan.tokyo/honbu/wp-content/themes/wbjapan/assets/images/gara01.jpg");
  background-size: 7%;
 padding-top: 0;
}

.hero {
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 70vh;
    display: flex;
    align-items: center;
    color: white;
    text-align: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    margin: 0 0.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn-secondary:hover {
    background: white;
    color: #333;
}

.related-tours{
    margin-top: 50px;
}
/* ツアーカード共通スタイル */
.tour-lead-section{
    padding-bottom:50px;
}
.tour-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.tour-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tour-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.tour-card-image {
width: 100% !important;
  height: 250px !important;
    object-fit: cover;
}

.tour-card-content {
    padding: 1.5rem;
}

.tour-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.tour-card-sub {
    color: #e74c3c;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.tour-card-lead {
    color: #555;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.tour-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: #666;
}

.tour-card-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: #e74c3c;
}

/* 単一ツアーページスタイル */
.single-tours .hero-section {
    position: relative;
    height: 400px;
    margin-bottom: 3rem;
    border-radius: 12px;
    overflow: hidden;
}

.single-tours .hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.single-tours .hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: white;
    padding: 2rem;
}

.single-tours .hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.single-tours .hero-sub {
    font-size: 1.1rem;
    opacity: 0.9;
}

.tour-info-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.tour-details-section h3 {
    color: #2c3e50;
    border-bottom: 2px solid #e74c3c;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.tour-detail-item {
    background: #fff;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.tour-detail-time {
    font-weight: 700;
    color: #e74c3c;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.tour-detail-description {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.tour-detail-image {
    width: 100%;
    border-radius: 6px;
    margin-top: 1rem;
}

.tour-sidebar {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    height: fit-content;
    position: sticky;
    top: 2rem;
}

.tour-sidebar h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    text-align: center;
}

.tour-meta-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

.tour-meta-item:last-child {
    border-bottom: none;
}

.tour-meta-label {
    font-weight: 600;
    color: #666;
}

.tour-meta-value {
    font-weight: 700;
    color: #2c3e50;
}

.tour-price-display {
    font-size: 1.5rem;
    color: #e74c3c;
}

.book-tour-btn {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 6px;
    font-weight: 700;
    font-size: 1.1rem;
    width: 100%;
    margin-top: 1.5rem;
    cursor: pointer;
    transition: background 0.3s ease;
    display: block;
  text-align: center;
}

.book-tour-btn:hover {
    background: #c0392b;
    color: #fff;
}

/* アーカイブページスタイル */
.post-type-archive-tours .page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.area-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.area-filter-btn {
    padding: 0.5rem 1rem;
    border: 2px solid #e74c3c;
    background: white;
    color: #e74c3c;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.area-filter-btn:hover,
.area-filter-btn.active {
    background: #e74c3c;
    color: white;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .tour-info-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .single-tours .hero-title {
        font-size: 2rem;
    }
    
    .tour-grid {
        grid-template-columns: 1fr;
    }
    
    .tour-sidebar {
        position: static;
    }
    
    .area-filter {
        gap: 0.5rem;
    }
    
    .area-filter-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
}
@media (max-width: 480px) {
.tour-meta-item {
  flex-direction: column;
}
}

/* 日本的な要素の追加 */
.japanese-pattern {
    background-image: 
        radial-gradient(circle at 100% 50%, transparent 20%, rgba(231, 76, 60, 0.05) 21%, rgba(231, 76, 60, 0.05) 34%, transparent 35%, transparent),
        linear-gradient(0deg, transparent 24%, rgba(231, 76, 60, 0.05) 25%, rgba(231, 76, 60, 0.05) 26%, transparent 27%, transparent 74%, rgba(231, 76, 60, 0.05) 75%, rgba(231, 76, 60, 0.05) 76%, transparent 77%, transparent);
}
/* ========================================
   TOPページ用ツアーセクション
   ======================================== */

/* 共通セクションスタイル */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.section-cta {
    text-align: center;
    margin-top: 3rem;
}

.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #2c3e50;
    color: white;
    padding: 1rem 2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
}

.view-all-btn:hover {
    background: #34495e;
    color: #fff;
}

/* おすすめツアーセクション */
.featured-tours-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.featured-tours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.featured-tour-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
}

.featured-tour-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.featured-tour-image-wrapper {
    position: relative;
    overflow: hidden;
}

.featured-tour-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.featured-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: #e74c3c;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.tour-area-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
}

.featured-tour-content {
    padding: 2rem;
}

.featured-tour-sub {
    color: #e74c3c;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.featured-tour-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.featured-tour-title a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.featured-tour-title a:hover {
    color: #e74c3c;
}

.featured-tour-description {
   /* color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;*/
    display: none;
}

.featured-tour-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.tour-duration {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    font-size: 0.9rem;
}

.tour-price-featured {
    font-size: 1.2rem;
    font-weight: 700;
    color: #e74c3c;
}

.featured-tour-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #e74c3c;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
    width: 100%;
    justify-content: center;
}

.featured-tour-btn:hover {
    background: #c0392b;
    color: #fff;
}

/* 全ツアーセクション */
.all-tours-section {
    padding: 5rem 0;
    background: white;
}

.tour-filter-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-tab {
    background: white;
    border: 2px solid #e74c3c;
    color: #e74c3c;
    padding: 0.7rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.filter-tab:hover,
.filter-tab.active {
    background: #e74c3c;
    color: white;
}

.all-tours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.tour-card-image-wrapper {
    position: relative;
    height: 250px;
    overflow: hidden;
    border-radius: 10px 10px 0 0;
}

.tour-area-tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
}

.tour-card-btn {
    display: inline-block;
    background: #2c3e50;
    color: white;
    padding: 0.7rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
    text-align: center;
    width: 100%;
}

.tour-card-btn:hover {
    background: #34495e;
    color: #fff;
}

.tour-card-description{
display:none;
}

/* アニメーション */
.fade-in {
    animation: fadeInUp 0.5s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media screen and (max-width:1280px) {
  .wrap {
    width:auto !important;
  }
}
@media (max-width: 768px) {
    .featured-tour-card {
  flex-direction: column;
}
    .section-title {
        font-size: 2rem;
    }
    
    .featured-tours-grid,
    .all-tours-grid {
        grid-template-columns: 1fr;
    }
    
    .tour-filter-tabs {
        gap: 0.5rem;
    }
    
    .filter-tab {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .featured-tour-content {
        padding: 1.5rem;
    }
}

/* ========================================
   ツアー見どころセクション
   ======================================== */

.tour-highlights-section {
background: linear-gradient(135deg, #fff 0%, #fff 100%);
  border-radius: 15px;
  padding: 2.5rem;
  margin: 3rem 0;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.highlights-title {
    color: #2c3e50;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.highlights-title i {
    color: #e74c3c;
    font-size: 1.5rem;
}

.highlights-content {
    color: #555;
    line-height: 1.8;
    font-size: 1.05rem;
}

.highlights-content h4 {
    color: #2c3e50;
    font-weight: 600;
    margin: 1.5rem 0 0.8rem 0;
    font-size: 1.2rem;
}

.highlights-content ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.highlights-content li {
    margin-bottom: 0.5rem;
    position: relative;
}

.highlights-content li::marker {
    color: #e74c3c;
}

.highlights-content p {
    margin-bottom: 1.2rem;
}

.highlights-content strong {
    color: #2c3e50;
    font-weight: 600;
}

/* 見どころ画像ギャラリー */
.highlights-gallery {
    margin-top: 2rem;
}

.gallery-title {
    color: #2c3e50;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.gallery-title::before {
    content: '📸';
    font-size: 1.2rem;
}

.highlights-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.gallery-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

/* ライトボックス */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
}

.lightbox-close:hover {
    opacity: 0.7;
}

#lightbox-image {
    max-width: 100%;
    max-height: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* 特別な装飾 */
.tour-highlights-section::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #e74c3c, #f39c12, #e74c3c);
    border-radius: 15px;
    z-index: -1;
    opacity: 0.1;
}

/* 見どころセクション内の特殊スタイル */
.highlights-content .highlight-point {
    background: rgba(231, 76, 60, 0.1);
    border-left: 3px solid #e74c3c;
    padding: 1rem;
    margin: 1.5rem 0;
    border-radius: 0 8px 8px 0;
}

.highlights-content .highlight-point h5 {
    color: #e74c3c;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .tour-highlights-section {
        padding: 2rem 1.5rem;
        margin: 2rem 0;
    }
    
    .highlights-title {
        font-size: 1.5rem;
    }
    
    .highlights-gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 0.8rem;
    }
    
    .gallery-image {
        height: 120px;
    }
    
    .lightbox-content {
        max-width: 95%;
        max-height: 95%;
    }
    
    .lightbox-close {
        top: -30px;
        font-size: 25px;
    }
}

/* アクセシビリティ向上 */
.gallery-item:focus {
    outline: 3px solid #e74c3c;
    outline-offset: 2px;
}

.lightbox-close:focus {
    outline: 2px solid white;
    outline-offset: 2px;
}

/* アニメーション */
.tour-highlights-section {
    animation: slideInUp 0.6s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   ツアーアーカイブページ スタイル
   ======================================== */

.tours-archive {
    background: #f8f9fa;
    min-height: 100vh;
}

/* ページヘッダー */
.tours-page-header {
    background: linear-gradient(135deg, #1d262e 0%, #3e6280 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
    margin-bottom: 3rem;
}

.tours-page-header .page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.tours-page-header .page-description {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* コンテナ */
.tours-archive .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
}

/* カテゴリーフィルター */
.category-filter {
    margin-bottom: 2rem;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.category-filter h3 {
    color: #2c3e50;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.category-filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
}

.category-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    border: 2px solid #ddd;
    color: #555;
    padding: 0.7rem 1.2rem;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 0.9rem;
}

.category-filter-btn:hover {
    background: #f8f9fa;
    border-color: #e74c3c;
    transform: translateY(-2px);
}

.category-filter-btn.active {
    background: #e74c3c;
    color: white;
    border-color: #e74c3c;
}

.category-filter-btn .tour-count {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* エリアフィルター */
.area-filter {
    margin-bottom: 2rem;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.area-filter h3 {
    color: #2c3e50;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.area-filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
}

.area-filter-btn {
display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  text-decoration: none;
  font-size: 0.85rem;
  border: 2px solid #e74c3c;
  padding: 0.7rem 1.5rem;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
}

.area-filter-btn:hover {
    background: #e74c3c;
    color: white;
}

.area-filter-btn.active {
    background: #e74c3c;
    color: white;
}

/* 検索・ソートコントロール */
.tours-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.tours-search{
    width: 80%;
}

.tours-search form {
    display: flex;
    gap: 0.5rem;
}

.tour-search-input {
    padding: 0.7rem 1rem;
    border: 2px solid #ddd;
    border-radius: 25px;
    font-size: 0.9rem;
    min-width: 250px;
    transition: border-color 0.3s ease;
}

.tour-search-input:focus {
    outline: none;
    border-color: #e74c3c;
}

.tour-search-btn {
    background: #e74c3c;
    color: white;
    border: none;
padding: 10px 16px;
  border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.tour-search-btn:hover {
    background: #c0392b;
}

.tours-sort select {
    padding: 0.7rem 1rem;
    border: 2px solid #ddd;
    border-radius: 25px;
    font-size: 0.9rem;
    background: white;
    cursor: pointer;
    font-weight: 600;
    color: #555;
}

/* 結果数表示 */
.tours-results-info {
    text-align: center;
    margin-bottom: 2rem;
    color: #666;
    font-size: 0.95rem;
}

/* ツアーグリッド */
.tours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

/* おすすめバッジ（小） */
.featured-badge-small {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: #f39c12;
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

/* ツアーが見つからない場合 */
.no-tours-found {
    text-align: center;
    padding: 5rem 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.no-tours-icon {
    font-size: 5rem;
    margin-bottom: 1rem;
}

.no-tours-found h2 {
    color: #2c3e50;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.no-tours-found p {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.btn-reset-filters {
    display: inline-block;
    background: #e74c3c;
    color: white;
    padding: 1rem 2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
}

.btn-reset-filters:hover {
    background: #c0392b;
}

/* ページネーション */
.tours-pagination {
    margin: 3rem 0;
    display: flex;
    justify-content: center;
}

.tours-pagination .page-numbers {
    display: flex;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
}

.tours-pagination .page-numbers li {
    display: inline-block;
}

.tours-pagination a,
.tours-pagination span {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.7rem 1.2rem;
    background: white;
    color: #555;
    text-decoration: none;
    border-radius: 6px;
    border: 2px solid #ddd;
    font-weight: 600;
    transition: all 0.3s ease;
}

.tours-pagination a:hover {
    background: #e74c3c;
    color: white;
    border-color: #e74c3c;
}

.tours-pagination .current {
    background: #e74c3c;
    color: white;
    border-color: #e74c3c;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .tours-page-header .page-title {
        font-size: 2rem;
    }
    
    .tours-page-header .page-description {
        font-size: 1rem;
    }
    
    .category-filter-buttons,
    .area-filter-buttons {
        gap: 0.5rem;
    }
    
    .category-filter-btn,
    .area-filter-btn {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .tours-controls {
        flex-direction: column;
        align-items: stretch;
    }
    
    .tour-search-input {
        min-width: 100%;
    }
    
    .tours-sort select {
        width: 100%;
    }
    
    .tours-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .tours-pagination a,
    .tours-pagination span {
        padding: 0.5rem 0.8rem;
        font-size: 0.85rem;
    }
}

/* アニメーション */
.tour-card {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
    from {
        opacity: 0;
        transform: translateY(20px);
    }
}

/* ========================================
   モバイルフィルタープルダウン スタイル
   tour-style.css に追加
   ======================================== */

/* デスクトップ用とモバイル用の切り替え */
.desktop-only {
    display: flex;
}

.mobile-only {
    display: none;
}

@media (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }
    
    .mobile-only {
        display: block;
    }
}

/* モバイルフィルタープルダウン */
.category-filter-select,
.area-filter-select {
    width: 100%;
    margin-top: 1rem;
}

.category-filter-select select,
.area-filter-select select {
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
    background: white;
    border: 2px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg fill="%232c3e50" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 20px;
    padding-right: 3rem;
}

.category-filter-select select:focus,
.area-filter-select select:focus {
    outline: none;
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

/* カテゴリーフィルター用 */
#category-select-mobile {
    background-color: #fff;
    background-image: url('data:image/svg+xml;utf8,<svg fill="%23e74c3c" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
}

/* エリアフィルター用 */
#area-select-mobile {
    background-color: #fff;
    background-image: url('data:image/svg+xml;utf8,<svg fill="%233498db" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
}

/* プルダウンアニメーション */
.category-filter-select,
.area-filter-select {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* モバイル用のフィルターセクション調整 */
@media (max-width: 768px) {
    .category-filter,
    .area-filter {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .category-filter h3,
    .area-filter h3 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
}

/* セレクトボックスのオプションスタイル */
.category-filter-select select option,
.area-filter-select select option {
    padding: 1rem;
    font-size: 1rem;
}

/* 選択済みのスタイル */
.category-filter-select select option:checked,
.area-filter-select select option:checked {
    background: #e74c3c;
    color: white;
}

/* プルダウンのホバー効果 */
.category-filter-select select:hover,
.area-filter-select select:hover {
    border-color: #e74c3c;
    background-color: #f8f9fa;
}

/* アイコン付きセレクトボックス */
.filter-select-wrapper {
    position: relative;
    width: 100%;
}

.filter-select-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: #e74c3c;
    pointer-events: none;
}

.filter-select-wrapper select {
    padding-left: 3rem;
}

/* 代替案：アコーディオンスタイル */
.filter-accordion {
    display: none;
}

@media (max-width: 768px) {
    .filter-accordion {
        display: block;
        background: white;
        border: 2px solid #ddd;
        border-radius: 8px;
        overflow: hidden;
    }
    
    .filter-accordion-header {
        padding: 1rem 1.5rem;
        background: #f8f9fa;
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-weight: 600;
        color: #2c3e50;
    }
    
    .filter-accordion-header:hover {
        background: #e9ecef;
    }
    
    .filter-accordion-icon {
        transition: transform 0.3s ease;
    }
    
    .filter-accordion.active .filter-accordion-icon {
        transform: rotate(180deg);
    }
    
    .filter-accordion-content {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .filter-accordion.active .filter-accordion-content {
        max-height: 500px;
    }
}



/* フォーカス時のアニメーション */
.category-filter-select select:focus,
.area-filter-select select:focus {
    animation: pulse 0.3s ease;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
    100% {
        transform: scale(1);
    }
}

/* セレクトボックスの影 */
.category-filter-select select,
.area-filter-select select {
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.category-filter-select select:focus,
.area-filter-select select:focus {
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.15);
}



/* 読み込み中のスタイル */
.filter-loading {
    opacity: 0.6;
    pointer-events: none;
}

/* タブレット対応 */
@media (min-width: 769px) and (max-width: 1024px) {
    .category-filter-buttons,
    .area-filter-buttons {
        gap: 0.5rem;
    }
    
    .category-filter-btn,
    .area-filter-btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
}

/* ========================================
   カテゴリーアーカイブヘッダー
   ======================================== */

.category-archive-header {
    background: linear-gradient(135deg, #1d262e 0%, #3e6280 100%);
    color: white;
    padding: 5rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.category-archive-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><path d="M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z" fill="rgba(255,255,255,0.1)"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.3;
}

.category-header-content {
    position: relative;
    z-index: 2;
}

.category-icon-large {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.category-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.category-description {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    opacity: 0.95;
    line-height: 1.6;
}

.category-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.tour-count-badge {
    background: rgba(255,255,255,0.2);
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

/* サブフィルター */
.category-sub-filter {
    margin-top: 2rem;
}

/* 関連カテゴリー */
.related-categories {
    margin: 5rem 0;
    padding: 3rem 0;
    background: #f8f9fa;
    border-radius: 15px;
}

.section-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #e74c3c, #f39c12);
    margin: 0 auto 2rem;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.category-card-small {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: 12px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.category-card-small:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.category-icon-small {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.category-card-small h4 {
    color: #2c3e50;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.category-card-small .category-count {
    color: #999;
    font-size: 0.9rem;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .category-archive-header {
        padding: 4rem 0 3rem;
    }
    
    .category-icon-large {
        font-size: 4rem;
    }
    
    .category-title {
        font-size: 2rem;
    }
    
    .category-description {
        font-size: 1rem;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}