/* =========================
   Hero movie background
========================= */
.p-hero__movie {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.p-hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* #2D50B6 / opacity 70% mask */
.p-hero__movie::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(45, 80, 182, 0.7);
  pointer-events: none;
}
.p-hero {
  padding: 11.875rem 0 11.25rem;
  overflow: hidden;
  color: #fff;
  background: var(--color-navy);
}
.p-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 73.75rem;
}
.p-hero__eyebrow {
  position: relative;
  display: inline-block;
  margin-bottom: 1.875rem;
  padding-left: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 700;
  background-color: rgba(255, 255, 255, 0.25);
  height: 3rem;
  line-height: 2.98rem;
  width: 20rem;
}
.p-hero__eyebrow::before {
  position: absolute;
  content: "";
  width: 0.375rem;
  height: 0.375rem;
  background-color: #63d9f6;
  top: calc(50% - 0.1875rem);
  left: 1.25rem;
  border-radius: 50%;
}
.p-hero__title {
  font-size: 3.875rem;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-shadow: 0 0.1875rem 1rem rgba(0, 0, 0, 0.28);
}
.p-hero__title span {
  font-size: 4.4375rem;
}
.p-hero__title span.strong {
  color: #fff039;
}
.p-hero__lead {
  max-width: 42rem;
  margin-top: 1.25rem;
  font-size: 1.125rem;
  font-weight: 600;
}
.p-hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}
.mv-cta {
  width: 16.75rem;
  height: 3.75rem;
  border-radius: 100rem;
  letter-spacing: 2px;
  font-size: 1.25rem;
}
.mv-br {
  display: none;
}
@media (max-width: 1150px) {
  .p-hero {
    padding: 9rem 0 6rem;
  }
  .p-hero__title {
    font-size: 3rem;
  }
  .p-hero__title span {
    font-size: 4rem;
  }
}
@media (max-width: 880px) {
  .mv-br {
    display: block;
  }
}
@media (max-width: 767px) {
  .p-hero {
    min-height: auto;
    padding: 6.25rem 0 3.5rem;
  }
  .p-hero__inner {
    gap: 3rem;
    flex-direction: column;
    width: 100%;
  }
  .p-hero__content {
    padding: 0 1.25rem 1rem;
  }
  .p-hero__eyebrow {
    margin: 0 auto 1.5rem;
  }
  .p-hero__title {
    font-size: 2.55rem;
  }
  .p-hero__title span {
    font-size: 3rem;
  }
  .p-hero__lead {
    font-size: 0.9375rem;
  }
  .p-hero__buttons {
    display: grid;
  }
  .mv-cta {
    width: 100%;
  }
}

/* =========================
   about
========================= */
#about.sec-bg-a::after {
  content: "";
  background: url(../img/bg_logo_03.webp) no-repeat;
  background-size: contain;
  display: block;
  position: absolute;
  aspect-ratio: 794/429;
  width: 50.25rem;
  height: auto;
  bottom: -5rem;
  left: 8rem;
  mix-blend-mode: color-burn;
}
.p-about__grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.p-about__text p:not(.c-section-kicker) {
  margin-top: 1.25rem;
  color: var(--color-text);
  font-weight: 700;
}
.p-about__text p:not(.c-section-kicker) span.strong {
  color: var(--color-blue);
}
.p-about__text .btn-grad {
  margin-top: 2rem;
}
.p-about__card {
  position: relative;
  z-index: 1;
  padding: 2rem 2.5rem 4rem;
  width: 23.625rem;
  border-radius: 1.5rem;
  background: linear-gradient(
    -35deg,
    var(--color-blue) 40%,
    var(--color-sky) 95%
  );
  box-shadow: 0.12rem 0.15rem 0.5rem 0 #0b285c;
  color: #fff;
}
.brand-card {
  margin-bottom: 2rem;
  border-radius: 1rem;
  text-align: center;
}
.brand-card span {
  display: block;
  font-size: 2.75rem;
  font-weight: 600;
  font-family: var(--font-en);
  letter-spacing: 0.175rem;
}
.brand-card small {
  font-weight: 600;
  font-size: 0.9375rem;
}
.p-about__card ul {
  display: flex;
  row-gap: 0.875rem;
  flex-wrap: wrap;
  justify-content: space-between;
}
.p-about__card li {
  padding: 0.275rem 0.5rem;
  border-radius: 0.625rem;
  background: rgba(255, 255, 255, 0.16);
  font-size: 0.9375rem;
  font-weight: 700;
  text-align: center;
  border: 1px solid #fff;
}
.top_illust_01 {
  position: absolute;
  width: 12.4375rem;
  bottom: 0;
  right: -3rem;
}
@media (max-width: 767px) {
  .p-about__grid {
    gap: 3rem;
    flex-direction: column;
    width: 100%;
  }
  .p-about__card {
    padding: 1.25rem;
    width: 100%;
    box-shadow: 0.1rem 0.1rem 0.2rem 0 #0b285c;
  }
  .p-about__card ul {
    grid-template-columns: 1fr;
  }
  .top_illust_01 {
    width: 9rem;
    bottom: -1rem;
    right: -1rem;
  }
  #about.sec-bg-a::after {
    width: 16rem;
    height: auto;
    bottom: -3.5rem;
    left: 10rem;
  }
}

