/* Editable service template — Figma PC 2045:2 / SP 2045:13569. */
/* 見た目は common.css の .wb-breadcrumb。ここではサービスページでの位置だけ指定する。
   common.css はこのファイルより後に読まれるため、.single-service を付けて上書きを確実にする */
.single-service .wb-breadcrumb--service {
  width: auto;
  max-width: 1550.752px;
  max-width: 96.922rem;
  margin-top: 13.274px;
  margin-top: 0.8296rem;
  margin-right: auto;
  margin-bottom: 0;
  margin-left: auto;
  position: relative;
  z-index: 2;
}

.wcb-service-shell {
  overflow-x: clip;
  overflow-y: visible;
  -webkit-font-smoothing: antialiased;
}

.wcb-service-shell__inner {
  display: flex;
  align-items: flex-start;
  gap: 6.063rem;
  width: calc(100% - 12.25rem);
  max-width: 92.75rem;
  margin: 7.234rem auto 6.25rem;
}

.wcb-service-content {
  flex: 0 1 53.7925rem;
  min-width: 0;
  color: #000e27;
}

.wcb-service-nav {
  flex: 0 0 15.312rem;
  padding-top: 0.46875rem;
  color: #00006b;
}

.wcb-service-nav__category + .wcb-service-nav__category {
  margin-top: 1.924rem;
}

.wcb-service-nav__title {
  font-style: normal;
  font-weight: 700;
  font-family: "Zen Kaku Gothic New", sans-serif;
  letter-spacing: 0.03em;
  border-bottom: 0.0625rem solid #dfe4ee;
  padding-bottom: 0.4rem;
  border: 0;
  padding: 0 0 0 0.8745rem;
  font-size: 1rem;
  line-height: 1.8;
}

.wcb-service-nav__items {
  list-style: none;
  padding-top: 0.441rem;
}

.wcb-service-nav__item + .wcb-service-nav__item {
  margin-top: 0.2rem;
}

.wcb-service-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-style: normal;
  font-weight: 500;
  font-size: 0.8125rem;
  line-height: 1.9;
  font-family: "Zen Kaku Gothic New", sans-serif;
  letter-spacing: 0.03em;
  text-decoration: none;
  position: relative;
  padding: 0 0 0 0.8745rem;
  color: #808092;
  transition: color 0.25s ease;
}
.wcb-service-nav__link::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0.8745rem;
  height: 1px;
  height: 0.0625rem;
  background: #000025;
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
@media (hover: hover) {
  .wcb-service-nav__link:hover {
    color: #000025;
  }
  .wcb-service-nav__link:hover::after {
    transform: scaleX(1);
  }
}

.wcb-service-nav__link::before {
  content: "";
  width: 0.3125rem;
  height: 0.3125rem;
  border-right: 0.0625rem solid;
  border-bottom: 0.0625rem solid;
  transform: rotate(-45deg);
  display: none;
}

.wcb-service-nav__link.is-active {
  color: #000025;
}
.wcb-service-nav__link.is-active::after {
  transform: scaleX(1);
}
@media (prefers-reduced-motion: reduce) {
  .wcb-service-nav__link {
    transition: none;
  }
  .wcb-service-nav__link::after {
    transition: none;
  }
}

.wcb-service-hero {
  position: relative;
}

.wcb-service-hero__title {
  position: relative;
  font-style: normal;
  font-weight: 700;
  font-size: 2.892484rem;
  line-height: 1.25;
  font-family: "Zen Kaku Gothic New", sans-serif;
  letter-spacing: 0.05em;
  color: #00006b;
}

.wcb-service-hero__title-mobile {
  display: none;
}

.wcb-service-hero__kicker {
  display: block;
  line-height: inherit;
  margin-bottom: 0.4083rem;
}

.wcb-service-hero__lead {
  line-break: strict;
  margin-top: 1.485rem;
  font-style: normal;
  font-weight: 500;
  font-size: 1.0625rem;
  line-height: 1.85;
  font-family: "Zen Kaku Gothic New", sans-serif;
  letter-spacing: 0.07em;
  color: #00006b;
}

