@charset "UTF-8";

.jz-service-page {
  overflow: hidden;
  background: #f3f4f5;
  color: var(--jz-ink);
}

.jz-service-hero {
  position: relative;
  min-height: clamp(620px, calc(100svh - var(--jz-header-height)), 760px);
  overflow: hidden;
  border-bottom: 1px solid rgba(6, 54, 117, .08);
  background:
    radial-gradient(circle at 78% 21%, rgba(42, 132, 216, .2), transparent 27%),
    radial-gradient(circle at 88% 46%, rgba(93, 201, 184, .17), transparent 24%),
    #fafbfc;
}

.jz-service-hero-inner {
  position: relative;
  min-height: inherit;
}

.jz-service-hero-copy {
  position: absolute;
  top: 47%;
  left: 0;
  width: min(78%, 1000px);
  transform: translateY(-50%);
}

.jz-service-hero h1,
.jz-service-section-en,
.jz-service-insights h2 {
  width: max-content;
  color: #24272b;
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  font-weight: 700;
  letter-spacing: -.055em;
}

.jz-service-hero h1 {
  padding-block: .08em;
  font-size: clamp(88px, 9.4vw, 160px);
  line-height: 1.12;
  white-space: nowrap;
}

.jz-service-hero h1::after {
  display: block;
  width: 72px;
  height: 4px;
  margin-top: 14px;
  background: #0b66b4;
  content: '';
}

.jz-service-hero-title {
  margin-top: 20px !important;
  color: #25292e;
  font-size: clamp(20px, 1.5vw, 25px);
  font-weight: 700;
  letter-spacing: .03em;
}

.jz-service-hero-lead {
  width: max-content;
  max-width: 100%;
  margin-top: 23px !important;
  color: #4c6072;
  font-size: clamp(16px, 1vw, 17px);
  line-height: 1.9;
}

.jz-service-breadcrumb {
  position: absolute;
  right: 0;
  bottom: 60px;
  display: flex;
  align-items: center;
  gap: 11px;
  color: #5b6670;
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .05em;
}

.jz-service-breadcrumb a {
  border-bottom: 1px solid currentColor;
}

.jz-service-overview {
  position: relative;
  padding-block: clamp(112px, 9vw, 160px);
  background:
    radial-gradient(circle at 8% 33%, rgba(50, 132, 216, .11), transparent 19%),
    radial-gradient(circle at 92% 68%, rgba(95, 202, 183, .1), transparent 18%),
    #f2f3f4;
}

.jz-service-section-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: clamp(72px, 7vw, 108px);
  text-align: center;
}

.jz-service-section-en {
  padding-block: .06em;
  font-size: clamp(62px, 5.4vw, 86px);
  line-height: 1.12;
}

.jz-service-section-en::before {
  display: block;
  width: 42px;
  height: 3px;
  margin: 0 auto 18px;
  background: #0b66b4;
  content: '';
}

.jz-service-section-heading h2 {
  margin-top: 10px;
  color: #25292e;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.6;
}

.jz-service-section-heading > p:last-child {
  margin-top: 20px !important;
  color: #617181;
  font-size: 16px;
  line-height: 1.9;
}

.jz-service-route-en,
.jz-service-route-number,
.jz-service-section-label {
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  font-weight: 700;
  letter-spacing: .12em;
}

/* ご相談の流れ（2026-09-22。CLIENT/PROVIDERの箱＋橋渡し文から、番号ステップへ作り直す） */
.jz-service-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 3vw, 48px);
  margin-bottom: clamp(56px, 6vw, 88px);
}

.jz-service-flow-step {
  border-top: 1px solid #9db2c2;
  padding-top: 20px;
}

.jz-service-flow-number {
  display: block;
  color: #8cc8f1;
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .12em;
}

.jz-service-flow-step h3 {
  margin-top: 14px;
  color: var(--jz-navy);
  font-size: 20px;
}

.jz-service-flow-step p {
  margin-top: 10px;
  color: #53697a;
  font-size: 15px;
  line-height: 1.8;
}

.jz-service-routes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.jz-service-route {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 440px;
  overflow: hidden;
  flex-direction: column;
  padding: clamp(28px, 2.7vw, 42px);
  border: 1px solid #a9bfd0;
  background: rgba(255, 255, 255, .86);
  color: #243746 !important;
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), border-color .35s ease, background-color .35s ease, color .35s ease, box-shadow .35s ease;
}

