@charset "UTF-8";

.p-consul__top {
  padding-bottom: clamp(80px, 12.5vw, 150px);
}


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

.p-consul__top-img {
  max-width: clamp(80px, 18.3016105417vw, 300px);
  height: 100%;
  aspect-ratio: 250/380;
  border-radius: 5px;
}
.p-consul__top-img img {
  border-radius: 5px;
}
.p-consul__top-img.img-r {
  margin-left: auto;
  margin-top: 20px;
}
@media screen and (min-width:1024px) {
  .p-consul__top-img.img-r {
    margin-left: 0;
    margin-top: 301px;
  }
}

.p-consul__top-content {
  margin-top: 20px;
  padding-inline: 20px;
  margin-right: 60px;
}
@media screen and (min-width:1024px) {
  .p-consul__top-content {
    margin-right: 0;
    padding-inline: 0;
    margin-top: clamp(60px, 14.1666666667vw, 170px);
    max-width: 644px;
  }
}
.p-consul__top-title {
  padding-inline: 22px;
  font-size: clamp(18px, 2.1666666667vw, 26px);
  line-height: 1.4230769231;
  letter-spacing: 1.04px;
  font-weight: 700;
    width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin-inline: auto;
  border-bottom: 1px solid #0084AA;
  position: relative;
}
.p-consul__top-title::before, .p-consul__top-title::after {
  position: absolute;
  top: -5px;
  color: #0084AA;
  font-family: "Abril Fatface", serif;
  font-size: clamp(16px, 1.9166666667vw, 23px);
  line-height: 1.3913043478;
  letter-spacing: 0.92px;
}
.p-consul__top-title::before {
  content: "“";
  left: 0;
}
.p-consul__top-title::after {
  content: "“";
  right: 0;
  transform: rotateY(180deg);
}

.p-consul__top-texts {
  margin-top: clamp(40px, 6.3802083333vw, 49px);
  max-width: 512px;
  margin-inline: auto;
}

.p-consul__top-text {
  font-size: clamp(13px, 1.8229166667vw, 14px);
  line-height: 1.7857142857;
  letter-spacing: 0.56px;
  font-weight: 500;
}
.p-consul__top-text + .p-consul__top-text {
  margin-top: 28px;
}

@media screen and (min-width:1024px) {
  .p-consul__top-text {
    text-align: center;
  }
}

.p-consul__top-arrow {
  margin-top: clamp(16px, 4.8177083333vw, 37px);
  width: 172px;
  height: 92px;
  background: url(../images/consul-icon.png) no-repeat center center/contain;
  margin-inline: auto;
}


.p-consul__top-body {
  margin-top: clamp(48px, 7.12890625vw, 73px);
  padding-inline: 20px;
}

.p-consul__body-title {
  font-size: clamp(18px, 2.34375vw, 24px);
  line-height: 1.4583333333;
  letter-spacing: 0.96px;
  font-weight: 700;
  text-align: center;
}

.p-consul__body-items {
  margin-top: 30px;
  max-width: clamp(320px, 74.4166666667vw, 893px);
  margin-inline: auto;
}
.p-consul__body-items .item-img {
  margin-top: 30px;
  max-width: 396px;
  aspect-ratio: 396/261;
  margin-inline: auto;
}
@media screen and (min-width:1200px) {
  .p-consul__body-items .item-img {
    margin-top: clamp(-120px, -8.78477306vw, -100px);
  }
}

.item-top {
  position: relative;
  z-index: 1;
}

