/*
Theme Name:VOYAGE child
Theme URI:https://tcd-theme.com/tcd121
Description:WordPressテーマ「VOYAGE」の子テーマ
Template:voyage_tcd121
Author:TCD
Version:1.1.0
*/

/* ============ ヒーロー ロゴ画像 白抜き ============ */
#index_header_content .content .logo_image img {
  filter: drop-shadow(0 4px 20px rgba(0,0,0,0.4)) !important;
  max-width: 100% !important;
  height: auto !important;
}

@media (min-width: 768px) {
  #index_header_content .content .logo_image img {
  filter: drop-shadow(0 4px 20px rgba(0,0,0,0.4)) !important;
  max-width: 100% !important;
  height: auto !important;
}
}

@media (max-width: 767px) {
  #index_header_content .content .logo_image img {
  filter: drop-shadow(0 4px 20px rgba(0,0,0,0.4)) !important;
  max-width: 100% !important;
  height: auto !important;
}
  
}

/* ヒーロー下部キャッチ */
#index_header_content .catch_bottom {
  color: #fff !important;
  text-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

/* ============ 住まう/知る 背景オーバーレイ濃く ============ */
.cb_content_1 .overlay,
.cb_content_3 .overlay {
  background: rgba(0,50,72,0.55) !important;
}

/* ============ SP 各セクションのタイトル調整 ============ */
@media (max-width: 767px) {
  .cb_gallery .design_headline.vertical {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 40px 20px !important;
  }
  .cb_gallery .design_headline.vertical .headline {
    writing-mode: vertical-rl !important;
    font-size: 22px !important;
    letter-spacing: 0.08em !important;
    max-height: 320px !important;
  }
  .cb_gallery .design_headline.vertical .desc {
    writing-mode: vertical-rl !important;
    font-size: 12px !important;
    line-height: 1.9 !important;
    max-height: 280px !important;
  }
  .cb_voice .cb_voice_inner {
    padding: 30px 16px !important;
  }
  .cb_voice .design_headline.vertical {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    padding: 20px 0 !important;
  }
  .cb_voice .design_headline.vertical .headline {
    writing-mode: horizontal-tb !important;
    font-size: 40px !important;
  }
  .cb_voice .design_headline.vertical .desc {
    writing-mode: horizontal-tb !important;
    font-size: 13px !important;
    line-height: 2 !important;
    text-align: center !important;
  }
  .p-index-section-title,
  .cb_content h2 {
    font-size: clamp(28px, 8vw, 42px) !important;
    line-height: 1.5 !important;
  }
}




/* ============ ヘッダーロゴ (Lienカラーロゴを動画上に表示) ============ */
#header_logo img,
.l-header #header_logo img,
header#header #header_logo img {
  height: auto !important;
  max-height: 45px !important;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.35));
  background: rgba(255,255,255,0.85);
  padding: 6px 12px;
  border-radius: 6px;
}
@media (max-width: 767px){
  #header_logo img {
    max-height: 32px !important;
    padding: 4px 8px;
  }
}












































/* news-ticker-date */
/* お知らせティッカーの日付を非表示 */
#index_news_ticker .date,
#index_news_ticker time,
.index_news_ticker .date,
.index_news_ticker time {
  display: none !important;
}
/* /news-ticker-date */

