/*======================================
Template: air-balloon-lite
Theme Name: Air Balloon Lite Child
Theme URI: http://themezee.com/themes/air-balloon
Description: Air Balloon の子テーマ
Version: 1.0.1
Author: NTTLS
Author URI: http://themezee.com
Tags: two-columns, light, blue, black, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-image-header, featured-images, flexible-header, full-width-template, sticky-post, threaded-comments, translation-ready, theme-options, fluid-layout, responsive-layout, one-column, left-sidebar, right-sidebar, three-columns, silver, white, gray
Text Domain: airballoon
License: GNU General Public License v2.0
License URI: http://www.gnu.org/licenses/gpl-2.0.html
======================================*/current-menu-item


/* CSS Reset | http://meyerweb.com/eric/tools/css/reset/ | v2.0
-------------------------------------------------------------- */

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, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; }

body { line-height: 1; }

ol, ul { list-style: none outside; }

blockquote, q { quotes: none; }

blockquote:before, blockquote:after, q:before, q:after {
	content: '';
	content: none;
}

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

/* General Styles
-------------------------------------------------------------- */

html {
	font-size: 62.5%;
	overflow: scroll;
}

body {
	font-family: 'Lucida Grande','Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
	border: 0;
	background-color: #fff;
	color: #333;
}

/* Links */
a, a:link, a:visited{
	color: #0c51b0;
	text-decoration: none;
}
a:hover { text-decoration: underline; }

#header #logo + nav a {
	background-color: transparent;
	background-image: url(/images/icon_arrow.png);
	background-repeat: no-repeat;
}
#member #header #logo + nav a { background-image: url(/images/icon_arrow_member.png); }

/* Form Elements */
input, textarea {
	padding: 0.7em;
	background: #fff;
	border: 1px solid #ddd;
}
input[type="submit"] {
	padding: 0.5em 0.8em;
	border: 1px solid #e2e2e2;
	background: #f5f5f5;
	-webkit-border-radius: 0.4em;
	-moz-border-radius: 0.4em;
	border-radius: 0.4em;
}
input[type="submit"]:hover {
	background: #fdfdfd;
	border: 1px solid #ccc;
	cursor: pointer;
}

/* Clearing Floats */
.list-parallel:before, .list-parallel:after,
.list-column2:before, .list-column2:after,
.category-index:before, .category-index:after,
.clearfix:before, .clearfix:after {
	content: " ";
	display: table;
}
.list-parallel:after, .list-column2:after, .category-index:after, .clearfix:after { clear: both; }

/* Make Form Elements responsive */

input, textarea, select { max-width: 100%; }

img {
	border: 0;
	vertical-align: bottom;
}

/* Basic Structure

-------------------------------------------------------------- */
#wrapper {
	margin: 12px auto 3em;
	max-width: 1260px;
	width: 92%;
	font-size: 1.4rem;
	line-height: 1.5;
}

#wrap {
	clear: both;
	margin-top: 1px;
	padding: 14px 1.8% 0;
	background: transparent url(/images/bg_pattern01.png) repeat 0 0;
}
.page-template-template-frontpage #wrap { padding: 0 1.984%; }

#content {
	float: left;
	width: 68%;
	padding-right: 1.5em;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
#sidebar {
	float: right;
	width: 32%;
}

/* Header
-------------------------------------------------------------- */

#header {
	position: relative;
	padding: 12px 1.8% 1.428em;
	text-align: right;
}

#logo {
	position: absolute;
	top: 44px;
	left: 23px;
}

#logo .logo-image {
	max-width: 100%;
	height: auto;
}

#header #logo + nav a {
	display: block;
	padding-left: 10px;
	background-position:0 .2em;
}

#header nav, #header li { display: inline-block; }

#header #logo + nav { margin-right: 18px; }

#header li {
	font-size: 1.3rem;
	line-height: 1.2;
}
#header #logo + nav ul li { margin-left: 10px; }
#header nav:nth-child(3) ul li { margin-left: 5px; }

#header #logo + nav a:hover { text-decoration: underline; }

#header nav:nth-child(3) ul li a {
	display: block;
	padding: 4px 10px 3px;
	border: 1px solid #666;
	border-radius: 5px;
	color: #333;
	text-decoration: none;
}
#header nav:nth-child(3) ul li.current a { border-color: #ff931a; }
#member #header nav:nth-child(3) ul li.current a {
	border-color: #0a5b91;
	background-color: #0a5b91;
	color: #fff;
}

/* Custom Header Image */

#custom-header { margin: 1px 0; }

#custom-header img {
	max-width: 1260px;
	vertical-align: top;
	width: 100%;
	height: auto;
}

/* Header Content */

#header-content { padding-top: 20px; }

#header-search { display: inline-block; }

#header-content nav { vertical-align: top; }

#header-content ul { position: relative; }

#header-content ul li:first-child, #member #header-content ul li:last-child { display: none; }
#member #header-content ul li:first-child { display: block; }

#header-content ul li a {
	display: block;
	position: absolute;
	top: 4.1875em;
	right: 0;
	padding: .5em 11px .25em 33px;
	border: 2px solid #fff;
	border-radius: 4px;
	background: #4b4c4f url(/images/icon_lock.png) no-repeat 10px .5em;
	color: #fff;
	font-size: 1.6rem;
	white-space: nowrap;
}
#member #header-content ul li a {
	padding-right: 33px;
	background-color: #ffab30;
	background-image: none;
	color: #000;
}

#header-content ul li a:hover { text-decoration: none; }


/* Navigation Menu
-------------------------------------------------------------- */

#mainnav-icon { display: none; }

#mainnav {
	background: #ffab30;
	-moz-border-radius-topleft: 7px;
	-moz-border-radius-topright: 7px;
	-webkit-border-top-left-radius: 7px;
	-webkit-border-top-right-radius: 7px;
	-khtml-border-top-left-radius: 7px;
	-khtml-border-top-right-radius: 7px;
	border-top-left-radius: 7px;
	border-top-right-radius: 7px;
}
#member #mainnav { background-color: #0a5b91; }

#mainnav-menu {
	margin-right: 200px;
	margin-left: 1.8%;
}
#mainnav-menu li{ float: left; }

#mainnav-menu a {
	display: block;
	padding: 1.25em 16px 1.0625em;
	color: #000;
	font-size: 1.6rem;
	line-height: 1.2;
	text-decoration: none;
}
#mainnav-menu a:link, #mainnav-menu a:visited { text-decoration: none; }
#member #mainnav-menu a { color: #fff; }

#mainnav-menu ul {
	position: absolute;
	display: none;
	z-index: 99;
	background: #252525;
}
#mainnav-menu ul li{
	margin: 0;
	border: none;
}
#mainnav-menu ul a {
	width: 250px;
	width: 16rem;
	padding: 1em;
	float: left;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
#mainnav-menu ul a:link, #mainnav-menu ul a:visited{
	color: #fff;
	font-size: 0.95em;
	text-decoration: none;
}

#mainnav-menu li ul ul {
	margin-left: 250px;
	margin-left: 16rem;
}
#mainnav-menu li ul ul a { border-left: 1px solid rgba(255, 255, 255, 0.1); }

#mainnav-menu li:hover ul ul, #mainnav-menu li:hover ul ul ul, #mainnav-menu li:hover ul ul ul ul { display:none; }

#mainnav-menu li:hover ul, #mainnav-menu li li:hover ul, #mainnav-menu li li li:hover ul, #mainnav-menu li li li li:hover ul{ display:block; }

#mainnav-menu li.current_page_item a, #mainnav-menu li.current-menu-item a, #mainnav-menu li.current-page-ancestor a {
	background-color: #4b4c4f;
	color: #fff;

}
#member #mainnav-menu li.current_page_item a, #member #mainnav-menu li.current-menu-item a, #member #mainnav-menu li.current-page-ancestor a {
	background-color: #ccc;
	color: #0a5a91;
}

#mainnav-menu li a:hover { background: rgba(0, 0, 0, 0.1); }
#member #mainnav-menu li a:hover {
	background: rgba(0, 0, 0, 0.3);
	color: #fff;
}

#mainnav-menu li.current_page_item ul li a, #mainnav-menu li.current-menu-item ul li a{ text-decoration: none; }

#mainnav-menu ul li.current_page_item a, #mainnav-menu ul li.current-menu-item a { text-decoration: underline; }

#mainnav-menu ul li.current_page_item ul li a, #mainnav-menu ul li.current-menu-item ul li a{ text-decoration: none; }

/* breadcrumbs
-------------------------------------------------------------- */

.breadcrumbs {
	margin-bottom: 16px;
	font-size: .8rem;
}

.breadcrumbs span { font-size: 1.2rem;}


/* Widget Styling
-------------------------------------------------------------- */

.widget {
	margin-bottom: 1.5em;
	padding: 12px;
	border: 1px solid #e2e2e2;
	background: #fff;
	border-radius: 6px;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
}

