/* ================================
   スクロールアニメーション
================================ */
.anim-fade {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}
.anim-fade.anim-in {
  opacity: 1;
  transform: translateY(0);
}

/* ================================
   ユーティリティ
================================ */

/* 視覚的に非表示・スクリーンリーダーには読まれる */
.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;
}

/* ================================
   リセット・ベース
================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: clamp(12.8px, 1.085vw, 16px);
}

body {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.25rem;
  line-height: 1.5;
  color: #303030;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* picture内の見出し画像はmax-widthを解除（写真は個別に再指定） */
picture img {
  max-width: none;
}

.hero__photo picture img,
.hero__staff picture img,
.voice-block__bg picture img {
  max-width: 100%;
}

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

/* ================================
   共通レイアウト
================================ */
.lp-wrap {
  overflow: hidden;
  background: linear-gradient(#e7f0ec, #e8f2f2);
}

.inner {
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 40px;
}

/* 共通セクションタイトル */
.section-ttl {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.5;
  color: #004c6f;
  text-align: center;
  margin-bottom: 56px;
  letter-spacing: 0.04em;
}

.section-ttl__num {
  font-size: 3rem;
  color: #2a7d8e;
}

.section-ttl__sub {
  display: block;
  font-size: 1.375rem;
  font-weight: 700;
  color: #2a7d8e;
  margin-top: 8px;
}

.section-ttl--white {
  color: #fff;
}

.section-lead {
  text-align: center;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #2a7d8e;
  text-transform: uppercase;
  margin-top: -40px;
  margin-bottom: 48px;
}

.section-lead--white {
  color: rgba(255, 255, 255, 0.7);
}

/* ================================
   スティッキーCTAバー
================================ */
.sticky-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 200;
  background: #004c6f;
  padding: 10px 0;
  transform: translateY(-100%);
  transition: transform 0.3s ease;
  pointer-events: none;
}

.sticky-bar.is-visible {
  transform: translateY(0);
  pointer-events: auto;
}

.sticky-bar__inner {
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.sticky-bar__text {
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.sticky-bar__tag {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 2px;
  white-space: nowrap;
}

.sticky-bar__btn {
  flex-shrink: 0;
  display: inline-block;
  background: #6abf45;
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  padding: 8px 24px;
  border-radius: 50px;
  white-space: nowrap;
  transition: opacity 0.2s;
}

.sticky-bar__btn:hover {
  opacity: 0.85;
}

/* ================================
   ヒーロー アニメーション定義
================================ */

/* ケン・バーンズ：ゆっくりズームイン */
@keyframes kenburns {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.08);
  }
}

/* 浮遊：装飾ブロック用 */
@keyframes float-a {
  0%,
  100% {
    transform: skewX(-15deg) translateY(0);
  }
  50% {
    transform: skewX(-15deg) translateY(-10px);
  }
}
@keyframes float-b {
  0%,
  100% {
    transform: skewX(-15deg) translateY(0);
  }
  50% {
    transform: skewX(-15deg) translateY(-6px);
  }
}
@keyframes float-c {
  0%,
  100% {
    transform: skewX(-15deg) translateY(0);
  }
  50% {
    transform: skewX(-15deg) translateY(-14px);
  }
}

/* ================================
   ヒーロー
================================ */
.hero {
  position: relative;
  overflow: visible;
  display: flex;
  flex-direction: column;
  height: 100dvh;
  min-height: 700px;
}

/* --- 入場アニメーション --- */

/* 初期状態（entered前） */
.hero__logo,
.hero__catch,
.hero__card-wrap {
  opacity: 0;
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.hero__catch {
  transform: translateY(20px);
}
.hero__card-wrap {
  transform: translateY(20px);
}

/* 写真のimg だけを入場（コンテナは動かさない）
   transition は opacity のみ（kenburns の transform と干渉させない） */
.hero__photo--left img,
.hero__photo--right img {
  opacity: 0;
  transition-property: opacity;
  transition-duration: 0.8s;
  transition-timing-function: ease;
}

/* entered後：各要素を順番に表示 */
.hero--entered .hero__logo {
  opacity: 1;
  transition-delay: 0s;
}
.hero--entered .hero__photo--left img,
.hero--entered .hero__photo--right img {
  opacity: 1;
  transition-delay: 0.15s;
}
.hero--entered .hero__catch {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.5s;
}
.hero--entered .hero__card-wrap {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.7s;
}

/* 左上アクセント三角形 */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 496px;
  height: 1672px;
  clip-path: polygon(0 0, 100% 0%, 0 100%);
  background: rgb(222, 233, 229, 0.2);
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 1;
}

/* ロゴ */
.hero__logo {
  margin: clamp(24px, 1.5dvh, 30px) 0;
  padding: 0 40px;
  position: relative;
  z-index: 10;
}
.hero__logo img {
  width: 220px;
  filter: drop-shadow(0px 4px 24px rgba(56, 125, 138, 0.4));
}

/* 上段：2分割写真
   隙間なし計算：左60%×clip75%=底45% / 右55%×clip27.3%=頂60% → 上下ともに接合点一致 */
.hero__photos-wrap {
  display: flex;
  justify-content: center;
  flex: 1;
  min-height: 0;
}
.hero__photos {
  position: relative;
  width: 80%;
  max-width: 1436px;
  height: 90%;
  margin-top: 50px;
  overflow: visible;
}

/* 左写真 + 左装飾の共通基準コンテナ */
.hero__photo-left-group {
  position: absolute;
  left: 65px;
  top: 0;
  width: 50%;
  height: 100%;
  overflow: visible;
  z-index: 2;
}

/* 右写真 + 右装飾の共通基準コンテナ */
.hero__photo-right-group {
  position: absolute;
  right: 65px;
  top: 0;
  width: 50%;
  height: 100%;
  overflow: visible;
  z-index: 1;
}

.hero__photo {
  position: absolute;
  top: 0;
  height: 70%;
  max-height: 558px;
  overflow: hidden;
  z-index: 1;

  clip-path: polygon(130px 0%, 100% 0%, calc(100% - 130px) 100%, 0% 100%);
}

.hero__photo--left {
  left: 0;
  width: 100%;
  z-index: 2;
}

.hero__photo--right {
  right: 0;
  width: 100%;
  z-index: 1;
}

.hero__photo img {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  /* ケン・バーンズ：入場後にゆっくりズームイン */
  animation: kenburns 12s ease-out forwards;
  animation-play-state: paused;
}

.hero--entered .hero__photo img {
  animation-play-state: running;
}

.hero--entered .hero__photo--right img {
  animation-delay: 0.15s;
}

.hero__photo-placeholder {
  width: 100%;
  height: 100%;
  background: #c8d4e0;
}

/* 中段：キャッチ ＋ カード
   absolute化で写真エリアを全高に確保し、overlap固定。
   100dvhでなく100%（.heroの実高さ基準）を使う。
   min-height: 700px 等でhero高さがdvhを超える場合も
   overlap量が常にXpx固定になる。 */
.hero__mid {
  position: absolute;
  top: 538px;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 75fr 85fr;
  align-items: center;
  gap: 0 40px;
}

/* キャッチコピー */
.hero__catch {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.5;
  color: #004c6f;
  letter-spacing: 0.04em;
  position: relative;
  z-index: 4;
  top: -20px;
}

/* カードラッパー（リボン + カード本体を包む） */
.hero__card-wrap {
  position: relative;
  margin-top: 0;
  z-index: 5;
}

/* リボン（左に張り出す帯） */
.hero__ribbon {
  position: absolute;
  top: 34px;
  left: -28px;
  right: 0;
  background: #004c6f;
  padding: 12px 50px 18px;
  margin-right: 50px;
  z-index: 1;
}

.hero__ribbon::after {
  content: "";
  position: absolute;
  bottom: -13px;
  left: 0;
  width: 28px;
  height: 13px;
  background: #003249;
  clip-path: polygon(0 0, 100% 0, 100% 100%);
}

.hero__ribbon-text {
  font-size: 1.75rem;
  font-weight: 500;
  color: #fff;
  line-height: 1.5;
  white-space: nowrap;
}

