/* 事業内容ページ固有スタイル */

.business-page {
  padding-top: var(--header);
  background: var(--white);
}

.business-hero {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: clamp(124px, 15vw, 210px) 24px calc(clamp(76px, 9vw, 132px) + 2cm);
}

.business-hero h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(21px, 3.2vw, 44px);
  line-height: 1.15;
  font-weight: 820;
  letter-spacing: 0;
}

.business-hero h1 > span,
.business-hero h2 > span {
  display: block;
}

.business-hero-statement {
  display: grid;
  grid-template-columns: minmax(140px, calc(33.333% - 2cm)) minmax(0, calc(66.667% + 2cm));
  align-items: center;
  gap: clamp(48px, 7vw, 118px);
  margin-top: clamp(104px, 12vw, 186px);
}

.business-hero-logo {
  display: block;
  width: min(100%, clamp(136px, 16vw, 234px));
  height: auto;
  justify-self: center;
  filter:
    drop-shadow(0 34px 32px rgba(23, 105, 240, 0.154))
    drop-shadow(0 18px 18px rgba(12, 16, 32, 0.098));
  transform: translate(-2cm, -8px);
}

.business-hero h2 {
  margin: 0;
  font-size: clamp(10.2px, 2.51vw, 37.4px);
  line-height: 1.55;
  font-weight: 800;
  letter-spacing: 0;
}

.business-service-area {
  width: auto;
  margin: 0 26px clamp(80px, 10vw, 150px);
  padding: clamp(44px, 5.5vw, 86px) clamp(26px, 4vw, 72px);
  background: #f4f5f7;
  border-radius: 16px;
}

.business-service {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 45%) minmax(72px, 10%) minmax(0, 45%);
  gap: 0;
  align-items: start;
  min-height: clamp(560px, 64vw, 800px);
  padding: clamp(42px, 5.6vw, 82px) 0;
  border-top: 1px solid rgba(223, 228, 236, 0.86);
}

.business-service:first-child {
  border-top: 0;
  padding-top: 0;
}

.business-service:last-child {
  min-height: clamp(480px, 56vw, 690px);
  padding-bottom: 0;
}

.business-service-sticky {
  position: sticky;
  top: calc(var(--header) + clamp(34px, 5vw, 82px));
  grid-column: 1;
  align-self: start;
}

.business-service-index {
  margin: 0 0 clamp(24px, 4vw, 56px);
  color: #9aa3b2;
  font-size: clamp(13px, 1vw, 15px);
  font-weight: 820;
  line-height: 1;
}

.business-service h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(17px, 2.15vw, 34px);
  font-weight: 820;
  line-height: 1.28;
  letter-spacing: 0;
}

.business-service-button {
  grid-column: 2;
  justify-self: start;
  display: grid;
  position: relative;
  place-items: center;
  width: clamp(82px, 7vw, 104px);
  aspect-ratio: 1;
  color: var(--blue);
  font-size: clamp(23px, 2.2vw, 34px);
  line-height: 1;
}

.business-service-button svg {
  position: absolute;
  inset: 0;
  display: block;
  overflow: visible;
  transform: rotate(-90deg);
}

.business-service-button circle {
  fill: none;
  stroke-width: 1.4;
}

.business-service-button-base {
  stroke: #d9dee8;
}

.business-service-button-progress {
  stroke: var(--blue);
  stroke-dasharray: 283;
  stroke-dashoffset: 283;
  transition: stroke-dashoffset 0.55s ease;
}

.business-service-button:hover .business-service-button-progress,
.business-service-button:focus-visible .business-service-button-progress {
  stroke-dashoffset: 0;
}

.business-service-file-icon {
  position: relative;
  z-index: 1;
  display: block;
  width: 23px;
  height: 18px;
}

.business-service-file-icon i {
  position: absolute;
  background: currentColor;
  border: 0;
  border-radius: 2px;
}

