@charset "UTF-8";

.p-about {
  padding-top: clamp(92px, 11.8333333333vw, 142px);
  padding-bottom: clamp(80px, 10.5vw, 126px);
}

.p-about__top {
  max-width: 1366px;
  margin-inline: auto;
  position: relative;
}

.p-about__head {
  margin-left: clamp(20px, 5.2083333333vw, 40px);
  padding-top: clamp(60px, 10.9077598829vw, 149px);
  padding-bottom: clamp(30px, 47.9502196193vw, 655px);
  max-width: clamp(280px, 34.08203125vw, 349px);
}
@media screen and (min-width:768px) {
  .p-about__head {
    margin-left: clamp(80px, 23.1332357247vw, 316px);
  }
}

.p-about__title {
  font-size: clamp(28px, 4.1015625vw, 42px);
  line-height: 1.4761904762;
  letter-spacing: 4.2px;
  font-weight: 700;
}

.p-about__text {
  margin-top: clamp(16px, 3.80859375vw, 39px);
  font-size: clamp(13px, 1.3671875vw, 14px);
  line-height: 2.5;
  font-weight: 500;
}

.p-about__img-1 {
  position: absolute;
  top: 0;
  left: clamp(20px, 4.6120058565vw, 63px);
  width: clamp(50px, 11.9326500732vw, 163px);
  aspect-ratio: 163/159;
  border-radius: 5px;
}
.p-about__img-1 img {
  border-radius: 5px;
}

.p-about__img-2 {
  position: absolute;
  top: clamp(-60px, -3.90625vw, -30px);
  right: 0;
  width: clamp(128px, 34.4070278184vw, 470px);
  aspect-ratio: 470/624;
  border-radius: 5px 0px 0px 5px;
}
.p-about__img-2 img {
  border-radius: 5px 0px 0px 5px;
}
@media screen and (min-width:768px) {
  .p-about__img-2 {
    top: clamp(34px, 5.7833089312vw, 79px);
  }
}

.p-about__img-3 {
  position: absolute;
  bottom: clamp(30px, 6.588579795vw, 90px);
  left: 0;
  width: clamp(200px, 46.6325036603vw, 637px);
  aspect-ratio: 641/430;
  border-radius: 0px 5px 5px 0px;
}
.p-about__img-3 img {
  border-radius: 0px 5px 5px 0px;
}

.p-about__img-4 {
  position: absolute;
  bottom: 0;
  right: clamp(50px, 22.4011713031vw, 306px);
  width: clamp(62px, 19.6193265007vw, 268px);
  aspect-ratio: 268/338;
  border-radius: 5px;
}
.p-about__img-4 img {
  border-radius: 5px;
}

.p-feature {
  padding-top: clamp(80px, 13.5833333333vw, 163px);
}

.p-feature__title {
  padding-left: clamp(20px, 9.5168374817vw, 130px);
}
@media screen and (min-width:1367px) {
  .p-feature__title {
    padding-left: calc((100vw - 1106px) / 2);
  }
}

.p-feature__items {
  margin-top: clamp(20px, 3.7109375vw, 38px);
  border-top: 1px solid #959595;
}

.p-feature__item {
  padding-block: clamp(40px, 5vw, 60px);
  padding-inline: clamp(20px, 5.2083333333vw, 40px);
  max-width: 1186px;
  margin-inline: auto;
  position: relative;
}
@media screen and (min-width:1024px) {
  .p-feature__item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    gap: 32px;
  }
}
.p-feature__item::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  translate: -50%;
  width: calc(100vw - 16px);
  height: 1px;
  background: #959595;
}

.p-feature__item-head {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: clamp(16px, 3.7760416667vw, 29px);
}

.p-feature__item-num {
  margin-top: 5px;
  font-family: "Hind Madurai", sans-serif;
  color: #3B5382;
  font-size: clamp(20px, 2.1666666667vw, 26px);
  line-height: 1.0769230769;
  letter-spacing: 1.3px;
  font-weight: 500;
}

.p-feature__item-titles {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
}

.p-feature__item-title {
  font-size: clamp(20px, 1.9033674963vw, 26px);
  line-height: 1.4230769231;
  letter-spacing: 2.6px;
  font-weight: 600;
}
.p-feature__item-title + .p-feature__item-title {
  margin-top: 9px;
}


