/*************************************************** トップページ ***************************************************/

@media screen and (max-width: 767px) {
  #page.site,
  .site {
    overflow: visible !important;
    overflow-y: visible !important;
  }
}

.container {
  position: relative;
}

/* 各パネル：通常の縦並び（1画面分の高さは維持） */
.separator {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

/* スクロールダウン */
.container .scroll {
  display: block;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(calc(-50%));
  z-index: 3;
}
.container .scroll p {
  color: #fff;
  font-size: 12px;
  font-weight: var(--font-weight-regular);
  writing-mode: vertical-rl;
  display: inline-block;
}
.container .scroll div {
  position: relative;
  width: 19px;
  height: 75px;
  margin: 1rem auto;
}
.container .scroll div::before {
  content: "";
  width: 1px;
  height: 100%;
  background-color: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}
.container .scroll div::after {
  animation: scroll 2s infinite;
  content: "";
  width: 11px;
  height: 11px;
  background-color: #fff;
  border-radius: 50%;
  position: absolute;
  left: 50%;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  transition: all 0.5s ease;
}
@keyframes scroll {
  0% {
    opacity: 0;
    top: 5px;
  }
  10% {
    opacity: 1;
    top: 5px;
  }
  80% {
    opacity: 1;
    top: 70px;
  }
  100% {
    opacity: 0;
    top: 70px;
  }
}
@media screen and (max-width: 767px) {
  .container .scroll {
    left: auto;
    transform: unset;
    right: 2rem;
  }
}

.top-wrapper {
  position: relative;
  min-height: 100vh; /* スマホのアドレスバー対策なら 100svh もあり */
  overflow: hidden;
  isolation: isolate;
  /* background-* はここから削除して ::before に移す */
}

.top-wrapper::before {
  content: "";
  position: absolute;
  inset: -16px;
  z-index: -1;
  background-image: url(../img/top/img-top.webp);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center bottom 16px;
  transform: scale(1.05);
}

/* 水面のゆらぎ(PCのみ・あとから足す用) */
@media (min-width: 768px) {
  .top-wrapper::before {
    filter: url(#water-ripple);
  }
}
::-webkit-full-page-media,
_:future,
:root .top-wrapper::before {
  filter: none;
}
@media (prefers-reduced-motion: reduce) {
  .top-wrapper::before {
    filter: none;
  }
}

.top-wrapper .top-inner {
  max-width: 610px;
  width: auto;
  margin: 0 auto;
  padding: 13rem 0 3rem;
  position: relative;
  z-index: 3;
}
.top-wrapper .top-inner .img {
  max-width: 466px;
  width: auto;
  margin: 0 auto;
}
.top-wrapper .top-inner .wave {
  max-width: 610px;
  width: 100%;
  margin: 0 auto;
  position: absolute;
  bottom: -12rem;
  right: 3rem;
}
.top-wrapper .top-inner .wave svg {
  width: 100%;
}
.top-wrapper .top-inner .wave svg .cls-1 {
  fill: none;
  stroke: url(#line-gradient-white);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5px;
  stroke-dasharray: var(--path-length);
  stroke-dashoffset: var(--path-length);
}
.top-wrapper .top-inner .wave svg.is-animated .cls-1 {
  animation: draw 3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}
@media screen and (max-width: 767px) {
  .top-wrapper .top-inner {
    max-width: 408px;
    padding-left: 2rem;
    padding-right: 2rem;
  }
  .top-wrapper .top-inner .wave {
    bottom: -8rem;
    right: -3rem;
  }
}

.about-wrapper {
  position: relative;
}
.about-wrapper .a-inner {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top;
  color: #fff;
}
.about-wrapper .a-inner.about01 {
  background-image: url(../img/top/img-about01-back.webp);
  text-align: center;
  padding: 8rem 0;
  isolation: isolate;
}
.about-wrapper .a-inner.about01 h2 {
  font-size: 18px;
  font-weight: var(--font-weight-regular);
  padding-top: 0.5rem;
  position: relative;
}
.about-wrapper .a-inner.about01 h2 span {
  color: rgba(255, 255, 255, 0.15);
  font-size: 48px;
  font-weight: var(--font-weight-bold);
  line-height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  z-index: -1;
}
.about-wrapper .a-inner.about01 h3 {
  font-size: 28px;
  letter-spacing: 2px;
  margin-top: 5rem;
}
.about-wrapper .a-inner.about01 p {
  font-size: 22px;
  font-weight: var(--font-weight-regular);
  text-align: center;
  line-height: 220%;
  letter-spacing: 2px;
  margin-top: 3rem;
}
.about-wrapper .a-inner.about02 {
  background-image: url(../img/top/img-about02-back.webp);
  padding: 13rem 0 5rem;
}
.about-wrapper .a-inner.about02 h3 {
  font-size: 28px;
  letter-spacing: 2px;
  text-indent: -2em;
  padding-top: 2em;
  writing-mode: vertical-rl;
}
.about-wrapper .a-inner.about02 .a-inner-item,
.about-wrapper .a-inner.about03 .a-inner-item {
  max-width: var(--contents-width-middle);
  width: auto;
  margin: 0 auto;
  position: relative;
}
.about-wrapper .a-inner.about02 .a-inner-item .box {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.about-wrapper .a-inner.about02 .a-inner-item p,
.about-wrapper .a-inner.about03 .a-inner-item p {
  font-size: 22px;
  font-weight: var(--font-weight-regular);
  line-height: 260%;
  letter-spacing: 2px;
}
.about-wrapper .a-inner.about02 .a-inner-item a,
.about-wrapper .a-inner.about03 .a-inner-item a {
  color: #fff;
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 1rem;
  width: fit-content;
  margin-left: auto;
}
.about-wrapper .a-inner.about02 .a-inner-item a {
  margin-top: 9.3rem;
}
.about-wrapper .a-inner.about03 .a-inner-item a {
  margin-top: 7rem;
}
.about-wrapper .a-inner.about02 .a-inner-item a span,
.about-wrapper .a-inner.about03 .a-inner-item a span {
  display: inline-block;
  width: 78px;
  height: 78px;
  background-color: #00b1b8;
  border: 1px solid #fff;
  border-radius: 50%;
  position: relative;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
}
.about-wrapper .a-inner.about02 .a-inner-item a span::before,
.about-wrapper .a-inner.about02 .a-inner-item a span::after,
.about-wrapper .a-inner.about03 .a-inner-item a span::before,
.about-wrapper .a-inner.about03 .a-inner-item a span::after {
  content: "";
  position: absolute;
  top: calc(50% - 0.5px);
  left: 0;
  right: 0;
  margin: auto;
  width: 17.6px;
  height: 2px;
  border-radius: 9999px;
  background-color: #ffffff;
  transform-origin: calc(100% - 0.5px) 50%;
}
.about-wrapper .a-inner.about02 .a-inner-item a span::before,
.about-wrapper .a-inner.about03 .a-inner-item a span::before {
  transform: rotate(36.05deg);
}
.about-wrapper .a-inner.about02 .a-inner-item a span::after,
.about-wrapper .a-inner.about03 .a-inner-item a span::after {
  transform: rotate(-36.05deg);
}
.about-wrapper .a-inner.about03 {
  background-image: url(../img/top/img-about03-back.webp);
  padding: 10rem 0 0;
}
.about-wrapper .a-inner.about02 .a-inner-item a:hover span,
.about-wrapper .a-inner.about03 .a-inner-item a:hover span {
  background-color: #fff;
  border-color: #00b1b8;
}
.about-wrapper .a-inner.about02 .a-inner-item a:hover span::before,
.about-wrapper .a-inner.about02 .a-inner-item a:hover span::after,
.about-wrapper .a-inner.about03 .a-inner-item a:hover span::before,
.about-wrapper .a-inner.about03 .a-inner-item a:hover span::after {
  background-color: #00b1b8;
}
.about-wrapper .a-inner.about03 .a-inner-item p {
  max-width: 350px;
  width: auto;
  margin-left: auto;
  margin-bottom: 2rem;
}
.about-wrapper .a-inner.about03 .big-word {
  display: flex;
  gap: 4rem;
  white-space: nowrap;
  margin: 0 -3vw;
  position: absolute;
  left: 0;
  bottom: 0;
  width: calc(100% + 3vw);
  overflow: hidden;
}
.about-wrapper .a-inner.about03 .big-word p {
  color: #efefef;
  font-size: 78px;
  line-height: 100%;
  mix-blend-mode: overlay;
}

@media screen and (max-width: 999px) and (min-width: 768px) {
  .about-wrapper .a-inner.about02 .a-inner-item,
  .about-wrapper .a-inner.about03 .a-inner-item {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}
@media screen and (max-width: 767px) {
  .about-wrapper .a-inner {
    padding-left: 2rem !important;
    padding-right: 2rem !important;
  }
  .about-wrapper .a-inner.about01 h3 {
    font-size: 26px;
    text-align: justify;
  }
  .about-wrapper .a-inner.about01 p {
    font-size: 18px;
    text-align: justify;
  }
  .about-wrapper .a-inner.about02,
  .about-wrapper .a-inner.about03 {
    padding-top: 7rem;
  }
  .about-wrapper .a-inner.about02 {
    background-image: url(../img/top/img-about02-back-sp.webp);
  }
  .about-wrapper .a-inner.about03 {
    background-image: url(../img/top/img-about03-back-sp.webp);
  }
  .about-wrapper .a-inner.about02 .a-inner-item {
    height: 100%;
  }
  .about-wrapper .a-inner.about02 .a-inner-item .box,
  .about-wrapper .a-inner.about03 .a-inner-item {
    height: 100%;
    display: grid;
    grid-template-rows: auto 1fr;
    justify-content: unset;
    align-items: end;
  }
  .about-wrapper .a-inner.about02 h3 {
    font-size: 26px;
    margin-left: 2rem;
    margin-right: auto;
  }
  .about-wrapper .a-inner.about03 {
    padding-bottom: 10rem;
  }
  .about-wrapper .a-inner.about02 .a-inner-item p,
  .about-wrapper .a-inner.about03 .a-inner-item p {
    font-size: 18px;
  }
  .about-wrapper .a-inner.about03 .a-inner-item p {
    margin-left: 0;
    margin-bottom: 0;
  }
  .about-wrapper .a-inner.about02 .a-inner-item a,
  .about-wrapper .a-inner.about03 .a-inner-item a {
    display: none;
  }
  .about-wrapper .a-inner.about03 .big-word p {
    font-size: 70px;
  }
}

.product-wrapper {
  position: relative;
}
.product-wrapper .p-inner {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top;
  color: #fff;
  padding-top: 10rem;
}
.product-wrapper .p-inner.product00 {
  background-image: url(../img/top/img-product00-back.webp);
  background-position: bottom center;
  text-align: center;
}
.product-wrapper .p-inner.product00 h2 {
  font-size: 18px;
  font-weight: var(--font-weight-regular);
  padding-top: 0.5rem;
  position: relative;
}
.product-wrapper .p-inner.product00 h2 span {
  color: rgba(255, 255, 255, 0.15);
  font-size: 48px;
  font-weight: var(--font-weight-bold);
  line-height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
}
.product-wrapper .p-inner.product00 h3 {
  font-size: 28px;
  letter-spacing: 2px;
  margin-top: 7rem;
}
.product-wrapper .p-inner.product00 > p {
  font-size: 22px;
  font-weight: var(--font-weight-regular);
  text-align: center;
  line-height: 260%;
  letter-spacing: 2px;
  margin-top: 3rem;
}
.product-wrapper .full-divs .p-inner {
  padding-top: 12rem;
}
.product-wrapper .p-inner.product01 {
  background-image: url(../img/top/img-product01-back.webp);
}
.product-wrapper .p-inner.product02 {
  background-image: url(../img/top/img-product02-back.webp);
}
.product-wrapper .p-inner.product03 {
  background-image: url(../img/top/img-product03-back.webp);
}
.product-wrapper .p-inner.product04 {
  background-image: url(../img/top/img-product04-back.webp);
}
.product-wrapper .p-inner.product05 {
  background-image: url(../img/top/img-product05-back.webp);
}
.product-wrapper .p-inner .p-inner-item {
  max-width: var(--contents-width-middle);
  width: auto;
  margin: 0 auto;
}
.product-wrapper .p-inner .p-inner-item .p-inner-card {
  max-width: 780px;
  width: auto;
  margin-left: auto;
  display: grid;
  grid-template-columns: 1fr 215px;
  gap: 5rem;
}
.product-wrapper .p-inner .p-inner-card p.number {
  font-size: 40px;
  mix-blend-mode: overlay;
  line-height: 100%;
  text-shadow: 1px 1px 6px rgba(25, 67, 135, 0.4);
}
.product-wrapper .p-inner .p-inner-card .title {
  display: flex;
  align-items: end;
  gap: 2rem;
}
.product-wrapper .p-inner .p-inner-card h3 {
  font-size: 36px;
  text-shadow: 1px 1px 6px rgba(25, 67, 135, 0.4);
}
.product-wrapper .p-inner .p-inner-card ul {
  display: flex;
}
.product-wrapper .p-inner .p-inner-card ul li {
  background-color: rgb(0 0 0 / 0.1);
  border: 1px solid #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  letter-spacing: 2px;
  width: 77px;
  height: 77px;
}
.product-wrapper .p-inner .p-inner-card ul li:nth-of-type(2),
.product-wrapper .p-inner .p-inner-card ul li:nth-of-type(3) {
  margin-left: -7px;
}
.product-wrapper .p-inner .p-inner-card p.txt {
  font-size: 22px;
  font-weight: var(--font-weight-regular);
  line-height: 220%;
  letter-spacing: 3px;
  text-shadow: 1px 1px 6px rgba(25, 67, 135, 0.4);
  margin-top: 2rem;
}
.product-wrapper .p-inner .p-inner-card .card-right a {
  color: #fff;
  font-size: 18px;
  line-height: 120%;
  display: flex;
  align-items: center;
  gap: 1rem;
  width: fit-content;
  margin-left: auto;
}
.product-wrapper .p-inner .p-inner-card .card-right a span {
  display: inline-block;
  width: 78px;
  height: 78px;
  background-color: rgb(0 0 0 / 0.1);
  border: 1px solid #fff;
  border-radius: 50%;
  position: relative;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
}
.product-wrapper .p-inner .p-inner-card .card-right a span::before,
.product-wrapper .p-inner .p-inner-card .card-right a span::after {
  content: "";
  position: absolute;
  top: calc(50% - 0.5px);
  left: 0;
  right: 0;
  margin: auto;
  width: 17.6px;
  height: 2px;
  border-radius: 9999px;
  background-color: #ffffff;
  transform-origin: calc(100% - 0.5px) 50%;
}
.product-wrapper .p-inner .p-inner-card .card-right a span::before {
  transform: rotate(36.05deg);
}
.product-wrapper .p-inner .p-inner-card .card-right a span::after {
  transform: rotate(-36.05deg);
}
.product-wrapper .p-inner .p-inner-card .card-right a:hover span {
  background-color: #006e73;
}
@media screen and (max-width: 1090px) {
  .product-wrapper .p-inner {
    padding-top: 8rem;
  }
  .product-wrapper .p-inner .p-inner-item .p-inner-card {
    display: block;
    margin-left: 280px;
    margin-right: 1rem;
  }
  .product-wrapper .p-inner .p-inner-card .card-left {
    max-width: 485px;
    width: auto;
    position: relative;
  }
  .product-wrapper .p-inner .p-inner-card .card-right {
    max-width: 215px;
    width: auto;
    margin-top: 2rem;
  }
}
@media screen and (max-width: 820px) {
  .product-wrapper .p-inner.product03 {
    padding-top: 7rem;
  }
}
@media screen and (max-width: 767px) {
  .product-wrapper .p-inner {
    padding-left: 2rem !important;
    padding-right: 2rem !important;
  }
  .product-wrapper .p-inner.product00 h3 {
    font-size: 26px;
    text-align: justify;
  }
  .product-wrapper .p-inner.product00 > p {
    text-align: justify;
  }
  .product-wrapper .full-divs .p-inner {
    height: auto;
    padding-top: 7rem;
    padding-bottom: 6rem;
  }
  .product-wrapper .full-divs .p-inner h3 {
    text-shadow: 2px 2px 8px rgba(24, 24, 136, 0.3);
  }
  .product-wrapper .p-inner .p-inner-item .p-inner-card {
    margin-left: 0;
    margin-right: 0;
  }
  .product-wrapper .p-inner .p-inner-card p.number {
    position: absolute;
    opacity: 0.1;
    font-size: 80px;
    top: -1.5rem;
  }
  .product-wrapper .p-inner .p-inner-card h3 {
    font-size: 34px;
  }
  .product-wrapper .p-inner .p-inner-card .title {
    align-items: center;
  }
  .product-wrapper .p-inner.product03 .p-inner-card .title {
    gap: 0.5rem;
  }
  .product-wrapper .p-inner.product05 .p-inner-card .title {
    gap: 1rem;
  }
  .product-wrapper .p-inner.product05 .p-inner-card h3 {
    margin-top: 1rem;
  }
  .product-wrapper .p-inner .p-inner-card ul li {
    width: 66px;
    height: 66px;
  }
  .product-wrapper .p-inner.product05 .p-inner-card .title ul {
    position: relative;
    top: 2.5rem;
  }
  .product-wrapper .p-inner.product05 .p-inner-card .title ul li:first-of-type {
    position: absolute;
    top: -3.2rem;
    right: 0;
    left: 0;
    margin: auto;
  }
  .product-wrapper .p-inner .p-inner-card ul li:nth-of-type(2),
  .product-wrapper .p-inner .p-inner-card ul li:nth-of-type(3) {
    margin-left: -4px;
  }
  .product-wrapper .p-inner.product05 .p-inner-card ul li:nth-of-type(2) {
    margin-left: 0;
  }
  .product-wrapper .p-inner .p-inner-card .card-right {
    max-width: 250px;
    margin-top: 3rem;
    margin-left: auto;
    margin-right: auto;
  }
  .product-wrapper .p-inner.product00 {
    background-image: url(../img/top/img-product00-back-sp.webp);
  }
  .product-wrapper .p-inner.product01 {
    background-image: url(../img/top/img-product01-back-sp.webp);
  }
  .product-wrapper .p-inner.product02 {
    background-image: url(../img/top/img-product02-back-sp.webp);
  }
  .product-wrapper .p-inner.product03 {
    background-image: url(../img/top/img-product03-back-sp.webp);
  }
  .product-wrapper .p-inner.product04 {
    background-image: url(../img/top/img-product04-back-sp.webp);
  }
  .product-wrapper .p-inner.product05 {
    background-image: url(../img/top/img-product05-back-sp.webp);
  }
  .product-wrapper .p-inner .p-inner-card p.txt {
    font-size: 18px;
    line-height: 200%;
    margin-top: 1.5rem;
  }
  .product-wrapper .p-inner.product03 .p-inner-card p.txt {
    line-height: 180%;
    margin-top: 1rem;
  }
  .product-wrapper .p-inner.product05 .p-inner-card p.txt {
    margin-top: 3.5rem;
  }
  .product-wrapper .p-inner .p-inner-card .card-right a {
    flex-direction: column-reverse;
    justify-content: center;
    align-items: center;
    gap: 0.8rem;
    margin-top: 1rem;
    margin-right: auto;
  }
  .product-wrapper .p-inner .p-inner-card .card-right a span {
    width: 86px;
    height: 86px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #00b1b8;
    overflow: visible;
    position: relative;
  }
  .product-wrapper .p-inner .p-inner-card .card-right a span::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgb(255 255 255 / 0.8);
    border-radius: 50%;
    width: 29px;
    height: 29px;
    transform: none;
  }
  .product-wrapper .p-inner .p-inner-card .card-right a span::after {
    content: "";
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 2px solid #fff; /* 波紋の色（必要に応じて調整） */
    border-radius: 50%;
    opacity: 0;
    pointer-events: none;
    animation: sp-ripple-effect 2s infinite;
    width: auto;
    height: auto;
    background: transparent;
    transform: none;
    transform-origin: unset;
  }
}
@keyframes sp-ripple-effect {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.4); /* じわっと外側に広がる */
    opacity: 0; /* 消えていく */
  }
}

/************* サブメニュー固定部分 *************/
.product-wrapper .sticky-wrapper {
  position: relative;
}
/* レール：.sticky-wrapper の上端から「#product05 内の 8rem」の位置までの帯。
   中の nav がこの範囲で sticky に動く（最初は #product01 の中、最後は #product05 の 8rem で止まる） */
.product-wrapper .sticky-wrapper .submenu {
  position: absolute;
  top: 0;
  bottom: calc(100vh - 8rem); /* #product05(100vh) の上端 + 8rem まで */
  left: 0;
  right: 0;
  width: 100% !important;
  max-width: var(--contents-width-big);
  margin-left: auto;
  margin-right: auto;
  z-index: 4;
  pointer-events: none;
}

/* 実際のメニュー枠 */
.product-wrapper .sticky-wrapper .submenu nav {
  width: 240px;
  height: 0; /* 場所を取らない（中身の ul ははみ出して表示される） */
  pointer-events: auto;
  position: sticky;
  top: 8rem; /* 画面の上端から 8rem で固定される */
  margin-top: 8rem; /* 最初は #product01 の上端から 8rem の位置にある */
  z-index: 4;
}
.product-wrapper .sticky-wrapper .submenu nav ul {
  max-width: 240px;
  width: auto;
  position: relative;
  top: 8rem; /* メニュー上部の余白（レイアウトには影響しない） */
}
.product-wrapper .sticky-wrapper .submenu nav li {
  line-height: 250%;
  margin-bottom: 2rem;
}
.product-wrapper .sticky-wrapper .submenu nav li:last-child {
  margin-bottom: 0;
}

/* 枠（背景なしのトラック） */
.product-wrapper .sticky-wrapper .submenu nav li a::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 1.3rem; /* 横位置。01. の数字あたりに合わせて調整 */
  width: 4px;
  height: 2rem; /* li の margin-bottom と同じ値 */
  box-sizing: border-box;
  border: 1px solid #fff;
  border-radius: 5px;
}

/* 塗り（枠の内側に収める） */
.product-wrapper .sticky-wrapper .submenu nav li a::after {
  content: "";
  position: absolute;
  top: calc(100% + 1px);
  left: calc(1.3rem + 1px);
  width: 2px;
  height: calc(2rem - 2px);
  background-color: #fff;
  border-radius: 2px;
  transform-origin: top;
  transform: scaleY(0);
}

/* 今いる場所より前の区間：最初から塗っておく */
.product-wrapper .sticky-wrapper .submenu nav li a.is-passed::after {
  transform: scaleY(1);
  transition: none;
}

/* 今のセクションの線：最初から塗っておく */
.product-wrapper .sticky-wrapper .submenu nav li a.is-current-line::after {
  transform: scaleY(1);
  transition: none;
}

/* 最後（05）は下に続きがないので線なし */
.product-wrapper .sticky-wrapper .submenu nav li:last-child a::before,
.product-wrapper .sticky-wrapper .submenu nav li:last-child a::after {
  display: none;
}

.product-wrapper .sticky-wrapper .submenu nav li a {
  color: #fff;
  display: block;
  font-size: 30px;
  letter-spacing: 2px;
  position: relative;
}
.product-wrapper .sticky-wrapper .submenu nav li a span {
  font-size: 22px;
}
@media screen and (max-width: 1149px) {
  .product-wrapper .sticky-wrapper .submenu {
    padding-left: 1rem;
  }
}
@media screen and (max-width: 767px) {
  /* スマホではサブメニューを非表示 */
  .product-wrapper .sticky-wrapper .submenu {
    display: none;
  }
}
/************* サブメニュー固定部分 end *************/

/************* ヒーロースライダー（top + about01〜03） *************/
.hero-slider {
  position: relative;
  overflow: hidden;
}
.hero-slider__track {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}
/* about-wrapper の枠を無効化し、3つの .a-inner を同じ列に並べる */
.hero-slider__track > .about-wrapper {
  display: contents;
}
/* 4枚すべてを同じマス目に重ねる（位置は JS の transform で動かす） */
.hero-slide {
  grid-area: 1 / 1;
  min-width: 0;
}
/* JS が動く前から 2〜4枚目は画面の右外で待機（4枚目が一瞬見えるのを防ぐ） */
.hero-slider__track > .about-wrapper > .hero-slide {
  transform: translateX(100%);
}
.hero-slider.is-ready .hero-slide {
  transition: transform 1s cubic-bezier(0.65, 0, 0.35, 1);
}
@media (prefers-reduced-motion: reduce) {
  .hero-slider.is-ready .hero-slide {
    transition: none;
  }
}
/* 手動切り替え用の前へ/次へボタン（JS が .hero-slider の中に作る） */
.hero-slider__arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 56px;
  height: 56px;
  padding: 0;
  border: 1px solid #fff;
  border-radius: 50%;
  background-color: rgb(0 0 0 / 0.1);
  cursor: pointer;
  transform: translateY(-50%);
  transition:
    background-color 0.3s ease,
    border-color 0.3s ease;
}
.hero-slider__arrow--prev {
  left: 2rem;
}
.hero-slider__arrow--next {
  right: 2rem;
}
/* 矢印（くの字）*/
.hero-slider__arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 12px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transition: border-color 0.3s ease;
}
.hero-slider__arrow--next::before {
  transform: translate(-65%, -50%) rotate(45deg);
}
.hero-slider__arrow--prev::before {
  transform: translate(-35%, -50%) rotate(-135deg);
}
.hero-slider__arrow:hover {
  background-color: #fff;
  border-color: #00b1b8;
}
.hero-slider__arrow:hover::before {
  border-color: #00b1b8;
}
.hero-slider__arrow:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}
@media screen and (max-width: 767px) {
  .hero-slider__arrow {
    width: 44px;
    height: 44px;
  }
  .hero-slider__arrow--prev {
    left: 0.8rem;
  }
  .hero-slider__arrow--next {
    right: 0.8rem;
  }
}
/************* ヒーロースライダー end *************/