.widgettitle {
	margin-bottom: 10px;
	padding: 9px 18px 6px;
	border: 1px solid #ff931a;
	background: #f5f5f5;
	font-size: 1.8rem;
	font-weight: bold;
	line-height: 1.2;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	border-radius: 6px;
}
#member .widgettitle { border-color: #0a5b91; }

#text-3.widget {
	padding: 0;
	border-width: 0;
}

#text-3.widget .textwidget {
	border: 1px solid #f8a015;
	border-radius: 6px;
	background: #fddd85 url(/images/bg_search_pattern.png) repeat 0 0;
	line-height: 1.0;
}
#text-3.widget .textwidget a:link, #text-3.widget .textwidget a:visited {
	display: block;
	padding: 25px 20px 20px 34px;
	border-radius: 6px;
	background: transparent url(/images/bg_search.png) no-repeat center right;
	font-size: .1rem;
	font-weight: bold;
}

.widget .textwidget p { margin-bottom: 1em; }

.widget ul { margin-left: 18px; }

.widget ul .sub-menu {
	margin-top: 0;
	margin-left: 0;
	padding-left: 15px;
	border-top: 1px dotted #ccc;
}

.widget ul li {
	border-bottom: 1px dotted #ccc;
	line-height: 1.2;
}
.widget ul .sub-menu li:last-child { border-bottom: 0; }

.widget a:link, .widget a:visited {
	position: relative;
	display: block;
	padding-top: .7142em;
	padding-bottom: .5em;
	color: #0c51b0;
	text-decoration: none;
}
.widget li.current-menu-item > a, #member .widget li.current-menu-item > a {
	background-image: url(/images/bg_white.png), url(/images/bg_lnavi_cr.png);
	background-repeat: repeat-x, no-repeat;
	background-position: left bottom, left 1px;
}
#member .widget li.current-menu-item > a { background-image: url(/images/bg_white.png), url(/images/bg_lnavi_member_cr.png); }
.widget a:hover, .widget a:active { text-decoration: underline; }

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

/* Custom Widgets
-------------------------------------------------------------- */

/* Frontpage Services Widget */
.widget-frontpage-services .widgettitle {
	border: none;
	background: none;
	font-size: 1.3em;
	text-align: center;
	margin: 0;
}
.widget-frontpage-services .widget-service-icon {
	text-align: center;
	background: #f5f5f5;
	border: 1px solid #e5e5e5;
	margin-bottom: 1em;
	-webkit-border-radius: 0.4em;
	-moz-border-radius: 0.4em;
	border-radius: 0.4em;
}
.widget-frontpage-services .widget-service-icon span {
	display: inline-block;
	width: 48px;
	height: 48px;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-size: 48px;
	line-height: 1;
	font-family: 'Dashicons';
	text-decoration: inherit;
	font-weight: normal;
	font-style: normal;
	vertical-align: text-bottom;
	color: #fff;
	background: #252525;
	margin: -0.15em;
	padding: 0.5em;
	-webkit-border-radius: 1em;
	-moz-border-radius: 1em;
	border-radius: 1em;
}
.widget-frontpage-services .widget-service-content {
	text-align: center;
}
.widget-frontpage-services .widget-service-entry {
	line-height: 1.5em;
	margin: 0 0.5em;
}

.widget-frontpage-services .widget-service-entry p { margin-bottom: 1em; }

.widget-frontpage-services .more-link:link, .widget-frontpage-services .more-link:visited { text-decoration: none; }


/* Posts and Pages
-------------------------------------------------------------- */

.type-post, .type-page, .type-attachment {
	margin: 0 0 1.5em 0;
	padding: 15px 15px 20px;
	background: #fff;
	border: 1px solid #e2e2e2;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	border-radius: 6px;
}

.page-title, .post-title {
	padding: 18px 20px 14px;
	background: #f5f5f5;
	border: 1px solid #ff931a;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	border-radius: 6px;
	font-size: 2.5rem;
	font-weight: bold;
	line-height: 1.2;
	-ms-word-wrap: break-word;
	word-wrap: break-word;

}
#member .page-title, #member .post-title { border-color: #0a5b91; }

.post-title { font-size: 1.4em; }

.post-title a:link, .post-title a:visited {
	color: #2277bb;
	text-decoration: none;
}

.post-title + span, .post-title + span + span {
	display: inline-block;
	margin-top: 10px;
	font-size: 1.3rem;
}
.post-title + span {
	margin-left: 20px;
	margin-right: 1em;
}

/* Page Links | wp_link_pages() */
.page-links {
	margin: 0;
	word-spacing: 1em;
	font-weight: bold;
}

/* Postmeta */
.postmeta, .postinfo {
	margin: 0.3em 0 0;
	padding: 0;
	line-height: 1.5em;
	font-size: 0.95em;
}
.postmeta { display: none !important; }
.postinfo {
	clear: both;
	background: #f5f5f5;
	border: 1px solid #e2e2e2;
	padding: 0.5em 0.8em;
	-webkit-border-radius: 0.4em;
	-moz-border-radius: 0.4em;
	border-radius: 0.4em;
}

.postmeta span, .postinfo span{ margin-right: 0.5em; }

.postmeta a:link, .postmeta a:visited {
	color: #444;
	text-decoration: underline;
}

.postmeta a:hover, .postmeta a:active{ text-decoration: none; }

/* Postmeta Icons */
.postmeta span:before, .postinfo span:before {
	display: inline-block;
	-webkit-font-smoothing: antialiased;
	font: normal 22px/1 'Genericons';
	vertical-align: middle;
}
.postmeta .meta-date:before{ content: '\f307'; }
.postmeta .meta-author:before{ content: '\f304'; }
.postmeta .meta-comments:before{ content: '\f300'; }
.postinfo .meta-category:before{ content: '\f301'; }
.postinfo .meta-tags:before{ content: '\f302'; }

/* Read more Link */
.more-link {
	display: inline-block;
	font-weight: bold;
	margin: 0.5em 0;
	padding: 0.5em 1.2em;
	text-decoration: none;
	border: 1px solid #e2e2e2;
	background: #f5f5f5;
	-webkit-border-radius: 0.4em;
	-moz-border-radius: 0.4em;
	border-radius: 0.4em;
}
.more-link:hover, .more-link:active {
	background: #fdfdfd;
	border: 1px solid #ccc;
	text-decoration: none;
}
.content-full .entry .more-link { margin: 1em 0 0.5em; }


/* Archives and Search Heading */

.archive-title {
	font-size: 1.3em;
	font-weight: bold;
	background: #f5f5f5;
	border: 1px solid #e2e2e2;
	padding: 0.6em 1em;
	margin-bottom: 1em;
	line-height: 1.4em;
	-webkit-border-radius: 0.4em;
	-moz-border-radius: 0.4em;
	border-radius: 0.4em;
}

