
/* 共通 */


/* ==========================================================================
   HOME　ツアーカード	2026.3.6改修
   ========================================================================== */
/* 1. カード全体の基本構造 */
.tour-card-senior {
    background: #ffffff;
    border: 1px solid #dddddd;
    border-radius: 12px;
    margin-bottom: 35px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    overflow: hidden;
    line-height: 1.6;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

/* 2. カテゴリー別カラー設定（アクセシビリティ配慮） */
.tour-category-tag {
    display: inline-block;
    font-size: 16px;
    font-weight: bold;
    padding: 6px 20px;
    color: #ffffff;
    border-bottom-right-radius: 10px;
}

/* 【あい旅：オレンジ】 */
.tour-card--orange { border-top: 6px solid #f0ad4e; }
.tour-card--orange .tour-category-tag { background-color: #f0ad4e; }
.tour-card--orange .tour-date-section { background-color: #fff9f0; border-left: 6px solid #f0ad4e; }
.tour-card--orange .btn-download-senior { background: #d9534f; box-shadow: 0 4px 0 #a94442; }

/* 【参拝：緑】 */
.tour-card--green { border-top: 6px solid #5cb85c; }
.tour-card--green .tour-category-tag { background-color: #5cb85c; }
.tour-card--green .tour-date-section { background-color: #f4faf4; border-left: 6px solid #5cb85c; }
.tour-card--green .btn-download-senior { background: #5cb85c; box-shadow: 0 4px 0 #449d44; }

/* 3. コンテンツエリア */
.tour-card-body {
    padding: 20px 25px;
}

/* --- 出発日エリア：1列（横並び）スタイル --- */
.tour-date-section {
    padding: 12px 15px;
    margin-bottom: 15px;
    display: flex;
    align-items: center; /* 垂直方向の中央揃え */
}

.tour-date-row {
    display: flex;
    align-items: baseline; /* 文字の下端（ベースライン）を揃える */
    flex-wrap: wrap;       /* 画面幅が狭い場合のみ自動で折り返し */
    gap: 12px;             /* ラベルと日付の間の適切な距離 */
}

.tour-date-label {
    font-size: 16px;
    font-weight: bold;
    color: #444444;
    white-space: nowrap;  /* 「出発日：」のラベルは途中で改行させない */
}

.tour-date-text {
    font-size: 21px;       /* シニア層に見やすい特大フォント */
    font-weight: 800;      /* 極太にして視認性を最大化 */
    color: #000000;        /* 真っ黒でコントラストを確保 */
    line-height: 1.2;
}

/* ツアータイトル：情報の主役 */
.tour-title-senior {
    font-size: 24px;
    font-weight: 800;
    color: #000000;
    margin: 15px 0 20px 0;
    line-height: 1.4;
}

/* 4. サブ情報（プラン・価格） */
.tour-meta-senior {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-top: 2px dashed #eeeeee;
    padding-top: 15px;
    flex-wrap: wrap;
    gap: 15px;
}

.tour-plan-item {
    font-size: 18px;
    color: #444444;
}

.tour-plan-item i {
    margin-right: 8px;
    color: #888888;
}

/* 旅行代金：視覚的な強調 */
.tour-price-box-senior {
    text-align: right;
}

.tour-price-label-senior {
    font-size: 14px;
    color: #666666;
    display: block;
    margin-bottom: -2px;
}

.tour-price-value-senior {
    font-size: 30px;
    font-weight: 900;
    color: #d9534f;
}

/* 5. アクションボタン（タップ領域の最大化） */
.tour-card-footer-senior {
    padding: 0 25px 25px;
}

.btn-download-senior {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #ffffff !important;
    text-align: center;
    padding: 20px;
    font-size: 19px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.btn-download-senior:hover, 
.btn-download-senior:active {
    transform: translateY(2px);
    box-shadow: 0 2px 0 rgba(0,0,0,0.2) !important;
    opacity: 0.9;
}

/* 6. モバイル・レスポンシブ最適化 */
@media (max-width: 767px) {
    .tour-card-body { padding: 15px; }
    .tour-date-section { padding: 10px; }
    .tour-date-text { font-size: 18px; } /* 小さなスマホ画面でも1行に収まりやすく調整 */
    .tour-title-senior { font-size: 20px; }
    .tour-meta-senior { flex-direction: column; align-items: flex-start; gap: 10px; }
    .tour-price-box-senior { text-align: left; width: 100%; border-top: 1px solid #f5f5f5; padding-top: 10px; }
    .btn-download-senior { font-size: 17px; padding: 18px 10px; }
}

/* ==========================================================================
   スマホ固定フッターのスタイル2026.3.6改修
   ========================================================================== */
@media (max-width: 767px) {
  /* ページ下部の余白：メニューの高さ(75px)に合わせて調整 */
  body { padding-bottom: 80px !important; }

  .mobile-fixed-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 75px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 -3px 12px rgba(0,0,0,0.2);
    z-index: 9999;
    padding: 8px; /* 左右の余白を少し詰め、ボタン幅を確保 */
  }

  .fixed-footer-container {
    display: flex;
    gap: 6px;
    height: 100%;
  }

  .fixed-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 800;
    font-size: 12px;
  }

  .fixed-btn i {
    font-size: 20px;
    margin-bottom: 2px;
  }

  /* --- 各ボタンの色分け（トップバーと統一） --- */
  
  /* LINE：ブランドカラーの緑 */
  .btn-line { background-color: #06C755 !important; }
  
  /* あい旅：オレンジ（トップバーの .label-aitabi と連動） */
  .btn-aitabi { background-color: #f0ad4e !important; }
  
  /* 参拝：緑（トップバーの .label-sanpai と連動） */
  .btn-sanpai { background-color: #5cb85c !important; }
}

/* スマホ時のみGo to Topの位置をさらに調整 */
@media (max-width: 767px) {
    #goToTop {
        bottom: 90px !important;
        right: 15px !important;
        opacity: 0.7;
    }
}

/* ==========================================================================
   HOME ヒーローエリア2026.3.6改修
   ========================================================================== */
/* ヒーローエリアのメイン見出し */
.text-medium h1 {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    font-weight: 800;
}
/* リード文（小見出し） */
.lead {
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    background: rgba(0,0,0,0.2);
    display: inline-block;
    padding: 5px 15px;
    border-radius: 5px;
    margin-bottom: 2em;
}

/* ボタンを目立たせる */
.inspiro-btn.btn-light {
    background-color: #f0ad4e !important;
    border-color: #f0ad4e !important;
    color: #fff !important;
    font-size: 20px !important;
    padding: 15px 30px !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* スマホ表示での背景画像の位置調整 */
@media (max-width: 767px) {
    section.parallax {
        background-position: 0% bottom !important; 
        min-height: 350px !important; 
        background-size: cover !important;
    }

    section.parallax h1 {
        margin-top: 140px;
        text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9) !important;
        font-size: 24px !important;
    }
    
    section.parallax p.lead {
        text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.9) !important;
        background: rgba(0, 0, 0, 0.3); /* 文字の後ろに少し濃いめ */
        padding: 5px 10px;
        font-size: 17px !important;
    }
}

/* ==========================================================================
   トップバーの装飾2026.3.6改修
   ========================================================================== */

div#topbar, 
body div#topbar.topbar-transparent {
	padding: 0 !important;
    height: auto !important;
    min-height: 40px;
    margin-top: -4px;
    background-color: transparent !important;
}

/* ページ最上部の土台も透明化 */
#wrapper, .body-inner {
    background-color: transparent !important;
}

/* ==========================================
   2. 電話番号ラベル（シニア向け共通デザイン）
   ========================================== */
.senior-top-menu {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.contact-label {
    display: inline-flex;
    align-items: center;
    background: #ffffff !important; 
    border-radius: 4px;
    overflow: hidden;
    text-decoration: none !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15); /* 少し影を強めて視認性アップ */
    transition: transform 0.2s ease;
}

.contact-label:hover {
    transform: translateY(-1px); /* マウスを乗せた時の反応 */
}

/* 「あい旅」「参拝」のタグ部分 */
.badge-text {
    padding: 8px 12px;
    color: #ffffff !important;
    font-weight: bold;
    font-size: 14px; /* 読みやすいサイズ */
    line-height: 1;
}

/* 電話番号部分 */
.phone-number {
    padding: 0 15px;
    color: #333333 !important;
    font-weight: 800;
    font-size: 18px; /* パソコンでの最大サイズ */
    letter-spacing: 0.05em;
    line-height: 1;
}

/* カテゴリー別カラー設定 */
.label-aitabi { border: 2px solid #f0ad4e; }
.label-aitabi .badge-text { background: #f0ad4e; }

.label-sanpai { border: 2px solid #5cb85c; }
.label-sanpai .badge-text { background: #5cb85c; }

/* ==========================================
   3. スマートフォン表示の最適化
   ========================================== */
@media (max-width: 767px) {
    div#topbar {
        padding: 10px 15px !important;
    }
    
    .senior-top-menu {
        flex-direction: column; /* 縦並びに切り替え */
        width: 100%;
        gap: 8px;
    }
    
    .contact-label {
        width: 100%; /* 横幅いっぱいのボタンにする */
        justify-content: space-between;
        margin: 0;
    }
    
    .phone-number {
        font-size: 20px; /* スマホではタップしやすいよう */
    }
    
    .badge-text {
        font-size: 14px;
        padding: 10px 15px;
    }
}

/* 右側のFacebookアイコンの設定を追加 */
#topbar .social-icons {
    margin: 5px 0 !important; /* 電話ボタンと上下中央を合わせる */
    padding: 0 !important;
}

#topbar .social-icons ul li {
    background: #5d7cc8 !important;
    border-radius: 4px;            /* 少し角を丸く */
    width: 32px;                   /* 正方形の幅 */
    height: 32px;                  /* 正方形の高さ */
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 !important;
    padding: 0 !important;
}

/* ==========================================
   footer title　共通
   ========================================== */
.footer-company-label {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0ad4e; /* コーポレートカラーのアクセント線 */
    display: inline-block;
}

.footer-section-title {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #444;
    margin-bottom: 15px;
    padding-left: 10px;
    border-left: 4px solid #005599;
    line-height: 1.2;
}


/* ==========================================
   車両紹介：改善版（レスポンシブ対応）
   ========================================== */

/* 車両カード全体のコンテナ */
.bus-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    background-color: transparent;
    margin-right: auto;
    margin-left: auto;
    padding: 40px 15px;
    max-width: 1230px;
    width: 100%;
    box-sizing: border-box;
}

/* カード本体：PCでは2列、スマホでは1列に自動切り替え */
.bus-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-top: 6px solid #004098;
    border-radius: 4px;
    overflow: hidden;
    width: calc(50% - 15px); /* PCデフォルトは2列 */
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: transform 0.3s ease;
    box-sizing: border-box;
}

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

.bus-header {
    background: #fff !important;
    color: #333 !important;
    padding: 30px 25px 15px 25px;
}

.bus-category {
    font-size: 1.15rem;
    background: #f0f4f8;
    color: #004098;
    padding: 4px 12px;
    border-radius: 3px;
    font-weight: bold;
    border: 1px solid #004098;
}

.bus-header h3 { 
    margin: 15px 0 8px 0; 
    font-size: 1.4rem; 
    color: #004098;
    font-weight: bold;
}

.bus-tagline { 
    font-size: 0.9rem; 
    color: #777; 
    line-height: 1.6;
    margin: 0;
}

/* 画像エリア：重なりを防ぐために flex-shrink: 0 を追加 */
.bus-image-placeholder {
    background: #f8f9fa;
    height: auto;
    min-height: 150px;
    display: flex;
    flex-shrink: 0; /* 画像が潰れるのを防止 */
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    border-bottom: 1px solid #f0f0f0;
}

.bus-image-placeholder img {
    width: 100%;
    height: auto;
    display: block;
}

.bus-body { 
    padding: 25px; 
    flex-grow: 1; 
}

.bus-info h4 {
    border-left: 4px solid #004098;
    padding-left: 12px;
    margin: 0 0 20px 0;
    font-size: 1.1rem;
    color: #333;
}

.bus-info ul { list-style: none; padding: 0; margin-bottom: 25px; }
.bus-info ul li {
    padding: 12px 0;
    border-bottom: 1px solid #f1f1f1;
    font-size: 0.95rem;
    display: flex;
}

.bus-info ul li strong {
    min-width: 110px;
    color: #004098;
}

.bus-feature-text {
    background: #f9fcff;
    padding: 20px;
    border-radius: 6px;
    border: 1px solid #e1e8f0;
    border-left: 4px solid #ff9800;
}

.bus-feature-text h5 { color: #d35400; margin: 0 0 8px 0; font-size: 1rem; }
.bus-feature-text p { font-size: 0.92rem; margin: 0; line-height: 1.7; color: #555; }

.bus-footer {
    padding: 25px;
    background: #fafafa;
    border-top: 1px solid #eee;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.btn {
    text-align: center;
    padding: 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    transition: all 0.3s;
}

.btn-line { background: #06C755; color: #fff; }
.btn-tel { background: #004098; color: #fff; }

/* ==========================================
   レスポンシブ設定
   ========================================== */

/* タブレット・スマホ用の調整 */
@media screen and (max-width: 768px) {
    .bus-container {
        gap: 20px;
        padding: 20px 10px;
    }

    .bus-card {
        width: 100%; /* スマホでは1列にする */
    }

    .bus-info ul li {
        flex-direction: column; /* 「項目名」と「内容」を縦に並べて幅を確保 */
        gap: 5px;
    }

    .bus-info ul li strong {
        min-width: auto;
    }

    .bus-header h3 {
        font-size: 1.2rem;
    }
}


/* ==========================================
   貸切りバス
   ========================================== */

/* -----------------------------------------------------------
   Chartered Bus Page H2 Styles (ehime-bus.co.jp)
----------------------------------------------------------- */

/* スマートフォン（縦持ち）を基準としたベース設定（モバイルファースト） */
h2.section-title {
    font-family: 'Montserrat', 'Raleway', 'Open Sans', "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3; 
    color: #333;
    letter-spacing: 0.05em;
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 30px;
    margin-top: 40px;
}
h2.section-title::after {
    content: '';
    position: absolute;
    left: 50%;               /* 中央配置 */
    bottom: 0;
    width: 60px;             /* ラインの幅 */
    height: 3px;             /* ラインの太さ */
    background-color: #ff6600;
    transform: translateX(-50%);
    border-radius: 2px;
}
/* タブレット・PC（768px以上）での調整 */
@media (min-width: 768px) {
    h2.section-title {
        font-size: 32px;     /* 画面幅に合わせてサイズアップ */
        margin-bottom: 50px; /* 余白も広くとり、ゆとりを持たせる */
        margin-top: 60px;
    }
    h2.section-title::after {
        width: 80px;         /* PCではラインも少し長く */
        height: 4px;
    }
}

