/* CSS目次：検索して編集箇所へ移動
   共通色・幅          :root
   ヘッダーとTOP       .site-header / .hero / .mission-stage
   OUR SCALE / WHY     .our-scale / .why-section
   RECRUIT / TARGET    .recruit-section / .work-style-section / .target-section
   SERVICE / FIELD     .service-section / .field-section
   MESSAGE             .message-section / .message-stream
   PARTNERS / COMPANY  .partners-section / .company-section
   CONTACT / 完了画面   .contact-section / .thanks-section / .thanks-details
   全体共通の文字サイズ  "Section typography" （後方の !important 指定）
   横棒の共通サイズ    --section-rule-width / --section-rule-height
   対象幅だけの補正    ファイル末尾の @media

   注意：1つの要素に複数箇所の指定が重なります。クラス名を全件検索し、
   @media と末尾の上書きを確認してから編集してください。
   斜め帯の位置は assets/hero-mask.js と assets/section-effects.js にも依存します。
*/
/* 編集ガイド
   色と共通幅は直下の :root。各セクションはクラス名で全件検索する。
   例：.mission / .contact-section。PC・タブレット・スマホの指定が
   ファイル内の複数箇所にあり、後方の同じセレクタが優先される。
   @media (max-width: 767px) はスマホ用。斜め帯とアニメーションは
   隣のセクションとつながっているため、座標変更時に全画面幅を確認。
   詳細は EDIT-GUIDE.md。
*/
:root {
  --blue: #0754a6;
  --blue-dark: #06458f;
  --blue-shape: rgba(20, 86, 165, .88);
  --light-blue: #91b2da;
  --yellow: #e6bd39;
  --ink: #0b1119;
  --container: 1100px;
  --inner-container: 855px;
  --header-h: 72px;
}

/* ================================================================
   OUR SCALE（OUR MISSIONより後の新規セクション）
================================================================ */
.our-scale {
  position: relative;
  min-height: 1050px;
  padding: 90px 0 56px;
  overflow: hidden;
  background: #fff;
}

.our-scale__inner {
  position: relative;
  z-index: 1;
}

.our-scale__heading {
  position: relative;
  z-index: 2;
  margin-inline: auto;
}

.our-scale__heading h2 {
  margin-top: 28px;
  font-weight: 900;
  line-height: 1.28;
  letter-spacing: .025em;
}

.our-scale__heading h2 span {
  color: var(--blue);
}

.our-scale__earth {
  position: absolute;
  z-index: 0;
  right: -12px;
  bottom: -100px;
  width: min(760px, 52vw);
  aspect-ratio: 1010 / 1248;
  background-position: right bottom;
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
}

