@charset "UTF-8";

/*----------------------------------
  共通CTA：CONTACT（footer 直上 / 全ページ共通）
  XD: export_0020 グループ 10716（950x280 / 枠 5px #20B053 / r20）
-----------------------------------*/
.p-cta {
  position: relative;
  padding-block-end: 2.75rem;
}

@media (min-width: 768px) {
  .p-cta {
    padding-block-end: 3.6875rem;
  }
}

.p-cta__inner {
  position: relative;
  z-index: 1;
}

.p-cta__card {
  position: relative;
  display: block;
  overflow: hidden;
  background-color: #ffffff;
  min-height: 18.4375rem;
  border: 0.1875rem solid #20b053;
  border-radius: 1rem;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
}

@media (min-width: 768px) {
  .p-cta__card {
    width: min(100%, 60rem);
    min-height: 18.125rem;
    margin-inline: auto;
    border-width: 0.3125rem;
    border-radius: 1.5625rem;
  }
}

.p-cta__card {
  transition: translate 0.3s ease, box-shadow 0.3s ease;
}

@media (any-hover: hover) {
  .p-cta__card:hover {
    opacity: 1;
    translate: 0 0.1875rem;
    box-shadow: none;
  }
}

.p-cta__body {
  position: relative;
  z-index: 1;
  padding: 2rem 2.625rem 0;
}

@media (min-width: 768px) {
  .p-cta__body {
    padding: 3rem 3.25rem 2.5rem;
  }
}

.p-cta__en {
  color: #0a5da7;
  font-family: "Montserrat", sans-serif;
  font-size: max(3rem, 38.4px);
}

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

.p-cta__en {
  font-weight: 500;
  line-height: 1.2083333333;
}

@media (min-width: 768px) {
  .p-cta__en {
    font-size: max(3.5rem, 44.8px);
    font-weight: 500;
    line-height: 1.2142857143;
  }
}

@media (min-width: 768px) and (min-width: 0px) {
  .p-cta__en {
    font-size: 3.5rem;
  }
}

.p-cta__en::after {
  content: "";
  display: block;
  width: 2.5rem;
  height: 0.1875rem;
  margin-block-start: 0.75rem;
  background-color: #0a5da7;
  border-radius: 0.125rem;
  pointer-events: none;
}

@media (min-width: 768px) {
  .p-cta__en::after {
    width: 2.9375rem;
    height: 0.25rem;
  }
}

.p-cta__text {
  margin-block-start: 0.75rem;
  color: #0a5da7;
  font-size: max(0.8125rem, 10.4px);
}

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

.p-cta__text {
  font-weight: 400;
  line-height: 1.6923076923;
}

@media (min-width: 768px) {
  .p-cta__text {
    margin-block-start: 0.5625rem;
    font-size: max(1.125rem, 14.4px);
    font-weight: 400;
    line-height: 1.5555555556;
  }
}

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

.p-cta__icon {
  width: 1.875rem;
  margin-block-start: 0.75rem;
}

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

.p-cta__icon img {
  display: block;
}

.p-cta__img {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 21.5rem;
  aspect-ratio: 697/253;
}

@media (min-width: 768px) {
  .p-cta__img {
    width: min(43.5625rem, 73.4%);
  }
}

.p-cta__img img {
  display: block;
}

.p-cta__wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 10rem;
  overflow-x: clip;
}

@media (min-width: 768px) {
  .p-cta__wave {
    height: 16rem;
  }
}

.p-cta__wave img {
  display: block;
  height: 100%;
  object-fit: fill;
  transform-origin: center bottom;
  animation: c-wave-sway 7s ease-in-out infinite alternate;
}

@media (prefers-reduced-motion: reduce) {
  .p-cta__wave img {
    animation: none;
  }
}

/*----------------------------------
  footer（XD: export_0021 コンポーネント 40）
-----------------------------------*/
.p-footer {
  border-top: 1.0625rem solid #0a5da7;
  border-bottom: 1px solid #606060;
  padding: 1.5rem 1.25rem 0.9375rem;
}

