@charset "UTF-8";

.p-air__img-area {
  padding-top: clamp(60px, 9.663250366vw, 132px);
  padding-inline: 20px;
  position: relative;
  z-index: 2;
}
@media screen and (min-width:768px) {
  .p-air__img-area {
    max-width: 1092px;
    margin-inline: auto;
  }
}

.p-air__img {
  max-width: 1092px;
  aspect-ratio: 1092/448;
}

.p-wet__img-area {
  padding-top: clamp(60px, 9.663250366vw, 132px);
  padding-inline: 20px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
    position: relative;
  z-index: 2;
}
@media screen and (min-width:768px) {
  .p-wet__img-area {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1091px;
    margin-inline: auto;
  }
}

.p-wet__img {
  width: 100%;
  max-width: 364px;
  aspect-ratio: 364/224;
}
.p-fixed.p-wet__top {
  margin-top: clamp(-234px, -17.1303074671vw, -120px);
  padding-top: clamp(180px, 25.9150805271vw, 354px);
}

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

.p-feature__body {
  margin-top: clamp(40px, 6.7708333333vw, 52px);
  border-top: 1px solid #dadada;
  padding-top: clamp(80px, 9.765625vw, 100px);
}
@media screen and (min-width:1367px) {
  .p-feature__body {
    padding-inline: calc((100vw - 1366px) / 2);
  }
}

.p-featture__item {
  padding-inline: 20px;
  display: grid;
  grid-template-columns: auto;
  gap: 32px;
}
@media screen and (min-width:1024px) {
  .p-featture__item {
    grid-template-columns: repeat(2, auto);
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: clamp(60px, 7.8330893119vw, 107px);
  }
}
@media screen and (min-width:768px) {
  .p-featture__item:nth-of-type(2n) {
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    margin-left: auto;
  }
}
@media screen and (min-width:1024px) {
  .p-featture__item:nth-of-type(2n) {
    padding-right: 0;
    -webkit-box-pack: end;
        -ms-flex-pack: end;
            justify-content: end;
    gap: clamp(60px, 11.859443631vw, 162px);
  }
  .p-featture__item:nth-of-type(2n) .p-feature__img {
    -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
            order: 1;
  }
    .p-featture__item:nth-of-type(2n) .p-feature__img-text {
    left: 83px;
  }
}
.p-featture__item:nth-of-type(2n) .p-menu__item-num {
  background: #F35759;
}

@media screen and (min-width:1024px) {
  .p-featture__item:nth-of-type(2n-1) {
    padding-left: 0;
  }
}
.p-featture__item + .p-featture__item {
  margin-top: clamp(64px, 8.3333333333vw, 100px);
}

.p-feature__content {
  max-width: 530px;
}

.p-feature__text {
  margin-top: clamp(32px, 3.90625vw, 40px);
  font-size: clamp(13px, 1.8229166667vw, 14px);
  line-height: 2.2857142857;
  font-weight: 600;
}
.p-feature__text + .p-feature__text {
  margin-top: clamp(24px, 3.90625vw, 30px);
}

.p-feature__img {
  max-width: 623px;
  aspect-ratio: 623/448;
  position: relative;
  -webkit-box-ordinal-group: 0;
      -ms-flex-order: -1;
          order: -1;
}

.p-feature__img-text {
  position: absolute;
  bottom: clamp(-23px, -1.6837481698vw, -12px);
  left: 20px;
  color: transparent;
  font-size: clamp(60px, 8.6383601757vw, 118px);
  line-height: 0.6694915254;
  font-weight: 600;
  -webkit-text-stroke: 1px #9f9f9f;
}
@media screen and (min-width:1024px) {
  .p-feature__img-text {
    left: 53px;
  }
}


.p-plan {
  padding-top: clamp(80px, 11.6666666667vw, 140px);
  padding-bottom: clamp(60px, 8.1666666667vw, 98px);
  color: #ffffff;
  background: #303030;
  position: relative;
}

.p-plan::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 28.6969253294vw;
  height: 16px;
  background: url(../images/top-cta-edge.png) no-repeat top left/cover;
  z-index: 1;
  pointer-events: none;
}
.p-plan::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 74.0849194729vw;
  height: 29px;
  background: url(../images/air-bottom.png) no-repeat bottom left/contain;
  z-index: 2;
}