.our-scale__network {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.our-scale__routes path {
  fill: none;
  stroke: rgba(123, 225, 255, .72);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 7 12;
  opacity: 0;
  animation: our-scale-route 6s ease-in-out var(--route-delay) infinite;
}

.our-scale__point {
  fill: #b8f2ff;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: our-scale-point 6s ease-in-out var(--point-delay) infinite;
}

.our-scale__origin {
  fill: #effcff;
  stroke: #61d9ff;
  stroke-width: 3;
}

.our-scale__origin-halo {
  fill: none;
  stroke: rgba(117, 224, 255, .9);
  stroke-width: 3;
  transform-box: fill-box;
  transform-origin: center;
  animation: our-scale-origin-pulse 3s ease-out infinite;
}

@keyframes our-scale-route {
  0%, 8% { opacity: 0; stroke-dashoffset: 56; }
  24%, 70% { opacity: .8; stroke-dashoffset: 0; }
  88%, 100% { opacity: 0; stroke-dashoffset: -28; }
}

@keyframes our-scale-point {
  0%, 18% { opacity: 0; transform: scale(.6); }
  30%, 68% { opacity: 1; transform: scale(1); }
  86%, 100% { opacity: 0; transform: scale(.6); }
}

@keyframes our-scale-origin-pulse {
  0% { opacity: .9; transform: scale(.65); }
  72%, 100% { opacity: 0; transform: scale(2.5); }
}

@media (prefers-reduced-motion: reduce) {
  .our-scale__routes path,
  .our-scale__point,
  .our-scale__origin-halo {
    animation: none;
  }

  .our-scale__routes path { opacity: .45; }
  .our-scale__point { opacity: 1; }
  .our-scale__origin-halo { opacity: .65; }
}

.our-scale__cards {
  position: relative;
  z-index: 1;
  margin: 38px auto 0;
}

.our-scale-card {
  display: grid;
  grid-template-columns: 316px minmax(0, 1fr);
  min-height: 168px;
  border: 1px solid #d9dde2;
  border-top: 6px solid var(--yellow);
  background: #fff;
}

.our-scale-card + .our-scale-card {
  margin-top: 24px;
}

.our-scale-card__image {
  min-width: 0;
  padding: 8px 0 8px 8px;
}

.our-scale-card__image img {
  display: block;
  width: 100%;
  height: 146px;
  object-fit: cover;
  object-position: center;
}

.our-scale-card__body {
  align-self: center;
  min-width: 0;
  padding: 15px 25px 17px 28px;
}

.our-scale-card__label {
  margin: 0;
  color: var(--blue);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.3;
}

.our-scale-card h3 {
  margin-top: 3px;
  font-weight: 800;
  line-height: 1.3;
}

.our-scale-card__description {
  margin-top: 5px;
  color: #333c47;
  font-size: 14px;
  line-height: 1.65;
}

/* ================================================================
   PLANT / MAINTENANCE 青帯アクセント
   上下を別トラックにし、速度・方向を個別に変更できる構造とする
================================================================ */
.plant-flow {
  position: relative;
  height: 690px;
  overflow: hidden;
  background: #3d78be;
  color: rgba(218, 231, 247, .58);
}

.plant-flow__row {
  position: absolute;
  left: 0;
  width: 100%;
  overflow: hidden;
}

.plant-flow__row--top {
  top: 120px;
}

.plant-flow__row--bottom {
  top: 415px;
}

.plant-flow__track {
  display: flex;
  width: max-content;
  will-change: transform;
}

.plant-flow__row--top .plant-flow__track {
  animation: plant-flow-left 40s linear infinite;
}

.plant-flow__row--bottom .plant-flow__track {
  animation: plant-flow-right 42s linear infinite;
}

.plant-flow__group {
  --plant-flow-spacing: 40px;
  display: flex;
  flex: none;
  gap: var(--plant-flow-spacing);
  align-items: center;
  padding-right: var(--plant-flow-spacing);
}

.plant-flow__word {
  flex: none;
  font-family: "Antonio", "Noto Sans", sans-serif;
  font-size: 120px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .015em;
  white-space: nowrap;
}

.plant-flow__image {
  flex: none;
  width: 252px;
  height: 170px;
  margin: 0;
  overflow: hidden;
}

.plant-flow__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@keyframes plant-flow-left {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

@keyframes plant-flow-right {
  from { transform: translate3d(-50%, 0, 0); }
  to { transform: translate3d(0, 0, 0); }
}

/* タブレット：OUR SCALEは横長構成を維持し、共通幅内へ収める */
@media (max-width: 1024px) {
  .our-scale {
    min-height: 0;
    padding: 78px 0 70px;
  }

  .our-scale__heading {
    padding-left: 0;
  }

  .our-scale__heading h2 {
    margin-top: 22px;
  }

  .our-scale__earth {
    right: 0;
    bottom: -72px;
    width: 70vw;
    opacity: .72;
  }

  .our-scale__cards {
    margin: 34px 0 0;
  }

  .our-scale-card {
    grid-template-columns: minmax(250px, 38%) minmax(0, 1fr);
  }

  .plant-flow {
    height: 540px;
  }

  .plant-flow__row--top {
    top: 88px;
  }

  .plant-flow__row--bottom {
    top: 318px;
  }

  .plant-flow__group {
    --plant-flow-spacing: 28px;
  }

  .plant-flow__word {
    font-size: 92px;
  }

  .plant-flow__image {
    width: 210px;
    height: 142px;
  }
}

/* スマートフォン：カードは画像→文章の順で縦積みにする */
@media (max-width: 767px) {
  .our-scale {
    padding: 62px 0 58px;
  }

  .our-scale__heading h2 {
    line-height: 1.4;
  }

  .our-scale-card {
    display: block;
  }

  .our-scale-card + .our-scale-card {
    margin-top: 18px;
  }

  .our-scale-card__image {
    padding: 7px 7px 0;
  }

  .our-scale-card__image img {
    height: auto;
    aspect-ratio: 2.1 / 1;
  }

  .our-scale-card__body {
    padding: 17px 18px 20px;
  }

  .our-scale-card__label {
    font-size: 18px;
  }

  .our-scale-card__description {
    margin-top: 8px;
    font-size: 15px;
    line-height: 1.75;
  }

  .plant-flow {
    height: 440px;
  }

  .plant-flow__row--top {
    top: 68px;
  }

  .plant-flow__row--bottom {
    top: 250px;
  }

  .plant-flow__group {
    --plant-flow-spacing: 20px;
  }

  .plant-flow__word {
    font-size: 64px;
  }

  .plant-flow__image {
    width: 172px;
    height: 116px;
  }
}

@media (max-width: 480px) {
  .our-scale {
    padding: 54px 0 50px;
  }

  .our-scale__heading h2 {
    margin-top: 17px;
  }

  .plant-flow {
    height: 380px;
  }

  .plant-flow__row--top {
    top: 56px;
  }

  .plant-flow__row--bottom {
    top: 218px;
  }

  .plant-flow__word {
    font-size: 56px;
  }

  .plant-flow__image {
    width: 148px;
    height: 100px;
  }
}

/* 動きを抑える設定では、配置を保ったままループのみ停止する */
@media (prefers-reduced-motion: reduce) {
  .plant-flow__track {
    animation: none;
    transform: none;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "Noto Sans JP", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

p,
h1,
h2,
h3 {
  margin: 0;
}

.content-width {
  width: min(var(--container), calc(100% - 64px));
  margin-inline: auto;
}


/* TYPOGRAPHY */
body,
.brand__name,
.brand__service,
.global-nav,
.hero h1,
.hero__lead,
.hero__services,
.hero-button,
.mission h2,
.mission__copy,
.mission__industries {
  font-family: "Noto Sans JP", sans-serif;
}

/* HEADER */
.site-header {
  height: var(--header-h);
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
}

.site-header__inner {
  width: min(1880px, calc(100% - 40px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  min-width: 440px;
  height: 100%;
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.brand__mark {
  width: 45px;
  height: 34px;
  object-fit: contain;
  margin-right: 9px;
}

.brand__name {
  font-size: 18px;
  letter-spacing: .01em;
}

.brand__name b {
  font-size: 12px;
  font-weight: 700;
  margin-right: 3px;
}

.brand__service {
  margin-left: 12px;
  font-size: 12px;
  color: #303030;
}

.global-nav {
  height: 100%;
  display: flex;
  align-items: center;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
}

.global-nav>a:not(.global-nav__contact) {
  position: relative;
  padding: 0 10px;
}

.global-nav>a:not(.global-nav__contact)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 1px;
  height: 13px;
  background: #aeb4bc;
  transform: translateY(-50%);
}

.global-nav__contact {
  height: 46px;
  padding: 0 24px;
  margin-left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: #fff;
  background: var(--blue);
  font-size: 16px;
}

.global-nav__contact span {
  font-size: 18px;
}

/* HERO + MISSION: one continuous blue object */
.visual-stage {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #fff;
}

.visual-stage__blue {
  position: absolute;
  z-index: 3;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  animation: blue-stage-enter 1.05s cubic-bezier(.22, .72, .18, 1) 1.65s both;
}

/* HERO — 1920px width basis */
.hero {
  position: relative;
  width: 100%;
  height: min(56.25vw, 1080px);
  overflow: hidden;
  background: transparent;
}

/* full-bleed plant image behind the blue veil */
.hero__base-image {
  position: absolute;
  z-index: 0;
  inset: 0;
  background: url("assets/plant-02.jpg") 43% center / cover no-repeat;
  filter: saturate(.78) contrast(.95);
}

/* Upper-right photo extends to the HERO bottom-right corner. The blue edge
   meets its diagonal at the central vertex; the lower photo covers the
   lower portion of this full right triangle. */
.hero__person {
  position: absolute;
  z-index: 4;
  /* SVGの100%幅と同じ基準で配置し、斜辺を2px重ねて描画の継ぎ目を防ぐ。 */
  inset: 0 0 auto calc(55.55% - 2px);
  width: auto;
  height: 100%;
  background-image: url("assets/worker.webp");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%);
  clip-path: polygon(0 0, 100% 0, 100% 100%);
  transform: translateZ(0);
  animation: person-enter .95s cubic-bezier(.22, .72, .18, 1) .82s both;
}

/* lower-right equipment photo.
   Keep the source image itself inside the exact lower triangle.
   It sits above the translucent blue object only within this clipped area,
   preventing any faint image bleed beneath the blue overlay. */
.hero__equipment {
  position: absolute;
  z-index: 4;
  left: 51.45%;
  top: 55.60%;
  right: 0;
  bottom: 0;
  overflow: hidden;
  background-image: url("assets/plant-01.webp");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 50% 50%;
  -webkit-clip-path: polygon(59.36% 0, 100% 100%, 0 100%);
  clip-path: polygon(59.36% 0, 100% 100%, 0 100%);
  filter: saturate(.82) contrast(1.03);
  transform: translateZ(0);
  animation: equipment-enter .82s cubic-bezier(.22, .72, .18, 1) .08s both;
}

.hero__inner {
  position: relative;
  z-index: 8;
  height: 100%;
  animation: hero-content-enter 1.05s cubic-bezier(.22, .72, .18, 1) 1.65s both;
}

.hero__content {
  width: 760px;
  padding-top: 92px;
}

.hero__eyebrow,
.section-kicker {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: "Antonio", sans-serif;
  font-weight: 600;
  letter-spacing: .035em;
}

.hero__eyebrow {
  color: #fff;
  font-size: 25px;
}

.hero__eyebrow span,
.section-kicker span {
  display: block;
  background: var(--yellow);
}

.hero__eyebrow span {
  width: 98px;
  height: 3px;
}

.hero h1 {
  margin-top: 43px;
  color: #fff;
  font-size: 70px;
  line-height: 1.28;
  letter-spacing: -.035em;
  font-weight: 900;
  text-shadow: 0 3px 1px rgba(0, 0, 0, .18);
}

.hero__lead {
  margin-top: 23px;
  color: #fff;
  font-size: 17px;
  line-height: 1.75;
  font-weight: 700;
  white-space: nowrap;
}

.hero__services {
  margin-top: 41px;
  display: grid;
  grid-template-columns: 270px 340px;
  column-gap: 42px;
  row-gap: 22px;
}

.hero__services li {
  position: relative;
  padding-left: 32px;
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.35;
  text-shadow: 0 2px 1px rgba(0, 0, 0, .16);
}

.hero__services li::before {
  content: "";
  position: absolute;
  left: 0;
  top: -2px;
  width: 11px;
  height: 33px;
  background: linear-gradient(180deg, #fff3a3 0%, #efc831 55%, #d09d13 100%);
  box-shadow: 2px 2px 3px rgba(0, 0, 0, .24);
}

.hero__actions {
  display: flex;
  gap: 25px;
}

.hero-button {
  width: 278px;
  height: 72px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  border: 2px solid var(--blue);
  font-size: 19px;
  font-weight: 700;
  box-shadow: 0 2px 0 rgba(0, 0, 0, .08);
}

.hero-button span {
  font-size: 23px;
}

.hero-button--white {
  background: #fff;
  color: var(--blue-dark);
}

.hero-button--blue {
  background: var(--blue);
  color: #fff;
  border-color: #fff;
}

/* ONE continuous blue polygon behind watermark and mission */
.mission-stage {
  position: relative;
  /* OUR MISSION の文章が増えても、次のセクションで切れない高さにする。
     青いSVGの頂点は index.php の ResizeObserver が実寸から再計算する。 */
  height: auto;
  min-height: min(57.96875vw, 1113px);
  overflow: hidden;
  background: transparent;
}

.watermark-band {
  position: relative;
  z-index: 5;
  height: 330px;
  overflow: hidden;
}

.watermark-band__track {
  position: absolute;
  top: 84px;
  left: 0;
  display: flex;
  width: max-content;
  will-change: transform;
  animation: watermark-loop 24s linear infinite;
}

.watermark-band__group {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: clamp(80px, 6vw, 150px);
  padding-right: clamp(80px, 6vw, 150px);
}

.watermark-band__group span {
  white-space: nowrap;
  font-family: "Antonio", "Noto Sans", sans-serif;
  font-size: clamp(108px, 10.1vw, 194px);
  line-height: 1;
  font-weight: 700;
  letter-spacing: .015em;
  color: rgba(50, 61, 75, .105);
}

.mission {
  position: relative;
  z-index: 5;
  min-height: 783px;
}

.mission__inner {
  position: relative;
  padding-top: 58px;
  padding-bottom: 105px;
}

.mission__heading {
  margin-left: 162px;
}

.section-kicker {
  color: #0b4f9d;
  gap: 13px;
}

.mission h2 {
  margin-top: 18px;
  line-height: 1.36;
  letter-spacing: .035em;
  font-weight: 900;
}

.mission h2 span {
  color: var(--blue);
}

.mission__body {
  margin-top: 48px;
  margin-left: 162px;
  display: grid;
  /* Keep the same total width and gap; move 10px from right to left. */
  grid-template-columns: minmax(0, calc(48.076923% - 17.884615px)) minmax(0, 1fr);
  gap: 58px;
}

.mission__copy {
  min-width: 0;
  font-size: 14px;
  line-height: 2.02;
  color: #4a535e;
}

.mission__copy p+p {
  margin-top: 17px;
}

.mission__industries {
  border-left: 3px solid var(--blue);
  padding-left: 27px;
}

.mission__industries h3 {
  color: var(--blue);
  font-weight: 800;
}

.mission__industries ul {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 27px;
  row-gap: 17px;
}

.mission__industries li {
  position: relative;
  padding-left: 15px;
  font-size: 13px;
  color: #4a535e;
}

.mission__industries li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .38em;
  width: 3px;
  height: 12px;
  background: var(--yellow);
}

.mission__note {
  margin-top: 19px;
  font-size: 10px;
  color: #9aa0a7;
}

@keyframes equipment-enter {
  from {
    transform: translate3d(0, 105%, 0);
  }

  to {
    transform: translate3d(0, 0, 0);
  }
}

@keyframes person-enter {
  from {
    transform: translate3d(34%, -22%, 0);
  }

  to {
    transform: translate3d(0, 0, 0);
  }
}

@keyframes blue-stage-enter {
  from {
    transform: translate3d(-110vw, 0, 0);
  }

  to {
    transform: translate3d(0, 0, 0);
  }
}

@keyframes hero-content-enter {
  from {
    transform: translate3d(calc(-100vw - 100%), 0, 0);
  }

  to {
    transform: translate3d(0, 0, 0);
  }
}

@keyframes watermark-loop {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {

  .visual-stage__blue,
  .hero__person,
  .hero__equipment,
  .hero__inner {
    animation: none;
  }

  .watermark-band__track {
    animation-duration: 60s;
  }
}

@media (max-width: 1200px) {
  .global-nav {
    display: none;
  }

  .brand {
    min-width: 0;
  }

  .hero__content {
    padding-top: 70px;
  }

  .hero h1 {
    font-size: 58px;
  }

  .hero__lead {
    font-size: 17px;
  }

  .hero__actions {
    gap: 14px;
  }

  .hero-button {
    width: 245px;
  }
}

@media (max-width: 820px) {
  .visual-stage__blue {
    display: none;
  }

  .hero::after {
    content: "";
    position: absolute;
    z-index: 3;
    inset: 0;
    background: rgba(18, 83, 164, .92);
    pointer-events: none;
  }

  .mission-stage::before {
    content: "";
    position: absolute;
    z-index: 0;
    inset: 0;
    background: var(--light-blue);
    clip-path: polygon(0 0, 72% 0, 0 46%);
  }

  .hero__inner {
    z-index: 8;
  }

  :root {
    --header-h: 58px;
  }

  .content-width {
    width: calc(100% - 36px);
  }

  .brand__service {
    display: none;
  }

  .hero {
    height: auto;
    min-height: 780px;
  }

  .hero__person {
    width: 55%;
    height: 100%;
    opacity: .55;
  }

  .hero__equipment {
    opacity: .45;
    width: 75%;
  }

  .hero__content {
    width: 100%;
    padding-top: 55px;
  }

  .hero__eyebrow {
    font-size: 18px;
  }

  .hero__eyebrow span {
    width: 52px;
  }

  .hero h1 {
    margin-top: 28px;
    font-size: 43px;
  }

  .hero__lead {
    white-space: normal;
    font-size: 16px;
  }

  .hero__services {
    grid-template-columns: 1fr;
    margin-top: 28px;
    row-gap: 14px;
  }

  .hero__services li {
    font-size: 18px;
  }

  .hero__actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .hero-button {
    width: 100%;
    height: 55px;
    font-size: 17px;
  }

  .mission-stage {
    height: auto;
    min-height: 1000px;
  }

  .watermark-band {
    height: 230px;
  }

  .watermark-band__track {
    top: 62px;
  }

  .watermark-band__group span {
    font-size: 62px;
  }

  .mission__inner {
    padding-top: 35px;
  }

  .mission__heading,
  .mission__body {
    margin-left: 0;
  }

  .mission__body {
    grid-template-columns: 1fr;
    gap: 38px;
  }
}

/* =========================================================
   RESPONSIVE — PC design remains unchanged above 1199px
========================================================= */
.menu-toggle,
.drawer-menu,
.menu-overlay {
  display: none
}

[id] {
  scroll-margin-top: calc(var(--header-h) + 12px)
}

@media (max-width:1199px) {

  html,
  body {
    overflow-x: clip
  }

  .site-header {
    height: 64px
  }

  .site-header__inner {
    width: calc(100% - 32px)
  }

  .brand__service {
    display: none
  }

  .menu-toggle {
    display: inline-flex;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 0;
    background: transparent;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer
  }

  .menu-toggle span {
    width: 28px;
    height: 2px;
    background: var(--blue);
    transition: transform .25s ease, opacity .2s ease
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(8px) rotate(45deg)
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0
  }

  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-8px) rotate(-45deg)
  }

  .menu-overlay {
    display: block;
    position: fixed;
    z-index: 98;
    inset: 64px 0 0;
    background: rgba(3, 19, 39, .46);
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease
  }

  .menu-overlay.is-visible {
    opacity: 1;
    pointer-events: auto
  }

  .menu-overlay[hidden] { display: none; }

  .drawer-menu {
    display: flex;
    position: fixed;
    z-index: 99;
    top: 64px;
    right: 0;
    width: min(420px, 86vw);
    height: calc(100dvh - 64px);
    padding: 28px 30px 36px;
    background: #fff;
    transform: translate3d(100%, 0, 0);
    transition: transform .32s cubic-bezier(.22, .72, .18, 1);
    flex-direction: column;
    box-shadow: -16px 0 32px rgba(3, 19, 39, .14);
    overflow-y: auto
  }

  .drawer-menu.is-open {
    transform: translate3d(0, 0, 0)
  }

  .drawer-menu__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px
  }

  .drawer-menu__title {
    font-family: "Antonio", sans-serif;
    font-size: 22px;
    letter-spacing: .08em;
    color: var(--blue)
  }

  .drawer-menu__nav {
    display: flex;
    flex-direction: column
  }

  .drawer-menu__nav>a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 58px;
    border-bottom: 1px solid #dfe5ec;
    font-size: 18px;
    font-weight: 700
  }

  .drawer-menu__nav>a::after {
    content: "→";
    color: var(--blue)
  }

  .drawer-menu__contact {
    margin-top: 24px;
    padding: 0 22px;
    border: 0 !important;
    background: var(--blue);
    color: #fff
  }

  .drawer-menu__contact::after {
    color: #fff !important
  }

  .drawer-menu__contact span {
    display: none
  }

}

/* Tablet landscape 1025–1199 */
@media (min-width:1025px) and (max-width:1199px) {
  :root {
    --header-h: 64px
  }

  .content-width {
    width: min(960px, calc(100% - 64px))
  }

  .hero {
    height: 720px;
    min-height: 0;
    max-height: none
  }

  .hero__content {
    width: 620px;
    padding-top: 62px
  }

  .hero__eyebrow {
    font-size: 20px
  }

  .hero__eyebrow span {
    width: 72px
  }

  .hero h1 {
    margin-top: 30px;
    font-size: 54px;
    line-height: 1.24
  }

  .hero__lead {
    font-size: 16px;
    line-height: 1.65;
    white-space: normal;
    max-width: 610px
  }

  .hero__services {
    margin-top: 28px;
    grid-template-columns: 220px 280px;
    gap: 16px 28px
  }

  .hero__services li {
    font-size: 18px
  }

  .hero__actions {
    gap: 12px
  }

  .hero-button {
    width: 220px;
    height: 58px;
    font-size: 17px;
    gap: 14px
  }

  .mission-stage {
    height: auto;
    min-height: 900px
  }

  .watermark-band {
    height: 260px
  }

  .watermark-band__track {
    top: 70px
  }

  .mission__heading,
  .mission__body {
    margin-left: 80px
  }
}

/* Tablet portrait 768–1024 */
@media (min-width:768px) and (max-width:1024px) {
  :root {
    --header-h: 64px
  }

  .site-header__inner {
    width: calc(100% - 28px)
  }

  .content-width {
    width: calc(100% - 48px)
  }

  .visual-stage__blue {
    display: none
  }

  .hero {
    height: 820px;
    min-height: 0;
    background: #0d58aa
  }

  .hero::after {
    content: "";
    position: absolute;
    z-index: 3;
    inset: 0;
    background: rgba(14, 83, 166, .88);
    clip-path: polygon(0 0, 66% 0, 86% 54%, 55% 100%, 0 100%)
  }

  .hero__base-image {
    background-position: 38% center
  }

  .hero__person {
    z-index: 2;
    inset: 0 0 auto auto;
    width: 48%;
    height: 54%;
    background-size: cover;
    background-position: center top;
    clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%);
    -webkit-clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%)
  }

  .hero__equipment {
    z-index: 4;
    left: 48%;
    top: 54%;
    right: 0;
    bottom: auto;
    height: 25%;
    background-size: cover;
    background-position: center;
    clip-path: polygon(34% 0, 100% 0, 100% 100%, 0 100%);
    -webkit-clip-path: polygon(34% 0, 100% 0, 100% 100%, 0 100%)
  }

  .hero__inner {
    z-index: 8
  }

  .hero__content {
    width: 100%;
    padding-top: 52px
  }

  .hero__eyebrow {
    font-size: 19px
  }

  .hero__eyebrow span {
    width: 60px
  }

  .hero h1 {
    margin-top: 26px;
    font-size: 46px;
    line-height: 1.25;
    max-width: 540px
  }

  .hero__lead {
    margin-top: 18px;
    max-width: 570px;
    font-size: 15px;
    line-height: 1.65;
    white-space: normal
  }

  .hero__services {
    margin-top: 24px;
    grid-template-columns: 210px 240px;
    gap: 14px 18px
  }

  .hero__services li {
    font-size: 17px;
    padding-left: 25px
  }

  .hero__actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px
  }

  .hero-button {
    width: 100%;
    height: 56px;
    font-size: 16px;
    gap: 10px
  }

  .mission-stage {
    height: auto;
    min-height: 900px;
    background: #fff
  }

  .mission-stage::before {
    content: "";
    position: absolute;
    z-index: 0;
    inset: 0;
    background: var(--light-blue);
    clip-path: polygon(0 0, 58% 0, 0 58%)
  }

  .watermark-band {
    height: 220px
  }

  .watermark-band__track {
    top: 62px
  }

  .watermark-band__group span {
    font-size: 74px
  }

  .mission__inner {
    padding-top: 32px;
    padding-bottom: 80px
  }

  .mission__heading,
  .mission__body {
    margin-left: 56px
  }

  .mission__body {
    gap: 32px
  }
}

