/* style.css
   フロントページ用
*/

:root {
  --container: 1000px;
  --c-main: #22067C;
  --c-accent: #1A6EAA;
  --c-text: #2F3639;
}

/* 見出し */
.heading-lv2 {
  font-size: 1.5rem;
  margin: 40px 0 20px;
  border-left: 5px solid #1A6EAA;
  padding-left: 10px;
}

.heading-lv3 {
  font-size: 1.2rem;
  margin: 20px 0 10px;
  border-bottom: 1px solid #ddd;
  padding-bottom: 5px;
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  color: #fff;
  overflow: hidden;
  font-family: "BIZ UDPGothic", system-ui, sans-serif;
  background-color: #3dc8c2;
  background-image: linear-gradient(90deg, rgba(61, 200, 194, 1), rgba(61, 156, 194, 1) 50%, rgba(197, 125, 233, 1));
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.hero__bg {
  position: absolute;
  inset: 0;
  filter: grayscale(100%);
  opacity: 0.55;
  z-index: 0;
}

.hero__slider {
  width: 100%;
  height: 100%;
  display: flex;
}

.hero__slider .slick-list,
.hero__slider .slick-track {
  height: 100%;
}

.hero__slider .slick-slide,
.hero__slider .slick-slide > div,
.hero__slide {
  height: 100%;
}

.hero__slider .slick-slide {
  display: flex;
}

.hero__slider:not(.slick-initialized) .hero__slide {
  display: none;
}

.hero__slider:not(.slick-initialized) {
  overflow: hidden;
}

.hero__slider:not(.slick-initialized) .hero__slide:first-child {
  display: block;
  width: 100%;
}

.hero__picture,
.hero__picture img {
  width: 100%;
  height: 100%;
  display: block;
}

.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: blur(2px);
}

.hero__inner {
  position: relative;
  z-index: 1;
  margin-left: auto;
  max-width: 1000px;
  width: 100%;
  min-height: 100%;
  padding: clamp(32px, 8vh, 96px) clamp(24px, 4vw, 64px);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  text-align: right;
}

.hero__title {
  font-weight: 700;
  line-height: 1.5;
  font-size: clamp(60px, 7.6vw, 80px);
  text-align: right;
  letter-spacing: 0.25em;
  color: #fff;
  text-shadow: 0 6px 16px rgba(0, 0, 0, .2);
  font-family: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  display: inline-block;
  opacity: 0;
  transform: translateY(24px);
  animation: heroTitleFadeUp 0.9s ease-out 0.2s forwards;
}

