/*
Theme Name: Utsu
Theme URI: 
Description: Themes for Utsurundesu. This is a child theme of StartupWP
Author: Akio Hamada
Author URI: 
Version: 1.0.0
License: GNU General Public License
License URI: https://www.gnu.org/licenses/gpl.html
Text Domain: utsu
Domain Path: /languages
Template: startupwp
*/

html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video {
/*
	font:inherit;
*/
	padding:0;
	border:0;
	margin:0;
	vertical-align:baseline;
}
body {
	line-height:1;
/*
	font-size: 62.5%;
*/
	font-size: 60%;
}
ol,ul {
	list-style:none;
}
blockquote,q {
	quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
	content: '';
	content: none;
}
table{
	border-collapse: collapse;
	border-spacing: 0;
}
/*
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
	display: block;
}
*/
/*
blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}
table{border-collapse:collapse;border-spacing:0}
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}

th, td {
	padding:2px;
}
big {
	font-size:125%;
}
small,
sup,
sub {
	font-size:80%;
}
sup {
	vertical-align: super;
}
sub {
	vertical-align:sub;
}
dd {
	margin-left: 20px;
}
kbd,
tt {
	font-family:courier;
	font-size: 80%;
}

ins {
	text-decoration: underline;
}
del, strike, s {
	text-decoration:line-through;
}
*/
body {
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif, georgia,'times new roman',times,serif!important;
	color:#333;
	margin:0 0 4%;
	background:#ddd;
}
select {
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif, georgia,'times new roman',times,serif!important;
	width: 93%;
	font-size: 0.7em;
	font-size: 0.7rem;
}

p {
	margin:12px 0;
	margin:1em 0;
/*
	margin:0.8rem 0;
*/
	margin:1rem 0;
}

/*
.entry-content p:first-of-type {
	margin-top:0;
}
.entry-content p:last-of-type,
.entry-content:last-child {
	margin-bottom:0;
}
#content,
.widget-container {
	font-size:87.5%;
}

*/
a,
h2 {
	color:#A66700;
	text-decoration:none;
}
/*
a:hover {
	text-decoration: underline
}
*/

h1, h2, h3, h4, h5, h6 {
	font-weight:normal;
	margin-top:20px;
	margin-bottom:5px;
	clear:both;
}

h1 {
	font-size:175%;
	color:#666;
}
h2 {
	font-size:155%;
/*
	color:#268554;
*/
}
h2.entry-title {
	line-height: 1.2em;
}
h3 {
	font-size:135%;
	color:#888;
}

#container {
	font-size: 140%;
/*
	font-size: 150%;
*/
}
div.entry-content h3,
#content .page h3 {
	color: #666;
	margin-bottom: 10px;
	font-weight: bold;
}
h4 {
	font-size:1em;
	font-size:1rem;
}
h5 {
	font-size:115%;
}
h6 {
	font-size:105%
}

/*
strong,
dt {
	font-weight:bold;
}
em,
address,
cite,
var {
	font-style:italic;
}
code {
	font-family:'courier new',courier,serif;
	color:#777;
}
pre {
	overflow-x:auto;
	white-space:pre-wrap;
}
hr {
	height:1px;
	color:#ccc;
	border:0 none;
	margin:30px 0;
	background-color: #ccc;
}
*/

.entry-content ul,
.entry-content ol,
.comment-content ul,
.comment-content ol {
/*
	font-family:helvetica,arial,sans-serif;
*/
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif, georgia,'times new roman',times,serif!important;
	margin-left:20px !important;
	list-style-type: disc;
}
.entry-content li,
.comment-content li {
	margin: 10px 0;
}

/*
.entry-content li:before,
.comment-content li:before {
	content:"- ";
}

ol li:before {
	content:"" !important;
}

#container ol,
.comment-content ol {
	list-style:decimal inside;
}

#sidebar .widget-container ul li {
	display:block;
	margin-left:10px;
}
*/

blockquote {
	padding:15px;
	border:4px double #ddd;
/*
	margin:10px 2%;
*/
	margin:10px 0; /* 20180520 changed */
	background:#f6f6f6;
}