/* Smartphone landscape 481–767 */
@media (min-width:481px) and (max-width:767px) {
  :root {
    --header-h: 58px
  }

  .site-header {
    height: 58px
  }

  .site-header__inner {
    width: calc(100% - 20px)
  }

  .brand__mark {
    width: 36px;
    height: 28px
  }

  .brand__name {
    font-size: 15px
  }

  .menu-overlay {
    inset: 58px 0 0
  }

  .drawer-menu {
    top: 58px;
    height: calc(100dvh - 58px)
  }

  .content-width {
    width: calc(100% - 32px)
  }

  .visual-stage__blue {
    display: none
  }

  .hero {
    height: 650px;
    min-height: 0;
    background: #0d58aa
  }

  .hero::after {
    content: "";
    position: absolute;
    z-index: 3;
    inset: 0;
    background: rgba(14, 83, 166, .89);
    clip-path: polygon(0 0, 64% 0, 85% 53%, 56% 100%, 0 100%)
  }

  .hero__person {
    z-index: 2;
    inset: 0 0 auto auto;
    width: 46%;
    height: 53%;
    background-size: cover;
    background-position: center top;
    clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%);
    -webkit-clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%)
  }

  .hero__equipment {
    z-index: 4;
    left: 50%;
    top: 53%;
    right: 0;
    bottom: auto;
    height: 24%;
    background-size: cover;
    clip-path: polygon(34% 0, 100% 0, 100% 100%, 0 100%);
    -webkit-clip-path: polygon(34% 0, 100% 0, 100% 100%, 0 100%)
  }

  .hero__content {
    width: 100%;
    padding-top: 30px
  }

  .hero__eyebrow {
    font-size: 17px;
    gap: 10px
  }

  .hero__eyebrow span {
    width: 40px;
    height: 2px
  }

  .hero h1 {
    margin-top: 16px;
    font-size: 34px;
    line-height: 1.2;
    max-width: 380px
  }

  .hero__lead {
    margin-top: 12px;
    max-width: 390px;
    font-size: 13px;
    line-height: 1.55;
    white-space: normal
  }

  .hero__services {
    margin-top: 16px;
    grid-template-columns: 165px 190px;
    gap: 9px 14px
  }

  .hero__services li {
    font-size: 14px;
    padding-left: 19px
  }

  .hero__services li::before {
    width: 7px;
    height: 21px
  }

  .hero__actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 7px
  }

  .hero-button {
    width: 100%;
    height: 46px;
    font-size: 13px;
    gap: 6px;
    border-width: 1px
  }

  .mission-stage {
    height: auto;
    min-height: 0;
    background: #fff
  }

  .mission-stage::before {
    content: "";
    position: absolute;
    z-index: 0;
    inset: 0;
    background: var(--light-blue);
    clip-path: polygon(0 0, 60% 0, 0 48%)
  }

  .watermark-band {
    height: 160px
  }

  .watermark-band__track {
    top: 44px
  }

  .watermark-band__group span {
    font-size: 54px
  }

  .mission__inner {
    padding-top: 18px;
    padding-bottom: 58px
  }

  .mission {
    min-height: 0
  }

  .mission__heading,
  .mission__body {
    margin-left: 20px
  }

  .mission__body {
    margin-top: 28px;
    grid-template-columns: minmax(0, 50%) minmax(0, 1fr);
    gap: 20px
  }

  .mission__industries {
    padding-left: 14px
  }

  .mission__industries ul {
    grid-template-columns: 1fr;
    row-gap: 8px
  }
}

/* Smartphone portrait <=480 */
@media (max-width:480px) {
  :root {
    --header-h: 56px
  }

  .site-header {
    height: 56px
  }

  .site-header__inner {
    width: calc(100% - 18px)
  }

  .brand__mark {
    width: 34px;
    height: 26px;
    margin-right: 5px
  }

  .brand__name {
    font-size: 14px
  }

  .menu-toggle {
    width: 40px;
    height: 40px
  }

  .menu-toggle span {
    width: 24px
  }

  .menu-overlay {
    inset: 56px 0 0
  }

  .drawer-menu {
    top: 56px;
    height: calc(100dvh - 56px);
    width: 88vw;
    padding: 22px
  }

  .content-width {
    width: calc(100% - 28px)
  }

  .visual-stage__blue {
    display: none
  }

  .hero {
    height: 790px;
    min-height: 0;
    background: #0d58aa
  }

  .hero::after {
    content: "";
    position: absolute;
    z-index: 3;
    inset: 0;
    background: rgba(14, 83, 166, .90);
    clip-path: polygon(0 0, 66% 0, 88% 46%, 58% 100%, 0 100%)
  }

  .hero__base-image {
    background-position: 40% center
  }

  .hero__person {
    z-index: 2;
    inset: 0 0 auto auto;
    width: 58%;
    height: 42%;
    background-size: cover;
    background-position: center top;
    clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%);
    -webkit-clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%)
  }

  .hero__equipment {
    z-index: 4;
    left: 43%;
    top: 42%;
    right: 0;
    bottom: auto;
    height: 19%;
    background-size: cover;
    background-position: center;
    clip-path: polygon(32% 0, 100% 0, 100% 100%, 0 100%);
    -webkit-clip-path: polygon(32% 0, 100% 0, 100% 100%, 0 100%)
  }

  .hero__content {
    width: 100%;
    padding-top: 28px
  }

  .hero__eyebrow {
    font-size: 16px;
    gap: 9px
  }

  .hero__eyebrow span {
    width: 36px;
    height: 2px
  }

  .hero h1 {
    margin-top: 18px;
    font-size: 34px;
    line-height: 1.21;
    max-width: 340px
  }

  .hero__lead {
    margin-top: 14px;
    max-width: 330px;
    font-size: 13px;
    line-height: 1.65;
    white-space: normal
  }

  .hero__services {
    margin-top: 18px;
    grid-template-columns: 1fr;
    row-gap: 8px;
    max-width: 240px
  }

  .hero__services li {
    font-size: 14px;
    padding-left: 20px
  }

  .hero__services li::before {
    width: 7px;
    height: 21px
  }

  .hero__actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 7px
  }

  .hero-button {
    width: 100%;
    height: 48px;
    font-size: 14px;
    gap: 10px;
    border-width: 1px
  }

  .mission-stage {
    height: auto;
    min-height: 0;
    background: #fff
  }

  .mission-stage::before {
    content: "";
    position: absolute;
    z-index: 0;
    inset: 0;
    background: var(--light-blue);
    clip-path: polygon(0 0, 72% 0, 0 42%)
  }

  .watermark-band {
    height: 150px
  }

  .watermark-band__track {
    top: 48px
  }

  .watermark-band__group {
    gap: 42px;
    padding-right: 42px
  }

  .watermark-band__group span {
    font-size: 46px
  }

  .mission {
    min-height: 0
  }

  .mission__inner {
    padding-top: 12px;
    padding-bottom: 60px
  }

  .mission__heading,
  .mission__body {
    margin-left: 0
  }

  .mission h2 {
    margin-top: 12px;
    line-height: 1.4
  }

  .mission__body {
    margin-top: 28px;
    grid-template-columns: 1fr;
    gap: 28px
  }

  .mission__copy {
    line-height: 1.9
  }

  .mission__industries {
    padding-left: 16px
  }

  .mission__industries ul {
    grid-template-columns: 1fr 1fr;
    gap: 10px 12px
  }
}

@media (min-width: 821px) and (max-width: 1024px) {
  .mission__body {
    grid-template-columns: minmax(0, calc(48.076923% - 5.384615px)) minmax(0, 1fr);
  }
}

.why-section__heading h2 {
  margin-top: 18px;
  line-height: 1.36;
  letter-spacing: .035em;
  font-weight: 900;
}

.why-section__heading h2 span {
  color: var(--blue);
}

/* WHY ZERO ONE WORKS */
.why-section {
  position: relative;
  z-index: 5;
  min-height: 675px;
  padding: 94px 0 110px;
  overflow: hidden;
  background: #fff;
}

.why-section::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: rgba(255, 255, 255, .64);
  pointer-events: none;
}

.why-section__background {
  position: absolute;
  z-index: 0;
  inset: 0;
  background-position: center 52%;
  background-repeat: no-repeat;
  background-size: cover;
  filter: grayscale(1);
  pointer-events: none;
}

.why-section__blue,
.why-section__gray {
  position: absolute;
  inset: 0;
  pointer-events: none;
  will-change: transform;
}

.why-section__blue {
  z-index: 0;
  background: #a9c4e5;
  clip-path: polygon(0 0, 58% 6%, 0 12%);
  transform: translate3d(-105%, 0, 0);
}

.why-section__gray {
  z-index: 1;
  background: #ececec;
  clip-path: polygon(0 7%, 100% 0, 100% 91%, 0 100%);
  transform: translate3d(105%, 0, 0);
}

.why-section.is-visible .why-section__blue {
  animation: why-blue-enter .9s cubic-bezier(.22, .72, .18, 1) forwards;
}

.why-section.is-visible .why-section__gray {
  animation: why-gray-enter 1.05s cubic-bezier(.22, .72, .18, 1) .16s forwards;
}

.why-section__inner {
  position: relative;
  z-index: 3;
}

.why-section__heading,
.why-cards {
  width: min(var(--inner-container), 100%);
  margin-inline: auto;
}

.why-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 48px;
}

.why-card {
  position: relative;
  min-height: 320px;
  padding: 70px 18px 25px;
  border: 1px solid #d4d8dc;
  border-top: 4px solid var(--yellow);
  background: rgba(255, 255, 255, .98);
  overflow: hidden;
}

.why-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: -4px;
  width: 112px;
  height: 76px;
  background: var(--yellow);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

.why-card__number {
  position: absolute;
  z-index: 1;
  left: 8px;
  top: -6px;
  color: #fff;
  font-family: "Antonio", sans-serif;
  font-size: 58px;
  line-height: 1;
  font-weight: 700;
  text-shadow: 1px 1px 2px rgba(96, 72, 8, .24);
}

.why-card h3 {
  color: var(--blue);
  text-align: center;
  line-height: 1.4;
  font-weight: 800;
}

.why-card h3 strong {
  font-weight: 900;
}

.why-card__lead {
  color: var(--blue);
  text-align: center;
  font-size: 14px;
  line-height: 1.55;
  font-weight: 700;
}

.why-card__lead,
.why-card .why-card__description {
  margin-top: 22px;
}

.why-card .why-card__description {
  font-size: 16px;
  line-height: 1.82;
  color: #3f4851;
}

@keyframes why-blue-enter {
  from {
    transform: translate3d(-105%, 0, 0);
  }

  to {
    transform: translate3d(0, 0, 0);
  }
}

