/* 研修詳細ページ共通スタイル（旧 Trainings/_internal 12 ブロックの MUI sx を CSS 化） */
/* AXセクション・CTAバナー②のスタイルは corporate.css を併読する */

/* ---- セクション見出し（左寄せ + 下線アクセント） ---- */
.tr-heading {
  color: #1b1139;
  font-size: 18px;
  margin-bottom: 8px;
  text-align: left;
  font-weight: 600;
  border-bottom: solid 3px #f0f4f4;
  position: relative;
}

.tr-heading::after {
  position: absolute;
  content: " ";
  display: block;
  border-bottom: solid 3px #5fc8cd;
  bottom: -3px;
  width: 20%;
}

/* 中央寄せ + 中央下線の見出し（Problem / Advantages） */
.tr-heading-center {
  color: #1b1139;
  font-size: 18px;
  margin-bottom: 8px;
  text-align: center;
  font-weight: 600;
}

.tr-heading-center .underline {
  border-bottom: 3px solid #5fc8cd;
  display: block;
  padding-bottom: 10px;
  width: 120px;
  margin: 0 auto;
}

@media (min-width: 900px) {
  .tr-heading, .tr-heading-center { font-size: 22px; }
  .tr-heading-center { margin-bottom: 24px; }
}

.tr-section {
  padding: 20px;
  max-width: 950px;
  margin: 30px auto 0;
}

@media (min-width: 900px) {
  .tr-section { padding: 50px; }
}

/* ---- ファーストビュー（旧 FirstView） ---- */
.tr-fv {
  height: 60vh;
  position: relative;
  margin-bottom: 10px;
  background: no-repeat scroll center center / cover;
  overflow: hidden;
}

.tr-fv__card {
  width: 95%;
  position: absolute;
  max-width: 950px;
  margin: 0 auto;
  right: 0;
  left: 0;
  text-align: center;
  transform: translate(0%, -50%);
  top: 50%;
  background-color: rgba(255, 255, 255, 0.75);
  padding: 10px;
}

.tr-fv__title {
  color: #1b1139;
  font-size: 25px;
  font-weight: bold;
  text-align: center;
  padding-bottom: 5px;
  margin: 20px 0 30px;
}

.tr-fv__title .underline {
  border-bottom: 3px solid #33a9ae;
  display: block;
  padding-bottom: 10px;
  width: 120px;
  margin: 0 auto;
}

.tr-fv__desc {
  margin: 0 auto 20px;
  max-width: 550px;
  font-size: 14px;
  text-align: center;
}

.tr-fv__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  width: 80%;
  margin-bottom: 20px;
  border-radius: var(--radius);
  color: #fff;
  font-weight: 600;
  background-color: #ff5757;
  box-shadow: var(--shadow-1);
}

.tr-fv__button:hover { filter: brightness(90%); }

.tr-fv__sub {
  display: none;
  margin: 30px auto;
  max-width: 550px;
  font-size: 14px;
  text-align: center;
}

@media (min-width: 600px) {
  .tr-fv__button { padding: 16px; width: 250px; }
}

@media (min-width: 900px) {
  .tr-fv__card { top: 64%; }
  .tr-fv__title { font-size: 30px; margin-top: 30px; }
  .tr-fv__button { margin-bottom: 10px; }
  .tr-fv__sub { display: block; }
}

/* ---- パンくず（AX ページのみ） ---- */
.tr-breadcrumbs {
  max-width: 950px;
  margin: 10px auto 0;
  padding: 0 20px;
  font-size: 13px;
  color: var(--color-grey-400);
}

.tr-breadcrumbs a { color: #33a9ae; }
.tr-breadcrumbs a:hover { text-decoration: underline; }
.tr-breadcrumbs .sep { margin: 0 6px; }

/* ---- 本研修の対象（旧 Target） ---- */
.tr-target { margin-top: 30px; }

.tr-target__title {
  font-size: 20px;
  text-align: center;
  margin-bottom: 10px;
}

.tr-target__tags { text-align: center; }

.tr-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid currentColor;
  border-radius: 16px;
  padding: 1px 12px;
  margin: 2px;
  background: #fff;
  opacity: 0.9;
}

.tr-target__cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.tr-target__card {
  margin: 8px;
  width: 300px;
  border-radius: 21px;
  background: #fff;
  box-shadow: var(--shadow-1);
  text-align: center;
  padding: 15px;
}

.tr-target__card img { width: 45%; }
.tr-target__card img.slim { width: 35%; padding-top: 25px; }