.archive-title span { color: #555; }

/* Theme Pagination */
.pagination {
	margin-bottom: 1.5em;
	font-weight: bold;
}
.pagination a {
	padding: 0.5em 0.8em;
	margin-right: 0.2em;
	display: inline-block;
	text-align: center;
	text-decoration: none;
	border: 1px solid #e2e2e2;
	background: #fff;
	-webkit-border-radius: 0.4em;
	-moz-border-radius: 0.4em;
	border-radius: 0.4em;
}
.pagination a:hover {
	background: #fdfdfd;
	border: 1px solid #ccc;
	text-decoration: none;
}
.pagination .current {
	padding: 0.4em 0.8em;
	margin-right: 0.3em;
	background: #0c51b0;
	color: #fff;
	-webkit-border-radius: 0.4em;
	-moz-border-radius: 0.4em;
	border-radius: 0.4em;
}


/* Text Elements
-------------------------------------------------------------- */
.entry {
	margin-left: 20px;
	-ms-word-wrap: break-word;
	word-wrap: break-word;
	line-height: 1.5;
}
.template-fullwidth .entry { margin-right: 20px; }

.entry section { margin-top: 40px; }

.entry section:first-child, .entry h2 + section, .entry h3 + section, .entry h4 + section { margin-top: 20px; }

.entry p, .entry table, .entry ul, .entry ol, .comment p { margin-top: 17px; }

.entry li ul, .entry li ol, .entry li dl { margin-top: 0; }

.entry dd dl:first-child, .entry dd ul:first-child, .entry dl:not(.text-law) dd ol:first-child { margin-top: 0; }

.entry h1, .comment h1, .entry h2, .comment h2, .entry h3, .comment h3, .entry h4, .comment h4, .entry h5, .comment h5, .entry h6, .comment h6 {
	margin-left: -20px;
	font-weight: bold;
	line-height: 1.2;
}

.template-fullwidth .entry h1, .template-fullwidth .comment h1, .template-fullwidth .entry h2, .template-fullwidth .comment h2, .template-fullwidth .entry h3, .template-fullwidth .comment h3, .template-fullwidth .entry h4, .template-fullwidth .comment h4, .template-fullwidth .entry h5, .template-fullwidth .comment h5, .template-fullwidth .entry h6, .template-fullwidth .comment h6 {
	margin-right: -20px;
}

.entry h2, .entry h3 {
	position: relative;
	background-color: #f5f5f5;
	border: 1px solid #ccc;
	border-radius: 7px;
}

.entry h1, .comment h1 { font-size: 2.5rem; }

.entry h2, .comment h2 {
	padding: 4px 20px 4px 5px;
	background-color: #fff2e0;
	font-size: 1.8rem;
}

#member .entry h2 { background-color: #dae7ef; }

.entry h3, .comment h3 {
	padding: 4px 20px 4px 7px;
	font-size: 1.6rem;
}

.entry h4, .comment h4, .entry h5, .comment h5 {
	padding-bottom: 5px;
	border-bottom: 1px solid #ccc;
}

.entry h4, .comment h4 { font-size: 1.5rem; }

.entry h5, .comment h5 {
	padding-left: 2px;
	font-size: 1.4rem;
}

.entry h2 span, .entry h3 span, .entry h4 span, .entry h5 span {
	display: block;
	border-left-color: #ffab30;
	border-left-style: solid;
}
#member .entry h2 span, #member .entry h3 span, #member .entry h4 span, #member .entry h5 span { border-left-color: #0a5b91; }

.entry h2 span, .entry h4 span { border-left-width: 3px; }

.entry h3 span, .entry h5 span { border-left-width: 1px; }

.entry h2 span { padding: 10px 0 8px 12px; }

.entry h3 span { padding: 8px 0 4px 12px; }

.entry h4 span { padding: 5px 0 1px 12px; }

.entry h5 span { padding: 3px 0 1px 12px; }

.entry .circle > li, .entry li.circle, .entry dl.circle > dt, .entry dt.circle, .entry dd.circle, .arrow a, .downarrow a, .entry .pdf a, .entry .doc a, .entry .xls a, .entry .ppt a, .entry .mov a, .widget a:link, .widget a:visited {
	display: block;
	padding-left: 16px;
	background-color: transparent;
	background-repeat: no-repeat;
	background-position: 0 .4em;
}
.entry dd.separatorline.circle { background-position:0 13px; }

.entry dl.circle dd, .entry dl.arrow dd { margin-left: 16px; }

.arrow a, .downarrow a, .entry .pdf a, .entry .doc a, .entry .xls a, .entry .ppt a, .entry .mov a { display: inline-block; }

.entry .pdf a, .entry .doc a, .entry .xls a, .entry .ppt a, .entry .mov a {
	padding-left: 18px;
	background-position:0 .2em;
}
.entry .text-small .pdf a, .entry .text-small .doc a, .entry .text-small .xls a, .entry .text-small .ppt a, .entry .text-small .mov a,
.entry .pdf.text-small a, .entry .doc.text-small a, .entry .xls.text-small a, .entry .ppt.text-small a, .entry .ppt.text-small a, .entry .mov.text-small a {
	background-position: 0 0;
}

.entry .circle > li, .entry li.circle, .entry dl.circle > dt, .entry dt.circle, .entry dd.circle { background-image: url(/images/icon_circle.png); }
#member .entry .circle > li, #member .entry li.circle, #member .entry dl.circle > dt, #member .entry dt.circle, #member .entry dd.circle { background-image: url(/images/icon_circle_member.png); }

.arrow a, .widget a:link, .widget a:visited { background-image: url(/images/icon_arrow.png); }
#member .arrow a, #member .widget a:link, #member .widget a:visited { background-image: url(/images/icon_arrow_member.png); }

.downarrow a { background-image: url(/images/icon_downarrow.png); }
.entry .pdf a { background-image: url(/images/icon_pdf.png); }
.entry .doc a { background-image: url(/images/icon_word.png); }
.entry .xls a { background-image: url(/images/icon_excel.png); }
.entry .ppt a { background-image: url(/images/icon_ppt.png); }
.entry .mov a { background-image: url(/images/icon_mov.png); }
.entry .html a { background-image: url(); }

.widget a:link, .widget a:visited { background-position: 2px .95em; }

.entry a.win:after {
	content: "　";
	display: inline-block;
	width: 16px;
	height: 1em;
	background: transparent url(/images/icon_win.png) no-repeat right .2em;
	overflow: hidden;
}
.entry .text-small a.win:after { background-position: right 0; }
#member .entry a.win:after { background-image: url(/images/icon_win_member.png); }

.entry .dot, .entry .dot > dt, .entry .dot > li, .entry .kome, .entry .kome li, .entry .note {
	position: relative;
	padding-left: 1em;
}
.entry .note { padding-left: 3em; }
.entry ul.dot, .entry dl.dot, .entry ul.kome, .entry .num.kome { padding-left: 0; }

.entry .dot:before, .entry .dot > li:before, .entry .dot > dt:before, .entry .kome:before, .entry .kome li:before, .entry .note:before {
	content: "※";
	position: absolute;
	top: 0;
	left: 0;
}
.entry .dot, .entry .dot > li:before, .entry .dot > dt:before { content: "・"; }
.entry .dot > li:before, .entry .dot > dt:before { 	color: #ff931a; }

.entry .note:before { content: "(注)"; }
.entry ul.dot:before, .entry dl.dot:before, .entry ul.kome:before, .entry .num.kome:before { content: ""; }

/* num 1.2.3. ... */
.entry .num { counter-reset: number; }
.entry .num.start2 { counter-reset: number 1; }
.entry .num.start3 { counter-reset: number 2; }
.entry .num.start4 { counter-reset: number 3; }
.entry .num.start5 { counter-reset: number 4; }
.entry .num.start6 { counter-reset: number 5; }
.entry .num.start7 { counter-reset: number 6; }
.entry .num.start8 { counter-reset: number 7; }
.entry .num.start9 { counter-reset: number 8; }
.entry .num.start10 { counter-reset: number 9; }
.entry .num.start11 { counter-reset: number 10; }
.entry .num.start12 { counter-reset: number 11; }
.entry .num.start13 { counter-reset: number 12; }
.entry .num.start14 { counter-reset: number 13; }
.entry .num.start15 { counter-reset: number 14; }
.entry .num.start16 { counter-reset: number 15; }
.entry .num.start17 { counter-reset: number 16; }
.entry .num.start18 { counter-reset: number 17; }
.entry .num.start19 { counter-reset: number 18; }
.entry .num.start20 { counter-reset: number 19; }
.entry .num.start21 { counter-reset: number 20; }
.entry .num.start22 { counter-reset: number 21; }
.entry .num.start23 { counter-reset: number 22; }
.entry .num.start24 { counter-reset: number 23; }
.entry .num.start25 { counter-reset: number 24; }
.entry .num.start26 { counter-reset: number 25; }
.entry .num.start27 { counter-reset: number 26; }
.entry .num.start28 { counter-reset: number 27; }
.entry .num.start29 { counter-reset: number 28; }
.entry .num.start30 { counter-reset: number 29; }
.entry .num.start31 { counter-reset: number 30; }
.entry .num.start32 { counter-reset: number 31; }
.entry .num.start33 { counter-reset: number 32; }
.entry .num.start34 { counter-reset: number 33; }
.entry .num.start35 { counter-reset: number 34; }
.entry .num.start36 { counter-reset: number 35; }
.entry .num.start37 { counter-reset: number 36; }
.entry .num.start38 { counter-reset: number 37; }
.entry .num.start39 { counter-reset: number 38; }
.entry .num.start40 { counter-reset: number 39; }
.entry .num.start41 { counter-reset: number 40; }
.entry .num.start42 { counter-reset: number 41; }
.entry .num.start43 { counter-reset: number 42; }
.entry .num.start44 { counter-reset: number 43; }
.entry .num.start45 { counter-reset: number 44; }
.entry .num.start46 { counter-reset: number 45; }
.entry .num.start47 { counter-reset: number 46; }
.entry .num.start48 { counter-reset: number 47; }
.entry .num.start49 { counter-reset: number 48; }
.entry .num.start50 { counter-reset: number 49; }

/* num.alpha a.b.c. ... */
.entry .num.alpha { counter-reset: number7; }

/* num.alpha (a)(b)(c) ... */
.entry .num.brackets.alpha { counter-reset: number8; }

/* num.brackets (1)(2)(3) ... */
.entry .num.brackets { counter-reset: number2; }
.entry .num.brackets.start2 { counter-reset: number2 1; }
.entry .num.brackets.start3 { counter-reset: number2 2; }
.entry .num.brackets.start4 { counter-reset: number2 3; }
.entry .num.brackets.start5 { counter-reset: number2 4; }
.entry .num.brackets.start6 { counter-reset: number2 5; }
.entry .num.brackets.start7 { counter-reset: number2 6; }
.entry .num.brackets.start8 { counter-reset: number2 7; }
.entry .num.brackets.start9 { counter-reset: number2 8; }
.entry .num.brackets.start10 { counter-reset: number2 9; }
.entry .num.brackets.start11 { counter-reset: number2 10; }
.entry .num.brackets.start12 { counter-reset: number2 11; }
.entry .num.brackets.start13 { counter-reset: number2 12; }
.entry .num.brackets.start14 { counter-reset: number2 13; }
.entry .num.brackets.start15 { counter-reset: number2 14; }
.entry .num.brackets.start16 { counter-reset: number2 15; }
.entry .num.brackets.start17 { counter-reset: number2 16; }
.entry .num.brackets.start18 { counter-reset: number2 17; }
.entry .num.brackets.start19 { counter-reset: number2 18; }
.entry .num.brackets.start20 { counter-reset: number2 19; }
.entry .num.brackets.start21 { counter-reset: number2 20; }
.entry .num.brackets.start22 { counter-reset: number2 21; }
.entry .num.brackets.start23 { counter-reset: number2 22; }
.entry .num.brackets.start24 { counter-reset: number2 23; }
.entry .num.brackets.start25 { counter-reset: number2 24; }
.entry .num.brackets.start26 { counter-reset: number2 25; }
.entry .num.brackets.start27 { counter-reset: number2 26; }
.entry .num.brackets.start28 { counter-reset: number2 27; }
.entry .num.brackets.start29 { counter-reset: number2 28; }
.entry .num.brackets.start30 { counter-reset: number2 29; }
.entry .num.brackets.start31 { counter-reset: number2 30; }
.entry .num.brackets.start32 { counter-reset: number2 31; }
.entry .num.brackets.start33 { counter-reset: number2 32; }
.entry .num.brackets.start34 { counter-reset: number2 33; }
.entry .num.brackets.start35 { counter-reset: number2 34; }
.entry .num.brackets.start36 { counter-reset: number2 35; }
.entry .num.brackets.start37 { counter-reset: number2 36; }
.entry .num.brackets.start38 { counter-reset: number2 37; }
.entry .num.brackets.start39 { counter-reset: number2 38; }
.entry .num.brackets.start40 { counter-reset: number2 39; }
.entry .num.brackets.start41 { counter-reset: number2 40; }
.entry .num.brackets.start42 { counter-reset: number2 41; }
.entry .num.brackets.start43 { counter-reset: number2 42; }
.entry .num.brackets.start44 { counter-reset: number2 43; }
.entry .num.brackets.start45 { counter-reset: number2 44; }
.entry .num.brackets.start46 { counter-reset: number2 45; }
.entry .num.brackets.start47 { counter-reset: number2 46; }
.entry .num.brackets.start48 { counter-reset: number2 47; }
.entry .num.brackets.start49 { counter-reset: number2 48; }
.entry .num.brackets.start50 { counter-reset: number2 49; }

/* num.brackets.notes (注1)(注2)(注3) ... */
.entry .num.brackets.notes { counter-reset: number3; }

/* num.corner 【1】【2】【3】 ... */

.entry .num.corner { counter-reset: number6; }
.entry .num.corner.start2 { counter-reset: number6 1; }
.entry .num.corner.start3 { counter-reset: number6 2; }
.entry .num.corner.start4 { counter-reset: number6 3; }
.entry .num.corner.start5 { counter-reset: number6 4; }
.entry .num.corner.start6 { counter-reset: number6 5; }
.entry .num.corner.start7 { counter-reset: number6 6; }
.entry .num.corner.start8 { counter-reset: number6 7; }
.entry .num.corner.start9 { counter-reset: number6 8; }
.entry .num.corner.start10 { counter-reset: number6 9; }
.entry .num.corner.start11 { counter-reset: number6 10; }
.entry .num.corner.start12 { counter-reset: number6 11; }
.entry .num.corner.start13 { counter-reset: number6 12; }
.entry .num.corner.start14 { counter-reset: number6 13; }
.entry .num.corner.start15 { counter-reset: number6 14; }
.entry .num.corner.start16 { counter-reset: number6 15; }
.entry .num.corner.start17 { counter-reset: number6 16; }
.entry .num.corner.start18 { counter-reset: number6 17; }
.entry .num.corner.start19 { counter-reset: number6 18; }
.entry .num.corner.start20 { counter-reset: number6 19; }
.entry .num.corner.start21 { counter-reset: number6 20; }
.entry .num.corner.start22 { counter-reset: number6 21; }
.entry .num.corner.start23 { counter-reset: number6 22; }
.entry .num.corner.start24 { counter-reset: number6 23; }
.entry .num.corner.start25 { counter-reset: number6 24; }
.entry .num.corner.start26 { counter-reset: number6 25; }
.entry .num.corner.start27 { counter-reset: number6 26; }
.entry .num.corner.start28 { counter-reset: number6 27; }
.entry .num.corner.start29 { counter-reset: number6 28; }
.entry .num.corner.start30 { counter-reset: number6 29; }
.entry .num.corner.start31 { counter-reset: number6 30; }
.entry .num.corner.start32 { counter-reset: number6 31; }
.entry .num.corner.start33 { counter-reset: number6 32; }
.entry .num.corner.start34 { counter-reset: number6 33; }
.entry .num.corner.start35 { counter-reset: number6 34; }
.entry .num.corner.start36 { counter-reset: number6 35; }
.entry .num.corner.start37 { counter-reset: number6 36; }
.entry .num.corner.start38 { counter-reset: number6 37; }
.entry .num.corner.start39 { counter-reset: number6 38; }
.entry .num.corner.start40 { counter-reset: number6 39; }
.entry .num.corner.start41 { counter-reset: number6 40; }
.entry .num.corner.start42 { counter-reset: number6 41; }
.entry .num.corner.start43 { counter-reset: number6 42; }
.entry .num.corner.start44 { counter-reset: number6 43; }
.entry .num.corner.start45 { counter-reset: number6 44; }
.entry .num.corner.start46 { counter-reset: number6 45; }
.entry .num.corner.start47 { counter-reset: number6 46; }
.entry .num.corner.start48 { counter-reset: number6 47; }
.entry .num.corner.start49 { counter-reset: number6 48; }
.entry .num.corner.start50 { counter-reset: number6 49; }

/* num.kome ※1※2※3 ... */
.entry .num.kome { counter-reset: number4; }

/* num.brackets.kome (※1)(※2)(※3) ... */
.entry .num.brackets.kome { counter-reset: number5; }

.entry .num > li, .entry .num > dt, .entry .listmark > li, .entry .listmark > dt {
	position: relative;
	padding-left: 2.0em;
}
.entry .num.brackets > li, .entry .num.brackets > dt, .entry .num.kome > li, .entry .num.kome > dt { padding-left: 2.5em; }
.entry .num.brackets.notes > li, .entry .num.brackets.notes > dt, .entry .num.corner > li, .entry .num.corner > dt { padding-left: 3em; }

.entry .num > li:before, .entry .num > dt:before,
.entry .listmark > li > span:first-child, .entry .listmark > dt span:first-child,
.entry .num3 > li .listmark, .entry .num3 > dt .listmark {
	position: absolute;
	top: 0;
	left: 0;
}
.entry .num > li:before, .entry .num > dt:before {
	counter-increment: number;
	content: counter(number)".";
}

.entry .num.brackets > li:before, .entry .num.brackets > dt:before {
	counter-increment: number2;
	content: "("counter(number2)")";
}
.entry .num.brackets.bold > li:before { font-weight: bold; }

.entry .num.brackets.notes > li:before, .entry .num.brackets.notes > dt:before {
	counter-increment: number3;
	content: "(注"counter(number3)")";
}

.entry .num.kome > li:before, .entry .num.kome > dt:before {
	counter-increment: number4;
	content: "※"counter(number4);
}

.entry .num.brackets.kome > li:before, .entry .num.brackets.kome > dt:before {
	counter-increment: number5;
	content: "(※"counter(number5)")";
}

.entry .num.corner > li:before, .entry .num.corner > dt:before {
	counter-increment: number6;
	content: "【"counter(number6)"】";
}

.entry .num.alpha > li:before, .entry .num.alpha > dt:before {
	counter-increment: number7;
	content: counter(number7, lower-alpha)".";
}

.entry .num.brackets.alpha > li:before, .entry .num.brackets.alpha > dt:before {
	counter-increment: number8;
	content: "("counter(number8, lower-alpha)")";
}

.entry dd dl { margin-left: 0; }

.entry dt {
	margin-top: 17px;
	font-weight: bold;
}
.entry dd dl:first-child dt:first-child, .entry dd dl dt:first-child + dd { margin-top: 0; }

strong { font-weight: bold; }

cite, em, i { font-style: italic; }

big, .big_tag { font-size: 1.3em; }

ins {
	padding: 1px 2px;
	background: #ffa;
	text-decoration: none;
}

code, pre {
	padding: 3px 8px;
	margin: 0 1px;
	background: #eeeeee;
	font-size: 0.9em;
	font-family: Monospace, "Courier New", Courier;
	overflow: auto;
	line-height: 1.0em;
}

del, strike, s{ text-decoration: line-through; }

pre { font-family: "Courier 10 Pitch", Courier, monospace; }

small { font-size: 0.7em; }

abbr, acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

sup, sub {
	height: 0;
	line-height: 1;
	position: relative;
	vertical-align: baseline;
	font-size: 0.8em;
}

sup { bottom: 1ex; }

sub { top: .5ex; }

.entry var, .entry kbd, .entry tt, .entry .tt_tag {
	font-size: 1.1em;
	font-family: "Courier 10 Pitch", Courier, monospace;
}

blockquote {
	background:#f5f5f5;
	border-left: 10px solid #ccc;
	margin: 1.5em 0;
	padding: 0.8em 1.5em;
}

blockquote p { display:inline; }

blockquote cite {
	display: block;
	margin: 0.5em 0 0 0.5em;
	color: #777;
}

.entry table {
	border-collapse: collapse;
	border-spacing: 0;
	text-align: left;
}

.entry table th, .entry table td {
	padding: 2px 6px 0;
	border: 1px solid #ccc;
	vertical-align: top;
}
.entry tr.alternate td { background: #f5f5f5; }
.entry table th { background-color: #f5f5f5; }
.entry table thead th, .entry table thead td { background-color: #fff2e0; }
#member .entry table thead th, #member .entry table thead td { background-color: #dae7ef; }
.entry table td *:first-child { margin-top: 0; }

.box {
	margin-top: 20px;
	padding: 0 20px 20px;
	border: 1px solid #ccc;
}

/* 法令文 */

.entry .text-law dd, .entry .text-law dd ol { margin-left: 1em; }


/* Images | Gallery | Videos
-------------------------------------------------------------- */

article .wp-post-image {
	max-width: 100%;
	margin: 1.2em 2em 1em 0;
	height: auto;
	-webkit-border-radius: 0.3em;
	-moz-border-radius: 0.3em;
	border-radius: 0.3em;
}

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

.wp-caption {
	max-width: 100%;
	height: auto;
	text-align: center;
	margin: 1em 0;
}

.wp-caption-text {
	margin: 0 !important;
	padding: 0;
	font-size: 0.9em;
	text-align: center;
}

.alignleft {
	float: left;
	display: inline;
	margin-right: 18px;
}

.alignright {
	float: right;
	display: inline;
	margin-left: 18px;
}

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

/* Gallery Styling */

.gallery { margin: 1em auto !important; }

.gallery-item {
	float: left;
	margin: 0.7em 0 0 0 !important;
	padding-right: 1em;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.gallery img {
	margin: 0 !important;
	border: none !important;
}

.gallery-caption { margin-left: 0.3em !important; }


/* Make Vidoes responsive */

embed, iframe, object, video { max-width: 100%; }

/* google maps */
iframe#map {
	display: block;
	width: 100%;
	max-width: 500px;
	height: 300px;
	border-width: 0;
}

/* Image.php Navigation */
#image-nav {
	margin-bottom: 1.5em;
	padding: 0.5em 0;
}

#image-nav .nav-previous { float: left; }

#image-nav .nav-next { float: right; }

#image-nav .nav-previous a, #image-nav .nav-next a {
	font-size: 0.9em;
	font-weight: bold;
	text-decoration: none;
	padding: 0.5em 0.8em;
	border: 1px solid #e2e2e2;
	background: #f5f5f5;
	-webkit-border-radius: 0.4em;
	-moz-border-radius: 0.4em;
	border-radius: 0.4em;
}

#image-nav .nav-previous a:hover, #image-nav .nav-next a:hover {
	background: #fdfdfd;
	border: 1px solid #ccc;
}


/* Search Form
-------------------------------------------------------------- */
.search-form {
	display: block;
	position: relative;
	width: 100%;
	margin: 0;
	padding: 0;
}

.search-form .screen-reader-text { display: none; }

.search-form .search-field {
	display: inline-block;
	margin: 0;
	width: 23em;
	padding: .69em 5.23em .6em .69em;
	background: #fff;
	border: 1px solid #4b4c4f;
	border-radius: 0 !important;
	color: #666;
	font-size: 1.3rem;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
.search-form .search-field:not(:target) { padding-bottom: .6923em; }

@media screen and (-ms-high-contrast: none) {
	.search-form .search-field:not(:target) { padding-bottom: .6923em; }
}

::-webkit-input-placeholder { color: #666; }
::-moz-placeholder { color: #666; }
:-ms-input-placeholder { color: #666; }

.search-form .search-submit {
	position: absolute;
	top: 3px;
	right: 3px;
	padding: 0;
	border: none;
	background-color: #ffab30;
	border-radius: 5px;
	font-size: 1rem;
	cursor: pointer;
}
#member .search-form .search-submit { background-color: #0a5b91; }

.search-form .search-submit .genericon-search {
	display: inline-block;
	padding-top: .4375em;
	padding-bottom: .375em;
	width: 4.375em;
	height: 1em;
	color: #000;
	font-size: 1.6rem;
	text-align: center;
	line-height: 1.0;
}
#member .search-form .search-submit .genericon-search { color: #fff; }

@-moz-document url-prefix() {
	.search-form .search-submit .genericon-search {
		padding-top: .375em;
		padding-bottom: .3125em;
	}
}

.search-form .search-submit .genericon-search:before { content: '検索'; }

/* Front Page Template
-------------------------------------------------------------- */

/* Front Page Slideshow */
#frontpage-slider-container {
	border-bottom: 0.8em solid #ffab30;
}
#frontpage-slider-wrap {
	border-top: 1px solid #fff;
	border-bottom: 1px solid #fff;
	/* All other Slideshow Styles in flexslider.css */
}

.frontpage-slider-empty-posts {
	padding: 2em;
	line-height: 1.5em;
	background: #fff;
}

/* Front Page Intro */
#frontpage-intro {
	padding: 2.3em;
	text-align: center;
	background: #f5f5f5;
	border-bottom: 1px solid #e2e2e2;
	border-top: 1px solid #fff;
}
#frontpage-intro span {
	font-size: 1.8em;
	line-height: 1.6em;
}

/* Front Page Widgets */
.frontpage-widgets {
	clear: both;
	margin-right: -1.5em;
}
.frontpage-widgets .widget-col {
	float: left;
	width:  33.3333333333333%;
	padding-right: 1.5em;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
.frontpage-widgets .widget-col:nth-child(3n + 1) { clear: left; }

#frontpage-widgets-second {
	background: #f5f5f5;
	margin-left: -1.5em;
	margin-bottom: 1.5em;
	padding: 1.5em 0 0 1.5em;
	border-top: 1px solid #e2e2e2;
	border-bottom: 1px solid #e2e2e2;
}

/* Front Page Blog Posts */

#frontpage-posts-wrap { margin-right: -1.5em; }

#frontpage-posts { margin: 0; }

#frontpage-posts #frontpage-posts-title { margin: 0; }

#list-article {
	position: relative;
	margin-bottom: 25px;
	padding-bottom:5.3571em;
	overflow: hidden;
}

#frontpage-posts .type-post {
	float: left;
	margin: 25px 0 0 2.059%;
	padding: 0;
	width: 31.878%;
	border: 0;
}
#frontpage-posts .type-post:nth-of-type(3n + 1) {
	clear: left;
	margin-left: 0;
}