@media screen and (min-width:1200px) {
  .item-top {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    gap: 20px;
  }
}
@media screen and (min-width:768px) {
  .item-top .item-top__ball-wrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
}
.item-top .item-top__ball-wrap .item-top__ball:nth-of-type(2) {
  margin-top: -12px;
  margin-left: auto;
  background: url(../images/consul-icon-white.png) no-repeat center center/contain;
}
@media screen and (min-width:768px) {
  .item-top .item-top__ball-wrap .item-top__ball:nth-of-type(2) {
    margin-top: 24px;
    margin-left: 0;
  }
}
@media screen and (min-width:1200px) {
  .item-top .item-top__ball-wrap .item-top__ball:nth-of-type(2) {
    margin: 0;
  }
}
@media screen and (min-width:1200px) {
  .item-top .item-top__ball-wrap .item-top__ball.ball-low {
    margin-top: clamp(40px, 4.39238653vw, 60px);
  }
}
@media screen and (min-width:768px) {
  .item-top .item-top__ball-wrap.wrap-l .item-top__ball:last-of-type {
    margin-left: clamp(-30px, -2.196193265vw, -16px);
  }
}
@media screen and (min-width:768px) {
  .item-top .item-top__ball-wrap.wrap-r .item-top__ball:first-of-type {
    margin-right: clamp(-30px, -2.196193265vw, -16px);
  }
}
.item-top .item-top__ball-wrap:nth-of-type(2) {
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: end;
}
@media screen and (min-width:1200px) {
  .item-top .item-top__ball-wrap:nth-of-type(2) {
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: start;
  }
}
.item-top .item-top__ball {
  padding-top: clamp(24px, 3.80859375vw, 39px);
  padding-bottom: clamp(36px, 4.8828125vw, 50px);
  padding-inline: clamp(20px, 2.44140625vw, 25px);
    width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
  background: url(../images/consul-icon-gray.png) no-repeat center center/contain;
  min-width: 160px;
}
@media screen and (min-width:1200px) {
  .item-top .item-top__ball {
    min-width: 220px;
  }
}
@media screen and (min-width:1200px) {
  .item-top .item-top__ball-wrap .item-top__ball.ball-low {
    margin-top: clamp(40px, 4.39238653vw, 60px);
  }
}
.item-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;
}
.item-top .text {
  font-size: clamp(14px, 1.0980966325vw, 15px);
  line-height: 1.4666666667;
  letter-spacing: 0.45px;
  font-weight: 800;
}
.item-top .text.blue {
  color: #0084AA;
}

.p-service {
  padding-top: clamp(80px, 10.3333333333vw, 124px);
  padding-bottom: clamp(80px, 10vw, 120px);
  position: relative;
}
.p-service::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  translate: -50%;
  width: clamp(60px, 14.55078125vw, 149px);
  aspect-ratio: 149/54;
  background: url(../images/consul-arrow-white.svg) no-repeat center center/cover;
}
.p-service::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url(../images/consul-faq-bg.png) no-repeat center center/cover;
  pointer-events: none;
  z-index: -1;
}

.p-service__items {
  padding-top: clamp(48px, 8.0833333333vw, 97px);
  max-width: 1084px;
  margin-inline: auto;
}
@media screen and (min-width:768px) {
  .p-service__items {
    --gap-col: clamp(80px, calc((144 / 1366) * 100vw), 144px);
    --gap-row: clamp(60px, calc((90 / 1366) * 100vw), 90px);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    -webkit-column-gap: var(--gap-col);
       -moz-column-gap: var(--gap-col);
            column-gap: var(--gap-col);
    row-gap: var(--gap-row);
  }
}

.p-service__item {
  max-width: 400px;
  margin-inline: auto;
   position: relative;
}
@media screen and (min-width:768px) {
  .p-service__item {
    max-width: 470px;
    margin-inline: 0;
  }
  .p-service__item:nth-child(odd)::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: calc(var(--gap-col) / -2);
    width: 1px;
    background-color: #0084aa;
    opacity: 0.25;
    pointer-events: none;
  }
  .p-service__item:nth-child(-n+2)::after {
    content: "";
    position: absolute;
    bottom: calc(var(--gap-row) / -2);
    height: 1px;
    background-color: #0084aa;
    opacity: 0.25;
    pointer-events: none;
    width: calc(100% + var(--gap-col) / 2);
  }
  .p-service__item:nth-child(1)::after {
    right: calc(var(--gap-col) / -2);
  }
  .p-service__item:nth-child(2)::after {
    left: calc(var(--gap-col) / -2);
  }
}
  @media screen and (min-width:768px) {
  .p-service__item:nth-of-type(2n) {
    margin-left: auto;
  }
}
.p-service__item + .p-service__item {
  margin-top: 40px;
}
@media screen and (min-width:768px) {
  .p-service__item + .p-service__item {
    margin-top: 0;
  }
}

.p-service__item-head {
  margin-inline: auto;
  aspect-ratio: 470/403;
  position: relative;
  border-radius: 5px;
}
.p-service__item-head img {
  border-radius: 5px;
}

.p-service__head-text {
  position: absolute;
  top: -10px;
  left: -10px;
  padding: 8px;
  color: #ffffff;
  font-size: clamp(16px, 1.6666666667vw, 20px);
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  line-height: 1;
  letter-spacing: 0.8px;
  font-weight: 500;
  background: #0084AA;
}
@media screen and (min-width:768px) {
  .p-service__head-text {
    left: 15px;
    -webkit-writing-mode: vertical-rl;
        -ms-writing-mode: tb-rl;
            writing-mode: vertical-rl;
  }
}

