/****活動用****/
.blackbarnew {
  top: 0;
  left: 0;
  width: 100%;
  height: 30px;
  padding: 0 10px;
  background-color: #000;
  position: fixed;
  z-index: 999;
  overflow: hidden;
}

.yeslogo {
  font-size: 12px;
  color: #fff;
  line-height: 30px;
  letter-spacing: 2px;
  float: left;
}

.yeslogo i {
  margin-right: 8px;
  float: left;
}

.yeslogo i img {
  width: 10px;
}

.yesgogo {
  font-size: 12px;
  color: #fff;
  line-height: 30px;
  letter-spacing: 2px;
  float: right;
}

.yesyes {
  font-size: 15px;
  color: #fff;
  font-weight: bold;
  line-height: 30px;
  letter-spacing: 1px;
  margin-right: 4px;
}
/****æ´»å‹•ç”¨END****/

.pad {
  display: none;
}

.phone {
  display: none;
}

.web {
  display: block;
}

@media screen and (max-width: 800px) {
  .web {
    display: none;
  }

  .phone {
    display: none;
  }

  .pad {
    display: block;
  }
}

@media screen and (max-width: 736px) {
  .web {
    display: none;
  }

  .pad {
    display: none;
  }

  .phone {
    display: block;
  }
}
/*header*/
.headerschool {
  width: 100%;
  height: 60px;
  background-color: #fff;
  position: fixed;
  top: 30px;
  z-index: 999;
  border-bottom: 0px solid #673ab7;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.1);
}

.headerschool h1 {
  float: left;
  font-size: 24px;
  font-weight: normal;
  letter-spacing: 2px;
  line-height: 64px;
  color: #673ab7;
}

.headerschool img {
  width: 40px;
  margin-right: 6px;
  margin-left: 24px;
  vertical-align: middle;
  float: left;
  margin-top: 8px;
}

@media screen and (max-width: 980px) {
  .headerschool img {
    margin-left: 20px;
  }
}

@media screen and (max-width: 736px) {
  .headerschool img {
    display: none;
  }

  .headerschool {
    height: 44px;
  }

  .headerschool h1 {
    font-size: 22px;
    margin-left: 16px;
    display: none;
  }
}
/*header*/
/*----------------------*/
body {
  background-color: #30010c;
}
.witch_area {
  margin-top: -166px;
}

.tarot_area {
  position: fixed;
  top: 46vh;
  z-index: 5;
}

.card_side {
  -webkit-transition: all 0.8s ease;
  transition: all 0.8s ease;
  position: absolute;
  top: 0;
  left: 0;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: 10px;
  overflow: hidden;
  border: none;
  cursor: pointer;
}
.card_side_back {
  -webkit-transform: rotateY(180deg);
  transform: rotateY(180deg);
}
.card_side_front_hide {
  -webkit-transform: rotateY(-180deg);
  transform: rotateY(-180deg);
}
.card_side_back_display {
  -webkit-transform: rotateY(0);
  transform: rotateY(0);
}

.card_box > :nth-child(1):hover {
  -webkit-filter: brightness(1.3);
}
.card_box:hover {
  transform: scale(0.98);
  transition: all 0.3s;
}
.bgimg {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0px;
  left: 0;
  z-index: -2;
  background-image: url(../images/bg.png);
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
  transition: all 0.3s;
}

@media (min-width: 1200px) {
  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl {
    max-width: 950px;
  }
}

@media (min-width: 577px) {
  .container {
    margin-top: 90px;
  }
  .card_box {
    width: 15%;
    -webkit-perspective: 150rem;
    perspective: 150rem;
    -moz-perspective: 150rem;
    position: relative;
  }
  #card_box1 {
    position: absolute;
    top: 25%;
    left: 5%;
  }
  #card_box2 {
    position: absolute;
    top: 25%;
    left: 24%;
  }
  #card_box3 {
    position: absolute;
    top: 25%;
    left: 43%;
  }
  #card_box4 {
    position: absolute;
    top: 25%;
    left: 62%;
  }
  #card_box5 {
    position: absolute;
    top: 25%;
    left: 81%;
  }
}

