@charset "UTF-8";

:root {
  --s: 0.078125vw;
  --h: 0.078125vw;
  --f: 0.078125vw;
}
@media screen and (max-width: 960px) {
  :root {
    --s: 0.14vw;
    --h: 0.10vw;
    --f: 0.19vw;
  }
}

html {
  text-align: left;
}

:root {
  --s: 0.078125vw;
  --h: 0.078125vw;
  --f: 0.07vw;
}
@media screen and (max-width: 960px) {
  :root {
    --s: 0.14vw;
    --h: 0.10vw;
    --f: 0.17vw;
  }
}

.home-mv__text {
  top: calc(var(--f) * 180);
}
.home-mv__text__text p {
  width: calc(var(--s) * 420);
}
.home-mv__text__catch img {
  height: calc(var(--f) * 40);
  margin-bottom: calc(var(--f) * 18);
}
.home-mv__text__catch img:nth-child(2) {
  margin-bottom: calc(var(--f) * 12);
}
@media screen and (max-width: 960px) {
  .home-mv {
    padding-bottom: calc(var(--f) * 310);
  }
  .home-mv__anime {
    left: -18vw;
  }
  .home-mv__text {
    top: calc(var(--f) * 140);
  }
  .home-mv__text__catch img {
    height: calc(var(--s) * 36);
  }
  .home-mv__text__text p {
    width: calc(var(--s) * 380);
    font-size: calc(var(--f) * 14);
  }
}

.home-about__text__nav a {
  font-size: calc(var(--f) * 14);
}

.footer__sitemap__sub a {
  padding-top: 0.5em;
  padding-bottom: 0.5em;
  line-height: 1.5;
  white-space: unset;
}
@media screen and (min-width: 960.02px) {
  .footer__logo {
    width: calc(var(--f) * 250);
  }
  .footer__sitemap__box {
    width: calc(var(--f) * 300);
  }
}

@media screen and (max-width: 960px) {
  .nav__list__sub a {
    padding-top: 0.5em;
    padding-bottom: 0.5em;
    line-height: 1.5;
    white-space: unset;
  }
}

.page-title__text .en {
  margin: 0;
  font-size: calc(var(--f) * 36);
  line-height: 1.5;
}
@media screen and (min-width: 960.02px) {
  .page-title__text {
    bottom: 0;
    height: 100%;
    padding-top: calc(var(--f) * 80);
    padding-right: 40%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -ms-flex-line-pack: center;
        align-content: center;
  }
}

.about-message__head small {
  margin-bottom: 0.5em;
}
.about-message__head span {
  font-size: calc(var(--f) * 32);
  line-height: 1.4;
  letter-spacing: 0em;
}
.about-message__box__text {
  line-height: 1.75;
}
.about-message__box__text p {
  margin-bottom: 1em;
}
.about-message__box__text p:last-child {
  margin-bottom: 0;
}
.about-message__box__photo .institute {
  font-size: calc(var(--f) * 16);
  line-height: 1.5;
  letter-spacing: 0.05em;
  font-weight: 400;
  font-size: calc(var(--f) * 18);
}
.about-message__box__photo .name {
  font-size: calc(var(--f) * 28);
}
@media screen and (max-width: 960px) {
  .about-message__head small {
    margin-bottom: 0.5em;
  }
  .about-message__head span {
    font-size: calc(var(--f) * 26);
    line-height: 1.4;
    letter-spacing: 0em;
  }
}

.contact-form__head {
  font-size: calc(var(--f) * 32);
  line-height: 1.4;
  letter-spacing: 0em;
}
@media screen and (max-width: 960px) {
  .contact-form__head {
    font-size: calc(var(--f) * 26);
    line-height: 1.4;
    letter-spacing: 0em;
  }
}

div#wpcf7cpcnf::before {
  content: "Review Your Inquiry";
}
div#wpcf7cpcnf table::before {
  content: "Please review the information and click the Submit button.";
}
div#wpcf7cpcnf .wpcf7cp-btns {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: calc(var(--f) * 24);
}
div#wpcf7cpcnf .wpcf7cp-btns .wpcf7-form-control {
  color: #333333;
  font-size: 0;
  letter-spacing: 0;
}
div#wpcf7cpcnf .wpcf7cp-btns .wpcf7-form-control::before {
  content: "Submit as is";
  color: #fff;
  font-size: calc(var(--f) * 16);
}
div#wpcf7cpcnf .wpcf7cp-btns .wpcf7-form-control.wpcf7cp-cfm-edit-btn {
  background: #666B6C;
}
div#wpcf7cpcnf .wpcf7cp-btns .wpcf7-form-control.wpcf7cp-cfm-edit-btn::before {
  content: "Edit";
}