@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100;300;400;500;700;900&display=swap");

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Noto Sans JP", sans-serif;
  font-feature-settings: "palt";
}

* {
  box-sizing: border-box;
  -webkit-text-size-adjust: 100%;
}

p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

@keyframes fade-in {
  0% {
    opacity: 0;
  }

  50% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes fade-out {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 1;
  }

  99% {
    width: 100%;
  }

  100% {
    opacity: 0;
    width: 0;
  }
}

#container {
  width: 100%;
  overflow: hidden;
}

#key-visual-a-container {
  height: 793px;
}

#key-visual-a-container__key-visual-a {
  width: 100%;
  height: 943px;
  position: absolute;
  top: 0;
  left: 0;
  background-image: url("./images/key-visual-a@2x.jpg");
  background-size: cover;
  background-position: center;
  animation-duration: 3s;
  animation-name: fade-in;
}

#key-visual-a-container__key-visual-a-for-mask {
  width: 100%;
  height: 943px;
  position: absolute;
  top: 0;
  left: 0;
  background-image: url("./images/key-visual-a@2x.jpg");
  background-size: cover;
  background-position: center;
  -webkit-mask-image: url("./images/logo-en@2x.png");
  -webkit-mask-size: 450px;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center 90px;
  -webkit-mask-mode: alpha;
  mask-image: url("./images/logo-en@2x.png");
  mask-size: 450px;
  mask-repeat: no-repeat;
  mask-position: center 90px;
  mask-mode: alpha;
}

#key-visual-a-container__logo-en {
  z-index: 30;
  position: absolute;
  display: block;
  width: 450px;
  top: 90px;
  left: 50%;
  transform: translate(-50%);
  animation-duration: 3s;
  animation-name: fade-in;
}

#key-visual-a-container__logo-en-video-background {
  position: fixed;
  background-color: white;
  width: 100%;
  height: 100%;
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: center;
  animation-delay: 5s;
  animation-duration: 3s;
  animation-name: fade-out;
  animation-fill-mode: forwards;
}

#key-visual-a-container__logo-en-video-container {
  height: 80%;
  max-width: 90%;
  display: flex;
  justify-content: center;
  align-items: center;
}

#key-visual-a-container__logo-en-video {
  clip-path: inset(2px 2px);
  outline: none;
  border: none;
  max-width: 100%;
  max-height: 100%;
}

#key-visual-a-container__top-logo {
  display: block;
  width: 200px;
  position: absolute;
  top: 20px;
  left: 15px;
  animation-duration: 3s;
  animation-name: fade-in;
}

#key-visual-a-container__top-contact-button {
  position: absolute;
  top: 20px;
  right: 0;
  height: 28px;
  padding: 0 10px 1px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 2px;
  line-height: 28px;
  color: #1dade5;
  border-bottom: 28px solid white;
  border-left: 17px solid transparent;
  box-sizing: border-box;
  animation-duration: 3s;
  animation-name: fade-in;
  transition-property: border-bottom, color;
  transition-duration: 500ms;
}

#key-visual-a-container__top-contact-button:hover {
  border-bottom: 28px solid #1dade5;
  color: white;
}

#key-visual-b-container {
  position: relative;
  height: 600px;
}

#key-visual-b-container__blue-parallelogram {
  position: absolute;
  top: -210px;
  z-index: 20;
  width: 100%;
  height: 460px;
  background: #1dade5;
  transform: skewY(-21.5deg);
  opacity: 0;
  animation-delay: 3s;
  animation-duration: 0.5s;
  animation-fill-mode: forwards;
  animation-name: blue-parallelogram-slide-in;
}

@keyframes blue-parallelogram-slide-in {
  0% {
    opacity: 1;
    transform: skewY(-21.5deg) translateX(100%);
  }

  100% {
    opacity: 1;
    transform: skewY(-21.5deg) translateX(0);
  }
}

