/*===============================
common
===============================*/

section {
  scroll-margin-top: 60px;
}

.number1 {
  aspect-ratio: 38/122;
}
.number2 {
  aspect-ratio: 60/122;
}
.number3 {
  aspect-ratio: 58/122;
}
.number4 {
  aspect-ratio: 58/122;
}
.number5 {
  aspect-ratio: 60/122;
}

/*===============================
footer
===============================*/
.footer {
  background-color: #004896;
}

.footer__inner {
  width: 100%;
  max-width: var(--max-base-width);
  padding: 26px var(--padding-x-base-pc) 33px;
  margin: 0 auto;
}

.footer__nav-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px;
}

.footer__nav-item {
  font-weight: normal;
  font-size: 16px;
  text-align: left;
  color: #fff;
  border-right: 1px solid #fff;
  padding-right: 28px;
  &:last-child {
    border-right: none;
    padding-right: 0;
  }
}

.footer__copyright {
  margin-top: 27px;
}

.footer__copyright-text {
  font-weight: normal;
  font-size: 14px;
  text-align: center;
  color: #fff;
}

@media screen and (max-width: 769px) {
  .footer__inner {
    padding-top: 46px;
    padding-bottom: 40px;
  }

  .footer__nav-list {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .footer__nav-item {
    border-right: 0;
    padding-right: 0;
    &:last-child {
      padding-right: 0;
    }
  }
  .footer__copyright {
    margin-top: 40px;
  }
  .footer__copyright-text {
    font-size: 12px;
    line-height: 16px;
    color: #fff;
  }
}

/*===============================
  fv
  ===============================*/
.fv {
  padding: 168px calc(50vw - 50%) 192px;
  margin: 0 calc(50% - 50vw);
  background-image: url("../img/page/lp/rapid-shutdown/fv-bg.png");
  background-size: cover;
  background-repeat: no-repeat;
}

.fv_house {
  display: none;
}

.fv_heading {
  font-weight: bold;
  font-size: 50px;
  line-height: 1.6;
  letter-spacing: 0.04em;
  text-align: left;
  color: #004896;
}

.fv_subheading {
  margin-top: 16px;
  font-size: 16px;
  color: #004896;
  line-height: 1.4;

  em {
    font-style: normal;
    font-weight: bold;
    font-size: 26px;
  }
}

.fv_text {
  margin-top: 24px;
  font-weight: normal;
  font-size: 14px;
  line-height: 25px;
  text-align: left;
  color: #004896;
}

.fv_btn {
  margin-top: 43px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  width: 300px;
  height: 60px;
  border: 3px #004896 solid;
  font-weight: bold;
  font-size: 20px;
  text-align: center;
  color: #004896;
}

.fv_btn-icon {
  position: relative;
  aspect-ratio: 1/1;
  width: 30px;
}

@media screen and (max-width: 1024px) {
  .fv {
    padding: 190px calc(50vw - 50%) 192px;
    background-image: url("../img/page//lp/rapid-shutdown/fv/fv-bg-sp.png");
  }

  .fv_container {
    display: grid;
    place-content: center;
  }

  .fv_house {
    display: block;

    position: relative;
    aspect-ratio: 200/118;
    width: 540px;
    margin: 0 auto;
  }
}

@media screen and (max-width: 764px) {
  .fv {
    padding: 112px calc(50vw - 50%) 30px;
  }

  .fv_house {
    width: 200px;
    margin-top: 0;
  }

  .fv_heading {
    margin-top: 22px;
    line-height: 44px;
    font-size: 30px;
  }

  .fv_subheading {
    margin-top: 18px;
    font-size: 16px;
    line-height: 1.5;
    em {
      font-size: 20px;
    }
  }

  .fv_text {
    margin-top: 17px;
  }
  .fv_btn {
    margin-top: 32px;
    margin-left: auto;
    margin-right: auto;
  }
}

/*===============================
  problem
  ===============================*/

.problem {
  margin: 0 calc(50% - 50vw);
  padding: 70px calc(50vw - 50%) 73px;
  background-color: #ecf8fe;
}

.problem_heading {
  font-weight: bold;
  font-size: 26px;
  text-align: center;
  color: #004896;
}

.problem_list {
  margin-top: 68px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 48px;
}

.problem_list-item {
  position: relative;
  background-color: #fff;
  border-radius: 21px;
  margin: 0 auto;
  max-width: 250px;
  padding: 93px 20px 28px;
}

.problem_list-item-icon {
  position: absolute;
  top: -36px;
  left: 0;
  right: 0;
  margin: auto;
  aspect-ratio: 1/1;
  width: 84px;
}

.proble_list-item-heading {
  font-weight: bold;
  font-size: 20px;
  line-height: 30px;
  text-align: center;
  color: #004896;
}

.problem_list-item-text {
  margin-top: 24px;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  text-align: left;
  color: #555;
}

.problem_text {
  margin-top: 35px;
  font-weight: 500;
  font-size: 18px;
  line-height: 28px;
  text-align: center;
  color: #555;
}

@media screen and (max-width: 764px) {
  .problem {
    padding: 33px calc(50vw - 50%) 36px;
  }

  .problem_heading {
    font-size: 20px;
    line-height: 1.4;
  }

  .problem_list {
    gap: 55px;
  }

  .problem_list-item {
    padding-top: 64px;
  }

  .problem_text {
    text-align: left;
  }
}

/*===============================
  solution
  ===============================*/

.solution {
  margin: 0 calc(50% - 50vw);
  padding: 77px calc(50vw - 50%) 87px;
  background-image: url("../img/page/lp/rapid-shutdown/solutio/solution-bg.png");
  background-size: cover;
  background-repeat: no-repeat;
}

.solution_heading {
  font-weight: bold;
  font-size: 26px;
  text-align: center;
  color: #004896;
}

.solution_container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;

  margin-top: 40px;
}

