/* =======================================
メインビジュアル
======================================== */

.main-visual-area {
  background-size: cover;
  background-image: url('../images/top/mv-bg-dots.png');
  position: relative;
  padding-bottom: 20px;
  position: relative;
  z-index: 2;
}

.mv-catch {
  width: 771px;
  position: absolute;
  right: 88px;
  top: 374px;
  z-index: 2;
}

.main-img {
  width: 1100px;
  padding-top: 67px;
}

.sub-img {
  width: 554px;
  right: -33px;
  top: -10px;
  position: absolute;
}

.cloud-01 {
  width: 182px;
  top: 180px;
  left: 822px;
  position: absolute;
}

.cloud-02 {
  top: 38px;
  position: absolute;
  left: 1242px;
  width: 230px;
}

.zou {
  bottom: 38px;
  position: absolute;
  left: 887px;
  width: 250px;
}

.kirin {
  top: 10px;
  position: absolute;
  left: 1372px;
  width: 178px;
}

.enka-btn {
  width: 174px;
  height: 174px;
  cursor: pointer;
  position: absolute;
  bottom: 42px;
  right: 58px;
}

@media (max-width: 2000px) {

  .main-img {
    width: min(calc(600px + (1100 - 600) * (100vw - 992px) / (2000 - 992)),
        1100px);
    padding-top: min(calc(30px + (67 - 30) * (100vw - 992px) / (2000 - 992)),
        67px);
  }

  .sub-img {
    width: min(calc(300px + (554 - 300) * (100vw - 992px) / (2000 - 992)),
        554px);
    right: -33px;
    top: -10px;
    position: absolute;
  }

  .mv-catch {
    width: min(calc(340px + (771 - 340) * (100vw - 992px) / (2000 - 992)),
        771px);
    position: absolute;
    right: min(calc(30px + (88 - 30) * (100vw - 992px) / (2000 - 992)),
        88px);
    top: min(calc(200px + (374 - 200) * (100vw - 992px) / (2000 - 992)),
        374px);
    z-index: 2;
  }

  .zou {
    bottom: 38px;
    position: absolute;
    width: min(calc(130px + (250 - 130) * (100vw - 992px) / (2000 - 992)),
        250px);
    left: min(calc(500px + (887 - 500) * (100vw - 992px) / (2000 - 992)),
        887px);
  }

  .kirin {
    top: 10px;
    position: absolute;
    left: min(calc(700px + (1371 - 700) * (100vw - 992px) / (2000 - 992)),
        1371px);
    width: min(calc(80px + (178 - 80) * (100vw - 992px) / (2000 - 992)),
        178px);
  }

  .cloud-01 {
    width: min(calc(120px + (182 - 120) * (100vw - 992px) / (2000 - 992)),
        182px);
    top: min(calc(100px + (180 - 100) * (100vw - 992px) / (2000 - 992)),
        180px);
    left: min(calc(430px + (822 - 430) * (100vw - 992px) / (2000 - 992)),
        822px);
    position: absolute;
  }

  .cloud-02 {
    top: 38px;
    position: absolute;
    left: min(calc(600px + (1242 - 600) * (100vw - 992px) / (2000 - 992)),
        1242px);
    width: min(calc(140px + (230 - 140) * (100vw - 992px) / (2000 - 992)),
        230px);
  }
}
@media (max-width: 1500px) {
  .enka-btn {
    width: min(calc(120px + (174 - 120) * (100vw - 992px) / (1500 - 992)),
        174px);
    height: min(calc(120px + (174 - 120) * (100vw - 992px) / (1500 - 992)),
        174px);
    cursor: pointer;
    position: absolute;
    bottom: 42px;
    right: 58px;
  }
}
@media (max-width: 991px) {
  .main-visual-area {
    height: calc(100vh - 90px); /* 既存：消さなくてOK */
  }

  /* ← Safari のバー対策（これを追加） */
  @supports (height: 100svh) {
    .main-visual-area {
      height: calc(100svh - 90px);
    }
  }
  .sub-img {
    width: 300px;
    right: 0;
    top: -10px;
    padding-top: 40px;
    position: relative;
    margin-left: auto;
    z-index: 2;
  }

  .kirin {
    top: 10px;
    position: absolute;
    left: auto;
    right: 250px;
    z-index: 100;
    width: 100px;
  }

  .zou {
    top: 330px;
    bottom: auto;
    position: absolute;
    width: 130px;
    left: 500px;
  }

  .cloud-01 {
    width: 120px;
    top: 220px;
    left: 500px;
    position: absolute;
  }

  .cloud-02 {
    top: 38px;
    position: absolute;
    left: auto;
    right: 250px;
    width: min(calc(140px + (230 - 140) * (100vw - 992px) / (2000 - 992)),
        230px);
  }

  .mv-catch {
    margin-left: 20px;
    width: 700px;
    bottom: 0;
    position: absolute;
    right: auto;
    top: auto;
    z-index: 2;
    margin-top: 20px;
  }

  .main-img {
    margin-top: -130px;
    width: 550px;
    padding-top: 0;
  }
  .mv-catch {
    margin-left: 20px;
    width: 500px;
    bottom: 20px;
    position: absolute;
    right: auto;
    top: auto;
    z-index: 2;
    margin-top: 20px;
  }
}

@media (max-width: 860px) {

  .cloud-01 {
    width: 120px;
    top: 220px;
    left: 400px;
    position: absolute;
  }

  .zou {
    width: 130px;
  }

}

@media (max-width: 700px) {

  .cloud-01 {
    width: 120px;
    top: 180px;
    left: 400px;
    position: absolute;
  }

  .cloud-02 {
    top: 38px;
    position: absolute;
    left: auto;
    right: 160px;
    width: min(calc(140px + (230 - 140) * (100vw - 992px) / (2000 - 992)),
        230px);
  }
  .main-img {
    width: 400px;
    margin-top: -80px;
    padding-top: 0;
  }

  .sub-img {
    width: 300px;
    right: 0;
    top: -10px;
    padding-top: 40px;
    position: relative;
    margin-left: auto;
    z-index: 2;
  }

  .zou {
    bottom: auto;
    position: absolute;
    width: 130px;
    left: 420px;
  }

  .kirin {
    top: 10px;
    position: absolute;
    width: 80px;
  }
}

@media (max-width: 620px) {

  .mv-catch {
    margin-left: 20px;
    width: 500px;
    bottom: 20px;
    position: absolute;
    right: auto;
    top: auto;
    z-index: 2;
    margin-top: 20px;
  }


  .zou {
    bottom: auto;
    position: absolute;
    width: 130px;
    left: 420px;
  }

  .kirin {
    top: 10px;
    position: absolute;
    left: auto;
    right: 280px;
    z-index: 100;
    width: 100px;
  }

  .cloud-01 {
    width: 120px;
    top: 300px;
    left: 360px;
    position: absolute;
  }

  .cloud-02 {
    top: 38px;
    position: absolute;
    left: auto;
    right: 240px;
    width: 120px;
  }
.enka-btn {
  width: 100px;
  height: 100px;
  cursor: pointer;
  position: absolute;
  bottom: 20px;
  right: 20px;
}
}

