/* ==========================================================================
   Under page 2026 (下層ページ共通: ページタイトルエリア / コンテンツエリア)
   ========================================================================== */

/* NOTE: ボタンはサイト共通の .btn (add.css) を使う。ここでは行の中央寄せのみ担当する */
.under-btn-row {
  text-align: center;
  margin-top: 16px;
}

/* テキスト + 画像(約40%)の横並びイントロブロック（About等） */
.under-media-block {
  display: flex;
  align-items: center;
  gap: 40px;
}

.under-media-block__body {
  flex: 1 1 auto;
  min-width: 0;
}

.under-media-block__figure {
  flex: 0 0 40%;
  max-width: 40%;
  margin: 0;
}

.under-media-block__figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  background: #eef1f5;
}

.under-media-block__figure--wide {
  flex: 0 0 50%;
  max-width: 50%;
}

/* 画像を切り取らず全体表示したい場合用 */
.under-media-block__figure--contain img {
  aspect-ratio: auto;
  object-fit: contain;
  background: none;
}

.under-media-block__body h4.under-h4 {
  padding-top: 0;
  border-top: none;
}

/* 地図・図解などの非トリミング画像（写真以外）用 */
.under-media-block__figure--diagram img {
  aspect-ratio: auto;
  object-fit: contain;
  background: none;
}

@media screen and (max-width: 767px) {
  .under-media-block {
    flex-direction: column;
  }

  .under-media-block__figure {
    flex-basis: auto;
    max-width: 100%;
  }
}

/* The Pillars of CEATEC: 角丸カードグリッド（数字 + 画像 + タイトル/説明文） */
/* グラデーションタイトル */
h3.ttl_color {
  background: linear-gradient(90deg, #008ad2 0%, #947cb9 25%, #bb61a7 50%, #ee328b 75%, #fec558 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}
.under-main-p{
      font-weight: 700;
    font-size: 18px;
    margin-top: 1em;
    line-height: 2;
}

.under-content .pillars {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  row-gap: 40px;
  column-gap: 20px;
}
.under-content .pillars__item {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 0 0 calc(33.333% - 13.333px); /* 3列 + 2列（中央寄せ） */
  border-radius: 8px;
  background: var(--color-white);
  border: 1px solid #eef1f5;
}

/* 2列 + 2列 + 1列（中央寄せ）
   NOTE: ベースの .under-content .pillars__item（詳細度0,2,0）に対して
   ここが .pillars__item 単体（詳細度0,1,0）だと詳細度で負けて上書きできず、
   画面幅を変えても常に3列のままになる。.under-content を付けて詳細度を揃える */
@media screen and (max-width: 767px) {
  .under-content .pillars__item {
    flex-basis: calc(50% - 10px);
  }
}

/* 縦1列 */
@media screen and (max-width: 500px) {
  .under-content .pillars__item {
    flex-basis: 100%;
  }

}

.under-content .pillars__num {
  position: absolute;
  top: -32px;
  left: 20px;
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: 72px;
  font-weight: 300;
  font-style: italic;
  line-height: 1;
  color: var(--ceatecblue);
  z-index: 1;
  pointer-events: none;
}

@supports (-webkit-text-stroke: 1px black) {
  .pillars__num {
    color: transparent;
    -webkit-text-stroke: 1.5px var(--ceatecblue);
  }
}

.under-content .pillars__figure {
  position: relative;
  margin: 0;
  z-index: 0;
}

.pillars__figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  border-radius: 8px 8px 0 0;
  background: #eef1f5;
}

.pillars__body {
  padding: 16px 20px 20px;
}

.under-content h4.pillars__title {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.4;
  margin: 0 0 8px;
  color: #111;
}

.under-content .pillars__desc {
  line-height: 1.7;
  color: #555;
  margin: 0;
}