.solution_text {
  max-width: 966px;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  text-align: left;
  color: #555;
}

.solution_img {
  position: relative;
  width: 100%;
  max-width: 227px;
  aspect-ratio: 227/220;
  justify-self: center;
}

.solution_point {
  margin-top: 70px;
}

.solution_point-heading {
  display: flex;
  align-items: center;
  gap: 20px;
  font-weight: bold;
  font-size: 20px;
  line-height: 30px;
  color: #004896;

  &::before {
    content: "";
    background: #004896;
    width: 10px;
    height: 42px;
  }
}

.solution_point-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(192px, 1fr));
  gap: 32px;
  margin: 40px 0 0;
}

.solution_point-item {
  max-width: 192px;
  display: grid;
  grid-template-rows: 148px auto;
}

.solution_point-item-container {
  display: grid;
  grid-template-rows: 48px auto;
}

.solution_point-item-heading {
  font-weight: bold;
  font-size: 16px;
  line-height: 24px;
  text-align: center;
  color: #004896;
}

.solution_point-icon {
  position: relative;
  aspect-ratio: 120/100;
  width: 120px;
  margin: 0 auto;
}

.solution_point-text {
  max-width: 160px;

  margin-left: auto;
  margin-right: auto;
  font-weight: normal;
  font-size: 16px;
  line-height: 25px;
  text-align: left;
  color: #555;
}

