@charset "UTF-8";

/* about */

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

.p-about__top {
  padding-bottom: clamp(80px, 10.8333333333vw, 130px);
  position: relative;
}

.p-about__top-wrap {
  display: grid;
  grid-template-columns: 1fr;
  position: relative;
  z-index: 1;
  max-width: 1366px;
  margin-inline: auto;
  row-gap: 32px;
}
@media screen and (min-width:768px) {
  .p-about__top-wrap {
    grid-template-columns: clamp(100px, 44.6559297218vw, 610px) 1fr;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
}

.p-about__top-content {
  -webkit-box-ordinal-group: 3;
      -ms-flex-order: 2;
          order: 2;
  max-width: 583px;
  padding-left: 20px;
  margin-right: 20px;
}
@media screen and (min-width:768px) {
  .p-about__top-content {
    padding-left: clamp(40px, 6.4421669107vw, 88px);
  }
}

.p-about__top-lead {
  color: #004e91;
  font-size: clamp(24px, 2.5390625vw, 26px);
  line-height: 1.6153846154;
  letter-spacing: 0.78px;
  font-weight: 500;
}
.p-about__top-lead .text:nth-child(2) {
  padding-left: clamp(48px, 5.078125vw, 52px);
}

.p-about__top-texts {
  margin-top: clamp(32px, 6.25vw, 64px);
  max-width: 583px;
}

.p-about__top-text {
  font-family: "Noto Sans JP", sans-serif;
  font-size: clamp(14px, 1.953125vw, 15px);
  line-height: 1.9333333333;
  letter-spacing: 0.45px;
}
.p-about__top-text + .p-about__top-text {
  margin-top: clamp(20px, 2.83203125vw, 29px);
}

.p-about__top-img {
  max-width: min(480px, 100% - 60px);
  aspect-ratio: 610/560;
  -webkit-box-ordinal-group: 2;
      -ms-flex-order: 1;
          order: 1;
  border-radius: 0px 10px 10px 0px;
}
@media screen and (min-width:768px) {
  .p-about__top-img {
    max-width: 610px;
  }
}
@media screen and (min-width:1367px) {
  .p-about__top-img {
    border-radius: 10px;
  }
}
.p-about__top-img img {
  border-radius: 0px 10px 10px 0px;
}
@media screen and (min-width:1367px) {
  .p-about__top-img img {
    border-radius: 10px;
  }
}


.p-about__bg-text {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  overflow-x: hidden;
}
.p-about__bg-text .bg-text__wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 50px;
  width: 100%;
}
.p-about__bg-text .bg-text {
  font-family: "Belleza", serif;
  color: transparent;
  font-size: clamp(60px, 10.6881405564vw, 146px);
  line-height: 1.1506849315;
  -webkit-text-stroke: 1px #a8cad2;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  max-height: 100%;
  width: auto;
  height: auto;
  -webkit-animation: infinity-scroll-left 50s infinite linear 0.5s both;
          animation: infinity-scroll-left 50s infinite linear 0.5s both;
}
@keyframes infinity-scroll-left {
  from {
    -webkit-transform: translateX(0%);
            transform: translateX(0%);
  }
  to {
    -webkit-transform: translateX(-100%);
            transform: translateX(-100%);
  }
}

.p-reco {
  padding-block: clamp(80px, 9.765625vw, 100px);
  background: url(../images/about-reco-bg.jpg) no-repeat center center/cover;
  border-radius: 40px;
}

.p-reco__items {
  margin-top: clamp(38px, 4.8828125vw, 50px);
  display: grid;
  justify-items: center;
  gap: 40px;
}
@media screen and (min-width:1024px) {
  .p-reco__items {
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(24px, 3.0014641288vw, 41px);
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
  }
}

.p-reco__item {
  padding-block: clamp(20px, 3.90625vw, 30px);
  padding-inline: clamp(20px, 2.9296875vw, 30px);
    max-width: 480px;
  background: #ffffff;
  border-radius: 10px;
}
@media screen and (min-width:1024px) {
  .p-reco__item {
    max-width: 372px;
  }
}

.p-reco__item-title {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  padding-left: 27px;
  color: #004e91;
  font-size: clamp(16px, 1.7578125vw, 18px);
  line-height: 1.3888888889;
  font-weight: 500;
  position: relative;
}
.p-reco__item-title::before {
  content: "";
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  left: 0;
  width: 7px;
  aspect-ratio: 1/1;
  background: #a7cad3;
  border-radius: 50%;
}

.p-reco__item-text {
  margin-top: clamp(24px, 2.9296875vw, 30px);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 13px;
  line-height: 2.0769230769;
  letter-spacing: 0.39px;
}

