
html {
  scroll-padding-top: 0px; /* 固定ヘッダの高さ分 */
  font-size: 62.5%;
  overflow-x: hidden;
}

body {
  line-height: 1.6875;

  font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 1.5rem;
}
.blg-font{
    font-family: 'BLG';
    src: url(../font/bleage_font.ttf);
}

.module_title{
  display: none;
}
/* ------------------------------- */
/* ローディング */
/* ------------------------------- */
/* 全体リセット */
/* * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
} */

body{
  background-color: #c30000;
}

/* ローディング画面の枠 */
#loading-screen {
  position: absolute;
  width: 360px;
  height: 600px;
  border: 2px solid #e0bb72;
  background-color: rgb(255, 255, 255);
  background-image: url(../img/loading-bg.webp);
  background-size: contain;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
}

/* コンテンツ配置 */
.loading-content {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

}

/* ぐるぐる回るテキスト */
.circle-text {
  position: relative;
  width: 380px;
  height: 380px;
}

.rotating-text {
  position: absolute;
  width: 280px;
  height: 280px;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* 震えるテキスト */
.shaking-text {
  margin-top: 20px;
  animation: shake 2.5s linear infinite;
  width: 100px;
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
}

@keyframes shake {
  0% {
    transform: translateY(0);
}
5% {
    transform: translateY(-5%);
}
10% {
    transform: translateY(0);
}
15% {
    transform: translateY(-5%);
}
20% {
    transform: translateY(0);
}
30% {
    transform: translateY(0);
    transform-origin: 10% 100%;
}
35% {
    transform: rotate(-3deg);
}
40% {
    transform: rotate(0);
    transform-origin: 10% 100%;
}
41% {
    transform-origin: 90% 100%;
}
45% {
    transform: rotate(5deg);
}
50% {
    transform: rotate(0);
    transform-origin: 90% 100%;
}
100% {
    transform: translateY(0);
    transform-origin: 10% 100%;
}
  }

/* 待ち時間のテキスト */
.wait-time {
  margin-top: 20px;
  color: #2d4e85;
  font-size: 1.2rem;
}

.honbun {
  display: none; /* 最初は非表示 */
}

/* ================================= */
/* ヘッダー*/
/* ================================= */
.header-contents{
  background-color: rgb(23, 23, 23);
  z-index: 3;
  position: fixed;
  z-index: 5;
  width: 100%;
  color: white;
  padding: 1rem 0;
}
.blg img{
  height: 30px;
  width: auto;
  background-color: rgb(23, 23, 23);
  margin-left: 2rem;
}

/* ================================= */
/* 記事中身*/
/* ================================= */
.kv-relative{
  max-width: 450px;
  margin: 0 auto;
  box-shadow: 0px 20px 30px rgba(0, 0, 0, 0.363);
}
.omikuji-contents{
  z-index: 3;
  position: relative;
}
.mikuji-ttl{
  width: calc(100% - 50px);
  margin: 0 auto;
  padding-top: 8rem;
  display: block;
  padding-bottom: 3rem;
}

.fortune-ttl-flex{
  display: flex;
  align-items: center;
  margin: 0 auto;
  justify-content: center;
}
.fortune-ttl-flex h4{
  padding: 0 3rem;
  font-size: 1.5rem;
  color: #e7b263;
}
.fortune-ttl-flex img{
  width: 6px;
}
.fortune-ttl-inner{
  background-color: #c30000;
  width: calc(100% - 60px);
  margin: 0 auto;
  padding: 10px 0;
}

.fortune-txt{
  text-align: center;
  font-size: 2.3rem;
  font-weight: 900;
  color: white;
  padding-top: 1rem;
}

.big-message-inner{
  margin: 0 auto;
  padding: 5rem 0;
}
.big-message{
  writing-mode: vertical-rl;
  color: #c30000;
  display: block;
  margin: 0 auto;
  font-size: 1.8rem;
  letter-spacing: 0.2rem;
  font-weight: 900;
}
/* ------------------- */
/* 用語解説 */
/* ------------------- */
.explanation{
  border: 1px solid #c30000;
  border-radius: 4px;
  width: calc(100% - 60px);
  margin: 0 auto;
  padding: 10px;
}

/* ------------------- */
/* おみくじの下部 */
/* ------------------- */
.card-item{
  width: 18px;
  display: block;
  text-align: center;
  margin: 0 auto 0.5rem;
}
.basket-live{
  text-align: right;
}
.basket-live a{
  color: #c30000;
}
.basket-live a:hover{
  color: #ff9436;
}
.card-list {
  list-style: none;
  padding: 0;
  margin: 5rem auto ;
  writing-mode: vertical-rl;
  z-index: 3;
  position: relative;
  font-size: 1.6rem;
  height: 380px;
}

.item {
  display: flex;
  align-items: flex-start;
  margin: 0 15px 0px 15px;
}
.item-strat{
  margin: 0 0 0 15px !important;
}
.item-last{
  margin: 0 15px 0px 0px !important;
}

.card-ttl {
  display: inline-block;
  color: #d0021b;
  font-weight: bold;
  height: 100px;
}

.card-footer {
  text-align: right;
  margin-top: 10px;
}

.card-footer .video-link {
  color: #d0021b;
  font-weight: bold;
  text-decoration: none;
}

.card-footer .video-link:hover {
  text-decoration: underline;
}

.good-item-ttl{
  background-color: #c30000;
  color: white;
  text-align: center;
  margin: 5rem auto 0 auto;
  width: calc(100% - 60px);
}

/*  */
.js-based{
  display: none;
}

.omikuji-wrapper {
  padding-top: 5rem;
  position: relative;
  width: calc(100% - 20px); 
  margin: 0 auto;
  background-color: #fff; 
  clip-path: polygon(
    10px 0, calc(100% - 10px) 0, 100% 10px, 100% calc(100% - 10px),
    calc(100% - 10px) 100%, 10px 100%, 0 calc(100% - 10px), 0 10px
  ); 
  border: 2px solid #d0021b;
}

.omikuji-wrapper::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  bottom: 10px;
  clip-path: polygon(
    10px 0, calc(100% - 10px) 0, 100% 10px, 100% calc(100% - 10px),
    calc(100% - 10px) 100%, 10px 100%, 0 calc(100% - 10px), 0 10px
  ); 
  border: 1px solid #d0021b; 
}

.share-btn{
  background-color: black;
  position: relative;
  z-index: 3;
  width: calc(100% - 20px);
  margin: 5rem auto 1rem;
  border-radius: 3px;
}
.share-btn a{
  color: white;
  text-align: center;
  text-decoration: none;
  display: block;
  padding: 20px 0;
}
.attention{
  position: relative;
  z-index: 3;
  color: white;
  text-align: center;
}
/* ======================================== */
/* SNS */
/* ======================================== */
.footer-contents{
  position: relative;
  z-index: 3;
}
.footer-wrap img{
  width: 100%;
}
.footer-wrap {
  width: calc(100% - 60px);
  padding: 5rem 0 0;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
  gap: 10px;
  max-width: 400px;
}
@media (min-width: 700px) {
  .footer-wrap {
      gap: 20px;
      padding: 10rem 0 0 0;
  }
}
.footer-inner {
  padding: 7rem auto 0;
}
.blg-logo {
  width: 40px;
  margin: 5rem auto;
  display: block;
}
.copy {
  font-size: 1rem;
  font-weight: normal;
  text-align: center;
  padding-bottom: 5rem;
  color: white;
}
