@charset "UTF-8";

/*-----------------------------------------
  layout
-----------------------------------------*/
#loto {
  position: relative;
  width: 100%;
  padding-bottom: 100px;
  font-family: "Noto Sans JP", sans-serif;
  color: #231815;
  background: #fff url(/img/usr/freepage/2025/2512_christmaspresent/directid/bg_pc.jpg) no-repeat center top / max(2000px,100%);
  overflow: hidden;
  opacity: 0;
  transition: opacity .3s;
}
#loto.is-show {
  opacity: 1;
}
#loto h1,
#loto h2 {
  padding: 0;
  margin: 0;
  font-weight: normal;
}
#loto a {
  color: inherit;
  transition: all .3s;
}
#loto a:hover,
#loto a:focus {
  text-decoration: none;
}
#loto img{
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}
#loto button {
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  transition: all .3s;
  cursor: pointer;
}
@media only screen and (min-width: 751px) {
  #loto .for-sp {
    display: none;
  }
  #loto {
    min-width: 720px;
  }
}
@media only screen and (max-width: 750px) {
  #loto .for-pc {
    display: none;
  }
  #loto {
    padding-bottom: 40px;
    background-image: url(/img/usr/freepage/2025/2512_christmaspresent/directid/bg_sp.jpg);
    background-position: center top -30px;
    background-size: 100%;
  }
}

/*-----------------------------------------
  common
-----------------------------------------*/
#loto .loto-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 15px;
}
#loto .loto-btn {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 480px;
  height: 80px;
  font-size: 30px;
  letter-spacing: 0.1em;
  line-height: 1;
  color: #fff;
  background: #b4202b;
  border-radius: 50px;
  box-shadow: 0px 1px 6px 0px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}
#loto .loto-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, #000, #fff);
  mix-blend-mode: soft-light;
  opacity: 0.75;
}
#loto .loto-btn::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 40px;
  width: 12px;
  height: 13px;
  margin: auto;
  background: #fff;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}
#loto .loto-btn:hover {
  opacity: 0.8;
}
@media only screen and (max-width: 750px) {
  #loto .loto-btn {
    width: 240px;
    height: 40px;
    margin: 8px auto 0;
    font-size: 15px;
  }
  #loto .loto-btn::after {
    right: 20px;
    width: 6px;
    height: 7px;
  }
}

/*-----------------------------------------
  top
-----------------------------------------*/
#loto .mv {
  margin: 0 -10px;
  padding-top: 140px;
  text-align: center;
}
#loto .title {
  position: relative;
  margin: -15px auto 0;
  text-align: center;
  z-index: 1;
}
#loto .message {
  display: none;
  margin: 0 0 60px;
  font-weight: 600;
  font-size: 30px;
  letter-spacing: 0.1em;
  text-align: center;
  color: #fff;
}
@media only screen and (max-width: 750px) {
  #loto .mv {
    width: 95vw;
    margin: 0 auto;
    padding-top: 21.333vw;
  }
  #loto .title {
    width: 91.4vw;
    margin: -7px auto 0;
  }
  #loto .message {
    margin: 0 0 8vw;
    font-size: 3.7vw;
  }
}

/*-----------------------------------------
  メインページ
-----------------------------------------*/
#loto .sec-gacha .gacha-start {
  position: relative;
  margin-top: -42px;
  height: 950px;
  background: url(/img/usr/freepage/2025/2512_christmaspresent/directid/img_tree.png) no-repeat left 27px bottom / contain;
}
#loto .sec-gacha .gacha-btn {
  position: absolute;
  z-index: 1;
}
#loto .sec-gacha .gacha-btn::before {
  content: "";
  position: absolute;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
