@charset "utf-8";
/*
Theme Name: theme432_rwd
Theme URI: http://theme.o2gp.com/
Description: theme432_rwd
Version: 1.0
Author: o2 Group
Author URI: http://theme.o2gp.com/
Tags: simple

	o2 Group v1.0
	 http://theme.o2gp.com/

	This theme was designed and built by o2 Group,
	whose blog you will find at http://theme.o2gp.com/

	The CSS, XHTML and design is released under GPL:
	http://www.opensource.org/licenses/gpl-license.php

*/


/* =Reset default browser CSS.
Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html
-------------------------------------------------------------- */

* {
	box-sizing: border-box;
}

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,
font,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td {
	border: 0;
	font-family: inherit;
	font-size: 100%;
	font-style: inherit;
	font-weight: inherit;
	margin: 0;
	outline: 0;
	padding: 0;
	vertical-align: baseline;
}

:focus {
	outline: 0;
}

ol,
ul {
	list-style: none;
}

table {
	border-collapse: separate;
	border-spacing: 0;
}

caption,
th,
td {
	font-weight: normal;
	text-align: left;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: "";
}

blockquote,
q {
	quotes: "" "";
}

a img {
	border: 0;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
	display: block;
}

body {
	font: 16px/1.5 "Lucida Sans Unicode", "Lucida Grande", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Sans-Serif;
	color: #333;
	-webkit-text-size-adjust: none;
}

/* リンク設定
------------------------------------------------------------*/
a {
	margin: 0;
	padding: 0;
	text-decoration: none;
	outline: 0;
	vertical-align: baseline;
	background: transparent;
	font-size: 100%;
	color: #23a676;
}

a:hover,
a:active {
	outline: none;
	color: #118d5f;
}

a:hover {
	opacity: .8;
}


/* レイアウト
------------------------------------------------------------*/
#wrapper,
.inner {
	margin: 0 auto;
	width: 940px;
}

#content {
	float: right;
	padding: 20px 0;
}

#toppage #content {
	max-width: 100%;
	width: 940px;
}

#sidebar {
	float: left;
	width: 220px;
	padding: 20px 0 50px;
}

#footer {
	clear: both;
	color: #333;
	border-top: 5px solid #e8e8e8;
	background: #eaeaea;
}


/* ヘッダー
*****************************************************/
.bg {
	background: #23a676;
	border-bottom: 4px solid #e8e8e8;
}


/* サイト説明文
----------------------------------*/

#header p {
	color: #fff;
	padding: .5rem 0;
	padding-bottom: 0;
	font-size: .95rem;
	font-weight: bold;
}

#header h1 {
	padding: .5rem 0;
	padding-top: 0;
	font-size: 1.85rem;
	color: #fff;
}

#header h1 a {
	color: #fff;
	font-weight: bold;
}


/* ロゴ (サイトタイトル)
----------------------------------*/
#header h2 {
	clear: both;
	float: left;
	padding: 20px 0;
	color: #515151;
	font-size: 160%;
	font-weight: bold;
}


/* トップページ　メイン画像
----------------------------------*/
#mainImg {
	clear: both;
	margin-top: 20px;
	line-height: 0;
	text-align: center;
	z-index: 0;
}

.post {
	margin: 0 0 20px 0;
}

img {
	object-fit: cover;
	display: block;
	margin: .5rem auto;
}




/* 記事ループ
*****************************************************/
.list {
	padding: 10px 0;
	border-bottom: 1px dashed #e4e4e4;
}

.list:last-child {
	border: 0;
}

.post .list p {
	padding: 0;
}

.list span {
	padding-left: 10px;
}


/* タイポグラフィ
*****************************************************/
h2.title {
	clear: both;
	margin: 0 0 10px;
	padding: 5px 0;
	font-size: 1.5rem;
	background: url(images/border.png) repeat-x 0 100%;
}

h2,
h3,
h4,
h5 {
	font-weight: bold;
}

.dateLabel {
	text-align: right;
	font-family: Georgia, "Times New Roman", Times, serif;
}

.post p+p {
	margin-top: 1rem;
}

.post p:last-of-type {
	margin-bottom: 0;
}

.post ul {
	margin: 0 0 10px 10px;
}

.post ul li {
	margin-bottom: 5px;
	padding-left: 15px;
	background: url(images/bullet.png) no-repeat 0 8px;
}

.post ol {
	margin: 0 0 10px 30px;
}

.post ol li {
	list-style: decimal;
}

.post h1 {
	margin: 20px 0;
	padding: 5px 0 5px 15px;
	font-size: 150%;
	border-bottom: 2px solid #23a676;
}

.post h2 {
	margin: 10px 0;
	padding-bottom: 2px;
	font-size: 1.5rem;
	border-bottom: 2px solid #23a676;
}