@media screen and (max-width: 764px) {
  .solution {
    padding: 34px calc(50vw - 50%) 31px;
    background-image: url("../img/page/lp/rapid-shutdown/solutio/solution-bg-sp.png");
  }
  .solution_heading {
    font-size: 20px;
    line-height: 30px;
  }

  .solution_container {
    grid-template-columns: auto;
    gap: 32px;
    margin-top: 32px;
    justify-content: center;
  }

  .solution_text {
    max-width: unset;
  }

  .solution_img {
    width: 120px;
  }

  .solution_point {
    margin-top: 34px;
  }

  .solution_point-heading {
    display: block;
    max-width: 80px;
    margin: 0 auto;

    text-align: center;
    font-size: 20px;
    border-bottom: 2px solid #004896;
    padding-bottom: 9px;
    &::before {
      content: unset;
    }
  }

  .solution_point-list {
    margin-top: 60px;
    grid-template-columns: 1fr;
    gap: 19px;
  }

  .solution_point-item {
    max-width: unset;
    grid-template-rows: auto;
    grid-template-columns: auto auto;
    padding-bottom: 14px;
    border-bottom: 1px dashed #707070;
  }

  .solution_point-item-container {
    grid-template-rows: auto;
  }

  .solution_point-item-heading {
    font-size: 16px;
    line-height: 24px;
    text-align: left;
  }

  .solution_point-icon {
    width: 100px;
  }

  .solution_point-text {
    max-width: unset;
  }
}

/*===============================
  cta
  ===============================*/

.cta {
  margin: 0 calc(50% - 50vw);
  padding: 113px calc(50vw - 50%) 69px;
  background-image: url("../img/page/lp/rapid-shutdown/cta/cta-bg.png");
  background-size: cover;
  background-repeat: no-repeat;
}

.cta_heading {
  font-weight: bold;
  font-size: 26px;
  text-align: center;
  color: #004896;
}

.cta_text {
  margin-top: 40px;
  font-weight: bold;
  font-size: 16px;
  line-height: 24px;
  text-align: center;
  color: #004896;
}

.cta_button {
  margin-left: auto;
  margin-right: auto;
  margin-top: 43px;
  width: 529px;
  height: 100px;
  background-color: #004896;
  display: grid;
  grid-template-columns: auto 90px;
  align-items: center;
  font-weight: bold;
  font-size: 25px;
  text-align: center;
  color: #fff;
}

.cta_button-icon {
  width: 60px;
  height: 60px;
  aspect-ratio: 1/1;
  position: relative;
  justify-self: center;
}

.cta_text2 {
  margin-top: 78px;
  font-weight: bold;
  font-size: 16px;
  line-height: 24px;
  text-align: center;
  color: #004896;
}

@media screen and (max-width: 764px) {
  .cta {
    padding: 49px calc(50vw - 50%) 41px;
    background-image: url("../img/page/lp/rapid-shutdown/cta/cta-bg-sp.png");
  }

  .cta_heading {
    font-size: 20px;
    line-height: 30px;
    text-align: center;
    color: #004896;
  }

  .cta_text {
    margin-top: 15px;
  }

  .cta_contact {
    margin-top: 61px;
  }

  .cta_heading2 {
    font-size: 20px;
    line-height: 24px;
    text-align: center;
    color: #004896;
  }

  .cta_button {
    margin-top: 4px;
    width: 300px;
    height: 60px;
    grid-template-columns: auto 40px;
    font-size: 20px;
    color: #fff;
  }

  .cta_button-text {
    justify-self: center;
  }

  .cta_button-icon {
    justify-self: baseline;
    width: 30px;
    height: 30px;
  }

  .cta_tell-mobile {
    margin-top: 62px;
  }

  .cta_text2 {
    margin-top: 10px;
    font-weight: bold;
    font-size: 16px;
    line-height: 24px;
    text-align: center;
    color: #004896;
  }
}

/*===============================
  feature
  ===============================*/

.feature {
  position: relative;
  padding: 79px 0 70px;
}

.feature-bg {
  position: absolute;
  aspect-ratio: 438/423;
  width: 438px;
  bottom: 0;
  left: 0;
  z-index: -1;
}

.feature_heading {
  font-weight: bold;
  font-size: 26px;
  text-align: center;
  color: #004896;
}

.feature_list {
  margin-top: 72px;
  display: flex;
  flex-direction: column;
  gap: 67px;
}

.feature_item {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  grid-template-areas: "a b";
  &:nth-child(even) {
    grid-template-areas: "b a";
  }
}

.feature_item-container {
  display: flex;
  gap: 33px;
  grid-area: a;
}

