@charset "utf-8";
/* CSS Document */

*{
font-size:14px;
line-height: 2.0;
box-sizing: border-box;
}
ul,li{
width: 100%;
padding: 0;
margin: 0;
list-style: none;
}

.ecmg_wrapp{
width: 100%;
}

.ecmg_blk01{
width: 100%;
background: #6dc8eb;
}
.ecmg_blk01 ul{
width: 100%;
max-width: 500px;
margin:0 auto;
}
.ecmg_blk01 ul li{
width: 100%;
}
.ecmg_blk01 ul li img{
width: 100%;
}

.ecmg_blk02{
width: 100%;
background: #ede5c3;
padding:10px 0 10px 0;
}
.ecmg_blk02 ul{
width: 100%;
max-width: 800px;
margin:0 auto;
display: flex;
flex-wrap: wrap;
}
.ecmg_blk02 ul li{
width: calc( 100% / 3 );

}
.ecmg_blk02 ul li:nth-of-type(1),
.ecmg_blk02 ul li:nth-of-type(2),
.ecmg_blk02 ul li:nth-of-type(3){
border-bottom:1px solid #333333;
}
.ecmg_blk02 ul li a{
display: block;
padding: 25px 30px 10px 30px;
text-align: center;
}
.ecmg_blk02 ul li:nth-of-type(1) a,
.ecmg_blk02 ul li:nth-of-type(2) a,
.ecmg_blk02 ul li:nth-of-type(4) a,
.ecmg_blk02 ul li:nth-of-type(5) a{
border-right:1px solid #333333;
}
.ecmg_blk02 ul li:nth-of-type(1) a,
.ecmg_blk02 ul li:nth-of-type(2) a,
.ecmg_blk02 ul li:nth-of-type(3) a{
margin-bottom:10px;
}
.ecmg_blk02 ul li:nth-of-type(4) a,
.ecmg_blk02 ul li:nth-of-type(5) a,
.ecmg_blk02 ul li:nth-of-type(6) a{
margin-top:10px;
}
.ecmg_blk02 ul li a img{
width: 80%;
margin:0 auto;
}

.ecmg_blk03{
width: 100%;
background: #ede5c3;
padding:50px 0 50px 0;
}
.ecmg_blk03 ul{
width: 96%;
max-width: 500px;
margin:0 auto;
}
.ecmg_blk03 ul li,
.ecmg_blk06 ul li{
line-height: 2.5;
letter-spacing: 0.15rem;
text-align: center;
}
.ecmg_blk03 ul li:nth-of-type(1),
.ecmg_blk05 ul li:nth-of-type(1),
.ecmg_blk07 ul li:nth-of-type(1),
.ecmg_blk08 ul li:nth-of-type(1){
text-align: center;
margin-bottom:30px;
}
.ecmg_blk03 ul li:nth-of-type(1) img,
.ecmg_blk05 ul li:nth-of-type(1) img,
.ecmg_blk06 ul li:nth-of-type(1) img,
.ecmg_blk07 ul li:nth-of-type(1) img,
.ecmg_blk08 ul li:nth-of-type(1) img{
width: 100%;
max-width: 400px;
margin: 0 auto;
}
.ecmg_blk03 ul li:nth-of-type(3){
text-align: center;
margin:30px auto 30px;
}
.ecmg_blk03 ul li:nth-of-type(3) img{
width: 100%;
max-width: 300px;
margin: 0 auto;
}

.ecmg_blk04{
width: 100%;
background: #fff;
padding:50px 0 50px 0;
}
.ecmg_blk04 ul{
width: 96%;
max-width: 600px;
margin:0 auto;
}
.ecmg_blk04 ul li{
text-align: center;
}
.ecmg_blk04 ul li img{
width: 100%;
max-width: 600px;
margin: 0 auto;
}

.ecmg_blk04 ul li:nth-of-type(even){
margin:50px auto 50px;
}
.ecmg_blk04 ul li:nth-of-type(2){
margin:50px auto 100px;
}
.ecmg_blk04 ul li:nth-of-type(even) img{
width:100%;
max-width: 500px;
margin: 0 auto;
}