/* ホバーで背景が紺に変わり、右下の大きな番号が動く演出 */
.jz-service-route-bignum {
  position: absolute;
  right: -6px;
  bottom: -34px;
  color: rgba(11, 102, 180, .07);
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  font-size: clamp(120px, 11vw, 168px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.02em;
  pointer-events: none;
  transition: transform .5s cubic-bezier(.2, .8, .2, 1), color .35s ease;
  z-index: 0;
}

.jz-service-route > :not(.jz-service-route-bignum) {
  position: relative;
  z-index: 1;
}

.jz-service-route:hover,
.jz-service-route:focus-visible {
  border-color: var(--jz-navy);
  background: var(--jz-navy);
  color: #fff !important;
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(6, 54, 117, .22);
}

.jz-service-route:hover .jz-service-route-bignum {
  color: rgba(255, 255, 255, .1);
  transform: translate(-8px, -14px) scale(1.08);
}

.jz-service-route:focus-visible {
  outline: 3px solid rgba(8, 116, 201, .28);
  outline-offset: 3px;
}

.jz-service-route-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
}

.jz-service-route-number {
  color: #0b66b4;
  font-size: 14px;
  transition: color .35s ease;
}

.jz-service-route:hover .jz-service-route-number {
  color: #8cc8f1;
}

.jz-service-route-en {
  color: #60788a;
  font-size: 14px;
  text-align: right;
  transition: color .35s ease;
}

.jz-service-route:hover .jz-service-route-en {
  color: #c9ddec;
}

.jz-service-route h3 {
  margin-top: 34px;
  padding-block: .06em;
  color: var(--jz-navy);
  font-size: clamp(24px, 2vw, 32px);
  line-height: 1.45;
  transition: color .35s ease;
}

.jz-service-route:hover h3 {
  color: #fff;
}

.jz-service-route-catch {
  margin-top: 22px !important;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.85;
}

.jz-service-route-lead {
  margin-top: 14px !important;
  color: #5d6f7e;
  font-size: 16px;
  line-height: 1.85;
  transition: color .35s ease;
}

.jz-service-route:hover .jz-service-route-lead {
  color: #d5e2ec;
}

.jz-service-route-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 12px;
  margin-top: 23px !important;
  color: #526879;
  font-size: 16px;
  transition: color .35s ease;
}

.jz-service-route-list li {
  padding-bottom: 3px;
  border-bottom: 1px solid currentColor;
}

.jz-service-route:hover .jz-service-route-list {
  color: #d5e2ec;
}

.jz-service-route-link,
.jz-service-insight-link,
.jz-service-text-link {
  width: max-content;
  max-width: 100%;
  padding-bottom: 5px;
  border-bottom: 2px solid #0b66b4;
  font-weight: 700;
}

.jz-service-route-link {
  margin-top: auto;
  padding-top: 28px;
  font-size: 16px;
  transition: border-color .35s ease, transform .35s ease;
}

.jz-service-route:hover .jz-service-route-link {
  border-color: #8cc8f1;
  transform: translateX(6px);
}

.jz-service-insights {
  padding-block: clamp(104px, 8vw, 144px);
  background: #fff;
}

.jz-service-insights-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 56px;
  margin-bottom: clamp(52px, 5vw, 76px);
}

.jz-service-section-label {
  color: #0b66b4;
  font-size: 14px;
}

.jz-service-insights h2 {
  margin-top: 12px;
  padding-block: .06em;
  font-size: clamp(54px, 5.2vw, 82px);
  line-height: 1.15;
}

.jz-service-insights-heading > div > p:last-child {
  margin-top: 8px !important;
  color: #5d6f7e;
  font-size: 16px;
  font-weight: 600;
}

.jz-service-text-link {
  color: #24272b !important;
  font-size: 16px;
}

/* サービス一覧から新宮町ページへの案内（2026-09-22） */
.jz-service-area-note {
  margin-top: 40px !important;
  color: #536777;
  font-size: 16px;
}

.jz-service-insight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 44px);
}

.jz-service-insight {
  min-width: 0;
  border-top: 1px solid #9db2c2;
  padding-top: 18px;
}

.jz-service-insight > a {
  display: block;
  color: #24272b !important;
}

.jz-service-insight-media {
  display: grid;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  place-items: center;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #e7eef4, #f6f7f8);
}

.jz-service-insight-media--design img {
  object-position: top;
}

.jz-service-insight-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.78) contrast(.96);
  transition: transform .35s ease, filter .35s ease;
}

.jz-service-insight a:hover img,
.jz-service-insight a:focus-visible img {
  filter: saturate(1) contrast(1);
  transform: scale(1.025);
}

.jz-service-insight-media > span {
  color: rgba(6, 54, 117, .14);
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 700;
  letter-spacing: .04em;
}

.jz-service-insight time {
  color: #667989;
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .08em;
}

.jz-service-insight h3 {
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.75;
}

