@charset "UTF-8";

/* Fonts */
.sawarabi-mincho-regular {
  font-family: "Sawarabi Mincho", serif;
  font-weight: 400;
  font-style: normal;
}

.sawarabi-gothic-regular {
  font-family: "Sawarabi Gothic", sans-serif;
  font-weight: 400;
  font-style: normal;
}

/* Base */
html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* Animations */
.js-fade-text {
  opacity: 0;
  filter: blur(10px);
  transition: opacity 1.5s ease, filter 1.5s ease;
}

.js-fade-text.is-active {
  opacity: 1;
  filter: blur(0);
}

.js-fade-noblur {
  opacity: 0;
  transition: opacity 1.5s ease;
}

.js-fade-noblur.is-active {
  opacity: 1;
}

.js-puzzle-grid {
  opacity: 0;
  transition: opacity 1.2s ease;
  pointer-events: auto !important; /* 確実にマウスイベントを有効化 */
}

.js-puzzle-grid.is-active {
  opacity: 1;
}

.js-puzzle-grid.is-anim-completed {
  /* アニメーション完了後のみ、transformのトランジションを有効化（バウンドなし） */
  transition: transform 0.3s ease, opacity 1.2s ease;
}

.js-puzzle-grid.is-anim-completed:hover {
  transform: translate(var(--hover-tx, 0), var(--hover-ty, -104px)) !important;
  z-index: 20;
}