.p-benefit {
  padding-top: clamp(96px, 12.6953125vw, 130px);
  padding-bottom: clamp(80px, 9.765625vw, 100px);
}

.p-benefit__items {
  margin-top: clamp(48px, 5.859375vw, 60px);
  display: grid;
  justify-items: center;
  gap: 40px;
}
@media screen and (min-width:1024px) {
  .p-benefit__items {
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(24px, 3.0014641288vw, 41px);
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
  }
}

.p-benefit__item {
  max-width: min(480px, 100% - 60px);
}
@media screen and (min-width:1024px) {
  .p-benefit__item {
    max-width: 372px;
  }
}

.p-benefit__item-head {
  display: grid;
  grid-template-columns: auto 1fr;
  -webkit-column-gap: clamp(12px, 2.05078125vw, 21px);
     -moz-column-gap: clamp(12px, 2.05078125vw, 21px);
          column-gap: clamp(12px, 2.05078125vw, 21px);
}

.p-benefit__item-num {
  font-family: "Belleza", serif;
  color: #ffffff;
  font-size: clamp(20px, 2.83203125vw, 29px);
  line-height: 1.1379310345;
  padding: 10px 12px;
  background: #D0E5EA;
  -webkit-box-shadow: 0px 3px 6px #FFFFFF;
          box-shadow: 0px 3px 6px #FFFFFF;
  border-radius: 50%;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
}

.p-benefit__item-title {
  color: #004e91;
  font-size: clamp(16px, 1.7578125vw, 18px);
  line-height: 1.3888888889;
  letter-spacing: 1.44px;
  font-weight: 500;
  -ms-flex-item-align: center;
      align-self: center;
}

.p-benefit__item-img {
  margin-top: clamp(24px, 3.125vw, 32px);
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 10px;
}
@media screen and (min-width:1024px) {
  .p-benefit__item-img {
    max-width: 370px;
  }
}
.p-benefit__item-img img {
  border-radius: 10px;
}

.p-benefit__item-text {
  margin-top: clamp(16px, 2.9296875vw, 30px);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 13px;
  line-height: 2;
  letter-spacing: 0.39px;
}

.p-faq {
  padding-top: clamp(80px, 10.7421875vw, 110px);
  padding-bottom: clamp(80px, 9.765625vw, 100px);
  background: #f4fbff;
}

.p-faq__items {
  margin-top: clamp(48px, 5.859375vw, 60px);
}

.p-faq__item {
  padding: clamp(20px, 2.9296875vw, 30px);
  background: #ffffff;
  border-radius: 20px;
}

.p-faq__item + .p-faq__item {
  margin-top: clamp(30px, 3.515625vw, 36px);
}

.p-faq__item-q {
  padding-left: clamp(32px, 3.41796875vw, 35px);
  padding-bottom: 18px;
  font-family: "Noto Sans JP", sans-serif;
  color: #333333;
  font-size: clamp(14px, 1.46484375vw, 15px);
  line-height: 1.4666666667;
  letter-spacing: 0.6px;
  font-weight: 500;
  position: relative;
}
.p-faq__item-q::before {
  content: "Q.";
  position: absolute;
  top: 0;
  left: 0;
  font-family: "Raleway", serif;
  color: #a7cad3;
  font-size: clamp(18px, 1.953125vw, 20px);
  line-height: 1.2;
  letter-spacing: 1px;
  font-weight: 700;
}

.p-faq__item-a {
  padding-top: 20px;
  padding-left: clamp(32px, 3.41796875vw, 35px);
  font-family: "Noto Sans JP", sans-serif;
  color: #333333;
  font-size: clamp(14px, 1.46484375vw, 15px);
  line-height: 1.8;
  letter-spacing: 0.45px;
  border-top: 1px solid #d4d4d4;
  position: relative;
}
.p-faq__item-a::before {
  content: "A.";
  position: absolute;
    top: 20px;
  left: 0;
  font-family: "Raleway", serif;
  color: #004e91;
  font-size: clamp(18px, 1.953125vw, 20px);
  line-height: 1.2;
  letter-spacing: 1px;
  font-weight: 700;
}


/* kitchen */

.p-kitchen {
  padding-top: clamp(100px, 11.71875vw, 120px);
  padding-bottom: clamp(100px, 13.4765625vw, 138px);
}

.p-kitchen__top {
  padding-bottom: clamp(80px, 10.8333333333vw, 130px);
  position: relative;
}

