/* 社員インタビュー
=========================================================================
=========================================================================*/
/* Page title
-----------------------------------------------------------*/
.title {
  position: relative;
  padding: 75px 15px 80px;
  text-align: center;
}

.title h1 {
  overflow: visible !important;
  margin: 0 auto;
  width: fit-content;
  font-weight: 600;
  font-size: 37px;
  line-height: 1em;
}

.title h1 span {
  display: block;
  margin-top: .75em;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
}

/* List
-----------------------------------------------------------*/
.list {
  padding: 60px 0 120px;
  background: linear-gradient(75deg, #AAD4E1 0%, #FFFFFF 20%, #FDFDF9 80%, #EBFFEF 100%);
}

.list .inner {
  margin: 0 auto;
  max-width: 1090px;
}

@media screen and (max-width:1160px) {
  .list .inner {
    padding: 0 35px;
  }
}

.list h2 {
  margin-bottom: 40px;
  padding-left: 22px;
  width: fit-content;
  font-size: 22px;
}

.list h2 span {
  display: block;
  margin-bottom: .25em;
  font-family: "Lexend Mega", sans-serif;
  font-weight: 900;
  font-size: 52px;
  line-height: 1em;
}

.list ul {
  display: flex;
  flex-wrap: wrap;
  gap: 62px calc(32 / 1090 * 100%);
  width: 100%;
}

.list ul li {
  position: relative;
  width: calc(342 / 1090 * 100%);
}

.list ul li a picture {
  overflow: hidden;
  display: block;
  margin-left: auto;
  width: calc(320 / 342 * 100%);
}

.list ul li a picture img {
  transition: 0.6s;
}

@media(hover: hover) {
  .list ul li a:hover picture img {
    transform: scale(1.05, 1.05);
    opacity: .8;
  }
}

.list ul li a .name {
  position: absolute;
  bottom: 40px;
  width: calc(300 / 342 * 100%);
}

.list ul li:nth-child(5) .name {
  width: calc(315 / 342 * 100%);
}

/* Relationship
-----------------------------------------------------------*/
.relationship {
  padding: 100px 30px;
  background-color: #FFF;
}

.relationship a {
  display: block;
  margin: 0 auto;
  max-width: 1040px;
}

.relationship a img {
  transition: 0.6s;
}

@media(hover: hover) {
  .relationship a:hover img {
    transform: scale(1.025, 1.025);
    opacity: .6;
  }
}

/*  スマホ（767px以下）
=========================================================================
=========================================================================*/
@media screen and (max-width:767px) {
  /* Page title
  -----------------------------------------------------------*/
  .title {
    padding: 40px 15px;
  }

  .title h1 {
    font-size: 30px;
  }

  .title h1 span {
    font-size: 13px;
  }

  /* List
  -----------------------------------------------------------*/
  .list {
    padding: 50px 0 85px;
    background: linear-gradient(-100deg, #AAD4E1 0%, #FFFFFF 30%, #FDFDF9 69%, #EBFFEF 100%)
  }

  .list h2 {
    margin-bottom: 40px;
    padding-left: 0;
    font-size: 16px;
    text-align: center;
  }

  .list h2 span {
    font-size: 35px;
  }

  .list ul {
    gap: 62px calc(32 / 767 * 100%);
  }

  .list ul li {
    width: calc(367.5 / 767 * 100%);
  }

  /* Relationship
  -----------------------------------------------------------*/
  .relationship {
    padding: 40px 30px;
  }

  .relationship a {
    max-width: 328px;
  }

}

/*  スマホ（480px以下）
=========================================================================
=========================================================================*/
@media screen and (max-width:480px) {

  /* List
  -----------------------------------------------------------*/
  .list ul {
    gap: 30px 0;
  }

  .list ul li {
    width: 100%;
  }

  .list ul li a picture {
    width: 100%;
  }

  .list ul li a .name {
    bottom: 20px;
    left: calc(22 / 320 * -100%);
    width:100%;
  }

}