@keyframes heroTitleFadeUp {
  from {
    transform: translateY(24px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}


@media (max-width: 768px) {
  .hero {
    min-height: 100vh;
    min-height: 100dvh;
  }

  .hero__inner {
    padding: 0;
  }

  .hero__title {
    letter-spacing: 0.12em;
    font-size: 50px;
    line-height: 1.65;
    text-shadow: 0 18px 28px rgba(0, 0, 0, 0.45);
    padding-left: 0;
  }

  .home .btn,
  .home .contact-cta__btn,
  .page-template-front-page .btn,
  .page-template-front-page .contact-cta__btn {
    padding: 14px 28px;
    font-size: 16px;
    gap: 12px;
    letter-spacing: 0.1em;
  }

  .home .contact-cta__icon,
  .page-template-front-page .contact-cta__icon {
    width: 28px;
    height: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__title {
    animation: none;
    transform: none;
    opacity: 1;
  }
}


/* ===== Company section ===== */

.section-company {
  position: relative;
  padding: var(--section-pt-pc) 0 calc(var(--section-pb-pc) + 160px);
  font-family: var(--font-base);
  color: var(--color-text);
  background:      #ffffff;
  overflow: clip;
}

/* 右側の装飾アクセント（元の円形は下にコメントで保持） */
.section-company::after,
.section-company::before {
  content: "";
  position: absolute;
  /* border-radius: 50%; */
  pointer-events: none;
}

.section-company::after {
  /* 大きい濃い丸
  width: 680px;
  height: 680px;
  right: -240px;
  top: -140px;
  background: radial-gradient(circle at 40% 38%,
      rgba(34, 130, 205, .78) 0%,
      rgba(26, 110, 170, .64) 50%,
      rgba(14, 80, 132, .4) 82%,
      rgba(6, 44, 80, .16) 100%);
  opacity: .92;
  */
  width: clamp(440px, 40vw, 600px);
  height: clamp(300px, 28vw, 380px);
  top: clamp(-220px, -18vw, -120px);
  right: clamp(-320px, -22vw, -180px);
  background: linear-gradient(138deg,
      rgba(36, 130, 205, .55) 0%,
      rgba(26, 110, 170, .42) 48%,
      rgba(13, 76, 132, .28) 100%);
  border-radius: 26px;
  box-shadow: 0 36px 68px rgba(12, 51, 96, 0.22);
  opacity: 0.9;
  transform: rotate(-8deg) translate3d(10px, -6px, 0);
  transform-origin: center;
  animation: companyAccentTilt 30s ease-in-out infinite alternate;
  will-change: transform;
  z-index: 0;
}

.section-company::before {
  /* 小さい淡い丸
  width: 360px;
  height: 360px;
  right: 160px;
  top: 210px;
  background: radial-gradient(circle at 48% 50%,
      rgba(125, 188, 236, .4) 0%,
      rgba(102, 176, 225, .18) 70%,
      rgba(102, 176, 225, 0) 100%);
  opacity: .85;
  animation: sectionCompanyOrbFloat 28s ease-in-out infinite alternate;
  transform: translate3d(0, 0, 0);
  will-change: transform;
  */
  width: clamp(320px, 30vw, 400px);
  height: clamp(210px, 26vw, 290px);
  top: clamp(220px, 32vw, 340px);
  right: clamp(-40px, 10vw, 220px);
  background: linear-gradient(142deg,
      rgba(125, 188, 236, .32) 0%,
      rgba(102, 176, 225, .2) 55%,
      rgba(102, 176, 225, 0) 100%);
  border-radius: 22px;
  animation: companyAccentDrift 26s ease-in-out infinite alternate;
  will-change: transform;
  transform-origin: center;
  transform: rotate(9deg) translate3d(6px, -4px, 0);
}

@keyframes companyAccentDrift {
  0% {
    transform: rotate(9deg) translate3d(6px, -4px, 0);
  }
  33% {
    transform: rotate(10deg) translate3d(-8px, -10px, 0);
  }
  66% {
    transform: rotate(8deg) translate3d(12px, 6px, 0);
  }
  100% {
    transform: rotate(9.5deg) translate3d(-6px, 12px, 0);
  }
}

@keyframes companyAccentTilt {
  0% {
    transform: rotate(-8deg) translate3d(10px, -6px, 0);
  }
  38% {
    transform: rotate(-9.5deg) translate3d(-14px, -16px, 0);
  }
  72% {
    transform: rotate(-6deg) translate3d(16px, -2px, 0);
  }
  100% {
    transform: rotate(-8.5deg) translate3d(-10px, 10px, 0);
  }
}

@keyframes companyActionFloatPrimary {
  0% {
    transform: translate(20%, -40%) rotate(-9deg);
  }
  50% {
    transform: translate(16%, -44%) rotate(-11deg);
  }
  100% {
    transform: translate(24%, -36%) rotate(-8deg);
  }
}

@keyframes companyActionFloatSecondary {
  0% {
    transform: translate(-18%, -30%) rotate(14deg);
  }
  50% {
    transform: translate(-24%, -26%) rotate(16deg);
  }
  100% {
    transform: translate(-10%, -34%) rotate(12deg);
  }
}

.section-company__inner {
  position: relative;
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: clamp(16px, 5vw, 32px);
}

.section-company__content {
  position: relative;
  z-index: 1;
  /* サークルより前 */
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(32px, 7vw, 120px);
  max-width: 100%;
}

.section-company__details {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 520px;
}

.home .btn,
.home .contact-cta__btn,
.page-template-front-page .btn,
.page-template-front-page .contact-cta__btn {
  padding: 18px 48px;
  font-size: 20px;
  gap: 16px;
  letter-spacing: 0.12em;
}

.home .contact-cta__icon,
.page-template-front-page .contact-cta__icon {
  width: 40px;
  height: 40px;
}

@media (max-width: 768px) {
  .section-company {
    padding: calc(var(--section-pt-sp) + 12px) 0 calc(var(--section-pb-sp) + 140px);
    background: linear-gradient(180deg, #f7f9fc 0%, #eef3f9 100%);
  }

  .section-company::after {
    /* width: 340px;
    height: 340px;
    right: -140px;
    top: -60px;
    opacity: .65;
    */
    width: clamp(280px, 70vw, 360px);
    height: clamp(190px, 44vw, 240px);
    top: clamp(-160px, -22vw, -80px);
    right: clamp(-180px, -18vw, -60px);
    border-radius: 20px;
    opacity: .78;
    box-shadow: 0 22px 46px rgba(12, 51, 96, 0.2);
    transform: rotate(-8deg) translate3d(10px, -6px, 0);
  }

  .section-company::before {
    /* legacy pattern fill retained for reference
    opacity: .4;
    inset: 0;
    width: 100%;
    height: 100%;
    right: auto;
    top: auto;
    z-index: -3;
    background-image:
      radial-gradient(circle at 24px 24px, rgba(26, 110, 170, 0.18) 0 8px, transparent 10px),
      linear-gradient(0deg, rgba(26, 110, 170, 0.08) 0 2px, transparent 2px),
      linear-gradient(90deg, rgba(26, 110, 170, 0.08) 0 2px, transparent 2px);
    background-size: 120px 120px;
    background-position: center;
    animation: none;
    transform: none;
    will-change: auto;
    */
    width: clamp(220px, 54vw, 300px);
    height: clamp(160px, 36vw, 220px);
    top: clamp(180px, 40vw, 280px);
    right: clamp(-12px, 18vw, 120px);
    border-radius: 18px;
    opacity: .6;
    background: linear-gradient(150deg,
        rgba(125, 188, 236, .32) 0%,
        rgba(102, 176, 225, .18) 60%,
        rgba(102, 176, 225, 0) 100%);
    transform: rotate(9deg) translate3d(6px, -4px, 0);
    will-change: auto;
  }

  .section-company__inner {
    padding-inline: 20px;
  }

  .section-company__content {
    grid-template-columns: 1fr;
    gap: 24px;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 24px;
    padding: 32px 24px 40px;
    box-shadow: 0 18px 42px rgba(21, 74, 123, 0.1);
    backdrop-filter: blur(4px);
  }

  .section-company__details {
    max-width: none;
    text-align: center;
  }

  .section-company__lead {
    font-size: max(16px, var(--p-size-sp));
    text-align: left;
    line-height: 1.7;
  }

  .section-company__action {
    justify-content: center;
    margin: 0 auto;
    padding: 18px 0 0;
    width: min(260px, 92%);
  }

  .section-company__action::before {
    width: clamp(240px, 80vw, 340px);
    height: clamp(150px, 48vw, 210px);
    right: -24%;
    left: auto;
    top: 78%;
    transform: translate(20%, -40%) rotate(-9deg);
  }

  .section-company__action::after {
    width: clamp(170px, 52vw, 220px);
    height: clamp(120px, 34vw, 180px);
    left: -14%;
    right: auto;
    top: 54%;
    transform: translate(-18%, -30%) rotate(14deg);
    opacity: .75;
  }

  .section-company__action .btn {
    width: 100%;
    justify-content: center;
  }
}

/* リード文（本文ルールに準拠） */
.section-company__lead {
  margin: 0;
  font-size: var(--p-size-pc);
  line-height: var(--p-line-height);
  color: var(--p-color);
}

.section-company__lead+.section-company__lead {
  margin-top: 16px;
}

.section-company__action {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(12px, 2vw, 20px);
  min-width: clamp(220px, 28vw, 260px);
}

.section-company__action::before,
.section-company__action::after {
  content: "";
  position: absolute;
  /* border-radius: 50%; */
  z-index: -2;
}

.section-company__action::before {
  /* width: clamp(210px, 24vw, 320px);
  height: clamp(210px, 24vw, 320px);
  background: radial-gradient(circle at 45% 40%, rgba(36, 147, 229, 0.35), rgba(19, 78, 143, 0.42) 70%, rgba(10, 53, 101, 0.2));
  right: -18%;
  top: 50%;
  transform: translate(0, -50%);
  */
  width: clamp(240px, 26vw, 340px);
  height: clamp(160px, 18vw, 220px);
  background: linear-gradient(135deg,
      rgba(36, 147, 229, 0.32) 0%,
      rgba(19, 78, 143, 0.28) 55%,
      rgba(10, 53, 101, 0.16) 100%);
  right: -24%;
  top: 48%;
  border-radius: 18px;
  transform: translate(20%, -40%) rotate(-9deg);
  animation: companyActionFloatPrimary 24s ease-in-out infinite alternate;
  will-change: transform;
}

.section-company__action::after {
  /* width: clamp(140px, 18vw, 220px);
  height: clamp(140px, 18vw, 220px);
  background: radial-gradient(circle at 50% 50%, rgba(82, 158, 215, 0.45), rgba(82, 158, 215, 0.08) 75%, transparent 100%);
  left: -12%;
  top: 38%;
  transform: translate(-30%, -50%);
  z-index: -1;
  */
  width: clamp(180px, 20vw, 240px);
  height: clamp(120px, 14vw, 180px);
  background: linear-gradient(140deg,
      rgba(82, 158, 215, 0.36) 0%,
      rgba(82, 158, 215, 0.12) 70%,
      rgba(82, 158, 215, 0) 100%);
  left: -16%;
  top: 36%;
  border-radius: 14px;
  transform: translate(-18%, -30%) rotate(14deg);
  z-index: -1;
  animation: companyActionFloatSecondary 26s ease-in-out infinite alternate;
  will-change: transform;
}

@media (max-width: 768px) {
  .section-company__action {
  margin-top: 20px;
}
}

/* ===== Shared section heading ===== */
.section-heading {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.section-heading__label {
  margin: 0;
  font-size: clamp(16px, 2.6vw, 18px);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--color-accent-2);
  font-weight: 700;
}

.section-heading__title {
  margin: 0;
  font-size: var(--h2-size-pc);
  font-weight: var(--h2-weight);
  color: var(--color-text);
  letter-spacing: .04em;
}

.section-heading__label[data-animate="highlight"] {
  --animate-color-end: var(--color-accent-2);
}

@media (max-width: 768px) {
  .section-heading {
    gap: 6px;
  }

  .section-heading__label {
    font-size: 14px;
    letter-spacing: .18em;
  }

  .section-heading__title {
    font-size: var(--h2-size-sp);
  }
}

/* ===== Scroll-triggered animations ===== */
[data-animate] {
  position: relative;
  display: inline-block;
  max-width: 100%;
  opacity: 0;
  transform: translate(-12px, 12px);
  --animate-color-end: var(--color-text);
  transition:
    opacity .6s ease,
    transform .6s ease,
    color .6s ease;
  transition-delay: var(--animate-delay, 0ms);
  will-change: opacity, transform;
}

[data-animate="highlight"] {
  padding-inline: 6px;
  padding-block: 2px;
  margin-inline: -6px;
  color: color-mix(in srgb, var(--animate-color-end) 78%, transparent);
  border-radius: 6px;
  isolation: isolate;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

[data-animate="highlight"]::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg,
      rgba(34, 6, 124, 0.32) 0%,
      rgba(26, 110, 170, 0.26) 100%);
  transform: scaleX(0);
  transform-origin: left center;
  opacity: 0;
  z-index: -1;
  pointer-events: none;
}

.is-visible[data-animate] {
  opacity: 1;
  transform: translate(0, 0);
}

.is-visible[data-animate="highlight"] {
  color: var(--animate-color-end);
}

.is-visible[data-animate="highlight"]::after {
  animation: highlightFlash 1.2s ease forwards;
  animation-delay: var(--animate-delay, 0ms);
}

@media (prefers-reduced-motion: reduce) {
  [data-animate] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  [data-animate="highlight"]::after {
    transform: none;
    opacity: 0.92;
    animation: none !important;
  }
}

@keyframes highlightFlash {
  0% {
    transform: scaleX(0);
    opacity: 0;
  }
  60% {
    transform: scaleX(1);
    opacity: 0.92;
  }
  70% {
    transform: scaleX(1);
    opacity: 0.92;
  }
  100% {
    transform: scaleX(1);
    opacity: 0;
  }
}


/* ===== News section ===== */
.section-news {
  margin-top: -120px;
  /* padding-bottom: var(--section-pt-pc); */
  padding: calc(var(--section-pt-pc) + 120px) 0 var(--section-pb-pc);
  background: #fff;
  color: var(--color-text);
}

.section-news__inner {
  max-width: min(920px, 94vw);
  margin-inline: auto;
  padding-inline: clamp(16px, 5vw, 32px);
  display: grid;
  row-gap: clamp(32px, 6vw, 48px);
}

.section-news__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  row-gap: clamp(18px, 3vw, 24px);
}

.section-news__item {
  padding-bottom: clamp(12px, 2.4vw, 20px);
  border-bottom: 1px solid rgba(47, 54, 57, 0.18);
}

.section-news__link {
  position: relative;
  display: grid;
  grid-template-columns: clamp(120px, 18vw, 160px) minmax(0, 1fr);
  gap: clamp(16px, 4vw, 32px);
  align-items: center;
  color: inherit;
  text-decoration: none;
  padding-right: 32px;
  transition: color .2s ease;
}

.section-news__link::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 10px;
  height: 10px;
  border: 2px solid currentColor;
  border-left: none;
  border-bottom: none;
  transition: transform .15s ease;
}

.section-news__link:hover,
.section-news__link:focus-visible {
  color: var(--color-accent-2);
  outline: none;
}

.section-news__link:hover::after,
.section-news__link:focus-visible::after {
  transform: translate(6px, -50%) rotate(45deg);
}

.section-news__date {
  font-size: clamp(14px, 2.4vw, 16px);
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--color-accent-2);
}