.p-plan__body {
  margin-top: clamp(36px, 5.078125vw, 52px);
  padding-top: clamp(60px, 7.71484375vw, 79px);
  padding-inline: clamp(20px, 4.3333333333vw, 52px);
  border-top: 1px solid #dadada;
}
@media screen and (min-width:1367px) {
  .p-plan__body {
    padding-inline: calc(52px + (100vw - 1366px) / 2);
  }
}

.p-plan__table-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media screen and (min-width:1024px) {
  .p-plan__table-wrap {
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(32px, 4.3191800878vw, 59px);
    max-width: 1255px;
    margin-inline: auto;
  }
}

.p-plan__table-content {
  max-width: 598px;
}
.p-plan__table-content .p-menu__table::after {
  right: 36.2876254181%;
}
@media screen and (min-width:1367px) {
  .p-plan__table-content .p-menu__table::after {
    right: 217px;
  }
}
@media screen and (min-width:1367px) {
  .p-plan__table-content .p-menu__table-head,
  .p-plan__table-content .p-menu__table-row {
    grid-template-columns: 381px 217px;
  }
}
.p-plan__table-content .p-menu__table-text {
  color: #404040;
}
.p-plan__table-content:nth-of-type(2n) .p-plan__table-title::before {
  background: #F35759;
}
.p-plan__table-content:nth-of-type(2n) .p-menu__table-head {
  background: #F35759;
}


.p-plan__table-title {
  padding-left: 26px;
  font-size: clamp(18px, 1.8333333333vw, 22px);
  line-height: 0.9090909091;
  font-weight: 700;
  position: relative;
}
.p-plan__table-title::before {
  content: "";
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  left: 0;
  width: 16px;
  aspect-ratio: 1/1;
  background: #F2B546;
  border-radius: 50%;
}

.p-plan__desc {
  margin-top: clamp(32px, 6.3802083333vw, 49px);
  font-size: 12px;
  line-height: 2.6666666667;
  font-weight: 600;
}



.p-fixed {
  
  background: #f0f0f0;
  position: relative;
  z-index: 2;
}

.p-fixed__top {
  padding-top: clamp(80px, 10.3333333333vw, 124px);
  padding-bottom: clamp(92px, 14.0833333333vw, 169px);
  color: #ffffff;
  background: #303030;
  position: relative;
}
.p-fixed__top::after {
  content: "";
  position: absolute;
  top: clamp(-29px, -2.1229868228vw, -4px);
  left: 0;
  width: 100%;
  height: calc(100% + 29px);
  background: url(../images/wet-top-filter.png) repeat center center/cover;
  z-index: 1;
  pointer-events: none;
}
.p-fixed__top::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 74.0849194729vw;
  height: 29px;
  background: url(../images/air-bottom.png) no-repeat bottom left/contain;
  z-index: 2;
}

.p-fixed__top.p-wet__top {
  margin-top: clamp(-234px, -17.1303074671vw, -120px);
  padding-top: clamp(180px, 25.9150805271vw, 354px);
}

.p-fixed__top-wrap {
  display: grid;
  grid-template-columns: auto;
  gap: 20px;
}
@media screen and (min-width:1024px) {
  .p-fixed__top-wrap {
    grid-template-columns: repeat(2, auto);
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
  }
}

.p-fixed__top-title {
  font-size: clamp(20px, 2.3333333333vw, 28px);
  line-height: 1.5;
  font-weight: 700;
}

.p-fixed__lists {
  display: grid;
  grid-template-columns: auto;
  row-gap: 15px;
  max-width: 755px;
}
@media screen and (min-width:768px) {
  .p-fixed__lists {
        grid-template-columns: repeat(2, 1fr);
    -webkit-column-gap: clamp(26px, 3.8067349927vw, 52px);
       -moz-column-gap: clamp(26px, 3.8067349927vw, 52px);
            column-gap: clamp(26px, 3.8067349927vw, 52px);
  }
}

.p-fixed__list {
  padding-block: clamp(20px, 2.83203125vw, 29px);
  padding-inline: 27px;
  border: 1px solid #ffffff;
  width: 100%;
  max-width: 352px;
  border-radius: 10px;
}