.p-service__item-text {
  margin-top: 25px;
  font-size: clamp(13px, 1.3671875vw, 14px);
  line-height: 2.0714285714;
  letter-spacing: 0.56px;
  font-weight: 500;
}
.p-value {
  padding-top: clamp(60px, 10.75vw, 129px);
  padding-bottom: clamp(60px, 10vw, 120px);
  position: relative;
}
.p-value::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  translate: -50%;
  width: clamp(60px, 14.55078125vw, 149px);
  aspect-ratio: 149/54;
  background: url(../images/consul-arrow-blue.svg) no-repeat center center/cover;
}

.p-value__head {
  margin-top: clamp(60px, 9.27734375vw, 95px);
  overflow: hidden;
}

.p-value__head-title {
  font-family: "Abril Fatface", serif;
    width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  font-size: clamp(24px, 6.3333333333vw, 76px);
  line-height: 1.1315789474;
  letter-spacing: 6.08px;
  padding-block: 17px 9px;
  padding-inline: 20px;
  color: transparent;
  -webkit-text-stroke: 1px #0084AA;
  background: url(../images/top-voice-bg.png) no-repeat center center/cover;
  position: relative;
}
@media screen and (min-width:768px) {
  .p-value__head-title {
    padding-left: clamp(40px, 5.8565153734vw, 80px);
    padding-right: clamp(40px, 5.5636896047vw, 76px);
  }
}
.p-value__head-title::after {
  content: "";
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  right: clamp(-47px, -3.4407027818vw, -40px);
  width: clamp(40px, 8.25vw, 99px);
  height: 1px;
  background: #0084AA;
}


.p-value__head-text {
  margin-top: 40px;
  padding-inline: 20px;
  font-size: clamp(13px, 1.8229166667vw, 14px);
  line-height: 1.9285714286;
  letter-spacing: 0.56px;
  font-weight: 500;
  max-width: 489px;
}
@media screen and (min-width:768px) {
  .p-value__head-text {
    padding-left: clamp(40px, 5.8565153734vw, 80px);
  }
}

.p-value__body {
  margin-top: clamp(40px, 6.6666666667vw, 80px);
  margin-left: clamp(100px, 23.3528550512vw, 319px);
  position: relative;
}
.p-value__body .swiper-prev,
.p-value__body .swiper-next {
  position: absolute;
  left: -96px;
  width: 56px;
  height: 40px;
}
.p-value__body .swiper-prev {
  top: 57px;
  background: url("../images/consul-prev.jpg") center/contain no-repeat;
}
.p-value__body .swiper-next {
  top: 0;
  background: url("../images/consul-next.jpg") center/contain no-repeat;
}


.p-value__swiper-slide {
  width: clamp(200px, 44.2708333333vw, 340px);
}

.p-value__swiper-head {
  max-width: 340px;
  aspect-ratio: 340/291;
  border-radius: 5px;
}
.p-value__swiper-head img {
  border-radius: 5px;
}

.p-value__swiper-text {
  margin-top: 25px;
  font-size: clamp(13px, 1.8229166667vw, 14px);
  line-height: 1.9285714286;
  letter-spacing: 0.56px;
  font-weight: 500;
}

.p-faq {
  padding-top: clamp(60px, 10vw, 120px);
  padding-bottom: clamp(60px, 9.75vw, 117px);
  position: relative;
}
.p-faq::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  translate: -50%;
  width: clamp(60px, 14.55078125vw, 149px);
  aspect-ratio: 149/54;
  background: url(../images/consul-arrow-white.svg) no-repeat center center/cover;
}
.p-faq::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url(../images/consul-faq-bg.png) no-repeat center center/cover;
  pointer-events: none;
  z-index: -1;
}

.p-faq__title {
  color: #0084AA;
}

.p-faq__title-en {
  font-family: "Abril Fatface", serif;
  font-size: clamp(36px, 5.859375vw, 60px);
  line-height: 1.1333333333;
  letter-spacing: 4.8px;
}

.p-faq__title-ja {
  margin-top: 3px;
  font-size: clamp(13px, 1.8229166667vw, 14px);
  line-height: 1.4285714286;
  letter-spacing: 0.56px;
  font-weight: 500;
}

.p-faq__items {
  margin-top: clamp(40px, 5vw, 60px);
  max-width: 916px;
  margin-inline: auto;
}

.p-faq__item {
  padding-block: 30px 28px;
  padding-inline: 20px;
  background: #ffffff;
  border-radius: 10px;
}
.p-faq__item + .p-faq__item {
  margin-top: 20px;
}

