/*トップページ_ヒーローセクション
----------------------------------------------------------------------*/
.pageTop {
  position: relative;
  top: 0;
  width: 100%;
  height: 100vh;
}

.pageTop-inner {
  position: relative;
  width: 100%;
  margin: auto auto;
  text-align: center;
  background-color: #999999;
}

.pageTop-catchphrase {
  position: absolute;
  width: 100%;
  height: 300px;
  margin-top: 38vh;
  background-image: url(https://aih-rehabilitation-recruit.com/img/%E3%82%AD%E3%83%A3%E3%83%AA%E3%82%A2%E3%82%92%E5%89%B5%E9%80%A0.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 50%;
  z-index: 5;
  animation: fadeUp 2.5s ease-out both;
}

.pageTop-textArea {
  position: absolute;
  width: 100%;
  margin-top: 70vh;
  z-index: 5;
  animation: fadeInText 3.5s ease-out both;
  animation-delay: 1.2s;
}

.pageTop-textArea p {
  font-family: 'Noto Serif JP', 'Sawarabi Mincho', "ヒラギノ明朝", "游明朝体", serif;
  font-size: 1.0vw;
  font-weight: 100;
  color: #fff;
}

.pageTop-imageArea{
  position: relative;
  top: 0;
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.pageTop-imageBox1,
.pageTop-imageBox2,
.pageTop-imageBox3{
  position: relative;
  top: 0;
  width: 100%;
  height: auto;
  margin: auto;
}

.pageTop-imageBox1{
  width: 100%;
  height: 100vh;
  background-image: url(https://aih-rehabilitation-recruit.com/img/pageTop-image01.jpg);
  background-position: 50% 60%;
  background-repeat: no-repeat;
  background-size: cover;
}

.pageTop-imageBox2{
  width: 100%;
  height: 100vh;
  background-image: url(https://aih-rehabilitation-recruit.com/img/pageTop-image02.jpg);
  background-position: 60% 50%;
  background-repeat: no-repeat;
  background-size: cover;
}

.pageTop-imageBox3{
  width: 100%;
  height: 100vh;
  background-image: url(https://aih-rehabilitation-recruit.com/img/pageTop-image03.jpg);
  background-position: 50% 80%;
  background-repeat: no-repeat;
  background-size: cover;
}

.pageTop-coverImage{
  width: 100%;
  height: 100%;
  background-color: #26115e4d;
}

.hero-App-buttons {
  position: relative;
  width: 100%;
  margin-top: -160px;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  z-index: 1000;
  animation: floatIn 3s ease-out both;
  animation-delay: 2.2s;
}

.hero-cta-button {
  font-family: 'Noto Serif JP', serif;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1.5px solid #fff;
  border-radius: 9999px;
  padding: 12px 32px;
  width: 220px;
  text-align: center;
  text-decoration: none;
  backdrop-filter: blur(4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.hero-cta-button:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  color: #fff;
}

@media (max-width: 1100px) {
  .pageTop-catchphrase {
    background-size: 80%;
  }
}
@media (max-width: 700px) {
  .pageTop-catchphrase {
    margin-top: 22vh;
    background-size: 100%;
  }
}

@media (max-width: 768px) {
  .pageTop-inner{
    height: 100%;
  }
  .pageTop-textArea{
    margin-top: 56vh;
  }
  .pageTop-textArea p{
    font-size: 3vw;
  }
  .pageTop-imageArea{
    top: 40px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .pageTop-imageBox1,
  .pageTop-imageBox2,
  .pageTop-imageBox3{
   height: 33.33vh;
  }

  .pageTop-imageBox1{
   background-position: 50% 20%;
  }

  .pageTop-imageBox2{
   background-position: 60% 20%;
  }

  .pageTop-imageBox3{
   background-position: 50% 60%;
  }

  .hero-App-buttons {
    position: relative;
    width: 100%;
    margin-top: -220px;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 16px;
    z-index: 1000;
    animation: floatIn 3s ease-out both;
    animation-delay: 2.2s;
  }

  .hero-cta-button {
    font-size: 13px;
    padding: 10px 32px;
    min-width: 240px;
  }
}


/*トップページ_メインコンテンツ
---------------------------------------------------------------------*/
/* 1. グリッドレイアウト */
.highlights-contentsBox .highlights-contentsBlock{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* 最小250px、余裕があれば等分 */
  gap: 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

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

/* 2. カードベース */
.highlights-contentsCard{
  background-color: #ffffff;
  border-radius: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* ホバーで浮き上がり */
.highlights-contentsCard:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* 3. アイコン */
.highlights-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 12rem;
  height: 12rem;
  border-radius: 9999px;
  margin-bottom: 1rem;
}

/* SVGアイコンは幅・高さ100%で収める */
.highlights-icon img {
  width: 12rem;
  height: 12rem;
}

/* 4. タイポグラフィ */
.highlights-item-title {
  font-size: 1.6rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
}

.highlights-item-desc {
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
  color: #444;
}

/*--- 研修領域紹介セクション ---*/
.fields-contentsBox {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.fields-contentsBlock {
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  color: inherit;
}

.fields-contentsBlock:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.fields-contentsBlock-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.fields-contentsBlock:hover .fields-contentsBlock-image {
  transform: scale(1.05);
}

.fields-contentsBlock-text {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6), rgba(0,0,0,0));
  color: white;
  font-weight: 100;
  font-size: 1.4rem;
  padding: 1rem;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}


/*--- 募集要項セクション ---*/
.recruit-contentsBox{
  text-align: center;
  margin-bottom: 4rem;
}

@media (max-width: 768px) {
  .recruit-contentsBox{
  text-align: left;
  margin-bottom: 4rem;
  }
}

/*--- よくある質問セクション ---*/
.faq-contentsBox {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.faq-contentsBlock {
  background-color: white;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  cursor: pointer;
}

.faq-contentsBlock:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.faq-question {
  color: #333;
  font-weight: 600;
  font-size: 1.4rem;
  position: relative;
}

.faq-question::after {
  content: "＋";
  position: absolute;
  right: 0;
  transition: transform 0.3s ease;
}

details[open] .faq-question::after {
  content: "－";
}

.faq-answer {
  margin-top: 1rem;
  line-height: 1.6;
  color: #444;
}

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

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