.business-service-file-icon i:first-child {
  display: block;
  right: 0;
  top: 0;
  width: 13px;
  height: 10px;
}

.business-service-file-icon i:last-child {
  left: 0;
  bottom: 0;
  width: 15px;
  height: 12px;
  transform: none;
}

.business-service-body {
  grid-column: 3;
  display: grid;
  gap: clamp(22px, 2.8vw, 42px);
}

.business-service-body figure {
  display: grid;
  place-items: center;
  width: 80%;
  margin: 0;
  aspect-ratio: 1.42;
  overflow: hidden;
  background: var(--white);
  border-radius: 8px;
}

.business-service-body img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.business-service-body p {
  width: 80%;
  margin: 0;
  color: var(--muted);
  font-size: clamp(11px, 0.9vw, 13px);
  font-weight: 700;
  line-height: 1.95;
}

.business-service-body .business-service-lead {
  color: var(--ink);
  font-size: clamp(15px, 1.65vw, 25px);
  font-weight: 820;
  line-height: 1.55;
}

@media (min-width: 768px) and (max-width: 1279px) {
  .business-media {
    aspect-ratio: 1.34;
  }

  .business-media img {
    object-fit: contain;
  }

  body.site-shell-business .business-service-area {
    margin-inline: 16px;
    padding: 32px 28px;
    border-radius: 12px;
  }

  body.site-shell-business .business-service-body {
    position: relative;
    z-index: 1;
    width: 100%;
    display: grid;
    gap: 35px;
  }

  body.site-shell-business .business-service-body figure {
    width: 100%;
    aspect-ratio: 1.42;
  }

  body.site-shell-business .business-service-body p {
    width: 100%;
    font-size: 12px;
  }

  body.site-shell-business .business-service-body .business-service-lead {
    font-size: 17px;
  }

}

@media (max-width: 767px) {
  .business-media {
    aspect-ratio: 1.34;
  }

  .business-media img {
    object-fit: contain;
  }

  body.site-shell-business .business-service-area {
    margin-inline: 16px;
    padding: 32px 28px;
    border-radius: 12px;
  }

  body.site-shell-business .business-service-body {
    position: relative;
    z-index: 1;
    width: 100%;
    display: grid;
    gap: 35px;
  }

  body.site-shell-business .business-service-body figure {
    width: 100%;
    aspect-ratio: 1.42;
  }

  body.site-shell-business .business-service-body p {
    width: 100%;
    font-size: 12px;
  }

  body.site-shell-business .business-service-body .business-service-lead {
    font-size: 17px;
  }

}