.section-news__text {
  font-size: clamp(16px, 3.2vw, 18px);
  font-weight: 600;
  letter-spacing: .01em;
  color: currentColor;
}

.section-news__empty {
  margin: 0;
  text-align: center;
  color: color-mix(in srgb, var(--color-text) 70%, transparent);
}

.section-news__footer {
  display: flex;
  justify-content: center;
}

.section-news__more {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  border-radius: 999px;
  border: 1px solid var(--color-accent-2);
  color: var(--color-accent-2);
  font-weight: 700;
  letter-spacing: .08em;
  text-decoration: none;
  transition: background .2s ease, color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.section-news__more:hover,
.section-news__more:focus-visible {
  background: var(--color-accent-2);
  color: #fff;
  box-shadow: 0 12px 24px rgba(26, 110, 170, 0.25);
  transform: translateY(-1px);
  outline: none;
}

.section-news__more-icon {
  font-size: 20px;
  line-height: 1;
}

@media (max-width: 768px) {
  .section-news {
    margin-top: -100px;
    /* padding: var(--section-pt-sp) 0 var(--section-pb-sp); */
    padding: calc(var(--section-pt-sp) + 100px) 0 var(--section-pb-sp);
  }

  .section-news__inner {
    row-gap: clamp(24px, 6vw, 32px);
  }

  .section-news__item {
    padding-bottom: 12px;
  }

  .section-news__link {
    grid-template-columns: 1fr;
    gap: 8px;
    padding-right: 24px;
  }

  .section-news__link::after {
    right: 4px;
  }

  .section-news__date {
    font-size: 13px;
  }

  .section-news__text {
    font-size: max(16px, var(--p-size-sp));
  }

  .section-news__more {
    padding: 12px 20px;
    font-size: 14px;
  }
}


/* ===== Business section ===== */
.section-business {
  position: relative;
  padding: var(--section-pt-pc) 0 var(--section-pb-pc);
  font-family: var(--font-base);
  /* color: #fff; */
  color: var(--color-text);
  /* background:
    linear-gradient(135deg, #1ca3d1 0%, var(--color-accent-2) 55%, #0e6e9f 100%); */
  background: #f3f3f3;
  overflow: clip;
}

/* 背景：青グラデ＋斜めストライプ */
.section-business__bg {
  position: absolute;
  inset: 0;
  /* background:
    repeating-linear-gradient(120deg,
      rgba(255, 255, 255, .06) 0 6px,
      transparent 6px 18px),
    linear-gradient(135deg, #1ca3d1 0%, var(--color-accent-2) 55%, #0e6e9f 100%); */
  display: none;
  z-index: -1;
}


/* Business background accent parallelogram */
.section-business::before {
  content: "";
  position: absolute;
  inset: 0 clamp(120px, 14vw, 280px);
  background: #fafafa; /* slightly lighter than #f3f3f3 */
  clip-path: polygon(18% 0, 100% 0, 82% 100%, 0 100%);
  z-index: 1;
}

.section-business::after {
  content: "";
  position: absolute;
  inset: 0 clamp(90px, 11vw, 220px) 0 clamp(220px, 24vw, 360px);
  background: linear-gradient(120deg,
      rgba(17, 64, 102, 0.05) 0%,
      rgba(17, 64, 102, 0.03) 45%,
      rgba(17, 64, 102, 0.01) 100%);
  clip-path: polygon(22% 0, 100% 0, 84% 100%, 4% 100%);
  opacity: 0.65;
  z-index: 0;
  mix-blend-mode: multiply;
}

.section-business__inner {
  position: relative;
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: clamp(16px, 5vw, 32px);
  z-index: 1;
}

.section-business__content {
  width: 100%;
  max-width: none;
}

.section-business__content > .section-heading {
  margin-bottom: 50px;
}

.section-business .section-heading__label {
  /* color: rgba(255, 255, 255, 0.72); */
  color: var(--color-accent-2);
}

.section-business .section-heading__title {
  /* color: #fff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, .2); */
  color: var(--color-text);
  text-shadow: none;
}

.section-business__lead {
  margin: 0 0 50px;
  font-size: var(--p-size-pc);
  line-height: var(--p-line-height);
  /* color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .18); */
  color: var(--color-text);
  text-shadow: none;
}

.biz-tabs {
  margin-top: clamp(36px, 6vw, 48px);
  padding-bottom: 18px;
  position: relative;
}

.biz-tabs__list {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(12px, 2.4vw, 18px);
  list-style: none;
  margin: 0;
  padding: 0;
}

.biz-tabs__item {
  flex: 1 1 min(220px, 100%);
  display: flex;
}

.biz-tabs__tab {
  width: 100%;
  display: grid;
  row-gap: 6px;
  justify-items: center;
  padding: clamp(10px, 2.2vw, 18px) clamp(12px, 3vw, 22px);
  /* background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28); */
  background: #fff;
  border: 1px solid rgba(26, 110, 170, 0.22);
  border-radius: 14px;
  /* color: rgba(255, 255, 255, 0.86); */
  color: var(--color-accent-2);
  font-weight: 700;
  letter-spacing: .12em;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.biz-tabs__tab:hover,
.biz-tabs__tab:focus-visible {
  /* background: rgba(255, 255, 255, 0.26);
  color: #fff; */
  background: rgba(26, 110, 170, 0.12);
  color: var(--color-accent-2);
  outline: none;
  /* box-shadow: 0 14px 28px rgba(12, 48, 86, 0.22); */
  box-shadow: 0 14px 28px rgba(26, 110, 170, 0.18);
}

.biz-tabs__item.is-active .biz-tabs__tab {
  /* background: #fff;
  color: var(--color-accent-2);
  box-shadow: 0 18px 32px rgba(12, 48, 86, 0.26); */
  background: var(--color-accent-2);
  color: #fff;
  box-shadow: 0 18px 32px rgba(26, 110, 170, 0.26);
  transform: translateY(-2px);
}

.biz-tabs__label-en {
  font-size: clamp(12px, 1.8vw, 14px);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: inherit;
}

.biz-tabs__label-ja {
  font-size: clamp(14px, 2.2vw, 16px);
  letter-spacing: .06em;
  font-weight: 600;
  /* color: rgba(255, 255, 255, 0.88); */
  color: currentColor;
}

.biz-tabs__item.is-active .biz-tabs__label-en,
.biz-tabs__item.is-active .biz-tabs__label-ja {
  /* color: var(--color-accent-2); */
  color: #fff;
}

.front-business-cards {
  display: grid;
  gap: clamp(24px, 5vw, 32px);
  margin-top: clamp(36px, 6vw, 48px);
}

.front-business-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
  gap: clamp(24px, 6vw, 48px);
  padding: clamp(24px, 5vw, 40px);
  border-radius: clamp(16px, 3vw, 24px);
  background: linear-gradient(110deg,
      var(--biz-card-bg-start, rgba(248, 208, 109, 0.82)) 0%,
      var(--biz-card-bg-end, rgba(248, 196, 173, 0.92)) 100%);
  color: #1f2e3d;
  text-decoration: none;
  box-shadow: 0 18px 36px rgba(16, 51, 92, 0.12);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}

.front-business-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(35, 122, 201, 0.08) 100%);
  pointer-events: none;
}