@media (max-width: 576px) {
  .container {
    margin-top: 74px;
  }
  .card_box {
    width: 24%;
    -webkit-perspective: 150rem;
    perspective: 150rem;
    -moz-perspective: 150rem;
    position: relative;
  }
  #card_box1 {
    position: absolute;
    top: 14%;
    left: 11.7%;
  }
  #card_box2 {
    position: absolute;
    top: 14%;
    left: 38.7%;
  }
  #card_box3 {
    position: absolute;
    top: 14%;
    left: 65.7%;
  }
  #card_box4 {
    position: absolute;
    top: 57%;
    left: 25%;
  }
  #card_box5 {
    position: absolute;
    top: 57%;
    left: 52%;
  }

  #frame {
    content: url(../images/Mframe_board_375_550.png);
  }
  .bgimg {
    background-size: 150%;
    top: 70px;
  }
}
/*-----------------1440*900-----------------*/
@media screen and (max-width: 1440px) and (max-height: 900px) {
  #titleImg {
    width: 50%;
  }
  #witch_area {
    margin-top: 100px;
    width: 80%;
  }
  .tarot_area {
    justify-content: center;
  }
  .tarot_area > div {
    -ms-flex: 0 0 83.333333%;
    flex: 0 0 83.333333%;
    max-width: 83.333333%;
  }
}
/*-----------------1440*900-----------------*/
/*-----------------1366*768-----------------*/
@media screen and (max-width: 1366px) and (max-height: 768px) {
  #titleImg {
    width: 50%;
  }
  #witch_area {
    margin-top: 20px;
    width: 50%;
  }
  .witch_area {
    margin-top: -65px;
  }
  .tarot_area {
    justify-content: center;
  }
  .tarot_area > div {
    -ms-flex: 0 0 66.666667%;
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
  }
}
/*-----------------1366*768-----------------*/
/*-----------------ipad-----------------*/
@media screen and (max-width: 1024px) and (max-height: 1366px) {
  .witch_area {
    margin-top: 50px;
  }
  .tarot_area > div {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }
}
/*-----------------ipad-----------------*/

/*-----------------iponeX pixel2 XL-----------------*/
@media screen and (max-width: 450px) and (max-height: 900px) {
  .tarot_area > div {
    -ms-flex: 0 0 83.33333333333333%;
    flex: 0 0 83.33333333333333%;
    max-width: 83.33333333333333%;
  }
  .witch_area {
    margin-top: 15px;
  }
  #titleImg {
    width: 90%;
  }
  #witch_area {
    margin-top: 0;
    width: 90%;
  }
}
/*-----------------iponeX-----------------*/

/*-----------------ipone6 7 8 plus-----------------*/
@media screen and (max-width: 415px) and (max-height: 737px) {
  .tarot_area > div {
    -ms-flex: 0 0 83.33333333333333%;
    flex: 0 0 83.33333333333333%;
    max-width: 83.33333333333333%;
  }
  #titleImg {
    width: 100%;
  }
  .witch_area {
    display: block;
    margin-top: -50px;
    position: fixed;
    bottom: 40vh;
  }
  #witch_area {
    margin-top: 0px;
    width: 80%;
  }
}
/*-----------------ipone6 7 8 plus-----------------*/

/*-----------------ipone6 7 8-----------------*/
@media screen and (max-width: 375px) and (max-height: 667px) {
  /*.witch_area {
    		display:none;
    }*/
}
/*-----------------ipone6 7 8-----------------*/

/*-----------------ipone5-----------------*/
@media screen and (max-width: 320px) {
  .witch_area {
    margin-top: -54px;
  }
  .I5_none {
    display: none;
  }
  .I5_block {
    display: block;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }
  .I5_p {
    padding: 0 15px !important;
  }
}
/*-----------------ipone5-----------------*/