@media (max-width: 767px) {
  body.site-shell-business .business-service-area {
    width: auto;
    margin-inline: 22px;
    padding: 34px 24px;
    border-radius: 12px;
  }

  body.site-shell-business .business-service {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    column-gap: 14px;
    row-gap: 28px;
    align-items: start;
    min-height: 0;
    padding: 52px 0;
  }

  body.site-shell-business .business-service:first-child {
    padding-top: 0;
  }

  body.site-shell-business .business-service-sticky {
    grid-area: auto;
    position: static;
    align-self: start;
    min-width: 0;
  }

  body.site-shell-business .business-service > .business-service-sticky {
    display: block;
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
    margin: 0;
  }

  body.site-shell-business .business-service > .business-service-sticky h2 {
    display: block;
  }

  body.site-shell-business .business-service > .business-service-button:not(.business-service-mobile-button) {
    display: grid;
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    align-self: center;
    position: relative;
    top: auto;
    margin-top: 0;
  }

  body.site-shell-business .business-service-index {
    margin-bottom: 10px;
  }

  body.site-shell-business .business-service h2 {
    max-width: none;
    font-size: 15px;
    line-height: 1.28;
    letter-spacing: 0;
    white-space: nowrap;
  }

  body.site-shell-business .business-service-button {
    display: grid;
    position: relative;
    place-items: center;
    flex: 0 0 84px;
    align-self: center;
    justify-self: end;
    margin-top: 0;
    width: 84px;
    aspect-ratio: 1;
    font-size: 14px;
    isolation: isolate;
    z-index: 2;
    overflow: visible;
  }

  body.site-shell-business .business-service-button svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }

  body.site-shell-business .business-service-file-icon {
    position: relative;
    z-index: 1;
  }

  body.site-shell-business .business-service-body {
    grid-column: 1 / -1;
    grid-row: 2;
    order: 3;
    position: relative;
    z-index: 1;
    width: 100%;
    display: grid;
    gap: 35px;
  }

  body.site-shell-business .business-service-body figure {
    width: 100%;
    aspect-ratio: 1.42;
  }

  body.site-shell-business .business-service-body p {
    width: 100%;
    font-size: 12px;
  }

  body.site-shell-business .business-service-body .business-service-lead {
    font-size: 17px;
  }

  .business-media {
    width: 100%;
    aspect-ratio: 1.42;
    border-radius: 10px;
  }

  body.site-shell-business .business-service-area {
    width: auto;
    margin-inline: 22px;
    padding: 34px 24px;
  }

  body.site-shell-business .business-service {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    column-gap: 14px;
    row-gap: 28px;
    align-items: start;
    min-height: 0;
    padding: 52px 0;
  }

  body.site-shell-business .business-service:first-child {
    padding-top: 0;
  }

  body.site-shell-business .business-service-sticky {
    grid-area: auto;
    position: static;
    align-self: start;
    min-width: 0;
  }

  body.site-shell-business .business-service > .business-service-sticky {
    display: block;
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
    margin: 0;
  }

  body.site-shell-business .business-service > .business-service-sticky h2 {
    display: block;
  }

  body.site-shell-business .business-service > .business-service-button:not(.business-service-mobile-button) {
    display: grid;
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    align-self: center;
    position: relative;
    top: auto;
    margin-top: 0;
  }

  body.site-shell-business .business-service-index {
    margin-bottom: 10px;
  }

  body.site-shell-business .business-service h2 {
    max-width: none;
    font-size: 15px;
    line-height: 1.28;
    letter-spacing: 0;
    white-space: nowrap;
  }

  body.site-shell-business .business-service-button {
    display: grid;
    position: relative;
    place-items: center;
    flex: 0 0 84px;
    align-self: center;
    justify-self: end;
    margin-top: 0;
    width: 84px;
    aspect-ratio: 1;
    font-size: 14px;
    isolation: isolate;
    z-index: 2;
    overflow: visible;
  }

  body.site-shell-business .business-service-button svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }

  body.site-shell-business .business-service-file-icon {
    position: relative;
    z-index: 1;
  }

  body.site-shell-business .business-service-body {
    grid-column: 1 / -1;
    grid-row: 2;
    order: 3;
    position: relative;
    z-index: 1;
    width: 100%;
    display: grid;
    gap: 35px;
  }

  body.site-shell-business .business-hero {
    width: min(100%, calc(var(--max) + 2cm));
    padding: clamp(54px, calc(13vw - 38px), 134px) 24px 62px;
  }

  body.site-shell-business .business-hero-statement {
    grid-template-columns: 1fr;
    gap: 62px;
    margin-top: 0;
  }

  body.site-shell-business .business-hero-logo {
    width: min(100%, 110px);
    filter:
      drop-shadow(0 34px 32px rgba(23, 105, 240, 0.154))
      drop-shadow(0 18px 18px rgba(12, 16, 32, 0.098));
    transform: translate(-8px, -8px);
  }

  body.site-shell-business .business-hero h1 {
    margin-bottom: 62px;
    font-size: clamp(27px, 4vw, 56px);
  }

  body.site-shell-business .business-hero h2 {
    font-size: 20px;
  }

  body.site-shell-business .business-hero h2 span {
    display: inline;
    white-space: normal;
  }

  body.site-shell-home .business-media {
    width: 100%;
    aspect-ratio: 1.42;
    border-radius: 10px;
  }

  body.site-shell-home .business-media img {
    object-fit: contain;
  }

}