@media (max-width: 550px) {
  .mv-catch {
    margin-left: 20px;
    width: 400px;
    bottom: 20px;
    position: absolute;
    right: auto;
    top: auto;
    z-index: 2;
    margin-top: 20px;
  }

  .main-img {
    width: 400px;
    margin-top: -30px;
    padding-top: 0;
  }

  .sub-img {
    width: 250px;
    right: 0;
    top: -10px;
    padding-top: 40px;
    position: relative;
    margin-left: auto;
    z-index: 2;
  }
  .kirin {
    right: 230px;
  }

  .cloud-01 {
    width: 120px;
    top: 300px;
    left: 300px;
    position: absolute;
  }

  .zou {
    bottom: auto;
    position: absolute;
    width: 130px;
    left: 320px;
  }
}

@media (max-width: 480px) {
  .main-img {
    width: 350px;
    padding-top: 0;
  }

  .mv-catch {
    margin-left: 20px;
    width: 330px;
    position: absolute;
    right: auto;
    bottom: calc(40px + env(safe-area-inset-bottom, 0px));
    top: auto;
    z-index: 2;
    margin-top: 20px;
  }

  .cloud-01 {
    width: 100px;
    top: 260px;
    left: 280px;
    position: absolute;
  }

  .zou {
    bottom: auto;
    position: absolute;
    width: 100px;
    left: 260px;
  }

  .kirin {
    top: 10px;
    position: absolute;
    left: auto;
    right: 220px;
    z-index: 100;
    width: 80px;
  }

  .cloud-02 {
    top: 38px;
    position: absolute;
    left: auto;
    right: 200px;
    width: 100px;
  }
.enka-btn {
  width: 80px;
  height: 80px;
  cursor: pointer;
  position: absolute;
  bottom: 20px;
  right: 20px;
}

}

/* =======================================
トップヘッドエリア
======================================== */
.top-head-area {
  position: relative;
  padding-bottom: 100px;
}

.top-head-area .container {
  position: relative;
  z-index: 100;
}

.top-head-area .top-cloud-illust {
  position: absolute;
  top: -220px;
  width: 100%;
}

.grade-bg.png {
  margin-top: -4px;
}

.top-head-area p {
  width: 612px;
  line-height: 2;
  padding-top: 226px;
  margin-left: 99px;
  font-size: 20px;
  text-align: justify;
}

.top-head-img-wrap {
  width: 757px;
}

.top-head-img {
  margin-right: -90px;
  padding-left: 76px;
}

@media (max-width: 1400px) {
  .top-head-img-wrap {
    width: 100%;
  }

  .top-head-img {
    margin-right: 0;
    padding-left: 0;
  }

  .top-head-area p {
    width: 100%;
    line-height: 2;
    padding-top: 126px;
    margin-left: 0;
    font-size: 20px;
  }
}

@media (max-width: 991px) {
  .top-head-area {
    padding-top: 100px;
  }

  .top-head-area p {
    width: 100%;
    line-height: 2;
    padding-top: 86px;
    margin-left: 0;
    font-size: 18px;
  }

  .top-head-area .top-cloud-illust {
    position: absolute;
    top: -320px;
    width: 100%;
  }
}

@media (max-width: 860px) {
  .top-head-area {
    padding-top: 0;
  }

}

@media (max-width: 700px) {
  .top-head-area .top-cloud-illust {
    position: absolute;
    top: -220px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
  }


}

@media (max-width: 768px) {
  .top-head-area p {
    width: 100%;
    line-height: 2;
    padding-top: 20px;
    margin-left: 0;
    font-size: 16px;
  }

}

/* =======================================
NEWS
======================================== */
.news-area {
  position: relative;
}

.news-area .tree-illust {
  max-width: 295px;
  width: 100%;
  right: 0;
  top: -50px;
  position: absolute;
  z-index: 2;
}

.news-bg {
  position: relative;
  padding: 80px 0;
  border-radius: 30px;
  margin: 0 auto;
  width: 100%;
  background-size: cover;
  max-width: 1800px;
  background-repeat: no-repeat;
  background-image: url('../images/top/news-bg.png');
}

.news-left-box {
  width: 100%;
  border-radius: 30px;
  padding: 40px;
  background-color: #fff;
}

.news-cat-list {
  border-bottom: none;
}

.nav-tabs .nav-item.show .nav-link a {
  border-radius: 16px;
}

.nav-tabs .nav-link.active {
  background-color: #257db7;
  color: #fff;
}

.news-cat-list .nav-item {
  margin: 0 auto;
  max-width: 320px;
  width: 100%;
  display: table;
  cursor: pointer;
  text-align: center;
}

.news-cat-list .nav-item+.nav-item {
  margin-top: 12px;
}

.news-cat-list .nav-item a {
  height: 62px;
  font-size: 16px;
  font-weight: 500;
  border-radius: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  background-color: rgba(37, 125, 183, 0.3);
  justify-content: center;
  color: #0b0c0c;
  transition: 0.7s;
}

.news-cat-list .nav-item:hover a {
  font-size: 18px;
}

.news-bg .panda-illust {
  max-width: 210px;
  width: 100%;
  position: absolute;
  left: 53px;
  bottom: -69px;
}


.news-content {
  background-color: #fff;
  border-radius: 30px;
  padding-top: 35px;
  padding-bottom: 30px;
  padding-right: 38px;
  padding-left: 80px;
}

.news-list {
  padding-top: 46px;
  height: 390px;
  padding-right: 25px;
  overflow-y: auto;
  /* 必要な場合のみスクロール */
  /* Firefox */
  scrollbar-width: thin;
  scrollbar-color: #ffc573 #ece9e9;
  /* thumb / track */
}

/* ─────────────
   Chrome / Safari / Edge
───────────── */

.news-list::-webkit-scrollbar {
  width: 10px;
  /* 必要なときだけ表示 */
}

/* 背景（track） */
.news-list::-webkit-scrollbar-track {
  background: #ece9e9;
  border-radius: 999px;
}

/* つまみ（thumb） */
.news-list::-webkit-scrollbar-thumb {
  background: #ffc573;
  border-radius: 999px;
  border: 3px solid #ece9e9;
  /* 余白で中央棒っぽく */
}

/* hover時も変化なし（必要であれば削除してOK） */
.news-list::-webkit-scrollbar-thumb:hover {
  background: #ffc573;
}

.news-list li {
  border-top: 1px solid #d8d8d8;
  padding: 20px 0;
}

.news-list li:last-child {
  border-bottom: 1px solid #d8d8d8;
}

.news-list a {
  transition: 0.7s;
}

.news-list a:hover {
  opacity: 0.6;
}

.news-top-detail {
  display: flex;
  margin-bottom: 12px;
}

.detail-left {
  display: flex;
  width: 150px;
  justify-content: space-between;
}

.news-top-detail .date {
  color: #131314;
  font-size: 16px;
  font-weight: 500;
}

.news-top-detail .new {
  margin-left: 18px;
  color: #e50202;
  font-weight: 500;
  font-size: 16px;
}

.news-top-detail .cat {
  margin-left: 38px;
  color: #fff;
  line-height: 1;
  display: flex;
  border-radius: 11px;
  align-items: center;
  font-size: 14px;
  padding: 5px 14px;
  background-color: #257db7;
}

.news-list .text {
  word-break: break-all;
}

.attached-box {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 19px;
  margin-top: 10px;
}

.attached a{
  display: flex;
  cursor: pointer;
  align-items: center;
  color: #0101ff !important;
  font-size: 14px;
  gap: 0 5px;
  border-bottom: 1px solid #0101ff;
}

.external-icon-blue {
  width: 11px;
  height: auto;
  display: block;
  font-size: 0;
}



