@charset "utf-8";

/* =========================================================
  footer CTA
========================================================= */
.footer-cta {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
  margin-top: 30px;
  margin-inline: auto;
  background: var(--color-navy);
}

.footer-cta__panel {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 382px;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
}

.footer-cta__panel::after {
  content: "VIEW MORE";
  position: absolute;
  z-index: 4;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(16, 21, 61, 0.8);
  box-shadow: 0 0 0 100vmax rgba(16, 21, 61, 0.8);
  color: #fff;
  font-family: var(--font-en);
  font-size: clamp(18px, 1.8vw, 30px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.18em;
  text-indent: 0.18em;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.footer-cta__panel--partner {
  padding: 54px 48px 54px clamp(100px, 10.07vw, 145px);
  background: #15213a;
}

.footer-cta__partner-bg {
  position: absolute;
  z-index: -2;
  inset: 0;
  background-image: url("../images/footer/footer-bg001.jpg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.footer-cta__panel--partner::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 17, 43, 0.82) 0%, rgba(8, 25, 60, 0.42) 100%),
    rgba(7, 23, 68, 0.2);
  pointer-events: none;
}

.footer-cta__partner-content {
  width: min(100%, 530px);
}

.footer-cta__partner-title {
  color: #bea571;
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.12em;
}

.footer-cta__partner-title span {
  display: block;
  margin-top: 2px;
  font-size: clamp(25px,2.1vw,32px);
  line-height: 1;
  letter-spacing: 0;
}

.footer-cta__partner-title span.en {
  display: inline-block;
  font-family: "Roboto Condensed", var(--font-en), var(--font-ja), sans-serif;
  font-size: clamp(30px,2.6vw,38px);
  line-height: 1;
  letter-spacing: 0.4em;
  white-space: nowrap;
}

.footer-cta__partner-list {
  display: grid;
  gap: 16px;
  margin-top: 30px;
}

.footer-cta__partner-item {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
}

.footer-cta__partner-number {
  display: grid;
  place-items: center;
  width: 40px;
  aspect-ratio: 1;
  background: #bea571;
  color: #fff;
  font-family: "Roboto Condensed", var(--font-en), sans-serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 1;
}

.footer-cta__partner-copy {
  display: grid;
  gap: 1px;
}

.footer-cta__partner-copy strong {
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  margin-bottom: 5px;
}

.footer-cta__partner-copy small {
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0;
}

.footer-cta__panel--contact {
  justify-content: center;
  padding: 50px 72px;
  background: linear-gradient(90deg, #021025 0%, #10153d 100%);
  text-align: center;
}

.footer-cta__contact-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 218px;
  height: auto;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.footer-cta__contact-content {
  position: relative;
  z-index: 1;
}

.footer-cta__contact-title {
  color: #BEA571;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0;
}

.footer-cta__contact-text {
  margin-top: 28px;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0;
}

.footer-cta__arrow {
  position: absolute;
  top: 50%;
  right: 56px;
  width: 18px;
  height: 18px;
  border-top: 4px solid #fff;
  border-right: 4px solid #fff;
  transform: translateY(-50%) rotate(45deg);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.footer-cta__panel:focus-visible {
  z-index: 2;
  outline: 3px solid #bea571;
  outline-offset: -5px;
}

.footer-cta__panel:focus-visible::after {
  opacity: 1;
}

@media screen and (min-width: 1441px) {
  .footer-cta__panel--partner {
    padding-left: calc((100vw - 1440px) / 2 + 145px);
  }

  .footer-cta__panel--partner::after {
    right: 0;
    left: auto;
    width: 720px;
    font-size: 26px;
  }

  .footer-cta__panel--contact {
    justify-content: flex-start;
    padding-right: 0;
    padding-left: 0;
  }

  .footer-cta__panel--contact::after {
    right: auto;
    left: 0;
    width: 720px;
    font-size: 26px;
  }

  .footer-cta__contact-icon {
    left: 360px;
  }

  .footer-cta__contact-content {
    position: absolute;
    top: 50%;
    left: 360px;
    transform: translate(-50%, -50%);
  }

  .footer-cta__panel--contact .footer-cta__arrow {
    right: auto;
    left: 646px;
  }
}

@media (hover: hover) and (pointer: fine) {
  .footer-cta__panel:hover::after {
    opacity: 1;
  }

  .footer-cta__panel:hover .footer-cta__arrow {
    transform: translate(7px, -50%) rotate(45deg);
  }

  .footer-cta__panel--partner:hover .footer-cta__partner-bg {
    transform: scale(1.025);
  }
}

/* =========================================================
  site footer
========================================================= */
.site-footer {
  position: relative;
  z-index: 1;
  width: min(100%, 1440px);
  margin-inline: auto;
  background: transparent;
  color: var(--color-navy);
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 250px;
  padding: 52px 24px 40px;
  text-align: center;
}

.site-footer__brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.site-footer__brand-image {
  display: block;
  width: min(100%, 533px);
  height: auto;
}

.site-footer__copy {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 50px;
  color: #131313;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.12em;
}

.site-footer__copy span:first-child {
  letter-spacing: 0.34em;
}

@media (hover: hover) and (pointer: fine) {
  .site-footer__brand:hover {
    opacity: 0.72;
  }
}

/* =========================================================
  small PC / tablet (1180px - 768px)
========================================================= */
@media screen and (min-width: 768px) and (max-width: 1180px) {
  .footer-cta {
    grid-template-columns: minmax(0, 50%) minmax(0, 50%);
  }

  .footer-cta__panel {
    min-height: 350px;
  }

  .footer-cta__panel--partner {
    padding: 40px 44px;
  }

  .footer-cta__partner-content {
    width: 100%;
    max-width: none;
  }

  .footer-cta__partner-title,
  .footer-cta__partner-title span {
    font-size: 26px;
    line-height: 1.15;
  }

  .footer-cta__partner-title > span:first-child {
    font-size: 30px;
    letter-spacing: 0;
    white-space: nowrap;
  }

  .footer-cta__partner-title span.en {
    font-size: 34px;
    letter-spacing: 0.16em;
  }

  .footer-cta__partner-title > span:last-child {
    margin-top: 5px;
    font-size: 26px;
  }

  .footer-cta__partner-list {
    gap: 13px;
    margin-top: 24px;
  }

  .footer-cta__partner-item {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 13px;
  }

  .footer-cta__partner-number {
    width: 38px;
    font-size: 19px;
  }

  .footer-cta__partner-copy strong {
    margin-bottom: 3px;
    font-size: 17px;
    line-height: 1.25;
  }

  .footer-cta__partner-copy small {
    font-size: 10px;
    line-height: 1.45;
  }

  .footer-cta__panel--contact {
    padding: 42px 50px 42px 34px;
  }

  .footer-cta__contact-icon {
    width: 180px;
  }

  .footer-cta__contact-title {
    font-size: 26px;
  }

  .footer-cta__contact-text {
    margin-top: 18px;
    font-size: 15px;
  }

  .footer-cta__arrow {
    right: 30px;
    width: 16px;
    height: 16px;
    border-width: 3px;
  }
}

@media screen and (min-width: 768px) and (max-width: 900px) {
  .footer-cta__panel {
    min-height: 320px;
  }

  .footer-cta__panel--partner {
    padding: 34px 28px;
  }

  .footer-cta__partner-title,
  .footer-cta__partner-title span,
  .footer-cta__partner-title > span:last-child {
    font-size: 22px;
  }

  .footer-cta__partner-title > span:first-child {
    font-size: 24px;
  }

  .footer-cta__partner-title span.en {
    font-size: 27px;
    letter-spacing: 0.12em;
  }

  .footer-cta__partner-list {
    gap: 11px;
    margin-top: 20px;
  }

  .footer-cta__partner-item {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px;
  }

  .footer-cta__partner-number {
    width: 34px;
    font-size: 17px;
  }

  .footer-cta__partner-copy strong {
    margin-bottom: 1px;
    font-size: 15px;
  }

  .footer-cta__panel--contact {
    padding: 36px 42px 36px 24px;
  }

  .footer-cta__contact-icon {
    width: 145px;
  }

  .footer-cta__contact-title {
    font-size: 22px;
  }

  .footer-cta__contact-text {
    margin-top: 14px;
    font-size: 13px;
  }

  .footer-cta__arrow {
    right: 20px;
    width: 14px;
    height: 14px;
  }
}

/* =========================================================
  smartphone
========================================================= */
@media screen and (max-width: 767px) {
  .footer-cta {
    grid-template-columns: 1fr;
    margin-top: 15px;
    gap: 3px;
    background: none;
  }

  .footer-cta__panel::after {
    font-size: 16px;
    letter-spacing: 0.14em;
    text-indent: 0.14em;
  }

  .footer-cta__panel--partner {
    min-height: 320px;
    padding: 34px 44px 34px 24px;
  }

  .footer-cta__partner-content {
    width: 100%;
  }

  .footer-cta__partner-title,
  .footer-cta__partner-title span {
    font-size: 21px;
    line-height: 1.25;
  }

  .footer-cta__partner-title > span:first-child {
    font-size: 24px;
    letter-spacing: 0.14em;
    white-space: normal;
  }

  .footer-cta__partner-title span.en {
    font-size: 24px;
    letter-spacing: 0.14em;
  }

  .footer-cta__partner-title > span:last-child {
    margin-top: 3px;
    font-size: 21px;
  }

  .footer-cta__partner-list {
    gap: 12px;
    margin-top: 22px;
  }

  .footer-cta__partner-item {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 11px;
  }

  .footer-cta__partner-number {
    width: 34px;
    font-size: 16px;
  }

  .footer-cta__partner-copy {
    gap: 2px;
  }

  .footer-cta__partner-copy strong {
    margin-bottom: 0;
    font-size: 15px;
    line-height: 1.4;
  }

  .footer-cta__partner-copy small {
    font-size: 10px;
    line-height: 1.5;
  }

  .footer-cta__panel--contact {
    min-height: 200px;
    padding: 36px 48px 36px 24px;
  }

  .footer-cta__contact-icon {
    width: 132px;
  }

  .footer-cta__contact-title {
    font-size: 22px;
    line-height: 1.4;
  }

  .footer-cta__contact-text {
    margin-top: 12px;
    font-size: 13px;
    line-height: 1.6;
  }

  .footer-cta__arrow {
    right: 20px;
    width: 13px;
    height: 13px;
    border-width: 3px;
  }

  .site-footer__inner {
    min-height: 170px;
    padding: 40px 20px 28px;
  }

  .site-footer__brand-image {
    width: min(100%, 310px);
  }

  .site-footer__copy {
    flex-direction: column;
    gap: 2px;
    margin-top: 27px;
    font-size: 10px;
    line-height: 1.6;
    letter-spacing: 0.1em;
  }

  .site-footer__copy span:first-child {
    letter-spacing: 0.24em;
  }
}

@media screen and (max-width: 480px) {
  .footer-cta__panel--partner {
    min-height: 275px;
    padding: 32px 40px 32px 20px;
  }

  .footer-cta__partner-title,
  .footer-cta__partner-title span,
  .footer-cta__partner-title > span:last-child {
    font-size: 20px;
  }

  .footer-cta__partner-title > span:first-child,
  .footer-cta__partner-title span.en {
    font-size: 22px;
    letter-spacing: 0.11em;
  }

  .footer-cta__partner-list {
    gap: 11px;
    margin-top: 20px;
  }

  .footer-cta__partner-copy strong {
    font-size: 14px;
  }

  .footer-cta__partner-copy small {
    font-size: 10px;
  }

  .footer-cta__panel--contact {
    min-height: 275px;
    padding-right: 20px;
    padding-left: 20px;
  }

  .footer-cta__contact-icon {
    width: 120px;
  }

  .footer-cta__contact-title {
    font-size: 20px;
  }

  .footer-cta__contact-text {
    margin-top: 10px;
    font-size: 12px;
  }

  .footer-cta__arrow {
    right: 18px;
  }

  .site-footer__inner {
    min-height: 158px;
    padding: 36px 18px 25px;
  }

  .site-footer__brand-image {
    width: min(100%, 286px);
  }

  .site-footer__copy {
    margin-top: 24px;
    font-size: 10px;
  }
}

@media screen and (max-width: 374px) {
  .footer-cta__panel--partner {
    min-height: 304px;
    padding-right: 36px;
    padding-left: 18px;
  }

  .footer-cta__partner-title > span:first-child,
  .footer-cta__partner-title span.en {
    font-size: 21px;
    letter-spacing: 0.08em;
  }

  .footer-cta__partner-item {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 9px;
  }

  .footer-cta__partner-number {
    width: 32px;
    font-size: 15px;
  }
}
