@charset "UTF-8";
/*
	Author: nag-design
	Last Update: 2025-02-10
	Version: 1.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/rune-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/rune-bg-xs@2x.webp);
  }
}
@media screen and (min-width: 768px) {
  body::before {
    background-image: url(../images/rune-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/rune-bg-tb@2x.webp);
  }
}
@media screen and (min-width: 1024px) {
  body::before {
    background-image: url(../images/rune-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/rune-bg-md@2x.webp);
  }
}

.container {
  position: relative;
  width: 100%;
  max-width: 400px;
  height: auto;
  margin: 0 auto;
  padding: 24px;
  background-color: transparent;
  overflow: hidden;
}
.container__innerbox {
  width: 100%;
}
.container__innerbox--logo {
  margin: 20px auto;
  width: 100%;
  height: auto;
  aspect-ratio: 2/1;
}
.container__innerbox--logo img {
  width: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}

.input-group {
  width: 100%;
  margin: 20px auto;
  text-align: center;
}
.input-group label {
  color: white;
}

select {
  width: 80%;
  padding: 8px;
  margin: 8px auto;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
  color: #202020;
  background: rgba(255, 255, 255, 0.8) url(../images/select-arrow.png) right center/contain no-repeat;
}

button.dropButton {
  display: block;
  width: 80%;
  margin: 0 auto;
  background-color: #c5ad14;
  color: #202020;
  padding: 10px 0px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
}

button:disabled {
  background-color: rgba(255, 255, 255, 0.5);
}

/* Result */
.result {
  position: relative;
  width: 100%;
  margin: 0;
  text-align: center;
  color: white;
  background: none;
}

.basic {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  padding: 24px;
}
.basic .rune-stone {
  margin: 20px auto;
  width: 150px;
  height: 150px;
  aspect-ratio: 1;
}
.basic .rune-stone img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}
.basic .rune-symbol {
  font-size: 32px;
  margin: 20px auto;
}
.basic .rune-id {
  font-size: 20px;
  margin: 10px auto;
  color: #c5ad14;
}
.basic .rune-name {
  font-size: 18px;
  margin: 10px auto 30px;
  color: #c5ad14;
}
.basic .rune-meaning {
  text-align: justify;
  line-height: 2em;
  -webkit-font-feature-settings: "palt";
          font-feature-settings: "palt";
  letter-spacing: 0.05em;
}

/* ローディング時のスタイル */
.loading-animation {
  font-size: 30px;
  height: 30px;
}
.loading-animation span {
  opacity: 0;
  display: inline-block;
  margin: 0 4px;
  color: white;
  -webkit-animation: fadeInOut 3s infinite;
          animation: fadeInOut 3s infinite;
}
.loading-animation span:nth-child(1) {
  -webkit-animation-delay: 0s;
          animation-delay: 0s;
}
.loading-animation span:nth-child(2) {
  -webkit-animation-delay: 500ms;
          animation-delay: 500ms;
}
.loading-animation span:nth-child(3) {
  -webkit-animation-delay: 1000ms;
          animation-delay: 1000ms;
}

@-webkit-keyframes fadeInOut {
  0% {
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  50% {
    opacity: 1;
  }
  60% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

@keyframes fadeInOut {
  0% {
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  50% {
    opacity: 1;
  }
  60% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}
.loading {
  opacity: 0.7;
}

/* 解釈テキストのスタイル */
.interpretation {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  padding: 24px;
}
.interpretation .rune-theme {
  text-align: center;
  margin: 0 auto 0.75em;
  color: #c5ad14;
}
.interpretation .rune-interpretation {
  text-align: justify;
  line-height: 2em;
  -webkit-font-feature-settings: "palt";
          font-feature-settings: "palt";
  letter-spacing: 0.05em;
}

/* Google Ad */
#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;
}

/* A8 */
.ad-banner-type {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.ad-300x250 {
  margin: auto;
  width: 300px;
  height: 250px;
}

.buttonArea {
  position: relative;
  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 {
  -webkit-transform: translateY(2px);
          transform: translateY(2px);
}

#reloadbutton {
  display: none;
}

.footer {
  position: relative;
  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=drawrune.css.map */