@charset "UTF-8";
/* CSS Document */
/*PC*/
@media print, screen and (min-width: 769px) {

#message{
position: relative;
margin: 0 auto;
overflow: hidden;
padding-bottom: 120px;
box-sizing: border-box;
}


#message .section_wrap{
width: 1200px;
margin: auto;
}


/*index
-------------------------------------*/
#message .section_wrap .message_list{
display: flex;
flex-wrap: wrap;
margin: 0 auto;
}

#message .section_wrap .message_list li{
width:23%;
margin-right:2%;
margin-bottom:3%;
}

#message .section_wrap .message_list li:nth-child(4n){
margin-right: 0;
}

#message .section_wrap .message_list li a{
position: relative;
overflow: hidden;
display: block;
}

#message .section_wrap .message_list li .img{
margin: 0 auto;
}

#message .section_wrap .message_list li .name{
font-size: 1.4rem;
font-weight: 500;
line-height: 1;
margin:15px 0;
text-align: center;
}

#message .section_wrap .message_list li .name span{
font-size: .8rem;
display: block;
margin-bottom: 10px;
}

#message .section_wrap .message_list li a .btn{
margin: 10px auto 0;
width: 90%;
border: 1px solid rgba(255,255,255,1);
padding: 10px;
box-sizing: border-box;
text-align: center;
border-radius: 50rem;
font-size: 14px;
font-weight: 700;
letter-spacing: 0;
line-height: 1;
background: #121212;
color: #FFF;
}

#message .section_wrap .bnr_img{
width: 46%;
margin: 0 auto;
}

/*detail
-------------------------------------*/
#message .section_wrap .d_img{
width: 100%;
margin: 0 auto 80px;
position: relative;
overflow: hidden;
}

#message .section_wrap .d_img .txt_box{
position:relative;
padding: 15px 0;
box-sizing: border-box;
width: 1000px;
margin: 0 auto;
text-align: right;
}

#message .section_wrap .d_img .txt_box .s_name{
font-size: 18px;
font-weight:600;
line-height:1;
margin-bottom: 10px;
}

#message .section_wrap .d_img .txt_box .name{
font-weight: 600;
font-size:32px;
line-height: 1;
margin-bottom: 10px;
}

#message .section_wrap .d_img .txt_box .txt{
font-weight: 700;
}


#message .section_wrap .d_block{
width: 80%;
margin: 0 auto 80px;
}


#message .section_wrap .d_block h3{
font-size: 30px;
font-weight: 700;
line-height: 1;
color: #171e27;
margin: 0 0 40px;
}

#message .section_wrap .d_block h3 span{
display: block;
font-size: .8rem;
font-weight: 700;
color:rgba(185,155,85,1);
margin-bottom: 5px;
}

#message .section_wrap .d_block .txt{
line-height: 2;
font-weight: 500;
}

#message .section_wrap .img{
width:900px;
margin:0 auto 60px; 
}

.d_message_block{
width: 80%;
background:url("../images/com/bg_p.jpg") 0 0 repeat;
padding: 30px;
box-sizing: border-box;
margin: 0 auto 80px;
}

.d_message_block h4{
color: #FFF;
font-size: 1.6rem;
font-weight: 200;
line-height: 1;
margin: 0 0 20px;
}

.d_message_block p{
color: #FFF;
font-weight: 700;
line-height: 2;
}


}
/*sp*/
@media only screen and (max-width: 768px) {

#message{
position: relative;
margin: 0 auto;
overflow: hidden;
padding-bottom: 60px;
box-sizing: border-box;
}


#message .section_wrap{
width:100%;
margin: auto;
}


/*index
-------------------------------------*/
#message .section_wrap .message_list{
width: 90%;
display: flex;
flex-wrap: wrap;
justify-content: space-between;
margin: 0 auto;
}

#message .section_wrap .message_list li{
width:48%;
margin-bottom:25px;
}

#message .section_wrap .message_list li a{
position: relative;
overflow: hidden;
display: block;
}

#message .section_wrap .message_list li .img{
margin: 0 auto;
}

#message .section_wrap .message_list li .name{
font-size: 16px;
font-weight: 600;
line-height: 1;
margin: 15px 0;
text-align: center;
}

#message .section_wrap .message_list li .name span{
font-size:14px;
display: block;
margin-bottom: 5px;
}

#message .section_wrap .message_list li a .btn{
margin: 10px auto 0;
width: 100%;
border: 1px solid rgba(255,255,255,1);
padding: 5px 10px;
box-sizing: border-box;
text-align: center;
border-radius: 50rem;
font-size:12px;
font-weight: 700;
letter-spacing: 0;
line-height: 1.4;
background: #121212;
color: #FFF;
}

#message .section_wrap .message_list li a .btn span{
display: block;
}

#message .section_wrap .bnr_img{
width: 46%;
margin: 0 auto;
}

/*detail
-------------------------------------*/
#message .section_wrap .d_img{
width: 90%;
margin: 0 auto 40px;
position: relative;
overflow: hidden;
}

#message .section_wrap .d_img{
text-align: center;
}

#message .section_wrap .d_img .txt_box{
position:relative;
padding: 15px 0 0;
box-sizing: border-box;
width: 90%;
margin: 0 auto;
text-align: right;
}

#message .section_wrap .d_img .txt_box .s_name{
font-size:16px;
font-weight:600;
line-height:1;
margin-bottom: 10px;
}

#message .section_wrap .d_img .txt_box .name{
font-weight: 600;
font-size:24px;
line-height: 1;
margin-bottom: 10px;
}

#message .section_wrap .d_img .txt_box .txt{
font-weight: 700;
font-size:14px;
}


#message .section_wrap .d_block{
width: 80%;
margin: 0 auto 40px;
}


#message .section_wrap .d_block h3{
font-size:20px;
font-weight: 700;
line-height: 1.4;
color: #171e27;
margin: 0 0 20px;
}

#message .section_wrap .d_block h3 span{
display: block;
font-size: .8rem;
font-weight: 700;
color:rgba(185,155,85,1);
margin-bottom: 5px;
}

#message .section_wrap .d_block .txt{
line-height: 1.8;
font-weight: 500;
font-size: .8rem;
}

#message .section_wrap .img{
width: 80%;
margin:0 auto 30px; 
}

.d_message_block{
width: 80%;
background:url("../images/com/bg_p.jpg") 0 0 repeat;
padding: 30px;
box-sizing: border-box;
margin: 0 auto 80px;
}

.d_message_block h4{
color: #FFF;
font-size: 1.6rem;
font-weight: 200;
line-height: 1;
margin: 0 0 20px;
}

.d_message_block p{
color: #FFF;
font-weight: 700;
line-height: 2;
}


}