@charset "UTF-8";

@import url('https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@100;300;400;500;700;800;900&display=swap');

* {
  box-sizing: border-box;
}

html {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  width: 100%;
  height: 100%;
  text-size-adjust: 100%;
  display: block;
}

body {
  margin: 0;
  padding: 0;
  position: fixed;
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  transform: translateZ(0);
  text-rendering: optimizeLegibility;
  overflow: hidden;
  touch-action: manipulation;
  word-wrap: break-word;
  overscroll-behavior-y: none;
  text-size-adjust: none;
  background-color: #f7f7f7;
  background-size: 30px 30px;
  background-image: linear-gradient(
      45deg,
      rgba(126, 184, 255, 0.1) 25%,
      transparent 25%,
      transparent 75%,
      rgba(126, 184, 255, 0.1) 75%
    ),
    linear-gradient(
      -45deg,
      rgba(126, 184, 255, 0.1) 25%,
      transparent 25%,
      transparent 75%,
      rgba(126, 184, 255, 0.1) 75%
    );
}

main {
  position: absolute;
  width: min(100%, 768px);
  height: 100%;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  background-color: #ffffff;
  overflow-y: scroll;
}

h1 {
  width: 100%;
  margin-top: 1.2rem;
  margin-bottom: 1.2rem;
  padding: 0;
  text-align: center;
}

h2 {
  --icon-size: 42px;
  --icon-top-position: 10px;
  --icon-left-position: 10px;
  --icon-padding: 5px;
  --icon-margin-top: calc(var(--icon-size)/2 - var(--icon-top-position));
  --icon-margin-left: calc(var(--icon-size)/2 - var(--icon-left-position));
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: calc(90% - var(--icon-size) / 2);
  min-height: 60px;
  margin: calc(1.2rem + var(--icon-margin-top)) auto 1.2rem calc(5% + var(--icon-margin-left));
  padding: 0.5rem;
  text-align: center;
  font-weight: bold;
  font-size: 18px;
  color: #1d91f4;
  border: #1d91f4 solid 3px;
  border-radius: 6px;
  background-color: #ffffff;
}
h2::before {
  content: "";
  position: absolute;
  top: var(--icon-top-position);
  left: var(--icon-left-position);
  width: var(--icon-size);
  height: var(--icon-size);
  padding: var(--icon-padding);
  background-color: #ffffff;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: #1d91f4 solid 3px;
  z-index: -1;
}
h2::after {
  content: "";
  position: absolute;
  top: var(--icon-top-position);
  left: var(--icon-left-position);
  width: var(--icon-size);
  height: var(--icon-size);
  padding: var(--icon-padding);
  transform: translate(-50%, -50%) rotate(-10deg);
  background-image: url(/assets/icons/icon-hakase.svg);
  background-size: 80%;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #ffffff;
  border-radius: 50%;
  z-index: 1;
}

.title > .subtitle {
  --font-size: min(4vw, 32px);
  display: inline-block;
  position: relative;
  width: 100%;
  height: var(--font-size);
  margin-bottom: 4px;
  text-align: center;
  font-size: var(--font-size);
  font-weight: 500;
  color: #393d40;
}
.title > .subtitle span {
  display: inline-block;
  position: absolute;
  top: 0;
  left: calc(50% - var(--font-size) / 2);
  width: var(--font-size);
  height: min(100vw, 768px);
  transform-origin: center bottom;
}
.title > .subtitle span:nth-child(1) {
  transform: rotate(-10.6666666667deg);
}
.title > .subtitle span:nth-child(2) {
  transform: rotate(-8deg);
}
.title > .subtitle span:nth-child(3) {
  transform: rotate(-5.3333333333deg);
}
.title > .subtitle span:nth-child(4) {
  transform: rotate(-2.6666666667deg);
}
.title > .subtitle span:nth-child(5) {
  transform: rotate(0deg);
}
.title > .subtitle span:nth-child(6) {
  transform: rotate(2.6666666667deg);
}
.title > .subtitle span:nth-child(7) {
  transform: rotate(5.3333333333deg);
}
.title > .subtitle span:nth-child(8) {
  transform: rotate(8deg);
}
.title > .subtitle span:nth-child(9) {
  transform: rotate(10.6666666667deg);
}
.title > img:nth-child(2) {
  width: 70%;
  height: auto;
  aspect-ratio: 838/212;
  display: inline-block;
}
.title > img:nth-child(3) {
  width: 50%;
  height: auto;
  aspect-ratio: 721/100;
  display: inline-block;
}

.introduction h2 small {
  font-size: 14px;
}
.introduction h2 > .subtitle {
  display: inline-block;
  width: 100%;
  font-size: 16px;
}
.introduction .movie {
  margin: 1rem auto;
  width: 95%;
  height: auto;
  aspect-ratio: 16/9;
}
.introduction .movie iframe {
  width: 100%;
  height: 100%;
  border-radius: 8px;
}
.introduction .about {
  padding-bottom: 1.2rem;
  background-color: #badfff;
}
.introduction .about .message img {
  width: 100%;
  height: auto;
  aspect-ratio: 800/400;
}
.introduction .about .text-box {
  width: 90%;
  padding: 1.2rem 1rem;
  margin: 1rem auto 1rem;
  background-color: #ffffff;
  border-radius: 10px;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}
