@charset "UTF-8";

#input-area {
  margin: 10px auto;
  overflow: hidden;
}
#text {
  width: 100%;
}
#toggle-deck-area {
  margin-top: 0.5rem;
  text-align: center;
}

#card-area {
  position: relative;
  width: 264px;
  height: 450px;
  margin: auto;
  background: url("../@card-img/_0.png") transparent no-repeat center center;
  background-size: cover;
  cursor: pointer;
}
#card-image {
  width: 264px;
  height: 450px;
  margin: auto;
  background: none transparent no-repeat center center;
  background-size: cover;
  display: none;
}
#card-image a {
  display: block;
  width: 264px;
  height: 450px;
  text-indent: -9999px;
  overflow: hidden;
}

#result-area {
  position: relative;
  display: none;
  z-index: 10;
  min-height: 450px;
  margin: 0 auto 1rem;
  padding: 1px 0;
  text-align: center;
  background: rgba(247, 240, 255, 0.9);
}
#result-area h3 {
  margin: 1rem 0;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.5;
}
#result-area h4 {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
  font-size: inherit;
  font-weight: 700;
}
#result-area h4:before {
  content: "【";
}
#result-area h4:after {
  content: "】";
}
#result-area .mean li {
  margin-bottom: 1em;
  padding-top: 0.25em;
  padding-bottom: 0.25em;
  line-height: 1.25;
  text-align: left;
}
#result-area .mean p {
  margin-bottom: 1em;
  line-height: 1.75;
  text-align: left;
  word-break: break-all;
}
#result-area strong{
  font-weight: 700;
}
#result-area .retry {
  margin: 1.25rem auto;
}

#ad {
  display: none;
  margin-top: 0.5em;
  padding-top: 0.5em;
  padding-bottom: 1.5em;
  text-align: center;
  border-top: 5px dotted #dddddd;
  border-bottom: 5px dotted #dddddd;
}
#ad p {
  margin-top: 1em;
}
#ad .msg {
  font-size:12px;
  color: #999999;
}

#attention {
  margin: 12px auto 10px;
  max-width: 320px;
  font-size: 11px;
  text-align: left;
  color: #aaaaaa;
}

#wait {
  position: fixed;
  display: none;
  width: 300px;
  top: 300px;
  left: calc( 50% - 150px );
  padding: 30px 20px 10px;
  background: #ffffff;
  border-radius: 15px;
  box-shadow: 0 0 4px 1px #dbf;
}
#wait-frame {
  width: 240px;
  height: 100px;
  border: 0 none;
}

#tap {
  position: absolute;
  top: 100px;
  left: calc(50% - 25px);
  height: 100px;
  width: auto;
}

@media (display-mode: standalone){
  /* ここにPWA環境下でのみ実行する設定を記述 */
}