.p-feature__item-body {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  max-width: 646px;
  margin-top: 40px;
  margin-inline: auto;
}
@media screen and (min-width:768px) {
  .p-feature__item-body {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    gap: 20px;
  }
}
@media screen and (min-width:1024px) {
  .p-feature__item-body {
    margin: 0;
  }
}

.p-feature__item-text {
  font-size: clamp(13px, 1.8229166667vw, 14px);
  line-height: 1.9285714286;
  font-weight: 500;
  max-width: 304px;
}

.p-feature__item-img {
  margin-top: 32px;
  aspect-ratio: 280/159;
  max-width: 280px;
  border-radius: 5px;
}
.p-feature__item-img img {
  border-radius: 5px;
}
@media screen and (min-width:768px) {
  .p-feature__item-img {
    margin-top: 0;
  }
}

.p-about__swiper-container {
  padding-top: clamp(120px, 13.5833333333vw, 163px);
}

.p-about__swiper-wrapper {
  -webkit-transition-timing-function: linear;
          transition-timing-function: linear;
}

.p-about__swiper-slide {
  width: clamp(245px, 35.8711566618vw, 490px);
  aspect-ratio: 490/580;
  border-radius: 10px;
}
.p-about__swiper-slide img {
  border-radius: 10px;
}


/* example */

.p-example {
  padding-top: clamp(80px, 10.5vw, 126px);
  padding-bottom: clamp(116px, 13.3333333333vw, 160px);
}

.p-example__top {
  padding-bottom: clamp(80px, 9.5833333333vw, 115px);
}

.p-example__title-line {
  padding-bottom: 26px;
  position: relative;
}
.p-example__title-line::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 5.6962025316%;
  height: 1.5px;
  background: #3b5382;
}
.p-example__title-line::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 90.7775768535%;
  height: 1.5px;
  background: #959595;
}

.p-example__title-ja {
  font-size: clamp(20px, 2.734375vw, 28px);
  line-height: 1.4285714286;
  letter-spacing: 2.8px;
  font-weight: 600;
}

.p-example__title-en {
  margin-top: 6px;
  font-family: "Hind Madurai", sans-serif;
  color: #3B5382;
  font-size: clamp(14px, 1.5625vw, 16px);
  line-height: 1.1875;
  letter-spacing: 0.8px;
  font-weight: 500;
}

.p-example__top-text {
  margin-top: clamp(32px, 5.2083333333vw, 40px);
  font-size: clamp(13px, 1.8229166667vw, 14px);
  line-height: 1.7857142857;
  font-weight: 500;
  max-width: 774px;
}

.p-example__menu-wrap {
  margin-top: clamp(32px, 5.2083333333vw, 40px);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 10px;
}

.p-example__menu {
  padding: 11px 40px;
  min-width: 150px;
  background: #ededed;
  -webkit-box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.2823529412);
          box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.2823529412);
  border-radius: 5px;
}
@media (any-hover: hover) {
  .p-example__menu:hover .p-example__menu-text::after {
    translate: 0px 5px;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
  }
}

