@charset "utf-8";

#main_img{
width: 100%;
/*min-width: 980px;*/
margin: 0 auto;
overflow: hidden;
}

.slide {
  position: relative;
  width: 100%;
  padding-top: 62.5%;
  overflow: hidden;
  background-color: #c6c6c6;
}

.movie_ttl {
    text-align: center;
    background: #fbda58;
    font-size: large;
    font-weight: bold;
    color: #454870;
    padding: 10px;
}


@keyframes slideshow {
  0% {
    opacity: 0;
  }
 
  10% {
    opacity: 1;
  }
 
  28% {
    opacity: 1
  }
 
  38% {
    opacity: 0;
  }
 
  100% {
    opacity: 0;
  }
}
 
.slide img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: auto;
  opacity: 0;
  animation: slideshow 24s linear infinite;
}
 
.slide img:nth-child(2) {
  animation-delay: 8s;
}
 
.slide img:last-child {
  animation-delay: 16s;
}

nav {
background: rgb(103 82 52 / 89%);
position: absolute;
}

nav .container ul li a {
    color: #fff;
}

main{
display: block;
}

footer{
margin-top: 0px;
}


#rakuhen {
margin-top: 60px;
display: table;

}

/* const */

#const {
margin:80px 0 80px 0;
clear: both;
display: table;
width: 100%;
}

#const_box {
clear: both;
padding: 20px 0px 40px 0px;
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:23%;
	font-size: 0.7em;
	line-height: 1.3em;
	text-align: center;
	background: #FFF;
	overflow: hidden;
}

.const_content img,
.const_content_right img,
.const_content02 img,
.const_content_right02 img{
height:230px;
width: auto;
margin: 0 auto;
display: block;
	object-fit: cover;
}

#const .detail_text{
text-align: left;
padding-top: 15px;
color: #9f7b3f;
}

#const .detail_text a {
    color: #9f7b3f;
    font-weight: bold;
    text-decoration: underline;
    font-size: 12px;
    line-height: 1.6em;
}


/*#news{
width: 48%;
float: right;
background: #FFF;
}

#voice {
width: 48%;
float: left;
background: #FFF;
}*/

#news{
width: 100%;
background: #FFF;
}

#voice {
width: 100%;
background: #FFF;
}

#const a.link{
display: block;
text-align: center;
font-weight: bold;
}

#news h2,
#voice h2,
#const h2{
font-size: 18px;
line-height: 1em;
padding: 0px 10px 5px 10px;
margin: 0;
color: #675234;
font-weight: bold;
text-align: center;
border-bottom: solid 2px;
}


#news ul,
#voice ul {
margin:0;
padding: 20px 0px 40px 0px;
}

#news li,
#voice li {
margin-top: 10px;
font-size: 12px;
font-weight: bold;
line-height: 1.6em;
color: #9f7b3f;
width: 48%;
    float: left;
}

/*#news li:first-child,
#voice li:first-child{
margin-top: 0;
}*/

#news li a,
#voice li a {
font-weight: normal;
font-size: 14px;
color: #675234;
}

#news .link,
#voice .link,
#const a.link{
font-size: 14px;
line-height: 1em;
text-decoration: none;
border: 1px solid #9f7b3f;
padding: 8px 15px;
display: block;
text-align: center;
color: #9f7b3f;
font-weight: bold;
margin: auto;
}

#news .link,
#voice .link{
width: 40%;
	margin-top: 30px;
}

#const a.link{
width: 12%;
}

@media screen and (min-width: 768px){
#const a.link {
    width: 20% !important;
}

#const_box {
     -webkit-justify-content: normal; 
    justify-content: normal;
    flex-wrap: wrap;
}

.const_content, .const_content_right, .const_content02, .const_content_right02 {
    margin: 0 9px;
}
}

#wrap02,#wrap03,#wrap04,#wrap05{
clear: both;
}