.feature_item-nuber {
  position: relative;
  aspect-ratio: 38/122;
  width: 38px;
  &[data-number="2"],
  &[data-number="5"] {
    aspect-ratio: 60/122;
    width: 60px;
  }
  &[data-number="3"],
  &[data-number="4"] {
    aspect-ratio: 58/122;
    width: 58px;
  }
}

.feature_item-hgroup {
  margin-top: 27px;
}

.feature_item-heading {
  font-weight: bold;
  font-size: 20px;
  line-height: 30px;
  text-align: left;
  color: #004896;
}

.feature_item-heading-sub {
  margin-top: 16px;
  background-color: #ecf8fe;
  font-weight: bold;
  font-size: 16px;
  line-height: 24px;
  text-align: left;
  color: #004896;
  padding: 5px 10px;
}

.feature_item-text {
  margin-top: 27px;
  font-weight: normal;
  font-size: 16px;
  line-height: 25px;
  text-align: left;
  color: #555;
}

.feature_item-img {
  grid-area: b;
  position: relative;
  aspect-ratio: 500/280;
  width: 100%;

  &[data-number="5"] {
    aspect-ratio: 500/650;
  }
}

@media screen and (max-width: 1024px) {
  .feature_item {
    display: block;
  }

  .feature_item-img {
    max-width: 700px;
    margin: 42px auto 0;
  }
}

@media screen and (max-width: 764px) {
  .feature {
    padding: 35px 0 32px;
  }

  .feature-bg {
    display: none;
  }

  .feature_heading {
    font-size: 20px;
    line-height: 30px;
    text-align: center;
  }

  .feature_list {
    margin-top: 34px;
  }

  .feature_item-container {
    display: block;
  }

  .feature_item_mobile-text-container {
    display: flex;
    align-items: center;
    justify-content: baseline;
    gap: 25px;
  }

  .feature_item-nuber {
    width: 30px;
    &[data-number="2"],
    &[data-number="5"] {
      width: 48px;
    }
    &[data-number="3"],
    &[data-number="4"] {
      width: 46px;
    }
  }

  .feature_item-hgroup {
    margin-top: 0;
  }

  .feature_item-heading {
    font-size: 16px;
    line-height: 24px;
    text-align: left;
  }

  .feature_item-heading-sub {
    margin-top: 8px;
    font-weight: bold;
    font-size: 14px;
    line-height: 16px;
  }

  .feature_item-text {
    margin-top: 14px;
  }

  .feature_item-img {
    margin-top: 30px;
    max-width: unset;
    width: 100%;
  }
}

/*===============================
  select
  ===============================*/

.select {
  padding: 78px calc(50vw - 50%) 70px;
  margin: 0 calc(50% - 50vw);
  background-color: #ecf8fe;
}

.select_heading {
  font-weight: bold;
  font-size: 26px;
  text-align: center;
  color: #004896;
}

.select_list {
  margin-top: 42px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  display: grid;
  gap: 16px;
  grid-template-rows: repeat(4, 1fr);
}