@media (min-width: 768px) {
  .p-footer {
    border-top-width: 1.9375rem;
    padding: 1.375rem 2.5rem 0.9375rem;
  }
}

@media (min-width: 1024px) {
  .p-footer {
    padding-inline: min(6rem, 5%);
  }
}

.p-footer__contents {
  display: grid;
  grid-template-areas: "totop""logo""company""nav";
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}

@media (min-width: 768px) {
  .p-footer__contents {
    grid-template-areas: "logo totop""company totop""nav nav";
    grid-template-columns: minmax(0, 1fr) auto;
  }
}

@media (min-width: 1200px) {
  .p-footer__contents {
    grid-template-areas: "logo nav totop""company nav totop";
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    grid-template-rows: auto 1fr;
  }
}

.p-footer__logo {
  grid-area: logo;
  justify-self: center;
  width: 14.9375rem;
  margin-block-start: 0.6875rem;
}

@media (min-width: 768px) {
  .p-footer__logo {
    justify-self: start;
    width: clamp(11.25rem, 12.96875vw, 15.5625rem);
    margin-block-start: 0;
  }
}

.p-footer__logo {
  display: block;
  transition: opacity 0.3s ease;
}

@media (any-hover: hover) {
  .p-footer__logo:hover {
    opacity: 0.7;
  }
}

.p-footer__logo img {
  display: block;
}

.p-footer__company {
  grid-area: company;
  margin-block-start: 0.875rem;
  color: #606060;
  text-align: center;
  font-size: max(0.875rem, 11.2px);
}

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

.p-footer__company {
  font-weight: 400;
  line-height: 2;
}

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

.p-footer__nav {
  grid-area: nav;
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 1.25rem;
  margin-block-start: 2.75rem;
}

@media (min-width: 768px) {
  .p-footer__nav {
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    column-gap: 5rem;
    margin-block-start: 1.875rem;
  }
}

@media (min-width: 1200px) {
  .p-footer__nav {
    margin-block-start: 1.15625rem;
  }
}

.p-footer__col {
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 1.25rem;
}

@media (min-width: 768px) {
  .p-footer__col {
    align-items: flex-start;
    row-gap: 0.1875rem;
  }
}

.p-footer__item,
.p-footer__sub-item {
  transition: opacity 0.3s ease;
}

@media (any-hover: hover) {

  .p-footer__item:hover,
  .p-footer__sub-item:hover {
    opacity: 0.7;
  }
}

.p-footer__item p {
  color: #0a5da7;
  font-size: max(1.25rem, 16px);
}

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

.p-footer__item p {
  font-weight: 500;
  line-height: 1.5;
}

@media (min-width: 768px) {
  .p-footer__item p {
    font-size: max(1rem, 12.8px);
    font-weight: 500;
    line-height: 1.6875;
  }
}

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

.p-footer__sub {
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 1.25rem;
}

@media (min-width: 768px) {
  .p-footer__sub {
    align-items: flex-start;
    row-gap: 0;
  }
}

.p-footer__sub-item p {
  color: #606060;
  font-size: max(1rem, 12.8px);
}

@media (min-width: 0px) {
  .p-footer__sub-item p {
    font-size: 1rem;
  }
}

.p-footer__sub-item p {
  font-weight: 400;
  line-height: 1.875;
}

@media (min-width: 768px) {
  .p-footer__sub-item p {
    font-size: max(0.875rem, 11.2px);
    font-weight: 400;
    line-height: 2;
  }
}

@media (min-width: 768px) and (min-width: 0px) {
  .p-footer__sub-item p {
    font-size: 0.875rem;
  }
}

.p-footer__to-top {
  grid-area: totop;
  justify-self: end;
  width: 2.5rem;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

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

@media (any-hover: hover) {
  .p-footer__to-top:hover {
    opacity: 0.7;
  }
}

.p-footer__to-top img {
  display: block;
}

.p-footer__copyright {
  margin-block-start: 4.625rem;
  color: #606060;
  text-align: center;
  font-size: max(0.875rem, 11.2px);
}

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

.p-footer__copyright {
  font-weight: 400;
  line-height: 2;
}

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