@media (max-width: 1800px) {
  .news-area {
    padding-left: calc(15px + 50 * (100vw - 320px) / 1180);
    padding-right: calc(15px + 50 * (100vw - 320px) / 1180);

  }

  .news-bg {
    position: relative;
    padding: 80px 20px;
    border-radius: 30px;
    margin: 0 auto;
    width: 100%;
    background-size: cover;
    max-width: 1800px;
    background-image: url(../images/top/news-bg.png);
  }
}

@media (max-width: 1500px) {
  .news-bg {
    padding: 80px 0;
  }
}

@media (max-width: 1300px) {
  .news-left-box {
    width: 100%;
    border-radius: 30px;
    padding: 30px;
    background-color: #fff;
  }

  .news-cat-list .nav-item {
    margin: 0 auto;
    max-width: 260px;
    width: 100%;
    display: table;
    cursor: pointer;
    text-align: center;
  }

  .news-cat-list .nav-item a {
    height: 62px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    background-color: rgba(37, 125, 183, 0.3);
    justify-content: center;
    color: #0b0c0c;
  }

  .news-content {
    background-color: #fff;
    border-radius: 30px;
    padding-top: 35px;
    padding-bottom: 30px;
    padding-right: 38px;
    padding-left: 80px;
  }

  .news-area .tree-illust {
    max-width: 225px;
    width: 100%;
    right: 0;
    top: -50px;
    position: absolute;
    z-index: 2;
  }

}

@media (max-width: 1200px) {
  .news-content {
    margin-top: 30px;
  }

  .news-cat-list {
    gap: 20px 0;
    display: flex;
  }

  .news-cat-list .nav-item {
    margin: 0;
    padding: 0 10px;
    max-width: 33.33333%;
    width: 100%;
    display: table;
    cursor: pointer;
    text-align: center;
  }

  .news-cat-list .nav-item+.nav-item {
    margin-top: 0;
  }
}

@media (max-width: 991px) {
  .news-cat-list .nav-item {
    margin: 0;
    padding: 0 10px;
    max-width: 50%;
    width: 100%;
    display: table;
    cursor: pointer;
    text-align: center;
  }

  .news-left-box {
    width: 100%;
    border-radius: 30px;
    padding: 20px;
    background-color: #fff;
  }

  .news-cat-list {
    gap: 10px 0;
    display: flex;
  }

  .news-list {
    padding-top: 0;
    height: 390px;
    padding-right: 25px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #ffc573 #ece9e9;
  }

  .news-content {
    background-color: #fff;
    border-radius: 30px;
    padding-top: 35px;
    padding-bottom: 30px;
    padding-right: 30px;
    padding-left: 30px;
  }

  .news-bg .panda-illust {
    max-width: 160px;
    width: 100%;
    position: absolute;
    left: 53px;
    bottom: -69px;
  }
}

@media (max-width: 640px) {
  .news-content {
    background-color: #fff;
    border-radius: 30px;
    padding-top: 35px;
    padding-bottom: 20px;
    padding-right: 20px;
    padding-left: 20px;
  }

  .news-cat-list {
    gap: 10px 0;
    display: block;
  }

  .news-cat-list .nav-item {
    margin: 0 auto;
    padding: 0 10px;
    max-width: 280px;
    width: 100%;
    display: table;
    cursor: pointer;
    text-align: center;
  }

  .news-cat-list .nav-item+.nav-item {
    margin-top: 15px;
  }

  .news-top-detail .date {
    color: #131314;
    font-size: 14px;
    font-weight: 500;
  }

  .detail-left {
    display: flex;
    width: 120px;
    justify-content: space-between;
  }

  .news-top-detail .new {
    margin-left: 18px;
    color: #e50202;
    font-weight: 500;
    font-size: 14px;
  }

  .news-top-detail .cat {
    margin-left: 20px;
    color: #fff;
    line-height: 1;
    display: flex;
    border-radius: 11px;
    align-items: center;
    font-size: 13px;
    padding: 5px 14px;
    background-color: #257db7;
  }
}

@media (max-width: 480px) {
  .news-area .tree-illust {
    max-width: 185px;
    width: 100%;
    right: 0;
    top: -50px;
    position: absolute;
    z-index: 2;
  }

  .news-bg {
    padding: 60px 0;
  }

  .news-bg .panda-illust {
    max-width: 130px;
    width: 100%;
    position: absolute;
    left: 33px;
    bottom: -49px;
  }

}


.news-cat-select {
  display: none;
}
/* =========
  SP(640px以下)だけ：セレクトをボタン風に
========= */
/*
@media (max-width: 640px) {
  .news-cat-select-wrap {
    max-width: 520px;
    margin: 0 auto;
    position: relative;
    overflow: visible;
  }

  .news-cat-select {
    display: block;
    -webkit-appearance: none;
    appearance: none;
    position: relative;
    z-index: 1; 
    font-size: 14px;
    width: 100%;
    height: 62px;
    padding: 0 64px 0 22px;
    border: 0;
    border-radius: 16px;
    background-color: #257db7;
    color: #fff;
    font-weight: 500;
    letter-spacing: .06em;
    line-height: 62px;
  }

  .news-cat-select option {
    font-size: 14px;
  }

  .news-cat-select-wrap::after {
    content: "";
    position: absolute;
    z-index: 2; 
    top: 50%;
    right: 26px;

    width: 12px;
    height: 12px;
    border-right: 3px solid #fff;
    border-bottom: 3px solid #fff;
    transform: translateY(-60%) rotate(45deg);
    pointer-events: none;
  }

  .news-cat-select:focus {
    outline: none;
  }

  .news-cat-select::-ms-expand {
    display: none;
  }
}
*/
/* =======================================
features
======================================== */
.features-area {
  position: relative;
  z-index: 100;
  padding-top: 160px;
}

.features-area .sec-ttl-box {
  justify-content: center;
  margin-bottom: 85px;
}

.features-box-wrap {
  padding: 90px;
  position: relative;
  background-color: #a1e7c9;
}

.features-box-wrap:nth-child(2) {
  background-color: #f8f6b3;
}

.features-box-wrap:nth-child(3) {
  background-color: #ffd6a0;
}

.features-box-wrap:nth-child(4) {
  background-color: #fdd5e7;
}

.features-box-wrap:nth-child(5) {
  background-color: #e3c9f2;
}

.features-box {
  align-items: center;
  display: flex;
  max-width: 1740px;
  width: 100%;
  margin: 0 auto;
  padding: 0 116px;
  border-radius: 30px;
  background-color: #d9fced;
  position: relative;
}

.features-box-wrap:nth-child(2) .features-box {
  justify-content: center;
  align-items: center;
  display: flex;
  padding: 52px 116px 40px 56px;
  border-radius: 30px;
  background-color: #fafaec;
  position: relative;
}

.features-box-wrap:nth-child(3) .features-box {
  align-items: center;
  display: flex;
  padding: 52px 177px 40px 117px;
  border-radius: 30px;
  background-color: #fce6ca;
  position: relative;
}

.features-box-wrap:nth-child(4) .features-box {
  justify-content: center;
  align-items: center;
  display: flex;
  padding: 80px 116px 70px 153px;
  border-radius: 30px;
  background-color: #fee7f1;
  position: relative;
}

.features-box-wrap:nth-child(5) .features-box {
  align-items: center;
  display: flex;
  padding: 40px 116px 70px 114px;
  border-radius: 30px;
  background-color: #f3e4fb;
  position: relative;
}