.p-faq__text-q,
.p-faq__text-a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 20px;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  padding-top: 5px;
  color: #555555;
}
.p-faq__text-q::before,
.p-faq__text-a::before {
  content: "";
  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;
  margin-top: -5px;
  width: 32px;
  height: 32px;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  border-radius: 50%;
  font-family: "Abril Fatface", serif;
  font-size: 16px;
  line-height: 1.125;
  letter-spacing: 0.8px;
}

.p-faq__text-q {
  padding-bottom: 25px;
  font-size: 13px;
  line-height: 1.4615384615;
  letter-spacing: 0.78px;
  font-weight: 700;
  border-bottom: 1px solid #d9d9d9;
}
.p-faq__text-q::before {
  content: "Q";
  background: #0084AA;
  color: #ffffff;
}

.p-faq__text-a {
  padding-top: 20px;
  font-size: 13px;
  line-height: 1.6153846154;
  letter-spacing: 0.78px;
}
.p-faq__text-a::before {
  content: "A";
  background: #bfe6f3;
  color: #0084AA;
}





.p-consul__voice {
  padding-top: clamp(80px, 10.6666666667vw, 128px);
  padding-bottom: clamp(120px, 18.1666666667vw, 218px);
  position: relative;
}
.p-consul__voice::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  translate: -50%;
  width: clamp(60px, 14.55078125vw, 149px);
  aspect-ratio: 149/54;
  background: url(../images/consul-arrow-blue.svg) no-repeat center center/cover;
}
.p-consul__voice .p-voice__swiper-slide {
  max-width: clamp(240px, 39.0625vw, 300px);
}
.p-consul__voice .p-voice__swiper-slide + .p-voice__swiper-slide {
  margin-left: clamp(20px, 4.7584187408vw, 65px);
}

.p-voice__head {
  padding-inline: 20px;
}
@media screen and (min-width:1024px) {
  .p-voice__head {
    padding-left: clamp(40px, 6.0761346999vw, 83px);
    padding-right: clamp(40px, 4.9780380673vw, 68px);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: end;
        -ms-flex-align: end;
            align-items: end;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    gap: 40px;
    max-width: 1366px;
    margin-inline: auto;
  }
}

.p-voice__title {
  color: #0084AA;
}

.p-voice__btn {
  margin-top: 32px;
  margin-left: auto;
}
@media screen and (min-width:1024px) {
  .p-voice__btn {
    margin: 0;
  }
}

.p-voice__swiper-container {
  margin-top: clamp(60px, 9.765625vw, 75px);
  margin-left: clamp(80px, 12.2254758419vw, 167px);
  position: relative;
  z-index: 1;
}
.p-voice__swiper-container::after {
  content: "";
  position: absolute;
  top: -35px;
  right: 0;
  width: clamp(250px, 83.3821376281vw, 1139px);
  aspect-ratio: 1139/400;
  background: url(../images/top-voice-bg.png) no-repeat center center/cover;
  pointer-events: none;
}
.p-voice__swiper-container .swiper-button-prev,
.p-voice__swiper-container .swiper-button-next {
  position: absolute;
  bottom: -76px;
  width: 46px;
  height: 46px;
}
.p-voice__swiper-container .swiper-button-prev {
  left: 0;
  background: url("../images/swiper-next.png") center/contain no-repeat;
  rotate: 180deg;
}
.p-voice__swiper-container .swiper-button-next {
  left: 67px;
  background: url("../images/swiper-next.png") center/contain no-repeat;
}

.swiper-pagination-progressbar.swiper-pagination-horizontal {
  top: calc(100% + 53px);
  left: 127px;
  width: min(903px, 100% - 127px);
  height: 2px;
  background: rgba(35, 57, 64, 0.1);
}

.swiper-pagination-progressbar .swiper-pagination-progressbar-fill {
  background: #0084AA;
}

.p-voice__icon {
  position: absolute;
  top: clamp(40px, 5.859375vw, 60px);
  right: clamp(120px, 20.7906295754vw, 284px);
  width: clamp(80px, 15.6661786237vw, 214px);
  aspect-ratio: 214/222;
}
@media screen and (min-width:1367px) {
  .p-voice__icon {
    right: calc(284px + (100vw - 1366px) / 2);
  }
}


.p-fv__icon-top {
  position: absolute;
  top: clamp(92px, calc((115 / 768) * 100vw), 115px);
  right: clamp(20px, calc((60 / 1024) * 100vw), 60px);
  width: clamp(60px, calc((166 / 1366) * 100vw), 166px);
  aspect-ratio: 166/193;
  z-index: 2;
}

