/*
Theme Name: dowoh
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dowoh
Tags:

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

dowoh is based on Underscores http://underscores.me/, (C) 2012-2015 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
	## Posts and pages
	## Asides
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
--------------------------------------------------------------*/

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
.main-navigation {
	clear: both;
	display: block;
	float: left;
	width: 100%;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation li {
	float: left;
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 1.5em;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul ul li {

}

.main-navigation li:hover > a,
.main-navigation li.focus > a {
}

.main-navigation ul ul :hover > a,
.main-navigation ul ul .focus > a {
}

.main-navigation ul ul a:hover,
.main-navigation ul ul a.focus {
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	left: 100%;
}

.main-navigation .current_page_item > a,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_ancestor > a,
.main-navigation .current-menu-ancestor > a {
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and (min-width: 37.5em) {
	.menu-toggle {
		display: none;
	}
	.main-navigation ul {
		display: block;
	}
}

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
	margin: 0 0 1.5em;
	overflow: hidden;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	float: left;
	width: 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
	outline: 0;
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}

.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
	content: "";
	display: table;
	table-layout: fixed;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
	clear: both;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
	margin: 0 0 1.5em;
}

/* Make sure select elements fit in widgets. */
.widget select {
	max-width: 100%;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
.sticky {
	display: block;
}

.hentry {
	margin: 0 0 1.5em;
}

.byline,
.updated:not(.published) {
	display: none;
}

.single .byline,
.group-blog .byline {
	display: inline;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/*--------------------------------------------------------------
## Asides
--------------------------------------------------------------*/
.blog .format-aside .entry-title,
.archive .format-aside .entry-title {
	display: none;
}

/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation, /* Older / Newer Posts Navigation (always hidden) */
.infinite-scroll.neverending .site-footer { /* Theme Footer (when set to scrolling) */
	display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {
	margin-bottom: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	vertical-align: top;
	width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-caption {
	display: block;
}

/* 20160114 */
article th, td{
	padding: 10px;
	border: 1px solid #c0d2ce;
}

.entry-content table {
	border: 1px solid #c0d2ce;
	border-collapse: collapse;
	border-spacing: 0;
}

.entry-content table th {
	background-color: #f2ffeb;
	color: #567d75;
	vertical-align: top;
}

article blockquote {
	padding: 10px;
	border-left: 5px solid #7aa40b;
	background-color: #F7F7F7;
}

/* 20160121 */
.entry-meta {}
.entry-meta--right { text-align: right; }

.btn_list {
	text-align: right;
}
.btn_list a {
    width: 126px;
	padding-top: 14px;
}
.btn_list a {
    background: #A6937C none repeat scroll 0% 0%;
    border-radius: 10px;

}

.side_categories {
/*    background: #f8f2ea none repeat scroll 0 0; */
	background: #fff;
    border-radius: 25px;
    margin: 0px 0 30px;
    padding: 10px 20px 10px 0;
}
.side_categories ul {

    list-style-type: none;
    margin: 0;
    padding: 10px;

}
.side_categories ul li {
	background: #fff url("/common/img/normal_btn_arrow.png") no-repeat scroll left center / 23px 10px;
	padding-left: 22px;
	font-size: 90%;
}
.side_categories ul li.child { margin-left: 10px; }
.side_categories ul li a {
	color: #7aa40b;
}

.side_head_hotdays {
    margin: -20px 15px 0 15px;
}
@media only print, only screen and (max-width: 639px) {
	.wp_entry_body img {
		width: 100%;
		height: auto;
	}
	.wp_entry_body .sns_wrap img {
		width: auto !important;
	}
	.wp_entry_body .sns_wrap .btn_line img {
		width: 82px;
		height: 20px;
	}
}

/* comments */


ol.comment-list {
	list-style: none !important;
}	
.comment-meta {
	width: 100%;

}
.comment-author {
	background: #bbb;
	color: #fff;
	font-weight: bold;
	border-radius: 5px;
	padding: 6px;
	display: block;
}
.comment-author .fn a {
	color: #fff;
}
.comment-metadata {
	text-align: right;
}
.comment-metadata a { text-decoration: none; }
.comment-metadata time {
	color: #999;
}
.comment-awaiting-moderation {
	border: solid 3px #eee;
	padding: 10px;
	margin: 8px 0;
}
.reply {
	margin-bottom: 30px;
	text-align: center;
}
.reply a {
	display: block;
	width: 80px;
	background: #658a02;
	color: #fff;
	border-radius: 5px;
	margin: 0 auto;
	padding: 10px;
	color: #fff !important;
	text-decoration: none;
}
.reply a:hover {
  opacity: 0.7;
  filter: alpha(opacity=70);
  -ms-filter: "alpha(opacity=70)";
}

.comment-form-url,
.form-allowed-tags {
	display: none;
}
.comment-form label {
	display: block;
	color: #658a02;
	font-weight: bold;
}
.comment-form-comment textarea {
	border-radius: 5px;
	border: solid 2px #ccc;
	padding: 3px;
	width: 100%;
	box-sizing: border-box;
}
.comment-form-author input,
.comment-form-email input {
	border-radius: 5px;
	border: solid 2px #ccc;
	padding: 3px;
}
.required { color: #FF0000; }

.form-submit input {
	display: block;
	background: #658a02;
	color: #fff;
	border-radius: 5px;
	margin: 0 auto;
	padding: 20px;
	color: #fff !important;
	text-decoration: none;
	border: none;
}
.form-submit input:hover {
  opacity: 0.7;
  filter: alpha(opacity=70);
  -ms-filter: "alpha(opacity=70)";
}

.sns_wrap {
	clear: both;
	margin: 20px 0 10px 0;
	float: right;
}
.btn_fb,
.btn_line,
.btn_twi {
	float: left;
	margin-left: 4px;
}

/* douou-soul blog preview next link */
.pn_page_area {
	margin: 10px 0 30px 0;
}
.pn_page_area .next_btn a:link,
.pn_page_area .next_btn a:visited,
.pn_page_area .preview_btn a:link,
.pn_page_area .preview_btn a:visited{
	color:#76981f;
}
.pn_page_area .next_btn a{
	background:#f6f7f3 url(/common/img/normal_btn_arrow.png) 100% 50% no-repeat;
	background-size:23px 10px;
	border:2px solid #80a12a;
	border-radius:5px;
	display:inline-block;
	padding:0.3ex 30px 0.3ex 15px;
	text-decoration:none;
	margin:0 0 0 auto;
}
.pn_page_area .next_btn a:hover,
.pn_page_area .next_btn a:active{
	background:#fff5d6 url(/common/img/normal_btn_arrow_on.png) 100% 50% no-repeat;
	background-size:23px 10px;
	color:#ffb400;
	border-color:#ffcd56;
}
.pn_page_area .preview_btn a{
	background:#f6f7f3 url(/common/img/normal_btn_arrowL.png) left center no-repeat;
	background-size:23px 10px;
	border:2px solid #80a12a;
	border-radius:5px;
	display:inline-block;
	padding:0.3ex 15px 0.3ex 30px;
	text-decoration:none;
	margin:0 0 0 auto;
}
.pn_page_area .preview_btn a:hover,
.pn_page_area .preview_btn a:active{
	background:#fff5d6 url(/common/img/normal_btn_arrowL_on.png) left center no-repeat;
	background-size:23px 10px;
	color:#ffb400;
	border-color:#ffcd56;
}
@media only print, only screen and (max-width: 639px) {
	.pn_page_area .next_btn a,
	.pn_page_area .preview_btn a {
		display: block;
	}
	.pn_page_area .next_btn a {
		margin-top: 20px;
	}
	.entry-content table, 
	.entry-content img {
	  max-width: 100%;
	  height: auto;
	}
}

@media only print, only screen and (max-width: 329px) {

	.btn_fb,
	.btn_line,
	.btn_twi {
		float: none;
		display:block;
		margin-bottom: 6px;
	}
	.entry-content table, 
	.entry-content img {
	  max-width: 100%;
	  height: auto;
	}
}