#wrap02 ul,#wrap03 ul,#wrap05 ul{
margin: 0;
padding: 0;
display: -webkit-flex;
display: flex;
-webkit-justify-content: space-between;
justify-content: space-between;
margin-bottom: 60px;
}

#wrap04 ul{
margin: 0;
padding: 0;
-webkit-justify-content: space-between;
justify-content: space-between;
margin-bottom: 80px;
}

#wrap02 ul li{
border-collapse: collapse;
width: 32%;
background-color: #9c7b40;
box-sizing: content-box;
}

#wrap03 ul li{
border-collapse: collapse;
	/*width: 49%;*/
width: 31.5%;
box-sizing: content-box;
}

#wrap05 ul li{
border-collapse: collapse;
	width: 49%;
box-sizing: content-box;
}

#wrap04 ul li {
        border-collapse: collapse;
    width: 49%;
    box-sizing: content-box;
    float: left;
	margin-bottom: 40px;
}

#wrap04 ul li a {
    display: block;
}

#wrap02 ul li:last-child{
border-width: 0;
}

#wrap02 ul li i{
color: #fff;
font-size: 4em;
}

#wrap03 ul li i,#wrap05 ul li i{
font-size: 4em;
}

#wrap02 ul li h3{
margin: 0;
font-size: 16px;
line-height: 1em;
font-weight: bold;
margin: 15px 0;
color: #fff;
}

#wrap03 ul li h3,#wrap05 ul li h3{
margin: 0;
font-size: 16px;
line-height: 1em;
font-weight: bold;
margin: 15px 0;
}

#wrap02 ul li strong{
font-size: 14px;
    padding: 8px 15px;
    display: block;
    font-weight: normal;
    color: #fff;
    border: 1px solid;
    width: 52%;
    margin: auto;
}

#wrap03 ul li strong,#wrap05 ul li strong{
font-size: 14px;
    padding: 8px 15px;
    display: block;
    font-weight: normal;
    border: 1px solid;
    width: 55%;
    margin: auto;
}

#wrap02 ul li strong i,#wrap03 ul li strong i,#wrap05 ul li strong i{
font-size: 0.9em;

}

#wrap02 ul li p{
margin: 30px 0px 30px 0;
width: 100%;
font-size: 14px;
line-height: 1.5em;
text-align: left;
color: #fff;
letter-spacing: -0.02em;
}

#wrap03 ul li p,#wrap05 ul li p{
margin: 30px 0px 30px 0;
width: 100%;
font-size: 14px;
line-height: 1.5em;
text-align: left;
letter-spacing: -0.02em;
}

#wrap02 ul li a,#wrap03 ul li a,#wrap05 ul li a{
display: block;
text-align: center;
padding: 30px;
line-height: 1em;
text-decoration: none;
}

.lefr_bnr {
    width: 49%;
    float: left;
    margin-bottom: 20px;
}

.right_bnr {
    width: 49%;
    float: right;
    margin-bottom: 20px;
}

.bnr02 {
    width: 32.2%;
    text-align: center;
    float: left;
    padding: 0 5px;
    margin-bottom: 15px;
}

.clear {
    clear: both;
    display: block;
    overflow: hidden;
    visibility: hidden;
    width: 0;
    height: 0;
}

@media screen and (max-width: 767px){
#news li,
#voice li {
width: 100%;
    float: none;
}
	
#news .link,
#voice .link{
margin-top: 0px;
}
	
.lefr_bnr {
    width: 100%;
    margin-top: 10px;
}
.right_bnr,.bnr02 {
    width: 100%;
    margin-top: 10px;
}
}

#facebook{
	border: solid 2px #4367b2;
}

#facebook h3{
	color:#4367b2;
}

#facebook i{
	color:#4367b2;
}

#facebook strong{
	color:#4367b2;
	margin:30px auto 0px auto !important;
}

#instagram{
	border: solid 2px #e43888;
}