input,
textarea {
/*
	font-family:arial,sans-serif;
*/
	font-family:inherit;
	font-size:85%;	
	color:#666;
	padding:5px;	
	border:1px solid #004a80;
	outline:none;
	background:#f6f6f6;
}
#container input,
#container textarea {
	font-size:90%;
	border:1px solid #ccc;
}

input[type="submit"],
input[type="reset"] {
	cursor:pointer;
}

#content input[type="submit"],
#content input[type="reset"],
#container #searchsubmit,
button {
	font-size:100% !important;
	color:#fff;
	text-shadow:0 1px 0 #555;
	padding:8px 10px;
	border:1px solid #888;
	border-radius:3px;
	box-shadow:0 1px #9FA4A8 inset;
	background-color:#fff;
	background:linear-gradient(to top, #46484A, #7E8185);
	opacity:0.9;
}

#content input[type="submit"]:hover,
#content input[type="reset"]:hover,
#container #searchsubmit:hover,
.button:hover {
	opacity:1;
}

#content input[type="submit"]:focus,
#content input[type="reset"]:focus,
#container #searchsubmit:focus,
button:focus {
	background-color:#fff;
	box-shadow:0 -1px 0 #9FA4A8 inset;
	background:linear-gradient(to top, #46484A, #7E8185);
	opacity:0.9;
}
.clear {
	clear:both;
}
a img, input[type="image"] {
	border:0 none;
}

img, video, select {
	max-width:100% !important;
	height:auto;
}

#container,
#breadcrumbs,
#twitter-feed {
	box-shadow:0 0 4px #aaa;
}

#wrapper {
	max-width:1000px;
	min-width: 0;
	margin:0 auto;
}
header {
	padding-bottom: 10px;
	clear: both;
}
#header-image {
	position: relative;
}
#header-image img {
	width: 100%;
/*
	height: 100%;
*/
}

#site-info {
	position: absolute;
	padding: 0 10px;
	top: 10px;
}
#branding {
	margin-bottom: 0px;
	float: left;
}
#logo {
	width:100%;
}
#container {
	padding-bottom: 20px;
	background: #fff;
}
#content {
/*
	original=70%
	width: 70%;
*/
	width: 79%;
	padding:0 1%;
	float:left;
/*
	float: right;
*/
}
.page-template-templatestemplate-sidebar-left-php #content,
.page-template-templatestemplate-sidebar-left-left-php #content {
	float: right;
}
.page-template-templatestemplate-sidebar-none-php #content,
.page-template-templatestemplate-login-php #content {
	width:96%;
}
.page-template-templatestemplate-sidebar-left-right-php #content,
.page-template-templatestemplate-sidebar-left-left-php #content,
.page-template-templatestemplate-sidebar-right-right-php #content {
	padding:0;
}

#main {
	width: 75%;
	float: right;
}
#sidebar {
/*
	original=25%
	width: 25%;
*/
	float: right;
	width: 18%;
	margin-right:5px;
}
#lsidebar {
	width: 22%;
	margin-right:5px;
	margin-left: 5px;
	margin-top: 10px;
/*
	float: right;
*/
	float: left;
}
#rsidebar {
	width: 20%;
	margin-right:0;
	float: right;
}

.page-template-templatestemplate-sidebar-left-php #sidebar {
	margin-right: 0;
	margin-left: 2%;
	float:left;
}
.page-template-templatestemplate-sidebar-left-right-php #lsidebar-sidebar,
.page-template-templatestemplate-sidebar-left-right-php #rsidebar-sidebar,
.page-template-templatestemplate-sidebar-left-left-php #lsidebar-sidebar,
.page-template-templatestemplate-sidebar-left-left-php #rsidebar-sidebar,
.page-template-templatestemplate-sidebar-right-right-php #lsidebar-sidebar,
.page-template-templatestemplate-sidebar-right-right-php #rsidebar-sidebar {
	width: 14%;
	margin: 0 2%;
}
.page-template-templatestemplate-sidebar-left-right-php #lsidebar-sidebar,
.page-template-templatestemplate-sidebar-left-left-php #lsidebar-sidebar,
.page-template-templatestemplate-sidebar-left-left-php #rsidebar-sidebar {
	float:left;
}
.page-template-templatestemplate-sidebar-left-right-php #rsidebar-sidebar,
.page-template-templatestemplate-sidebar-right-right-php #lsidebar-sidebar,
.page-template-templatestemplate-sidebar-right-right-php #rsidebar-sidebar {
	float:right;
}
.page-template-templatestemplate-sidebar-left-left-php #content,
.page-template-templatestemplate-sidebar-left-left-php #rsidebar-sidebar {
	margin:0 2% 0 0;
}
.page-template-templatestemplate-sidebar-right-right-php #content, 
.page-template-templatestemplate-sidebar-right-right-php #lsidebar-sidebar {
	margin:0 0 0 2%;
}
footer {
	clear:both;
/*
	position: absolute;
	bottom: 0;
*/
}

