@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/

 /* header */
.navi-in a:hover {
  background-color: unset;
  color: #D42E12;
}
a{
color: #000;
  text-decoration: none;
}

/************************************
** hero-top
************************************/
.header-container {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: fixed;
  z-index: 9;
  width: 100%;
}
.sidebar{
display:none;
}
.main,.home .wrap {
  width: 100%;
}
.main{
  padding: 0;
}
.content {
  margin-top: 0;
    padding-top: 40px !important;
}
/* HERO section TOP */
.hero {
    height: 80vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    z-index: 1;
    color: white;
    max-width: 600px;
}
 .hero .container {
max-width: 1200px;
  margin: 0 auto;
  padding: 0 10px;
}
.hero h1 {
    font-family: var(--font-heading);
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
}

 .hero p {
    font-size: 18px;
    margin-bottom: 30px;
}

 .btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #D42E12;
    color: white;
    border-radius: 4px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    font-size: 18px;
}

 .btn:hover {
    background-color: #b42510;
    color: white;
    transform: translateY(-2px);
    opacity: unset;
}

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

 .btn-secondary:hover {
    background-color: white;
    color: #b42510;
    opacity: unset;
}
@media screen and (max-width:1280px) {
  .wrap {
    width:auto !important;
  }
}
@media (max-width: 768px) {
  .btn {
    display: block;
    margin-bottom: 15px;
    text-align: center;
  }
}
 /* Footer Styles */
 .footer {
  margin-top: 0;
 }
 .fa-twitter::before {
  content: '𝕏';
  font-family: unset;
  font-weight: bold;
}
          .sns-share,.toc,.article-footer{
            display:none;
          }
    .site-footer {
        background: linear-gradient(135deg, #575a60 0%, #090b0c 100%);
        color: white;
        position: relative;
        overflow: hidden;
    }

    .site-footer::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 100%;
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20"><path d="M0,10 Q25,0 50,10 T100,10 V20 H0 Z" fill="rgba(255,255,255,0.1)"/></svg>') repeat-x;
        background-size: 100px 20px;
        opacity: 0.3;
    }

    .footer-content {
        padding: 60px 0 40px;
        position: relative;
        z-index: 2;
    }

    .footer-sections {
        display: grid;
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
        gap: 40px;
        margin-bottom: 40px;
    }

    .footer-section h3 {
        color: white;
        font-size: 1.8em;
        margin-bottom: 20px;
        font-weight: 700;
    }

    .footer-section h4 {
        color: white;
        font-size: 1.2em;
        margin-bottom: 20px;
        font-weight: 600;
    }

    .footer-section h5 {
        color: white;
        font-size: 1em;
        margin-bottom: 15px;
        font-weight: 600;
    }

    .footer-section p {
        color: rgba(255, 255, 255, 0.8);
        line-height: 1.6;
        margin-bottom: 20px;
    }

    .footer-section ul {
        list-style: none;
        padding: 0;
    }

    .footer-section ul li {
        margin-bottom: 10px;
    }

    .footer-section ul li a {
        color: rgba(255, 255, 255, 0.8);
        text-decoration: none;
        transition: color 0.3s ease;
    }

    .footer-section ul li a:hover {
        color: white;
    }

    .social-links {
        display: flex;
        gap: 15px;
        margin-top: 20px;
    }

    .social-links a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background: rgba(255, 255, 255, 0.1);
        color: white;
        border-radius: 50%;
        text-decoration: none;
        transition: all 0.3s ease;
    }

    .social-links a:hover {
        background: rgba(255, 255, 255, 0.2);
        transform: translateY(-2px);
    }

    .contact-info p {
        display: flex;
        align-items: center;
        margin-bottom: 12px;
        color: rgba(255, 255, 255, 0.8);
    }

    .contact-info i {
        width: 20px;
        margin-right: 10px;
        color: #F7B42C;
    }

    .newsletter {
        margin-top: 25px;
    }

    .newsletter-form {
        display: flex;
        gap: 10px;
        margin-top: 15px;
    }

    .newsletter-form input {
        flex: 1;
        padding: 12px;
        border: none;
        border-radius: 25px;
        background: rgba(255, 255, 255, 0.1);
        color: white;
        font-size: 14px;
    }

    .newsletter-form input::placeholder {
        color: rgba(255, 255, 255, 0.6);
    }

    .newsletter-form button {
        padding: 12px 20px;
        background: #e74c3c;
        color: white;
        border: none;
        border-radius: 25px;
        cursor: pointer;
        font-weight: 600;
        transition: all 0.3s ease;
    }

    .newsletter-form button:hover {
        background: #c0392b;
        transform: translateY(-1px);
    }

    .footer-bottom {
        padding: 20px 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .footer-bottom-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .footer-bottom p {
        color: rgba(255, 255, 255, 0.7);
        margin: 0;
    }

    .footer-bottom-links {
        display: flex;
        gap: 20px;
    }

    .footer-bottom-links a {
        color: rgba(255, 255, 255, 0.7);
        text-decoration: none;
        font-size: 14px;
        transition: color 0.3s ease;
    }

    .footer-bottom-links a:hover {
        color: white;
    }
    .footer-bottom-content {
  float: unset;
    }
.social-links .fa{
    font-family: FontAwesome;
}

#post-50 .wpcf7-validates-as-email{
  color: #000;
}
.wpcf7-validates-as-email{
flex: 1;
  padding: 12px;
  border: none;
  border-radius: 25px !important;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 14px !important;
}
.newsletter .wpcf7-submit {
padding: 12px 20px;
  background: #e74c3c;
  color: white;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  font-size: 14px !important;
}