.front-business-card:hover,
.front-business-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 26px 50px rgba(16, 51, 92, 0.16);
}

.front-business-card:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.9);
  outline-offset: 6px;
}

.front-business-card__inner {
  position: relative;
  z-index: 1;
  display: grid;
  row-gap: clamp(16px, 4vw, 24px);
}

.front-business-card__labels {
  display: grid;
  row-gap: 8px;
}

.front-business-card__label-en {
  font-size: clamp(14px, 2.4vw, 18px);
  font-weight: 700;
  letter-spacing: .16em;
  color: #0f4f94;
  text-transform: uppercase;
}

.front-business-card__label-ja {
  font-size: clamp(20px, 4vw, 34px);
  font-weight: 800;
  letter-spacing: .04em;
  color: #1f2e3d;
}

.front-business-card__lead {
  margin: 0;
  display: block;
  font-size: clamp(14px, 1.4vw, 18px);
  line-height: 1.8;
  color: color-mix(in srgb, var(--color-text) 92%, transparent);
}

.front-business-card__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(8px, 1.8vw, 12px);
}

.front-business-card__list-item {
  position: relative;
  padding-left: 26px;
  font-size: clamp(13px, 1.3vw, 16px);
  line-height: 1.8;
  color: color-mix(in srgb, var(--color-text) 88%, transparent);
}

