@charset "utf-8";

/* .result_table 
-----------------------------------------*/
.add_txt {
  display: none;
  text-align: left;
  margin: 35px auto 10px;
}
.top_scroll {
  overflow-x: scroll;
  overflow-y: hidden;
  height: 17px;
  background: #fff;
  z-index: 3;
}
.top_scroll .wrap {
  height: 17px;
}
.scroll.top_scroll {
  width: calc(100% - 30px);
  position: fixed;
  top: 0;
  max-width: 980px;
}
#resultbox {
  position: relative;
}
.result_table {
  overflow: auto;
  width: 100%;
  height: 100%;
  overflow-x: scroll;
  z-index: 2;
}
.result_table table {
  border-left: solid 1px #aaa;
  overflow-y: scroll;
  overflow-x: scroll;
  background: #FFF;
  word-break: normal;
  table-layout: fixed;
  width: 100%;
}
.result_table table th, .result_table table td {
  border-bottom: solid 1px #aaa;
  border-right: solid 1px #aaa;
  padding: 7px;
  word-break: normal;
  text-align: left;
  font-size: 90%;
  width: 182px;
}
.result_table table .border_dotted th, .result_table table .border_dotted td {
  border-bottom: dotted 1px #aaa;
}
.result_table table th {
  background: #D0F2FF;
  white-space: normal;
  font-weight: normal;
  position: relative;
}
.result_table table th .remove {
  background: #002E7F;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 7px;
  margin: auto;
  cursor: pointer;
  font-weight: bold;
}
.result_table table th.bg {
  background: #E8F7FF;
}
.result_table table .even th {
  background: #E8FFEB;
}
.result_table table .even th.bg {
  background: #FAFFE8;
}
.result_table table tr:first-child th {
  text-align: center;
  padding: 12px 32px;
  border-top: solid 1px #aaa;
}
.result_table table tr:first-child th:first-child {
  width: 171px;
}
.result_table table .bold th, .result_table table .bold td {
  font-weight: bold;
}
.result_table table tr th.vertical_td {
  position: relative;
  vertical-align: middle;
  border-bottom: solid 1px #aaa;
  font-weight: normal;
  padding: 0;
}
.result_table table tr th.vertical_td .linkAnchor {
  position: absolute;
  display: block;
  top: 0;
  margin-top: -85px;
  padding-top: 85px;
}
#resultbox .result_table table tr th.vertical_td p {
  margin: 0;
  padding: 2rem 0;
  line-height: 1.2;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-flow: column;
  width: 100%;
  writing-mode: vertical-rl;
  font-weight: bold;
  letter-spacing: 0.25rem;
}
#resultbox .result_table table tr th.vertical_td p img {
  padding: 0;
}
.result_table.yoko_table table th, .result_table.yoko_table table td {
  width: 86px;
}
.result_table.yoko_table table th {
  text-align: center;
}
.result_table.yoko_table table .col_th {
  width: 1000px;
}
.result_table.yoko_table table tr:first-child th {
  padding: 7px;
}
.result_table.yoko_table table .name {
  padding: 7px 32px 7px 12px;
  text-align: left;
}
.result_table.yoko_table table .even {
  background: #E8FFEB;
}
.result_table.yoko_table table .even.bg {
  background: #FAFFE8;
}
.result_table.yoko_table table .border_dotted {
  border-right: dotted 1px #aaa;
}

/* ポップアップ
-----------------------------------------*/
.popup_wrap {
  display: flex;
}
.popupModal1 > input {
  display: none;
}
.popupModal1 > input:nth-child(1) + label {
  cursor: pointer;
  background: #fff;
  border: 1px solid #002E7F;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  color: #002E7F;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 70px;
  margin: auto;
  font-weight: bold;
}
.modalPopup2 {
  display: none;
}
.popupModal1 > input:nth-child(1):checked + label + input:nth-child(3) + label + input:nth-child(5) + label + .modalPopup2 {
  z-index: 1;
  position: absolute;
  background: #fff;
  padding: 10px;
  overflow: hidden;
  width: 200px;
  height: 60px;
  box-shadow: 2px 2px 10px 0px rgba(0, 0, 0, 0.2);
  top: 33px;
  left: 0;
  right: 0;
  margin: auto;
  display: flex;
  align-items: center;
  border: 1px solid #002E7F;
}
.popupModal1 > input:nth-child(1):checked + label + input:nth-child(3) + label + input:nth-child(5) + label + .modalPopup2 > div {
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  display: inline-block;
  width: 100%;
  height: 100%;
}
.popupModal1 > input:nth-child(1):checked + label + input:nth-child(3) + label + input:nth-child(5) + label + .modalPopup2 > div > iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}
.popupModal1 > input:nth-child(1):checked + label + input:nth-child(3) + label + input:nth-child(5) + label + .modalPopup2 > div > img {
  max-width: 100%;
}
.popupModal1 > input:nth-child(1) + label ~ label {
  display: none;
}
.popupModal1 > input:nth-child(1):checked + label + input:nth-child(3) + label + input:nth-child(5) + label {
  background: #fff;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 70px;
  margin: auto;
  cursor: pointer;
  box-shadow: 2px 2px 10px 0px rgba(0, 0, 0, 0.2);
  font-weight: bold;
}
.popupModal1 > input:nth-child(1) + label + input:nth-child(3):checked + label + input:nth-child(5) + label + .modalPopup2, .popupModal1 > input:nth-child(1) + label + input:nth-child(3) + label + input:nth-child(5):checked + label + .modalPopup2 {
  display: none;
}
.modalPopup2 {
  animation: fadeIn 0.5s ease 0s 1 normal;
  -webkit-animation: fadeIn 0.5s ease 0s 1 normal;
}
@keyframes fadeIn {
  0% {
    opacity: 0
  }
  100% {
    opacity: 1
  }
}
@-webkit-keyframes fadeIn {
  0% {
    opacity: 0
  }
  100% {
    opacity: 1
  }
}
.result_table table tr th .modalWrap {
  position: relative;
}
.popupModal2 > input:nth-child(1) + label {
  top: auto;
  bottom: -28px;
  left: 0;
  right: 0;
  margin: auto;
}
.popupModal2 > input:nth-child(1) + label {
  border: 1px solid #007F2F;
  color: #007F2F;
}
.popupModal2 > input:nth-child(1):checked + label + input:nth-child(3) + label + input:nth-child(5) + label {
  top: auto;
  bottom: -28px;
  left: 0;
  right: 0;
  margin: auto;
}
.popupModal2 > input:nth-child(1):checked + label + input:nth-child(3) + label + input:nth-child(5) + label + .modalPopup2 {
  top: 98px;
  border: 1px solid #007F2F;
}