#social {
	float:right;
}
#social a img {
	width:32px;
	height:32px;
	margin:0 0 10px 10px;
	opacity:0.7;
	box-shadow:1px 1px 4px #aaa;
	float:right;
}
#social a img:hover {
	opacity:1;
}

nav#access {
	border-radius: 0px;
	margin-top: 0px;
	background-color: #333;
/*
	background-image: url(images/nav-bg.png);
*/
	background:linear-gradient(to top, #111, #555);
	background-repeat: repeat-x;

	clear:both;
}
nav ul.menu {
	padding-left:4px;
}
nav .parent > a, nav .parent > a:hover {
	background-image:url(images/arrow.png);
	background-position:right;
	background-repeat:no-repeat;
}
nav ul ul .parent > a,
nav ul ul .parent:hover > a:hover,
nav ul ul li:hover ul .parent > a,
nav ul ul li:hover ul .parent > a:hover {
	background-image:url(images/arrow-right.png);
	background-position:right;
	background-repeat:no-repeat;
}
nav ul,
nav ul li {
	display:inline-block;
}
nav ul li a {
	display:inline-block;
/*
	font-family:'lucida grande',helvetica,arial,verdana,sans-serif;
*/
	font-size:14px;
	color:#fff;
	line-height:37px;
	line-height:30px;
	text-decoration:none;
	text-shadow:1px 1px 1px #333;
	padding:0 15px;
	border-right:1px solid #555;
}
nav ul.menu li a {
	margin-left:-4px;
}
nav ul li a:hover {
	color:#fff;
	text-decoration:none;
	box-shadow:0 0 5px #000 inset;
	background:#444;
}
nav .current-menu-item a,
nav .current_page_item a {
	color:#ccc;
	text-shadow:none;
}
nav .current-menu-item .sub-menu a,
nav .current_page_item .children a {
	color:#fff;
	text-shadow:1px 1px 1px #333;
}
/*
nav ul > li:first-child a:hover {
	border-radius:5px 0 0 5px;
}
*/

/*
nav .sub-menu {
	margin-top: -6px;
}
*/
nav .sub-menu li a,
nav .children li a {
	border-radius:0 !important;
}
nav li .sub-menu {
	margin-left:-4px;
}
nav ul li {
	position:relative;
}
nav li ul {
	display:none;
	position:absolute;
	top:29px;
	left:0;
}
nav li ul a {
	background:#666;
}
nav ul ul li:hover ul,
nav ul ul ul li:hover ul {
	left:0;
	margin:-34px 0 11px 179px;
}
nav ul li:hover ul {
	display:inline-block;
}
nav ul ul,
nav ul li:hover ul ul,
nav ul ul li:hover ul ul {
	display:none;
}
nav ul li:hover ul,
nav ul ul li:hover ul,
nav ul ul ul li:hover ul {
	display:block;
	z-index:2147483647;
}
nav ul li:hover ul li a,
nav ul ul li:hover ul li a,
nav ul ul ul li:hover ul li a {
	font-size:13px;
	line-height:30px;
/*
	width:150px;
*/
	width:200px;
	padding:0 14px;
	border:1px solid #444;
	margin:-1px 0 0;
	opacity:0.9;
}
nav ul li:hover ul li a{}
nav ul ul li:hover ul li a{}
nav ul ul ul li:hover ul li a{}
nav ul li:hover ul li a:hover,
nav ul ul li:hover ul li a:hover,
nav ul ul ul li:hover ul li a:hover {
	background:#555;
	opacity:1;
	box-shadow:none;
}