@keyframes why-gray-enter {
  from {
    transform: translate3d(105%, 0, 0);
  }

  to {
    transform: translate3d(0, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {

  .why-section__blue,
  .why-section__gray {
    transform: none;
    animation: none !important;
  }
}

@media (min-width:1025px) and (max-width:1199px) {
  .why-section {
    padding: 92px 0 110px;
  }

  .why-card {
    padding-inline: 22px;
  }
}

@media (min-width:768px) and (max-width:1024px) {
  .why-section {
    min-height: auto;
    padding: 82px 0 96px;
  }

  .why-cards {
    gap: 10px;
    margin-top: 42px;
  }

  .why-card {
    min-height: 330px;
    padding: 62px 18px 24px;
  }

  .why-card p {
    font-size: 14px;
  }
}

@media (min-width:481px) and (max-width:767px) {
  .why-section {
    min-height: auto;
    padding: 70px 0 78px;
  }

  .why-section__blue {
    clip-path: polygon(0 0, 72% 5%, 0 10%);
  }

  .why-section__gray {
    clip-path: polygon(0 6%, 100% 0, 100% 96%, 0 100%);
  }

  .why-cards {
    grid-template-columns: 1fr;
    margin-top: 34px;
  }

  .why-card {
    min-height: auto;
    padding: 58px 24px 26px;
  }
}

@media (max-width:480px) {
  .why-section__heading h2 {
    margin-top: 13px;
    line-height: 1.42;
  }

  .why-section {
    min-height: auto;
    padding: 62px 0 68px;
  }

  .why-section__blue {
    clip-path: polygon(0 0, 82% 4%, 0 8%);
  }

  .why-section__gray {
    clip-path: polygon(0 5%, 100% 0, 100% 98%, 0 100%);
  }

  .why-cards {
    grid-template-columns: 1fr;
    gap: 11px;
    margin-top: 31px;
  }

  .why-card {
    min-height: 0;
    padding: 56px 20px 23px;
  }

.why-card p {
    margin-top: 17px;
    font-size: 14px;
    line-height: 1.82;
  }
}

/* ================================================================
   RECRUIT：背景画像と大きなRECRUIT文字を同じ斜め帯で展開
================================================================ */
.recruit-section {
  position: relative;
  min-height: 900px;
  margin-top: -140px;
  overflow: hidden;
  padding: 164px 0 242px;
  background: transparent;
  isolation: isolate;
}

.recruit-section__reveal {
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  will-change: clip-path;
}

.recruit-section__reveal--photo {
  z-index: 0;
  overflow: hidden;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1s cubic-bezier(.22, .72, .18, 1);
}

.recruit-section.is-visible .recruit-section__reveal {
  clip-path: inset(0);
}

.recruit-section__background {
  position: absolute;
  inset: 0;
  transform: none;
  transition: none;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  clip-path: polygon(0 0, 100% 7%, 100% 98%, 0 91%);
}

.recruit-section__background::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(235, 244, 252, .28);
}

.recruit-section__watermark {
  position: absolute;
  z-index: 2;
  top: 7%;
  right: 22px;
  margin: 0;
  color: rgba(67, 96, 126, .12);
  white-space: nowrap;
  transform: rotate(3.2deg);
  transform-origin: right center;
  transition: none;
}

.recruit-section__inner {
  position: relative;
  z-index: 2;
}

.recruit-section__content {
  width: 390px;
  max-width: 100%;
}

.recruit-section__kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 15px 11px;
  color: #fff;
  background: #d3ae32;
  font-family: "Antonio", "Noto Sans", sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .035em;
}

.recruit-section__kicker span {
  background: currentColor;
}

.recruit-section h2 {
  margin-top: 52px;
  color: #1559aa;
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: .035em;
}

.recruit-section__copy {
  margin-top: 27px;
}

.recruit-section__copy p {
  margin-top: 15px;
  font-size: 13px;
  line-height: 1.85;
}

.recruit-section__copy p:first-child {
  margin-top: 0;
}

.recruit-section__callout {
  position: relative;
  margin-top: 43px;
  padding: 22px 25px 25px;
  border: 2px solid #d4b23c;
  background: rgba(255, 255, 255, .94);
  text-align: center;
}

.recruit-section__callout::before,
.recruit-section__callout::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 62%;
  width: 0;
  height: 0;
  border-style: solid;
}

.recruit-section__callout::before {
  border-width: 15px 10px 0 0;
  border-color: #d4b23c transparent transparent transparent;
}

.recruit-section__callout::after {
  margin-top: -3px;
  margin-left: 2px;
  border-width: 11px 7px 0 0;
  border-color: #fff transparent transparent transparent;
}

.recruit-section__callout h3 {
  padding-bottom: 12px;
  border-bottom: 1px solid #1559aa;
  color: #1559aa;
  font-weight: 800;
  line-height: 1.5;
}

.recruit-section__callout p {
  margin-top: 14px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.75;
}

.recruit-section__button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: 100%;
  min-height: 58px;
  margin-top: 27px;
  color: #fff;
  background: #145ab1;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .025em;
}

@media (min-width: 768px) and (max-width: 1024px) {
  .recruit-section {
    min-height: 820px;
    margin-top: -120px;
    padding: 148px 0 226px;
  }

  .recruit-section__background {
    background-position: 57% center;
  }

  .recruit-section__content {
    width: 365px;
  }
}

@media (max-width: 767px) {
  .recruit-section {
    min-height: 850px;
    margin-top: -110px;
    padding: 126px 0 212px;
  }

  .recruit-section__background {
    clip-path: polygon(0 0, 100% 4%, 100% 98%, 0 94%);
    background-position: right bottom;
  }

  .recruit-section__background::after {
    background: rgba(235, 244, 252, .5);
  }

  .recruit-section__watermark {
    top: 4%;
    right: 12px;
    max-width: calc(100% - 24px);
    transform: rotate(4.1deg);
  }

  .recruit-section__inner {
    width: min(var(--inner-container), calc(100% - 40px));
  }

  .recruit-section__content {
    width: min(100%, 350px);
  }

  .recruit-section__kicker {
    padding: 8px 11px 9px;
    font-size: 16px;
  }

  .recruit-section h2 {
    margin-top: 38px;
  }

  .recruit-section__callout {
    margin-top: 34px;
    padding: 19px 18px 22px;
  }
}

@media (max-width: 430px) {
  .recruit-section {
    min-height: 1000px;
    padding-top: 116px;
  }

  .recruit-section__background::after {
    background: rgba(238, 246, 253, .65);
  }
}

@media (prefers-reduced-motion: reduce) {
  .recruit-section__reveal {
    clip-path: inset(0);
    transition: none;
  }
}

/* ================================================================
   WORK STYLE：左から青帯、右から白帯を順に展開
================================================================ */
.work-style-section {
  position: relative;
  min-height: 760px;
  margin-top: -72px;
  padding: 170px 0 0;
  overflow: visible;
  background: #fff;
  isolation: auto;
}

.work-style-section__reveal {
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  will-change: clip-path;
}

.work-style-section__reveal--blue {
  z-index: 1;
  top: var(--work-band-top, 0px);
  bottom: 0;
  clip-path: inset(0 100% 0 0);
  transition: clip-path .9s cubic-bezier(.22, .72, .18, 1);
}

.work-style-section__reveal--white {
  z-index: 2;
  top: calc(var(--work-band-top, 0px) + 30px);
  bottom: -30px;
  clip-path: inset(0 0 0 100%);
  transition: clip-path 1s cubic-bezier(.22, .72, .18, 1) .12s;
}

.work-style-section__reveal--white.is-fixed {
  clip-path: inset(0);
  transition: none;
  will-change: auto;
}

.work-style-section.is-visible .work-style-section__reveal {
  clip-path: inset(0);
}

.work-style-section__blue,
.work-style-section__white {
  position: absolute;
  inset: 0;
}

.work-style-section__blue {
  background: #89a9d4;
  clip-path: polygon(0 0, 100% 8%, 100% 100%, 0 92%);
}

.work-style-section__white {
  background: #fff;
  clip-path: polygon(0 8%, 100% 0, 100% 92%, 0 100%);
}

.work-style-section__inner {
  position: relative;
  z-index: 3;
}


.work-style-section__heading,
.work-style-section__grid {
  width: min(700px, 100%);
  margin-inline: auto;
}

.work-style-section__heading h2 {
  margin-top: 18px;
  color: var(--ink);
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: .025em;
}

.work-style-section__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 34px;
  border-left: 1px solid #d9dde2;
}

.work-style-card {
  position: relative;
  min-height: 154px;
  padding: 17px 20px 19px 68px;
  border-top: 3px solid var(--yellow);
  border-right: 1px solid #d9dde2;
  border-bottom: 1px solid #d9dde2;
  background: rgba(255, 255, 255, .96);
}

.work-style-card__number {
  position: absolute;
  top: 7px;
  left: 14px;
  color: var(--yellow);
  font-family: "Antonio", "Noto Sans", sans-serif;
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
}

.work-style-card h3 {
  color: var(--blue);
  font-weight: 800;
  line-height: 1.45;
}

.work-style-card > p:last-child {
  margin-top: 12px;
  color: #303943;
  font-size: 13px;
  line-height: 1.75;
}

.target-section {
  position: relative;
  display: block;
  width: min(700px, 100%);
  min-height: 0;
  margin: 104px auto 0;
  padding-bottom: 92px;
}

.target-section__lead,
.target-section__profile {
  position: relative;
  z-index: 2;
}
.target-section__lead { position: static; }
.target-section__lead { width: 420px; }

.target-section__lead h2 {
  margin-top: 18px;
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: .025em;
}

.target-section__lead h2 span,
.target-section__lead > h3 {
  color: var(--blue);
}

.target-section__lead > h3 {
  margin-top: 27px;
  font-weight: 800;
  line-height: 1.55;
}

.target-section__profile {
  position: absolute;
  top: 12px;
  right: 0;
  width: 260px;
  padding: 25px 28px 27px;
  border-top: 3px solid var(--yellow);
  background: #fff;
  box-shadow: 0 0 0 1px #d9dde2;
}

.target-section__profile h3 {
  color: var(--blue);
  font-weight: 800;
}

.target-section__profile ul {
  display: grid;
  gap: 11px;
  margin-top: 18px;
}

.target-section__profile li {
  position: relative;
  padding-left: 14px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.55;
}

.target-section__profile li::before {
  content: "";
  position: absolute;
  top: .55em;
  left: 0;
  width: 5px;
  height: 5px;
  background: var(--yellow);
}

.target-section__portrait {
  position: relative;
  z-index: 2;
  width: 420px;
  margin: 30px 0 0;
}

.target-section__statement {
  width: 100%;
  margin-left: 0;
  font-size: 13px;
  line-height: 1.8;
}

.target-section__connector-row {
  width: 330px;
  height: auto;
  margin: 30px 0 0;
}

.target-section__person {
  position: relative;
  z-index: 2;
  width: 171px;
  height: 197px;
  margin: 30px 0 0 auto;
  overflow: hidden;
}

.target-section__connector {
  display: block;
  width: 100%;
  height: auto;
  margin-left: auto;
  overflow: visible;
}

.target-section__connector path {
  fill: none;
  stroke: var(--yellow);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
  vector-effect: non-scaling-stroke;
}

.target-section__connector-right--mobile {
  display: none;
}

.target-section__person img {
  display: block;
  width: 420px;
  max-width: none;
  height: auto;
  transform: translate(-163px, -84px);
}

@media (min-width: 1025px) {
  .target-section__lead,
  .target-section__portrait {
    width: 360px;
  }

  .target-section__profile {
    width: 320px;
  }
}

/* Tablet TARGET: transfer 50px from the left text column to the profile.
   The 700px section and the portrait's image framing stay in place. */
@media (min-width: 768px) and (max-width: 1024px) {
  .target-section__lead { width: 370px; }
  .target-section__profile { width: 310px; }
  /* The profile's outer left edge is 334px from the section's left edge. */
  .target-section__statement { width: 320px; }
}

@media (max-width: 767px) {
  .work-style-section {
    min-height: 0;
    margin-top: -42px;
    padding: 118px 0 0;
  }

  .work-style-section__blue {
    clip-path: polygon(0 0, 100% 6%, 100% 100%, 0 94%);
  }

  .work-style-section__white {
    clip-path: polygon(0 6%, 100% 0, 100% 94%, 0 100%);
  }

  .work-style-section__grid {
    grid-template-columns: 1fr;
    margin-top: 28px;
  }

  .work-style-card {
    min-height: 0;
    padding: 16px 18px 20px 65px;
  }

  .target-section {
    margin-top: 76px;
    padding-bottom: 70px;
  }

  .target-section__lead { width: 100%; }

  .target-section__profile {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    margin-top: 26px;
  }

  .target-section__portrait {
    width: min(330px, 88%);
  }

  .target-section__statement {
    width: calc(100% - 28px);
    margin-left: 28px;
  }

  .target-section__connector-row {
    position: relative;
    width: 100%;
  }

  .target-section__connector-right--desktop {
    display: none;
  }

  .target-section__connector-right--mobile {
    display: initial;
  }

  .target-section__person {
    width: 146px;
    height: 169px;
    margin: 10px 0 0 auto;
  }

  .target-section__person img {
    width: 360px;
    transform: translate(-140px, -72px);
  }

  .target-section__connector {
    width: min(330px, 92%);
  }

}

@media (prefers-reduced-motion: reduce) {
  .work-style-section__reveal {
    clip-path: inset(0);
    transition: none;
  }
}

/* ================================================================
   WHAT WE DO：主要設備工事3項目
================================================================ */
.what-we-do {
  position: relative;
  padding: 88px 0 96px;
  background: #fff;
}

.what-we-do__heading,
.what-we-do__list {
  width: min(var(--inner-container), 100%);
  margin-inline: auto;
}

.what-we-do__heading h2 {
  margin-top: 18px;
  font-weight: 900;
  line-height: 1.36;
  letter-spacing: .035em;
}

.what-we-do__heading h2 span {
  color: var(--blue);
}

.what-we-do__list {
  margin-top: 40px;
}

.what-we-do-item {
  display: grid;
  grid-template-columns: 420px minmax(0, 1fr);
  align-items: stretch;
  height: 250px;
}

.what-we-do-item + .what-we-do-item {
  margin-top: 13px;
}

.what-we-do-item__image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.what-we-do-item__image::before {
  content: "";
  position: absolute;
  z-index: 3;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--yellow);
}

.what-we-do-item__image::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: 118px;
  height: 92px;
  background: #fff;
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

.what-we-do-item__image img {
  display: block;
  width: 100%;
  height: 250px;
  object-fit: cover;
  object-position: center;
}

.what-we-do-item__number {
  position: absolute;
  z-index: 2;
  top: 2px;
  left: 7px;
  color: var(--yellow);
  font-family: "Antonio", "Noto Sans", sans-serif;
  font-size: 58px;
  font-weight: 700;
  line-height: 1;
}

