.hp-fv {
  aspect-ratio: 1920 / 628;
  position: relative;
}

.hp-fv-bg {
  position: absolute;
  inset: 0; /* top: 0; right: 0; bottom: 0; left: 0 と同義 */
  background: url(../../img/hp/about-fv.webp) center center / cover no-repeat;
  clip-path: inset(0 100% 0 0); /* 初期状態：右100%カット */
  animation: revealFromLeft 1s ease-out forwards;
}

@keyframes revealFromLeft {
  0% {
    clip-path: inset(0 100% 0 0);
  }
  100% {
    clip-path: inset(0 0 0 0);
  }
}

.hp-fv-title {
  position: absolute;
  bottom: 20%;
  left: 5%;
  color: #0eaed0;
  font-size: 50px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.7;
  white-space: nowrap;
}

.hp-fv-title > span:first-of-type {
  font-size: 40px;
  color: #272727;
}

.hp-about-difference {
  padding: 9.764% 0 0;
  margin-bottom: 7.3499%;
}

.hp-about-difference-container {
  width: 100%;
  position: relative;
}

.hp-about-difference-text {
  width: 95%;
  max-width: 1100px;
  margin: 0 auto 4.2%;
}

.hp-about-difference-title {
  font-size: 26px;
  font-weight: 900;
  line-height: 1.65;
  margin-bottom: 7.183%;
  color: #0eaed0;
}

.hp-about-difference-text > p {
  font-size: 16px;
  font-weight: 500;
  line-height: 3;
  color: #272727;
}

.hp-about-difference-img {
  width: 95%;
  max-width: 1100px;
  margin: 0 auto;
}

@media (min-width: 769px) {
  .scrolling-bg-container {
    overflow: hidden;
    width: 100%;
    position: relative;
    height: auto;
    position: absolute;
    width: 100%;
    top: -2%;
  }

  .scrolling-bg-wrapper {
    display: flex;
    gap: 2rem; /* ← 画像間のスペース */
    animation: scroll-left 20s linear infinite;
  }

  .scrolling-bg-wrapper img {
    flex-shrink: 0;
    width: 100vw;
    height: auto;
  }

  @keyframes scroll-left {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(calc(-100vw - 2rem));
    }
  }
}

.hp-about-difference-bg2 {
  position: absolute;
  width: 40.473%;
  right: 3%;
  top: 26%;
  z-index: -1;
}

.hp-about-price {
  position: relative;
}

.hp-about-price-container {
  background: linear-gradient(
    to right,
    rgb(2, 155, 212) 0%,
    rgb(2, 179, 230) 100%
  );
  width: 88.189%;
  position: relative;
  padding-top: 6.7198%;
  padding-bottom: 4.462%;
  position: relative;
  border-radius: 0 20px 20px 0;
}

.hp-about-price-container > h3 {
  font-family: "Helvetica Neue", sans-serif;
  font-size: 88px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0.1em;
  color: #fff;
  width: 95%;
  max-width: 930px;
  margin: 0 auto 4.762%;
  text-align: left;
}

