/* --------------------------------------------------- */
/* common */
/* --------------------------------------------------- */
:root {
  --base-color: #0c1627;
  --primary-color: #234983;
  --secondary-color: #ded4c5;
  --header-height: 0px;
}
* {
  font-family: "Zen Old Mincho", sans-serif;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
}
html {
  /* scroll-behavior: smooth; */
  background-color: #fafafa;
  font-size: 1.1111vw;
}
h1,
h2,
h3,
h4,
p {
  letter-spacing: 0.024em;
  color: var(--base-color);
  line-height: 1;
}
a {
  text-decoration: none;
  color: var(--base-color);
  font-weight: 600;
  letter-spacing: 0.024em;
  transition: 0.3s;
  display: block;
}
a:hover {
  opacity: 0.5;
}
h1,
h2,
h3,
h4 {
  font-weight: 600;
}
p {
  font-size: 16px;
  font-weight: 400;
}
.eng {
  font-family: "Figtree", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0;
}
img {
  /* width: 100%;
  height: auto; */
  display: block;
}
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (max-width: 1279px) {
  html {
    font-size: 4.2666vw;
  }
}

/* --------------------------------------------------- */
/* responsive */
/* --------------------------------------------------- */
.sp-d {
  display: none !important;
}
.pc-d {
  display: block;
}
@media (max-width: 1279px) {
  .sp-d {
    display: block !important;
  }
  .pc-d {
    display: none !important;
  }
}

