/*
Theme Name:   Twenty Thirteen Child
Description:  Twenty Thirteen の子テーマ。旧サイトで親テーマのCSSに直接加えていた変更を、上書き用のCSSとしてまとめたもの。
Author:
Template:     twentythirteen
Version:      1.0.0
Text Domain:  twentythirteen-child
*/

/*
 * 目次
 *  1. 基本(フォント・色・見出し・段落・リスト・画像・表)
 *  2. ボタン・キャプション
 *  3. レイアウト(.site / ナビゲーション / 記事の幅)
 *  4. このサイト独自のパーツ(ヘッダー・トップページ・フォームなど)
 *  5. フッター
 *  6. メディアクエリ(999px以下 / 767px以下 / 643px以下)
 *
 * 画像(url(images/main/...))は、この子テーマの images/main/ フォルダから読み込まれる。
 * 旧サイトのテーマの images/main/ を、子テーマの images/main/ にコピーすること。
 */


/* ==========================================================================
   1. 基本
   ========================================================================== */

html {
	background-color: #3EA737;
}

html,
body,
button,
input,
select,
textarea,
h1,
h2,
h3,
h4,
h5,
h6,
code,
kbd,
pre,
samp {
	font-family: "メイリオ",Meiryo,"ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro",Osaka,"ＭＳ Ｐゴシック","MS PGothic",sans-serif;
}

body {
	color: #333;
	background-color: #3EA737;
	letter-spacing: 0.04em;
}

h1 {
	font-size: 1.7em;
	margin: 0;
	background: url(images/main/img_midasi_sub.png) no-repeat bottom left;
	padding: 10px 0 3px 28px;
	color: #000;
	font-weight: normal;
	text-shadow: 1px 1px 1px #FFF, -1px 1px 1px #FFF, 1px -1px 1px #FFF, -1px -1px 1px #FFF;
}

h1.topnews {
	font-size: 1.2em;
	color: #000;
	margin: 30px 0 20px 0;
	background-image: url(images/main/img_midasi_news.png);
	background-repeat: no-repeat;
	padding: 0 0 10px 40px;
	font-weight: normal;
	text-shadow: none;
}

h2.line {
	font-size: 1.1em;
	font-weight: bold;
	margin-bottom: 14px;
	border-left: 7px solid #2CA439;
	border-bottom: 1px solid #ccc;
	padding: 0.3em 0.8em;
	text-shadow: 1px 1px 1px #FFF, -1px 1px 1px #FFF, 1px -1px 1px #FFF, -1px -1px 1px #FFF;
}

h3.line2 {
	margin-bottom: 5px;
	padding: 0.3em 0.8em;
	color: #2CA439;
	font-size: 1em;
	font-weight: bold;
	border-bottom: 1px solid #2ca439;
}

p {
	margin: 20px 24px;
	text-shadow: 1px 1px 1px #FFF, -1px 1px 1px #FFF, 1px -1px 1px #FFF, -1px -1px 1px #FFF;
}

menu,
ol,
ul {
	margin: 0;
	padding: 0;
}

img {
	max-width: 100%;
}

a:hover img {
	opacity: 0.6;
}

/* 表: 旧サイトの表示に合わせる(親テーマの新しい表スタイルを打ち消す) */
table {
	background: #fff;
	font-size: 1em;
	line-height: 1.8;
	font-weight: bold;
	padding: 7px 14px;
	text-transform: none;
	color: #333;
	border-bottom: 0;
	border-collapse: separate;
	border-spacing: 2px;
	margin: 0;
	width: auto;
}

tr th {
	font-weight: bold;
	text-transform: none;
	padding: 10px;
	border-bottom: 1px dotted #666;
	background-color: #F3FFE4;
}

td {
	border-top: 0;
	border-bottom: 1px dotted #666;
	padding: 6px 10px 6px 6px;
}

table.form {
	border-collapse: separate;
	border-spacing: 0;
	border-top: none;
	border-left: none;
}

.form th {
	width: 25%;
	font-weight: bold;
	text-transform: none;
	border-bottom: 1px dotted #666;
}

.form td {
	padding: 4px;
	background-color: #fff;
	border-right: none;
	border-top: none;
}

dl.toiawase {
	border-bottom: 1px dotted #666;
	background-color: #F3FFE4;
	width: 70%;
}

