@charset "utf-8";

nav {
background: rgba(232,13,13,0.65);
position: absolute;
}

.fixed {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  color: #fff;
  border-bottom: solid 3px #e60d1a;
  background:#fff;
}

.fixed .container ul li a {
    text-decoration: none;
    display: block;
    color: #000;
    padding: 15px 0px;
    font-size: 14px;
    line-height: 1em;
    font-weight: bold;
}

nav .container ul li a {
    color: #fff;
}

main{
display: block;
}

footer{
margin-top: 0px;
}


#rakuhen {
margin-top: 60px;
display: table;

}

@media screen and ( min-width: 640px ){
nav .container ul li:hover::after{
content: "";
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 4px;
background: #fff;
}
}

/* const */

#const {
margin:80px 0 80px 0;
clear: both;
display: table;
width: 100%;
}

#const_box {
clear: both;
padding: 0px 0px 30px 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;
}

#const .detail_text{
text-align: left;
padding-top: 15px;
color: #9f7b3f;
}

#const .detail_text a {
    color: #353535;
    font-weight: bold;
    text-decoration: underline;
    font-size: 14px;
    line-height: 1.6em;
}


#news{
width: 48%;
float: right;
background: #FFF;
}

#voice {
width: 48%;
float: left;
background: #FFF;
}

.my_box{
  background: -moz-linear-gradient(top, #ff6d0a, #ff5611 30%, #ff401c 60%, #fe2725);
  background: -webkit-linear-gradient(top, #ff6d0a, #ff5611 30%, #ff401c 60%, #fe2725);
  background: linear-gradient(to bottom, #ff6d0a, #ff5611 30%, #ff401c 60%, #fe2725);
  padding-bottom: 25px;
}


#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 0px 10px;
margin: 0;
color: #595656;
font-weight: bold;
text-align: center;
}

.sub_ttl_r {
    font-weight: bold;
    text-align: center;
    color: #e6001a;
    font-size: 14px;
	padding-bottom: 5px;
}

#news ul,
#voice ul {
padding: 25px;
}

#news li,
#voice li {
margin-top: 10px;
font-size: 12px;
font-weight: bold;
line-height: 1.6em;
color: #fff;
}

#news li:first-child,
#voice li:first-child{
margin-top: 0;
}

#news li a,
#voice li a {
font-weight: bold;
font-size: 14px;
color: #ffffff;
text-decoration: none;
}

#news .link,
#voice .link{
font-size: 14px;
line-height: 1em;
text-decoration: none;
border: 1px solid #fff;
border-radius:30px;
background:#fff;
padding: 8px 15px;
display: block;
text-align: center;
color: #e6001a;
font-weight: bold;
margin: auto;
}

#const a.link{
font-size: 14px;
line-height: 1em;
text-decoration: none;
border: 1px solid #e80e23;
border-radius: 30px;
background: #e80e23;
padding: 8px 15px;
display: block;
text-align: center;
color: #fff;
font-weight: bold;
margin: auto;
}

#news .link,
#voice .link{
width: 40%;
}

#const a.link{
width: 12%;
}

@media screen and (min-width: 768px){
#news .link, #voice .link {
    width: 45%;
}

#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{
clear: both;
}

#wrap02 ul,#wrap03 ul{
margin: 0;
padding: 0;
display: -webkit-flex;
display: flex;
-webkit-justify-content: space-between;
justify-content: space-between;
margin-bottom: 80px;
}

#wrap02 ul li{
border-collapse: collapse;
width: 32%;
background-color: #ffffff;
box-sizing: content-box;
border: solid 2px #e6001a;
}

#wrap03 ul li{
border-collapse: collapse;
width: 31.5%;
box-sizing: content-box;
}

/*#wrap02 ul li:last-child{
border-width: 0;
}*/

#wrap02 ul li i{
color: #ff5810;
font-size: 4em;
}

#wrap03 ul li i{
font-size: 4em;
}

#wrap02 ul li h3{
margin: 0;
font-size: 20px;
line-height: 1em;
font-weight: bold;
margin: 15px 0;
color: #e6001a;
}

#wrap03 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;
    border-radius: 30px;
    width: 52%;
    margin: auto;
    background: #e80e23;
}

#wrap03 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{
font-size: 0.9em;
color: #fff;

}

#wrap02 ul li p{
margin: 20px 0px 20px 0;
width: 100%;
font-size: 14px;
line-height: 1.5em;
text-align: left;
color: #221714;
letter-spacing: -0.02em;
font-weight: bold;
}

#wrap03 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{
display: block;
text-align: center;
padding: 20px;
line-height: 1em;
text-decoration: none;
}

#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: #595656;
}

#panel li a{
	color:#fff;
}

main{

padding-top: 18px;

}

#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 14px;
}

#news .link, #voice .link,#const a.link {
    width: 55%;
}

#wrap02 ul,#wrap03 ul{
display: block;
margin-bottom: 30px;
}

#wrap02 ul li,#wrap03 ul li{
display: table;
margin-bottom: 30px;
width: 100%;
}

#wrap03 ul li{
display: table;
margin-bottom: 30px;
width: 100%;
}

#wrap02 ul li img,#wrap03 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 {
    font-size: 6em;
}

#wrap03 ul li a{
	padding:0 30px;
}

#wrap02 ul li a, #wrap03 ul li a {
    padding: 30px;
}

}