.p-fixed__list:nth-of-type(2) .p-fixed__list-text::before, .p-fixed__list:nth-of-type(3) .p-fixed__list-text::before, .p-fixed__list:nth-of-type(6) .p-fixed__list-text::before {
  background: url(../images/icon-check-r.svg) no-repeat center center/contain;
}

.p-fixed__list-text {
  padding-left: 43px;
  font-size: clamp(14px, 1.3333333333vw, 16px);
  line-height: 2;
  font-weight: 600;
  position: relative;
}
.p-fixed__list-text::before {
  content: "";
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  left: 0;
  width: 30px;
  height: 29px;
  background: url(../images/icon-check-y.svg) no-repeat center center/contain;
}

.p-fixed__top-arrow {
  margin-top: clamp(48px, 6.25vw, 64px);
  width: 80px;
  height: 44px;
  margin-inline: auto;
}

.p-fixed__main {
  margin-top: clamp(36px, 5.859375vw, 45px);
  max-width: 694px;
  margin-inline: auto;
}

.p-fixed__main-top {
  font-size: clamp(20px, 2.3333333333vw, 28px);
  line-height: 1.5;
  font-weight: 700;
  text-align: center;
}

.p-fixed__main-flex {
  margin-top: clamp(24px, 2.75vw, 33px);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: end;
  gap: 20px;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin-inline: auto;
}

.p-fixed__main-logo {
  width: clamp(120px, 16.9921875vw, 174px);
  aspect-ratio: 174/57;
}

.p-fixed__main-text {
  font-size: clamp(24px, 3.125vw, 32px);
  line-height: 1.3125;
  font-weight: 700;
}

.p-fixed__text {
  margin-top: clamp(48px, 5.0833333333vw, 61px);
  font-size: clamp(13px, 1.3671875vw, 14px);
  line-height: 2.2857142857;
  font-weight: 600;
  text-align: center;
}

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

.p-faq__body {
  margin-top: clamp(36px, 5.078125vw, 52px);
  padding-top: clamp(60px, 7.71484375vw, 79px);
  padding-inline: clamp(20px, 4.3333333333vw, 52px);
  border-top: 1px solid #dadada;
}
@media screen and (min-width:768px) {
  .p-faq__body {
    padding-inline: clamp(60px, 8.5833333333vw, 103px);
  }
}

@media screen and (min-width:1367px) {
  .p-faq__body {
    padding-inline: calc(103px + (100vw - 1366px) / 2);
  }
}


.p-faq__item {
  padding-block: clamp(18px, 2.0833333333vw, 25px);
  padding-inline: clamp(20px, 3.6666666667vw, 44px);
  background: #ffffff;
  border-radius: 10px;
}

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


.p-faq__item-q {
  padding-left: 37px;
    padding-bottom: 17px;

  font-size: 14px;
  line-height: 2.1428571429;
  font-weight: 700;
  position: relative;
}
.p-faq__item-q::before {
  content: "Q.";
  position: absolute;
  top: 5px;
  left: 0;
  color: #F2B546;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  line-height: 1.4285714286;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.p-faq__item-a {
  padding-left: 37px;
  border-top: 1px solid #cecece;
  padding-top: 16px;
  font-size: 14px;
  line-height: 2.1428571429;
  font-weight: 500;
  position: relative;
}
.p-faq__item-a::before {
  content: "A.";
  position: absolute;
  top: 22px;
  left: 0;
  color: #F35759;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  line-height: 1.4285714286;
  letter-spacing: 0.08em;
  font-weight: 700;
}





.p-menu {
  padding-top: clamp(80px, 10.3515625vw, 106px);
  padding-bottom: clamp(92px, 14.55078125vw, 149px);
  background: #f0f0f0;
}

.p-menu__title {
  padding-left: clamp(20px, 5.17578125vw, 53px);
}
@media screen and (min-width:1367px) {
  .p-menu__title {
    padding-left: calc(53px + (100vw - 1366px) / 2);
  }
}
.p-menu__body {
  margin-top: clamp(36px, 5.078125vw, 52px);
  padding-top: clamp(60px, 9.765625vw, 100px);
  padding-left: clamp(20px, 5.37109375vw, 55px);
  padding-right: 20px;
  border-top: 1px solid #dadada;
}
@media screen and (min-width:1024px) {
  .p-menu__body {
    padding-right: 0;
  }
}