.front-business-card__list-item::before {
  content: "○";
  position: absolute;
  left: 0;
  top: 0;
  color: #0f4f94;
  font-weight: 700;
}

.front-business-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  font-size: clamp(13px, 1.2vw, 15px);
  color: #0f4f94;
  text-transform: uppercase;
}

.front-business-card__cta-icon {
  display: inline-block;
  transform: translateY(-1px);
  font-size: 18px;
  transition: transform .2s ease;
}

.front-business-card:hover .front-business-card__cta-icon,
.front-business-card:focus-visible .front-business-card__cta-icon {
  transform: translate(4px, -1px);
}

.front-business-card__thumb {
  position: relative;
  z-index: 1;
  justify-self: end;
  align-self: center;
  width: 100%;
  max-width: min(320px, 38vw);
  border-radius: clamp(14px, 2.8vw, 20px);
  overflow: hidden;
  box-shadow: 0 16px 32px rgba(15, 52, 88, 0.24);
}

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

.front-business-card__thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.08) 100%);
  pointer-events: none;
}

.section-business__content > .front-business-cards {
  margin-bottom: 0;
}

@media (max-width: 992px) {
  .front-business-card {
    grid-template-columns: 1fr;
    gap: clamp(20px, 6vw, 32px);
  }

  .front-business-card__thumb {
    justify-self: center;
    max-width: min(280px, 65vw);
  }
}

