@charset "utf-8";
/*
Theme Name: theme657_rwd
Theme URI: http://theme.o2gp.com/
Description: theme657_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
-------------------------------------------------------------- */
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: 'Arial';
	font-size: 100%;
	font-style: inherit;
	font-weight: inherit;
	margin: 0;
	outline: 0;
	padding: 0;
	vertical-align: baseline;
}

* {
	box-sizing: border-box;
}

: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", "メイリオ", "Meiryo", Sans-Serif;
	color: #333;
	-webkit-text-size-adjust: 100%;
	background-image: linear-gradient(#d6d2e7, #dfdfdf);
}

img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

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

a:hover,
a:active {
	outline: none;
	opacity: .85;
}

a img:hover {
	opacity: .8;
}


/**** Clearfix ****/
#mainNav ul:after,
#mainNav .inner:after,
.newsTitle:after,
.post:after,
.inner:after,
ul.news:after {
	content: "";
	display: table;
	clear: both;
}

#mainNav ul,
.newsTitle,
.post,
#mainNav .inner,
ul.news {
	zoom: 1;
}

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

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

#toppage #content {
	width: 100%;
}

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

#footer {
	clear: both;
	background: #ececec url(images/border2.png) repeat-x 0 0;
}

#header {
	background: #fff;
}



/* ヘッダー
*****************************************************/

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

#header p {
	padding-top: .5rem;
	font-size: .9rem;
	font-weight: bold;
}


/* ロゴ (サイトタイトル)
----------------------------------*/
#header h1 a {
	clear: both;
	color: #301d9c;
	font-size: 1.5rem;
	font-weight: bold;
}

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

#mainImg img {
	width: 940px;
	height: 300px;
	border-radius: 5px;
	box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.post {
	margin: 0 0 2rem 0;
	padding: 1rem .5rem;
	background: #fff;
	border: 1px solid #fff;
	border-radius: 0 0 5px 5px;
	box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.toppage h4 {
	margin: 0 0 10px;
	font-size: 16px;
	font-weight: normal;
	color: #333;
}


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

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

.post .list p {
	padding: 0;
}

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


/* タイポグラフィ
*****************************************************/

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

h2.title {
	clear: both;
	padding: .5rem;
	padding-bottom: 0.3125rem;
	padding-left: .75rem;
	font-size: 1.25rem;
	color: #fff;
	background-image: linear-gradient(#675ab3, #9684ff);
	border-radius: 5px 5px 0 0;
}


.post p+p {
	padding-top: 15px;
}

.post li a {
	color: #333;
}

.post li a b {
	color: #675ab3;
}

.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 {
	counter-reset: number;
	/*数字をリセット*/
	list-style-type: none !important;
	/*数字を一旦消す*/
	padding: .5rem;
	background: #FAFAFA;
	box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
	margin-bottom: 1rem;
}

.post ol li {
	position: relative;
	padding-left: 30px;
	line-height: 1.5em;
	padding: .5rem .5rem .5rem 30px;
}

.post ol li:before {
	position: absolute;
	counter-increment: number;
	content: counter(number);
	display: inline-block;
	background: #796fb4;
	color: white;
	font-family: 'Arial Black', sans-serif;
	font-size: 1rem;
	border-radius: 50%;
	left: 0;
	width: 25px;
	height: 25px;
	text-align: center;
	top: 50%;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
}

.post h3 {
	position: relative;
	margin: 10px 0;
	font-size: 1.15rem;
	color: #594e9b;
}

.post h3::after {
	content: "";
	display: block;
	height: 3px;
	background: linear-gradient(to right, #675AB3, transparent);
}

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

.post table th {
	padding: 10px;
	color: #fff;
	border: 1px #000 solid;
	border-width: 0 0 1px 1px;
	background: #74ee95;
}

.post table td {
	padding: 10px;
	border: 1px #000 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;
}

.post hr {
	border: 1px dashed #675ab3;
	opacity: .5;
	padding: 0;
	margin: 0;
	margin-bottom: 1rem;
}

.post b.deco {
	font-size: 1.05rem;
}


/* サイドバー　ウィジェット
*****************************************************/
.widgetWrap,
.widget ul {
	padding: 1rem .5rem;
	background: #fff;
	border-radius: 5px;
	box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

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

.widget h3 {
	clear: both;
	margin: 0 0 -5px;
	padding: 5px 0;
	font-size: 110%;
	border-bottom: 1px solid #eee;

}

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

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

.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;
}

/* お知らせ　
-------------*/

.news h4 {
	background-image: linear-gradient(#675ab3, #9684ff);
	color: #fff;
	padding: .5rem;
	padding-left: .75rem;
	margin-bottom: .25rem;
	box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.news ul+h4 {
	margin-top: .5rem;
}

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

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

.news li a {
	display: block;
	padding: .25rem 0;
	padding-left: .75rem;
	color: #333;
}


/* トップページ */
#content .newsTitle h3 {
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
	color: #301d9c;
	font-size: 1.25rem;
	gap: .25rem;
	position: relative;
	margin-bottom: .5rem;
}

#content .newsTitle h3::before {
	content: "";
	background: url('images/menu.png') no-repeat center center;
	background-size: contain;
	width: 1.35rem;
	height: 1.35rem;
}

/* フッター
*****************************************************/
#copyright {
	clear: both;
	padding: .5rem 0;
	font-size: .85rem;
	text-align: center;
	background: #fff;
	color: #675ab3;
	font-weight: bold;
}

/* フォーム追加の装飾　*/
input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
	box-sizing: border-box;
	width: 100%;
	padding: .25rem;
}

.mfp_col5 input:not([type="checkbox"]) {
	width: 48%;
}

#confirm_button {
	opacity: 1;
	color: #2b2b2b;
}