.select_item {
  border-radius: 21px;
  background-color: #fff;
  padding: 32px 42px 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.select_number {
  position: relative;
  aspect-ratio: 9/14;
  width: 60px;
}

.select_item-heading {
  font-weight: bold;
  font-size: 20px;
  line-height: 30px;
  text-align: left;
  color: #004896;
}

.select_item-text {
  margin-top: 16px;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  text-align: left;
  color: #555;
}

@media screen and (max-width: 764px) {
  .select {
    padding: 35px calc(50vw - 50%) 30px;
  }

  .select_list {
    margin-top: 36px;
  }

  .select_item {
    padding: 0px 15px 13px;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .selcet_item-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
  }

  .select_number {
    width: 54px;
  }

  .select_item-heading {
    font-size: 16px;
    line-height: 24px;
  }
  .select_item-text {
    margin-top: 0;
  }
}

/*===============================
  result
  ===============================*/

.result {
  margin: 0 calc(50% - 50vw);
  padding: 80px calc(50vw - 50%) 63px;
  background-image: url("../img/page/lp/rapid-shutdown/result/result-bg.png");
  background-repeat: no-repeat;
  background-size: cover;
}

.result__heading {
  font-weight: bold;
  font-size: 26px;
  text-align: center;
  color: #fff;
}

.result_list {
  margin-top: 47px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  grid-template-rows: 1fr;
  gap: 16px;
}

.result_item {
  background-color: #fff;
  border-radius: 21px;
  padding: 0 8px 16px;
  max-width: 210px;
}

.resulte_icon {
  position: relative;
  aspect-ratio: 210/140;
  width: 100%;
}

.result_item-heading {
  font-weight: bold;
  font-size: 16px;
  line-height: 24px;
  text-align: center;
  color: #004896;
}

.result_item-text {
  max-width: 152px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 25px;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  text-align: left;
  color: #555;
}

@media screen and (max-width: 764px) {
  .result {
    padding: 35px calc(50vw - 50%) 42px;
    background-image: url("../img/page/lp/rapid-shutdown/result/result-bg-sp.png");
  }

  .result__heading {
    font-weight: bold;
    font-size: 20px;
    line-height: 30px;
    text-align: center;
    color: #fff;
  }
  .result_list {
    display: flex; /* Swiper needs flex */
    margin-top: 36px;
    gap: 0; /* Swiper handles gap via spaceBetween */
  }

  .result_item {
    padding: 0 8px 30px;
    width: 210px;
    height: auto;
    /* Ensure flexbox stretches heights eqally */
    box-sizing: border-box;
  }

  /* Ensure slides stretch to fill wrapper height */
  .result_slider .swiper-slide {
    height: auto;
  }

  .result_slider {
    padding-bottom: 0;
  }

  .result_slider .swiper-pagination {
    position: static;
    margin-top: 16px;
  }

  /* Swiper Pagination Customization */
  .swiper-pagination-bullet {
    background: transparent;
    border: 1px solid #fff;
    opacity: 1;
    width: 16px;
    height: 16px;
    margin: 0 10px !important;
  }

  .swiper-pagination-bullet-active {
    background: #fff;
    border: none;
  }
}

/*===============================
  flow
  ===============================*/

.flow {
  margin: 0 calc(50% - 50vw);
  padding: 78px calc(50vw - 50%) 70px;
  background-color: #ecf8fe;
}

.flow_heading {
  font-weight: bold;
  font-size: 26px;
  text-align: center;
  color: #004896;
}

.flow_list {
  margin-top: 42px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  grid-template-rows: 1fr;
  gap: 16px;
}

.flow_item {
  background-color: #fff;
  border-radius: 21px;
  padding: 14px 20px 25px;
  max-width: 210px;
  position: relative;
  &::before {
    content: "";
    background-image: url("../img/page/lp/rapid-shutdown/flow/arrow-right.svg");
    background-repeat: no-repeat;
    background-size: cover;
    width: 16px;
    aspect-ratio: 7/11;
    position: absolute;
    top: 50%;
    right: -24px;
    transform: translateY(-50%);
  }
  &:last-child::before {
    display: none;
  }
}

.flow_number {
  position: relative;
  aspect-ratio: 9/14;
  margin: 0 auto;
  width: 54px;
}

.flow_item-heading {
  font-weight: bold;
  font-size: 16px;
  line-height: 24px;
  text-align: center;
  color: #004896;
}

.flow_item-text {
  margin-top: 16px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  text-align: left;
  color: #555;
  max-width: 169px;
}

@media screen and (max-width: 764px) {
  .flow {
    padding: 35px calc(50vw - 50%) 30px;
  }

  .flow_heading {
    font-size: 20px;
    line-height: 30px;
  }

  .flow_list {
    margin-top: 36px;
    grid-template-columns: 1fr;
    gap: 21px;
    grid-template-rows: repeat(5, 1fr);
  }

  .flow_item {
    max-width: none;
    width: 100%;
    padding: 0 15px 17px;
    &::before {
      background-image: url("../img/page/lp/rapid-shutdown/flow/arrow-bottom.svg");
      top: unset;
      bottom: -18px;
      left: 50%;
      transform: translateX(-50%);
      width: 22px;
      aspect-ratio: 11/7;
    }
    &:last-child::before {
      display: none;
    }
  }

  .flow_item-row {
    display: flex;
    align-items: center;
    gap: 16px;
  }

  .flow_number {
    width: 44px;
    margin: 0;
  }

  .flow_item-text {
    margin-top: 0;
    max-width: none;
    margin-left: auto;
    margin-right: auto;
  }
}

/*===============================
faq（よくあるご質問）
===============================*/
.faq {
  padding: 68px 0 119px;
}

.faq__title {
  font-weight: bold;
  font-size: 26px;
  text-align: center;
  color: #004896;
}

.faq_list {
  margin-top: 77px;
}

.faq_details {
  border-bottom: 1px dashed #707070;
  padding: 22px 60px 20px;
  &:first-child {
    border-top: 1px dashed #707070;
  }
  &[open] {
    .faq_summary {
      &::after {
        background-image: url("../img/icon/accordion-close.svg");
      }
    }
  }
}

.faq_summary {
  display: flex;
  align-items: center;
  justify-content: space-between;

  font-weight: bold;
  font-size: 20px;
  line-height: 30px;
  text-align: left;
  color: #004896;

  &::after {
    content: "";
    aspect-ratio: 1 / 1;
    height: 30px;
    background-image: url("../img/icon/accordion-open.svg");
    background-repeat: no-repeat;
  }
}

.faq_answer {
  padding: 19px 13px;
  background-color: #f5f6f6;
  margin-top: 18px;
  font-weight: normal;
  font-size: 16px;
  line-height: 25px;
  text-align: left;
  color: #555;
}

@media screen and (max-width: 769px) {
  .faq {
    padding: 57px 0 50px;
  }

  .faq_list {
    margin-top: 33px;
  }

  .faq_details {
    padding: 20px 0 21px;
  }

  .faq_summary {
    font-size: 16px;
    line-height: 30px;
  }

  .faq_answer {
    padding: 8px 12px 12px;
  }
}

/*===============================
contact-form（お問い合わせフォーム）
===============================*/
.contact-form {
  background-color: #ecf8fe;
  padding: 50px calc(50vw - 50%) 60px;
  margin: 0 calc(50% - 50vw);
}

.contact-form__title {
  font-weight: bold;
  font-size: 26px;
  text-align: center;
  color: #004896;
}

.contact-form__lead {
  margin-top: 28px;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  text-align: center;
  color: #555;
}

.contact-form__form {
  margin-top: 32px;
  background-color: #fff;
  padding: 47px 50px 50px;
}

.contact-form_form-section-name {
  margin-bottom: 20px;
  font-weight: bold;
  font-size: 20px;
  line-height: 30px;
  text-align: left;
  color: #004896;
}

.contact-form__row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.contact-form__field {
  margin-bottom: 20px;
}

.contact-form__fieldset {
  border: none;
  padding: 0;
  margin: 0;
}

.contact-form__label {
  display: block;
  font-weight: bold;
  font-size: 16px;
  line-height: 1.5;
  color: #555;
  margin-bottom: 8px;
}

.contact-form__required {
  color: #e53935;
  margin-left: 2px;
}

.contact-form__input,
.contact-form__textarea,
.contact-form__select {
  width: 100%;
  padding: 14px 16px;
  font-size: 16px;
  line-height: 1.5;
  color: #555;
  background-color: #f5f6f6;
  border: 1px solid #d0d4d4;
  border-radius: 4px;
  transition: border-color 0.2s ease;
}

.contact-form__input:focus,
.contact-form__textarea:focus,
.contact-form__select:focus {
  outline: none;
  border-color: #004896;
}

.contact-form__input::placeholder,
.contact-form__textarea::placeholder,
.contact-form__select::placeholder {
  color: #aaa;
}

.contact-form__select:required:invalid {
  color: #aaa;
}

.contact-form__select option {
  color: #555;
}

.contact-form__textarea {
  resize: vertical;
  height: 71px;
  min-height: 46px;
}

.contact-form__checkbox-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  row-gap: 16px;
}

