@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@500;700&display=swap');

/* ============================================================
  harutaka 安全への取り組み（trust）
  Breakpoints:
    base : 1024px〜（PC基準）
    1023 : 960〜1023px
    959  : 768〜959px
    767  : 560〜767px
    559  : 〜559px
============================================================ */

/* ----------------------------------------
  Common / tokens
---------------------------------------- */
#trust {
  --c-blue: #177ee5;
  --c-blue-d: #1a6fd4;
  --c-ink: #2f3233;
  --c-gray: #7c868a;
  --c-gray-d: #5c6366;
  --c-line: #dfe3e6;
  --c-bg-lt: #f7fbff;
  --c-bg-bl: #e5f2ff;
  --c-bg-gray: #f3f4f5;
  --c-fw-bold: 500;
  color: var(--c-ink);
  background: #fff;
  font-family: "Noto Sans JP", "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}
#trust img {
  max-width: 100%;
}
#trust b,
#trust strong {
  font-weight: var(--c-fw-bold);
}

/* ----------------------------------------
  Hero（Safety / 安全への取り組み）
---------------------------------------- */
#trust .trust-hero {
  padding: 80px 16px;
  background: var(--c-bg-lt);
  text-align: center;
}
#trust .trust-hero-en {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  font-size: 48px;
  line-height: 1;
  color: var(--c-blue);
  margin: 0;
}
#trust .trust-hero-ja {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.75;
  color: var(--c-gray);
  margin: 9px 0 0;
}

/* ----------------------------------------
  Lead（採用に関わるデータ・AI活用を、…）
---------------------------------------- */
#trust .trust-lead {
  padding: 80px 16px;
  background: #fff;
  text-align: center;
}
#trust .trust-lead-ttl {
  font-size: 32px;
  font-weight: var(--c-fw-bold);
  line-height: 1.18;
  color: var(--c-ink);
  margin: 0 0 32px;
}
#trust .trust-lead-ttl .trust-hl {
  color: var(--c-blue);
}
#trust .trust-lead-text {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--c-ink);
  margin: 0;
}

@media (max-width: 767px) {
  #trust .trust-hero {
    padding: 56px 16px;
  }
  #trust .trust-hero-en {
    font-size: 36px;
  }
  #trust .trust-lead {
    padding: 48px 16px;
  }
  #trust .trust-lead-ttl {
    font-size: 24px;
  }
  #trust .trust-lead-text {
    font-size: 15px;
    line-height: 1.8;
    text-align: left;
  }
}

/* ----------------------------------------
  POINT セクション共通
---------------------------------------- */
#trust .trust-point {
  padding: 80px 16px;
}
#trust .trust-point--p1 {
  background: var(--c-bg-lt);
}
#trust .trust-point--p2 {
  background: var(--c-bg-gray);
}
#trust .trust-point-inner {
  width: 100%;
  max-width: 1136px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 56px;
}
#trust .trust-point-head {
  text-align: center;
}
#trust .trust-point-pill {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-weight: 500;
  font-size: 32px;
  line-height: 1.5;
  color: var(--c-blue);
  margin: 0;
}
#trust .trust-point-ttl {
  font-size: 32px;
  font-weight: var(--c-fw-bold);
  line-height: 1.18;
  color: var(--c-ink);
  margin: 0;
}

@media (max-width: 767px) {
  #trust .trust-point {
    padding: 56px 16px;
  }
  #trust .trust-point-inner {
    gap: 40px;
  }
  #trust .trust-point-pill {
    font-size: 26px;
  }
  #trust .trust-point-ttl {
    font-size: 24px;
  }
}

/* ----------------------------------------
  Panel（技術で守る / 組織で守る）
---------------------------------------- */
#trust .trust-panel {
  width: 100%;
  max-width: 1024px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}
#trust .trust-band {
  width: 100%;
  background: var(--c-bg-bl);
  padding: 8px 16px;
  box-sizing: border-box;
  font-size: 24px;
  font-weight: var(--c-fw-bold);
  line-height: 1.4;
  color: var(--c-blue);
  text-align: center;
}
#trust .trust-panel-lead {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--c-ink);
  text-align: center;
  margin: 0;
}

