@charset "UTF-8";

/* about */


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

.p-about__top {
  padding-bottom: clamp(48px, 8.203125vw, 84px);
}

.p-about__top-text {
  font-size: clamp(20px, 3.125vw, 24px);
  line-height: 1.4583333333;
  letter-spacing: 0.72px;
  font-weight: 800;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin-inline: auto;
  position: relative;
}
.p-about__top-text::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 100%;
  height: 3px;
  background: #21C3D4;
}

.p-about__top-head {
  margin-top: 34px;
  color: #ffffff;
  max-width: 900px;
  margin-inline: auto;
  background: transparent -webkit-gradient(linear, left top, left bottom, from(#0671b8), to(#1ebad1)) 0% 0% no-repeat padding-box;
  background: transparent linear-gradient(180deg, #0671b8 0%, #1ebad1 100%) 0% 0% no-repeat padding-box;
  border-radius: 15px;
  padding-top: clamp(40px, 5.6666666667vw, 68px);
  padding-bottom: clamp(40px, 5.25vw, 63px);
  padding-inline: 20px;
}
.p-about__top-head .head-text {
  font-size: clamp(20px, 3.125vw, 24px);
  line-height: 1.5833333333;
  letter-spacing: 0.72px;
  font-weight: 800;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin-inline: auto;
  text-align: center;
  position: relative;
}
.p-about__top-head .head-text::before {
  content: "“";
  position: absolute;
  top: -5px;
  left: -13px;
  font-size: clamp(24px, 2.3426061493vw, 32px);
  line-height: 1.4375;
  letter-spacing: 0.96px;
  font-weight: 800;
}
@media screen and (min-width:768px) {
  .p-about__top-head .head-text::before {
    left: clamp(-96px, -7.027818448vw, -20px);
  }
}
.p-about__top-head .head-text::after {
  content: "”";
  position: absolute;
  bottom: 3px;
  right: -20px;
  font-size: clamp(24px, 2.3426061493vw, 32px);
  line-height: 1.4375;
  letter-spacing: 0.96px;
  font-weight: 800;
}
@media screen and (min-width:768px) {
  .p-about__top-head .head-text::after {
    right: clamp(-108px, -7.906295754vw, -20px);
  }
}

.p-about__top-main {
  margin-top: clamp(40px, 6.5104166667vw, 50px);
  max-width: 900px;
  margin-inline: auto;
}

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

.main-top .p-about__ball-wrap .ball:nth-of-type(2) {
  margin-top: 24px;
}
@media screen and (min-width:1024px) {
  .main-top .p-about__ball-wrap .ball:nth-of-type(2) {
    margin-top: 0;
  }
}
@media screen and (min-width:1024px) {
  .main-top .p-about__ball-wrap .ball.ball-low {
    margin-top: clamp(40px, 4.39238653vw, 60px);
  }
}

.main-top .p-about__ball-wrap.wrap-l .ball:last-of-type {
  margin-left: clamp(-30px, -2.196193265vw, -16px);
}
.main-top .p-about__ball-wrap.wrap-r .ball:first-of-type {
  margin-right: clamp(-30px, -2.196193265vw, -16px);
}
.main-top .p-about__ball-wrap:nth-of-type(2) {
  margin-top: 24px;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: end;
}
@media screen and (min-width:1024px) {
  .main-top .p-about__ball-wrap:nth-of-type(2) {
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: start;
    margin-top: 0;
  }
}
.main-top .ball {
  padding-block: clamp(24px, 3.80859375vw, 39px);
  padding-inline: clamp(20px, 4.58984375vw, 47px);
    height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
  background: #F8F8F8;
  border-radius: 62px;
}
@media screen and (min-width:1024px) {
  .main-top .ball.ball-low {
    margin-top: clamp(40px, 4.39238653vw, 60px);
  }
}
.main-top .ball-flex {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin-inline: auto;
}
.main-top .text {
  font-size: clamp(14px, 1.0980966325vw, 15px);
  line-height: 1.4666666667;
  letter-spacing: 0.45px;
  font-weight: 800;
}
.main-top .text.blue {
  color: #21C3D4;
}

.main-img {
  margin-top: 32px;
  margin-inline: auto;
  aspect-ratio: 446/343;
  max-width: 446px;
}
@media screen and (min-width:1024px) {
  .main-img {
    margin-top: clamp(-51px, -3.7335285505vw, -26px);
  }
}

.main-message {
  margin-top: 22px;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin-inline: auto;
}
.main-message .text {
  font-size: clamp(22px, 1.756954612vw, 24px);
  line-height: 1.4583333333;
  letter-spacing: 0.72px;
  font-weight: 800;
  text-align: center;
}
.main-message .text.blue {
  color: #21C3D4;
}


.message-wrap {
  margin-top: 4px;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
}
@media screen and (min-width:768px) {
  .message-wrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
}

.message-bottom {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin-inline: auto;
}

.p-about__body {
  margin-top: 40px;
}
@media screen and (min-width:1024px) {
  .p-about__body {
    margin-top: 0;
  }
}


.p-about__item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  position: relative;
}
.p-about__item:first-of-type {
  margin-top: 50px;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: reverse;
      -ms-flex-direction: row-reverse;
          flex-direction: row-reverse;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: start;
}
.p-about__item:first-of-type .item-content {
  margin-left: -86px;
  padding-right: clamp(20px, 5.078125vw, 52px);
  padding-left: clamp(20px, 12.0833333333vw, 145px);
}
@media screen and (min-width:768px) {
  .p-about__item:first-of-type .item-content {
    margin-left: clamp(-86px, -6.2957540264vw, -40px);
  }
}
.p-about__item:first-of-type .item-img {
  position: relative;
  z-index: 1;
}
.p-about__item:first-of-type .item-num,
.p-about__item:first-of-type .item-title {
  text-align: right;
}
@media screen and (min-width:768px) {
  .p-about__item:first-of-type .item-num,
  .p-about__item:first-of-type .item-title {
    text-align: left;
  }
}
.p-about__item:nth-of-type(2n) .item-content {
  padding-left: clamp(20px, 5.95703125vw, 61px);
  padding-right: 20px;
  background: transparent -webkit-gradient(linear, left top, left bottom, from(#0978bb), to(#1eb8d0)) 0% 0% no-repeat padding-box;
  background: transparent linear-gradient(180deg, #0978bb 0%, #1eb8d0 100%) 0% 0% no-repeat padding-box;
  margin-right: -86px;
}
@media screen and (min-width:768px) {
  .p-about__item:nth-of-type(2n) .item-content {
    padding-right: 80px;
    margin-right: clamp(-86px, -6.2957540264vw, -40px);
  }
}
.p-about__item:nth-of-type(3) {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: reverse;
      -ms-flex-direction: column-reverse;
          flex-direction: column-reverse;
}
@media screen and (min-width:768px) {
  .p-about__item:nth-of-type(3) {
    margin-right: 20px;
  }
}
.p-about__item:nth-of-type(3) .item-content {
  margin-top: clamp(-72px, -5.270863836vw, -60px);
  padding-top: clamp(72px, 8.8579795022vw, 121px);
  padding-bottom: clamp(40px, 5.1976573939vw, 71px);
  padding-left: clamp(20px, 5.95703125vw, 61px);
  padding-right: 20px;
  margin-left: clamp(40px, 4.9780380673vw, 68px);
  max-width: 818px;
  background: transparent -webkit-gradient(linear, left top, left bottom, from(#1db6cf), to(#0cc3b8)) 0% 0% no-repeat padding-box;
  background: transparent linear-gradient(180deg, #1db6cf 0%, #0cc3b8 100%) 0% 0% no-repeat padding-box;
  width: auto;
}
@media screen and (min-width:768px) {
  .p-about__item:nth-of-type(3) .item-content {
    width: 100%;
  }
}
.p-about__item:nth-of-type(3) .item-num,
.p-about__item:nth-of-type(3) .item-title,
.p-about__item:nth-of-type(3) .item-text {
  max-width: 705px;
}
.p-about__item:nth-of-type(3) .item-img {
  max-width: clamp(112px, 59.9560761347vw, 819px);
  aspect-ratio: 819/450;
  z-index: 1;
}
.p-about__item + .p-about__item {
  margin-top: clamp(60px, 9.765625vw, 100px);
}
.p-about__item .item-content {
  margin-top: 60px;
  font-family: "Noto Sans JP", sans-serif;
  width: 100%;
  max-width: 564px;
  padding-top: clamp(60px, 7.1010248902vw, 97px);
  padding-bottom: clamp(60px, 6.7349926794vw, 92px);
  color: #ffffff;
  background: transparent -webkit-gradient(linear, left top, left bottom, from(#1db6cf), to(#0cc3b8)) 0% 0% no-repeat padding-box;
  background: transparent linear-gradient(180deg, #1db6cf 0%, #0cc3b8 100%) 0% 0% no-repeat padding-box;
  border-radius: 15px;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}
@media screen and (min-width:768px) {
  .p-about__item .item-content {
    margin-top: clamp(32px, 4.8828125vw, 50px);
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
  }
}
.p-about__item .item-num {
  font-family: "Lato", sans-serif;
  font-size: clamp(14px, 2.0833333333vw, 16px);
  line-height: 1.3125;
  letter-spacing: 0.32px;
  font-weight: 500;
  max-width: 367px;
}
.p-about__item .item-title {
  margin-top: 10px;
  font-size: clamp(18px, 2.1484375vw, 22px);
  line-height: 1.4545454545;
  letter-spacing: 1.1px;
  font-weight: 600;
  padding-bottom: clamp(16px, 3.2552083333vw, 25px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  max-width: 367px;
}
.p-about__item .item-text {
  margin-top: clamp(24px, 3.90625vw, 30px);
  font-size: clamp(13px, 1.8229166667vw, 14px);
  line-height: 2.0714285714;
  letter-spacing: 0.7px;
  max-width: 367px;
}
.p-about__item .item-img {
  max-width: clamp(112px, 29.2825768668vw, 400px);
  aspect-ratio: 400/450;
  height: 100%;
  border: 1px solid rgba(24, 27, 57, 0.0509803922);
  border-radius: 15px;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}
.p-about__item .item-img img {
  border-radius: 15px;
}



/* service */

.p-service__body {
  margin-top: 40px;
  font-family: "Noto Sans JP", sans-serif;
}
@media screen and (min-width:1024px) {
  .p-service__body {
    margin-top: 0;
  }
}

.p-service__top {
  padding-top: clamp(120px, 15.8857979502vw, 217px);
  padding-bottom: clamp(60px, 9.6666666667vw, 116px);
  position: relative;
  overflow: hidden;
}
.p-service__top .bg-l {
  position: absolute;
  top: clamp(20px, 5.0512445095vw, 69px);
  right: clamp(120px, 25.0366032211vw, 342px);
  width: clamp(500px, 87.0424597365vw, 1189px);
  aspect-ratio: 1366/331;
}
@media screen and (min-width:1367px) {
  .p-service__top .bg-l {
    right: calc(305px + (100vw - 1366px) / 2);
  }
}
.p-service__top .bg-r {
  position: absolute;
  top: clamp(200px, 21.8887262079vw, 299px);
  left: clamp(120px, 40.9956076135vw, 560px);
  width: clamp(500px, 87.0424597365vw, 1189px);
  aspect-ratio: 1366/331;
}
@media screen and (min-width:1367px) {
  .p-service__top .bg-r {
    left: calc(560px + (100vw - 1366px) / 2);
  }
}
.p-service__top-content {
  padding-inline: clamp(20px, 3.3333333333vw, 40px);
  max-width: 1146px;
  margin-inline: auto;
    position: relative;
  z-index: 1;
}
@media screen and (min-width:1024px) {
  .p-service__top-content {
    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: 20px;
  }
}
.p-service__top-content .top-flex {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.p-service__top-content .title {
  font-size: clamp(20px, 3.125vw, 24px);
  line-height: 1.5833333333;
  letter-spacing: 0.72px;
  font-weight: 700;
}
.p-service__top-content .title.blue {
  color: #21C3D4;
}
.p-service__top-content .top-texts {
  max-width: 579px;
  margin-top: 40px;
}
@media screen and (min-width:1024px) {
  .p-service__top-content .top-texts {
    margin-top: 0;
  }
}
.p-service__top-content .text {
  font-size: clamp(13px, 1.8229166667vw, 14px);
  line-height: 1.7857142857;
  letter-spacing: 0.28px;
}
.p-service__top-content .text + .text {
  margin-top: clamp(24px, 3.90625vw, 30px);
}


.p-service__top-img {
  margin-top: clamp(40px, 9.2972181552vw, 127px);
  max-width: 1066px;
  aspect-ratio: 1066/450;
  border: 1px solid rgba(24, 27, 57, 0.0509803922);
  border-radius: 15px;
  margin-inline: auto;
}
.p-service__top-img img {
  border-radius: 15px;
}

.p-service__bottom {
  padding-top: clamp(60px, 8.3333333333vw, 100px);
  padding-bottom: clamp(80px, 11.6666666667vw, 140px);
  background: transparent -webkit-gradient(linear, left top, left bottom, from(#f4fdff), to(#e7f1fc)) 0% 0% no-repeat padding-box;
  background: transparent linear-gradient(180deg, #f4fdff 0%, #e7f1fc 100%) 0% 0% no-repeat padding-box;
  border-radius: 40px 40px 0px 0px;
}

.p-service__title {
  padding-left: 20px;
  color: #313332;
  font-size: clamp(24px, 3.6458333333vw, 28px);
  line-height: 1.4285714286;
  letter-spacing: 1.4px;
  font-weight: 600;
  position: relative;
}
.p-service__title::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 0;
  width: 10px;
  aspect-ratio: 1/1;
  background: #21c3d5;
  border-radius: 50%;
}

.p-service__content {
  padding-top: clamp(32px, 6.5104166667vw, 50px);
  padding-bottom: clamp(48px, 11.71875vw, 90px);
  position: relative;
}
.p-service__content::after {
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: url(../images/dash-line.svg) repeat center center/cover;
}
.p-service__content + .p-service__content {
  padding-top: clamp(60px, 9.765625vw, 100px);
}

@media screen and (min-width:768px) {
  .content-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
        -ms-flex-direction: row-reverse;
            flex-direction: row-reverse;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 20px;
  }
}
.content-container .content-texts {
  font-family: "Noto Sans JP", sans-serif;
  max-width: 420px;
}
@media screen and (min-width:1024px) {
  .content-container .content-texts {
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
  }
}
.content-container .content-num {
  font-family: "Lato", sans-serif;
  color: #21C3D4;
  font-size: clamp(14px, 2.0833333333vw, 16px);
  line-height: 1.3125;
  letter-spacing: 0.32px;
  font-weight: 600;
}
.content-container .content-title {
  margin-top: 10px;
  font-size: clamp(18px, 2.8645833333vw, 22px);
  line-height: 1.4545454545;
  letter-spacing: 1.1px;
  font-weight: 600;
  padding-bottom: clamp(12px, 3.2552083333vw, 25px);
  border-bottom: 1px solid rgba(24, 27, 57, 0.1);
}
.content-container .content-text {
  margin-top: clamp(16px, 3.90625vw, 30px);
  font-size: clamp(13px, 1.0248901903vw, 14px);
  line-height: 2;
  letter-spacing: 0.7px;
}
.content-container .p-service__btn {
  margin-top: clamp(32px, 5.2083333333vw, 40px);
}
.content-container .content-img {
  margin-top: 32px;
  max-width: 399px;
  aspect-ratio: 399/450;
  height: 100%;
  border: 1px solid rgba(24, 27, 57, 0.0509803922);
  border-radius: 15px;
}
@media screen and (min-width:768px) {
  .content-container .content-img {
    margin-top: 0;
  }
}
@media screen and (min-width:1024px) {
  .content-container .content-img {
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
  }
}

.p-service__value {
  margin-top: clamp(40px, 5.37109375vw, 55px);
}

.value-title {
  color: #313332;
  font-size: clamp(16px, 2.34375vw, 18px);
  line-height: 1.4444444444;
  letter-spacing: 0.9px;
  font-weight: 600;
}

.value-items {
  margin-top: 16px;
  max-width: 879px;
}
.value-items .value-item {
  padding-top: clamp(16px, 2.734375vw, 21px);
  padding-bottom: clamp(16px, 3.2552083333vw, 25px);
  padding-right: 20px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 16px;
  background: #ffffff;
  border-radius: 15px;
}
.value-items .value-item .value-num {
  padding: 4px 12px;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  color: #ffffff;
  font-size: clamp(14px, 2.0833333333vw, 16px);
  line-height: 1.5;
  letter-spacing: 0.8px;
  font-weight: 600;
  background: #191b39;
  text-align: center;
}
.value-items .value-item .value-text {
  color: #313332;
  font-size: clamp(14px, 2.0833333333vw, 16px);
  line-height: 1.5;
  letter-spacing: 0.8px;
  font-weight: 600;
}
.value-items .value-item + .value-item {
  margin-top: 10px;
}

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

.p-service__case-items {
  margin-top: 16px;
  font-family: "Zen Kaku Gothic New", sans-serif;
}
.p-service__case-items .webgene-blog {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 24px;
}
@media screen and (min-width:768px) {
  .p-service__case-items .webgene-blog {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    -webkit-column-gap: clamp(20px, 3vw, 36px);
       -moz-column-gap: clamp(20px, 3vw, 36px);
            column-gap: clamp(20px, 3vw, 36px);
  }
}
.p-service__case-items .p-case__item-head {
  max-width: 421px;
  aspect-ratio: 421/237;
}




/* intro */

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

.p-intro__body {
  margin-top: 40px;
  margin-bottom: clamp(40px, 7.8125vw, 60px);
}
@media screen and (min-width:1024px) {
  .p-intro__body {
    margin-top: 0;
  }
}

.p-intro__top-content {
  padding-bottom: clamp(40px, 5.859375vw, 60px);
}

.p-intro__top-content .p-intro__title {
  padding-left: 20px;
  font-family: "Noto Sans JP", sans-serif;
  color: #313332;
  font-size: clamp(24px, 3.6458333333vw, 28px);
  line-height: 1.4285714286;
  letter-spacing: 1.4px;
  font-weight: 600;
  position: relative;
}
.p-intro__top-content .p-intro__title::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 0;
  width: 10px;
  aspect-ratio: 1/1;
  background: #21c3d5;
  border-radius: 50%;
}
.p-intro__top-content .p-intro__text {
  color: #313332;
  margin-top: clamp(24px, 6.5104166667vw, 50px);
  font-size: clamp(13px, 1.8229166667vw, 14px);
  line-height: 1.7857142857;
  letter-spacing: 0.7px;
}

.p-intro__content {
  padding-top: clamp(28px, 5.2734375vw, 54px);
  padding-bottom: clamp(30px, 5.859375vw, 60px);
  position: relative;
}
.p-intro__content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: url(../images/dash-line.svg) repeat center center/cover;
}
.p-intro__content .content-texts {
  color: #313332;
}
.p-intro__content .content-num {
  font-family: "Lato", sans-serif;
  color: #21C3D4;
  font-size: clamp(14px, 2.0833333333vw, 16px);
  line-height: 1;
  letter-spacing: 0.32px;
  font-weight: 500;
}
.p-intro__content .content-title {
  margin-top: 10px;
  font-size: clamp(20px, 2.8645833333vw, 22px);
  line-height: 1.4545454545;
  letter-spacing: 1.1px;
  font-weight: 600;
}
.p-intro__content .content-text {
  margin-top: clamp(24px, 3.90625vw, 30px);
  font-size: clamp(13px, 1.8229166667vw, 14px);
  line-height: 1.9285714286;
  letter-spacing: 0.7px;
}
.p-intro__content .content-item {
  margin-top: 24px;
  margin-inline: auto;
  max-width: 400px;
  height: 100%;
  aspect-ratio: 400/280;
  border: 1px solid rgba(24, 27, 57, 0.0509803922);
  border-radius: 15px;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}
.p-intro__content .content-item img {
  border-radius: 15px;
}
@media screen and (min-width:768px) {
  .p-intro__content .content-item {
    margin: 0;
    -ms-flex-item-align: center;
        align-self: center;
  }
}
.p-intro__content.content-flex {
  padding-top: clamp(30px, 5.859375vw, 60px);
}
@media screen and (min-width:768px) {
  .p-intro__content.content-flex {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
        -ms-flex-direction: row-reverse;
            flex-direction: row-reverse;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    gap: 20px;
  }
}
@media screen and (min-width:768px) {
  .p-intro__content.content-flex .content-texts {
    max-width: 420px;
    margin-top: clamp(24px, 3.513909224vw, 48px);
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
  }
}


/* company */

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

.p-company__body {
  margin-top: 40px;
}
@media screen and (min-width:1024px) {
  .p-company__body {
    margin-top: 0;
  }
}

.p-company__content {
  max-width: 879px;
}
.p-company__content + .p-company__content {
  margin-top: clamp(60px, 8.3333333333vw, 100px);
}

.p-company__content-title {
  padding-bottom: clamp(16px, 2.9296875vw, 30px);
  padding-left: 20px;
  font-family: "Noto Sans JP", sans-serif;
  color: #313332;
  font-size: clamp(24px, 3.6458333333vw, 28px);
  line-height: 1.4285714286;
  letter-spacing: 1.4px;
  font-weight: 600;
  position: relative;
}
.p-company__content-title::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 0;
  width: 10px;
  aspect-ratio: 1/1;
  background: #21c3d5;
  border-radius: 50%;
}
.p-company__content-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: url(../images/dash-line.svg) repeat center center/cover;
}

.p-company__item {
  margin-top: clamp(40px, 6.5104166667vw, 50px);
}

@media screen and (min-width:768px) {
  .p-company__item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 10px;
  }
}

.p-company__item-en {
  font-family: "Lato", sans-serif;
  color: #0675b9;
  font-size: clamp(20px, 3.80859375vw, 39px);
  line-height: 1;
  letter-spacing: 0.78px;
  font-weight: 700;
}
@media screen and (min-width:768px) {
  .p-company__item-en {
    -webkit-writing-mode: sideways-rl;
        -ms-writing-mode: sideways-rl;
            writing-mode: sideways-rl;
  }
}

.p-company__item-body {
  margin-top: 32px;
  width: 100%;
  padding-top: clamp(40px, 7.03125vw, 54px);
  padding-bottom: clamp(40px, 8.7239583333vw, 67px);
  padding-inline: 20px;
  color: #ffffff;
  background: transparent -webkit-gradient(linear, left top, left bottom, from(#0671b8), to(#1ebad1)) 0% 0% no-repeat padding-box;
  background: transparent linear-gradient(180deg, #0671b8 0%, #1ebad1 100%) 0% 0% no-repeat padding-box;
  border-radius: 15px;
  position: relative;
}
@media screen and (min-width:768px) {
  .p-company__item-body {
    margin-top: 0;
  }
}
.p-company__item-body .item-head {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin-inline: auto;
  padding-bottom: 8px;
  font-size: clamp(16px, 1.317715959vw, 18px);
  line-height: 1.4444444444;
  letter-spacing: 0.54px;
  font-weight: 900;
  position: relative;
}
.p-company__item-body .item-head::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: url(../images/dash-line-white.svg) repeat center center/cover;
}
.p-company__item-body .item-title {
  margin-top: clamp(24px, 4.1015625vw, 42px);
  font-size: clamp(16px, 2.34375vw, 24px);
  line-height: 1.4;
  letter-spacing: 0.72px;
  font-weight: 900;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  text-align: center;
  margin-inline: auto;
  position: relative;
}
.p-company__item-body .item-title::before {
  content: "“";
  position: absolute;
  top: clamp(-9px, -0.87890625vw, -6px);
  left: clamp(-31px, -3.02734375vw, -14px);
  font-size: clamp(24px, 3.125vw, 32px);
  line-height: 1.4375;
  letter-spacing: 0.96px;
  font-weight: 900;
}
.p-company__item-body .item-title::after {
  content: "”";
  position: absolute;
  top: clamp(-9px, -0.87890625vw, -6px);
  right: clamp(-21px, -0.48828125vw, -14px);
  font-size: clamp(24px, 3.125vw, 32px);
  line-height: 1.4375;
  letter-spacing: 0.96px;
  font-weight: 900;
}
@media screen and (min-width:1024px) {
  .p-company__item-body .item-title::after {
    right: clamp(-5px, -0.3660322108vw, -2px);
  }
}
.p-company__item-body .item-text {
  margin-top: clamp(18px, 2.44140625vw, 25px);
  max-width: 700px;
  font-size: clamp(13px, 1.0248901903vw, 14px);
  line-height: 1.9285714286;
  letter-spacing: 0.7px;
  margin-inline: auto;
}
@media screen and (min-width:768px) {
  .p-company__item-body .item-text {
    text-align: center;
  }
}
.p-company__item-body .item-bg {
  position: absolute;
  left: 7px;
  bottom: clamp(-25px, -3.0014641288vw, -12px);
  font-family: "Lato", sans-serif;
  font-size: clamp(80px, 11.7130307467vw, 160px);
  line-height: 1;
  letter-spacing: 3.2px;
  font-weight: 700;
  opacity: 0.14;
  pointer-events: none;
}

.mission .p-company__item-body {
  background: transparent -webkit-gradient(linear, left top, left bottom, from(#1FB5D0), to(#08C4B6)) 0% 0% no-repeat padding-box;
  background: transparent linear-gradient(180deg, #1FB5D0 0%, #08C4B6 100%) 0% 0% no-repeat padding-box;
}
.mission .p-company__item-en {
  color: #1fb5ce;
}

.mission .item-bg {
  left: auto;
  right: -10px;
}

.value .p-company__item-body {
  background: transparent -webkit-gradient(linear, left top, left bottom, from(#08C4B6), to(#94B4D5)) 0% 0% no-repeat padding-box;
  background: transparent linear-gradient(180deg, #08C4B6 0%, #94B4D5 100%) 0% 0% no-repeat padding-box;
}
.value .p-company__item-en {
  color: #23c2bc;
}



.value-body {
  margin-top: 23px;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin-inline: auto;
}
.value-body .value-item + .value-item {
  margin-top: 20px;
}
.value-body .title-en {
  font-size: clamp(16px, 2.6041666667vw, 20px);
  line-height: 1.45;
  letter-spacing: 0.6px;
  font-weight: 800;
}
.value-body .text {
  font-family: "Noto Sans JP", sans-serif;
  font-size: clamp(13px, 1.8229166667vw, 14px);
  line-height: 1.4285714286;
  letter-spacing: 0.7px;
}
.p-message__items {
  margin-top: clamp(32px, 6.5104166667vw, 50px);
  font-family: "Noto Sans JP", sans-serif;
  color: #313332;
}

.p-message__item .message-title {
  font-size: clamp(18px, 2.8645833333vw, 22px);
  line-height: 1.4545454545;
  letter-spacing: 1.1px;
  font-weight: 600;
}
.p-message__item .message-text {
  margin-top: clamp(18px, 3.90625vw, 30px);
  font-size: clamp(13px, 1.8229166667vw, 14px);
  line-height: 2;
  letter-spacing: 0.7px;
}
.p-message__item .message-text br {
  display: block;
  content: "";
  padding-bottom: 20px;
  padding-top: 10px;
}
@media screen and (min-width:768px) {
  .p-message__item .message-text br {
    display: inline;
    content: none;
    padding: 0;
  }
}
.p-message__item + .p-message__item {
  margin-top: clamp(24px, 5.5989583333vw, 43px);
}
.p-message__name {
  margin-top: 31px;
  padding-left: clamp(80px, 12.01171875vw, 123px);
  font-size: clamp(13px, 1.3671875vw, 14px);
  line-height: 1.4285714286;
  letter-spacing: 0.7px;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin-left: auto;
  position: relative;
}
.p-message__name::before {
  content: "";
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  left: 0;
  width: clamp(72px, 11.23046875vw, 115px);
  height: 1px;
  background: #21C3D4;
}
.p-company__table-wrap {
  margin-top: clamp(40px, 6.5104166667vw, 50px);
}

.p-company__table {
  color: #3b3b3c;
  font-family: "Noto Sans JP", sans-serif;
  width: min(100%, 879px);
  min-width: 560px;
  border: 1px solid #d4d4d4;
  border-radius: 5px;
}

.p-company__table-row {
  display: grid;
  grid-template-columns: 140px 1fr;
}
.p-company__table-row + .p-company__table-row {
  border-top: 1px solid #d4d4d4;
}

.p-company__table-title {
  font-size: clamp(13px, 1.8229166667vw, 14px);
  line-height: 1.4285714286;
  font-weight: 500;
  padding-block: clamp(24px, 2.9296875vw, 30px);
  background: #f8f8f8;
  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-company__table-text {
  padding-left: clamp(24px, 3.6603221083vw, 50px);
  padding-right: 20px;
  padding-block: 20px;
  font-size: clamp(13px, 1.8229166667vw, 14px);
  line-height: 1.4285714286;
  font-weight: 500;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}



/* case */

.p-case__items {
  margin-top: 40px;
}
@media screen and (min-width:1024px) {
  .p-case__items {
    margin-top: 0;
  }
}
.p-case__items .webgene-blog {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 24px;
}
@media screen and (min-width:768px) {
  .p-case__items .webgene-blog {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    -webkit-column-gap: clamp(20px, 3.0833333333vw, 37px);
       -moz-column-gap: clamp(20px, 3.0833333333vw, 37px);
            column-gap: clamp(20px, 3.0833333333vw, 37px);
row-gap: clamp(40px, 5vw, 60px);
  }
}

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

.p-case__item-head {
  max-width: 400px;
  aspect-ratio: 400/225;
  border: 1px solid rgba(24, 27, 57, 0.0509803922);
  border-radius: 15px;
  overflow: hidden;
  position: relative;
}
.p-case__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;
}
.p-case__item-head img {
  border-radius: 15px;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.p-case__item-body {
  margin-top: 20px;
}

.p-works__item-category span {
  display: block;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  padding: 3px 9px;
  background: #0ca1ba;
  color: #ffffff;
  font-size: 12px;
  line-height: 1.4166666667;
  letter-spacing: 0.24px;
  font-weight: 700;
  border-radius: 13px;
  text-align: center;
}

.p-works__item-title {
  margin-top: 10px;
  font-size: clamp(13px, 1.8229166667vw, 14px);
  line-height: 1.4285714286;
  letter-spacing: 0.28px;
  font-weight: 500;
  text-decoration: underline;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}


/* News */

.p-news {
  padding-top: clamp(60px, 9.765625vw, 100px);
  padding-bottom: clamp(92px, 15.625vw, 160px);
}

.p-news__category-wrap .webgene-item + .webgene-item {
  margin-top: 8px;
}

.p-news__items {
  margin-top: 40px;
  width: 100%;
  max-width: 876px;
  border-top: 1px solid rgba(24, 27, 57, 0.1);
}
@media screen and (min-width:1024px) {
  .p-news__items {
    margin-top: 0;
  }
}
@media screen and (min-width:1200px) {
  .p-news__items {
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
  }
}

.p-news__item {
  padding-block: clamp(24px, 2.9166666667vw, 35px);
  border-bottom: 1px solid rgba(24, 27, 57, 0.1);
  position: relative;
}
.p-news__item::after {
  content: "";
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  right: 0;
  width: 20px;
  aspect-ratio: 1/1;
  background: url(../images/icon-arrow-blue.svg) no-repeat center center/contain;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
@media screen and (min-width:768px) {
  .p-news__item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 23px;
  }
}

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

.p-news__item-date {
  font-size: clamp(13px, 1.8229166667vw, 14px);
  line-height: 1.4285714286;
  letter-spacing: 0.28px;
  font-weight: 500;
}

.p-news__item-tag span {
  display: block;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  color: #ffffff;
  font-size: 12px;
  line-height: 1.4166666667;
  letter-spacing: 0.24px;
  font-weight: 700;
  padding: 3px 9px;
  background: #181B39;
  border-radius: 13px;
  text-align: center;
}

.p-news__item-title {
  margin-top: 12px;
  padding-right: 32px;
  font-size: clamp(14px, 2.0833333333vw, 16px);
  line-height: 1.5;
  letter-spacing: 0.32px;
  font-weight: 500;
  text-decoration: underline;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
    -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}
@media screen and (min-width:768px) {
  .p-news__item-title {
    margin-top: 0;
  }
}

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

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


/* detail */

.p-detail {
  padding-top: clamp(60px, 9.765625vw, 100px);
  padding-bottom: clamp(92px, 15.625vw, 160px);
}

.p-casedetail .post-ttl::before {
  background: #191b39;
}
.p-casedetail .post-detail__content h3::before {
  background: #191b39;
}
.p-casedetail .post-detail__content h4 {
  border-bottom: 1.5px solid #191b39;
}
.p-casedetail .p-news__item-tag span {
  background: #0ca1ba;
}


.detail {
  color: #3b3b3c;
  background: #ffffff;
  max-width: 925px;
  margin-inline: auto;
  margin-top: 40px;
}
@media screen and (min-width:1024px) {
  .detail {
    margin-top: 0;
  }
}

.post-ttl {
  margin-top: 54px;
  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: #21C3D4;
  width: 8px;
  height: 57%;
  top: 6px;
  left: 0;
}

.post-detail__content img,
.detail img {
  aspect-ratio: 594/350;
  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-top: 60px;
  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 #21C3D4;
  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;
  position: relative;
}

@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: #21C3D4;
  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: 79px;
  display: block;
  min-width: 140px;
  background: #21C3D4;
  border: 1px solid #21C3D4;
  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: #21C3D4;
    opacity: 1;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
  }
}
.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(60px, 8.3333333333vw, 100px);
  padding-bottom: clamp(120px, 13.3333333333vw, 160px);
  font-family: "Noto Sans JP", sans-serif;
}

.contact {
  color: #555555;
  background: #ffffff;
  max-width: 898px;
  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: 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: #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 #21C3D4;
  width: 183px;
  background: #21C3D4;
  border-radius: 5px;
  color: #ffffff;
  font-size: 15px;
  line-height: 1.3125;
  letter-spacing: 0.75px;
  font-weight: 600;
  text-align: center;
}

.formBtn:hover {
  background: transparent;
  color: #21C3D4;
}

.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 #181B39;
  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: #21C3D4;
  border-color: #21C3D4;
  -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: #181B39;
  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;
  }
}