@charset "UTF-8";
:root {
  color-scheme: light;
}

html,
body {
  min-height: 100%;
  height: auto;
  background-color: #fffffe;
}

body {
  min-height: 100dvh;
  background-color: #fffffe;
  color: #000;
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-size: 14px;
  font-weight: 400;
  font-style: normal;
  line-height: 1.6;
  -webkit-text-size-adjust: none;
  word-break: normal;
  word-wrap: break-word;
  overflow-x: hidden;
  font-feature-settings: "palt" 1;
  font-kerning: normal;
  letter-spacing: 0.03em;
}

a:link {
  text-decoration: underline;
  color: #e60027;
  transition: all 0.2s;
}

a:visited {
  text-decoration: underline;
  color: #e60027;
}

a:hover {
  text-decoration: underline;
  color: #000;
}

.wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  overflow-x: hidden;
}

main {
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
}

h2.heading {
  width: fit-content;
  margin: 3rem auto 2rem;
  text-align: center;
  font-family: "Cinzel", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  padding: 0.5em 2.4em;
  background-image: url(../img/star-1.png), url(../img/star-1.png);
  background-repeat: no-repeat;
  background-position:
    center left,
    center right;
  background-size: auto 40px;
}

h2.heading span {
  display: inline-block;
  font-size: 40px;
  transform: translateY(0.06em);
  line-height: 1;
}

h3.sub-heading {
  width: fit-content;
  margin: 0 auto;
  padding: 0.3em 0.8em 0.4em;
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
  background-image: url(../img/bg-heading.png), url(../img/bg-heading.png);
  background-repeat: no-repeat;
  background-position:
    center left,
    center right;
  background-size: 80% auto;
  background-color: #000;
  transform: translateY(-18px);
}

h4 {
  position: relative;
  display: block;
  width: 100%;
  text-align: center;
  margin: 50px 0 30px;
  z-index: 3;
}

h4 img {
  width: 52%;
}

h4:first-child {
  margin: 0 0 40px;
}

.content {
  position: relative;
  width: 100%;
  border: #000 solid 1px;
  background-image:
    url(../img/corner-1.png), url(../img/corner-2.png),
    url(../img/corner-3.png), url(../img/corner-4.png);
  background-position:
    top -1px left -1px,
    top -1px right -1px,
    bottom -1px left -1px,
    bottom -1px right -1px;
  background-repeat: no-repeat;
  background-size: 38px;
  background-color: #fff;
  z-index: 2;
}

.inner {
  width: 100%;
  padding: 5%;
}

.footer {
  width: 500px;
  margin: 0 auto;
  padding: 2rem 0;
  font-size: 12px;
  text-align: center;
}

.social {
  margin: 0 auto 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.social-item:first-child {
  width: 12%;
  padding: 0 1.2%;
  line-height: 0;
}

.social-item {
  width: 10%;
  padding: 0 1.2%;
}

@media screen and (min-width: 1px) and (max-width: 743px) {
  .pc {
    display: none;
  }

  .bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    background-color: #fffffe;
  }

  .bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url(../img/sp-bg.webp);
    background-position: top center;
    background-repeat: repeat;
    background-size: 100% auto;
    opacity: 0.6;
  }

  h2.heading {
    margin: 2rem auto 1.5rem;
    padding: 0.5em 2em;
    background-size: auto 30px;
  }

  h2.heading span {
    font-size: 6.933vw;
  }

  h3.sub-heading {
    padding: 0.3em 0.5em 0.4em;
    font-size: 4vw;
    background-size: 60% auto;
    transform: translateY(-14px);
  }

  h4 {
    margin: 2rem 0 1.6rem;
  }

  h4 img {
    width: 100%;
  }

  h4:first-child {
    margin: 0 0 1.6rem;
  }

  .content {
    background-size: 30px;
  }

  .inner {
    padding: 4%;
  }

  .footer {
    width: 100%;
    padding: 0 0 1.5rem;
    font-size: 2.933vw;
  }

  .social {
    margin: 0 auto 1.5rem;
  }

  .social-item:first-child {
    width: 12%;
    padding: 0 1.2%;
  }

  .social-item {
    width: 11%;
    padding: 0 1.2%;
  }

  .rotate-exclamation-group {
    vertical-align: 0.08em;
  }
}

@media screen and (min-width: 744px) and (max-width: 1024px) {
  .sp {
    display: none;
  }

  body {
    font-size: 1.477vw;
  }

  .bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-color: #fffffe;
    background-image: url(../img/bg-top.webp), url(../img/bg-bottom.webp);
    background-position:
      top -150px center,
      bottom -150px center;
    background-repeat: no-repeat;
    background-size: 118% auto;
  }

  h2.heading span {
    font-size: 4.219vw;
  }

  h3.sub-heading {
    font-size: 1.898vw;
  }

  .footer {
    font-size: 1.265vw;
  }
}

@media screen and (min-width: 1025px) {
  .sp {
    display: none;
  }

  .bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-color: #fffffe;
    background-image: url(../img/bg-top.webp), url(../img/bg-bottom.webp);
    background-position:
      top -150px center,
      bottom -150px center;
    background-repeat: no-repeat;
    background-size: 118% auto;
  }

  .inner {
    max-width: 1000px;
  }

  a.btn-hover img,
  button.btn-hover img {
    -webkit-transition: -webkit-transform 0.3s;
    transition: -webkit-transform 0.3s;
    -o-transition: transform 0.3s;
    transition: transform 0.3s;
    transition:
      transform 0.3s,
      -webkit-transform 0.3s;
  }
  a.btn-hover img:hover,
  button.btn-hover img:hover {
    -webkit-transform: scale(1.05);
    -ms-transform: scale(1.05);
    transform: scale(1.05);
  }
}

.rotate-exclamation-keep {
  white-space: nowrap;
}

.rotate-exclamation-group {
  display: inline-block;
  line-height: 1;
  vertical-align: 0.015em;
  white-space: nowrap;
}

.rotate-exclamation {
  display: inline-block;
  line-height: 1;
  margin-right: -0.3em;
  transform: rotate(15deg);
  transform-origin: center;
}

.rotate-exclamation-group .rotate-exclamation {
  margin-right: -0.05em;
}

.rotate-exclamation.is-first {
  padding-left: 0.1em;
}

.rotate-exclamation.is-last {
  margin-right: 0.42em;
}
