@charset "utf-8";

body {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  color: #404040;
  letter-spacing: 0.06em;
  line-height: calc(32 / 14);
  background: #EBEBEB;
}

.ff-serif {
  font-family: "Noto Serif JP", serif;
}
.ff-bebas {
  font-family: "Bebas Neue", sans-serif;
}
.ff-prom {
  font-family: "Prompt", sans-serif;
}

.hidden {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: 0.3s;
}
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

picture, img, a, span {
  display: inline-block;
}

img, svg {
  width: 100%;
  height: 100%;
}

button {
  color: inherit;
  background: transparent;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body,
h1,
h2,
h3,
h4,
h5,
h6,
ul,
ol,
dl,
li,
dt,
dd,
p,
div,
span,
img,
a,
table,
tr,
th,
td,
small,
button,
time,
figure {
  border: 0;
  margin: 0;
  padding: 0;
  vertical-align: baseline;
}

html {
  line-height: 1;
}

ol,
ul {
  list-style: none;
}

li,
dd {
  list-style-type: none;
}

header,
footer,
nav,
section,
article,
main,
aside,
figure,
figcaption {
  display: block;
}

img {
  border: none;
  vertical-align: bottom;
}

.br-sp br{
  display: none;
}
@media screen and (min-width: 768px) {
  .br-sp br{
    display: inline-block;
  }
  .br-pc br{
    display: none;
  }
}
@media screen and (min-width: 900px) {
  .br-900 br{
    display: none;
  }
}

.c-link {
  text-decoration: underline !important;
}
.c-link:hover {
  text-decoration: underline !important;
  opacity: 0.7;
}
.c-link2 a{
  text-decoration: underline !important;
}
.c-link a:hover {
  text-decoration: underline !important;
  opacity: 0.7;
}

.l-inner {
  width: 100%;
  max-width: 600px;
  padding: 0 20px;
  margin: 0 auto;
  position: relative;
  line-height: normal !important;
}
  .l-inner__large {
   max-width: 100%;
  }
@media screen and (min-width: 768px) {
  .l-inner {
    max-width: 900px;
    height: inherit;
    padding: 0 100px;
  }
  .l-inner__large {
    padding: 0 40px;
  }
  .l-inner__153 {
  padding: 0 100px;
  }
    .l-inner__153-large {
     padding: 0 80px;
  }
}
@media screen and (min-width: 1024px) {
  .l-inner {
    max-width: 1366px;
  }
    .l-inner__153 {
  padding: 0 153px;
  }
    .l-inner__153-large {
     padding: 0 153px;
  }
}
@media screen and (min-width: 1300px) {
    .l-inner__large {
    padding: 0 100px;
  }
}

.title-wrap {
  width: fit-content;
  text-align: center;
  margin: 0 auto;
}
.title-wrap__left {
  text-align: left;
  margin: 0 auto 0 0;
}
.title-sub {
  font-size: 64px;
  letter-spacing: 0.05em;
  line-height: calc(49 / 64);
  font-weight: 700;
  text-transform: uppercase;
  font-family: "Bebas Neue", sans-serif;
  border-bottom: 1.5px solid;
}
.title-main {
  margin-top: 10px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: calc(24 / 16);
}

.button {
  width: 238px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  padding: 4px 50px 19px 0;
  text-align: left;
  flex-shrink: 0;
  position: relative;
}
.button p {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1;
  color: #F4F4F4;
  text-decoration: none;
}
.button::after {
  content: "";
  position: absolute;
  top: -4px;
  right: 0;
  background: url('../images/icon-arrow.svg') center / contain no-repeat;
  width: 30px;
  height: 30px;
  transition: right 0.3s;
}
.button:hover::after {
  right: -5px;
}
.button-black {
  width: 142px;
  border-bottom: 1px solid rgba(64, 64, 64, 0.5);
}
.button-black p {
  color: #404040;
}
.button-black::after {
  background: url('../images/icon-arrow-black.svg') center / contain no-repeat;
}

.bg-text__wrap {
  display: flex;
  gap: 50px;
  width: 100%;
  position: absolute;
}
.bg-text {
  flex-shrink: 0;
  width: auto;
  height: 100%;
  animation: infinity-scroll-left 50s infinite linear 0.5s both;
}
.top-about__bg-text {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 457px;
}
.top-recruit__bg-text {
  top: -45px;
  left: 50%;
  transform: translateX(-50%);
  height: 500px;
}
.footer__bg-text {
  top: 43px;
  left: 50%;
  transform: translateX(-50%);
  height: 274px;
}
@keyframes infinity-scroll-left {
  from {
    transform: translateX(0%);
  }
  to {
    transform: translateX(-100%);
  }
}

.c-head {
  padding: 254px 0 110px;
  background: #1D1D1D;
  color: #FFFFFF;
  position: relative;
}
@media screen and (min-width: 550px) {
  .c-head {
    padding: 254px 0 210px;
  }
}
@media screen and (min-width: 900px) {
  .c-head {
    padding: 263px 0 306px;
  }
}

.c-breadcrumb {
  position: absolute;
  top: 106px;
  right: 20px;
  display: flex;
  align-items: center;
  font-size: 13px;
  color: #fff;
  font-weight: 300;
  letter-spacing: 0.06em;
  gap: 17px;
  z-index: 91;
}
@media screen and (min-width: 768px) {
  .c-breadcrumb {
    right: 62px;
  }
}

.c-breadcrumb a {
  transition: text-decoration 0.3s
}
.c-breadcrumb a:hover {
  text-decoration: underline;
}

.c-breadcrumb__border {
  width: 22px;
  height: 1px;
  background:#333333;
}

.c-head__title-wrap {
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
  text-transform: uppercase;
  margin-left: 20px;
  z-index: 0;
}
@media screen and (min-width: 768px) {
  .c-head__title-wrap {
    margin-left: 100px;
  }
}

.c-head__text-deco {
  position: absolute;
  top: 50%;
  transform: translateY(-43%);
  left: 0;
  font-family: "Bebas Neue", sans-serif;
  font-size: 110px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: calc(292 / 272);
  color: #000000;
  z-index: -1;
}
@media screen and (min-width: 768px) {
  .c-head__text-deco {
    font-size: 220px;
    left: -100px;
  }
}
@media screen and (min-width: 900px) {
  .c-head__text-deco {
    font-size: 272px;
  }
}

.c-head__title-sub {
  font-size: 16px;
  line-height: calc(24 / 16);
  font-weight: 700;
  letter-spacing: 0;
  display: flex;
  align-items: center;
  gap: 20px;
      transform: translateY(-13px);

  &:before {
    content: "";
    background: #FFFFFF;
    width: 1px;
    height: 50px;
  }
}

.c-head__title-main {
  font-family: "Bebas Neue", sans-serif;
  font-size: 40px;
  line-height: calc(60 / 64);
  letter-spacing: 0.05em;
  font-weight: 700;
}
@media screen and (min-width: 768px) {
  .c-head__title-main {
    font-size: 64px;
  }
}

.c-head__img {
  position: absolute;
  bottom: -80px;
  left: 0;
  aspect-ratio: 300 / 130;
  width: 90%;
  overflow: hidden;
}
@media screen and (min-width: 500px) {
  .c-head__img {
    bottom: -140px;
  }
}
@media screen and (min-width: 1024px) {
  .c-head__img {
    aspect-ratio: 1138 / 425;
    max-width: 1138px;
  }
}
.c-head__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.c-head__img::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  opacity: 0.15;
  pointer-events: none;
}