.jz-service-insight-link {
  display: block;
  margin-top: 20px;
  color: #42586a;
  font-size: 16px;
}

.jz-service-design-samples-cta {
  display: flex;
  justify-content: center;
  margin-top: clamp(56px, 5.5vw, 80px);
}

.jz-service-design-samples-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 260px;
  justify-content: center;
  padding: 18px 36px;
  border: 1px solid #0b66b4;
  border-radius: 8px;
  background: #fff;
  color: #0b3a73 !important;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .04em;
  transition: background-color .25s ease, color .25s ease, transform .25s ease;
}

.jz-service-design-samples-button:hover {
  background: #0b66b4;
  color: #fff !important;
  transform: translateY(-2px);
}

.jz-service-contact {
  padding-block: clamp(96px, 8vw, 132px);
  border-top: 1px solid #d8e0e5;
  background: #f2f3f4;
}

.jz-service-contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 40px;
}

.jz-service-contact h2 {
  margin-top: 18px;
  padding-block: .06em;
  color: #24272b;
  font-size: clamp(40px, 4vw, 60px);
  line-height: 1.4;
  letter-spacing: -.03em;
}

.jz-service-contact-inner > div > p:last-child {
  max-width: 700px;
  margin-top: 22px !important;
  color: #617181;
  font-size: 16px;
  line-height: 1.9;
}

.jz-service-contact-link {
  justify-self: end;
  font-size: clamp(23px, 2.4vw, 34px);
  white-space: nowrap;
}

@media (max-width: 767px) {
  .jz-service-hero {
    min-height: 570px;
    background:
      radial-gradient(circle at 84% 23%, rgba(42, 132, 216, .18), transparent 31%),
      radial-gradient(circle at 91% 46%, rgba(93, 201, 184, .15), transparent 28%),
      #fafbfc;
  }

  .jz-service-hero-copy {
    top: 42%;
    width: 100%;
  }

  .jz-service-hero h1 {
    font-size: clamp(56px, 17vw, 68px);
    line-height: 1.14;
    letter-spacing: -.06em;
  }

  .jz-service-hero h1::after {
    width: 56px;
    height: 3px;
    margin-top: 10px;
  }

  .jz-service-hero-title {
    margin-top: 14px !important;
    font-size: 18px;
  }

  .jz-service-hero-lead {
    margin-top: 18px !important;
    font-size: 16px;
    line-height: 1.85;
  }

  .jz-service-breadcrumb {
    right: auto;
    bottom: 30px;
    left: 0;
    font-size: 14px;
  }

  .jz-service-overview {
    padding-block: 88px;
  }

  .jz-service-section-heading {
    align-items: flex-start;
    margin-bottom: 56px;
    text-align: left;
  }

  .jz-service-section-en {
    font-size: clamp(47px, 13vw, 58px);
    line-height: 1.14;
  }

  .jz-service-section-en::before {
    width: 36px;
    margin: 0 0 14px;
  }

  .jz-service-section-heading h2 {
    margin-top: 9px;
    font-size: 22px;
  }

  .jz-service-section-heading > p:last-child {
    margin-top: 16px !important;
    font-size: 16px;
    text-align: left;
  }

  .jz-service-flow {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .jz-service-routes {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .jz-service-route {
    min-height: 0;
    padding: 28px 24px;
  }

  .jz-service-route-bignum {
    font-size: 96px;
  }

  .jz-service-route h3 {
    margin-top: 28px;
    font-size: 25px;
  }

  .jz-service-route-catch {
    margin-top: 18px !important;
    font-size: 16px;
  }

  .jz-service-route-lead {
    font-size: 16px;
  }

  .jz-service-route-link {
    margin-top: 30px;
    padding-top: 0;
  }

  .jz-service-insights {
    padding-block: 88px;
  }

  .jz-service-insights-heading {
    display: block;
    margin-bottom: 46px;
  }

  .jz-service-insights h2 {
    font-size: clamp(45px, 12vw, 54px);
  }

  .jz-service-insights-heading > .jz-service-text-link {
    display: inline-block;
    margin-top: 28px;
  }

  .jz-service-design-samples-button {
    width: 100%;
    min-width: 0;
  }

  .jz-service-insight-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .jz-service-contact {
    padding-block: 82px;
  }

  .jz-service-contact-inner {
    display: block;
  }

  .jz-service-contact h2 {
    font-size: 34px;
  }

  .jz-service-contact-inner > div > p:last-child {
    font-size: 16px;
  }

  .jz-service-contact-link {
    display: inline-block;
    margin-top: 38px;
    font-size: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .jz-service-page [data-reveal],
  .jz-service-page [data-sequence-item] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
