html,body {
  overflow-x: hidden;
}
a,
input[type=button],
input[type=submit] {
  outline:none;
}
.mr10 {
  margin-right: 10px;
}

/* search */
.box-tool-search-300 {
    width: 300px;
}

/* 回答ページ */
@keyframes horizontal {
    0% { transform:translateX( -3px); }
  100% { transform:translateX(  0px); }
}
@keyframes vertical {
    0% { transform:translateY(-10px); }
  100% { transform:translateY(  0px); }
}
@keyframes flash1{
  50%{ opacity: 0; }
}

.question_wrap {
  position: relative;
  width: 100%;
  height: 100%;
  background: #d6f5ff;
}
.question_wrap .question_time {
  position: absolute;
  top: 50px;
  right: 50px;
  text-align: center;
  font-size: 2.3rem;
  z-index: 99;
}
.question_wrap .question_time span {
  display: block;
  width: 100px;
  height: 100px;
  margin-top: 10px;
  padding: 20px;
  background: #fff;
  border-radius: 50%;
  /* border: 1px solid #000; */
  border: none;
  box-shadow: 0 0 5px #ffac3d;
  font-size: 4rem;
}
.question_wrap .question_time.limit span {
  animation: flash1 1s infinite;
  background: #ffac3d;
  color: #fff;
}
.question_wrap .question_item {
  position: absolute;
  width: 450px;
  left: 50%;
  top: 50%;
  margin-top: -150px;
  margin-left: -200px;
  text-align: center;
}
.question_wrap .question_item p {
  display: block;
  margin-bottom: 20px;
  font-size: 2.2rem;
  text-align: left;
}
.question_wrap .question_item p span {
  display: inline-block;
  margin-right: 10px;
  font-size: 2.2rem;
}
.question_wrap .text_question {
  margin-top: -170px;
}
.question_wrap .question_error {
  margin-top: -250px;
}
.question_wrap .text_question.question_item p {
  text-align: center;
}
.question_wrap .text_question.question_item p span {
  font-size: 12px;
}
.question_wrap .question_item .question_title {
  margin-bottom: 60px;
}
.question_wrap .text_question input[type=text],
.question_wrap .text_question input[type=number],
.question_wrap .text_question select {
  width: 300px;
  padding: 5px;
}
.question_wrap .text_question input[type=submit],
.question_wrap .text_question input[type=button] {
  width: 200px;
  background: linear-gradient(#aed4f1 0%, #36709c 100%);
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.28);
  color: #fff;
  border: none;
}
.question_wrap .text_question input[type=submit]:active,
.question_wrap .text_question input[type=button]:active {
  -webkit-transform: translateY(2px);
  transform: translateY(2px);/*沈むように*/
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.28);
  background-image: linear-gradient(#aed4f1 0%, #36709c 100%);
}
.question_wrap .btn_answer  input[type=submit],
.question_wrap .btn_answer  input[type=button] {
  width: 150px;
  height: 150px;
  margin-right: 50px;
  padding: 0;

  background: linear-gradient(#aed4f1 0%, #36709c 100%);
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.28);

  border-radius: 50%;
  border: none;
  text-align: center;

  color: #fff;
  font-size: 4rem;
}
.question_wrap .btn_answer  input[type=submit]:last-child,
.question_wrap .btn_answer  input[type=button]:last-child {
  margin-right: 0;
}
.question_wrap .btn_answer  input[type=submit]:active,
.question_wrap .btn_answer  input[type=button]:active {
  -webkit-transform: translateY(2px);
  transform: translateY(2px);/*沈むように*/
  box-shadow: 0 0 1px rgba(0, 0, 0, 0.15);
  background-image: linear-gradient(#36709c 0%, #aed4f1 100%);
}
.time_bar {
  position: absolute;
  bottom: 0;
  height: 100px;
  width: 100%;
  margin: 0;
  background: url(../img/wave.png);
  z-index: 10;
}
.time_bar span {
  animation: horizontal 1.1s ease-in-out infinite alternate;
  position: relative;
  display: block;
  width: auto;
  height: 100%;
  margin: 0 80px 0 62px;
  box-sizing: border-box;
}
.time_bar span .img_ship {
  animation: vertical 1s ease-in-out infinite alternate;
  position: absolute;
  right: 100%;
  bottom: 50px;
  width: 62px;
  height: 79px;
  background: url(../img/ship.png) no-repeat;
  -webkit-background-size: 62px;
  background-size: 62px;
}
.img_decoration {
  position: absolute;
  left: 60%;
  bottom: 0;
  z-index: 1;
}
.img_decoration02 {
  position: absolute;
  left: 30%;
  bottom: 0;
  z-index: 1;
}
.img_decoration img,
.img_decoration02 img {
  width: 150px;
}
.img_goal {
  position: absolute;
  right: 0;
  bottom: 50px;
}
.img_goal img {
  width: 200px;
}
.complete_wrap {
  background: url(../img/bg_complete.png) center center no-repeat;
  -webkit-background-size: cover;
  background-size: cover;
}
.complete_wrap .text_complete {
  /* display: inline-block;
  padding: 20px;
  background: #fff;
  opacity: .5; */
 /* position: relative;
 color: #6eb0f9;
 line-height: 1.4;
 -webkit-box-reflect: below -10px -webkit-linear-gradient(top,rgba(0,0,0,0),rgba(0,0,0,0) 10%,rgba(0, 0, 0, 0.6)); */
  position: relative;
  text-shadow: 0 0 3px white;
  z-index: 100;
  text-align: left;
}
.complete_wrap .text_complete:before {
  content: "";
  position: absolute;
  background: #fff;
  width: 250px;
  height: 250px;
  top: 50%;
  /* border: dashed 1px white; */
  left: 50%;
  -moz-transform: translate(-50%,-50%);
  -webkit-transform: translate(-50%,-50%);
  -ms-transform: translate(-50%,-50%);
  transform: translate(-50%,-50%);
  border-radius: 50%;
  border: 10px solid rgb(255, 209, 154);
  opacity: .5;
  z-index: -1;
}
.complete_wrap .text_complete p:last-child {
  margin-bottom: 0;
}
@media (min-width: 768px) {
  .question_wrap .question_item {
    position: absolute;
    width: 100%;
    margin-left: 0;
    left: 0;
  }
}



/*---------
Date201904
--------------------------------------*/
.question_wrap .question_area {
    background: url(../img/bg_sky.jpg) no-repeat;
    background-size: cover;
    background-position: top center;
    width: 100%;
    height: 100%;
}
.question_wrap .question_item {
    position: absolute;
    width: 800px;
    left: 0;
    right: 0;
    top: 50%;
    margin: -220px auto 0;
    padding: 80px 40px;
    background-color: rgba(255,255,255,0.6);
    border-radius: 20px;
    text-align: center;
}

.wide_box {
    position: relative;
    padding: 60px 0 350px;
    background: url(../img/bg_sky.jpg) no-repeat;
    background-size: cover;
    min-height: 100vh;
}
.wide_box .boat_position {
    width: 100%;
}
.wide_box .boat_position img {
    width: 100%;
}
.wide_box .white_box {
    width: 100%;
    max-width: 800px;
    padding: 50px 30px 70px;
    background-color: rgba(255,255,255,0.7);
    text-align: center;
    box-sizing: border-box;
    margin: 0 auto 150px;
    border-radius: 30px;
}
/*（Complete）最後の画面****************************/
.complete_box .white_box b {
    display: block;
    margin-bottom: 0.8em;
    font-family: kozuka-mincho-pro, serif;
    font-weight: 700;
    font-style: normal;
    font-size: 3rem;
}
.complete_box .white_box b.red {
    font-size: 3rem;
    color: #e94040;
}
.complete_box .white_box p {
    font-family: kozuka-mincho-pro, serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1.8rem;
    line-height: 2.1;
}
.complete_box .white_box p img {
  margin-top: 30px;
}

.wide_box .boat_position {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
}
.complete_box .btn_complete a {
  display: inline-block;
  margin-top: 30px;
  padding: 10px 20px;
  background: linear-gradient(#c1d68e 0%, #93c324 100%);
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.28);
  border-radius: 5px;
  font-size: 2.8rem;
  color: #fff;
}
.complete_box .btn_complete02 a {
  display: inline-block;
  margin-top: 30px;
  padding: 10px 20px;
  background: linear-gradient(#aed4f1 0%, #36709c 100%);
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.28);
  border-radius: 5px;
  font-size: 2.8rem;
  color: #fff;
}

/*（First）最初の画面****************************/
.first_box .white_box {
    text-align: left;
}
.first_box .white_box ul li {
    margin-bottom: 1.2em;
    list-style: none;
    font-size: 1.6rem;
    line-height: 1.8;
    text-indent: -1em;
    padding-left: 1em;
}

.first_box .white_box .center {
    margin-top: 70px;
    text-align: center;
}
.first_box .white_box .center b {
    display: block;
    margin-bottom: 1em;
    font-size: 2.5rem;
}
.question_wrap .first_box .btn_answer input[type=submit]:last-child,
.question_wrap .first_box .btn_answer input[type=button]:last-child {
    font-size: 2.8rem;
}
.first_box .white_box .center p {
  margin-top: 50px;
}

.save_hash_memo {
  float: right;
  margin-right: 20px;
  /* font-size: 1.2rem; */
}
.boss-form label {
  font-size: 1.6rem;
}

.qrcode {
  margin: auto;
  width: 160px;
  padding: 30px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.time_bar_wrap {
  overflow: hidden;
  width: 100%;
}

/*=============================================*/
/*media query   Tablet*/
/*=============================================*/
@media screen and (max-width: 1024px) {
    .complete_box .white_box {
        width: 95%;
        max-width: 100%;
    }

    .complete_box .white_box b {
        font-size: 3.7rem;
        font-size: 4.5vw;
    }
    .complete_box .white_box p {
        font-size: 2.5rem;
        font-size: 2.3vw;
    }

}

@media (max-width: 896px) {
  .question_wrap .question_item {
    position: absolute;
    width: 100%;
    margin-left: 0;
    left: 0;
    box-sizing: border-box;
  }
  #question_wrap02 .question_area {
    width: 100%;
    height: 200%;
  }
  .question_wrap .question_time {
    top: 15px;
    right: 15px;
    font-size: 1.4rem;
  }
  .question_wrap .question_time span {
    width: 50px;
    height: 50px;
    margin: 5px auto 0;
    padding: 10px;
    border-radius: 50%;
    /* border: 1px solid #000; */
    border: none;
    box-shadow: 0 0 5px #ffac3d;
    font-size: 2rem;
  }
  .time_bar {
    bottom: -65px;
  }
  .time_bar span .img_ship {
    width: 40px;
    height: 55px;
    -webkit-background-size: 40px;
    background-size: 40px;
  }
  .img_goal {
    bottom: -18px;
  }

}

.alert-success {
  background-color: #ffac3d !important;
  border-color: #ffac3d !important;
}
.boss_table {
  position: relative;
  width: 310px;
}
.boss_table td {
  padding: 0 5px;
  margin-bottom: 0;
  border: 1px solid #333;
  text-align: center;
  vertical-align: middle;
  line-height: .2;
}
.table_top,
.table_bottom {
  width: 310px;
  margin: 0 0 0 11px;
  text-align: center;
}
.boss_table::before {
  content: "感情";
  position: absolute;
  width: 15px;
  left: -20px;
  top: 50%;
  margin-top: -28px;
}
.boss_table::after {
  content: "合理";
  position: absolute;
  width: 15px;
  right: -20px;
  top: 50%;
  margin-top: -28px;
}
.td_ruler {
  border: none !important;
  line-height: 1.3 !important;
}
.bg_red {
  background: #f7cdcd;
}
.bg_blue td:not(:first-child) {
  background: #cad2f6;
}
.pagination .acrive a {
 background: #e4e7f6;
}
.skin-green .pagination .acrive a {
  background: #e0f6ec;
}
.admin_link {
  background: #222d32;
}
.admin_link:hover {
  background: #404649;
}

@media screen and (max-width: 768px) {
  .wide_box {
    padding: 60px 10px 100px;
  }
  .wide_box .white_box {
    padding: 30px 15px 40px;
  }
  .question_wrap .first_box .btn_answer input[type=submit]:last-child,
  .question_wrap .first_box .btn_answer input[type=button]:last-child {
    font-size: 1.8rem;
  }
  #question_wrap02 .question_area {
    height: 100%;
  }
  .question_wrap .question_item {
    width: 96%;
    top: 63%;
    left: 2%;
    padding: 40px;
  }
  .question_wrap .btn_answer input[type=submit],
  .question_wrap .btn_answer input[type=button] {
    width: 80px;
    height: 80px;
    font-size: 2.2rem;
  }

}

@media screen and (max-width: 480px) {
  .question_wrap .question_item {
    top: 43%;
  }
}
@media screen and (max-width: 375px) {
  .question_wrap .question_item {
    top: 48%;
  }
}

.lightbox {
  display: none;
}

.bg-yellow {
  background: #fcfcd4 !important;
  color: #000 !important;
}
/* .bg-yellow input {
  color: #000;
} */
