@charset "utf-8";

/* 型式承認ステータス確認
----------------------------------------------------------------------------- */
/* 検索フォーム */
.search-header{
    margin-bottom: 50px;
}
.search-header-tab{

}
.search-header-tab ul{
    display: flex;
}
.search-header-tab ul li{
    width: calc( 50% - 15px );
}
.search-header-tab ul li:first-child{
    margin-right: 30px;
}
.search-header-tab ul li a{
    display: block;
    text-decoration: none;
    text-align: center;
    padding: 14px 0;
    color:#0168B7;
    background-color: #EDF1F4;
    font-size:22px;
    font-weight: bold;
    border-radius: 15px 15px 0 0;
}
.search-header-tab ul li.is-current a{
    pointer-events: none;
    color: #fff;
    background-color: #0168B7;
}

.search-header-main{
    border: 5px solid #0168B7;
    padding: 50px;
}

.search-header-main .tab--input-item{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
}
.search-header-main .tab--input-item select,
.search-header-main .tab--input-item input{

    max-width:150px;
    margin: 0 7.5px;
}

.search-header-main .tab-item-attention-text{
    margin-bottom: 20px;
    text-align: right;
    font-size: 16px;
}

.search-header-main .tab-item-example{
    background-color: #EDF1F4;
    padding: 20px;
    margin-bottom: 20px;
}
.search-header-main .tab-item-example > p{
    margin-bottom: 20px;
    text-align: center;
}

.search-header-main .tab-item-example-flex{
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}
.search-header-main .tab-item-example-flex img{
    height: auto;
    width:150px;
    margin: 0 10px;
}
.search-header-main .tab-item-example-text span{
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 0 10px;
    border-radius: 5px;
    display: inline-block;
    width:80px;
    height:40px;
    vertical-align: middle;
    line-height: 40px;
}

.search-header-main .btns button{
    display: block;
    background-color: #233479;
    color: #fff;
    text-align: center;
    background-image: url("../images/search_arr.png");
    background-repeat: no-repeat;
    background-size:37px 37px;
    background-position: center right 20px;
    margin: 0 auto;
    width:250px;
    height:60px;
    border-radius: 10px;
    font-size: 20px;
    font-weight: bold;
    border: none;
    letter-spacing: 0.8em;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all  0.3s ease;
}
.search-header-main .btns button:hover{
    background-color: #0168B7;
    background-position: center right 15px;
}

.search-header-main .notice--search{
    text-align: center;
    margin-top: 20px;

}
@media screen and (max-width:768px){

    .search-header-tab ul li{
        width: calc( 50% - 5px );
    }
    .search-header-tab ul li:first-child{
        margin-right: 10px;
    }
    .search-header-tab ul li a{
        padding: 5px 0;
        font-size:14px;
        font-weight: bold;
        border-radius: 10px 10px 0 0;
    }
    .search-header-tab ul li.is-current a{
        pointer-events: none;
        color: #fff;
        background-color: #0168B7;
    }
    .search-header-main{
        padding: 15px;
    }

    .search-header-main .tab--input-item{
        margin-bottom: 10px;
        flex-wrap: wrap;
    }
    .search-header-main .tab--input-item select,
    .search-header-main .tab--input-item input{
        margin: 0 5px;
    }
    .search-header-main .tab--input-item select{
        max-width: 100%;
        width:100%;
        margin-bottom: 10px;
    }
    .search-header-main .tab--input-item input{
        max-width:20%;
    }

    .search-header-main .tab-item-attention-text{
        margin-bottom: 10px;
        font-size: 13px;
    }

    .search-header-main .tab-item-example{
        padding: 10px;
    }
    .search-header-main .tab-item-example > p{
        margin-bottom: 10px;
        font-size:14px;
    }

    .search-header-main .tab-item-example-flex{
        display: block;
        margin-bottom: 15px;
        text-align: center;
    }
    .search-header-main .tab-item-example-flex img{
        height: auto;
        width:150px;
        margin: 0 auto 10px;
    }
    .search-header-main .tab-item-example-text{
        font-size:13px;
    }
    .search-header-main .tab-item-example-text span{
        padding: 0 5px;
        width:50px;
        height:30px;
        line-height: 30px;
    }

    .search-header-main .btns button{
        width:100%;
        font-size: 18px;
    }

    .search-header-main .notice--search{
        font-size:12px;

    }
}