.wcb-service-hero__watermark {
  opacity: 0.59;
  position: absolute;
  top: -256px;
  top: -12.4rem;
  right: calc(50% - 50vw + 116px);
  right: calc(36% - 50vw + 7.25rem);
  font-style: normal;
  font-weight: 700;
  font-size: 195.573px;
  font-size: min(12.2233rem, 15vw);
  line-height: 1.75;
  font-family: "Ubuntu", sans-serif;
  letter-spacing: 0.17em;
  white-space: nowrap;
  background: linear-gradient(110deg,#f0effc,#e3eefd);
  background-clip: text;
  -webkit-text-fill-color: transparent;
  user-select: none;
}

.wcb-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2557rem;
  margin-top: 1.94rem;
}

.wcb-actions__contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.48rem;
  min-width: 227.651px;
  min-width: 14.2282rem;
  max-width: 100%;
  min-height: 4.1429rem;
  border-radius: 0.223rem;
  /* ホバーは「よくあるご質問」ページのCTA（common.css の .wb-btn）と同じ挙動にしている。 */
  background-color: #ef405a;
  background-image: linear-gradient(90deg, #df233f 0%, #df233f 50%, #ef405a 50%, #ef405a 100%);
  background-position: 100% 0;
  background-repeat: no-repeat;
  background-size: 200% 100%;
  transition: background-position 0.3s cubic-bezier(0.65, 0, 0.35, 1);
  color: #fff;
  font-style: normal;
  font-weight: 700;
  font-size: 0.90625rem;
  line-height: 1.5;
  font-family: "Noto Sans JP", sans-serif;
  letter-spacing: 0.11em;
  text-decoration: none;
}

.wcb-actions__arrow {
  position: relative;
  overflow: hidden;
  width: 2.953rem;
  height: 2.307rem;
  border-radius: 6.25rem;
  background-color: rgba(255,255,255,0.2);
}

/* ホバーで内側から白い円が広がる。 */
.wcb-actions__arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 0;
  width: 150%;
  aspect-ratio: 1;
  border-radius: 50%;
  background-color: #fff;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.4s cubic-bezier(0.45, 0, 0.35, 1);
}

/* 矢印そのもの。通常は白、ホバーでは白い円の上に赤で出る。 */
.wcb-actions__arrow::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: 0.521rem;
  height: 0.521rem;
  background-color: #fff;
  -webkit-mask: url("../../images/service/button-arrow.webp") center / contain no-repeat;
  mask: url("../../images/service/button-arrow.webp") center / contain no-repeat;
  transform: translate(-50%, -50%);
  transition: background-color 0.16s ease 0.12s;
}