#frontpage-posts .type-post a {
	display: block;
	padding: 12px 12px 9px;
	border: 1px solid #ffd597;
	border-radius: 6px;
}

#frontpage-posts .type-post .wp-post-image {
	margin: 0;
	width: auto;
	max-width: 100%;
	height: auto;
	border-radius: 0;
}

#frontpage-posts .type-post .post-title {
	margin-top: 12px;
	padding: 0;
	border: 0;
	background-color: transparent;
	font-size: 1.8rem;
}

#frontpage-posts .type-post a p { color: #333; }

#frontpage-posts .type-post .entry {
	text-align: justify;
	margin: 0;
}

.show-more {
	display: block;
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	border-radius: 7px;
	border: 1px solid #c0eaf5;
	background-color: #ffab30;
	font-size: 1.6rem;
	line-height: 1.2;
	text-align: center;
}

.show-more a {
	display: block;
	padding: .9375em 0 .875em;
	color: #000;
}
.show-more a:hover { text-decoration: none; }

.show-more a:before, .show-more a:after {
	content: "▼";
	display: inline;
	margin-right: 24px;
	color: #333;
	font-size: 1.2rem;
}
.show-more a:after {
	margin-right: 0;
	margin-left: 24px;
}
#showBack a:last-child:before, #showBack a:last-child:after { content: "▲"; }