.p-fv__icon-bottom {
  position: absolute;
  bottom: clamp(40px, calc((80 / 1200) * 100vw), 80px);
  right: clamp(60px, calc((270 / 1366) * 100vw), 270px);
  width: clamp(60px, calc((160 / 1366) * 100vw), 160px);
  aspect-ratio: 161/131;
  z-index: 2;
}

.p-fv__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.c-head__bottom {
  position: absolute;
  top: 0;
  right: 0;
  padding-block: 30px 46px;
  padding-inline: clamp(20px, 3.1478770132vw, 43px);
  color: #ffffff;
  z-index: 1;
}
.c-head__bottom::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url(../images/c-head-bg.png) no-repeat center center/cover;
  pointer-events: none;
  z-index: -1;
}

.c-head__bottom-text {
  font-family: "Abril Fatface", serif;
  font-size: clamp(16px, 1.6666666667vw, 20px);
  line-height: 1.1;
  letter-spacing: 1.6px;
    -webkit-writing-mode: vertical-lr;
      -ms-writing-mode: tb-lr;
          writing-mode: vertical-lr;
}

.c-head__bottom-bar {
  margin-top: 11px;
  width: 1px;
  height: 120px;
  background: #ffffff;
  overflow: hidden;
  position: relative;
  margin-inline: auto;
}
.c-head__bottom-bar .active {
  position: absolute;
  bottom: 100%;
  left: 0;
  width: 1px;
  height: 48px;
  background: #0084AA;
  -webkit-animation: 3s ease-in-out backwards infinite scrollDown;
          animation: 3s ease-in-out backwards infinite scrollDown;
}
@keyframes scrollDown {
  0% {
    bottom: 100%;
  }
  100% {
    bottom: -50px;
  }
}

.p-company__menu-wrap {
  padding-top: 38px;
  padding-left: 20px;
}
@media screen and (min-width:768px) {
  .p-company__menu-wrap {
    padding-left: clamp(40px, 5.9297218155vw, 81px);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: clamp(24px, 3.6603221083vw, 50px);
  }
}

.p-company__menu-link {
  padding-bottom: 10px;
  padding-right: clamp(60px, 8.2723279649vw, 113px);
  border-bottom: 1px solid #0084AA;
  color: #0084AA;
  font-size: clamp(13px, 1.8229166667vw, 14px);
  line-height: 1.4285714286;
  letter-spacing: 0.56px;
  font-weight: 700;
  position: relative;
  max-width: 200px;
}
.p-company__menu-link::after {
  content: "";
  position: absolute;
  top: 10px;
  right: 0;
  width: 9px;
  height: 4px;
  background: url(../images/menu-arrow.svg) no-repeat center center/contain;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
@media (any-hover: hover) {
  .p-company__menu-link:hover {
    color: #0084AA;
  }
  .p-company__menu-link:hover::after {
    translate: 0 5px;
  }
}

.p-message {
  padding-top: clamp(60px, 10.9166666667vw, 131px);
  padding-bottom: clamp(60px, 8.3333333333vw, 100px);
}
.p-company__title {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 23px;
  color: #0084AA;
}
@media screen and (min-width:768px) {
  .p-company__title {
    padding-left: clamp(40px, 4.39238653vw, 60px);
  }
}

.p-company__title-en {
  font-family: "Abril Fatface", serif;
  font-size: clamp(32px, 4.8828125vw, 50px);
  line-height: 1.14;
  letter-spacing: 4px;
}

.p-message__title-ja {
  margin-top: 6px;
  font-size: clamp(13px, 1.8229166667vw, 14px);
  line-height: 1.4285714286;
  letter-spacing: 0.56px;
  font-weight: 500;
}

.p-message__content {
  margin-top: clamp(48px, 6.7349926794vw, 92px);
}
@media screen and (min-width:1024px) {
  .p-message__content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    gap: 40px;
    max-width: 982px;
    margin-inline: auto;
  }
}

.p-message__content-title {
  font-size: clamp(16px, 2.34375vw, 24px);
  line-height: 1.5833333333;
  letter-spacing: 0.96px;
  font-weight: 700;
}

.p-message__content-body {
  margin-top: 40px;
  margin-left: auto;
  max-width: 489px;
}
@media screen and (min-width:1024px) {
  .p-message__content-body {
    margin: 0;
  }
}

.p-message__content-text {
  font-size: clamp(13px, 1.8229166667vw, 14px);
  line-height: 2;
  letter-spacing: 0.56px;
  font-weight: 500;
}
.p-message__content-text + .p-message__content-text {
  margin-top: 22px;
}