.hp-about-price-text-container {
  width: 95%;
  max-width: 930px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.hp-about-price-text {
  color: #fff;
}

.hp-about-price-text > h4 {
  font-size: 32px;
  font-weight: 900;
  margin-bottom: 21.862%;
}

.hp-about-price-text > p {
  font-size: 16px;
  font-weight: 500;
  line-height: 3;
  margin-bottom: 5.7%;
}

.hp-about-price-img {
  width: 28.567%;
}

.hp-about-merit {
  padding: 9.292% 0 6.3%;
  position: relative;
}

.hp-top-section-title {
  font-size: 26px;
  font-weight: 900;
  text-align: center;
  color: #0eaed0;
  letter-spacing: 0.1em;
  margin-bottom: 4.2%;
}

.hp-about-merit-text {
  font-size: 16px;
  letter-spacing: 0.05em;
  color: #272727;
  text-align: center;
  line-height: 3;
  margin-bottom: 6.457%;
}

.hp-about-merit-table {
  width: 95%;
  max-width: 1100px;
  margin: 0 auto 3.1%;
}

.hp-about-merit-table-row1,
.hp-about-merit-table-row2,
.hp-about-merit-table-row3 {
  display: flex;
  align-items: stretch;
}

.hp-about-merit-table-row1 {
  margin-bottom: 3.637%;
}

.hp-about-merit-table-row1 > p:first-of-type {
  width: 8.91%;
  margin-right: 2.183%;
}

.hp-about-merit-table-row1 > p:nth-of-type(2),
.hp-about-merit-table-row1 > p:nth-of-type(3) {
  width: 41.728%;
  text-align: center;
  border: 1px solid #02b3e6;
  padding: 3.546% 0;
  border-radius: 10px;
}

.hp-about-merit-table-row1 > p:nth-of-type(2) {
  margin-right: 5.546%;
}

.hp-about-merit-table-row2 {
  margin-bottom: 2%;
}

.hp-about-merit-table-row2 > p:first-of-type {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.2em;
  writing-mode: vertical-rl;
  text-orientation: upright;
  width: 8.91%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #0eaed0;
  border-radius: 10px;
  color: #fff;
  margin-right: 2.183%;
  margin-bottom: 2%;
}

.hp-about-merit-table-row2 > ul:nth-of-type(1),
.hp-about-merit-table-row2 > ul:nth-of-type(2) {
  width: 45.728%;
  padding: 0 0 3.546%;
}

.hp-about-merit-table-row2 > ul:nth-of-type(1),
.hp-about-merit-table-row2 > ul:nth-of-type(2) {
  border-bottom: 1px solid #02b3e6;
  margin-right: 5.546%;
  position: relative;
}

.hp-about-merit-table-row2 > ul:nth-of-type(2) {
  margin-right: 0;
}

.hp-about-merit-table-row2 > ul:nth-of-type(1)::after {
  position: absolute;
  content: "";
  width: 1px;
  height: 95%;
  background-color: #02b3e6;
  top: 0;
  right: -6%;
}

.hp-about-merit-table-row2 > ul:nth-of-type(1) > li,
.hp-about-merit-table-row2 > ul:nth-of-type(2) > li {
  padding-left: 1em;
  position: relative;
  font-size: 16px;
  font-weight: 500;
  line-height: 2.5;
  margin-left: 15px;
  margin-bottom: 2em;
}

.hp-about-merit-table-row2 > ul:nth-of-type(1) > li:last-of-type,
.hp-about-merit-table-row2 > ul:nth-of-type(2) > li:last-of-type {
  margin-bottom: 0;
}

.hp-about-merit-table-row2 > ul:nth-of-type(1) > li::before,
.hp-about-merit-table-row2 > ul:nth-of-type(2) > li::before {
  content: "・";
  margin-left: calc(-1em - 5px);
}

.hp-about-merit-table-row3 {
  margin-bottom: 2%;
}

.hp-about-merit-table-row3 > p:first-of-type {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.2em;
  writing-mode: vertical-rl;
  text-orientation: upright;
  width: 8.91%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #e7edee;
  border-radius: 10px;
  color: #272727;
  margin-right: 2.183%;
  margin-bottom: 2%;
}

.hp-about-merit-table-row3 > ul:nth-of-type(1),
.hp-about-merit-table-row3 > ul:nth-of-type(2) {
  width: 41.728%;
  padding: 0 0 3.546%;
}

.hp-about-merit-table-row3 > ul:nth-of-type(1),
.hp-about-merit-table-row3 > ul:nth-of-type(2) {
  margin-right: 5.546%;
  position: relative;
}

.hp-about-merit-table-row3 > ul:nth-of-type(2) {
  margin-right: 0;
}

.hp-about-merit-table-row3 > ul:nth-of-type(1)::after {
  position: absolute;
  content: "";
  width: 1px;
  height: 95%;
  background-color: #02b3e6;
  top: 0;
  right: -6%;
}

.hp-about-merit-table-row3 > ul:nth-of-type(1) > li,
.hp-about-merit-table-row3 > ul:nth-of-type(2) > li {
  padding-left: 1em;
  position: relative;
  font-size: 16px;
  font-weight: 500;
  line-height: 2.5;
  margin-left: 15px;
  margin-bottom: 2em;
}

.hp-about-merit-table-row3 > ul:nth-of-type(1) > li:last-of-type,
.hp-about-merit-table-row3 > ul:nth-of-type(2) > li:last-of-type {
  margin-bottom: 0;
}

.hp-about-merit-table-row3 > ul:nth-of-type(1) > li::before,
.hp-about-merit-table-row3 > ul:nth-of-type(2) > li::before {
  content: "・";
  margin-left: calc(-1em - 5px);
}

.hp-about-know-how-text {
  width: 95%;
  max-width: 1100px;
  margin: 0 auto;
  background: url(../../img/hp/about-know-how-img.png) center center/cover no-repeat;
  position: relative;
  aspect-ratio: 1100 / 294;
  clip-path: inset(0 100% 0 0); /* ← 初期状態：右側100%隠す */
}

.hp-about-know-how-text > span {
  position: absolute;
  top: 50%;
  left: 9%;
  transform: translateY(-50%);
  font-size: 24px;
  font-weight: 500;
  line-height: 2;
  letter-spacing: 0.05em;
  color: #fff;
}

.hp-about-merit-bg {
  position: absolute;
  top: 7%;
  z-index: -1;
}

@media screen and (max-width: 1100px) {
  .hp-fv-title {
    font-size: 36px;
  }

  .hp-fv-title > span:first-of-type {
    font-size: 26px;
  }
}

@media screen and (max-width: 1104px) {
  .hp-about-price-container > h3 {
    font-size: 60px;
  }
}

@media screen and (max-width: 768px) {
  .hp-fv {
    /* background: url("../../img/hp/sp/about-fv.png") center center/cover no-repeat; */
    aspect-ratio: 750 / 389;
  }

  .hp-fv-bg {
    background: url(../../img/hp/sp/about-fv.png) center center / cover no-repeat;
  }

  .hp-fv-title {
    bottom: 30%;
    font-size: 30px;
  }

  .hp-fv-title > span:first-of-type {
    font-size: 26px;
  }

  .hp-about-difference {
    padding: 13.878% 0 0;
    margin-bottom: 16.328%;
  }

  .hp-about-difference-text {
    width: 95%;
    max-width: 630px;
    margin: 0 auto 14.967%;
  }

  .hp-about-difference-title {
    font-size: 21px;
    margin-bottom: 15.875%;
  }

  .hp-about-difference-text > p {
    font-size: 14px;
    line-height: 2.69;
  }

  .hp-about-difference-img {
    max-width: 672px;
  }

  .hp-about-difference-bg {
    position: absolute;
    width: 69.4%;
    top: -5%;
    left: 50%;
    transform: translateX(-50%);
  }

  .hp-about-difference-bg2 {
    width: 64.764%;
    right: -15%;
    top: initial;
    bottom: 29%;
  }

  .hp-about-price-container {
    width: 96.6%;
    padding-top: 16.327%;
    padding-bottom: 16.327%;
    position: relative;
  }

  .hp-about-price-container > h3 {
    font-size: 90px;
    max-width: 612px;
    margin: 0 auto 11.268%;
  }

  .hp-about-price-text-container {
    max-width: 612px;
  }

  .hp-about-price-text > h4 {
    margin-bottom: 16.848%;
    font-size: 20px;
  }

  .hp-about-price-text > p {
    font-size: 14px;
    line-height: 2.5;
    margin-bottom: 0;
  }

  .hp-about-price-img {
    width: 37.418%;
    position: absolute;
    top: 18%;
    right: 2%;
  }

  .hp-about-merit {
    padding: 16.327% 0 16.327%;
  }

  .hp-top-section-title {
    font-size: 32px;
    color: #0eaed0;
    margin-bottom: 13.607%;
  }

  .hp-about-merit-text {
    font-size: 15px;
    text-align: center;
    line-height: 2.69;
    margin-bottom: 9.66%;
  }

  .hp-about-merit-table {
    max-width: 670px;
    margin: 0 auto 13.1%;
  }

  .hp-about-merit-table-row1 {
    margin-bottom: 4.478%;
  }

  .hp-about-merit-table-row1 > p:first-of-type {
    width: 8.97%;
    margin-right: 2.987%;
  }

  .hp-about-merit-table-row1 > p:nth-of-type(2),
  .hp-about-merit-table-row1 > p:nth-of-type(3) {
    width: 43.86%;
    padding: 2.538% 0;
    font-size: 28px;
  }

  .hp-about-merit-table-row1 > p:nth-of-type(2) {
    margin-right: 5.523%;
  }

  .hp-about-merit-table-row2 > p:first-of-type {
    font-size: 18px;
    width: 8.97%;
    margin-right: 2.987%;
  }

  .hp-about-merit-table-row2 > ul:nth-of-type(1),
  .hp-about-merit-table-row2 > ul:nth-of-type(2) {
    width: 43.86%;
    padding: 0 0 3.546%;
  }

  .hp-about-merit-table-row2 > ul:nth-of-type(1),
  .hp-about-merit-table-row2 > ul:nth-of-type(2) {
    margin-right: 2.987%;
    position: relative;
  }

  .hp-about-merit-table-row2 > ul:nth-of-type(1)::after {
    right: -7%;
  }

  .hp-about-merit-table-row2 > ul:nth-of-type(1) > li,
  .hp-about-merit-table-row2 > ul:nth-of-type(2) > li {
    font-size: 12.1px;
    line-height: 1.73;
    margin-left: 15px;
    margin-bottom: 2em;
  }

  .hp-about-merit-table-row2 > ul:nth-of-type(1) > li:last-of-type,
  .hp-about-merit-table-row2 > ul:nth-of-type(2) > li:last-of-type {
    margin-bottom: 0;
  }

  .hp-about-merit-table-row3 {
    margin-bottom: 2%;
  }

  .hp-about-merit-table-row3 > p:first-of-type {
    font-size: 18px;
    width: 8.97%;
    margin-right: 2.987%;
  }

  .hp-about-merit-table-row3 > ul:nth-of-type(1),
  .hp-about-merit-table-row3 > ul:nth-of-type(2) {
    width: 43.86%;
    padding: 0 0 3.546%;
  }

  .hp-about-merit-table-row3 > ul:nth-of-type(1),
  .hp-about-merit-table-row3 > ul:nth-of-type(2) {
    margin-right: 2.987%;
    position: relative;
  }

  .hp-about-merit-table-row3 > ul:nth-of-type(1)::after {
    right: -7%;
  }

  .hp-about-merit-table-row3 > ul:nth-of-type(1) > li,
  .hp-about-merit-table-row3 > ul:nth-of-type(2) > li {
    font-size: 12px;
    line-height: 1.73;
    margin-left: 15px;
    margin-bottom: 2em;
  }

  .hp-about-know-how-text {
    max-width: 670px;
    background: url(../../img/hp/sp/about-know-how-img.png) center center / cover
      no-repeat;
    aspect-ratio: 670 / 220;
  }

  .hp-about-know-how-text > span {
    left: 6%;
    font-size: 28px;
    line-height: 1.79;
  }

  .hp-about-merit-bg {
    position: absolute;
    top: 7%;
    z-index: -1;
  }
}

@media screen and (max-width: 570px) {
  .hp-fv-title {
    bottom: 30%;
    font-size: 26px;
  }

  .hp-fv-title > span:first-of-type {
    font-size: 22px;
  }
}

@media screen and (max-width: 500px) {
  .hp-fv-title {
    bottom: 30%;
    font-size: 20px;
  }

  .hp-fv-title > span:first-of-type {
    font-size: 16px;
  }
}

@media screen and (max-width: 600px) {
  .hp-about-difference-bg {
    position: absolute;
    width: 69.4%;
    top: -3%;
  }
}

@media screen and (max-width: 520px) {
  .hp-about-difference-bg {
    position: absolute;
    width: 69.4%;
    top: -1%;
  }
}

@media screen and (max-width: 650px) {
  .hp-about-price-container > h3 {
    font-size: 50px;
  }
}

@media screen and (max-width: 600px) {
  .hp-top-section-title {
    font-size: 26px;
  }
}

@media screen and (max-width: 700px) {
  .hp-about-merit-table-row1 > p:nth-of-type(2),
  .hp-about-merit-table-row1 > p:nth-of-type(3) {
    font-size: 20px;
  }
}

@media screen and (max-width: 575px) {
  .hp-about-know-how-text > span {
    font-size: 16px;
  }
}
