strong {
  font-weight: bold;
}
.dotted {
  text-decoration: dotted underline;
  text-underline-offset: 6px;
}
.section_ttl {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--color-main);
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-indent: 1em;
}
.section_ttl span {
  font-size: 3em;
  font-family: DIN Alternate;
  text-indent: 0;
}
section {
  overflow-x: hidden;
}
@media (max-width: 480px) {
  .section_ttl {
    font-size: 1.75rem;
    text-indent: inherit;
  }
  .section_ttl span {
    margin-right: 8px;
  }
}
/* //--------------------------- 
/*  ヒーローセクション */
/* ---------------------------// */
/* =============================
   共通：全ページ
============================= */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  background: #fff; /* 他ページでは白背景 */
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.logo-img {
  transition: opacity 0.25s ease;
}

/* =============================
   トップページ（.home）だけ特殊処理
============================= */
.home header {
  background: rgba(255, 255, 255, 0);
  box-shadow: inherit;
}

.home header.is-solid {
  background: #fff;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
}

/* =============================
   Heroセクション
============================= */
.hero {
  position: relative;
  width: 100%;
  min-height: 560px;
  max-height: 720px;
  aspect-ratio: 5 / 3;
  overflow: hidden;
}

.hero-image,
.hero-image picture,
.hero-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(24, 62, 131, 0.55);
  opacity: 0;
  transition: opacity 520ms cubic-bezier(0.22, 0.61, 0.36, 1);
  z-index: 2;
}

.hero_copy {
  font-size: 3.125rem;
  font-weight: bold;
  color: #fff;
  line-height: 1.4;
  text-shadow: 0 0 24px rgba(0, 0, 0, 0.44);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 520ms cubic-bezier(0.22, 0.61, 0.36, 1);
  z-index: 3;
  white-space: nowrap; /* 折り返し禁止 */
  display: inline-block; /* 内容幅で保持（shrink-to-fit対策） */
  max-width: none;
}

/* フェードイン状態 */
.hero.is-tinted .hero-overlay {
  opacity: 1;
}
.hero.is-copy .hero_copy {
  opacity: 1;
}
.hero-btn {
  position: absolute;
  right: 80px;
  bottom: 40px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent);
  color: white;
  width: 188px;
  height: 188px;
  font-weight: bold;
  letter-spacing: 0.05em;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 32px rgba(220, 38, 38, 0.3);
  z-index: 3;
}
.hero-btn strong {
  font-size: 1.1825rem;
  color: rgba(255, 255, 255, 0.7);
}
.hero-btn span {
  font-size: 1.125rem;
}
.hero-btn::after {
  content: "";
  width: 8px;
  height: 8px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  position: absolute;
  top: 50%;
  right: 8%;
  transform: translateY(-50%) rotate(45deg);
  transition: 0.3s ease;
}
.hero-btn:hover {
  background: #b91c1c;
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(220, 38, 38, 0.4);
}
.sp {
  display: none;
}
@media (min-width: 1480px) {
  .hero {
    max-height: 850px;
  }
}
@media (max-width: 1200px) {
  .hero-btn {
    right: 32px;
    width: 148px;
    height: 148px;
  }
  .hero-btn::after {
    width: 6px;
    height: 6px;
  }
  .hero_copy {
    font-size: clamp(1rem, 4vw, 3.125rem);
    padding: 0 2vw;
  }
}
@media (max-width: 820px) {
  .hero {
    min-height: 400px;
  }
}
@media (max-width: 767px) {
  .hero-btn {
    right: 16px;
    bottom: 16px;
    width: 128px;
    height: 128px;
  }
}
@media (max-width: 480px) {
  .sp {
    display: block;
  }
  .hero {
    min-height: 85svh;
  }
  .hero-image img {
    object-position: -145px center;
  }
  .hero_copy {
    font-size: clamp(1rem, 4.6vw, 3.125rem);
    padding: 0 1vw;
    margin-left: 1vw;
  }
}
/* //--------------------------- 
/*  01 数字で見る
/* ---------------------------// */
.numbers {
  position: relative;
  overflow: hidden;
}
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}
.numbers_bg {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  background: var(--color-gradient);
}
.numbers .section_ttl {
  color: #fff;
}
.numbers_item_wrap {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  /* grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); */
  gap: 16px;
  max-width: 1200px;
  margin: 32px auto;
}