@media (max-width: 768px) {
  .section-business {
    padding: var(--section-pt-sp) 0 var(--section-pb-sp);
  }

  .section-business__inner {
    padding-inline: 20px;
  }

  .section-business__content > .section-heading {
    margin-bottom: 32px;
  }

  .section-business__lead {
    font-size: max(16px, var(--p-size-sp));
  }

  .biz-tabs__item {
    flex: 1 1 100%;
  }

  .front-business-cards {
    margin-top: clamp(28px, 10vw, 40px);
    gap: clamp(20px, 8vw, 28px);
  }

  .front-business-card {
    padding: clamp(20px, 8vw, 28px);
  }

  .front-business-card__lead {
    font-size: max(15px, var(--p-size-sp));
  }

  .front-business-card__list-item {
    padding-left: 22px;
  }

  .front-business-card__thumb {
    max-width: min(260px, 72vw);
  }
}

/* ===== Recruit section ===== */
.section-recruit {
  position: relative;
  /* margin-top: -120px; */
  padding: var(--section-pt-pc) 0 var(--section-pb-pc);
  font-family: var(--font-base);
  color: #fff;
  overflow: clip;
  isolation: isolate;
  /* スクラムのブラー漏れ防止 */
}

.section-recruit__bg,
.section-recruit__bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.section-recruit__bg img {
  object-fit: cover;
  object-position: center;
}