.p-message__content-name {
  margin-top: 22px;
  padding-left: 56px;
  font-size: clamp(13px, 1.8229166667vw, 14px);
  line-height: 1.4285714286;
  letter-spacing: 0.56px;
  font-weight: 500;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin-left: auto;
  position: relative;
}
.p-message__content-name::before {
  content: "";
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  left: 0;
  width: 35px;
  height: 1px;
  background: #0084AA;
}

.p-philo {
  padding-top: clamp(60px, 9.25vw, 111px);
  padding-bottom: clamp(60px, 10vw, 120px);
  position: relative;
}
.p-philo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url(../images/company-philo-bg.png) no-repeat center center/cover;
  pointer-events: none;
  z-index: -1;
}

.p-philo__items {
  margin-top: clamp(40px, 6.8359375vw, 70px);
  max-width: 1082px;
  margin-inline: auto;
  display: grid;
  gap: 40px;
}
@media screen and (min-width:1024px) {
  .p-philo__items {
    grid-template-columns: 1fr 1fr;
        row-gap: 53px;
    -webkit-column-gap: clamp(40px, 4.39238653vw, 60px);
       -moz-column-gap: clamp(40px, 4.39238653vw, 60px);
            column-gap: clamp(40px, 4.39238653vw, 60px);
  }
}

.p-philo__item {
  padding-block: clamp(20px, 5.859375vw, 45px);
  padding-inline: 20px;
  background: transparent -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(rgba(255, 255, 255, 0))) 0% 0% no-repeat padding-box;
  background: transparent linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0) 100%) 0% 0% no-repeat padding-box;
}
@media screen and (min-width:1024px) {
  .p-philo__item:first-child {
    grid-column: 1/-1;
    width: 100%;
    max-width: 810px;
    margin-inline: auto;
  }
}

.p-philo__item-title {
  color: #0084AA;
  font-family: "Abril Fatface", serif;
  font-size: clamp(24px, 3.3333333333vw, 40px);
  line-height: 1.1;
  letter-spacing: 3.2px;
  text-align: center;
}

.p-philo__item-main {
  margin-top: 12px;
  font-size: clamp(18px, 2.34375vw, 24px);
  line-height: 1.4583333333;
  letter-spacing: 0.96px;
  font-weight: 700;
  text-align: center;
}

.p-philo__item-text {
  margin-top: 24px;
  font-size: clamp(13px, 1.8229166667vw, 14px);
  line-height: 1.9285714286;
  letter-spacing: 0.56px;
  font-weight: 500;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin-inline: auto;
}
@media screen and (min-width:768px) {
  .p-philo__item-text {
    text-align: center;
  }
}

.p-company__container {
  padding-top: clamp(80px, 10.8333333333vw, 130px);
  padding-bottom: clamp(120px, 19.3333333333vw, 232px);
   font-family: "Noto Sans JP", sans-serif;
}

.p-company__content-wrap {
  margin-top: clamp(96px, 15vw, 180px);
  max-width: 1082px;
  margin-inline: auto;
}

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

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

.p-company__content-title {
  padding-left: 51px;
  font-family: "Zen Kaku Gothic New", sans-serif;
  color: #0084AA;
  font-size: clamp(16px, 2.34375vw, 18px);
  line-height: 1.4444444444;
  letter-spacing: 0.72px;
  font-weight: 500;
  height: 100%;
  position: relative;
}
.p-company__content-title::before {
  content: "";
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  left: 0;
  width: 35px;
  height: 1px;
  background: #0084AA;
}


.p-company__content-body {
  width: 100%;
  max-width: 723px;
  margin-top: 32px;
  margin-left: auto;
}
@media screen and (min-width:1024px) {
  .p-company__content-body {
    margin: 0;
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
  }
}

@media screen and (min-width:1024px) {
  .p-company__table-wrap {
    margin-top: -35px;
  }
}
.p-company__table {
  width: min(720px, 100%);
}

.p-company__table-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  border-bottom: 1px solid #C7C7C7;
}
.p-company__table-row:last-child {
  border-bottom: none;
}
@media screen and (min-width:768px) {
  .p-company__table-row {
    grid-template-columns: 110px 1fr;
  }
}

.p-company__table-title {
  padding-block: 35px;
  color: #0084AA;
  font-size: 14px;
  line-height: 1.4285714286;
  font-weight: 500;
  position: relative;
  -ms-flex-line-pack: center;
      align-content: center;
}
.p-company__table-title::after {
  content: "";
  position: absolute;
  top: 35px;
  right: 0;
  width: 1px;
  height: calc(100% - 70px);
  background: #C7C7C7;
}

