/* トップページ */

/* fv */
.fv {
  width: 100%;
  height: 420px;
  margin: 0;
  padding: 0;
}

.fv__inner {
  height: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
}

.fv__left {
  position: relative;
  overflow: hidden;
  background: linear-gradient(100deg, #456ab1, #0e1931);
}

.fv__left > img {
  width: 470px;
  position: absolute;
  right: 0;
  bottom: 0;
}

h1 {
  font-size: 40px;
  position: absolute;
  color: white;
  top: 50%;
  left: 5%;
  transform: translateY(-50%);
  line-height: 1.65;
  letter-spacing: 0.05em;
  z-index: 1;
}

.fv__right {
  position: relative;
}

.fv__right > img {
  position: absolute;
  height: 420px;
  width: 100%;
  object-fit: cover;
  opacity: 0;
  animation: slideshow 15s linear infinite;
}

.fv__right > img:nth-child(1) {
  opacity: 1;
  animation-delay: 0s;
}

.fv__right > img:nth-child(2) {
  animation-delay: 5s;
}

.fv__right > img:nth-child(3) {
  animation-delay: 10s;
}

@keyframes slideshow {
  0% {
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  33.33% {
    opacity: 1;
  }
  43.33% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

@media screen and (max-width: 500px) {
  h1 {
    font-size: 34px;
  }
  .fv__left > img {
    left: 20px;
  }
}

/* 創業者の挨拶 */
.greeting {
  padding-top: 0;
}

.greeting__heading {
  background: #0e1931;
  color: white;
  padding: 36px 16px;
}

.greeting__main {
  padding-top: 40px;
}

.greeting__main > h2 {
  text-align: center;
}

.greeting__main > img {
  width: 100%;
  object-fit: cover;
  margin-top: 30px;
  margin-bottom: 50px;
  min-height: 200px;
}

.greeting__profile {
  margin-top: 30px;
  text-align: end;
  font-weight: 700;
}

/* 事業紹介 */
.project {
  background: #f7f7f7;
}

.project > h2 {
  text-align: center;
  color: #22417c;
  margin-bottom: 20px;
}

.project__heading {
  margin-top: 100px;
  width: 100%;
  height: 260px;
  position: relative;
  background: #122344;
}

.project__heading > img {
  position: absolute;
  top: -40px;
  left: 0;
  max-width: calc((100% - 1012px) / 2 + 1012px);
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.project__title {
  position: absolute;
  top: 20px;
  left: 14%;
  color: white;
}

.project__title > p {
  font-size: 70px;
  font-family: "Montserrat", sans-serif;
  line-height: 120%;
  letter-spacing: 0.05em;
}

.project__section {
  margin-top: 40px;
}

.white-box {
  background: white;
  padding: 20px 16px;
  text-align: center;
}

.project__section > h4 {
  margin-bottom: 20px;
  text-align: center;
}

.project__list {
  justify-content: center;
  padding-top: 10px;
  flex-wrap: wrap;
  display: flex;
  gap: 16px;
}

.project__item {
  width: 240px;
  background: white;
}

.project__item--kaitei {
  width: 250px;
}

.project__item > img {
  width: 100%;
}

.project__detail {
  height: 140px;
  padding: 10px 20px;
}

.project__detail span {
  font-size: 12px;
  font-weight: 700;
  color: #22417c;
  display: block;
}

.project__item p {
  line-height: 150%;
}

.project__detail > .detail__text {
  margin-top: 10px;
  font-size: 12px;
}

.project__btn-wrapper {
  display: flex;
  justify-content: center;
}

@media screen and (max-width: 800px) {
  .project__item {
    width: 48%;
  }
}

@media screen and (max-width: 500px) {
  .project__list {
    gap: 10px;
  }

  .project__detail {
    height: 100%;
    padding: 10px;
  }
  .project__heading > img {
    width: calc(100% - 16px);
  }
}

/* イガワで働く魅力 */
.charm__inner > h2 {
  text-align: center;
  color: #22417c;
  margin-bottom: 40px;
}

.charm__main {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.charm__item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

.charm__item--reverse > img {
  order: 1;
}

.charm__item--reverse > .charm__contents {
  order: 2;
}

.charm__item > img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.charm__headline {
  font-size: 38px;
  font-weight: 700;
}

.charm__caption {
  font-size: 18px;
  line-height: 1.8;
  margin-top: 36px;
}

@media screen and (max-width: 800px) {
  .charm__item {
    gap: 30px;
  }

  .charm__headline {
    font-size: 30px;
  }

  .charm__caption {
    font-size: 14px;
  }
}

@media screen and (max-width: 500px) {
  .charm__item {
    grid-template-columns: 1fr;
  }

  .charm__item > img {
    height: 240px;
  }

  .charm__item--reverse > img {
    order: 2;
  }

  .charm__item--reverse > .charm__contents {
    order: 1;
  }

  .charm__caption {
    margin-top: 16px;
  }
}

/* イガワの賃金テーブル */
.salary__inner > h2 {
  text-align: center;
  color: #22417c;
  margin-bottom: 40px;
}

.salary__main {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.salary__division-name {
  position: relative;
  padding-left: 26px;
}

.salary__division-name::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 6px;
  background: #22417c;
}

.saraly__image {
  overflow-x: scroll;
}

.saraly__image > img {
  width: 1012px;
  margin-top: 20px;
}

.salary__caption {
  margin-top: 16px;
  width: 100%;
  display: flex;
  justify-content: end;
}

.salary__caption > p {
  width: 490px;
  font-size: 14px;
  line-height: 1.8;
}

/* 数字で見るイガワ */
.data {
  background: #122344;
}

.data span {
  font-family: "M PLUS 1p", sans-serif;
}

.data__inner > h2 {
  text-align: center;
  color: white;
  margin-bottom: 40px;
}

.data__contents {
  background-color: white;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.data__title {
  font-weight: 700;
  color: #22417c;
}

.data__detail-primary {
  display: flex;
  align-items: center;
  gap: 25px;
}

.data__detail-primary > img {
  width: 88px;
}

.employees > .data__detail-primary > p {
  font-size: 30px;
  font-weight: 700;
}

.employees > .data__detail-primary > p > span {
  font-size: 74px;
  color: #22417c;
}

.data__detail-secondary {
  display: flex;
  flex-wrap: wrap;
  column-gap: 10px;
  width: 100%;
  border-bottom: 2px solid #3b4043;
  padding-bottom: 6px;
}

.data__detail-secondary > p {
  font-size: 18px;
  font-weight: 700;
}

.data__detail-secondary > p > span {
  font-size: 40px;
  color: #22417c;
}

.data__detail {
  display: flex;
  flex-wrap: wrap;
  column-gap: 10px;
  border-bottom: 2px solid #3b4043;
}

.data__detail > p {
  font-size: 20px;
  font-weight: 700;
}

.data__detail > p > span {
  color: #22417c;
  font-size: 54px;
}

.data__flex {
  display: flex;
  align-items: start;
  gap: 30px;
}

.data__flex > img {
  width: 164px;
}

.data__title-secondary {
  margin-top: 20px;
  margin-bottom: -20px;
  font-weight: 700;
  color: #22417c;
}

.data__sekou {
  margin-top: 20px;
  border: 2px solid #3b4043;
  padding: 30px;
  display: grid;
  gap: 70px;
  grid-template-columns: 1fr 1fr;
  position: relative;
}

.data__sekou::after {
  position: absolute;
  content: "";
  width: 2px;
  height: calc(100% - 60px);
  background: #3b4043;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.data__sekou > img,
.data__sales > img {
  width: 100%;
}

.data__sales {
  margin-top: 20px;
  border: 2px solid #3b4043;
  padding: 30px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 36px;
}

@media screen and (max-width: 800px) {
  .data__contents {
    gap: 30px;
  }

  .data__title {
    margin-bottom: 10px;
    font-size: 24px;
  }
  .employees > .data__detail-primary > p {
    font-size: 18px;
  }

  .employees > .data__detail-primary > p > span {
    font-size: 44px;
  }

  .employees > .data__detail-primary > img {
    width: 50px;
  }

  .employees > .data__detail-secondary > p {
    font-size: 12px;
  }

  .employees > .data__detail-secondary > p > span {
    font-size: 26px;
  }

  .data__detail > p {
    font-size: 12px;
  }

  .data__detail > p > span {
    font-size: 30px;
  }
  .data__title-secondary {
    margin-top: 0;
    margin-bottom: 0px;
  }

  .data__flex > img {
    width: 140px;
  }

  .late {
    margin-top: 20px;
  }

  .data__sekou,
  .data__sales {
    padding: 20px;
    gap: 20px;
  }

  .data__sekou::after {
    display: none;
  }

  .data__sales {
    grid-template-columns: 1fr 1fr;
  }
}

@media screen and (max-width: 500px) {
  .data__contents {
    padding: 30px 16px;
  }

  .data__flex {
    gap: 10px;
    position: relative;
  }

  .employees > .data__detail-primary {
    gap: 10px;
  }

  .data__flex > img {
    position: absolute;
    right: 0;
  }

  .early .data__detail {
    flex-direction: column;
  }

  .data__sekou,
  .data__sales {
    grid-template-columns: 1fr;
  }
}

/* 資格 */
.license {
  margin-top: 60px;
  text-align: center;
}

.license__inner > h3 {
  color: #22417c;
  margin-bottom: 20px;
}

.license__main {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(155px, 1fr));
  row-gap: 20px;
  position: relative;
}

.license__main::before {
  content: "";
  position: absolute;
  width: 2px;
  height: 100%;
  top: 0;
  left: 0;
  background: white;
}

.license__item {
  padding-top: 6px;
  border-left: 2px solid #000;
  text-align: center;
  height: 126px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.license__name {
  font-weight: bold;
  line-height: 130%;
}

.license__num {
  font-size: 18px;
  font-weight: 700;
}

.license__num span {
  font-size: 54px;
  color: #22417c;
}

@media screen and (max-width: 800px) {
  .license__main {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  }
}

/* 従業員の声 */
.voice {
  background-image: url(../image/従業員の声_背景.png);
  background-repeat: no-repeat;
  background-size: cover;
}

.voice__inner {
  overflow: hidden;
}

.voice__inner > h2,
.voice__inner > p {
  color: white;
  text-align: center;
}

.voice__inner > h2 {
  margin-bottom: 20px;
}

.voice__main {
  margin-top: 40px;
  display: flex;
  gap: 20px;
}

.voice__item {
  width: 240px;
  background: white;
}

.voice__item > img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.voice__profile {
  padding: 20px;
}

.voice__name,
.voice__position {
  color: #000;
  font-weight: 700;
}

.swiper-button-prev:after,
.swiper-button-next:after {
  display: none;
}

.swiper-button-prev,
.swiper-button-next {
  width: 40px !important;
  height: 140px !important;
  background: white;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 50px;
  border: 2px solid #0e1931;
}

.swiper-button-prev > p,
.swiper-button-next > p {
  color: #0e1931;
  font-size: 16px;
  font-weight: 700;
}

/* 教育制度 */
.edu {
  overflow: hidden;
  background: #f7f7f7;
}

.edu__pics {
  width: 100%;

}

.edu__pics img {
  height: 100%;
  object-fit: cover;
}

.slick-track {
  display: flex !important;
}

.slick-track::before,
.slick-track::after {
  display: initial !important;
}

.slick-slide {
  float: initial !important;
  height: initial !important;
}

.slick-slide > div {
  height: 100% !important;
}

.edu__heading {
  text-align: center;
  margin-top: 40px;
}

.edu__heading > h2 {
  color: #22417c;
  margin-bottom: 20px;
}

.edu__main {
  margin-top: 40px;
  padding: 40px;
  border: 2px solid #122344;
}

.edu__main > h3,
.edu__learning > h3 {
  text-align: center;
  margin-bottom: 20px;
}

.edu__support {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.edu__support > img {
  width: 100%;
}

.edu__learning {
  margin-top: 40px;
}

.edu__list {
  gap: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.edu__item {
  width: 100%;
  background: white;
  padding: 20px;
  min-height: 320px;
}

.edu__role {
  font-size: 20px;
  text-align: center;
  margin-bottom: 10px;
}

@media screen and (max-width: 800px) {
  .edu__main {
    padding: 26px;
  }

  .edu__support {
    grid-template-columns: 1fr;
  }

  .edu__support > p {
    order: 2;
  }

  .edu__support > img {
    order: 1;
  }

  .swiper-button-prev,
  .swiper-button-next {
    margin: 0px;
  }
}

/* 福利厚生 */
.hukuri {
  margin: 0;
  background: #f7f7f7;
}

.hukuri__inner > h2 {
  text-align: center;
  color: #22417c;
}

.hukuri__main {
  column-gap: 20px;
  row-gap: 60px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 60px;
}

.hukuri__item {
  width: 324px;
  border: 1px solid #22417c;
  padding: 24px;
  padding-top: 48px;
  position: relative;
  min-height: 501px;
}

.hukuri__vis {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #22417c;
  border-radius: 40px;
  background: #f7f7f7;
}

.hukuri__vis > img {
  width: 50px;
}

.hukuri__name {
  font-weight: 700;
  text-align: center;
  font-size: 26px;
  color: #22417c;
  margin-bottom: 20px;
}

.hukuri__text {
  font-size: 14px;
}

@media screen and (max-width: 800px) {
  .hukuri__item {
    width: 48%;
  }
}

@media screen and (max-width: 550px) {
  .hukuri__item {
    width: 100%;
  }
  .hukuri__item {
    min-height: auto;
  }
}

/* 採用フロー */
.flow {
  margin-top: 0;
}

.flow__heading {
  text-align: center;
}

.flow__heading > h2 {
  color: #22417c;
  margin-bottom: 20px;
}

.flow__main {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
}

.flow__step {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
}

.step__circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #122344;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  text-align: center;
  line-height: 1;
  margin-right: 20px;
}

.step__circle > .num {
  font-size: 20px;
}

.step__circle > span {
  font-size: 20px;
  font-weight: 700;
}

.step__content {
  flex: 1;
  position: relative;
}

.step__content > h3 {
  margin-bottom: 10px;
  border-top: 1px solid #122344;
  border-bottom: 1px solid #122344;
  font-weight: 500;
  padding: 10px 0;
}

.step__content > p {
  margin-top: 20px;
  height: 60px;
  position: relative;
}

.step__content > p::before {
  content: "";
  height: 100%;
  width: 3px;
  background: #c1c1c1;
  position: absolute;
  top: 0;
  left: -46px;
}

.step__content > .last::before {
  width: 0;
}

.flow__btn {
  display: flex;
  justify-content: center;
}

/* 選考について */
.faq {
  margin-top: 0;
}

.faq__inner > h2 {
  text-align: center;
  color: #22417c;
}

.faq__main {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.faq__heading {
  width: 100%;
  background: #f7f7f7;
  padding: 6px 10px;
  margin-bottom: 10px;
}

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

.faq__flex {
  display: flex;
  gap: 30px;
  align-items: center;
}

.faq__flex > .head {
  width: 28px;
  font-size: 36px;
  font-weight: 700;
  color: #22417c;
}

.faq__q > p {
  font-weight: 700;
}

.toggle {
  display: none;
}
.faq__q {
  cursor: pointer;
  padding: 6px;
}

.faq__q,
.faq__a {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
  transition: all 0.3s;
}
.content {
  height: 0;
  overflow: hidden;
}
.toggle:checked + .faq__q + .faq__a {
  height: auto;
  padding: 10px;
  transition: all 0.3s;
}

/* エントリー */
.entry {
  margin-top: 0;
  background-color: #122344;
}

.entry__heading {
  text-align: center;
  color: white;
}

.entry__heading > h2 {
  margin-bottom: 20px;
}

.entry__main {
  margin-top: 40px;
  background: white;
  padding: 40px;
}

.entry__main > h3 {
  text-align: center;
}

.entry__main--tel {
  text-align: center;
}

.entry__main--tel > h3 {
  margin-bottom: 20px;
}

.entry__btn {
  margin-top: 40px;
}

.entry__tel-number {
  margin-top: 20px;
  font-size: 30px;
  font-weight: 700;
  color: #22417c;
  letter-spacing: 0.05em;
}

/* フォーム */
.entry__form {
  margin-top: 40px;
  font-size: 16px;
  font-weight: 500;
}

.entry__form input,
.entry__form textarea,
.entry__form select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 3px;
}

.entry__form textarea {
  height: 150px;
}

.form-group {
  margin-bottom: 20px;
  display: grid;
  grid-template-columns: 220px 1fr;
  align-items: center;
  position: relative;
}

.form-group > label {
  font-weight: 700;
}

.form-group > label > span {
  background: #d60e0e;
  color: white;
  padding: 2px 10px;
  font-weight: 500;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 80px;
}

.form-group input,
.form-group textarea {
  height: 50px;
  border: 1px solid #3b4042;
  border-radius: 0;
}

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

.form-group input {
  max-width: 400px;
}

.form-flex > input {
  max-width: 250px;
}

.checkbox-list {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.checkbox-item {
  display: flex;
  gap: 10px;
  align-items: center;
}

.checkbox-item > input {
  width: 20px;
  height: 20px;
}

.form-group > textarea {
  height: 160px;
}

.policy {
  margin-top: 40px;
  text-align: center;
}

.policy__head {
  font-weight: 700;
  margin-bottom: 10px;
}

.policy__main {
  margin-top: 30px;
  text-align: start;
  overflow-y: scroll;
  width: 100%;
  padding: 20px;
  border: 1px solid #3b4042;
  font-size: 14px;
  letter-spacing: 0.05em;
}

.policy__btn {
  margin-top: 20px;
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
}

.policy__btn > input {
  width: 20px;
  height: 20px;
}

.entry__btn {
  display: flex;
  justify-content: center;
}

@media screen and (max-width: 800px) {
  .form-group {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .form-group > label > span {
    top: 8px;
  }
}

@media screen and (max-width: 500px) {
  .entry__main {
    padding: 40px 16px;
  }
}