.card {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0px 4px 30px 0px rgba(149, 176, 197, 0.5);
  text-align: center;
}

.card_title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #1db7d3;
  margin-bottom: 16px;
  border-bottom: 2px solid #1db7d3;
  display: inline-block;
  padding-bottom: 4px;
}

.number {
  font-size: clamp(4rem, 6vw, 6rem);
  font-weight: bold;
  color: #057cc7;
  line-height: 1.1;
  margin: 8px 0;
}

.number span {
  font-size: 2.1rem;
  margin-left: 4px;
}

.numbers_image {
  width: 10rem;
  height: 10rem;
  margin: 16px auto;
}
.numbers_image img {
  object-fit: contain;
}
/* 資格保有者カードを2列分に広げる */
.card {
  grid-column: span 2;
}
.card.wide {
  grid-column: span 3;
}
.qualifications {
  display: flex;
  justify-content: space-around;
  text-align: left;
  gap: 1.125rem;
}
.qualifications ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  gap: 1rem;
}
.qualifications li {
  line-height: 1.8;
}
.label {
  font-size: 1.5rem;
  color: #057cc7;
}
.clients {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
  line-height: 2;
}
.clients li {
  width: fit-content;
  color: #fff;
  font-size: 1.5rem;
  font-weight: bold;
  background: #1db7d3;
  padding: 0.25rem 1.25rem;
  border-radius: 100vmax;
}
.clients li:nth-child(-n + 2) {
  background: #047cc7;
}
.other {
  color: #047cc7;
  font-weight: bold;
  font-size: 1.25rem;
  text-align: right;
  margin: 1rem 1rem 0 0;
}
@media (max-width: 820px) {
  .card {
    padding: 18px 16px;
  }
  .numbers_bg {
    height: 1020px;
  }
}