.p-example__menu-text {
  padding-right: 16px;
  font-size: 13px;
  line-height: 1.4615384615;
  letter-spacing: 0.65px;
  font-weight: 500;
  position: relative;
}
.p-example__menu-text::after {
  content: "";
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  right: 0;
  width: 8px;
  height: 10px;
  background: url(../images/icon-arrow-down-blue.svg) no-repeat center center/contain;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.p-example__content {
  padding-top: clamp(32px, 6.5104166667vw, 50px);
  border-top: 2px solid #dddddd;
}
.p-example__content + .p-example__content {
  margin-top: clamp(80px, 10vw, 120px);
}

.p-example__title .p-example__title-ja {
  font-size: clamp(18px, 2.5390625vw, 26px);
}

.p-example__body {
  margin-top: clamp(32px, 4.00390625vw, 41px);
}
@media screen and (min-width:1024px) {
  .p-example__body {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    gap: 40px;
  }
}

.p-example__texts {
  max-width: 552px;
}
@media screen and (min-width:768px) {
  .p-example__texts {
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
  }
}

.p-example__text {
  font-size: clamp(13px, 1.8229166667vw, 14px);
  line-height: 1.7857142857;
}
.p-example__text + .p-example__text {
  margin-top: clamp(24px, 3.515625vw, 36px);
}

.p-example__table-wrap {
  margin-top: clamp(32px, 3.90625vw, 40px);
  border-top: 1px solid #d4d4d4;
  max-width: 480px;
}
@media screen and (min-width:1024px) {
  .p-example__table-wrap {
    margin-top: 0;
  }
}

.p-example__table-row {
  display: grid;
  grid-template-columns: 97px 1fr;
  border-bottom: 1px solid #d4d4d4;
}

.p-example__table-title {
  padding-block: 30px;
  color: #3B5382;
  font-size: 14px;
  line-height: 1.4285714286;
  letter-spacing: 0.7px;
  font-weight: 700;
  position: relative;
}
.p-example__table-title::after {
  content: "";
  position: absolute;
  top: 10px;
  right: 0;
  width: 1px;
  height: calc(100% - 20px);
  background: url(../images/table-dash-line.svg) repeat center center/cover;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.p-example__table-text {
  padding-left: 32px;
  padding-block: 15px;
  font-size: 14px;
  line-height: 1.4285714286;
  letter-spacing: 0.56px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.p-example__img {
  margin-top: clamp(48px, 6.6666666667vw, 80px);
  aspect-ratio: 1105/620;
  border-radius: 5px;
}
.p-example__img img {
  border-radius: 5px;
}

.p-example__img-text {
  margin-top: clamp(32px, 5vw, 60px);
  font-size: clamp(13px, 1.8229166667vw, 14px);
  line-height: 1.8571428571;
  font-weight: 500;
}

/* company */

.p-company {
  padding-top: clamp(80px, 10.5vw, 126px);
  padding-bottom: clamp(116px, 13.3333333333vw, 160px);
}

@media screen and (min-width:1024px) {
  .p-company__content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    gap: 48px;
  }
}

.p-company__content + .p-company__content {
  margin-top: clamp(80px, 10vw, 120px);
}

.p-page__title-line {
  padding-bottom: 19px;
  width: 100%;
  max-width: 209px;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
  position: relative;
}
.p-page__title-line::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 16.7464114833%;
  height: 1.5px;
  background: #3b5382;
}
.p-page__title-line::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 75.5980861244%;
  height: 1.5px;
  background: #959595;
}

.p-company__table-wrap {
  width: 100%;
  max-width: 747px;
  margin-inline: auto;
  margin-top: 24px;
}
@media screen and (min-width:1024px) {
  .p-company__table-wrap {
    margin-inline: 0;
    margin-top: clamp(40px, 4.0995607613vw, 56px);
  }
}
.p-company__table-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  position: relative;
}
@media screen and (min-width:768px) {
  .p-company__table-row {
    grid-template-columns: 100px 1fr;
  }
}
.p-company__table-row:nth-of-type(n + 2) {
  border-top: 1px solid #c7c7c7;
}
.p-company__table-row:nth-of-type(n + 2) .p-company__table-title::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 80px;
  height: 1px;
  background: #3B5382;
  z-index: 1;
}
@media screen and (min-width:768px) {
  .p-company__table-row:nth-of-type(n + 2) .p-company__table-title::before {
    width: 100px;
  }
}
.p-company__table-row:last-of-type .p-company__table-title,
.p-company__table-row:last-of-type .p-company__table-text {
  padding-bottom: 0;
}