#confirm_button:disabled {
	opacity: 0.5;
	color: gray;
}

input,
textarea,
select {
	border: solid 1px #CCC;
	border-radius: 3px;
	box-shadow: 0px 0px 5px #CCC inset;
	padding: 3px 8px;
	margin: 2px;
	vertical-align: middle;
}

form#mailformpro,
div.mfp_buttons {
	padding: .5rem 0 !important;
}

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

	a#menu {
		display: none;
	}

	#mainNav ul {
		display: flex;
		justify-content: space-between;
		clear: both;
		position: relative;
		z-index: 200;
		width: 940px;
		margin: 0 auto;
		margin-top: 10px;
		border: 1px solid #e8e8e8;
		border-radius: 5px 5px 0 0;
		box-shadow: 0 0 5px #eee;
		background: #fff;
		box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
		border-bottom: 5px solid #675ab3;
	}

	#mainNav li {
		flex: 1;
		float: left;
		position: relative;
		border-right: 1px solid #e0dddd;
	}

	#mainNav li:last-of-type {
		border: none;
	}

	#mainNav li a {
		display: flex;
		align-items: center;
		justify-content: center;
		font-weight: bold;
		gap: .25rem;
		position: relative;
		text-align: center;
		float: left;
		height: 48px;
		font-size: 1rem;
		line-height: 48px;
		font-weight: bold;
		margin-right: 2px;
		color: #333;
		width: 100%;
	}

	#mainNav li a::before {
		content: "";
		background: url('images/menu-arrow2.png') no-repeat center center;
		background-size: contain;
		width: 1.05rem;
		height: 1.05rem;
	}

	#mainNav li a:hover {
		color: #675ab3;
	}

	nav#mainNav ul li:first-child a {
		border-radius: 5px 0 0 5px;
	}

	nav#mainNav ul li:first-child li a,
	nav#mainNav ul li li:first-child a {
		border-radius: 0;
	}

	#mainNav ul ul {
		width: 160px;
	}

	#mainNav li ul {
		display: none;
	}

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

	#mainNav li li {
		margin: 0;
		float: none;
		height: 35px;
		line-height: 35px;
		width: 160px;
		background: none;
	}

	#mainNav li li a,
	#mainNav li.current-menu-parent li a,
	#mainNav li.current-menu-item li a {
		width: 90%;
		height: 35px;
		padding: 0 0 0 10%;
		line-height: 35px;
		font-size: 95%;
		text-align: left;
	}

	#mainNav li.current-menu-item li a,
	#mainNav li.current-menu-parent li a {
		color: #4b4b4b;
		text-shadow: 1px 1px 1px #fbfbfb;
	}

	#mainNav li li.current-menu-item a,
	#mainNav li li a:hover {
		text-shadow: 0 -1px 1px #4b4b4b;
		background-position: 0 100%;
	}
}


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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

	#mainNav ul li li:last-child.current-menu-item a,
	#mainNav ul li li:last-child a:hover,
	#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: 0;
	}

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

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

	ul.post li {
		float: left;
		width: 23%;
		margin: 0 1%;
		padding: 0 0 20px;
	}

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


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

	#header h1,
	#header h2,
	.sns {
		text-align: center;
		padding: 0;
	}

	#header p {
	text-align: center;
	}

	ul.post li {
		width: 42%;
		margin: 0 0 0 6%;
	}

	ul.post li:nth-child(2n+1) {
		clear: left;
	}

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

	#copyright {
		margin-top: 2rem;
	}

}