@charset "utf-8";
/* CSS Document */

html {font-family: 'Noto Sans JP', sans-serif;}

/* コンテンツ幅 フル */
.contents {margin-bottom: 0;}
.contentsInr{width:auto;padding:0px; margin-bottom: 0;}
    
.contentWrap {
    background-image: url(/content/dam/sites/wwwjalcojp/jp/ja/jmb/newyear/2022/img_sites/bg_gold_sp.png);
    background-position: 0 0;
    background-size: 100%;
    background-repeat: no-repeat;
    background-color: #c0b57c;
    }

.headWrap {padding: 24px 0 16px;}
.headWrap .mainTitle {
    width: 80.53333333333333vw;
    max-width: 450px;
    margin:0 auto ;
    text-align: center;
    line-height: 1;
    font-size: 0;
}
    
    .fortuneBox {
        display: flex;
        flex-direction: column;
        min-height: 52vh;
    }
    .fortuneBtnWrap {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        justify-content: center;
        min-height: auto;}
    .fortuneBtnInner {
        width: 40vw;
        max-width: 180px;
        padding: 10px 0 0;
        display: flex;
    }
.fortuneBtnTxt {
    width: 100%;
    margin: 20px 10px ;
    text-align: center;
    font-size: 1.4rem;
}
    
    .fortuneItem {
        text-align: center;
    }
.result-main-pict {
    padding: 0 12px;
}
    .result-main-text {
    margin: 0 auto;
    font-size: 1.6rem;
    padding: 19px 36px 0 36px;
    font-weight: bold;
    line-height: 1.5;
    text-align: center;
}
    
    .lucky-item, .note-wrap {
    margin: 40px 0 0;
    padding: 40px 0;
    background-color: #fff;
    background-image: url(/content/dam/sites/wwwjalcojp/jp/ja/jmb/newyear/2022/img_sites/bg_white_sp.png);
    background-repeat: repeat-y;
        background-size: 100%;
    background-position: 0 0;
}
    .lucky-item-inner, .note-inner {
        padding: 0 12px;
    }
    .lucky-item-head {
    font-size: 2.2rem;
    color: #000;
    line-height: 1.5;
    font-weight: 900;
}
    .lucky-item-head > span {
    display: block;
    font-size: 1.6rem;
}
    .lucky-item-img {
        padding: 24px 0 0;
    }
    .message {
    margin: 0 auto;
    text-align: left;
    padding: 32px 14px 0;
    line-height: 1.5;
    font-size: 1.4rem;
}
.lucky-item-btn {padding: 32px 0 0; }
.lucky-item-btn a {
    display: inline-block;
    text-align: center;
    width: 272px;
    margin: auto;
    background: linear-gradient(90deg, rgba(226,218,175,1) 0%, rgba(192,181,124,1) 100%);
    border-radius: 50px;
    font-size: 1.6rem;
    font-weight: bold;
    padding: 30px 0;
}
.lucky-item-btn a:hover {opacity: 0.8;}
    .note-wrap {
        margin: 0;
        padding-top: 50px;
    }
    .note-list > li {
    text-align: left;
    font-size: 1.4rem;
    position: relative;
    padding: 0 0 0 12px;
    margin-top: 7px;
    line-height: 1.5;
}
   .note-list > li:first-child {
    margin-top: 0;
}
    .note-list > li::before {
    content: "";
    display: inline-block;
    background-color: #333;
    border-radius: 50%;
    position: absolute;
    top: 0.75em;
    left: 0.5em;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: 5px;
    height: 5px;
}
    .note-img {
        width: 56vw;
        margin: 16px auto;
    }
    
    #result, .fortune-result-Box .fortuneItem, .note-wrap  {
    display: none;
}
.fortune-result-Box.result0 .fortuneItem:nth-child(1) {
  display: block;
}
.fortune-result-Box.result1 .fortuneItem:nth-child(2) {
  display: block;
}
.fortune-result-Box.result2 .fortuneItem:nth-child(3) {
  display: block;
}
.fortune-result-Box.result3 .fortuneItem:nth-child(4) {
  display: block;
}
    