/* 黒スクラム＋端のシャドーで読みやすさ確保 */
.section-recruit__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,
      rgba(0, 0, 0, .65) 0%,
      rgba(0, 0, 0, .55) 55%,
      rgba(0, 0, 0, .60) 100%);
  backdrop-filter: blur(4px);
  pointer-events: none;
  z-index: 0;
}

.section-recruit__inner {
  position: relative;
  z-index: 1;
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: 40px;
}

.section-recruit__content {
  max-width: 860px;
}

.section-recruit__content > .section-heading {
  margin-bottom: 32px;
}

.section-recruit .section-heading__label {
  color: rgba(255, 255, 255, 0.75);
}

.section-recruit .section-heading__title {
  color: #fff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, .25);
}

.section-recruit .section-heading__label[data-animate="highlight"],
.section-recruit .section-heading__title[data-animate="highlight"],
.section-recruit__catch[data-animate="highlight"],
.section-recruit__lead[data-animate="highlight"] {
  --animate-color-end: #fff;
  position: relative;
}

.section-recruit [data-animate="highlight"]::after {
  background: linear-gradient(120deg,
      rgba(255, 255, 255, 0.95) 0%,
      rgba(255, 255, 255, 0.65) 100%);
}

.section-recruit__catch {
  margin: 0 0 18px;
  font-weight: 800;
  line-height: 1.35;
  color: #fff;
  font-size: clamp(28px, 4.2vw, 42px);
  letter-spacing: .04em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, .25);
}

.section-recruit__lead {
  margin: 0 0 28px;
  font-size: var(--p-size-pc);
  line-height: var(--p-line-height);
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .22);
}

.section-recruit__content .btn {
  display: block;
  /* ←inline-flex から block に */
  width: fit-content;
  /* ボタン幅を中身に合わせる */
  margin: 20px auto 0;
  /* 左右 auto で中央寄せ */
}


.btn--ghost {
  border: 2px solid rgba(255, 255, 255, 0.75);
  color: #fff;
  background: transparent;
  box-shadow: none;
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  border-color: #fff;
  color: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .28);
  transform: translateY(-1px);
}

.btn--ghost:hover .btn__chev,
.btn--ghost:focus-visible .btn__chev {
  transform: translate(6px, -1px);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .section-recruit {
    /* margin-top: -100px; */
    padding: var(--section-pt-sp) 0 var(--section-pb-sp);
  }

  .section-recruit__inner {
    padding-inline: 24px;
  }

  .section-recruit__content > .section-heading {
    margin-bottom: 40px;
  }

  .section-recruit__lead {
    font-size: max(16px, var(--p-size-sp));
    margin-bottom: 50px;
  }
}