.wcb-actions__download {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-width: 227.651px;
  min-width: 14.2282rem;
  max-width: 100%;
  min-height: 4.1429rem;
  border: 0.125rem solid #ef405a;
  border-radius: 0.223rem;
  color: #ef405a;
  background-color: #fff;
  background-image: linear-gradient(90deg, #fae8e8 0%, #fae8e8 50%, #fff 50%, #fff 100%);
  background-position: 100% 0;
  background-repeat: no-repeat;
  background-size: 200% 100%;
  transition: background-position 0.3s cubic-bezier(0.65, 0, 0.35, 1);
  font-style: normal;
  font-weight: 700;
  font-size: 0.90625rem;
  line-height: 1.5;
  font-family: "Noto Sans JP", sans-serif;
  letter-spacing: 0.1em;
  text-decoration: none;
}

.wcb-actions__external {
  width: 1.262rem;
  height: 1.262rem;
}

@media (hover: hover) {
  .wcb-actions__contact:hover {
    background-position: 0 0;
    background-color: #df233f;
  }

  .wcb-actions__contact:hover .wcb-actions__arrow::before {
    transform: translate(-50%, -50%) scale(1);
  }

  .wcb-actions__contact:hover .wcb-actions__arrow::after {
    background-color: #df233f;
  }

  .wcb-actions__download:hover {
    background-position: 0 0;
    background-color: #fae8e8;
    border-color: #ef405a;
  }
}

.wcb-actions__contact:focus-visible {
  background-position: 0 0;
  background-color: #df233f;
}

.wcb-actions__contact:focus-visible .wcb-actions__arrow::before {
  transform: translate(-50%, -50%) scale(1);
}

.wcb-actions__contact:focus-visible .wcb-actions__arrow::after {
  background-color: #df233f;
}

.wcb-actions__download:focus-visible {
  background-position: 0 0;
  background-color: #fae8e8;
  border-color: #ef405a;
}

.wcb-toc {
  margin-top: 3.9666rem;
  margin-bottom: 6.25rem;
  max-width: 49.8116rem;
}

.wcb-toc__items {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  column-gap: 1.908rem;
  row-gap: 0.8553rem;
  list-style: none;
}

.wcb-toc__link {
  display: flex;
  box-sizing: border-box;
  height: 100%;
  justify-content: space-between;
  align-items: center;
  gap: 0.25rem;
  min-height: 2.6542rem;
  border-bottom: 0.0625rem solid #d9dfec;
  padding: 0 0.4rem 0.7rem 0;
  font-style: normal;
  font-weight: 500;
  font-size: 0.9375rem;
  line-height: 1.9;
  font-family: "Zen Kaku Gothic New", sans-serif;
  letter-spacing: 0.05em;
  text-decoration: none;
  color: #000025;
  position: relative;
  transition: color 0.25s ease;
}
.wcb-toc__link::after {
  position: absolute;
  right: 0;
  bottom: -0.05rem;
  left: 0;
  height: 1px;
  height: 0.0625rem;
  background: #00006b;
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1);
}
@media (hover: hover) {
  .wcb-toc__link:hover::after {
    transform: scaleX(1);
  }
  .wcb-toc__link:hover .wcb-toc__icon {
    transform: translateY(3px);
  }
}

.wcb-toc__icon {
  flex-grow: 0;
  flex-shrink: 0;
  flex-basis: 18px;
  flex-basis: 1.125rem;
  height: 18px;
  height: 1.125rem;
  background: url("../../images/service/toc-arrow.webp") center / contain no-repeat;
  transition: transform 0.25s ease;
}
@media (prefers-reduced-motion: reduce) {
  .wcb-toc__link::after {
    transition: none;
  }
  .wcb-toc__icon {
    transition: none;
  }
}

.wcb-toc__toggle {
  display: none;
}

.wcb-service-section + .wcb-service-section {
  margin-top: 6.25rem;
}

.wcb-service-section__label {
  font-style: italic;
  font-weight: 400;
  font-size: 1.174257rem;
  line-height: 1.75;
  font-family: "Gidole", sans-serif;
  letter-spacing: 0.12em;
  color: #1a298c;
  margin-bottom: 0.2685rem;
}

.wcb-service-section__title {
  font-style: normal;
  font-weight: 700;
  font-size: 2.375rem;
  line-height: 1.25;
  font-family: "Zen Kaku Gothic New", sans-serif;
  letter-spacing: 0.07em;
  color: #103899;
  background: linear-gradient(105deg,#084eb7 0.513%,#1a298b 94.347%);
  background-clip: text;
  -webkit-text-fill-color: transparent;
  scroll-margin-top: 8rem;
  width: fit-content;
  max-width: 100%;
  position: relative;
}

.wcb-service-section__body {
  margin-top: 1.5rem;
}

.wcb-service-section__body > p {
  font-style: normal;
  font-weight: 500;
  font-size: 1.0625rem;
  line-height: 1.85;
  font-family: "Zen Kaku Gothic New", sans-serif;
  letter-spacing: 0.05em;
  color: #00006b;
}

.wcb-service-section__body > .wp-block-image {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.wcb-service-section__body > h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-style: normal;
  font-weight: 700;
  font-size: 2rem;
  line-height: 1.4;
  font-family: "Zen Kaku Gothic New", sans-serif;
  color: #103899;
}

.wcb-service-section__body > h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-style: normal;
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.5;
  font-family: "Zen Kaku Gothic New", sans-serif;
  color: #00006b;
}

.wcb-service-content > .wcb-service-cta {
  margin-top: 3.75rem;
  margin-bottom: 5.63rem;
}

.wcb-service-section__body > .wcb-offers--steps + .wcb-service-cta {
  margin-top: 60px;
  margin-top: 3.75rem;
}