.what-we-do-item__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 26px 0 26px 28px;
}

.what-we-do-item__body h3 {
  color: var(--blue);
  font-weight: 800;
  line-height: 1.42;
}

.what-we-do-item__body p {
  margin-top: 22px;
  font-size: 16px;
  line-height: 1.82;
  color: #3f4851;
}

@media (min-width: 768px) and (max-width: 1024px) {
  .why-card__lead,
  .why-card .why-card__description { margin-top: 16px; }
  .why-card .why-card__description { font-size: 14px; }
}

@media (max-width: 767px) {
  .why-card__lead,
  .why-card .why-card__description { margin-top: 12px; }
  .why-card .why-card__description { font-size: 15px; line-height: 1.8; }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .what-we-do {
    padding: 78px 0 84px;
  }

  .what-we-do-item {
    grid-template-columns: 44% minmax(0, 1fr);
    height: 220px;
  }

  .what-we-do-item__image,
  .what-we-do-item__image img {
    height: 220px;
  }

  .what-we-do-item__body p {
    margin-top: 16px;
    font-size: 14px;
  }
}

@media (max-width: 767px) {
  .what-we-do {
    padding: 62px 0 66px;
  }

  .what-we-do__heading h2 {
    margin-top: 14px;
    line-height: 1.42;
  }

  .what-we-do__list {
    margin-top: 31px;
  }

  .what-we-do-item {
    display: block;
    height: auto;
  }

  .what-we-do-item + .what-we-do-item {
    margin-top: 30px;
  }

  .what-we-do-item__image {
    height: auto;
    aspect-ratio: 1.68 / 1;
  }

  .what-we-do-item__image img {
    height: 100%;
  }

  .what-we-do-item__body {
    display: block;
    padding: 20px 0 0;
  }

  .what-we-do-item__body p {
    margin-top: 12px;
    font-size: 15px;
    line-height: 1.8;
  }
}

/* ================================================================
   SERVICE：左右から順に展開する2層の斜め背景
================================================================ */
.service-section {
  position: relative;
  min-height: 710px;
  padding: 98px 0 112px;
  overflow: hidden;
  background: #fff;
}

.service-section__reveal {
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  will-change: clip-path;
}

.service-section__reveal--blue {
  clip-path: inset(0 0 0 100%);
  transition: clip-path .9s cubic-bezier(.22, .72, .18, 1);
}

.service-section__reveal--photo {
  z-index: 1;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1s cubic-bezier(.22, .72, .18, 1) .2s;
}

.service-section.is-visible .service-section__reveal {
  clip-path: inset(0);
}

.service-section__blue,
.service-section__photo {
  position: absolute;
  inset: 0;
}

.service-section__blue {
  background: #a9c9ea;
  clip-path: polygon(0 8%, 100% 0, 100% 88%, 0 96%);
}

.service-section__photo {
  background-position: center 48%;
  background-repeat: no-repeat;
  background-size: cover;
  clip-path: polygon(0 0, 100% 8%, 100% 96%, 0 88%);
  filter: grayscale(1) url("#service-photo-wash");
}

.service-section__inner {
  position: relative;
  z-index: 2;
}

.service-section__heading,
.service-section__list,
.service-section__note {
  width: min(var(--inner-container), 100%);
  margin-inline: auto;
}

.service-section__heading h2 {
  margin-top: 18px;
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: .025em;
}

.service-section__heading h2 span {
  color: var(--blue);
}

.service-section__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px 34px;
  margin-top: 48px;
  padding: 34px 58px 36px;
  background: rgba(255, 255, 255, .96);
}

.service-section__list p {
  position: relative;
  padding-left: 18px;
  font-size: 15px;
  line-height: 1.5;
}

.service-section__list p::before {
  content: "";
  position: absolute;
  top: .35em;
  left: 0;
  width: 4px;
  height: 13px;
  background: var(--yellow);
}

.service-section__note {
  margin-top: 17px;
  color: var(--blue);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.7;
  text-align: center;
}

@media (min-width: 768px) and (max-width: 1024px) {
  .service-section {
    min-height: 650px;
    padding: 88px 0 100px;
  }

  .service-section__list {
    gap: 17px 24px;
    margin-top: 40px;
    padding: 30px 36px;
  }

  .service-section__list p,
  .service-section__note {
    font-size: 14px;
  }
}

@media (max-width: 767px) {
  .service-section {
    min-height: 0;
    padding: 72px 0 82px;
  }

  .service-section__blue {
    clip-path: polygon(0 5%, 100% 0, 100% 92%, 0 97%);
  }

  .service-section__photo {
    background-position: 58% center;
    clip-path: polygon(0 0, 100% 5%, 100% 97%, 0 92%);
  }

  .service-section__heading h2 {
    margin-top: 14px;
    line-height: 1.4;
  }

  .service-section__list {
    grid-template-columns: 1fr 1fr;
    gap: 15px 18px;
    margin-top: 32px;
    padding: 26px 20px 28px;
  }

  .service-section__list p {
    padding-left: 14px;
    font-size: 13px;
  }

  .service-section__note {
    margin-top: 15px;
    font-size: 13px;
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-section__reveal {
    clip-path: inset(0);
    transition: none;
  }
}

/* ================================================================
   FIELD：全幅4列×2段の対応分野パネル
================================================================ */
.field-section {
  position: relative;
  padding: 185px 0 122px;
  background: #fff;
}

.field-section__heading,
.field-section__note {
  width: min(var(--inner-container), calc(100% - 40px));
  margin-inline: auto;
}

.field-section__heading {
  text-align: center;
}

.field-section__heading .section-kicker {
  justify-content: center;
}

.field-section__heading h2 {
  margin-top: 18px;
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: .03em;
}

.field-section__heading h2 span {
  color: var(--blue);
}

.field-section__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px 12px;
  width: 100%;
  margin-top: 66px;
}

.field-panel {
  position: relative;
  height: 236px;
  overflow: hidden;
  border-top: 5px solid var(--yellow);
  background: #fff;
}

.field-panel::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: #fff;
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

.field-panel img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.field-panel h3 {
  position: absolute;
  z-index: 2;
  top: 17px;
  left: 24px;
  max-width: 56%;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: .03em;
}

.field-section__note {
  margin-top: 54px;
  font-size: 16px;
  line-height: 1.8;
}

@media (min-width: 768px) and (max-width: 1024px) {
  .field-section {
    padding: 130px 0 100px;
  }

  .field-section__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 50px;
  }

  .field-panel {
    height: 220px;
  }
}

@media (max-width: 767px) {
  .field-section {
    padding: 92px 0 78px;
  }

  .field-section__heading h2 {
    margin-top: 14px;
  }

  .field-section__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    margin-top: 38px;
  }

  .field-panel {
    height: 155px;
    border-top-width: 4px;
  }

  .field-panel h3 {
    top: 11px;
    left: 12px;
    max-width: 64%;
  }

  .field-section__note {
    margin-top: 34px;
    font-size: 14px;
  }
}

@media (max-width: 374px) {
  .field-section__grid {
    grid-template-columns: 1fr;
  }

  .field-panel {
    height: 190px;
  }
}

/* ================================================================
   MESSAGE：代表メッセージ＋左右逆方向の縦ループ
================================================================ */
.message-section {
  position: relative;
  min-height: 930px;
  overflow: hidden;
  padding: calc(120px + clamp(112px, 10.4vw, 174px) + 50px) 0 176px;
  background: #fff;
  isolation: isolate;
}

.message-section__reveal {
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  will-change: clip-path;
}

.message-section__reveal--blue {
  clip-path: inset(0 100% 0 0);
  transition: clip-path .9s cubic-bezier(.22, .72, .18, 1);
}

.message-section__reveal--white {
  z-index: 1;
  clip-path: inset(0 0 0 100%);
  transition: clip-path 1s cubic-bezier(.22, .72, .18, 1) .2s;
}

.message-section.is-visible .message-section__reveal {
  clip-path: inset(0);
}

.message-section__blue,
.message-section__white {
  position: absolute;
  inset: 0;
}

.message-section__blue {
  background: #bed0e9;
  clip-path: polygon(0 0, 100% 8%, 100% 96%, 0 88%);
}

.message-section__white {
  background: #fff;
  clip-path: polygon(0 8%, 100% 0, 100% 96%, 0 104%);
}

.message-section__watermark {
  position: absolute;
  z-index: 2;
  top: 120px;
  left: 50%;
  transform: translateX(-50%);
  color: #eef0f2;
  paint-order: stroke fill;
  white-space: nowrap;
}

.message-section__inner {
  position: relative;
  z-index: 4;
}

.message-section__content {
  width: 640px;
  max-width: 100%;
  margin-inline: auto;
}

.message-section__body {
  display: grid;
  grid-template-columns: 205px minmax(0, 1fr);
  gap: 38px;
  align-items: end;
  margin-top: 28px;
}

.message-section__portrait {
  position: relative;
  height: 332px;
}

.message-section__portrait::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 0;
  right: -12px;
  bottom: 0;
  left: -12px;
  background: #175aaa;
  clip-path: polygon(8% 0, 100% 0, 92% 100%, 0 100%);
}

.message-section__portrait img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(1);
}

.message-section__copy h2 {
  margin-bottom: 20px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 900;
  line-height: 1.45;
  letter-spacing: .035em;
}

.message-title__mobile {
  display: none;
}

.message-section__copy p {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.9;
}

.message-section__signature {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
  margin-top: 22px !important;
  font-size: 16.5px !important;
  line-height: 1.55 !important;
  text-align: right;
  font-weight: 700;
}

.message-stream {
  position: absolute;
  z-index: 3;
  top: 76px;
  bottom: 56px;
  width: 151px;
  overflow: hidden;
  pointer-events: none;
}

.message-stream--left {
  left: 20px;
}

.message-stream--right {
  right: 20px;
}

.message-stream__track {
  display: flex;
  flex-direction: column;
  will-change: transform;
}

.message-stream--left .message-stream__track {
  animation: message-scroll-up 48s linear infinite;
}

.message-stream--right .message-stream__track {
  transform: translateY(-50%);
  animation: message-scroll-down 48s linear infinite;
}

.message-stream__group {
  display: flex;
  flex: none;
  flex-direction: column;
  gap: 20px;
  padding-bottom: 20px;
}

.message-stream__image {
  flex: none;
  width: 151px;
  height: 203px;
  margin: 0;
  overflow: hidden;
}

.message-stream__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes message-scroll-up {
  to { transform: translateY(-50%); }
}

@keyframes message-scroll-down {
  from { transform: translateY(-50%); }
  to { transform: translateY(0); }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .message-section {
    min-height: 800px;
    padding: 282px 0 154px;
  }

  .message-stream {
    width: 115px;
  }

  .message-stream--left { left: 12px; }
  .message-stream--right { right: 12px; }

  .message-stream__image {
    width: 115px;
    height: 157px;
  }

  .message-section__content {
    width: 590px;
  }
}

@media (max-width: 767px) {
  .message-section {
    min-height: 0;
    padding: calc(94px + min(9.5vw, 48px) + 50px) 0 230px;
  }

  .message-section__blue {
    clip-path: polygon(0 0, 100% 5%, 100% 96%, 0 91%);
  }

  .message-section__white {
    clip-path: polygon(0 5%, 100% 0, 100% 96%, 0 101%);
  }

  .message-section__watermark {
    top: 94px;
    transform: none;
    text-align: center;
  }

  .message-section__inner {
    width: min(calc(100% - 180px), 420px);
  }

  .message-section__body {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 24px;
  }

  .message-section__portrait {
    width: min(150px, 100%);
    height: 243px;
    margin-inline: auto;
  }

  .message-section__copy h2 {
    margin-bottom: 18px;
  }

  .message-title__desktop {
    display: none;
  }

  .message-title__mobile {
    display: inline;
  }

  .message-section__copy p {
    line-height: 1.85;
  }

  .message-stream {
    bottom: 50px;
    width: 73px;
  }

  .message-stream--left { left: 8px; }
  .message-stream--right { right: 8px; }

  .message-stream__group {
    gap: 14px;
    padding-bottom: 14px;
  }

  .message-stream__image {
    width: 73px;
    height: 101px;
  }
}

