@charset "utf-8";
.ttl-bg {
  background-image:url(../image/contents/training/training_ttl_bg.jpg);
  background-position:center;
  background-repeat:no-repeat;
  background-size:cover;
  height:350px;
  padding-top:70px;
}

#breadcrumb {
  margin-bottom:0;
}

#contents .ttl-bg h2 {
  color:#FFF;
}

.about-info {
  background-color:#FFF;
  border-radius:10px;
  margin:auto auto -170px;
  max-width:1400px;
  padding:45px 55px 40px;
  position:relative;
  width:100%;
  z-index:1;
}

#contents .about-info .about-ttl {
  border:none;
  color:#007BBB;
  font-family:"Noto Serif JP", "游明朝", "Yu Mincho", YuMincho, "ヒラギノ明朝 Pro", "Hiragino Mincho Pro", "メイリオ", " Meiryo", "ＭＳ Ｐ明朝", "MS PMincho", Osaka, serif;
  font-size:40px;
  font-weight:bold;
  letter-spacing:.06em;
  margin-bottom:45px;
  padding:0;
}

/* ========================================
   選べる2つの提供形態
======================================== */

.service-type {
  margin: 50px 0;
}

.service-type h4 {
  position: relative;
  margin: 0 0 25px;
  padding-bottom: 12px;
  color: #17477b;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  letter-spacing: 0.08em;
}

/* ========================================
   2カラム
======================================== */

.service-type-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}


/* ========================================
   各サービスのボックス
======================================== */

.service-type-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(120px, 32%);
  gap: 15px;
  align-items: center;
  box-sizing: border-box;
  min-width: 0;
  min-height: 250px;
  padding: 24px;
  overflow: hidden;
  background: #fff;
  border: 2px solid;
  border-radius: 8px;
}

.service-type-box--blue {
  border-color: #6ba4dc;
  background:
    linear-gradient(
      135deg,
      #fff 0%,
      #fff 65%,
      #f3f8fd 100%
    );
}

.service-type-box--green {
  border-color: #84bea6;
  background:
    linear-gradient(
      135deg,
      #fff 0%,
      #fff 65%,
      #f2faf6 100%
    );
}


/* ========================================
   テキスト部分
======================================== */

.service-type-content {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.service-type-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.service-type-title-icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.service-type-title h5 {
  margin: 0;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.4;
}

.service-type-box--blue .service-type-title h5 {
  color: #1768ad;
}

.service-type-box--green .service-type-title h5 {
  color: #268b64;
}

.service-type-title p {
  margin: 4px 0 0;
  color: #444;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
}


/* ========================================
   項目リスト
======================================== */

.service-type-points {
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-type-points li {
  position: relative;
  margin-bottom: 8px;
  padding-left: 25px;
  color: #333;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}

.service-type-points li:last-child {
  margin-bottom: 0;
}

.service-type-points li::before {
  position: absolute;
  top: 0.15em;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 16px;
  height: 16px;
  color: #fff;
  border-radius: 50%;
  content: "✓";
  font-family: Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

.service-type-box--blue .service-type-points li::before {
  background: #2378bd;
}

.service-type-box--green .service-type-points li::before {
  background: #329573;
}


/* ========================================
   右側イラスト
======================================== */

.service-type-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.service-type-visual img {
  display: block;
  width: 100%;
  max-width: 190px;
  height: auto;
  object-fit: contain;
}

.bg-area {
  background-color:hsl(0, 0%, 95%);
  padding:80px 0;
}

.bg-area.features {
  padding: 520px 0 80px;
}

#contents .care-area .list-box .txt-3box h4 {
  color:#333;
}

.link-btn.anchor.linecare {
  background-color:#469A76;
}

.link-btn.anchor.selfcare {
  background-color:#4A66AF;
}

#contents .care-area h3 {
  background-color:#469A76;
  border:none;
  border-radius:10px;
  color:#FFF;
  margin-bottom:25px;
  padding:20px;
}

#contents .care-area.self h3 {
  background-color:#4A66AF;
}

/* ========================================
   一覧
======================================== */

.training-course {
  margin: 50px 0;
  font-family: "Noto Sans JP", sans-serif;
}

.training-course__heading {
  margin: 0 0 20px;
  padding: 10px 18px;
  color: #fff;
  background: #329575;
  border-radius: 5px;
  font-size: 22px;
  line-height: 1.5;
}

.training-course__heading span {
  display: inline-block;
  margin-left: 8px;
  font-size: 13px;
  font-weight: 500;
}

.training-card-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.training-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 100%;
  padding: 10px 15px 30px;
  overflow: hidden;
  color: #222;
  background: #fff;
  border: 1px solid #ccc;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  font: inherit;
  text-align: left;
  cursor: pointer;
  appearance: none;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.training-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.training-card:focus-visible {
  outline: 3px solid #f39800;
  outline-offset: 3px;
}

.training-card__new {
  position: absolute;
  top: 10px;
  left: 15px;
  z-index: 2;
  color: #fff;
  background-color: #f00;
  font-size: 17px;
  font-weight: 700;
  padding: 5px 10px;
}

.training-card__image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.training-card__info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 11px;
}