/* 繝帙ヰ繝ｼ蛻､螳壹ｒ蜈・・菴咲ｽｮ縺ｫ谿九☆縺溘ａ縺ｮ騾乗・隕∫ｴ */
.hover-hit {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.js-puzzle-grid.is-anim-completed:hover .hover-hit {
  top: calc(var(--hover-ty) * -1);
  left: calc(var(--hover-tx) * -1);
}

.c-marker {
  background-image: linear-gradient(transparent 80%, #1B75AC 80%);
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: 0% 100%;
  transition: background-size 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.js-fade-text.is-active .c-marker {
  background-size: 100% 100%;
  transition-delay: 2.0s;
}

/* Section 1 */
.p-recruit-section1 {
  width: 100%;
  padding: 100px 0 150px;
  background-color: #308BB9;
  color: #ffffff;
}

.p-recruit-section1__inner {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  padding: 0 40px;
}

.p-recruit-section1__title {
  margin-bottom: 60px;
}

.p-recruit-section1__title img {
  max-width: 100%;
  height: auto;
}

.p-recruit-section1__message {
  font-size: 18px;
  line-height: 2;
  letter-spacing: 0.1em;
  margin-bottom: 60px;
}

.p-recruit-section1__message p {
  margin: 0 0 20px 0;
}

.p-recruit-section1__message-sub {
  margin-top: 40px !important;
}

.p-recruit-section1__characters {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin-bottom: 40px;
}

.p-recruit-section1__character {
  width: auto;
  max-width: 12%;
  height: auto;
  transform: translateY(100px);
  transition: opacity 1.5s ease, filter 1.5s ease, transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.p-recruit-section1__character:nth-child(1) {
  transition-delay: 1.5s;
}

.p-recruit-section1__character:nth-child(2) {
  transition-delay: 1.9s;
}

.p-recruit-section1__character.is-active {
  transform: translateY(0);
}

.p-recruit-section1__buttons {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 40px;
}

.p-recruit-section1__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 320px;
  height: 60px;
  background-color: #ffffff;
  color: #308BB9;
  font-size: 18px;
  font-weight: bold;
  letter-spacing: 0.1em;
  text-decoration: none;
  position: relative;
  transition: opacity 0.3s ease, color 0.8s ease-out;
}

.p-recruit-section1__btn:hover {
  opacity: 0.8;
}

.p-recruit-section1__btn::after {
  content: "";
  position: absolute;
  bottom: 4px;
  right: 4px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 0 20px 20px;
  border-color: transparent transparent #308BB9 transparent;
  transform-origin: bottom right;
  transition: transform 0.3s ease-out, border-color 0.8s ease-out;
}

.p-recruit-section1__btn:hover::after {
  transform: scale(0);
}

/* Outline button (Mynavi) */
.p-recruit-section1__mynavi {
  display: flex;
  justify-content: center;
}

.p-recruit-section1__btn--outline {
  width: 680px;
  background-color: transparent;
  color: #ffffff;
  border: 1px solid #ffffff;
}

.p-recruit-section1__btn--outline::after {
  border-color: transparent transparent #ffffff transparent;
}

/* はみ出たグリッドがリード文等に隠れて下の辺が消える現象を防ぐ */
.p-recruit-section2__title-ja,
.p-recruit-section3__title-ja,
.p-recruit-section4__title-ja {
  z-index: 10;
  transform: translateX(-52px);
}

/* ==========================================================================
   Section 2 (営業部)
   ========================================================================== */
.p-recruit-section2 {
    width: 100%;
    background-color: #308BB9;
    color: #ffffff;
    padding-top: 350px;
    padding-bottom: 250px;
    position: relative;
    z-index: 10;
}


.p-section3__wave--1 {
  position: absolute;
  top: -120px;
  left: 0;
  width: 100%;
  height: 200px;
  pointer-events: none;
  z-index: 10;
}



.p-recruit-section2__inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Top Block */
.p-recruit-section2__top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 240px;
  position: relative;
}

.p-recruit-section2__title-area {
  margin-bottom: 40px;
}

.p-recruit-section2__title-ja {
  display: flex;
  gap: 0;
  margin: 0;
  line-height: 1;
  position: relative;
}

/* タイトルテキスト用：枠線を非表示にするユーティリティ */
.js-title-text-only {
  border: none !important;
}
.js-title-text-only::before,
.js-title-text-only::after {
  display: none !important;
}

.p-recruit-section2__grid-char,
.p-recruit-section2__grid-deco {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-sizing: border-box;
  width: 105px;
  height: 105px;
  padding-top: 4px;
  font-size: 78px;
  letter-spacing: 0;
  border: 1px solid rgba(255, 255, 255, 0.4);
  margin-top: -1px;
  margin-left: -1px;
}

.p-recruit-section2__grid-deco {
  position: absolute;
  pointer-events: none;
}

.p-recruit-section2__grid-char::before,
.p-recruit-section2__grid-char::after,
.p-recruit-section2__grid-deco::before,
.p-recruit-section2__grid-deco::after {
  content: "";
  position: absolute;
}

.p-recruit-section2__grid-char::before,
.p-recruit-section2__grid-deco::before {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 100%;
  border-left: 1px dashed rgba(255, 255, 255, 0.4);
}

.p-recruit-section2__grid-char::after,
.p-recruit-section2__grid-deco::after {
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 100%;
  height: 0;
  border-top: 1px dashed rgba(255, 255, 255, 0.4);
}

.p-recruit-section2__content {
  display: flex;
  width: 100%;
  justify-content: flex-start;
  padding-top: 60px;
  position: relative;
}

.p-recruit-section2__text-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-top: 20px;
  margin-left: -180px;
}

.p-recruit-section2__title-and-lead {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.p-recruit-section2__lead {
  font-size: 33px;
  line-height: 1.6;
  letter-spacing: 0.1em;
  margin-bottom: 40px;
  text-align: left;
}

.p-recruit-section2__lead-sub {
  position: relative;
  left: 4em;
}

.p-recruit-section2__text {
  font-size: 15px;
  line-height: 1.8;
  letter-spacing: 0.05em;
  width: 500px;
  margin: 0;
  margin-left: 50px;
}

.p-recruit-section2__main-image {
  position: absolute;
  right: 0;
  top: 410px;
  width: 50vw;
  height: 500px;
}

.p-recruit-section2__main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right;
  display: block;
}

/* Employees */
.p-recruit-section2__employees {
  display: flex;
  justify-content: center;
  gap: 160px;
}

.p-recruit-section2__employee {
  width: 40%;
  position: relative;
}

.p-recruit-section2__emp-image-wrapper {
  position: relative;
  margin-bottom: 20px;
  height: 400px;
}

.p-recruit-section2__emp-image-mask {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 2;
}

.p-recruit-section2__emp-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom;
  position: relative;
  display: block;
  opacity: 0;
  transform: translateY(100px);
  transition: opacity 1.2s ease-out, transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
  transition-delay: 0.6s;
}

.p-recruit-section2__employees.is-active .p-recruit-section2__emp-image {
  opacity: 1;
  transform: translateY(0);
}

.p-recruit-section2__emp-bg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 90%;
  background-color: rgba(255, 255, 255, 0.1);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
  z-index: 1;
}

.p-recruit-section2__emp-meta {
  display: flex;
  flex-direction: column;
  padding-bottom: 5px;
  margin-bottom: 20px;
  position: absolute;
  top: 20px;
  left: -20px;
  width: 250px;
  z-index: 1;
}

.p-recruit-section2__emp-meta::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #ffffff;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  transition-delay: 1.8s;
}

.p-recruit-section2__employees.is-active .p-recruit-section2__emp-meta::after {
  transform: scaleX(1);
}

.p-recruit-section2__emp-dept {
  font-size: 11px;
  margin-bottom: 2px;
}

.p-recruit-section2__emp-name {
  font-size: 24px;
  letter-spacing: 0.1em;
  margin-bottom: 2px;
}

.p-recruit-section2__emp-year {
  font-size: 10px;
}

.p-recruit-section2__emp-question {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 64px;
  margin-bottom: 15px;
  margin-left: -20px;
}

