.hp-fv {
  aspect-ratio: 1920 / 740;
  position: relative;
  overflow: hidden; /* マスクで切り取るため */
}

.hp-fv-bg {
  position: absolute;
  inset: 0; /* top: 0; right: 0; bottom: 0; left: 0 と同義 */
  background: url(../../img/hp/top-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: 40%;
  top: 18.245%;
  left: 7.813%;
  color: #e1782e;
  font-size: 40px;
  font-weight: 900;
  letter-spacing: 0.05em;
  line-height: 1.7;
  white-space: nowrap;
}

.hp-fv-title > span {
  margin-top: 12.204%;
  font-weight: 500;
  display: block;
  line-height: 1.6;
}

.hp-fv-title > span > span {
  background: linear-gradient(to right, #e1782e 0%, #e1782e 100%);
  padding: 0.5% 2%;
  color: #fff;
  font-size: 32px;
}

.hp-fv-text {
  font-size: 11px;
  position: absolute;
  top: 25px;
  right: 32px;
  line-height: 1.4;
}

.hp-top-service {
  margin-top: -8%;
  padding: 15.365% 0 5.209%;
  background: url(../../img/hp/hp-top-service-bg.jpg) bottom center / cover
    no-repeat;
}

.hp-top-service-container {
  width: 100%;
  position: relative;
}

.hp-top-service-title {
  font-size: 26px;
  font-weight: 900;
  line-height: 1.65;
  text-align: center;
  margin-bottom: 4.219%;
  color: #fff;
}

.hp-top-service-text > p {
  font-size: 16px;
  font-weight: 500;
  line-height: 3;
  text-align: center;
  color: #fff;
}

.fill-fade {
  fill: #e7f5f3;
  opacity: 0;
  animation: fadeFill 2s ease-out forwards;
}

@keyframes fadeFill {
  to {
    opacity: 1;
  }
}

.hp-top-about {
  padding: 18.2299% 0 0;
  margin-bottom: 18.2298%;
  position: relative;
  background: url(../../img/hp/top-about-bg.jpg) center center / cover repeat-y;
}

.hp-top-about-battery {
  background: #fefceb;
  width: 83.8545%;
  position: relative;
  padding-top: 22%;
  padding-bottom: 5.209%;
  margin: 0 0 0 auto;
  position: relative;
  border-radius: 0 20px 20px 0;
}

.hp-top-about-battery > h3 {
  font-family: "Helvetica Neue", sans-serif;
  font-style: italic;
  font-size: 91px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0.05em;
  color: #e1782e;
  position: absolute;
  top: -14%;
  right: 9%;
  z-index: 2;
}

.hp-top-about-battery > h3 > span {
  color: #029fd8;
}

.hp-top-about-battery-text {
  margin: 0 auto;
  color: #252620;
  padding: 0 4%;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 4%;
}

.hp-top-about-battery-text-left {
  width: 27.275%;
}

.hp-top-about-battery-text-left > h4 {
  font-size: 32px;
  font-weight: 900;
  margin-bottom: 8.323%;
}

.hp-top-about-battery-text-left > a {
  display: block;
  width: 100%;
  padding: 7.426% 0;
  border-radius: 40px;
  position: relative;
  text-align: center;
  z-index: 2;
  border: 1px solid #f8d41c;
	overflow:hidden;
}

.hp-top-about-battery-text-left > a::before {
  display: block;
  position: absolute;
  top: 0px;
  left: 0px;
  height: 100%;
  width: 100%;
  z-index: 0;
  content: "";
  color: #000 !important;
  background: linear-gradient(to right, #f8d41c 0%, #ffb905 100%);
  border-radius: 40px;
  transition: all 0.4s cubic-bezier(0.42, 0, 0.58, 1);
	z-index:-2;
}

/* .hp-top-about-battery-text-left > a:hover::before {
  left: auto;
  right: 0;
  width: 0;
} */

.hp-top-about-battery-text-left > a::after {
  content: "";
  position: absolute;
  width: 150%;
  z-index: -1;
  inset: 0;
  background: linear-gradient(to right, #f27200 0%, #f27200 100%);
  border-radius: 40px;
	background:#f27200;
	  transform: translateX(-100%); 
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.hp-top-about-battery-text-left > a:hover::after{
	transform: translateX(0); 
}
.hp-top-about-battery-text-left > a:hover{
	opacity:1;
	color:#fff;
}
.hp-top-about-battery-text-left > a > span:first-of-type {
  position: relative;
}

.hp-top-about-battery-text-left > a > span:last-of-type {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 4.525%;
  font-size: 1em;
  line-height: 0;
  background-color: #fff;
  aspect-ratio: 1 / 1;
  padding: 6.787%;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
	color:#333;
}

.hp-top-about-battery-text > p {
  width: 49%;
  font-size: 16px;
  font-weight: 500;
  line-height: 3;
}

.hp-top-about-battery-img {
  width: 69.4799%;
  position: absolute;
  top: 13%;
  left: 0%;
}

.hp-top-about2 {
  padding: 0;
  margin-bottom: 18.2298%;
  position: relative;
}

.hp-top-flow-merit-demerit {
  background: #fdf1e6;
  width: 83.8545%;
  position: relative;
  padding-top: 20.1045%;
  padding-bottom: 5.209%;
  position: relative;
  border-radius: 0 20px 20px 0;
}

.hp-top-flow-merit-demerit > h3 {
  font-family: "Helvetica Neue", sans-serif;
  font-style: italic;
  font-size: 89px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0.05em;
  color: #e1782e;
  position: absolute;
  top: -14%;
  left: 5%;
  z-index: 2;
}

.hp-top-flow-merit-demerit-text {
  margin: 0 auto;
  color: #252620;
  padding: 0 4%;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 4%;
}

.hp-top-flow-merit-demerit-text-left {
  width: 29.275%;
}

.hp-top-flow-merit-demerit-text-left > h4 {
  font-size: 32px;
  font-weight: 900;
  line-height: 1.75;
  margin-bottom: 8.323%;
}

.hp-top-flow-merit-demerit-text-left > a {
  display: block;
  width: 100%;
  padding: 7.426% 0;
  border-radius: 40px;
  position: relative;
  text-align: center;
  z-index: 2;
  border: 1px solid #f8d41c;
	overflow:hidden;
}

.hp-top-flow-merit-demerit-text-left > a::before {
  display: block;
  position: absolute;
  top: 0px;
  left: 0px;
  height: 100%;
  width: 100%;
  z-index: 0;
  content: "";
  color: #000 !important;
  background: linear-gradient(to right, #f8d41c 0%, #ffb905 100%);
  border-radius: 40px;
  transition: all 0.4s cubic-bezier(0.42, 0, 0.58, 1);
	z-index:-2;
}

/* .hp-top-flow-merit-demerit-text-left > a:hover::before {
  left: auto;
  right: 0;
  width: 0;
} */

.hp-top-flow-merit-demerit-text-left > a::after {
  content: "";
  position: absolute;
  width: 150%;
  z-index: -1;
  inset: 0;
  background: linear-gradient(to right, #f27200 0%, #f27200 100%);
  border-radius: 40px;
	background:#f27200;
	  transform: translateX(-100%); 
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.hp-top-flow-merit-demerit-text-left > a:hover::after{
	transform: translateX(0);
}

.hp-top-flow-merit-demerit-text-left > a > span:first-of-type {
  position: relative;
}

.hp-top-flow-merit-demerit-text-left > a:hover{
	opacity:1;
	color:#fff;
}

.hp-top-flow-merit-demerit-text-left > a > span:last-of-type {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 4.525%;
  font-size: 1em;
  line-height: 0;
  background-color: #fff;
  aspect-ratio: 1 / 1;
  padding: 6.787%;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
	color:#333;
}

.hp-top-flow-merit-demerit-text > p {
  width: 39%;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 3;
}

.hp-top-flow-merit-demerit-img {
  width: 69.4799%;
  position: absolute;
  top: -28%;
  right: 0%;
}

.hp-top-about-lightning1 {
  position: absolute;
  top: 7%;
  right: 10.886%;
  width: 14.4275%;
}

.hp-top-about-lightning2 {
  position: absolute;
  top: -28%;
  left: 4.792%;
  width: 13.49%;
}

.hp-top-ceo {
  width: 100%;
  margin: 9.6% auto 0;
  background: url(../../img/hp/hp-top-ceo-bg.webp) bottom center/cover no-repeat;
  padding-top: 6.615%;
  padding-bottom: 11.823%;
}

.hp-top-ceo-container {
  width: 95.313%;
  background-color: #fff;
  position: relative;
  padding-top: 15.625%;
}

.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-top-ceo-container > h2 {
  width: 90%;
  max-width: 940px;
  margin: 0 auto 4.372%;
  font-size: 40px;
  font-weight: 900;
  letter-spacing: 0.1em;
  font-weight: bold;
}

.hp-top-ceo-container > p {
  width: 90%;
  max-width: 920px;
  margin: 0 auto 6.4487%;
  font-size: 16px;
  line-height: 3;
}

.hp-top-ceo-about {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 90%;
  max-width: 1350px;
  margin: 0 auto;
}

.hp-top-ceo-img {
  width: 50.445%;
  margin-bottom: -6%;
}

.hp-top-ceo-text {
  width: 45.482%;
}

.hp-top-ceo-text .hp-top-section-title {
  font-size: 18px;
  font-weight: 500;
  text-align: left;
  letter-spacing: 0.05em;
  padding-bottom: 4.562%;
  margin-bottom: 6.68%;
  border-width: 1px;
  border-style: solid;
  border-image-source: linear-gradient(-13deg, #f9d71d, #ffbb03);
  border-image-slice: 1;
  border-top: none;
  border-left: none;
  border-right: none;
}

.hp-top-ceo-text .hp-top-section-title > span:first-of-type {
  color: #f17700;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.2em;
  display: block;
  margin-bottom: 20px;
  line-height: 1;
}

.hp-top-ceo-text .hp-top-section-title > span:last-of-type {
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.05em;
  display: block;
  margin-top: 6%;
}

.hp-top-ceo-text > p {
  font-size: 16px;
  font-weight: 500;
  line-height: 3;
  letter-spacing: 0.05em;
}

.hp-top-ceo-text>a {
  display: block;
width: 65.147%;
  padding: 5.376% 0;
  border-radius: 40px;
    margin-top: 6.774%;
    margin-bottom: 5%;
  position: relative;
  text-align: center;
  z-index: 2;
  border: 1px solid #f8d41c;
  overflow: hidden;
}

.hp-top-ceo-text>a::before {
  display: block;
  position: absolute;
  top: 0px;
  left: 0px;
  height: 100%;
  width: 100%;
  z-index: 0;
  content: "";
  color: #000 !important;
  background: linear-gradient(to right, #f8d41c 0%, #ffb905 100%);
  border-radius: 40px;
  transition: all 0.4s cubic-bezier(0.42, 0, 0.58, 1);
  z-index: -2;
}

/* .hp-top-ceo-text > a:hover::before {
  left: auto;
  right: 0;
  width: 0;
} */

.hp-top-ceo-text>a::after {
  content: "";
  position: absolute;
  width: 150%;
  z-index: -1;
  inset: 0;
  background: linear-gradient(to right, #f27200 0%, #f27200 100%);
  border-radius: 40px;
  background: #f27200;
  transform: translateX(-100%);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.hp-top-ceo-text>a:hover::after {
  transform: translateX(0);
}

.hp-top-ceo-text>a:hover {
  opacity: 1;
	color:#fff;
}


.hp-top-ceo-text > a > span:first-of-type {
  position: relative;
}

.hp-top-ceo-text > a > span:last-of-type {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 4.525%;
  font-size: 1em;
  line-height: 0;
  background-color: #fff;
  aspect-ratio: 1 / 1;
  padding: 6.787%;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
	color:#333;
}

.hp-top-ceo-bg {
  width: 29.817%;
  position: absolute;
  bottom: 0;
  right: 0;
}

.hp-top-support {
  width: 100%;
  background: url(../../img/hp/support-bg.webp) center center/cover no-repeat;
  position: relative;
  aspect-ratio: 1919 / 499;
  clip-path: inset(0 100% 0 0); /* ← 初期状態：右側100%隠す */
  z-index: 12;
}

.hp-top-support-text {
  width: 100%;
  font-size: 24px;
  font-weight: 500;
  line-height: 2.1;
  letter-spacing: 0.05em;
  text-align: center;
  color: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

@media screen and (max-width: 1520px) {
  .hp-fv-title > span {
    margin-top: 6%;
  }
}

@media screen and (max-width: 1300px) {
  .hp-fv-title {
    font-size: 30px;
  }
  .hp-fv-title > span {
    margin-top: 6%;
  }

  .hp-fv-title > span > span {
    font-size: 24px;
  }
}

@media screen and (max-width: 1050px) {
  .hp-fv-title {
    font-size: 24px;
  }
  .hp-fv-title > span {
    margin-top: 4%;
  }

  .hp-fv-title > span > span {
    font-size: 20px;
  }
}

@media screen and (max-width: 1220px) {
  .hp-top-about-battery {
    padding-top: 28%;
  }
  .hp-top-about-battery > h3 {
    font-size: 70px;
  }

  .hp-top-about-battery-text > p {
    width: 66%;
  }

  .hp-top-about-battery-text-left > h4 {
    font-size: 20px;
  }

  .hp-top-flow-merit-demerit {
    padding-top: 19%;
  }

  .hp-top-flow-merit-demerit > h3 {
    font-size: 54px;
  }
  .hp-top-flow-merit-demerit-text-left > h4 {
    font-size: 20px;
  }
  .hp-top-flow-merit-demerit-text > p {
    width: 66%;
  }
}

@media screen and (max-width: 910px) {
  .hp-top-about-battery > h3 {
    font-size: 50px;
  }
}

@media screen and (max-width: 768px) {
  .hp-fv {
    aspect-ratio: 750 / 569;
    position: relative;
  }

  .hp-fv-bg {
    background: url(../../img/hp/sp/top-fv.webp) center center / cover no-repeat;
    clip-path: inset(0 100% 0 0);
    animation: revealFromLeft 1s ease-out forwards;
  }

  .hp-fv-title {
    position: absolute;
    bottom: -10%;
    left: 2.5%;
    font-size: 26px;
    letter-spacing: 0.05em;
    line-height: 1.5;
  }

  .hp-fv-title > span > span {
    font-size: 26px;
    line-height: 1.9;
  }

  .hp-fv-text {
    font-size: 9px;
    top: 6px;
    right: 14px;
  }

  .hp-top-service {
    padding: 32% 0 0;
    margin-top: -23%;
    background: url(../../img/hp/sp/hp-top-service-bg.jpg) bottom center / cover
      no-repeat;
  }

  .hp-top-service-container {
    width: 100%;
    padding-bottom: 14.935%;
    position: relative;
  }

  .hp-top-service-title {
    width: 95%;
    margin: 0 auto;
    font-size: 28px;
    line-height: 1.79;
    margin-bottom: 6.934%;
  }

  .hp-top-service-text > p {
    font-size: 26px;
    line-height: 2.3;
  }

  .hp-top-about {
    padding: 53.467% 0 0;
    margin-bottom: 48.8%;
  }

  .hp-top-about-battery {
    width: 94.667%;
    padding-top: 26%;
    padding-bottom: 14%;
    border-radius: 0;
  }

  .hp-top-about-battery > h3 {
    font-size: 46px;
    position: absolute;
    top: -25%;
    right: 3%;
  }

  .hp-top-about-battery-text {
    flex-direction: column;
    padding: 0 7.044%;
  }

  .hp-top-about-battery-text-left {
    width: 100%;
  }

  .hp-top-about-battery-text-left > h4 {
    font-size: 20px;
    margin-bottom: 6.396%;
  }

  .hp-top-about-battery-text-left > a {
    width: 78.69%;
    font-size: 20px;
    padding: 6.558% 0;
    border-radius: 100px;
    margin: 0 auto 13.115%;
	          max-width: 300px;
        margin: 0 auto 20px;
        padding: 20px 0;
        font-size: 18px;
  }

  .hp-top-about-battery-text > p {
    width: 100%;
    font-size: 14px;
    line-height: 1.5;
    letter-spacing: 0.1em;
  }

  .hp-top-about-battery-img {
    width: 94.667%;
    top: 18%;
  }

  .hp-top-about-lightning1 {
    position: absolute;
    top: 37%;
    right: 5.886%;
    width: 12.667%;
  }

  .hp-top-about2 {
    margin-bottom: 0;
  }

  .hp-top-flow-merit-demerit {
    padding-top: 20%;
    padding-bottom: 14%;
    width: 94.667%;
    border-radius: 0;
  }

  .hp-top-flow-merit-demerit > h3 {
    font-size: 46px;
    position: absolute;
    top: -34%;
  }

  .hp-top-flow-merit-demerit-text {
    flex-direction: column;
    padding: 0 7.044%;
  }

  .hp-top-flow-merit-demerit-text-left {
    width: 100%;
  }

  .hp-top-flow-merit-demerit-text-left > h4 {
    font-size: 20px;
    margin-bottom: 6.396%;
  }

  .hp-top-flow-merit-demerit-text > p {
    width: 100%;
    font-size: 14px;
    line-height: 1.5;
    letter-spacing: 0.1em;
  }

  .hp-top-flow-merit-demerit-text-left > a {
    width: 78.69%;
    font-size: 18px;
    padding: 6.558% 0;
    border-radius: 100px;
    margin: 0 auto 13.115%;
	          max-width: 300px;
        margin: 0 auto 20px;
        padding: 20px 0;
        font-size: 18px;
  }

  .hp-top-flow-merit-demerit-img {
    width: 94.667%;
    top: -28%;
    right: 0%;
  }

  .hp-top-about-lightning2 {
    top: 12%;
    left: initial;
    right: 12.886%;
  }

  .hp-top-ceo {
    margin: 12% auto 0;
    padding-top: 16%;
    padding-bottom: 16%;
    background: url(../../img/hp/sp/hp-top-ceo-bg.jpg) bottom center / cover
      no-repeat;
  }

  .hp-top-ceo-container {
    width: 94.667%;
    background-color: #fff;
    position: relative;
    padding-top: 21.467%;
    padding-bottom: 13.334%;
  }

  .hp-top-ceo-container > h2 {
    width: 88%;
    font-size: 20px;
    margin-bottom: 7.185%;
  }

  .hp-top-ceo-container > p {
    width: 88%;
    font-size: 14px;
    line-height: 1.92;
    margin-bottom: 8.452%;
  }

  .hp-top-ceo-about {
    flex-direction: column;
    align-items: flex-start;
  }

  .hp-top-ceo-img {
    width: 87.95%;
  }

  .hp-top-ceo-text {
    width: 100%;
    margin-top: 19%;
  }

  .hp-top-ceo-text .hp-top-section-title {
    letter-spacing: 0.2em;
    margin-bottom: 9.39%;
    padding-bottom: 9.39%;
    font-size: 20px;
  }

  .hp-top-ceo-text .hp-top-section-title > span:first-of-type {
    letter-spacing: 0.2em;
    margin-bottom: 6.26%;
    font-size: 18px;
  }

  .hp-top-ceo-text .hp-top-section-title > span:last-of-type {
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 0.05em;
    display: inline;
  }

  .hp-top-ceo-text > p {
    font-size: 14px;
    line-height: 1.92;
  }

  .hp-top-ceo-text > a {
    width: 100%;
    margin: 9.39% auto 0;
    padding: 5.715% 0;
    font-size: 18px;
    border-radius: 100px;
	          max-width: 300px;
        margin: 30px auto 0;
        padding: 20px 0;
        font-size: 18px;
  }

  .hp-top-ceo-bg {
    width: 59.817%;
    position: absolute;
    bottom: 6%;
    right: 0;
  }

  .hp-top-support {
    background: url(../../img/hp/sp/support-bg.jpg) center center/cover
      no-repeat;
    aspect-ratio: 750 / 400;
  }

  .hp-top-support-text {
    font-size: 26px;
    width: 95%;
  }

  .hp-footer-lightning {
    position: absolute;
    top: -8%;
    left: 0;
    width: 63.907%;
    z-index: -1;
  }
}

@media screen and (max-width: 750px) {
  .hp-fv-title {
    bottom: -8%;
  }
}

@media screen and (max-width: 700px) {
  .hp-fv-title {
    font-size: 24px;
    bottom: -8%;
  }

  .hp-fv-title > span > span {
    font-size: 24px;
  }
}

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

  .hp-fv-title > span > span {
    font-size: 20px;
  }
}

@media screen and (max-width: 530px) {
  .hp-fv-title {
    font-size: 18px;
    bottom: -8%;
  }

  .hp-fv-title > span > span {
    font-size: 18px;
  }
}

@media screen and (max-width: 410px) {
  .hp-fv-title {
    font-size: 18px;
    top: 10%;
  }
}

@media screen and (max-width: 600px) {
  .hp-top-service-title {
    font-size: 16px;
  }
  .hp-top-service-text > p {
    width: 95%;
    margin: 0 auto;
    font-size: 14px;
    line-height: 2.7;
  }

  .hp-top-about-battery > h3 {
    top: -8%;
  }

  .hp-top-flow-merit-demerit > h3 {
    font-size: 36px;
  }
}

@media screen and (max-width: 570px) {
  .hp-top-about-battery {
    padding-top: 40%;
  }
}

@media screen and (max-width: 530px) {
  .hp-top-flow-merit-demerit > h3 {
    top: -25%;
  }

  .hp-top-flow-merit-demerit-img {
    top: -20%;
  }
}

@media screen and (max-width: 470px) {
  .hp-top-flow-merit-demerit > h3 {
    top: -25%;
    font-size: 26px;
  }

  .hp-top-flow-merit-demerit-img {
    top: -20%;
  }
}

@media screen and (max-width: 420px) {
  .hp-top-about-battery {
    padding-top: 33%;
  }

  .hp-top-support-text {
    font-size: 20px;
  }
}

@media screen and (max-width: 480px) {
  .hp-top-about-battery > h3 {
    top: -6%;
    font-size: 34px;
  }
}