.wcb-service-content > .wcb-service-form {
  margin-top: 6.25rem;
  margin-bottom: 6.25rem;
}

.wcb-service-section:has(.wcb-reasons) .wcb-service-section__body {
  margin-top: 4.749rem;
}

.wcb-service-section:has(.wcb-offers) .wcb-service-section__body {
  margin-top: 1.718rem;
}

.wcb-service-section:has(.wcb-points) .wcb-service-section__body {
  margin-top: 2.153rem;
}

.wcb-service-section:has(.wcb-members) .wcb-service-section__body {
  margin-top: -2.98rem;
}

.wcb-service-section:has(.wcb-pricing) .wcb-service-section__body {
  margin-top: 1.72rem;
}

.wcb-service-section:has(.wcb-faq) .wcb-service-section__body {
  margin-top: 3.25rem;
}

@media (min-width: 768px) and (max-width: 1400px) {
  .wcb-service-shell__inner {
    width: calc(100% - 5rem);
    gap: 3rem;
  }

  .wcb-service-nav {
    flex-basis: 12rem;
  }

  .wcb-service-hero__title {
    font-size: clamp(2rem,2.76vw,2.892484rem);
  }

  .single-service .wb-breadcrumb--service {
    margin-right: 40px;
    margin-right: 2.5rem;
    margin-left: 40px;
    margin-left: 2.5rem;
  }

  .wcb-toc__items {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}

.wcb-service-nav__link.is-active::before {
  display: block;
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 0.324rem;
  height: 0.324rem;
  border: 0;
  border-radius: 50%;
  background: #e0e4f4;
}

.wcb-service-section:has(.wcb-note) .wcb-service-section__body {
  margin-top: 1.0368rem;
}

.wcb-service-section:has(.wcb-list:not(.wcb-list--check)) .wcb-service-section__body {
  margin-top: 1.4443rem;
}

.wcb-service-section:has(.wcb-members) + .wcb-service-section {
  margin-top: 2.5rem;
}

.wcb-toc__toggle[hidden] {
  display: none;
}

/* Figma 2160:2 — PC front end only; keep Gutenberg and SP independent. */
@media (min-width: 768px) {
  .single-service .wcb-service-shell__inner {
    margin-top: 6.902625rem;
  }

  .single-service .wcb-service-section:has(.wcb-benefits) .wcb-service-section__title {
    background-image: linear-gradient(126.00477deg, #084eb7 0.513%, #1a298b 94.347%);
  }

  .single-service .wcb-service-section:has(.wcb-offers--steps) .wcb-service-section__title {
    background-image: linear-gradient(104.080515deg, #084eb7 0.513%, #1a298b 94.347%);
  }

  .single-service .wcb-service-hero .wcb-actions__contact {
    justify-content: flex-start;
    padding-left: 1.7625rem;
    padding-right: 23.195px;
    padding-right: 1.4497rem;
    gap: 0.310625rem;
    padding-top: 0.1575rem;
  }

  .single-service .wcb-service-hero .wcb-actions__arrow {
    flex-shrink: 0;
    margin-left: auto;
    width: 2.6581875rem;
    height: 2.0765625rem;
  }

  .single-service .wcb-service-hero .wcb-actions__arrow::after {
    width: 0.46925rem;
    height: 0.46925rem;
  }

  .single-service .wcb-service-hero .wcb-actions__download {
    justify-content: flex-start;
    padding-left: 2.338125rem;
    padding-right: 36.797px;
    padding-right: 2.2998rem;
    gap: 0.2928125rem;
    padding-top: 0.174375rem;
    border-width: 0.1246875rem;
  }

  .single-service .wcb-service-hero .wcb-actions__external {
    flex-shrink: 0;
    margin-left: auto;
    width: 1.1354375rem;
    height: 1.1353125rem;
  }
}

@media (min-width: 1400.01px) {
  .single-service .wb-breadcrumb--service {
    margin-left: max(2.5rem, calc((100vw - 96.922rem) / 2));
    margin-right: max(2.5rem, calc((100vw - 96.922rem) / 2));
  }
}