.p-recruit-section2__q-svg text {
  stroke-dasharray: 250;
  stroke-dashoffset: 250;
  transition: stroke-dashoffset 1.5s cubic-bezier(0.25, 1, 0.5, 1);
  transition-delay: 2.0s;
}

.p-recruit-section2__employees.is-active .p-recruit-section2__q-svg text {
  stroke-dashoffset: 0;
}

.p-recruit-section2__emp-question p {
  font-size: 20px;
  letter-spacing: 0.05em;
  margin: 0;
  text-align: left;
  line-height: 1.6;
}

.p-recruit-section2__ans-text {
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0.05em;
  margin: 0 auto;
  padding: 0;
  width: calc(100% - 45px);
  text-align: left;
}

/* ==========================================================================
   Section 3 (騾墓ｺｽ閧・ｂ・｡騾・・ﾎ・
   ========================================================================== */
.p-recruit-section4 {
  width: 100%;
  background-color: #308BB9;
  color: #ffffff;
  padding-top: 150px;
  padding-bottom: 250px;
  position: relative;
}

.p-recruit-section4__wave {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 200px;
  pointer-events: none;
  z-index: 10;
}

.p-recruit-section4__inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 40px;
}

.p-recruit-section4__top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 240px;
  position: relative;
}

.p-recruit-section4__title-area {
  margin-bottom: 40px;
}

.p-recruit-section4__title-ja {
  display: flex;
  gap: 0;
  margin: 0;
  line-height: 1;
  position: relative;
}

.p-recruit-section4__grid-char,
.p-recruit-section4__grid-deco {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-sizing: border-box;
  width: 105px;
  height: 105px;
  padding-top: 4px;
  font-size: 78px;
  letter-spacing: 0;
  border: 1px solid rgba(255, 255, 255, 0.4);
  margin-top: -1px;
  margin-left: -1px;
}

.p-recruit-section4__grid-deco {
  position: absolute;
  pointer-events: none;
}

.p-recruit-section4__grid-char::before,
.p-recruit-section4__grid-char::after,
.p-recruit-section4__grid-deco::before,
.p-recruit-section4__grid-deco::after {
  content: "";
  position: absolute;
}

.p-recruit-section4__grid-char::before,
.p-recruit-section4__grid-deco::before {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 100%;
  border-left: 1px dashed rgba(255, 255, 255, 0.4);
}

.p-recruit-section4__grid-char::after,
.p-recruit-section4__grid-deco::after {
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 100%;
  height: 0;
  border-top: 1px dashed rgba(255, 255, 255, 0.4);
}

.p-recruit-section4__content {
  display: flex;
  width: 100%;
  justify-content: flex-start;
  padding-top: 60px;
  position: relative;
}

.p-recruit-section4__text-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-top: 20px;
  margin-left: -180px;
}

.p-recruit-section4__title-and-lead {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.p-recruit-section4__lead {
  font-size: 33px;
  line-height: 1.6;
  letter-spacing: 0.1em;
  margin-bottom: 40px;
  text-align: left;
  margin-left: -60px;
}

.p-recruit-section4__text {
  font-size: 15px;
  line-height: 1.8;
  letter-spacing: 0.25em;
  width: 500px;
  margin: 0;
  margin-left: 50px;
}

.p-recruit-section4__main-image {
  position: absolute;
  right: 0;
  top: 210px;
  width: 50vw;
  height: 500px;
}

.p-recruit-section4__main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

.p-recruit-section4__employees {
  display: flex;
  justify-content: center;
  gap: 160px;
}

.p-recruit-section4__employee {
  width: 40%;
  position: relative;
}

.p-recruit-section4__emp-image-wrapper {
  position: relative;
  margin-bottom: 20px;
  height: 400px;
}

.p-recruit-section4__emp-image-mask {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 2;
}

.p-recruit-section4__emp-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom;
  position: relative;
  display: block;
  opacity: 0;
  transform: translateY(100px);
  transition: opacity 1.2s ease-out, transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
  transition-delay: 0.6s;
}

.p-recruit-section4__employees.is-active .p-recruit-section4__emp-image {
  opacity: 1;
  transform: translateY(0);
}

.p-recruit-section4__emp-bg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 90%;
  background-color: rgba(255, 255, 255, 0.1);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
  z-index: 1;
}

.p-recruit-section4__emp-meta {
  display: flex;
  flex-direction: column;
  padding-bottom: 5px;
  margin-bottom: 20px;
  position: absolute;
  top: 20px;
  left: -20px;
  width: 250px;
  z-index: 1;
}

.p-recruit-section4__emp-meta::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #ffffff;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  transition-delay: 1.8s;
}

.p-recruit-section4__employees.is-active .p-recruit-section4__emp-meta::after {
  transform: scaleX(1);
}

.p-recruit-section4__emp-dept {
  font-size: 11px;
  margin-bottom: 2px;
}

.p-recruit-section4__emp-name {
  font-size: 24px;
  letter-spacing: 0.1em;
  margin-bottom: 2px;
}