#loto .sec-gacha .gacha-btn.gacha01 {
  top: 242px;
  left: 237px;
}
#loto .sec-gacha .gacha-btn.gacha01::before {
  top: -57px;
  left: -100px;
  width: 135px;
  height: 87px;
  background-image: url(/img/usr/freepage/2025/2512_christmaspresent/directid/icon_click_01.png);
}
#loto .sec-gacha .gacha-btn.gacha02 {
  top: 365px;
  left: 204px;
}
#loto .sec-gacha .gacha-btn.gacha02::before {
  top: -70px;
  left: -146px;
  width: 147px;
  height: 94px;
  background-image: url(/img/usr/freepage/2025/2512_christmaspresent/directid/icon_click_02.png);
}
#loto .sec-gacha .gacha-btn.gacha03 {
  top: 562px;
  left: 136px;
}
#loto .sec-gacha .gacha-btn.gacha03::before {
  top: -80px;
  left: -124px;
  width: 152px;
  height: 85px;
  background-image: url(/img/usr/freepage/2025/2512_christmaspresent/directid/icon_click_03.png);
}
#loto .sec-gacha .gacha-btn.gacha04 {
  top: 328px;
  left: 430px;
}
#loto .sec-gacha .gacha-btn.gacha04::before {
  top: -64px;
  left: 80px;
  width: 152px;
  height: 85px;
  background-image: url(/img/usr/freepage/2025/2512_christmaspresent/directid/icon_click_04.png);
}
#loto .sec-gacha .gacha-btn.gacha05 {
  top: 498px;
  left: 460px;
}
#loto .sec-gacha .gacha-btn.gacha05::before {
  top: -54px;
  left: 86px;
  width: 152px;
  height: 85px;
  background-image: url(/img/usr/freepage/2025/2512_christmaspresent/directid/icon_click_05.png);
}
#loto .sec-gacha .gacha-btn img {
  width: 100%;
  transform-origin: center top;
  animation: yurayura 9s linear infinite;
}
#loto .sec-gacha .gacha-btn.gacha02 img {
  animation-delay: 3.6s;
}
#loto .sec-gacha .gacha-btn.gacha03 img {
  animation-delay: 7.2s;
}
#loto .sec-gacha .gacha-btn.gacha04 img {
  animation-delay: 5.4s;
}
#loto .sec-gacha .gacha-btn.gacha05 img {
  animation-delay: 1.8s;
}
@media only screen and (max-width: 750px) {
  #loto .sec-gacha .gacha-start {
    margin-top: -5.6vw;
    height: 126.667vw;
    background-position: center bottom;
    background-size: 84vw;
  }
  #loto .sec-gacha .gacha-btn.gacha01 {
    top: 32.267vw;
    left: 31.733vw;
    width: 13.5vw;
  }
  #loto .sec-gacha .gacha-btn.gacha01::before {
    top: -7.733vw;
    left: -13.333vw;
    width: 18.2vw;
    height: 11.8vw;
  }
  #loto .sec-gacha .gacha-btn.gacha02 {
    top: 48.8vw;
    left: 27.2vw;
    width: 13.9vw;
  }
  #loto .sec-gacha .gacha-btn.gacha02::before {
    top: -9.333vw;
    left: -19.467vw;
    width: 19.8vw;
    height: 12.6vw;
  }
  #loto .sec-gacha .gacha-btn.gacha03 {
    top: 74.933vw;
    left: 18.133vw;
    width: 12.8vw;
  }
  #loto .sec-gacha .gacha-btn.gacha03::before {
    top: -10.667vw;
    left: -16.533vw;
    width: 20.3vw;
    height: 11.5vw;
  }
  #loto .sec-gacha .gacha-btn.gacha04 {
    top: 43.733vw;
    left: 57.333vw;
    width: 13.4vw;
  }
  #loto .sec-gacha .gacha-btn.gacha04::before {
    top: -8.533vw;
    left: 10.667vw;
    width: 20.3vw;
    height: 11.5vw;
  }
  #loto .sec-gacha .gacha-btn.gacha05 {
    top: 66.4vw;
    left: 61.333vw;
    width: 14.7vw;
  }
  #loto .sec-gacha .gacha-btn.gacha05::before {
    top: -7.2vw;
    left: 11.467vw;
    width: 20.3vw;
    height: 11.5vw;
  }
}

/*-----------------------------------------
  キャンペーン詳細
-----------------------------------------*/
#loto .sec-detail {
  margin: 66px 0 0;
}
#loto .sec-detail .detail-title {
  padding: 19px 0;
  font-weight: bold;
  font-size: 22px;
  letter-spacing: 0.2em;
  line-height: 1;
  text-align: center;
  color: #fff;
  background: #78afcc;
  border-radius: 20px 20px 0 0;
}
#loto .sec-detail .detail-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 36px 40px 33px;
  background: #f4f8fb;
  border-radius: 0 0 20px 20px;
}
#loto .sec-detail .detail-list-box ul li {
  margin-left: 1.5em;
  text-indent: -1.5em;
}
#loto .sec-detail .detail-list-box dt,
#loto .sec-detail .detail-list-box dd {
  font-size: 16px;
  letter-spacing: 0.04em;
  line-height: 1.625;
}
@media only screen and (max-width: 750px) {
  #loto .sec-detail {
    margin-top: 33px;
  }
  #loto .sec-detail .detail-title {
    padding: 12px 0;
    font-size: 15px;
    border-radius: 10px 10px 0 0;
  }
  #loto .sec-detail .detail-list {
    gap: 10px;
    padding: 16px 20px;
    border-radius: 0 0 10px 10px;
  }
  #loto .sec-detail .detail-list-box dt,
  #loto .sec-detail .detail-list-box dd {
    font-size: 12px;
  }
}