@media (max-width: 374px) {
  .message-section__inner {
    width: min(calc(100% - 152px), 360px);
  }

  .message-stream {
    width: 62px;
  }

  .message-stream__image {
    width: 62px;
    height: 87px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .message-section__reveal {
    clip-path: inset(0);
    transition: none;
  }

  .message-stream__track {
    animation: none !important;
    transform: none !important;
  }

  .message-stream__group[aria-hidden="true"] {
    display: none;
  }
}

/* ================================================================
   通常セクション共通：1100px外枠内の855pxコンテンツを画面中央へ配置
   全幅の帯・背景・ループセクションは対象外
================================================================ */
.mission__heading,
.mission__body,
.our-scale__heading,
.our-scale__cards {
  width: min(var(--inner-container), 100%);
  margin-inline: auto;
}

/* PARTNERS: 固定した白帯の背面を左上から水色帯が展開 */
.partners-section {
  position: relative;
  z-index: auto;
  --partners-watermark-inset: 22px;
  --partners-company-overlap: 110px;
  min-height: 1180px;
  margin-top: -92px;
  padding: 322px 0 235px;
  background: transparent;
  isolation: auto;
  overflow: visible;
}
.partners-section__reveal {
  position: absolute;
  z-index: 0;
  top: var(--partners-band-top, 0px);
  right: 0;
  bottom: calc(-1 * var(--partners-company-overlap));
  left: 0;
  will-change: clip-path;
  pointer-events: none;
}
.partners-section__reveal--aqua {
  z-index: 0;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.1s cubic-bezier(.22, .72, .18, 1) .4s;
}
.partners-section.is-visible .partners-section__reveal {
  clip-path: inset(0);
}
.partners-section__aqua-band,
.partners-section__background {
  position: absolute;
  inset: 0;
}
.partners-section__aqua-band {
  clip-path: polygon(0 0, 100% var(--partners-band-slope, 0px), 100% 100%, 0 100%);
}
.partners-section__background {
  background: linear-gradient(152deg, #f7fbff 7%, #e8f5fc 45%, #d8eef8 82%);
}
.partners-section__map {
  position: absolute;
  right: 0;
  bottom: 95px;
  width: min(920px, 78vw);
  aspect-ratio: 920 / 470;
  background: url('assets/partners-map-01.svg') right bottom / contain no-repeat;
}
.partners-section__watermark {
  position: absolute;
  z-index: 3;
  top: var(--partners-watermark-top, 130px);
  left: var(--partners-watermark-inset);
  margin: 0;
  color: rgba(151, 165, 179, .31);
  transform: rotate(var(--partners-band-angle, 0deg));
  transform-origin: left top;
  white-space: nowrap;
  pointer-events: none;
}
/* 大きな英字のフォント設定をPARTNERSに揃える（位置と色は各セクションのまま） */
.message-section__watermark,
.recruit-section__watermark,
.partners-section__watermark,
.contact-section__watermark {
  font-family: "Antonio", "Noto Sans", sans-serif;
  font-size: clamp(120px, 15vw, 210px);
  font-weight: 900;
  font-kerning: normal;
  line-height: 1;
  letter-spacing: -.035em;
  -webkit-text-stroke: 0;
}
.message-section__watermark { margin-top: -50px; }
.recruit-section__watermark { margin-top: 0; }
@media (max-width: 767px) {
  .message-section__watermark,
  .recruit-section__watermark,
  .partners-section__watermark,
  .contact-section__watermark {
    font-size: clamp(66px, 17vw, 126px);
  }
  .message-section__watermark {
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
  }
}
.partners-section__inner {
  position: relative;
  z-index: 4;
  width: min(700px, calc(100% - 64px));
  margin-inline: auto;
}
.partners-section__panel {
  position: relative;
  margin-top: 100px;
  padding: 66px 28px 34px;
  border: 2px solid #d6ad36;
  background: #fff;
}
.partners-section__panel::after {
  content: "";
  position: absolute;
  right: 12%;
  bottom: -44px;
  width: 70px;
  height: 44px;
  background: #d6ad36;
  clip-path: polygon(0 0, 100% 0, 100% 100%);
}
.partners-section__panel::before {
  content: "";
  position: absolute;
  z-index: 1;
  right: calc(12% + 2px);
  bottom: -39px;
  width: 65px;
  height: 40px;
  background: #fff;
  clip-path: polygon(0 0, 100% 0, 100% 100%);
}
.partners-section__label {
  position: absolute;
  top: 0;
  left: 0;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 17px;
  color: #fff;
  background: #d6ad36;
  font-family: "Antonio", "Noto Sans", sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .035em;
}
.partners-section__label span {
  display: block;
  flex: 0 0 16px;
  width: 16px;
  height: 2px;
  margin: 0;
  background: currentColor;
}
.partners-section h2 {
  color: var(--ink);
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: .025em;
}
.partners-section h2 span { color: var(--blue); }
.partners-section__columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 22px;
  margin-top: 29px;
}
.partners-section__fields-wrap {
  position: absolute;
  top: 66px;
  right: 28px;
  width: 260px;
}
.partners-section__copy p {
  margin-bottom: 23px;
  color: #303943;
  font-size: 13px;
  line-height: 1.8;
}
.partners-section__button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(335px, 100%);
  min-height: 52px;
  margin-top: 32px;
  color: #fff;
  background: #145ab1;
  font-size: 15px;
  font-weight: 700;
}
.partners-section__button span { margin-left: 8px; }
.partners-section__button--mobile { display: none; }
.partners-section__fields {
  padding: 27px 15px 20px;
  border: 1px solid #d9dde2;
  border-top: 3px solid #d6ad36;
}
.partners-section__fields h3 {
  color: var(--blue);
  font-weight: 800;
}
.partners-section__fields ul { margin-top: 20px; }
.partners-section__fields li {
  position: relative;
  padding-left: 14px;
  margin-top: 15px;
  color: #202832;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.55;
}
.partners-section__fields li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 5px;
  height: 5px;
  background: var(--yellow);
}
.partners-section__fields-wrap > p {
  margin-top: 10px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}
@media (max-width: 767px) {
  .partners-section {
    --partners-watermark-inset: 12px;
    --partners-company-overlap: 70px;
    min-height: 0;
    margin-top: -62px;
    padding: 170px 0 190px;
  }
  .partners-section__map { width: 100vw; right: -22%; }
  .partners-section__inner { width: calc(100% - 40px); }
  .partners-section__panel { padding: 66px 20px 29px; }
  .partners-section__label { font-size: 16px; }
  .partners-section__columns { grid-template-columns: 1fr; gap: 17px; }
  .partners-section__copy > .partners-section__button { display: none; }
  .partners-section__fields-wrap { position: static; width: auto; }
  .partners-section__button--mobile { display: flex; margin: 24px auto 0; }
}
@media (prefers-reduced-motion: reduce) {
  .partners-section__reveal {
    clip-path: inset(0);
    transition: none;
  }
}

/* COMPANY: 左上からの青帯と右上からのグレー帯を交差させる */
.company-section {
  position: relative;
  min-height: 0;
  margin-top: -110px;
  padding: 290px 0 200px;
  overflow: hidden;
  /* 上端の帯間から、背面へ延長したPARTNERS背景を見せる */
  background: transparent;
}
.company-section__reveal {
  position: absolute;
  z-index: 0;
  inset: 0;
  will-change: clip-path;
  pointer-events: none;
}
.company-section__reveal--blue {
  clip-path: inset(0 100% 0 0);
  transition: clip-path .9s cubic-bezier(.22, .72, .18, 1);
}
.company-section__reveal--gray {
  z-index: 1;
  clip-path: inset(0 0 0 100%);
  transition: clip-path 1s cubic-bezier(.22, .72, .18, 1) .2s;
}
.company-section.is-visible .company-section__reveal {
  clip-path: inset(0);
}
.company-section__blue-band,
.company-section__gray-band {
  position: absolute;
  inset: 0;
}
.company-section__blue-band {
  background: #bcd2ed;
  clip-path: polygon(0 0, 100% 8%, 100% 100%, 0 92%);
}
.company-section__gray-band {
  background: #eef0f2;
  clip-path: polygon(0 8%, 100% 0, 100% 92%, 0 100%);
}
.company-section__inner {
  position: relative;
  z-index: 3;
  width: min(700px, calc(100% - 64px));
  margin-inline: auto;
}
.company-section__heading .section-kicker {
  gap: 13px;
  margin-left: 0;
}
.company-section__heading h2 {
  margin-top: 18px;
  color: var(--ink);
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: .025em;
}
.company-section__columns {
  position: relative;
  margin-top: 70px;
}
.company-section__profile {
  margin: 0;
  width: calc(100% - 295px);
}
.company-section__row {
  display: grid;
  grid-template-columns: 125px minmax(0, 1fr);
  align-items: center;
  min-height: 50px;
  border-bottom: 1px solid #e2c668;
  font-size: 14px;
  line-height: 1.5;
}
.company-section__row dt {
  color: var(--ink);
  font-weight: 800;
}
.company-section__row dd {
  margin: 0;
  color: #202832;
  font-weight: 600;
}
.company-section__businesses {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 260px;
  padding: 19px 28px 27px;
  border-top: 3px solid var(--yellow);
  background: #ffffff;
}
.company-section__businesses h3 {
  color: var(--blue);
  font-weight: 800;
}
.company-section__businesses ul {
  margin-top: 14px;
}
.company-section__businesses li {
  position: relative;
  padding-left: 14px;
  margin-top: 8px;
  color: #202832;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.55;
}
.company-section__businesses li::before {
  content: "";
  position: absolute;
  top: .55em;
  left: 0;
  width: 5px;
  height: 5px;
  background: var(--yellow);
}
.company-section__note {
  margin-top: 60px;
  color: #303943;
  font-size: 13px;
  line-height: 1.8;
}
@media (max-width: 900px) and (min-width: 768px) {
  .company-section__row { grid-template-columns: 110px minmax(0, 1fr); }
  .company-section__businesses { padding-inline: 19px; }
}
@media (max-width: 767px) {
  .company-section {
    margin-top: -70px;
    padding: 185px 0 150px;
  }
  .company-section__blue-band {
    clip-path: polygon(0 0, 100% 5%, 100% 100%, 0 90%);
  }
  .company-section__gray-band {
    clip-path: polygon(0 5%, 100% 0, 100% 95%, 0 100%);
  }
  .company-section__inner { width: calc(100% - 40px); }
  .company-section__columns { margin-top: 45px; }
  .company-section__profile { width: 100%; }
  .company-section__row {
    grid-template-columns: 90px minmax(0, 1fr);
    min-height: 57px;
    font-size: 13px;
  }
  .company-section__businesses {
    position: static;
    width: 100%;
    margin-top: 29px;
    padding: 20px;
  }
  .company-section__note { margin-top: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  .company-section__reveal {
    clip-path: inset(0);
    transition: none;
  }
}

/* CONTACT: 白背景の上へ半透明の図形を左右から迎え入れる */
.contact-section {
  position: relative;
  min-height: 0;
  padding: calc(250px + clamp(120px, 15vw, 210px)) 0 85px;
  overflow: hidden;
  background: #fff;
  isolation: isolate;
}
.contact-section__top-accent {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 78px;
  background: #bcd2ed;
  clip-path: polygon(50% 50%, 100% 0, 100% 100%);
  pointer-events: none;
}
@media (min-width: 768px) {
  .contact-section__top-accent { display: none; }
}
.contact-section__shape {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  transition: transform 1.15s cubic-bezier(.22, .72, .18, 1);
  will-change: transform;
}
.contact-section__shape--left {
  top: 62%;
  left: 0;
  width: 42%;
  height: 55%;
  background: rgba(7, 84, 166, .25);
  clip-path: polygon(0 0, 100% 100%, 0 100%);
  transform: translateX(-105%);
}
.contact-section__shape--right {
  top: 32%;
  right: 0;
  width: 82%;
  height: 78%;
  background: rgba(7, 84, 166, .45);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  transform: translateX(105%);
}
.contact-section.is-visible .contact-section__shape { transform: translateX(0); }
.contact-section__watermark {
  position: absolute;
  z-index: 1;
  top: 100px;
  left: 50%;
  width: 100%;
  color: #e4e6e8;
  text-align: center;
  transform: translateX(-50%);
  pointer-events: none;
}
.contact-section__card {
  position: relative;
  z-index: 2;
  width: min(664px, calc(100% - 40px));
  margin-inline: auto;
  padding: 28px 53px 74px;
  border: 1px solid #d5d9df;
  background: #fff;
  box-shadow: 0 4px 3px rgba(20, 44, 79, .18);
}
.contact-section__kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-left: -52px;
  color: var(--blue);
  font-family: "Antonio", "Noto Sans JP", sans-serif;
  font-weight: 800;
  letter-spacing: .015em;
}
.contact-section__kicker span {
  display: block;
  background: var(--yellow);
}
.contact-section__card h2 {
  margin-top: 20px;
  font-weight: 900;
  line-height: 1.34;
  letter-spacing: .03em;
  text-align: center;
}
.contact-section__card h2 span { color: var(--blue); }
.contact-section__introduction {
  margin-top: 35px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  text-align: center;
}
.contact-section__introduction p + p { margin-top: 18px; }
.contact-section__notice {
  margin-top: 25px;
  padding: 12px 15px;
  font-size: 14px;
  line-height: 1.6;
}
.contact-section__notice--success { color: #125342; background: #e6f7ee; }
.contact-section__notice--error { color: #a52620; background: #fff0ee; }
.contact-form { --contact-tab-width: min(213px, 62%); margin-top: 31px; }
.contact-form__honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form__categories {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 0;
  margin: 0 0 15px;
  padding: 0;
  border: 1px solid #4979c7;
}
.contact-form__categories label {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 7px 10px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
}
.contact-form__categories input { width: 10px; height: 10px; margin: 0; accent-color: var(--blue); }
.contact-form__tab {
  position: relative;
  z-index: 1;
  width: var(--contact-tab-width);
  height: 36px;
  border-left: 1px solid #4979c7;
  background: #fff;
}
.contact-form__tab::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: calc(100% - 18px);
  border-top: 1px solid #4979c7;
}
.contact-form__tab::before {
  content: "";
  position: absolute;
  top: 0;
  left: calc(100% - 18px);
  width: 1px;
  height: 40.25px;
  background: #4979c7;
  transform: rotate(-26.565deg);
  transform-origin: top left;
}
.contact-form__tab-title {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
  padding-left: 17px;
  color: var(--blue);
  font-size: 16px;
  font-weight: 900;
  white-space: nowrap;
}
.contact-form__panel {
  position: relative;
  padding: 21px 18px 25px;
  border: 1px solid #4979c7;
  border-top: 0;
  color: var(--blue);
}
.contact-form__panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: var(--contact-tab-width);
  right: 0;
  border-top: 1px solid #4979c7;
}
.contact-form__description {
  margin-bottom: 25px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}
