/* ポップアップ */

.modal_popup{
  display: none;
  height: 100vh;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999999;
}

.close-btn{
  text-align: right;
  text-decoration: none;
  font-size: 1.8rem;
  color: #666;
}

.modal-bg{
  background: rgba(0,0,0,0.8);
  height: 100vh;
  position: absolute;
  width: 100%;
}

.modal-box{
  background: #fff;
  left: 50%;
  padding: 16px;
  position: absolute;
  top: 50%;
  transform: translate(-50%,-50%);
  width: 65%;
}


#modal_popup {
  position: fixed;
  font-family: Arial, Helvetica, sans-serif;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 99999;
  height: 100%;
  width: 100%; 
}

.modalconent {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  width: 80%;
  padding: 20px;
  height: 100%;
  overflow: scroll;
}

.poptxt{
  width: 20%;
}

.poptitle{
  position: relative;
  margin-bottom: 15px;
  padding-left: 0px;
}

.poptext{
  font-size:16px;
}



/* ラジオ、チェック用CSS */

/* チェックボックス全体 */
.checknox-wrap {
  display: block;
  position: relative;
  padding-left: 30px;
  padding-right: 15px;
  margin-bottom: 10px;
  cursor: pointer;
  font-size: 14px;
  user-select: none;
}

/* デフォルトチェックボックス非表示 */
.checknox-wrap input {
  display: none;
}

/* チェックボックスのスタイル */
.checknox-wrap .checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 20px;
  width: 20px;
  border: 2px solid #999999;
  box-sizing: border-box;
  border-radius: 4px;
}

