/* Service detail page (Figma node 2114:108) */
.service-page {
  --service-ink: #2f3c35;
  --service-text: #212121;
  --service-green: #4a7c59;
  --service-orange: #f28b50;
  --service-mint: #cfead2;
  --service-soft-mint: #d8e8db;
  --service-paper: #fdfcf9;
  --service-white: #fff;
  color: var(--service-ink);
  background: var(--service-paper);
}
.service-page main {
  overflow: hidden;
}
.service-hero-new__lead.fade-in,
.treatment-menu-card.fade-in:nth-child(2),
.treatment-flow-new li.fade-in:nth-child(2),
.electric-cards article.fade-in:nth-child(2),
.visit-flow li.fade-in:nth-child(2) {
  transition-delay: 0.12s;
}
.treatment-menu-card.fade-in:nth-child(3),
.treatment-flow-new li.fade-in:nth-child(3),
.electric-cards article.fade-in:nth-child(3),
.visit-flow li.fade-in:nth-child(3) {
  transition-delay: 0.24s;
}
.treatment-menu-card.fade-in:nth-child(4),
.treatment-flow-new li.fade-in:nth-child(4),
.electric-cards article.fade-in:nth-child(4),
.visit-flow li.fade-in:nth-child(4) {
  transition-delay: 0.36s;
}
.service-hero-new__image picture,
.treatment-menu-card > picture,
.detail-row > picture,
.electric-cards article:not(.electric-overview) > picture,
.electric-combination > picture,
.visit-flow__card picture {
  overflow: hidden;
}
.service-hero-new__image picture img,
.treatment-menu-card > picture img,
.detail-row > picture img,
.electric-cards article:not(.electric-overview) > picture img,
.electric-combination > picture img,
.visit-flow__card picture img {
  transform-origin: center top;
}
.service-hero-new {
  padding-bottom: clamp(4rem, 4.86vw, 7rem);
  background: var(--service-mint);
}
.service-hero-new__image {
  position: relative;
  width: calc(100% - clamp(20px, 6.5vw, 94px));
  height: clamp(260px, 28.2vw, 406px);
  margin-left: clamp(20px, 6.5vw, 94px);
  overflow: hidden;
  border-radius: 0 0 0 clamp(24px, 3.47vw, 50px);
}
.service-hero-new__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    254deg,
    rgba(255, 255, 255, 0) 42.75%,
    var(--service-soft-mint) 97.6%
  );
}
.menu-header::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(74, 124, 89, 0.48) 0%,
    rgba(74, 124, 89, 0.48) 100%
  );
}
.service-hero-new__image picture,
.service-hero-new__image img {
  display: block;
  width: 100%;
  height: 100%;
}
.service-hero-new__image img {
  object-fit: cover;
  object-position: center 58%;
}
.service-hero-new__image h1 {
  position: absolute;
  z-index: 1;
  left: clamp(24px, 5.5vw, 79px);
  bottom: clamp(30px, 4.3vw, 62px);
  color: var(--service-ink);
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: clamp(3.8rem, 4.45vw, 6.4rem);
  font-weight: 700;
  line-height: 1.2;
}
.service-hero-new__lead {
  width: min(1100px, calc(100% - clamp(40px, 13.9vw, 200px)));
  margin: clamp(3rem, 3.13vw, 4.5rem) auto 0;
  text-align: center;
  font-size: clamp(1.4rem, 1.11vw, 1.6rem);
  line-height: 1.8;
}