dl.toiawase dt {
	float: left;
	clear: left;
	width: 25%;
	font-weight: bold;
	background-color: #F3FFE4;
	border-top: 1px dotted #666;
	padding: 5px;
}

dl.toiawase dd {
	background-color: #FFF;
	border-top: 1px dotted #666;
	margin-left: 25%;
	padding: 5px;
	width: 75%;
	margin-bottom: 0;
}


/* ==========================================================================
   2. ボタン・キャプション
   ========================================================================== */

button,
input[type="submit"],
input[type="button"],
input[type="reset"] {
	background: #f39800;
	background: linear-gradient(to bottom, #f3bb00 0%, #f39800 100%);
}

button:hover,
button:focus,
input[type="submit"]:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
button:active,
input[type="submit"]:active,
input[type="button"]:active,
input[type="reset"]:active {
	background: #f3bb00;
	background: linear-gradient(to bottom, #f3bb00 0%, #fff45c 100%);
}

.wp-caption .wp-caption-text,
.entry-caption {
	font-size: 12px;
}

.wp-caption .wp-caption-text,
.entry-caption,
.gallery-caption {
	font-style: normal;
}


/* ==========================================================================
   3. レイアウト
   ========================================================================== */

.site {
	max-width: none;
}

/* ナビゲーション */
.navbar {
	background-color: transparent;
	background-image: url('images/main/45navi_bk_01.jpg');
	max-width: none;
}

.main-navigation {
	max-width: 960px;
	background-image: url("images/main/45img_bk_navi.png");
	background-repeat: no-repeat;
	z-index: 1;
}

ul.nav-menu,
div.nav-menu > ul {
	margin: 0 auto;
	padding: 0;
}

.nav-menu li {
	width: 192px;
	float: left;
}

.nav-menu li a {
	color: #fff;
	font-size: 0.9em;
	text-align: center;
	padding: 15px 0;
	text-shadow: 0 0 3px #000;
	letter-spacing: 0.1em;
}

.nav-menu li:hover > a,
.nav-menu li a:hover,
.nav-menu li:focus > a,
.nav-menu li a:focus {
	background-color: transparent;
	background-image: url(images/main/45navi_hover.png);
	color: #fff;
}

.nav-menu .current_page_item > a,
.nav-menu .current_page_ancestor > a,
.nav-menu .current-menu-item > a,
.nav-menu .current-menu-ancestor > a {
	color: #fff;
	font-style: normal;
}

/* 記事の幅 */
.entry-header,
.entry-content,
.entry-summary,
.entry-meta {
	max-width: 960px;
	width: 95%;
}

.entry-content img.alignright,
.entry-content .wp-caption.alignright {
	margin-right: 0;
}

.page-links {
	text-transform: none;
}

.error404 .page-wrapper {
	background-color: #fff;
}

.widget {
	font-size: 1em;
}


/* ==========================================================================
   4. このサイト独自のパーツ
   ========================================================================== */

#header-img {
	max-width: 1200px;
	margin: 0 auto;
}

#content ul {
	padding-left: 40px;
}

#content {
	z-index: 2;
	position: relative;
	font-size: 0.85em;
	text-align: justify;
}

#topwood {
	z-index: 0;
	position: absolute;
	right: 66%;
	height: 100%;
	top: -420px;
}

#topwood_1 {
	z-index: 0;
	position: absolute;
	right: 66%;
}

#topwood_2 {
	z-index: 0;
	position: absolute;
	right: 66%;
	bottom: -300px;
	background-image: url("images/main/wood_02.png");
	overflow: hidden;
	height: 100%;
	width: 600px;
}

#topwood_3 {
	z-index: 0;
	position: absolute;
	right: 66%;
	bottom: -550px;
}

#page-top {
	z-index: 1;
	position: relative;
	width: 144px;
	height: 36px;
	left: 75%;
}

.top-news {
	overflow: scroll;
	font-size: 0.9em;
}

.top-news li {
	list-style: none;
}

header img {
	max-width: 100%;
	height: auto;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

#hosoku_text {
	margin: 2em;
	border: 1px solid #2CA439;
	background: #FFF;
	padding: 1em;
}

.photo {
	width: 45%;
	float: left;
	padding: 2%;
}

