@charset "UTF-8";

/* footer.css */
/*----------------------------------
  共通CTA（footer直上）
-----------------------------------*/
.p-cta {
  position: relative;
  padding-block: 6.25rem 10rem;
  border-radius: 1.25rem 1.25rem 0 0;
  background: linear-gradient(to right, #fff3f3 0%, #f5d2d3 38.5%, #f9ede7 100%);
}

@media (min-width: 768px) {
  .p-cta {
    padding-block: max(5.125rem, 82px) max(11.125rem, 178px);
  }
}

@media (min-width: 768px) {
  .p-cta .c-section-ttl__ja {
    font-size: min(2rem, 3vw);
  }
}

@media (min-width: 768px) {
  .p-cta .c-section-ttl__ja br {
    display: none;
  }
}

.p-cta__text {
  margin-block-start: 1.25rem;
  padding-inline-start: 0.625rem;
  color: #31352f;
  font-size: max(0.875rem, 11.2px);
}

@media (min-width: 0px) {
  .p-cta__text {
    font-size: 0.875rem;
  }
}

.p-cta__text {
  font-weight: 400;
  line-height: 2;
  letter-spacing: 0.0303571429em;
}

@media (min-width: 768px) {
  .p-cta__text {
    margin-block-start: 1.75rem;
    line-height: 2.2857142857;
  }
}

.p-cta__text br {
  display: none;
}

@media (min-width: 768px) {
  .p-cta__text br {
    display: inline;
  }
}

.p-cta__list {
  display: grid;
  row-gap: 2rem;
  margin-block-start: 3rem;
}

@media (min-width: 768px) {
  .p-cta__list {
    margin-block-start: max(2.5rem, 40px);
    padding-inline: 0.75rem 1.0625rem;
  }
}

@media (min-width: 1024px) {
  .p-cta__list {
    grid-template-columns: repeat(2, 1fr);
    column-gap: max(2.3125rem, 37px);
  }
}

.p-cta__item {
  padding: 1.25rem 1.25rem 1rem;
  border: 1px solid #d4d4d4;
  border-radius: 0.625rem;
  background-color: #ffffff;
}

@media (min-width: 768px) {
  .p-cta__item {
    padding: 1.75rem 2rem 1.125rem 1.875rem;
  }
}

@media (min-width: 1024px) {
  .p-cta__item {
    display: grid;
    grid-row: span 4;
    grid-template-rows: subgrid;
    row-gap: 0;
  }
}

.p-cta__head {
  display: flex;
  align-items: center;
  column-gap: 1rem;
  padding-block-end: 0.75rem;
  border-bottom: 1px solid #d4d4d4;
}

@media (min-width: 768px) {
  .p-cta__head {
    column-gap: 1.25rem;
    padding-block-end: 1rem;
  }
}

.p-cta__head-en {
  color: #e83439;
  font-family: "Jost", sans-serif;
  font-weight: 700;
  font-size: 2rem;
  line-height: 1;
  letter-spacing: 0.03em;
}

@media (min-width: 768px) {
  .p-cta__head-en {
    font-size: 2.5rem;
  }
}

.p-cta__head-en--line {
  color: #03c153;
}

.p-cta__head-ja {
  color: #292a29;
  font-size: max(0.875rem, 11.2px);
}

@media (min-width: 0px) {
  .p-cta__head-ja {
    font-size: 0.875rem;
  }
}

.p-cta__head-ja {
  font-weight: 700;
  line-height: 1.7142857143;
  letter-spacing: 0.0342857143em;
}

@media (min-width: 768px) {
  .p-cta__head-ja {
    font-size: 1rem;
  }
}

.p-cta__item-text {
  margin-block-start: 0.875rem;
  color: #31352f;
  font-size: max(0.875rem, 11.2px);
}

@media (min-width: 0px) {
  .p-cta__item-text {
    font-size: 0.875rem;
  }
}

.p-cta__item-text {
  font-weight: 400;
  line-height: 2;
  letter-spacing: 0.0303571429em;
}

@media (min-width: 768px) {
  .p-cta__item-text {
    margin-block-start: 1rem;
    line-height: 2.2857142857;
  }
}

.p-cta__item-text br {
  display: none;
}

@media (min-width: 768px) {
  .p-cta__item-text br {
    display: inline;
  }
}

.p-cta__btn {
  margin-block-start: 1.25rem;
}

.p-cta__btn .c-btn-contact {
  width: min(100%, 25rem);
  margin-inline: auto;
}

@media (min-width: 1024px) {
  .p-cta__btn .c-btn-contact {
    width: 100%;
  }
}

@media (min-width: 768px) {
  .p-cta__btn {
    margin-block-start: 1.25rem;
  }
}

.p-cta__note {
  margin-block-start: 0.5rem;
  color: #505050;
  text-align: center;
  font-size: max(0.9375rem, 12px);
}

@media (min-width: 0px) {
  .p-cta__note {
    font-size: 0.9375rem;
  }
}

.p-cta__note {
  font-weight: 700;
  line-height: 2;
  letter-spacing: 0.032em;
}

@media (min-width: 768px) {
  .p-cta__note {
    font-size: 1rem;
  }
}

/*----------------------------------
  フッター
-----------------------------------*/
.p-footer {
  position: relative;
  margin-block-start: -5rem;
  padding-block-start: 3.75rem;
  border-radius: 1.25rem 1.25rem 0 0;
  background: linear-gradient(60deg, #e83439 1.2%, #eb6016 97.9%);
  overflow: hidden;
}

@media (min-width: 768px) {
  .p-footer {
    margin-block-start: -5.5625rem;
    padding-block-start: 7.3125rem;
  }
}

.p-footer>.l-inner,
.p-footer>.p-footer__copy {
  position: relative;
  z-index: 2;
}

.p-footer>.c-section-header__bg {
  display: flex;
  align-items: flex-end;
  padding-block-end: 2.8125rem;
}

@media (min-width: 768px) {
  .p-footer>.c-section-header__bg {
    padding-block-end: 3.0625rem;
  }
}

.p-footer>.l-inner {
  padding-block-end: 6.25rem;
}

@media (min-width: 768px) {
  .p-footer>.l-inner {
    padding-block-end: 11.875rem;
  }
}

@media (min-width: 1024px) {
  .p-footer__contents {
    padding-inline: 0.75rem 1.0625rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
  }
}

.p-footer__logo {
  display: block;
  width: 12.5rem;
  aspect-ratio: 240/59;
}

@media (min-width: 768px) {
  .p-footer__logo {
    width: 15rem;
  }
}

.p-footer__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.p-footer__company {
  margin-block-start: 1.5rem;
  padding-inline-start: 0.0625rem;
}

@media (min-width: 768px) {
  .p-footer__company {
    margin-block-start: 1.6875rem;
  }
}

.p-footer__company p {
  color: #ffffff;
  font-size: max(0.9375rem, 12px);
}

@media (min-width: 0px) {
  .p-footer__company p {
    font-size: 0.9375rem;
  }
}

.p-footer__company p {
  font-weight: 500;
  line-height: 1.7333333333;
}

@media (min-width: 768px) {
  .p-footer__company p {
    font-size: 1rem;
  }
}

.p-footer__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem 1.25rem;
  margin-block-start: 2.5rem;
}

@media (min-width: 1024px) {
  .p-footer__list {
    display: flex;
    align-items: center;
    column-gap: 2.5625rem;
    margin-block-start: 1.25rem;
  }
}

.p-footer__item p {
  color: #ffffff;
  font-size: max(0.875rem, 11.2px);
}

@media (min-width: 0px) {
  .p-footer__item p {
    font-size: 0.875rem;
  }
}

.p-footer__item p {
  font-weight: 600;
  line-height: 1.4285714286;
  letter-spacing: 0.03em;
}

.p-footer__totop {
  display: grid;
  place-items: center;
  align-content: center;
  row-gap: 0.375rem;
  width: 5rem;
  aspect-ratio: 1/1;
  margin-block-start: 2.5rem;
  margin-inline: auto 0;
  border: 1px solid #ffffff;
  border-radius: 50%;
  background-color: #ffffff;
  color: #e83439;
  cursor: pointer;
  transition: translate 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

@media (min-width: 768px) {
  .p-footer__totop {
    width: 6.375rem;
    margin-block-start: max(6.75rem, 108px);
    margin-inline-end: -1.25rem;
  }
}

.p-footer__totop::before {
  content: "";
  width: 0.5rem;
  aspect-ratio: 6/4.8;
  background-color: #e83439;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  pointer-events: none;
  transition: background-color 0.3s ease;
}

.p-footer__totop p {
  color: #e83439;
  text-align: center;
  font-family: "Jost", sans-serif;
  font-weight: 500;
  font-size: 0.6875rem;
  line-height: 1.3;
  letter-spacing: 0.05em;
  transition: color 0.3s ease;
}

@media (min-width: 768px) {
  .p-footer__totop p {
    font-size: 0.75rem;
  }
}

@media (any-hover: hover) {
  .p-footer__totop:hover {
    translate: 0 -0.3125rem;
    background-color: #e83439;
    color: #ffffff;
  }

  .p-footer__totop:hover::before {
    background-color: #ffffff;
  }

  .p-footer__totop:hover p {
    color: #ffffff;
  }
}

.p-footer__copy {
  padding-block: 0.25rem 1.25rem;
  color: #ffffff;
  text-align: center;
  font-size: max(0.6875rem, 8.8px);
}

@media (min-width: 0px) {
  .p-footer__copy {
    font-size: 0.6875rem;
  }
}

.p-footer__copy {
  font-weight: 400;
  line-height: 1.9090909091;
}

@media (min-width: 768px) {
  .p-footer__copy {
    padding-block: 0.5rem 1.25rem;
  }
}