.treatment-menu-new {
  position: relative;
  isolation: isolate;
  padding: clamp(55px, 4.17vw, 60px) clamp(20px, 6.9vw, 100px)
    clamp(75px, 6.94vw, 100px);
  background: linear-gradient(176deg, var(--service-mint) 3.6%, #f4faf5 75.02%);
}
.treatment-menu-new::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 239px;
  top: 76px;
  width: 616px;
  height: 616px;
  border-radius: 616px;
  background: var(--service-white);
  filter: blur(125px);
  pointer-events: none;
}
.service-page-heading {
  text-align: center;
  margin-bottom: clamp(3.5rem, 3.47vw, 5rem);
}
.service-page-heading p {
  color: var(--service-orange);
  font:
    700 clamp(2rem, 1.81vw, 2.6rem) Cabin,
    sans-serif;
}
.service-page-heading h2 {
  margin-top: 8px;
  color: var(--service-ink);
  text-align: center;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: clamp(3.2rem, 3.33vw, 4.8rem);
  font-weight: 700;
}
.service-page-heading::after,
.treatment-flow-new > h2::after,
.visit-flow > h2::after {
  content: "";
  display: block;
  width: 190px;
  height: 2px;
  margin: 30px auto 0;
  background: var(--service-orange);
}
.service-page-heading.fade-in::after,
.treatment-flow-new > h2.fade-in::after,
.visit-flow > h2.fade-in::after {
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1) 0.2s;
}
.service-page-heading.fade-in.is-visible::after,
.treatment-flow-new > h2.fade-in.is-visible::after,
.visit-flow > h2.fade-in.is-visible::after {
  transform: scaleX(1);
}
.treatment-menu-new__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 3.61vw, 52px) clamp(24px, 2.78vw, 40px);
  max-width: 1240px;
  margin: auto;
}
.treatment-menu-card {
  position: relative;
  min-height: 290px;
  display: block;
  transition:
    transform 0.35s ease,
    filter 0.35s ease;
}
.treatment-menu-card > picture {
  display: block;
  width: 86%;
  height: 220px;
  overflow: hidden;
  border-radius: 24px 0 0 24px;
}
.treatment-menu-card > picture img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.treatment-menu-card:nth-child(1) > picture img,
.treatment-menu-card:nth-child(2) > picture img,
.treatment-menu-card:nth-child(4) > picture img {
  object-position: center 20%;
}
.treatment-menu-card > span {
  position: absolute;
  right: 0;
  bottom: -22px;
  width: 82%;
  min-height: 145px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 15px;
  padding: 20px;
  background: #fcfcfc;
  border-radius: 24px 3px 3px 24px;
}
.treatment-menu-card__title {
  padding-right: clamp(6rem, 5vw, 7.2rem);
  font-size: clamp(1.5rem, 1.53vw, 2.2rem);
  font-weight: 700;
  line-height: 1.65;
}
.treatment-menu-card small {
  color: var(--service-ink);
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: clamp(1.4rem, 1.39vw, 2rem);
  font-weight: 500;
}
.treatment-menu-card i {
  position: absolute;
  top: 20px;
  right: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 2px 0;
  border: 1px solid var(--service-orange);
  border-radius: 62px;
  color: var(--service-orange);
  font-style: normal;
  transition:
    color 0.3s ease,
    background-color 0.3s ease,
    transform 0.3s ease;
}
.treatment-flow-new {
  width: min(1340px, calc(100% - clamp(40px, 6.94vw, 100px)));
  margin: clamp(8rem, 7.64vw, 11rem) auto 0;
}
.treatment-flow-new > h2,
.visit-flow > h2 {
  color: var(--service-green);
  text-align: center;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: clamp(2.6rem, 2.22vw, 3.2rem);
  font-weight: 700;
}
.treatment-flow-new ol {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(70px, 5.9vw, 85px);
  margin-top: clamp(7rem, 5.9vw, 8.5rem);
}
.treatment-flow-new li {
  position: relative;
  min-height: 340px;
  padding: 55px 20px 35px;
  text-align: center;
  background: var(--service-white);
  border-radius: 20px;
  box-shadow: 0 4px 2px rgba(0, 0, 0, 0.18);
}
.treatment-flow-new li:not(:last-child)::after {
  content: "";
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: -35px;
  width: 60px;
  height: 60px;
  translate: -50% 0;
  rotate: 90deg;
  background: url("../images/service/flow_arrow.svg") center/contain no-repeat;
  pointer-events: none;
}
.treatment-flow-new li > b {
  position: absolute;
  top: -32px;
  left: 50%;
  translate: -50%;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--service-green);
  color: var(--service-white);
  font: 700 28px Cabin;
}
.treatment-flow-new h3 {
  min-height: 70px;
  color: var(--service-green);
  text-align: center;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: clamp(2rem, 1.67vw, 2.4rem);
  font-weight: 700;
  line-height: 1.5;
}
.flow-icon {
  display: block;
  width: 60px;
  height: 60px;
  aspect-ratio: 1/1;
  margin: 22px auto;
  object-fit: contain;
}
.treatment-flow-new li p {
  color: var(--service-text);
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: clamp(1.4rem, 1.11vw, 1.6rem);
  font-weight: 500;
  line-height: 1.8;
}
.detail-section {
  background: var(--service-paper);
  scroll-margin-top: 80px;
}
.electric-detail {
  background-color: var(--service-paper);
  background-image: url("../images/service/electrical_bk.svg");
  background-position: center;
  background-size: min(83.75vw, 1206px) auto;
  background-repeat: no-repeat;
}
.menu-header {
  position: relative;
  display: grid;
  place-items: center;
  height: clamp(250px, 28.9vw, 416px);
  background-size: cover;
  background-position: 50% 72%;
  color: var(--service-white);
}
.menu-header--01 {
  background-image: url("../images/service/menu_img01.webp");
  background-position: 50% 60%;
}
.menu-header--02 {
  background-image: url("../images/service/menu_img02.webp");
  background-position: 50% 30%;
}
.menu-header--03 {
  background-image: url("../images/service/menu_img03.webp");
  background-position: 50% 35%;
}
.menu-header--04 {
  background-image: url("../images/service/menu_img04.webp");
  background-position: 50% 65%;
  background-size: cover;
}
.menu-header h2 {
  position: relative;
  z-index: 1;
  color: var(--service-white);
  text-align: center;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: clamp(3rem, 3.33vw, 4.8rem);
  font-weight: 700;
  line-height: 1.8;
  letter-spacing: 2.4px;
}
.detail-content {
  max-width: 1240px;
  margin: auto;
  padding: 40px 20px 75px;
}
#jiritsu .detail-content {
  position: relative;
  isolation: isolate;
}
#jiritsu .detail-content::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  left: 50%;
  width: clamp(260px, 28vw, 400px);
  aspect-ratio: 1146 / 2248;
  translate: -50% 0;
  background: url("../images/service/jiritsu_leaf.png") center top / contain
    no-repeat;
  pointer-events: none;
}
#sinkyu .detail-content {
  position: relative;
  isolation: isolate;
}
#sinkyu .detail-content::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -250px;
  bottom: -170px;
  width: clamp(300px, 34vw, 490px);
  aspect-ratio: 1294 / 1612;
  background: url("../images/service/sinkyu_leaf.png") center / contain
    no-repeat;
  pointer-events: none;
}
#sinkyu .detail-content::after {
  content: "";
  position: absolute;
  z-index: -2;
  right: -332px;
  bottom: -291px;
  width: 780px;
  height: 699px;
  border-radius: 780px;
  background: var(--service-mint);
  filter: blur(125px);
  pointer-events: none;
}
.visit-detail .detail-content {
  position: relative;
  isolation: isolate;
}
.visit-detail {
  position: relative;
  isolation: isolate;
}
.visit-detail::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: -222px;
  top: clamp(250px, 28.9vw, 416px);
  width: 780px;
  height: 699px;
  border-radius: 780px;
  background: var(--service-mint);
  filter: blur(125px);
  pointer-events: none;
}
.visit-detail::after {
  content: "";
  position: absolute;
  z-index: 0;
  right: -781px;
  top: 1000px;
  width: 1152px;
  height: 1291px;
  border-radius: 1291px;
  background: var(--service-mint);
  filter: blur(125px);
  pointer-events: none;
}
.visit-detail > * {
  position: relative;
  z-index: 1;
}
.visit-detail .detail-content::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -300px;
  top: 237px;
  width: clamp(300px, 30.56vw, 440px);
  aspect-ratio: 881 / 860;
  background: url("../images/service/visit_leaf.png") center / contain no-repeat;
  pointer-events: none;
}
.detail-row,
.detail-row--reverse {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 30px;
  min-height: 494px;
  margin-bottom: 60px;
}
.detail-row--reverse > div {
  order: 2;
}
.detail-row > img,
.detail-row > picture {
  width: 100%;
  height: 330px;
  display: block;
  object-fit: cover;
  border-radius: 10px;
}
.detail-row > picture img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}
#jiritsu .detail-row:first-child > picture img {
  object-fit: contain;
  transform: none;
}
#jiritsu .detail-row:first-child > picture {
  height: auto;
  aspect-ratio: 4 / 3;
}
#sinkyu .detail-row:first-child > picture img {
  object-position: 75% center;
}
#jiritsu .detail-row--reverse > picture {
  height: auto;
  aspect-ratio: 1018 / 677;
  border-radius: 0;
}
#jiritsu .detail-row--reverse > picture img {
  object-fit: contain;
  transform: none;
  border-radius: 0;
}
#visit .detail-row:first-child > picture img {
  object-position: 40% center;
}
.detail-row h3 {
  margin-bottom: clamp(18px, 1.67vw, 24px);
  color: var(--service-green);
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: clamp(2.3rem, 2.78vw, 4rem);
  font-weight: 700;
  line-height: 1.5;
}
.detail-row p {
  max-width: 635px;
  color: var(--service-text);
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: clamp(1.4rem, 1.11vw, 1.6rem);
  font-style: normal;
  font-weight: 500;
  line-height: 1.8;
}
.electric-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-top: 50px;
}
.electric-cards article {
  padding: 50px clamp(30px, 6.94vw, 100px);
  background: var(--service-white);
  border-radius: 22px;
  box-shadow: 0 4px 3px rgba(0, 0, 0, 0.2);
}
.electric-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.electric-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  bottom: clamp(70px, 6.25vw, 90px);
  width: clamp(180px, 17.36vw, 250px);
  height: 45%;
  translate: -50% 0;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  pointer-events: none;
}
.electric-card--hvt::before {
  background-image: url("../images/service/electrical_icon01.svg");
}
.electric-card--mct::before {
  background-image: url("../images/service/electrical_icon02.svg");
}
.electric-card--ems::before {
  background-image: url("../images/service/electrical_icon03.svg");
}
.electric-cards .electric-overview {
  width: 100%;
  min-height: clamp(580px, 55.76vw, 803px);
  padding: clamp(45px, 5vw, 72px) clamp(20px, 3.47vw, 50px);
  overflow: hidden;
  background: var(--service-green);
  color: var(--service-white);
}
.electric-cards .electric-overview > h3 {
  margin: 0;
  padding: 0 0 clamp(24px, 2.78vw, 40px);
  border: 0;
  color: var(--service-white);
  text-align: center;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: clamp(2.4rem, 2.22vw, 3.2rem);
  font-weight: 700;
  line-height: 1.5;
}
.electric-cards .electric-overview > h3::after {
  content: "";
  display: block;
  width: min(75%, 290px);
  height: 3px;
  margin: clamp(24px, 2.78vw, 40px) auto 0;
  background: rgba(255, 255, 255, 0.75);
}
.electric-cards .electric-overview > h3 span {
  color: #ff9e29;
}
.electric-overview__diagram {
  position: relative;
  width: min(100%, 470px);
  aspect-ratio: 1 / 1;
  margin: 0 auto;
}
.electric-overview__diagram::before {
  content: "";
  position: absolute;
  inset: 18% 9% 5%;
  border: 3px dotted var(--service-white);
  border-radius: 50%;
}
.electric-overview__circle {
  position: absolute;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 48%;
  aspect-ratio: 1;
  padding: 15px;
  border-radius: 50%;
  background: var(--service-white);
  color: var(--service-green);
  text-align: center;
}
.electric-overview__circle::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 16%;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}
.electric-overview__circle--hvt {
  top: 0;
  left: 26%;
}
.electric-overview__circle--hvt::before {
  background-image: url("../images/service/electrical_icon01.svg");
}
.electric-overview__circle--mct {
  left: 2%;
  bottom: 9%;
}
.electric-overview__circle--mct::before {
  background-image: url("../images/service/electrical_icon02.svg");
}
.electric-overview__circle--ems {
  right: 2%;
  bottom: 9%;
}
.electric-overview__circle--ems::before {
  background-image: url("../images/service/electrical_icon03.svg");
}
.electric-overview__circle small {
  margin-bottom: 5px;
  font-size: clamp(1rem, 0.9vw, 1.3rem);
}
.electric-overview__circle strong {
  font-size: clamp(1.4rem, 1.39vw, 2rem);
  line-height: 1.5;
}
.electric-cards .electric-overview__cross {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: clamp(50px, 4.58vw, 66px);
  height: auto;
  translate: -50% -50%;
}
.electric-cards article:not(.electric-overview) > picture {
  display: block;
  width: min(100%, 394px);
  height: clamp(240px, 21.39vw, 308px);
  margin: 0 auto;
  overflow: hidden;
  border-radius: 6px;
}
.electric-cards article:not(.electric-overview) > picture img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.electric-cards .electric-card--ems > picture img {
  object-position: left 0;
  transform: scale(1.35);
  transform-origin: 25% 70%;
}
.electric-cards h3 {
  margin: 30px 0 18px;
  padding-left: 12px;
  border-left: 8px solid var(--service-green);
  color: var(--service-green);
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: clamp(2.4rem, 2.22vw, 3.2rem);
  font-weight: 700;
}
.electric-cards p {
  color: var(--service-text);
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: clamp(1.4rem, 1.11vw, 1.6rem);
  font-weight: 500;
  line-height: 1.8;
}
.electric-cards article:not(.electric-overview) > small {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 8px;
  margin-top: 20px;
  color: var(--service-green);
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: clamp(1.4rem, 1.11vw, 1.6rem);
  font-weight: 500;
  line-height: 1.8;
}
.electric-cards article:not(.electric-overview) > small em {
  font-style: normal;
  white-space: nowrap;
}
.electric-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.electric-cards
  article:not(.electric-overview)
  > small
  .electric-card__tags
  > span {
  padding: 0 20px;
  border: 1px solid var(--service-green);
  border-radius: 5px;
  white-space: nowrap;
}
.electric-combination {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 40px;
  margin-top: 70px;
  padding: 30px 20px;
  border-radius: 24px;
  background: var(--service-green);
  color: var(--service-white);
}
.electric-combination h3 {
  color: var(--service-white);
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: clamp(2.6rem, 2.22vw, 3.2rem);
  font-weight: 700;
  line-height: 1.5;
}
.electric-combination__panel {
  margin-top: clamp(28px, 2.64vw, 38px);
  padding: clamp(24px, 2.78vw, 40px) clamp(18px, 2.08vw, 30px);
  border-radius: 18px;
  background: var(--service-white);
  color: var(--service-ink);
  text-align: center;
}
.electric-combination__panel > strong {
  display: block;
  color: var(--service-text);
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: clamp(1.6rem, 1.39vw, 2rem);
  font-weight: 700;
}
.electric-combination .electric-combination__arrow {
  display: block;
  width: clamp(34px, 3.33vw, 48px);
  height: auto;
  margin: clamp(18px, 1.74vw, 25px) auto 8px;
}
.electric-combination__treatments {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 400px;
  margin-inline: auto;
  gap: clamp(10px, 1.39vw, 20px);
}
.electric-combination__treatments + .electric-combination__treatments {
  margin-top: clamp(20px, 2.08vw, 30px);
}
.electric-combination__treatments span {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  flex: 1;
  min-width: 0;
  min-height: 65px;
  color: var(--service-green);
}
.electric-combination__treatments span img {
  position: absolute;
  z-index: -1;
  width: clamp(50px, 4.86vw, 70px);
  height: clamp(50px, 4.86vw, 70px);
  object-fit: contain;
}
.electric-combination__treatments b {
  color: #456c58;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: clamp(1.3rem, 1.67vw, 2.4rem);
  font-weight: 700;
  line-height: 1.5;
}
.electric-combination__treatments i {
  color: var(--service-text);
  font-size: 1.8rem;
  font-style: normal;
}
.electric-combination__panel > small {
  display: block;
  margin-top: 10px;
  color: var(--service-text);
  text-align: center;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: clamp(1.3rem, 1.11vw, 1.6rem);
  font-weight: 500;
  line-height: 1.8;
}
.electric-combination > picture,
.electric-combination > picture img {
  display: block;
  width: 100%;
  height: 280px;
}
.electric-combination > picture img {
  object-fit: cover;
  border-radius: 10px;
}
.visit-flow {
  margin-top: 90px;
}
.visit-flow ol {
  max-width: 930px;
  margin: 70px auto 0;
}
.visit-flow li {
  display: grid;
  grid-template-columns: clamp(64px, 6.67vw, 96px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(15px, 2.43vw, 35px);
  width: min(100%, 580px);
  margin: 0 auto 40px;
}
.visit-flow li > b {
  position: relative;
  align-self: start;
  margin-top: 30px;
  display: grid;
  place-items: center;
  width: clamp(64px, 6.67vw, 96px);
  height: clamp(65px, 6.74vw, 97px);
  border-radius: 50%;
  background: var(--service-green);
  color: var(--service-white);
  font: 700 36px Cabin;
}
.visit-flow li:not(:last-child) > b::after {
  content: "";
  position: absolute;
  top: calc(100% + 60px);
  left: 50%;
  width: 40px;
  height: 95px;
  translate: -50% 0;
  background-image:
    url("../images/service/massage_arrow.svg"),
    url("../images/service/massage_arrow.svg"),
    url("../images/service/massage_arrow.svg");
  background-position:
    center 0,
    center 36px,
    center 72px;
  background-size: 40px auto;
  background-repeat: no-repeat;
  pointer-events: none;
}
.visit-flow li:last-child > b {
  background: #ff9e29;
}
.visit-flow__card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  min-height: 0;
  padding: 50px 30px;
  overflow: hidden;
  background: var(--service-white);
  border-radius: 15px;
  box-shadow: 0 4px 3px rgba(0, 0, 0, 0.15);
}
.visit-flow__card > div {
  padding: 0;
}
.visit-flow__card picture,
.visit-flow__card img {
  display: block;
  width: min(100%, 331px);
  height: clamp(220px, 21.39vw, 308px);
}
.visit-flow__card picture {
  justify-self: center;
  overflow: hidden;
  border-radius: 10px;
}
.visit-flow__card img {
  width: 100%;
  border-radius: inherit;
}
.visit-flow__card img {
  object-fit: cover;
}
.visit-flow li:nth-child(4) .visit-flow__card img {
  object-position: 30% 75%;
  transform-origin: 30% 75%;
}
.visit-flow__card h3 {
  margin-bottom: 40px;
  color: var(--service-green);
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: clamp(2rem, 1.67vw, 2.4rem);
  font-weight: 700;
  line-height: 1.8;
}
.visit-flow li:last-child .visit-flow__card h3 {
  color: #ffa629;
}
.visit-flow__card p {
  color: var(--service-text);
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.8;
}
.service-information {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  min-height: clamp(440px, 36.81vw, 530px);
  padding: clamp(45px, 5.56vw, 80px) 20px clamp(40px, 4.17vw, 60px);
  background-color: var(--service-mint);
  background-image:
    linear-gradient(
      90deg,
      var(--service-mint) 0%,
      rgba(207, 234, 210, 0.96) 28%,
      rgba(207, 234, 210, 0.72) 42%,
      rgba(207, 234, 210, 0) 68%
    ),
    url("../images/service/information_bk.webp");
  background-position: 0 0;
  background-size: cover;
  background-repeat: no-repeat;
}
.service-information h2 {
  color: var(--service-ink);
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: clamp(2.6rem, 3.33vw, 4.8rem);
  font-weight: 700;
  line-height: 1.45;
}
.service-information p {
  margin: 24px 0;
  color: var(--service-green);
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: clamp(3rem, 3.33vw, 4.8rem);
  font-weight: 700;
}
.service-information a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(6px, 0.69vw, 10px);
  width: min(100%, clamp(280px, 27.43vw, 395px));
  height: clamp(88px, 8.26vw, 119px);
  padding: clamp(15px, 1.74vw, 25px);
  border-radius: clamp(44px, 3.75vw, 54px);
  background: var(--service-orange);
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
  color: var(--service-white);
  text-align: center;
  font-size: clamp(2.2rem, 2.22vw, 3.2rem);
  font-weight: 700;
  line-height: 1;
  transition:
    background-color 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.3s ease;
}
.service-information a small {
  color: var(--service-white);
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: clamp(1.3rem, 1.25vw, 1.8rem);
  font-weight: 700;
  line-height: 1;
}
.treatment-menu-card:focus-visible,
.service-information a:focus-visible {
  outline: 3px solid var(--service-orange);
  outline-offset: 5px;
}
@media (max-width: 767px) {
  .menu-header {
    background-size: 160% auto;
  }
  .menu-header--01 {
    background-position: 50% 50%;
  }
  .menu-header--02 {
    background-position: 50% 40%;
  }
  .menu-header--04 {
    background-size: 180% auto;
  }
  .treatment-menu-card > span {
    width: 96%;
    max-width: 310px;
  }
  .treatment-menu-card:nth-child(2) > picture img {
    object-position: center 20%;
  }
  .treatment-menu-card small {
    white-space: nowrap;
  }
  .service-information {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: var(--service-mint);
  }
  .service-information::before,
  .service-information::after {
    content: "";
    position: absolute;
    inset-block: 0;
    pointer-events: none;
  }
  .service-information::before {
    z-index: -2;
    right: 0;
    width: 82%;
    background: url("../images/service/information_bk.webp") left center / cover
      no-repeat;
  }
  .service-information::after {
    z-index: -1;
    inset-inline: 0;
    background: linear-gradient(
      90deg,
      var(--service-mint) 0%,
      rgba(207, 234, 210, 0.96) 28%,
      rgba(207, 234, 210, 0.72) 42%,
      rgba(207, 234, 210, 0) 68%
    );
  }
  .electric-combination h3 {
    text-align: center;
  }
  .detail-row > picture {
    height: auto;
    aspect-ratio: 4 / 3;
  }
  .detail-row > picture,
  .electric-cards article:not(.electric-overview) > picture,
  .electric-combination > picture,
  .visit-flow__card picture {
    width: min(100%, 500px);
    margin-inline: auto;
  }
  .detail-row > div,
  .electric-cards article:not(.electric-overview),
  .electric-combination > div,
  .visit-flow__card > div {
    width: 100%;
    max-width: 500px;
    margin-inline: auto;
  }
  .treatment-menu-card > picture {
    width: min(100%, 350px);
    margin-inline: auto;
  }
  #jiritsu .detail-row--reverse > picture {
    aspect-ratio: 1018 / 677;
  }
  .visit-flow__card picture,
  .visit-flow__card img {
    height: auto;
    aspect-ratio: 331 / 308;
  }
  .visit-flow__card picture {
    width: min(100%, 330px);
  }
  .visit-flow__card {
    width: 100%;
    max-width: 500px;
    margin-inline: auto;
  }
}
@media (hover: hover) {
  .treatment-menu-card:hover > picture img {
    transform: scale(1.13);
  }
  .treatment-menu-card:hover i {
    background: var(--service-orange);
    color: var(--service-white);
    transform: translateX(3px);
  }
  .service-information a:hover {
    background: #e87943;
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.25);
    transform: translateY(-3px);
  }
}
@media (min-width: 768px) {
  .service-hero-new__lead {
    text-align: left;
  }

  .treatment-menu-card i {
    top: 30px;
    right: 30px;
    width: 58px;
    height: 58px;
  }
  .visit-flow li:not(:last-child) > b::after {
    width: 77px;
    height: 176px;
    background-position:
      center 0,
      center 66px,
      center 132px;
    background-size: 77px auto;
  }
  .treatment-menu-new__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .treatment-menu-card {
    min-height: 340px;
  }
  .treatment-menu-card > picture {
    width: 75%;
    height: 285px;
  }
  .treatment-menu-card > span {
    width: 72%;
    min-height: 178px;
    padding: 30px;
  }
  .treatment-flow-new ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(70px, 7vw, 100px) clamp(24px, 4vw, 56px);
  }
  .treatment-flow-new li:not(:last-child)::after {
    left: auto;
    right: clamp(-60px, -5vw, -42px);
    bottom: auto;
    top: 50%;
    width: clamp(60px, 5.56vw, 80px);
    height: clamp(60px, 5.56vw, 80px);
    translate: 0 -50%;
    rotate: 0deg;
  }
  .detail-content {
    width: min(1240px, calc(100% - clamp(40px, 6.94vw, 100px)));
    padding: clamp(50px, 4.17vw, 60px) 0 clamp(80px, 6.94vw, 100px);
  }
  .detail-row {
    grid-template-columns: minmax(280px, 412px) minmax(0, 1fr);
    gap: clamp(30px, 6.94vw, 100px);
    min-height: 380px;
    margin-bottom: 0;
  }
  .detail-row--reverse {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 412px);
    column-gap: clamp(24px, 3.47vw, 50px);
  }
  .detail-row--reverse > div {
    order: initial;
  }
  .detail-row > img,
  .detail-row > picture {
    width: 100%;
    height: clamp(380px, 34.3vw, 494px);
  }
  .electric-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .service-information {
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    padding: 80px 10% 60px;
    padding-left: 13%;
    background-image:
      linear-gradient(
        90deg,
        var(--service-mint) 0%,
        rgba(207, 234, 210, 0.96) 35%,
        rgba(207, 234, 210, 0.72) 42%,
        rgba(207, 234, 210, 0) 68%
      ),
      url("../images/service/information_bk.webp");
    background-position:
      center,
      calc(100% + 140px) top;
    background-size:
      cover,
      85% auto;
  }
  .service-information > div {
    text-align: left;
  }
}
@media (min-width: 1100px) {
  .visit-flow ol {
    max-width: 1000px;
  }
  .detail-row--reverse {
    margin-right: 100px;
  }
  #sinkyu .detail-row--reverse > div {
    margin-left: 100px;
  }
  .electric-combination {
    grid-template-columns: minmax(0, 1fr) 380px;
    padding: 50px;
  }
  .electric-combination > picture,
  .electric-combination > picture img {
    height: 450px;
  }
  .electric-combination > picture img {
    object-position: 50% 0%;
  }
  .visit-flow li {
    width: auto;
    gap: 35px;
    margin-right: 0;
    margin-left: 0;
  }
  .visit-flow__card {
    grid-template-columns: minmax(0, 1fr) 331px;
    min-height: 220px;
    border-radius: 18px;
  }
  .visit-flow__card picture,
  .visit-flow__card img {
    width: 331px;
    height: 308px;
  }
  .treatment-flow-new ol {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(24px, 2.78vw, 40px);
  }
  .treatment-flow-new li > b {
    top: -48px;
    width: 88px;
    height: 88px;
    font-size: 42px;
  }

  .treatment-flow-new li p {
    text-align: left;
  }

  .treatment-flow-new li:not(:last-child)::after {
    right: clamp(-60px, -4.17vw, -40px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .service-page .fade-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .service-page-heading.fade-in::after,
  .treatment-flow-new > h2.fade-in::after,
  .visit-flow > h2.fade-in::after {
    transform: none;
    transition: none;
  }
}
