/*-- ヒーローセクション --*/
.training-hero{
  background-image: url(/img/hero-training.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/*-- 専門領域カード --*/
.specialized-contentsBox {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}

.specialized-contentsBlock {
  background: #fff;
  overflow: hidden;
  width: 600px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.specialized-contentsBlock:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
  .specialized-contentsBlock{
    width: calc(100% - 10vw);
  }
}

.specialized-contentsBlock-title {
  font-size: 1.6rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 2rem;
}

.specialized-contntsBlock-imageWrap{
  position: relative;
  overflow: hidden;
}

.specialized-contentsBlock-imageWrap img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.specialized-contentsBlock:hover .specialized-contentsBlock-imageWrap img {
  transform: scale(1.05);
}

.specialized-contentsBlock-imageWrap .overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.15);
  transition: background 0.3s ease;
}

.specialized-contentsBlock:hover .overlay {
  background: rgba(0,0,0,0.25);
}

.specialized-contentsBlock-body {
  padding: 2em 4rem;
  text-align: center;
}

@media (max-width: 768px) {
  .specialized-contentsBlock-body {
    padding: 2em 2rem;
  }
}

.specialized-contentsBlock-title{
  font-size: 1.6rem;
  color: #004080;
}

.specialized-contentsBlock-text {
  font-size: 1.2rem;
  text-align: left;
  line-height: 1.7;
  margin-bottom: 2rem;
}
/*-- オプション研修 --*/
.optionalTraining-contentsBox {
  max-width: 720px;
  margin: 0rem auto 0;
  text-align: center;
}

.optionalTraining .cta-button {
  display: inline-block;
}

/* スライダー本体 */
.optionalTraining-contentsBlock-imageWrap {

}
.slider .slide {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}
.slider .slide img {
  width: 100%;
  height: auto;
  display: block;
}

/* キャプション（タイトル） */
.slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0,0,0,0.5);
  color: #fff;
  font-size: 1rem;
  padding: 0.6rem 1rem;
  box-sizing: border-box;
}

.slick-dots {
  display: flex !important;
  justify-content: center;
  padding: 0;
  margin-top: 16px;
  list-style: none;
}

.slick-dots li button {
  font-size: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ccc;
  border: none;
  margin: 0 4px;
  margin-bottom: 4rem;
}

.slick-dots li.slick-active button {
  background: #005BAC;
}

.optionalTraining-contentsBox-text {
  font-size: 1.4rem;
  line-height: 1.7;
  margin-bottom: 4rem;
}

@media (max-width: 768px) {
  .optionalTraining-contentsBox-text {
    text-align: left;
  }
}

/*--- 募集要項セクション ---*/
.zoom-contentsBox{
  text-align: center;
}

@media (max-width: 768px) {
  .zoom-contentsBox{
  text-align: left;
  }
}