.p-company__table-text {
  max-width: 623px;
  padding-block: 35px;
  padding-left: clamp(32px, 4.39238653vw, 60px);
  font-size: 14px;
  line-height: 1.4285714286;
  font-weight: 500;
  -ms-flex-line-pack: center;
      align-content: center;
}

@media screen and (min-width:1024px) {
  .p-company__content-items {
    margin-top: -21px;
  }
}

.p-company__content-items.item-wrap {
  display: grid;
  gap: 35px 38px;
  grid-template-columns: 1fr 1fr;
}
.p-company__content-items.item-wrap .p-company__content-item:last-child {
  border-bottom: 1px solid #c7c7c7;
}

.p-company__content-item {
  padding-block: clamp(24px, 3.41796875vw, 35px);
  border-bottom: 1px solid #c7c7c7;
}
.p-company__content-item:last-child {
  border: none;
}
.p-company__content-item .item-title {
  color: #0084AA;
  font-size: clamp(13px, 1.3671875vw, 14px);
  line-height: 1.4285714286;
  font-weight: 500;
}
.p-company__content-item .item-link {
  margin-top: 8px;
  color: #454545;
  padding-right: 20px;
    width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  font-size: clamp(12px, 1.6927083333vw, 13px);
  line-height: 1.4615384615;
  font-weight: 500;
  text-decoration: underline;
  position: relative;
}
.p-company__content-item .item-link::after {
  content: "";
  position: absolute;
  top: 5px;
  right: 0;
  width: 11px;
  height: 11px;
  background: url(../images/icon-link.svg) no-repeat center center/contain;
}



/* news */

@media screen and (min-width:768px) {
  .p-news__items .webgene-blog {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(40px, 4.39238653vw, 60px);
  }
}
.p-news__items .webgene-item {
  position: relative;
}
@media screen and (min-width:768px) {
  .p-news__items .webgene-item:not(:nth-child(3n)):not(:last-child)::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: calc(clamp(40px, 4.39238653vw, 60px) * -0.5);
    border-right: 1px solid #0084aa;
    opacity: 0.25;
    pointer-events: none;
  }
}

.p-news__items .webgene-item + .webgene-item {
  margin-top: 24px;
}
@media screen and (min-width:768px) {
  .p-news__items .webgene-item + .webgene-item {
    margin-top: 0;
  }
}

