/* Default Options */
/* Media Query */
/* Transform Font Size */
/* --------------------------------- */
.l-header-logo svg {
  fill: var(--bg-color);
}
.l-header-menu {
  border: 1px solid var(--bg-color);
  box-sizing: border-box;
}
.l-header-menu:before {
  background-color: var(--bg-color);
}
.l-header-menu .text {
  color: var(--bg-color);
}
.l-header-nav a {
  color: var(--bg-color);
}
.l-header-nav a.dropdown:before, .l-header-nav a.dropdown:after {
  background-color: var(--bg-color);
}
.l-header-other .item .button {
  border-color: var(--bg-color);
  color: var(--bg-color);
}
.l-header-other .item .button .icon {
  background-color: var(--bg-color);
}
.l-header-other .item .button .icon svg {
  fill: var(--text-color);
}
[data-dropdown-open=group] .l-header-other .item .button {
  background-color: var(--bg-color);
  color: var(--text-color);
}
[data-dropdown-open=group] .l-header-other .item .button .icon {
  background-color: var(--text-color);
}
[data-dropdown-open=group] .l-header-other .item .button .icon svg {
  fill: var(--bg-color);
}

.onScroll .l-header-menu {
  border: 1px solid transparent;
}
.onScroll .l-header-menu:before {
  background-color: var(--text-color);
}
.onScroll .l-header-menu .text {
  color: var(--text-color);
}
.onScroll .l-header-nav a {
  color: var(--text-color);
}
.onScroll .l-header-nav a.dropdown:before, .onScroll .l-header-nav a.dropdown:after {
  background-color: var(--text-color);
}
.onScroll .l-header-other .item .button {
  border-color: var(--text-color);
  color: var(--text-color);
}
.onScroll .l-header-other .item .button .icon {
  background-color: var(--text-color);
}
.onScroll .l-header-other .item .button .icon svg {
  fill: var(--bg-color);
}

.l-wrapper {
  display: flex;
  flex-direction: column;
  background-color: #e6e6e6;
}