/* 内側27pxのドット線 */
.features-box::before {
  content: "";
  position: absolute;
  inset: 27px;
  /* ← 内側27px */
  border-radius: 5px;
  /* 外側30pxより少し小さめ */
  pointer-events: none;

  background-image:
    /* 上 */
    repeating-linear-gradient(90deg,
      #71cfae 0 12px,
      transparent 12px 24px),
    /* 右 */
    repeating-linear-gradient(180deg,
      #71cfae 0 12px,
      transparent 12px 24px),
    /* 下 */
    repeating-linear-gradient(90deg,
      #71cfae 0 12px,
      transparent 12px 24px),
    /* 左 */
    repeating-linear-gradient(180deg,
      #71cfae 0 12px,
      transparent 12px 24px);

  background-repeat: repeat-x, repeat-y, repeat-x, repeat-y;

  /* 角でガタつきにくいように、少し内側にオフセット */
  background-position:
    left 4px top,
    /* 上 */
    right top 4px,
    /* 右 */
    left 4px bottom,
    /* 下 */
    left top 4px;
  /* 左 */

  background-size:
    calc(100% - 8px) 4px,
    /* 上 */
    4px calc(100% - 8px),
    /* 右 */
    calc(100% - 8px) 4px,
    /* 下 */
    4px calc(100% - 8px);
  /* 左 */
}

.features-box-wrap:nth-child(2) .features-box::before {
  content: "";
  position: absolute;
  /* ← 内側27px */
  border-radius: 5px;
  /* 外側30pxより少し小さめ */
  pointer-events: none;

  background-image:
    /* 上 */
    repeating-linear-gradient(90deg,
      #e4e29c 0 12px,
      transparent 12px 24px),
    /* 右 */
    repeating-linear-gradient(180deg,
      #e4e29c 0 12px,
      transparent 12px 24px),
    /* 下 */
    repeating-linear-gradient(90deg,
      #e4e29c 0 12px,
      transparent 12px 24px),
    /* 左 */
    repeating-linear-gradient(180deg,
      #e4e29c 0 12px,
      transparent 12px 24px);

  background-repeat: repeat-x, repeat-y, repeat-x, repeat-y;

  /* 角でガタつきにくいように、少し内側にオフセット */
  background-position:
    left 4px top,
    /* 上 */
    right top 4px,
    /* 右 */
    left 4px bottom,
    /* 下 */
    left top 4px;
  /* 左 */

  background-size:
    calc(100% - 8px) 4px,
    /* 上 */
    4px calc(100% - 8px),
    /* 右 */
    calc(100% - 8px) 4px,
    /* 下 */
    4px calc(100% - 8px);
  /* 左 */
}

.features-box-wrap:nth-child(3) .features-box::before {
  content: "";
  position: absolute;
  /* ← 内側27px */
  border-radius: 5px;
  /* 外側30pxより少し小さめ */
  pointer-events: none;

  background-image:
    /* 上 */
    repeating-linear-gradient(90deg,
      #ffefdb 0 12px,
      transparent 12px 24px),
    /* 右 */
    repeating-linear-gradient(180deg,
      #ffefdb 0 12px,
      transparent 12px 24px),
    /* 下 */
    repeating-linear-gradient(90deg,
      #ffefdb 0 12px,
      transparent 12px 24px),
    /* 左 */
    repeating-linear-gradient(180deg,
      #ffefdb 0 12px,
      transparent 12px 24px);

  background-repeat: repeat-x, repeat-y, repeat-x, repeat-y;

  /* 角でガタつきにくいように、少し内側にオフセット */
  background-position:
    left 4px top,
    /* 上 */
    right top 4px,
    /* 右 */
    left 4px bottom,
    /* 下 */
    left top 4px;
  /* 左 */

  background-size:
    calc(100% - 8px) 4px,
    /* 上 */
    4px calc(100% - 8px),
    /* 右 */
    calc(100% - 8px) 4px,
    /* 下 */
    4px calc(100% - 8px);
  /* 左 */
}

.features-box-wrap:nth-child(4) .features-box::before {
  content: "";
  position: absolute;
  /* ← 内側27px */
  border-radius: 5px;
  /* 外側30pxより少し小さめ */
  pointer-events: none;

  background-image:
    /* 上 */
    repeating-linear-gradient(90deg,
      #dc9db9 0 12px,
      transparent 12px 24px),
    /* 右 */
    repeating-linear-gradient(180deg,
      #dc9db9 0 12px,
      transparent 12px 24px),
    /* 下 */
    repeating-linear-gradient(90deg,
      #dc9db9 0 12px,
      transparent 12px 24px),
    /* 左 */
    repeating-linear-gradient(180deg,
      #dc9db9 0 12px,
      transparent 12px 24px);

  background-repeat: repeat-x, repeat-y, repeat-x, repeat-y;

  /* 角でガタつきにくいように、少し内側にオフセット */
  background-position:
    left 4px top,
    /* 上 */
    right top 4px,
    /* 右 */
    left 4px bottom,
    /* 下 */
    left top 4px;
  /* 左 */

  background-size:
    calc(100% - 8px) 4px,
    /* 上 */
    4px calc(100% - 8px),
    /* 右 */
    calc(100% - 8px) 4px,
    /* 下 */
    4px calc(100% - 8px);
  /* 左 */
}

.features-box-wrap:nth-child(5) .features-box::before {
  content: "";
  position: absolute;
  /* ← 内側27px */
  border-radius: 5px;
  /* 外側30pxより少し小さめ */
  pointer-events: none;

  background-image:
    /* 上 */
    repeating-linear-gradient(90deg,
      #e4cff0 0 12px,
      transparent 12px 24px),
    /* 右 */
    repeating-linear-gradient(180deg,
      #e4cff0 0 12px,
      transparent 12px 24px),
    /* 下 */
    repeating-linear-gradient(90deg,
      #e4cff0 0 12px,
      transparent 12px 24px),
    /* 左 */
    repeating-linear-gradient(180deg,
      #e4cff0 0 12px,
      transparent 12px 24px);

  background-repeat: repeat-x, repeat-y, repeat-x, repeat-y;

  /* 角でガタつきにくいように、少し内側にオフセット */
  background-position:
    left 4px top,
    /* 上 */
    right top 4px,
    /* 右 */
    left 4px bottom,
    /* 下 */
    left top 4px;
  /* 左 */

  background-size:
    calc(100% - 8px) 4px,
    /* 上 */
    4px calc(100% - 8px),
    /* 右 */
    calc(100% - 8px) 4px,
    /* 下 */
    4px calc(100% - 8px);
  /* 左 */
}


.features-img {
  max-width: 602px;
  width: 100%;
  margin-left: 80px;
}

.features-box-wrap:nth-child(2) .features-img {
  max-width: 672px;
  width: 100%;
  margin-left: 0;
  margin-right: 200px;
}

.features-box-wrap:nth-child(4) .features-img {
  max-width: 672px;
  width: 100%;
  margin-left: 0;
  margin-right: 200px;
}

.wrap-number {
  left: 20px;
  top: 30px;
  position: absolute;
  writing-mode: vertical-rl;
  line-height: 1;
  z-index: 100;
  color: #7acda9;
  font-family: "Amaranth", sans-serif;
  font-size: 102px;
}

.features-box-wrap:nth-child(2) .wrap-number {
  color: #e4e29c;
  right: 20px;
  left: auto;
}

