/*
 * 那須ハイナイト | 夜の遊園地 貸切り大合コン【公式】
 * Copied from https://nasuhigh-night.jp/review/thanks with WPSitePort.
 * Breakpoints (max-width): 840px (tablet), 540px (mobile).
 */

/* box --------------------------------------------------------------------- */

/* The layout most elements share: an element's own class rule (written after this) decides where it differs. */
.box {
  position: relative;
  z-index: 0;
  display: flex;
  flex: 0 0 auto;
  align-content: center;
  align-items: center;
  max-width: 100%;
}

/* page -------------------------------------------------------------------- */

body {
  background-color: rgba(0, 0, 0, 0.16);
}

/* hero -------------------------------------------------------------------- */

.hero__box {
  color: rgb(51, 51, 51);
  font-family: sans-serif;
  line-height: 1;
  word-spacing: 1px;
  list-style-type: none;
}

.hero__inner {
  display: flex;
  min-height: 100dvh;
}

.hero__inner-2 {
  flex-direction: column;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 100dvh;
  overflow: clip;
  background-color: rgba(0, 0, 0, 0.16);
}

.hero__inner-3 {
  flex-direction: column;
  justify-content: center;
  width: 100%;
  height: 100%;
  background-color: rgba(18, 19, 32, 0.8);
}

.hero__col {
  flex-direction: column;
  max-width: calc(100% - 40px);
  margin: 20px;
  padding: 30px 20px;
  background-color: rgb(53, 68, 67);
  border-radius: 10px;
  box-shadow: rgba(0, 0, 0, 0.2) 0px 6px 15px 0px;
}

.hero__icon {
  position: absolute;
  top: 10px;
  right: 10px;
  display: inline-flex;
  justify-content: center;
  padding: 0px;
  color: rgb(255, 255, 255);
  font-family: "Material Icons";
  font-size: 24px;
  line-height: 1;
  word-spacing: 1px;
  word-break: break-word;
  overflow-wrap: normal;
  overflow: visible;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  background-position: 0px 0px;
  border: 0px none currentcolor;
  cursor: pointer;
  text-rendering: optimizelegibility;
}

.hero__title {
  justify-content: flex-start;
  margin-top: 11px;
  margin-bottom: 17px;
  overflow: visible;
  color: transparent;
  font-family: 'A1ゴシック B JIS2004', "Noto Sans JP";
  font-size: 2vw;
  font-weight: 400;
  font-feature-settings: "palt";
  line-height: 1.4;
  text-align: left;
  word-break: break-word;
  background: linear-gradient(120deg, #f2921d 0%, #80d738);
  background-clip: text;
  -webkit-background-clip: text;
}

.hero__text {
  justify-content: center;
  width: 100%;
  margin-bottom: 24px;
  overflow: visible;
  color: rgb(255, 255, 255);
  font-family: 'A1ゴシック R JIS2004', "Noto Sans JP";
  font-size: 1.2vw;
  font-feature-settings: "palt";
  line-height: 1.5;
  text-align: center;
  word-break: break-word;
}

.hero__image {
  flex-direction: column;
  width: 14vw;
  max-width: 14vw;
  height: auto;
  transition: all 0.3s cubic-bezier(0.4, 0.4, 0, 1);
}

.hero__image.appear {
  opacity: 0;
  transform: translate(0px, -50px);
  transition: all 2000ms ease 400ms;
}

.hero__image.appear-active {
  transition: all 2000ms ease 400ms;
}

@media (max-width: 840px) {
  .hero__title {
    font-size: 6vw;
  }
  .hero__text {
    font-size: 2.5vw;
  }
  .hero__image {
    width: 85%;
    max-width: 85%;
  }
}

@media (max-width: 540px) {
  .hero__title {
    font-size: 8vw;
  }
  .hero__text {
    font-size: 4vw;
  }
  .hero__image {
    width: 88%;
    max-width: 88%;
    margin-top: 30px;
  }
}


/* STUDIO resets buttons (no background, no border); the copy kept only the rest of the × button */
:where(button) {
  background-color: transparent;
  border: 0;
}