.c-head__text {
  display: none;
}
@media screen and (min-width: 600px) {
  .c-head__text {
    display: block;
    padding: 0 0 0 0;
    color: #F4F4F4;
    font-size: 12px;
    letter-spacing: 0;
    line-height: 17px;
    display: block;
    writing-mode: vertical-rl;
    position: absolute;
    top: 166px;
    right: 33px;
  }
}
@media screen and (min-width: 900px) {
  .c-head__text {
    top: 166px;
    right: 70px;
  }
}

.c-tag {
  padding: 5px 7px 6px;
  background: #404040;
  color: #fff;
  border-radius: 12px;
  font-size: 12px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: 0.08em;
  width: fit-content;
}


.c-category > .webgene-blog {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 40px;
  justify-content: start;
}
@media screen and (min-width: 1024px) {
  .c-category > .webgene-blog {
    margin-bottom: 70px;
  }
}

.c-cat {
  min-width: 160px;
  background: #8D8D8D;
  border-radius: 50vmax;
  padding: 18px 20px;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.05em;
  color: #FFFFFF;
  transition: background 0.3s;
}
.c-cat:hover {
  background: #404040;
  color: #fff;
}
.c-cat.is-active {
  background: #404040;
}

.webgene-pagination {
  margin-top: 20px;
  font-size: 14px;
  justify-self: center;
  grid-column: 1 / -1;
}
@media screen and (min-width: 768px) {
  .webgene-pagination {
    margin-top: 35px;
  }
}