.introduction .about .text-box > p {
  margin: 0;
  margin-bottom: 0.5rem;
  text-align: center;
  font-weight: bold;
  font-size: 16px;
}
.introduction .about .text-box > p.small {
  margin: 0;
  margin-top: 1.2rem;
  text-align: left;
  font-weight: normal;
  font-size: 12px;
}

.pwa-install {
  --h2-icon-size: 42px;
  --h2-icon-top-position: 10px;
  --h2-icon-margin-top: calc(var(--h2-icon-size)/2 - var(--h2-icon-top-position));
  padding-top: var(--h2-icon-margin-top);
}
.pwa-install ol.flow {
  display: none;
  list-style-type: none;
  padding: 1.2rem 1rem;
}
.pwa-install ol.flow li.item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.pwa-install ol.flow li.item:nth-child(n+2)::before {
  content: "▼";
  width: 100%;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  color: #1d91f4;
  font-size: 24px;
  text-align: center;
}
.pwa-install ol.flow li.item .step-no {
  width: 90%;
  margin: 0 auto;
  text-align: center;
  font-weight: bold;
  font-size: 18px;
  color: #ffffff;
  border-radius: 6px;
  background-color: #1d91f4;
}
.pwa-install ol.flow li.item .step-no > span {
  font-size: 26px;
  font-family: "Noto Sans JP", sans-serif;
  margin-left: 4px;
  margin-right: 4px;
}
.pwa-install ol.flow li.item .caption {
  margin-top: 1.2rem;
  padding: 0 1rem;
  text-align: center;
  align-self: stretch;
}
.pwa-install ol.flow li.item .image {
  width: 96%;
  padding: 16px;
  background-color: #badfff;
  border-radius: 8px;
  text-align: center;
}
.pwa-install ol.flow li.item .image > img {
  display: inline-block;
  width: 100%;
  height: auto;
  aspect-ratio: 1/1.2;
  border-radius: 8px;
}
.pwa-install ol.flow li.item .image .warning-note {
  display: inline-block;
  margin-top: 8px;
  padding-left: 10%;
  padding-right: 10%;
  font-weight: normal;
  font-size: 12px;
  text-align: center;
  align-self: stretch;
}
.pwa-install div.flow {
  display: none;
}
.pwa-install div.flow div.item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 90%;
  margin: 0 auto 3rem;
}
.pwa-install div.flow div.item > p {
  margin: 0 1rem 1rem;
  align-self: stretch;
}
.pwa-install div.flow div.item > address {
  display: inline-block;
  width: 90%;
  margin-top: 1.2rem;
  padding: 0.5rem;
  font-size: 18px;
  text-align: center;
  background-color: #e9e9e9;
  border-radius: 18px;
}
.pwa-install div.flow div.item .image {
  width: 80%;
  display: flex;
  justify-content: center;
}
.pwa-install div.flow div.item .image > img {
  display: block;
  margin-top: 1.2rem;
  width: 50%;
  height: auto;
  aspect-ratio: 1/1;
}
.pwa-install .install {
  display: none;
  width: 100%;
  margin: 2.5rem auto 2rem;
  text-align: center;
}
.pwa-install .install > p {
  width: 100%;
  margin: 0;
  margin-bottom: 1.5rem;
  padding-bottom: 2.5rem;
  padding-top: 1rem;
  font-size: 18px;
  background-color: #e9e9e9;
  clip-path: polygon(0 0, 100% 0, 100% calc(1rem + 18px + 1rem), 50% 100%, 0 calc(1rem + 18px + 1rem));
}
.pwa-install .install > a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40%;
  max-width: 200px;
  height: auto;
  max-height: 200px;
  aspect-ratio: 1/1;
  border-radius: 10%;
  background-color: #ff7484;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  font-weight: bold;
  font-size: min(7vw, 36px);
  color: #ffffff;
  text-decoration: none;
  text-shadow: 1px 2px 0 rgba(0, 0, 0, 0.2);
  position: relative;
}
.pwa-install .install > a::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  border: 6px solid #ff7484;
  border-radius: 10%;
  transform: translate(-50%, -50%);
  z-index: 2;
}
.pwa-install .install > a::after {
  content: "";
  position: absolute;
  right: 6px;
  bottom: 6px;
  width: 30%;
  height: auto;
  aspect-ratio: 1/1;
  background-color: #ffffff;
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  z-index: 1;
}
.pwa-install .install > a:active {
  box-shadow: none;
}
.pwa-install .install > a:active::before {
  background-color: rgba(77, 0, 9, 0.4);
}
.pwa-install.ios .flow.ios, .pwa-install.ios .install {
  display: block;
}
.pwa-install.android .flow.android, .pwa-install.android .install {
  display: block;
}
.pwa-install.desktop .flow.desktop {
  display: block;
}

.copyright {
  width: 100%;
  color: #ffffff;
  text-align: center;
  padding: 1rem 0;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: bold;
  background-color: #1d91f4;
}
