@charset "utf-8";

#main_img{
width: 100%;
/*min-width: 980px;*/
margin: 0 auto;
overflow: hidden;
}




#rakuhen {
margin-top: 20px;

}

/* const */

#const {
border: 1px #211715 solid;
border-radius: 5px;
height: auto;
width: 70%;
margin-bottom: 20px;
float: left;
}

#const h2{
border-bottom: 1px #211715 dotted;
font-size: 1.3em;
line-height: 20px;
/*padding: 20px;*/
margin: 0;
color: #fff;
background: #211715;
font-weight: bold;
}


#const_box {
padding: 20px 20px 0px 20px;
display: -webkit-flex;
display: flex;
-webkit-justify-content: space-between;
justify-content: space-between;
flex-wrap: wrap;
}

.const_content,
.const_content_right,
.const_content02,
.const_content_right02{
    width:30%;
    margin-bottom: 20px;
	font-size: 0.8em;
	line-height: 1.3em;
	text-align: center;
}

.const_content img,
.const_content_right img,
.const_content02 img,
.const_content_right02 img{
height:auto;
max-height: 130px;
width: auto;
margin: 0 auto;
}

#const_box div.img_box {
    margin: 4px;
    text-align: center;
    width: 96%;
    height: 120px;
    overflow: hidden;
}

#const .detail_text .marB5 {
    padding: 10px 0;
}

#const .detail_text{
text-align: left;
}

#const .detail_text a {
    color: #4D94FF;
    font-weight: bold;
    text-decoration: underline;
}


#news,
#voice {
border: 1px #211715 solid;
border-radius: 5px;
width: 27%;
float: right;

}

#news{
margin-bottom: 20px;
}

#const a.link,
#news a.link,
#voice a.link{
display: block;
color: #FFF;
background: #211715;
text-align: center;
font-weight: bold;
padding: 20px;
}

#news h2,
#voice h2{
border-bottom: 1px #211715 dotted;
font-size: 1.3em;
line-height: 20px;
/*padding: 20px;*/
margin: 0;
color: #fff;
background: #211715;
font-weight: bold;
}


#news ul,
#voice ul {
margin:0;
padding: 20px;
	font-size: 0.8em;
	line-height: 1.3em;
}

#news li,
#voice li {
    margin-top: 10px;
}

#news li:first-child,
#voice li:first-child{
margin-top: 0;
}

#news li a,
#voice li a {
color: #4D94FF;
font-weight: bold;
text-decoration: underline;
}















#wrap02{
clear: both;
padding: 20px 0;
}

#wrap02 ul{
padding: 0;
display: -webkit-flex;
display: flex;
-webkit-justify-content: space-between;
justify-content: space-between;
/*border:solid #DDD;
border-width: 1px 0;*/
}

#wrap02 ul li{
border-collapse: collapse;
border:solid #e76c39 1px;
	border-radius: 5px;
	background: #fff8e7;
/*border-width:0 1px 0 0;*/
box-sizing: content-box;
	    width: 24%;
}

/*#wrap02 ul li:last-child{
border-width: 0;
}*/
#wrap02 ul li i{
color: #211715;
font-size: 4em;
}

#wrap02 ul li h3{
margin: 0;
font-size: 1.2em;
line-height: 1em;
font-weight: bold;
margin: 15px 0;
}

#wrap02 ul li strong{
font-size: 1.2em;
display: block;
font-weight: normal;
}

#wrap02 ul li strong i{
font-size: 0.9em;
}


#wrap02 ul li p{
margin: 20px 0px 0px 0;
width: 100%;
font-size: 0.9em;
line-height: 1.5em;
text-align: left;
}

#wrap02 ul li img{
width: 100%;
height: auto;
}

#wrap02 ul li a{
display: block;
text-align: center;
padding: 23px;
line-height: 1em;
}





@media screen and (max-width:767px){
#main_img{
width: 100%;
min-width: auto;
margin: 110px auto 20px auto;
}
#main_img img{
width: 100%;
height: auto;
min-height:inherit;
}



#const {
float: none;
width: 100%;
}

.const_content,
.const_content_right,
.const_content02,
.const_content_right02{
width: 47%;
text-align: center;
overflow: hidden;
font-size: 0.8rem;
}

.const_content img,
.const_content_right img,
.const_content02 img,
.const_content_right02 img{
width:auto;

}

.detail_text{
background: #FFF;
text-align: left;
height: 100%;
}

#const h2 a{
display: none;
}

#news, #voice{
width: 100%;
float: none;
margin-bottom: 20px;
}

#wrap02 ul{
display: block;
}

#wrap02 ul li{
/*display: table;*/
margin-bottom: 0px;
width: 100%;
}

#wrap02 ul li{
/*border-width: 0 0 1px 0;*/
	margin-bottom: 40px;
}

#wrap02 ul li img{
height: auto;
width: 100%;
margin: 0;
}

#wrap02 ul li p{
font-size: 1em;
margin: 20px 0 0px 0;
}




}

#reform_ttl{
	display: block;
    color: #FFF;
    background: #211715;
    text-align: center;
    font-weight: 500;
    padding: 20px;
	font-size: 1.3em;
    line-height: 20px;
	border-radius: 5px;
	margin-top:25px;
	margin-bottom:20px;
}


.clear {
    clear: both;
    display: block;
    overflow: hidden;
    visibility: hidden;
    width: 0;
    height: 0;
}

.mt40{
	margin-top:40px;
}


#reform_box,#bnr_box{
	width:100%;
}

.bnr_img{
	width: 47.9%;
    text-align: center;
    float: left;
    padding: 0 10px;
	margin-bottom: 15px;
}

.reform_bnr{
	width: 33.33333333%;
    text-align: center;
	float:left;
}

.reform_bnr h3 {
    font-size: 1.2em;
    line-height: 1em;
    font-weight: 500;
    margin-bottom: 15px;
}

@media screen and (max-width:468px){
#reform_ttl{
	margin-bottom:10px;
}

.reform_bnr{
	width: 47%;
    padding: 1%;
}

.reform_bnr h3 {
    font-size: 1em;
    line-height: 1em;
    font-weight: 500;
    margin: 5px 0;
}
	
.bnr_img{
	width: 100%;
    padding: 5px;
	margin-bottom: 10px;
}
}

.slide {
  position: relative;
  width: 100%;
  padding-top: 42.4%;
  overflow: hidden;
  background-color: #fff;
}

@keyframes slideshow {
0% { opacity:0;}
10% { opacity:1;}
28% { opacity:1;}
38% { opacity:0;}
100% { opacity:0;}
}

.slide .img_box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: auto;
  opacity: 0;
  animation: slideshow 24s linear infinite;
}

.slide .img_box:nth-child(2) {
  animation-delay: 8s;
}

.slide .img_box:last-child {
  animation-delay: 16s;
}

@media screen and (max-width: 767px) {
.slide {
    margin-top: 86px;
}
}

_::-webkit-full-page-media, _:future, :root .slide{
  position: relative;
  width: 100%;
  padding-top: 42.4%;
  overflow: hidden;
  background-color: #fff;
}

_::-webkit-full-page-media, _:future, :root .slide .img_box{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: auto;
  opacity: 0;
  animation: slideshow 24s linear infinite;
}

_::-webkit-full-page-media, _:future, :root .slide .img_box:nth-child(2){
  animation-delay: 8s;
}

_::-webkit-full-page-media, _:future, :root .slide .img_box:last-child{
  animation-delay: 16s;
}



#line_bnr{
    text-align: center;
    margin-top: 30px;
}