.newsletter .wpcf7-submit:hover {
  background: #c0392b;
  transform: translateY(-1px);
}

    /* Responsive Footer */
    @media (max-width: 1024px) {
        .footer-sections {
            grid-template-columns: 1fr 1fr;
            gap: 30px;
        }
    }

    @media (max-width: 768px) {
        .footer-sections {
            grid-template-columns: 1fr;
            gap: 30px;
        }

        .footer-bottom-content {
            flex-direction: column;
            gap: 15px;
            text-align: center;
        }

        .footer-bottom-links {
            flex-wrap: wrap;
            justify-content: center;
        }

        .newsletter-form {
            flex-direction: column;
        }
    }

/* -----------------モバイルメニュー調整---------------*/
.slicknav_menu .slicknav_menutxt {
  display: none;
}

/* ========================================
   ヘッダー全体のカスタマイズ
   ======================================== */
.navi-in > ul li {
  width: auto;
 margin: 0 15px;
}

 /* ========================================
   カスタムモバイルヘッダー
   ======================================== */
@media (min-width: 834px) {
    .mobile-menu-toggle {
        display: none;
    }
    
    .mobile-menu {
        display: none !important;
    }
}
    @media (max-width: 834px) {
.header-container-in.hlt-top-menu.hlt-tm-small .site-name-text-link {
  margin: 0;
}
  .header-container-in.hlt-top-menu.hlt-tm-small .logo-header {
    z-index: 9999;
    position: relative;
  }
    .mobile-menu-toggle {
        display: block;
        cursor: pointer;
        z-index: 1100; /* メニューより高い */
        position: absolute;
right: 20px;
    }
    
    .mobile-menu-toggle span {
        display: block;
        width: 25px;
        height: 3px;
        background-color: #000;
        margin: 5px 0;
        transition: 0.3s;
    }
    
    .mobile-menu {
        position: fixed;
        top: 0;
        left: 100%; /* 初期状態で画面の右側に隠す */
        width: 100%;
        height: 100%;
        background-color: rgba(255,255,255,0.95);
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        transition: all 0.5s ease-in-out;
        overflow-y: auto;
    }
    
    .mobile-menu.is-active {
        left: 0; /* 画面中央に完全に表示 */
        opacity: 1;
        visibility: visible;
    }
    
    .mobile-menu ul {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 150px 80px 0;
        list-style: none;
    }
    
    .mobile-menu ul li {
        margin: 15px 0;
        opacity: 0;
        transform: translateX(50px);
        transition: all 0.5s ease-out;
    }
        .mobile-menu ul li a{
    text-decoration: none;
    color: #000;
    font-weight: bold;
    font-size: 1.5rem;
        }
    .mobile-menu.is-active ul li {
        opacity: 1;
        transform: translateX(0);
    }
     }

     .banner-waku{
    display: flex;
  justify-content: center;
  max-width: 680px;
  align-items: center;
  margin: 0 auto;
}
        .banner {
            display: block;
            text-decoration: none;
            background: linear-gradient(135deg, #2f2e2e 0%, #1a1a1a 100%);
            border: 2px solid #ffd792;
            border-radius: 15px;
            padding: 25px;
            margin: 20px 0;
            transition: all 0.3s ease;
            box-shadow: 0 4px 20px rgba(255, 215, 146, 0.2);
            position: relative;
            overflow: hidden;
        }
        
        .banner:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 30px rgba(255, 215, 146, 0.4);
            border-color: #ffeb5a;
            background: linear-gradient(135deg, #3a3939 0%, #2a2929 100%);
        }
        
        .banner::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(255,215,146,0.1) 0%, transparent 70%);
            transform: rotate(45deg);
            transition: all 0.3s ease;
        }
        
        .banner:hover::before {
            transform: rotate(45deg) translate(20px, 20px);
        }
        
        .banner-content {
            display: flex;
            align-items: center;
            justify-content: space-between;
            position: relative;
            z-index: 1;
        }
        
        .banner-left {
            flex: 1;
        }
        
        .banner-icon {
            font-size: 3rem;
            color: #ffd792;
            margin-right: 20px;
            animation: bounce 2s infinite;
            text-shadow: 0 0 10px rgba(255, 215, 146, 0.5);
        }
        
        .banner-title {
            font-size: 1.8rem;
            font-weight: bold;
            color: #ffd792;
            margin: 0 0 10px 0;
            text-shadow: 0 0 5px rgba(255, 215, 146, 0.3);
        }
        
        .banner-subtitle {
            font-size: 1.1rem;
            color: #cccccc;
            margin: 0;
            line-height: 1.4;
        }
        
        .banner-right {
            text-align: right;
        }
        
        .banner-cta {
            background: linear-gradient(135deg, #ffd792 0%, #ffeb5a 100%);
            color: #2f2e2e;
            padding: 12px 24px;
            border-radius: 25px;
            font-weight: bold;
            font-size: 1.1rem;
            box-shadow: 0 4px 15px rgba(255, 215, 146, 0.4);
            transition: all 0.3s ease;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
        
        .banner:hover .banner-cta {
            background: linear-gradient(135deg, #ffeb5a 0%, #fff176 100%);
            transform: scale(1.05);
            box-shadow: 0 6px 20px rgba(255, 215, 146, 0.6);
        }
        
        .banner-features {
            display: flex;
            gap: 20px;
            margin-top: 15px;
            font-size: 0.9rem;
            color: #cccccc;
        }
        
        .feature {
            display: flex;
            align-items: center;
            gap: 5px;
        }
        
        .feature i {
            color: #ffd792;
            text-shadow: 0 0 5px rgba(255, 215, 146, 0.3);
        }
        
        .language-title {
            font-size: 1.5rem;
            font-weight: bold;
            color: #ffd792;
            margin-bottom: 15px;
            padding-bottom: 10px;
            border-bottom: 2px solid #ffd792;
            text-shadow: 0 0 10px rgba(255, 215, 146, 0.3);
        }
        
        @keyframes bounce {
            0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
            40% { transform: translateY(-10px); }
            60% { transform: translateY(-5px); }
        }
   .f-area  {    
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 780px;
    }
     .f-area a { 
        color: #fff;
            }
@media (max-width: 680px) {
.f-area {
  flex-wrap: wrap;
}
 .f-area a {
  margin-bottom: 30px;
}
}
        @media (max-width: 768px) {
            .banner-content {
                flex-direction: column;
                text-align: center;
            }
            
            .banner-right {
                text-align: center;
                margin-top: 20px;
            }
            
            .banner-features {
                justify-content: center;
                flex-wrap: wrap;
            }
            
            .banner-title {
                font-size: 1.5rem;
            }
        }
.section-header{
    padding: 50px 20px 30px;
    text-align: center;
}
@media screen and (max-width: 834px) {
  div.sidebar {
    padding: 16px;
    margin: 10px 0;
    border-width: 0;
    display: none;
  }
}

/* =======================================
   横スクロール防止（最優先）
======================================= */

/* 全体の横スクロール完全防止 */
html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    position: relative;
}

body {
    margin: 0;
    padding: 0;
}

/* すべてのコンテナ要素 */
* {
    max-width: 100%;
    box-sizing: border-box;
}

/* メインコンテナ */
.main-content,
.tour-info-grid,
.tour-main-content,
.tour-sidebar,
.hero-section {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

/* 行要素の調整 */
.tour-details-section,
.tour-highlights-section,
.tour-content,
.tour-lead-section {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

/* スマホ専用の追加修正 */
@media screen and (max-width: 768px) {
    
    /* パディング・マージンの調整 */
    .main-content {
        padding: 0;
        margin: 0;
    }
    
    .tour-info-grid {
        padding: 10px;
        margin: 0;
    }
    
    /* ヒーローセクションの調整 */
    .hero-section {
        margin: 0 -10px 0 -10px;
        width: calc(100% + 20px);
        max-width: none;
    }
    
    .hero-overlay {
        padding: 20px 15px;
    }
    
    /* 各セクションの余白調整 */
    .tour-lead-section,
    .tour-details-section,
    .tour-highlights-section,
    .tour-content {
        padding: 15px 10px;
        margin: 0 0 20px 0;
    }
    
    /* テキストコンテンツの幅制限 */
    .tour-lead-text,
    .tour-detail-description,
    .highlights-content,
    .tour-content p {
        width: 100%;
        max-width: 100%;
        padding-right: 5px;
    }
    
    /* 画像の完全収納 */
    img {
        max-width: 100% !important;
        height: auto !important;
        width: auto !important;
        display: block;
    }
    
    /* サイドバーの調整 */
    .tour-sidebar {
        padding: 15px 10px;
        margin: 0 0 20px 0;
        width: 100%;
    }
    
    /* ボタンの調整 */
    .book-tour-btn {
        width: calc(100% - 20px);
        margin: 20px 10px;
    }
}

/* =======================================
   ツアー詳細ページ：スマホ対応修正
======================================= */

/* 基本的なはみ出し防止 */
.main-content {
    overflow-x: hidden;
    width: 100%;
}

.tour-info-grid {
    overflow-x: hidden;
}

/* 画像のはみ出し防止 */
.hero-image,
.tour-detail-image,
.gallery-image,
.tour-content img,
.highlights-content img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* テキストの折り返し */
.hero-title,
.tour-lead-text,
.tour-detail-description,
.tour-content,
.highlights-content {
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
}

/* スマホ表示（768px以下） */
@media screen and (max-width: 768px) {
    
    /* ヒーローセクション */
    .hero-section {
        height: auto;
        min-height: 300px;
    }
    
    .hero-title {
        font-size: 1.5rem;
        padding: 0 15px;
        line-height: 1.4;
    }
    
    .hero-sub {
        font-size: 0.9rem;
        padding: 0 15px;
    }
    
    /* グリッドレイアウトを縦並びに */
    .tour-info-grid {
        display: block;
        padding: 15px;
    }
    
    .tour-main-content,
    .tour-sidebar {
        width: 100%;
        padding: 0;
        margin-bottom: 30px;
    }
    
    /* リード文 */
    .tour-lead-section {
        padding: 15px;
        margin-bottom: 20px;
    }
    
    .tour-lead-text {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    /* ツアー詳細セクション */
    .tour-details-section,
    .tour-highlights-section,
    .tour-content {
        padding: 15px;
        margin-bottom: 20px;
    }
    
    .tour-details-section h3,
    .tour-highlights-section h3,
    .tour-content h3 {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }
    
    /* ツアー詳細アイテム */
    .tour-detail-item {
        margin-bottom: 20px;
        padding: 15px;
    }
    
    .tour-detail-time {
        font-size: 0.9rem;
        margin-bottom: 10px;
    }
    
    .tour-detail-description {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    /* 見どころセクション */
    .highlights-content {
        font-size: 0.95rem;
        line-height: 1.7;
    }
    
    .highlights-content p,
    .highlights-content ul,
    .highlights-content ol {
        margin-bottom: 15px;
    }
    
    .highlights-content ul,
    .highlights-content ol {
        padding-left: 20px;
    }
    
    /* ギャラリーグリッド */
    .highlights-gallery-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .gallery-item {
        width: 100%;
    }
    
    /* サイドバー */
    .tour-sidebar {
        background: #f9f9f9;
        padding: 20px 15px;
        border-radius: 8px;
    }
    
    .tour-sidebar h3 {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }
    
    .tour-meta-item {
        padding: 12px 0;
        font-size: 0.95rem;
    }
    
    .tour-meta-label {
        display: block;
        margin-bottom: 5px;
        font-size: 0.85rem;
    }
    
    .tour-meta-value {
        display: block;
        font-size: 1rem;
    }
    
    .tour-price-display {
        font-size: 1.3rem;
    }
    
    /* 予約ボタン */
    .book-tour-btn {
        display: block;
        width: 100%;
        padding: 15px;
        font-size: 1rem;
        text-align: center;
        margin: 20px 0;
        box-sizing: border-box;
    }
    
    /* 関連ツアー */
    .related-tours {
        padding: 15px;
        margin-top: 20px;
    }
    
    .related-tours h4 {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }
    
    .related-tour-item {
        display: block;
        padding: 12px;
        margin-bottom: 10px;
        font-size: 0.95rem;
        word-wrap: break-word;
    }
    
    /* 投稿本文の画像 */
    .tour-content img {
        margin: 15px 0;
    }
    
    /* テーブルのはみ出し防止 */
    .tour-content table {
        display: block;
        overflow-x: auto;
        width: 100%;
        -webkit-overflow-scrolling: touch;
    }
}

/* 極小スマホ（480px以下） */
@media screen and (max-width: 480px) {
        .tour-info-grid,.tour-details-section {
        padding: 0px;
    }
    .tour-detail-item {
  padding: 1.5rem 10px;
    }
    .hero-title {
        font-size: 1.3rem;
    }
    
    .tour-details-section h3,
    .tour-highlights-section h3,
    .tour-content h3 {
        font-size: 1.2rem;
    }
    
    .tour-detail-time,
    .tour-detail-description,
    .highlights-content {
        font-size: 0.9rem;
    }
    
    /* ギャラリーを1カラムに */
    .highlights-gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* ライトボックスのスマホ対応 */
@media screen and (max-width: 768px) {
    .lightbox-content {
        width: 95%;
        padding: 10px;
    }
    
    #lightbox-image {
        max-width: 100%;
        max-height: 80vh;
        object-fit: contain;
    }
    
    .lightbox-close {
        top: 10px;
        right: 10px;
        font-size: 30px;
    }
}