.p-recruit-section4__emp-year {
  font-size: 10px;
}

.p-recruit-section4__emp-question {
  display: flex;
  align-items: baseline;
  margin-bottom: 15px;
}

.p-recruit-section4__q-svg text {
  stroke-dasharray: 250;
  stroke-dashoffset: 250;
  transition: stroke-dashoffset 1.5s cubic-bezier(0.25, 1, 0.5, 1);
  transition-delay: 2.0s;
}

.p-recruit-section4__employees.is-active .p-recruit-section4__q-svg text {
  stroke-dashoffset: 0;
}

.p-recruit-section4__emp-question p {
  font-size: 18px;
  letter-spacing: 0.05em;
  margin: 0;
}

.p-recruit-section4__ans-text {
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: 0.25em;
  margin: 0;
  padding-left: 45px;
}

/* ==========================================================================
   Section 4 (闔ｨ竏ｫ蛻､鬩幢ｽｨ)
   ========================================================================== */
.p-recruit-section3 {
  width: 100%;
  background-color: #308BB9;
  color: #ffffff;
  padding-top: 150px;
  padding-bottom: 250px;
  position: relative;
}

.p-recruit-section3__wave {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 200px;
  pointer-events: none;
  z-index: 10;
}

.p-recruit-section3__inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 40px;
}

.p-recruit-section3__top {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 240px;
  position: relative;
}

.p-recruit-section3__title-area {
  margin-bottom: 40px;
}

.p-recruit-section3__title-ja {
  display: flex;
  gap: 0;
  margin: 0;
  line-height: 1;
  position: relative;
}

.p-recruit-section3__grid-char,
.p-recruit-section3__grid-deco {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-sizing: border-box;
  width: 105px;
  height: 105px;
  padding-top: 4px;
  font-size: 78px;
  letter-spacing: 0;
  border: 1px solid rgba(255, 255, 255, 0.4);
  margin-top: -1px;
  margin-left: -1px;
}

.p-recruit-section3__grid-deco {
  position: absolute;
  pointer-events: none;
}

.p-recruit-section3__grid-char::before,
.p-recruit-section3__grid-char::after,
.p-recruit-section3__grid-deco::before,
.p-recruit-section3__grid-deco::after {
  content: "";
  position: absolute;
}

.p-recruit-section3__grid-char::before,
.p-recruit-section3__grid-deco::before {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 100%;
  border-left: 1px dashed rgba(255, 255, 255, 0.4);
}

.p-recruit-section3__grid-char::after,
.p-recruit-section3__grid-deco::after {
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 100%;
  height: 0;
  border-top: 1px dashed rgba(255, 255, 255, 0.4);
}

.p-recruit-section3__content {
  display: flex;
  width: 100%;
  justify-content: flex-end;
  padding-top: 60px;
  position: relative;
}

.p-recruit-section3__text-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-top: 20px;
  margin-right: -180px;
  margin-left: 0;
  z-index: 5;
}

.p-recruit-section3__title-and-lead {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.p-recruit-section3__lead {
  font-size: 33px;
  line-height: 1.6;
  letter-spacing: 0.1em;
  margin-bottom: 40px;
  text-align: left;
}

.p-recruit-section3__text {
  font-size: 15px;
  line-height: 1.8;
  letter-spacing: 0.25em;
  width: 500px;
  margin: 0;
  margin-left: 50px;
}

.p-recruit-section3__main-image {
  position: absolute;
  left: 0;
  top: 210px;
  width: 50vw;
  height: 500px;
}

.p-recruit-section3__main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left;
  display: block;
}

.p-recruit-section3__employees {
  display: flex;
  justify-content: center;
  gap: 160px;
}

.p-recruit-section3__employee {
  width: 40%;
  position: relative;
}

.p-recruit-section3__emp-image-wrapper {
  position: relative;
  margin-bottom: 20px;
  height: 400px;
}

.p-recruit-section3__emp-image-mask {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 2;
}

.p-recruit-section3__emp-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom;
  position: relative;
  display: block;
  opacity: 0;
  transform: translateY(100px);
  transition: opacity 1.2s ease-out, transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
  transition-delay: 0.6s;
}

.p-recruit-section3__employees.is-active .p-recruit-section3__emp-image {
  opacity: 1;
  transform: translateY(0);
}

.p-recruit-section3__emp-bg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 90%;
  background-color: rgba(255, 255, 255, 0.1);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
  z-index: 1;
}

.p-recruit-section3__emp-meta {
  display: flex;
  flex-direction: column;
  padding-bottom: 5px;
  margin-bottom: 20px;
  position: absolute;
  top: 20px;
  left: -20px;
  width: 250px;
  z-index: 1;
}

.p-recruit-section3__emp-meta::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #ffffff;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  transition-delay: 1.8s;
}

