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

.column_main ._th34_module_wrap .col {
  margin-left: 0;
}
.column_main ._th34_module_wrap .col img {
  width: auto;
  height: 100%;
}
.column_main ._th34_module_wrap dl {
  max-height: none;
}
.column_main ._th34_module_wrap.typeA dl dt {
  width: 100%;
  padding: 0.5em 0 0 0;
}
.column_main ._th34_module_wrap.typeA dl dd {
  padding-left: 0;
  padding: 0 0 0.5em;
}

._th34_module_wrap .container {
  padding: 3em;
  background-color: var(--color-surface);
}
@media (max-width: 768px) {
  ._th34_module_wrap .container {
    padding: 1.7em 1.5em;
  }
}
._th34_module_wrap .col {
  position: relative;
}
@media (min-width: 768px) {
  ._th34_module_wrap .col {
    height: 400px;
    overflow: hidden;
  }
}
@media (max-width: 767px) {
  ._th34_module_wrap .col {
    margin: 0;
  }
}
._th34_module_wrap .col:not(.bg_info) {
  width: 25%;
}
@media (max-width: 768px) {
  ._th34_module_wrap .col:not(.bg_info) {
    width: 33.3333333333%;
  }
}
@media (max-width: 767px) {
  ._th34_module_wrap .col:not(.bg_info) {
    display: inline-block;
    width: 50%!important;
    float: left;
  }
}
._th34_module_wrap .col:not(.bg_info) h2 {
  padding-left: 1em;
  position: absolute;
  top: 7%;
  left: 7%;
  color: var(--color-bg);
  font-size: 20px;
  font-size: 2rem;
  z-index: 99;
}
@media (max-width: 767px) {
  ._th34_module_wrap .col:not(.bg_info) h2 {
    font-size: 18px;
    font-size: 1.8rem;
  }
}
._th34_module_wrap .col:not(.bg_info) h2 span {
  display: block;
  position: relative;
  font-size: 14px;
  font-size: 1.4rem;
  font-weight: normal;
}
@media (max-width: 767px) {
  ._th34_module_wrap .col:not(.bg_info) h2 span {
    font-size: 12px;
    font-size: 1.2rem;
  }
}
._th34_module_wrap .col:not(.bg_info) h2 span:after {
  content: "";
  position: absolute;
  top: -20px;
  left: -1em;
  border: 5px solid transparent;
  border-left: 4px solid var(--color-bg);
  opacity: 1;
}
._th34_module_wrap .col:not(.bg_info) a {
  transition: 0.3s;
}
._th34_module_wrap .col:not(.bg_info) a:hover {
  opacity: 0.9;
  transition: 0.3s;
}
._th34_module_wrap dl {
  max-height: none;
}
._th34_module_wrap.type_A dl dt {
  padding: 1em 0 1em 0;
  width: 90px;
}
@media (max-width: 767px) {
  ._th34_module_wrap.type_A dl dt {
    padding: 0.5em 0 0 0;
  }
}
._th34_module_wrap.type_A dl dt span {
  display: none;
}
._th34_module_wrap.type_A dl dd {
  margin-left: 1em;
  border: none;
}
@media (max-width: 767px) {
  ._th34_module_wrap.type_A dl dd {
    padding: 0 0 0.5em;
  }
}
._th34_module_wrap.type_B dl dt {
  padding: 0.5em 0;
  width: 100%;
}
@media (max-width: 767px) {
  ._th34_module_wrap.type_B dl dt {
    padding: 0.5em 0 0 0;
  }
}
._th34_module_wrap.type_B dl dt span {
  display: inline-block;
}
._th34_module_wrap.type_B dl dd {
  margin-left: 1em;
  padding: 0.5em 0 0.5em 0;
  border: none;
}
@media (max-width: 768px) {
  ._th34_module_wrap.type_B dl dd {
    padding: 0.5em 0 0.5em 0;
  }
}
@media (min-width: 600px) {
  ._th34_module_wrap figure {
    position: relative;
    overflow: hidden;
    text-align: center;
    padding-top: 400px;
  }
}
@media (min-width: 600px) {
  ._th34_module_wrap figure img {
    position: absolute;
    top: -300%;
    left: -300%;
    right: -300%;
    bottom: -300%;
    margin: auto;
    max-width: 300%;
  }
}
@media (max-width: 767px) {
  ._th34_module_wrap figure img {
    width: 100%;
  }
}
._th34_module_wrap h2 {
  display: block;
  margin: 0 0 0.5em;
  font-weight: bold;
  font-size: 20px;
  font-size: 2rem;
}
@media (max-width: 767px) {
  ._th34_module_wrap h2 {
    font-size: 18px;
    font-size: 1.8rem;
  }
}
._th34_module_wrap h2:before, ._th34_module_wrap h2:after {
  display: none;
}
._th34_module_wrap .bg_info {
  padding: 2em;
  background-color: var(--color-bg);
}
@media (max-width: 768px) {
  ._th34_module_wrap .bg_info {
    width: 100%;
    height: auto !important;
  }
}
._th34_module_wrap .bg_info a {
  position: relative;
  color: var(--color-heading-ink);
  text-decoration: none;
}
._th34_module_wrap .bg_info a:after {
  content: "";
  position: absolute;
  top: 2px;
  left: -1em;
  border: 6px solid transparent;
  border-left: 4px solid var(--color-primary);
  opacity: 1;
}
._th34_module_wrap .bg_info a:hover {
  text-decoration: underline;
}
._th34_module_wrap .bg_info .content {
  position: relative;
}
@media (min-width: 769px) {
  ._th34_module_wrap .bg_info .content {
    padding-bottom: 20px;
  }
}
@media (min-width: 769px) {
  ._th34_module_wrap ._th34_module_list {
    position: absolute;
    right: 2em;
    bottom: 2em;
    margin-top: 1em;
  }
}
._th34_module_wrap span[class^=bg_] {
  margin-left: 10px;
  padding: 0.2em 0.4em 0;
  color: var(--color-bg);
  font-size: 12px;
  font-size: 1.2rem;
}
@media (min-width: 768px) {
  ._th34_module_wrap .news dl dt + dd {
    padding-left: 90px;
  }
}
._th34_module_wrap .bg_blue {
  background-color: #202069;
}
._th34_module_wrap .bg_red {
  background-color: #69202c;
}
._th34_module_wrap .bg_green {
  background-color: #206938;
}