#breadcrumbs {
	color:#666;
	padding:10px 10px 8px;	
	margin-top:20px;
	background:#fff;
	font-size: 14px;
}
#breadcrumbs ul,
#breadcrumbs li {
	display:inline;
}

#slider {
	min-height:200px;
	margin-bottom:20px;
	position: absolute;
}

#twitter-feed {
	padding:10px 20px;
	border:1px solid #fff;
	margin-bottom:20px;
	background:#eee;
}
#twitter-feed .twitter-timeline {
	width:100% !important;
}

#share {
	margin:2% 0 1.5%;
}
#share .fb-like {
	float:left;
}
#share .twitter-share-button {
	margin-left:30px;
	float:left;
}
#share .g-plusone {
	float:left;
}

header a {
	outline:none;
}
#content,
#sidebar {
	color:#333;
/*
	line-height:130%;
*/
	line-height:160%; /* 20180519 changed */
}

.entry-content {
	text-align: left;
	margin: 20px 0 0px 0;
	font-size: 105%; /* 20180519 added */
}
.entry-meta,
.entry-footer,
.comment-meta,
#copyright {
	font-size:0.8em;
	font-size:0.8rem;
}

#site-title a,
#site-title h1 a,
#site-title h1 {
/*
	font-family:helvetica,arial,sans-serif;
*/
	font-family: inherit;
	font-size:40px;
	font-weight:bold;
	color:#eee;
	text-shadow:0 2px 1px #333;
	padding:0;
	margin:0;
}
#site-title a:hover,
#site-title h1 a:hover {
	text-decoration:none;
}
#site-description {
	font-size: 0.8em;
	font-size: 0.8rem;
	color:#eee;
	line-height: 1.2em;
}

h4, h5, h6,
.entry-meta,
.entry-footer,
.comment-meta,
#form-allowed-tags code {
	color:#555;
}

#sidebar ul {
	display:inline;
	padding:0;
	margin:0;
}

.widget-title {
	font-size:110%;
	margin-top: 0;
	padding-top: 0;
	padding-left: 10px;
	padding-top: 5px;
	padding-bottom: 5px;
	background-color: #333;
	color: #eee;
}

#respond h3 {
	clear:left;
}
footer a {
	color:#666;
	text-shadow:0 1px 0 #fff;
}

#copyright {
	color: #555;
	text-align: left;
	text-shadow: 0 0 0;
	padding: 3px;
	font-size: 110%;
}

#affiliate {
	text-align: center;
	padding: 0 10px;
	font-size: 90%;
}
.amazon {
	text-align: center;
}

.amazonjs_image {
	border: dotted 1px #CCC;
	padding: 2px;
}
#sidebar #earchform {
	padding:5px 0;
	float:none;
}
#wrapper #s {
	width:200px;
	height:13px;
	color:#111;
	border:none;
	border-radius:5px;
	box-shadow:1px 1px 1px #000 inset;
	background:url(images/find2.png) no-repeat scroll right center #ddd;
}

#s:focus {
	background:#fff;
}
#wrapper #s:focus {
	color:#555;
	background:#eee;
}
#searchsubmit {
	width:60px;
	height:28px;
	float:right;
}
nav #searchsubmit {
	display:none;
}

#container #searchsubmit {
	padding:0;
	border-radius:0 3px 3px 0;
}
.searchform,
.error404 #content #searchform,
.search #content #searchform {
	text-align: center;
	margin-top:55px;
	float:left;
}

.post{
	margin-top: 20px;
	border: solid 1px #ccc;
	padding-bottom: 5px;
	padding-left: 3%;
	padding-right: 3%;
	margin-bottom:20px;
	background-color: #eee;
}
.entry-title {
	margin-bottom:15px;
}
.single .entry-title {
	text-align:left;
	line-height:30px;
	margin-top:12px;
	margin-bottom:10px;
}

.entry-title a {
	font-size:100%;
}