/* =========================
   service
========================= */
.p-services {
  position: relative;
  overflow: hidden;
  padding: 6.75rem 0 7.5rem;
  color: #fff;
}
.p-services__inner {
  position: relative;
}
.p-services__head {
  margin-bottom: 4.875rem;
}
.p-services .c-section-kicker {
  color: #fff;
}
.p-services .c-section-title {
  color: #fff;
}
.p-services__mascot {
  position: absolute;
  top: 2.85rem;
  right: 1.5rem;
  z-index: 0;
  width: 11.0625rem;
}
.p-service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}
.p-service-card {
  position: relative;
  overflow: visible;
  min-height: 23.75rem;
  border-radius: 1.25rem;
  background: #fff;
  color: var(--color-text);
  box-shadow: none;
}
.p-service-card__circle {
  position: absolute;
  top: -1.45rem;
  left: -1.6rem;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 9.875rem;
  height: 9.875rem;
  border-radius: 50%;
  background: linear-gradient(155deg, #fdffff 50%, #dfeeff 100%);
}
.p-service-card__circle img {
  position: relative;
  display: flex;
  width: 7.25rem;
  align-items: center;
  justify-content: center;
}
.p-service-card__head {
  display: flex;
  align-items: center;
  height: 6.6875rem;
  padding: 0.5rem 0 0.5rem 9.5rem;
  border-radius: 1.25rem 1.25rem 0 0;
  background: linear-gradient(100deg, #173ca5 56%, #658cff 100%);
}
.p-service-card__head h3 {
  margin: 0;
  color: #fff;
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.08em;
}
.p-service-card__body {
  padding: 2.75rem 2.875rem 1.5rem;
}
.p-service-card__text {
  min-height: 5.25rem;
  color: var(--color-text);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.9;
  padding: 0 0.8rem;
}
.p-service-card__price {
  margin-top: 1.75rem;
  padding: 1.25rem 0.8rem 0;
  border-top: 1px solid var(--color-navy);
  color: var(--color-navy);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.08em;
}
.p-service-card__price span {
  font-size: 1rem;
  font-weight: 500;
}
.p-service-card__link {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.625rem;
  margin-top: 2rem;
  color: var(--color-navy);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}
.p-service-card__link span {
  display: block;
  position: relative;
  width: 1.3125rem;
  height: 1.3125rem;
  flex-shrink: 0;
  background: url(../img/btn_arrow.webp) no-repeat;
  background-size: contain;
}
@media (max-width: 767px) {
  .p-services {
    padding: 4rem 0 4.5rem;
  }
  .p-services__inner {
    width: min(100% - 2rem, 73.75rem);
  }
  .p-services__head {
    margin-bottom: 3rem;
  }
  .p-services__mascot {
    top: -2.4rem;
    right: 0;
    width: 4rem;
  }
  .p-service-grid {
    grid-template-columns: 1fr;
    gap: 2.75rem;
  }
  .p-service-card {
    min-height: auto;
  }
  .p-service-card__circle {
    top: -1.25rem;
    left: -0.5rem;
    width: 6rem;
    height: 6rem;
  }
  .p-service-card__circle img {
    width: 4.5rem;
    margin-top: 0.25rem;
  }
  .p-service-card__head {
    height: 5.5rem;
    padding: 0.875rem 1.25rem 0.875rem 6.5rem;
  }
  .p-service-card__head h3 {
    font-size: 1.35rem;
  }
  .p-service-card__body {
    padding: 1.25rem 1rem 1rem;
  }
  .p-service-card__text {
    min-height: 0;
    font-size: 0.875rem;
  }
  .p-service-card__text br {
    display: none;
  }
  .p-service-card__price {
    margin-top: 1.25rem;
    font-size: 0.95rem;
  }
  .p-service-card__price span {
    font-size: 0.8rem;
  }
  .p-service-card__link {
    margin-top: 1.5rem;
    font-size: 0.95rem;
  }
}

/* =========================
   foreign
========================= */
.p-foreign {
  position: relative;
  overflow: hidden;
}
.p-foreign::after {
  content: "";
  position: absolute;
  right: 0.5rem;
  bottom: -18.5rem;
  z-index: 0;
  display: block;
  width: 53.125rem;
  aspect-ratio: 1 / 1;
  background: url(../img/bg_logo_03.webp) no-repeat center / contain;
  opacity: 0.35;
  mix-blend-mode: color-burn;
  pointer-events: none;
}
.p-foreign__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4.75rem;
}
.p-foreign__content {
  position: relative;
  width: 34rem;
}
.p-foreign .c-section-kicker {
  color: var(--color-sky);
}
.p-foreign .c-section-title {
  color: #001f55;
  line-height: 1.45;
}
.p-foreign__lead {
  margin-top: 1.625rem;
  color: var(--color-text);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.9;
}
.p-foreign__cards {
  position: relative;
  display: grid;
  grid-template-columns: 15.625rem 15.625rem;
  gap: 1.5rem;
  margin-top: 2rem;
}
.p-foreign__card {
  display: grid;
  place-items: center;
  height: 13.125rem;
  border: 1px solid rgba(8, 17, 25, 0.5);
  border-radius: 1.125rem;
  background: #fff;
  color: #777;
  font-size: 1.625rem;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
  padding: 1rem 1.5rem 1rem 2rem;
  border: 0.625rem solid #d5ecff;
  color: #001f55;
}
.p-foreign__card--language {
  place-items: start;
  text-align: left;
}
.p-foreign__card--language ul {
  display: grid;
  gap: 0.25rem;
  margin-bottom: 0.75rem;
}
.p-foreign__card--language li {
  position: relative;
  padding-left: 2rem;
  color: #001f55;
  font-size: 1.1875rem;
  font-weight: 700;
  line-height: 1.55;
}
.p-foreign__card--language li::before {
  content: "";
  position: absolute;
  top: 0.55rem;
  left: 0;
  width: 1.4rem;
  height: 1.125rem;
  background: url(../img/icon_check_sky.webp) no-repeat center / contain;
}
.p-foreign__card--language p {
  color: var(--color-text);
  font-size: 0.875rem;
  font-weight: 900;
  line-height: 1.8;
  width: 100%;
}
.p-foreign__card--text {
  font-size: 1.5rem;
}
.p-foreign__card--text:last-of-type {
  font-size: 1.25rem;
}
.p-foreign__characters {
  position: absolute;
  left: 31rem;
  bottom: -4rem;
  z-index: 2;
  width: 12.5rem;
}
.p-foreign__image {
  width: 30.25rem;
  flex-shrink: 0;
}
.p-foreign__image img {
  width: 100%;
  border-radius: 1rem;
}
@media (max-width: 767px) {
  .p-foreign::after {
    right: -8rem;
    bottom: -5rem;
    width: 28rem;
  }
  .p-foreign__inner {
    flex-direction: column-reverse;
    gap: 2.5rem;
  }
  .p-foreign__content {
    width: 100%;
  }
  .p-foreign__lead {
    font-size: 0.875rem;
  }
  .p-foreign__lead br {
    display: none;
  }
  .p-foreign__cards {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .p-foreign__card {
    height: auto;
    font-size: 1.25rem;
  }
  .p-foreign__card--language {
    padding: 1rem 1.25rem;
    place-items: center;
  }
  .p-foreign__card--language li {
    font-size: 1rem;
  }
  .p-foreign__card--language li::before {
    top: 0.3rem;
    width: 1.25rem;
  }
  .p-foreign__card--language p {
    text-align: center;
  }
  .p-foreign__characters {
    position: static;
    width: 10rem;
    margin: 1rem auto 0;
  }
  .p-foreign__image {
    width: 100%;
  }
}

/* =========================
   costmores
========================= */
.p-costmores {
  position: relative;
  overflow: hidden;
  padding: 6.25rem 0 7.5rem;
  background: linear-gradient(-135deg, #c4d5ff 0%, #6492ff 100%);
  color: #fff;
}
.p-costmores__inner {
  position: relative;
}
.p-costmores__head {
  margin-bottom: 2rem;
}
.p-costmores .c-section-kicker,
.p-costmores .c-section-title {
  color: #fff;
}
.p-costmores__mascot {
  position: absolute;
  top: -0.75rem;
  right: 0;
  width: 9.125rem;
}
.p-costmores__box {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border-radius: 0 0 1rem 1rem;
}
.p-costmores__tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: end;
  gap: 0.25rem;
}
.p-costmores__tab {
  height: 3.125rem;
  border: none;
  border-bottom: 1px solid #2d50b6;
  background: #fff;
  color: #2d50b6;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.4;
  border-radius: 0.3125rem 0.3125rem 0 0;
}
.p-costmores__tab.is-active {
  background: #2d50b6;
  color: #fff;
  height: 4.375rem;
}
.p-costmores__contents {
  background: #fff;
}
.p-costmores__content {
  display: none;
  color: var(--color-text);
}
.p-costmores__content.is-active {
  display: block;
}
.p-costmores__main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  padding: 4rem 4.5rem 0 0;
}
.p-costmores__text {
  flex: 1;
}
.p-costmores__text h3 {
  margin-bottom: 1.5rem;
  padding: 0.8rem 0;
  text-align: center;
  background: #d7e4ff;
  color: #001f55;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
}
.p-costmores__text h3 span {
  font-size: 1.875rem;
}
.p-costmores__text p {
  color: var(--color-text);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 2;
  display: flex;
  justify-content: center;
}
.p-costmores__image {
  width: 28.125rem;
  flex-shrink: 0;
}
.p-costmores__image img {
  width: 100%;
  border-radius: 1rem;
}
.p-costmores__cts {
  padding: 0 4.25rem 4rem;
}
.p-costmores__problem {
  margin: 3rem auto 2rem;
  padding: 2.75rem 3rem 2.25rem;
  border-radius: 1rem;
  background: #f1f5ff;
}
.p-costmores__problem-text {
  flex: 1;
}
.p-costmores__problem-check {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.p-costmores__problem-text ul {
  display: grid;
  gap: 1.125rem;
}
.p-costmores__problem-text li {
  position: relative;
  padding-left: 3.75rem;
  color: var(--color-text);
  font-size: 1.625rem;
  font-weight: 600;
  line-height: 1.7;
  letter-spacing: 0.08em;
}
.p-costmores__problem-text li::before {
  content: "";
  position: absolute;
  top: 0.75rem;
  left: 0;
  width: 1.875rem;
  height: 1.4375rem;
  background: url(../img/icon_check_blue.webp) no-repeat center / contain;
}
.p-costmores__problem-text li span {
  color: #2d50b6;
}
.p-costmores__arrow {
  width: 0;
  height: 0;
  margin: 1.75rem auto 1.25rem;
  border-style: solid;
  border-width: 1.875rem 2.5rem 0 2.5rem;
  border-color: #2d50b6 transparent transparent transparent;
}
.p-costmores__problem-text p {
  color: var(--color-navy);
  font-size: 1.625rem;
  font-weight: 700;
  line-height: 1.8;
  text-align: center;
}
.p-costmores__problem-text mark {
  padding: 0 0.15em;
  background: linear-gradient(transparent 62%, #fff039 62%);
  color: inherit;
}
.p-costmores__problem-illust {
  width: 9rem;
  flex-shrink: 0;
}
.p-costmores__desc {
  display: grid;
  gap: 1.25rem;
  padding: 0 1rem;
}
.p-costmores__desc p {
  color: var(--color-text);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.8;
}
.p-costmores__desc span {
  color: #2d50b6;
}
.p-costmores__btn-wrap {
  margin-top: 3.25rem;
  text-align: center;
}
.p-costmores__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  width: 16rem;
  height: 3.25rem;
  border-radius: 999px;
  background: linear-gradient(100deg, #2d50b6 0%, #16b6d1 100%);
  color: #fff;
  font-size: 1rem;
  font-weight: 900;
}
.p-costmores__btn span {
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: #fff url(../img/btn_arrow.webp) no-repeat center / 0.45rem auto;
}
@media (max-width: 767px) {
  .p-costmores {
    padding: 4rem 0 4.5rem;
  }
  .p-costmores__inner {
    width: min(100% - 2rem, 73.75rem);
  }
  .p-costmores__head {
    margin-bottom: 1.5rem;
  }
  .p-costmores__mascot {
    top: 1.25rem;
    right: 0.5rem;
    width: 4.75rem;
  }
  .p-costmores__box {
    border-radius: 1rem;
  }
  .p-costmores__tabs {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    padding: 1rem 1rem 0;
    background: #fff;
  }
  .p-costmores__tab {
    height: auto;
    min-height: 3rem;
    border: 1px solid #2d50b6;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
  }
  .p-costmores__contents {
    border-top: 0;
  }
  .p-costmores__content {
    padding: 2rem 1.25rem 2.5rem;
  }
  .p-costmores__cts {
    padding: 0;
  }
  .p-costmores__main {
    flex-direction: column;
    gap: 1.75rem;
    padding: 1rem 0;
  }
  .p-costmores__text h3 {
    margin-bottom: 1rem;
    padding: 1rem;
    font-size: 1.5rem;
  }
  .p-costmores__text h3 span {
    font-size: 1.25rem;
  }
  .p-costmores__text p {
    padding-left: 0;
    font-size: 0.875rem;
  }
  .p-costmores__text p br {
    display: none;
  }
  .p-costmores__image {
    width: 100%;
  }
  .p-costmores__problem {
    flex-direction: column;
    gap: 1.5rem;
    margin: 0.5rem auto 1rem;
    padding: 1.75rem 1.25rem;
  }
  .p-costmores__problem-check {
    flex-direction: column;
  }
  .p-costmores__problem-text li {
    padding-left: 2rem;
    font-size: 1rem;
  }
  .p-costmores__problem-text li::before {
    top: 0.25rem;
    width: 1.4rem;
  }
  .p-costmores__problem-text li br {
    display: none;
  }
  .p-costmores__problem-text p {
    font-size: 0.95rem;
    text-align: left;
  }
  .p-costmores__problem-illust {
    width: 7rem;
  }
  .p-costmores__desc {
    padding: 0;
    gap: 1rem;
  }
  .p-costmores__desc p {
    font-size: 0.875rem;
  }
  .p-costmores__btn-wrap {
    margin-top: 2rem;
  }
  .p-costmores__btn {
    width: 100%;
  }

  .c-section-kicker {
    font-size: 1rem;
  }
}