.post h3 {
	margin: 10px 0;
	font-size: 1.25rem;
	border-bottom: 1px solid #23a676;
	color: #23a676;
}

.post h4 {
	margin: 8px 0;
	margin-bottom: 5px;
}

.post blockquote {
	clear: both;
	padding: 10px 0 10px 15px;
	margin: 10px 0 25px 30px;
	border-left: 5px solid #ccc;
}

.post blockquote p {
	padding: 5px 0;
}

.post b.red {
	color: #e03131
}

.post .quotation {
	background: #e6e5e5;
	padding: .85rem;
	font-size: .95rem;
	margin: .5rem 0;
}

.post table {
	border: 1px #535353 solid;
	border-collapse: collapse;
	border-spacing: 0;
	margin: 10px 0 20px;
}

.post table th {
	padding: 10px;
	border: 1px #535353 solid;
	border-width: 0 0 1px 1px;
	background: #ececec;
}

.post table td {
	padding: 10px;
	border: 1px #535353 solid;
	border-width: 0 0 1px 1px;
	background: #fff;
}

.post dt {
	font-weight: bold;
}

.post dd {
	padding-bottom: 10px;
}

.post img {
	max-width: 100%;
	height: auto;
}

img.aligncenter {
	display: block;
	margin: 5px auto;
}

img.alignright,
img.alignleft {
	margin: 0 10px 15px 15px;
	display: inline;
}

img.alignleft {
	margin: 10px 15px 15px 10px;
}

.alignright {
	float: right;
}

.alignleft {
	float: left;
}

#gallery-1 img {
	border: 1px solid #eaeaea !important;
	padding: 5px;
	background: #fff;
}

#gallery-1 img:hover {
	background: #fffaef;
}



/* サイドバー　ウィジェット
*****************************************************/
.widgetWrap,
section.widget ul {
	margin: 10px 0 20px 0;
}

section.widget ul ul {
	border: 0;
	margin: 0;
	padding: 0 0 0 10px;
	box-shadow: none;
}

#sidebar ul#banners {
	width: 220px;
	margin: 10px 0;
}

#sidebar ul#banners li {
	float: none;
	margin: 0 0 10px;
}

section.widget h3 {
	clear: both;
	margin: 0 0 -5px;
	padding: 5px 0;
	font-size: 110%;
	background: url(images/border.png) repeat-x 0 100%;
}

section.widget li a {
	display: block;
	padding: 7px 0 7px 12px;
	background: url(images/arrow2.png) no-repeat 0 12px;
	border-bottom: 1px dashed #e4e4e4;
}

section.widget li a:hover {
	background-position: 2px 12px;
}

section.widget li:last-child a {
	border: 0;
}

#searchform input[type="text"] {
	width: 120px;
	line-height: 22px;
	height: 22px;
	margin-right: 3px;
}

#searchform {
	padding: 20px 0;
}

/* カレンダー */
#calendar_wrap table {
	margin: 0 auto;
	width: 90%;
}

#calendar_wrap table caption {
	padding: 10px 0;
	text-align: center;
	font-weight: bold;
}

#calendar_wrap table th,
#calendar_wrap table td {
	padding: 3px;
	text-align: center;
}

#calendar_wrap table th:nth-child(6) {
	color: #000;
}

#calendar_wrap table th:nth-child(7) {
	color: #950000;
}

#calendar_wrap a {
	color: #118d5f;
	font-weight: bold;
	font-weight: bold;
	border-bottom: 1px solid #fff;
}

#calendar_wrap table td#prev {
	text-align: left;
}

#calendar_wrap table td#next {
	text-align: right;
}

#calendar_wrap table td#prev a {
	text-align: left;
	border: 0;
}

#calendar_wrap table td#next a {
	text-align: right;
	border: 0;
}


/* お知らせ　
-------------*/
.newsTitle {
	clear: both;
	margin: 0;
	font-size: 110%;
}

.newsTitle p {
	float: right;
	padding: 0 0 0 10px;
	font-size: 80%;
	background: url(images/arrow2.png) no-repeat 0 5px;
}

.news p {
	clear: both;
	padding-bottom: 2px;
	border-bottom: 1px dashed #e4e4e4;
}

.news p:last-child {
	border: 0;
}

.news p a {
	display: block;
	padding: 5px 0;
	color: #333;
	font-style: italic;
	font: italic 110% "Palatino Linotype", "Book Antiqua", Palatino, serif;
}

.news a span {
	color: #515151;
	font: normal 90% Arial, 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'ＭＳ Ｐゴシック', sans-serif;
}

.news span {
	padding-left: 10px;
}

.news a:hover span {
	color: #118d5f;
}


/* トップページ */
#content .newsTitle h3 {
	font-size: 120%;
}