.nav-previous,
.nav-next {
	font-size: 1.0em;
	font-size: 1.0rem;
}
.nav-previous {
	padding-left: 5px;
	text-align:left;
	float:left;
}

.nav-next {
	padding-right: 5px;
	text-align:right;
	float:right;
}

.attachment .nav-previous {
	float:left;
}

.attachment .nav-next {
	float:right;
}

.comments ul {
	padding: 0;
	margin:0;
}
.comment,
.trackback,
.pingback {
	padding: 10px;
	margin:10px 0 10px 0;
	border: solid 1px #CCC;
}
.odd {
	background:#f6f6f6;
}
#form-allowed-tags code {
	font-size:12px;
}
#respond input {
	width:40%;
	display:block;
}
#respond input:focus,
#respond textarea:focus {
	background:#fff;
}
#respond textarea {
	width:98.125%;
	height:100px;
	overflow:auto;
}
#respond #submit{
	width:auto;
	font-weight:bold;
}
.avatar{
	width:32px;
	height:32px;
	margin:0 5px 5px 0;
	float:left;
}

.sticky{
	padding:0.01px 15px 15px 15px;
	margin-top:20px;
	background:#f6f6f6;
}
.sticky .entry-title {
	padding-top:20px;
	margin-top:0;
}
.bypostauthor {
	background:#f6f6f6;
}
.wp-caption{
	margin:20px 0;
}
.wp-caption-text{}
.alignleft,
.aligncenter,
.alignright {
	text-align:center;
}
.gallery-caption {
	border:#ccc 1px solid;
}
.alignleft {
	margin:15px 15px 15px 0;
	float:left;
}
.alignright {
	margin:15px 0 15px 15px;
	float:right;
}
.aligncenter {
	display:block;
	margin:15px auto;
	clear:both;
}
.size-thumbnail {
	margin:5px;
}
#wp-calendar {
	width:100%;
}

#wp-calendar td,
#wp-calendar th {
	text-align:center;
}
#wp-calendar td#today {
	font-weight: bold;
}
#wp-calendar tbody td a {
	color: #A66700;
/*
	text-decoration: none;
*/
}
#wp-calendar #prev {
	text-align:left;
}
#wp-calendar #next{
	text-align:right;
}

.page-link,
.entry-footer,
.edit-link {
	display:block;
	clear:both;
	margin-top:5px;
}

.home #breadcrumbs,
#nav-above,
.form-allowed-tags,
.twtr-ft {
	display:none;
}
.attachment #nav-above {
	display:block;
}

.breadcrumbs {
	font-size: 12px;
	margin-top: 5px;
	line-height: 1em;
}
.breadcrumbs .post {
	background: none;
	border: none;
	padding: 0;
}

pre {
/*
	20180522 changed
	font-size: 100%;
*/
	font-size: 110%;
}

pre.code {
	background-color:#F0FFFF;
	font-family:"MeiryoKe_Gothic", "Lucida Console", monospace;
	font-size:80%;
	margin: 0 0px 1.5em 0px;
	padding-left:0.4em;
	text-align: left;
	word-break: break-all;
	overflow: scroll;
	border: solid 1px;
}
pre.log,
pre.log_short {
	background-color:#FFFFFF;
	font-family:"MeiryoKe_Gothic", "Lucida Console", monospace;
	font-size:80%;
	margin: 0 0px 1.5em 0px;
	padding:0.4em;
	text-align: left;
	word-break: break-all;
/*	overflow: scroll;*/
	overflow: auto;
	border: solid 1px;
/*    height: 10em;*/
}
strong {
	font-weight: bold;
}

h2.entry-title a {
/*
	color: #268554;
*/
	color: #A66700;
}
div#content h2 a:hover {
/*
	text-decoration: none;
*/
}
.comment-content {
	padding: 0 3%;
}

.widget-container {
	border: solid 1px #CCC;
	margin: 10px 0;
}

.widget-area {
	margin-top: 10px;
/*
	padding-right: 18px;
*/
}

li.widget-container select {
	margin: 5px 0 10px 5px;
}

div#calendar_wrap {
	padding: 10px!important;
}

div#calendar_wrap tfoot,
div#calendar_wrap th,
div#calendar_wrap td {
	height: 1.5em;
}

