@charset "utf-8";

/* =Reset default browser CSS.
Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html
-------------------------------------------------------------- */
* {
	box-sizing: border-box;
	text-align: justify;
}

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

th {
	width: 20%;
	text-align: center;
}

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", Arial, "ヒラギノ角ゴ 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: #2e669c;
}

a:hover,
a:active {
	transition: opacity 1s;
	outline: none;
	color: #5f91ca;
}


/**** Clearfix ****/
.nav .panel:before,
nav .panel:after,
nav#mainNav:before,
nav#mainNav:after,
.newsTitle:before,
.newsTitle:after {
	content: "";
	display: table;
}

nav .panel:after,
nav#mainNav:after,
.newsTitle:after {
	clear: both;
}

nav .panel,
nav#mainNav,
.newsTitle {
	zoom: 1;
}


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

#header {
	overflow: hidden;
}

#content {
	float: right;
	width: 625px;
	padding: 2rem 0;
}

#sidebar {
	float: left;
	width: 265px;
	padding: 2rem 0;
}

#footer {
	clear: both;
	padding-top: 20px;
	border-top: 1px solid #ccc;
}


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

/* ロゴ (サイトタイトル)
----------------------------------*/
#header  {
	padding: .5rem 0;
	color: #fff;
	font-size: 1.5rem;
	font-weight: bold;
	background: #2e669c;
}

#header h1 a {
	color: #fff;
}


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


/* タイポグラフィ
*****************************************************/
h2.title {
	clear: both;
	margin: 0 0 20px;
	padding: 7px 0 5px 25px;
	font-size: 1.35rem;
	color: #044f82;
	border-bottom: 1px solid #ccc;
	background: url(images/headingBg.png) no-repeat 0 50%;
}

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

h3 {
	font-size: 1.25rem;
	margin-top: 1rem;
	margin-bottom: .25rem;
}

h4 {
	font-size: 1.1rem;
	margin-top: 1rem;
	margin-bottom: .25rem;
}

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

.post p + *:not(p) {
	margin-top: 1rem;
}

.post p.kome {
	opacity: .85;
}

.post a {
	color: #0000EE;
 	text-decoration: underline;
}

.post a:hover {
	opacity: .75;
}

.post ul {
	margin: 0 0 10px 0;
	border: dashed 1px rgba(4, 79, 130, .5);
	padding:.5rem;
}

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

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

.post li span {
	display: block;
}


ol {
  counter-reset:number; /*数字をリセット*/
  list-style-type: none!important; /*数字を一旦消す*/
  padding:.5rem;
  border: dashed 1px rgba(4, 79, 130, .5);
  margin: 1rem 0;
  margin-top: .25rem;
}

ol li {
  position: relative;
  line-height: 1.5em;
  padding: 0.5em 0.5em 0.5em 30px;
}

ol li:before{
  position: absolute;
  counter-increment: number;
  content: counter(number);
  display:inline-block;
  background: #044f82;
  color: white;
  font-weight:bold;
  font-size: .95rem;
  opacity: .85;
  left: 0;
  width: 25px;
  height: 25px;
  line-height: 25px;
  text-align: center;
}

.post h1 {
	margin: 20px 0;
	padding: 7px 0 5px 25px;
	color: #044f82;
	border-bottom: 1px solid #ccc;
	background: url(images/headingBg.png) no-repeat 0 50%;
}

.post h2 {
	margin: 10px 0;
	padding-bottom: 2px;
	color: #044f82;
	border-bottom: 2px solid #2e669c;
}

.post h3 {
	margin: 1rem 0;
	margin-bottom: .5rem;
	color: #2e669c;
	border-bottom: 1px solid #2e669c;
}

.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 table {
	border: 1px #2e669c solid;
	border-collapse: collapse;
	border-spacing: 0;
	margin: 10px 0 20px;
}

.post table th {
	padding: 7px 10px 7px 5px;
	border: #2e669c solid;
	border-width: 0 0 1px 1px;
	font-weight: bold;
	color: #fff;
	background: #5f91ca;
}

.post table tr:nth-child(even) th {
	background: rgba(95, 145, 202, .85);
}

.post table td {
	padding: 7px 5px;
	border: 1px #2e669c 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;
	display: block;
	margin: 0 auto;
	margin-bottom: 1rem;
}

.post .box {
	border:1px solid #CCC;
	padding:.85rem;
	border-radius:10px;
	margin-bottom: 4rem;
	position: relative;
}