.training-card__supervision {
  padding: 5px 10px;
  color: #fff;
  background: #ee8b25;
  font-size: 18px;
}

.training-card__time {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 18px;
  font-weight: 700;
  white-space: nowrap;
}

.training-card__time i {
  color: #222;
  font-size: 15px;
}

.training-modal__clock {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 6px;
}

.training-modal__clock i {
  color: #fff;
  font-size: 25px;
}

.training-card__title {
  display: block;
  margin-top: 12px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.7;
}

.training-card__more {
  display: block;
  margin-top: auto;
  padding-top: 15px;
  color: #27866b;
  font-size: 18px;
  font-weight: 700;
}

.self .training-card__more {
  color: #4A66AF;
}


/* ========================================
   ポップアップ全体
======================================== */

.training-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  box-sizing: border-box;
  padding: 30px;
  overflow-y: auto;
  font-family: "Noto Sans JP", sans-serif;
}

.training-modal.is-open {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.training-modal__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  cursor: pointer;
}

.training-modal__window {
  position: relative;
  z-index: 1;
  width: min(1200px, 100%);
  margin: auto;
  overflow: hidden;
  color: #222;
  background: #f7faf8;
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: trainingModalOpen 0.3s ease;
}

@keyframes trainingModalOpen {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.training-modal__close {
  position: absolute;
  top: 14px;
  right: 16px;
  z-index: 3;
  width: 44px;
  height: 44px;
  padding: 0;
  color: #fff;
  background: rgba(0, 0, 0, 0.25);
  border: 2px solid #fff;
  border-radius: 50%;
  font-family: Arial, sans-serif;
  font-size: 30px;
  line-height: 36px;
  cursor: pointer;
}

.training-modal__close:hover {
  background: rgba(0, 0, 0, 0.45);
}


/* ========================================
   ポップアップ上部
======================================== */

.training-modal__header {
  position: relative;
  display: grid;
  grid-template-columns: 110px 1fr auto;
  align-items: center;
  min-height: 120px;
  padding: 22px 85px 22px 25px;
  color: #fff;
  background: #329575;
}

.training-modal.self .training-modal__header {
  background: #4A66AF;
}

.training-modal__number {
  color: rgba(255, 255, 255, 1);
  font-size: 62px;
  font-weight: 700;
  line-height: 1;
}

.training-modal__heading h2 {
  margin: 0;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.4;
}

.training-modal__heading p {
  margin: 6px 0 0;
  font-size: 18px;
  line-height: 1.5;
}

.training-modal__duration {
  display: flex;
  align-items: baseline;
  white-space: nowrap;
  font-size: 15px;
}

.training-modal__duration strong {
  margin-left: 8px;
  font-size: 30px;
}

.training-modal__clock {
  font-size: 28px;
}


/* ========================================
   ポップアップ詳細
======================================== */

.training-modal__body {
  padding: 15px 40px 35px;
}

.training-detail {
  display: grid;
  grid-template-columns: 145px minmax(0, 1fr) 260px;
  gap: 25px;
  align-items: start;
  padding: 14px 0;
  border-top: 1px solid #6eaf9a;
}

.training-detail:first-child {
  border-top: none;
}

.training-detail__label {
  text-align: center;
}

.training-detail__label img {
  display: block;
  width: 48px;
  height: 48px;
  margin: 0 auto 8px;
  object-fit: contain;
}

.training-detail__label h3 {
  margin: 0;
  font-size: 17px;
}

.training-detail__content {
  font-size: 14px;
  line-height: 1.9;
  text-align: left;
}

.training-detail__content p:last-child {
  margin-bottom: 0;
}

.training-detail__lead {
  padding-bottom: 12px;
  font-size: 16px;
  font-weight: 500;
}


/* 動画 */

.training-detail__movie {
  grid-column: 3;
}

.training-movie {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  overflow: hidden;
  background: #ddd;
  border-radius: 6px;
}

.training-movie iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.training-movie__link {
  display: block;
  margin-top: 10px;
  color: #278f79;
  font-size: 13px;
  text-align: center;
  text-decoration: none;
}

.training-movie__link:hover {
  text-decoration: underline;
}


/* 研修内容 */

.training-check-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.training-check-list li {
  position: relative;
  padding-left: 15px;
}

.training-check-list li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: #111;
  content: "✓";
  font-size: 14px;
  font-weight: 700;
}