/* ステータス確認結果 */
.search-result{

}
.search-result .result-lead-text-01{
    background-color: #EDF1F4;
    padding: 20px;
    text-align: center;
    border-radius: 20px;
    margin-bottom: 30px;
    font-size:25px;
}
.search-result .result-lead-text-01 span{
    font-weight: bold;
}
.search-result .result-lead-text-01 span:nth-child(2){
    color: #C22D26;
}

.search-result .digestive-organ-detail{
    width:100%;
}
.search-result .digestive-organ-detail tbody tr{
    border-bottom: 10px solid #fff;
}

@media screen and (max-width:768px){
  display: grid;
  gap: 30px;
  grid-template-columns: 150px 350px 100px 1fr;
}

.search-result .digestive-organ-detail tbody th{
    background-color: #EDF1F4;
    font-weight: bold;
    padding: 18px;
    vertical-align: middle;
    white-space: nowrap;
}
.search-result .digestive-organ-detail tbody td{
    padding: 18px;
}
.search-result .digestive-organ-detail tbody td p {
  padding-bottom: 18px;
}
.search-result .digestive-organ-detail tbody td a{
    display: inline-block;
    text-decoration: none;
    background-color: #0168B7;
    color: #fff;
    vertical-align: middle;
    padding: 5px 10px;
    border-radius: 5px;
    margin-left: 10px;
}

@media screen and (max-width:768px){
    .search-result .result-lead-text-01{
        padding: 10px;
        border-radius: 10px;
        font-size:18px;
    }
    .search-result .result-lead-text-01 span{
        display: block;
    }
    .search-result .digestive-organ-detail tbody tr{
        border-bottom: 5px solid #fff;
        display: block;
        gap: 0;
    }
    .search-result .digestive-organ-detail tbody th{
        display: block;
        width:100%;
        padding: 10px;

    }
    .search-result .digestive-organ-detail tbody td{
        display: block;
        width:100%;
        padding: 10px 0;
    }
    .search-result .digestive-organ-detail tbody td a{
        padding: 3px 10px;
        margin-left:5px;
    }
}

/* 型式情報検索
----------------------------------------------------------------------------- */
/* 検索フォーム */
.search-header-main .tab__detail-search{
    width: 100%;
    margin-bottom: 20px;
}
.search-header-main .tab__detail-search th{
    font-weight: bold;
    font-size: 18px;
    text-align: left;
    padding: 10px;
    width:120px;
    white-space: nowrap;
}
.search-header-main .tab__detail-search td{
    padding: 5px 10px;
}
.search-header-main .tab__detail-search .item-checkbox{
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
}
.search-header-main .tab__detail-search .item-checkbox div{
    width: 25%;
}
@media screen and (max-width:768px){
    .tab__detail-search select{
        width:44%;
        font-size:13px;
    }
    .search-header-main .tab__detail-search{
        width: 100%;
        margin-bottom: 20px;
    }
    .search-header-main .tab__detail-search th{
        font-size: 15px;
        display: block;
        width:100%;
        padding: 0 0 10px;
    }
    .search-header-main .tab__detail-search td{
        padding: 0 0 20px;
        display: block;
        width: 100%;
        font-size:14px;
    }
    .search-header-main .tab__detail-search .item-checkbox div{
        width: 50%;
    }
}