.center {
	text-align: center;
}

#header-top {
	margin: 0 auto;
	max-width: 960px;
	width: 100%;
	position: relative;
	height: 130px;
}

#header-left {
	float: left;
	width: 40%;
	margin: 25px 0 0 0;
}

#header-right {
	float: left;
	width: 50%;
	position: absolute;
	bottom: 0;
	left: 50%;
	text-align: right;
}

#header-right h1 {
	font-size: 0.7em;
	background: none;
	margin-bottom: 15px;
}

#top {
	margin: 0 auto;
	max-width: 960px;
	width: 100%;
}

#top-left {
	margin-bottom: 50px;
	margin-right: 30px;
	width: 45%;
	float: left;
}

#top-right {
	margin-bottom: 50px;
	margin-top: 50px;
	width: 50%;
	float: left;
}

/* clearfix hack */
.clearfix:after {
	visibility: hidden;
	display: block;
	font-size: 0;
	content: " ";
	clear: both;
	height: 4px;
}

.clearfix {
	content: "";
	display: block;
	clear: both;
}

/* commented backslash */
* html .clearfix {
	height: 1%;
}


/* ==========================================================================
   5. フッター
   ========================================================================== */

.site-footer {
	background-color: #3ea737;
	color: #fff;
	font-size: 0.9em;
	text-shadow: 1px 1px 2px #004B06;
}

.site-footer a {
	color: #fff;
}

.site-footer .sidebar-container {
	background-color: transparent;
	padding: 0;
}

.site-footer .widget {
	width: auto;
	max-width: 480px;
	padding-left: 70px;
}

.site-footer .widget a {
	color: #fff;
}


/* ==========================================================================
   6. メディアクエリ
   ========================================================================== */

@media (max-width: 999px) {

	#topwood {
		display: none;
	}

	#top {
		padding-left: 0;
	}

	#top-left {
		margin-bottom: 20px;
		margin-right: 0;
		padding: 10px;
		width: 48%;
		float: left;
	}

	#top-right {
		margin-bottom: 20px;
		margin-top: 50px;
		padding: 10px;
		width: 48%;
		float: left;
	}

	.main-navigation {
		background-image: none;
		padding-left: 0;
	}

	.nav-menu li a {
		padding-left: 0;
	}

	.nav-menu li:hover > a,
	.nav-menu li a:hover,
	.nav-menu li:focus > a,
	.nav-menu li a:focus {
		background-image: url(images/main/navi_bk_02.jpg);
		color: #fff;
	}

	.site-footer .widget {
		padding-left: 0;
	}

}

@media (max-width: 767px) {

	#main img {
		max-width: 100%;
		height: auto;
	}

	#header-top {
		margin: 0 auto;
		width: 100%;
		position: relative;
		height: 150px;
	}

	#header-left {
		float: left;
		width: 90%;
		margin: 25px 0 0 0;
	}

	#header-right {
		float: left;
		width: 90%;
		position: absolute;
		bottom: 0;
		text-align: right;
		left: 0;
	}

	#top-left {
		padding: 10px;
		margin: 10px 10px;
		width: 90%;
		float: left;
	}

	#top-right {
		padding: 10px;
		margin: 10px 10px;
		width: 90%;
		float: left;
	}

	.photo {
		width: 100%;
		padding: 2%;
	}

	table {
		font-size: 0.8em;
	}

	table.form {
		width: 90%;
	}

	dl.toiawase {
		width: 100%;
	}

}

@media (max-width: 643px) {

	.main-navigation {
		padding-left: 30px;
	}

	.nav-menu li {
		width: 90%;
	}

	#page-top {
		left: 60%;
	}

	.toggled-on .nav-menu > li a:hover,
	.toggled-on .nav-menu > ul a:hover {
		background-color: transparent;
		background-image: none;
		color: #000;
	}

	.toggled-on .nav-menu > li a:focus,
	.toggled-on .nav-menu > ul a:focus {
		background-color: transparent;
		color: #fff;
	}

	.nav-menu li a {
		color: #FFF;
		display: block;
		font-size: 15px;
		line-height: 1;
		text-align: left;
		padding-top: 15px;
		padding-bottom: 15px;
		text-decoration: none;
		text-shadow: 1px 1px 3px #000;
	}

}