/* カード本体 */
.hero__card {
  background: #f7fbfc;
  box-shadow: 0px 4px 24px 0px rgba(56, 125, 138, 0.25);
  border-radius: 15px;
  padding: 130px 50px 60px;
}

/* タグ3点 */
.hero__tags {
  display: flex;
  justify-content: center;
  gap: 16px;
  list-style: none;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.hero__tag {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.25rem;
  font-weight: 500;
  color: #303030;
}

.hero__tag-icon {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background-color: #004c6f;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  box-sizing: border-box;
}

.hero__tag-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* 職種・勤務地ラベル */
.hero__job-label {
  font-size: 2rem;
  font-weight: 700;
  color: #303030;
  margin-bottom: 8px;
  letter-spacing: 0.02em;
  line-height: 1.5;
  text-align: center;
}

/* 給与：月給 + 金額 */
.hero__salary-inner {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-bottom: 20px;
  color: #004c6f;
  line-height: 1;
}

.hero__salary-prefix {
  font-size: 4.062rem;
  font-weight: 700;
  line-height: 1;
}

.hero__salary-amount {
  font-size: 4.062rem;
  font-weight: 700;
  line-height: 1;
}

.hero__salary-sp {
  display: none;
}

/* ボタン群 */
.hero__btns {
  display: flex;
  gap: 16px;
  flex-wrap: nowrap;
}

.hero__btn {
  flex: 1;
  padding: 20px 28px;
  font-size: 1.25rem;
  font-weight: 500;
  border-radius: 50px;
  transition: opacity 0.2s;
  text-align: center;
  white-space: nowrap;
  box-shadow: 0px 3px 4px 0px rgba(56, 125, 138, 0.25);
}

.hero__btn--primary {
  background: #7cc229;
  color: #fff;
}

.hero__btn--secondary {
  background: #fff;
  color: #303030;
  border: 2px solid #7cc229;
}

.hero__btn:hover {
  opacity: 0.8;
}

/* ================================
   ヒーロー装飾パーツ
   位置はFigmaのhero-visual(1040px中央基準)から変換:
     左装飾: left = calc(50vw - 520px + figma_left)
     右装飾: right = calc(50vw - (520px + figma_right)) ※figma_rightが負=外側
================================ */
.hero__decors {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__decor {
  position: absolute;
  display: block;
  transform: skewX(-15deg);
  animation: none !important;
}

/* ---- 左側 (left-rectangles) ---- */

.hero__decor--l1 {
  width: 337px;
  height: 495px;
  background: rgb(217 230 225 / 90%);
  left: -20px;
  top: 64px;
  z-index: 2;
  background-blend-mode: multiply;
  animation: float-b 4s ease-in-out infinite;
  animation-delay: 0s;
}

.hero__decor--l2 {
  width: 248px;
  height: 349px;
  background: rgb(248 251 251 / 43%);
  left: -122px;
  top: 270px;
  z-index: 2;
  animation: float-c 5.5s ease-in-out infinite;
  animation-delay: 0.8s;
}

.hero__decor--l3 {
  width: 55px;
  height: 102px;
  background: rgb(200 228 233 / 70%);
  left: -140px;
  top: 590px;
  z-index: 3;
  mix-blend-mode: multiply;
  animation: float-a 7s ease-in-out infinite;
  animation-delay: 0.4s;
}

.hero__decor--l4 {
  width: 30px;
  height: 42px;
  background: rgba(200 228 233 / 70%);
  left: -170px;
  top: 674px;
  z-index: 3;
  mix-blend-mode: multiply;
  animation: float-b 6s ease-in-out infinite;
  animation-delay: 1.2s;
}

.hero__decor--l5 {
  width: 24px;
  height: 32px;
  background: rgb(200 228 233 / 70%);
  left: -200px;
  top: 560px;
  z-index: 3;
  background-blend-mode: multiply;
}

/* ---- 右側 (right-rectangles) ---- */

.hero__decor--r1 {
  width: 320px;
  height: 516px;
  background: rgb(217 230 225 / 90%);
  right: 0px;
  top: -35px;
  z-index: 1;
  mix-blend-mode: multiply;
}

.hero__decor--r2 {
  width: 210px;
  height: 331px;
  background: rgb(248 251 251 / 35%);
  right: -90px;
  top: -80px;
  z-index: 1;
  animation: float-a 6s ease-in-out infinite;
  animation-delay: 0.6s;
}

.hero__decor--r3 {
  width: 47px;
  height: 86px;
  background: rgb(200 228 233 / 70%);
  right: -110px;
  top: -100px;
  z-index: 3;
  mix-blend-mode: multiply;
  animation: float-b 4s ease-in-out infinite;
  animation-delay: 1s;
}

.hero__decor--r4 {
  width: 31px;
  height: 29px;
  background: rgb(200 228 233 / 70%);
  right: -65px;
  top: -34px;
  z-index: 3;
  mix-blend-mode: multiply;
  animation: float-c 3.5s ease-in-out infinite;
  animation-delay: 0.3s;
}

.hero__decor--r5 {
  width: 22px;
  height: 24px;
  background: rgb(200 228 233 / 70%);
  right: -55px;
  top: -113px;
  z-index: 3;
  mix-blend-mode: multiply;
  animation: float-b 5s ease-in-out infinite;
  animation-delay: 1.5s;
}

/* 下段：グループ写真 */
.hero__staff {
  padding: 48px 0;
  text-align: center;
}

.hero__staff img {
  width: 100%;
  margin: 0 auto;
}

/* ================================
   Goodセクション
================================ */
.section-good {
  padding: 88px 0 140px;
  position: relative;
  z-index: 2;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 100px), 0 100%);
  /* background-image: url("../images/good-background.webp"); */
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

/* 右下アクセント三角形 */
.section-good__tri {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 814px;
  height: 2750px;
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  background: rgb(221 238 233 / 80%);
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 0;
}

.section-good__sub {
  text-align: center;
  margin-bottom: 8px;
}

.section-good__sub img {
  width: auto;
  margin: 0 auto;
}

.section-good .section-ttl {
  margin-bottom: 0;
}

.section-good .section-ttl img {
  width: auto;
  margin: 0 auto;
}

.section-good .inner {
  padding-top: 130px;
}

/* good-block: 人物（絶対配置）＋ テキスト列（常にページ中央） */
.good-block {
  margin-bottom: 60px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 380px;
}

/* reverseでも同じく中央配置 */
.good-block--reverse {
  justify-content: center;
}

/* ブロック2内の引用：「人間関係が良い！」と同じインデントに合わせる */
.good-block--reverse .good-quote {
  padding-left: 60px;
}

/* ブロック1の padding-left をリセットして逆方向に */
.good-block--reverse .good-block__item:nth-child(1) {
  padding-left: 0;
}

.good-block--reverse .good-block__item:nth-child(2) {
  padding-left: 60px;
}

.good-block:last-of-type {
  margin-bottom: 0;
}

/* コンテンツ列：右側に配置 */
.good-block__col {
  display: flex;
  flex-direction: column;
  width: 58%;
  max-width: 560px;
}

/* 人物グループ：左側に絶対配置（人物＋装飾の基準コンテナ） */
.good-block__person-group--1 {
  position: absolute;
  left: -150px;
  top: 20px;
  width: 37%;
  height: calc(100% + -150px);
  pointer-events: none;
  z-index: 2;
}

.good-block__person-group--2 {
  position: absolute;
  left: auto;
  right: -70px;
  top: -300px;
  width: 32%;
  height: calc(100% + 60px);
  pointer-events: none;
  z-index: 2;
}
.good-block__person-group--3 {
  position: absolute;
  left: -80px;
  top: 140px;
  width: 28%;
  height: calc(100% + -156px);
  pointer-events: none;
  z-index: 2;
}

/* 人物画像 */
.good-block__person-img {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-40%);
  max-height: 470px;
  width: auto;
  object-fit: contain;
  object-position: bottom center;
}
.good-block__person-group--3 .good-block__person-img {
  transform: rotate(35deg) translateX(-40%);
  max-height: 520px;
  max-width: 160%;
  top: 220px;
  left: 70px;
  opacity: 0.8;
}