.contact-form__fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px 23px; }
.contact-form__field { display: flex; min-width: 0; flex-direction: column; gap: 3px; color: var(--blue); font-size: 12px; font-weight: 800; }
.contact-form__field--wide { grid-column: 1 / -1; }
.contact-form__field small,
.contact-form__agreement small { margin-left: 6px; color: #ce9d26; font-size: 11px; font-weight: 800; }
.contact-form__field input,
.contact-form__field textarea {
  width: 100%;
  min-height: 31px;
  padding: 5px 9px;
  border: 1px solid #a9c2f0;
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  font: 16px "Noto Sans JP", sans-serif;
}
.contact-form__field textarea { min-height: 97px; resize: vertical; }
.contact-form__field input:focus-visible,
.contact-form__field textarea:focus-visible,
.contact-form__categories input:focus-visible,
.contact-form__agreement input:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.contact-form__agreement {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 25px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}
.contact-form__agreement input { width: 12px; height: 12px; margin: 0; accent-color: var(--blue); }
.contact-form__agreement a { text-decoration: underline; text-underline-offset: 2px; }
.contact-form__privacy-open {
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.contact-form__privacy-open:focus-visible,
.privacy-dialog button:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}
.privacy-dialog {
  width: min(680px, calc(100% - 32px));
  max-height: min(720px, calc(100dvh - 32px));
  padding: 0;
  border: 1px solid #a9c2f0;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 16px 48px rgba(0, 25, 64, .22);
}
.privacy-dialog::backdrop { background: rgba(0, 18, 44, .68); }
.privacy-dialog[open] { display: flex; flex-direction: column; }
.privacy-dialog__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 22px;
  border-bottom: 1px solid #d7e1f2;
}
.privacy-dialog__header h3 { margin: 0; color: var(--blue); }
.privacy-dialog__close {
  flex: 0 0 36px;
  height: 36px;
  border: 0;
  background: transparent;
  font-size: 28px;
  cursor: pointer;
}
.privacy-dialog__body {
  min-height: 0;
  padding: 24px;
  overflow-y: auto;
  overscroll-behavior: contain;
  line-height: 1.85;
}
.privacy-dialog__policy { white-space: pre-wrap; overflow-wrap: anywhere; }
.privacy-dialog__agree {
  flex: 0 0 auto;
  min-height: 48px;
  margin: 14px 22px 20px;
  border: 0;
  color: #fff;
  background: var(--blue);
  font: 700 15px "Noto Sans JP", sans-serif;
  cursor: pointer;
}
.privacy-dialog__agree:disabled { opacity: .45; cursor: not-allowed; }
.contact-form__submit {
  display: block;
  width: min(242px, 100%);
  height: 37px;
  margin: 17px auto 0;
  border: 0;
  border-radius: 0;
  background: #145ab1;
  color: #fff;
  font: 800 15px "Noto Sans JP", sans-serif;
  cursor: pointer;
}
.contact-form__submit span { margin-left: 12px; }
.contact-form__submit:hover,
.contact-form__submit:focus-visible { background: #0b438b; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media (max-width: 767px) {
  .contact-section { padding: calc(250px + clamp(66px, 17vw, 126px)) 0 85px; }
  .contact-section__top-accent { display: none; }
  .contact-section__shape--left { top: 68%; width: 70%; height: 42%; }
  .contact-section__shape--right { top: 43%; width: 95%; height: 65%; }
  .contact-section__card { padding: 28px 20px 45px; }
  .contact-section__kicker { margin-left: -19px; }
  .contact-section__introduction { font-size: 13px; }
  .contact-form__categories { flex-direction: column; }
  .contact-form__categories label { padding: 10px 12px; font-size: 13px; white-space: normal; }
  .contact-form__categories label + label { border-top: 1px solid #d7e1f2; }
  .contact-form { --contact-tab-width: min(240px, 80%); }
  .contact-form__tab-title { font-size: 14px; padding-left: 10px; }
  .contact-form__panel { padding: 17px 13px 20px; }
  .contact-form__description br { display: none; }
  .contact-form__fields { grid-template-columns: 1fr; gap: 9px; }
  .contact-form__field--wide { grid-column: auto; }
  .contact-form__field input { min-height: 40px; }
  .contact-form__field textarea { min-height: 120px; }
}
@media (prefers-reduced-motion: reduce) {
  .contact-section__shape { transform: none; transition: none; }
}

/* ページ末尾：ロゴと会社連絡先 */
.site-footer {
  padding-bottom: 40px;
  background: #ffffff;
}
.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 110px;
  width: min(1478px, calc(100% - 48px));
  min-height: 380px;
  margin-inline: auto;
  background: #fff;
}
.site-footer__logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 230px;
}
.site-footer__logo img { display: block; width: 168px; height: auto; }
.site-footer__logo-name {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  color: #292929;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.15;
  white-space: nowrap;
}
.site-footer__logo-name small { font-size: 12px; font-weight: 800; line-height: 1.05; }
.site-footer__details { color: #171717; }
.site-footer__lead { font-size: 19px; line-height: 1.5; }
.site-footer__company { margin-top: 9px; font-size: 21px; line-height: 1.4; }
.site-footer__details address {
  margin-top: 10px;
  font-size: 17px;
  font-style: normal;
  line-height: 1.27;
}
.site-footer__details address a { text-decoration: none; }
@media (max-width: 767px) {
  .site-footer { padding-bottom: 20px; }
  .site-footer__inner {
    flex-direction: column;
    gap: 25px;
    width: calc(100% - 40px);
    min-height: 0;
    padding: 58px 20px 65px;
  }
  .site-footer__logo img { width: 140px; }
  .site-footer__logo-name { font-size: 19px; }
  .site-footer__details { width: min(100%, 310px); }
  .site-footer__lead { font-size: 17px; }
  .site-footer__company { font-size: 18px; }
  .site-footer__details address { font-size: 15px; }
}

/* ================================================================
   CONTACT THANKS：お問い合わせ送信完了ページ
================================================================ */
.thanks-page {
  background: #fff;
  color: var(--ink);
  font-family: "Noto Sans JP", sans-serif;
}

.thanks-main {
  overflow: hidden;
}

.thanks-section {
  --thanks-top-x: 63%;
  --thanks-apex-x: 78%;
  --thanks-apex-y: 19%;
  --thanks-right-y: 47%;
  --thanks-left-bottom-y: 90%;
  position: relative;
  min-height: 1500px;
  padding: 88px 0 250px;
  overflow: hidden;
  background: #fff;
  isolation: isolate;
}

.thanks-section__shape {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.thanks-section__shape--deep {
  z-index: 0;
  background: #88a9d4;
  clip-path: polygon(0 0, var(--thanks-top-x) 0, var(--thanks-apex-x) var(--thanks-apex-y), 0 var(--thanks-left-bottom-y));
  animation: thanks-deep-reveal 1s cubic-bezier(.22, .72, .18, 1) both;
}

.thanks-section__shape--pale {
  z-index: 1;
  background: #c6d7eb;
  clip-path: polygon(var(--thanks-top-x) 0, 100% 0, 100% var(--thanks-right-y), var(--thanks-apex-x) var(--thanks-apex-y));
  animation: thanks-pale-reveal 1s cubic-bezier(.22, .72, .18, 1) both;
}

.thanks-section__shape--white {
  display: none;
}

@keyframes thanks-deep-reveal {
  from { clip-path: polygon(0 0, 0 0, 0 var(--thanks-apex-y), 0 var(--thanks-left-bottom-y)); }
  to { clip-path: polygon(0 0, var(--thanks-top-x) 0, var(--thanks-apex-x) var(--thanks-apex-y), 0 var(--thanks-left-bottom-y)); }
}

@keyframes thanks-pale-reveal {
  from { clip-path: polygon(100% 0, 100% 0, 100% var(--thanks-right-y), 100% var(--thanks-apex-y)); }
  to { clip-path: polygon(var(--thanks-top-x) 0, 100% 0, 100% var(--thanks-right-y), var(--thanks-apex-x) var(--thanks-apex-y)); }
}

@media (prefers-reduced-motion: reduce) {
  .thanks-section__shape--deep,
  .thanks-section__shape--pale { animation: none; }
}

.thanks-section__inner {
  position: relative;
  z-index: 3;
  width: min(700px, calc(100% - 40px));
  margin-inline: auto;
}

.thanks-section__heading {
  color: rgba(53, 91, 143, .25);
  font-family: "Antonio", "Noto Sans", sans-serif;
  font-weight: 900;
  line-height: .95;
  text-align: center;
}

.thanks-section__heading h1 {
  font-size: clamp(112px, 12vw, 174px);
  font-weight: 900;
  letter-spacing: -.035em;
}

.thanks-section__heading p {
  margin-top: 24px;
  font-size: clamp(43px, 4.4vw, 64px);
  font-weight: 900;
  letter-spacing: -.02em;
}

.thanks-section__message {
  margin-top: 82px;
  color: #111;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.8;
  text-align: center;
}

.thanks-section__message p + p {
  margin-top: 18px;
}

.thanks-section__message .thanks-section__lead {
  font-size: 18px;
  font-weight: 700;
}

.thanks-details {
  margin-top: 74px;
  padding: 21px 31px 40px;
  background: #1559aa;
}

.thanks-details h2 {
  color: #fff;
  font-weight: 800;
  line-height: 1.4;
}

.thanks-details h2 span {
  margin-right: 9px;
}

.thanks-details__body {
  margin-top: 22px;
  padding: 48px 47px 56px;
  background: #fff;
  color: #111;
}

.thanks-details__list {
  margin: 0;
}

.thanks-details__list > div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 20px;
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.6;
}

.thanks-details__list > div:first-child {
  margin-top: 0;
}

.thanks-details__list dt {
  font-weight: 700;
}

.thanks-details__list dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}

.thanks-details__message {
  margin-top: 30px;
}

.thanks-details__message h3 {
  font-weight: 700;
}

.thanks-details__message p {
  margin-top: 13px;
  font-size: 15px;
  line-height: 1.8;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.thanks-section__home {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 76px;
  margin-top: 53px;
  background: #1559aa;
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  text-align: center;
}

.thanks-section__home:hover,
.thanks-section__home:focus-visible {
  background: #0b438b;
}

@media (max-width: 767px) {
  .thanks-section {
    --thanks-top-x: 72%;
    --thanks-apex-x: 86%;
    --thanks-apex-y: 19.5%;
    --thanks-right-y: 39%;
    --thanks-left-bottom-y: 88%;
    min-height: 1120px;
    padding: 62px 0 150px;
  }

  .thanks-page .site-header { border-bottom: 0; box-shadow: none; }
  .thanks-main { margin-top: -1px; }

  .thanks-section__heading h1 {
    font-size: clamp(72px, 22vw, 112px);
  }

  .thanks-section__heading p {
    margin-top: 18px;
    font-size: clamp(33px, 10vw, 52px);
    line-height: 1.02;
  }

  .thanks-section__heading p span {
    display: block;
  }

  .thanks-section__message {
    margin-top: 58px;
    padding-inline: 4px;
    font-size: 13px;
    text-align: left;
  }

  .thanks-section__message br {
    display: none;
  }

  .thanks-section__message .thanks-section__lead {
    font-size: 16px;
    text-align: center;
  }

  .thanks-details {
    margin-top: 50px;
    padding: 18px 15px 24px;
  }

  .thanks-details__body {
    margin-top: 17px;
    padding: 28px 20px 34px;
  }

  .thanks-details__list > div {
    grid-template-columns: 1fr;
    gap: 2px;
    margin-top: 15px;
    font-size: 14px;
  }

  .thanks-details__list dt {
    color: var(--blue);
  }

  .thanks-details__message {
    margin-top: 28px;
  }

  .thanks-details__message p {
    font-size: 14px;
  }

  .thanks-section__home {
    min-height: 58px;
    margin-top: 34px;
    font-size: 15px;
  }
}

/* =========================================================
   HERO GEOMETRY — compact desktop / tablet

   At narrower desktop widths the original stage-wide SVG reaches the
   right edge and hides the upper photo. Switch to the two-photo layout
   before that happens. --stage-diagonal is shared by the HERO mask and
   the following section's corner, keeping both edges at one angle.
========================================================= */
@media (max-width: 1279px) {
  .visual-stage {
    --stage-diagonal: clamp(150px, 31vw, 360px);
    --hero-mask-inset: clamp(20px, 6vw, 76px);
    --hero-upper-cut: clamp(170px, 31vw, 390px);
  }

  .visual-stage__blue {
    display: none;
  }

  .hero::after {
    content: "";
    position: absolute;
    z-index: 3;
    inset: 0;
    background: rgba(14, 83, 166, .89);
    clip-path: polygon(
      0 0,
      calc(100% - var(--hero-upper-cut)) 0,
      calc(100% - var(--hero-mask-inset)) calc(100% - var(--stage-diagonal)),
      calc(100% - var(--hero-mask-inset) - var(--stage-diagonal)) 100%,
      0 100%
    );
  }

  .mission-stage::before {
    content: "";
    position: absolute;
    z-index: 0;
    inset: 0;
    background: var(--light-blue);
    clip-path: polygon(
      0 0,
      var(--stage-diagonal) 0,
      0 var(--stage-diagonal)
    );
  }
}

@media (min-width: 1025px) and (max-width: 1279px) {
  .hero {
    height: clamp(740px, 64vw, 820px);
    min-height: 0;
    max-height: none;
    background: #0d58aa;
  }

  .hero__base-image {
    background-position: 38% center;
  }

  .hero__person {
    z-index: 2;
    inset: 0 0 auto auto;
    width: clamp(390px, 35%, 448px);
    height: 55%;
    background-size: cover;
    background-position: center top;
    clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%);
    -webkit-clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%);
  }

  .hero__equipment {
    z-index: 4;
    left: 52%;
    top: 55%;
    right: 0;
    bottom: 0;
    height: auto;
    background-position: center;
    clip-path: polygon(34% 0, 100% 0, 100% 100%, 0 100%);
    -webkit-clip-path: polygon(34% 0, 100% 0, 100% 100%, 0 100%);
  }

  .hero__content {
    width: 620px;
    padding-top: 52px;
  }

  .hero h1 {
    margin-top: 28px;
    font-size: clamp(50px, 4.25vw, 54px);
    line-height: 1.24;
  }

  .hero__lead {
    margin-top: 18px;
    max-width: 610px;
    font-size: 16px;
    line-height: 1.65;
    white-space: normal;
  }

  .hero__services {
    margin-top: 26px;
    grid-template-columns: 220px 280px;
    gap: 14px 28px;
  }

  .hero__services li {
    font-size: 18px;
  }

  .hero__actions {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(3, 220px);
    gap: 12px;
  }

  .hero-button {
    width: 220px;
    height: 58px;
    padding-inline: 10px;
    gap: 12px;
    font-size: 16px;
    white-space: nowrap;
  }
}