#key-visual-b-container__pink-parallelogram {
  position: absolute;
  top: 460px;
  z-index: 10;
  width: 100%;
  height: 640px;
  background: #ef91ae;
  transform: skewY(21.5deg);
  opacity: 0;
  animation-delay: 3.5s;
  animation-duration: 0.5s;
  animation-fill-mode: forwards;
  animation-name: pink-parallelogram-slide-in;
}

@keyframes pink-parallelogram-slide-in {
  0% {
    opacity: 1;
    transform: skewY(21.5deg) translateX(-100%);
  }

  100% {
    opacity: 1;
    transform: skewY(21.5deg) translateX(0);
  }
}

#key-visual-b-container__key-visual-b {
  display: block;
  width: 80%;
  height: 800px;
  position: absolute;
  top: -50px;
  right: 0;
  background-image: url("./images/key-visual-b@2x.jpg");
  background-position: center;
  background-size: 100%;
  margin-left: auto;
  opacity: 0;
  animation-delay: 3.5s;
  animation-duration: 1s;
  animation-fill-mode: forwards;
  animation-name: fade-in;
}

@media screen and (max-width: 900px) {
  #key-visual-b-container__key-visual-b {
    width: 100%;
  }
}

#event-information-container {
  position: relative;
  z-index: 30;
  width: 700px;
  margin: 0 auto;
  opacity: 0;
  animation-delay: 3.5s;
  animation-duration: 1s;
  animation-fill-mode: forwards;
  animation-name: fade-in;
}

#event-information-container__title {
  width: fit-content;
  padding: 0 16px 4px;
  position: relative;
  color: #1dade5;
  background-color: white;
  font-size: 42px;
  font-weight: 500;
  letter-spacing: 2px;
  z-index: 30;
}

.event-information-container__details {
  width: fit-content;
  margin-top: 12px;
  padding: 4px 16px 6px;
  position: relative;
  color: #1dade5;
  background-color: white;
  font-size: 20px;
  letter-spacing: 2px;
  z-index: 30;
}

#tooth-image {
  display: block;
  position: relative;
  width: 380px;
  margin: 50px auto 0;
  z-index: 30;
  opacity: 0;
  animation-duration: 1s;
  animation-fill-mode: forwards;
}

/*
メッセージ
*/

#message-container {
  position: relative;
  top: 0;
  padding: 150px 0 64px;
  z-index: 20;
}

#message-container__message-title-ja {
  color: white;
  font-size: 40px;
  font-weight: 500;
  text-align: center;
  line-height: 70px;
  letter-spacing: 2px;
  opacity: 0;
  animation-duration: 1s;
  animation-fill-mode: forwards;
}

#message-container__message-title-en {
  color: white;
  font-size: 28px;
  font-style: italic;
  text-align: center;
  margin-top: 12px;
  letter-spacing: 1px;
  opacity: 0;
  animation-duration: 1s;
  animation-fill-mode: forwards;
}

#message-container__message-body {
  color: #003893;
  font-size: 18px;
  text-align: center;
  line-height: 28px;
  letter-spacing: 2px;
  margin-top: 36px;
  opacity: 0;
  animation-duration: 1s;
  animation-fill-mode: forwards;
}

/*
想定来場者
*/

#visitors-container {
  margin-left: 0;
  width: 100%;
  opacity: 0;
  animation-duration: 1s;
  animation-fill-mode: forwards;
}

@keyframes slide-in-from-left {
  0% {
    opacity: 1;
    margin-left: -100%;
  }

  100% {
    opacity: 1;
    margin-left: 0;
  }
}

#visitors-container__title-container {
  background-color: #003893;
  padding: 6px 0 8px;
}

#visitors-container__title {
  width: 700px;
  margin: 0 auto;
  font-size: 24px;
  line-height: 24px;
  letter-spacing: 2px;
  color: white;
}

#visitors-container__visitor-type-container {
  background-color: #d9e1ef;
}

#visitors-container__visitor-type-text {
  width: 700px;
  margin: 0 auto;
  padding-top: 14px;
  color: #003893;
  font-size: 16px;
  line-height: 16px;
  letter-spacing: 1px;
}