.post .box.flowchart::before {
	position: absolute;
	content: url('images/arrow-down.png');
    display: block;
	left: 50%;
	bottom: calc(-.85rem + -1rem + -3rem);
	transform: translateY(-50%) translateX(-50%); 
	margin: 0 auto;
	vertical-align:top;
}

.post .box.flowchart:last-of-type::before {
	display: none;
}

.post .box.flowchart:last-of-type {
	margin-bottom: 2rem;
}

.post .box p:last-of-type {
	padding: 0;
}


/* サイドバー　ウィジェット
*****************************************************/

section.widget h3 {
	clear: both;
	margin: 0 0 10px;
	padding: 7px 0 5px 20px;
	font-size: 1.25rem;
	font-weight: normal;
	color: #044f82;
	border-bottom: 1px solid #ccc;
	background: url(images/heading2Bg.png) no-repeat 0 50%;
}

section.widget h4 {
	font-size: 1rem;
}

section.widget li {
	margin: 0 10px 10px 5px;
	border-bottom: 1px solid #ccc;
}

section.widget a {
	display: block;
	padding: 3px 0 3px 13px;
	background: url(images/arrow.png) no-repeat 0 50%;
}

section.widget a:hover {
	background-position: 3px 50%;
}

#searchform input[type="text"] {
	line-height: 1.7;
	height: 24px;
	width: 130px;
	vertical-align: bottom;
}


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

#footer ul {
	float: right;
	width: 625px;
	font-size: 95%;
	padding-bottom: 20px;
}

#footer ul ul {
	padding-bottom: 0;
	width: auto;
}

#footer ul li {
	display: inline-block;
	vertical-align: text-top;
	text-align: left;
	padding: 5px 0;
	margin-left: 15px;
	background: url(images/arrow.png) no-repeat 0 12px;
}

#footer ul li a {
	display: block;
	padding: 0 0 0 12px;
	overflow: hidden;
}

#footer ul li a:hover {
	text-decoration: underline;
}

#footer ul li li {
	display: block;
	padding: 0;
	margin-left: 5px;
	background: url(images/arrow2.png) no-repeat 0 6px;
}

#footer ul li li a {
	padding: 0 0 0 8px;
}

*:first-child+html #footer ul li {
	display: inline;
}

*:first-child+html #footer ul ul,
*:first-child+html #footer ul li li a,
*:first-child+html #footer ul li li {
	display: none;
}

#copyright {
	clear: both;
	padding: 5px;
	text-align: center;
	font-style: normal;
	font-size: 85%;
	zoom: 1;
}