.tr-target__card p {
  font-size: 12px;
  color: #33a9ae;
  font-weight: 600;
  padding-top: 8px;
}

@media (min-width: 900px) {
  .tr-target__card img { width: 60%; }
  .tr-target__card img.slim { width: 45%; }
}

/* ---- こんなお悩みありませんか？（旧 Problem） ---- */
.tr-problem {
  background: #d8f2ed;
  padding: 20px;
  margin-top: 50px;
}

.tr-problem__inner {
  display: block;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.tr-problem__inner > img {
  max-width: 400px;
  width: 80%;
}

.tr-problem__list {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  padding: 8px 0;
  text-align: left;
}

.tr-problem__list li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 8px;
  border-radius: 21px;
  font-size: 12px;
  font-weight: 600;
  margin: 3px;
  box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.1);
  background: #fff;
}

.tr-problem__list li svg {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: #ffcb05;
}

.tr-note {
  font-size: 12px;
  text-align: center;
  display: block;
  line-height: 1.7;
  max-width: 800px;
  margin: 20px auto;
}

@media (min-width: 900px) {
  .tr-problem { padding: 50px; }
  .tr-problem__inner { display: flex; }
  .tr-problem__inner > img { margin-right: 30px; }
  .tr-problem__list { margin: 0; }
  .tr-problem__list li { font-size: 14px; }
  .tr-note { font-size: 14px; }
}

/* ---- 導入するメリット（旧 Advantages） ---- */
.tr-advantages {
  padding: 20px;
  margin-top: 0;
}

.tr-advantages__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px 24px;
  max-width: 900px;
  margin: 40px auto 0;
}

.tr-advantages__card {
  text-align: center;
  padding: 15px;
  border-radius: 21px;
  background: #fff;
  box-shadow: var(--shadow-1);
}

.tr-advantages__card .num {
  font-size: 3rem;
  margin-top: -3rem;
  color: #5fc8cd;
}

.tr-advantages__card .text {
  padding: 5px;
  font-size: 12px;
  font-weight: 600;
}

.tr-advantages__skills {
  display: block;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: 50px;
}

.tr-advantages__skills > img { width: 100%; }

.tr-advantages__skills ul {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  text-align: left;
}

.tr-advantages__skills li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 8px;
  border-radius: 21px;
  font-size: 12px;
  font-weight: 600;
  margin: 3px;
}

.tr-advantages__skills li svg {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: #5fc8cd;
}

@media (min-width: 900px) {
  .tr-advantages { padding: 50px; margin-top: 20px; }
  .tr-advantages__grid { grid-template-columns: 1fr 1fr; }
  .tr-advantages__card { min-height: 130px; }
  .tr-advantages__card .text { padding: 16px; font-size: 14px; }
  .tr-advantages__skills { display: flex; }
  .tr-advantages__skills > img { width: 400px; margin-right: 30px; }
  .tr-advantages__skills ul { margin: 0; }
  .tr-advantages__skills li { font-size: 14px; }
}

/* ---- 研修詳細テーブル（旧 Detail） ---- */
.tr-detail__lead { padding: 5px 0 15px; }

.tr-table-wrap {
  background: #fff;
  border-radius: 4px;
  box-shadow: var(--shadow-1);
  overflow-x: auto;
}

.tr-table {
  width: 100%;
  border-collapse: collapse;
}

.tr-table th,
.tr-table td {
  padding: 16px;
  text-align: left;
  border-bottom: 1px solid rgba(224, 224, 224, 1);
  font-size: 0.875rem;
  vertical-align: top;
}

.tr-table tr:last-child th,
.tr-table tr:last-child td { border-bottom: 0; }

.tr-table th { font-weight: bold; }
.tr-table--detail th { width: 40%; }

.tr-table .note {
  font-size: 12px;
  color: #ff3131;
}

/* ---- 学習カリキュラム（旧 Lesson） ---- */
.tr-lesson__note {
  padding: 5px 0 15px;
  font-size: 14px;
}

.tr-table--lesson thead th { font-weight: bold; }
.tr-table--lesson thead th:nth-child(1) { width: 35%; min-width: 150px; }
.tr-table--lesson thead th:nth-child(2) { width: 5%; min-width: 50px; }