/* Footer
-------------------------------------------------------------- */
#footer-wrap {
	background-color: #4b4c4f;
	-moz-border-radius-bottomleft: 0.4em;
	-moz-border-radius-bottomright: 0.4em;
	-webkit-border-bottom-left-radius: 0.4em;
	-webkit-border-bottom-right-radius: 0.4em;
	-khtml-border-bottom-left-radius: 0.4em;
	-khtml-border-bottom-right-radius: 0.4em;
	border-bottom-left-radius: 0.4em;
	border-bottom-right-radius: 0.4em;
}

#footer #credit-link {
	color: #fff;
	padding: 17px 1.8% 23px;
	font-size: 1.1rem;
}

#footer #credit-link a:link, #footer #credit-link a:visited { text-decoration: underline; }

#footer #credit-link a:hover, #footer #credit-link a:active { text-decoration: none; }

/* Footer Navigation Menu */

#footernav-icon { display: none; }

#footernav { background-color: #ffab30; }
#member #footernav { background-color: #0a5b91; }

#footernav-menu { padding: 6px 1.8% 7px; }

#footernav-menu li {
	display: inline-block;
	margin-right: 16px;
}
#footernav-menu li:last-child { margin-left: 0; }

#footernav-menu a {
	display: block;
	padding-left: 10px;
	background: transparent url(/images/icon_arroww.png) no-repeat 0 .2em;
	color: #0c51b0;
	font-size: 1.2rem;
	line-height: 1.2;
}
#member #footernav-menu a { color: #fff; }

