/* Benefits: each text location has its own class. */

.benefit {
  aspect-ratio: 1086 / 1448;
  color: rgb(9, 41, 72);
  background:
    url("../image2/03-benefits-template.webp") center top / cover no-repeat,
    rgb(255, 253, 248);
  line-height: 1;
  position: relative;
  overflow: hidden;
}
.benefit-title {
  z-index: 1;
  position: absolute;
}
.benefit-rank {
  z-index: 1;
  position: absolute;
}
.benefit-rank-02 {
  z-index: 1;
  position: absolute;
}
.benefit-rank-03 {
  z-index: 1;
  position: absolute;
}
.benefit-card {
  z-index: 1;
  position: absolute;
}
.benefit-card-02 {
  z-index: 1;
  position: absolute;
}
.benefit-card-03 {
  z-index: 1;
  position: absolute;
}
.benefit-cta {
  z-index: 1;
  position: absolute;
}
.benefit-title {
  text-align: center;
  text-shadow: rgba(255, 255, 255, 0.82) 0px 2px 2px;
  width: 100%;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-weight: 900;
  top: 4.7%;
  left: 0px;
}
.benefit-title p:where(.benefit-title-text) {
  margin: 0px;
  font-size: 28px;
  line-height: 1.2;
}
.benefit-title strong:where(.benefit-title-label) {
  margin-top: 5px;
  font-size: 36px;
  line-height: 1.08;
  display: block;
}
.benefit-rank {
  color: rgb(246, 206, 108);
  text-align: center;
  text-shadow: rgba(0, 0, 0, 0.24) 0px 1px 2px;
  width: 9%;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 32px;
  font-weight: 900;
  line-height: 1;
  left: 10.1%;
  transform: translate(-50%, -50%);
}
.benefit-rank-02 {
  color: rgb(246, 206, 108);
  text-align: center;
  text-shadow: rgba(0, 0, 0, 0.24) 0px 1px 2px;
  width: 9%;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 32px;
  font-weight: 900;
  line-height: 1;
  left: 10.1%;
  transform: translate(-50%, -50%);
}
.benefit-rank-03 {
  color: rgb(246, 206, 108);
  text-align: center;
  text-shadow: rgba(0, 0, 0, 0.24) 0px 1px 2px;
  width: 9%;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 32px;
  font-weight: 900;
  line-height: 1;
  left: 10.1%;
  transform: translate(-50%, -50%);
}
.benefit-rank {
  top: 27.9%;
}
.benefit-rank-02 {
  top: 48.3%;
}
.benefit-rank-03 {
  top: 69.2%;
}
.benefit-card {
  text-shadow: rgba(255, 255, 255, 0.92) 0px 2px 2px;
  width: 56.5%;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-weight: 900;
  left: 39.5%;
}
.benefit-card-02 {
  text-shadow: rgba(255, 255, 255, 0.92) 0px 2px 2px;
  width: 56.5%;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-weight: 900;
  left: 39.5%;
}
.benefit-card-03 {
  text-shadow: rgba(255, 255, 255, 0.92) 0px 2px 2px;
  width: 56.5%;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-weight: 900;
  left: 39.5%;
}
.benefit-card {
  top: 25.4%;
}
.benefit-card-02 {
  top: 45.8%;
}
.benefit-card-03 {
  top: 66.8%;
}
.benefit-card h2:where(.benefit-card-heading) {
  color: rgb(9, 41, 72);
  white-space: nowrap;
  margin: 0px 0px 17px;
  font-size: 17.8px;
  line-height: 1.22;
}
.benefit-card-02 h2:where(.benefit-card-02-heading) {
  color: rgb(9, 41, 72);
  white-space: nowrap;
  margin: 0px 0px 17px;
  font-size: 17.8px;
  line-height: 1.22;
}
.benefit-card-03 h2:where(.benefit-card-03-heading) {
  color: rgb(9, 41, 72);
  white-space: nowrap;
  margin: 0px 0px 17px;
  font-size: 17.8px;
  line-height: 1.22;
}
.benefit-card p:where(.benefit-card-text) {
  color: rgb(37, 35, 35);
  margin: 0px;
  font-size: 11.8px;
  font-weight: 800;
  line-height: 1.4;
}
.benefit-card p:where(.benefit-card-text-02) {
  color: rgb(37, 35, 35);
  margin: 0px;
  font-size: 11.8px;
  font-weight: 800;
  line-height: 1.4;
}
.benefit-card-02 p:where(.benefit-card-02-text) {
  color: rgb(37, 35, 35);
  margin: 0px;
  font-size: 11.8px;
  font-weight: 800;
  line-height: 1.4;
}
.benefit-card-02 p:where(.benefit-card-02-text-02) {
  color: rgb(37, 35, 35);
  margin: 0px;
  font-size: 11.8px;
  font-weight: 800;
  line-height: 1.4;
}
.benefit-card-02 p:where(.benefit-card-02-text-03) {
  color: rgb(37, 35, 35);
  margin: 0px;
  font-size: 11.8px;
  font-weight: 800;
  line-height: 1.4;
}
.benefit-card-03 p:where(.benefit-card-03-text) {
  color: rgb(37, 35, 35);
  margin: 0px;
  font-size: 11.8px;
  font-weight: 800;
  line-height: 1.4;
}
.benefit-card-03 p:where(.benefit-card-03-text-02) {
  color: rgb(37, 35, 35);
  margin: 0px;
  font-size: 11.8px;
  font-weight: 800;
  line-height: 1.4;
}
.benefit-card span:where(.benefit-card-text-02-text) {
  color: rgb(241, 92, 69);
}
.benefit-card-02 span:where(.benefit-card-02-text-02-text) {
  color: rgb(241, 92, 69);
}
.benefit-card-03 span:where(.benefit-card-03-text-02-text) {
  color: rgb(241, 92, 69);
}
.benefit-cta {
  color: rgb(255, 255, 255);
  text-align: center;
  text-shadow: rgba(0, 0, 0, 0.28) 0px 2px 2px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 92.4%;
  height: 14.4%;
  padding: 0 12% 0 24%;
  font-weight: 900;
  text-decoration: none;
  display: flex;
  top: 82.9%;
  left: -0.2%;
}
.benefit-cta strong:where(.benefit-cta-label) {
  white-space: nowrap;
  font-size: 14px;
  line-height: 1.35;
  display: block;
}
.benefit-cta strong span:where(.benefit-cta-label-text) {
  color: rgb(247, 199, 95);
}
.benefit-cta small:where(.benefit-cta-detail) {
  white-space: nowrap;
  margin-top: 9px;
  font-size: 13px;
  line-height: 1.2;
  display: block;
}
@media (max-width: 400px) {
  .benefit-title p:where(.benefit-title-text) {
    font-size: 28px;
  }
  .benefit-title strong:where(.benefit-title-label) {
    font-size: 38px;
  }
  .benefit-card h2:where(.benefit-card-heading) {
    margin-bottom: 11px;
    font-size: 15.9px;
  }
  .benefit-card-02 h2:where(.benefit-card-02-heading) {
    margin-bottom: 11px;
    font-size: 15.9px;
  }
  .benefit-card-03 h2:where(.benefit-card-03-heading) {
    margin-bottom: 11px;
    font-size: 15.9px;
  }
  .benefit-card p:where(.benefit-card-text) {
    font-size: 10.8px;
    line-height: 1.62;
  }
  .benefit-card p:where(.benefit-card-text-02) {
    font-size: 10.8px;
    line-height: 1.62;
  }
  .benefit-card-02 p:where(.benefit-card-02-text) {
    font-size: 10.8px;
    line-height: 1.62;
  }
  .benefit-card-02 p:where(.benefit-card-02-text-02) {
    font-size: 10.8px;
    line-height: 1.62;
  }
  .benefit-card-02 p:where(.benefit-card-02-text-03) {
    font-size: 10.8px;
    line-height: 1.62;
  }
  .benefit-card-03 p:where(.benefit-card-03-text) {
    font-size: 10.8px;
    line-height: 1.62;
  }
  .benefit-card-03 p:where(.benefit-card-03-text-02) {
    font-size: 10.8px;
    line-height: 1.62;
  }
}
.benefit-cta::after {
  content: "LINE";
  position: absolute;
  left: 13.27%;
  top: 41.5%;
  width: 12.4%;
  height: 68%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #06c755; /* 緑（白い吹き出しの上なので） */
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  text-shadow: none; /* 親の影を消す */
  pointer-events: none; /* クリックの邪魔をしない */
  white-space: nowrap; /* 縦に潰れて"線"にならないよう保険 */
}