/* 装飾パーツ共通 */
.good-decor {
  position: absolute;
  display: block;
  border-radius: 2px;
  transform: skewX(-15deg);
}

/* タイトルバー：デフォルトは右揃え → ＜ の頂点 */
.good-block__hd1 {
  position: relative;
  right: -120px;
  background: #004c6f;
  padding: 10px 34px 14px;
  clip-path: polygon(15px 0, 100% 0, calc(100% - 15px) 100%, 0 100%);
  align-self: flex-end;
}
.good-block__hd2 {
  position: relative;
  right: 120px;
  background: #004c6f;
  padding: 10px 34px 14px;
  clip-path: polygon(15px 0, 100% 0, calc(100% - 15px) 100%, 0 100%);
  align-self: flex-start;
}

.good-block__text {
  padding: 28px 0;
}

.good-block__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 0;
  padding: 0;
}

/* SP用インライン写真：デスクトップでは非表示 */
.good-block__item-photo {
  display: none;
}

/* ＜ 形状：上ほどインデント大きく → 左端が右にいる */
.good-block__item {
  padding: 0;
}

.good-block__item:nth-child(1) {
  padding-left: 80px;
}

.good-block__item:nth-child(2) {
  padding-left: 40px;
}

.good-block__item:nth-child(3) {
  padding-left: 0;
}

.good-block__list dt {
  font-size: 1.25rem;
  font-weight: 700;
  color: #004c6f;
  margin: 0 0 4px 0;
  padding: 0;
}

.good-block__list dd {
  font-size: 1.25rem;
  color: #303030;
  line-height: 1.5;
  margin: 0;
  padding: 0;
}

/* 引用セクション全体 */
.good-quote-section {
  position: relative;
  display: flex;
  justify-content: center;
  min-height: 500px;
  width: 100%;
}

.good-quote {
  position: relative;
  z-index: 2;
  max-width: 580px;
  right: -110px;
}

.good-quote p {
  display: inline-block;
  font-size: 1.25rem;
  color: #004c6f;
  line-height: 1.5;
  padding: 28px 32px;
  border-top: 2px solid #004c6f;
  border-bottom: 2px solid #004c6f;
  text-align: left;
}