#footernav-menu a:hover { text-decoration: underline; }


/* category index
-------------------------------------------------------------- */

.category-index { margin-top: 20px; }

.category-index li {
	float: left;
	margin-top: 35px;
	width: 48.5333%;
	height: auto;
	min-height: 60px;
	line-height: 1.2;
}
.category-index li:nth-child(1), .category-index li:nth-child(2) { margin-top: 0; }
.category-index li:nth-child(2n) { float: right; }
.category-index li:nth-child(2n + 1) { clear: both; }

.category-index li a {
	position: relative;
	display: block;
	padding-left: 72px;
	color: #333;
}


.category-index li img {
	position: absolute;
	top: 0;
	left: 0;
}

.category-index li span {
	display: block;
	margin-bottom: 8px;
	color: #0c51b0;
	font-size: 1.8rem;
	font-weight: bold;
}


/* google map
-------------------------------------------------------------- */

#googlemap {
	display: block;
	width: auto;
	max-width: 500px;
	height: auto;
	max-height: 300px;
}

/* toppage
-------------------------------------------------------------- */

/* frontpage-content */

#frontpage-content {
	margin-right: -1.984%;
	margin-left: -1.984%;
	padding: 25px 1.984%;
	border-top: 1px solid #d6f6ff;
	background-color: #f5f5f5;
}

/* whatsnew, banners
---------------------------------------------------- */

#whatsnew, #banners, #footer-sitemap .page-list {
	padding: 12px 0.99% 20px 2.80528%;
	border-radius: 6px;
	border: 1px solid #e2e2e2;
	background-color: #fff;
}

#whatsnew h2, #banners h2 {
	margin-left: -1.815%;
	padding: 18px 20px 14px;
	border: 1px solid #ff931a;
	border-radius: 6px;
	background-color: #f5f5f5;
	font-size: 2.5rem;
	line-height: 1.2;
}

/* whatsnew
---------------------------------------------------- */

#whatsnew, .news { position: relative; }

#whatsnew h2 a.rss {
	display: inline-block;
	margin-left: 32px;
	font-size: .1em;
	line-height: 25px;
	vertical-align: top;
}

#whatsnew div, .news div {
	position: absolute;
	top: 34px;
	right: 38px;
}

.news div { top: 16px; }

#whatsnew li, .news li {
	clear: left;
	margin-top: 13px;
}

#whatsnew li span, .news li span {
	display: block;
	float: left;
	margin-right: 1.2857em;
}
#whatsnew li span:first-child, .news li span:first-child { width: 8.5em; }
	
#whatsnew li span:nth-of-type(2), .post-title + span + span, .news li span:nth-of-type(2) {
	padding-top: 3px;
	width: 6.923em;
	border-radius: 2px;
	background-color: #ffab30;
	font-size: 1.3rem;
	text-align: center;
	line-height: 1.0;
}
#whatsnew li span:nth-of-type(2), .news li span:nth-of-type(2) {
	margin-top: 2px;
	margin-right: 0;
}
#member .post-title + span + span {
	background-color: #0a5b91;
	color: #Fff;
}

#whatsnew li a, .news li a {
	display: block;
	margin-left: 17.2857em;
}


/* banners
---------------------------------------------------- */

#banners { margin-top: 25px; }

#banners ul {
	margin-left: -2.97%;
	width: 102.97%;
}

#banners li {
	float: left;
	margin-top: 20px;
	margin-left: 2.97%;
	width: 200px;
	height: 45px;
}
#banners li a { display: block; }

/* sitemap

---------------------------------------------------- */

#sitemap .page-list {
	margin-top: 0;
	float: right;
	width: 47.8%;
}
#sitemap .page-list:first-child { float: left; }

#sitemap { margin-top: 20px; }

#sitemap .children { margin-left: 27px; }

#sitemap .page-list > li { margin-top: 20px; }
#sitemap .page-list > li:first-child { margin-top: 0; }
#sitemap .children li { margin-top: 10px; }

#sitemap .page-list > li > a {
	display: block;
	position: relative;
	padding: 5px 10px 3px 27px;
	border-radius: 7px;
	background: #f5f5f5 url(/images/bg_sitemap_head_bottom.png) no-repeat 10px bottom;
	font-weight: bold;
}

#sitemap .page-list > li > a:after {
	position: absolute;
	top: 0;
	left: 9px;
	content: "　";
	width: 5px;
	height: 8px;
	background-color: #f5f5f5;
	font-size: .1em;
}

.list-parallel dt {
	clear: left;
	float: left;
	font-weight: normal;
}

.list-parallel dd { margin-top: 17px; }


/* others
-------------------------------------------------------------- */

.block { display: block; }

.inlineblock { display: inline-block; }

.maxwidth { width: 100%; }

.weight-normal, dl.weight-normal dt { font-weight: normal !important; }

.margin-top0, dl.margin-top0 dt { margin-top: 0 !important; }

.margin-top1 { margin-top: 17px !important; }

.margin-left0 { margin-left: 0 !important; }

.margin-left1 { margin-left: 1em !important; }

.left { text-align: left; }

.center { text-align: center; }

.right { text-align: right; }

.vtop { vertical-align: top; }

.vmiddle { vertical-align: middle !important; }

.text-small { font-size: 1.2rem; }

.text-red { color: #c00; }

.text-oblique { font-style: oblique; }

.text-underline { text-decoration: underline; }

.break { word-break: break-all; }

.nowrap { white-space: nowrap; }

.hide { display: none !important; }

.relative { position: relative; }

.mark-circle:before { content: "○"; }

.mark-doublecircle:before { content: "◎"; }

.mark-circle, .mark-doublecircle { text-indent: -1em; }

.separatorline, .list-parallel.separatorline > dd {
	padding-top: 17px;
	border-top: 1px dotted #ccc;
}
dd.separatorline {
	margin-top: 2px;
	padding-top: 7px;
}
dd.separatorline *:first-child { margin-top: 0; }

.list-parallel.separatorline, .list-parallel.separatorline > dt:first-child + dd, .list-parallel.separatorline > dt.circle + dd { border-top-width: 0; }

.list-parallel.separatorline { padding-top: 0; }

.list-parallel.separatorline > dt { margin-top: 11px; }
.list-parallel.separatorline > dt:first-child { margin-top: 14px; }
.list-parallel.separatorline > dt.circle { margin-top: 10px; }

.list-parallel.separatorline > dd {
	margin-top: 5px;
	padding-top: 6px;
}
.list-parallel.separatorline > dt:first-child + dd { margin-top: 7px; }

.adobereader {
	padding-left: 137px;
	font-size: 1.3rem;
}

.adobereader a img {
	position: absolute;
	top: 19px;
	left: 0px;
}

.list-column2 li { float: left; }
.list-column2 li:nth-child(2n) { margin-left: 1em; }
.list-column2 li:nth-child(2n + 1) { clear: left; }

.list-column2.addmark li { padding-left: 1em; }

/* list-faq */

.list-faq > dt, .list-faq > dd {
	position: relative;
	padding-left: 2em;
}
.list-faq.nonemark > dt, .list-faq.nonemark > dd { padding-left: 4.5em; }

.list-faq > dt:before, .list-faq.nonemark > dt span, .list-faq > dd:before {
	position: absolute;
	top: 0;
	left: 0;
}
.list-faq > dt:before { content: "Q："; }
.list-faq.nonemark > dt:before { content: ""; }
.list-faq > dd:before {
	content: "A：";
	font-weight: bold;
}
.list-faq.nonemark > dd:before {
	content: "A";
	left: 3em;
}
.list-faq.nonemark > dt span {
	display: inline-block;
	padding-right: .2em;
	width: 3.8em;
	text-align: right;
}

/* $youtube ----- */

.youtube {
	position: relative;
	margin-top: 17px;
	width: 100%;
	padding-top: 56.25%;
}
.youtube iframe {
	position: absolute;
	top: 0;
	right: 0;
	width: 100% !important;
	height: 100% !important;
}

.youtube iframe {
	width: 100% !important;
}


/* list-inline */

.list-inline li {
	display: inline;
	margin-right: 1em;
}


/*============================ MEDIA QUERIES ============================*/

/* Small screens | <1120px */
@media only screen and (max-width: 70em) {
	#wrapper {
		width: 96%;
		margin: 1em auto 2em;
	}
}