@media all and (min-width:740px){
    .contentWrap {
    background-image: url(/content/dam/sites/wwwjalcojp/jp/ja/jmb/newyear/2022/img_sites/bg_gold.png); background-repeat: repeat; background-size: contain; }
    .contentsInr{margin-bottom: 0;}
    .headWrap {padding: 48px 0;}
    .headWrap .mainTitle {width:856px; max-width: none;}
    .fortuneBox { min-height: 601px;}
    .fortuneBtnWrap {  width: 100%; justify-content: center; padding: 0 0 40px;}
    .fortuneBtnInner { width: 305px; max-width: none; padding: 0;}
    
.fortuneBtnTxt {font-size: 1.4rem; font-size: 2rem;}
    
    .result-main-wrap {width:1104px;padding:0;margin:0 auto;}
    .result-main-text {padding: 40px 0 0; font-size: 2.2rem;}
    .lucky-item {margin: 80px 0 0; padding: 80px 10px;}
    .lucky-item, .note-wrap {
    background-image: url(/content/dam/sites/wwwjalcojp/jp/ja/jmb/newyear/2022/img_sites/bg_white.png); background-repeat: repeat; background-size: contain;}
    .lucky-item-inner, .note-inner {width:1104px;padding:0;margin:0 auto;}
    .lucky-item-head {font-size: 3.6rem;}
    .lucky-item-head > span {font-size: 2.4rem;}
    .lucky-item-img {padding: 40px 0 0;}
    .lucky-item-img img {width: auto;}
    .message {text-align: center; padding: 32px 0 0; font-size: 2rem;}
    .lucky-item-btn {padding: 40px 0 0; }
    .note-wrap {padding: 80px 0;}
    .note-inner {display: flex; justify-content: space-between; align-items: center; padding-left: 30px;}
    .note-img {width: 207px; margin:0 0 0 20px;}
    .note-list > li {font-size: 1.2rem;}

}