@media (max-width: 1023px) {
  #page_block3 ._th34_module_wrap .col.span_3 {
    width: 50%;
  }
  #page_block3 ._th34_module_wrap .col.bg_info {
    width: 100%;
  }
}
@media (max-width: 1023px) {
  #page_block3 ._th34_module_wrap figure img {
    width: 100%;
  }
}

/* SM-FIX-20260819 */
/* 2026-08-19: 見出しが白 on 白で消え、さらに他の文字と重なっていた。
   .col:not(.bg_info) h2 は position:absolute + color:var(--color-bg)（＝白）で
   「写真の上に置く白見出し」だが、.col に position 指定が無いため絶対配置の基準が
   カラムではなく外側になり、6枚ぶんの見出しが全部お知らせ一覧の上へ重なっていた。
   (1) カラムを基準にする (2) 写真の比率を固定 (3) 白見出しが必ず読めるよう上端にスクリム。 */
._th34_module_wrap .col:not(.bg_info){ position: relative; }
._th34_module_wrap .col:not(.bg_info) figure{ margin: 0; position: relative; }
._th34_module_wrap .col:not(.bg_info) figure a{ position: relative; display: block; }
._th34_module_wrap .col:not(.bg_info) figure img{
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block;
}
._th34_module_wrap .col:not(.bg_info) figure a:after{
  content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; pointer-events: none;
  background: linear-gradient(to bottom, rgba(0,0,0,.6), rgba(0,0,0,.15) 45%, rgba(0,0,0,0));
}
._th34_module_wrap .col:not(.bg_info) h2{ right: 7%; }

/* SM-FIX3-20260819 */
/* 2026-08-19(2): 768px 以上で ._th34_module_wrap .col が height:400px + overflow:hidden の
   【固定高】になっており、お知らせ一覧(.bg_info)の中身が 400px を超えると
   下が黙って切り捨てられていた（実測 1024px で 558px ぶんの内容が 400px に切られる）。
   写真カラムは 400px のままでよいが、本文カラムは中身に追従させる。 */