/* 上段2カラム／下段3カラム
   subgrid で「ポイント行」「バッジ行」を列間で揃える。
   → trust-pt の文字量が違っても、各列の trust-badges は同じ高さで開始する */
#trust .trust-cols {
  width: 100%;
}
#trust .trust-cols--2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto; /* [ポイント] [バッジ群] */
  column-gap: 32px;
  row-gap: 24px;
}
#trust .trust-cols--3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  column-gap: 32px;
  row-gap: 24px;
}
#trust .trust-col {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: 1 / -1;
}

/* ポイント（アイコン＋見出し＋説明） */
#trust .trust-pt {
  align-self: start; /* subgrid のポイント行内で上詰め（バッジ開始位置を列間で揃える） */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
#trust .trust-pt-icon {
  width: 64px;
  height: 64px;
  margin: 0 0 8px;
  line-height: 0;
}
#trust .trust-pt-icon img {
  width: 100%;
}
#trust .trust-pt-ttl {
  font-size: 20px;
  font-weight: var(--c-fw-bold);
  line-height: 1.6;
  color: var(--c-blue);
  text-align: center;
  margin: 0;
}
#trust .trust-pt-text {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.71;
  color: var(--c-ink);
  text-align: left;
  margin: 0;
}

/* 認証バッジカード */
#trust .trust-badges {
  height: 100%; /* subgrid のバッジ行いっぱいに広げる */
  display: flex;
  flex-direction: column;
  gap: 16px;
}
#trust .trust-badge {
  flex: 1 1 0; /* 同じ列・行内でバッジ高さを均等に揃える */
  background: #fff;
  padding: 16px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
}
#trust .trust-badge-ttl {
  font-size: 20px;
  font-weight: var(--c-fw-bold);
  line-height: 1.6;
  color: var(--c-ink);
  margin: 0;
}
#trust .trust-badge-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0px 16px;
  border: 1px solid var(--c-gray);
  border-radius: 4px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--c-gray);
  background: #fff;
}
#trust .trust-badge-text {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.71;
  color: var(--c-ink);
  margin: 0;
}

@media (max-width: 959px) {
  #trust .trust-cols--3 {
    column-gap: 24px;
  }
  #trust .trust-band {
    font-size: 20px;
  }
}
@media (max-width: 767px) {
  #trust .trust-panel {
    gap: 32px;
  }
  /* 1カラム時は subgrid を解除し、各ポイントとバッジをまとめて縦積み */
  #trust .trust-cols--2,
  #trust .trust-cols--3 {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 480px;
    margin: 0 auto;
  }
  #trust .trust-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  #trust .trust-badges {
    height: auto;
  }
  #trust .trust-badge {
    flex: 0 0 auto;
  }
  #trust .trust-panel-lead {
    text-align: left;
  }
}

/* ----------------------------------------
  組織で守る（6カード）
---------------------------------------- */
#trust .trust-orgcards {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
#trust .trust-orgcard {
  background: #fff;
  border-radius: 10px;
  padding: 16px 32px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}
#trust .trust-orgcard-ttl {
  font-size: 20px;
  font-weight: var(--c-fw-bold);
  line-height: 1.6;
  color: var(--c-blue);
  margin: 0;
}
#trust .trust-orgcard-text {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.71;
  color: var(--c-ink);
  text-align: left;
  margin: 0;
}

@media (max-width: 767px) {
  #trust .trust-orgcards {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
}

/* ----------------------------------------
  POINT2 リード
---------------------------------------- */
#trust .trust-point--p2 .trust-point-inner {
  gap: 40px;
}
#trust .trust-p2-lead {
  width: 100%;
  max-width: 824px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--c-ink);
  text-align: center;
  margin: 0;
}
@media (max-width: 767px) {
  #trust .trust-p2-lead {
    text-align: left;
  }
}