/*popup*/
.close {
  margin-right: 10px;
}
#tarotName {
  color: #673ab7;
  font-size: 20px;
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 5px;
}
#tarotStar {
  color: #e91e63;
  font-size: 18px;
  padding-bottom: 5px;
  /* margin-bottom: 8px; */
  /* padding-right: 10px; */
  /* margin-right: 4px; */
}
.tarotTextArea {
  height: auto;
  overflow: auto;
  margin-bottom: 16px;
  font-size: 15px;
  line-height: 1.5;
}
.icon_line,
.icon_fb {
  width: 25px;
  cursor: pointer;
}
.suggest {
  width: 100%;
  /* margin-bottom: 14px; */
}
.suggest_main {
  position: relative;
  z-index: 1;
  background: #fff;
  border: 1px solid #673ab7;
  border-radius: 8px;
  overflow: hidden;
  padding: 12px;
}
.suggest_main h1 {
  font-size: 18px;
  margin-bottom: 3px;
  font-weight: bold;
  color: #673ab7;
}
.suggest_main h2 {
  font-size: 16px;
  margin-bottom: 0;
  color: #673ab7;
  /* line-height: 1.5; */
}
.star {
  align-self: center;
  margin-right: 4px;
}
.star img {
  display: block;
}
.modal-btn {
  width: 100%;
  background: #e40177;
  text-align: center;
  padding: 8px 0;
  margin: 15px 0;
  border-radius: 8px;
  border: none;
  outline: none;
  transition: all 0.3s;
  cursor: pointer;
}
.modal-btn > font {
  color: #fff;
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 0;
}
.modal-btn:hover {
  background: #d3006d;
}
.modal-btn > font:hover {
  text-decoration: none;
}

.modal-btn > font:after {
  content: " ▸";
  color: #fff;
}
/*popup*/
/*20210129*/

.witch_web {
  transform: scale(1.1);
  margin-top: -40px;
}

.text-center {
  position: absolute;
  top: 7vh;
  width: 100%;
}

.witch_area {
  margin-top: -60px;
}

#titleImg {
  width: 90%;
}

@media screen and (max-width: 1600px) {
  .witch_web {
    transform: scale(1.1);
    margin-top: -30px;
  }

  #titleImg {
    transform: scale(0.9);
  }

  .text-center {
    position: absolute;
    top: 3vh;
    width: 100%;
  }
}

@media screen and (max-width: 1280px) {
  .witch_web {
    transform: scale(0.7);
    margin-top: -80px;
  }

  #titleImg {
    transform: scale(0.6);
  }

  .text-center {
    position: absolute;
    top: 2vh;
    width: 100%;
  }

  .tarot_area {
    top: 46vh;
  }
}

@media screen and (max-width: 980px) {
  .bgimg {
    background-size: 190%;
    /*width:100%;
    height: calc(130vh);
    position:relative;*/
    
      }

  .text-center {
    position: relative;
    width: 100%;
  }

  .text-center {
    top: 2vh;
  }

  #titleImg {
    transform: scale(1.2);
  }

  .witch_mob {
    position: fixed;
    top: 24vh;
    width: 100%;
    transform: scale(0.9);
    z-index: 2;
  }

  .tarot_area {
    position: fixed;
    left: 16px;
    right: 16px;
    top: 60vh;
  }
  

  
  
  
  
}

@media screen and (max-width: 736px) {
  .text-center {
    position: relative;
    width: 100%;
  }

  .tarot_area {
    bottom: inherit;
    top: 40vh;
  }

  .text-center {
    top: 2vh;
  }

  #titleImg {
    transform: scale(1.2);
    position: fixed;
    width: 200px;
    margin-left: -100px;
  }

  .witch_mob {
    position: fixed;
    top: 15vh;
    width: 100%;
    transform: scale(0.7);
    z-index: 2;
  }
  
  
  
    .box0204{min-height:880px; width:100%;}
  
  
}