.p-kitchen__top-wrap {
  display: grid;
  grid-template-columns: 1fr;
  position: relative;
  z-index: 1;
  max-width: 1366px;
  margin-inline: auto;
  row-gap: 32px;
}
@media screen and (min-width:768px) {
  .p-kitchen__top-wrap {
    grid-template-columns: clamp(100px, 40.8491947291vw, 558px) 1fr;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
}

.p-kitchen__top-content {
  -webkit-box-ordinal-group: 3;
      -ms-flex-order: 2;
          order: 2;
  max-width: 5839px;
  padding-left: 20px;
  margin-right: 20px;
}
@media screen and (min-width:768px) {
  .p-kitchen__top-content {
    padding-left: clamp(40px, 6.149341142vw, 84px);
  }
}

.p-kitchen__top-lead {
  color: #004e91;
  font-size: clamp(24px, 2.5390625vw, 26px);
  line-height: 1.6153846154;
  letter-spacing: 0.78px;
  font-weight: 500;
}

.p-kitchen__top-texts {
  margin-top: clamp(32px, 5.76171875vw, 59px);
  max-width: 539px;
}

.p-kitchen__top-text {
  font-family: "Noto Sans JP", sans-serif;
  font-size: clamp(14px, 1.953125vw, 15px);
  line-height: 1.9333333333;
  letter-spacing: 0.45px;
}
.p-kitchen__top-text + .p-kitchen__top-text {
  margin-top: clamp(20px, 2.83203125vw, 29px);
}

.p-kitchen__top-imgs {
  width: min(480px, 100% - 60px);
  margin-inline: auto;
}
@media screen and (min-width:768px) {
  .p-kitchen__top-imgs {
    max-width: 583px;
    margin-inline: 0;
    margin-left: clamp(40px, 6.3689604685vw, 87px);
  }
}

.p-kitchen__img-top {
  width: 100%;
  aspect-ratio: 558/445;
  border-radius: 10px;
}
.p-kitchen__img-top img {
  border-radius: 10px;
}

.p-kitchen__img-wrap {
  margin-top: clamp(24px, 3.61328125vw, 37px);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  gap: clamp(20px, 2.9282576867vw, 40px);
}

.p-kitchen__img-l {
  width: 100%;
  max-width: 259px;
  aspect-ratio: 259/173;
  border-radius: 10px;
}
.p-kitchen__img-l img {
  border-radius: 10px;
}

.p-kitchen__img-r {
  width: 100%;
  max-width: 259px;
  aspect-ratio: 259/173;
  border-radius: 10px;
}
.p-kitchen__img-r img {
  border-radius: 10px;
}

.p-about__bg-text {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  overflow-x: hidden;
}

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

.p-info__wrap {
  margin-top: clamp(48px, 5.859375vw, 60px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media screen and (min-width:768px) {
  .p-info__wrap {
    grid-template-columns: clamp(200px, 40.8491947291vw, 558px) 1fr;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
  }
}
.p-info__table-area {
  -webkit-box-ordinal-group: 3;
      -ms-flex-order: 2;
          order: 2;
}
@media screen and (min-width:768px) {
  .p-info__table-area {
    max-width: 582px;
  }
}

.p-info__table-row {
  padding-block: clamp(24px, 2.9296875vw, 30px);
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: clamp(20px, 3.6603221083vw, 48px);
  border-bottom: 1px solid rgba(154, 154, 154, 0.3);
}

.p-info__table-title {
  color: #004e91;
  font-size: 14px;
  line-height: 1.3571428571;
  font-weight: 500;
}

.p-info__table-text {
  color: #464646;
  font-size: 14px;
  line-height: 1.3571428571;
}

.p-info__img {
  -webkit-box-ordinal-group: 2;
      -ms-flex-order: 1;
          order: 1;
  width: 100%;
  aspect-ratio: 558/445;
  max-width: min(480px, 100% - 60px);
  border-radius: 10px;
}
@media screen and (min-width:768px) {
  .p-info__img {
    max-width: 558px;
  }
}
.p-info__img img {
  border-radius: 10px;
}

/* plan */

.p-plan {
  padding-top: clamp(100px, 10vw, 120px);
  padding-bottom: clamp(80px, 8.3333333333vw, 100px);
}

.p-plan__top-img {
  width: 100%;
  aspect-ratio: 1196/445;
  border-radius: 10px;
}
.p-plan__top-img img {
  border-radius: 10px;
}

.p-plan__top-wrap {
  margin-top: clamp(36px, 4.98046875vw, 51px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media screen and (min-width:768px) {
  .p-plan__top-wrap {
    grid-template-columns: 1fr 1fr;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 0;
  }
}

.p-plan__top-lead {
  color: #004e91;
  font-size: clamp(24px, 2.5390625vw, 26px);
  line-height: 1.6153846154;
  letter-spacing: 0.78px;
  font-weight: 500;
}
@media screen and (min-width:768px) {
  .p-plan__top-lead {
    padding-left: clamp(20px, 3.90625vw, 40px);
  }
}
@media screen and (min-width:1200px) {
  .p-plan__top-lead {
    padding-left: clamp(60px, 7.5402635432vw, 103px);
  }
}
.p-plan__top-lead .text:nth-child(2) {
  padding-left: clamp(48px, 5.078125vw, 52px);
}
.p-plan__top-texts {
  max-width: 539px;
  font-family: "Noto Sans JP", sans-serif;
}

.p-plan__top-text {
  font-size: clamp(14px, 1.46484375vw, 15px);
  line-height: 1.9333333333;
  letter-spacing: 0.45px;
}
.p-plan__top-text + .p-plan__top-text {
  margin-top: 20px;
}

.p-price {
  padding-top: clamp(60px, 8.30078125vw, 85px);
}

.p-plan__title {
  padding-bottom: 20px;
  color: #004e91;
  font-size: clamp(24px, 2.5390625vw, 26px);
  line-height: 1.3846153846;
  letter-spacing: 0.78px;
  font-weight: 500;
  border-bottom: 1px solid rgba(154, 154, 154, 0.3);
}

.p-plan__lists {
  margin-top: clamp(40px, 7.8125vw, 80px);
  max-width: 1082px;
  margin-inline: auto;
}

.p-plan__list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
@media screen and (min-width:1024px) {
  .p-plan__list {
    padding-left: 17px;
  }
}
.p-plan__list + .p-plan__list {
  margin-top: 31px;
}

.p-plan__list-title {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  padding-left: 27px;
  color: #004e91;
  font-size: clamp(16px, 1.7578125vw, 18px);
  line-height: 1.3888888889;
  font-weight: 500;
  position: relative;
}
.p-plan__list-title::before {
  content: "";
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  left: 0;
  width: 7px;
  aspect-ratio: 1/1;
  background: #a7cad3;
  border-radius: 50%;
}

.dash-line {
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
  height: 2px;
  margin-inline: 22px;
  background: url(../images/plan-line.svg) no-repeat center center/cover;
}

.p-plan__list-price {
  width: 92px;
  color: #283b54;
  font-size: clamp(16px, 1.7578125vw, 18px);
  line-height: 1.3888888889;
  font-weight: 500;
}

.p-plan__bottom {
  margin-top: clamp(92px, 12.6953125vw, 130px);
  padding-top: clamp(60px, 7.8125vw, 80px);
  padding-bottom: clamp(96px, 11.71875vw, 120px);
  background: url(../images/plan-bottom-bg.jpg) no-repeat center center/cover;
  border-radius: 40px;
}

.p-equip__items {
  margin-top: clamp(48px, 5.859375vw, 60px);
  display: grid;
  grid-template-columns: 1fr;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 20px;
}
@media screen and (min-width:768px) {
  .p-equip__items {
    grid-template-columns: repeat(3, 1fr);
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
  }
}

.p-equip__item {
   max-width: min(500px, 100% - 60px);
  margin-inline: auto;
}
@media screen and (min-width:768px) {
  .p-equip__item {
    max-width: 370px;
  }
}

.p-equip__item-img {
  width: 100%;
  aspect-ratio: 370/300;
  border-radius: 10px;
}
@media screen and (min-width:768px) {
  .p-equip__item-img {
    max-width: 370px;
  }
}
.p-equip__item-img img {
  border-radius: 10px;
}

.p-equip__item-title {
  margin-top: clamp(16px, 1.953125vw, 20px);
  color: #004E91;
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.3888888889;
  letter-spacing: 1.44px;
  font-weight: 500;
}

.p-equip__item-text {
  font-family: "Noto Sans JP", sans-serif;
  margin-top: clamp(16px, 1.953125vw, 20px);
  font-size: 13px;
  line-height: 2;
  letter-spacing: 0.39px;
}

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

.p-flow__items {
  margin-top: clamp(48px, 6.73828125vw, 69px);
}

.p-flow__item {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 4.9048316252vw, 67px);
}
@media screen and (min-width:768px) {
  .p-flow__item {
    grid-template-columns: clamp(100px, 33.7481698389vw, 461px) 1fr;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
}
.p-flow__item + .p-flow__item {
  margin-top: clamp(40px, 4.6875vw, 48px);
}

.p-flow__item-img {
  max-width: min(461px, 53.3333333333%);
  aspect-ratio: 461/270;
  border-radius: 10px;
}
@media screen and (min-width:768px) {
  .p-flow__item-img {
    max-width: 461px;
  }
}
.p-flow__item-img img {
  border-radius: 10px;
}

.p-flow__item-content {
  display: grid;
  grid-template-columns: auto 1fr;
  -webkit-column-gap: clamp(12px, 2.05078125vw, 21px);
     -moz-column-gap: clamp(12px, 2.05078125vw, 21px);
          column-gap: clamp(12px, 2.05078125vw, 21px);
}

.p-flow__item-num {
  font-family: "Belleza", serif;
  color: #a7cad3;
  font-size: clamp(20px, 2.83203125vw, 29px);
  line-height: 1.1379310345;
  padding: 10px 12px;
  background: #ffffff;
  border-radius: 50%;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
  grid-column: 1/2;
  grid-row: 1/2;
}

.p-flow__item-texts {
  display: contents;
}
@media screen and (min-width:768px) {
  .p-flow__item-texts {
    margin-top: clamp(11px, 1.0980966325vw, 15px);
  }
}

.p-flow__item-title {
  color: #004e91;
  font-size: clamp(16px, 1.7578125vw, 18px);
  line-height: 1.3888888889;
  letter-spacing: 1.44px;
  font-weight: 500;
  grid-column: 2/3;
  grid-row: 1/2;
  align-self: center;
}

.p-flow__item-text {
  margin-top: clamp(36px, 4.296875vw, 44px);
  font-family: "Noto Sans JP", sans-serif;
  font-size: clamp(14px, 1.46484375vw, 15px);
  line-height: 1.9333333333;
  letter-spacing: 0.45px;
  grid-column: 1/-1;
  grid-row: 2/3;
}
@media screen and (min-width:768px) {
  .p-flow__item-text {
    grid-column: 2/3;
    max-width: 589px;
  }
}

.p-plan__cta {
  margin-top: clamp(80px, 9.765625vw, 100px);
  position: relative;
}
.p-plan__cta .l-inner {
  z-index: 1;
}

.p-plan__cta-link {
  width: 100%;
  padding-block: clamp(80px, 10.3333333333vw, 124px);
  border-radius: 10px;
  position: relative;
}
.p-plan__cta-link::before {
  content: "";
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  right: clamp(50px, 11.7130307467vw, 160px);
  width: 17px;
  aspect-ratio: 1/1;
  background: url(../images/icon-arrow-white.svg) no-repeat center center/contain;
  z-index: 1;
}
.p-plan__cta-link::after {
  content: "";
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  right: clamp(2px, 7.2474377745vw, 99px);
  width: clamp(60px, 10.2489019034vw, 140px);
  aspect-ratio: 1/1;
  background: rgba(255, 255, 255, 0.19);
  border: 1px solid #ffffff;
  border-radius: 82px;
}

.p-plan__cta-head {
   padding-left: clamp(20px, 4.6120058565vw, 63px);
  color: #ffffff;
    position: relative;
  z-index: 2;
}
.p-plan__cta-head .c-head__title-en {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  max-width: 552px;
}
@media screen and (min-width:1024px) {
  .p-plan__cta-head .c-head__title-en {
    width: 100%;
  }
}
.p-plan__cta-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 10px;
}
.p-plan__cta-bg img {
  border-radius: 10px;
}
.p-plan__cta-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #000;
  pointer-events: none;
  opacity: 0.21;
  border-radius: 10px;
}

/* company */

.p-company {
  padding-top: 100px;
  padding-bottom: clamp(100px, 12.1666666667vw, 146px);
}


.p-company__top {
  display: grid;
  grid-template-columns: 1fr clamp(100px, 29.8682284041vw, 408px);
  -webkit-column-gap: 14px;
     -moz-column-gap: 14px;
          column-gap: 14px;
}
@media screen and (min-width:768px) {
  .p-company__top {
    -webkit-column-gap: clamp(40px, 6.8081991215vw, 93px);
       -moz-column-gap: clamp(40px, 6.8081991215vw, 93px);
            column-gap: clamp(40px, 6.8081991215vw, 93px);
        grid-template-rows: -webkit-max-content 1fr;
    grid-template-rows: max-content 1fr;
  }
}
@media screen and (min-width:1367px) {
  .p-company__top {
    margin-right: calc((100vw - 1366px) / 2);
  }
}

.p-company__top-content {
  padding-left: 20px;
  grid-column: 1/2;
}
@media screen and (min-width:768px) {
  .p-company__top-content {
    padding-left: clamp(40px, 6.0761346999vw, 83px);
  }
}
@media screen and (min-width:1367px) {
  .p-company__top-content {
    padding-left: calc(83px + (100vw - 1366px) / 2);
  }
}
.p-company__top-lead {
  margin-top: clamp(36px, 4.8828125vw, 50px);
  color: #004e91;
  font-size: clamp(22px, 2.5390625vw, 26px);
  line-height: 1.6153846154;
  letter-spacing: 0.78px;
  font-weight: 500;
}

.p-company__top-texts {
  margin-top: clamp(48px, 6.25vw, 64px);
  max-width: 780px;
}

.p-company__top-text {
  font-size: clamp(14px, 1.46484375vw, 15px);
  line-height: 1.8;
  letter-spacing: 0.45px;
}
.p-company__top-text + .p-company__top-text {
  margin-top: clamp(24px, 2.83203125vw, 29px);
}

.p-company__table-wrap {
  margin-top: clamp(32px, 4.00390625vw, 41px);
  grid-column: 1/-1;
  padding-left: 20px;
}
@media screen and (min-width:768px) {
  .p-company__table-wrap {
    grid-column: 1/2;
    padding-left: clamp(40px, 6.0761346999vw, 83px);
  }
}
@media screen and (min-width:1367px) {
  .p-company__table-wrap {
    padding-left: calc(83px + (100vw - 1366px) / 2);
  }
}

.p-company__table {
  max-width: 780px;
}

.p-company__table-row {
  padding-block: clamp(16px, 2.05078125vw, 21px);
  border-bottom: 1px solid rgba(154, 154, 154, 0.3);
}
.p-company__table-row:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.p-company__table-title {
  color: #004e91;
  font-size: 14px;
  line-height: 1.3571428571;
  font-weight: 500;
}

.p-company__table-text {
  margin-top: clamp(14px, 1.953125vw, 15px);
  color: #464646;
  font-size: 14px;
  line-height: 1.3571428571;
}

.p-company__top-imgs {
  padding-top: 415px;
  margin-top: auto;
  position: relative;
}
@media screen and (min-width:768px) {
  .p-company__top-imgs {
    grid-column: 2/3;
    grid-row: 1/3;
    margin-top: 0;
  }
}

.p-company__top-img {
  max-width: 408px;
  aspect-ratio: 408/498;
  border-radius: 10px;
    position: relative;
  z-index: 1;
}
.p-company__top-img img {
  border-radius: 10px;
}

.p-company__img-text {
  position: absolute;
  top: 0;
  left: clamp(20px, 7.25vw, 87px);
  font-family: "Belleza", serif;
  color: #a8cad3;
  font-size: clamp(32px, 5.3333333333vw, 64px);
  line-height: 1.140625;
  -webkit-text-stroke: 1px #a8cad3;
  -webkit-writing-mode: vertical-lr;
      -ms-writing-mode: tb-lr;
          writing-mode: vertical-lr;
}
@media screen and (min-width:768px) {
  .p-company__img-text {
    top: clamp(-20px, -1.6666666667vw, -4px);
  }
}

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

.p-access__map-wrap {
  margin-top: 50px;
}
.p-access__map-wrap iframe {
  width: 100%;
  height: 100%;
  aspect-ratio: 1198/493;
  min-height: 360px;
  border-radius: 3px;
  border: none;
}

.p-access__map-text {
  margin-top: 22px;
}

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

.p-message__body {
  margin-top: clamp(42px, 4.8828125vw, 50px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media screen and (min-width:768px) {
  .p-message__body {
    grid-template-columns: clamp(160px, 28.0380673499vw, 383px) 1fr;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
  }
}

.p-message__content {
  -webkit-box-ordinal-group: 3;
      -ms-flex-order: 2;
          order: 2;
  max-width: 737px;
  margin-left: auto;
}

.p-message__lead {
  color: #004e91;
  font-size: clamp(22px, 2.34375vw, 24px);
  line-height: 1.625;
  font-weight: 500;
}

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

.p-message__text {
  font-family: "Noto Sans JP", sans-serif;
  color: #333333;
  font-size: clamp(14px, 1.46484375vw, 15px);
  line-height: 1.9333333333;
  letter-spacing: 0.45px;
  font-weight: 500;
}
.p-message__text + .p-message__text {
  margin-top: clamp(24px, 3.7109375vw, 38px);
}

.p-message__name {
  margin-top: 10px;
  max-width: 154px;
  margin-left: auto;
  padding-left: 20px;
  padding-block: 20px;
  font-family: "Noto Sans JP", sans-serif;
  border-left: 1px solid #56b2c7;
}
@media screen and (min-width:1200px) {
  .p-message__name {
    margin-top: 0;
  }
}
.p-message__name .name-top {
  color: #818181;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 500;
}
.p-message__name .name-bottom {
  margin-top: 13px;
  color: #00081a;
  font-size: 14px;
  line-height: 1.4285714286;
  font-weight: 500;
}

.p-message__img {
  -webkit-box-ordinal-group: 2;
      -ms-flex-order: 1;
          order: 1;
  width: 100%;
  max-width: min(383px, 100% - 40px);
  aspect-ratio: 383/419;
  border-radius: 5px;
}
@media screen and (min-width:768px) {
  .p-message__img {
    max-width: none;
  }
}
.p-message__img img {
  border-radius: 5px;
}


/* product */

.p-product__items {
  margin-top: clamp(40px, 6.3802083333vw, 49px);
}
@media screen and (min-width:768px) {
  .p-product__items .webgene-blog {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}
.p-product__items .webgene-item + .webgene-item {
  margin-top: 32px;
}
@media screen and (min-width:768px) {
  .p-product__items .webgene-item + .webgene-item {
    margin-top: 0;
  }
}

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

.p-product__item-head {
  aspect-ratio: 370/280;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}
@media screen and (min-width:768px) {
  .p-product__item-head {
    max-width: 370px;
  }
}
.p-product__item-head img {
  border-radius: 10px;
}
.p-product__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-product__item-body {
  margin-top: 15px;
}

.p-product__item-tag span {
  display: block;
  color: #004e91;
  font-size: 11px;
  line-height: 1.4545454545;
  font-weight: 500;
  padding: 2px 10px;
  background: #a7d1db;
  border-radius: 10px;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  text-align: center;
}

.p-product__item-title {
  margin-top: 16px;
  font-size: clamp(13px, 1.3671875vw, 14px);
  line-height: 1.7857142857;
  letter-spacing: 0.84px;
  font-weight: 500;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.p-product__item-text {
  margin-top: 16px;
  margin-left: auto;
  padding-right: 17px;
  padding-bottom: 4px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: clamp(13px, 1.3671875vw, 14px);
  line-height: 1.4285714286;
  letter-spacing: 0.42px;
  border-bottom: 1px solid #b5b5b5;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  position: relative;
}
.p-product__item-text::after {
  content: "";
  position: absolute;
  top: 6px;
  right: 0;
  width: 7px;
  height: 9px;
  background: url(../images/icon-arrow-black.svg) no-repeat center center/contain;
}

/* news */

.p-news {
  padding-top: 80px;
  padding-bottom: clamp(92px, 10.2489019034vw, 140px);
}

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

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

.p-news__category {
  display: inline-block;
  min-width: 140px;
  border: 1px solid #F2F2F2;
  background: #F2F2F2;
  padding: 10px 30px;
  font-family: "Noto Sans JP", sans-serif;
  color: #2C2C2C;
  text-align: center;
  font-size: 12px;
  line-height: 1.4285714286;
  letter-spacing: 0.7px;
  font-weight: 500;
  border-radius: 26px;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
@media screen and (min-width:768px) {
  .p-news__category {
    min-width: 150px;
    padding: 15px 43px;
    font-size: 14px;
  }
}
@media (any-hover: hover) {
  .p-news__category:hover {
    background: #2C2C2C;
    color: #EFF3FB;
    opacity: 1;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
  }
}

.p-news__items {
  margin-top: 50px;
  border-top: 1px solid #d9d9d9;
}

.p-news__item {
  padding-block: 27px 21px;
  padding-inline: 20px;
  display: grid;
  grid-template-columns: 82px 1fr;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  border-bottom: 1px solid #d9d9d9;
  -webkit-transition: background-color 0.3s;
  transition: background-color 0.3s;
  position: relative;
  z-index: 1;
}
@media screen and (min-width:768px) {
  .p-news__item {
    grid-template-columns: 102px 1fr;
  }
}
.p-news__item::before {
  content: "";
  position: absolute;
  top: 27px;
  left: 88px;
  width: 1px;
  height: calc(100% - 48px);
  background: #d9d9d9;
}
@media screen and (min-width:768px) {
  .p-news__item::before {
    left: 102px;
  }
}
.p-news__item::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  width: 100vw;
  height: 100%;
  background-color: #f2f7f8;
  z-index: -1;
  opacity: 0;
  -webkit-transition: opacity 0.3s;
  transition: opacity 0.3s;
  pointer-events: none;
  max-width: 1366px;
  margin-inline: auto;
}
.p-news__item:hover::after {
  opacity: 1;
}
.p-news__item:hover .p-news__item-body::before {
  background: url(../images/icon-arrow-hover.svg) no-repeat center center/cover;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.p-news__item-date span {
  display: block;
}
.p-news__item-date .date-y {
  color: #8e8e8e;
  font-size: 12px;
  line-height: 1.4166666667;
  letter-spacing: 0.72px;
  font-weight: 500;
}
.p-news__item-date .date-md {
  margin-top: 2px;
  color: #8e8e8e;
  font-size: clamp(18px, 1.75vw, 21px);
  line-height: 1.4285714286;
  letter-spacing: 1.26px;
  font-weight: 500;
}

.p-news__item-body {
  position: relative;
}
.p-news__item-body::before {
  content: "";
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  right: 0px;
  width: clamp(24px, 3.90625vw, 40px);
  aspect-ratio: 1/1;
  background: url(../images/icon-arrow-news.svg) no-repeat center center/cover;
}
@media screen and (min-width:768px) {
  .p-news__item-body::before {
    right: 37px;
  }
}
@media screen and (min-width:1024px) {
  .p-news__item-body {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: clamp(16px, 2.6666666667vw, 32px);
  }
}

.p-news__item-tag span {
  display: block;
  color: #004e91;
  font-size: 11px;
  line-height: 1.4545454545;
  font-weight: 500;
  padding: 2px 10px;
  background: #a7d1db;
  border-radius: 10px;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  text-align: center;
}

.p-news__item-title {
  margin-top: 8px;
  padding-right: clamp(36px, 4.3333333333vw, 52px);
  font-size: clamp(13px, 1.46484375vw, 15px);
  line-height: 1.4;
  letter-spacing: 0.9px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}
@media screen and (min-width:1024px) {
  .p-news__item-title {
    margin-top: 0;
  }
}

.webgene-pagination {
  margin-top: clamp(40px, 8.1259150805vw, 111px);
  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: #EBEBEB;
  color: #4B4B4B;
}

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

/* detail */

.p-detail {
  padding-top: 100px;
  padding-bottom: clamp(100px, 11.3333333333vw, 136px);
}

.detail {
  color: #00132b;
  max-width: 923px;
  margin-inline: auto;
}

.p-news__item-meta {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 10px;
}
.p-news__item-meta .p-news__item-tag {
  padding-left: 10px;
  border-left: 1px solid rgba(23, 52, 108, 0.3);
}

.p-detail__item-date {
  font-family: "Noto Sans JP", sans-serif;
  color: #343434;
  font-size: 12px;
  line-height: 1.5;
  opacity: 0.7;
}
.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: #A6D1DB;
  width: 8px;
  height: 57%;
  top: 6px;
  left: 0;
}

.post-detail__content img,
.detail img {
  aspect-ratio: 594/356;
  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;
  border-radius: 10px;
}

.webgene-item-main-image {
  margin-inline: auto;
}

.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 #A6D1DB;
  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: #A6D1DB;
  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: #2C2C2C;
  border: 1px solid #2C2C2C;
  font-family: "Noto Sans JP", sans-serif;
  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: #2C2C2C;
    opacity: 1;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
  }
}

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

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

.main-image-box {
  position: relative;
  width: 100%;
  aspect-ratio: 594/365;
  border-radius: 10px;
  overflow: hidden;
  margin: 0 auto;
}
.main-image-box img {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  margin: auto;
  -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, 9.3333333333vw, 112px);
  padding-bottom: clamp(60px, 11.5833333333vw, 139px);
}

.contact {
  font-family: "Noto Sans JP", sans-serif;
  color: #555555;
  max-width: 1004px;
  margin-inline: auto;
}

.contact__wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 40px;
}

.contact__item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 17px;
}
.contact__item + .contact__item {
  margin-top: 37px;
}

.col-md-4,
.col-md-8 {
  padding: 0;
  max-width: 100%;
  -webkit-box-flex: unset;
      -ms-flex: unset;
          flex: unset;
}

.row {
  margin: 0;
}

.contact__item label {
  font-size: 14px;
  line-height: 1.3571428571;
}

.contact__item > .formTh > .requiredText {
  background: #d80e0e;
  width: 32px;
  border-radius: 2px;
  color: #fff;
  font-size: 12px;
  line-height: 1;
  text-align: center;
  padding: 3px 2px;
  margin-left: 10px;
}

.contact__item > .formTh > .anyText {
  background: #5c5c5c;
  width: 32px;
  border-radius: 2px;
  color: #fff;
  font-size: 12px;
  line-height: 1;
  text-align: center;
  padding: 3px 2px;
  margin-left: 10px;
}

.contact__item > .formTd > textarea {
  height: 197px;
}

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

.privacy-policy {
  margin-top: 50px;
  height: 155px;
  padding: 30px 20px;
  border-radius: 3px;
  border: 1px solid #d3d3d3;
  background: #F8F8F8;
  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 #2C2C2C;
  width: 183px;
  background: #2C2C2C;
  color: #ffffff;
  font-size: 15px;
  line-height: 1.3125;
  letter-spacing: 0.75px;
  font-weight: 600;
  text-align: center;
  border-radius: 30px;
}

.formBtn:hover {
  background: transparent;
  color: #2C2C2C;
}

.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: #F8F8F8;
  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 #2C2C2C;
  background-color: #F8F8F8;
  -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: #56B2C7;
  border-color: #56B2C7;
  -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: #2C2C2C;
  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;
  }
}