@charset "utf-8";
/* CSS Document */

/*  既存リセット
------------------------------------------*/
html{
/*    overflow: hidden;*/
}
body{
    margin:0;
}

#logo-main{
    margin: 0;
    float: none;
}
input {
    width: 100%;
}



/*  既存リセット　ここまで
------------------------------------------*/


/*  背景全面フォト　スライダー
------------------------------------------*/
.bg-slider {
	width: 100vw;
	height: 100vh;
	background-position:center center;
	background-size: cover;
	display: flex;
	align-items: center;
	justify-content: center;
}


/*  header
------------------------------------------*/
#home-page{
    position: relative;
}
.page-head{
    position: fixed;
    top: 0;
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.logo-main{
    order: 2;
    lex-basis: 20%;

}
.logo-main img{
    width: 192px;
}

.content-emergency{
    order: 1;
    flex-basis: 40%;
    margin: 1em 2em;
}

.content-emergency__box{
    display: flex;
}

.emergency-title{
    padding: .5em 2em;
    min-width: 108px;
    background-color: #b50005;
    color: #fff;
    font-weight: bold;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}
.emergency-body{
    padding: .5em 2em;
    background-color: #fff;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}
.content-search{
    order: 3;
    flex-basis: 40%;
    margin: 1em 2em;
    padding-left: 10%;
    text-align: right;
    position: relative;
}

.search-from{
    position: relative;
}
.search-from__icon{
    position: absolute;
    top: 9px;
    left: 10px;
    z-index: 101;
}
.search-from__input{
    display: flex;
}
.search-from .input{
/*
    position: absolute;
    top:0;
    right: 52px;
    z-index: 100;
*/
    margin: 0;
    padding: .6em 1em .4em 2em;
    border: 1px solid #ccc;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}
.search-from .button {
/*
    top: 0;
    right: 0;
*/
    flex-basis: 40px;
    margin: 0;
    padding: .6em 1em .4em;
    border: 1px solid #ccc;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    background-color: #000;
    color: #fff;
}
_:-ms-lang(x),  .search-from .button {
    flex-basis: 60px; /* Edge 対応 */
}
.search-from .button:hover {
    background-color: #333;
}


/*  page-content
------------------------------------------*/
.page-content{
    position: absolute;
    bottom: 20%;
}
.home-menu {
    display: flex;
    margin-bottom: 100px
}
.home-menu li{
/*    flex-basis: 12%;*/
    flex-basis: 142px;
}
.hm-01{
    margin: 0 0 0 20px
}
.hm-02{
    margin: 90px 0 0 0;
}
.hm-03{
    margin: 70px 0 0 0;
}
.hm-04{
    margin: 40px 0 0 0;
}
.hm-05{
    margin: 110px 0 0 0;
}


/*  footer
------------------------------------------*/
.page-footer{
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: #000;
    color: #fff;
    text-align: center;
    overflow: hidden;
}
.footer-nav{
    display: flex;
    justify-content: center;
    margin: 1em 0;
}
.footer-nav li a{
    margin: 1em 0;
    padding: 0 1em;
    color: #fff;
    text-decoration: none;
}
.footer-nav li {
    border-right: 1px solid #666;
}
.footer-nav li:last-child{
    border: none;
}
.footer-nav a:hover{
    text-decoration: underline;
}
.footer-address{
    margin: 0 0 2em;
    font-style: normal;
}
.access-link a {
    padding: .3em 1em .2em;
    border: 2px solid #fff;
    color: #fff;
    text-decoration: none;
    font-style: normal;
}
.access-link a:hover {
    background-color: #333;
}
.access-link .icon-map-marker{
    margin: 0 .5em
}
.copyright{
    padding: .5em;
    text-align: right;
}

/*----------------------------------------------------
	media query
----------------------------------------------------*/
/* smart phone
-------------------------------------------------- */
@media only screen and (max-width: 589px) {
    .page-head{
        position: absolute;
        top: 0;
        display: block;
    }
    .logo-main{
        width: 100%;
        text-align: center;
    }
    .logo-main img {
        width: 30%;
    }
    .emergency-title{
        padding: .5em 1em;
        min-width: 84px;
    }
    .emergency-body{
        padding: .5em 1em;
        width: 100%;
    }
    .content-search{
        padding-left: 0;
    }

#nav-main{
    display: block;
}
#btn-sp-menu {
  position: absolute;
  top: 0;
  right: 10px;
}

/*  page-content
------------------------------------------*/
.page-content{
}
    .home-menu{
        justify-content: center;
        flex-wrap: wrap;
        margin-bottom: 0;
    }

    .home-menu li{
        flex-basis: 30%;
    }
    .hm-01,.hm-02,.hm-03,.hm-04,.hm-05 {
        margin: 0;
    }
    
    
.page-footer{
    position: absolute;
    bottom: 0
    }
    .footer-nav{
        flex-wrap: wrap;
        display: none;
    }
    .footer-nav li {
        flex-basis: 50%;
        border-bottom: 1px solid #666;
    }
    .footer-nav li a {
        display: block;
        padding: .2em 0;
    }

    .copyright{
        text-align: center;
    }
}
/* tablet
-------------------------------------------------- */
@media only screen and (min-width: 590px) and (max-width: 959px) {}