#instagram h3{
	color:#e43888;
}

#instagram i{
	color:#e43888;
}

#instagram strong{
	color:#e43888;
	margin:30px auto 0px auto !important;
}

#blog{
	border: solid 2px #9c7b40;
}

#blog h3{
	color:#9c7b40;
}

#blog i{
	color:#9c7b40;
}

#blog strong{
	color:#9c7b40;
	margin:30px auto 0px auto !important;
}



@media screen and (max-width:767px){

body{
background-image:none;
background-repeat: no-repeat;
background-size: cover;
}

nav {
    background: #675234;
}

#panel li a{
	color:#fff;
}

main{

padding-top: 20px;

}

#main_img{
width: 100%;
min-width: auto;
margin: 26px auto 0px auto;
}

#rakuhen {
    margin-top: 40px;
}

#const {
float: none;
width: 100%;
margin: 60px 0 60px 0;
}

#const_box{
padding: 20px 0px 0px 0px;	
}

.const_content,
.const_content_right,
.const_content02,
.const_content_right02{
width: 47%;
text-align: center;
overflow: hidden;
font-size: 1em;
margin-bottom: 20px;
margin-left:0px;
margin-right:0px;
}

.const_content img,
.const_content_right img,
.const_content02 img,
.const_content_right02 img{
width: 174px;
    object-fit: cover;

}

.detail_text{
text-align: left;
height: auto;
}

#const h2 a{
display: none;
}

#news, #voice{
width: 100%;
float: none;
display: table;
}

#news{
margin: 20px 0;
}

#voice{
margin: 60px 0 0 0;
}

#news ul, #voice ul {
    margin: 0;
    padding: 20px 0px 20px 0px;
}

#news .link, #voice .link,#const a.link {
    width: 55%;
}

#wrap02 ul,#wrap03 ul,#wrap05 ul{
display: block;
margin-bottom: 60px;
}

#wrap02 ul li,#wrap03 ul li,#wrap05 ul li{
display: table;
margin-bottom: 30px;
width: 100%;
}

#wrap03 ul li,#wrap05 ul li{
display: table;
margin-bottom: 30px;
width: 100%;
}

#wrap02 ul li img,#wrap03 ul li img,#wrap05 ul li img{
height: 35%;
width: 35%;
margin: 20px 0 20px 15px;
}

#wrap02 ul li p{
font-size: 1em;
margin: 20px 0 20px 0;
}

#facebook,#instagram,#blog{
	border:none;
}

#wrap03 ul li i,#wrap05 ul li i  {
    font-size: 6em;
}

#wrap03 ul li a,#wrap05 ul li a{
	padding:0 30px;
}

}



#reform_ttl{
	display: block;
    color: #FFF;
    background: #9d7a40;
    text-align: center;
    font-weight: 500;
    padding: 20px;
	font-size: 1.3em;
    line-height: 20px;
	border-radius: 5px;
	margin-top:40px;
	margin-bottom:20px;
}

#reform_box{
	width:100%;
}

.reform_bnr{
	width: 31.5%;
    text-align: center;
	float:left;
}

.reform_bnr h3 {
    font-size: 1.2em;
    line-height: 1em;
    font-weight: 500;
    margin-bottom: 25px;
}

.reform_bnr img{
	width: 100%;
}

.mr25{
	margin-right: 25px;
}

.card_text{
    padding: 16px;
    width: 45.7%;
    background: #e7edf9;
}

@media screen and (max-width:468px){
.card_text {
    width: 92%;
    margin-top: -10px;
}
	
#reform_ttl{
	margin-bottom:10px;
}

.mr25{
	margin-right: 0px;
}	
	
.reform_bnr{
	width: 47%;
    padding: 1%;
}

.reform_bnr h3 {
    font-size: 1em;
    line-height: 1em;
    font-weight: 500;
    margin: 5px 0;
}
}