/* banner-cta-th27.css — ベースライン(自動読込・module-base.css前提)。編集せず上書きで調整。 */
@charset "UTF-8";

._th39_module {
  position: relative;
  overflow: hidden;
}
._th39_module h2 {
  line-height: 1.5;
  text-align: center;
  color: var(--color-text-muted);
  font-size: 1.875rem;
  font-weight: bold;
}
._th39_module h2 span {
  color: var(--color-on-primary);
  font-size: 0.875rem;
  font-weight: normal;
  display: block;
}
._th39_module ._th39_module_col {
  position: relative;
}
._th39_module ._th39_module_col ._th39_module_img a {
  display: block;
  position: relative;
}
._th39_module ._th39_module_col ._th39_module_img a:after {
  content: "";
  position: absolute;
  background-color: transparent;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  transition: 0.5s;
}
._th39_module ._th39_module_col ._th39_module_content {
  position: relative;
  background-color: #fff;
  text-align: center;
}
._th39_module ._th39_module_col ._th39_module_content ._th39_module_title {
  position: relative;
  display: inline-block;
  width: 100%;
  background: #fff;
}
._th39_module ._th39_module_col ._th39_module_content ._th39_module_title h3 {
  font-weight: bold;
  text-align: center;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}
._th39_module ._th39_module_col ._th39_module_content ._th39_module_title h3 span {
  display: block;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}
._th39_module ._th39_module_col ._th39_module_content ._th39_module_title h3:after {
  display: none;
}
._th39_module ._th39_module_col ._th39_module_img a:hover:after {
  background-color: rgba(0, 0, 0, 0.8);
}

@media (max-width: 767px) {
  ._th39_module {
    padding: 2em 1em;
    background-color: #000;
  }
  ._th39_module .col:not(:last-child) {
    margin-bottom: 5% !important;
  }
}
@media (max-width: 767px) and (max-width: 400px) {
  ._th39_module .col:not(:last-child) {
    margin-bottom: 10% !important;
  }
}
@media (max-width: 767px) {
  ._th39_module .col {
    max-width: 100% !important;
    width: 100% !important;
    float: none !important;
    margin: auto !important;
  }
}
@media (max-width: 767px) and (max-width: 400px) {
  ._th39_module h2 {
    margin-bottom: 0.5em;
  }
  ._th39_module h2 span {
    font-size: 0.75rem;
  }
}
@media (max-width: 767px) {
  ._th39_module ._th39_module_nav {
    position: relative;
    width: 100%;
    background-color: #fff;
    padding-left: 0;
    overflow: hidden;
    transition: height 0.8s;
  }
  ._th39_module ._th39_module_nav li {
    width: 100%;
    display: inline-block;
    list-style: none;
    text-align: center;
    border-top: solid 1px var(--color-surface);
  }
  ._th39_module ._th39_module_nav li a {
    padding: 1em;
    display: block;
    color: var(--color-text-muted);
    text-decoration: none;
    transition: 0.2s;
  }
  ._th39_module ._th39_module_nav li a:hover {
    background-color: var(--color-primary);
    color: var(--color-on-primary);
  }
  ._th39_module ._th39_module_nav li:last-child {
    border-bottom: solid 1px var(--color-surface);
  }
  ._th39_module ._th39_module_content ._th39_module_box ._th39_module_title {
    padding: 15px 0;
  }
}
@media (min-width: 768px) {
  ._th39_module {
    padding: 2em 2em 0;
  }
  ._th39_module:after {
    content: "";
    position: absolute;
    background-color: #000;
    width: 100%;
    height: 90%;
    top: 0;
    left: 0;
    z-index: -1;
  }
  ._th39_module .content_slide {
    bottom: 0 !important;
  }
  ._th39_module .open {
    height: 100% !important;
  }
  ._th39_module ._th39_module_content ._th39_module_box {
    position: absolute;
    width: 100%;
    transition: bottom 0.8s;
    overflow: hidden;
  }
  ._th39_module ._th39_module_content ._th39_module_box ._th39_module_title {
    padding: 25px 0 30px;
  }
  ._th39_module ._th39_module_content ._th39_module_box ._th39_module_nav {
    position: relative;
    width: 100%;
    background-color: #fff;
    padding-left: 0;
    overflow: hidden;
    transition: height 0.8s;
  }
  ._th39_module ._th39_module_content ._th39_module_box ._th39_module_nav li {
    width: 100%;
    display: inline-block;
    list-style: none;
    text-align: center;
    border-top: solid 1px var(--color-surface);
  }
  ._th39_module ._th39_module_content ._th39_module_box ._th39_module_nav li a {
    padding: 1em;
    display: block;
    color: var(--color-text-muted);
    text-decoration: none;
    transition: 0.2s;
  }
  ._th39_module ._th39_module_content ._th39_module_box ._th39_module_nav li a:hover {
    background-color: var(--color-primary);
    color: var(--color-on-primary);
  }
  ._th39_module ._th39_module_content ._th39_module_box ._th39_module_nav li:last-child {
    border-bottom: solid 1px var(--color-surface);
  }
}
.span_9.column_main ._th39_module {
  padding: 2em 1em;
  background-color: #000;
}
@media (max-width: 400px) {
  .span_9.column_main ._th39_module h2 {
    margin-bottom: 0.5em;
  }
  .span_9.column_main ._th39_module h2 span {
    font-size: 0.75rem;
  }
}
.span_9.column_main ._th39_module ._th39_module_content ._th39_module_box {
  bottom: auto !important;
}
.span_9.column_main ._th39_module ._th39_module_content ._th39_module_box ._th39_module_title {
  padding: 15px 0;
}
.span_9.column_main ._th39_module ._th39_module_content ._th39_module_box ._th39_module_nav {
  display: none;
}

/* SM-FIX2-20260819 */
/* 2026-08-19: 黒地(._th39_module の background-color:#000 / :after の黒帯)の上に
   var(--color-on-primary)（実サイトの大半で #111111）の小見出しが乗り、
   コントラスト比 1.11＝ほぼ不可視だった。黒地の上は白系が正。 */
._th39_module > h2{ color: #fff; }
._th39_module > h2 span{ color: rgba(255,255,255,.82); }

/* SM-FIX6-20260819 */
/* 2026-08-19(2): 768px 以上の黒帯 ._th39_module:after が z-index:-1 で、
   ._th39_module 自身の背景(白)の【裏】に回り込み描画されていなかった
   （positioned でも z-index:auto の要素はスタッキングコンテキストを作らないため）。
   黒帯が出ないまま見出しだけ白にすると今度は白地に白文字になるので、
   帯を要素自身の背景(グラデーションで上90%だけ黒)として描き、疑似要素をやめる。 */
@media (min-width: 768px){
  ._th39_module{
    background-image: linear-gradient(to bottom, #000 0 90%, rgba(0,0,0,0) 90%);
    background-repeat: no-repeat;
    background-size: 100% 100%;
  }
  ._th39_module:after{ display: none; }
}
