@charset "UTF-8";

/* .roboto-<uniquifier> {
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
} */

/* .noto-sans-jp-<uniquifier> {
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
} */

/* ----　リセット　---- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  color: var(--text-color);
  background-color: var(--bg-color);
  line-height: 1.6;
}

/* ----　共通変数　---- */

:root {
  /* カラー設定 */
  --main-color: #0c3c60; /* メインカラー（信頼感ある紺） */
  --accent-color: #2864f0; /* アクセントカラー（上品な金） */
  --text-color: #333333; /* 標準文字色 */
  --bg-color: #ffffff; /* 背景色 */
  --gray-bg: #f1f5f7; /* セクションの薄い背景 */

  /* フォント */
  --font-main: "Noto Sans JP", sans-serif;
  --font-main-e: "Roboto", sans-serif;
  /* 余白・レイアウト */
  --space-section: 80px;
  --space-section-sm: 40px;
  --container-width: 1200px;

  /* シャドウや角丸など */
  --radius: 8px;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* ----　画像・リンクのデフォルト整備 ----*/
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
  transition: 0.2s;
}

ul,
ol {
  list-style: none;
}

/* ------------レイアウト------------ */

/* .container {
  width: min(100%, var(--container-width));
  margin: 0 auto;
  padding: 0 20px;
} */

/* ---------------------------------- */

/* ----　ファーストビュー　---- */
.hero-area {
  margin-top: 120px;
  position: relative;
  width: 100%;
  aspect-ratio: 2880 / 1652;
  overflow: visible;
}

/* 背景（road/graph/squares） */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* 背景画像は「幅100%・高さ自動」 */
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* 全体を見せたいなら contain */
  object-position: center; /* 位置基準 */
  display: block;
}

/* 人物（people） */
.hero-people {
  position: absolute;
  inset: 0;
  z-index: 2; /* 背景より前 */
  pointer-events: none;
}

.hero-people img {
  position: absolute;
  width: 24%; /* ←ここ調整ポイント */
  left: 10%; /* ←ここ調整ポイント */
  top: 43%; /* ←ここ調整ポイント */
  height: auto;
}

/* テキストは一番手前 */
.first-view {
  position: relative;
  z-index: 2;
  height: 100%;
}

.first-view-title-sub p {
  letter-spacing: 0.1em;
  font-size: 16px;
}

.first-view-title .font-size-LL {
  margin-bottom: 20px;
}

/* 前面（テキスト/人物） */
.fv-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  padding-top: calc(12 / 1440 * 100vw);
  padding-left: calc(106 / 1440 * 100vw);
}

.sp-break {
  display: inline;
} /* 改行PC非表示 */

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

body.is-fv-animate .anim-title,
body.is-fv-animate .anim-sub {
  opacity: 0;
  transform: translateY(40px) scale(0.98);
  filter: blur(12px);
  animation: fvSoftFloat 1.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  will-change: opacity, transform, filter;
}

body.is-fv-animate .anim-title {
  animation-delay: 0.2s;
}
body.is-fv-animate .anim-sub {
  animation-delay: 0.7s;
}

@keyframes fvSoftFloat {
  0% {
    opacity: 0;
    transform: translateY(40px) scale(0.98);
    filter: blur(12px);
  }
  60% {
    opacity: 1;
    filter: blur(2px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

body.is-fv-animate .anim-people {
  opacity: 0;
  transform: translateX(-120px) scale(0.98);
  filter: blur(10px);
  animation: fvPeopleIn 2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: 1.4s; /* タイトル→サブの後に出す */
  will-change: opacity, transform, filter;
}

@keyframes fvPeopleIn {
  0% {
    opacity: 0;
    transform: translateX(-80px) scale(0.98);
    filter: blur(6px);
  }
  60% {
    opacity: 1;
    filter: blur(2px);
  }
  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
    filter: blur(0);
  }
}

/* --------- TOP_業務内容 --------- */

.main_container {
  /* 1024pxを上限にしつつ、左右20pxずつは必ず余白を取る */
  /* width: calc(1024 / 1440 * 100vw); */
  width: min(100% - 40px, 1024px);
  margin: 0 auto;
}

.top-service {
  margin-bottom: calc(224 / 1440 * 100vw);
}

.top_service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)); /* ← 横並び2つ */
  column-gap: calc(64 / 1440 * 100vw);
  row-gap: calc(40 / 1440 * 100vw);
  font-size: calc(24 / 1440 * 100vw);
}