/* 到達目標 */

.training-goal-list {
  margin: 0;
  padding-left: 16px;
}

.training-goal-list li {
  margin-bottom: 5px;
}


/* ポップアップ表示中は背景を固定 */

body.is-modal-open {
  overflow: hidden;
}

.bg-area.features .center-link .link-btn {
  background-color:#EA6F15;
  margin:auto;
}

/* view-1140 notePC,Tablet */
@media screen and (max-width: 1140px) {
  .about-info {
    padding:35px 45px 30px;
  }

  .service-type-list {
    grid-template-columns: 1fr;
  }

  .service-type-box {
    grid-template-columns: minmax(0, 1fr) minmax(160px, 30%);
  }

  .service-type-visual img {
    max-width: 210px;
  }
}

@media screen and (max-width: 959px) {
  .about-info {
    padding:30px 35px 25px;
    width:100%;
  }

  #contents .about-info h3 {
    font-size:30px;
    margin-bottom:25px;
  }

    .training-card-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .training-modal {
    padding: 15px;
  }

  .training-modal__header {
    grid-template-columns: 70px 1fr;
    padding: 22px 65px 22px 20px;
  }

  .training-modal__number {
    font-size: 45px;
  }

  .training-modal__duration {
    grid-column: 2;
    margin-top: 8px;
  }

  .training-detail {
    grid-template-columns: 100px 1fr;
  }

  .training-detail__movie {
    grid-column: 2;
    width: min(360px, 100%);
  }
}

/* view-559 Mobile */
@media screen and (max-width: 559px) {
  .ttl-bg {
    height:300px;
  }

  .about-info {
    padding:20px 15px;
  }

  .service-type {
    margin: 35px 0;
  }

  .service-type h4 {
    margin-bottom: 20px;
    font-size: 21px;
  }

  .service-type-list {
    gap: 15px;
  }

  .service-type-box {
    display: block;
    min-height: 0;
    padding: 20px 16px;
  }

  .service-type-title {
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 18px;
  }

  .service-type-title-icon {
    width: 50px;
    height: 50px;
  }

  .service-type-title h5 {
    font-size: 19px;
  }

  .service-type-title p {
    font-size: 12px;
  }

  .service-type-points li {
    padding-left: 24px;
    font-size: 13px;
  }

  .service-type-visual {
    width: 55%;
    margin: 20px 0 0 auto;
  }

  .service-type-visual img {
    max-width: 180px;
  }

  .training-card-list {
    grid-template-columns: 1fr;
  }

  .training-modal {
    padding: 8px;
  }

  .training-modal__window {
    border-radius: 10px;
  }

  .training-modal__header {
    display: block;
    padding: 25px 55px 20px 18px;
  }

  .training-modal__number {
    margin-bottom: 8px;
    font-size: 38px;
  }

  .training-modal__heading h2 {
    font-size: 21px;
  }

  .training-modal__duration {
    margin-top: 10px;
  }

  .training-modal__duration strong {
    font-size: 22px;
  }

  .training-modal__body {
    padding: 5px 18px 25px;
  }

  .training-detail {
    display: block;
    padding: 25px 0;
  }

  .training-detail__label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    text-align: left;
  }

  .training-detail__label img {
    width: 40px;
    height: 40px;
    margin: 0;
  }

  .training-detail__movie {
    width: 100%;
    margin-top: 20px;
  }
}