@charset "UTF-8";

/* ==========================================================================
  p-security.css
  セキュリティへの取り組みページ用CSS
   ========================================================================== */

/* partial override */
/* ========================================================================= */

/* FV：背景の装飾（コンポーネント）を表示しない */
.o-m__fv.p__security-fv::before {
  display: none;
}

/* FV：リード文を中央揃え（SPは見出しリードに合わせて左揃え） */
.p__security-fv .o-m__fv_lead_text {
  text-align: center;
  @media screen and (max-width: 768px) {
    text-align: left;
  }
}

/* 3カラム（1024px以下は2カラム、576px以下は1カラム） */
.o-m__function-panel.p__security-panel._column_3 {
  grid-template-columns: repeat(3, 1fr);
  @media screen and (max-width: 1024px) {
    grid-template-columns: repeat(2, 1fr);
  }
  @media screen and (max-width: 576px) {
    grid-template-columns: 1fr;
  }
}

/* 見出し＋テキストのみのカード（subgridの行数を2行にする） */
.p__security-panel._row_2 .o-m__function-panel-item {
  grid-row: span 2;
  gap: 15px;
  padding: 35px 30px;
  @media screen and (max-width: 576px) {
    padding: 30px 20px;
  }
}

/* ページ内パーツ */
/* ========================================================================= */

/* 認証マーク（ISMS・プライバシーマーク）：形の異なる画像を同じ高さの枠に収める */
.p__security-panel_mark {
  display: grid;
  place-items: center;
  height: 100px;
  img {
    width: 100%;
    height: 100px;
    object-fit: contain;
  }
}

/* アイコンの丸い枠 */
.p__security-panel_icon {
  display: grid;
  place-items: center;
  width: 95px;
  height: 95px;
  margin: 0 auto;
  border-radius: 50%;
  background: var(--rmeisai-bg-sub-03);
  img {
    width: 70px;
    height: auto;
  }
}

/* 認証情報（認証機関・規格・登録番号など）：項目名と内容を2列で並べる */
.p__security-panel_info {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 16px;
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.8;
  @media screen and (max-width: 576px) {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

.p__security-panel_info-term {
  font-weight: 700;
  @media screen and (max-width: 576px) {
    margin: 2px 0 0;
  }
}

/* カード一覧の下の注釈 */
.p__security-note {
  margin: 20px 0 0;
  font-size: 12px;
  line-height: 1.6;
}