/* モバイルではカード状に積む */
@media (max-width: 599px) {
  .tr-table--lesson thead { display: none; }
  .tr-table--lesson tr {
    display: block;
    border: 1px solid #e0e0e0;
    padding: 8px 16px;
    background: #fff;
  }
  .tr-table--lesson td {
    display: flex;
    gap: 16px;
    border-bottom: 0;
    padding: 8px 0;
  }
  .tr-table--lesson td::before {
    content: attr(data-label);
    font-weight: bold;
    min-width: 80px;
    flex-shrink: 0;
  }
}

@media (min-width: 900px) {
  .tr-lesson__note { font-size: 16px; }
}

/* ---- 導入手順（旧 Introduction） ---- */
.tr-introduction {
  background: #d8f2ed;
  padding: 20px;
}

.tr-introduction__inner {
  max-width: 950px;
  margin: 0 auto;
}

.tr-introduction__inner h2 { text-align: center; border-bottom: none; }
.tr-introduction__inner h2::after { display: none; }

.tr-introduction__image { text-align: center; }
.tr-introduction__image img { width: 100%; }

.tr-introduction .tr-note { max-width: 600px; }

.tr-introduction__button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  width: 70%;
  margin: 0 auto 20px;
  border-radius: var(--radius);
  color: #fff;
  font-weight: 600;
  background-color: #ff5757;
  box-shadow: var(--shadow-1);
  text-align: center;
}

.tr-introduction__button:hover { filter: brightness(90%); }

@media (min-width: 900px) {
  .tr-introduction { padding: 50px; }
  .tr-introduction__image img { width: 70%; }
  .tr-introduction__button { width: 60%; padding: 16px; margin-bottom: 10px; }
}

/* ---- 受講者の声（旧 Voice） ---- */
.tr-voice__lead { padding: 5px 0 15px; }

.tr-voice__card {
  padding: 16px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin: 15px 0;
  background: #fff;
}

.tr-voice__card h3 { font-size: 1.3125rem; font-weight: 500; }

.tr-voice__bars { margin: 16px; }
.tr-voice__bar-label { margin-bottom: 8px; font-size: 1rem; }

.tr-voice__bar-track {
  height: 20px;
  border-radius: 10px;
  background-color: #e0e0e0;
  overflow: hidden;
}

.tr-voice__bar-fill {
  height: 100%;
  background-color: var(--color-primary);
}

.tr-voice__bar-value {
  text-align: right;
  font-size: 0.875rem;
}

.tr-voice__card h4 { font-size: 1.125rem; font-weight: 500; margin-bottom: 8px; }

.tr-voice__items li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 8px 16px;
}

.tr-voice__items li svg {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: var(--color-grey-400);
}

/* ---- FAQ（旧 Faq） ---- */
.tr-faq {
  padding: 32px 0;
  background-color: #f7f7f7;
}

.tr-faq__inner {
  max-width: 950px;
  margin: 0 auto;
}

.tr-faq__heading {
  text-align: center;
  margin-bottom: 32px;
}