.contact-form__checkbox-label {
  display: flex;
  gap: 8px;
  cursor: pointer;
}

.contact-form__checkbox {
  width: 20px;
  height: 20px;
  cursor: pointer;
  margin-top: 5px;
  aspect-ratio: 1/1;

  /* Custom Style */
  appearance: none;
  -webkit-appearance: none;
  background-color: #f5f6f6;
  border: 1px solid #d0d4d4;

  position: relative;
}

.contact-form__checkbox:checked {
  background-color: #004896;
  border-color: #004896;
}

.contact-form__checkbox:checked::after {
  content: "";
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
  width: 10px;
  height: 6px;
  border-bottom: 2px solid #fff;
  border-left: 2px solid #fff;
}

.contact-form__checkbox-text {
  font-weight: normal;
  font-size: 16px;
  line-height: 25px;
  text-align: left;
  color: #555;
}

.contact-form__field--privacy {
  margin-top: 14px;
  text-align: center;
}

.contact-form__field--privacy .contact-form__checkbox-label {
  justify-content: center;
}

.contact-form__link {
  color: #004896;
  text-decoration: underline;
}

.contact-form__link:hover {
  text-decoration: none;
}

.contact-form__submit {
  margin-top: 56px;
  text-align: center;
}

.contact-form__button {
  margin-left: auto;
  margin-right: auto;
  margin-top: 43px;
  width: 529px;
  height: 100px;
  background-color: #004896;
  display: grid;
  grid-template-columns: auto 90px;
  align-items: center;
  font-weight: bold;
  font-size: 25px;
  text-align: center;
  color: #fff;
}

