@charset "UTF-8";

    input, select, button, option, legend {
      font-family: "Noto Sans JP", sans-serif;
    }
    
    table {
      width: 100%;
      border-collapse: collapse;
      margin-top: 10px;
    }
    th, td {
      border: 1px solid #ccc;
      padding: 8px;
      text-align: left;
    }
    th {
      background-color: #f0f0f0;
      cursor: pointer;
      text-align: center;
      position: relative;
    }
    th .sort_icons {
      position: absolute;
      bottom: 5px;
      text-align: center;
      left: calc(50% - 14px);
    }
    input, select {
      margin-right: 10px;
      padding: 5px;
    }
    select {
      font-size: 1em;
    }
    #fyFilter {
      margin-right: 3em;
    }
    #countryRegionFilter {
      min-width: 18em;
    }
    fieldset {
      border: 1px solid #ccc;
      padding: 1em;
      margin: 1em 0;
    }

    #popup {
      position: fixed;
      top: 2.5%;
      left: 50%;
      transform: translateX(-50%);
      background: #fff;
      border: 2px solid #555;
      padding: 20px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.3);
      display: none;
      z-index: 1000;
      max-height: 95%;
      width: 95%;
      overflow-y: auto;
    }
    #overlay {
      position: fixed;
      top: 0; left: 0;
      width: 100%; height: 100%;
      background: rgba(0,0,0,0.5);
      display: none;
      z-index: 999;
    }
    #closeButton {
        background: transparent;
        border: none;
        /* padding: 5px 10px; */
        padding: 0.8em 1.5em;
        font-size: 1.1em;
        cursor: pointer;
        display: block;
        margin: 1em auto;
        border: 1px solid #ccc;
        
        position: sticky;
        bottom: 0;
        background-color: #3340C2;
        color: white;
        box-shadow: rgba(0,0,0,0.3) 0px 4px 12px;
        }

      /* #closeButtonWrap {

      } */

    ul.checklist {
      display: flex;
      gap: 0 1em;
      justify-content: space-between;
      flex-wrap: wrap;
    }
    ul.checklist li {
      width: calc(33% - 2em);
      box-sizing: border-box;
      text-indent: -1.5em;
      margin-left: 1.5em;

      line-height: 1.2;
      margin-bottom: 0.6em;

    }

    .accordion__block .accordion__ttl {
      background-color: #EEEFF6;
      padding-left: 1em;
    }

    #main .accordion__block .accordion.news_list:first-of-type .accordion__inner {
    display: none;
}

button {
    cursor: pointer;
    font-weight: bold;
    color: 333;
    border-radius: 0.5em;
    /* width: 100%; */
    font-size: 1em;
    border: 1px solid #ccc;
    margin: 1em 0;
    padding: 0.5em 2em;
    display: block;
}


.right {
  margin: 0 0 0 auto;
}

.applyFilterButton {
    display: block;
    border-radius: 10em;
    color: white;
    cursor: pointer;
    width: 350px;
    
    background: #3340C2;
    color: #ffffff;
    border: none;
    padding: 1em 2em;
    font-size: 1.3em;
    margin: 1em auto;
}

.searchboxttl {
  background-color: #6A75B7;
  color: white;
  margin:2em 0 1em 0;
  border-radius: 0%;
}

select {
    padding: 6px 24px 6px 16px;
    border-radius: 12px;
}

span.sort_asc,
span.sort_desc {
  font-size: 14px;
  color:#666666;
}

.topinfowrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1em;
}

.note {
  font-size: 0.9em;
}

.topinfowrap button {
  display: inline;
  margin-left: 1em;
}

div.notewrap {
  margin-top: 2em;
  /* background: #EBECF3; */
  border: 3px solid #EBECF3;
  padding: 1.5em;
  box-sizing: border-box;
  border-radius: 1em;
}

div.notewrap h2{
  font-size: 1.2em;
  font-weight: bold;
  margin-bottom: 0.5em;
}

div.notewrap ul li {
  text-indent: -0.5em;
  margin-left: 0.5em;
}

div.notewrap ul li#note1,
div.notewrap ul li#note2 {
  text-indent: -4em;
  margin-left: 4em;
}

#th_rep {
  min-width: 8em;
}

#loading_msg {
  box-sizing: border-box;
  position: fixed;
  left: 0;
  top: 0;
  display: none;
  width: 100vw;
  height: 100vh;
  z-index: 100000;
  background-color: #ffffffcc;
  text-align: center;
}

#loading_msg img {
  width: 60px;
  display: block;
  margin: 0 auto;
  margin-top: 10%;
}

@media only screen and (max-width: 768px) {
  #popup {
    width: 90%;
    padding: 10px;
  }

  .applyFilterButton {
    width: 100%;
    margin: 1em auto;
  }

  select {
    width: 100%;
    margin: 0.5em 0;
    box-sizing: border-box;
  }
  
  #countryRegionFilter {
    min-width: none;
  }

  #fyFilter {
    margin-right: 0;
  }

  .topinfowrap {
    display: block;
    text-align: right;
  }

  .totalnum_wrap {
    text-align: left;
  }

  ul.checklist li {
    width: 100%;
  }

  .check_buttons_wrap {
    text-align: left;
  }

  .check_buttons_wrap button {
    font-size: 0.8em;
    font-weight: normal;
    padding: 5px;
    margin-left: 0;
  }

  div.notewrap h2 {
    font-size: 1.05em;
  }

  div.notewrap {
    padding: 0.7em;
  }

}