div#calendar_wrap th {
	padding-top: 2px;
}
table#wp-calendar caption {
	border-bottom: solid 1px #CCC;
}
table#wp-calendar tfoot {
	margin-top: 2px;
	border-top: dotted 1px #CCC;
}

#wrapper header {
	position: relative;
}
#searchform {
	padding: 10px 0 15px 0!important;
	margin:0px;
	float:right;
}
input#searchsubmit {
	display:none;
}
#search-wrapper {
	position: absolute;
	top: 2px;
	right: 5px;
}
#sidebar #s {
/*
	width:95%;
*/
	border-right:1px solid #ccc;
}

li.widget_search {
	border: none;
	margin: 0;
}
li.widget_search h3 {
	display: none;
}

div#analyze {
	display:none;
}

div#nav-below {
	padding-bottom: 1.5em;
	padding-bottom: 1.5rem;
}

div.recent-comment,
div.recent-entries {
	font-size: 0.7em;
	font-size: 0.7rem;
	padding: 5px 10px;
	line-height: 1.2em;
	line-height: 1.2rem;
	word-break: break-all;
}
div.recent-comment table {
	margin: 0 10px;
}
div.recent-comment table td {
	padding: 0 2px;
}
div.monthly_nav {
	text-align: left;
}
div.monthly_nav:before {
	content: "";
}

div#respond p {
	margin: 15px 0;
}

div.feed {
	text-align: center;
}

.feed p {
	margin: 5px 0;
}
p.feed i {
	color: #005511;
}

div#profile {
	margin: 0 10px 5px 15px;
	font-size: 80%;
	line-height: 1em;
	line-height: 1rem;
}

div#site-logo,
div#site-logo img {
	display: none!important;
}

div.to_top {
	position: fixed;
	bottom: 15px;
	right: 15px;
	z-index: 1500;
	opacity: 0.5;
	display: none;
}

abbr.author {
	display: none;
}

span.comment-author {
	font-size: 1.1em;
	font-size: 1.1rem;
}

/* Affilate */
.google-adsense {
	margin-bottom: 10px;
	text-align: center;
/*
	border: dotted 1px #CCC;
*/
}
.google-adsense-rectanble {
/*
	text-align: center;
	border: dotted 1px #CCC;
*/
}

div#affiliate {
	padding-top: 10px;
}

div.single-category {
}
div.ranking {
	text-align: left;
	margin: 10px 0 5px 10px;
}

div#rakuten {
	margin-top: 40px;
	text-align: center;
	border: solid 2px #CCF;
	border-radius: 5px;
}
div#amazon-banner {
	margin-top: 20px;
	text-align: center;
}

div#trackbacks-list {
	width: 100%;
}

.screen-reader-text {
	display: none;
}

/* Smaller than standard 1060 (devices and browsers) ----------- */
@media screen and (max-width: 1024px) {
	#wrapper {
		max-width: 900px;
	}
	#wrapper #s {
		width:229px;
		height:16px;
		border-right:0;
		float:none;
	}
	select#cat {
		font-size: 12px;
	}
	#searchform {
		text-align: center;
/*
		margin: 0  5px;
		width: 96%;
*/
	}
}

input#searchsubmit {
	display:none;
}
#search-wrapper {
	position: absolute;
	top: 2px;
	right: 5px;
}
#sidebar #s {
	width:90%;
	border-right:1px solid #ccc;
}

div#analyze {
	display: none;
}

div#nav-below {
	padding-bottom: 1.5em;
	padding-bottom: 1.5rem;
}

div.recent_comment {
	font-size: 12px;
}
div.monthly-nav {
	margin-top: 10px;
	text-align: left;
}
div.monthly-nav:before {
	content: "";
}

div#respond p {
	margin: 15px 0;
}

div#profile {
	margin: 0 10px 5px 15px;
	font-size: 80%;
	line-height: 1em;
	line-height: 1rem;
}

div#site-logo {
	display: none;
}

div.to_top {
	position: fixed;
	bottom: 15px;
	right: 15px;
	z-index: 1500;
	opacity: 0.5;
	display: none;
}

abbr.author {
	display: none;
}

