/*-- 制度の概要と目的 --*/
.overview-hero{
  background-image: url(/img/hero-overview.jpg);
  background-size: cover;
  background-position: 80% 50%;
  background-repeat: no-repeat;
}

/*-- メインコンテンツ --*/
/*-- about --*/
.about-inner{
  max-width: 600px;
}

.about-contentsBox{
  margin-bottom: 4rem;
}

.about-contentsBox-title{
  font-size: 2.4rem;
}

@media (max-width: 768px) {
  .about-contentsBox-title{
    font-size: 4vw;
  }
}

.about-contentsBox-text li{
  margin-bottom: 2rem;
}

/*-- background --*/
.background-contentsBlock{
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  background-color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  padding: 4rem 4rem;
}

@media (max-width: 768px) {
  .background-contentsBlock{
    padding: 4rem 2rem;
  }
}

.background-contentsBlock li {
  position: relative;
  padding-left: 1.5em;
  margin-bottom: 1em;
}

.background li::before {
  content: "●";
  position: absolute;
  left: 0;
  color: #2a6f5b;
  font-size: 0.7em;
  top: 0.5em;
}

/*-- candidates --*/
.candidates-contentsBlock{
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  background-color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  padding: 4rem 4rem;
}

@media (max-width: 768px) {
  .candidates-contentsBlock{
    padding: 4rem 2rem;
  }
}

.candidates-contentsBlock li {
  position: relative;
  padding-left: 1.5em;
  margin-bottom: 1em;
}

.candidates-contentsBlock li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #2a6f5b;
  font-size: 0.9em;
  top: 0.3em;
}

/*-- features --*/
.features-contentsBox{
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}

.features-contentsBlock{
  background: #fff;
  /*border-radius: 12px;*/
  overflow: hidden;
  width: 300px;
  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;
}

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


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

.features-contentsBlock-imageWrap {
  position: relative;
  overflow: hidden;
}

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

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

.features-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;
}

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

.features-contentsBlock-body {
  padding: 1em;
  text-align: center;
}

.features-contentsBlock-title {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 0.5em;
  color: #2a6f5b;
}

.features-contentsBlock-text{
  font-size: 1.0rem;
  color: #666;
}

/*-- structure --*/
.structure-contentsBlock{
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  background-color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  padding: 4rem 4rem;
}

@media (max-width: 768px) {
  .structure-contentsBlock{
    padding: 4rem 2rem;
  }
}

.structure-contentsBlock li {
  position: relative;
  padding-left: 1.5em;
  margin-bottom: 1em;
}

.structure-contentsBlock li::before {
  content: "●";
  position: absolute;
  left: 0;
  color: #2a6f5b;
  font-size: 0.7em;
  top: 0.5em;
}


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

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