.features-box-wrap:nth-child(3) .wrap-number {
  color: #f0b15d;

}

.features-box-wrap:nth-child(4) .wrap-number {
  color: #ecc2d4;
  left: auto;
  right: 20px;
}

.features-box-wrap:nth-child(5) .wrap-number {
  color: #dfb8f5;
}

.number {
  font-family: "Amaranth", sans-serif;
  color: #0b0c0c;
  font-size: 28px;
  margin-bottom: 15px;
  line-height: 1;
}

.features-text-box {
  max-width: 690px;
  width: 100%;
  padding: 90px 88px;
  border-radius: 30px;
  background-color: #fff;
  position: relative;
}

.features-text-box h4 {
  font-size: 36px;
  font-weight: 700;
  color: #0b6e44;
  margin-bottom: 50px;
}

.features-box-wrap:nth-child(2) .features-text-box h4 {
  font-weight: 700;
  color: #d5d157;
}

.features-box-wrap:nth-child(3) .features-text-box h4 {
  font-weight: 700;
  color: #ffb759;
}

.features-box-wrap:nth-child(4) .features-text-box h4 {
  font-weight: 700;
  color: #fa70ae;
}

.features-box-wrap:nth-child(5) .features-text-box h4 {
  font-weight: 700;
  color: #a76cd9;
}


.features-box .text {
  max-width: 515px;
  font-size: 18px;
  line-height: 32px;
  font-weight: 500;
  width: 100%;
  text-align: justify;
}

.features-img {
  position: relative;
}

.features-obj_01 {
  left: 0;
  top: 0;
  position: absolute;
  max-width: 363px;
  width: 100%;
  z-index: 100;
}

.features-obj_02 {
  right: 0;
  top: 0;
  position: absolute;
  max-width: 377px;
  width: 100%;
  z-index: 100;
}

.features-obj_03 {
  left: 0;
  top: 0;
  position: absolute;
  max-width: 269px;
  width: 100%;
  z-index: 100;
}

.features-obj_04 {
  right: 0;
  top: 0;
  position: absolute;
  max-width: 377px;
  width: 100%;
  z-index: 100;
}

.features-illust_01 {
  z-index: 100;
  position: absolute;
  left: 0;
  max-width: 140px;
  width: 100%;
  bottom: -20px;
  left: -40px;
}

.features-illust_05_1 {
  max-width: 163px;
  width: 100%;
  position: absolute;
  bottom: 25px;
  left: -20px;
}

.features-illust_05_2 {
  max-width: 161px;
  width: 100%;
  position: absolute;
  bottom: -63px;
  right: 10px;
}

.vertical-text-box {
  display: flex;
  position: relative;
  z-index: 100;
  position: absolute;
  right: -130px;
  top: 50%;
  transform: translateY(-50%);
  gap: 0 11px;
  align-items: flex-start;
  /* ★ ここを変更（または削除） */
}

.vertical-text {
  font-weight: 500;
  font-size: 24px;
  border-radius: 8px;
  padding: 40px 20px;
  background-color: #fff;
  writing-mode: vertical-rl;
  display: block;
  /* flex じゃなくてOK（お好みで） */
}

.vertical-text:nth-child(2) {
  margin-top: 30px;
}

.vertical-text:first-child {
  margin-top: 60px;
}

.features-box2-illust_01 {
  left: 50%;
  transform: translateX(-50%);
  bottom: -34px;
  position: absolute;
  max-width: 276px;
  width: 100%;
  z-index: 100;
}

.features-box2-illust_02 {
  right: 0;
  bottom: -34px;
  position: absolute;
  max-width: 293px;
  width: 100%;
  z-index: 100;
}

.features-illust_04 {
  max-width: 207px;
  width: 100%;
  position: absolute;
  bottom: -73px;
  right: -80px;
}

@media (max-width: 1900px) {
  .features-box2-illust_01 {
    left: 50%;
    transform: translateX(-50%);
    bottom: -34px;
    position: absolute;
    max-width: 206px;
    width: 100%;
    z-index: 100;
  }

  .features-box2-illust_02 {
    right: 0;
    bottom: -34px;
    position: absolute;
    max-width: 203px;
    width: 100%;
    z-index: 100;
  }
}


@media (max-width: 1620px) {
  .features-box {
    align-items: center;
    display: flex;
    max-width: 1740px;
    width: 100%;
    margin: 0 auto;
    padding: 40px 116px;
    border-radius: 30px;
    background-color: #d9fced;
    position: relative;
  }

  .features-box-wrap:nth-child(2) .features-img {
    max-width: 672px;
    width: 100%;
    margin-left: 0;
    margin-right: 120px;
  }

  .features-box-wrap:nth-child(4) .features-img {
    max-width: 672px;
    width: 100%;
    margin-left: 0;
    margin-right: 60px;
  }

  .vertical-text {
    font-weight: 500;
    font-size: 20px;
    border-radius: 8px;
    padding: 40px 20px;
    background-color: #fff;
    writing-mode: vertical-rl;
    display: block;
  }

  .vertical-text-box {
    right: -80px;
  }

}

@media (max-width: 1500px) {
  .features-box {
    align-items: center;
    display: flex;
    max-width: 1740px;
    width: 100%;
    margin: 0 auto;
    padding: 40px 60px;
    border-radius: 30px;
    background-color: #d9fced;
    position: relative;
  }

  .features-box-wrap:nth-child(3) .features-box {
    padding: 40px 60px;
  }

  .features-box-wrap:nth-child(4) .features-box {
    padding: 40px 60px;
  }

  .features-box-wrap:nth-child(5) .features-box {
    padding: 40px 60px;
  }

  .features-text-box {
    max-width: 690px;
    width: 100%;
    padding: 40px;
    border-radius: 30px;
    background-color: #fff;
    position: relative;
  }

  .features-text-box h4 {
    font-size: 30px;
    font-weight: 700;
    color: #0b6e44;
    margin-bottom: 30px;
  }

  .features-obj_02 {
    right: 0;
    top: 0;
    position: absolute;
    max-width: 307px;
    width: 100%;
    z-index: 100;
  }

  .features-box2-illust_01 {
    left: 50%;
    transform: translateX(-50%);
    bottom: -84px;
    position: absolute;
    max-width: 206px;
    width: 100%;
    z-index: 100;
  }

  .features-box2-illust_02 {
    right: 0;
    bottom: -84px;
    position: absolute;
    max-width: 203px;
    width: 100%;
    z-index: 100;
  }

  .features-illust_04 {
    max-width: 157px;
    width: 100%;
    position: absolute;
    bottom: -103px;
    right: -50px;
  }

  .features-illust_05_1 {
    max-width: 123px;
    width: 100%;
    position: absolute;
    bottom: 25px;
    left: -20px;
  }

  .features-illust_05_2 {
    max-width: 121px;
    width: 100%;
    position: absolute;
    bottom: -63px;
    right: 10px;
  }
}