/* アニメーション用CSS */
/* 箱の振動用 */
.mikujitsutsu, .mikujitsutsu img {
  transition: none;
}
.mikujitsutsu img:hover {
  opacity: 1;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-name: hvr-wobble-to-top-right;
  animation-name: hvr-wobble-to-top-right;
  -webkit-animation-iteration-count: 1;
  animation-iteration-count: 1;
  -webkit-animation-delay: 0s;
  animation-delay: 0s;
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
}
.mikujitsutsu.click {
  opacity: 1;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-name: hvr-wobble-to-top-right-click;
  animation-name: hvr-wobble-to-top-right-click;
  -webkit-animation-iteration-count: 1;
  animation-iteration-count: 1;
  -webkit-animation-delay: 0s;
  animation-delay: 0s;
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
  pointer-events: none;
}
@-webkit-keyframes hvr-wobble-to-top-right {
  16.65% {
    -webkit-transform: translate(8px, -8px);
    transform: translate(8px, -8px);
  }
  33.3% {
    -webkit-transform: translate(-6px, 6px);
    transform: translate(-6px, 6px);
  }
  49.95% {
    -webkit-transform: translate(4px, -4px);
    transform: translate(4px, -4px);
  }
  66.6% {
    -webkit-transform: translate(-2px, 2px);
    transform: translate(-2px, 2px);
  }
  83.25% {
    -webkit-transform: translate(1px, -1px);
    transform: translate(1px, -1px);
  }
  100% {
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0);
  }
}
@keyframes hvr-wobble-to-top-right {
  16.65% {
    -webkit-transform: translate(8px, -8px);
    transform: translate(8px, -8px);
  }
  33.3% {
    -webkit-transform: translate(-6px, 6px);
    transform: translate(-6px, 6px);
  }
  49.95% {
    -webkit-transform: translate(4px, -4px);
    transform: translate(4px, -4px);
  }
  66.6% {
    -webkit-transform: translate(-2px, 2px);
    transform: translate(-2px, 2px);
  }
  83.25% {
    -webkit-transform: translate(1px, -1px);
    transform: translate(1px, -1px);
  }
  100% {
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0);
  }
}
@-webkit-keyframes hvr-wobble-to-top-right-click {
  16.65% {
    -webkit-transform: translate(0, -0);
    transform: translate(0, 0);
  }
  33.3% {
    -webkit-transform: translate(0, -0);
    transform: translate(0, 0);
  }
  49.95% {
    -webkit-transform: translate(0, -0);
    transform: translate(0, 0);
  }
  66.6% {
    -webkit-transform: translate(0, -0);
    transform: translate(0, 0);
  }
  83.25% {
    -webkit-transform: translate(0, -0);
    transform: translate(0, 0);
  }
  100% {
    -webkit-transform: translate(0, -0);
    transform: translate(0, 0);
  }
}
@keyframes hvr-wobble-to-top-right-click {
  16.65% {
    -webkit-transform: translate(0, -0);
    transform: translate(0, 0);
  }
  33.3% {
    -webkit-transform: translate(0, -0);
    transform: translate(0, 0);
  }
  49.95% {
    -webkit-transform: translate(0, -0);
    transform: translate(0, 0);
  }
  66.6% {
    -webkit-transform: translate(0, -0);
    transform: translate(0, 0);
  }
  83.25% {
    -webkit-transform: translate(0, -0);
    transform: translate(0, 0);
  }
  100% {
    -webkit-transform: translate(0, -0);
    transform: translate(0, 0);
  }
}
/* 箱の振動用 */
/* 箱の傾き用 */
.active {
  -webkit-animation-duration: 1.5s;
  animation-duration: 1.5s;
  -webkit-animation-name: rotateArea;
  animation-name: rotateArea;
  -webkit-animation-iteration-count: 1;
  animation-iteration-count: 1;
  -webkit-animation-delay: 0s;
  animation-delay: 0s;
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
}
@media all and (max-width:750px) {
  .active {
    -webkit-animation-name: rotateArea-sp;
    animation-name: rotateArea-sp;
  }
}
@-webkit-keyframes rotateArea {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(60deg);
    transform: rotate(60deg);
  }
}
@keyframes rotateArea {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(60deg);
    transform: rotate(60deg);
  }
}
@-webkit-keyframes rotateArea-sp {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
}
@keyframes rotateArea-sp {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
}
/* 箱の傾き用 */
/* 箱の移動用 */
.out {
  -webkit-animation-name: outlayer;
  animation-name: outlayer;
  /*-webkit-animation-duration: 2.7s;*/
  /*animation-duration: 2.7s;*/
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-iteration-count: 1;
  animation-iteration-count: 1;
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
}
@media all and (max-width:739px) {
  .out {
    -webkit-animation-name: outlayer-sp;
    animation-name: outlayer-sp;
  }
}
@-webkit-keyframes outlayer {
  0% {
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0);
  }
  100% {
    -webkit-transform: translate(70vw, -70vw);
    transform: translate(70vw, -70vw);
    opacity: 0;
  }
}
@keyframes outlayer {
  0% {
    -webkit-transform: translate(0, 0);
    transform: rotate(60deg) translate(0, 0);
  }
  100% {
    -webkit-transform: translate(70vw, -70vw);
    /*transform: translate(70vw, -70vw);*/
    transform: rotate(60deg) translate(-2%, -232%);
    opacity: 0;
  }
}
@-webkit-keyframes outlayer-sp {
  0% {
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0);
  }
  100% {
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0);
    opacity: 0;
  }
}
@keyframes outlayer-sp {
  0% {
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0);
  }
  100% {
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0);
    opacity: 0;
  }
}
/* 箱の移動用 */