/* <=1279px: HERO mask and the following corner are one continuous object. */
@media (max-width: 1279px) {
  .hero::after,
  .mission-stage::before {
    content: none;
  }

  .visual-stage::before {
    content: "";
    position: absolute;
    z-index: 3;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(
      to bottom,
      rgba(14, 83, 166, .89) 0,
      rgba(14, 83, 166, .89) var(--hero-object-height),
      var(--light-blue) var(--hero-object-height),
      var(--light-blue) 100%
    );
    clip-path: polygon(
      0 0,
      var(--hero-object-top-x) 0,
      var(--hero-object-knee-x) var(--hero-object-knee-y),
      var(--hero-object-joint-x) var(--hero-object-height),
      0 calc(var(--hero-object-height) + var(--hero-object-tail-y))
    );
  }
}

@media (min-width: 1025px) and (max-width: 1279px) {
  .visual-stage {
    --hero-object-height: clamp(720px, calc(820.4px - 7.84vw), 740px);
    --hero-object-top-x: 55.55vw;
    /* Keep the shared knee on the upper photo's straight diagonal. */
    --hero-object-knee-x: 80.2642vw;
    --hero-object-knee-y: calc(var(--hero-object-height) * .556);
    --hero-object-joint-x: 51.45vw;
    --hero-object-tail-y: 44.58vw;
  }

  .hero {
    height: var(--hero-object-height);
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .visual-stage {
    --hero-object-height: 820px;
    --hero-object-top-x: calc(100vw - var(--hero-upper-cut));
    --hero-object-knee-x: calc(var(--stage-diagonal) + var(--hero-object-height) - var(--hero-object-knee-y));
    --hero-object-knee-y: 442.8px;
    --hero-object-joint-x: var(--stage-diagonal);
    --hero-object-tail-y: var(--stage-diagonal);
  }
}

@media (min-width: 481px) and (max-width: 767px) {
  .visual-stage {
    --hero-object-height: 650px;
    --hero-object-top-x: calc(100vw - var(--hero-upper-cut));
    --hero-object-knee-x: calc(var(--stage-diagonal) + var(--hero-object-height) - var(--hero-object-knee-y));
    --hero-object-knee-y: 344.5px;
    --hero-object-joint-x: var(--stage-diagonal);
    --hero-object-tail-y: var(--stage-diagonal);
  }
}

@media (max-width: 480px) {
  .visual-stage {
    --hero-object-height: 790px;
    --hero-object-top-x: calc(100vw - var(--hero-upper-cut));
    --hero-object-knee-x: calc(var(--stage-diagonal) + var(--hero-object-height) - var(--hero-object-knee-y));
    --hero-object-knee-y: 363.4px;
    --hero-object-joint-x: var(--stage-diagonal);
    --hero-object-tail-y: var(--stage-diagonal);
  }
}

/* Keep both right-side photos on the same moving diagonal as the blue object. */
@media (min-width: 481px) and (max-width: 1279px) {
  /* Upper photo: the exact red-frame quadrilateral from the reference. */
  .hero__person {
    --hero-image-left: min(var(--hero-object-top-x), var(--hero-object-knee-x));
    --hero-image-top-cut: max(0px, calc(var(--hero-object-top-x) - var(--hero-image-left)));
    --hero-image-bottom-cut: max(0px, calc(var(--hero-object-knee-x) - var(--hero-image-left)));
    inset: 0 0 auto var(--hero-image-left);
    z-index: 4;
    width: auto;
    height: var(--hero-object-knee-y);
    background-size: cover;
    background-position: center;
    opacity: 1;
    clip-path: polygon(
      var(--hero-image-top-cut) 0,
      100% 0,
      100% 100%,
      var(--hero-image-bottom-cut) 100%
    );
    -webkit-clip-path: polygon(
      var(--hero-image-top-cut) 0,
      100% 0,
      100% 100%,
      var(--hero-image-bottom-cut) 100%
    );
  }

  .hero__equipment {
    inset: var(--hero-object-knee-y) 0 0 var(--hero-object-joint-x);
    width: auto;
    height: auto;
    background-size: cover;
    background-position: center;
    opacity: 1;
    clip-path: polygon(
      calc(var(--hero-object-knee-x) - var(--hero-object-joint-x)) 0,
      100% 0,
      100% 100%,
      0 100%
    );
    -webkit-clip-path: polygon(
      calc(var(--hero-object-knee-x) - var(--hero-object-joint-x)) 0,
      100% 0,
      100% 100%,
      0 100%
    );
  }
}

/* At 480px and below, show the two photos as an unmasked row above the CTAs. */
@media (max-width: 480px) {
  .hero__person,
  .hero__equipment {
    top: auto;
    bottom: 190px;
    width: calc((100% - 35px) / 2);
    height: 120px;
    background-size: cover;
    background-position: center;
    clip-path: none;
    -webkit-clip-path: none;
    opacity: 1;
  }

  .hero__person {
    right: auto;
    left: 14px;
    z-index: 4;
  }

  .hero__equipment {
    right: 14px;
    left: auto;
  }
}

/* =========================================================
   HERO FINAL RESPONSIVE RULES
   - 1025px and wider: upper photo is a triangle.
   - 1024px and narrower: keep the four-point photo shape.
   - CTA buttons stay in the content flow so they cannot overlap copy.
========================================================= */
.hero__content {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.hero__actions {
  position: static;
  flex: 0 0 auto;
  margin-top: auto;
  padding-bottom: 47px;
}

.hero-button {
  min-width: 0;
  white-space: nowrap;
}

@media (min-width: 1280px) {
  .hero {
    height: clamp(820px, 56.25vw, 1080px);
  }

  .hero__person {
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%);
    clip-path: polygon(0 0, 100% 0, 100% 100%);
  }
}

@media (min-width: 1025px) and (max-width: 1279px) {
  .hero__person {
    /* Extend the upper diagonal past the blue knee to the HERO corner. */
    height: var(--hero-object-height);
    -webkit-clip-path: polygon(var(--hero-image-top-cut) 0, 100% 0, 100% 100%);
    clip-path: polygon(var(--hero-image-top-cut) 0, 100% 0, 100% 100%);
  }

  .hero__actions {
    padding-bottom: 32px;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .hero__actions {
    padding-bottom: 24px;
  }
}

@media (min-width: 481px) and (max-width: 767px) {
  .hero__actions {
    width: 100%;
    max-width: 420px;
    margin-inline: auto;
    grid-template-columns: 1fr;
    padding-bottom: 16px;
  }
}

@media (max-width: 480px) {
  .hero__actions {
    padding-bottom: 16px;
  }
}

/* Section typography: shared sizes at every viewport width. */
p.section-kicker {
  font-size: 20px !important;
}

section h2,
.thanks-details h2 {
  font-size: 38px !important;
}

/* MESSAGE and every following page section share one heading size. */
.message-section h2,
.recruit-section h2,
.work-style-section h2,
.target-section h2,
.partners-section h2,
.company-section h2,
.contact-section h2 {
  font-size: 29px !important;
}

section h3,
.thanks-details h3 {
  font-size: 18px !important;
}

.our-scale-card h3,
.why-card h3,
.what-we-do-item__body h3 {
  font-size: 24px !important;
}

.why-card h3 strong {
  font-size: inherit;
}

[class*="__note"] {
  font-size: 14px !important;
}

@media (max-width: 767px) {
  .brand__name b {
    font-size: 11px;
  }
}

@media (min-width: 1201px) and (max-width: 1450px) {
  .brand { min-width: 0; }
  .brand__service { display: none; }
  .global-nav { font-size: 14px; }
  .global-nav > a:not(.global-nav__contact) { padding-inline: 7px; }
  .global-nav__contact { padding-inline: 14px; }
}

/* Keep small body copy readable on both smartphone layouts. */
@media (max-width: 767px) {
  .mission__copy,
  .mission__industries li,
  .recruit-section__copy p,
  .recruit-section__callout p,
  .target-section__profile li,
  .partners-section__fields li,
  .contact-form__description {
    font-size: 13px;
  }

  dt, dd {
    font-size: 14px;
  }
}

@media (min-width: 1025px) {
  .partners-section__inner {
    width: min(800px, calc(100% - 64px));
  }

  .partners-section__columns {
    grid-template-columns: minmax(0, 1fr) 280px;
  }

  .partners-section__fields-wrap {
    width: 280px;
  }

  .contact-section__card {
    width: min(764px, calc(100% - 40px));
  }
}

/* Section label rules use half the HERO rule width at each viewport width. */
:root {
  --section-rule-width: 49px;
  --section-rule-height: 3px;
}

@media (min-width: 1025px) and (max-width: 1279px) {
  :root { --section-rule-width: 36px; }
}

@media (min-width: 768px) and (max-width: 1024px) {
  :root { --section-rule-width: 30px; }
}

@media (min-width: 481px) and (max-width: 767px) {
  :root {
    --section-rule-width: 20px;
    --section-rule-height: 2px;
  }
}

@media (max-width: 480px) {
  :root {
    --section-rule-width: 18px;
    --section-rule-height: 2px;
  }
}

.section-kicker > span:first-child,
.recruit-section__kicker > span:first-child {
  flex: 0 0 var(--section-rule-width);
  width: var(--section-rule-width);
  height: var(--section-rule-height);
}

/* ================================================================
   768〜829px：WHY の3カード見出しを、指定済みの2行に収める
   共通の .why-card h3 { font-size: 24px !important; } より後に置く。
================================================================ */
@media (min-width: 768px) and (max-width: 829px) {
  .why-card h3 {
    font-size: 18px !important;
  }
}

/* ================================================================
   768〜875px：MESSAGE の中央コンテンツと両側の写真に16pxの間隔を確保
   写真は左右12pxに配置、幅115px（合計127px）。
================================================================ */
@media (min-width: 768px) and (max-width: 875px) {
  .message-section__content {
    width: calc(100vw - 286px);
  }
}

@media (min-width: 768px) and (max-width: 829px) {
  .message-section__body {
    grid-template-columns: 155px minmax(0, 1fr);
    gap: 24px;
  }
}

/* サンクスページの問い合わせ内容見出し。
   2009pxでは30px。画面が狭くなるにつれて20pxまで縮小する。 */
.thanks-details h2 {
  font-size: clamp(20px, calc(17px + 0.65vw), 30px) !important;
}

/* Requested responsive type adjustments. Keep these after shared !important rules. */
@media (min-width: 481px) and (max-width: 767px) {
  .hero h1 { font-size: 38px; line-height: 1.15; }
  .why-card__lead { font-size: 15px; line-height: 1.5; }
  .message-section h2, .recruit-section h2, .work-style-section h2,
  .target-section h2, .partners-section h2, .company-section h2,
  .contact-section h2 { font-size: 26px !important; line-height: 1.4; }
  .mission h2, .our-scale h2, .why-section h2,
  .what-we-do h2, .service-section h2, .field-section h2 {
    font-size: 32px !important;
  }
}

@media (max-width: 480px) {
  .why-card p { font-size: 15px; line-height: 1.8; }
  section h2, .thanks-details h2 { font-size: 26px !important; }
  .message-section h2, .recruit-section h2, .work-style-section h2,
  .target-section h2, .partners-section h2, .company-section h2,
  .contact-section h2 { font-size: 24px !important; line-height: 1.4; }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .mission__inner { padding-bottom: 32px; }
}
@media (min-width: 1025px) and (max-width: 1200px) {
  .mission__inner { padding-bottom: 35px; }
}
@media (min-width: 1201px) {
  .mission__inner { padding-bottom: 58px; }
}

/* フォーム送信前・送信完了後のメール受信案内 */
.email-delivery-note {
  margin: 24px auto 0;
  max-width: 700px;
  color: #444;
  font-size: 14px;
  line-height: 1.8;
  text-align: left;
  overflow-wrap: anywhere;
}
.email-delivery-note__domain { white-space: nowrap; }