/* 詳細検索結果一覧 */
.search-result .result-lead-text-02{
    text-align: center;
    margin-bottom: 15px;
    font-size: 18px;
}
.search-result .result-lead-text-02 span{
    font-size: 25px;
    display: inline-block;
    padding: 0 5px;
}
.search-result .result-lead-text-03{
    font-size:14px;
    margin-bottom: 30px;
}
.search-result .table-scroll {
    overflow-x: scroll;
}
.search-result .detailed_search_result_table{
    width: 100%;
    margin-bottom: 30px;
    white-space: nowrap;
}
.search-result .detailed_search_result_table thead tr th{
    color: #fff;
    text-align: center;
    background-color: #233479;
    font-size: 16px;
    font-weight: bold;
    white-space: nowrap;
    padding: 20px 10px;
}
@media screen and (min-width:769px){
  .search-result .detailed_search_result_table thead tr th:nth-child(1),
  .search-result .detailed_search_result_table tbody tr td:nth-child(1) {
    width: 8%;
    max-width: 80px;
  }

  .search-result .detailed_search_result_table thead tr th:nth-child(2),
  .search-result .detailed_search_result_table tbody tr td:nth-child(2) {
    width: 16%;
    max-width: 160px;
  }

  .search-result .detailed_search_result_table thead tr th:nth-child(3),
  .search-result .detailed_search_result_table tbody tr td:nth-child(3) {
    width: 12%;
    max-width: 120px;
  }

  .search-result .detailed_search_result_table thead tr th:nth-child(4),
  .search-result .detailed_search_result_table tbody tr td:nth-child(4) {
    width: 18%;
    max-width: 180px;
  }

  .search-result .detailed_search_result_table thead tr th:nth-child(5),
  .search-result .detailed_search_result_table tbody tr td:nth-child(5) {
    width: 30%;
    max-width: 300px;
  }

  .search-result .detailed_search_result_table thead tr th:nth-child(6),
  .search-result .detailed_search_result_table tbody tr td:nth-child(6) {
    width: 16%;
    max-width: 160px;
  }
  .search-result .detailed_search_result_table tbody tr td{
    white-space: normal;
    word-break : break-all;
  }
}

.search-result .detailed_search_result_table tbody tr{
    border-bottom: 1px solid #CAD1DB;
}
.search-result .detailed_search_result_table tbody tr:hover{
    background-color: #EDF1F4;
}
.search-result .detailed_search_result_table tbody tr td{
    padding: 10px;
    vertical-align: middle;
}
.search-result .detailed_search_result_table tbody tr td:first-child{
    text-align: center;
}
span.expired{
    color: #C22D26;
    font-weight: bold;
}

.search-result .detailed_search_result_table td.storage {
    display: none;
}
@media screen and (max-width:768px){
    .search-result .result-lead-text-02{
        font-size: 16px;
    }
    .search-result .result-lead-text-02 span{
        font-size: 20px;
    }
    .search-result .result-lead-text-03{
        font-size:13px;
        margin-bottom: 20px;
    }
    .search-result .table-scroll {
        overflow-x: scroll;
    }
    .search-result .detailed_search_result_table {
        table-layout: fixed;
    }
    .search-result .detailed_search_result_table thead tr th{
        font-size: 15px;
        padding: 10px;
        text-align: left;
    }

    .search-result .detailed_search_result_table tbody tr td{
        padding: 5px;
        font-size:14px;
    }

    .search-result .detailed_search_result_table thead tr th:nth-child(1),
    .search-result .detailed_search_result_table tbody tr td:nth-child(1) {
      width: 80px;
    }

    .search-result .detailed_search_result_table thead tr th:nth-child(2),
    .search-result .detailed_search_result_table tbody tr td:nth-child(2) {
      width: 200px;
    }

    .search-result .detailed_search_result_table thead tr th:nth-child(3),
    .search-result .detailed_search_result_table tbody tr td:nth-child(3) {
      width: 200px;
    }

    .search-result .detailed_search_result_table thead tr th:nth-child(4),
    .search-result .detailed_search_result_table tbody tr td:nth-child(4) {
      width: 240px;
    }

    .search-result .detailed_search_result_table thead tr th:nth-child(5),
    .search-result .detailed_search_result_table tbody tr td:nth-child(5) {
      width: 360px;
    }

    .search-result .detailed_search_result_table thead tr th:nth-child(6),
    .search-result .detailed_search_result_table tbody tr td:nth-child(6) {
      width: 240px;
    }
    /*
    .search-result .detailed_search_result_table thead tr th:nth-child(5),
    .search-result .detailed_search_result_table tbody tr td:nth-child(5) {
        width: 200px;
        max-width: 20rem;
        white-space: wrap;
        word-break : break-all;
      width: 150px;  !* 任意の固定幅 *!
      word-wrap: break-word; !* 長い単語の途中で改行 *!
      white-space: normal; !* テキストを折り返す *!
      overflow-wrap: break-word;
    }
    */
    .search-result .detailed_search_result_table tbody tr td {
      word-wrap: break-word;
      white-space: normal;
      overflow-wrap: break-word;
    }
}