.webgene-pagination a:hover {
  opacity: 0.7;
}

.webgene-pagination ul {
  display: flex;
  list-style: none;
  gap: 10px;
  padding-inline-start: 0;
  justify-content: center;
  align-items: center;
}

.webgene-pagination ul .number a {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  line-height: 1;
  border-radius: 50%;
  background-color: #F8F8F8;
  color: #4B4B4B;
}

.webgene-pagination ul .number.selected a {
  background: #A2261F;
  color: #fff;
  border-radius: 50%;
}

li.next,
li.prev {
  position: relative;
}

li.next a,
li.prev a{
  height: 40px;
  width: 40px;
  padding: 2px;
  position: relative;
}

li.prev:after,
li.next:after {
  pointer-events: none;
  content: "";
  position: absolute;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
}

li.prev:after {
  background-image: url("../images/prev.svg");
  left: 0;
}
li.next:after {
  background-image: url("../images/next.svg");
  right: 0;
}

@media screen and (min-width: 768px) {
  li.next {
    margin-left: 30px;
  }
  li.prev {
    margin-right: 30px;
  }

  li.next a,
  li.prev a{
    margin-top: 3px;
    color: #283B54;
    width: auto;
    padding-block: 10px;
    z-index: 10;
    line-height: 1;
  }
  li.prev a {
    padding-left: 48px;
  }
  li.next a {
    padding-right: 48px;
  }

  li.prev:after,
  li.next:after {
    pointer-events: auto;
  }
}

.detail-box {
  background: #fff;
  border-radius: 10px;
  padding: 40px 23px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
  max-width: 1078px;
  margin-inline: auto;
}
@media screen and (min-width: 768px) {
  .detail-box {
    padding: 40px 43px 58px;
  }
}
@media screen and (min-width: 1024px) {
  .detail-box {
    padding: 93px 76px 98px;
  }
}
.detail-box__bg {
  background: #F8F8F8;
  padding: 0;
}
@media screen and (min-width: 768px) {
  .detail-box__bg {
    padding: 78px 44px;
  }
}

.post-ttl {
  margin-top: 30px;
  font-size: 18px;
  line-height: 1.6;
  letter-spacing: 0.06em;
  font-weight: 400;
  padding: 0 0 16px 25px;
  border-bottom: 1.5px solid #D0D0D0;
  position: relative;
}
@media screen and (min-width: 768px) {
  .post-ttl {
    margin-top: 50px;
    padding: 0 0 16px 33px;
  }
}
@media screen and (min-width: 1200px) {
  .post-ttl {
    font-size: 22px;
  }
}

.post-ttl::before {
  content: "";
  position: absolute;
  background: #A2261F;
  width: 8px;
  height: 67%;
  top: 40%;
  transform: translateY(-50%);
  left: 2px;
}

.post-detail__content span {
  display: block;
  margin-inline: auto;
}

.post-detail__content img,
.detail img{
  margin: 40px auto 10px;
  max-width: 550px;
  margin-inline: auto;
  display: block;
  height: auto;
}
@media screen and (min-width: 768px) {
  .post-detail__content img,
  .detail img{
    margin: 81px auto 84px;
    width: min(100%, 594px);
  }
}
.post-detail__content img,
.detail img{
  object-fit: cover;
}

.detail-text {
  padding-block: 32px 60px;
  font-weight: 400;
}
@media screen and (min-width: 768px) {
  .detail-text {
    padding-block: 44px 80px;
  }
}

.post-detail__content h2 {
  margin-top: 53px;
  font-size: 18px;
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 35px;
}
@media screen and (min-width: 768px) {
  .post-detail__content h2 {
    gap: 17px;
  }
}

.post-detail__content h2::before {
  content: "";
  background: #A2261F;
  border-radius: 3px;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.post-detail__content h3 {
  margin-top: 83px;
  font-size: 18px;
  letter-spacing: 0.06em;
  padding-bottom: 12px;
  border-bottom: 1.5px solid #A2261F;
  margin-bottom: 40px;
}

.detail__btn {
  display: block;
  margin-inline: auto;
  border: 1px solid transparent;
  width: 183px;
  background: #A2261F;
  border: 1px solid #A2261F;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
  text-align: center;
  padding: 14px;
  border-radius:40px;
}
.detail__btn:hover {
  color: #A2261F;
  background: #fff;
}