.top_service-list li {
  padding: 1.4vw 0; /* 28px / 1440px */
  box-sizing: border-box;
  border-bottom: 1px solid #e1dcdc;
}

.top-service-title {
  margin-top: calc(44 / 1440 * 100vw);
  margin-bottom: calc(48 / 1440 * 100vw);
}
.section-title {
  font-size: 12px;
  font-weight: 200;
  color: var(--accent-color);
}
.section-title-sub {
  font-size: 20px;
  font-weight: 500; /* Medium */
}

.service-row-text {
  display: flex;
  justify-content: space-between;
  padding-left: calc(24 / 1440 * 100vw);
  padding-right: calc(24 / 1440 * 100vw);
}

.service-row-text img {
  width: calc(24 / 1440 * 100vw);
}

/* アニメーション */

.service-row-text img {
  width: calc(24 / 1440 * 100vw);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s ease;
}

.top_service-list li a:hover .service-row-text img {
  transform: translateX(10px);
  opacity: 0.85;
}

.service-row-text img {
  transition-delay: 0.05s;
}

/* ３つの理由＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝ */

/* 番号 */
.reason-heading {
  position: relative;
  z-index: 1;
}

/* 背面の数字（共通） */
.reason-heading::before {
  content: "";
  position: absolute;
  left: -0.6em; /* 位置はカンプに合わせて調整 */
  top: -1.4em;
  width: 88px; /* 数字画像サイズ */
  height: 120px;
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.25; /* 薄さ（カンプに合わせて調整） */
  z-index: -1; /* 文字の後ろに */
  pointer-events: none;
}

/* 番号ごとに画像を差し替え */
.reason-heading.is-num01::before {
  background-image: url(../image/hukushima_reason_01.svg);
}
.reason-heading.is-num02::before {
  background-image: url("../image/hukushima_reason_02.svg");
}
.reason-heading.is-num03::before {
  background-image: url("../image/hukushima_reason_03.svg");
}

.top-reason {
  margin-bottom: calc(240 / 1440 * 100vw);
}

.reason-illustration {
  display: flex;
  gap: 118px;
  margin-top: calc(98 / 1440 * 100vw);
}

.reason-illustration img {
  width: 40%; /* 画像 4：テキスト 6 みたいな比率 */
  object-fit: contain;
}

.reason-list {
  padding-top: calc(30 / 1440 * 100vw);
  flex: 1;
}

.reason-list h2 {
  font-size: calc(28px / 1440 * 100vw);
  padding-bottom: 1.5rem;
  font-weight: 500;
  padding-left: 20px;
}

.reason-list p {
  font-size: 16px;
  padding-bottom: 2rem;
  width: 100%;
  letter-spacing: 0.04em;
  line-height: 1.8em;
}

.font-blue {
  color: var(--accent-color);
}

/* 多業種にわたる経験＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝ */

.top-experience {
  margin-bottom: calc(180 / 1440 * 100vw);
}

.experience-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* 横に5個 */
  gap: 64px 40px; /* 行・列の余白（調整OK） */
  justify-items: center;
  align-items: start;
  text-align: center;
}

.experience-list p {
  font-size: 16px;
}

.experience-list img {
  width: 96px;
  padding-bottom: 0.5 rem;
}

/* 技能実習生＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝ */

.top-foreignworker {
  background-color: var(--gray-bg);
  padding-top: calc(72 / 1440 * 100vw);
  padding-bottom: calc(64 / 1440 * 100vw);
  margin-bottom: calc(177 / 1440 * 100vw);
}

.foreign-cont {
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
}

.foreign-text {
  width: 50%;
}

.foreign-text h2 {
  font-size: 24px;
  padding-bottom: calc(32 / 1440 * 100vw);
  font-weight: 500;
}

.foreign-text p {
  font-size: 16px;
  letter-spacing: 0.04em;
  line-height: 1.8em;
}
.foreign-cont img {
  width: 284px;
  margin-right: calc(83 / 1440 * 100vw);
}

/* 対応エリア＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝ */

.area-cont {
  display: flex;
  justify-content: space-between;
  margin-bottom: calc(130 / 1440 * 100vw);
}

.area-text {
  width: 90%;
}

.area-text h2 {
  font-size: 28px;
  padding-bottom: calc(28 / 1440 * 100vw);
  font-weight: 500;
}
.area-text p {
  font-size: 16px;
  letter-spacing: 0.04em;
  line-height: 1.8em;
}
.area-cont img {
  width: 50%;
}

@media (max-width: 769px) {
  /* ファーストビュー */

  .hero-area {
    margin-top: 80px; /* ヘッダー分ならここで */
    aspect-ratio:  /* スマホ用画像の比率にするのが理想 */ 786 / 888; /* 仮。hero_sp.jpgの比率に合わせて変える */
  }

  .hero-bg img {
    content: url("../image/hero_sp.jpg"); /* スマホ用に差し替え */
    height: 100%;
    object-fit: contain;
    margin-top: 20px;
  }

  /* 人物もスマホ用に位置調整 */
  .hero-people img {
    width: 40%;
    left: 6%;
    top: 54%;
  }

  .first-view {
    height: 640px; /* 好みで調整OK */
    padding: 0; /* fv-innerで管理する */
  }

  .fv-inner {
    padding: 40px 28px 0;
  }

  .first-view-title .font-size-LL {
    font-size: calc(30 / 393 * 100vw);
    line-height: 1.6;
    margin-bottom: 16px;
  }

  .first-view-title-sub p {
    font-size: 14px;
    line-height: 2;
    font-weight: 500;
  }

  .sp-break {
    display: block;
  }

  /* ＝＝＝　＠業務内容　＝＝＝ */

  .top_service-list {
    grid-template-columns: 1fr; /* ← 1列に変更（縦並び） */
    column-gap: 0;
  }

  .top_service-list {
    row-gap: 0px;
    font-size: 18px;
    font-weight: 400;
  }

  .top_service-list li {
    padding: 24px 0;
  }

  .top-service-title {
    margin-top: calc(44 / 1440 * 100vw);
    margin-bottom: calc(48 / 1440 * 100vw);
  }

  .service-row-text {
    padding: 0 24px 0 0;
  }

  .service-row-text img {
    width: 16px;
  }

  /* ＝＝＝＝　＠選ばれる３つの理由　＝＝＝＝ */
  .reason-illustration {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 80px;
  }

  .reason-illustration img {
    width: 100%;
  }
  .reason-illustration.is-reverse-sp img {
    order: 1;
  }
  .reason-illustration.is-reverse-sp .reason-list {
    order: -1;
  }

  .reason-list p {
    font-size: 14px;
    padding-bottom: 0;
  }

  /* スマホ版のアニメーション制御 */
  .top_service-list li a:hover .service-row-text img {
    transform: none;
    opacity: 1;
  }

  /* ＝＝＝＝　＠他業種にわたる経験　＝＝＝＝ */

  .experience-list {
    grid-template-columns: repeat(3, 1fr); /* 横に5個 */
    gap: 64px 40px; /* 行・列の余白（調整OK） */
    margin: 64px 0;
  }

  .experience-list p {
    font-size: 16px;
  }

  /* ＝＝＝＝　＠技能実習生　＝＝＝＝ */

  .top-foreignworker {
    padding-top: 42px;
  }

  .foreign-cont {
    display: block;
  }

  .foreign-cont img {
    margin: 0 auto;
    padding: 30px 0;
  }

  .foreign-text {
    width: 100%;
    margin: auto;
    padding-top: 30px 0;
  }

  .foreign-text p {
    font-size: 14px;
  }

  /* ＝＝＝＝　＠対応エリア　＝＝＝＝ */
  .area-cont {
    display: block;
  }

  .area-text {
    width: 100%;
  }

  .area-text p {
    font-size: 14px;
  }

  .area-cont img {
    width: 100%;
    margin: 0 auto;
    padding: 30px 0;
  }
}

/* 1440px以上の画面幅のとき ＝＝＝＝＝＝＝＝＝＝＝＝＝*/
@media (min-width: 1440px) {
  .top_service-list {
    font-size: 24px; /* ← このサイズで固定！ */
  }
}