/* AI倫理ポリシー（テキスト左＋画像右） */
#trust .trust-policy {
  width: 100%;
  max-width: 1024px;
  display: flex;
  gap: 32px;
  align-items: center;
}
#trust .trust-policy-txt {
  flex: 1 1 0;
  min-width: 0;
}
#trust .trust-policy-ttl {
  font-size: 24px;
  font-weight: var(--c-fw-bold);
  line-height: 1.4;
  color: var(--c-ink);
  margin: 0 0 16px;
}
#trust .trust-policy-text {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--c-ink);
  margin: 0 0 24px;
}
#trust .trust-policy-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 28px;
  border: 1px solid var(--c-blue);
  border-radius: 8px;
  background: #fff;
  color: var(--c-blue);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  transition: opacity 0.3s ease;
}
#trust .trust-policy-btn:hover {
  opacity: 0.8;
  text-decoration: none;
}
#trust .trust-policy-btn-arrow {
  width: 6px;
  height: 6px;
  border-top: 1.5px solid var(--c-blue);
  border-right: 1.5px solid var(--c-blue);
  transform: rotate(45deg);
}
#trust .trust-policy-img {
  flex: 0 0 479px;
  width: 479px;
  max-width: 479px;
  margin: 0;
  line-height: 0;
}
#trust .trust-policy-img img {
  width: 100%;
  border-radius: 8px 8px 0 0;
}

@media (max-width: 959px) {
  #trust .trust-policy-img {
    flex: 0 0 44%;
    width: 44%;
  }
}
@media (max-width: 767px) {
  #trust .trust-policy {
    flex-direction: column;
    gap: 24px;
  }
  #trust .trust-policy-txt {
    width: 100%;
  }
  #trust .trust-policy-img {
    flex: 0 0 auto;
    width: 100%;
    max-width: 479px;
  }
}

/* 倫理カード（2×2＋全幅） */
#trust .trust-ecards {
  width: 100%;
  max-width: 1024px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
#trust .trust-ecard {
  background: #fff;
  border-radius: 10px;
  padding: 24px 48px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
#trust .trust-ecard--full {
  grid-column: 1 / -1;
  align-items: center;
  text-align: center;
}
#trust .trust-ecard-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
#trust .trust-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 35px;
  padding: 0 16px;
  border-radius: 30px;
  background: #b9d8f7;
  color: var(--c-blue);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
}
#trust .trust-ecard-ttl {
  font-size: 20px;
  font-weight: var(--c-fw-bold);
  line-height: 1.6;
  color: var(--c-blue);
  text-align: center;
  margin: 0;
}
#trust .trust-ecard-text {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--c-ink);
  margin: 0;
}
#trust .trust-ecard--full .trust-ecard-text {
  max-width: 800px;
  text-align: left;
}
#trust .trust-ecard-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
#trust .trust-ecard-list li {
  position: relative;
  padding-left: 16px;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--c-gray-d);
}
#trust .trust-ecard-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.7em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--c-gray);
}

@media (max-width: 767px) {
  #trust .trust-ecards {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
  #trust .trust-ecard {
    padding: 24px 20px;
  }
}

/* ----------------------------------------
  CTA（お問い合わせ・青帯）
---------------------------------------- */
/* CTA（資料請求ボタン＋電話番号のみ・Figma _CTA 準拠） */
#trust .trust-cta {
  width: 100%;
  background: var(--c-blue);
  padding: 80px 16px;
  box-sizing: border-box;
}
#trust .trust-cta-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  text-align: center;
  color: #fff;
}
#trust .trust-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 368px;
  max-width: 100%;
  height: 73px;
  box-sizing: border-box;
  border-radius: 8px;
  background: #fff;
  color: var(--c-blue);
  font-size: 23px;
  font-weight: 700;
  line-height: 1.4;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
  transition: opacity 0.3s ease;
}
#trust .trust-cta-btn:hover {
  opacity: 0.85;
  text-decoration: none;
}
#trust .trust-cta-tel {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  margin: 0;
}
#trust .trust-cta-num {
  font-size: 24px;
  font-weight: 700;
}

@media (max-width: 767px) {
  #trust .trust-cta {
    padding: 56px 16px;
  }
  #trust .trust-cta-btn {
    height: 64px;
    font-size: 20px;
  }
}