/* 引用セクション右側の人物 */
.good-quote__persons {
  position: absolute;
  top: -110px;
  right: 110px;
  bottom: 0;
  width: 52%;
  max-width: 660px;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.good-quote__person-img {
  position: absolute;
  bottom: 0;
  width: auto;
  object-fit: contain;
  object-position: bottom center;
}

/* 後ろの人物（やや小さく・左端） */
.good-quote__person-img--back {
  height: 82%;
  max-height: 520px;
  left: 0;
  opacity: 0.85;
}

/* 前の人物（大きく・右寄り） */
.good-quote__person-img--front {
  height: 100%;
  max-height: 640px;
  right: 0;
  left: auto;
  z-index: 2;
}

/* ================================
   業務内容（Works）
================================ */
.section-works {
  position: relative;
  z-index: 100;
  margin-top: -500px;
  padding-bottom: 88px;
}
.section-works .inner {
  position: relative;
  top: 70px;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.work-card {
  background: #f7fbfc;
  padding: 36px 24px 32px;
  text-align: center;
  border-radius: 6px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
}

.work-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.work-card__icon img {
  width: auto;
  height: auto;
}

.work-card > img,
.work-card > picture {
  display: block;
  margin: 0 auto 16px;
}

.work-card > picture img {
  margin: 0 auto;
}

.work-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #004c6f;
  margin-bottom: 12px;
}

.work-card__text {
  font-size: 1.25rem;
  color: #555;
  line-height: 1.5;
}

/* ================================
   仕組みがあるから（Reason）
================================ */

/* 見出しブロック：section-reason の clip 外に浮く */
.reason-heading {
  position: relative;
  top: 150px;
  z-index: 10; /* good(z:2) と reason(z:5) の上 */
  margin-top: -250px; /* section-good の底部に重ねる */
  padding-bottom: 0;
  min-height: calc(590px - 18.75vw);
}
.shoulder-copy {
  margin-bottom: 1rem;
}

.reason__title {
  margin-bottom: 0;
}

.reason__title img {
  max-width: 560px;
}

/* 背景セクション（本文のみ） */
.section-reason {
  position: relative;
  top: -380px;
  z-index: 5;
  padding: calc(18.75vw + 150px) 0 calc(18.75vw - 40px);
  background: #fff;
  clip-path: polygon(0 18.75vw, 100% 0, 100% calc(100% - 18.75vw), 0 100%);
  overflow: hidden;
}

/* 右側ロゴ装飾 */
.reason__logo-bg {
  position: absolute;
  top: 360px;
  right: -60px;
  transform: translateY(-50%);
  width: 700px;
  pointer-events: none;
}

.reason__logo-bg img {
  width: 100%;
  height: auto;
}

.reason__body {
  font-size: 1.25rem;
  color: #303030;
  line-height: 1.5;
}

/* ================================
   Task + Manage ラッパー（三角形が両セクションにまたがる）
================================ */
.task-manage-wrap {
  position: relative;
  top: -100px;
  display: flow-root; /* BFC確立（マージン崩壊防止）、overflow clipping なし */
}

.task-manage__tri-layer {
  position: absolute;
  inset: 0;
  top: -380px;
  overflow: hidden;
  pointer-events: none;
}

/* 左上・右下アクセント三角形 */
.task-manage__tri {
  position: absolute;
  width: 424px;
  height: 1430px;
  pointer-events: none;
  background: rgb(221 238 233 / 80%);
  mix-blend-mode: multiply;
  z-index: 0;
}

.task-manage__tri--tl {
  top: 0;
  left: 0;
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

.task-manage__tri--br {
  bottom: 0;
  right: 0;
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}

/* ================================
   タスクフロー（Task）
================================ */
.section-task {
  padding: 88px 0 200px;
  position: relative;
}

.section-task .inner {
  padding-bottom: 100px;
}

/* レイアウト：PC = CSS Grid（photo左・heading+schedule右） */
.task-layout {
  display: grid;
  grid-template-columns: 52% 1fr;
  grid-template-rows: auto 1fr;
  grid-template-areas:
    "photo heading"
    "photo schedule";
  align-items: start;
}

.task-photo {
  grid-area: photo;
  width: 120%;
  position: relative;
  bottom: -12px;
  z-index: 0;
  align-self: end;
}

.task-heading-wrap {
  grid-area: heading;
  position: relative;
  z-index: 1;
  padding-bottom: 40px;
}

.task-schedule-wrap {
  grid-area: schedule;
  position: relative;
  z-index: 2;
  align-self: start;
}

/* 女性写真 */
.task-photo img {
  width: 730px;
  height: auto;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* 見出し（SVG画像） */
.task-heading {
  margin-bottom: 16px;
}

.task-heading img {
  max-width: 400px;
}

.task-lead {
  font-size: 1.25rem;
  color: #004c6f;
  line-height: 1.5;
}

/* スケジュールパネル */
.task-schedule__label {
  position: absolute;
  top: 30px;
  left: -28px;
  right: 0;
  background: #004c6f;
  color: #fff;
  font-size: 1.375rem;
  font-weight: 700;
  padding: 12px 50px 18px;
  margin-right: 50px;
  white-space: nowrap;
  z-index: 1;
}

.task-schedule__label::after {
  content: "";
  position: absolute;
  bottom: -13px;
  left: 0;
  width: 28px;
  height: 13px;
  background: #003249;
  clip-path: polygon(0 0, 100% 0, 100% 100%);
}

.task-schedule {
  background: rgba(248, 250, 250, 0.8);
  padding: 120px 50px 80px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.task-schedule__item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.task-schedule__time {
  font-size: 1.25rem;
  font-weight: 600;
  color: #004c6f;
  line-height: 1.5;
}

.task-schedule__text {
  font-size: 1.25rem;
  color: #004c6f;
  line-height: 1.5;
}

.task-step__arrow::after {
  content: "›";
  font-size: 1.75rem;
  font-weight: 300;
}

/* ================================
   管理フロー（Manage）
================================ */
.section-manage {
  position: relative;
  top: -100px;
  z-index: 1;
  background-color: #fff;
}

.manage-layout {
  position: relative;
  padding-top: 48px;
  top: -248px;
}

/* フローティングラベル */
.manage-label {
  position: absolute;
  top: 20px;
  left: 50px;
  background: #fff;
  color: #004c6f;
  font-size: clamp(1.375rem, 2.6vw, 2.375rem);
  font-weight: 700;
  padding: 8px 30px;
  line-height: 1.5;
  z-index: 10;
  letter-spacing: 0.04em;
}

/* 写真行：斜めカット */
.manage-photos {
  display: flex;
  overflow: hidden;
}

.manage-photo-col {
  flex: 1;
  min-width: 0;
  height: clamp(200px, 24vw, 370px);
  overflow: hidden;
  position: relative;
}

/* 各写真に前向き斜め（/）カットを適用 */
/* 左から右に向かってz-indexを下げ、後ろの写真が手前の写真の斜め部分を埋める */
.manage-photo-col:nth-child(1) {
  clip-path: polygon(0 0, 100% 0, calc(100% - 50px) 100%, 0 100%);
  margin-right: -30px;
  z-index: 4;
}
.manage-photo-col:nth-child(2) {
  clip-path: polygon(50px 0, 100% 0, calc(100% - 50px) 100%, 0 100%);
  margin-right: -30px;
  z-index: 3;
}
.manage-photo-col:nth-child(3) {
  clip-path: polygon(50px 0, 100% 0, calc(100% - 50px) 100%, 0 100%);
  margin-right: -30px;
  z-index: 2;
}
.manage-photo-col:nth-child(4) {
  clip-path: polygon(50px 0, 100% 0, 100% 100%, 0 100%);
  z-index: 1;
}

.manage-photo-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* 情報行 */
.manage-info-row {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}

.manage-info-col {
  flex: 1;
  min-width: 0;
}

.manage-info-col__head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.manage-check-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: #004c6f;
}

.manage-info-col__title {
  font-size: clamp(1rem, 1.8vw, 1.625rem);
  font-weight: 700;
  color: #004c6f;
  line-height: 1.5;
}

.manage-info-col__text {
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  color: #004c6f;
  line-height: 1.5;
}

/* ================================
   応募条件テーブル
================================ */
.section-conditions {
  position: relative;
  top: -240px;
  padding: 0 0 200px;
  z-index: 100;
  max-width: 1250px;
  margin: 0 auto;
}

.section-conditions::before {
  content: "";
  position: absolute;
  top: 0;
  left: calc(50% - 50vw);
  width: 100vw;
  height: 100%;
  background: #fff;
  z-index: -1;
}

.conditions-inner {
  position: relative;
  max-width: 1250px;
  margin: 0 auto;
  padding: 180px 50px 88px;
  background: #f7fbfc;
  box-shadow: 0px 4px 24px 0px rgba(56, 125, 138, 0.25);
  border-radius: 15px;
}

/* ── リボンヘッダー（heroリボンと同じ構造） ── */
.conditions-ribbon {
  position: absolute;
  top: 60px;
  left: -28px;
  right: 50px;
  background: #004c6f;
  padding: 12px 50px 18px;
  z-index: 1;
}

/* 折り返し三角形（heroと同じ実装） */
.conditions-ribbon::after {
  content: "";
  position: absolute;
  bottom: -13px;
  left: 0;
  width: 28px;
  height: 13px;
  background: #003249;
  clip-path: polygon(0 0, 100% 0, 100% 100%);
}

.conditions-ribbon__title {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
}

/* 勤務地見出し */
.conditions-location {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  color: #004c6f;
  padding-bottom: 16px;
  border-bottom: 2px solid #004c6f;
  margin-bottom: 0;
}

.conditions-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 48px;
}

.conditions-table th,
.conditions-table td {
  padding: 24px 24px;
  border-bottom: 1px solid #e0e0e0;
  text-align: left;
  vertical-align: top;
}

.conditions-table th {
  width: 200px;
  font-weight: 700;
  background: none;
  white-space: nowrap;
  color: #004c6f;
}

/* 応募ボタン */
.apply-btn-wrap {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-apply {
  display: inline-block;
  padding: 20px 60px;
  background: #6abf45;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 500;
  border: 2px solid transparent;
  border-radius: 50px;
  box-shadow: 0 3px 4px rgba(56, 125, 138, 0.25);
  transition: opacity 0.2s;
}

.btn-apply--large {
  font-size: 1.25rem;
  padding: 24px 80px;
}

.btn-apply:hover {
  opacity: 0.85;
}

.btn-apply--question {
  background: #fff;
  color: #303030;
  border: 2px solid #6abf45;
  font-weight: 400;
}

.btn-apply--question:hover {
  background: rgba(106, 191, 69, 0.06);
  opacity: 1;
}

/* ================================
   会社紹介（About）
================================ */
.section-about {
  padding: 88px 0;
  position: relative;
}

.about__logotypo {
  position: absolute;
  top: -250px;
  left: 50%;
  width: 100%;
  transform: translateX(-50%);
  pointer-events: none;
}

.about__logotypo img {
  width: 100%;
  height: auto;
}

.about-watermark {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 6rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.04);
  white-space: nowrap;
  letter-spacing: 0.04em;
  pointer-events: none;
  user-select: none;
}

.about__inner {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 56px;
  align-items: stretch;
  position: relative;
  z-index: 1;
}

.about__logo {
  background: #221715;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}

.about__logo img {
  width: 100%;
}

.about__title {
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: 0.04em;
}

.about__text {
  font-size: 1.25rem;
  line-height: 1.5;
  margin-bottom: 16px;
}

.about__text:last-child {
  margin-bottom: 0;
}

/* ================================
   FAQ
================================ */
.section-faq {
  padding: 88px 0 200px;
  position: relative;
  overflow: hidden;
}

/* 右下アクセント三角形 */
.section-faq__tri {
  position: absolute;
  top: 0;
  right: 0;
  width: 570px;
  height: 1924px;
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  background: rgb(221 238 233 / 80%);
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 0;
}

.section-faq__decor {
  position: absolute;
  top: 40px;
  right: 30px;
  width: 340px;
  pointer-events: none;
  user-select: none;
  mix-blend-mode: multiply;
  opacity: 0.8;
}

.section-faq__head {
  margin-bottom: 56px;
}

.section-faq__en {
  font-size: 1.25rem;
  font-weight: 700;
  color: #7cc229;
  letter-spacing: 0.06em;
  font-style: italic;
  margin-bottom: 8px;
}

.section-faq__ttl {
  font-size: 2.625rem;
  font-weight: 700;
  color: #004c6f;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.faq-list {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 48px;
  padding-left: 80px;
}

.faq-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item__q {
  display: flex;
  align-items: center;
  gap: 20px;
}

.faq-item__icon {
  flex-shrink: 0;
}

.faq-item__q .faq-item__text {
  font-weight: 600;
  font-size: 1.375rem;
  color: #303030;
  line-height: 1.5;
}

.faq-item__a {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.faq-item__a .faq-item__text {
  font-size: 1.25rem;
  color: #303030;
  line-height: 1.5;
}

/* ================================
   スタッフ体験談（Voice）
================================ */
.section-voice {
  background: #fff;
}

/* 体験談ブロック（統一構造） */
.voice-block {
  position: relative;
  height: clamp(360px, 55vw, 872px);
  overflow: hidden;
}

.voice-block__bg {
  position: absolute;
  inset: 0;
}

.voice-block__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.voice-block__box {
  position: absolute;
  bottom: clamp(24px, 4vw, 50px);
  left: clamp(16px, 3vw, 48px);
  background: rgba(255, 255, 255, 0.8);
  padding: 54px;
  max-width: min(600px, 58%);
}

.voice-block--reverse .voice-block__box {
  left: auto;
  right: clamp(16px, 3vw, 50px);
}

.voice-block__label {
  margin-bottom: 12px;
}

/* .voice-block__label img {
  max-width: 110px;
  width: 100%;
} */

.voice-block__heading {
  margin-bottom: 16px;
}

.voice-block__heading img {
  max-width: 520px;
}

.voice-block__text {
  font-size: 1.25rem;
  color: #303030;
  line-height: 1.5;
}

/* ================================
   応募の流れ（Flow）
================================ */
.section-flow {
  padding-top: 88px;
  background: #fff;
}

.flow-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: nowrap;
  list-style: none;
  gap: 0;
}

.flow-step {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  padding: 0 8px;
  position: relative;
}

.flow-step + .flow-step::before {
  display: none;
}

.flow-step__num-wrap {
  flex-shrink: 0;
  width: 60px;
}

.flow-step__bg-num {
  font-size: clamp(4.375rem, 8vw, 6.938rem);
  font-weight: 700;
  color: #d6e1e0;
  line-height: 1;
  letter-spacing: -0.03em;
  user-select: none;
}

.flow-step__label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) skewX(-8deg);
  font-size: clamp(0.75rem, 1.2vw, 0.875rem);
  font-weight: 700;
  color: #004c6f;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.flow-step__num-wrap img {
  height: auto;
}

.flow-step__content {
  flex: 1;
  min-width: 0;
}

.flow-step__title {
  font-size: clamp(1rem, 2vw, 1.5rem);
  font-weight: 700;
  color: #004c6f;
  margin-bottom: 8px;
  line-height: 1.5;
}

.flow-step__text {
  font-size: clamp(0.75rem, 1.2vw, 0.875rem);
  color: #555;
  line-height: 1.5;
}

/* ================================
   応募フォーム（Form）
================================ */
.section-form {
  padding: 160px 0 80px;
  position: relative;
  z-index: 1;
  max-width: 1250px;
  margin: 0 auto;
}

.section-form::before {
  content: "";
  position: absolute;
  top: 0;
  left: calc(50% - 50vw);
  width: 100vw;
  height: 100%;
  background: #fff;
  z-index: -1;
}

/* ── リボンヘッダー（heroリボンと同じ構造） ── */
.form-inner {
  position: relative;
  max-width: 1250px;
  margin: 0 auto;
  padding: 180px 50px 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #f7fbfc;
  box-shadow: 0px 4px 24px 0px rgba(56, 125, 138, 0.25);
  border-radius: 15px;
}

.form__logo-bg {
  position: absolute;
  bottom: 0;
  right: 0;
  pointer-events: none;
  user-select: none;
  overflow: hidden;
  z-index: 0;
}

.form__logo-bg img {
  width: 380px;
  height: auto;
  display: block;
  mix-blend-mode: multiply;
  opacity: 0.5;
}

.form-ribbon {
  position: absolute;
  top: 60px;
  left: -28px;
  right: 0;
  background: #004c6f;
  padding: 12px 50px 18px;
  margin-right: 50px;
  z-index: 2;
}

/* 折り返し三角形（heroと同じ実装） */
.form-ribbon::after {
  content: "";
  position: absolute;
  bottom: -13px;
  left: 0;
  width: 28px;
  height: 13px;
  background: #003249;
  clip-path: polygon(0 0, 100% 0, 100% 100%);
}

.form-ribbon__title {
  color: #fff;
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 1.5;
  white-space: nowrap;
}

.form-lead {
  width: 100%;
  max-width: 900px;
  font-size: 1.25rem;
  color: #303030;
  margin-bottom: 56px;
}

.form-cf7-wrap {
  width: 100%;
}

/* ── フォームフィールド行 ── */
.form-fields {
  display: flex;
  flex-direction: column;
  gap: 60px;
  width: 100%;
  max-width: 900px;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row + .form-row {
  margin-top: 40px;
}

.form-row[hidden] {
  display: none;
}

.form-label {
  font-size: 1.25rem;
  font-weight: 600;
  color: #303030;
  padding: 0 10px;
}

.form-label-note {
  font-size: 1.25rem;
  color: #666;
  padding: 0 10px;
  margin-top: -12px;
}

/* ── CF7 フィールドのスタイル ── */
.form-input-wrap .wpcf7-form-control-wrap,
.form-radio-wrap .wpcf7-form-control-wrap {
  display: block;
  padding-left: 40px;
}

/* テキスト・メール・セレクト */
.section-form input[type="text"],
.section-form input[type="email"],
.section-form input[type="tel"],
.section-form input[type="number"],
.section-form select,
.section-form textarea {
  width: 100%;
  padding: 20px 16px;
  background: #fff;
  border: 2px solid rgba(56, 125, 138, 0.35);
  border-radius: 10px;
  box-shadow: 0 0 24px rgba(56, 125, 138, 0.15);
  font-size: 1.25rem;
  font-family: inherit;
  color: #303030;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  appearance: none;
}

.section-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23004c6f' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}

.section-form textarea {
  height: 110px;
  resize: vertical;
}

.section-form input:focus,
.section-form select:focus,
.section-form textarea:focus {
  outline: none;
  border-color: #2a7d8e;
  box-shadow: 0 0 24px rgba(56, 125, 138, 0.3);
}

/* ── ラジオボタン ── */
.section-form .wpcf7-radio {
  display: flex;
  gap: 40px;
}

.section-form .wpcf7-list-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  cursor: pointer;
}

.section-form .wpcf7-list-item input[type="radio"] {
  width: 28px;
  height: 28px;
  margin: 0;
  accent-color: #004c6f;
  cursor: pointer;
  flex-shrink: 0;
}

.section-form .wpcf7-list-item-label {
  font-size: 1.25rem;
  color: #303030;
  cursor: pointer;
}

/* ── バリデーションエラー ── */
.section-form .wpcf7-not-valid-tip {
  font-size: 1.25rem;
  color: #c00;
  margin-top: 6px;
}

.section-form .wpcf7-response-output {
  font-size: 1.25rem;
  padding: 12px 16px;
  margin-top: 16px;
  border-radius: 6px;
}

.section-form .wpcf7-mail-sent-ok {
  border-color: #2a7d8e;
  background: rgba(42, 125, 142, 0.08);
}

/* ── ボタン ── */
.form-btns[hidden] {
  display: none;
}

.form-btns {
  display: flex;
  width: 100%;
  gap: 24px;
  margin-top: 64px;
  max-width: 900px;
  position: relative;
  z-index: 1;
}

.form-btn {
  flex: 1;
  padding: 20px 24px;
  border-radius: 50px;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.5;
  cursor: pointer;
  transition:
    opacity 0.2s,
    box-shadow 0.2s;
  box-shadow: 0 3px 4px rgba(56, 125, 138, 0.25);
  border: none;
}

.form-btn--apply {
  background: #7cc229;
  color: #fff;
  border: 2px solid #7cc229;
}

.form-btn--apply:hover:not(:disabled) {
  opacity: 0.88;
}

.form-btn--apply.is-disabled,
.form-btn--apply:disabled {
  background: #ccc;
  border-color: #ccc;
  cursor: not-allowed;
  opacity: 0.7;
  box-shadow: none;
}

.form-btn--question {
  background: #fff;
  color: #303030;
  border: 2px solid #7cc229;
  font-weight: 400;
}

.form-btn--question:hover {
  background: rgba(124, 194, 41, 0.06);
}

/* ── 必須・任意バッジ ── */
.form-required-badge,
.form-optional-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 2px 7px;
  border-radius: 3px;
  margin-left: 10px;
  vertical-align: middle;
  line-height: 1.5;
}

