
/*--------------------------------------------------------------
	DISASTER
--------------------------------------------------------------*/
.home-section2 {
    position: relative;
    background: url("../images/category_photo/disaster_header.jpg");
	background-repeat: no-repeat;
	background-position: center center;
	width: 100%;
    height: 0;
	z-index: 0;
	background-size: cover;
    padding-top: 49%;
    }
.l_space {
	letter-spacing: 1px;
}
/* --------------add contents------------- */
@media (min-width: 960px) {
.construction_wrapper {
	width: 100%;
}

.disaster_group {
	margin: 0 0 50px;
}

/* --------------services_list------------- */
p.disasters_ttl {
	border-left: 2px solid #9d9d9d;
	margin-bottom: 30px;
	background-color: #f5f5f5;
	padding-left: 5px;
	line-height: 2;
	letter-spacing:2px;
	font-size:1.8rem;
}
p.disaster_detail{
	width:100%;
	padding:0 50px;
	margin:20px 0;
	line-height: 2;
	letter-spacing:1px;
	font-size:1.6rem;
	}
ul.disaster_list {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-column-gap: 50px;
	grid-row-gap: 20px;
	justify-items: stretch;
	align-items: stretch;
	padding: 0 50px;
	  -ms-display: grid;
    -ms-grid-columns: 1fr 1fr;
}
ul.disaster_list li {
	display: inline-block;
}
ul.disaster_list li.s_box {
}
ul.disaster_list li.s_box a {
	width: 100%;
	height: 100%;
	display: block;
}
ul.disaster_list li.s_box img {
	width: 100%;
	height: auto;
	margin-bottom: 5px;
	object-fit: cover;
}

p.s_detail {
}
}
 @media (min-width:481px) and ( max-width:959px) {
	 .construction_wrapper {
	width: 100%;
}

.disaster_group {
	margin: 0 0 50px;
}

p.disasters_ttl {
	border-left: 2px solid #9d9d9d;
	margin-bottom: 20px;
	background-color: #f5f5f5;
	padding-left: 5px;
	line-height: 2;
}
/* --------------services_list------------- */
ul.disaster_list {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-column-gap: 20px;
	grid-row-gap: 20px;
	justify-items: stretch;
	align-items: stretch;
	padding: 0 20px;
	  -ms-display: grid;
    -ms-grid-columns:1fr 1fr;
}
ul.disaster_list li {
	display: inline-block;
}
ul.disaster_list li.s_box {
}
ul.disaster_list li.s_box a {
	width: 100%;
	height: 100%;
	display: block;
}
ul.disaster_list li.s_box img {
	width: 100%;
	height: auto;
	margin-bottom: 5px;
	object-fit: cover;
}

p.disaster_detail{
	width:100%;
	padding:0 20px;
	margin:20px 0;
	line-height: 1.6;
	letter-spacing:1px;
	font-size:1.4rem;
	}
}
 @media (min-width:320px) and ( max-width:480px) {
	 .construction_wrapper {
	width: 100%;
}

.disaster_group {
	margin: 0 0 30px;
}
p.disasters_ttl {
	border-bottom: 1px solid #9d9d9d;
	margin-bottom: 20px;
	background-color: #f5f5f5;
	padding: 10px;
	line-height: 1.6;
}

/* --------------services_list------------- */
ul.disaster_list {
	display: grid;
	grid-template-columns: 1fr;
	grid-column-gap: 20px;
	grid-row-gap: 20px;
	justify-items: stretch;
	align-items: stretch;
	padding: 0;  -ms-display: grid;
    -ms-grid-columns: 1fr;
}
ul.disaster_list li {
	display: inline-block;
}
ul.disaster_list li.s_box {
}
ul.disaster_list li.s_box a {
	width: 100%;
	height: 100%;
	display: block;
}
ul.disaster_list li.s_box img {
	width: 100%;
	height: auto;
	margin-bottom: 5px;
	object-fit: cover;
}

p.disaster_detail{
	width:100%;
	padding:0 20px;
	margin:20px 0;
	line-height: 1.6;
	letter-spacing:1px;
	font-size:1.4rem;
	}
}

.demo_item.anime {
    animation: yurayura 2s linear infinite, moveToRight 6s ease 1 normal forwards;
}
.demo_stage {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0px;
    display: block;
}

@media (min-width:320px) and (max-width:589px) {
 
    .demo_wrap {
        width: 75%;
        height: 30%;
        display: block;
        position: absolute;
        bottom: 130px;
    }
    .demo_item {
        width: 120px;
        height: 120px;
        background-image: url("../images/index/kouki_fukidashi.svg");
        background-size: 100% 100%;
        background-position: 0 0;
        background-repeat: no-repeat;
        display: block;
        position: relative;
    }
}

@media (min-width:590px) and (max-width:680px) {
     .hero-area{
    width: 100%;
    height: 420px;
    overflow: hidden;
    position: relative;
}
    .demo_wrap {
        width: 80%;
        height: 30%;
        display: block;
        position: absolute;
        bottom: 150px;
    }
    .demo_item {
        width: 140px;
        height: 140px;
        background-image: url("../images/index/kouki_fukidashi.svg");
        background-size: 100% 100%;
        background-position: 0 0;
        background-repeat: no-repeat;
        display: block;
        position: relative;
    }
}

@media (min-width:681px) and (max-width:959px) {
  
    .demo_wrap {
        width: 80%;
        height: 80px;
        display: block;
        position: absolute;
        bottom: 190px;
    }
    .demo_item {
        width: 180px;
        height: 180px;
        background-image: url("../images/index/kouki_fukidashi.svg");
        background-size: 100% 100%;
        background-position: 0 0;
        background-repeat: no-repeat;
        display: block;
        position: relative;
    }
}

@media (min-width:960px) and (max-width:1260px) {
    .hero-area{
    width: 100%;
    height: 800px;
    overflow: hidden;
    position: relative;
}
    .demo_wrap {
        width: 80%;
        height: 100px;
        display: block;
        position: absolute;
        bottom: 240px;
    }
    .demo_item {
        width: 230px;
        height: 230px;
        background-image: url("../images/index/kouki_fukidashi.svg");
        background-size: 100% 100%;
        background-position: 0 0;
        background-repeat: no-repeat;
        display: block;
        position: relative;
    }
}

@media (min-width:1261px) {
	.home-section2 {
    position: relative;
    background: url("../images/category_photo/disaster_header.jpg");
    background-repeat: no-repeat;
    background-position: center center;
    width: 100%;
    height: 100vh;
    z-index: 0;
    background-size: cover;
    padding-top: 49%;
  }
    .hero-area{
    width: 100%;
    height: 100vh;
    overflow: hidden;
    position: relative;
}
    .demo_wrap {
        width: 80%;
        height: 50%;
        display: block;
        position: absolute;
        bottom: 450px;
    }
    .demo_item {
        width: 300px;
        height: 300px;
        background-image: url("../images/index/kouki_fukidashi.svg");
        background-size: 100% 100%;
        background-position: 0 0;
        background-repeat: no-repeat;
        display: block;
        position: relative;
    }
}