@media (max-width:1200px) {

  .features-obj_01 {
    left: 0;
    top: 0;
    position: absolute;
    max-width: 263px;
    width: 100%;
    z-index: 100;
  }

  .wrap-number {
    left: 10px;
    top: 30px;
    position: absolute;
    writing-mode: vertical-rl;
    line-height: 1;
    z-index: 100;
    color: #7acda9;
    font-family: "Amaranth", sans-serif;
    font-size: 62px;
  }

  .features-box-wrap:nth-child(2) .wrap-number {
    right: 10px;
    left: auto;
  }

  .features-box-wrap:nth-child(4) .wrap-number {
    color: #ecc2d4;
    left: auto;
    right: 10px;
  }

  .features-box-wrap {
    padding: 60px;
    position: relative;
    background-color: #a1e7c9;
  }

  .vertical-text {
    font-weight: 500;
    font-size: 16px;
    border-radius: 8px;
    padding: 20px 10px;
    background-color: #fff;
    writing-mode: vertical-rl;
    display: block;
  }

  .vertical-text-box {
    display: flex;
    position: relative;
    z-index: 100;
    position: absolute;
    right: -50px;
    top: 50%;
    transform: translateY(-50%);
    gap: 0 11px;
    align-items: flex-start;
  }

  .features-illust_01 {
    z-index: 100;
    position: absolute;
    left: 0;
    max-width: 100px;
    width: 100%;
    bottom: -20px;
    left: -40px;
  }

  .features-box .text {
    max-width: 515px;
    font-size: 16px;
    line-height: 32px;
    font-weight: 500;
    width: 100%;
  }

  .features-text-box {
    max-width: 690px;
    width: 100%;
    padding: 30px;
    border-radius: 30px;
    background-color: #fff;
    position: relative;
  }
}

@media (max-width:991px) {
  .features-box {
    align-items: center;
    display: flex;
    flex-flow: column;
    max-width: 1740px;
    width: 100%;
    margin: 0 auto;
    padding: 40px 60px;
    border-radius: 30px;
    background-color: #d9fced;
    position: relative;
  }

  .features-box-wrap:nth-child(2) .features-box {
    padding: 40px 60px;
  }

  .features-box .sp-order-2 {
    order: 2;
  }

  .features-text-box {
    margin-top: 20px;
  }

  .features-box .text {
    max-width: 100%;
  }

  .features-box::before {
    content: "";
    position: absolute;
    inset: 20px;
    border-radius: 5px;
    pointer-events: none;
    background-image:
      /* 上 */
      repeating-linear-gradient(90deg,
        #71cfae 0 8px,
        transparent 8px 16px),
      /* 右 */
      repeating-linear-gradient(180deg,
        #71cfae 0 8px,
        transparent 8px 16px),
      /* 下 */
      repeating-linear-gradient(90deg,
        #71cfae 0 8px,
        transparent 8px 16px),
      /* 左 */
      repeating-linear-gradient(180deg,
        #71cfae 0 8px,
        transparent 8px 16px);

    background-repeat: repeat-x, repeat-y, repeat-x, repeat-y;

    background-position:
      left 4px top,
      /* 上 */
      right top 4px,
      /* 右 */
      left 4px bottom,
      /* 下 */
      left top 4px;
    /* 左 */

    background-size:
      calc(100% - 8px) 4px,
      /* 上 */
      4px calc(100% - 8px),
      /* 右 */
      calc(100% - 8px) 4px,
      /* 下 */
      4px calc(100% - 8px);
    /* 左 */
  }

  .features-box-wrap:nth-child(2) .features-box::before {
    content: "";
    position: absolute;
    border-radius: 5px;
    pointer-events: none;

    background-image:
      /* 上 */
      repeating-linear-gradient(90deg,
        #e4e29c 0 8px,
        transparent 8px 16px),
      /* 右 */
      repeating-linear-gradient(180deg,
        #e4e29c 0 8px,
        transparent 8px 16px),
      /* 下 */
      repeating-linear-gradient(90deg,
        #e4e29c 0 8px,
        transparent 8px 16px),
      /* 左 */
      repeating-linear-gradient(180deg,
        #e4e29c 0 8px,
        transparent 8px 16px);

    background-repeat: repeat-x, repeat-y, repeat-x, repeat-y;

    background-position:
      left 4px top,
      right top 4px,
      left 4px bottom,
      left top 4px;

    background-size:
      calc(100% - 8px) 4px,
      4px calc(100% - 8px),
      calc(100% - 8px) 4px,
      4px calc(100% - 8px);
  }

  .features-box-wrap:nth-child(3) .features-box::before {
    content: "";
    position: absolute;
    border-radius: 5px;
    /* 外側30pxより少し小さめ */
    pointer-events: none;

    background-image:
      /* 上 */
      repeating-linear-gradient(90deg,
        #ffefdb 0 8px,
        transparent 8px 16px),
      /* 右 */
      repeating-linear-gradient(180deg,
        #ffefdb 0 8px,
        transparent 8px 16px),
      /* 下 */
      repeating-linear-gradient(90deg,
        #ffefdb 0 8px,
        transparent 8px 16px),
      /* 左 */
      repeating-linear-gradient(180deg,
        #ffefdb 0 8px,
        transparent 8px 16px);

    background-repeat: repeat-x, repeat-y, repeat-x, repeat-y;

    background-position:
      left 4px top,
      right top 4px,
      left 4px bottom,
      left top 4px;

    background-size:
      calc(100% - 8px) 4px,
      4px calc(100% - 8px),
      calc(100% - 8px) 4px,
      4px calc(100% - 8px);
  }

  .features-box-wrap:nth-child(4) .features-box::before {
    content: "";
    position: absolute;
    border-radius: 5px;
    pointer-events: none;

    background-image:
      /* 上 */
      repeating-linear-gradient(90deg,
        #dc9db9 0 8px,
        transparent 8px 16px),
      /* 右 */
      repeating-linear-gradient(180deg,
        #dc9db9 0 8px,
        transparent 8px 16px),
      /* 下 */
      repeating-linear-gradient(90deg,
        #dc9db9 0 8px,
        transparent 8px 16px),
      /* 左 */
      repeating-linear-gradient(180deg,
        #dc9db9 0 8px,
        transparent 8px 16px);

    background-repeat: repeat-x, repeat-y, repeat-x, repeat-y;

    background-position:
      left 4px top,
      right top 4px,
      left 4px bottom,
      left top 4px;

    background-size:
      calc(100% - 8px) 4px,
      4px calc(100% - 8px),
      calc(100% - 8px) 4px,
      4px calc(100% - 8px);
  }

  .features-box-wrap:nth-child(5) .features-box::before {
    content: "";
    position: absolute;
    /* ← 内側27px */
    border-radius: 5px;
    /* 外側30pxより少し小さめ */
    pointer-events: none;

    background-image:
      /* 上 */
      repeating-linear-gradient(90deg,
        #e4cff0 0 8px,
        transparent 8px 16px),
      /* 右 */
      repeating-linear-gradient(180deg,
        #e4cff0 0 8px,
        transparent 8px 16px),
      /* 下 */
      repeating-linear-gradient(90deg,
        #e4cff0 0 8px,
        transparent 8px 16px),
      /* 左 */
      repeating-linear-gradient(180deg,
        #e4cff0 0 8px,
        transparent 8px 16px);

    background-repeat: repeat-x, repeat-y, repeat-x, repeat-y;

    background-position:
      left 4px top,
      right top 4px,
      left 4px bottom,
      left top 4px;

    background-size:
      calc(100% - 8px) 4px,
      4px calc(100% - 8px),
      calc(100% - 8px) 4px,
      4px calc(100% - 8px);
  }

  .features-img {
    max-width: 602px;
    width: 100%;
    margin-right: auto;
    margin-left: auto;
  }

  .features-box-wrap:nth-child(2) .features-img {
    max-width: 602px;
    width: 100%;
    margin-right: auto;
    margin-left: auto;
  }

  .features-box-wrap:nth-child(4) .features-img {
    max-width: 602px;
    width: 100%;
    margin-right: auto;
    margin-left: auto;
  }

  .features-text-box {
    max-width: 100%;
    width: 100%;
  }

  .features-box2-illust_01 {
    left: 50%;
    transform: translateX(-50%);
    bottom: -84px;
    position: absolute;
    max-width: 166px;
    width: 100%;
    z-index: 100;
  }

  .features-box2-illust_02 {
    right: 0;
    bottom: -84px;
    position: absolute;
    max-width: 166px;
    width: 100%;
    z-index: 100;
  }

  .features-illust_05_1 {
    max-width: 123px;
    width: 100%;
    position: absolute;
    bottom: 25px;
    left: -20px;
  }

  .features-illust_05_2 {
    max-width: 121px;
    width: 100%;
    position: absolute;
    bottom: 0;
    right: 10px;
  }

  .features-box-wrap:nth-child(2) .vertical-text-box {
    right: -10px;
  }

  .features-obj_02 {
    right: 0;
    top: 0;
    position: absolute;
    max-width: 257px;
    width: 100%;
    z-index: 100;
  }

  .features-box-wrap:nth-child(4) .vertical-text-box {
    display: flex;
    position: relative;
    z-index: 100;
    position: absolute;
    right: -10px;
    top: -20px;
    transform: translateY(0);
    gap: 0 11px;
    align-items: flex-start;
  }
}