/* Tablets (landscape) | <960px */
@media only screen and (max-width: 60em) {
	#content, #sidebar, #logo .site-title, #logo .logo-image, #logo .site-description { float: none; }

	#wrap {
		padding-right: 4.9%;
		padding-left: 4.9%;
	}

	.type-post, .type-page, .type-attachment, .widget { margin-bottom: 2em; }

	#header {
		padding: 22px 4.9% 24px;
		text-align: center;
	}

	#header > nav { margin-top: 15px; }

	#header #logo + nav ul li {
		margin-left: 15px;
		font-size: 1.2rem;
	}

	.breadcrumbs { margin-left: -0.8em; }

	#content {
		width: 100%;
		padding: 0;
	}

	#sidebar {
		clear: both;
		margin: 0;
		padding-top: 1em;
		width: 100%;
	}

	#logo {
		position: static;
		width: 100%;
		text-align: center;
	}

	#logo img {
		width: 54.7%;
		min-width: 250px;
		max-width: 328px;
		height: auto;
	}

	#logo .site-description {
		margin: 0;
		font-size: 1.05em;
	}

	#header-content { padding-top: 0; }

	#header-content #header-search, #header-content nav li { margin-top: 16px; }

	.search-form .search-field {
		padding: .5em 4.8em .4em 8px;
		width: 28.4em;
		font-size: 1.0rem;
	}

	.search-form .search-submit { top: .3em; }

	.search-form .search-submit .genericon-search {
		padding-top: .25em;
		padding-bottom: .25em;
		width: 4em;
		font-size: 1.2rem;
	}

	@-moz-document url-prefix() { .search-form .search-submit .genericon-search { padding-top: .1666em; } }

	.search-form .search-submit .genericon-search:not(:target) { padding-top: .3333em; }
	
	#header-content ul li a {
		position: static;
		margin-left: 10px;
		padding:.3333em 9px .1666em 23px;
		border-color: #4b4c4f;
		background-image:url(/images/icon_lock_s.png);
		background-position: 6px .5em;
		font-size: 1.2rem;
		line-height: 1.0;
		text-align: center;
	}
	#member #header-content ul li a {
		padding-right: 23px;
		border-color: #ffab30;
		text-align: center;
	}

	/* Mobile Main Navigation */
	
	/* Reset */
	#mainnav, #mainnav-menu, #mainnav-menu li, #mainnav-menu a, #mainnav-menu ul,

	#mainnav-menu ul a, #mainnav-menu ul ul, #mainnav-menu li ul ul {
		margin: 0;
		padding: 0;
		position: static;
		float: none;
		display: block;
		font-size: 1.0em;
		border: none;
		box-shadow: none;
		background: none;
		top: 0;
		left: 0;
	}
	#mainnav-menu li:hover ul ul, #mainnav-menu li:hover ul ul ul, #mainnav-menu li:hover ul ul ul ul, #mainnav-menu li:hover ul, #mainnav-menu li li:hover ul, #mainnav-menu li li li:hover ul, #mainnav-menu li li li li:hover ul { display: inline; }


	#mainnav-mobile-menu {
		background: #ffab30;
		-moz-border-radius-topleft: 7px;
		-moz-border-radius-topright: 7px;
		-webkit-border-top-left-radius: 7px;
		-webkit-border-top-right-radius: 7px;
		-khtml-border-top-left-radius: 7px;
		-khtml-border-top-right-radius: 7px;
		border-top-left-radius: 7px;
		border-top-right-radius: 7px;
	}
	#member #mainnav-mobile-menu { background-color: #0a5b91; }
	
	#mainnav-icon {
		display: block;
		padding: .9375em 4.9% .8125em;
		text-decoration: none;
		color: #000;
		font-size: 1.6rem;
		font-weight: bold;
		-moz-border-radius-topleft: 0.4em;
		-moz-border-radius-topright: 0.4em;
		-webkit-border-top-left-radius: 0.4em;
		-webkit-border-top-right-radius: 0.4em;
		-khtml-border-top-left-radius: 0.4em;
		-khtml-border-top-right-radius: 0.4em;
		border-top-left-radius: 0.4em;
		border-top-right-radius: 0.4em;
	}
	#member #mainnav-icon { color: #fff; }

	#mainnav-icon:hover {
		cursor: pointer;
		background: rgba(0, 0, 0, 0.1);
	}
	#mainnav-icon:after {
		float: right;
		margin: -0.1em 0 0;
		-webkit-font-smoothing: antialiased;
		display: inline-block;
		content: '\f419';
		font: normal 24px/1 Genericons;
		text-decoration: inherit;
		vertical-align: text-bottom;
	}

	#mainnav-menu {
		width: 100%;
		display: none;
		background: #252525;
	}

	#mainnav-menu a {
		display: block;
		padding: 1.1em;
		color: #fff;
		text-decoration: none;
		font-size: 1.05em;
		border-bottom: 1px solid rgba(255, 255, 255, 0.1);
		clear: left;
	}

	#mainnav-menu a:link, #mainnav-menu a:visited { color: #fff; }

	#mainnav-menu ul { width: 100%; }

	#mainnav-menu ul a {
		display: block;
		width: 100%;
		padding: 1em 1em 1em 2em;
		font-size: 0.9em;
		background: rgba(0, 0, 0, 0.25);
		border-bottom: 1px solid rgba(255, 255, 255, 0.1);
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
	}

	#mainnav-menu ul a:hover { background: rgba(0, 0, 0, 0.15); }

	#mainnav-menu ul li ul {
		float: left;
		padding: 0;
		width: 100%;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
	}

	#mainnav-menu ul li ul a { padding-left: 4em; }

	#mainnav-menu ul li ul li ul a{ padding-left: 6em; }

	#mainnav-menu li.current_page_item a, #mainnav-menu li.current-menu-item a { text-decoration: underline; }

	#mainnav-menu li.current_page_item ul li a, #mainnav-menu li.current-menu-item ul li a{ text-decoration: none; }

	#mainnav-menu ul li.current_page_item a, #mainnav-menu ul li.current-menu-item a { text-decoration: underline; }

	/* Frontpage Template */
	#frontpage-intro { padding: 1.8em; }

	#frontpage-intro span { font-size: 1.6em; }

	#frontpage-widgets-first { margin: 0; }

	#frontpage-widgets-second {
		margin: 0 -2em 2em;
		padding: 2em 2em 0;
	}

	.frontpage-widgets .widget-col  {
		float: none;
		width: 100%;
		padding-right: 0;
	}

	#frontpage-posts {
		padding-bottom: 0;
		margin: 0;
	}

	#frontpage-posts .type-post {
		float: none;
		width: 100%;
		padding-right: 0;
		margin-left: 0;
	}
	#frontpage-posts .type-post:nth-of-type(3n + 1) { clear: none; }

	/* Clearing Floats */
	#frontpage-posts .type-post a:before, #frontpage-posts .type-post a:after {
		content: " ";
		display: table;
	}
	#frontpage-posts .type-post a:after { clear: both; }
	#frontpage-posts .type-post a { *zoom: 1; /* For IE 6/7 only */ }

	#frontpage-posts .type-post .post-title {
		margin-top: 2px;
		margin-bottom: 3px;
	}

	#frontpage-posts .type-post .wp-post-image {
		float: left;
		margin-right: 12px;
		max-width: 47.619%;
	}

	#frontpage-posts .type-post .postmeta { display: inline-block; }

	#frontpage-posts .type-post .read-more { float: left; }

	#footernav-menu, #footer #credit-link {
		padding-right: 4.9%;
		padding-left: 4.9%;
	}

	#whatsnew li a {
		clear: left;
		margin-left: 0;
	}


	/* others
	-------------------------------------------------------------------- */
	.list-parallel dt {
		clear: none;
		float: none;
	}
	.list-parallel.separatorline > dt, .list-parallel.separatorline > dt.circle {
		margin-top: 4px;
		padding-top: 6px;
		border-top: 1px dotted #ccc;
	}
	.list-parallel.separatorline > dt.circle { background-position: 0 .9em; }
	
	.list-parallel.separatorline > dt:first-child, .list-parallel.separatorline > dd { border-top-width: 0; }
	
	.list-parallel dd { margin-top: 0; }
	.list-parallel.separatorline > dd, .list-parallel.separatorline > dt:first-child + dd {
		margin-top: 0;
		padding-top: 0;
	}
}