/* --------------------------------- */
.p {
  /* keyvisual */
  /* news */
  /* service */
  /* other */
}
.p-first {
  padding-block-end: var(--space-md);
  padding-inline: var(--space-xs);
  display: flex;
  flex-direction: column;
  gap: var(--space-xxs);
  position: relative;
  z-index: 0;
  overflow: hidden;
}
.p-keyvisual {
  width: 100%;
  height: 100svh;
  margin-block-end: var(--space-sm);
  display: flex;
  align-items: end;
  position: relative;
  z-index: 1;
  mix-blend-mode: difference;
}
.p-keyvisual .inner {
  padding-block: clamp(40px, 5vw, 80px);
  padding-inline: var(--contents-inner-padding);
  display: flex;
  flex-direction: column;
  gap: clamp(30px, 3vw, 40px);
  position: relative;
  z-index: 1;
  font-weight: 600;
  color: var(--bg-color);
}
.p-keyvisual .en {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: clamp(2.25rem, 0.4090909091rem + 5.1136363636vw, 4.5rem);
  line-height: 0.9;
}
.p-keyvisual .jp {
  font-size: clamp(0.875rem, 0.5681818182rem + 0.8522727273vw, 1.25rem);
  line-height: 1.4;
}
.p-keyvisual span {
  display: inline-block;
}
.p-keyvisual-image {
  width: 100%;
  height: 100%;
  background-color: #e6e6e6;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
}
.p-keyvisual-image img {
  width: 100%;
  height: auto;
}
.p-keyvisual-image .inner {
  height: 120svh;
}
.p-news-sec {
  padding-inline: var(--contents-inner-padding);
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 20px;
  position: relative;
  z-index: 2;
}
.p-news-sec__title {
  mix-blend-mode: difference;
  position: relative;
  z-index: 3;
}
.p-news-sec__title a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  line-height: 1.4;
}
.p-news-sec__title a:before {
  content: "";
  width: 1px;
  height: 16px;
  display: block;
  background-color: var(--bg-color);
  opacity: 0.2;
  order: 2;
  mix-blend-mode: difference;
}
.p-news-sec__title .logo {
  order: 0;
  mix-blend-mode: difference;
}
.p-news-sec__title .logo svg {
  fill: var(--bg-color);
}
.p-news-sec__title .jp {
  font-size: 0.875rem;
  font-weight: 600;
  order: 1;
  color: rgb(255, 255, 255);
}
.p-news-sec__title .en {
  font-size: 0.9375rem;
  font-weight: 500;
  order: 3;
  color: rgb(255, 255, 255);
}
.p-news-sec__title .c-arrow {
  margin-inline-start: auto;
  order: 4;
}
.p-news-l {
  width: 100%;
}
.p-news-l ul {
  padding: 0;
  list-style: none;
}
.p-news-l li {
  background-color: var(--bg-color);
  border-radius: 5px;
}
.p-news-l a {
  width: 100%;
  height: clamp(220px, 20vw, 240px);
  padding: clamp(20px, 2vw, 30px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  box-sizing: border-box;
  transition: var(--hover-animation-speed);
}
.p-news-l a:hover {
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}
.p-news-l-head {
  display: flex;
  align-items: center;
  gap: 10px;
}
.p-news-l-head .date {
  font-size: 0.75rem;
}
.p-news-l-head .category {
  height: 24px;
  padding-inline: 5px;
  display: flex;
  align-items: center;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 3px;
  font-size: 0.75rem;
  font-weight: 500;
  transition: var(--hover-animation-speed);
}
a:hover .p-news-l-head .category {
  background-color: rgba(0, 0, 0, 0.08);
}

.p-news-l p {
  font-size: clamp(0.9375rem, 0.8863636364rem + 0.1420454545vw, 1rem);
  font-weight: 500;
}
@media screen and (min-width: 576px) {
  .p-news-sec__title .c-arrow {
    margin-inline-start: 40px;
  }
}
.p-service {
  padding-block: var(--space-md);
  padding-inline: var(--space-xs);
  display: grid;
  grid-template-columns: var(--grid-column-guide);
  grid-template-rows: repeat(3, auto);
  column-gap: var(--space-xxs);
  row-gap: var(--space-sm);
  background-color: rgb(23, 23, 23);
  position: relative;
}
.p-service__title {
  grid-area: 1/1/2/13;
  display: grid;
  grid-template-columns: clamp(24px, 3vw, 40px) 1fr;
  grid-template-rows: repeat(3, auto);
  column-gap: 10px;
  row-gap: 5px;
}
.p-service__title svg {
  grid-area: 1/1/2/2;
  fill: var(--bg-color);
}
.p-service__title .jp,
.p-service__title .en {
  line-height: 1;
  color: var(--bg-color);
}
.p-service__title .jp {
  font-size: clamp(2rem, 1.1818181818rem + 2.2727272727vw, 3rem);
  grid-area: 1/2/2/3;
}
.p-service__title .en {
  font-size: clamp(1rem, 0.7954545455rem + 0.5681818182vw, 1.25rem);
  font-weight: 500;
  grid-area: 2/2/3/3;
}
.p-service-image {
  margin-block-end: 10vw;
  grid-area: 2/1/3/8;
  aspect-ratio: 3/4;
  border-radius: 5px;
  overflow: hidden;
}
.p-service-wrap {
  grid-area: 2/9/3/13;
  display: grid;
  column-gap: var(--space-xxs);
  justify-content: space-between;
  align-items: end;
}
.p-service-wrap .item02,
.p-service-wrap .item03 {
  aspect-ratio: 3/4;
  border-radius: 5px;
  overflow: hidden;
}
.p-service-wrap .item02 img,
.p-service-wrap .item03 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.p-service-wrap .item02 {
  display: none;
}
.p-service-inner {
  grid-area: 3/1/4/13;
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: var(--space-xs);
}
.p-service-inner p {
  font-size: clamp(1rem, 0.7954545455rem + 0.5681818182vw, 1.25rem);
  font-weight: 500;
  color: var(--bg-color);
}
@media screen and (min-width: 992px) {
  .p-service__title {
    grid-area: 1/1/2/13;
  }
  .p-service-image {
    margin-block-end: 0;
    grid-area: 2/1/4/7;
  }
  .p-service-wrap {
    grid-area: 3/9/4/13;
    grid-template-columns: repeat(8, 1fr);
  }
  .p-service-wrap .item02 {
    display: block;
    grid-column: 1/4;
  }
  .p-service-wrap .item03 {
    margin-block-end: 5vw;
    grid-column: 5/9;
  }
  .p-service-inner {
    grid-area: 2/9/3/13;
  }
}
.p-other {
  width: 100%;
  padding-block: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--grid-gap);
  padding-inline: var(--contents-inner-padding);
  box-sizing: border-box;
}
.p-other-sec {
  background-color: var(--bg-color);
  border-radius: 5px;
}
.p-other-sec__title a {
  display: grid;
  grid-template-columns: repeat(2, auto);
  grid-template-rows: auto;
  justify-content: space-between;
  align-items: center;
  gap: 5px;
  padding-block: clamp(30px, 3vw, 40px);
  padding-inline: clamp(20px, 2vw, 30px);
  text-decoration: none;
  line-height: 1.2;
}
.p-other-sec__title .jp {
  grid-area: 1/1/2/2;
  font-size: clamp(1.125rem, 1.0227272727rem + 0.2840909091vw, 1.25rem);
  font-weight: 600;
}
.p-other-sec__title .en {
  grid-area: 2/1/3/2;
  font-size: clamp(0.75rem, 0.6477272727rem + 0.2840909091vw, 0.875rem);
  font-weight: 500;
}
.p-other-sec__title .c-arrow {
  grid-area: 1/2/3/3;
}
.p-other-recruit a {
  padding-block-start: 5px;
  display: flex;
  flex-direction: column;
  background-color: #005be5;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
}
.p-other-recruit-image {
  display: grid;
  grid-template-rows: repeat(2, 1fr);
  gap: 5px;
}
.p-other-recruit-image .wrap {
  display: flex;
  column-gap: 5px;
}
.p-other-recruit-image .wrap .list {
  display: flex;
  gap: 5px;
  padding-inline: 0;
  list-style: none;
  animation: inline-scroll 80s infinite linear 0.5s both;
}
.p-other-recruit-image .wrap .list li {
  min-width: 30vw;
  aspect-ratio: 1/1;
  border-radius: 10px;
  overflow: hidden;
}
.p-other-recruit-image .wrap.reverse .list {
  animation-direction: reverse;
}
.p-other-recruit-inner {
  padding-block: var(--space-sm);
  padding-inline: var(--space-xxs);
  display: flex;
  justify-content: center;
}
.p-other-recruit-inner .inner {
  min-width: 280px;
  width: 40vw;
  display: flex;
  flex-direction: column;
  align-items: start;
  row-gap: var(--space-xs);
}
.p-other-recruit-inner .c-button {
  border-color: var(--bg-color);
  color: var(--bg-color);
}
a:hover .p-other-recruit-inner .c-button {
  border-color: var(--bg-color);
  background-color: var(--bg-color);
  color: #005be5;
}
a:hover .p-other-recruit-inner .c-button .c-icon-arrow {
  background-color: #005be5;
}
a:hover .p-other-recruit-inner .c-button .c-icon-arrow svg {
  fill: var(--bg-color);
}