/* フッター
*****************************************************/

.box .widgetWrap,
.box section.widget ul {
	display: flex;
	padding: 0 0 0 7px;
	margin-top: 0;
	background: transparent;
	border: 0;
	box-shadow: none;
}

.box section.widget li a {
	background: url(images/arrowWhite.png) no-repeat 0 12px;
	border: 0;
}

.box section.widget li a:hover {
	background-position: 2px 12px;
}

#footer h3 {
	padding: 5px;
	margin-bottom: 10px;
}

#copyright {
	clear: both;
	padding: 10px 0;
	text-align: center;
	font-size: 90%;
	background: #d5d5d5;
}

/* トップページ 最新記事4件
------------------------------------------------------------*/
ul.post {
	width: 100%;
	display: flex;
	gap: 1rem;
}

ul.post li {
	width: calc(100% / 3);
	box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);

}

ul.post li a {
	color: #333;
	text-decoration: none;
	display: flex;
	flex-direction: column;
	height: 100%;
	/* カード全体の高さを揃える */
	padding: .85rem;
}

ul.post li a img {
	width: 100%;
	height: 150px;
	object-fit: cover;
}

ul.post li a h3 {
	margin: 0;
	margin-bottom: .5rem;
	padding-bottom: 5px;
}

ul.post li a p {
	flex: 1;
	/* 本文は伸縮して「続きを読む」を押し下げる */
}

ul.post li a .more {
	margin-top: auto;
	background: #23a676;
	color: #fff;
	padding: .25rem .5rem;
	font-size: .85rem;
	box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
	display: inline-block;
	align-self: flex-end;
	font-weight: bold;
}

ul.post.center li a {
	text-align: center;
	font-weight: bold;
	background: #23a676;
	color: #fff;
}

ul.post.center li:nth-child(even) a {
	background:#237da6;
}

/* メインメニュー　PC用
------------------------------------------------------------*/
@media only screen and (min-width: 1025px) {
	div.panel {
		display: block !important;
	}

	a#menu {
		display: none;
	}

	nav#mainNav ul {
		clear: both;
		position: relative;
		z-index: 200;
		width: 940px;
		margin: 0 auto;
	}

	nav#mainNav li {
		float: left;
		margin-right: 20px;
		position: relative;
		margin-bottom: 1rem;
	}

	nav#mainNav li.hassub a {
		background: url(images/arrowDown2.png) no-repeat 100% 50%;
	}

	nav#mainNav li a {
		display: block;
		_float: left;
		font-size: 1rem;
		line-height: 2.5em;
		color: #333;
		border-bottom: 1px solid #adadad;
		font-weight: bold;
	}

	nav#mainNav li.current-menu-item a,
	nav#mainNav li a:hover,
	nav#mainNav li.current-menu-parent a {
		color: #23a676;
		border-color: #23a676;
	}

	nav#mainNav li.hassub.current-menu-item a,
	nav#mainNav li.hassub a:hover,
	nav#mainNav li.hassub.current-menu-parent a {
		background: url(images/arrowDown.png) no-repeat 100% 50%;
	}

	nav#mainNav li.hassub li a,
	nav#mainNav li.hassub.current-menu-item li a,
	nav#mainNav li.hassub.current-menu-parent li a,
	nav#mainNav li.hassub li a:hover {
		background: none;
	}

	nav#mainNav ul ul {
		width: 160px;
		background: #fff;
	}

	nav#mainNav li ul {
		display: none;
		opacity: 0;
	}

	nav#mainNav li:hover ul {
		display: block;
		position: absolute;
		top: 46px;
		left: 0;
		z-index: 500;
		opacity: 1;
	}

	nav#mainNav li li {
		margin: 0;
		float: none;
		width: 160px;
	}

	nav#mainNav li li a,
	nav#mainNav li.current-menu-parent li a,
	nav#mainNav li.current-menu-item li a {
		padding: 0 0 0 5px;
		height: 35px;
		font-size: 95%;
		line-height: 35px;
	}

	nav#mainNav li.current-menu-item li a,
	nav#mainNav li.current-menu-parent li a {
		color: #adadad;
		border-bottom: 1px solid #adadad;
	}

	nav#mainNav li li.current-menu-item a,
	nav#mainNav li li a:hover {
		color: #23a676;
		border-color: #23a676;
	}

}