#visitors-container__visitor-type-list {
  width: 700px;
  margin: 0 auto;
  padding: 8px 0 24px;
  letter-spacing: 1px;
}

.visitors-container__visitor-type-list-item {
  list-style-type: none;
  font-size: 13px;
}

.visitors-container__visitor-type-list-item:before {
  color: #003893;
  content: "▶";
  font-size: 12px;
  vertical-align: 1px;
}

/*
エリア紹介
*/

#areas-container {
  width: 700px;
  margin: 0 auto;
  padding-top: 120px;
  color: #003893;
}

#areas-container__subtitle {
  font-size: 18px;
  letter-spacing: 2px;
  text-align: center;
  opacity: 0;
  animation-duration: 1s;
  animation-fill-mode: forwards;
}

#areas-container__title {
  font-size: 40px;
  line-height: 80px;
  letter-spacing: 2px;
  font-weight: 700;
  text-align: center;
  opacity: 0;
  animation-duration: 1s;
  animation-fill-mode: forwards;
}

#areas-container__map {
  width: 100%;
  padding: 40px 0;
  opacity: 0;
  animation-duration: 1s;
  animation-fill-mode: forwards;
}

/*
ボタン
*/

#buttons-container {
  width: 700px;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  padding: 0 30px;
  color: white;
  text-align: center;
  opacity: 0;
  animation-duration: 1s;
  animation-fill-mode: forwards;
}

#left-button {
  display: block;
  width: 285px;
  background-color: #beb097;
  border: 2px solid #beb097;
  margin-left: 20px;
  padding: 30px 0 32px;
  transform: skewX(-21.8deg);
  transition-property: background-color, color;
  transition-duration: 500ms;
}

#left-button:hover {
  color: #beb097;
  background: white;
}

#left-button__text {
  font-size: 18px;
  line-height: 18px;
  font-weight: 500;
  letter-spacing: 2px;
  transform: skewX(21.8deg);
}

#right-button {
  display: block;
  width: 285px;
  background-color: #62bfb3;
  border: 2px solid #62bfb3;
  margin-right: 20px;
  padding: 30px 0 32px;
  transform: skewX(-21.8deg);
  transition-property: background-color, color;
  transition-duration: 500ms;
}

#right-button:hover {
  color: #62bfb3;
  background: white;
}

#right-button__text {
  font-size: 18px;
  line-height: 18px;
  font-weight: 500;
  letter-spacing: 2px;
  transform: skewX(21.8deg);
}

/*
出展対象と来場目標数
*/

#cards-container {
  position: relative;
  height: 208px;
  margin: 80px 0 10px;
}

#left-card {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  width: calc(50% + 35px);
  opacity: 0;
  animation-duration: 1s;
  animation-fill-mode: forwards;
}

#left-card__title {
  width: 100%;
  height: 34px;
  border-top: 34px solid #003893;
  border-right: 14px solid transparent;
}

#left-card__title-text {
  width: 385px;
  position: absolute;
  top: 0;
  right: 0;
  color: white;
  font-size: 21px;
  font-weight: 500;
  letter-spacing: 2px;
}

#left-card__body {
  width: calc(100% - 14px);
  height: 138px;
  border-top: 138px solid #d9e1ef;
  border-right: 56px solid transparent;
}

#left-card__body-text {
  width: 385px;
  position: absolute;
  top: 34px;
  right: 0;
  padding: 20px 0;
  color: #003893;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 2px;
  line-height: 24px;
}

@keyframes card-slides-in-from-left {
  0% {
    opacity: 1;
    left: -100%;
  }

  100% {
    opacity: 1;
    left: 0;
  }
}

#right-card {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: end;
  width: calc(50% - 35px + 84px);
  opacity: 0;
  animation-duration: 1s;
  animation-fill-mode: forwards;
}

#right-card__title {
  width: calc(100% - 72px);
  height: 34px;
  border-left: 14px solid transparent;
  border-bottom: 34px solid #d9e1ef;
  box-sizing: border-box;
}