@media (min-width: 768px){
  ._th34_module_wrap .col.bg_info{ height: auto; min-height: 400px; overflow: visible; }
}

/* SM-FIX5-20260819 */
/* 2026-08-19(3): 白見出しが写真からはみ出す幅では地の白と同化して消えていた
   （実測 768px でコントラスト比 1.07）。見出し自体に暗い帯を敷いて、
   どこに落ちても読めるようにする。 */
._th34_module_wrap .col:not(.bg_info) h2{
  left: 7%; right: 7%;
  background: rgba(0,0,0,.5);
  padding: .5em .7em .5em 1.2em;
  border-radius: 2px;
}

/* SM-FIX9-20260819 */
/* 2026-08-19(E2E): aspect-ratio を足した img が高さ0になる。
   common.css の `main img:not([class]){height:100%}` が効いており、
   【明示 height は aspect-ratio に勝つ】ため、親の高さが決まらない場面で 0px に解決される。
   実害: news-post-th34 で写真6枚が 212x0 になり消えた(実生成サイトで検出)。
   aspect-ratio を使う画像には必ず height:auto を併記する。 */
._th34_module_wrap .col:not(.bg_info) figure img{ height: auto; }

/* SM-FIX10-20260819 */
/* 2026-08-19(E2E): 写真タイルの画像に aspect-ratio を被せたのが誤りだった。
   このモジュールの写真は【position:absolute でタイル(212x400)全面を埋める】設計で、
   object-fit:cover で切り抜かれている。そこへ aspect-ratio:4/3 + height:auto を入れたため
   高さが 400px → 159px に縮み、タイル下端に落ちて「ラベルの箱だけが並ぶ」状態になった
   (実生成サイト 1024px で確認)。比率の指定を撤回し、タイルを埋める挙動に戻す。
   ※ .col を position:relative にする是正(見出しの位置基準)と、白見出しの帯、
     お知らせ本文の height:auto は有効なので残す。 */
/* SM-FIX13: 768px 以上だけに閉じる。767px 以下は img が position:static で
   生成側の `.lgx .col img{aspect-ratio:16/9}` が高さを作っているため、
   ここで aspect-ratio:auto を被せるとその指定を打ち消して高さ0になる。 */
@media (min-width: 768px){
  ._th34_module_wrap .col:not(.bg_info) figure img{
    width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover;
  }
}

/* SM-FIX11-20260819 */
/* 2026-08-19(E2E 最終): 写真タイルの画像を元の挙動に完全に戻す。
   直前の是正で入れた `figure a{position:relative}` が問題の本体だった。
   このモジュールの img は position:absolute でタイルを埋める作りで、包含ブロックは
   figure(position:relative / 400px)。a を positioned にすると包含ブロックが a に移り、
   a の高さは 0(中身が絶対配置なので)なので height:100% が 0 に解決され写真が消える。
   スクリムは a に付けていたが、見出し側の帯(SM-FIX5)で可読性は足りるので不要。
   ここで残す是正は「.col を position:relative にして見出しの位置基準を正す」
   「白見出しに帯を敷く」「お知らせ本文の height 固定を外して切れないようにする」の3点。 */
._th34_module_wrap .col:not(.bg_info) figure a{ position: static; }
._th34_module_wrap .col:not(.bg_info) figure a:after{ content: none; }
/* SM-FIX13: 768px 以上だけに閉じる。767px 以下は img が position:static で
   生成側の `.lgx .col img{aspect-ratio:16/9}` が高さを作っているため、
   ここで aspect-ratio:auto を被せるとその指定を打ち消して高さ0になる。 */
@media (min-width: 768px){
  ._th34_module_wrap .col:not(.bg_info) figure img{
    width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover;
  }
}

/* SM-FIX12-20260819 */
/* 2026-08-19(E2E 最終2): height:100% は【カラムに高さが決まる 768px 以上だけ】に限定する。
   767px 以下は .col が height:auto なので、絶対配置の img に height:100% を与えると
   包含ブロックの高さが未確定 → 0px に解決され、写真6枚が消える(実測 375px)。 */
@media (max-width: 767px){
  ._th34_module_wrap .col:not(.bg_info) figure img{ height: auto; }
}