/* メインメニュー　PC用
------------------------------------------------------------*/
@media only screen and (min-width: 1025px) {
	nav#mainNav {
		clear: both;
		padding: 20px 0 10px;
		position: relative;
		z-index: 200;
		font-weight: bold;
		
	}

	.panel ul {
		background: url(images/sep.png) no-repeat 50% 50%;
	}

	.panel ul li {
		float: left;
		position: relative;
		padding: 0 15px 0 15px;
		height: 40px;
		line-height: 40px;
		background: url(images/sep.png) no-repeat 100% 50%;
	}

	.panel ul li a {
		display: block;
		text-align: center;
		_float: left;
		padding: 0 15px;
		color: #333;
	}

	nav div.panel {
		display: block !important;
		float: left;
	}

	a#menu {
		display: none;
	}

	/* 親メニュー */
	.panel ul li.current-menu-item a,
	.panel ul li a:hover,
	.panel ul li a:active,
	.panel ul li.current-menu-parent a {
		color: #5f91ca;
	}

	.panel ul ul {
		width: 160px;
	}

	.panel ul li ul {
		display: none;
	}

	.panel ul li li {
		float: none;
		height: 40px;
		line-height: 40px;
		width: 160px;
		padding: 0;
	}

	.panel ul li:hover ul {
		display: block;
		position: absolute;
		top: 40px;
		left: -7px;
		z-index: 500;
		border-radius: 0 0 6px 6px;
		border: 1px solid #ccc;
	}

	.panel ul li li a {
		width: 100%;
		height: 40px;
		padding: 0;
		line-height: 40px;
		font-size: 95%;
		text-align: left;
	}

	.panel ul li li a span {
		padding: 0 10px;
	}

	.panel ul li li a:hover,
	.panel ul li li.current-menu-item a {
		opacity: .85;
	}

	.panel ul li:hover ul li {
		margin: 0;
		background: #fff;
		border-bottom: 1px solid #dadcdc;
		box-shadow: 1px 1px 3px #ccc;
		font-weight: normal;
	}

	.panel ul li:hover ul li:last-child {
		border: 0;
		border-radius: 0 0 6px 6px;
	}
}


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

	nav#mainNav .inner {
		width: 98%;
	}

	nav#mainNav a.menu {
		width: 100%;
		padding-right: .5rem;
		display: block;
		height: 40px;
		line-height: 40px;
		font-weight: bold;
		text-align: left;
		color: #2e669c;
		border: 1px solid #2e669c;
		background: #fff /* url(images/menuOpen.png) no-repeat 5px 10px */;
		
	}

	nav#mainNav a#menu span {
		padding-left: .5em;
	}

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

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

	nav .panel {
		display: none;
		width: 100%;
		position: relative;
		right: 0;
		top: 0;
		z-index: 1;
		border: 1px solid #2e669c;
	}

	.panel ul {
		margin: 0;
		padding: 0;
	}

	.panel ul li {
		float: none;
		clear: both;
		width: 100%;
		height: auto;
		line-height: 1.2;
		font-weight: bold;
	}

	.panel ul li a,
	.panel ul li.current-menu-item li a {
		display: block;
		width: 100%;
		padding: 1em 0;
		text-align: left;
		color: #2e669c;
		background: #fff;
	}

	.panel ul li span {
		padding-left: 1rem;
	}

	.panel ul li a + .panel ul li span{
		margin-top: 1rem;
	}

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

	.panel ul li li {
		float: left;
		border: 0;
	}

	.panel ul li li a,
	.panel ul li.current-menu-item li a,
	.panel ul li li.current-menu-item a {
		background: #fff url(images/sub1.png) no-repeat 20px 50%;
	}

	.panel ul li li.current-menu-item a,
	.panel ul li li a:hover,
	.panel ul li.current-menu-item li a:hover {
		background: #f1ffff url(images/sub1.png) no-repeat 20px 50%;
	}

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

	.panel ul li li:last-child.current-menu-item a,
	.panel ul li li:last-child a:hover,
	.panel ul li.current-menu-item li:last-child a:hover {
		background: #f1ffff url(images/subLast.png) no-repeat 20px 50%;
	}

	.panel ul li li a span {
		padding-left: 35px;
		padding-right: 35px;
		display: block;
	}

	nav div.panel {
		float: none;
	}
}


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

	#wrapper,
	#header,
	.inner {
		width: 100%;
	}

	#header h1,
	#header h2 {
		text-align: center;
		padding: .5rem;
	}

	#headerInfo {
		padding-right: 10px;
	}

	.panel ul,
	.thumbWrap {
		margin: 0 auto;
	}

	.panel ul ul {
		padding: 0;
	}

	nav div.panel {
		float: none;
	}

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

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

	#banners {
		width: 100%;
		margin: 0 auto;
		text-align: center;
	}

	#banners p {
		width: 30%;
		float: left;
		margin: 0 1% 0 2%;
	}

	#banners p img {
		width: 100%;
		height: auto;
	}

	section.widget_search {
		text-align: center;
	}

	#contactBanner {
		margin: 0 auto;
	}

	#footer {
		margin: 0;
		border: 0;
		text-align: center;
	}

	#footerLogo,
	#footer ul {
		float: none;
		width: auto;
		padding-bottom: 20px;
		text-align: center;
	}

	#footer ul {
		padding-top: 20px;
		border-top: 1px solid #ccc;
	}

	#footer ul ul {
		padding-top: 0;
		border: 0;
	}
}


/* 幅644px以下から ヘッダー等微調節
------------------------------------------------------------*/
@media only screen and (max-width: 644px) {
	#header {
		padding: 0 1%;
		text-align: center;
	}

	#header h2,
	#footerLogo,
	#headerInfo {
		float: none;
		padding: 0;
	}

	#headerInfo {
		width: 250px;
		margin: 0 auto;
	}

	img.alignright,
	img.alignleft {
		display: block;
		margin: 5px auto;
	}

	.alignright,
	.alignleft {
		float: none;
	}

	#footer ul {
		text-align: left;
		padding: 15px;
	}

	#footer ul ul {
		padding: 0;
	}
}