@media (max-width: 768px) {
  .numbers_item_wrap {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  }
  .card {
    grid-column: span 3;
  }
  .qualifications {
    flex-direction: column;
    align-items: center;
  }
  .qualifications ul {
    text-align: center;
  }
  .clients li {
    font-size: 1.125rem;
  }
}
@media (max-width: 480px) {
  .numbers_item_wrap {
    grid-template-columns: repeat(auto-fit, minmax(264px, 1fr));
  }
  .clients {
    margin-top: 1rem;
    gap: 0.5rem;
  }
  .clients li {
    font-size: 1rem;
  }
  .numbers_bg {
    height: 1740px;
  }
}
/* //--------------------------- 
/*  02 仕事内容
/* ---------------------------// */
.work_items {
  margin-top: 40px;
}
.work_item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin: 0 0 60px;
  padding: 40px;
}
.work_content {
  width: 42vw;
  padding-right: 40px;
}
.work_content h3 {
  font-size: 1.75rem;
  font-weight: 700;
  background: linear-gradient(180deg, #154fa4 0%, #0f1524 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}
.work_content h3 .bar {
  display: inline-block;
  width: 8px;
  height: 20px;
  background: #003c80;
  margin-right: 8px;
}
.work_content p {
  line-height: 1.8;
  color: #333;
}
.work_image {
  width: 42vw;
  max-width: 640px;
  margin-inline: calc(50% - 50vw);
}
.work_image img {
  border-radius: 14px 0 0 14px;
}
@media (max-width: 1200px) {
  .work_image {
    width: 46vw;
  }
}
@media (max-width: 980px) {
  .work_item {
    padding: 16px;
    align-items: center;
  }
  .work_content {
    width: 46vw;
    padding-right: 20px;
  }
}
@media (max-width: 820px) {
  .work_item {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto 1fr;
    grid-template-areas:
      "work-title"
      "work-image"
      "work-text";
    gap: 16px;
    padding: 16px;
    align-items: start;
  }
  /* .work_content の子要素を grid の直接子にする（タイトルと本文を分離して配置） */
  .work_content {
    display: contents;
  }
  .work_content h3 {
    grid-area: work-title;
    text-align: left;
    margin: 0;
  }
  .work_image {
    grid-area: work-image;
    width: 100%;
    max-width: inherit;
    margin: 0;
  }
  .work_image img {
    border-radius: 14px;
  }
  .work_content p {
    grid-area: work-text;
    margin: 0;
  }
}
@media (max-width: 480px) {
  .work_item {
    gap: 16px;
    padding: 0;
  }
}
/* //--------------------------- 
/*  03 社員紹介
/* ---------------------------// */
.interview {
  position: relative;
  overflow: hidden;
}
.interview_bg {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  background: var(--color-gradient);
  height: 36.25rem;
}
.interview .section_ttl {
  color: #fff;
  flex-shrink: 0;
}
.interview_items {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 2.5rem;
}
.interview_items li {
  width: calc(96% / 2 - 6px);
  max-width: 320px;
  aspect-ratio: 9 / 12;
  position: relative;
  overflow: visible; /* .card_thumb の overflow:hidden の外に出すために許可 */
  margin-bottom: 3rem; /* 下のリンク分の余白を確保（必要に応じ調整） */
}
.interview_single:focus,
.interview_single:hover {
  text-decoration: underline;
}
.interview_item_head {
  margin-top: -40%;
  justify-content: flex-start;
  gap: 1.5rem;
}
.interview_single {
  position: absolute;
  bottom: -28px;
  right: 24px;
  z-index: 10;
  background: transparent;
  text-decoration: none;
  color: #111;
}
.interview_single .arrow {
  position: relative;
}
.interview_single .arrow::after {
  border-top: 2px solid #111;
  border-right: 2px solid #111;
  right: -16px;
  top: 50%;
}
.thumb {
  margin-left: -3.25rem;
  width: 10rem;
  aspect-ratio: 1/1;
  border-radius: 50%;
  flex-shrink: 0;
}
.thumb img {
  border-radius: 50%;
}
.movie p {
  font-size: 0.8rem;
  color: #ff0000;
}
.interviewer h3 {
  font-size: 1.5rem;
  text-align: center;
  line-height: 1.4;
}
.interviewer h3 span {
  font-size: 0.7em;
}
.interview_title {
  font-size: 1.125rem;
  margin: 1rem 0;
}

/* ====== 見た目を合わせるための共通変数 ====== */
:root {
  --thumb-radius: 12px;
  --line-w: 16px; /* 左右ラインの太さ */
  --line-blue: #4d66bd; /* 左ライン */
  --line-green: #5bafa7; /* 右ライン */
  --tint: rgba(
    40,
    90,
    255,
    0.2
  ); /* 全面の青みマスク（濃さは .15〜.25 で調整） */
  --grad-h: 45%; /* 下部グラデの高さ */
}

/* ====== サムネ土台 ====== */
.card_thumb {
  height: 100%;
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--thumb-radius);
  isolation: isolate; /* 擬似要素のブレンドを安全に */
}
.card_thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.interview_thumb_link {
  display: block;
  position: relative; /* .card_thumb と同様に振る舞わせる */
  text-decoration: none;
  color: inherit;
}
/* カード内の img をブロックにしてクリック領域を確保 */
.interview_thumb_link img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: -36px 0;
}
/* 全面の青みマスク */
.card_thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--tint);
  z-index: 1;
  pointer-events: none;
}

/* 下部の黒グラデーション（背景薄い黒→濃い黒） */
.card_thumb::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--grad-h);
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.45) 65%,
    rgba(0, 0, 0, 0.7) 100%
  );
  z-index: 2;
  pointer-events: none;
}

