@charset "UTF-8";


/* features */

.p-features {
  padding-top: clamp(80px, 11.71875vw, 120px);
  padding-bottom: clamp(80px, 15.625vw, 160px);
}

.p-about__body {
  margin-top: clamp(36px, 4.98046875vw, 51px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media screen and (min-width:1024px) {
  .p-about__body {
    grid-template-columns: clamp(200px, 32.5036603221vw, 444px) 1fr;
    -webkit-box-align: end;
        -ms-flex-align: end;
            align-items: end;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    gap: clamp(60px, 7.906295754vw, 108px);
  }
}

@media screen and (min-width:1024px) {
  .p-about__content {
    -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
            order: 2;
    margin-bottom: clamp(32px, 4.9780380673vw, 68px);
  }
}

.p-about__main {
  margin-top: clamp(24px, 3.125vw, 32px);
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  padding: 12px 30px;
  color: #ffffff;
  font-size: clamp(22px, 2.5vw, 30px);
  line-height: 1;
  letter-spacing: 0.03em;
  font-weight: 700;
  background: #F57D01;
}

.p-about__texts {
  margin-top: clamp(24px, 3.90625vw, 30px);
}

.p-about__text {
  font-size: clamp(13px, 1.3671875vw, 14px);
  line-height: 2.2857142857;
  font-weight: 700;
}
.p-about__text + .p-about__text {
  margin-top: clamp(24px, 2.9296875vw, 30px);
}

.p-about__img {
  aspect-ratio: 444/472;
}

.p-feature__swiper {
  margin-top: clamp(48px, 6.0546875vw, 62px);
}

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

.p-feature__swiper-slide {
  width: clamp(240px, 43.9453125vw, 450px);
  aspect-ratio: 45/54;
  border-radius: 10px;
}
.p-feature__swiper-slide img {
  border-radius: 10px;
}

.p-feature {
  padding-top: clamp(60px, 11.71875vw, 120px);
}

.p-feature__body {
  margin-top: clamp(30px, 4.39453125vw, 45px);
  border-top: 1px solid #e7e7e7;
}

.p-feature__item {
  padding-block: clamp(36px, 4.8828125vw, 50px);
  padding-inline: clamp(20px, 2.9282576867vw, 40px);
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 3.4407027818vw, 47px);
  border-bottom: 1px solid #e7e7e7;
}
@media screen and (min-width:1024px) {
  .p-feature__item {
    grid-template-columns: clamp(200px, 25.6222547584vw, 350px) 1fr;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
}

.p-feature__item-content {
  -webkit-box-ordinal-group: 3;
      -ms-flex-order: 2;
          order: 2;
}
@media screen and (min-width:1024px) {
  .p-feature__item-content {
    max-width: 665px;
  }
}

.p-feature__item-head {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: clamp(16px, 2.3426061493vw, 32px);
}
@media screen and (min-width:768px) {
  .p-feature__item-head {
    -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;
  }
}


.p-feature__item-num {
  padding: 2px 4px;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  font-family: "Playfair Display", serif;
  color: #ffffff;
  font-size: clamp(24px, 2.8333333333vw, 34px);
  line-height: 1.1764705882;
  font-weight: 600;
  background: #F57D01;
}

.p-feature__item-title {
  font-size: clamp(18px, 2.1666666667vw, 26px);
  line-height: 1.7307692308;
  letter-spacing: 0.03rem;
  font-weight: 700;
}

.p-feature__item-text {
  margin-top: clamp(32px, 3.90625vw, 40px);
  font-size: clamp(13px, 1.3671875vw, 14px);
  line-height: 2.2857142857;
  font-weight: 700;
}

.p-feature__item-img {
  max-width: 400px;
  aspect-ratio: 350/260;
  border-radius: 10px;
}
@media screen and (min-width:1024px) {
  .p-feature__item-img {
    max-width: 350px;
  }
}
.p-feature__item-img img {
  border-radius: 10px;
}


/* apartment */

.p-apart {
  padding-bottom: clamp(80px, 17.3828125vw, 178px);
}

.c-menu {
  padding-block: 25px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  row-gap: 24px;
  border-bottom: 1px solid #e7e7e7;
}
@media screen and (min-width:768px) {
  .c-menu {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (min-width:1024px) {
  .c-menu {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -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;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  }
}



.c-menu__link {
  padding-left: clamp(20px, 2.9296875vw, 30px);
  padding-right: clamp(56px, 6.8359375vw, 70px);
  font-family: "Noto Sans JP", sans-serif;
  color: #505050;
  font-size: clamp(13px, 1.46484375vw, 14px);
  line-height: 2;
  font-weight: 700;
  position: relative;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin-inline: auto;
}
@media screen and (min-width:1024px) {
  .c-menu__link {
    margin: 0;
  }
}
.c-menu__link::after {
  content: "";
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  right: clamp(24px, 2.9296875vw, 30px);
  width: clamp(24px, 2.9296875vw, 28px);
  aspect-ratio: 1/1;
  background: url(../images/icon-menu.svg) no-repeat center center/contain;
}
@media screen and (min-width:1024px) {
  .c-menu__link:nth-of-type(n + 2)::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 40px;
    background: #e7e7e7;
  }
}

.c-page__desc + .c-page__desc {
  margin-top: clamp(16px, 2.3333333333vw, 28px);
}

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

.p-solu__items {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media screen and (min-width:768px) {
  .p-solu__items {
    grid-template-columns: repeat(2, 1fr);
    max-width: 660px;
    height: -webkit-fit-content;
    height: -moz-fit-content;
    height: fit-content;
    align-self: end;
    margin-left: auto;
  }
}


.p-solu__item {
  padding-block: 18px;
  padding-inline: 41px 16px;
  font-size: 13px;
  line-height: 1.5384615385;
  letter-spacing: 0.03rem;
  font-weight: 700;
  border: 1px solid #e7e7e7;
  border-radius: 5px;
  position: relative;
}
.p-solu__item::before {
  content: "";
  position: absolute;
  top: 25px;
  left: 22px;
  width: 8px;
  aspect-ratio: 1/1;
  border-radius: 50%;
  background: #F57D01;
}

.p-features__items {
  border-top: 1px solid #e7e7e7;
}
@media screen and (min-width:1024px) {
  .p-features__items {
    margin-top: clamp(36px, 3.8067349927vw, 52px);
    max-width: 694px;
  }
}

.p-features__item {
  padding-block: clamp(24px, 3.3333333333vw, 40px);
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 2.7086383602vw, 37px);
  border-bottom: 1px solid #e7e7e7;
}
@media screen and (min-width:768px) {
  .p-features__item {
    grid-template-columns: clamp(180px, 18.3016105417vw, 250px) 1fr;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
}

.p-features__item-content {
  -webkit-box-ordinal-group: 3;
      -ms-flex-order: 2;
          order: 2;
}


.p-features__item-title {
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.875;
  letter-spacing: 0.03rem;
  font-weight: 700;
}

.p-features__item-text {
  margin-top: 15px;
  font-size: clamp(13px, 1.3671875vw, 14px);
  line-height: 2.2857142857;
  font-weight: 700;
}

.p-features__item-img {
  width: 100%;
  max-width: calc(100% - 60px);
  aspect-ratio: 250/186;
  border-radius: 5px;
}
@media screen and (min-width:768px) {
  .p-features__item-img {
    max-width: none;
  }
}
.p-features__item-img img {
  border-radius: 5px;
}


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

.p-flow__item {
  padding-top: clamp(60px, 10.4166666667vw, 80px);
  padding-bottom: clamp(24px, 4.39453125vw, 45px);
  border-bottom: 1px solid #e7e7e7;
  position: relative;
}
.p-flow__item::after {
  content: "";
  position: absolute;
  bottom: -26px;
  left: 50%;
  translate: -50%;
  width: 51px;
  height: 25px;
  background: url(../images/icon-arrow-gray.svg) no-repeat center center/contain;
}
.p-flow__item:last-of-type::after {
  content: none;
}

.p-flow__item-head {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: clamp(24px, 2.2693997072vw, 31px);
}
.p-flow__item-num {
  padding: 4px;
  width: 54px;
  height: 54px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  font-family: "Playfair Display", serif;
  color: #ffffff;
  font-size: clamp(24px, 2.3333333333vw, 28px);
  line-height: 1.4285714286;
  font-weight: 600;
  border-radius: 50%;
  background: #393939;
}


.p-flow__item-title {
  font-size: clamp(20px, 2.34375vw, 24px);
  line-height: 1.875;
  letter-spacing: 0.03rem;
  font-weight: 700;
}

.p-flow__item-text {
  margin-top: 25px;
  font-size: clamp(13px, 1.3671875vw, 14px);
  line-height: 2.2857142857;
  font-weight: 700;
}

@media screen and (min-width:1024px) {
  .p-faq__items {
    margin-top: clamp(48px, 6.149341142vw, 84px);
  }
}

.p-faq__item {
  padding-block: 32px 26px;
  padding-inline: clamp(20px, 4.296875vw, 44px);
  background: #f9f9f9;
  border-radius: 10px;
}

.p-faq__item + .p-faq__item {
  margin-top: 10px;
}

.p-faq__item-q {
  padding-left: clamp(48px, 6.25vw, 64px);
  font-size: 14px;
  line-height: 2.2857142857;
  font-weight: 700;
  padding-bottom: 19px;
  border-bottom: 1px solid #cecece;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  position: relative;
}
.p-faq__item-q::before {
  content: "Q";
  position: absolute;
  top: 0;
  left: 0;
  width: clamp(32px, 3.90625vw, 40px);
  aspect-ratio: 1/1;
  color: #ffffff;
  font-family: "Playfair Display", serif;
  font-size: clamp(16px, 1.953125vw, 20px);
  line-height: 1;
  font-weight: 600;
  background: #393939;
  border-radius: 50%;
  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;
}

.p-faq__item-a {
  padding-left: clamp(48px, 6.25vw, 64px);
  padding-top: 26px;
  font-size: 14px;
  line-height: 2.2857142857;
  font-weight: 700;
  position: relative;
}
.p-faq__item-a::before {
  content: "A";
  position: absolute;
    top: 22px;
  left: 0;
  width: clamp(32px, 3.90625vw, 40px);
  aspect-ratio: 1/1;
  color: #ffffff;
  font-family: "Playfair Display", serif;
  font-size: clamp(16px, 1.953125vw, 20px);
  line-height: 1;
  font-weight: 600;
  background: #F57D01;
  border-radius: 50%;
  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;
}


/* reform */


/* company */

.p-company {
  padding-top: clamp(60px, 10.44921875vw, 107px);
  padding-bottom: clamp(92px, 17.578125vw, 180px);
}

.p-company__table-wrap {
  border-top: 1px solid #e7e7e7;
}
@media screen and (min-width:1024px) {
  .p-company__table-wrap {
    margin-top: clamp(48px, 7.3206442167vw, 100px);
  }
}

.p-company__table {
  width: 100%;
}

.p-company__table-row {
  padding-block: clamp(20px, 2.44140625vw, 25px);
  display: grid;
  grid-template-columns: 98px 1fr;
  border-bottom: 1px solid #e7e7e7;
}

.p-company__table-title {
  color: #F57D01;
  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;
}


.p-company__table-text {
  padding-left: clamp(20px, 7.3206442167vw, 100px);
  padding-right: 20px;
  font-size: 14px;
  line-height: 2;
  font-weight: 700;
}

@media screen and (min-width:1024px) {
  .p-philo__body {
    margin-top: clamp(40px, 3.953147877vw, 54px);
  }
}

.p-philo__main {
  margin-top: clamp(24px, 3.125vw, 32px);
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  padding: 12px 30px;
  color: #ffffff;
  font-size: clamp(24px, 2.5vw, 30px);
  line-height: 1;
  letter-spacing: 0.03em;
  font-weight: 700;
  background: #F57D01;
}

.p-philo__texts {
  margin-top: clamp(36px, 4.8828125vw, 50px);
}

.p-philo__text {
  font-size: clamp(13px, 1.3671875vw, 14px);
  line-height: 2.2857142857;
  font-weight: 700;
}
.p-philo__text + .p-philo__text {
  margin-top: clamp(24px, 2.9296875vw, 30px);
}

.p-philo__img {
  margin-top: clamp(36px, 4.8828125vw, 50px);
  margin-inline: auto;
  aspect-ratio: 691/514;
  border-radius: 5px;
}
@media screen and (min-width:1024px) {
  .p-philo__img {
    margin-inline: 0;
    max-width: 691px;
  }
}
.p-philo__img img {
  border-radius: 5px;
}

@media screen and (min-width:1024px) {
  .p-message__body {
    margin-top: clamp(40px, 6.149341142vw, 84px);
  }
}

.p-message__img {
  aspect-ratio: 691/302;
  border-radius: 5px;
}
.p-message__img img {
  border-radius: 5px;
}

.p-message__title {
  margin-top: clamp(48px, 5.859375vw, 60px);
  font-size: clamp(20px, 2.34375vw, 24px);
  line-height: 1.875;
  letter-spacing: 0.03rem;
  font-weight: 700;
}

.p-message__texts {
  margin-top: clamp(32px, 3.90625vw, 40px);
}

.p-message__text {
  font-size: clamp(13px, 1.3671875vw, 14px);
  line-height: 2.2857142857;
  font-weight: 700;
}
.p-message__text + .p-message__text {
  margin-top: clamp(24px, 2.9296875vw, 30px);
}

.p-message__name {
  margin-top: clamp(32px, 3.90625vw, 40px);
  padding-block: 2px;
  padding-left: 10px;
  border-left: 1px solid #F57D01;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin-left: auto;
}
.p-message__name .name-top {
  font-size: 14px;
  font-weight: 700;
}
.p-message__name .name-bottom {
  margin-top: 8px;
  font-size: 14px;
  font-weight: 700;
}

.p-message__skill {
  margin-top: clamp(48px, 7.12890625vw, 73px);
  padding-top: 21px;
  padding-inline: clamp(20px, 3.3203125vw, 34px);
  padding-bottom: clamp(20px, 3.80859375vw, 39px);
  border-radius: 10px;
  background: #f9f9f9;
}

.p-message__skill-title {
  padding-bottom: 8px;
  font-size: clamp(16px, 1.7578125vw, 18px);
  line-height: 2.5;
  letter-spacing: 0.03rem;
  font-weight: 700;
}

.p-message__skill-items {
  margin-top: clamp(16px, 2.63671875vw, 27px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media screen and (min-width:768px) {
  .p-message__skill-items {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 20px;
    -webkit-column-gap: 12px;
       -moz-column-gap: 12px;
            column-gap: 12px;
  }
}

.p-message__skill-item {
  padding-left: 19px;
  font-size: 13px;
  line-height: 1.5384615385;
  letter-spacing: 0.03rem;
  font-weight: 700;
  position: relative;
}
.p-message__skill-item::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #F57D01;
}



/* works */


/* news */

.p-news {
  padding-top: clamp(60px, 7.5vw, 90px);
  padding-bottom: clamp(92px, 11.4934114202vw, 157px);
}

.p-news__categories {
  margin-bottom: clamp(40px, 8.0729166667vw, 62px);
  max-width: 1142px;
  margin-inline: auto;
}

.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;
  background: #393939;
  padding: 10px 30px;
  font-family: "Noto Sans JP", sans-serif;
  color: #ffffff;
  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: 15px 43px;
    font-size: 14px;
  }
}
@media (any-hover: hover) {
  .p-news__category:hover {
    background: #F57D01;
    color: #ffffff;
    opacity: 1;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
  }
}

.p-news__items {
  max-width: 1142px;
  margin-inline: auto;
  border-top: 1px solid #e7e7e7;
}

.p-news__item {
  padding-block: clamp(20px, 3.2552083333vw, 25px);
  padding-inline: clamp(20px, 3.3333333333vw, 40px);
  background: #ffffff;
  border-radius: 5px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding-right: 36px;
  border-bottom: 1px solid #e7e7e7;
  position: relative;
}
.p-news__item::after {
  content: "";
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  right: clamp(20px, 3.3333333333vw, 40px);
  width: 10.35px;
  height: 11.01px;
  background: url(../images/icon-arrow-right.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;
  min-width: 130px;
}

.p-news__item-date {
  color: #43423f;
  font-size: 12px;
}

.p-news__item-tag span {
  display: block;
  padding: 6px 5px;
  color: #ffffff;
  font-size: 12px;
  line-height: 0.8333333333;
  letter-spacing: 0.03em;
  font-weight: 500;
  background: #303131;
  border-radius: 5px;
  text-align: center;
  min-width: 65px;
}

.p-news__item-title {
  font-size: clamp(13px, 1.8229166667vw, 14px);
  line-height: 2.1428571429;
  letter-spacing: 0.03em;
  font-weight: 700;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

@media screen and (min-width:768px) {
  .p-works__items .webgene-blog {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}
.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: 17px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 12px;
}

.p-works__item-tag span {
  display: block;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  padding: 6% 5px;
  color: #ffffff;
  font-size: 12px;
  line-height: 0.8333333333;
  letter-spacing: 0.03em;
  font-weight: 500;
  background: #858585;
  border-radius: 3px;
  text-align: center;
}

.p-works__item-date {
  font-size: 12px;
}

.p-works__item-title {
  margin-top: 10px;
  font-size: clamp(13px, 1.8229166667vw, 14px);
  line-height: 2;
  font-weight: 700;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.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: #ffffff;
  color: #372710;
}

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

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

li.next a,
li.prev a {
  display: block;
  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: #303131;
  }
  li.prev:after,
  li.next:after {
    pointer-events: auto;
  }
}

/* detail */

.p-detail {
  padding-top: clamp(80px, 9.4166666667vw, 113px);
  padding-bottom: clamp(80px, 15vw, 180px);
}

.detail {
    font-family: "Noto Sans JP", sans-serif;
  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: #F57D01;
  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;
  -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 #F57D01;
  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: #F57D01;
  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: #393939;
  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: #F57D01;
    color: #ffffff;
    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;
  opacity: 0;
  -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: contain;
     object-fit: contain;
}

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

/* contact */

.p-contact__body {
  padding-top: clamp(80px, 9.0833333333vw, 109px);
  padding-bottom: clamp(60px, 13.3333333333vw, 160px);
}

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

.formBtn:hover {
  background: transparent;
  color: #F57D01;
}

.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: #f6f6f6;
  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 #303131;
  background: #f6f6f6;
  -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: #F57D01;
  border-color: #F57D01;
  -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: #303131;
  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;
  }
}