#right-card__title-text {
  width: 396px;
  padding-left: 105px;
  position: absolute;
  top: 0;
  left: 0;
  color: #003893;
  font-size: 21px;
  font-weight: 500;
  letter-spacing: 2px;
}

#right-card__body {
  width: 100%;
  height: 138px;
  border-left: 72px solid transparent;
  border-bottom: 174px solid #003893;
  box-sizing: border-box;
}

#right-card__body-text {
  width: 396px;
  padding-left: 105px;
  position: absolute;
  top: 34px;
  left: 0;
  color: white;
  text-align: right;
  letter-spacing: 4px;
}

#right-card__body-text-number {
  font-size: 120px;
  font-weight: 800;
  line-height: 128px;
}

#right-card__body-text-unit {
  font-size: 64px;
  font-weight: 800;
  line-height: 128px;
  vertical-align: 6px;
}

#right-card__body-comment {
  width: 396px;
  padding-left: 105px;
  position: absolute;
  top: 160px;
  left: 0;
  color: white;
  font-size: 14px;
  text-align: right;
  letter-spacing: 2px;
}

@keyframes card-slides-in-from-right {
  0% {
    opacity: 1;
    right: -100%;
  }

  100% {
    opacity: 1;
    right: 0;
  }
}

/*
メインボタン
*/

#main-contact-button-container {
  width: 700px;
  margin: 0 auto;
  padding: 30px 30px;
}

#main-contact-button {
  display: block;
  margin-right: 20px;
  margin-left: 20px;
  padding: 20px 0 22px;
  border: 2px solid #003893;
  transform: skewX(-21.8deg);
  color: #003893;
  opacity: 0;
  animation-duration: 1s;
  animation-fill-mode: forwards;
  transition-property: background-color, color;
  transition-duration: 500ms;
}

#main-contact-button:hover {
  background-color: #003893;
  color: white;
}

#main-contact-button__main-contact-button-text {
  font-size: 24px;
  line-height: 24px;
  font-weight: 700;
  text-align: center;
  letter-spacing: 2px;
  transform: skewX(21.8deg);
}

/*
協力団体等の表示
*/

#supporters-container {
  width: 700px;
  margin: 0 auto;
}

#supporters-container__supporters-text {
  text-align: left;
  font-size: 14px;
  letter-spacing: 1px;
  line-height: 21px;
  color: #003893;
  opacity: 0;
  animation-duration: 1s;
  animation-fill-mode: forwards;
}

/*
咲洲プレ万博公式プログラムの表示
*/

#sakishima-pre-banpaku-logo-container {
  padding: 60px 0;
  text-align: center;
}

#sakishima-pre-banpaku-logo-container__sakishima-pre-banpaku-logo {
  width: 120px;
  opacity: 0;
  animation-duration: 1s;
  animation-fill-mode: forwards;
}

/*
サイトマップ
*/

#sitemap-container {
  padding-bottom: 7px;
}

#sitemap-container__sitemap-text {
  text-align: center;
  font-size: 10.5px;
  letter-spacing: 1px;
  color: #003893;
}

/*
コピーライト
*/

#copyright-container {
  height: 30px;
  background-color: #d9e1ef;
  margin-bottom: 100px;
}

#copyright-container__copyright-text {
  text-align: center;
  font-size: 10px;
  line-height: 30px;
  letter-spacing: 1px;
  color: #003893;
}

/*
バナー
*/

#banner {
  position: fixed;
  z-index: 100;
  bottom: 0;
  width: 100%;
  height: 100px;
  color: white;
  background: linear-gradient(
    90deg,
    #003893 0%,
    #003893 45%,
    #0b55cb 70%,
    #003893 85%,
    #003893 90% 100%
  );
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 2px;
}