/*-----------------------------------------
  結果モーダル
-----------------------------------------*/
#loto .gacha-result {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 102;
}
#loto .gacha-result-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  background: rgb(0,0,0,0.8);
  overflow-y: auto;
  scrollbar-gutter: stable;
}
#loto .gacha-result-inner {
  position: relative;
  width: 650px;
  height: calc(550px + 55px);
  margin: auto;
  padding-top: 55px;
}
#loto .gacha-result-contents {
  display: flex;
  flex-direction: column;
  /* justify-content: center; */
  align-items: center;
  width: 100%;
  height: 100%;
  padding-top: 56px;
  font-family: "Noto Serif JP", serif;
  text-align: center;
  background: url(/img/usr/freepage/2025/2512_christmaspresent/directid/bg_coupon.png) no-repeat center / contain;
}
#loto .gacha-result.active .gacha-result-contents {
  animation: couponOpen 1s .3s forwards;
}
#loto .gacha-result-close {
  position: absolute;
  top: 0;
  right: 20px;
  width: 50px;
  height: 50px;
  font-size: 0;
}
#loto .gacha-result-close::before,
#loto .gacha-result-close::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 2px;
  margin: auto;
  background: #fff;
  transform: rotate(45deg);
}
#loto .gacha-result-close::after {
  transform: rotate(-45deg);
}
#loto .gacha-result .loto-btn {
  margin: 16px auto 0;
}
#loto .gacha-result-notice {
  margin: 20px 0 0;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.04em;
}
@media only screen and (max-width: 750px) {
  #loto .gacha-result-inner {
    width: 325px;
    height: calc(275px + 28px);
    padding-top: 28px;
  }
  #loto .gacha-result-contents {
    padding-top: 22px;
  }
  #loto .gacha-result-close {
    right: 10px;
    width: 30px;
    height: 30px;
  }
  #loto .gacha-result-close::before,
  #loto .gacha-result-close::after {
    height: 1px;
  }
  #loto .gacha-result-img {
    width: 279px;
  }
  #loto .gacha-result .loto-btn {
    margin-top: 8px;
  }
  #loto .gacha-result-notice {
    margin-top: 11px;
    font-size: 9px;
  }
}