.form-required-badge {
  background: #d22d2d;
  color: #fff;
}

.form-optional-badge {
  background: #aaa;
  color: #fff;
}

/* ── 必須項目エラーバナー ── */
.form-required-error {
  font-size: 1.25rem;
  color: #c00;
  font-weight: 700;
  padding: 14px 20px;
  background: rgba(204, 0, 0, 0.06);
  border: 1px solid rgba(204, 0, 0, 0.3);
  border-radius: 6px;
  margin-bottom: 8px;
  max-width: 900px;
}

.form-required-error[hidden] {
  display: none;
}

/* ── 送信完了メッセージ ── */
.form-success {
  width: 100%;
  margin-top: 24px;
}

.form-success[hidden] {
  display: none;
}

.form-success__msg {
  font-size: 1.25rem;
  color: #303030;
  line-height: 1.5;
}

/* ── 送信確認リスト ── */
.form-confirm {
  margin-top: 24px;
  border-top: 1px solid #e0e0e0;
  padding-top: 20px;
}

.form-confirm__row {
  display: flex;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 1.25rem;
  line-height: 1.6;
}

.form-confirm__label {
  flex: 0 0 160px;
  color: #888;
  font-size: 1.1rem;
}

.form-confirm__value {
  color: #303030;
  word-break: break-all;
}