@media screen and (min-width:1367px) {
  .p-menu__body {
    padding-left: calc(55px + (100vw - 1366px) / 2);
  }
}

.p-menu__item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media screen and (min-width:1024px) {
  .p-menu__item {
    grid-template-columns: 358px 1fr;
    gap: clamp(60px, 9.1508052709vw, 125px);
  }
}

.p-menu__item + .p-menu__item {
  margin-top: clamp(60px, 9.765625vw, 100px);
}

.p-menu__item:nth-of-type(2n) .p-menu__item-num {
  background: #F35759;
}
.p-menu__item:nth-of-type(2n) .p-menu__plan-title::before {
  background: #F35759;
}
.p-menu__item:nth-of-type(2n) .p-menu__table-head {
  background: #F35759;
}

@media screen and (min-width:1024px) {
  .p-menu__item-head {
    position: sticky;
    top: 98px;
    height: -webkit-fit-content;
    height: -moz-fit-content;
    height: fit-content;
    max-width: 358px;
  }
}

.p-menu__item-flex {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 23px;
}

.p-menu__item-num {
  padding-inline: 8px;
  color: #ffffff;
  font-size: clamp(20px, 2.34375vw, 24px);
  line-height: 1.9166666667;
  font-weight: 600;
  background: #F2B546;
  border-radius: 5px;
}

.p-menu__item-title {
  font-size: clamp(22px, 2.5390625vw, 26px);
  line-height: 1.6153846154;
  font-weight: 700;
}

.p-menu__item-desc {
  margin-top: clamp(32px, 3.90625vw, 40px);
  font-size: 14px;
  line-height: 2.2857142857;
  font-weight: 600;
}
@media screen and (min-width:1024px) {
  .p-menu__item-desc {
    max-width: 358px;
  }
}

.p-menu__item-body {
  max-width: 829px;
}

.p-menu__body-img {
  width: min(829px, 100% - 40px);
  aspect-ratio: 829/450;
}
@media screen and (min-width:1024px) {
  .p-menu__body-img {
    width: 100%;
  }
}

@media screen and (min-width:1024px) {
  .p-menu__body-content {
    margin-right: clamp(20px, 3.8067349927vw, 52px);
  }
}

.p-menu__body-text {
  margin-top: clamp(32px, 4.78515625vw, 49px);
  font-size: 14px;
  line-height: 2.2857142857;
  font-weight: 600;
}

.p-menu__plan-title {
  margin-top: clamp(32px, 4.296875vw, 44px);
  padding-block: 10px;
  padding-left: 35px;
  font-size: 20px;
  font-weight: 600;
  background: #ffffff;
  border-radius: 5px;
  position: relative;
}
.p-menu__plan-title::before {
  content: "";
  position: absolute;
  top: 13px;
  left: 14px;
  width: 8px;
  height: 23px;
  background: #F2B546;
}

.p-menu__table {
  margin-top: clamp(32px, 3.80859375vw, 39px);
  border: 1px solid #dadada;
  background: #ffffff;
  border-radius: 10px;
  position: relative;
}
.p-menu__table::after {
  content: "";
  position: absolute;
  top: 0;
  right: 36.3286264442%;
  width: 1px;
  height: 100%;
  background: #dadada;
}
@media screen and (min-width:1367px) {
  .p-menu__table::after {
    right: 283px;
  }
}
.p-menu__table-head {
  padding-block: 9px 10px;
  display: grid;
  grid-template-columns: 63.6713735558% 36.3286264442%;
  color: #ffffff;
  background: #F2B546;
  border-radius: 10px 10px 0 0;
}
@media screen and (min-width:1367px) {
  .p-menu__table-head {
    grid-template-columns: 496px 283px;
  }
}

.p-menu__table-title {
  font-size: clamp(16px, 1.7578125vw, 18px);
  line-height: 2.3333333333;
  font-weight: 700;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin-inline: auto;
}