/* ページネーション */

.pagenation{
    display: flex;
    justify-content: center;
    align-items: center;
}
.pagenation li{
    margin: 0 5px;
}
.pagenation li a{
    text-decoration: none;
    background-color: #EDF1F4;
    min-width:30px;
    display: inline-block;
    text-align: center;
    padding: 5px 0;
    border-radius: 5px;
}
.pagenation li a:hover,
.pagenation li.is-current a{
    background-color: #0168B7;
    color: #fff;
}

/* モーダルウィンドウ */
#modal.active {
    display: block;
}
#modal {
    display: none;
    width: 100%;
    height: 100%;
    background-color: rgba(51, 51, 51, .3);
    z-index: 99999;
}
#modal, #modal>.modal--content {
    position: fixed;
    margin: auto;
    top: 0;
    left: 0;
}
#modal>.modal--content {
    width: 80%;
    height: 80%;
    padding: 50px;
    bottom: 0;
    right: 0;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 6px 6px 10px 0 rgba(51, 51, 51, .2);
    overflow: scroll;
}
#modal, #modal>.modal--content {
    position: fixed;
    margin: auto;
    top: 0;
    left: 0;
}
#modal>.modal--content>.modal--content--detail {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 50%;
}

#modal>.modal--content .tbl-normal{
    font-size: 14px;
}
#modal>.modal--content .tbl-normal th{
    white-space: nowrap;
}
#modal>.modal--content .tbl-normal table tbody th,
#modal>.modal--content .tbl-normal table tbody td {
    padding: 15px 10px;
}
#modal>.modal--content .tbl-normal .btn--pdf{
    display: inline-block;
    text-decoration: none;
    background-color: #0168B7;
    color: #fff;
    vertical-align: middle;
    padding: 5px 10px;
    border-radius: 5px;
    margin-left: 10px;
}


#modal>.modal--content>.modal--content--btns {
    padding: 40px;
    text-align: center;
    width:100%;
}

#modal>.modal--content>.modal--content--btns button{
    display: block;
    background-color: #233479;
    color: #fff;
    text-align: center;
    margin: 0 auto;
    width:200px;
    height:50px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
    border: none;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all  0.3s ease;
}
#modal>.modal--content>.modal--content--btns button:hover{
    background-color: #0168B7;
}

@media screen and (max-width:768px){

    #modal>.modal--content {
        padding: 20px;
    }
    #modal>.modal--content>.modal--content--detail {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        width: 50%;
    }

    #modal>.modal--content .tbl-normal{
        font-size: 13px;
    }
    #modal>.modal--content .tbl-normal table{
        border: none;
    }
    #modal>.modal--content .tbl-normal table tbody th,
    #modal>.modal--content .tbl-normal table tbody td {
        padding: 5px 0;
        display: block;
        width: 100%;
        border: none;
        font-size: 13px;
    }
    #modal>.modal--content .tbl-normal .btn--pdf{
        padding: 0 10px;
        border-radius: 5px;
        margin-left: 5px;
        vertical-align: middle;
    }

    #modal>.modal--content>.modal--content--btns {
        padding: 15px;
    }

}

.is_sp {
  display: none;
}
@media screen and (max-width:768px){
  .is_sp {
    display: inline-block;
  }
}

.detail-notice {
  color: #333;
  font-size: 0.8rem;
}