.ecmg_blk05,
.ecmg_blk07{
width: 100%;
background: #ede5c3;
padding:50px 0 50px 0;
}
.ecmg_blk05 ul{

}
.ecmg_blk05 ul li,
.ecmg_blk07 ul li,
.ecmg_blk08 ul li:nth-of-type(4){
text-align: center;
margin:30px auto 0;
}
.ecmg_blk05 ul li img{

}
.ecmg_blk05 ul li:nth-of-type(2) img,
.ecmg_blk05 ul li:nth-of-type(3) img,
.ecmg_blk07 ul li:nth-of-type(2) img,
.ecmg_blk08 ul li:nth-of-type(4) img{
width: 96%;
max-width: 600px;
}
.ecmg_blk06{
width: 100%;
background: #fff;
padding:50px 0 50px 0;
}
.ecmg_blk06 ul{

}
.ecmg_blk06 ul li{

}
.ecmg_blk06 ul li:nth-of-type(2){
text-align: center;
margin:30px auto 30px;
}
.ecmg_blk06 ul li:nth-of-type(3) img{
width:100%;
max-width: 300px;
margin: 0 auto;
}
.ecmg_blk06 ul li:nth-of-type(4),
.ecmg_blk07 ul li:nth-of-type(3),
.ecmg_blk08 ul li:nth-of-type(2){
width: 96%;
max-width: 500px;
margin:30px auto 0;
text-align: left;
line-height: 1.0;
}
.ecmg_blk06 ul li:nth-of-type(4) span,
.ecmg_blk07 ul li:nth-of-type(3) span,
.ecmg_blk08 ul li:nth-of-type(2) span{
font-size: 12px;
display: block;
margin:0 0 10px 0;
}

.ecmg_blk08{
width: 100%;
background: #fff;
padding:50px 0 50px 0;
}
.ecmg_blk08 ul li:nth-of-type(3){
width: 96%;
max-width: 600px;
margin:30px auto 0;
text-align: left;
border:1px solid #333;
border-radius: 20px;
padding: 30px;

}
.ecmg_blk08 ul li:nth-of-type(3) span{
display: block;
background-color: #fff;
    background-image: linear-gradient(90deg, transparent 0%, transparent 50%, #fff 50%, #fff 100%), /* 点線1の色 */ linear-gradient(180deg, #000 1px, transparent 1px);
    background-size: 8px 100%, /* 点線1のサイズ */ 100% 40px;
    line-height: 40px;
    padding-bottom: 1px;
	font-size: 12px;
}
span.taisho_age{
display: inline-block;
border-top:1px dotted #333;
text-align: left;
margin:10px auto 0;
padding:10px 0 0 0;
}
.text_colorb50000{
color:#b50000;
}
.pc_oly{
display: block;
}

/* 上に戻るボタン */

#page_top{
  width: 50px;
  height: 50px;
  position: fixed;
  right: -50px;
  bottom: 50px;
  background: #000;
  opacity: 0.8;
  border-radius: 50%;
}
#page_top a{
  position: relative;
  display: block;
  width: 50px;
  height: 50px;
  text-decoration: none;
}
#page_top a::before {
    font-family: FontAwesome;
    content: '\f102';
    font-size: 40px;
    color: #fff;
    position: absolute;
    width: 25px;
    height: 25px;
    /* top: 0; */
    bottom: 40px;
    /* right: 0; */
    left: 8px;
    margin: auto;
    text-align: center;
}

/* ここまで */



@media only screen and (max-width:768px) {

.ecmg_blk02 ul li{
width: calc( 100% / 2 );
}
.ecmg_blk02 ul li:nth-of-type(3){
margin-top:10px;
}
.ecmg_blk02 ul li:nth-of-type(4){
border-bottom:1px solid #333333;
margin-top:10px;
}

.ecmg_blk02 ul li:nth-of-type(2) a,
.ecmg_blk02 ul li:nth-of-type(4) a{
border-right:0px solid #333333;
}
.ecmg_blk02 ul li:nth-of-type(3) a{
border-right:1px solid #333333;
}

.ecmg_blk03 ul li{
line-height: 2.5;
letter-spacing: 0.15rem;
text-align: left;
}

.pc_oly{
display: none;
}

}