﻿@import url("https://www.nazo2.net/css/global_style.css");

/*--------------------------------------
  パンくずリスト
--------------------------------------*/
.pan{
	width: 90%;
	margin: 10px;
	text-align: left;
}
/*--------------------------------------
  メインカラム
--------------------------------------*/
#main p{
	line-height:140%;
	box-sizing:border-box;
	padding:0 10px;
}
#main h3{
	line-height:140%;
	background:#99cc99;
	box-sizing:border-box;
	padding:5px;
}
/*--------------------------------------
  サイドカラム
--------------------------------------*/
.side_box{
	border: 2px #00b250 solid;
	text-align:left;
	background:#ccffcc;
}
.side_box h2{
	margin:0;
	font-size:20px;
	width: 100%;
	min-height:40px;
	line-height:160%;
	padding-left:5px;
	box-sizing:border-box;
	border-left: 10px #00b250 solid;
}
.side_box ul li{
	position: relative;
	padding:5px;
	box-sizing:border-box;
	border-top: 2px #00b250 solid;
}
.side_box ul li img{
	width:50px;
	margin-right:10px;
	border-radius: 10px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	vertical-align:-10px;
}
#side .side_menu {
	border-radius: 10px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	margin:0 auto;
	padding:0;
	text-align:center;
	overflow:hidden;
	box-sizing:border-box;
	background:#ccffcc;
	width:320px;
}
#side .side_menu li{
	border-radius: 50%;
	-moz-border-radius: 50%;
	-webkit-border-radius: 50%;
	box-sizing:border-box;
	width:156px;
	height:156px;
	margin:2px;
	padding:7px 5px;
	font-size:16px;
	line-height:110%;
	height:150px;
	float:left;
	background:#ffffff;
}

#side .side_menu li img{
	height:90px;
	width:90px;
	object-fit: cover;
	border-radius: 25%;
	-webkit-border-radius: 25%;
	-moz-border-radius: 25%;
}
/*--------------------------------------
  トップリスト
--------------------------------------*/
.top_category_list li{
	position: relative;
	max-width:310px;
	margin:0 5px;
	float:left;
}
.top_category_list li img{
	width:100%;
	max-width:200px;
	margin-bottom:5px;
	border:2px #cccccc solid;
	border-radius: 20px;
	-webkit-border-radius: 20px;
	-moz-border-radius: 20px;
}
.top_category_list li p{
	text-align:center;
	margin:0;
}
.top_category_list li .new{
	color:#ff3333;
	text-shadow: 3px 3px 1px #cccccc;
	font-size:20px;
	font-weight: 900;
	position:absolute;
	top:5px;
	left:15px;
}
/*--------------------------------------
  印刷形式
--------------------------------------*/
.print_format{
	text-align:center;	
}
.print_format a{
	color:#ffffff;
	display:block;
	width:280px;
	margin:-3px 0;
}
.print_format a:hover {
	text-decoration:none;
}
.print_format li{
	float:left;
	width:280px;
	padding:3px 0;
	margin:0 5px auto;
	background: -moz-linear-gradient(top,#BFD9E5, #3D95B7 50%,#0080B3 50%,#0099CC);
	background: -webkit-gradient(linear, left top, left bottom, from(#BFD9E5), color-stop(0.5,#3D95B7), color-stop(0.5,#0080B3), to(#0099CC));
	color: #ffffff;
	font-weight:bold;
	display:block;
	border: 1px solid #0099CC;
	box-sizing:border-box;
	border-radius: 4px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
}
.print_format li img{
	height:118px;
	width:auto;
}
/*--------------------------------------
  印刷リスト
--------------------------------------*/
.print_contents_list{
	text-align:center;	
}
.print_contents_list li{
	float:left;
	width:32%;
	padding:0 2px;
	margin:2px 0.5%;
	border:1px #cccccc solid;
	box-sizing:border-box;
	border-radius: 10px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;	
}
.print_contents_list li h4{
	font-size:18px;
	margin-top:2px;
	margin-bottom:0;
	color:#3366ff;
}
.print_contents_list li h4 img{
	width:48px;
	float:left;
}
.print_contents_list li .print_image{
	width: 100%;
	height: 300px;
	object-fit: cover;
	box-sizing:border-box;	
}
.print_contents_list .printing{
	background:url(https://nazo2.cloud/img/banner/hint.png);
	display:block;
	width:145px;
	height:40px;
	text-align:center;
	text-decoration:none;
	margin:0 auto;
	margin-top:-8px;
	margin-bottom:5px;
	color:#ffffff;
	font-weight:900;
	font-size:20px;
	line-height:200%;
}

.category_list img{
	border:2px #cccccc solid;
	border-radius: 20px;
	-webkit-border-radius: 20px;
	-moz-border-radius: 20px;
}
/*--------------------------------------
  シェアボタン
--------------------------------------*/
.share {
	margin-top:10px;
	max-width:400px;
	text-align:center;
}

 /* フォローボタン */
.followbutton {
	float:right;
	margin-top: 1px;
	margin-bottom: 0;

}
.followbutton img {
	width: 120px;
	height: 48px;
}

/*--------------------------------------
  リンクBOX
--------------------------------------*/
.link_box{
	font-size:14px;
	margin:10px 0;
	width: 95%;
	padding: 5px;
	box-sizing:border-box;

}
.link_box img{
	vertical-align:-2px;
	margin-right:3px;
	width: 16px;
	height:16px;
	border-radius: 2px;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border:none;
}

/*--------------------------------------
  広告
--------------------------------------*/
.article_ad {
	margin: 10px 0 20px 0;
	line-height:100%;
	text-align:left;
	color:#666666;
	font-size:14px;
}
.ad_side {
	margin: 5px 0;
	line-height:100%;
	color:#666666;
	font-size:14px;
}
.footer_ad {
	margin: 7px 0;
	line-height:100%;
	color:#666666;
	font-size:14px;
}

.article_under_ad{
	margin: 15px 5px 0 5px;
	width:300px;
	height:250px;
	float:left;
}


@media screen and (max-width: 640px){
/*--------------------------------------
  メインカラム
--------------------------------------*/
article {
	margin-left: 5px;
	margin-right: 5px;
}
.question img, .answer img{
	width:96%;
	margin:0 auto;
}

/*--------------------------------------
  パンくずリスト
--------------------------------------*/
.pan{
	font-size:13px;
}

.top_title_list a{
	width:49%;
}

/*--------------------------------------
  トップリスト
--------------------------------------*/
.top_category_list{
	width:320px;
	margin:0 auto;
}

.top_category_list li{
	width:49%;
	margin:0 0.5%;
}

/*--------------------------------------
  印刷形式
--------------------------------------*/
.print_format li{
	float:none;
	margin:0 auto;
	margin-bottom:4px;
}
/*--------------------------------------
  印刷リスト
--------------------------------------*/
.print_contents_list li{
	width:100%;
	float:none	
}
.print_contents_list li h4{
	font-size:18px;
	margin-top:2px;
	margin-bottom:0;
	color:#3366ff;
}
.print_contents_list li h4 img{
	width:48px;
	float:left;
}

/*--------------------------------------
  広告
--------------------------------------*/
.article_ad {
	text-align:center;
}

}