.p-menu__table-row {
  display: grid;
  grid-template-columns: 63.6713735558% 36.3286264442%;
}
@media screen and (min-width:1367px) {
  .p-menu__table-row {
    grid-template-columns: 496px 283px;
  }
}
.p-menu__table-row:nth-of-type(n + 1) {
  border-bottom: 1px solid #dadada;
}

.p-plan__table-content .p-menu__table-row:last-of-type {
  border: none;
}


.p-menu__table-text {
  padding-block: 14px;
  padding-left: clamp(12px, 2.5622254758vw, 35px);
    padding-right: 12px;
  font-size: clamp(14px, 1.5625vw, 16px);
  line-height: 1.75;
  font-weight: 500;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.p-menu__table-text.textarea {
  padding-right: 14px;
}
.p-menu__table-text .text {
  max-width: 443px;
}



/* works */


@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: 24px;
  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-size: 13px;
}

.p-works__item-tag span {
  padding: 2px 3px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 500;
  border-radius: 20px;
  background: #787878;
  text-align: center;
}

.p-works__item-title {
  margin-top: 9px;
  font-size: clamp(13px, 1.8229166667vw, 14px);
  line-height: 1.8571428571;
  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: 3px;
  font-size: clamp(13px, 1.3671875vw, 14px);
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  position: relative;
}
.p-works__item-text::after {
  content: "";
  position: absolute;
  top: 8px;
  right: 0;
  width: 7px;
  height: 6px;
  background: url(../images/icon-right-yellow.svg) no-repeat center center/contain;
}

/* news */


.p-news {
  padding-top: clamp(80px, 7.8333333333vw, 94px);
  padding-bottom: clamp(92px, 10.980966325vw, 150px);
  background: #F0F0F0;
}

.p-news__categories {
  margin-bottom: clamp(40px, 7.8125vw, 60px);
  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: #ffffff;
  padding: 10px 30px;
  font-family: "Noto Sans JP", sans-serif;
  color: #F35759;
  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: #F35759;
    color: #ffffff;
    opacity: 1;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
  }
}

.p-news__items {
  max-width: 1142px;
  margin-inline: auto;
}
.p-news__items .webgene-item + .webgene-item {
  margin-top: 10px;
}

.p-news__item {
  padding-block: clamp(24px, 3.41796875vw, 35px);
  padding-inline: 20px;
  display: grid;
  grid-template-columns: auto;
  gap: 12px;
  background: #f9f9f9;
  border-radius: 10px;
  position: relative;
}
@media screen and (min-width:1024px) {
  .p-news__item {
    grid-template-columns: auto 1fr;
    gap: clamp(20px, 3.074670571vw, 42px);
    padding-inline: 47px 40px;
  }
}

.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 {
  color: #676767;
  font-size: 13px;
}

.p-news__item-tag span {
  padding: 2px 3px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 500;
  border-radius: 20px;
  background: #787878;
  text-align: center;
}

.p-news__item-title {
  padding-right: 32px;
  font-size: clamp(13px, 1.3671875vw, 14px);
  line-height: 1.8571428571;
  font-weight: 500;
  color: #3c3c3c;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  position: relative;
}
.p-news__item-title::after {
  content: "";
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  right: 0;
  width: 22px;
  aspect-ratio: 1/1;
  background: url(../images/icon-arrow-yellow.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: #ffffff;
  color: #372710;
}

.webgene-pagination ul .number.selected a {
  background: #F35759;
  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: #404040;
  }
  li.prev:after,
  li.next:after {
    pointer-events: auto;
  }
}

/* detail */

.p-detail {
  padding-top: clamp(80px, 10.9166666667vw, 131px);
  padding-bottom: clamp(80px, 13.6666666667vw, 164px);
  background: #F0F0F0;
}

.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: #F35759;
  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 #F35759;
  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: #F35759;
  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: #F2B546;
  border: 1px solid #F2B546;
  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: #F2B546;
    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, 12vw, 144px);
  padding-bottom: clamp(60px, 12.5vw, 150px);
  background: #F0F0F0;
}

.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 #F2B546;
  width: 183px;
  background: #F2B546;
  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: #F2B546;
}

.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 #404040;
  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: #F2B546;
  border-color: #F2B546;
  -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: #404040;
  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;
  }
}