@media (min-width: 768px) and (max-width: 1279px) {
  body.site-shell-business .business-page .business-hero-logo {
    filter:
      drop-shadow(0 16px 18px rgba(23, 105, 240, 0.105))
      drop-shadow(0 8px 10px rgba(12, 16, 32, 0.065));
  }

  body.site-shell-business .business-page .business-service-area {
    margin-inline: 7.5px;
  }

  body.site-shell-business .business-page .business-service {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 72px;
    grid-template-areas:
      "number number"
      "title button"
      "body body";
    column-gap: 0.5mm;
    row-gap: 0;
    align-items: center;
    min-height: 0;
  }

  body.site-shell-business .business-page .business-service:first-child {
    padding-top: 42px;
  }

  body.site-shell-business .business-page .business-service:not(:first-child) {
    padding-top: 4cm;
  }

  body.site-shell-business .business-page .business-service:last-child {
    padding-bottom: 2cm;
  }

  body.site-shell-business .business-page .business-service > .business-service-sticky {
    display: contents;
    position: static;
  }

  body.site-shell-business .business-page .business-service-index {
    grid-area: number;
    margin: 0 0 calc(1mm + 0.5mm);
  }

  body.site-shell-business .business-page .business-service > .business-service-sticky h2 {
    display: block;
    grid-area: title;
    min-width: 0;
    max-width: none;
    margin: 0;
    font-size: clamp(15px, 4.36vw, 17px);
    line-height: 1.28;
    letter-spacing: 0;
    white-space: normal;
  }

  body.site-shell-business .business-page .business-service > .business-service-button {
    grid-area: button;
    display: grid;
    position: relative;
    width: 72px;
    aspect-ratio: 1;
    place-items: center;
    justify-self: end;
    align-self: center;
    margin: 0;
    color: var(--blue);
    isolation: isolate;
    overflow: visible;
    z-index: 2;
  }

  body.site-shell-business .business-page .business-service-button svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }

  body.site-shell-business .business-page .business-service-button .business-service-file-icon {
    position: relative;
    z-index: 1;
  }

  body.site-shell-business .business-page .business-service-mobile-head {
    display: none;
  }

  body.site-shell-business .business-page .business-service-body {
    grid-area: body;
    position: relative;
    z-index: 1;
    width: 100%;
    margin-top: 36px;
  }

  body.site-shell-business .business-page .business-service-body figure {
    width: 100%;
  }

  body.site-shell-business .business-hero {
    width: 94%;
    max-width: none;
    margin: 0 auto;
    padding: clamp(124px, 15vw, 210px) 0 calc(clamp(76px, 9vw, 132px) + 2cm);
  }

  body.site-shell-business .business-hero-statement {
    grid-template-columns: minmax(150px, 28%) minmax(0, 1fr);
    gap: clamp(32px, 5vw, 88px);
    align-items: center;
    margin-top: clamp(92px, 10vw, 170px);
  }

  body.site-shell-business .business-hero-logo {
    width: min(100%, clamp(112px, 12vw, 190px));
    justify-self: center;
    filter:
      drop-shadow(0 34px 32px rgba(23, 105, 240, 0.154))
      drop-shadow(0 18px 18px rgba(12, 16, 32, 0.098));
    transform: none;
  }

  body.site-shell-business .business-hero h1 {
    margin-bottom: 62px;
    font-size: clamp(27px, 4vw, 56px);
  }

  body.site-shell-business .business-hero h2 {
    margin: 0;
    font-size: 20px;
    line-height: 1.55;
    font-weight: 800;
    letter-spacing: 0;
    justify-self: start;
    max-width: none;
  }

  body.site-shell-business .business-hero h2 span {
    display: block;
    white-space: nowrap;
  }

  body.site-shell-home .business-media {
    aspect-ratio: 1.34;
  }

  body.site-shell-home .business-media img {
    object-fit: contain;
  }

}