.p-company__table-title {
  padding-block: 35px;
  color: #3B5382;
  font-size: 14px;
  line-height: 1.4285714286;
  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-text {
  padding-left: clamp(24px, 4.5833333333vw, 55px);
  padding-right: clamp(20px, 2.9282576867vw, 40px);
  padding-block: 35px;
  color: #454545;
  font-size: clamp(13px, 1.8229166667vw, 14px);
  line-height: 1.4285714286;
  font-weight: 500;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.p-company__map-wrap {
  max-width: 747px;
  margin-inline: auto;
}
@media screen and (min-width:1024px) {
  .p-company__map-wrap {
    margin-top: clamp(60px, 6.6617862372vw, 91px);
    margin-inline: 0;
  }
}

.p-company__map-wrap {
  width: 100%;
  max-width: 747px;
  margin-inline: auto;
}
@media screen and (min-width:1024px) {
  .p-company__map-wrap {
    margin-top: clamp(60px, 6.6617862372vw, 91px);
    margin-inline: 0;
  }
}

.p-company__map {
  aspect-ratio: 747/350;
  border-radius: 5px;
  position: relative;
}
.p-company__map iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 5px;
  min-height: 260px;
}

.p-company__map-text {
  margin-top: clamp(16px, 3.2552083333vw, 25px);
  color: #454545;
  font-size: clamp(13px, 1.8229166667vw, 14px);
  line-height: 1.7857142857;
  font-weight: 500;
}

/* faq */

.p-faq {
  padding-top: clamp(80px, 10.1666666667vw, 122px);
  padding-bottom: clamp(116px, 12.5vw, 150px);
}

.p-faq__head {
  padding-inline: 20px;
  padding-bottom: clamp(80px, 10.1666666667vw, 122px);
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin-inline: auto;
}

.p-faq__title {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin-inline: auto;
  position: relative;
}
.p-faq__title::before {
  content: "“";
  position: absolute;
  top: 4px;
  left: -36px;
  color: #3B5382;
  font-size: clamp(21px, 3.6458333333vw, 28px);
  line-height: 1.4285714286;
  letter-spacing: 2.8px;
  font-weight: 600;
}
.p-faq__title::after {
  content: "”";
  position: absolute;
  top: 4px;
  right: -36px;
  color: #3B5382;
  font-size: clamp(21px, 3.6458333333vw, 28px);
  line-height: 1.4285714286;
  letter-spacing: 2.8px;
  font-weight: 600;
}

.p-faq__title-text {
  font-size: clamp(21px, 3.6458333333vw, 28px);
  line-height: 1.4285714286;
  letter-spacing: 2.8px;
  font-weight: 600;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  position: relative;
}
.p-faq__title-text::after {
  content: "";
  position: absolute;
  bottom: 0.5px;
  left: 0;
  width: 100%;
  height: 3px;
  background: #3B5382;
}

.p-faq__top-text {
  margin-top: 50px;
  max-width: 640px;
  font-size: clamp(12px, 1.8229166667vw, 14px);
  line-height: 1.8571428571;
  font-weight: 500;
}

.page-line {
  width: 100%;
  height: 1px;
  background: #959595;
}

.p-faq__body {
  padding-top: clamp(80px, 10vw, 120px);
}

.p-page__title-en {
  font-family: "Hind Madurai", sans-serif;
  font-size: clamp(32px, 5.2083333333vw, 40px);
  line-height: 1.075;
  letter-spacing: 2px;
  font-weight: 500;
  -webkit-text-stroke: 1px #1f2020;
}

.p-page__title-ja {
  margin-top: 10px;
  color: #000000;
  font-size: clamp(13px, 1.8229166667vw, 14px);
  line-height: 1.4285714286;
  letter-spacing: 0.84px;
  font-weight: 500;
}

.p-faq__items {
  margin-top: clamp(40px, 11.4583333333vw, 88px);
}

.p-faq__item {
  padding-inline: clamp(20px, 2.25vw, 27px);
  padding-right: 50px;
  background: #ffffff;
  border: 1px solid #dddddd;
  border-radius: 5px;
  position: relative;
}
.p-faq__item + .p-faq__item {
  margin-top: 14px;
}
.p-faq__item::before {
  content: "";
  position: absolute;
  top: 35px;
  right: 27px;
  width: 13px;
  height: 2px;
  background: #232323;
}
.p-faq__item::after {
  content: "";
  position: absolute;
  top: 35px;
  right: 27px;
  width: 13px;
  height: 2px;
  background: #232323;
  rotate: 90deg;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.p-faq__item.is-open::after {
  rotate: 0deg;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.js-accordion .p-faq__item-q {
  cursor: pointer; /* クリックできることを示す */
}

.p-faq__item-q {
  padding-left: clamp(32px, 5.2083333333vw, 40px);
  padding-block: 24px;
  font-size: clamp(12px, 1.8229166667vw, 14px);
  line-height: 1.4285714286;
  font-weight: 500;
  position: relative;
}
.p-faq__item-q::before {
  content: "Q.";
  position: absolute;
  top: 20px;
  left: 0;
  font-family: "Hind Madurai", sans-serif;
  color: #3B5382;
  font-size: clamp(16px, 2.6041666667vw, 20px);
  line-height: 1.4;
  letter-spacing: 1;
  font-weight: 500;
}

.p-faq__item-a {
  padding-block: 26px 24px; 
  padding-left: clamp(32px, 5.2083333333vw, 40px);
  font-size: clamp(12px, 1.8229166667vw, 14px);
  line-height: 1.8571428571;
  border-top: 1px solid #dddddd;
  position: relative;
}
.p-faq__item-a::before {
  content: "A.";
  position: absolute;
  top: 26px;
  left: 0;
  font-family: "Hind Madurai", sans-serif;
  color: #23625E;
  font-size: clamp(16px, 2.6041666667vw, 20px);
  line-height: 1.4;
  letter-spacing: 1;
  font-weight: 500;
}

/* news */

.p-news {
  padding-top: clamp(80px, 8.3333333333vw, 100px);
  padding-bottom: clamp(116px, 12.5vw, 150px);
  position: relative;
}

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

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

.p-news__cat {
  display: inline-block;
  min-width: 140px;
  background: #ededed;
  padding: 10px 30px;
  text-align: center;
  font-size: 12px;
  line-height: 1.4285714286;
  letter-spacing: 0.7px;
  font-weight: 500;
  color: #232323;
  -webkit-box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.2823529412);
          box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.2823529412);
  border-radius: 5px;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
@media screen and (min-width:768px) {
  .p-news__cat {
    min-width: 150px;
    padding: 11px 48px;
    font-size: 14px;
  }
}
@media (any-hover: hover) {
  .p-news__cat:hover {
    background: #414141;
    color: #ffffff;
    opacity: 1;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
  }
}

.p-news__items {
  width: 100%;
  margin-inline: auto;
}
@media screen and (min-width:1024px) {
  .p-news__items {
    margin-top: 18px;
    margin-inline: 0;
  }
}
.p-news__items .webgene-item + .webgene-item {
  margin-top: 20px;
}

.p-news__item {
  padding-block: clamp(24px, 4.5572916667vw, 35px);
  padding-left: clamp(20px, 4.8177083333vw, 37px);
  padding-right: 5px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  border-top: 1px solid #e2e3e6;
  border-left: 1px solid #e2e3e6;
  border-radius: 5px;
  gap: 12px;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  position: relative;
}
.p-news__item::after {
  content: "";
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  right: 0;
  width: 15px;
  height: 12px;
  background: url(../images/icon-arrow-r-b.svg) no-repeat center center/contain;
}
@media screen and (min-width:1024px) {
  .p-news__item {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
}
@media (any-hover: hover) {
  .p-news__item:hover {
    opacity: 1;
    background-color: rgba(255, 255, 255, 0.7);
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
  }
}

.p-news__item-meta {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 9px;
}
@media screen and (min-width:1024px) {
  .p-news__item-meta {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
}

.p-news__item-date {
  color: #372710;
  font-size: 13px;
  line-height: 1.4615384615;
  letter-spacing: 0.26px;
  font-weight: 500;
}

.p-news__item-tag span {
  padding: 2px 4px;
  color: #ffffff;
  font-size: 10px;
  line-height: 1.5;
  font-weight: 500;
  text-align: center;
  background: #3B5382;
  border-radius: 3px;
}

.p-news__item-title {
  padding-right: 27px;
  color: #372710;
  font-size: 14px;
  line-height: 1.4285714286;
  letter-spacing: 1.12px;
  font-weight: 500;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}
@media screen and (min-width:1024px) {
  .p-news__item-title {
    padding-left: clamp(40px, 5.7833089312vw, 79px);
  }
}

.webgene-pagination {
  margin-top: clamp(40px, 7.3206442167vw, 100px);
  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: #fff;
  color: #232323;
}

.webgene-pagination ul .number.selected a {
  background: #3B5382;
  color: #ffffff;
  -webkit-box-shadow: inset 0px 0px 10px rgba(255, 255, 255, 0.3019607843);
          box-shadow: inset 0px 0px 10px rgba(255, 255, 255, 0.3019607843);
  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: #232323;
  }
  li.prev:after,
  li.next:after {
    pointer-events: auto;
  }
}

/* product */

.p-product {
  padding-top: clamp(80px, 10vw, 120px);
  padding-bottom: clamp(116px, 12.5vw, 150px);
  position: relative;
}

.p-product__categories {
  margin-bottom: clamp(60px, 6.4166666667vw, 77px);
}

.p-product__categories > .webgene-blog {
  padding-block: 30px 26px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-bottom: 1px solid #939393;
  row-gap: 20px;
}
@media screen and (min-width:768px) {
  .p-product__categories > .webgene-blog {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  }
}

.p-product__items > .webgene-blog {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  justify-items: center;
  gap: 50px;
}
@media screen and (min-width:1024px) {
  .p-product__items > .webgene-blog {
    grid-template-columns: repeat(3, 1fr);
  }
}
.p-product__items > .webgene-blog .webgene-item {
  width: 100%;
}

.p-works__item {
  max-width: 337px;
  height: 100%;
  border-radius: 5px;
  margin-inline: auto;
}
@media (any-hover: hover) {
  .p-works__item:hover {
    opacity: 1;
  }
  .p-works__item:hover .p-works__item-img img,
  .p-works__item:hover .p-works__item-img::after {
    scale: 1.1;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
  }
}

.p-works__item-img {
  max-width: 336px;
  aspect-ratio: 336/270;
  border-radius: 5px;
  overflow: hidden;
  position: relative;
}
.p-works__item-img::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;
}
.p-works__item-img img {
  border-radius: 5px;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.p-works__item-title {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 500;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

/* detail */


.p-detail {
  padding-top: clamp(80px, 8.3333333333vw, 100px);
  padding-bottom: clamp(116px, 12.5vw, 150px);
}

.detail {
  color: #00132b;
  padding-top: clamp(60px, 7.5vw, 90px);
  padding-bottom: clamp(80px, 9.1666666667vw, 110px);
  padding-inline: clamp(20px, 5.1244509517vw, 70px);
  background: #ffffff;
  max-width: 1106px;
  margin-inline: auto;
}

.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: #3B5382;
  width: 8px;
  height: 57%;
  top: 6px;
  left: 0;
}

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

@media screen and (min-width: 768px) {
  .post-detail__content img,
  .detail img {
    margin: 65px auto;
  }
}
.post-detail__content img,
.detail img {
  max-width: 100%;
  max-height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.detail-text {
  padding-block: 60px 0;
  color: #00132B;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0px;
  line-height: 2.2142857143;
}
.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 #3B5382;
  margin-bottom: 40px;
}

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

.post-detail__content h3 {
  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 {
    gap: 17px;
  }
}
.post-detail__content h3::before {
  content: "";
  width: 16px;
  height: 17px;
  border-radius: 3px;
  background: #3B5382;
  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;
}

.pdfLink {
  margin-block: 1rem;
  display: block;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin-inline: auto;
  padding: 11px 40px;
  min-width: 150px;
  background: #ededed;
  -webkit-box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.2823529412);
          box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.2823529412);
  border-radius: 5px;
  font-size: 13px;
  line-height: 1.4615384615;
  letter-spacing: 0.65px;
  font-weight: 500;
}

.detail__btn {
  margin-top: 79px;
  display: block;
  min-width: 140px;
  background: #414141;
  border: 1px solid #414141;
  padding: 8.5px 30px;
  text-align: center;
  font-size: 12px;
  line-height: 1.4666666667;
  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: #414141;
    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/483;
  border-radius: 10px;
  overflow: hidden;
  margin: 0 auto;
}
.main-image-box img {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  margin: auto;
  -o-object-fit: contain;
     object-fit: contain;
}

.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, 8.3333333333vw, 100px);
  padding-bottom: clamp(116px, 12.5vw, 150px);
}

.contact {
  padding-top: clamp(60px, 8.984375vw, 92px);
  padding-bottom: clamp(80px, 10.7421875vw, 110px);
  padding-inline: 20px;
  color: #555555;
  background: #ffffff;
  border-radius: 10px;
  max-width: 1106px;
  margin-inline: auto;
}
@media screen and (min-width:768px) {
  .contact {
    padding-inline: clamp(40px, 5.9297218155vw, 81px);
  }
}

.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: 180px;
}

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

.privacy-policy {
  margin-top: 50px;
  height: 155px;
  padding: 30px 20px;
  border-radius: 3px;
  border: 1px solid #d3d3d3;
  background: #FAFAFA;
  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: #646464;
}

.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 #3B5382;
  width: 183px;
  background: #3B5382;
  border-radius: 36px;
  color: #ffffff;
  font-size: 15px;
  line-height: 1.3125;
  letter-spacing: 0.75px;
  font-weight: 600;
  text-align: center;
}

.formBtn:hover {
  background: transparent;
  color: #3B5382;
}

.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: #FAFAFA;
  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 #232323;
  background-color: #fff;
  -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: #3B5382;
  border-color: #3B5382;
  -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: #232323;
  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;
  }
}