@charset "UTF-8";

/*==============================
  version support section
==============================*/

/*--------------------------------
  セクション全体
--------------------------------*/
.block--version-support {
  background-color: #FFF5EA;
  padding-block: 7rem;
}

@media screen and (min-width: 768px) {
  .block--version-support {
    padding-block: 10rem;
  }
}

/*--------------------------------
  コンテナ
--------------------------------*/
.block--version-support .container--md {
  position: relative;
  margin-inline: auto;
  max-width: calc(1200px + 12%);
}

/*--------------------------------
  見出し（WORKSと完全一致）
--------------------------------*/
.block--version-support .block__header {
  text-align: left;
  margin-bottom: 6.4rem;
  padding-left: 0;
}

.block--version-support .block__title--en {
  margin-bottom: 0.2rem;
  font-size: clamp(4.8rem, 3vw, 5.6rem);
  color: #30b364;
  font-weight: 500;
  font-family: "Archivo", sans-serif;
  text-transform: uppercase;
}

.block--version-support .block__title {
  font-size: clamp(1.4rem, 3vw, 1.6rem);
  font-weight: 700;
  letter-spacing: 0.025em;
}

/*--------------------------------
  リード文
--------------------------------*/
.block--version-support .block__lead {
  margin-bottom: 4.8rem;
  font-size: 1.6rem;
  text-align: center;
  font-weight: 500;
  line-height: 1.6;
  color: #333;
}

@media screen and (min-width: 992px) {
  .block--version-support .block__lead {
    font-size: 1.8rem;
  }
}

/*--------------------------------
  アコーディオンリスト
--------------------------------*/
.accordion-list {
  margin: 0 auto 4rem;
  width: 100%;
  max-width: 960px;
}

.accordion-item {
  border: 1px solid #30b364;
  border-radius: 10px;
  background-color: #fff;
  margin-bottom: 1.6rem;
  overflow: hidden;
}

/*--------------------------------
  アコーディオンタイトル
--------------------------------*/
.accordion-title {
  position: relative;
  display: inline-flex; /* 横並び維持 */
  align-items: center;
  gap: 0.8rem; /* PHPとリンクの間に少し余白 */
  width: 100%;
  padding: 1.6rem 2rem;
  font-size: 2rem;
  font-weight: 700;
  color: #30b364;
  background-color: #fff;
  cursor: pointer;
}

/* 開閉アイコン */
.accordion-title::after {
  content: "＋";
  position: absolute;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  transition: transform 0.2s ease;
}

details[open] > .accordion-title::after {
  content: "－";
}

/* アコーディオンリンク（公式サイトなど） */
.accordion-title .accordion-link {
  font-size: 1.4rem;
  font-weight: 500;
  color: #666;
  text-decoration: underline;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.accordion-title .accordion-link:hover {
  color: #30b364;
  opacity: 0.8;
}

/* アコーディオン本文 */
.accordion-body {
  padding: 2rem;
  border-top: 1px solid #30b364;
  background-color: #fff;
}

/*--------------------------------
  テーブルデザイン
--------------------------------*/
.version-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.version-table th,
.version-table td {
  border: 1px solid #30b364;
  padding: 1.2rem 1.6rem;
  text-align: center;
  vertical-align: middle;
  line-height: 1.4;
}

.version-table th {
  background-color: #E8F5EE;
  color: #333;
  font-weight: 700;
  font-size: 1.7rem;
}

.version-table td {
  font-size: 1.6rem;
}

/* ステータス色分け */
.status-ok {
  color: #30b364;
  font-weight: 700;
}

.status-warn {
  color: #e6b800;
  font-weight: 700;
}

.status-end {
  color: #e63333;
  font-weight: 700;
}

/* テーブル下の補足 */
.note {
  font-size: 1.4rem;
  color: #666;
  margin-top: 0.4rem;
  text-align: right;
  line-height: 1.5;
}

/*--------------------------------
  フッターノート
--------------------------------*/
.version-support__footnote {
  margin-top: 3.2rem;
  font-size: 1.4rem;
  text-align: center;
  color: #999;
}

/*--------------------------------
  アニメーション整合
--------------------------------*/
.js-fadeup {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.js-fadeup.is-fadeup {
  opacity: 1;
  transform: translateY(0);
}

/*--------------------------------
  スクロールヒント（スマホのみ表示）
--------------------------------*/
.scroll-hint {
  display: none; /* デフォルトは非表示（PC） */
}

@media screen and (max-width: 767px) {
  .scroll-hint {
    display: block;
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 0.8rem;
    opacity: 0.8;
  }
}

/*--------------------------------
  テーブルの横スクロール対応（スマホ）
--------------------------------*/
@media screen and (max-width: 767px) {
  .accordion-body {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .version-table th,
  .version-table td {
    white-space: nowrap;
  }
}

/*--------------------------------
  テクノロジーカテゴリ見出し
--------------------------------*/
.tech-category-title {
  font-size: 2.0rem;
  font-weight: 700;
  color: #30b364;
  margin: 4rem 0 2rem;
  padding-left: 0.4rem;
  border-left: 4px solid #30b364;
}