.tr-faq__heading .qa-mark {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.tr-faq__heading .qa-mark .q { font-size: 3em; color: #0e88a7; }
.tr-faq__heading .qa-mark .amp { font-size: 2em; font-weight: normal; }
.tr-faq__heading .qa-mark .a { font-size: 3em; color: #fd495d; }

.tr-faq__heading h2 { font-weight: bold; font-size: 1.5rem; }

.tr-faq__card {
  background-color: #fff;
  padding: 24px;
  border-radius: 8px;
  margin: 0 24px;
}

.tr-faq__item {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 15px;
}

.tr-faq__item:last-child { margin-bottom: 0; }

.tr-faq__q {
  display: flex;
  align-items: flex-start;
  padding: 16px 16px 0;
  margin-bottom: 16px;
}

.tr-faq__q .mark { color: #0e88a7; font-weight: bold; margin-right: 8px; }
.tr-faq__q .txt { color: #0e88a7; font-weight: bold; margin-left: 8px; }

.tr-faq__a {
  display: flex;
  align-items: flex-start;
  background-color: #f9f9f9;
  border-top: dashed 1px #ccc;
  padding: 16px 16px 24px;
}

.tr-faq__a .mark { color: #fd495d; font-weight: bold; margin-right: 8px; }
.tr-faq__a .txt { margin-left: 8px; }

/* ---- DXリテラシー標準バナー（旧 DXStandardBanner） ---- */
.tr-dx-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  background-color: #e0f7fa;
  border-left: 6px solid #00acc1;
  padding: 16px;
  border-radius: 8px;
  max-width: 950px;
  margin: 10px;
}

.tr-dx-banner svg {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  color: #007c91;
}

.tr-dx-banner p {
  font-weight: bold;
  color: #007c91;
  font-size: 0.875rem;
  line-height: 1.5;
}

@media (min-width: 900px) {
  .tr-dx-banner { margin: 0 auto; }
  .tr-dx-banner p { font-size: 1rem; }
}

/* ---- About ブロック共通（AboutDx / AboutChatgpt / AboutCertificationExams） ---- */
.tr-about__lead { padding: 5px 0; }

.tr-about__pill {
  padding: 5px 15px;
  border-radius: 21px;
  font-size: 14px;
  font-weight: 600;
  margin: 3px;
  box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.1);
  background: #fff;
  display: inline-block;
}

.tr-about__pill-note { padding: 10px 0; }

.tr-about__points {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.tr-about__points > div {
  margin: 8px;
  width: 400px;
  border-radius: 21px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-1);
}

.tr-about__points img { width: 100%; display: block; }

.tr-about__em {
  padding: 5px 0;
  font-size: 14px;
  font-weight: 600;
}

.tr-about__em--center { color: #5fc8cd; text-align: center; }

.tr-about__full-img { width: 100%; }

@media (min-width: 900px) {
  .tr-about__pill { font-size: 16px; }
  .tr-about__em { font-size: 18px; }
}

/* AboutCertificationExams 専用 */
.tr-cert__badge-row {
  display: block;
  text-align: center;
  align-items: center;
}

.tr-cert__badge-row img { height: 200px; width: auto; }
.tr-cert__badge-row p { padding: 15px; font-size: 12px; text-align: left; }

.tr-cert__sub {
  font-weight: bold;
  font-size: 18px;
  margin: 16px 0;
}

.tr-cert__reason {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
  margin-bottom: 16px;
}

.tr-cert__reason .heading {
  color: #32a9ad;
  font-weight: bold;
  font-size: 16px;
}

.tr-cert__reason .photo {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  border-radius: 4px;
  box-shadow: var(--shadow-1);
  margin: 8px 0;
}

.tr-cert__reason .caption { font-size: 14px; margin: 0 15px; }
.tr-cert__reason .list-title { font-size: 16px; font-weight: bold; }

.tr-cert__reason ul { font-size: 14px; }

.tr-cert__reason ul li {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  padding: 4px 0;
}

.tr-cert__reason ul li svg {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: #32a9ad;
}

@media (min-width: 900px) {
  .tr-cert__badge-row { display: flex; text-align: left; }
  .tr-cert__badge-row img { height: 350px; padding: 30px; }
  .tr-cert__badge-row p { font-size: 14px; }
  .tr-cert__reason { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
 * 資格研修ページ（curriculum/trainings/certification-exams/）専用
 * ============================================================ */

.tr-ce-hero {
  width: 100%;
  overflow: hidden;
}

.tr-ce-hero__bg {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.tr-ce-hero__top {
  display: block;
  margin: -11px auto 0;
  max-width: 950px;
  width: 90%;
  position: relative;
  z-index: 2;
}

@media (min-width: 900px) {
  .tr-ce-hero__top { margin-top: -50px; width: 60%; }
}

.tr-ce-point {
  padding: 32px 0 16px;
  margin-top: -50px;
}

@media (min-width: 900px) {
  .tr-ce-point { margin-top: -80px; }
}

.tr-ce-point__badges {
  display: flex;
  flex-wrap: wrap;
  max-width: 1080px;
  margin: 0 auto;
  justify-content: center;
  align-items: center;
}

.tr-ce-point__badges img { width: 50%; height: auto; display: block; }

@media (min-width: 900px) {
  .tr-ce-point__badges img { width: 20%; height: 235px; }
}

.tr-ce-point__heading {
  font-weight: bold;
  text-align: center;
  margin: 16px auto;
  font-size: 16px;
  max-width: 1080px;
}

.tr-ce-point__heading .accent { color: #0eaaad; }

@media (min-width: 900px) {
  .tr-ce-point__heading { font-size: 28px; margin: 20px auto; }
}

.tr-ce-point__steps {
  display: flex;
  flex-wrap: wrap;
  max-width: 1080px;
  margin: 0 auto;
  justify-content: center;
  align-items: center;
}

.tr-ce-point__steps img { width: 80%; height: auto; display: block; margin-bottom: 10px; }

@media (min-width: 900px) {
  .tr-ce-point__steps img { width: 30%; height: 235px; }
}

.tr-ce-training {
  padding: 0 16px;
  margin: 32px auto;
  max-width: 1080px;
}

@media (min-width: 900px) {
  .tr-ce-training { margin: 64px auto; }
}

.tr-ce-training__heading {
  display: block;
  font-size: 21px;
  margin-bottom: 12px;
}

@media (min-width: 900px) {
  .tr-ce-training__heading { font-size: 30px; }
}

.tr-ce-training__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 0;
}

.tr-ce-item {
  display: flex;
  width: 100%;
  border-bottom: thin solid rgba(0, 0, 0, 0.12);
  padding-bottom: 10px;
  text-decoration: none;
  color: inherit;
}

.tr-ce-item__thumb {
  position: relative;
  width: 25%;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.tr-ce-item__thumb img { width: 95%; object-fit: cover; }

@media (min-width: 600px) {
  .tr-ce-item__thumb { width: 20%; }
}

.tr-ce-item__body { width: 100%; margin-top: 10px; }

@media (min-width: 900px) {
  .tr-ce-item__body { margin-top: 0; }
}

.tr-ce-item__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tr-ce-item__title { color: #33a9ae; font-weight: 600; font-size: 20px; }

@media (min-width: 900px) {
  .tr-ce-item__title { font-size: 28px; }
}

.tr-ce-item__more {
  display: none;
  align-items: center;
  font-size: 14px;
  color: #33a9ae;
  min-width: 100px;
  font-weight: 600;
}

.tr-ce-item__more svg { width: 20px; height: 20px; }

@media (min-width: 900px) {
  .tr-ce-item__more { display: flex; }
}

.tr-ce-item__target {
  font-size: 8px;
  font-weight: 600;
  border: 1px solid;
  border-radius: 22px;
  padding: 2px 4px;
  margin-right: 4px;
}

@media (min-width: 900px) {
  .tr-ce-item__target { font-size: 12px; }
}

.tr-ce-item__target-text { font-size: 12px; font-weight: 600; padding: 2px 4px; }

@media (min-width: 900px) {
  .tr-ce-item__target-text { font-size: 14px; }
}

.tr-ce-item__desc {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #333;
  font-size: 12px;
  font-weight: 400;
  padding: 3px;
  margin: 0;
}

@media (min-width: 600px) {
  .tr-ce-item__desc { font-size: 14px; }
}

.tr-ce-training__note {
  font-size: 13px;
  text-align: center;
  margin: 10px auto;
}

@media (min-width: 600px) {
  .tr-ce-training__note { font-size: 18px; }
}

.tr-ce-training__cta {
  display: flex;
  text-align: center;
  max-width: 510px;
  width: 80%;
  font-weight: bold;
  font-size: 13px;
  border: 2px solid #ff5757;
  border-radius: var(--radius);
  background: #ff5757;
  color: #fff;
  transition: 0.5s;
  margin: 20px auto;
  padding: 10px 16px;
  justify-content: center;
}

.tr-ce-training__cta:hover { color: #ff5757; background: #fff; }

@media (min-width: 600px) {
  .tr-ce-training__cta { font-size: 18px; }
}

.tr-ce-step {
  padding: 32px 0;
  background-color: #ffffff;
}

@media (min-width: 900px) {
  .tr-ce-step { padding: 64px 0; }
}

.tr-ce-step__lead {
  text-align: center;
  margin-bottom: 8px;
  font-size: 16px;
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 900px) {
  .tr-ce-step__lead { font-size: 24px; margin-bottom: 10px; }
}

.tr-ce-step__heading {
  font-weight: bold;
  text-align: center;
  margin-bottom: 16px;
  font-size: 28.8px;
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
}

.tr-ce-step__heading .accent { color: #0eaaad; }

@media (min-width: 900px) {
  .tr-ce-step__heading { font-size: 32px; margin-bottom: 50px; }
}

.tr-ce-step__flow {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 16px;
  max-width: 1080px;
  margin: 0 auto;
}

@media (min-width: 900px) {
  .tr-ce-step__flow { flex-direction: row; gap: 0; }
}

.tr-ce-step__item {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.tr-ce-step__item img.photo { width: 80%; height: auto; display: block; }

@media (min-width: 900px) {
  .tr-ce-step__item img.photo { width: 100%; height: 300px; }
}

.tr-ce-step__item img.arrow {
  position: relative;
  top: -25px;
  left: -24px;
  width: 50px;
  display: none;
}

@media (min-width: 900px) {
  .tr-ce-step__item img.arrow { display: block; }
}