.p-recruit-section3__employees.is-active .p-recruit-section3__emp-meta::after {
  transform: scaleX(1);
}

.p-recruit-section3__emp-dept {
  font-size: 11px;
  margin-bottom: 2px;
}

.p-recruit-section3__emp-name {
  font-size: 24px;
  letter-spacing: 0.1em;
  margin-bottom: 2px;
}

.p-recruit-section3__emp-year {
  font-size: 10px;
}

.p-recruit-section3__emp-question {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 64px;
  margin-bottom: 15px;
  margin-left: -20px;
}

.p-recruit-section3__q-svg text {
  stroke-dasharray: 250;
  stroke-dashoffset: 250;
  transition: stroke-dashoffset 1.5s cubic-bezier(0.25, 1, 0.5, 1);
  transition-delay: 2.0s;
}

.p-recruit-section3__employees.is-active .p-recruit-section3__q-svg text {
  stroke-dashoffset: 0;
}

.p-recruit-section3__emp-question p {
  font-size: 20px;
  letter-spacing: 0.05em;
  margin: 0;
  text-align: left;
  line-height: 1.6;
}

.p-recruit-section3__ans-text {
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0.05em;
  margin: 0 auto;
  padding: 0;
  width: calc(100% - 45px);
  text-align: left;
}

/* ==========================================================================
   Section 3 (騾墓ｺｽ閧・ｂ・｡騾・・ﾎ・
   ========================================================================== */
.p-recruit-section4 {
  width: 100%;
  background-color: #308BB9;
  color: #ffffff;
  padding-top: 150px;
  padding-bottom: 100px;
  position: relative;
}

.p-recruit-section4__wave {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 200px;
  pointer-events: none;
  z-index: 10;
}

.p-recruit-section4__inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 40px;
}

.p-recruit-section4__top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 240px;
  position: relative;
}

.p-recruit-section4__title-area {
  margin-bottom: 40px;
}

.p-recruit-section4__title-ja {
  display: flex;
  gap: 0;
  margin: 0;
  line-height: 1;
  position: relative;
}

.p-recruit-section4__grid-char,
.p-recruit-section4__grid-deco {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-sizing: border-box;
  width: 105px;
  height: 105px;
  padding-top: 4px;
  font-size: 78px;
  letter-spacing: 0;
  border: 1px solid rgba(255, 255, 255, 0.4);
  margin-top: -1px;
  margin-left: -1px;
}

.p-recruit-section4__grid-deco {
  position: absolute;
  pointer-events: none;
}

.p-recruit-section4__grid-char::before,
.p-recruit-section4__grid-char::after,
.p-recruit-section4__grid-deco::before,
.p-recruit-section4__grid-deco::after {
  content: "";
  position: absolute;
}

.p-recruit-section4__grid-char::before,
.p-recruit-section4__grid-deco::before {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 100%;
  border-left: 1px dashed rgba(255, 255, 255, 0.4);
}

.p-recruit-section4__grid-char::after,
.p-recruit-section4__grid-deco::after {
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 100%;
  height: 0;
  border-top: 1px dashed rgba(255, 255, 255, 0.4);
}

.p-recruit-section4__content {
  display: flex;
  width: 100%;
  justify-content: flex-start;
  padding-top: 60px;
  position: relative;
}

.p-recruit-section4__text-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-top: 20px;
  margin-left: -180px;
}

.p-recruit-section4__title-and-lead {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.p-recruit-section4__lead {
  font-size: 33px;
  line-height: 1.6;
  letter-spacing: 0.1em;
  margin-bottom: 40px;
  text-align: left;
}

.p-recruit-section4__text {
  font-size: 15px;
  line-height: 1.8;
  letter-spacing: 0.25em;
  width: 500px;
  margin: 0;
  margin-left: 50px;
}

.p-recruit-section4__main-image {
  position: absolute;
  right: 0;
  top: 210px;
  width: 50vw;
  height: 500px;
}

.p-recruit-section4__main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right;
  display: block;
}

.p-recruit-section4__employees {
  display: flex;
  justify-content: center;
  gap: 160px;
}

.p-recruit-section4__employee {
  width: 40%;
  position: relative;
}

.p-recruit-section4__emp-image-wrapper {
  position: relative;
  margin-bottom: 20px;
  height: 400px;
}

.p-recruit-section4__emp-image-mask {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 2;
}

.p-recruit-section4__emp-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom;
  position: relative;
  display: block;
  opacity: 0;
  transform: translateY(100px);
  transition: opacity 1.2s ease-out, transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
  transition-delay: 0.6s;
}

.p-recruit-section4__employees.is-active .p-recruit-section4__emp-image {
  opacity: 1;
  transform: translateY(0);
}

.p-recruit-section4__emp-bg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 90%;
  background-color: rgba(255, 255, 255, 0.1);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
  z-index: 1;
}

