@keyframes slideIn {
  0% {
    transform: translateY(30px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

#contents {
  font-family: 'Midashi Go MB31';
  background-color: #404040;
  width: 100%;
  padding: 0 calc(50% - 48em);
}

#contents section {
  background-color: #fff;
}

#contents section.sec1 {
  display: flex;
  justify-content: center;
  padding-top: 40px;
  font-family: 'GJ Gothic Medium BBB';
  font-size: 16px;
}

#contents section.sec2 {
  padding: 80px 0 0;
  height: 86px;
  box-sizing: content-box;
}

#contents footer {
  background-color: #fff;
}

header .mkj-mv {
  position: relative;
  display: flex;
  justify-content: space-between;
  background-image: url(/store/techo/ja/magazine/2021/mikuji/images/result/bg-mv-1.jpg);
  background-size: contain;
  background-repeat: no-repeat;
  color: #fff;
  height: 540px;
  padding: 40px;
}

header .mkj-mv-cover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 540px;
  background-color: #404040;
}

header .mkj-mv-left {
  position: absolute;
  top: 40px;
  width: 333px;
  opacity: 0;
  transform: translateY(-100px);
}

header .mkj-mv-left.leftBottom {
  top: inherit;
  bottom: 40px;
}

header .mkj-mv-left.rightBottom {
  top: inherit;
  bottom: 40px;
  right: 40px;
}

header .mkj-mv-left.active {
  animation-name: slideIn;
  animation-duration: 0.75s;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
}

header .mkj-mv-right {
  position: absolute;
  right: 40px;
  width: 160px;
}

header .mkj-mv-right img {
  width: 100%;
}

.mkj-btn {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: box-shadow 0.25s linear, transform 0.25s linear;
  text-decoration: none;
  border: 10px solid #FFE566;
  background-color: #fff;
  box-shadow: 4px 6px 0 0 #000;
  width: 400px;
  height: 80px;
  margin: auto;
  font-size: 24px;
  font-weight: bold;
}

.mkj-btn:link {
  color: #000;
}

.mkj-btn:hover {
  transform: translate(2px, 4px);
  box-shadow: 2px 2px 0 0 #000;
}

.device-pc #contents > footer {
  padding: 80px 0;
}

.device-pc #contents > footer > ul.magazine-share {
  margin: 80px auto;
  border-left: none;
  border-right: none;
}

.device-pc #contents > footer > a {
  margin: auto;
}

.device-pc #contents > footer > a.mkj-bnr {
  margin: 80px auto;
  max-width: 560px;
}

.device-pc #contents > footer > a.mkj-bnr:hover {
  opacity: .8;
}

.device-pc #contents > footer > a.mkj-bnr img {
  width: 100%;
}

.device-pc .pc {
  display: block;
}

.device-pc .sp {
  display: none;
}

.device-sp #contents {
  position: relative;
  width: 100%;
  padding: 0;
}

.device-sp #contents a.mkj-btn {
  width: 256px;
  height: 60px;
  font-size: 20px;
  display: flex;
}

.device-sp #contents > header {
  padding: 0;
}

.device-sp #contents > footer {
  padding: 6px 20px 32px;
  max-width: 100%;
}

.device-sp #contents > footer > a.btn-permeate {
  margin: 32px auto 0;
}

.device-sp #contents > footer > a.mkj-bnr {
  margin: 32px auto;
  max-width: 540px;
}

.device-sp #contents > footer > ul.magazine-share {
  margin: 32px auto;
  max-width: 540px;
}

.device-sp #contents section.sec1 {
  padding: 16px;
}

.device-sp #contents section.sec2 {
  height: inherit;
  padding: 16px 0 0;
}

.device-sp header .mkj-mv {
  margin-top: 97px;
  padding: 32px 16px 16px;
  display: block;
  height: 100vw;
  background-size: cover;
  background-image: url(/store/techo/ja/magazine/2021/mikuji/images/result/bg-mv-1-sp.jpg);
}

.device-sp header .mkj-mv-cover {
  height: 100vw;
}

.device-sp header .mkj-mv-left {
  width: 190px;
  top: 16px;
}

.device-sp header .mkj-mv-left.leftBottom {
  top: inherit;
  bottom: 16px;
}

.device-sp header .mkj-mv-left.rightBottom {
  top: inherit;
  bottom: 16px;
  right: 16px;
}

.device-sp header .mkj-mv-right {
  display: none;
  position: absolute;
  top: -99px;
  left: 0;
  right: 0;
  margin: auto;
  padding: 16px 0;
}

.device-sp .pc {
  display: none;
}

.device-sp .sp {
  display: block;
}
