@charset "UTF-8";

.p-first__greeting {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 32px;
}
.p-first__greeting-image {
  width: 64px;
}
.p-first__greeting-text {
  font-size: 1.2rem;
}
.p-first__explain {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}
.p-first__explain-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.p-first__explain-text p {
  font-size: 1rem;
}
.p-first__explain-image {
  width: 48%;
}
.p-first__text {
  font-size: 1rem;
}
@media (max-width: 992px) {
  .p-first__explain {
    flex-direction: column;
  }
  .p-first__explain-text {
    order: 2;
  }
  .p-first__explain-image {
    order: 1;
    width: 100%;
  }
}
.p-first-promise__cards {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}
.p-first-promise__card {
  flex: 1;
}
.p-first-promise__card-title {
  position: relative;
}
.p-first-promise__card-title-wrap {
  position: relative;
  padding-top: 0;
  padding-bottom: 8px;
}
.p-first-promise__card-title-wrap > div {
  display: flex;
  align-items: baseline;
  justify-content: center;
  width: -moz-fit-content;
  width: fit-content;
  margin: 0 auto;
  gap: 4px;
}
.p-first-promise__card-title-wrap > div > span:nth-of-type(1) {
  font-size: 1.1rem;
  color: white;
}
.p-first-promise__card-title-wrap > div > span:nth-of-type(2) {
  font-size: 1.8rem;
  font-style: oblique;
  color: white;
}
.p-first-promise__card-title-wrap > h3 {
  text-align: center;
  font-size: 1.4rem;
  color: #f42158;
  text-shadow: 1px 0 white, -1px 0 white, 0 1px white, 0 -1px white, 1px 1px white, -1px -1px white, 1px -1px white, -1px 1px white;
}
.p-first-promise__card-title-wrap::before {
  position: absolute;
  content: "";
  background-color: white;
  width: 8px;
  height: 8px;
  left: 8px;
  top: 8px;
  border-radius: 50%;
}
.p-first-promise__card-title-wrap::after {
  position: absolute;
  content: "";
  background-color: white;
  width: 8px;
  height: 8px;
  bottom: 8px;
  right: 8px;
  border-radius: 50%;
}
.p-first-promise__card:nth-of-type(1) .p-first-promise__card-title {
  background-color: #4888c8;
  border-bottom: 4px solid #8cb7df;
  position: relative;
}
.p-first-promise__card:nth-of-type(1) .p-first-promise__card-title::before {
  position: absolute;
  content: "";
  background-color: white;
  width: 8px;
  height: 8px;
  top: 0;
  right: 0;
}
.p-first-promise__card:nth-of-type(1) .p-first-promise__card-title::after {
  position: absolute;
  content: "";
  background-color: #8cb7df;
  width: 8px;
  height: 8px;
  top: 0;
  right: 0;
  clip-path: polygon(0% 0%, 100% 100%, 0% 100%);
}
.p-first-promise__card:nth-of-type(2) .p-first-promise__card-title {
  background-color: #6bbfca;
  border-bottom: 4px solid #b5e1e5;
  position: relative;
}
.p-first-promise__card:nth-of-type(2) .p-first-promise__card-title::before {
  position: absolute;
  content: "";
  background-color: white;
  width: 8px;
  height: 8px;
  top: 0;
  right: 0;
}
.p-first-promise__card:nth-of-type(2) .p-first-promise__card-title::after {
  position: absolute;
  content: "";
  background-color: #b5e1e5;
  width: 8px;
  height: 8px;
  top: 0;
  right: 0;
  clip-path: polygon(0% 0%, 100% 100%, 0% 100%);
}
.p-first-promise__card:nth-of-type(3) .p-first-promise__card-title {
  background-color: #8ad0b8;
  border-bottom: 4px solid #d6ebe3;
  position: relative;
}
.p-first-promise__card:nth-of-type(3) .p-first-promise__card-title::before {
  position: absolute;
  content: "";
  background-color: white;
  width: 8px;
  height: 8px;
  top: 0;
  right: 0;
}
.p-first-promise__card:nth-of-type(3) .p-first-promise__card-title::after {
  position: absolute;
  content: "";
  background-color: #d6ebe3;
  width: 8px;
  height: 8px;
  top: 0;
  right: 0;
  clip-path: polygon(0% 0%, 100% 100%, 0% 100%);
}
.p-first-promise__card > img {
  margin-bottom: 16px;
}
.p-first-promise__card > p {
  font-size: 1rem;
}
.p-first-promise img {
  margin-bottom: 16px;
}
@media (max-width: 992px) {
  .p-first-promise__cards {
    display: flex;
    flex-direction: column;
  }
  .p-first-promise__card img {
    margin: 0 auto;
    width: 60%;
    min-width: min(256px, 100%);
    display: block;
    margin-bottom: 16px;
  }
}