.p-other-l {
  padding: 0;
  list-style: none;
}
.p-other-l li {
  border-block-start: 1px solid rgba(0, 0, 0, 0.15);
}
.p-other-l li a {
  padding-block: 10px;
  padding-inline: clamp(20px, 2vw, 30px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: clamp(0.9375rem, 0.8863636364rem + 0.1420454545vw, 1rem);
  font-weight: 500;
  text-decoration: none;
  transition: var(--hover-animation-speed);
}
.p-other-l li a:hover {
  background-color: rgba(0, 0, 0, 0.05);
}
@media screen and (min-width: 992px) {
  .p-other {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  .p-other-sec.company {
    grid-area: 1/1/2/2;
  }
  .p-other-sec.ir {
    grid-area: 1/2/2/3;
  }
  .p-other-recruit {
    grid-area: 2/1/3/3;
  }
  .p-other-recruit a {
    width: 100%;
    height: calc(320px + 15vw);
    aspect-ratio: 16/6;
    padding-block: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
  }
  .p-other-recruit-image {
    height: calc(320px + 15vw);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 10px;
    padding-inline: clamp(20px, 3vw, 30px);
  }
  .p-other-recruit-image .wrap {
    display: flex;
    flex-direction: column;
    row-gap: 10px;
  }
  .p-other-recruit-image .wrap .list {
    display: flex;
    flex-direction: column;
    row-gap: 10px;
    animation: inline-scroll-y 80s infinite linear 0.5s both;
  }
  .p-other-recruit-image .wrap .list li {
    min-width: auto;
  }
  .p-other-recruit-inner .inner {
    min-width: 0;
    width: 30vw;
  }
  .p-other-recruit-inner .c-button {
    border-color: var(--bg-color);
    color: var(--bg-color);
  }
}

@keyframes inline-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}
@keyframes inline-scroll-y {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-100%);
  }
}
/* --------------------------------- */