@charset "UTF-8";
/*
	Author: nag-design
	Last Update: 2025-01-14
	Version: 1.3.1
*/
/* ==============================

    Default

==============================*/
body {
  position: relative;
  margin: 0;
  padding: 0;
  background-color: transparent;
}
body::before {
  content: "";
  position: fixed;
  width: 100vw;
  height: 100vh;
  height: 100lvh;
  background-image: url(../images/omikuji-bg-xs.webp);
  background-size: cover;
  background-position: center top;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2dppx) {
  body::before {
    background-image: url(../images/omikuji-bg-xs@2x.webp);
  }
}
@media screen and (min-width: 768px) {
  body::before {
    background-image: url(../images/omikuji-bg-tb.webp);
  }
}
@media screen and (min-width: 768px) and (-webkit-min-device-pixel-ratio: 2), screen and (min-width: 768px) and (min-resolution: 2dppx) {
  body::before {
    background-image: url(../images/omikuji-bg-tb@2x.webp);
  }
}
@media screen and (min-width: 1024px) {
  body::before {
    background-image: url(../images/omikuji-bg-md.webp);
  }
}
@media screen and (min-width: 1024px) and (-webkit-min-device-pixel-ratio: 2), screen and (min-width: 1024px) and (min-resolution: 2dppx) {
  body::before {
    background-image: url(../images/omikuji-bg-md@2x.webp);
  }
}

#wrapper {
  position: relative;
  width: 100%;
  max-width: 400px;
  height: auto;
  min-height: 100vh;
  min-height: 100lvh;
  margin: 0 auto;
  padding: 0;
  background-color: transparent;
  overflow: hidden;
}

#adContainer {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  display: none;
  text-align: center;
  margin: 0;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 90000;
}

#adHeader {
  height: 40px;
  background: #f0f0f0;
  line-height: 40px;
  font-family: sans-serif;
  font-size: 16px;
  color: #202020;
  text-align: center;
  border-bottom: 1px solid #202020;
}

#title {
  display: block;
  width: 70%;
  max-width: 270px;
  aspect-ratio: 270/60;
  margin: 32px auto;
  display: block;
}
#title img {
  width: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}

#omikuji-box {
  position: relative;
  width: 100%;
  height: auto;
}

#box {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  background: url(../images/box-bottom@2x.webp) center/cover no-repeat;
  overflow: hidden;
}
#box::after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: url(../images/box-top@2x.webp) center/cover no-repeat;
  z-index: 9999;
  pointer-events: none;
}
#box .kuji {
  position: absolute;
  width: 50px;
  height: 150px;
  box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transform-origin: center;
  transition: 200ms;
}
#box .kuji:hover {
  outline: 2px solid #d22a24;
  z-index: 999 !important;
}
#box .kuji:active {
  outline: 2px solid #d22a24;
  z-index: 999 !important;
}

#shuffle-button {
  position: absolute;
  display: block;
  left: 12px;
  bottom: 12px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.5);
  color: #d22a24;
  border: 1px solid #d22a24;
  font-size: 12px;
  line-height: 12px;
  z-index: 10000;
}

#drawbutton {
  margin: 24px auto;
  display: block;
  width: auto;
  padding: 12px 20px;
  text-align: center;
  font-family: sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #f0f0f0;
  background-color: #d22a24;
  border-radius: 8px;
  cursor: pointer;
}
#drawbutton:active {
  transform: translateY(2px);
}

.buttonArea {
  width: auto;
  margin: 24px auto;
  text-align: center;
}

.normalButton {
  display: inline-block;
  margin: 4px;
  width: auto;
  padding: 12px 20px;
  text-align: center;
  font-family: sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #f0f0f0;
  background-color: #202020;
  border-radius: 8px;
  cursor: pointer;
}
.normalButton:active {
  transform: translateY(2px);
}

#reloadbutton {
  display: none;
}

#result {
  display: none;
  width: 100%;
  margin: 0;
  padding: 24px;
  background-image: url(../images/omikuji-bg.webp);
  background-position: center top;
  background-size: cover;
  background-repeat: none;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2dppx) {
  #result {
    background-image: url(../images/omikuji-bg@2x.webp);
  }
}
@media screen and (min-width: 768px) {
  #result {
    margin: 24px auto;
  }
}
@media screen and (min-width: 1024px) {
  #result {
    margin: 40px auto;
  }
}

#omikuji {
  display: block;
  border: 1px solid #202020;
  padding: 36px;
  background-color: transparent;
  -o-border-image: url(../images/omikuji-border.webp);
     border-image: url(../images/omikuji-border.webp);
  border-image-slice: 33.33%;
  border-image-width: 10px 10px;
  font-family: "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "游明朝", YuMincho, serif;
  font-weight: 400;
  font-style: normal;
  line-height: 1.75em;
}
#omikuji .underline {
  border-bottom: 1px solid #202020;
}
#omikuji #number-block {
  display: block;
  width: 100%;
  padding: 20px 0;
  text-align: center;
}
#omikuji #number-block h3 {
  font-size: 18px;
  font-weight: 400;
}
#omikuji #fortune-block {
  display: block;
  width: 100%;
  padding: 20px 0;
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0.4em;
  text-align: center;
}
#omikuji #poetry-block {
  position: relative;
  display: block;
  width: 100%;
  padding: 20px 0;
}
#omikuji #poetry-block pre {
  position: relative;
  left: 50%;
  writing-mode: vertical-rl;
  font-family: "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "游明朝", YuMincho, serif;
  font-weight: 400;
  font-style: normal;
  font-size: 22px;
  line-height: 1.8em;
  transform: translateX(-50%);
}
#omikuji #description-block {
  display: block;
  width: 100%;
  padding: 20px 0;
}
#omikuji #description-block p {
  font-family: "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "游明朝", YuMincho, serif;
  font-weight: 400;
  font-style: normal;
  font-size: 16px;
  text-align: justify;
  white-space: wrap;
}
#omikuji #advice-block {
  display: flex;
  padding: 20px 0;
  flex-direction: column;
  list-style: none;
  width: 100%;
  gap: 8px 0;
}
#omikuji #advice-block li {
  display: block;
  width: 100%;
  line-height: 1.2em;
  text-align: left;
  letter-spacing: 0.05em;
}

.footer {
  padding: 20px;
  font-size: 14px;
  text-align: center;
}
.footer__link {
  margin: 0.5em auto;
  font-size: 14px;
  line-height: 2em;
  color: rgba(255, 255, 255, 0.75);
}
.footer__link a {
  color: rgba(255, 255, 255, 0.75);
}
.footer__copyright {
  margin: 1.5em auto;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.75);
}
.footer__copyright a {
  color: rgba(255, 255, 255, 0.75);
}/*# sourceMappingURL=style.css.map */