h3#reply-title {
	font-size: 130%;
}
div.pagination {
	text-align: left;
}
div.pagination a,
span.page-numbers {
	margin: 0 4px;
}
li.widget_recent_entries ul li a {
	font-size: 12px;
}

.emphasis {
	color: #F00;
	font-size: 120%;
}

/* For history pages. */

p.chapter-header {
	font-size: 1em;
	font-size: 1rem;
}

div.chapter-container {
	border: solid 1px #CCC;
	padding-left: 20px;
	padding-right: 20px;
	padding-bottom: 10px;;
	box-shadow: 5px 5px 5px #CCC;
	background: #EEE;
}

.chapter-doc {
}

.chapter-toc table {
	margin-top: 15px;
	margin-bottom: 15px;
}

.chapter-toc table caption {
	text-align: left;
	padding-top: 5px;
	padding-bottom: 5px;
	font-size: 1em;
	font-size: 1rem;
}

.chapter-toc table td {
	padding-right: 10px;
	font-size: 0.9em;
	font-size: 0.9rem;
}

.chapter {
	padding-top: 20px;
	margin-bottom: 0px;
}

.chapter-top {
	margin-top: 5px;
	padding-top: 0px;
}

.chapter h3:before {
	content: '\f0da  ';
	font-size: 135%;
	font-family: FontAwesome;
}

.toc hr {
	border: dotted 1px #CCC;
}

.chapter img {
	padding-top: 10px;
	padding-bottom: 10px;
}

img.left {
	float: left;
	padding-right: 5px;
}

img.right {
	float: right;
	padding-left: 10px;
}

.history-nav {
	margin-top: 20px;
}

div.type-page h1 {
	margin-bottom: 20px;
	padding-bottom: 2px;
	padding-left: 5px;
	border-bottom: solid 1px;
	color: #765C19;
	border-left: solid 5px #765C19;
}

.static-nav {
	padding: 2px 4px;
	border: dashed 1px #DDD;
	background: #FFF;
}
/* clearfix */
.clearfix:before,.clearfix:after {
	content: " ";
	display: table;;
}

.clearfix:after {
	clear: both;
}
.clearfix {
	*zoom: 1;
}

.widget_search {
	height: 40px;
}

.red {
	color: #f00;
}

.large {
	font-size: large;
}

.small {
	font-size: small;
}

.ad {
	margin-top: 0;
	border-bottom: solid 1px #CCC;
	text-align: left;
}
.center {
	text-align: center;
}

/* =Responsive Structure
----------------------------------------------- */

/* Smaller than standard 1060 (devices and browsers) ----------- */
@media screen and (max-width: 1060px) {

}

/* iPad (landscape) ----------- */
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : landscape) {
	#wrapper {
		width: 960px;
		max-width: 98%;
	}
}

@media screen and (max-width:960px) {
	#wrapper {
		max-width: 860px;
	}
	select#cat {
		font-size: 10.5px;
	}
}

@media screen and (max-width:880px) {
	#wrapper {
		max-width: 768px;
	}
}

/* one column */
@media screen and (max-width:768px) {
	#wrapper {
		max-width: 100%;
		margin: 0 auto;
		text-align: center;
	}
	#site-title a,
	#site-title h1 a,
	#site-title h1 {
		color:#666;
		text-shadow:0 1px 0 #fff;
	}
	#wrapper #s {
		color:#333;
		box-shadow:1px 1px 1px #000 inset;
		width: 100%;
	}

	#header-image img,
	#slider {
		display: none;
		position: absolute;
	}
	#site-info {
		position: static;
		margin-top: 5px;
	}
	#site-description {
		margin: 5px 0 5px 0;
		color: #555;
	}
	#searchsubmit {
		float: none;
	}
	header,
	div#search-wrapper,
	#main,
	#sidebar,
	#lsidebar,
	footer{
		float: none;
		width: 98%;
		max-width: 98%;
		text-align:left;
		margin-left:auto;
		margin-right:auto;
	}
	#lsidebar {
