@charset "UTF-8";
/*-----------------------------------------------
Theme Name: risk-megane-child
Template: risk-megane
-----------------------------------------------*/
.sp{display:none;}
body{background:#EBEBEB;}
#header {margin-bottom: 20px;width:100%;max-width:1150px;height:auto;}
#header img{max-width:1150px;width:100%;height:auto;vertical-align: bottom;}
.search_area {right: 30px;top: auto;bottom: 54px;}
.flex-control-nav .title {font-size: 12px;line-height: 140%;}
.headline1,.headline2{background:none;background:#222;color:#fff;}
#return_top{background-color:#F00!important;}
#return_top:hover{background-color:#FF6868!important;}
a.news_widget_list_link,#index_pr_post a,.pr_widget a,.headline1 a,#header_menu li a {background:none;}
a.news_widget_list_link:before{	font-family:FontAwesome;content:"\f0da";margin-right:5px;}
.pr_widget a:before{font-family:FontAwesome;content:"\f0da";margin-right:5px;color:#D9D900;}
#index_pr_post a:before{font-family:FontAwesome;content:"\f0da";margin-right:5px;color:#D9D900;}
.headline1 a:before{font-family:FontAwesome;content:"\f0da";margin-right:5px;}
#header_menu li a:before{font-family:FontAwesome;content:"\f0da";margin-right:5px;}
#footer_menu li a:hover{color:#E30000;}
/************************************: サイドバー */
/*　image widget */
#contents .widget_sp_image{text-align:center;padding: 0;border:none;background:none;	}

.page_navi a:hover{background:#7B93A0!important;}
.side_headline{background:none;background:#222;color:#fff;}
.ranking_widget .rank1 span, .ranking_widget .rank2 span, .ranking_widget .rank3 span {background: #F00;}
.widget_sp_image img:hover{opacity:0.7;}
.widget_custom_post_widget{background: none;border: none;padding: 0px;margin:0;	}
.widget_custom_post_widget img:hover{opacity:0.8;}
#footer_wrap{display:none;}
#right_col .kotei_btn_inner{margin-bottom:20px;}
.link_top {text-align:center;margin:50px 0;}
.link_top a {background-color:#44c767;border-radius:24px;border:1px solid #18ab29;display:inline-block;cursor:pointer;color:#ffffff;font-size:28px;padding:16px 31px;text-decoration:none;font-weight:bold;}
.link_top a:hover {background-color:#5cbf2a;}
/*タグクラウド*/
.tagcloud {margin: 15px 0;}
.tagcloud a {font-size: 13px !important;font-weight: bold;line-height: 1;display: inline-block;/*white-space: nowrap;*/padding: 4px 0;margin-top: 3px;text-decoration: none;min-width: 48%;}
.tagcloud a:before {font-family: "FontAwesome";content: "\f02b"; padding-right: 2px;}

@media screen and (min-width: 641px){
#logo_text{	display:none;	}
#header img{width:100%;max-width:1150px;}
#header_menu_area{right: 30px;    bottom: 22px;	top:auto;}
.social_link li.rss a { background:url(img/common/icon_rss.png) no-repeat left bottom; }
.social_link li.twitter a { background:url(img/common/icon_twitter.png) no-repeat left bottom; }
.social_link li.facebook a { background:url(img/common/icon_facebook.png) no-repeat left bottom; }
.social_link li a:hover { background-position:left top; }

#contents {margin: 0 auto 0px;}
#index-category-post-8 .index_category_post {margin: 0 0 9px 0;}}

@media screen and (max-width: 640px){
.sp{display:block;}
#header{background:none;height:auto; margin-bottom:0; padding:5px 0 0 0; 
}
	
#header img{max-width:100%;width:100%;height:auto;margin-top:10px;}
.social_link li.rss a { background:url(img/common/icon_rss.png) no-repeat left bottom; }
.social_link li.twitter a { background:url(img/common/icon_twitter.png) no-repeat left bottom; }
.social_link li.facebook a { background:url(img/common/icon_facebook.png) no-repeat left bottom; }
.social_link li a:hover { background-position:left top; }
#main_slider .flex-caption {overflow:hidden;/*	width: 91%;*/}

/* sidebar */
#right_col .widget_custom_post_widget .kotei_btn_inner{margin-bottom:20px;	font-size:0;text-align:center;}
#right_col .widget_custom_post_widget .kotei_btn_inner a{display:inline-block;width:47%;margin-bottom:10px;margin:5px 0.5% 5px 0.5%;vertical-align:top;}
.tagcloud a {font-size: 14px !important;line-height: 1.7;}}

#right_col #styled_post_list1_widget-2 h3.side_headline,#right_col #styled_post_list1_widget-4 h3.side_headline,.archive #styled_post_list1_widget-3 h3.side_headline{background:#DAA520 !important;}


#share_top1 {
	margin-top:0px!important;
}



/*　記事直下のバナースマホのみ表示させる　181206*/
@media only screen and (min-width: 737px) {
	.banner-1812 {
		display: none;
	}	
}	
@media only screen and (max-width: 736px) {
	.banner-1812 {
		margin: 0 0 20px 0;
		font-size: 11px;
		background: #f9f9f9;
		border: 1px solid #ddd;
		padding: 15px 15px 10px;
		position: relative;
    	text-align: center;
	}
		.side_widget img {
		height: auto;
		max-width: 100%;
		/* width: auto; */
	}
}

/* コメントを表示させない */
#comments{ display:none;}


/* 記事下の用語集のデザイン 20190618 */
.box {
    margin: 10px 0;
    background: #f9f9f9;
    border: 1px solid #ccc;
    padding: 1em;
	text-align:center;
}

.box a {
    background: #333;
    color: #fff;
    text-decoration: none;
    text-align: center;
    display: inline-block;
    box-sizing: border-box;
    height: 3em;
    line-height: 3em;
    padding: 0 2em;
    position: relative;
    margin: 10px;
}
.box a:hover {
    transition: 0.5s 
}
i.fas.fa-angle-right {
    margin-left: 1em;
}

/*20200602 - 文字が枠からはみ出るのを修正 */
p{
    word-break:break-all;
}

