@charset "utf-8";

/*==================================================================
pagestyle-emergency.css
==================================================================*/

/* ------------------------------------------
emergency 
----------------------------------------- */

/* --------------------
wrap_emergency
-------------------- */

#wrap_emergency{
  overflow: hidden;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}
#emergency{
  top: 40px;
  right: calc( -100% + 60px );
  bottom: 40px;
  width: calc( 100% - 60px );
  height: calc( 100% -60px );
  transition: .3s;
  position: fixed;
  z-index: -9;
  background-color: #ffffff;
  box-shadow: 0 0 10px #000;
}
#emergency.is-active{
  transition: .3s;
  right: 30px;
  z-index: 9999999;
}
@media (min-width: 1280px) {
  #emergency{
    top: 6.5%;
    right: -87%;
    bottom: 6.5%;
    width: 87%;
    display: flex;
  }
  #emergency.is-active{
    transition: .5s;
    right: 6.5%;
  }
}

/* --------------------
logo
-------------------- */

#wrap_logo{
  background-image: url(../images/bg_logo_topindex.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  height: 240px;
}
#inner_wrap_logo{
  text-align: center;
  padding: 50px 20px;
}
@media (min-width: 768px) {
  #wrap_logo{
    height: 300px;
  }
  #inner_wrap_logo{
    padding: 80px 20px;
  }
}
@media (max-width: 1279px) {
  #emergency_sitelogo{
    width: 150px;
    margin: 0 auto 20px;
  }
}
@media (min-width: 1280px) {
  #wrap_logo{
    height: 100%;
    width: 58%;
  }
  #inner_wrap_logo{
    position: absolute;
    width: 310px;
    left: 50%;
    top: 50%;
    margin-top: -105px;
    margin-left: -155px;
    padding: unset;
  }
}

/* --------------------
content_emergency
-------------------- */

#wrap_information{
  height: calc( 100% - 240px );
  overflow-y: scroll;
}
#inner_content_emergency{
  padding: 30px 20px 10px;
  text-align: center;
}
#title_emergencybox{
  background-image:  url(../images/bg_title_emergency.png);
  background-repeat: no-repeat;
  background-position: left center;
  padding-right: 25px;
  padding-left: 40px;
  display: inline-block;
  margin: 0 auto;
  font-size: 165%;
  text-align: center;
  margin-bottom: 15px;
  color: #a90000;
}
#title_emergencybox span{
  display: inline-block;
  margin: 0 auto;
  background-image:  url(../images/bg_title_emergency02.png);
  background-repeat: no-repeat;
  background-position: bottom center;
  padding: 5px 0;
}

/* ----------------------
trigger close
--------------------- */

#trigger_close_emergency{
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  cursor: pointer;
  background: rgba(51,51,51,.75);
  border: none;
  padding: 40px 15px 10px;
}
#txt_close_emergency{
  font-size: 75%;
  color: #ffffff;
}
#btn_close_emergency_line {
  display: block;
  height: 2px;
  position: absolute;
  top: 19px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  background-color: transparent;
  transition: 0.4s;
}
#btn_close_emergency_line:before,
#btn_close_emergency_line:after {
  content: "";
  display: block;
  height: 100%;
  position: absolute;
  width: 100%;
  transition: inherit;
  background-color: #ffffff;
}
#btn_close_emergency_line:before {
  top: 5px;
  transform: rotate(45deg);
}
#btn_close_emergency_line:after {
  top: 5px;
  transform: rotate(-45deg);
}
#bg_emergency.is-active{
  opacity: 1;
  transition: .7s;
  z-index: 9999998;
  visibility: visible;
}
#bg_emergency{
  opacity: 0;
  visibility: hidden;
  transition: .7s;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -9;
  background-color: rgba(0,0,0,0.75);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
#list_content_emergency{
  margin-bottom: 40px;
  text-align: left;
}
#list_content_emergency li{
  border-bottom: 1px solid #DEDEDE;
  padding: 5px;
}
.date_emergency{
  display: block;
}
#link_emergencybox li a{
  display: block;
  border: 1px solid #D90000;
  margin-bottom: 15px;
  padding: 15px 10px;
  color: #D90000;
  text-align: left;
  transition: .3s
}
#link_emergencybox li a:hover{
  border: 1px solid #FF0000;
  color: #FF0000;
  background-color: #ffe4e4;
  transition: .3s;
}
.inner_link_em02{
  display: block;
  padding-right: 20px;
  background-image:  url(../images/icon_arrow_emergencybox.png);
  background-repeat: no-repeat;
  background-position: right center;
}
.inner_link_em01{
  display: block;
  padding-left: 50px;
  background-repeat: no-repeat;
  background-position: left center;
}
#link_emergencybox01 .inner_link_em01{ background-image:  url(../images/bg_emergencybox_01.png);}
#link_emergencybox02 .inner_link_em01{ background-image:  url(../images/bg_emergencybox_02.png);}
#link_emergencybox03 .inner_link_em01{ background-image:  url(../images/bg_emergencybox_03.png);}
#link_emergencybox04 .inner_link_em01{ background-image:  url(../images/bg_emergencybox_04.png);}
#emergency_searchform .outerbox_form-el{
  max-width: 320px;
  margin: 0 auto;
}

@media (min-width: 500px)  {
  .date_emergency{
    display: inline-block;
  }
  #link_emergencybox{
    display: flex;
    flex-wrap: wrap;
    justify-content:space-between;
    align-items:center;
  }
  #link_emergencybox li{
    width: 49%;
  }
}
@media (min-width: 500px) and (max-width: 1279px) {
  #emergency{
    max-width: 480px;
  }
  #emergency.is-active{
    right: 50%;
    margin-right: -240px;
  }
}
@media (min-width: 768px) {
  #wrap_information{
    height: calc( 100% - 300px );
  }
}
@media (min-width: 1280px) {
  #wrap_information{
    height: 100%;
    width: 70%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
  }
  #content_emergency{
    width: 100%;
  }
  #inner_content_emergency{
    padding: 30px 50px 10px;
    text-align: center;
  }
  #list_content_emergency{
    margin-bottom: 40px;
    height: 250px;
    overflow-y: scroll;
  }
  #list_content_emergency li{
    padding: 4px 0;
    text-align: left;
  }
  #list_content_emergency li a{
    display: block;
  }
}