/* メインメニュー iPadサイズ以下から
------------------------------------------------------------*/
@media only screen and (max-width:1024px) {
	nav#mainNav {
		clear: both;
		width: 100%;
		margin: 0 auto 10px;
	}

	nav#mainNav a.menu {
		width: 100%;
		display: block;
		height: 37px;
		line-height: 37px;
		font-weight: bold;
		text-align: left;
		border-top: 1px solid #d5d5d5;
		border-bottom: 1px solid #d5d5d5;
		background: url(images/menuOpen.png) no-repeat 5px 8px;
	}

	nav#mainNav a#menu span {
		padding-left: 35px;
	}

	nav#mainNav a.menuOpen {
		border-bottom: 0;
		background: url(images/menuOpen.png) no-repeat 5px -34px;
	}

	nav#mainNav a#menu:hover {
		cursor: pointer;
	}

	nav .panel {
		display: none;
		width: 100%;
		position: relative;
		right: 0;
		top: 0;
		z-index: 1;
	}

	nav#mainNav ul {
		margin: 0;
		padding: 0;
	}

	nav#mainNav ul li {
		float: none;
		clear: both;
		width: 100%;
		height: auto;
		line-height: 1.2;
	}

	nav#mainNav ul li:first-child {
		border-top: 1px solid #d5d5d5;
	}

	nav#mainNav ul li li:first-child {
		border-top: 0;
	}

	nav#mainNav ul li a,
	nav#mainNav ul li.current-menu-item li a {
		display: block;
		padding: 15px 10px;
		text-align: left;
		border-bottom: 1px dashed #ccc;
		background: #fff;
	}

	nav#mainNav ul li:last-child a {
		border: 0;
	}

	nav#mainNav ul li li:last-child a {
		border: 0;
	}

	nav#mainNav ul li li:last-child a {
		border-bottom: 1px dashed #ccc;
	}

	nav#mainNav ul li a span {
		display: none;
	}

	nav#mainNav ul li.current-menu-item a,
	nav#mainNav ul li a:hover,
	nav#mainNav ul li.current-menu-item a,
	nav#mainNav ul li a:active,
	nav#mainNav ul li li.current-menu-item a,
	nav#mainNav ul li.current-menu-item li a:hover,
	nav#mainNav ul li.current-menu-item li a:active {
		background: #f6f6f6;
	}

	nav#mainNav ul li li {
		float: left;
		border: 0;
	}

	nav#mainNav ul li li a,
	nav#mainNav ul li.current-menu-item li a,
	nav#mainNav ul li li.current-menu-item a {
		padding-left: 40px;
		background: #fff url(images/sub1.png) no-repeat 20px 18px;
	}

	nav#mainNav ul li li.current-menu-item a,
	nav#mainNav ul li li a:hover,
	nav#mainNav ul li.current-menu-item li a:hover {
		background: #f6f6f6 url(images/sub1.png) no-repeat 20px -62px;
	}

	nav#mainNav ul li li:last-child a {
		background: #fff url(images/subLast.png) no-repeat 20px 20px;
	}

	nav#mainNav ul li li:last-child.current-menu-item a,
	nav#mainNav ul li li:last-child a:hover,
	nav#mainNav ul li.current-menu-item li:last-child a:hover {
		background: #f6f6f6 url(images/subLast.png) no-repeat 20px -65px;
	}

	nav div.panel {
		float: none;
	}

	#mainImg {
		margin-bottom: 20px;
	}
}


/* 959px以下から 1カラム表示
------------------------------------------------------------*/
@media only screen and (max-width: 959px) {
	#header {
		width: 100%
	}

	.inner,
	#footer .boxWrap,
	#wrapper {
		width: 96%;
	}

	#mainImg img {
		width: 96%;
		height: auto;
	}

	#content,
	#sidebar {
		clear: both;
		width: 95%;
		float: none;
		margin: 0 auto;
		padding: 10px 0;
	}

	#sidebar {
		background: url(images/border.png) repeat-x;
		padding-top: 30px;
	}

	ul#banners,
	#sidebar ul#banners {
		width: 100%;
		display: table-row;
		margin: 0;
	}

	#sidebar ul#banners li {
		float: left;
		width: 23%;
		margin: 0 1%;
		padding: 0 0 20px;
	}

	#sidebar ul#banners img {
		max-width: 98%;
		height: auto;
	}

	#footer .boxWrap {
		margin: 0;
		padding: 0;
	}

	#footer .box {
		float: none;
		width: 100%;
		margin: 10px 0;
	}

	ul.post {
		flex-direction: column;
	}

	ul.post li {
		width: 100%;
	}

	#mainImg img {
		height: 200px;
	}

}


/* 幅620px以下から
------------------------------------------------------------*/
@media only screen and (max-width: 620px) {

	#sidebar ul#banners li {
		width: 42%;
		margin: 0 0 0 6%;
	}

	.post img {
		max-width: 100%;
		height: auto;
	}

	img.alignright,
	img.alignleft {
		display: block;
		margin: 5px 2%;
		max-width: 96%;
		height: auto;
	}

	.alignright,
	.alignleft {
		float: none;
	}


}