/* 左右のカラーライン（青／緑） */
.card_thumb .edges {
  position: absolute;
  inset: 0;
  background: linear-gradient(
        to right,
        var(--line-green) 0,
        var(--line-green) var(--line-w),
        transparent var(--line-w)
      )
      left/var(--line-w) 100% no-repeat,
    linear-gradient(
        to left,
        var(--line-blue) 0,
        var(--line-blue) var(--line-w),
        transparent var(--line-w)
      )
      right/var(--line-w) 100% no-repeat;
  z-index: 3;
  pointer-events: none;
}

/* タイトル（下部グラデの上に白文字で） */
.card_thumb .card_thumb-title {
  position: absolute;
  left: clamp(12px, 2vw, 16px);
  right: clamp(12px, 2vw, 16px);
  bottom: clamp(12px, 2vw, 16px);
  z-index: 4;
  color: #fff;
  font-weight: 700;
  line-height: 1.35;
  font-size: clamp(14px, 1.6vw, 18px);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}
iframe {
  display: block;
}
/* お好み：ホバー時のわずかな拡大でリッチに */
.card_thumb:hover img {
  transform: scale(1.03);
}
@media (max-width: 480px) {
  .interview_items {
    gap: 0.725rem;
  }
  .interview_items li {
    width: calc(100% / 2 - 6px);
    aspect-ratio: 9 / 13;
  }
  .interview_single {
    bottom: -22px;
    right: 20px;
    font-size: 11px;
  }
  .interview_single .arrow::after {
    width: 5px;
    height: 5px;
    right: -12px;
  }
}
/* //--------------------------- 
/*  04 社風・環境
/* ---------------------------// */
.culture {
  background: #f7f7f7;
}
.culture_content {
  width: 64vw;
  margin: 1rem auto;
}
@media (max-width: 480px) {
  .culture_content {
    width: 88vw;
  }
}
/* //--------------------------- 
/*  05 制度・ワークライフバランス
/* ---------------------------// */
.system {
  position: relative;
  overflow: hidden;
}
.system .section_ttl {
  color: #fff;
}
.system_items {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 基本2列 */
  grid-auto-rows: auto;
  /* grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); */
  gap: 1rem;
  margin-top: 2.5rem;
}
.system_item {
  gap: 1.5rem;
  background: #fff;
  padding: 2.5rem;
  box-shadow: 0px 4px 30px 0px rgba(149, 176, 197, 0.5);
  border-radius: 16px;
}
.system_item .title_wrap {
  flex: 1;
}
.system_item .text_wrap {
  flex: 2;
}
.system_item h3 {
  font-size: 1.25rem;
  font-weight: bold;
  line-height: 1.3;
  background: linear-gradient(180deg, #154fa4 0%, #0f1524 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
  padding-bottom: 24px;
}
.system_item h3 span {
  font-size: 0.7em;
}
.system_text {
  font-weight: bold;
  line-height: 2;
}
.system_text span {
  display: block;
  padding-left: 24px;
}
@media (max-width: 767px) {
  .system_items {
    grid-template-columns: 1fr; /* 1列に変更 */
  }
}
@media (max-width: 480px) {
  .pc {
    display: none;
  }
  .system .section_ttl {
    line-height: 1.3;
  }
  .system .section_ttl span {
    padding-right: 12px;
  }
  .system_item {
    padding: 2rem 1.5rem;
  }
  .system_text {
    font-size: 0.875rem;
  }
  .system_text span {
    padding-left: 4px;
  }
}
/* //--------------------------- 
/*  06 研修
/* ---------------------------// */
.training {
  background: #f7f7f7;
}
.training_head {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.training_image {
  width: 56%;
  min-width: 320px;
  margin: 2.5rem auto 0;
}
@media (max-width: 820px) {
  .training_head {
    display: block;
  }
  .training_text {
    margin: 1rem 2rem;
  }
  .training_image {
    width: 86%;
  }
}
@media (max-width: 480px) {
  .training_text {
    margin: 1rem 0;
  }
  .training_image {
    width: 100%;
  }
}
/* //--------------------------- 
/*  07 キャリアパス
/* ---------------------------// */
.career {
  position: relative;
  overflow: hidden;
}
.career .section_ttl {
  color: #fff;
}
.career_bg {
  position: absolute;
  top: 0;
  right: 0;
  z-index: -1;
}
.career_content {
  max-width: 845px;
  background: #fff;
  margin-top: 2.5rem;
  border-radius: 16px;
  box-shadow: 0px 4px 30px 0px rgba(149, 176, 197, 0.5);
}
.career_head {
  text-align: center;
  background: #154fa4;
  padding: 1.125rem 0;
  border-radius: 16px 16px 0 0;
}
.career_head h3 {
  font-size: 1.5rem;
  font-weight: bold;
  color: #fff;
}
.career_content p {
  margin: 0 auto 2rem;
}
.career_desc {
  padding: 2.5rem 3.5rem;
}
@media (max-width: 480px) {
  .career_head h3 {
    font-size: 1.25rem;
  }
  .career_head {
    padding: 0.75rem 0;
  }
  .career_desc {
    padding: 1.5rem;
  }
  .career_content p {
    margin: 0 auto 1rem;
    font-size: 0.75rem;
  }
}
/* //--------------------------- 
/*  08 選考フロー
/* ---------------------------// */
.flow {
  background: #f7f7f7;
}
.flow_items {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
  margin-top: 2.5rem;
  counter-reset: step;
}
.flow_item .step_num::after {
  counter-increment: step;
  content: "STEP " counter(step, decimal-leading-zero);
}
.flow_item:last-child .step_num::after {
  content: "";
}
.flow_item {
  background: #fff;
  padding: 2.5rem;
  text-align: center;
}
.flow_item:not(:last-child)::after {
  content: "";
  display: block;
  width: 18px;
  height: 18px;
  margin: 0 auto;
  border-left: 3px solid #057cc7;
  border-bottom: 3px solid #057cc7;
  transform: rotate(-45deg);
  position: absolute;
  left: 50%;
  bottom: -32px;
  translate: -50% 0;
  background: transparent;
}
.step_num {
  font-size: 1.5rem;
  font-weight: bold;
  color: #057cc7;
  padding-bottom: 4px;
  position: relative;
}
.step_num::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -4px;
  transform: translateX(-50%);
  width: 70%;
  height: 2px;
  background: #057cc7; /* 線の色 */
  border-radius: 1px;
}
.flow_item h3 {
  font-size: 1.25rem;
  font-weight: bold;
  margin-top: 0.725rem;
}
.flow_item:last-child h3 {
  color: #fff;
}
.flow_item:last-child {
  background: linear-gradient(180deg, #61b8ff 0%, #1db7d3 100%);
}
.entry_btn {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.75rem 2.5rem;
  background: linear-gradient(180deg, #ca3333 0%, #660000 100%);
  color: #fff;
  font-weight: bold;
  border-radius: 8px;
  transition: background 0.3s ease;
  position: relative;
}
.arrow::after {
  content: "";
  width: 6px;
  height: 6px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  position: absolute;
  top: 48%;
  right: 8%;
  transform: translateY(-50%) rotate(45deg);
  transition: 0.3s ease;
}
@media (max-width: 480px) {
  .flow_item h3 {
    font-size: 1rem;
  }
}
/* //--------------------------- 
/*  09 cta
/* ---------------------------// */
.cta {
  position: relative;
  overflow: hidden;
  color: #fff;
  text-align: center;
}
.cta_bg {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
}
.cta h2 {
  font-size: 3.125rem;
  font-weight: bold;
  color: #fff;
  line-height: 1;
}
.cta h2 span {
  font-size: 0.6em;
}
.cta_text {
  font-size: 1.25rem;
  margin-top: 3rem;
}
.mynavi_btn_wrap {
  gap: 1rem;
  margin-top: 2.5rem;
}
.mynavi_btn {
  width: clamp(320px, 32vw, 400px);
}
@media (max-width: 480px) {
  .cta h2 {
    font-size: 2.5rem;
  }
  .mynavi_btn_wrap {
    margin: 1.75rem 1rem 0;
  }
}