/* チェックマーク作成 */
.checknox-wrap .checkmark:after {
  content: "";
  position: absolute;
  display: none;
  left: 4px;
  top: 0px;
  width: 5px;
  height: 10px;
  border: 2px solid #FFF;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* チェック時のスタイル */
.checknox-wrap input:checked + .checkmark {
  background-color: #0070bd;
  border: 2px solid #0070bd;
}

/* チェック時 チェックマーク表示 */
.checknox-wrap input:checked + .checkmark:after {
  display: block;
}


label {
  display: block;
}
input[type="radio"] {
  appearance: none;
  display: none;
  opacity: 0;
  width: 1px;
  position: absolute;
  height: 1px;
}
input[type="radio"] + span {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  cursor: pointer;
  padding: 10px 11px 8px 36px;
  border-radius: 4px;
  font-weight: 500;
  font-size: 14px;
}
input[type="radio"] + span::before,
input[type="radio"] + span::after {
  position: absolute;
  content: "";
  display: block;
  border-radius: 50%;
  top: 0;
  bottom: 0;
  margin: auto 10px auto 0;
  box-sizing: border-box;
}
input[type="radio"] + span::before {
  width: 20px;
  height: 20px;
  background: #fff;
  border: 2px solid #999999;
  left: 9px;
}
input[type="radio"] + span::after {
  width: 10px;
  height: 10px;
  background: #999999;
  left: 14px;
  opacity: 0;
}
input[type="radio"]:checked + span::before {
  border: 2px solid #0070bd;
}
input[type="radio"]:checked + span::after {
  background: #0070bd;
  opacity: 1;
}

@media (max-width: 650px) {
  input[type="radio"] + span {
    padding: 10px 11px 8px 36px;
  }
}

.modalconent {
  background-color: rgb(247, 244, 244);
  border-radius: 8px;
}
.pop-content-inner {
  margin: 0 10px;
  padding: 10px 0;
}
.pop-title {
  border-radius: 8px;
  padding: 15px;
  margin-bottom:15px;
}

.pop-Qes {
  background-color: #fff;
  border: 1px solid #dadce0;
  border-radius: 8px;
  padding: 15px;
  margin-bottom:15px;
}

.pop-confirm {
  background-color: #fff;
  border: 0px;
  border-radius: 8px;
  padding: 15px;
  align: center
}

.pop-result {
  background-color: #fff;
  border: 1px solid #dadce0;
  border-radius: 8px;
  padding: 15px;
  margin-bottom:15px;
  padding-bottom: 300px;
}
.pop-line{
  border-top: 1px solid #dadce0;
  left: 0;
  width: 100%;
  margin: 10px 0px;
}
.pop-buttont {
  background-color: rgb(88, 42, 41);
  border-radius: 8px;
  padding:5px 10px;
  margin-right:15px;
}
.pop-buttont > span{
  color: white;
}

.pupup-hide{
  display: none !important;
}

.popup-btn-lyt {
  text-align: center;
}

.pupup-btn {
  margin-right: 10px;
}

/*------------------------------------bar graph------------------------------------*/
.bar-graph-wrap {
  position: relative;
  //height: 300px;
}
.bar-graph-wrap .graph {
  //height: 50px;
  position: absolute;
  left: 0;
  border-radius: 4px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  padding: 10px;
}
.bar-graph-wrap .graph span {
  font-size: 16px;
  font-weight: bolder;
  font-family: meiryo;
  color: white;
}
@media screen and (max-width: 750px) {
  .bar-graph-wrap .graph span {
    font-size: 12px;
  }
}

//.bar-graph-wrap .graph.one {
//  //top: 0;
//  background: #6bb6ff;
//  width: 35%;
//}

//.bar-graph-wrap .graph.two {
//  top: 18%;
//  //bottom: 0;
//  //margin: auto;
//  background: #a9d8ff;
//  width: 45%;
//}

//.bar-graph-wrap .graph.three {
//  bottom: 10%;
//  background: #c8e4ff;
//  width: 20%;
//}

.bar-graph-wrap .graph.four {
  top: 30%;
  //bottom: 0;
  //margin: auto;
  background: #6bb6ff;
  width: 75%;
}

.bar-graph-wrap .graph.five {
  top: 40%;
  background: #a9d8ff;
  width: 64%;
}

.bar-graph-wrap .graph.six {
  top: 50%;
  //bottom: 10%;
  background: #c8e4ff;
  width: 23%;
}

.bar-graph-wrap .graph.seven {
  top: 60%;
  background: #a9d8ff;
  width: 35%;
}

.bar-graph-wrap .graph.eight {
  top: 70%;
  //bottom: 0;
  //margin: auto;  
  background: #6bb6ff;
  width: 45%;
}

.bar-graph-wrap .graph.nine {
  top: 80%;
  background: #c8e4ff;
  width: 20%;
}

@keyframes graphAnim {
  0% {
    -webkit-transform: translateX(-100%);
            transform: translateX(-100%);
  }
  100% {
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
}


._mt20{
  margin-top: 20px !important;
}




/************************************
** 比較棒グラフ
************************************/
.ub-bar-graph{
  //margin:0 auto 2rem !important;
  //padding:2em !important;
  //background:#fafafa;
  //box-shadow: 0 3px 5px rgba(0,0,0,.07);
  //color: #333;
}
.ub-bar-graph__title{
  letter-spacing: 1.5px !important;
  line-height:1.8 !important;
  font-size: 1em  !important;
  margin: 0 auto 2.5em !important;
  padding: 5px 0 !important;
  border-bottom: 1px dashed #aaa;
  text-align:center;
  font-weight:600 !important;
}
.ub-bar-graph dl > div{
  margin: 0 auto 3.3em !important;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  height: 35px;
  font-size: 0.9rem;
  position:relative;
  //box-shadow: 0 3px 5px rgba(0,0,0,.03);
  //pargin-bottom: 10px;
}
.ub-bar-graph dl > div:last-child{
  margin: 0 !important;
}
.ub-bar-graph dl > div dt{
  background:#a9d8ff;
  border-right: 2px solid #fff;
  border-radius: 4px;
}
.ub-bar-graph dl > div .ub-bar-graph__em{
  background:#6bb6ff;
  border-radius: 4px;
}
.ub-bar-graph dl > div dd{
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex:1;
  margin:0 !important;
  font-size:1em;
  background:#fff;
}
.ub-bar-graph dl > div dt > span,.ub-bar-graph dl > div dd > span{
  position:absolute;
  z-index: 1;
  color:#333;
  font-size: 16px;
  line-height: 1.5;
}
.ub-bar-graph dl > div dt > .ub-bar-graph__content{
  left:0px;
  top:-20px;
}
.ub-bar-graph dl > div dd >  .ub-bar-graph__value{
  right:5px;
  top:5px;
}
@media screen and (max-width: 560px) {
  .ub-bar-graph{
    padding:2em 1em !important;
  }
  .ub-bar-graph dl > div{
    margin: 0 auto 2em !important;
  }
}