.p-recruit-section4__emp-meta {
  display: flex;
  flex-direction: column;
  padding-bottom: 5px;
  margin-bottom: 20px;
  position: absolute;
  top: 20px;
  left: -20px;
  width: 250px;
  z-index: 1;
}

.p-recruit-section4__emp-meta::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #ffffff;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  transition-delay: 1.8s;
}

.p-recruit-section4__employees.is-active .p-recruit-section4__emp-meta::after {
  transform: scaleX(1);
}

.p-recruit-section4__emp-dept {
  font-size: 11px;
  margin-bottom: 2px;
}

.p-recruit-section4__emp-name {
  font-size: 24px;
  letter-spacing: 0.1em;
  margin-bottom: 2px;
}

.p-recruit-section4__emp-year {
  font-size: 10px;
}

.p-recruit-section4__emp-question {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 64px;
  margin-bottom: 15px;
  margin-left: -20px;
}

.p-recruit-section4__q-svg text {
  stroke-dasharray: 250;
  stroke-dashoffset: 250;
  transition: stroke-dashoffset 1.5s cubic-bezier(0.25, 1, 0.5, 1);
  transition-delay: 2.0s;
}

.p-recruit-section4__employees.is-active .p-recruit-section4__q-svg text {
  stroke-dashoffset: 0;
}

.p-recruit-section4__emp-question p {
  font-size: 20px;
  letter-spacing: 0.05em;
  margin: 0;
  text-align: left;
  line-height: 1.6;
}

.p-recruit-section4__ans-text {
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0.05em;
  margin: 0 auto;
  padding: 0;
  width: calc(100% - 45px);
  text-align: left;
}

/* ==========================================================================
   Section 4 (闔ｨ竏ｫ蛻､鬩幢ｽｨ)
   ========================================================================== */
.p-recruit-section3 {
  width: 100%;
  background-color: #308BB9;
  color: #ffffff;
  padding-top: 150px;
  padding-bottom: 100px;
  position: relative;
}

.p-recruit-section3__wave {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 200px;
  pointer-events: none;
  z-index: 10;
}

.p-recruit-section3__inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 40px;
}

.p-recruit-section3__top {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 240px;
  position: relative;
}

.p-recruit-section3__title-area {
  margin-bottom: 40px;
}

.p-recruit-section3__title-ja {
  display: flex;
  gap: 0;
  margin: 0;
  line-height: 1;
  position: relative;
}

.p-recruit-section3__grid-char,
.p-recruit-section3__grid-deco {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-sizing: border-box;
  width: 105px;
  height: 105px;
  padding-top: 4px;
  font-size: 78px;
  letter-spacing: 0;
  border: 1px solid rgba(255, 255, 255, 0.4);
  margin-top: -1px;
  margin-left: -1px;
}

.p-recruit-section3__grid-deco {
  position: absolute;
  pointer-events: none;
}

.p-recruit-section3__grid-char::before,
.p-recruit-section3__grid-char::after,
.p-recruit-section3__grid-deco::before,
.p-recruit-section3__grid-deco::after {
  content: "";
  position: absolute;
}

.p-recruit-section3__grid-char::before,
.p-recruit-section3__grid-deco::before {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 100%;
  border-left: 1px dashed rgba(255, 255, 255, 0.4);
}

.p-recruit-section3__grid-char::after,
.p-recruit-section3__grid-deco::after {
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 100%;
  height: 0;
  border-top: 1px dashed rgba(255, 255, 255, 0.4);
}

.p-recruit-section3__content {
  display: flex;
  width: 100%;
  justify-content: flex-end;
  padding-top: 60px;
  position: relative;
}

.p-recruit-section3__text-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-top: 20px;
  margin-right: -180px;
  margin-left: 0;
  z-index: 5;
}

.p-recruit-section3__title-and-lead {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.p-recruit-section3__lead {
  font-size: 33px;
  line-height: 1.6;
  letter-spacing: 0.1em;
  margin-bottom: 40px;
  text-align: left;
}

.p-recruit-section3__text {
  font-size: 15px;
  line-height: 1.8;
  letter-spacing: 0.25em;
  width: 500px;
  margin: 0;
  margin-left: 50px;
}

.p-recruit-section3__main-image {
  position: absolute;
  left: 0;
  top: 210px;
  width: 50vw;
  height: 500px;
}

.p-recruit-section3__main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left;
  display: block;
}

.p-recruit-section3__employees {
  display: flex;
  justify-content: center;
  gap: 160px;
}

.p-recruit-section3__employee {
  width: 40%;
  position: relative;
}

.p-recruit-section3__emp-image-wrapper {
  position: relative;
  margin-bottom: 20px;
  height: 400px;
}

.p-recruit-section3__emp-image-mask {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 2;
}

.p-recruit-section3__emp-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom;
  position: relative;
  display: block;
  opacity: 0;
  transform: translateY(100px);
  transition: opacity 1.2s ease-out, transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
  transition-delay: 0.6s;
}