/* --------------------------------------------------- */
/* header & nav */
/* --------------------------------------------------- */
header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
}
.header__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px;
}
.header-logo__img {
  height: 28px;
  width: auto;
}
.header__list {
  display: flex;
  align-items: center;
  gap: 28px;
}
.header-list__item {
  line-height: 1;
  font-size: 16px;
}
.pagelink {
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 64px;
}
.pagelink:hover {
  opacity: 1;
}
.pagelink__box {
  width: 40px;
  height: 40px;
  position: relative;
  background-color: var(--secondary-color);
  border-radius: 100vw;
}
.pagelink__box::before {
  content: "";
  position: absolute;
  background-color: #fff;
  border-radius: 100vw;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  z-index: 2;
}
.pagelink__box::after {
  content: "";
  position: absolute;
  background-color: var(--primary-color);
  border-radius: 100vw;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  z-index: 1;
  transition: 0.3s;
}
.pagelink:hover .pagelink__box::after,
.flow__link:hover .pagelink__box::after {
  width: 40px;
  height: 40px;
}
.header__floating {
  display: flex;
  position: fixed;
  z-index: 100;
  bottom: 0;
  right: 0;
}
.floating_nav {
  display: flex;
  align-items: stretch;
}
.floating_nav__link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  background-color: var(--primary-color);
}
.floating_nav__link--line {
  background-color: #06c755;
}
.floating_nav__logo {
  width: 40px;
  height: auto;
}
.floating_nav__text {
  font-size: 16px;
  color: #fff;
  font-weight: 600;
  line-height: 1.3125;
  margin: -2.5px 0;
}
@media (max-width: 1279px) {
  .header__nav {
    padding: 20px;
  }
  .header-logo__img {
    height: 22px;
  }
  .header__sp-toggle {
    display: flex !important;
    align-items: center;
    gap: 10px;
    cursor: pointer;
  }
  .header__sp-text {
    font-size: 14px;
    color: var(--primary-color);
  }
  .header__sp-btn {
    width: 48px;
    height: 48px;
    background-color: var(--primary-color);
    border-radius: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
  }
  .header-sp-btn__path {
    width: 4px;
    height: 4px;
    background-color: #fafafa;
    border-radius: 100%;
    transition: 0.3s;
    opacity: 1;
  }
  .header-sp-btn__path--close {
    position: absolute;
    width: 12px;
    height: 12px;
    background-image: url("../img/asset/header_close.svg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: 0.3s;
    opacity: 0;
  }
  .header__sp-wrapper {
    position: absolute;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100dvh - var(--header-height));
    overflow-y: scroll;
    padding: 0 20px 20px;
    background-color: #fff;
    transition: 0.3s;
    opacity: 0;
    pointer-events: none;
  }
  .header__sp-list {
    background-color: var(--primary-color);
    padding: 0 24px;
    height: 100%;
    overflow-y: scroll;
  }
  .header-sp-list__item:not(:last-of-type) {
    border-bottom: 1px solid #fafafa;
  }
  .header-sp-list__link {
    padding: 32px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .header-sp-list-title__en,
  .header-sp-list-title__ja {
    display: block;
    color: #fafafa;
  }
  .header-sp-list-title__en {
    font-size: 14px;
  }
  .header-sp-list-title__ja {
    font-size: 28px;
  }
  .header__nav {
    transition: 0.3s;
    position: relative;
  }
  .header-sp-list__box {
    width: 40px;
    height: 40px;
    position: relative;
    border-radius: 100vw;
    border: solid 1px #fff;
  }
  .header-sp-list__box::before {
    content: "";
    position: absolute;
    border: solid 1px #fff;
    background-color: var(--primary-color);
    border-radius: 100vw;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    z-index: 2;
  }
  .header-sp-list__box::after {
    content: "";
    position: absolute;
    background-color: #fff;
    border-radius: 100vw;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    z-index: 1;
    transition: 0.3s;
  }
  .header-sp-list__link:hover .header-sp-list__box::after {
    width: 40px;
    height: 40px;
  }

  header.open .header__nav {
    background-color: #fff;
  }
  header.open .header-sp-btn__path {
    opacity: 0;
  }
  header.open .header-sp-btn__path--close {
    opacity: 1;
  }
  header.open .header__sp-wrapper {
    opacity: 1;
    pointer-events: auto;
  }

  .header__floating {
    width: 100%;
  }
  .floating_nav {
    width: 100%;
  }
  .floating_nav__link {
    padding: 22px;
    display: flex !important;
  }
  .floating_nav__link--tel {
    background-color: #fff;
    flex: 1;
    justify-content: center;
    gap: 10px;
  }
  .header__floating .floating_nav__link--tel {
    border: solid 1px var(--primary-color);
    padding: 0;
  }
  .floating_nav__logo {
    width: 28px;
    height: auto;
  }
  .floating_nav__text {
    font-size: 18px;
    line-height: 1;
    color: var(--primary-color);
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .floating_nav__link--tel .floating_nav__text {
    font-size: 10px;
  }
  .floating_nav__text span.number {
    font-size: 20px;
    display: inline-block;
  }

  .pagelink {
    margin-top: 48px;
  }
}

/* --------------------------------------------------- */
/* footer */
/* --------------------------------------------------- */
footer {
  width: 100%;
  /* height: 100dvh; */
  position: relative;
  z-index: 2;
}
.footer__wrapper {
  position: relative;
}
.footer__contact {
  background-color: var(--primary-color);
  position: absolute;
  top: 0;
  left: 50%;
  width: 80%;
  transform: translateX(-50%);
}
.footer-contact__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 80px;
}
.footer-contact__link:hover {
  opacity: 1;
}
footer .top_section__title {
  margin-bottom: 0px;
}
footer .top_section-title__caption,
footer .top_section-title__text {
  color: #fff;
}
footer .top_section-title__text {
  font-size: 40px;
}
footer .top_section-title__caption {
  font-size: 16px;
  margin-bottom: 24px;
}
.footer-contact__box {
  display: flex;
  align-items: center;
  gap: 48px;
}
.footer-contact__text {
  font-size: 16px;
  color: #fff;
  line-height: 2;
  margin: -8px 0;
}
.footer-contact__btn {
  width: 48px;
  height: 48px;
  border-radius: 100vw;
  border: 1px solid #fff;
  position: relative;
}
.footer-contact__btn::before {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border: 1px solid #fff;
  background-color: var(--primary-color);
  border-radius: 100vw;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}
.footer-contact__btn::after {
  content: "";
  position: absolute;
  width: 0px;
  height: 0px;
  background-color: #fff;
  border-radius: 100vw;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  transition: 0.3s;
}
.footer-contact__link:hover .footer-contact__btn::after {
  width: 48px;
  height: 48px;
}
.footer__base {
  background-color: var(--base-color);
}
.footer__inner {
  padding: 0 7.5rem;
}
.footer__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 80px 0;
  border-bottom: 1px solid #707070;
}
.footer__container:last-of-type {
  border-bottom: none;
  padding: 24px 0;
}
.footer__item {
  display: flex;
  align-items: center;
}
.footer__logo {
  margin-right: 48px;
}
.footer-logo__img {
  height: 40px;
  width: auto;
}
.footer__wrap {
  display: flex;
  align-items: center;
  gap: 28px;
}
.footer__address,
.footer__tel {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-address__icon,
.footer-tel__icon {
  width: 16px;
  height: auto;
}
.footer-address__text,
.footer-tel__text {
  font-size: 16px;
  color: #fff;
}
.footer__back {
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  transition: 0.3s;
}
.footer__back:hover {
  opacity: 0.5;
}
.footer-back__text {
  font-size: 16px;
  color: #fff;
}
.footer-back__btn {
  width: 48px;
  height: 48px;
  border-radius: 100vw;
  border: 1px solid #fff;
  position: relative;
}
.footer-back__icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
footer .floating_nav__link {
  background-color: #fff;
}
footer .floating_nav__link--line {
  background-color: #06c755;
}
footer .floating_nav__link:nth-of-type(2) .floating_nav__text {
  color: var(--primary-color);
}
.footer__list {
  display: flex;
  align-items: center;
  gap: 28px;
}
.footer-list__link {
  font-weight: 600;
  color: #fff;
  font-size: 16px;
}
.footer-copyright__text,
.footer__privacy_policy {
  font-size: 14px;
  color: #fff;
  font-weight: 600;
}
@media (max-width: 1279px) {
  .footer__contact {
    width: calc(100vw - 48px);
  }
  .footer-contact__link {
    flex-direction: column;
    align-items: flex-start;
    padding: 40px 28px;
  }
  footer .top_section__title {
    margin-bottom: 40px;
  }
  footer .top_section-title__text {
    font-size: 32px;
  }
  .footer-contact__pagelink {
    display: flex !important;
    margin: 40px 0 0 auto;
  }
  .footer-contact__pagelink .pagelink__box {
    background-color: var(--primary-color);
    border: 1px solid #fff;
  }
  .footer-contact__pagelink .pagelink__box::before {
    background-color: var(--primary-color);
    border: 1px solid #fff;
  }
  .footer-contact__pagelink .pagelink__box::after {
    background-color: #fff;
  }
  .footer-contact-pagelink__text {
    color: #fff;
  }
  .footer-contact__pagelink:hover .pagelink__box::after {
    width: 8px;
    height: 8px;
  }
  .footer-contact__link:hover .pagelink__box::after {
    width: 40px;
    height: 40px;
  }

  .footer__inner {
    padding: 0 24px;
  }
  .footer__container {
    justify-content: center;
    flex-direction: column;
    padding: 48px 0 40px;
  }
  .footer__item {
    flex-direction: column;
    width: 100%;
  }
  .footer__logo {
    margin-right: 0;
    margin-bottom: 48px;
  }
  .footer-logo__img {
    height: 32px;
  }
  .footer__info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    width: 100%;
  }
  .footer__wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .footer-address__text,
  .footer-tel__text {
    line-height: 1.5;
    margin: -4px 0;
  }
  .footer__back--sp {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  .footer-back__text {
    font-size: 12px;
    white-space: nowrap;
  }

  .footer__container--links {
    align-items: stretch;
  }
  footer .floating_nav {
    flex-direction: column;
  }
  footer .floating_nav__link {
    flex-direction: row-reverse;
    justify-content: space-between;
  }
  footer .floating_nav__link--tel {
    background-color: #ded4c5;
  }
  .floating_nav__link--line .floating_nav__text {
    color: #fff;
  }

  .footer__list {
    flex-wrap: wrap;
    gap: 40px 0;
    margin-top: 44px;
  }
  .footer-list__item {
    width: 50%;
  }

  .footer__container--bottom {
    flex-direction: column-reverse;
    padding: 28px 0;
    gap: 28px;
  }
}

/* --------------------------------------------------- */
/* loading */
/* --------------------------------------------------- */
.loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100dvh;
  z-index: 2000;
  background-color: var(--primary-color);
}
.loading__inner {
  width: 100%;
  height: 100%;
  position: relative;
}
.loading__container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.loading__part {
  position: relative;
}
.loading__part:not(:last-of-type) {
  margin-bottom: -4px;
}
.loading-part__curtain {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  mask-image: url("../img/asset/loading_img.svg");
  clip-path: inset(0 100% 0 0);
  opacity: 1;
}
.loading__part:first-of-type .loading-part__curtain {
  animation: loading-curtain3 2s infinite;
}
.loading__part:nth-of-type(2) .loading-part__curtain {
  animation: loading-curtain2 2s infinite;
}
.loading__part:last-of-type .loading-part__curtain {
  animation: loading-curtain1 2s infinite;
}
@keyframes loading-curtain1 {
  0% {
    clip-path: inset(0 100% 0 0);
    opacity: 1;
  }
  55% {
    clip-path: inset(0 0 0 0);
    opacity: 1;
  }
  56% {
    clip-path: inset(0 0 0 0);
    opacity: 1;
  }
  100% {
    clip-path: inset(0 0 0 0);
    opacity: 0;
  }
}
@keyframes loading-curtain2 {
  0% {
    clip-path: inset(0 100% 0 0);
    opacity: 1;
  }
  45% {
    clip-path: inset(0 0 0 0);
    opacity: 1;
  }
  46% {
    clip-path: inset(0 0 0 0);
    opacity: 1;
  }
  56% {
    clip-path: inset(0 0 0 0);
    opacity: 1;
  }
  100% {
    clip-path: inset(0 0 0 0);
    opacity: 0;
  }
}
@keyframes loading-curtain3 {
  0% {
    clip-path: inset(0 100% 0 0);
    opacity: 1;
  }
  30% {
    clip-path: inset(0 0 0 0);
    opacity: 1;
  }
  31% {
    clip-path: inset(0 0 0 0);
    opacity: 1;
  }
  56% {
    clip-path: inset(0 0 0 0);
    opacity: 1;
  }
  100% {
    clip-path: inset(0 0 0 0);
    opacity: 0;
  }
}
.loading__text {
  color: #fff;
  text-align: center;
  margin-top: 16px;
}