/* sp-concept-headline */
@media (max-width: 767px) {
  /* Concept セクション SP: 縦書きを画面内に収める */
  .cb_content_0 .design_headline,
  .cb_gallery .design_headline {
    padding: 40px 20px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  /* .vertical レイアウト: 縦書き見出し + 縦書き説明を横並びで中央配置 */
  .cb_content_0 .design_headline.vertical,
  .cb_gallery .design_headline.vertical {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 24px !important;
    max-height: none !important;
    height: auto !important;
    width: 100% !important;
  }
  /* 縦書き見出し (右→左に並ぶ vertical-rl はそのまま) */
  .cb_content_0 .design_headline.vertical .headline,
  .cb_gallery .design_headline.vertical .headline {
    writing-mode: vertical-rl !important;
    -webkit-writing-mode: vertical-rl !important;
    font-size: clamp(22px, 6vw, 28px) !important;
    line-height: 1.7 !important;
    letter-spacing: 0.15em !important;
    height: auto !important;
    max-height: 50vh !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  /* 縦書き説明文 */
  .cb_content_0 .design_headline.vertical .desc,
  .cb_gallery .design_headline.vertical .desc {
    writing-mode: vertical-rl !important;
    -webkit-writing-mode: vertical-rl !important;
    font-size: 12px !important;
    line-height: 1.9 !important;
    letter-spacing: 0.05em !important;
    height: auto !important;
    max-height: 50vh !important;
    margin: 0 !important;
    padding: 0 !important;
  }
}
/* /sp-concept-headline */


/* sp-fix-page */
/* ========= 固定ページ本文の余白 (about/greeting/flow/faq/access) ========= */
.post_content h2,
.post_content h3,
.post_content h4,
.post_content p,
.post_content ul,
.post_content ol,
.post_content blockquote,
.post_content table,
.tcdce-body h2,
.tcdce-body h3,
.tcdce-body h4,
.tcdce-body p,
.tcdce-body ul,
.tcdce-body ol,
.tcdce-body blockquote,
.tcdce-body table,
.page .post_content h2,
.page .post_content h3,
.page .post_content h4,
.page .post_content p,
.page .post_content ul,
.page .post_content ol {
  margin: 0 0 1.2em !important;
  line-height: 1.9 !important;
}
.post_content h2, .tcdce-body h2 {
  font-size: clamp(20px, 5vw, 28px) !important;
  margin: 2em 0 0.8em !important;
  padding: 0.4em 0 0.4em 0.8em !important;
  border-left: 4px solid var(--tcd-accent-color, #10829c) !important;
  font-weight: 700 !important;
}
.post_content h3, .tcdce-body h3 {
  font-size: clamp(17px, 4.5vw, 22px) !important;
  margin: 1.8em 0 0.8em !important;
  padding: 0.4em 0 0.3em 0 !important;
  border-bottom: 2px solid var(--tcd-accent-color, #10829c) !important;
  font-weight: 700 !important;
}
.post_content h4, .tcdce-body h4 {
  font-size: clamp(15px, 4vw, 18px) !important;
  margin: 1.5em 0 0.6em !important;
  font-weight: 600 !important;
}
.post_content ul, .tcdce-body ul {
  padding-left: 1.5em !important;
  list-style: disc !important;
}
.post_content ul li, .tcdce-body ul li {
  margin-bottom: 0.4em !important;
  list-style: disc !important;
}
.post_content ol, .tcdce-body ol {
  padding-left: 1.5em !important;
  list-style: decimal !important;
}
.post_content ol li, .tcdce-body ol li {
  margin-bottom: 0.4em !important;
  list-style: decimal !important;
}
.post_content blockquote, .tcdce-body blockquote {
  background: #f7f4ee !important;
  border-left: 3px solid var(--tcd-accent-color, #10829c) !important;
  padding: 1em 1.5em !important;
  margin: 1.5em 0 !important;
  font-style: normal !important;
}
.post_content strong, .tcdce-body strong { font-weight: 700; }
.post_content table, .tcdce-body table {
  width: 100% !important;
  border-collapse: collapse !important;
  margin: 1.5em 0 !important;
}
.post_content table th, .post_content table td,
.tcdce-body table th, .tcdce-body table td {
  padding: 12px !important;
  border-bottom: 1px solid #e6e2da !important;
  text-align: left !important;
}

/* ========= フッターバナー: SP時に幅を画面内に ========= */
@media (max-width: 767px) {
  #footer_banner,
  #footer_banner_carousel,
  .footer_banner {
    max-width: 100vw !important;
    overflow: hidden !important;
    padding: 0 12px !important;
    box-sizing: border-box !important;
  }
  #footer_banner .c-thumbnail,
  #footer_banner_carousel .c-thumbnail {
    width: calc(100% - 24px) !important;
    max-width: 100% !important;
    margin: 0 auto !important;
  }
}

/* ========= Voice セクション: 「一覧」ボタンの装飾リング内に文字収める ========= */
.cb_voice .button_wrap,
.cb_voice a.button,
.cb_voice .cb_voice_button,
.cb_voice [class*="button"] {
  z-index: 5 !important;
}
@media (max-width: 767px) {
  .cb_voice a[href$="/voice/"],
  .cb_voice .button {
    font-size: 13px !important;
    padding: 12px 20px !important;
    line-height: 1.4 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: transparent !important;
  }
}
/* /sp-fix-page */
