@charset "UTF-8";

/* business */

.p-business {
  padding-top: clamp(80px, 9.765625vw, 100px);
}

.p-business__top {
  padding-bottom: clamp(60px, 8.59375vw, 88px);
}

.p-business__top-head {
  padding-bottom: clamp(60px, 8.10546875vw, 83px);
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin-inline: auto;
}

.p-business__top-body {
  padding-top: clamp(32px, 5.7291666667vw, 44px);
  border-top: 1px solid #cfcfcf;
}

.p-business__body-title {
  color: #333333;
  font-size: clamp(20px, 2.1484375vw, 22px);
  line-height: 0.9090909091;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.p-business__body-items {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 3.90625vw, 30px);
}
@media screen and (min-width:1024px) {
  .p-business__body-items {
    grid-template-columns: repeat(4, 1fr);
  }
}

.p-business__body-item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding-block: 28px;
  padding-inline: 20px;
  color: #ffffff;
  font-size: clamp(14px, 1.3333333333vw, 16px);
  line-height: 1.25;
  letter-spacing: 0.08em;
  font-weight: 600;
  text-align: center;
  background: -webkit-gradient(linear, left top, right top, from(#31abed), to(#0056cf));
  background: linear-gradient(90deg, #31abed 0%, #0056cf 100%);
  border-radius: 5px;
}

.p-service {
  padding-top: clamp(80px, 10.9375vw, 112px);
  padding-top: clamp(80px, 12.3046875vw, 126px);
}


.p-service__section:nth-child(2n) {
  background: #ecf6fc;
}
.p-service__section:nth-child(2n+1) {
  background: #f6fcff;
}
.p-service__section:nth-child(2n+1) .p-service__point-title {
  background: #ecf6fc;
}
.p-service__section:nth-child(2n+1) .p-service__head-tag {
  background: #ECF6FC;
}



.p-service__top {
  padding-bottom: clamp(32px, 4.1666666667vw, 50px);
  display: grid;
  grid-template-columns: repeat(2, auto);
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  gap: 32px;
  border-bottom: 1px solid #cfcfcf;
}
.p-service__top .c-page__desc {
  max-width: 406px;
  margin-left: auto;
}

.p-service__wrap {
  padding-top: clamp(60px, 8.10546875vw, 83px);
  padding-bottom: clamp(40px, 8.59375vw, 66px);
}

.p-service__head-meta {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 13px;
}

.p-service__head-en {
  font-family: "Montserrat", sans-serif;
  color: #0056CF;
  font-size: 14px;
  line-height: 0.7142857143;
  font-weight: 500;
}

.p-service__head-tag {
  padding: 6px 5px;
  color: #151515;
  font-size: 13px;
  line-height: 0.7692307692;
  letter-spacing: 0.03em;
  font-weight: 500;
  background: #ffffff;
  border-radius: 5px;
}

.p-service__head-title {
  margin-top: 17px;
  font-size: clamp(18px, 2.1484375vw, 22px);
  line-height: 0.9090909091;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.p-service__head-text {
  margin-top: 23px;
  font-size: clamp(13px, 1.8229166667vw, 14px);
  line-height: 2.1428571429;
  letter-spacing: 0.03em;
  font-weight: 500;
  max-width: 420px;
}
@media screen and (min-width:1024px) {
  .p-service__head-text {
    max-width: 277px;
  }
}

@media screen and (min-width:1024px) {
  .p-service__content {
    margin-top: 6px;
  }
}

.p-service__content-img {
  width: min(780px, 100%);
  aspect-ratio: 780/450;
  max-height: 450px;
  border-radius: 5px;
}
.p-service__content-img img {
  border-radius: 5px;
}

.p-service__content-title {
  margin-top: clamp(28px, 4.5572916667vw, 35px);
  color: #0056CF;
  font-size: clamp(18px, 2.8645833333vw, 22px);
  line-height: 0.9090909091;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.p-service__content-text {
  margin-top: clamp(32px, 5.9895833333vw, 46px);
  font-size: clamp(13px, 1.8229166667vw, 14px);
  line-height: 2.1428571429;
  letter-spacing: 0.03em;
  font-weight: 500;
}
@media screen and (min-width:1024px) {
  .p-service__content-text {
    max-width: 631px;
  }
}

.p-service__point-title {
  margin-top: clamp(48px, 6.73828125vw, 69px);
  margin-bottom: 5px;
  padding-block: 17px;
  padding-left: 50px;
  padding-right: 20px;
  color: #333333;
  font-size: clamp(17px, 2.1484375vw, 22px);
  line-height: 0.9090909091;
  letter-spacing: 0.08em;
  font-weight: 500;
  background: #ffffff;
  border-radius: 5px;
  position: relative;
}
.p-service__point-title::before {
  content: "";
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  left: 20px;
  width: 10px;
  aspect-ratio: 1/1;
  background: #0056CF;
  border-radius: 50%;
}

.p-service__item {
  padding-block: clamp(48px, 5vw, 60px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media screen and (min-width:768px) {
  .p-service__item {
    grid-template-columns: auto auto;
    -webkit-box-align: end;
        -ms-flex-align: end;
            align-items: end;
    max-width: 780px;
    margin-inline: auto;
  }
}
@media screen and (min-width:1024px) {
  .p-service__item {
    grid-template-columns: clamp(210px, 28.5505124451vw, 390px) clamp(200px, 25.2562225476vw, 345px);
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    margin-inline: 0;
  }
}
.p-service__item:nth-of-type(n + 2) {
  border-top: 1px solid #cfcfcf;
}

@media screen and (min-width:768px) {
  .p-service__item-texts {
    max-width: 390px;
  }
}

.p-service__item-title {
  color: #0056CF;
  font-size: clamp(18px, 2.8645833333vw, 22px);
  line-height: 0.9090909091;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.p-service__item-text {
  margin-top: clamp(24px, 4.6875vw, 36px);
  font-size: clamp(13px, 1.8229166667vw, 14px);
  line-height: 2.1428571429;
  letter-spacing: 0.03em;
  font-weight: 500;
}

.p-service__item-num {
  font-family: "Bebas Neue", serif;
  color: rgba(49, 171, 237, 0.2);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: end;
  -webkit-box-align: baseline;
      -ms-flex-align: baseline;
          align-items: baseline;
  gap: 4px;
  max-height: 149px;
}
@media screen and (min-width:1024px) {
  .p-service__item-num {
    margin-top: -30px;
    margin-right: -12px;
  }
}
.p-service__item-num .text-en {
  font-size: clamp(32px, 4.8828125vw, 50px);
  line-height: 1;
  letter-spacing: 0.1em;
  font-weight: 700;
}
.p-service__item-num .text-num {
  font-size: clamp(80px, 15.625vw, 160px);
  line-height: 1.25;
  font-weight: 700;
  max-height: 149px;
}

.p-service__item-img {
  width: min(345px, 100%);
  aspect-ratio: 345/310;
  border-radius: 5px;
  -webkit-box-ordinal-group: 0;
      -ms-flex-order: -1;
          order: -1;
}
@media screen and (min-width:768px) {
  .p-service__item-img {
    -webkit-box-ordinal-group: 1;
        -ms-flex-order: 0;
            order: 0;
  }
}
.p-service__item-img img {
  border-radius: 5px;
}


/* indi */

.p-indi .p-business__top-head {
  padding-bottom: 12px;
}




/* recruit */

.p-recruit {
  padding-top: clamp(80px, 13.0208333333vw, 100px);
}

.p-recruit__top {
  padding-bottom: clamp(80px, 11.71875vw, 120px);
}

.p-recruit__top-head {
  padding-bottom: clamp(60px, 9.765625vw, 100px);
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin-inline: auto;
}

.p-recruit__top-lead {
  color: #333333;
  font-size: clamp(16px, 1.7578125vw, 18px);
  line-height: 1.1111111111;
  letter-spacing: 0.08em;
  font-weight: 700;
  text-align: center;
}

.p-recruit__top-main {
  margin-top: 23px;
  color: #0056CF;
  font-size: clamp(22px, 3.7109375vw, 38px);
  line-height: 1.3157894737;
  letter-spacing: 0.08em;
  font-weight: 700;
  text-align: center;
}

.p-recruit__top-text {
  margin-top: 27px;
  font-size: clamp(13px, 1.8229166667vw, 14px);
  line-height: 2.1428571429;
  letter-spacing: 0.03em;
  font-weight: 500;
}
@media screen and (min-width:768px) {
  .p-recruit__top-text {
    text-align: center;
  }
}

.p-recruit__item-wrap {
   padding-top: clamp(32px, 5.2083333333vw, 40px);
  border-top: 1px solid #cfcfcf;
}

.p-recruit__item-head {
  color: #333333;
  font-size: clamp(18px, 2.1484375vw, 22px);
  line-height: 0.9090909091;
  letter-spacing: 0.08em;
  font-weight: 700;
}
.p-recruit__item-head.item-head-second {
  margin-top: clamp(32px, 5vw, 60px);
}

.p-recruit__items {
  margin-top: 33px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}
@media screen and (min-width:768px) {
  .p-recruit__items {
    grid-template-columns: repeat(3, 1fr);
  }
}

.p-recruit__item {
  width: 100%;
  max-width: 480px;
  position: relative;
  margin-inline: auto;
}
@media screen and (min-width:768px) {
  .p-recruit__item {
    max-width: 360px;
    margin-inline: 0;
  }
}
@media (any-hover: hover) {
  .p-recruit__item:hover {
    opacity: 1;
  }
  .p-recruit__item:hover .p-recruit__item-img img {
    scale: 1.1;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
  }
}

.p-recruit__item-title {
  position: absolute;
  bottom: clamp(12px, 2vw, 24px);
  left: clamp(12px, 2vw, 24px);
  padding-block: clamp(3px, 0.78125vw, 6px);
  padding-inline: clamp(5px, 1.3020833333vw, 10px);
  color: #333333;
  font-size: clamp(14px, 1.5vw, 18px);
  line-height: 1.1111111111;
  letter-spacing: 0.08em;
  font-weight: 600;
  background: #ffffff;
  border-radius: 5px;
  z-index: 2;
}

.p-recruit__item-img {
  width: min(100%, 480px);
  aspect-ratio: 36/28;
  border-radius: 5px;
  overflow: hidden;
}
.p-recruit__item-img img {
  border-radius: 5px;
}
@media screen and (min-width:768px) {
  .p-recruit__item-img {
    max-width: 360px;
  }
}

.p-per {
  padding-top: clamp(80px, 9.1666666667vw, 110px);
  padding-bottom: clamp(80px, 10vw, 120px);
  background: #ecf6fc;

}

.p-per__items {
  max-width: 780px;
}
@media screen and (min-width:1024px) {
  .p-per__items {
    margin-top: clamp(24px, 3.4407027818vw, 47px);
  }
}

.p-per__item {
  padding: 24px 25px;
  background: #ffffff;
  border-radius: 5px;
  display: grid;
  grid-template-columns: 103px 1fr;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.p-per__item + .p-per__item {
  margin-top: 14px;
}

.p-per__item-num {
  padding-left: 22px;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  font-family: "Montserrat", sans-serif;
  color: #31ABED;
  font-size: 14px;
  line-height: 0.7142857143;
  font-weight: 500;
  position: relative;
  border-right: 1px solid #CFCFCF;
}
.p-per__item-num::before {
  content: "";
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  left: 0;
  width: 10px;
  aspect-ratio: 1/1;
  background: #0056CF;
  border-radius: 50%;
}

.p-per__item-text {
  padding-left: clamp(16px, 2.8333333333vw, 34px);
  font-size: clamp(15px, 1.3333333333vw, 16px);
  line-height: 1.875;
  letter-spacing: 0.03em;
  font-weight: 500;
}

.p-staff {
  padding-block: clamp(80px, 10vw, 120px);
  background: #F6FCFF;
}

.p-staff__items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media screen and (min-width:768px) {
  .p-staff__items {
    grid-template-columns: 1fr;
    gap: 0;
  }
}
@media screen and (min-width:1024px) {
  .p-staff__items {
    margin-top: 25px;
  }
}

.p-staff__item {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 5.5vw, 66px);
  max-width: 270px;
}
@media screen and (min-width:768px) {
  .p-staff__item {
    grid-template-columns: clamp(80px, 16.6666666667vw, 200px) 1fr;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    max-width: none;
  }
  .p-staff__item + .p-staff__item {
    margin-top: clamp(32px, 5.2083333333vw, 40px);
  }
}

.p-staff__item-img {
  width: min(200px, 100%);
  aspect-ratio: 20/24;
}

.p-staff__item-content {
  max-width: 515px;
}

.p-staff__item-head {
  display: grid;
  grid-template-columns: 1fr;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: clamp(20px, 3.1478770132vw, 43px);
}
@media screen and (min-width:768px) {
  .p-staff__item-head {
    grid-template-columns: repeat(2, auto);
  }
}

.p-staff__item-name {
  color: #0056CF;
  font-size: clamp(18px, 2.1484375vw, 22px);
  line-height: 0.9090909091;
  letter-spacing: 0.08em;
  font-weight: 600;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
}

.p-staff__item-en {
  color: #31ABED;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  line-height: 0.7142857143;
  font-weight: 500;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
}

.p-staff__item-text {
  margin-top: clamp(24px, 3.22265625vw, 33px);
  font-size: 14px;
  line-height: 2.1428571429;
  letter-spacing: 0.03em;
  font-weight: 500;
}

.p-benefit {
  padding-top: clamp(80px, 10.7421875vw, 110px);
  padding-bottom: clamp(96px, 12.6953125vw, 130px);
  background: #ecf6fc;
}

.p-benefit__items {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 2.9296875vw, 30px);
}
@media screen and (min-width:768px) {
  .p-benefit__items {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (min-width:1024px) {
  .p-benefit__items {
    margin-top: clamp(24px, 3.4407027818vw, 47px);
  }
}


.p-benefit__item {
  padding: 24px 25px;
  background: #ffffff;
  border-radius: 5px;
  display: grid;
  grid-template-columns: 63px 1fr;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.p-benefit__item-num {
  padding-left: 22px;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  font-family: "Montserrat", sans-serif;
  color: #31ABED;
  font-size: 14px;
  line-height: 0.7142857143;
  font-weight: 500;
  position: relative;
  border-right: 1px solid #cfcfcf;
}
.p-benefit__item-num::before {
  content: "";
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  left: 0;
  width: 10px;
  aspect-ratio: 1/1;
  background: #0056CF;
  border-radius: 50%;
}

.p-benefit__item-text {
  padding-left: clamp(16px, 2.8333333333vw, 34px);
  font-size: clamp(15px, 1.3333333333vw, 16px);
  line-height: 1.875;
  letter-spacing: 0.03em;
  font-weight: 500;
}

.p-bottom {
  padding-top: clamp(80px, 10.7421875vw, 110px);
  padding-bottom: clamp(96px, 14.2578125vw, 146px);
  background: #f6fcff;
}



/* company */

.p-company {
  padding-top: clamp(80px, 11.42578125vw, 117px);
}

.p-company__top {
  padding-bottom: clamp(60px, 8.59375vw, 88px);
}
.p-company__wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media screen and (min-width:1024px) {
  .p-company__wrap {
    grid-template-columns: 277px 1fr;
    gap: clamp(40px, 6.0761346999vw, 83px);
  }
}

@media screen and (min-width:1024px) {
  .p-company__head {
    position: sticky;
    top: 92px;
        height: -webkit-fit-content;
    height: -moz-fit-content;
    height: fit-content;
  }
}

@media screen and (min-width:1024px) {
  .p-company__table-wrap {
    margin-top: 2px;
    max-width: 780px;
  }
}

.p-company__table-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  border-top: 1px solid #c7c7c7;
}
@media screen and (min-width:768px) {
  .p-company__table-row {
    grid-template-columns: 100px 1fr;
  }
}
.p-company__table-row:first-of-type {
  border: none;
}
.p-company__table-row:first-of-type .p-company__table-title::after {
  content: none;
}

.p-company__table-title {
  padding-block: clamp(24px, 3.22265625vw, 33px);
  font-size: 14px;
  font-weight: 700;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  position: relative;
}
.p-company__table-title::after {
  content: "";
  position: absolute;
   top: -1px;
  left: 0;
  width: 100%;
  height: 1px;
  background: #0056CF;
}

.p-company__table-text {
  padding-block: clamp(24px, 3.22265625vw, 33px);
  padding-left: 16px;
  font-size: 14px;
  font-weight: 500;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
@media screen and (min-width:768px) {
  .p-company__table-text {
    padding-left: clamp(40px, 4.39238653vw, 60px);
  }
}
.p-about {
  padding-top: clamp(80px, 10.7421875vw, 110px);
  padding-bottom: clamp(96px, 12.6953125vw, 130px);
  background: #ecf6fc;
}

@media screen and (min-width:1024px) {
  .p-about__map {
    margin-top: 48px;
  }
}
.p-about__map iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 10px;
  aspect-ratio: 781/400;
    min-height: 320px;
    max-height: 400px;
}

.p-about__map-text {
  margin-top: clamp(24px, 3.90625vw, 30px);
  color: #454545;
  font-size: 14px;
  font-weight: 500;
}

.p-about__img-main {
  margin-top: clamp(48px, 6.15234375vw, 63px);
  width: min(785px, 100%);
  aspect-ratio: 785/400;
  border-radius: 5px;
}
.p-about__img-main img {
  border-radius: 5px;
}

.p-about__imgs {
  margin-top: clamp(24px, 3.90625vw, 30px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 3.6458333333vw, 28px);
  max-width: 785px;
}

.p-about__img {
  width: min(242px, 100%);
  aspect-ratio: 242/155;
  border-radius: 5px;
}
.p-about__img img {
  border-radius: 5px;
}

.p-about__btn {
  margin-top: clamp(40px, 6.3802083333vw, 49px);
  margin-inline: auto;
}

.p-message {
  padding-top: clamp(80px, 10.7421875vw, 110px);
  padding-bottom: clamp(96px, 11.71875vw, 120px);
  background: #F6FCFF;
}

.p-messge__img {
  width: min(785px, 100%);
  aspect-ratio: 785/400;
  border-radius: 5px;
}
.p-messge__img img {
  border-radius: 5px;
}

.p-message__title {
  margin-top: clamp(36px, 3.90625vw, 40px);
  color: #2059AA;
  font-size: clamp(20px, 3.125vw, 24px);
  line-height: 1.6666666667;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.p-message__texts {
  margin-top: 20px;
}

.p-message__text {
  font-size: 14px;
  line-height: 2.1428571429;
  letter-spacing: 0.03em;
  font-weight: 500;
}
.p-message__text + .p-message__text {
  margin-top: clamp(18px, 3.90625vw, 30px);
}

.p-message__name {
  margin-top: clamp(24px, 3.90625vw, 30px);
  padding-block: 11px;
  padding-left: 20px;
  border-left: 1px solid #31ABED;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin-left: auto;
}
.p-message__name .name-top {
  color: #ABABAB;
  font-size: 14px;
  font-weight: 500;
}
.p-message__name .name-bottom {
  color: #454545;
  font-size: 14px;
  font-weight: 500;
}






/* news */

.p-news {
  padding-top: clamp(80px, 7.6666666667vw, 92px);
  padding-bottom: clamp(92px, 8.0527086384vw, 110px);
  background: #F6FCFF;
}
.p-news__items .webgene-item:nth-of-type(n + 2) {
  border-top: 1px solid #d9d8da;
}

.p-news__item {
  padding-block: clamp(24px, 2.9296875vw, 30px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding-right: 36px;
  position: relative;
}
.p-news__item::after {
  content: "";
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  right: 0;
  width: 22px;
  aspect-ratio: 1/1;
  background: url(../images/icon-right-light.svg) no-repeat center center/contain;
}
@media screen and (min-width:1024px) {
  .p-news__item {
    grid-template-columns: auto 1fr;
    gap: 29px;
  }
}

.p-news__item-meta {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 12px;
}

.p-news__item-date {
  font-family: "Montserrat", sans-serif;
  color: #43423f;
  font-size: 12px;
  padding-top: 3px;
}

.p-news__item-tag span {
  padding: 5px 4px;
  font-size: 12px;
  line-height: 0.8333333333;
  letter-spacing: 0.03em;
  font-weight: 500;
  background: #ffffff;
  border-radius: 3px;
  text-align: center;
}

.p-news__item-title {
  font-size: 14px;
  line-height: 2.1428571429;
  letter-spacing: 0.03em;
  font-weight: 500;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

/* works */

.p-works {
  padding-top: clamp(80px, 7.6666666667vw, 92px);
  padding-bottom: clamp(92px, 8.0527086384vw, 110px);
  background: #F6FCFF;
}

.p-news__categories {
  margin-bottom: clamp(40px, 7.8125vw, 60px);
}

.p-news__categories > .webgene-blog {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 10px;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

.p-news__category {
  display: inline-block;
  min-width: 140px;
  border: 1px solid #0056CF;
  background: #ffffff;
  padding: 10px 30px;
  font-family: "Noto Sans JP", sans-serif;
  color: #0056CF;
  text-align: center;
  font-size: 12px;
  line-height: 1.4285714286;
  letter-spacing: 0.7px;
  font-weight: 500;
  border-radius: 26px;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
@media screen and (min-width:768px) {
  .p-news__category {
    min-width: 150px;
    padding: 16px 43px;
    font-size: 14px;
  }
}
@media (any-hover: hover) {
  .p-news__category:hover {
    background: #0056CF;
    color: #ffffff;
    opacity: 1;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
  }
}

@media screen and (min-width:768px) {
  .p-works__items .webgene-blog {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(20px, 3.3333333333vw, 40px);
  }
}
.p-works__items .webgene-item + .webgene-item {
  margin-top: 32px;
}
@media screen and (min-width:768px) {
  .p-works__items .webgene-item + .webgene-item {
    margin-top: 0;
  }
}

.p-works__item {
  max-width: 500px;
  margin-inline: auto;
}
@media screen and (min-width:768px) {
  .p-works__item {
    margin-inline: 0;
  }
}
@media screen and (min-width:1024px) {
  .p-works__item {
    max-width: 354px;
  }
}
@media (any-hover: hover) {
  .p-works__item:hover {
    opacity: 1;
  }
  .p-works__item:hover .p-works__item-head img,
  .p-works__item:hover .p-works__item-head::after {
    scale: 1.1;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
  }
}

.p-works__item-head {
  aspect-ratio: 354/250;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}
@media screen and (min-width:768px) {
  .p-works__item-head {
    max-width: 354px;
  }
}
.p-works__item-head img {
  border-radius: 10px;
}
.p-works__item-head::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: url("../images/ogp.jpg") center/cover no-repeat;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  z-index: -1;
}

.p-works__item-meta {
  margin-top: 20px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 12px;
}

.p-works__item-date {
  font-family: "Montserrat", sans-serif;
  color: #43423f;
  font-size: 12px;
  padding-top: 3px;
}

.p-works__item-tag span {
  padding: 5px 6px;
  font-size: 12px;
  line-height: 0.8333333333;
  letter-spacing: 0.03em;
  font-weight: 500;
  border-radius: 5px;
  background: #ecf6fc;
  text-align: center;
}

.p-works__item-title {
  margin-top: 9px;
  font-size: clamp(13px, 1.8229166667vw, 14px);
  line-height: 2.1428571429;
  letter-spacing: 0.03em;
  font-weight: 500;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.p-works__item-text {
  margin-top: 8px;
  margin-left: auto;
  padding-right: 19px;
  padding-bottom: 4px;
  font-size: clamp(13px, 1.3671875vw, 14px);
  border-bottom: 1px solid #b5b5b5;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  position: relative;
}
.p-works__item-text::after {
  content: "";
  position: absolute;
  top: 5px;
  right: 0;
  width: 7px;
  height: 6px;
  background: url(../images/icon-arrow-right.svg) no-repeat center center/contain;
}

.webgene-pagination {
  margin-top: clamp(40px, 7.8125vw, 80px);
  font-size: 14px;
  justify-self: center;
  grid-column: 1/-1;
}

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

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

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

.webgene-pagination ul .number.selected a {
  background: #0056CF;
  color: #ffffff;
  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%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  width: 40px;
  height: 40px;
}

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

li.next:after {
  background-image: url("../images/next.png");
  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;
    width: auto;
    padding-block: 10px;
    z-index: 10;
    line-height: 1;
  }
  li.prev a {
    padding-left: 48px;
    color: #919191;
  }
  li.next a {
    padding-right: 48px;
    color: #3c3c3c;
  }
  li.prev:after,
  li.next:after {
    pointer-events: auto;
  }
}

/* detail */

.p-detail {
  padding-top: clamp(80px, 8.4166666667vw, 101px);
  padding-bottom: clamp(80px, 8.4166666667vw, 101px);
  background: #f6fcff;
}

.detail {
  color: #333333;
  max-width: 924px;
  margin-inline: auto;
}
.detail .post-detail__content p {
  font-weight: 500;
}

.p-news__item-meta {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 10px;
}

.post-ttl {
  margin-top: 58px;
  font-size: clamp(16px, 2.1484375vw, 22px);
  line-height: 1.5;
  letter-spacing: 1.32px;
  font-weight: 500;
  padding-bottom: 21px;
  border-bottom: 1.5px solid #d0d0d0;
  padding-left: 29px;
  position: relative;
}

.post-ttl::before {
  content: "";
  position: absolute;
  background: #31ABED;
  width: 8px;
  height: 57%;
  top: 3px;
  left: 0;
}

.post-detail__content img,
.detail img {
  margin: 40px auto 10px;
  margin-inline: auto;
  display: block;
  border-radius: 5px;
  width: auto;
  height: auto;
  -o-object-fit: cover;
     object-fit: cover;
}

@media screen and (min-width: 768px) {
  .post-detail__content img,
  .detail img {
    margin: 65px auto;
  }
}
.webgene-item-main-image {
  margin-inline: auto;
}

.detail-text {
  padding-top: 46px;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0px;
  line-height: 1.8571428571;
}
.detail-text p + p {
  padding-top: 30px;
}

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

.post-detail__content > h3:first-child,
.post-detail__content > h2:first-child {
  margin-top: 0;
}

.post-detail__content h3,
.post-detail__content h2 {
  margin-top: 53px;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.06em;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 10px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-bottom: 40px;
}

@media screen and (min-width: 768px) {
  .post-detail__content h3,
  .post-detail__content h2 {
    gap: 17px;
  }
}
.post-detail__content h3::before,
.post-detail__content h2::before {
  content: "";
  width: 16px;
  height: 17px;
  border-radius: 3px;
  background: #31ABED;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  -ms-flex-item-align: start;
      align-self: start;
  margin-top: 6px;
}

.detail__btn {
  margin-top: 51px;
  display: block;
  min-width: 140px;
  background: #0056CF;
  border: 1px solid #0056CF;
  padding: 8.5px 30px;
  text-align: center;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.75px;
  font-weight: 600;
  color: #ffffff;
  border-radius: 42px;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin-inline: auto;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
@media screen and (min-width:768px) {
  .detail__btn {
    min-width: 183px;
    padding: 12.5px 52px;
    font-size: 15px;
  }
}
@media (any-hover: hover) {
  .detail__btn:hover {
    background: transparent;
    color: #0056CF;
    opacity: 1;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
  }
}

.col-2 {
  min-width: 25%;
}
@media screen and (min-width:1024px) {
  .col-2 {
    min-width: unset;
  }
}
.col-2 img {
  max-width: 100%;
  height: auto;
}

.main-image-container {
  max-width: 594px;
  width: 96%;
  margin: 80px auto 0;
}

.main-image-box {
  position: relative;
  width: 100%;
  aspect-ratio: 594/365;
  border-radius: 10px;
  overflow: hidden;
  margin: 0 auto;
}
.main-image-box img {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  margin: auto;
   border-radius: 5px;
}
.main-image-box {
  position: relative;
}

.main-image-box img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  -webkit-transition: opacity 0.6s ease;
  transition: opacity 0.6s ease;
}

.main-image-box img.slide-current {
  opacity: 1;
  z-index: 2;
}

.main-image-box img.slide-next {
  opacity: 0;
  z-index: 1;
}

.thumbnail-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  position: static;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 17px;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin: 0 auto;
  padding: 40px 0 0;
}

.thumbnail-box {
  width: 25%;
  cursor: pointer;
  -webkit-transition: opacity 0.3s;
  transition: opacity 0.3s;
}
.thumbnail-box:hover {
  opacity: 0.7;
}

.thumbnail-img {
  position: relative;
  aspect-ratio: 97/97;
  border-radius: 10px;
  overflow: hidden;
}
.thumbnail-img:empty {
  display: none;
}
.thumbnail-img img {
  position: absolute;
  width: auto;
  height: auto;
  width: 100%;
  height: 100%;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  -o-object-fit: cover;
     object-fit: cover;
}

@media screen and (min-width: 768px) {
  .thumbnail-container {
    padding: 66px 0 0;
  }
  .thumbnail-box {
    width: 10%;
  }
}

/* contact */

.p-contact__body {
  padding-top: clamp(80px, 10.4166666667vw, 125px);
  padding-bottom: clamp(60px, 10.0833333333vw, 121px);
  background: #F6FCFF;
}

.contact {
  font-family: "Noto Sans JP", sans-serif;
  color: #555555;
  max-width: 924px;
  margin-inline: auto;
}

.contact__wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 40px;
}

.contact__item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 17px;
}
.contact__item + .contact__item {
  margin-top: 37px;
}

.col-md-4,
.col-md-8 {
  padding: 0;
  max-width: 100%;
  -webkit-box-flex: unset;
      -ms-flex: unset;
          flex: unset;
}

.row {
  margin: 0;
}

.contact__item label {
  font-size: 14px;
  line-height: 1.3571428571;
}

.contact__item > .formTh > .requiredText {
  background: #d80e0e;
  width: 32px;
  border-radius: 2px;
  color: #fff;
  font-size: 12px;
  line-height: 1;
  text-align: center;
  padding: 3px 2px;
  margin-left: 10px;
}

.contact__item > .formTh > .anyText {
  background: #5c5c5c;
  width: 32px;
  border-radius: 2px;
  color: #fff;
  font-size: 12px;
  line-height: 1;
  text-align: center;
  padding: 3px 2px;
  margin-left: 10px;
}

.contact__item > .formTd > textarea {
  height: 197px;
}

:focus-visible {
  outline: #284038 auto 1px;
}

.privacy-policy {
  margin-top: 50px;
  height: 155px;
  padding: 30px 20px;
  border-radius: 3px;
  border: 1px solid #d3d3d3;
  background: #ffffff;
  overflow-y: scroll;
  width: 100%;
  margin-inline: auto;
}

@media screen and (min-width: 768px) {
  .privacy-policy {
    padding: 8px 30px;
  }
}
.privacy-policy__text.privacy-policy__text--first {
  margin: 0;
}

.privacy-policy__item {
  max-width: 828px;
}

.privacy-policy__item + .privacy-policy__item {
  margin-top: 52px;
}

.privacy-policy__title {
  font-size: 18px;
  letter-spacing: 0.006em;
  color: #464646;
  padding: 0 0 15px 0;
  border-bottom: 1.5px solid #d0d0d0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 28px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.privacy-policy__title::before {
  content: "";
  display: inline-block;
  width: 13px;
  height: 13px;
  border-radius: 4px;
  background: #272727;
}

.privacy-policy__text {
  margin-top: 20px;
  font-size: 14px;
  line-height: 2.2;
  color: #464646;
}

.privacy-policy__text-bottom {
  margin-top: -16px;
  font-size: 14px;
  line-height: 2.0571428571;
}

.privacy-policy__text-link {
  text-decoration: underline;
}

.privacy-policy__text-flex {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.privacy-policy__text-link:hover {
  opacity: 0.6;
  text-decoration: underline;
}

.privacy-policy__check {
  margin-top: 20px;
}

.formBtn {
  margin: 60px auto 0;
  padding: 13px 0;
  border: 1px solid #0056CF;
  width: 183px;
  background: #0056CF;
  color: #ffffff;
  font-size: 15px;
  line-height: 1.3125;
  letter-spacing: 0.75px;
  font-weight: 600;
  text-align: center;
  border-radius: 25px;
}

.formBtn:hover {
  background: transparent;
  color: #0056CF;
}

.privChek {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 10px;
}

.privacyLabel {
  margin-bottom: 1px;
  font-size: 14px;
}

.privacyformError {
  margin-top: -36.5px !important;
}

.contact__item > .formTd > input,
.contact__item > .formTd > textarea,
.contact__item > .formTd > select {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  font: inherit;
  color: inherit;
  vertical-align: top;
  width: 100%;
  border-radius: 3px;
  border: 1px solid #d3d3d3;
  background: #ffffff;
  padding: 15px 14px 15px;
}

.contact__item > .formTd > select {
  width: min(320px, 100%);
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("../images/arrow-down.svg");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 20px;
  background-size: 12px;
}

.contact__item > .formTd > input::-webkit-input-placeholder, .contact__item > .formTd > textarea::-webkit-input-placeholder, .contact__item > .formTd > div > select::-webkit-input-placeholder {
  color: #5d5d5d;
}

.contact__item > .formTd > input::-moz-placeholder, .contact__item > .formTd > textarea::-moz-placeholder, .contact__item > .formTd > div > select::-moz-placeholder {
  color: #5d5d5d;
}

.contact__item > .formTd > input:-ms-input-placeholder, .contact__item > .formTd > textarea:-ms-input-placeholder, .contact__item > .formTd > div > select:-ms-input-placeholder {
  color: #5d5d5d;
}

.contact__item > .formTd > input::-ms-input-placeholder, .contact__item > .formTd > textarea::-ms-input-placeholder, .contact__item > .formTd > div > select::-ms-input-placeholder {
  color: #5d5d5d;
}

.contact__item > .formTd > input::placeholder,
.contact__item > .formTd > textarea::placeholder,
.contact__item > .formTd > div > select::placeholder {
  color: #5d5d5d;
}

input[type=radio] {
  width: 1px;
  height: 1px;
  position: absolute;
  clip: rect(0, 0, 0, 0);
}

.d-inline:nth-of-type(n + 2) {
  padding-left: 20px;
}

/* ラベルのデザイン */
.checkbox-label {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  cursor: pointer;
  font-size: 16px;
  position: relative;
  padding-left: 30px; /* ラジオボタン用のスペースを確保 */
}

/* カスタムラジオボタンの作成 */
.checkbox-label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #3c3c3c;
  background-color: #ffffff;
  -webkit-transition: background-color 0.2s, border-color 0.2s;
  transition: background-color 0.2s, border-color 0.2s;
}

/* 選択時のデザイン */
input[type=radio]:checked + .checkbox-label::before {
  background-color: #0056CF;
  border-color: #0056CF;
  -webkit-box-shadow: inset 0 0 0 4px #fff;
          box-shadow: inset 0 0 0 4px #fff;
}

.p-contact-after__body {
  padding-top: 50px;
  padding-bottom: 50px;
}
@media screen and (min-width:768px) {
  .p-contact-after__body {
    padding-top: 150px;
    padding-bottom: 150px;
  }
}

.p-contact-after__text {
  color: #3c3c3c;
  font-size: 15px;
  line-height: 1.45;
  letter-spacing: 1px;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin-inline: auto;
}
@media screen and (min-width:768px) {
  .p-contact-after__text {
    font-size: 18px;
  }
}