@media (max-width:768px) {
  .features-obj_02 {
    right: 0;
    top: 0;
    position: absolute;
    max-width: 207px;
    width: 100%;
    z-index: 100;
  }

  .features-obj_03 {
    left: 0;
    top: 0;
    position: absolute;
    max-width: 205px;
    width: 100%;
    z-index: 100;
  }

  .features-box-wrap:nth-child(2) .vertical-text-box {
    right: -10px;
    top: calc(50% + 50px);
  }

  .features-area .sec-ttl-box {
    justify-content: center;
    display: block;
    padding: 0 30px;
    margin-bottom: 45px;
  }

  .features-illust_01 {
    z-index: 100;
    position: absolute;
    left: 0;
    max-width: 80px;
    width: 100%;
    bottom: -20px;
    left: -40px;
  }

  .features-illust_05_1 {
    max-width: 83px;
    width: 100%;
    position: absolute;
    bottom: 25px;
    left: -20px;
  }

  .features-illust_05_2 {
    max-width: 81px;
    width: 100%;
    position: absolute;
    bottom: -30px;
    right: 10px;
  }

  .features-box-wrap {
    padding: 50px 40px;
    position: relative;
    background-color: #a1e7c9;
  }

  .vertical-text-box {
    display: flex;
    position: relative;
    z-index: 100;
    position: absolute;
    right: -70px;
    top: 50%;
    transform: translateY(-50%);
    gap: 0 6px;
    align-items: flex-start;
  }

  .features-text-box h4 {
    font-size: 24px;
    font-weight: 700;
    color: #0b6e44;
    margin-bottom: 20px;
  }

  .number {
    font-family: "Amaranth", sans-serif;
    color: #0b0c0c;
    font-size: 24px;
    margin-bottom: 15px;
    line-height: 1;
  }

  .features-box2-illust_01 {
    left: 5%;
    transform: translateX(0);
    bottom: -84px;
    position: absolute;
    max-width: 166px;
    width: 100%;
    z-index: 100;
  }

  .features-illust_04 {
    max-width: 127px;
    width: 100%;
    position: absolute;
    bottom: -83px;
    right: -50px;
  }
}

@media (max-width:480px) {
  .features-obj_02 {
    right: 0;
    top: 0;
    position: absolute;
    max-width: 157px;
    width: 100%;
    z-index: 100;
  }

  .features-text-box {
    margin-top: 15px;
    padding: 20px;
  }


  .features-box-wrap {
    padding: 50px 30px;
    position: relative;
    background-color: #a1e7c9;
  }

  .features-box {
    align-items: center;
    display: flex;
    flex-flow: column;
    max-width: 1740px;
    width: 100%;
    margin: 0 auto;
    padding: 30px 20px !important;
    border-radius: 30px;
    background-color: #d9fced;
    position: relative;
  }

  .features-box-wrap:nth-child(2) .features-box {
    padding: 30px 40px;
  }

  .vertical-text-box {
    display: flex;
    position: relative;
    z-index: 100;
    position: absolute;
    right: -40px;
    top: 50%;
    transform: translateY(-50%);
    gap: 0 6px;
    align-items: flex-start;
  }

  .features-box-wrap:nth-child(2) .vertical-text-box {
    right: auto;
    left: -40px;
    top: calc(50% - 30px);
  }

  .vertical-text {
    font-weight: 500;
    font-size: 13px;
    border-radius: 8px;
    padding: 20px 10px;
    background-color: #fff;
    writing-mode: vertical-rl;
    display: block;
  }

  /* 外枠（見た目・中央） */
  .vertical-text{
    font-weight: 500;
    font-size: 13px;
    border-radius: 8px;
    padding: 20px 10px;
    background-color: #fff;

    writing-mode: vertical-rl;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
  }

  /* 中身（文字だけ） */
  .vertical-inner{
    display: inline-block;
  }

  /* =========================
     iOS Safari だけ文字を補正
     ========================= */

    
  .features-illust_01 {
    z-index: 100;
    position: absolute;
    left: 0;
    max-width: 70px;
    width: 100%;
    bottom: -20px;
    left: -40px;
  }

  .wrap-number {
    left: 0;
    top: 30px;
    position: absolute;
    writing-mode: vertical-rl;
    line-height: 1;
    z-index: 100;
    color: #7acda9;
    font-family: "Amaranth", sans-serif;
    font-size: 42px;
  }

  .features-obj_01 {
    left: 0;
    top: 0;
    position: absolute;
    max-width: 203px;
    width: 100%;
    z-index: 100;
  }

  .features-text-box h4 {
    font-size: 22px;
    font-weight: 700;
    color: #0b6e44;
    margin-bottom: 20px;
  }

  .features-box .text {
    max-width: 515px;
    font-size: 14px;
    line-height: 28px;
    font-weight: 500;
    width: 100%;
  }

  .features-box::before {
    content: "";
    position: absolute;
    inset: 10px;
  }

  .features-box2-illust_01 {
    left: 5%;
    transform: translateX(0);
    bottom: -54px;
    position: absolute;
    max-width: 106px;
    width: 100%;
    z-index: 100;
  }

  .features-box2-illust_02 {
    right: 0;
    bottom: -54px;
    position: absolute;
    max-width: 106px;
    width: 100%;
    z-index: 100;
  }

  .features-illust_04 {
    max-width: 107px;
    width: 100%;
    position: absolute;
    bottom: -73px;
    right: -50px;
  }

  .features-box-wrap:nth-child(2) .wrap-number {
    right: 0;
    left: auto;
  }
}


/* 共通 */
.vertical-inner{
  display: inline-block;
  white-space: nowrap;
}

/* ===== PC Safari（画面幅関係なく） ===== */
@supports (background: -webkit-named-image(i)) {
  .vertical-inner{
    transform: translateX(-9px);
  }
}