/* Keep each number centered while its type size changes with the LP canvas. */
@container (max-width: 400px) {
  .benefit-rank { font-size: 28px; }
  .benefit-rank-02 { font-size: 28px; }
  .benefit-rank-03 { font-size: 28px; }
  .benefit-cta::after { font-size: 11px; }
  .benefit-cta strong:where(.benefit-cta-label) { font-size: 12.8px; }
  .benefit-cta small:where(.benefit-cta-detail) { font-size: 11.7px; margin-top: 7px; }
}
@container (max-width: 360px) {
  .benefit-rank { font-size: 26px; }
  .benefit-rank-02 { font-size: 26px; }
  .benefit-rank-03 { font-size: 26px; }
  .benefit-cta::after { font-size: 10.5px; }
  .benefit-cta strong:where(.benefit-cta-label) { font-size: 12.3px; }
  .benefit-cta small:where(.benefit-cta-detail) { font-size: 11px; margin-top: 6px; }
}
@container (max-width: 330px) {
  .benefit-rank { font-size: 23px; }
  .benefit-rank-02 { font-size: 23px; }
  .benefit-rank-03 { font-size: 23px; }
  .benefit-cta::after { font-size: 9.5px; }
  .benefit-cta strong:where(.benefit-cta-label) { font-size: 10.5px; }
  .benefit-cta small:where(.benefit-cta-detail) { font-size: 9.8px; margin-top: 5px; }
}