@media only screen and (max-width: 32em) {
	#whatsnew h2 { padding-bottom: 45px; }
	#whatsnew div { top: 70px; }
	.news li a:before { content: "\A"; white-space: pre; }
	.news li a { margin-left:0; }
}


/* footer-sitemap
-------------------------------------------------------------- */

#footer-sitemap {
	padding: 25px 1.984%;
	background-color: #e5e5e5;
}

#footer-sitemap .page-list {
	padding: 12px 0.99% 15px;
	background-color: #fff;
}

#footer-sitemap .page-list > li {
	float: left;
	margin-left: 1.85185%;
	width: 18.5185%;
}
#footer-sitemap .page-list > li:first-child { margin-left: 0; }

#footer-sitemap .page-list > li > a {
	display: block;
	margin-bottom: 12px;
	padding: 6px 8% 5px;
	border: 1px solid #ff931a;
	border-radius: 6px;
	background-color: #f5f5f5;
	background-image: none;
	color: #333;
	font-weight: bold;
}

#footer-sitemap .page-list li ul { margin-left: 5px; }

#footer-sitemap .page-list li li { margin-top: 4px; }

/* 右のアーカイブ 年月 */

.archive_year { cursor: pointer; }

.cay_current { display: block; }

.cay_none { display: none; }

/* contact form 7 確認画面 */
.wpcf7c-conf[readonly] { background-color: #ddd; }

/* Contact Form 7のラジオボタンを縦並びに 田口*/
.wpcf7-radio .wpcf7-list-item {
    margin-top:10px;
    display: block;
}
span.wpcf7-list-item { display: block; }


/* 税理士動画のサムネ表示について　田口　*/
.douga-link{
	display: flex;
	flex-wrap:wrap;
}
.douga-link li {
	width: calc(100%/2);
	padding:0 20px;
	box-sizing:border-box;
}
.douga-link li img {
	max-width:100%;
	height: auto; 
	border:solid 0px #ccc; 
}


/*TablePress検索ボックスのカスタマイズ　田口*/
.dataTables_filter {
  width: 20% !important;
}

.dataTables_filter input {
	width: 100% !important;
	max-width: 50% !important;
     margin: 5% 0 !important;*/
   /* background: url(images/icon-search.png) no-repeat top 50% left 10px;*/
   /* background-size: 30px;*/
     border: 1px solid #ccc !important;
    border-radius: 50px !important;
    box-shadow: 2px 3px 5px 1px rgba(0,0,0,0.18) inset;
    color: #333 !important;
    font-size: 11px !important;
    padding-left: 500px !important;
    transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s !important;
    box-sizing: border-box !important;
    height: 30px;
    text-align: left;
    background-color: #fefad4 !important;
}

/*指定の固定ページのみタイトルの非表示　田口*/
#post-24039 .title,
#post-24039 .post-meta {
  display:none;
}

function Air balloon lite_add_quicktags() { 
?>
<script type="text/javascript">
QTags.addButton('h99','タイトル','<div style="padding: 18px 20px 14px; background: #f5f5f5;	border: 1px solid #ff931a; -webkit-border-radius: 6px; -moz-border-radius: 6px;	border-radius: 6px;	font-size: 2.5rem; font-weight: bold; line-height: 1.2;	-ms-word-wrap: break-word; word-wrap: break-word;">','</div>n');
</script>
add_action('admin_print_footer_scripts','Air balloon lite_add_quicktags');
	
/*業２フロチャ用　田口*/
kk {
border-left:5px solid #000000;
padding:2px 8px; 
}
	
	/* ポータルサイト用YES・NO チャート 田口*/
.yn-chart{
  margin:0 auto 2rem;
  padding: 2em;
  max-width: 600px;
  background:#fff8e3;
  box-shadow: 0 3px 5px rgba(0,0,0,.07);
  font-size:2.7rem;
}
.yn-chart__add{
  background: #fdc44f;
  color:#fff;
  padding: 0.2em 0.9em !important;
  margin:0 !important;
  text-align:center;
  display:inline-block;
  line-height: 1.5 !important;
}
.yn-chart__title{
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  text-align: center;
  width: 100%;
  padding: 0.5em 0 0.3em!important;
  margin: 0 auto !important;
  font-size:4.05em !important;
  font-weight: 600 !important;
  color:#fdc44f;
  letter-spacing: 1px !important;
  line-height:1.5 !important;
}
.yn-chart__title:before,.yn-chart__title:after {
  content: "";
  flex: 1;
  height: 1px;
  background: #fdc44f;
  display: block;
}
.yn-chart__title:before {
  margin-right: 0.7em;
}
.yn-chart__title:after {
  margin-left: 0.7em;
}
.yn-chart__ex{
  text-align:center;
  margin: 0 !important;
  padding: 0 !important;
}
.yn-chart > div{
  display:none;
  padding-top: 100px;
  margin-top: -100px;
}
.yn-chart > div.yn-chart__display{
  display:block;
}
.yn-chart > div > figure{
  margin:1em 0 2em;
}
.yn-chart > div > figure img{
  display:block;
}
.yn-chart > div > p{
  margin:2em 0 0 !important;
  padding: 0.8em 1em 0.8em 4.3em !important;
  background:#fff;
  position:relative;
}
.yn-chart > div > p:before{
  content: "Q";
  background: #fdc44f;
  position: absolute;
  left: 0;
  top: 0;
  color: #fff;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  font-weight: 600;
  font-size: 3.3em;
  min-width: 48px;
}
.yn-chart > div ul{
  margin:2em 0 0 !important;
  padding:0 !important;
  list-style:none !important;
  border:none;
}
.yn-chart > div ul li {
  margin: 0 0 1em 1em!important;
  padding: 0 !important;
}
.yn-chart > div ul li:last-child{
  margin:0 0 0 1em !important;
}
.yn-chart > div ul li a{
  background: #fff;
  display: block;
  padding: 0.8em !important;
  text-decoration: none;
  color: #333;
  box-shadow: 0 3px 5px rgba(0,0,0,.07);
}
.yn-chart > div ul li a:hover{
  box-shadow: inset 2px 2px 0 0 #ee8f81, 2px 2px 0 0 #ee8f81, 2px 0 0 0 #ee8f81, 0 2px 0 0 #ee8f81;
  transition: 0.1s ease-in-out;
  opacity:1;
}
.yn-chart > div ul li:before{
  content:unset !important;
}
.yn-chart__result{
  background:#fff;
  padding:1em;
}
.yn-chart__result-title{
  color: #fdc44f;
  font-size: 3.3em !important;
  font-weight:600 !important;
  padding: 0 !important;
  margin: 0 0 1em !important;
  border-bottom: 1px dashed #fdc44f;
}
@media screen and (max-width: 560px) {
  .yn-chart{
    padding:1.8em 1.3em;
  }
  .yn-chart > div > figure {
    margin: 0.5em 0;
  }
  .yn-chart > div > p {
    margin: 1em 0 0 !important;
    padding: 0.8em 1em 0.8em 3.3em !important;
  }
  .yn-chart > div ul {
    margin: 1em 0 0 !important;
  }
  .yn-chart__title{
    font-size:3em !important;
  }
  .yn-chart__title:before {
    margin-right:0.3em;
  }
  .yn-chart__title:after {
    margin-left:0.3em;
  }
  .yn-chart__ex,.yn-chart__add{
    font-size:2.7em !important;
  }
  .yn-chart > div > p:before{
    min-width: 30px;
  }
}
/* Twitterシェアボタンなど */
.p-tw-btn,.p-check-btn{
  text-align:center;
  margin:1.5em 5em !important;
  padding:0 !important;
}
.p-tw-btn a,.p-check-btn a{
  display:block;
  box-shadow: 0 3px 5px rgba(0,0,0,.15);
  color:#fff !important;
  font-weight:600 !important;
  text-decoration:none !important;
  padding:0.5em 0;
  border-radius:30px;
}
.p-tw-btn a{
  background:  #00acee;
}
.p-check-btn a{
  background:#fbc55e;
}
.p-tw-btn a:hover,.p-check-btn a:hover{
  transform: translateY(3px);
  box-shadow: 0 2px 2px rgba(0,0,0,.22);
}
.yn-chart > div > p.p-check-btn{
  background: none !important;
  padding: 0 5em !important;
}
.yn-chart > div > p.p-check-btn:before{
  content:unset !important;
}
@media screen and (max-width: 800px) {
  .p-tw-btn,.p-check-btn{
    margin:1.5em 3em !important;
  }
}
@media screen and (max-width: 560px) {
  .p-tw-btn,.p-check-btn{
    margin:1.5em 1em !important;
  }
  .yn-chart > div > p.p-check-btn{
    padding: 0 3em !important;
  }
}