.p-recruit-section3__employees.is-active .p-recruit-section3__emp-image {
  opacity: 1;
  transform: translateY(0);
}

.p-recruit-section3__emp-bg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 90%;
  background-color: rgba(255, 255, 255, 0.1);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
  z-index: 1;
}

.p-recruit-section3__emp-meta {
  display: flex;
  flex-direction: column;
  padding-bottom: 5px;
  margin-bottom: 20px;
  position: absolute;
  top: 20px;
  left: -20px;
  width: 250px;
  z-index: 1;
}

.p-recruit-section3__emp-meta::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #ffffff;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  transition-delay: 1.8s;
}

.p-recruit-section3__employees.is-active .p-recruit-section3__emp-meta::after {
  transform: scaleX(1);
}

.p-recruit-section3__emp-dept {
  font-size: 11px;
  margin-bottom: 2px;
}

.p-recruit-section3__emp-name {
  font-size: 24px;
  letter-spacing: 0.1em;
  margin-bottom: 2px;
}

.p-recruit-section3__emp-year {
  font-size: 10px;
}

.p-recruit-section3__emp-question {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 64px;
  margin-bottom: 15px;
  margin-left: -20px;
}

.p-recruit-section3__q-svg text {
  stroke-dasharray: 250;
  stroke-dashoffset: 250;
  transition: stroke-dashoffset 1.5s cubic-bezier(0.25, 1, 0.5, 1);
  transition-delay: 2.0s;
}

.p-recruit-section3__employees.is-active .p-recruit-section3__q-svg text {
  stroke-dashoffset: 0;
}

.p-recruit-section3__emp-question p {
  font-size: 20px;
  letter-spacing: 0.05em;
  margin: 0;
  text-align: left;
  line-height: 1.6;
}

.p-recruit-section3__ans-text {
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0.05em;
  margin: 0 auto;
  padding: 0;
  width: calc(100% - 45px);
  text-align: left;
}



.p-recruit-section3__lead-sub {
  position: relative;
  left: 4em;
}

.p-recruit-section4__lead-sub {
  position: relative;
  left: 4em;
}

/* ==========================================================================
   Section 5 (採用情報詳細)
   ========================================================================== */
.p-recruit-section5 {
  width: 100%;
  background-color: #308BB9;
  color: #ffffff;
  padding: 150px 0 80px;
  position: relative;
}

.p-recruit-section5__inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 40px;
}

.p-recruit-section5__title-area {
  text-align: center;
  margin-bottom: 65px;
}

.p-recruit-section5__title-en {
  display: block;
  font-size: 16px;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}

.p-recruit-section5__title-ja {
  font-size: 36px;
  letter-spacing: 0.2em;
  margin: 0;
  font-weight: 400;
}

.p-recruit-section5__subtitle {
  font-size: 28px;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  text-align: left;
  font-weight: 400;
}

.p-recruit-section5__tabs {
  display: flex;
  margin-bottom: -1px; /* わずかな隙間を防ぐ */
  position: relative;
  z-index: 2;
}

.p-recruit-section5__tab {
  width: 320px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #8FBCD6;
  color: #308BB9;
  font-size: 16px;
  font-weight: bold;
  clip-path: polygon(0 0, calc(100% - 25px) 0, 100% 100%, 0 100%);
  margin-left: 4px;
  cursor: pointer;
  letter-spacing: 0.1em;
  transition: background-color 0.3s ease;
}

.p-recruit-section5__tab:first-child {
  margin-left: 0;
}

.p-recruit-section5__tab.is-active {
  background-color: #ffffff;
}

.p-recruit-section5__panel {
  background-color: #ffffff;
  padding: 40px 70px;
  color: #333333;
  position: relative;
  z-index: 1;
}

.p-recruit-section5__table {
  width: 100%;
  border-collapse: collapse;
}

.p-recruit-section5__table th,
.p-recruit-section5__table td {
  padding: 16px 15px;
  border-bottom: 1px solid #e0e0e0;
}

.p-recruit-section5__table tr:first-child th,
.p-recruit-section5__table tr:first-child td {
  border-top: 1px solid #e0e0e0;
}

.p-recruit-section5__table th {
  width: 25%;
  text-align: left;
  font-weight: bold;
  vertical-align: middle;
  letter-spacing: 0.25em;
  white-space: nowrap;
  font-size: 15px;
}

.p-recruit-section5__table td {
  width: 75%;
  text-align: left;
  line-height: 1.6;
  letter-spacing: 0.05em;
  font-size: 14px;
}

.p-recruit-section5__entry {
  margin-top: 20px;
  text-align: right;
  color: #ffffff;
  font-size: 16px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 20px;
  letter-spacing: 0.1em;
}

