h1, .h1 {
  font-size: 120%;
}

body{
  position: relative;
  padding-top: 50px;
  background-color: white;
}


.page_box{
  position: relative;
  padding: 16px;
}


.page_header_box{
  position: fixed;
  left: 0;
  top: 50px;
  width: 100%;
  background-color: white;
  z-index: 2;
  padding: 0 16px 8px 16px;
}


.page_contents_box{
  padding-top: 100px;
}
.page_contents_box.issue{
  padding-top: 130px;
}
.page_contents_box.setting{
  padding-top: 140px;
}
.page_contents_box.list{
  padding-top: 150px;
}

.page_title{
  border: solid 1px lightgray;
  padding: 6px;
}


.navbar-nav > li > span {
  display: block;
  line-height: 20px;
  padding : 15px 15px;
  color:#999999;
  font-size: 90%;
}
.navbar-nav > li > a{
  font-weight: bold;
}

.inline-radio {
  display: flex;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #b6b6b6;
}
.inline-radio div {
  position: relative;
  flex: 1;
}
.inline-radio input {
  width: 100%;
  height: 30px;
  opacity: 0;
  cursor: pointer;
}
.inline-radio label {
  position: absolute;
  top: 0;
  left: 0;
  color: #b6b6b6;
  width: 100%;
  height: 100%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  border-right: 1px solid #b6b6b6;
}
.inline-radio div:last-child label {
  border-right: 0;
}
.inline-radio input:checked + label {
  background: #3F81F2;
  color: #fff;
}
.inline-radio input:checked + label {
  background: #3F81F2;
  color: #fff;
}
.inline-radio input:checked + label.negative {
  background: #B7B7B7;
  color: #6D7387;
}


.mt-1{
  margin-top: 8px;
}
.mt-2{
  margin-top: 16px;
}
.mt-3{
  margin-top: 24px;
}
.mt-4{
  margin-top: 32px;
}
.mb-1{
  margin-bottom: 8px;
}
.mb-2{
  margin-bottom: 16px;
}
.mb-3{
  margin-bottom: 24px;
}
.mb-4{
  margin-bottom: 32px;
}

.ml-1{
  margin-left: 8px;
}
.ml-2{
  margin-left: 16px;
}
.ml-3{
  margin-left: 24px;
}
.ml-4{
  margin-left: 32px;
}
.mr-1{
  margin-right: 8px;
}
.mr-2{
  margin-right: 16px;
}
.mr-3{
  margin-right: 24px;
}
.mr-4{
  margin-right: 32px;
}
.mx-1{
  margin-left: 8px;
  margin-right: 8px;
}
.mx-2{
  margin-left: 16px;
  margin-right: 16px;
}
.mx-3{
  margin-left: 24px;
  margin-right: 24px;
}
.mx-4{
  margin-left: 32px;
  margin-right: 32px;
}

.my-1{
  margin-top: 8px;
  margin-bottom: 8px;
}
.my-2{
  margin-top: 16px;
  margin-bottom: 16px;
}
.my-3{
  margin-top: 24px;
  margin-bottom: 24px;
}
.my-4{
  margin-top: 32px;
  margin-bottom: 32px;
}
.m-1{
  margin: 8px;
}
.m-2{
  margin: 16px;
}
.m-3{
  margin: 24px;
}
.m-4{
  margin: 32px;
}

.p-0{
  padding: 0 !important;
}
.p-1{
  padding: 8px !important;
}

.btn_help{
  background: white;
  border: none;
  cursor: pointer;
  font-size: 16px;
  margin-left: 16px;
  color: rgb(80, 79, 79);
  padding: 0;
  text-align: center;
  line-height: 18px;
  height: 18px;
  width: 18px;
  border-radius: 50%;
  border: solid 1px lightgray;
}

.help-tip + .tooltip .tooltip-inner {
  background-color: #FFFFFF;
  border: 2px solid #666666;
  color: black;
  text-align: left;
  font-size: 16px;
  min-width: 300px;
}

.help-tip + .tooltip.top .tooltip-arrow {
  border-top-color: #666666;
}
.search_box{
  background-color: rgb(236, 236, 236);
  padding: 8px;
}
.search_box .search_label_box{
  line-height: 34px;
}


.modal_base{
  position: fixed;
  top:0;
  left:0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 99999;

}
.modal_base .progress_box{
  position: absolute;
  margin: auto;
  width: 80px;
  height: 80px;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}
.modal_base .progress_box i{
  color:white;
}

.btn{
  border-radius: 0;
}
.btn-primary {
  background-color: #142e7a;
  border-color: #142e7a;
  color: #fff;
}
.btn-primary:hover {
  background-color: #102463;
}




/********
設定画面
*********/

