/**********************
*初期設定
**********************/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  line-height: 1.6;
  color: #333;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN",
    "Hiragino Sans", Meiryo, sans-serif;
  overflow-x: hidden;
}
ul,
ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
a:hover {
  opacity: 0.5;
}
img {
  width: 100%;
  height: auto;
}
/**********************
*header
**********************/
header {
  height: 80px;
  position: relative;
  max-width: 1160px;
  margin: 0 auto;
}
h1 {
  font-size: 24px;
  line-height: 80px;
  font-weight: normal;
  margin-left: min(2%, 100px);
}
.navbutton-area {
  position: fixed;
  width: 100%;
  margin: 0 auto;
  top: calc(calc(80px - 48px) / 2);
  left: 0;
  right: 0;
  z-index: 20;
}
.navbutton {
  margin-left: auto;
  margin-right: min(2%, 100px);
  position: relative;
  border-radius: 50%;
  border: solid 1px #000;
  background: #fff;
  width: 48px;
  height: 48px;
  cursor: pointer;
}
.navbutton span {
  position: absolute;
  left: 0;
  right: 0;
  margin: 0 auto;
  display: block;
  height: 2px;
  width: 24px;
  background-color: #000;
}
.navbutton span:nth-of-type(1) {
  top: 32%;
  transition: 0.3s;
}
.navbutton span:nth-of-type(2) {
  top: 48%;
  transition: 0.3s;
}
.navbutton span:nth-of-type(3) {
  top: 64%;
  transition: 0.3s;
}
/* ↓ 開いたときの変化 */
.navbutton.active span:nth-of-type(1) {
  transform: translateY(6px) rotate(45deg);
  transition: 0.3s;
}
.navbutton.active span:nth-of-type(2) {
  opacity: 0;
  transition: 0.3s;
}
.navbutton.active span:nth-of-type(3) {
  transform: translateY(-8px) rotate(-45deg);
  transition: 0.3s;
}
.header-nav {
  position: fixed;
  top: -100vh;
  left: 0;
  width: 100%;
  z-index: 10;
  background-color: #efcece;
  padding: 0 0 40px;
  transition: top 0.8s;
}
.header-nav.active {
  top: 0;
  transition: top 0.8s;
}
.header-nav h1 {
  margin: 0;
  padding-left: 24px;
}
.header-nav ul {
  display: flex;
  justify-content: space-evenly;
}
.header-nav li {
  font-size: 1rem;
  padding: 24px 0;
}
.header-nav li a {
  display: block;
  position: relative;
  color: #000;
  padding: 0 24px;
  /** リンクアニメーション用 **/
  background-image: linear-gradient(90deg, #fff, #fff); /* 線の色 */
  background-repeat: no-repeat;
  background-position: center bottom; /* 線の起点を左・下に設定 */
  background-size: 0 1px; /* 線の横幅を0、縦幅を1pxに */
  transition: background-size 0.6s; /* 線を伸ばすアニメーション実行時間を指定 */
}
.header-nav li a::after {
  content: "";
  position: absolute;
  top: -10px;
  bottom: 0;
  left: 0;
  margin: auto;
  width: 8px;
  height: 8px;
  border: solid 2px #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.header-nav li a:hover {
  opacity: 1;
  background-size: 100% 1px; /* 線の横幅を100%にする */
}
/**********************
*FV
**********************/
.fv {
  position: relative;
  width: 100%;
  max-width: 1208px;
  margin: 0 auto;
}
.fv .fv-txt {
  position: absolute;
  z-index: 2;
  font-weight: bold;
  font-size: clamp(2.2rem, 4.6vw, 4.2rem);
  line-height: 1.5;
  left: min(2%, 100px);
  top: min(0.5%, 24px);
  opacity: 0;
  filter: drop-shadow(0 0 2px #fff) drop-shadow(0 0 3px #fff)
    drop-shadow(0 0 3px #fff);
}
.fv-txt .red {
  color: #d62828;
}
.fv-buttonarea {
  position: absolute;
  z-index: 2;
  width: min(100%, 1208px);
  right: 24px;
  bottom: min(15%, 96px);
  margin: 0 auto;
  display: flex;
  justify-content: flex-end;
  opacity: 0;
}
.fv-buttonarea .linkbtn {
  display: block;
  color: #fff;
  text-align: center;
  margin-left: min(2%, 24px);
  position: relative;
  padding: min(2%, 32px) min(6%, 72px) min(2%, 302px) min(4%, 56px);
  overflow: hidden;
}
.fv-buttonarea .linkbtn::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 1rem;
  margin: auto;
  width: 0.6rem;
  height: 0.6rem;
  border: solid 1px #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(-45deg);
}
.fv-buttonarea .new-graduate {
  background-color: #b92020;
}
.fv-buttonarea .mid-career {
  background-color: #000;
}
.fv-buttonarea .intern {
  background-color: #b7a175;
}
.fv-buttonarea .linkbtn::before {
  background-color: #fff;
  content: "";
  display: block;
  position: absolute;
  top: -100px;
  left: 0;
  width: 30px;
  height: 100%;
  opacity: 0;
  transition: cubic-bezier(0.32, 0, 0.67, 0);
}
.fv-buttonarea .linkbtn:hover {
  opacity: 1;
}
.fv-buttonarea .linkbtn:hover::before {
  animation: kiran 0.5s linear;
}

@keyframes kiran {
  0% {
    transform: scale(2) rotate(45deg);
    opacity: 0;
  }
  20% {
    transform: scale(20) rotate(45deg);
    opacity: 0.6;
  }
  40% {
    transform: scale(30) rotate(45deg);
    opacity: 0.4;
  }
  80% {
    transform: scale(45) rotate(45deg);
    opacity: 0.2;
  }
  100% {
    transform: scale(50) rotate(45deg);
    opacity: 0;
  }
}
.fv-image {
  width: 100vw;
  max-width: 1208px;
  padding-bottom: 32px;
  margin: 0 auto;
  display: grid;
  grid-auto-rows: 1px;
  column-gap: 32px;
  grid-template-rows: 1fr 1fr 1fr 1fr 1fr 1fr;
  justify-content: space-between;
  align-items: center;
  opacity: 0;
  overflow: hidden;
}
.fv-image .image-box {
  width: min(calc(100vw / 5.7), 216px);
  aspect-ratio: 1 / 2.2;
  /*max-height: 408px;*/
  clip-path: polygon(0 20%, 100% 0%, 100% 80%, 0% 100%);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top;
}
.image1 {
  background-image: -webkit-image-set(
    url(../images/ph_recruitment_fv1.webp) type("image/webp"),
    url(../images/ph_recruitment_fv1.jpg) type("image/jpeg")
  );
  background-image: image-set(
    url(../images/ph_recruitment_fv1.webp) type("image/webp"),
    url(../images/ph_recruitment_fv1.jpg) type("image/jpeg")
  );
  grid-row: 3 / 7;
}
.image2 {
  background-image: -webkit-image-set(
    url(../images/ph_recruitment_fv2.webp) type("image/webp"),
    url(../images/ph_recruitment_fv2.jpg) type("image/jpeg")
  );
  background-image: image-set(
    url(../images/ph_recruitment_fv2.webp) type("image/webp"),
    url(../images/ph_recruitment_fv2.jpg) type("image/jpeg")
  );
  grid-row: 3 / 7;
}
.image3 {
  background-image: -webkit-image-set(
    url(../images/ph_recruitment_fv3.webp) type("image/webp"),
    url(../images/ph_recruitment_fv3.jpg) type("image/jpeg")
  );
  background-image: image-set(
    url(../images/ph_recruitment_fv3.webp) type("image/webp"),
    url(../images/ph_recruitment_fv3.jpg) type("image/jpeg")
  );
  margin-left: min(20%, 6rem);
  grid-row: 1 / 5;
}
.image4 {
  background-image: -webkit-image-set(
    url(../images/ph_recruitment_fv4.webp) type("image/webp"),
    url(../images/ph_recruitment_fv4.jpg) type("image/jpeg")
  );
  background-image: image-set(
    url(../images/ph_recruitment_fv4.webp) type("image/webp"),
    url(../images/ph_recruitment_fv4.jpg) type("image/jpeg")
  );
  grid-row: 2 / 6;
  margin-left: min(20%, 6rem);
}
.image5 {
  background-image: -webkit-image-set(
    url(../images/ph_recruitment_fv5.webp) type("image/webp"),
    url(../images/ph_recruitment_fv5.jpg) type("image/jpeg")
  );
  background-image: image-set(
    url(../images/ph_recruitment_fv5.webp) type("image/webp"),
    url(../images/ph_recruitment_fv5.jpg) type("image/jpeg")
  );
  grid-row: 1 / 5;
  margin-left: min(20%, 6rem);
}
/*** FVアニメーション ***/
.fv-image.is-animated {
  animation: fadeIn 0.7s 0.7s forwards;
}
.fv-txt.is-animated {
  animation: slideIn 0.7s cubic-bezier(0.33, 1, 0.68, 1) forwards;
}
.fv-buttonarea.is-animated {
  animation: slideIn 0.7s 1.4s cubic-bezier(0.33, 1, 0.68, 1) forwards;
}
@keyframes fadeIn {
  0% {
    opacity: 0;
    scale: 0.9;
  }
  100% {
    opacity: 1;
    scale: 1;
  }
}
@keyframes slideIn {
  0% {
    transform: translateX(-180px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
  }
  40%,
  100% {
    opacity: 1;
  }
}
/**********************
*introduction
**********************/
.introdaction {
  position: relative;
  background: linear-gradient(
      0deg,
      rgb(255, 255, 255),
      rgb(255, 255, 255) 20%,
      rgb(0, 0, 0, 0) 20%,
      rgb(0, 0, 0, 0)
    ),
    -webkit-image-set(url(../images/back_recruitment_intro_pc.webp)
          type("image/webp"), url(../images/back_recruitment_intro_pc.jpg)
          type("image/jpeg"));
  background: linear-gradient(
      0deg,
      rgb(255, 255, 255),
      rgb(255, 255, 255) 20%,
      rgb(0, 0, 0, 0) 20%,
      rgb(0, 0, 0, 0)
    ),
    image-set(
      url(../images/back_recruitment_intro_pc.webp) type("image/webp"),
      url(../images/back_recruitment_intro_pc.jpg) type("image/jpeg")
    );
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center 70%;
  padding-top: 112px;
  text-align: center;
}
.introdaction::after {
  content: "";
  display: block;
  position: absolute;
  width: 100vw;
  height: 6px;
  background-color: #fff;
  z-index: 2;
  left: 0;
  bottom: -5px;
}
.introdaction p {
  margin-bottom: min(2%, 56px);
  font-size: 1rem;
  color: #fff;
  line-height: 2;
}
.introdaction .imagearea {
  margin-top: 112px;
  display: grid;
  justify-content: center;
  column-gap: min(3%, 72px);
  grid-template-areas:
    "a b"
    "a c"
    "a c"
    "a c"
    "d c";
}
.introdaction .introdaction-image {
  width: clamp(190px, 90%, 336px);
}
.introdaction .introdaction-image:first-of-type {
  grid-area: a;
  margin-left: auto;
}
.introdaction .introdaction-image:last-of-type {
  grid-area: c;
}
/**********************
*採用
**********************/
.head-recruitment {
  font-size: 2.3rem;
  color: #000;
  font-weight: bold;
  text-align: center;
  padding: 16px 0 56px;
}
.head-recruitment span {
  display: block;
  font-size: 1.3rem;
  color: #e5ddcd;
  font-weight: normal;
}
.section-ex {
  position: relative;
  padding-top: 80px;
  padding-bottom: 48px;
  margin-bottom: 80px;
}
.section-header {
  width: 100%;
  height: 344px;
  position: relative;
}
.section-header .tag-area {
  position: absolute;
  top: -40px;
  left: 0;
  right: 0;
  width: min(93%, 1272px);
  margin: 0 auto;
}
.section-header .tag {
  padding: clamp(8px, 3%, 16px) clamp(16px, 5%, 40px);
  background: #333;
  color: #fff;
  text-align: center;
  box-shadow: 2px 2px 4px rgb(0 0 0 / 46%);
  font-size: 1.5rem;
  display: inline-block;
}
.section-header span {
  position: absolute;
  right: 0;
  bottom: 0;
  font-size: clamp(2.5rem, 5vw, 5.5rem);
  color: #fff;
  opacity: 0.5;
  text-align: right;
  line-height: 0.7;
}
section .grid-box {
  display: grid;
  margin: 56px auto 56px;
  grid-template-columns: 2fr minmax(200px, 1fr);
  grid-template-rows: 1fr 1.5fr;
  column-gap: 10%;
  width: min(93%, 1272px);
}
.grid-box .lead-txt {
  grid-column: 1 / 2;
  font-size: max(2.6vw, 32px);
  line-height: 1;
  margin-bottom: 24px;
  display: inline-block;
  color: transparent;
  position: relative;
  transition: color 0s 0.45s;
  width: 90%;
}
.grid-box .lead-txt::after {
  background: #b92020;
  bottom: 0;
  content: "";
  display: block;
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
}
.grid-box .lead-txt.is-animated {
  color: inherit;
}
.grid-box .lead-txt.is-animated::after {
  animation: mask-bg 0.7s cubic-bezier(0.8, 0, 0.17, 1) forwards;
}

@keyframes mask-bg {
  0% {
    width: 100%;
  }
  100% {
    width: 0%;
  }
}
.grid-box .lead-txt p {
  position: relative;
  padding: clamp(24px, 3%, 56px) clamp(40px, 10%, 96px);
  font-weight: bold;
  display: inline-block;
  text-align: center;
  line-height: 1.7;
}
.grid-box .lead-txt p::before,
.grid-box .lead-txt p::after {
  content: "";
  display: block;
  border: solid 5px #b92020;
  width: 48px;
  height: 88px;
  position: absolute;
}
.grid-box .lead-txt p::before {
  border-width: 5px 0 0 5px;
  left: 0;
  top: 0;
}
.grid-box .lead-txt p::after {
  border-width: 0 5px 5px 0;
  right: 0;
  bottom: 0;
}
.grid-box .text-box {
  line-height: 1.75;
  grid-column: 1/2;
}
.grid-box .text-box p {
  margin-bottom: 16px;
  font-size: 1rem;
}
.grid-box .text-box p:last-of-type {
  margin-bottom: 40px;
}
.grid-box .text-box .txt-link {
  color: #b92022;
  font-weight: bold;
  padding-right: 10px;
  position: relative;
  padding: 0 18px 5px 8px;
  border-bottom: solid 1px #b92022;
}
.grid-box .text-box .txt-link::after {
  content: "";
  display: block;
  position: absolute;
  top: -5px;
  bottom: 0;
  right: 8px;
  margin: auto;
  width: 8px;
  height: 8px;
  border: solid 1px #b92022;
  border-width: 1px 1px 0 0;
  transform: rotate(45deg);
}
.grid-box .image-box {
  margin-top: 24%;
  width: 100%;
  grid-column: 2/3;
  grid-row: 1/3;
}
.section-ex h4 {
  font-weight: bold;
  font-size: max(2.6vw, 32px);
  width: min(88%, 1600px);
  margin-left: auto;
  line-height: 1;
  margin-bottom: -8px;
}
.section-ex h4 span {
  font-size: max(1.6vw, 24px);
  color: #e5ddcd;
  margin-left: 1rem;
  font-weight: lighter;
}
.blogarea {
  width: min(88%, 1600px);
  margin-left: auto;
  margin-bottom: 47px;
  padding-right: min(2%, 104px);
  padding-bottom: 124px;
  padding-top: 64px;
}
.blog-inner {
  display: flex;
  justify-content: flex-start;
  gap: min(5%, 88px);
  width: min(100%, 1272px);
}
.blog-inner a {
  width: min(42%, 480px);
}
.blog-card {
  width: 100%;
  background-color: #fff;
  box-shadow: 2px 2px 6px rgb(0 0 0 / 38%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-bottom: 24px;
  height: 100%;
  transform: translateY(80px);
  opacity: 0;
}

.blog-card .blog-ex {
  padding: 24px;
}
.blog-card .blog-tagarea {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
}
.blog-card .blog-tag {
  border-radius: 24px;
  background-color: #000;
  color: #fff;
  font-size: 12px;
  padding: 8px 16px;
}
.blog-card .blog-text {
  line-height: 2;
}
.blog-card .blog-link {
  text-align: right;
  color: #b92020;
  font-weight: bold;
  position: relative;
  padding-right: 40px;
  height: 40px;
  line-height: 40px;
  margin-right: 24px;
}
.blog-card .blog-link::after {
  color: #000;
  content: "→";
  display: block;
  border-radius: 50%;
  border: solid 1px #000;
  width: 24px;
  height: 24px;
  text-align: center;
  line-height: 22px;
  position: absolute;
  right: 0;
  bottom: 0;
  top: 0;
  margin: auto 0;
  font-size: 16px;
}

.section-button {
  position: absolute;
  bottom: 32px;
  left: 0;
  right: 0;
  margin: 0 auto;
  filter: drop-shadow(0 0 0 #fff) drop-shadow(0 0 0 #fff)
    drop-shadow(0 0 0 #fff);
  text-align: center;
}
.custom-btn {
  position: relative;
  width: min(60%, 520px);
  margin: 0 auto;
  padding: 8px;
  background-color: #b92020; /* 茶色っぽいベース */
  color: white;
  font-size: 1.8rem;
  font-weight: bold;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.4); /* 薄い枠線 */
  text-align: center;
  letter-spacing: 0.1em;
  filter: drop-shadow(3px 3px 2px rgb(0, 0, 0, 0.3));
}
.custom-btn span {
  border: solid 1px rgb(255 255 255 / 25%);
  padding: min(6%, 32px) 0;
  position: relative;
  width: 100%;
  text-align: center;
  display: block;
}
/* 擬似要素で右矢印を作る */
.custom-btn span::after {
  content: "";
  display: inline-block;
  position: absolute;
  right: 25px;
  top: 0;
  bottom: 0;
  margin: auto;
  width: 1rem;
  height: 1rem;
  border: solid 1px #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(-45deg);
}

/* 上の白線と縦線 */
.section-button::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 20px;
  background-color: #fff;
  z-index: 2;
}
.section-button::after {
  content: "";
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 20px;
  background-color: #b92020;
  z-index: 2;
}

/**** ブログカードアニメーション ****/
.blog1.anim-box.fadeup.is-animated {
  animation: fadeup 1.2s cubic-bezier(0.33, 1, 0.68, 1) forwards;
}
.blog2.anim-box.fadeup.is-animated {
  animation: fadeup 1.2s 0.2s cubic-bezier(0.33, 1, 0.68, 1) forwards;
}
.blog3.anim-box.fadeup.is-animated {
  animation: fadeup 1.2s 0.4s cubic-bezier(0.33, 1, 0.68, 1) forwards;
}
@keyframes fadeup {
  0% {
    transform: translateY(80px);
    opacity: 0;
  }
  80% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
/**** ボタンホバーアニメーション ****/
.section-button a:hover {
  opacity: 1;
}
.custom-btn {
  overflow: hidden;
}
.custom-btn::before {
  background-color: #fff;
  content: "";
  display: block;
  position: absolute;
  top: -100px;
  left: 0;
  width: 30px;
  height: 100%;
  opacity: 0;
  transition: cubic-bezier(0.32, 0, 0.67, 0);
}
.custom-btn:hover {
  opacity: 1;
}
.custom-btn:hover::before {
  animation: kiran 0.5s linear;
}

@keyframes kiran {
  0% {
    transform: scale(2) rotate(45deg);
    opacity: 0;
  }
  20% {
    transform: scale(20) rotate(45deg);
    opacity: 0.6;
  }
  40% {
    transform: scale(30) rotate(45deg);
    opacity: 0.4;
  }
  80% {
    transform: scale(45) rotate(45deg);
    opacity: 0.2;
  }
  100% {
    transform: scale(50) rotate(45deg);
    opacity: 0;
  }
}
/**** 新卒採用 ****/
.new-graduate-head {
  background-image: -webkit-image-set(
    url(../images/back_recruitment_new-graduate.webp) type("image/webp"),
    url(../images/back_recruitment_new-graduate.jpg) type("image/jpeg")
  );
  background-image: image-set(
    url(../images/back_recruitment_new-graduate.webp) type("image/webp"),
    url(../images/back_recruitment_new-graduate.jpg) type("image/jpeg")
  );
  background-repeat: no-repeat;
  background-size: cover;
}
.new-graduate-head .tag {
  background-color: #b92020;
}
.new-graduate .grid-box {
  grid-template-columns: 2fr minmax(200px, 1.5fr);
}
.new-graduate .grid-box .image-box {
  margin-top: 4%;
}
.new-graduate .blogarea {
  background-color: #efcece66;
}
/**** 中途採用 ****/
.mid-career-head {
  background-image: -webkit-image-set(
    url(../images/back_recruitment_mid-career.webp) type("image/webp"),
    url(../images/back_recruitment_mid-career.jpg) type("image/jpeg")
  );
  background-image: image-set(
    url(../images/back_recruitment_mid-career.webp) type("image/webp"),
    url(../images/back_recruitment_mid-career.jpg) type("image/jpeg")
  );
  background-repeat: no-repeat;
  background-size: cover;
}
.mid-career-head .tag {
  background-color: #000;
}
.mid-career .grid-box {
  grid-template-columns: minmax(220px, 1fr) 2fr;
  margin: 56px auto 56px;
}
.mid-career .lead-txt {
  grid-column: 2/3;
}
.mid-career .text-box {
  grid-column: 2/3;
}
.mid-career .image-box {
  text-align: right;
  grid-column: 1/2;
}
.mid-career h4 {
  margin-left: 0;
  margin-right: auto;
  text-align: right;
}
.mid-career .blogarea {
  margin-left: 0;
  margin-right: auto;
  background-color: #e3e3e366;
  padding-left: min(2%, 104px);
  padding-right: 0;
}
.mid-career .blog-inner {
  justify-content: flex-end;
  margin-left: auto;
}
.mid-career .blog-card {
  box-shadow: -2px 2px 6px rgb(0 0 0 / 38%);
}
.mid-career .custom-btn {
  background-color: #000;
  filter: drop-shadow(-3px 3px 2px rgb(0, 0, 0, 0.3));
}
.mid-career .section-button::after {
  background-color: #000;
}
/**** インターン ****/
.intern-head {
  background-image: -webkit-image-set(
    url(../images/back_recruitment_intern.webp) type("image/webp"),
    url(../images/back_recruitment_intern.jpg) type("image/jpeg")
  );
  background-image: image-set(
    url(../images/back_recruitment_intern.webp) type("image/webp"),
    url(../images/back_recruitment_intern.jpg) type("image/jpeg")
  );
  background-repeat: no-repeat;
  background-size: cover;
}
.intern-head .tag {
  background-color: #b7a175;
}
.intern .blogarea {
  background-color: #e2dac866;
}
.intern .custom-btn {
  background-color: #b7a175;
}
.intern .section-button::after {
  background-color: #b7a175;
}
/**********************
*footer
**********************/
footer {
  background-color: #000;
  color: #fff;
  position: relative;

  position: relative;
}
.footer-img {
  height: 368px;
  background-image: -webkit-image-set(
    url(../images/back_recruitment_footer.webp) type("image/webp"),
    url(../images/back_recruitment_footer.jpg) type("image/jpeg")
  );
  background-image: image-set(
    url(../images/back_recruitment_footer.webp) type("image/webp"),
    url(../images/back_recruitment_footer.jpg) type("image/jpeg")
  );
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center 80%;
}
.footer-linkarea {
  padding: 48px 5% 80px;
  max-width: 1080px;
  margin: 0 auto;
  z-index: 1;
}
.footer-linkarea h2 {
  margin-bottom: 48px;
  width: 168px;
}
.footer-linkarea ul {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: flex-start;
  height: calc(calc(16px + 16px) * 4);
  align-content: flex-start;
  column-gap: 40px;
}
.footer-linkarea li {
  margin-bottom: 16px;
}
.footer-linkarea li a {
  color: #fff;
}
.footer-linkarea .top-link {
  width: 48px;
  height: 48px;
  position: absolute;
  bottom: 16px;
  right: min(2%, 100px);
  z-index: 10;
  cursor: pointer;
}
footer::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 432px;
  height: 264px;
  background-image: -webkit-image-set(
    url(../images/logo_recruitment_footer.webp) type("image/webp"),
    url(../images/logo_recruitment_footer.png) type("image/png")
  );
  background-image: image-set(
    url(../images/logo_recruitment_footer.webp) type("image/webp"),
    url(../images/logo_recruitment_footer.png) type("image/png")
  );
  background-size: contain;
  background-repeat: no-repeat;
  z-index: 0;
}
/**********************
**タブレット**
**********************/
@media screen and (min-width: 641px) and (max-width: 960px) {
  .grid-box .lead-txt p {
    padding: clamp(24px, 3%, 56px) clamp(28px, 8%, 96px);
  }
  .section-ex h4 {
    width: 98%;
  }
  .blogarea {
    width: 98%;
  }
  .blog-card .blog-ex {
    padding: 8px 24px;
  }
  .blog-card .blog-tagarea {
    display: block;
    margin-bottom: 16px;
  }
  .blog-card .blog-tagarea li {
    display: inline-block;
    margin-top: 8px;
  }
  .blog-card .blog-tagarea li:first-child {
    margin-top: 0;
  }
}
/**********************
**SP**
**********************/
@media screen and (max-width: 640px) {
  .pc {
    display: none;
  }
  /*** HEADER ***/
  header {
    height: 70px;
  }
  header h1 {
    font-size: 16px;
  }
  .header-nav {
    min-height: 50dvh;
    padding: 0;
  }
  .header-nav ul {
    display: block;
  }
  .header-nav li {
    border-bottom: solid 1px #fff;
    font-size: 1.2rem;
    padding: 0;
  }
  .header-nav li:last-child {
    border: none;
  }
  .header-nav li a {
    padding: 24px 40px;
  }
  .header-nav li a::after {
    left: 16px;
  }
  .header-nav li a {
    background-image: none;
  }
  /*** FV ***/
  .fv .fv-txt {
    font-size: min(9vw, 2.4rem);
  }
  .fv-buttonarea {
    bottom: min(12%, 95px);
    display: block;
    right: 0;
    left: 0;
  }
  .fv-buttonarea .linkbtn {
    padding: min(3%, 96px) min(8%, 112px) min(3%, 96px) min(6%, 88px);
    margin: 0 auto 15px;
    width: 70%;
  }
  .fv-buttonarea .linkbtn::after {
    width: 0.5rem;
    height: 0.5rem;
  }
  .fv-image {
    grid-template-rows: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
    grid-template-columns: 1fr 1fr 1fr;
  }
  .fv-image .image-box {
    width: calc(100vw / 3.3);
    aspect-ratio: 1 / 1.9;
  }
  .fv-image .image1 {
    grid-column: 1/2;
    grid-row: 6/9;
    margin-top: -64px;
  }
  .fv-image .image2 {
    grid-column: 1/2;
    grid-row: 3/6;
  }
  .fv-image .image3 {
    grid-column: 3/4;
    grid-row: 1/4;
    margin-left: 0;
  }
  .fv-image .image4 {
    grid-column: 3/4;
    grid-row: 4/7;
    margin-left: 0;
    margin-top: -64px;
  }
  .fv-image .image5 {
    grid-column: 2/3;
    grid-row: 3/6;
    margin-left: 0;
  }
  /*** INTRODACTION ***/
  .introdaction {
    padding: 64px 16px 0;
    text-align-last: left;
    background: linear-gradient(
        0deg,
        rgb(255, 255, 255),
        rgb(255, 255, 255) 20%,
        rgb(0, 0, 0, 0) 20%,
        rgb(0, 0, 0, 0)
      ),
      -webkit-image-set(url(../images/back_recruitment_intro.webp)
            type("image/webp"), url(../images/back_recruitment_intro.jpg)
            type("image/jpeg"));
    background: linear-gradient(
        0deg,
        rgb(255, 255, 255),
        rgb(255, 255, 255) 20%,
        rgb(0, 0, 0, 0) 20%,
        rgb(0, 0, 0, 0)
      ),
      image-set(
        url(../images/back_recruitment_intro.webp) type("image/webp"),
        url(../images/back_recruitment_intro.jpg) type("image/jpeg")
      );
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
  }
  .introdaction p {
    margin-bottom: min(5%, 56px);
    font-size: 1rem;
	text-align: justify;
  }
  .introdaction .imagearea {
    margin: 96px auto 0;
  }
  .introdaction .introdaction-image {
    width: 100%;
  }
  .fix-indent {
    margin-left: -7px;
  }
  .wrp {
    word-spacing: -0.25em;
  }
  /*** RECRUITMENT ***/
  .head-recruitment {
    padding: 32px 0 48px;
    font-size: 1.4rem;
  }
  .section-ex {
    margin-bottom: 0px;
    padding-top: 50px;
    padding-bottom: 48px;
  }
  .section-header {
    height: 160px;
  }
  .section-header .tag-area {
    width: 95%;
    margin-left: 16px;
  }
  .section-header .tag {
    top: -30px;
    font-size: 1rem;
  }
  .section-header span {
    font-size: 1.4rem;
  }
  section .grid-box {
    grid-template-columns: 1.5fr minmax(100px, 1fr);
    grid-template-rows: 1fr 4fr;
    row-gap: 24px;
    column-gap: 5%;
    width: 100%;
    margin: 24px 0;
  }
  .grid-box .lead-txt {
    width: 90%;
    margin: auto;
    font-size: 1.4rem;
    grid-column: 1/3;
    grid-row: 1/2;
    line-height: 1;
    text-align: center;
  }
  .grid-box .lead-txt p {
    padding: clamp(24px, 3%, 56px) clamp(24px, 5%, 96px);
    line-height: 1.27;
  }
  .grid-box .lead-txt p::before,
  .grid-box .lead-txt p::after {
    height: 48px;
  }
  .grid-box .lead-txt p::before {
    border-width: 3px 0 0 3px;
  }
  .grid-box .lead-txt p::after {
    border-width: 0 3px 3px 0;
  }
  .grid-box .text-box {
    grid-row: 2/3;
    padding-left: 16px;
  }
  .grid-box .text-box p {
    font-size: 1rem;
    margin-bottom: 16px;
  }
  .grid-box .text-box p:last-of-type {
    margin-bottom: 24px;
  }
  .grid-box .text-box .txt-link {
    font-size: 14px;
  }
  .grid-box .image-box {
    margin-bottom: 15%;
    grid-row: 2/3;
  }
  .section-ex h4 {
    width: 95%;
    font-size: 1.4rem;
  }
  .section-ex h4 span {
    font-size: 1.2rem;
    margin-left: 0.5rem;
  }
  .blogarea {
    width: 95%;
    padding-bottom: 104px;
  }
  .blog-inner {
    display: block;
    width: 95%;
  }
  .blog-inner a {
    width: 90%;
  }
  .blog-card {
    width: 90%;
  }
  .blog-card {
    margin-bottom: 50px;
  }
  .blog-card.blog3 {
    margin-bottom: 0;
  }
  .blog-card .blog-ex {
    padding: 8px 16px;
  }
  .blog-card .blog-tagarea {
    margin-bottom: 16px;
  }
  .blog-card .blog-tag {
    font-size: 12px;
  }
  .blog-card .blog-text {
    line-height: 1.5;
  }
  .blog-card .blog-link {
    margin-right: 16px;
  }
  .section-button {
    width: 80%;
    bottom: 60px;
  }
  .blog2.anim-box.fadeup.is-animated,
  .blog3.anim-box.fadeup.is-animated {
    animation: fadeup 1.2s cubic-bezier(0.33, 1, 0.68, 1) forwards;
  }
  .custom-btn {
    font-size: 1rem;
    width: 90%;
  }
  .custom-btn span::after {
    right: 16px;
    width: 0.7rem;
    height: 0.7rem;
  }
  /*** NEW-GRADUATE ***/
  .new-graduate .grid-box {
    grid-template-columns: 1.8fr minmax(100px, 1fr);
  }
  /*** MID-CAREER ***/
  .mid-career .grid-box {
    grid-template-columns: minmax(100px, 1fr) 2fr;
  }
  .mid-career .grid-box .text-box {
    padding-left: 0;
    padding-right: 16px;
  }
  .mid-career .grid-box .image-box {
    text-align: left;
  }
  .mid-career h4 {
    text-align: left;
    margin-right: 0;
    margin-left: auto;
  }
  .mid-career .blog-card {
    margin-left: auto;
  }
  /*** INTERN ***/
  .intern .grid-box {
    grid-template-rows: 1fr 3.1fr;
    margin-bottom: 64px;
  }
  .intern .grid-box .image-box {
    height: 330px;
  }
  /*** FOOTER ***/
  .footer-img {
    height: 264px;
  }
  .footer-linkarea {
    padding: 32px 5% 80px;
  }
  .footer-linkarea ul {
    column-gap: 24px;
  }
  footer::after {
    display: none;
  }
}