/* ── フィールドバリデーションエラー ── */
.form-field-error {
  font-size: 1.25rem;
  color: #c00;
  margin-top: 6px;
  padding-left: 40px;
}

/* ── 電話番号 ── */
.form-tel {
  margin-top: 10px;
  font-size: 1.25rem;
  color: #303030;
  width: 100%;
  max-width: 900px;
  position: relative;
  z-index: 1;
}

.form-tel a {
  color: inherit;
  text-decoration: none;
}

.form-tel a:hover {
  text-decoration: underline;
}

/* ================================
   レスポンシブ
================================ */
@media (max-width: 1024px) {
  html {
    background: #e8f2f2;
  }

  .lp-wrap {
    max-width: 480px;
    margin: 0 auto;
  }

  .inner {
    padding: 0 16px;
  }

  /* スティッキーバー SP */
  .sticky-bar {
    left: calc(50% - 240px);
    width: 480px;
  }

  .sticky-bar__inner {
    padding: 0 16px;
    gap: 12px;
  }

  .sticky-bar__text {
    font-size: 0.9rem;
    flex-wrap: nowrap;
    white-space: nowrap;
  }

  .sticky-bar__btn {
    font-size: 0.9rem;
    padding: 7px 16px;
  }

  /* ヒーロー SP */
  .hero::before {
    display: none;
  }
  .hero__decors {
    display: none;
  }
  .hero__decor--l1 {
    width: 170px;
    height: 265px;
    left: 9px;
    top: -17px;
  }
  .hero__decor--l2 {
    left: 1px;
    top: -33px;
    width: 150px;
    height: 150px;
  }
  .hero__decor--r1 {
    width: 170px;
    height: 265px;
    top: 37px;
    right: 8px;
  }
  .hero__decor--r2 {
    top: 170px;
    right: 0px;
    width: 150px;
    height: 150px;
  }
  .hero__photo--right {
    width: 95%;
  }

  .hero__logo {
    font-size: 1.25rem;
    top: 0;
    left: 0;
    right: 0;
    padding-left: 0;
    padding-right: 0;
    display: flex;
    justify-content: center;
  }
  .hero__logo img {
    width: 190px;
  }

  /* ヒーロー SP: min-height を解除してモバイル小型端末対応 */
  .hero {
    min-height: 0;
    height: auto;
  }

  /* 写真エリア SP: 全幅・最低高さ確保 */
  .hero__photos-wrap {
    width: 100%;
    flex: 0 0 400px;
  }

  .hero__photos {
    width: 100%;
    height: 100%;
    max-height: 400px;
    margin-top: 23px;
  }

  /* 写真グループ：両者が見える幅に調整（62%×2=124%、重なりは24%） */
  .hero__photo-left-group {
    left: 0;
    width: 65%;
    height: 100%;
  }

  .hero__photo-right-group {
    right: 0;
    width: 58%;
    height: 100%;
    z-index: 2;
  }

  /* clip-path オフセット縮小（130px → 50px）で人物が見える幅に */
  .hero__photo {
    clip-path: polygon(50px 0%, 100% 0%, calc(100% - 50px) 100%, 0% 100%);
  }

  /* SP：写真要素はグループ幅いっぱいに */
  .hero__photo--left {
    width: 100%;
  }

  .hero__photo--right {
    width: 100%;
  }

  /* SP：上半身（頭〜腰）を表示 */
  .hero__photo img {
    object-position: center top;
  }
  .hero__photo--left img {
    right: 45px;
  }
  /* .hero__photo--right img {
    left: 5px;
  } */
  .hero__mid {
    grid-template-columns: 1fr;
    gap: 0;
    width: 90%;
    padding: 0;
    position: relative;
    top: -60px;
    margin: 0 auto;
  }

  .hero__decor--l3,
  .hero__decor--l4,
  .hero__decor--l5,
  .hero__decor--r3,
  .hero__decor--r4,
  .hero__decor--r5 {
    display: none;
  }
  .hero__decor {
    transform: skewX(-10deg);
  }

  /* キャッチ：photos エリア下端にオーバーレイ */
  .hero__catch {
    position: absolute;
    bottom: 100%;
    left: 10px;
    right: 16px;
    top: -145px;
    width: 290px;
    order: initial;
    z-index: 10;
  }

  .hero__tags {
    justify-content: center;
    gap: 10px;
  }

  .hero__ribbon {
    width: 95%;
    top: 24px;
    left: -10px;
    padding: 8px 20px 10px 30px;
  }

  .hero__ribbon::after {
    width: 10px;
    height: 8px;
    bottom: -8px;
  }

  .hero__ribbon-text {
    font-size: 1.25rem;
    white-space: normal;
  }

  .hero__card {
    padding: 90px 20px 32px;
    border-radius: 10px;
  }

  .hero__tag {
    font-size: 1rem;
    gap: 3px;
  }

  .hero__tag-icon {
    width: 24px;
    height: 24px;
    background-size: 14px;
    padding: 4px;
  }

  .hero__job-label {
    font-size: 1.5rem;
    font-weight: 500;
  }

  .hero__salary-inner {
    flex-wrap: nowrap;
    white-space: nowrap;
  }

  .hero__salary-prefix {
    font-size: 2.5rem;
    letter-spacing: -0.05rem;
    flex-shrink: 0;
  }

  .hero__salary-amount {
    font-size: 2.8rem;
  }

  .hero__salary-pc {
    display: none;
  }

  .hero__salary-sp {
    display: inline;
  }

  .hero__kara {
    display: inline-block;
    writing-mode: vertical-rl;
    text-orientation: upright;
    font-size: 1.7rem;
    vertical-align: bottom;
  }

  .hero__btns {
    flex-direction: column;
    width: 85%;
    margin: 0 auto;
    gap: 10px;
  }

  .hero__btn {
    font-size: 1.25rem;
    padding: 20px;
  }

  .hero__staff {
    padding: 0;
  }

  /* 共通セクション SP */
  .section-ttl {
    font-size: 1.625rem;
    margin-bottom: 40px;
  }

  .section-ttl__num {
    font-size: 2.25rem;
  }

  /* Good SP */
  .section-good {
    padding: 0;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 60px), 0 100%);
    display: flex;
    flex-direction: column;
  }
  .section-good__tri {
    display: none;
  }
  .section-good .inner {
    padding-top: 0;
  }
  .section-good__sub {
    margin-bottom: 10px;
  }
  .section-good .section-ttl {
    margin-bottom: 50px;
  }
  .section-good__head {
    order: 1;
    padding-top: 0;
  }

  .hero__staff {
    order: 2;
  }

  .section-good__body {
    order: 3;
    padding-top: 0;
  }

  .good-block {
    flex-direction: column;
    min-height: 0;
    padding-top: 0;
    margin-bottom: 0;
  }

  /* デスクトップ用人物グループを非表示 */
  .good-block__person-group--1,
  .good-block__person-group--2,
  .good-block__person-group--3 {
    display: none;
  }

  .good-block__col {
    width: 100%;
    max-width: 100%;
  }

  /* タイトルバーをフル幅に */
  .good-block__hd1,
  .good-block__hd2 {
    right: 0;
    margin-left: -16px;
    margin-right: -16px;
  }
  .good-block__hd1 {
    clip-path: polygon(15px 0, 100% 0, calc(100% - 0px) 100%, 0 100%);
    width: 80%;
    align-self: flex-end;
    top: -20px;
    margin-bottom: 10px;
    right: −10px;
  }
  .good-block__hd2 {
    clip-path: polygon(0 0, 100% 0, calc(100% - 15px) 100%, 0 100%);
    margin-bottom: 24px;
  }

  .good-block__hd1 img,
  .good-block__hd2 img {
    max-width: 100%;
    height: auto;
  }

  .good-block__text {
    padding: 0;
  }

  /* インデントリセット */
  .good-block__item:nth-child(1),
  .good-block__item:nth-child(2),
  .good-block__item:nth-child(3),
  .good-block--reverse .good-block__item:nth-child(1),
  .good-block--reverse .good-block__item:nth-child(2),
  .good-block--reverse .good-quote {
    padding-left: 0;
  }

  /* SP：写真付きアイテムを横並びに */
  .good-block__item--has-photo {
    display: flex;
    align-items: center;
    gap: 16px;
  }
  .good-block__item--has-photo.good2__wrap {
    align-items: flex-start;
  }

  /* SP用インライン写真：外側にはみ出させて大きく見せる */
  .good-block__item-photo {
    display: block;
    width: calc(40% + 16px);
    flex-shrink: 0;
  }

  /* 左写真: 左のpaddingにはみ出す */
  .good-block__item--has-photo:not(.good-block__item--photo-right)
    .good-block__item-photo {
    margin-left: -53px;
  }

  /* 右写真: 右のpaddingにはみ出す */
  .good-block__item--photo-right .good-block__item-photo {
    margin-right: -16px;
  }

  .good-block__item-photo img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  .good-photo--1 {
    width: 50%;
    transform: translateX(30px);
    z-index: -1;
  }

  .good-photo--2 {
    transform: translateY(-50px) translateX(-5px);
    z-index: -1;
  }

  .good-photo--3 {
    transform: rotate(35deg) translateY(12px) translateX(13px);
    z-index: -1;
    opacity: 0.8;
  }

  .good-block__item-body {
    flex: 1;
  }

  .good-block__list {
    gap: 28px;
  }

  /* 装飾 SP では非表示 */
  .good-decor--1a,
  .good-decor--1b,
  .good-decor--1c,
  .good-decor--1d,
  .good-decor--2a,
  .good-decor--2b,
  .good-decor--2c,
  .good-decor--2d,
  .good-decor--qa,
  .good-decor--qb {
    display: none;
  }

  .good-quote-section {
    flex-direction: column;
    min-height: 0;
    padding-bottom: 0;
    margin-top: 0;
  }

  .good-quote-section .good-quote__person-img {
    position: static;
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  .good-quote {
    width: 100%;
    max-width: 100%;
    right: 0;
    text-align: left;
  }

  .good-quote p {
    max-width: 100%;
    padding: 20px 16px;
  }

  .good-quote__persons {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    bottom: auto;
    width: 100%;
    max-width: 100%;
    height: 300px;
    margin-top: 24px;
  }

  .good-quote__person-img--back {
    height: 100%;
    max-height: 300px;
    left: 5%;
  }

  .good-quote__person-img--front {
    height: 100%;
    max-height: 320px;
    right: 5%;
  }

  /* Works SP */
  .section-works {
    margin-top: -60px;
    padding: 120px 0 60px;
  }

  .works-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .work-card {
    text-align: center;
  }

  .work-card__icon {
    justify-content: center;
  }

  /* Reason SP */
  .reason-heading {
    margin-top: -200px;
    min-height: 0;
    top: 180px;
  }

  .reason__title img {
    max-width: 300px;
  }

  .section-reason {
    top: 0;
    margin-top: 0;
    padding-top: 200px;
    padding-bottom: 80px;
    clip-path: polygon(0 90px, 100% 0, 100% calc(100% - 90px), 0 100%);
  }

  .reason__body {
    font-size: 1.25rem;
    position: relative;
    z-index: 1;
  }

  .reason__logo-bg {
    width: 280px;
    right: -40px;
    bottom: -450px;
    z-index: 0;
  }

  /* Manage SP */
  .section-manage {
    padding: 0 0 60px;
  }

  .manage-layout {
    top: -100px;
    padding-top: 15px;
  }

  .manage-label {
    position: absolute;
    top: 0;
    left: 10px;
    padding: 6px 10px;
  }

  .manage-label img {
    width: auto;
  }

  .manage-photos {
    flex-wrap: nowrap;
  }

  .manage-photo-col {
    flex: 1;
    height: 100px;
  }

  .manage-photo-col:nth-child(1) {
    clip-path: polygon(0 0, 100% 0, calc(100% - 20px) 100%, 0 100%);
    margin-right: -12px;
  }
  .manage-photo-col:nth-child(2) {
    clip-path: polygon(20px 0, 100% 0, calc(100% - 20px) 100%, 0 100%);
    margin-right: -12px;
  }
  .manage-photo-col:nth-child(3) {
    clip-path: polygon(20px 0, 100% 0, calc(100% - 20px) 100%, 0 100%);
    margin-right: -12px;
  }
  .manage-photo-col:nth-child(4) {
    clip-path: polygon(20px 0, 100% 0, 100% 100%, 0 100%);
  }

  .manage-info-row {
    flex-direction: column;
    gap: 12px;
  }

  .manage-info-col {
    width: 100%;
    display: flex;
    align-items: flex-start;
    gap: 12px;
  }

  .manage-info-col__head {
    flex-shrink: 0;
    width: 30%;
    margin-bottom: 0;
  }

  .manage-info-col__text br {
    display: none;
  }

  .manage-info-col__text {
    flex: 1;
  }

  /* Conditions SP */
  .section-conditions {
    top: -220px;
    padding: 0 16px 60px;
  }
  .section-conditions .inner {
    padding: 0;
  }

  .conditions-inner {
    padding: 90px 20px 60px;
    border-radius: 10px;
  }

  .conditions-ribbon {
    top: 24px;
    left: -10px;
    right: auto;
    width: 95%;
    margin-right: 0;
    padding: 8px 20px 10px 30px;
  }

  .conditions-ribbon::after {
    width: 10px;
    height: 8px;
    bottom: -8px;
  }

  .conditions-table th {
    width: 120px;
    font-size: 1.25rem;
    padding: 14px 12px;
  }

  .conditions-table td {
    font-size: 1.25rem;
    padding: 14px 12px;
  }

  .apply-btn-wrap {
    flex-direction: column;
  }

  .btn-apply {
    padding: 16px 32px;
    font-size: 1.25rem;
    width: 100%;
    text-align: center;
  }

  /* About SP */
  .section-about {
    padding: 60px 0;
  }
  .section-about .inner {
    margin-top: -200px;
  }
  .about__logotypo {
    top: -223px;
  }
  .about__inner {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .about__logo {
    align-items: center;
    padding: 0;
    min-height: 0;
    margin-bottom: 20px;
  }

  .about__logo img {
    max-width: 55%;
    margin: 0 auto;
  }

  .about-watermark {
    font-size: 3rem;
  }

  /* FAQ SP */
  .section-faq {
    padding: 60px 0;
  }
  .section-faq__decor {
    width: 120px;
    right: 10px;
    top: 80px;
  }

  .section-faq__ttl {
    font-size: 1.75rem;
  }

  .faq-list {
    padding-left: 0;
    gap: 36px;
  }

  .faq-item__icon {
    font-size: 1.5rem;
  }

  .faq-item__q .faq-item__text {
    font-size: 1.25rem;
  }

  .faq-item__a .faq-item__text {
    font-size: 1.25rem;
  }

  /* Voice SP */
  .voice-block {
    height: 630px;
    overflow: hidden;
    display: block;
  }

  .voice-block__bg {
    position: absolute;
    inset: 0;
  }

  .voice-block__box {
    position: absolute;
    bottom: 22px;
    left: 20px;
    right: 20px;
    max-width: 100%;
    padding: 15px;
    background: rgba(248, 250, 250, 0.9);
  }

  .voice-block--reverse .voice-block__box {
    left: 20px;
    right: 20px;
  }

  /* Flow SP */
  .section-flow {
    padding: 60px 0;
  }
  .section-flow .section-ttl {
    margin-bottom: 10px;
  }
  .flow-steps {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-width: 400px;
    margin: 0 auto;
  }

  .flow-step {
    flex-direction: row;
    max-width: 100%;
    text-align: left;
    gap: 8px;
    padding: 8px 0;
    align-items: center;
  }

  .flow-step + .flow-step::before {
    display: none;
  }

  .flow-step__num-wrap {
    flex-shrink: 0;
    width: 30px;
    height: auto;
    margin-bottom: 0;
  }

  .flow-step__bg-num {
    font-size: 3rem;
  }

  .flow-step__label {
    font-size: 1.25rem;
  }

  .flow-step__title {
    font-size: 1.25rem;
    margin-bottom: 4px;
  }

  .flow-step__text {
    font-size: 1.25rem;
  }

  /* Form SP */
  .section-form {
    padding: 0 16px 60px;
  }

  .section-form .inner {
    padding: 0;
  }
  .form-inner {
    padding: 90px 20px 60px;
    border-radius: 10px;
  }

  .form__logo-bg {
    overflow: hidden;
    border-bottom-right-radius: 10px;
  }

  .form__logo-bg img {
    width: 260px;
  }

  .form-ribbon {
    width: 95%;
    top: 24px;
    left: -10px;
    right: auto;
    padding: 8px 20px 10px 30px;
    margin-right: 0;
  }

  .form-ribbon::after {
    width: 10px;
    height: 8px;
    bottom: -8px;
  }

  .form-ribbon__title {
    font-size: 1.25rem;
    white-space: normal;
    line-height: 1.5;
  }

  .form-lead {
    padding: 0;
    margin-bottom: 40px;
  }

  .form-fields {
    gap: 40px;
  }

  .form-label {
    font-size: 1.25rem;
    padding: 0;
  }

  .form-label-note {
    padding: 0;
  }

  .form-input-wrap .wpcf7-form-control-wrap,
  .form-radio-wrap .wpcf7-form-control-wrap {
    padding-left: 0;
  }

  .section-form input[type="text"],
  .section-form input[type="email"],
  .section-form input[type="tel"],
  .section-form input[type="number"],
  .section-form select,
  .section-form textarea {
    padding: 14px 12px;
    font-size: 1.25rem;
  }

  .form-btns {
    flex-direction: column;
    gap: 16px;
    margin-top: 48px;
  }

  .form-btn {
    font-size: 1.25rem;
    padding: 18px 20px;
  }

  .btn-apply--large {
    font-size: 1.25rem;
    padding: 18px 32px;
    width: 100%;
    text-align: center;
    display: block;
  }

  /* Task：グリッド→縦積みの切り替え */
  .section-task {
    padding: 60px 0;
  }

  .task-layout {
    display: flex;
    flex-direction: column;
  }

  .task-heading-wrap {
    order: 1;
    padding-bottom: 0;
  }

  .task-photo {
    order: 2;
    width: calc(100% + 32px);
    margin-left: -16px;
    margin-bottom: -8px;
    bottom: 0;
    align-self: auto;
  }

  .task-schedule-wrap {
    order: 3;
    align-self: stretch;
  }

  .task-heading img {
    max-width: 280px;
  }

  .task-schedule {
    background: #f7fbfc;
    box-shadow: 0px 4px 24px 0px rgba(56, 125, 138, 0.25);
    border-radius: 10px;
    padding: 90px 20px 40px;
  }

  .task-schedule__label {
    top: 24px;
    left: -10px;
    right: auto;
    width: 95%;
    margin-right: 0;
    padding: 8px 20px 10px 30px;
    font-size: 1.25rem;
    white-space: normal;
  }

  .task-schedule__label::after {
    width: 10px;
    height: 8px;
    bottom: -8px;
  }

  .site-footer {
    max-width: 480px;
    padding: 0 16px 5px;
    background-color: #fff;
  }
  .task-manage__tri-layer {
    top: -60px;
  }
  .task-manage__tri--tl {
    width: 220px;
    height: 1000px;
  }
}

/* ================================
   中間デスクトップ調整（1025〜1380px）
================================ */
@media (min-width: 1025px) and (max-width: 1380px) {
  .hero__mid {
    top: 480px;
    grid-template-columns: 55fr 45fr;
    gap: 0 24px;
  }
  .hero__card {
    padding: 100px 32px 48px;
  }
  .hero__ribbon-text {
    font-size: 1.4rem;
  }
  .hero__catch img {
    max-width: 480px;
  }
  .hero__catch {
    top: 0;
    padding-left: 48px;
  }
}

/* ================================
   フッター
================================ */
.site-footer {
  margin: 0 auto;
}

@media (min-width: 1025px) {
  .site-footer {
    max-width: 1250px;
    padding: 0 40px;
  }
}

.site-footer__copy {
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}

@media (max-width: 480px) {
  .sticky-bar {
    left: 0;
    width: 100%;
  }
}

@media (max-width: 400px) {
  .works-grid {
    grid-template-columns: 1fr;
  }

  .hero__ribbon-text {
    font-size: 1rem;
  }
}

/* ================================
   ローダー
================================ */
.loader {
  position: fixed;
  inset: 0;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  animation: loaderFadeOut 0.35s cubic-bezier(0.4, 0, 0.2, 1) 0.55s forwards;
}

.loader__logo {
  width: 160px;
  animation: logoScaleIn 0.55s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes logoScaleIn {
  from {
    opacity: 0;
    transform: scale(0.88);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes loaderFadeOut {
  to {
    opacity: 0;
    pointer-events: none;
  }
}

/* ================================
   求人一覧（アーカイブ）
================================ */
.archive-wrap {
  min-height: 100vh;
  background: #f5f8f9;
  font-family: 'Noto Sans JP', sans-serif;
}

.archive-head {
  background: #1a3d5c;
  padding: 40px 0;
}

.archive-head__inner {
  display: flex;
  align-items: center;
  gap: 24px;
}

.archive-head__logo {
  height: 32px;
}

.archive-head__logo img {
  height: 100%;
  width: auto;
}

.archive-head__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.05em;
}

.archive-body {
  padding: 48px 20px 80px;
  max-width: 1100px;
}

/* フィルター */
.archive-filter {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
  background: #fff;
  border-radius: 12px;
  padding: 24px 28px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.archive-filter__group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.archive-filter__label {
  font-size: 0.875rem;
  font-weight: 700;
  color: #666;
  white-space: nowrap;
  min-width: 60px;
}

.archive-filter__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.archive-filter__btn {
  padding: 6px 16px;
  border-radius: 20px;
  border: 1px solid #d0d8e0;
  background: #fff;
  font-size: 0.875rem;
  color: #555;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.archive-filter__btn:hover {
  border-color: #7cc229;
  color: #7cc229;
}

.archive-filter__btn.is-active {
  background: #7cc229;
  border-color: #7cc229;
  color: #fff;
  font-weight: 700;
}

/* カード */
.archive-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.archive-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  text-decoration: none;
  color: #303030;
  transition: transform 0.2s, box-shadow 0.2s;
}

.archive-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.archive-card[hidden] {
  display: none;
}

.archive-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
}

.archive-card__tag {
  font-size: 0.75rem;
  background: #e8f5d5;
  color: #5a9a1a;
  border-radius: 4px;
  padding: 2px 8px;
  font-weight: 700;
}

.archive-card__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1a3d5c;
  line-height: 1.4;
}

.archive-card__address {
  font-size: 0.875rem;
  color: #888;
}

.archive-card__salary {
  font-size: 0.875rem;
  color: #555;
  margin-top: auto;
}

.archive-card__salary span {
  font-size: 1.125rem;
  font-weight: 700;
  color: #303030;
}

.archive-card__btn {
  display: inline-block;
  margin-top: 12px;
  padding: 10px 0;
  border-radius: 6px;
  background: #7cc229;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  text-align: center;
}

.archive-empty {
  text-align: center;
  padding: 60px 0;
  color: #888;
  font-size: 1rem;
}

@media (max-width: 1024px) {
  .archive-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .archive-head__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .archive-list {
    grid-template-columns: 1fr;
  }
  .archive-filter__group {
    flex-direction: column;
    align-items: flex-start;
  }
}