.contact-form__icon {
  width: 60px;
  height: 60px;
  aspect-ratio: 1/1;
  position: relative;
  justify-self: center;
}

.contact-form__button:hover {
  background-color: #003670;
  transform: translateY(-2px);
}

.contact-form__button:active {
  transform: translateY(0);
}

.contact-form_text {
  margin-top: 32px;
  font-weight: normal;
  font-size: 16px;
  line-height: 25px;
  text-align: center;
  color: #555;
}

@media screen and (max-width: 769px) {
  .contact-form {
    padding: 50px calc(50vw - 50%);
  }

  .contact-form__title {
    font-size: 20px;
    line-height: 1.6;
  }

  .contact-form__lead {
    margin-top: 31px;
    font-size: 16px;
    text-align: left;
  }

  .contact-form__form {
    margin-top: 30px;
    padding: 27px 24px 50px;
  }

  .contact-form__row {
    display: block;
  }

  .contact-form__field {
    margin-bottom: 20px;
  }

  .contact-form__label {
    font-size: 16px;
  }

  .contact-form__input,
  .contact-form__textarea,
  .contact-form__select {
    padding: 12px 14px;
    font-size: 16px;
  }

  .contact-form__textarea {
    height: 132px;
  }

  .contact-form__checkbox-group {
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
  }

  .contact-form__checkbox-text {
    font-size: 16px;
  }

  .contact-form__submit {
    margin-top: 30px;
  }

  .contact-form__button {
    width: 300px;
    height: 60px;
    grid-template-columns: auto 40px;
    font-size: 20px;
    color: #fff;
  }

  .contact-form__button-text {
    justify-self: center;
  }

  .contact-form__icon {
    justify-self: baseline;
    width: 30px;
    height: 30px;
  }

  .contact-form_text {
    margin-top: 20px;
    font-weight: normal;

    font-size: 14px;
    line-height: 25px;
    text-align: left;
    color: #555;
  }
}