.p-recruit-section5__entry-link {
  color: #ffffff;
  text-decoration: none;
  font-size: 18px;
  border-bottom: 1px solid #ffffff;
  padding-bottom: 2px;
  transition: opacity 0.3s ease;
}

.p-recruit-section5__entry-link:hover {
  opacity: 0.7;
}

/* ==========================================================================
   Section 7 (選考の流れ)
   ========================================================================== */
.p-recruit-section7 {
  width: 100%;
  background-color: #308BB9;
  color: #ffffff;
  padding: 100px 0 150px;
  position: relative;
}

.p-recruit-section7__inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 40px;
}

.p-recruit-section7__title-area {
  text-align: center;
  margin-bottom: 80px;
}

.p-recruit-section7__title-en {
  display: block;
  font-size: 16px;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}

.p-recruit-section7__title-ja {
  font-size: 36px;
  letter-spacing: 0.2em;
  margin: 0;
  font-weight: 400;
}

.p-recruit-section7__flow {
  position: relative;
}

.p-recruit-section7__flow-list {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
}

/* 縦線（アイテムごとに配置して最後で止める） */
.p-recruit-section7__flow-item:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 70px; /* margin-top 40px + circle radius 30px */
  left: 29px; /* 60px幅の中央、線の太さ考慮 */
  width: 2px;
  height: calc(100% - 0px);
  background-color: rgba(255, 255, 255, 0.4);
  z-index: 1;
  transform-origin: top;
  transform: scaleY(0);
}

/* 全体のブラーアニメーションと縦線の順次出現 */
.p-recruit-section7__flow.js-fade-text {
  filter: blur(10px);
  transition: opacity 1s ease, filter 1s ease, transform 1s ease;
}

.p-recruit-section7__flow.js-fade-text.is-active {
  filter: blur(0);
}

@keyframes lineGrowDown {
  0% { transform: scaleY(0); }
  100% { transform: scaleY(1); }
}

/* 全体が画面中央付近に入った後、順番に線が伸びる（重ならないように設定） */
/* 最初の線は0.5s（文字表示と同時進行気味）から開始、以降は1.5s（アニメーション時間）ずつ遅らせる */
.p-recruit-section7__flow.is-center-active .p-recruit-section7__flow-item:nth-child(1)::before { animation: lineGrowDown 1.5s cubic-bezier(0.25, 1, 0.5, 1) 0.5s forwards; }
.p-recruit-section7__flow.is-center-active .p-recruit-section7__flow-item:nth-child(2)::before { animation: lineGrowDown 1.5s cubic-bezier(0.25, 1, 0.5, 1) 2.0s forwards; }
.p-recruit-section7__flow.is-center-active .p-recruit-section7__flow-item:nth-child(3)::before { animation: lineGrowDown 1.5s cubic-bezier(0.25, 1, 0.5, 1) 3.5s forwards; }
.p-recruit-section7__flow.is-center-active .p-recruit-section7__flow-item:nth-child(4)::before { animation: lineGrowDown 1.5s cubic-bezier(0.25, 1, 0.5, 1) 5.0s forwards; }
.p-recruit-section7__flow.is-center-active .p-recruit-section7__flow-item:nth-child(5)::before { animation: lineGrowDown 1.5s cubic-bezier(0.25, 1, 0.5, 1) 6.5s forwards; }

.p-recruit-section7__flow-item {
  display: flex;
  margin-bottom: 0;
  position: relative;
  z-index: 2;
}

/* 丸数字 */
.p-recruit-section7__flow-number {
  width: 60px;
  height: 60px;
  background-color: #ffffff;
  color: #308BB9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: bold;
  flex-shrink: 0;
  margin-right: 40px;
  margin-top: 25px; /* テキストタイトルの中央に高さを揃えるための余白 */
  position: relative;
  z-index: 2;
}

.p-recruit-section7__flow-content {
  flex: 1;
  display: flex;
  padding-bottom: 40px; /* 上下の余白を均等にして中央揃え */
  padding-top: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  margin-bottom: 0; 
}

.p-recruit-section7__flow-item:last-child .p-recruit-section7__flow-content {
  border-bottom: none;
  margin-bottom: 0;
}

.p-recruit-section7__flow-title {
  width: 220px;
  font-size: 24px;
  letter-spacing: 0.3em;
  font-weight: 400;
  flex-shrink: 0;
  margin: 0;
}

.p-recruit-section7__flow-text {
  flex: 1;
  font-size: 14px;
  line-height: 2.0;
  letter-spacing: 0.05em;
  margin: 0;
}

.p-recruit-section7__flow-box {
  border: 1px solid rgba(255, 255, 255, 0.7);
  padding: 20px 25px;
  margin-top: 25px;
}

.p-recruit-section7__flow-box-title {
  display: block;
  font-size: 14px;
  margin-bottom: 15px;
}

.p-recruit-section7__flow-box-text {
  font-size: 14px;
  margin: 0;
}
