@charset "utf-8";
#header-box {
    position: relative;
}
#search-button {
    position: absolute;
    right: 0px;
    bottom: 0px;
    z-index: 10;
    width:90px;
    height:90px;
    display: block;
    background-color: #003973;
    color:#fff;
    text-align: center;
    font-size:12px;
    margin-bottom: -230px;
    line-height: 1;
    font-weight: 500;
    padding-top:15px;
    transition: 0.2s;
}
#search-button:hover {
    background-color: #2584c8;
}
@media screen and (max-width:991px) {
    #search-button {
        display: none;
    }
}
#searchform #searchform_flag {
    display: none;
}
#searchform #searchText {
    background: #fff !important;
    border-radius: 3px;
    width: 380px;
    font-size: 18px;
    padding: 12px;
}
#searchform #searchButtom {
    background: #003973;
    color:#fff;
    border-radius: 3px;
    font-weight: 500;
    font-size:18px;
    border: 0px;
    padding: 13px 30px 13px;
}
.modal-wrapper {
    z-index: 999;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 40px 10px;
    text-align: center;
}
  
.modal-button {
    color: #4f96f6;
    background-color: #eeeeee;
    font-weight: bold;
    text-align: center;
    cursor :pointer;
    transition: all 0.3s;
    display: block;
    margin-top: 40px;
    margin-bottom: 1px;
    padding: 12px 2px;
    max-width:300px;
    text-decoration: none;
}
  
.modal-button:active {
  /*ボタンを押したとき*/
  -webkit-transform: translateY(2px);
  transform: translateY(2px);/*下に動く*/

}
  
.searchform_popup {
  background: #fff;
  padding: 30px 60px;
  border-radius: 3px;
}
 
/*ラベルホバー時*/
.modal-button:hover {
  color: #FFFFFF;
  background-color: #4f96f6;
  transition: .6s;
}

.modal-wrapper:not(:target) {
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s;
}

.modal-wrapper:target {
  opacity: 1;
  visibility: visible;
  transition: opacity .4s, visibility .4s;
}

.modal-wrapper::after {
  display: inline-block;
  height: 100%;
  margin-left: -.05em;
  vertical-align: middle;
  content: ""
}

.modal-wrapper .modal-window {
  box-sizing: border-box;
  display: inline-block;
  z-index: 20;
  position: relative;
  width: 700px;
  padding: 10px 30px 25px;
  border-radius: 2px;
  vertical-align: middle
}

.modal-wrapper .modal-window .modal-content {
  max-height: 80vh;
  overflow-y: auto;
  text-align: left
}

.modal_title {
  font-size: 1.5em;
    position: relative;
    overflow: hidden;
  padding: 0;
}

.modal_title::before,
.modal_title::after{
    content: "";
    position: absolute;
    bottom: 0;
}
  
.modal-content p {
  margin: 10px 0 0 0;
}

.modal-overlay {
  z-index: 10;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, .8)
}
