.htu-en-wrap {
  width: 100%;
  min-height: 100vh;
  background: #0c8156;
  padding: 50px 0;
}

.htu-en-wrap h1 {
  font-family: "Plus Jakarta Sans";
  font-size: 32px;
  letter-spacing: .01em;
  text-align: center;
  /* margin: 0 0 30px; */
  margin-bottom: 50px;
}

.htu-en-inner {
  width: 90%;
  max-width: 300px;
  margin: 0 auto;
}

.htu-en_block {
  width: 100%;
  position: relative;
  /* padding: 30px 0 50px; */
  /* padding: 50px 0; */
  padding: 0 0 20px;
  cursor: pointer;
}

/* .htu-en_block:not(:last-of-type) {
  border-bottom: 1px solid #000;
} */

.htu-en_block h2 {
  font-family: "Plus Jakarta Sans";
  font-size: 18px;
  letter-spacing: .01em;
  font-weight: 700;
  margin: 0 0 15px;
}

.htu-en_block img {
  width: 100%;
  display: block;
  margin: 0 0 10px;
}

.htu-en_block::after {
  content: '';
  position: absolute;
  bottom: 20px;
  left: 50%;
  width: 10px;
  height: 10px;
  border-bottom: 3px solid #000;
  border-right: 3px solid #000;
  transform: translateX(-50%) rotate(45deg);
  transition: transform 0.4s ease-in-out;
  display: none;
}

.htu-en_block.is-open::after {
  transform: translateX(-50%) rotate(-135deg);
}

.htu-en_contents {
  max-height: 5.4em;
  overflow: hidden;
  transition: max-height 0.4s ease-in-out;
  -webkit-mask-image: linear-gradient(to bottom, black 66%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 66%, transparent 100%);
}

.htu-en_block.is-open .htu-en_contents {
  max-height: 10000px; /* ▼▼▼ 変更点：十分な高さを設定 ▼▼▼ */
  -webkit-mask-image: none;
  mask-image: none;
}

.htu-en_contents > p {
  font-family: "Plus Jakarta Sans";
  letter-spacing: .02em;
  /* font-weight: 700; */
  line-height: 1.8;
  margin: 0 0 20px;
}

.htu-en_content {
  /* margin-top: 15px; */
  padding: 15px 0;
  border-bottom: 1px solid #000;
}

.htu-en_content h3 {
  font-family: "Plus Jakarta Sans";
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .01em;
  margin: 0;
  padding-right: 20px;
  padding-bottom: 5px;
  position: relative;
  cursor: pointer;
}

.htu-en_content h3::after {
  content: '';
  position: absolute;
  top: 50%;
  /* right: 0;   */
  right: 5px;
  width: 8px;
  height: 8px;
  border-bottom: 2px solid #000;
  border-right: 2px solid #000;
  transform: translateY(-60%) rotate(45deg);
  transition: transform 0.3s ease-in-out;
}

.htu-en_content.is-open h3::after {
  transform: translateY(-40%) rotate(-135deg);
}

.htu-en_content p {
  font-family: "Plus Jakarta Sans";
  letter-spacing: .02em;
  font-weight: 400;
  line-height: 1.8;
  margin: 0;
  /* padding-top: 10px; */
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-in-out, margin 0.4s ease-in-out, padding 0.4s ease-in-out;
}

.htu-en_content.is-open p {
  /* margin-top: 10px; */
  max-height: 5000px;
}



.htu-en_block .htu-en_accordion-body {
  overflow: hidden;
  max-height: 0;
  margin-bottom: 0;
  transition: max-height 0.4s ease-out, margin-bottom 0.4s ease-out;
}
.htu-en_block.is-open .htu-en_accordion-body {
  max-height: 5000px;
  margin-bottom: 50px;
}

.htu-en_block > h2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  width: 100%;
}

.htu-en_block > h2::after {
  content: '';
  display: inline-block;
  width: 10px;
  height: 10px;
  border-bottom: 3px solid #333;
  border-right: 3px solid #333;
  transform: rotate(45deg);
  transition: transform 0.3s ease-in-out;
}

.htu-en_block.is-open > h2::after {
  transform: rotate(-135deg);
}