@media (min-width: 768px) and (max-width: 1279px) {
  .about-hero,
  .about-content,
  .about-tab-band > div,
  .business-hero,
  .news-hero,
  .news-archive,
  .contact-page-hero,
  .form-shell,
  body.site-shell-standard .site-footer:not(.shared-footer) .footer-top,
  body.site-shell-standard .site-footer:not(.shared-footer) .footer-links,
  body.site-shell-standard .site-footer:not(.shared-footer) .footer-bottom {
    width: calc(100% - (var(--page-side-margin) * 2));
    max-width: none;
    margin-left: auto;
    margin-right: auto;
  }

  .about-hero,
  .about-content,
  .business-hero,
  .news-hero,
  .news-archive,
  .contact-page-hero,
  .form-shell {
    padding-left: 0;
    padding-right: 0;
  }

  body.site-shell-business .business-hero {
    width: 94%;
    max-width: none;
    margin: 0 auto;
    padding: clamp(124px, 15vw, 210px) 0 calc(clamp(76px, 9vw, 132px) + 2cm);
  }

  body.site-shell-business .business-hero-statement {
    grid-template-columns: minmax(150px, 28%) minmax(0, 1fr);
    gap: clamp(32px, 5vw, 88px);
    align-items: center;
    margin-top: clamp(92px, 10vw, 170px);
  }

  body.site-shell-business .business-hero-logo {
    width: min(100%, clamp(120px, 14vw, 234px));
    justify-self: center;
    transform: none;
  }

  body.site-shell-business .business-hero h2 {
    max-width: none;
    font-size: clamp(10.2px, 2.51vw, 37.4px);
    line-height: 1.55;
    justify-self: start;
  }

  body.site-shell-business .business-hero h2 span {
    display: block;
    white-space: nowrap;
  }

}

@media (min-width: 1280px) {
  .about-hero,
  .about-content,
  .about-tab-band > div,
  .business-hero,
  .news-hero,
  .news-archive,
  .contact-page-hero,
  .form-shell,
  body.site-shell-standard .site-footer:not(.shared-footer) .footer-top,
  body.site-shell-standard .site-footer:not(.shared-footer) .footer-links,
  body.site-shell-standard .site-footer:not(.shared-footer) .footer-bottom {
    width: calc(100% - (var(--page-side-margin) * 2));
    max-width: none;
    margin-left: auto;
    margin-right: auto;
  }

  .about-hero,
  .about-content,
  .business-hero,
  .news-hero,
  .news-archive,
  .contact-page-hero,
  .form-shell {
    padding-left: 0;
    padding-right: 0;
  }

  body.site-shell-business .business-hero {
    width: 94%;
    max-width: none;
    margin: 0 auto;
    padding: clamp(124px, 15vw, 210px) 0 calc(clamp(76px, 9vw, 132px) + 2cm);
  }

  body.site-shell-business .business-hero-statement {
    grid-template-columns: minmax(150px, 28%) minmax(0, 1fr);
    gap: clamp(32px, 5vw, 88px);
    align-items: center;
    margin-top: clamp(92px, 10vw, 170px);
  }

  body.site-shell-business .business-hero-logo {
    width: min(100%, clamp(120px, 14vw, 234px));
    justify-self: center;
    transform: none;
  }

  body.site-shell-business .business-hero h2 {
    max-width: none;
    font-size: clamp(10.2px, 2.51vw, 37.4px);
    line-height: 1.55;
    justify-self: start;
  }

  body.site-shell-business .business-hero h2 span {
    display: block;
    white-space: nowrap;
  }

}

@media (min-width: 1280px) {
  .business-service > .business-service-button {
    --business-service-button-offset: clamp(20px, calc(4.1vw - 15px), 41px);
    position: sticky;
    top: calc(var(--header) + clamp(34px, 5vw, 82px) + var(--business-service-button-offset));
    margin-top: var(--business-service-button-offset);
  }

}