/* タブ
-----------------------------------------*/
.tab_wrap {
  /*2022 サイト改修業務 20230323 del naigai k.m*/
  /*border-bottom: 1px solid #ccc;*/
  margin-bottom: 10px;
  font-size: 1.104em;
}
.tab {
  box-sizing: border-box;
  font-weight: bold;
  display: inline-block;
  padding: 7px 11px 7px 25px;
  width: 210px;
  margin: 0;
  cursor: pointer;
  background-color: #fff;
  border: 1px solid #cccccc;
  /*2022 サイト改修業務 20230323 del naigai k.m*/
  /*border-bottom: none;*/
  
  color: #333333;
  position: relative;
  line-height: 1.3;
}
.tab:after {
  position: absolute;
  top: .25em;
  left: 11px;
  content: '';
  width: 5px;
  height: -webkit-calc(100% - .5em);
  height: calc(100% - .5em);
  background-color: #ed6491;
}
.tab.active {
  color: #fff;
  background-color: #654622;
  border: 1px solid #654622;
  border-bottom: none;
}
/*2022年度改修業務 20230104 naigai-map k.m*/
/*.contentsBoxCNTS2B input {*/
.contentsBoxCNTS2B input[type=text],.contentsBoxCNTS2C input[type=text] {
  border: 1px solid #b9b9b9;
  height: 40px;
  margin-top: 10px;
  margin: 10px auto 0;
  padding: 0 17px;
  border-radius: 3px;
  font-size: 1em;
  box-sizing: border-box;
  width: 400px;
}

@media all and (-ms-high-contrast: none) {
  .top_scroll {
    background: none;
  }
}

@media (max-width: 768px) {
  .add_txt img {
    width: 100%;
  }
  .result_table table th, .result_table table td {
    width: 65px;
  }
  .result_table table tr:first-child th:first-child {
    width: 65px;
  }
  .result_table table tr th.vertical_td .linkAnchor {
    margin-top: -160px;
    padding-top: 160px;
  }
  .result_table table th .remove {
    width: 18px;
    height: 18px;
    right: 7px;
  }
  .result_table table th .remove img {
    width: 7px;
    height: 7px;
  }
  .result_table table tr:first-child th {
    padding: 7px 28px 7px 7px;
    text-align: left;
  }
  .result_table.yoko_table table tr:first-child th:first-child {
    width: 65px;
  }
  .result_table.yoko_table table .col_th {
    width: 800px;
  }
  .result_table.yoko_table table .name {
    padding: 7px 28px 7px 7px;
  }
  #resultbox .result_table table tr th.vertical_td p img {
    width: 13px;
  }
  
  /* ポップアップ
  -----------------------------------------*/
  .popupModal1 > input:nth-child(1) + label {
    width: 16px;
    height: 16px;
  }
  .popupModal1 > input + label img {
    width: 10px;
  }
  .popupModal1 > input:nth-child(1):checked + label + input:nth-child(3) + label + input:nth-child(5) + label + .modalPopup2 {
    width: 180px;
  }
  .popupModal1 > input:nth-child(1):checked + label + input:nth-child(3) + label + input:nth-child(5) + label {
    width: 18px;
    height: 18px;
  }
  .popupModal2 > input:nth-child(1) + label {
    left: 0;
  }
  .popupModal2 > input:nth-child(1):checked + label + input:nth-child(3) + label + input:nth-child(5) + label {
    left: 0;
  }
  
  /* タブ
  -----------------------------------------*/
  .tab_wrap {
    margin-bottom: 15px;
    font-size: 1em;
  }
  .tab {
    padding: 15px 11px 15px 25px;
    width: 50%;
    font-size: 0.9em;
  }
  .tab br {
    display:block;
  }
  .tab:after {
    top: 0;
    bottom: 0;
    margin: auto;
    left: 10px;
    width: 4px;
    height: 22px;
  }
  .contentsBoxCNTS2B input[type=text] {
    margin: 10px auto 0;
    padding: 0 17px;
    border-radius: 3px;
    font-size: 1em;
    display: block;
    width: 100%;
  }
}