/*-----------------------------------------
  獲得後
-----------------------------------------*/
#loto.lotoget {
  background-image: url(/img/usr/freepage/2025/2512_christmaspresent/directid/bg_02_pc.jpg);
}
#loto.lotoget .title {
  margin: -18px auto 0;
}
#loto.lotoget .sec-item {
  margin-top: -50px;
  font-family: "Noto Serif JP", serif;
  text-align: center;
}
#loto.lotoget .sec-item .item-contents {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 50px 40px;
  background: rgb(255,255,255,0.9);
  border-radius: 10px;
  box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.5),inset 0px 1px 0px 0px rgba(255, 255, 255, 0.5);
}
#loto.lotoget .sec-item .item-title {
  font-size: 24px;
  letter-spacing: 0.1em;
}
#loto.lotoget .sec-item .item-list {
  display: flex;
  flex-wrap: wrap;
  gap: 35px 30px;
  margin: 35px 0 0;
}
#loto.lotoget .sec-item .item-list li {
  width: calc((100% - 30px) / 2);
}
#loto.lotoget .sec-item .item-list li a {
  display: block;
}
#loto.lotoget .sec-item .item-list li a:hover {
  opacity: 0.8;
}
#loto.lotoget .sec-item .item-list li.coffret {
  width: 100%;
}
#loto.lotoget .sec-item .item-list li.coffret a {
  width: calc((100% - 30px) / 2);
  margin: 0 auto;
}
#loto.lotoget .sec-item .item-list-name {
  margin: 20px 0 0;
  font-size: 27px;
  line-height: 1.2;
  text-decoration: underline;
  white-space: nowrap;
}
#loto.lotoget .sec-item .item-list-drug {
  width: fit-content;
  margin: 8px auto 0;
  padding: 3px 10px 5px;
  font-size: 18px;
  letter-spacing: 0.1em;
  line-height: 1;
  border: 1px solid #000000;
}
#loto.lotoget .sec-item .item-list-name2 {
  margin: 5px 0 0;
  font-size: 17px;
  white-space: nowrap;
}
#loto.lotoget .sec-item .loto-btn {
  margin: 35px auto 0;
  width: 610px;
  height: 100px;
  padding-right: 10px;
  font-size: 28px;
  letter-spacing: -0.04em;
}
#loto.lotoget .sec-item .loto-btn::after {
  right: 30px;
}
@media only screen and (max-width: 750px) {
  #loto.lotoget {
    background-image: url(/img/usr/freepage/2025/2512_christmaspresent/directid/bg_02_sp.jpg);
    background-position: center top;
  }
  #loto.lotoget .title {
    width: 81.6vw;
    margin-top: -2.4vw;
  }
  #loto.lotoget .sec-item {
    margin-top: -8vw;
  }
  #loto.lotoget .sec-item .item-contents {
    padding: 7.5vw 15px 20px;
    border-radius: 1.333vw;
  }
  #loto.lotoget .sec-item .item-title {
    font-size: 3.2vw;
    line-height: 1.333;
  }
  #loto.lotoget .sec-item .item-list {
    gap: 5.333vw 4vw;
    margin: 4.8vw 1.333vw 0;
  }
  #loto.lotoget .sec-item .item-list li,
  #loto.lotoget .sec-item .item-list li.coffret a {
    width: calc((100% - 4vw) / 2);
  }
  #loto.lotoget .sec-item .item-list-name {
    margin: 4vw 0 0;
    font-size: 3.733vw;
  }
  #loto.lotoget .sec-item .item-list-drug {
    margin-top: 1.067vw;
    padding: 0.533vw 1.6vw;
    font-size: 2.667vw;
  }
  #loto.lotoget .sec-item .item-list-name2 {
    font-size: 2.4vw;
  }
  #loto.lotoget .sec-item .loto-btn {
    margin: 18px auto 0;
    padding-right: 2.667vw;
    width: 82.667vw;
    height: 13.333vw;
    font-size: 3.467vw;
    letter-spacing: 0;
  }
  #loto.lotoget .sec-item .loto-btn::after {
    right: 5.333vw;
  }
}

/*-----------------------------------------
  獲得後3000
-----------------------------------------*/
#loto.lotoget3000 .sec-item .item-title {
  font-size: 30px;
  line-height: 1;
}
#loto.lotoget3000 .sec-item .item-title span {
  font-size: 18px;
}
@media only screen and (max-width: 750px) {
  #loto.lotoget3000 .sec-item .item-title {
    font-size: 4vw;
  }
  #loto.lotoget3000 .sec-item .item-title span {
    font-size: 2.4vw;
  }
}

/*-----------------------------------------
  animation
-----------------------------------------*/
@keyframes couponOpen {
  0%   { transform:translateY(0) scale(1); }
  25%  { transform:translateY(-30px); }
  50%  { transform:scale(1); }
  75%  { transform:scale(1.1); }
  100%  { transform:translateY(0) scale(1); }
}
@keyframes yurayura {
  0% { transform: rotate(0deg); }
  2% { transform: rotate(-3deg); }
  4% { transform: rotate(3deg); }
  6% { transform: rotate(-3deg); }
  8% { transform: rotate(0deg); }
  100% { transform: rotate(0deg); }
}

/*-----------------------------------------
  snow
-----------------------------------------*/
.snow {
  color: #fff;
  font-size: 10px;
  position: fixed;
  top: -5%;
  /*雪を適当な幅で降らせる*/
  text-shadow:
  5vw   -100px 2px,
  10vw  -400px 3px,
  20vw  -500px 4px,
  30vw  -580px 1px,
  39vw  -250px 2px,
  42vw  -340px 5px,
  56vw  -150px 2px,
  63vw  -180px 0,
  78vw  -220px 4px,
  86vw  -320px 9px,
  94vw  -170px 7px;
  animation: snowAnim 15s linear infinite;
}
.snow02{
  font-size: 8px;
  animation: snowAnim02 22s linear infinite;
}
@media only screen and (max-width: 750px) {
  .snow {
    text-shadow:
    10vw  -400px 3px,
    30vw  -580px 1px,
    42vw  -340px 5px,
    63vw  -180px 0,
    86vw  -320px 9px,
  }
}
@keyframes snowAnim {
  0% {
    transform: rotate(0deg);
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: rotate(20deg);
    top: 100%;
    opacity: 0;
  }
}
@keyframes snowAnim02 {
  100% {
    color: transparent;
    top: 150%;
  }
}