/*  */
.page-wrapper {
  position: relative;
}

.deco50,
.deco51,
.deco52,
.deco53,
.deco54 {
  position: absolute;
  z-index: -1;
  pointer-events: none;
  max-width: 100%;
}

/* ネコdeco50個別の位置調整 */
.deco50 {
  top: 15%;
  right: 1%;
  width: 18%;
  z-index: 10;
}

/* ネコdeco51個別の位置調整 */
.deco51 {
  top: 45%;
  left: 1%;
  width: 18%;
  z-index: 10;
}

/* 線deco52個別の位置調整 */
.deco52 {
  top: 35%;
  right: 0%;
  width: 12%;
  z-index: 10;
}

/* 線deco53個別の位置調整 */
.deco53 {
  bottom: 20%;
  left: 0%;
  width: 12%;
  z-index: 10;
}

/* 線deco54個別の位置調整 */
.deco54 {
  bottom: 4%;
  right: 0%;
  width: 12%;
  z-index: 10;
}
/*  */


/* 白枠のメインカード */
.main-card {
  width: 70%;
  max-width: 1100px;
  border: 5px solid #00a693;
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0,0,0,0.2);
  z-index: 20;
  margin: 0 auto;
  margin-bottom: 30px;
  position: relative;
}

.main-card .card-header {
    background-color: #00a693;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  z-index: 10
}

.main-card .card-header h2.title {
  color: white;
  margin: 0;
  font-size: clamp(18px, 2.3vw, 26px);
  letter-spacing: 0.05em;
}

/* ボタン */
.btn-detail.pc-only {
  background: white;
  color: #ff8c00;
  text-decoration: none;
  font-weight: bold;
  padding: 8px 25px;
  border-radius: 12px;
  border: 4px solid #ff8c00;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
}
.btn-detail.sp-only {
  background: #ff8c00;
  color: #fff;
  font-weight: bold;
  padding: 8px 25px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  text-align: center;
}
.btn-detail.sp-only img {
  padding-left: 7px;
  padding-bottom: 4px;
}

.card-body {
  padding: 30px;
}

.intro-box {
  background: white;
  padding: 25px 30px;
  border-radius: 15px;
  margin-bottom: 35px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.intro-box p {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: #111;
}

.feature-row {
  display: flex;
  margin-bottom: 10px;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
  border-radius: 20px;
  background-color: #fff;
}

.label-col {
  flex: 0 0 240px;
  background-color: #bdf2e9;
  border-radius: 15px 0 0 15px;
  display: flex;
  align-items: center;
  font-weight: bold;
  font-size: 16px;
  color: #333;
  padding: 20px;
  margin: 5px;
}

.arrow-col {
  display: flex;
  align-items: center;
  padding-left: 0;
}

.green-arrow {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 0 10px 15px;
  border-color: transparent transparent transparent #33b1a2;
}

.text-col {
  flex: 1;
  background-color: #fff;
  color: black;
  padding: 20px 25px;
  border-radius: 0 15px 15px 0;
  font-size: 14px;
  line-height: 1.6;
  display: flex;
  align-items: center;
  position: relative;
}
.text-col img {
    position: absolute;
    left: -15px;
}


/* タイトルとリストを囲むコンテナ */
.order-features-container {
    background-color: #fff;
    padding: 20px 30px;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    max-width: 1200px;
    margin: 0 auto;
    margin-bottom: 20px;
}

/* タイトルのスタイル */
.features-wrapper {
    margin: 0;
    font-size: 20px;
    font-weight: bold;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
}

.features-wrapper::before {
    content: "";
    display: block;
    width: 6px;
    height: 24px;
    background-color: #1bb299;
    border-radius: 3px;
}

.order-features-list {
    display: flex;
    padding: 0;
    margin: 20px 0 0;
    list-style: none;
}

.order-features-list li {
  margin-right: 30px;
  position: relative;
  transition: all 0.4s;
}

.order-features-list li a p {
  background-color: #e8f7f5;
  border: 3px solid #1bb299;
  border-radius: 20px;
  width: 240px;
  height: 120px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-weight: bold;
  transition: background-color 0.4s;
  position: relative;
  z-index: 2;
  font-size: clamp(16px, 2.5vw, 20px);
  line-height: 1.5;
}

/* 下向き三角形 */
.order-features-list li::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 15px 15px 0 15px;
  border-color: #1bb299 transparent transparent transparent;
  transition: bottom 0.4s ease;
  z-index: 10;
}

.order-features-list li:hover a p {
  background-color: #bbe8e0;
}
.order-features-list li:hover::after {
  bottom: -15px;
}

@media screen and (max-width: 1185px) {
.order-features-list li {
  margin-right: 5px;
}
.order-features-list li a p {
    /* width: 170px;
    
    margin-right: 10px; */
  }
}
@media screen and (max-width: 1024px) {
  .fv-catch {
    height: 146px;
  }
  .order-features-list {
    flex-direction: column;
    gap: 10px;
    margin-right: 0px;
  }

  .order-features-list li a p {
    width: 100%;
    height: 60px;
    padding: 0 20px;
    justify-content: flex-start;
    text-align: left;
    border-radius: 12px;
    box-sizing: border-box;
  }

  /* 三角形を右側に移動 */
  .order-features-list li::after {
    top: 50%;
    right: 20px;
    bottom: auto;
    left: auto;
    transform: translateY(-50%);
    
    /* 下向き矢印 */
    border-width: 8px 8px 0 8px;
    transition: right 0.3s ease;
  }


  /* 各機能 */
  .feature-row {
    display: block;
    background-color: #fff;
    padding: 15px;
    border-radius: 20px;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
  }

  .label-col {
    width: 100%;
    box-sizing: border-box;
    border-radius: 10px;
    margin: 0;
    padding: 15px;
    min-height: auto;
    flex: none;
    text-align: center;
    display: block;
  }

  .text-col {
    padding: 30px 10px 10px 10px;
    background-color: transparent;
    border-radius: 0;
    box-shadow: none;
    display: block;
  }

  /* 矢印の配置調整 */
  .text-col img {
    position: absolute;
    top: -7px;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 20px;
    transform: rotate(90deg);
  }
  .main-card {
    width: 100%;
  }
  .card-body {
    padding: 10px;
  }
  .intro-box {
    margin-bottom: 20px;
  }

}