/* ===== iPhone（480px以下） ===== */
@media (max-width:480px){
@supports (background: -webkit-named-image(i)) {
  .vertical-inner{
    padding-right: 0;
    transform: translateX(-6px);
  }
  }
}
/* =======================================
トップバナーエリア
======================================== */
.top-bnr-area {
  padding: 120px 0;
}

.top-bnr-area .row {
  gap: 40px 0;
}

.bnr-ttl {
  justify-content: flex-end;
  display: flex;
  gap: 0 40px;
  margin-top: 20px;
}

.bnr-ttl h3 {
  font-size: 24px;
  font-weight: 700;
  color: #0b0c0c;
}

.bnr-wrap {
  display: block;
  cursor: pointer;
}

.arrow-icon {
  transition: 0.7s;
  width: 39px;
  height: 39px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fe9c10;
  transform: translateX(-11px);
}

.bnr-wrap:hover .arrow-icon {
  transform: translateX(0);
}

.arrow-icon img {
  width: 16px;
}

@media (max-width: 1280px) {
  .bnr-ttl {
    justify-content: flex-end;
    display: flex;
    gap: 0 20px;
    margin-top: 20px;
  }

  .bnr-ttl h3 {
    font-size: 20px;
    font-weight: 700;
    color: #0b0c0c;
  }

  .arrow-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fe9c10;
  }
}

@media (max-width: 1080px) {
  .bnr-ttl {
    justify-content: flex-end;
    display: flex;
    margin-top: 20px;
  }

  .bnr-ttl h3 {
    font-size: 18px;
    font-weight: 700;
    color: #0b0c0c;
  }


}

@media (max-width: 991px) {
  .top-bnr-area {
    padding: 100px 0;
  }

  .bnr-ttl {
    justify-content: flex-end;
    display: flex;
    gap: 0 20px;
    margin-top: 20px;
  }

  .bnr-ttl h3 {
    font-size: 20px;
    font-weight: 700;
    color: #0b0c0c;
  }
}

@media (max-width:768px) {
  .top-bnr-list {
    max-width: 500px;
    margin: 0 auto;
  }

  .top-bnr-list>div {
    padding: 0;
  }

  .bnr-ttl {
    justify-content: flex-end;
    display: flex;
    gap: 0 10px;
    margin-top: 10px;
  }
}

@media (max-width:480px) {
  .top-bnr-area {
    padding: 80px 0;
  }

  .top-bnr-area .row {
    gap: 30px 0;
  }

  .bnr-ttl h3 {
    font-size: 18px;
    font-weight: 700;
    color: #0b0c0c;
  }

  .arrow-icon {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fe9c10;
  }

}

/* =======================================
採用情報
======================================== */
.recruit-area {
  position: relative;
  z-index: 101;
}

.recruit-area .recruit-box {
  max-width: 1510px;
  width: 100%;
  margin: 0 auto;
  border-radius: 30px;
  background-image: url('../images/top/top-recruit-bg.png');
  padding: 90px 129px;
  background-color: #257db7;
  position: relative;
}

.recruit-bird-illust {
  max-width: 361px;
  width: 100%;
  position: absolute;
  left: -37px;
  top: -15px;
}

.recruit-img-obj {
  max-width: 411px;
  width: 100%;
  position: absolute;
  left: -258px;
  top: -135px;
}

.hitsuji-ilust {
  position: absolute;
}

.recruit-img {
  position: relative;
}

.recruit-img-obj {
  position: absolute;
}

.recruit-left {
  max-width: 650px;
  width: 100%;
}

.recruit-area .sec-ttl-box {
  margin-bottom: 80px;
}

.recruit-area .sec-ttl-box h3 {
  color: #fff;
}

.recruit-area .sec-ttl-box .en {
  color: #fff;
}

.recruit-area .sec-ttl-box h3::after {
  background-color: #ffffff;
}

.recruit-area h4 {
  color: #fff;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 50px;
}

.recruit-area .text {
  font-size: 18px;
  color: #fff;
  line-height: 32px;
}

.recruit-area .flex-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.recruit-area .recruit-img {
  width: 484px;
}

.more-btn {
  cursor: pointer;
  max-width: 276px;
  background-color: #fe9c10;
  width: 100%;
  border-radius: 8px;
  height: 72px;
  font-size: 18px;
  font-weight: 500;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.7s;
  gap: 0 18px;
  margin-top: 40px;
}

.more-btn:hover {
  font-size: 20px;
}

.external-icon {
  width: 15px;
  font-size: 0;
}

.hitsuji-ilust {
  position: absolute;
  max-width: 204px;
  width: 100%;
  right: -100px;
  bottom: -70px;
}

@media (max-width: 1580px) {
  .recruit-area {
    padding-left: calc(15px + 50 * (100vw - 320px) / 1180);
    padding-right: calc(15px + 50 * (100vw - 320px) / 1180);
  }

  .recruit-area .recruit-box .flex-box {
    gap: 0 40px;
  }

  .recruit-area .recruit-box {
    padding: 90px 129px;
  }

  .recruit-img-obj {
    max-width: 211px;
    width: 100%;
    position: absolute;
    left: -88px;
    top: -20px;
  }

  .recruit-area .recruit-img {
    max-width: 484px;
    width: 100%;
  }
}

@media (max-width: 1380px) {
  .recruit-area .recruit-box {
    padding: 90px 59px;
  }

}

@media (max-width: 1180px) {
  .recruit-area .recruit-box {
    padding: 90px 30px 60px;
  }

  .recruit-area h4 {
    color: #fff;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 50px;
  }

  .recruit-img-obj {
    max-width: 211px;
    width: 100%;
    position: absolute;
    left: -28px;
    top: -80px;
  }

  .hitsuji-ilust {
    position: absolute;
    max-width: 134px;
    width: 100%;
    right: -50px;
    bottom: -70px;
  }
}

@media (max-width: 768px) {
  .recruit-area .flex-box {
    justify-content: space-between;
    align-items: center;
    flex-flow: column;
  }

  .recruit-area .recruit-box .flex-box {
    gap: 0 40px;
  }

  .recruit-left {
    margin-top: 20px;
  }

  .recruit-area .sec-ttl-box {
    margin-bottom: 40px;
  }

  .recruit-area h4 {
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
  }

  .recruit-area .text {
    font-size: 16px;
    color: #fff;
    line-height: 30px;
  }

  .more-btn {
    max-width: 246px;
    background-color: #fe9c10;
    width: 100%;
    border-radius: 8px;
    height: 62px;
    font-size: 18px;
    font-weight: 500;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0 18px;
    margin-top: 40px;
  }

  .recruit-bird-illust {
    max-width: 261px;
    width: 100%;
    position: absolute;
    left: -27px;
    top: -15px;
  }

  .recruit-img-obj {
    max-width: 211px;
    width: 100%;
    left: auto;
    position: absolute;
    right: -28px;
    top: -80px;
  }
}

@media (max-width: 480px) {
  .more-btn {
    max-width: 220px;
    background-color: #fe9c10;
    width: 100%;
    border-radius: 8px;
    height: 52px;
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0 18px;
    margin-top: 40px;
  }
  .more-btn:hover {
    font-size: 18px;
  }
  .hitsuji-ilust {
    position: absolute;
    max-width: 134px;
    width: 100%;
    right: -50px;
    bottom: -30px;
  }

  .recruit-area .text {
    font-size: 14px;
    color: #fff;
    line-height: 28px;
  }

  .recruit-bird-illust {
    max-width: 261px;
    width: 100%;
    position: absolute;
    left: -27px;
    top: -55px;
  }
}