/*
		display: none;
*/
		position: static;
	}
	#content {
		width: 98%;
		text-align: left;
		margin: 0 auto;
		padding-left: 1%;
		padding-right: 1%;
	}
	nav {
		text-align: center;
	}
	div.menu-header-container {
		display: none;
	}
	div.small-nav,
	p.menu-title {
		color: #FFF;
		display: block!important;
		text-align: left;
		font-size: 1rem;
		padding-top: 1px;
	}
	div.small-nav ul {
		display: block;
	}
	div.small-nav p {
		margin: 5px 0;
		padding-top: 5px;
		padding-left: 10px;
		padding-bottom: 10px;
	}
	div.small-nav ul,
	div.small-nav ul li {
		height: 100%;
		width: 100%;
		display: block;
	}
	div.small-nav ul li {
		border-bottom: dotted 1px #CCC;
		padding-bottom: 2px;
	}
	div.small-nav ul li:first-child {
		border-top: dotted 1px #CCC;
	}
	div.small-nav ul li:last-child {
		border-bottom: none;
	}
	#search-wrapper {
		position: static;
		text-align: center;
	}
	div#search-inputs {
/*
		top: 40px;
*/
	}
	nav #searchform {
		float: none;
	}
	nav ul.menu {
		padding-left:0;
	}
	nav .sub-menu,
	nav .children {
		display:none !important;
	}
	nav ul li a,
	nav ul li a:hover {
		width: 100%;
		border:0;
		border-radius:0 !important;
		margin-left:0 !important;
	}
	nav #s {
		width:286px !important;
		margin-bottom:5px;
	}
	#container {
		box-shadow: none;
	}
	.entry-content {
		text-align:left;
	}
	#content h1.page-title {
		line-height: 1.3em;
		line-height: 1.6rem;
	}
	nav {
		text-align: center;
	}
	#searchform {
		float: none;
		text-align: center;
	}
	#search-inputs input#s {
		text-align: left;
	}
	nav ul {
		display: block;
	}
	header {
		padding-bottom: 0;
	}
	div#site-description {
		width: 100%;
	}
	h2.entry-title a {
		line-height: 2em;
		line-height: 2rem;
	}
	div#profile {
		margin: 0 10px 0 15px;
		font-size: 90%;
		line-height: 1em;
		line-height: 1rem;
	}
	h3#reply-title {
		font-size: 110%;
	}
	#respond input,
	#respond textarea {
		width: 95%;
	}
	.history-image {
		display:none;
	}
	div.type-page h1 {
		font-size: 1.2em;
		line-height: 1.2em;
	}
	.breadcrumbs {
		font-size: 0.8em;
		font-size: 0.8rem;
		margin-top: 10px;
		margin-bottom: 10px;
		line-height: 1em;
		line-height: 1rem;
	}
	div.recent-comment,
	div.recent-entries {
		font-size: 0.9em;
		font-size: 0.9rem;
	}
	#sidebar ul li.widget_search {
		display: block;
		display: inline-block;
	}
	ul.amazon li {
		float: left;
	}
	p.ad {
		font-size: 0.9em;
		font-size: 0.9rem;
	}
	#amazon-banner,
	#rakuten {
		display: none;
	}

	div.feed {
		text-align: left;
		margin: 0 10px;
	}

/* fot test */
/*
	.widget_execphp,
	.wp_social_bookmarking_light,
	#lsidebar,
	.google-adsense-rectanble,
	.google-adsense {
		display: none;
	 {
*/
	.amazon-top,
	.google-adsense {
/*
		display: none;
*/
	}
	.widget_search {
		text-align: center;
/*
		display: none;
*/
	}
}

@media screen and (max-width:319px) {
	#wrapper {
		max-width: 300px;
	}
}

@media print {
	body {
		background: none;
	}
/*
	#header-image img,
	.widget_search,
*/
	li.widget_search {
		display: none;
	}
	.widget_calendar,
	li.widget_archive,
	li.widget_categories,
	#text-9 {
		display:none;
	}
	#header-image,
	#content,
	#sidebar {
		display: block;
		float: none;
		width: 100%;
	}
	#header-image img {
		display: none;
	}
	#site-title h1 a,
	#site-description {
		display: block;
		color: #fff;
	}
	nav {
		border: solid 1px #000;
		background-color: #fff;
		color: #555;
	}
}