.p-news__item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 25px;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin-inline: auto;
}
@media screen and (min-width:768px) {
  .p-news__item {
    width: auto;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: start;
  }
}
@media screen and (min-width:1200px) {
  .p-news__item {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
}

@media (any-hover: hover) {
  .p-news__item:hover .c-link {
    opacity: 1;
  }
  .p-news__item:hover .p-news__item-head img,
  .p-news__item:hover .p-news__item-head::after {
    opacity: 1;
    scale: 1.1;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
  }
}

.p-news__item-head {
  width: 150px;
    max-width: 150px;
  aspect-ratio: 1/1;
  border-radius: 5px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.p-news__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-news__item-head img {
  border-radius: 5px;
}

@media screen and (min-width:1200px) {
  .p-news__item-body {
    max-width: 185px;
  }
}

.p-news__item-meta {
  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: 12px;
  line-height: 1.4166666667;
  letter-spacing: 0.48px;
  font-weight: 500;
}

.p-news__item-tag span {
  display: block;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  padding: 2px 6px;
  color: #0084AA;
  font-size: 12px;
  line-height: 1.4166666667;
  letter-spacing: 0.48px;
  font-weight: 500;
  background: #dbedf3;
  min-width: 74px;
  text-align: center;
}

.p-news__item-title {
  margin-top: 20px;
  font-size: clamp(13px, 1.8229166667vw, 14px);
  line-height: 1.5714285714;
  letter-spacing: 0.56px;
  font-weight: 500;
  text-decoration: underline;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

/* voice */

.p-voice {
  padding-top: clamp(60px, 7.8125vw, 80px);
  padding-bottom: clamp(120px, 19.1068814056vw, 261px);
}

.p-voice__categories {
  padding-bottom: clamp(40px, 6.8359375vw, 70px);
}
.p-voice__categories .webgene-blog {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 10px;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

.p-voice__cat {
  display: inline-block;
  min-width: 140px;
  background: #f8f8f8;
  padding: 10px 30px;
  text-align: center;
  font-size: 13px;
  line-height: 1.4615384615;
  letter-spacing: 0.35px;
  font-weight: 500;
  color: #232323;
  border-radius: 5px;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
@media screen and (min-width:768px) {
  .p-voice__cat {
    min-width: 150px;
    padding: 11px 48px;
    font-size: 13px;
  }
}
@media (any-hover: hover) {
  .p-voice__cat:hover {
    background: #0084AA;
    color: #ffffff;
    opacity: 1;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
  }
}

.p-voice__items {
  max-width: 1030px;
    width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin-inline: auto;
}
@media screen and (min-width:768px) {
  .p-voice__items .webgene-blog {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
        -webkit-column-gap: clamp(40px, 4.7584187408vw, 65px);
       -moz-column-gap: clamp(40px, 4.7584187408vw, 65px);
            column-gap: clamp(40px, 4.7584187408vw, 65px);
    row-gap: clamp(40px, 4.9048316252vw, 67px);
  }
}
@media screen and (min-width:1024px) {
  .p-voice__items .webgene-blog {
    grid-template-columns: repeat(3, 1fr);
  }
}
.p-voice__items .webgene-item + .webgene-item {
  margin-top: 32px;
}
@media screen and (min-width:768px) {
  .p-voice__items .webgene-item + .webgene-item {
    margin-top: 0;
  }
}

.p-voice__swiper-slide {
  max-width: clamp(240px, 39.0625vw, 300px);
}
@media (any-hover: hover) {
  .p-voice__swiper-slide:hover {
    opacity: 1;
  }
  .p-voice__swiper-slide:hover .p-voice__slide-head img,
  .p-voice__swiper-slide:hover .p-voice__slide-head::after {
    scale: 1.1;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
  }
}

.p-voice__slide-head {
  max-width: clamp(240px, 39.0625vw, 300px);
  aspect-ratio: 300/380;
  height: auto;
    overflow: hidden;
  position: relative;
  border-radius: 5px;
}
.p-voice__slide-head img {
  border-radius: 5px;
}

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

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

.p-voice__slide-tag span {
  display: block;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin-top: 13px;
  padding: 2px 6px;
  color: #0084AA;
  font-size: 12px;
  line-height: 1.4166666667;
  letter-spacing: 0.48px;
  font-weight: 500;
  background: #dbedf3;
  min-width: 74px;
  text-align: center;
}

.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: #F8F8F8;
  color: #233940;
}

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

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

li.next a,
li.prev a {
  height: 40px;
  width: 40px;
  padding: 2px;
  position: relative;
}

li.prev:after,
li.next:after {
  pointer-events: none;
  content: "";
  position: absolute;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  width: 40px;
  height: 40px;
}

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

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

@media screen and (min-width: 768px) {
  li.next {
    margin-left: 30px;
  }
  li.prev {
    margin-right: 30px;
  }
  li.next a,
  li.prev a {
    margin-top: 3px;
    width: auto;
    padding-block: 10px;
    z-index: 10;
    line-height: 1;
  }
  li.prev a {
    padding-left: 48px;
    color: #919191;
  }
  li.next a {
    padding-right: 48px;
    color: #233940;
  }
  li.prev:after,
  li.next:after {
    pointer-events: auto;
  }
}

/* detail */

.p-detail {
  padding-top: clamp(80px, 10vw, 120px);
  padding-bottom: clamp(120px, 18.3748169839vw, 251px);
}

.detail {
  font-family: "Noto Sans JP", sans-serif;
  color: #00132b;
  max-width: 921px;
  margin-inline: auto;
}

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

.post-ttl::before {
  content: "";
  position: absolute;
  background: #0084AA;
  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 #0084AA;
  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: #0084AA;
  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: #0084AA;
  border: 1px solid #0084AA;
  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: #0084AA;
    opacity: 1;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
  }
}

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

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

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

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

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

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

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

/* contact */

.p-contact__body {
  padding-top: clamp(80px, 10.1666666667vw, 122px);
  padding-bottom: clamp(116px, 19.5833333333vw, 235px);
}

.contact {
  font-family: "Noto Sans JP", sans-serif;
  color: #555555;
  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 #0084AA;
  width: 183px;
  background: #0084AA;
  border-radius: 25px;
  color: #ffffff;
  font-size: 15px;
  line-height: 1.3125;
  letter-spacing: 0.75px;
  font-weight: 600;
  text-align: center;
}

.formBtn:hover {
  background: transparent;
  color: #0084AA;
}

.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 #233940;
  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: #0084AA;
  border-color: #0084AA;
  -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: #233940;
  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;
  }
}