@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@media screen and ((min-width: 1366px) or (max-width: 767px)) {
  html {
    font-size: calc(100 * var(--vw) / 1366);
  }

  #key-visual-a-container {
    height: 793rem;
  }

  #key-visual-a-container__key-visual-a {
    height: 943rem;
  }

  #key-visual-a-container__key-visual-a-for-mask {
    height: 943rem;
    -webkit-mask-size: 450rem;
    -webkit-mask-position: center 90rem;
    mask-size: 450rem;
    mask-position: center 90rem;
  }

  #key-visual-a-container__logo-en {
    width: 450rem;
    top: 90rem;
  }

  #key-visual-a-container__top-logo {
    width: 200rem;
    top: 20rem;
    left: 15rem;
  }

  #key-visual-a-container__top-contact-button {
    top: 20rem;
    height: 28rem;
    padding: 0 10rem 1rem;
    font-size: 16rem;
    letter-spacing: 2rem;
    line-height: 28rem;
    border-bottom: 28rem solid white;
    border-left: 17rem solid transparent;
  }

  #key-visual-a-container__top-contact-button:hover {
    border-bottom: 28rem solid #1dade5;
  }

  #key-visual-b-container {
    height: 600rem;
  }

  #key-visual-b-container__blue-parallelogram {
    top: -210rem;
    height: 460rem;
  }

  #key-visual-b-container__pink-parallelogram {
    top: 460rem;
    height: 640rem;
  }

  #key-visual-b-container__key-visual-b {
    height: 800rem;
    top: -50rem;
  }

  #event-information-container {
    width: 700rem;
  }

  #event-information-container__title {
    padding: 0 16rem 4rem;
    font-size: 42rem;
    letter-spacing: 2rem;
  }

  .event-information-container__details {
    margin-top: 12rem;
    padding: 4rem 16rem 6rem;
    font-size: 20rem;
    letter-spacing: 2rem;
  }

  #tooth-image {
    width: 380rem;
    margin: 50rem auto 0;
  }

  /*
  メッセージ
  */

  #message-container {
    padding: 150rem 0 64rem;
  }

  #message-container__message-title-ja {
    font-size: 40rem;
    line-height: 70rem;
    letter-spacing: 2rem;
  }

  #message-container__message-title-en {
    font-size: 28rem;
    margin-top: 12rem;
    letter-spacing: 1rem;
  }

  #message-container__message-body {
    font-size: 18rem;
    line-height: 28rem;
    letter-spacing: 2rem;
    margin-top: 36rem;
  }

  /*
  想定来場者
  */

  #visitors-container__title-container {
    padding: 6rem 0 8rem;
  }

  #visitors-container__title {
    width: 700rem;
    font-size: 24rem;
    line-height: 24rem;
    letter-spacing: 2rem;
  }

  #visitors-container__visitor-type-text {
    width: 700rem;
    padding-top: 14rem;
    font-size: 16rem;
    line-height: 16rem;
    letter-spacing: 1rem;
  }

  #visitors-container__visitor-type-list {
    width: 700rem;
    padding: 8rem 0 24rem;
    letter-spacing: 1rem;
  }

  .visitors-container__visitor-type-list-item {
    font-size: 13rem;
  }

  .visitors-container__visitor-type-list-item:before {
    font-size: 12rem;
    vertical-align: 1rem;
  }

  /*
  エリア紹介
  */

  #areas-container {
    width: 700rem;
    padding-top: 120rem;
  }

  #areas-container__subtitle {
    font-size: 18rem;
    letter-spacing: 2rem;
  }

  #areas-container__title {
    font-size: 40rem;
    line-height: 80rem;
    letter-spacing: 2rem;
  }

  #areas-container__map {
    padding: 40rem 0;
  }

  /*
  ボタン
  */

  #buttons-container {
    width: 700rem;
    padding: 0 30rem;
  }

  #left-button {
    width: 285rem;
    border: 2rem solid #beb097;
    margin-left: 20rem;
    padding: 30rem 0 32rem;
  }

  #left-button__text {
    font-size: 18rem;
    line-height: 18rem;
    letter-spacing: 2rem;
  }

  #right-button {
    width: 285rem;
    border: 2rem solid #62bfb3;
    margin-right: 20rem;
    padding: 30rem 0 32rem;
  }

  #right-button__text {
    font-size: 18rem;
    line-height: 18rem;
    letter-spacing: 2rem;
  }

  /*
  出展対象と来場目標数
  */

  #cards-container {
    height: 208rem;
    margin: 80rem 0 10rem;
  }

  #left-card {
    width: calc(50% + 35rem);
  }

  #left-card__title {
    width: 100%;
    height: 34rem;
    border-top: 34rem solid #003893;
    border-right: 14rem solid transparent;
  }

  #left-card__title-text {
    width: 385rem;
    font-size: 21rem;
    letter-spacing: 2rem;
  }

  #left-card__body {
    width: calc(100% - 14rem);
    height: 138rem;
    border-top: 138rem solid #d9e1ef;
    border-right: 56rem solid transparent;
  }

  #left-card__body-text {
    width: 385rem;
    top: 34rem;
    padding: 20rem 0;
    font-size: 14rem;
    letter-spacing: 2rem;
    line-height: 24rem;
  }

  #right-card {
    width: calc(50% - 35rem + 84rem);
  }

  #right-card__title {
    width: calc(100% - 72rem);
    height: 34rem;
    border-left: 14rem solid transparent;
    border-bottom: 34rem solid #d9e1ef;
  }

  #right-card__title-text {
    width: 396rem;
    padding-left: 105rem;
    font-size: 21rem;
    letter-spacing: 2rem;
  }

  #right-card__body {
    width: 100%;
    height: 138rem;
    border-left: 72rem solid transparent;
    border-bottom: 174rem solid #003893;
  }

  #right-card__body-text {
    width: 396rem;
    padding-left: 105rem;
    top: 34rem;
    letter-spacing: 4rem;
  }

  #right-card__body-text-number {
    font-size: 120rem;
    line-height: 128rem;
  }

  #right-card__body-text-unit {
    font-size: 64rem;
    line-height: 128rem;
    vertical-align: 6rem;
  }

  #right-card__body-comment {
    width: 396rem;
    padding-left: 105rem;
    top: 160rem;
    font-size: 14rem;
    letter-spacing: 2rem;
  }

  /*
  メインボタン
  */

  #main-contact-button-container {
    width: 700rem;
    padding: 30rem 30rem;
  }

  #main-contact-button {
    margin-right: 20rem;
    margin-left: 20rem;
    padding: 20rem 0 22rem;
    border: 2rem solid #003893;
  }

  #main-contact-button__main-contact-button-text {
    font-size: 24rem;
    line-height: 24rem;
    letter-spacing: 2rem;
  }

  /*
  協力団体等の表示
  */

  #supporters-container {
    width: 700rem;
  }

  #supporters-container__supporters-text {
    font-size: 14rem;
    letter-spacing: 1rem;
    line-height: 21rem;
  }

  /*
  咲洲プレ万博公式プログラムの表示
  */

  #sakishima-pre-banpaku-logo-container {
    padding: 60rem 0;
  }

  #sakishima-pre-banpaku-logo-container__sakishima-pre-banpaku-logo {
    width: 120rem;
  }

  /*
  サイトマップ
  */

  #sitemap-container {
    padding-bottom: 7rem;
  }

  #sitemap-container__sitemap-text {
    font-size: 10.5rem;
    letter-spacing: 1rem;
  }

  /*
  コピーライト
  */

  #copyright-container {
    height: 30rem;
  }

  #copyright-container__copyright-text {
    font-size: 10rem;
    line-height: 30rem;
    letter-spacing: 1rem;
  }
}

@media screen and (max-width: 767px) {
  html {
    font-size: calc(100 * var(--vw) / 768);
  }

  /*
  コピーライト
  */

  #copyright-container {
    height: 60rem;
  }

  /*
  バナー
  */

  #banner {
    height: 200rem;
    font-size: 48rem;
    letter-spacing: 2rem;
  }
}