.q_title{
  background: rgb(231, 231, 231);
  padding: 6px;
  margin: 8px 0;
  font-weight: bold;
}

.q_sub_title{
  border: solid 1px lightgray;
  padding: 6px;
  margin-left: 8px;
  margin-top: 16px;
}

.qs_title{
  height: 38px;
  display: table-cell;
  vertical-align: middle;
}
.qs_text{
  height: 38px;
  display: table-cell;
  vertical-align: middle;
}


.photo_box{
  display: flex;
  align-items: center;
}
.photo_box .img_box{
  height: 150px;
  width: 150px;
  min-height: 150px;
  min-width: 150px;
  background-color: lightgray;
  display: flex;
  justify-content: center;
  align-items: center;
}
.photo_box .img_box img{
  height: 100%;
  width: 100%;
  object-fit: contain;
}

.photo_box .info_box{
  height: 100px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.photo_box .name{
  width: 100%;
  word-wrap: break-word;
}

.setting_photo_appearance_error,
.setting_photo_interior_error{
  margin: 24px;
  color: red;
  display: none;
}
.setting_photo_appearance_error.show,
.setting_photo_interior_error.show{
  display: block;
}

#setting_page input[type=submit].disable{
  opacity: 0.6;
  pointer-events: none;
}

/********
新規発行
*********/



/********
QR画面
*********/

.qr_url_box{
  margin: 20px auto;
  max-width: 800px;
  text-align: center;
  display: flex;
}
.qr_url_box .qr_url{
  border: solid 1px gray;
  flex-grow: 1;
  padding: 8px;
  margin-right: 16px;
}
.qr_box{
  margin: 0 auto;
  max-width: 600px;
  text-align: center;
}

.modal_iframe{
  position: fixed;
  z-index: 9999;
  background-color: rgba(0, 0, 0, 0.5);
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-align: center;
}
.modal_iframe .iframe_box{
  position: absolute;
  top: 20px;
  left: calc(50vw - 190px);
  width: 375px;
  height: calc(100vh - 40px);
}

.modal_iframe .iframe_box.edit_box{
  left: calc(50vw - 390px);
  width: 780px;
  height: calc(100vh - 140px);
}
.modal_iframe .iframe_box.edit_box .iframe_title{
  background-color: white;
  border: solid 1px lightgray;
  height: 30px;
  line-height: 30px;
}

.modal_iframe .iframe_box button{
  position: absolute;
  top: 0;
  right:-32px;
  font-size: 20px;
  padding: 0;
  width: 30px;
  line-height: 30px;
}
.modal_iframe .iframe_box iframe{
  width: 100%;
  height: 100%;
  border: none;
}



/********
回答詳細
*********/
.collapse_btn_box{
  width: 50px;
  height: 40px;
}
.collapse_btn_box button{
  width: 44px;
  height: 40px;
  font-size: 20px;
  padding: 0;
  line-height: 40px;
}
.collapse_btn_box button::before{
  content: "−";
}
.collapse_btn_box button.collapsed::before{
  content: "＋";
}
.collapse_title_box{
  width: calc(100% - 50px);
  height: 40px;
  line-height: 40px;
}
.collapse_title_box .collapse_title{
  background-color: rgb(233, 233, 233);
  padding-left: 16px;
}

#answer_page .title{
  color: white;
  background-color: #666666;
  padding: 4px 8px;
}
#answer_page table{
  width: 100%;
}
#answer_page table th,
#answer_page table td{
  padding: 8px;
  border-bottom: solid 1px lightgray;
}
#answer_page table th{
  width: 140px;
}

#answer_page textarea{
  width: 100%;
  min-height: 200px;
}

.inline-block{
  display: inline-block;
}
.vcenter {
  display: inline-block;
  vertical-align: middle;
  float: none;
}

.different{
  background-color: rgb(255, 255, 140);
}

.different-tip + .tooltip .tooltip-inner {
  background-color: #FFFFFF;
  border: 2px solid #666666;
  color: black;
  text-align: left;
  font-size: 16px;
  min-width: 400px;
}

.different-tip + .tooltip.top .tooltip-arrow {
  border-top-color: #666666;
}


/********
分析
*********/
#chart_page .title{
  color: white;
  background-color: #818181;
  padding: 0 8px;
  height: 40px;
  font-size: 18px;
  line-height: 40px;
}



#toast-container {
  width: 90%;
}
#toast-container > div {
  width: 100%;
}

.container-fluid{

}
.container-fluid .main{
  max-width: 1024px;
  margin: 0 auto;
}

.container-fluid .page_header_box{
  max-width: 1024px;
  left: 50%;
  transform: translate(-50%, 0);
}

.chart_box{
  min-width: 992px;
}

