/*
Theme Name: ogiwara-kenji.jp's Main Theme
Version: 1.0
Derived from the Original Theme: Twenty Eleven
Original Theme URI: http://wordpress.org/extend/themes/twentyeleven
Original Author: the WordPress team
Original Author URI: http://wordpress.org/
Original Version: 1.5
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@600&family=Noto+Sans+JP:wght@100;400;700&display=swap');

/* =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-size: 100%;
	margin: 0;
	outline: 0;
	padding: 0;
	max-height: 999999px;	/* against Android Chrome Font Boosting */
}
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 {
	vertical-align: baseline;
}
table, caption, tfoot, thead {
	vertical-align: middle;
}
:focus {/* remember to define focus styles! */
	outline: 0;
}
caption, th, td {
	font-weight: normal;
	text-align: left;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: "";
}
blockquote, q {
	quotes: "" "";
}
img[usemap^="#"],	/* MTL KAZ: added for IE 9 or older */
a img {
	border: 0;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}

*, *:before, *:after {
	-moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;
}


/* =Structure
----------------------------------------------- */
body {
	padding: 0;
	font-size: 100%;	/* 16px */
	font-feature-settings: "palt" 1;
	-webkit-text-size-adjust: 100%;
}
#page {
	background: #fff;
}
#primary {
	margin: 0;
}
#content {
	margin: 0;
}
#secondary {
}

/* Alignment */
.alignleft {
	float: left;
	margin-right: 1.625em;
	 /* display: inline; */
}
.alignright {
	float: right;
	margin-left: 1.625em;
	 /* display: inline; */
}
.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}


/* =Global
----------------------------------------------- */
body, input, textarea {
	color: #3e3e3e;
	font-family: "Noto Sans JP", sans-serif;
	line-height: 2.222;	/* 40px @ 18px */
}
input, textarea, select {
	font-size: 100%;
}
.oswald {
	font-family: Oswald, sans-serif;
	font-weight: 600;
}
.fa_icon, .fa_arrow {
	font-family: FontAwesome;
}

/* Headings */
h1,h2,h3,h4,h5,h6 {
	clear: both;
}
hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
}

/* Text elements */
hr, p {
	margin-bottom: 16px;
}
strong, .strong  {
	font-weight: bold;
}
cite, em, i {
	font-style: italic;
}
blockquote {
	font-family: Georgia, "Bitstream Charter", serif;
	font-style: italic;
	font-weight: normal;
	margin: 0 3em;
}
blockquote em, blockquote i, blockquote cite {
	font-style: normal;
}
blockquote cite {
	color: #666;
	font: 12px "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-weight: 300;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}
pre {
	background: #f4f4f4;
	font: 13px "Courier 10 Pitch", Courier, monospace;
	line-height: 1.5;
	margin-bottom: 1.625em;
	overflow: auto;
	padding: 0.75em 1.625em;
}
code, kbd, samp, var {
	font: 13px Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}
abbr, acronym, dfn {
	border-bottom: 1px dotted #666;
	cursor: help;
}
address {
	display: block;
	margin: 0 0 1.625em;
}
ins {
	background: #fff9c0;
	text-decoration: none;
}
sup,
sub {
	font-size: 10px;
	height: 0;
	line-height: 1;
	position: relative;
	vertical-align: baseline;
}
sup {
	bottom: 1ex;
}
sub {
	top: .5ex;
}
small {
	font-size: smaller;
}

/* Table */
table {/* tables still need 'cellspacing="0"' in the markup */
	border-collapse: collapse;
	border-spacing: 0;
	margin-bottom: 16px;
}
tbody {
	vertical-align: top;
}

/* List */
ul {
	list-style: none;
}
ul, ol {
	margin: 0 0 16px 22px;
}
ul {
	list-style: square;
}
ol {
	list-style-type: decimal;
}
ol ol {
	list-style: upper-alpha;
}
ol ol ol {
	list-style: lower-roman;
}
ol ol ol ol {
	list-style: lower-alpha;
}
ul ul, ol ol, ul ol, ol ul {
	margin-bottom: 0;
}

/* Data list */
dl {
	margin: 0 0 1.625em;
}
dt {
	font-weight: bold;
}
dd {
	margin-bottom: 1.625em;
}

/* Forms */
input[type=text],
input[type=password],
input[type=email],
input[type=url],
input[type=number],
textarea {
	background: white;
	box-shadow: none;
	border: 1px solid #ddd;
}
textarea {
	padding-left: 3px;
	width: 98%;
}
input[type=text],
input[type=password],
input[type=email],
input[type=url],
input[type=number] {
	padding: 3px;
}
input[type=submit],
input[type=image],
input[type=button],
button {
	cursor: pointer;
}
form :-ms-input-placeholder { color: #aaaaaa; }	/* IE 10+ */
form ::-webkit-input-placeholder { color: #aaaaaa; }	/* Google Chrome, Safari, Opera 15+, Android, iOS */
form :-moz-placeholder { color: #aaaaaa; opacity: 1; }	/* Firefox 18- */
form ::-moz-placeholder { color: #aaaaaa; opacity: 1; }	/* Firefox 19+ */
form :placeholder-shown { color: #aaaaaa; }

/* Links */
a {
	color: #1982d1;
	text-decoration: none;
}
/* a:focus, a:active, */
a.current,
a:hover {
	text-decoration: underline;
}

/* Assistive text */
.assistive-text {
	position: absolute !important;
	clip: rect(1px, 1px, 1px, 1px);
}
#access a.assistive-text:active,
#access a.assistive-text:focus {
	background: #eee;
	border-bottom: 1px solid #ddd;
	color: #1982d1;
	clip: auto !important;
	font-size: 12px;
	position: absolute;
	text-decoration: underline;
	top: 0;
	left: 7.6%;
}


/* =Header
----------------------------------------------- */
#branding {
	position: relative;
	z-index: 9999;
/*	height: 150px; */
	border-top: solid 3px #d70c18;
}
#masthead {
/*	height: 150px; */
	overflow: hidden;
	height: 77px;		/* KAZ: was 80px */
	margin: 0 auto;
}
#masthead h1#headlogo {
	float: left;
	padding-top: 5px;
	color: #d70c18;
}
#headsocial {
	float: right;
}
#headsocial a.facebook, #headsocial a.twitter {
	width: 30px;
	height: 30px;
	margin-left: 15px;
}
#headsocial a.facebook img, #headsocial a.twitter img {
	max-width: 100%;
}

/* =Menu
-------------------------------------------------------------- */


/* =Content
----------------------------------------------- */
#topmain {
	clear: both;
	overflow: hidden;
	position: relative;
}
#main {	/* 作業ページ用 */
	background-color: #edf3f4;
}
#mainwall {
		/* Mat c/o for slide show buttons like http://kobabo-s.com  overflow: hidden; */
	margin: 0 auto;
}
.hentry,
.no-results {
	position: relative;
}
.hentry:last-child,
.no-results {
	border-bottom: none;
}
.blog .sticky .entry-header .entry-meta {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
}
.entry-title {
	clear: both;
	font-size: 25px;
	font-weight: bold;
	line-height: 54px;
}
.entry-title a {
	color: inherit;
	text-decoration: none;
}
.entry-title a:hover {
	color: inherit;
	text-decoration: underline;
}
.entry-title img {
	vertical-align: middle;
}
.entry-title-top {
	display: none;
}
.entry-meta {
	color: #666;
	clear: both;
	font-size: 12px;
	line-height: 18px;
}
.entry-meta a {
	font-weight: bold;
}
.single-author .entry-meta .by-author {
	display: none;
}
.entry-content,
.entry-summary {
/*	margin-bottom: 20px; */
}
.entry-content h1, .entry-content h2 {
	margin: 0 0 20px;
}
.entry-content h1 {
	font-size: 28px;
	height: 50px;
	line-height: 50px;
}
.entry-content h2 {
	font-weight: bold;
}
.entry-content h3 {
	font-size: 122%;
	font-weight: bold;
	min-height: 24px;
	line-height: 1.41;
	margin: 0 0 12px;
}
.entry-content h4 {
	font-weight: bold;
	min-height: 20px;
	line-height: 1.43;
	margin: 0 0 12px;
}
.entry-content #s {
	width: 75%;
}
.entry-content p, .entry-content li {	/* to avoid Android's bug, see wordpress\todo.txt in MTL */
	background-color: rgba(255,255,255,0.01);
}
 	/* -- Mat copied from the original twentyeleven .css after pointed out by Viex and talking with kaz 2021.1 */
.entry-content table {
	border-bottom: 1px solid #ddd;
	width: 100%;
}
.entry-content td {
	border-top: 1px solid #ddd;
	padding: 6px 10px 6px 0;
}
dl.gallery-item {
	margin: 0;
}
.page-link {
	clear: both;
	display: block;
	margin: 0 0 1.625em;
}
.page-link a {
	background: #eee;
	color: #373737;
	margin: 0;
	padding: 2px 3px;
	text-decoration: none;
}
.page-link a:hover {
	background: #888;
	color: #fff;
	font-weight: bold;
}
.page-link span {
	margin-right: 6px;
}
.entry-meta .edit-link a
{
	background: #eee;
	-moz-border-radius: 3px;
	border-radius: 3px;
	color: #666;
	float: right;
	font-size: 12px;
	line-height: 1.5em;
	font-weight: 300;
	text-decoration: none;
	padding: 0 8px;
}
.entry-meta .edit-link a:hover
{
	background: #888;
	color: #fff;
}
.entry-content .edit-link {
	clear: both;
	display: block;
}
#searchform .screen-reader-text {
	display: none;
}

/* Gutenberg blocks */
/* Counter-styles against /wp-includes/css/dist/block-library/style.min.css */
.entry-content figure {
	margin-bottom: 45px;
}
.entry-content .wp-block-image {
	line-height: 0;
}
.entry-content .wp-block-image .alignleft {
	margin-right: 40px;
}
.entry-content .wp-block-image .alignright {
	margin-left: 40px;
}
.entry-content .wp-block-image figcaption {
	line-height: 1.5;
	color: inherit;
	font-size: 100%;
}

/* Images */
.entry-content img {
	max-width: 100%;
	height: auto;
}
p img,
.wp-caption {
	margin-top: 0.4em;
}
.wp-caption {
	max-width: 96%;
	background: #eee;
	margin-bottom: 1em;
	padding: 5px 0;
}
.wp-caption img {
	display: block;
	margin: 0 auto;
	max-width: 98%;
}
.wp-caption img[class*='wp-image-'] {	/* MTL: added against img[class*='wp-image-'] */
	border: 0;
	padding: 0;
}
.wp-caption .wp-caption-text,
.gallery-caption {
	color: #666;
	font-size: 12px;
}
.wp-caption .wp-caption-text {
	margin-bottom: 1px;
	padding: 2px 0 0 5px;
	position: relative;
	background: transparent;
	text-align: center;
}
#content .gallery {
	margin: 0 auto 1.625em;
}
#content .gallery a img {
	border: none;
}
img#wpstats {
	display: block;
	margin: 0 auto 1.625em;
}
#content .gallery-columns-4 .gallery-item {
	width: 23%;
	padding-right: 2%;
}
#content .gallery-columns-4 .gallery-item img {
	width: 100%;
	height: auto;
}

/* Make sure embeds and iframes fit their containers */
embed,
iframe,
object {
	max-width: 100%;
}


/* =error404
----------------------------------------------- */
.error404 #primary #searchform {
	background: #f9f9f9;
	border: 1px solid #ddd;
	overflow: hidden;
	margin: 0 0 25px;
}
.error404 #primary #s {
	width: 95%;
}
.error404 #primary .widget {
	clear: none;
	float: left;
	width: 45%;
}
.error404 #primary .widget_archive {
	clear: both;
}


/* =Footer
----------------------------------------------- */
#ft_nav_top {
	display: none;
	position: fixed;
	bottom: 20px;
	right: 50%;
	z-index: 9000;
	margin: 0 -600px 0 0;
	opacity: 0;
}
#ft_nav_top a {
}
#ft_nav_top a img {
}
#colophon {
	clear: both;
	overflow: hidden;
/*	text-align: center; */
/*	height: 60px; */
	color: white;
	background-color: #d70c18;
}
#footer_title {
	font-size: 187.5%;	/* 30px */
	font-weight: bold;
	text-align: center;
}
#ft_links {
	overflow: hidden;
/*	height: 30px; */
	padding: 25px 0 30px;
	margin: 0 auto;
}
#ft_links a {
	color: inherit;
}
#ft_links #ft_add {
	line-height: 1.5;
}
#ft_links #ft_add .add_ttl {
	font-size: 112.5%;	/* 18px */
	font-weight: bold;
}
#ft_links #ft_add2 {
	line-height: 1;
}
#ft_links #ft_add2 .kakomi {
	font-size: 150%;	/* 24px */
	color: #d70c18;
	background-color: white;
	border-radius: 4px;
	padding: 0 5px;
	line-height: 32px;
	margin-right: 11px;
}
#ft_links #ft_add2 .ft_fax .kakomi {
	letter-spacing: -0.05em;
}
#ft_links .ft_tel {
	margin-bottom: 12px;
}
#ft_links #ft_add2 .tel_no {
	font-size: 225%;	/* 36px */
}
#ft_links #ft_add2 .tel_no a:hover {
	text-decoration: none;	/* KAZ */
}
#ft_links #ft_add2 .fax_no {
	font-size: 112.5%;	/* 18px */
}
#ft_links #ft_contact {
	text-align: center;
}
#ft_links #ft_contact .linkbtn a {
	display: inline-block;
	width: 300px;
	font-size: 112.5%;	/* 18px */
	font-weight: bold;
	text-align: center;
	line-height: 75px;
	border: solid 2px white;
	border-radius: 10px;
	position: relative;
}
#ft_links #ft_contact .linkbtn a:hover {
	text-decoration: none;	/* KAZ */
}
#ft_links #ft_contact .linkbtn a::after {
	content: "→";
	display: inline-block;
	font-weight: normal;
	position: absolute;
	right: 20px;
}

#ft_copyright {
	line-height: 30px;
	height: 30px;
	font-size: 62.5%;	/* 10px */
	text-align: center;
	line-height: 30px;
	background-color: #960000;
}


/* Common entries
-------------------------------------------------------------- */
.left {
	text-align: left;
	display: block;	/* Mat added these. If you use these for table, list, etc. and can't cover by the following td.right .., please override these invidually. */
}
.center {
	text-align: center;
	display: block;
}
.right {
	text-align: right;
	display: block;
}
td.right, th.right, td.center, th.center, td.left, th.left {
	display: table-cell;
}
li.right, li.right, li.center {
	display: list-item
}
.middle {
	vertical-align: middle;
}
.imgonly {
	line-height: 0;
}
.imgonly a,
a.imgonly {
	display: inline-block;
}
.bold {
	font-weight: bold;
}
.clear {
	clear: both;
}
a.current img, .transbtn:hover, a:hover img {
	opacity: 0.75;
	filter: alpha(opacity=75);
}
.notransbtn:hover, a:hover img.notransbtn, #headlogo a:hover img, #ft_links a:hover img {
	opacity: 1;
	filter: none;
}
.ios .transbtn:hover {
/* iOS 8.4.1 で :hover に opacity が指定してあると 2 回タップしないとリンク先に飛ばない。script.js でユーザーエージェントを見て body に class="ios" を追加。 */
	opacity: 1;
	filter: none;
}
.nomargin {
	margin: 0 !important;
}
.topbottommargin {
	margin: 20px auto !important;
}
.topmargin {
	margin-top: 60px !important;
}
.topmarginbig {
	margin-top: 80px !important;
}
.notopmargin {
	margin-top: 0 !important;
}
.bottommargin {
	margin-bottom: 20px !important;
}
.bottommarginbig {
	margin-bottom: 60px !important;
}
.nobottommargin {
	margin-bottom: 0 !important;
}
.onlymarginright{
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	margin-left: 0 !important;
}
.onlymarginleft{
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	margin-right: 0 !important;
}
.nopadding {
	padding: 0 !important;
}
.noborder {
	border: 0px !important;
}
.border {
	border: 1px solid gray;
}
.noclear {
	clear: none !important;
}
.nobackground {
	background: transparent none !important;
}
section .wall, section .wall_narrow {
	margin: 0 auto;
}
h2.red {
	color: #d70c18;
	text-align: center;
}
h2.red::before, h2.red::after {
	content: "";
	display: inline-block;
	width: 30px;
	height: 2px;
	background-color: #b3b3b3;
	vertical-align: middle;
	margin: 0 25px;
}


/* Front Page Components
----------------------------------------------- */
#mainvisual img {
	width: 100%;
}
#mainmenu {
}
#mainmenu .item {
	width: calc(50% - 3px);
	text-align: center;
	position: relative;
}
#mainmenu .item:first-child {
	float: left;
}
#mainmenu .item:last-child {
	margin-left: calc(50% + 3px);
}
#mainmenu .item a,
#mainmenu .item a > span {
	display: block;
}
#mainmenu .item a {
	background-color: #d70c18;
	color: white;
}
#mainmenu .item a:hover {
	text-decoration: none;
}
#mainmenu .item a .term {
}
#mainmenu .item a .title::after {
	content: "\f107";
	display: block;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	color: #d70c18;
	line-height: 36px;
	background-color: rgba(255,255,255,0.8);
	font-family: FontAwesome;
	position: absolute;
	left: 50%;
	transform: translatex(-50%);
	bottom: 20px;
}
#greetings {
	text-align: justify;	/* MTL Mat 2021.10 added */
	text-justify: inter-ideograph;
}
#greetings p#last {
	padding-bottom: 0;
}
#greetings .name {	/* KAZ: was #name */
	color: #d70c18;
	font-weight: bold;
	text-align: right;
}
#profile {
	background-color: #d70c18;
	padding-bottom: 100px;
}
#profile h2 {
	color: white;
	text-align: center;
	background: url(/images/profle_bg.png)no-repeat top center / 500px auto;
	padding-top: 8px;
}
#profile h2::before, #profile h2::after {
	content: "";
	display: inline-block;
	vertical-align: middle;
	width: 20px;
	height: 1px;
	background-color: rgba(255,255,255,0.8);
	margin: 0 15px;
}
#profile .wrap {
	padding-top: 10px;
}
#profile .imgonly img {
	max-width: 100%;
}
#profile .descr {
	color: white;
}
#profile .descr #name {
	font-weight: bold;
	line-height: 1;
}
#profile .descr #history2 {
	font-size: 87.5%;	/* 14px */
	line-height: 1.85;
}
#policy {
	background-color: #edf3f4;
}
#policy .wall {
}
#policy h2 {
	margin-bottom: 0;
}
#policy .catchline {
	text-align: center;
}
#policy .subpolicy {
	margin-bottom: 80px;
}
#policy .subpolicy .header {
	background-color: #d70c18;
	border-radius: 10px;
	background-repeat: no-repeat;
}
#policy .subpolicy#shortterm_policy .header {
	background-image: url(/images/policy_bg1.png);
	background-position: bottom -65px right;
}
#policy .subpolicy#longterm_policy .header {
	background-image: url(/images/policy_bg2.png);
	background-position: bottom -85px  left -215px;
}
#policy .subpolicy .header .btn_line {
	background: url(/images/policy_btn_line_bg.svg) no-repeat center bottom;
	text-align: center;
}
#policy .subpolicy a.expand_btn_wrapper {	/* MTL Mat */
	display: block;
}
#policy .subpolicy .header .btn_line .expand_btn {	/* MTL Mat was a.expand_btn (below all) */
	background-color: rgba(255,255,255,0.8);
	border-radius: 50%;
	display: inline-block;
	color: #d70c18;
	transform-origin: center;
	transition: transform 0.3s;
}
#policy .subpolicy.expanded .header .btn_line .expand_btn {
	transform: rotate(180deg);
}
#policy .subpolicy /* MTL Mat.header .btn_line a */.expand_btn_wrapper:hover {
	text-decoration: none;
}
#policy .subpolicy .header .term {
	color: white;
	background-color: #bd9e0e;
	font-weight: bold;
	text-align: center;
	position: relative;
}
#policy .subpolicy#shortterm_policy .header .term::after,
#policy .subpolicy#longterm_policy .header .term::before {
	content: "";
	position: absolute;
	bottom: 0;
	right: -40px;
	border-bottom: solid 46px #bd9e0e;
	border-right: solid 40px transparent;
}
#policy .subpolicy#longterm_policy .header .term::before {
	border-left: solid 40px transparent;
	right: auto;
	left: -40px;
}
#policy .subpolicy .header h3 {
	color: white;
	text-shadow: 1px 1px 3px #d60c18, -1px 1px 3px #d60c18, 1px -1px 3px #d60c18, -1px -1px 3px #d60c18;
}
#policy .subpolicy#longterm_policy .header h3 {
	text-align: right;
}
#policy .subpolicy .content,
#policy .subpolicy .popup_wrapper {
	display: none;
}
#policy .subpolicy .content {
	background-color: white;
}
#policy .subpolicy .content .headline {
	text-align: center;
	padding-bottom: 38px;
}
#policy .subpolicy .content .headline .first {
	color: #d70c18;
	font-weight: bold;
	line-height: 1;
}
#policy .subpolicy .content .descr {
	font-weight: bold;
	border-top: solid 1px #d70c18;
}
#policy .subpolicy .content ul.policy_menu {
	margin: 0 auto;
}
#policy .subpolicy .content ul.policy_menu li {
	list-style-type: none;
}
#policy .subpolicy .content ul.policy_menu li a,
.popup h4 {
	background-color: #d70c18;
	position: relative;
	color: white;
	font-weight: 700;
	text-align: center;
}
#policy .subpolicy .content ul.policy_menu li a {
	display: block;
}
#policy .subpolicy .content ul.policy_menu li a:hover {
	text-decoration: none;
}
#policy .subpolicy .content ul.policy_menu li a img.icon,
#policy .subpolicy .content ul.policy_menu li a::after,
.popup h4 img.icon {
	position: absolute;
}
#policy .subpolicy .content ul.policy_menu li a img.icon {
}
#policy .subpolicy .content ul.policy_menu li a::after {
	display: inline-block;
	top: 0;
	font-weight: normal;
	content: '→';
}
div.fancybox-bg {
	background-color: rgba(0,0,0,0.3) !important;
}
.popup {
	background: transparent !important;
	padding: 5px !important;
}
.fancybox-slide--html .popup .fancybox-close-small {
	padding: 0;
	color: #d70c18;
	opacity: 1;
}
.popup .popup_inner {
	background-color: white;
	overflow: hidden;
	text-align: justify;	/* MTL Mat 2021.10 added */
	text-justify: inter-ideograph;

}
.popup .popup_inner h4 {
}
.popup .popup_inner h4 img.icon {
}
.popup .popup_inner .content {
}
.popup .popup_inner .content .summary {
	font-weight: 700;	/* KAZ: ChkHTML */
}
.popup .popup_inner .content ul.details {
	margin: 0;
}
.popup .popup_inner .content .summary + ul.details {
	border-top: #d70c18 1px solid;
}
.popup .popup_inner .content ul.details li {
	list-style-type: none;
}
.popup .popup_inner .content ul.details li:not(:last-child) {
	margin-bottom: 2.22em;
}
.popup .popup_inner .content ul.details li span.number {
	display: inline-block;
	color: #d70c18;
	vertical-align: middle;
}
.popup .popup_inner .content .btn_line {
	margin-top: 16px;	/* KAZ: ChkHTML */
	text-align: right;
}
.popup .popup_inner .content .btn_line a.close_btn {
	border: #d70c18 1px solid;
	display: inline-block;
	color: #d70c18;
	text-align: center;
}
.popup .popup_inner .content .btn_line a.close_btn:hover {
	text-decoration: none;
}
#support ul {
	list-style: none;
}
#support ul > li {
/*	background-color: #d70c18;
 *	border-radius: 10px;
 *	position:relative;
 *	color: white;
 */	/* KAZ: ChkHTML: moved */
	font-weight: bold;
	text-align: center;
}
#support ul > li a {
	background-color: #d70c18;	/* KAZ: ChkHTML: moved */
	border-radius: 10px;	/* KAZ: ChkHTML: moved */
	display: block;
	position: relative;	/* KAZ: ChkHTML: moved */
	color: white;		/* KAZ: ChkHTML: was inherit */
}
#support ul > li a:hover {
	text-decoration: none;
	opacity: 0.75;
}
#support ul > li a::before {	/* KAZ: ChkHTML: was li::before */
	position: absolute;
	top: -20px;
	left: 50%;
	transform: translatex( -50% );
}
#support ul > li#contact a::before {	/* KAZ: ChkHTML: was li::before */
	content: url(/images/support_icon1.png);
}
#support ul > li#request a::before {	/* KAZ: ChkHTML: was li::before */
	content: url(/images/support_icon2.png);
}
#support ul > li a::after {	/* KAZ: ChkHTML: was li::after */
	content: "→";
	font-size: 123.3%;
	font-weight: normal;
	line-height: 1;
	display: block;
	color: rgba(255,255,255,0.8);
	position: absolute;
	bottom: 40px;
	left: 50%;
	transform: translatex( -50% );
}
#social_media {
	background-color: #edf3f4;
}
#social_media h2 {
	color: #d70c18;
	font-weight: bold;
	text-align: center;
}
#social_media h2::before, #social_media h2::after {
	content: "";
	display: inline-block;
	vertical-align: middle;
	width: 20px;
	height: 1px;
	background-color: #b3b3b3;
	margin: 0 15px;
}
#social_media .links {
	overflow: hidden;
	text-align: center;
	display: flex;
	justify-content: center;
	padding: 7px 0 82px;
}
#social_media .links  a {
	font-size: 87.5%;	/* 14px */
}
#social_media .links  a img {
	width: 70px;
	height: auto;
}
#social_media .links a.facebook {
	color: #1877e6;
	margin-right: 60px;
}
#social_media .links a.twitter {
	color: #1da1f2;
}
#social_media .facebook h3 {
	color: #1877e6;
}
#social_media .twitter h3 {
	color: #1da1f2;
}

/* =Responsive
----------------------------------------------- */
@media screen and (min-width: 783px) {
}

@media screen and (max-width: 782px) {
}


/* General breakpoint for PC */
@media print, screen and (min-width: 768px) {
	.sponly {
		display: none !important;
	}

	/* Structure */
	body {
		min-width: 1160px;	/* 10.2021 Aki was 1100px */
	}
	section .wall, #ft_links {
		width: 1000px;
	}
	section .wall_narrow {
		width: 640px;
	}
	h2.red {
		font-size: 300%;	/* 48px */
	}

	/* Global */

	/* Header */
	#masthead h1#headlogo {
		padding-left: 30px;
		font-size: 162.5%;	/* 26px */
	}
	#masthead h1#headlogo small {
		font-size: 69.2%;	/* 18px */
	}
	#headsocial {
		padding-top: 20px;
		padding-right: 30px;
	}

	/* Footer */
	#ft_links #ft_add, #ft_links #ft_add2 {
		float: left;
		padding-right: 25px;
	}
	#ft_links #ft_add2 {
		padding-left: 25px;
		border-left: solid 1px #e3555d;
		border-right: solid 1px #e3555d;
		margin-right: 30px;
	}
	#ft_links #ft_contact .linkbtn a:hover {
		background-color: rgba(255,255,255,0.25);	/* KAZ */
	}

	/* Front Page Components */
	#mainvisual {
		margin-bottom: 7px;
	}
	#mainmenu .item a {
		border-top: #bd9e0e 20px solid;
	}
	#mainmenu .item a:hover {
		opacity: 0.75;
	}
	#mainmenu .item a .term {
		background: url(/images/mainmenu_term_bg.png) no-repeat center top;
		height: 55px;
		margin-top: -20px;
		line-height: 2.2;	/* 44px */
		font-size: 125%;	/* 20px */
	}
	#mainmenu .item a .title {
		font-size: 200%;	/* 32px */
		font-weight: bold;
		line-height: 1.37;
		padding: 10px 0 60px;
	}
	#mapwithpr {	/* MTL Mat */
		display: block;
		margin-top: 100px;
	}
	#greetings {
		background: url(/images/greetings_bg.png) no-repeat left calc(50% - 439px) top 50px;
		padding: 65px 0 50px;
	}
	#greetings .name {	/* KAZ: was #name */
		font-size: 187.5%;	/* 30px */
	}
	#greetings p {
		font-size: 112.5%;	/* 18px*/
		padding-bottom: 27px;
	}
	#profile {
		overflow: hidden;
	}
	#profile h2 {
		font-size: 187.5%;	/* 30px */
		height: 120px;
	}
	#profile .imgonly {
		width: 480px;
		height: auto;
		float: left;
		margin-right: 40px;
	}
	#profile .descr #name {
		font-size: 187.5%;	/* 30px */
		font-weight: bold;
		line-height: 1;
	}
	#profile .descr #name_sub {
	
	}
	#profile .descr #history {
		font-size: 125%;	/* 20px */
		padding: 1.3em 0;
	}
	#policy {
	}
	#policy .wall {
		padding: 74px 0 20px;	/* KAZ: top was 65px */
	}
	#policy h2 {
		line-height: 2;		/* 96px; KAZ */
	}
	#policy .catchline {
		margin-bottom: 20px;	/* KAZ */
	}
	#policy .subpolicy#shortterm_policy {
/*		margin-top: 55px; */
	}
	#policy .subpolicy .header {
		border-bottom: #960000 30px solid;
		padding-top: 25px;
	}
	#policy .subpolicy#longterm_policy .header {
		padding-top: 50px;
	}
	#policy .subpolicy .header .btn_line {
		height: 75px;
		margin-bottom: -30px;
		padding-top: 16px;
	}
	#policy .subpolicy .header .btn_line .expand_btn {
		width: 46px;
		height: 46px;
		line-height: 46px;
		font-size: 42px;	/* FIXED */
	}
	#policy .subpolicy .header .term {
		font-size: 150%;	/* 24px */
		line-height: 46px;
		width: 20%;
	}
	#policy .subpolicy#longterm_policy .header .term {
		margin-left: 80%;
	}
	#policy .subpolicy .header h3 {
		font-size: 250%;	/* 40px */
	}
	#policy .subpolicy#shortterm_policy .header h3 {
		padding: 13px 0 0 60px;
	}
	#policy .subpolicy#longterm_policy .header h3 {
		padding: 13px 60px 26px 0;
	}
	#policy .subpolicy .content {
		padding: 50px 140px;
	}
	#policy .subpolicy .content .headline .first {
		font-size:225%;	/* 36px */
	}
	#policy .subpolicy .content .headline .second {
		font-size: 150%;	/* 24px */
	}
	#policy .subpolicy .content .descr {
		padding: 25px 0 0;
		font-size: 112.5%;	/* 18px */
	}
	#policy .subpolicy .content .descr p {
		margin-bottom: 2.22em;	/* KAZ: ChkHTML */
/*		padding-bottom: 30px; */
	}
	#policy .subpolicy .content .descr p.second {
/*		padding-bottom: 23px; */
	}
	#policy .subpolicy .content ul.policy_menu {
		width: 640px;
	}
	#policy .subpolicy .content ul.policy_menu li {
		margin-bottom: 30px;
	}
	#policy .subpolicy .content ul.policy_menu li a {
		border-radius: 10px;
		height: 100px;
		line-height: 100px;
		font-size: 162.5%;	/* 26px */
	}
	#policy .subpolicy .content ul.policy_menu li a.pc_two_liner {
		padding: 14px 0;
		line-height: 36px;
	}
	#policy .subpolicy .content ul.policy_menu li a:hover {
		opacity: 0.75;
	}
	#policy .subpolicy .content ul.policy_menu li a img.icon {
		width: 72px;
		top: 14px;
		left: 20px;
	}
	#policy .subpolicy .content ul.policy_menu li a::after {
		right: 34px;
		line-height: 100px;	/* for .pc_two_liner */
	}
	.popup {
		width: 1010px;
	}
	.fancybox-slide--html .popup .fancybox-close-small {
		width: 40px;
		height: 40px;
	}
	.popup .popup_inner {
		border-radius: 10px;
	}
	.popup .popup_inner h4 {
		height: 140px;
		line-height: 140px;
		font-size: 225%;	/* 36px */
	}
	.popup .popup_inner h4.pc_two_liner {
		padding: 20px 0;
		line-height: 50px;
	}
	.popup .popup_inner h4 img.icon {
		width: 90px;
		top: 25px;
		left: 30px;
	}
	.popup .popup_inner .content {
		padding: 29px 140px 40px;
		font-size: 112.5%;	/* 18px */
	}
	.popup .popup_inner .content .summary {
	}
	.popup .popup_inner .content ul.details {
	}
	.popup .popup_inner .content .summary + ul.details {
		margin-top: 28px;
		padding-top: 49px;
	}
	.popup .popup_inner .content ul.details li {
		padding-left: 40px;
	}
	.popup .popup_inner .content ul.details li span.number {
		min-width: 40px;
		margin-left: -40px;
		line-height: 1;
		font-size: 222.2%;	/* 40px */
	}
	.popup .popup_inner .content .btn_line {
	}
	.popup .popup_inner .content .btn_line a.close_btn {
		border-radius: 10px;
		width: 100px;
		line-height: 38px;
	}
	#support {
		padding: 70px 0 90px;
	}
	#support ul {
		display: flex;
		justify-content: space-between;
		padding-top: 25px;
	}
	#support ul > li {
		width: 48%;
		font-size: 187.5%;	/* 30px */
	}
	#support ul > li a {
		padding: 140px 0 75px;
	}
	#bookletpdf {	/* MTL Mat */
		display: block;
		margin-top: -25px;
		margin-bottom: 65px;
	}
	#social_media  {
		overflow: hidden;
		padding: 75px 0;
	}
	#social_media h2 {
		font-size: 187.5%;	/* 30px */
	}
	#social_media h3 {
		font-size: 187.5%;	/* 30px */
	}
	#social_media .facebook, #social_media .twitter {
		float: left;
	}
	#social_media .facebook {
		margin-right: 40px;
	}
	#social_media .twitter {
	
	}
}

/* General breakpoint for Tablet/SP */
@media screen and (max-width: 767px) {
	.pconly {
		display: none !important;
	}

	/* Structure */
	body {
		min-width: 320px;
		font-size: 16px;
	}
	section .wall, section .wall_narrow, #ft_links {
		width: 85.33%;
	}
	h2.red {
		font-size: 225%;	/* 36px */
	}
	h2.red::before, h2.red::after {
		width: 23px;
		height: 1px;
		margin: 0 15px;
	}

	/* Global */

	/* Header */
	#masthead {
		height: 60px;
	}
	#masthead h1#headlogo {
		padding-left: 10px;
		font-size: 131.3%;	/* 21px */
	}
	#masthead h1#headlogo small {
		font-size: 66.7%;	/* 14px */
	}
	#headsocial {
		padding-top: 15px;
		padding-right: 12px;
	}

	/* Menu */

	/* Footer */

	/* Front Page Components */
	#mainvisual {
		margin-bottom: 5px;
	}
	#mainmenu .item a {
		border-top: #bd9e0e 12px solid;
		min-height: 166px;
	}
	#mainmenu .item a .term {
		background: url(/images/sp/mainmenu_term_bg.png) no-repeat center top;
		height: 40px;
		line-height: 31px;
		margin-top: -12px;
	}
	#mainmenu .item a .title {
		font-size: 125%;	/* 20px */
		line-height: 1.3;
		padding-top: 5px;
	}
	#mainmenu .item.longterm a .title {
		padding-top: 14px;
	}
	#mainmenu .item a .title::after {
		width: 20px;
		height: 20px;
		line-height: 22px;
		bottom: 14px;
	}
	#mapwithpr {	/* MTL Mat */
		display: block;
		margin-top: 50px;
		margin-left: 7%;
		margin-right: 7%;
	}
	#greetings {
		background: url(/images/greetings_bg.png) no-repeat center bottom -535px;	/* 10.2021Aki bottom was -590px */
		padding: 26px 0 225px;
		padding-bottom: 280px;
	}
	#greetings p {
		line-height: 2.12;
	}
	#greetings .name {	/* KAZ: was #name */
		font-size: 168.8%;
	}
	#profile {
		background: url(/images/profle_bg.png)no-repeat top center / 100% auto #d70c18;
		padding-bottom: 45px;
	}
	#profile h2 {
		background: none;
		font-size: 150%;	/* 24px */
	}
	#profile .wrap {
		padding-top: 50px;
	}
	#profile .descr {
		padding-top: 30px;
	}
	#profile .descr #name {
		font-size: 175%;	/* 28px */
	}
	#profile .descr #name_sub {
		font-size: 87.5%;	/* 14px */
	}
	#profile .descr #history {
		font-size: 106.3%;	/* 17px */
		padding: 30px 0;
	}
	#policy {
	}
	#policy .wall {
		padding: 37px 0 50px;	/* KAZ: top was 25px */
	}
	#policy h2 {
		line-height: 1.556;	/* 56px; KAZ */
	}
	#policy .catchline {
		margin-bottom: 14px;	/* KAZ */
	}
	#policy .catchline img {
		width: 100%;
	}
	#policy .subpolicy {
		margin-bottom: 30px;
	}
	#policy .subpolicy#longterm_policy {
		margin-bottom: 0;
	}
	#policy .subpolicy .header {
		border-bottom: #960000 19px solid;
		background-size: auto 100%;
		padding-top: 10px;
	}
	#policy .subpolicy#shortterm_policy .header {
		background-position: bottom right -65px;
	}
	#policy .subpolicy#longterm_policy .header {
		background-size: 120%;
		background-position: bottom -30px left -180px;
		padding-top: 25px;
	}
	#policy .subpolicy .header .term {
		width: 28%;
		font-size: 106.3%;
		font-weight: bold;
		line-height: 29px;
	}
	#policy .subpolicy#longterm_policy .header .term {
		margin-left: 72%;
	}
	#policy .subpolicy#shortterm_policy .header .term::after, #policy .subpolicy#longterm_policy .header .term::before {
		right: -25px;
		border-bottom: solid 29px #bd9e0e;
		border-right: solid 25px transparent;
	}
	#policy .subpolicy#longterm_policy .header .term::before {
		left: -25px;
		right: auto;
		border-left: solid 25px transparent;
	}
	#policy .subpolicy h3 {
		font-size: 162.5%;	/* 26px */
		line-height: 1.15;
	}
	#policy .subpolicy#shortterm_policy .header h3 {
		padding: 10px 0 0 15px;
	}
	#policy .subpolicy#longterm_policy .header h3 {
		padding: 10px 15px 15px 0;
	}
	#policy .subpolicy .content .headline {
		padding-bottom: 21px;	/* KAZ: ChkHTML: was 25px */
	}
	#policy .subpolicy .content .headline .first {
		font-size: 162.5%;	/* 26px */
		line-height: 1.3;
	}
	#policy .subpolicy#longterm_policy .content .headline .first {
		margin: 0 -0.5em;	/* KAZ: ChkHTML: for 360px Android */
	}
	#policy .subpolicy .header .btn_line {
		background-size: 100px 50px;
		height: 50px;
		margin-bottom: -19px;
		padding-top: 11px;
	}
	#policy .subpolicy .header .btn_line .expand_btn {
		width: 30px;
		height: 30px;
		line-height: 30px;
		font-size: 28px;	/* FIXED */
	}
	#policy .subpolicy .content {
		padding: 26px 6.25% 35px;
	}
	#policy .subpolicy .content .descr {
		padding-top: 19px;	/* KAZ: ChkHTML */
	}
	#policy .subpolicy .content .descr p {
		margin-bottom: 34px;
		line-height: 2.125;	/* 34px; KAZ: ChkHTML */
	}
	#policy .subpolicy .content .descr p.second {
	}
	#policy .subpolicy .content ul.policy_menu {
		max-width: 280px;
	}
	#policy .subpolicy .content ul.policy_menu li {
		margin-bottom: 15px;
	}
	#policy .subpolicy .content ul.policy_menu li a {
		border-radius: 7px;
		height: 72px;
		line-height: 72px;
		font-size: 17px;
	}
	#policy .subpolicy .content ul.policy_menu li a.sp_two_liner {
		padding: 16px 0;
		line-height: 20px;
	}
	#policy .subpolicy .content ul.policy_menu li a.sp_three_liner {
		padding: 6px 0;
		line-height: 20px;
		font-size: 16px;
	}
	#policy .subpolicy .content ul.policy_menu li a img.icon {
		width: 50px;
		top: 11px;
		left: 10px;
	}
	#policy .subpolicy .content ul.policy_menu li a::after {
		right: 17px;
		line-height: 72px;	/* for .sp_two_liner and .sp_three_liner */
	}
	.popup {
		width: calc(85.34% + 10px);
	}
	.fancybox-slide--html .popup .fancybox-close-small {
		width: 36px;
		height: 36px;
	}
	.popup .popup_inner {
		border-radius: 7px;
	}
	.popup .popup_inner h4 {
		height: 140px;
		padding-top: 60px;
		line-height: 80px;
		font-size: 22px;
	}
	.popup .popup_inner h4.sp_two_liner {
		padding: 68px 0 8px;
		line-height: 32px;
	}
	.popup .popup_inner h4.sp_three_liner {
		padding: 64px 0 4px;
		line-height: 24px;
	}
	.popup .popup_inner h4 img.icon {
		width: 50px;
		top: 11px;
		left: calc(50% - 25px);
	}
	.popup .popup_inner .content {
		padding: 26px 6.25% 30px;
		line-height: 34px;
	}
	.popup .popup_inner .content .summary {
	}
	.popup .popup_inner .content ul.details {
	}
	.popup .popup_inner .content .summary + ul.details {
		margin-top: 26px;
		padding-top: 26px;
	}
	.popup .popup_inner .content ul.details li {
		padding-left: 36px;
	}
	.popup .popup_inner .content ul.details li span.number {
		min-width: 36px;
		margin-left: -36px;
		line-height: 28px;
		font-size: 36px;
		transform: translateY(3px);
	}
	.popup .popup_inner .content .btn_line {
	}
	.popup .popup_inner .content .btn_line a.close_btn {
		border-radius: 9px;
		width: 90px;
		line-height: 34px;
	}
	#support {
		padding: 45px 0;
	}
	#support h2.red {
		line-height: 1.27;
		position: relative;
	}
	#support h2.red .inner {
	}
	#support h2.red::before, #support h2.red::after {
		position: absolute;
		top: 50%;
		left: calc(50% - 150px);
	}
	#support h2.red::after {
		right: calc(50% - 150px);
		left: auto;
	}
	#support ul {
		margin: 55px 0 0;
	}
	#support ul > li#contact {
		margin-bottom: 30px;
	}
	#support ul > li a {
		font-size: 125%;	/* 20px */
		padding: 92px 0 50px;
	}
	#support ul > li a::before {	/* KAZ: ChkHTML: was li::before */
		top: -10px;
	}
	#support ul > li#contact a::before {	/* KAZ: ChkHTML: was li::before */
		content: url(/images/sp/support_icon1.png);
	}
	#support ul > li#request a::before {	/* KAZ: ChkHTML: was li::before */
		content: url(/images/sp/support_icon2.png);
	}
	#support ul > li a::after {	/* KAZ: ChkHTML: was li::after */
		font-size: 150%;	/* 24px */
		bottom: 25px;
	}
	#bookletpdf {	/* MTL Mat */
		display: block;
		margin: -42px 7% 15px;
	}
	#social_media {
		padding: 45px 0 25px;
	}
	#social_media h2 {
		position: relative;
		font-size: 150%;	/* 24px */
		line-height: 1.25;
	}
	#social_media h2::before, #social_media h2::after {
		position: absolute;
		top: 50%;
		width: 15px;
		left: calc(50% - 130px);
	}
	#social_media h2::after {
		right: calc( 50% - 130px);
		left: auto;
	}
	#social_media .links a img {
		width: 62px;
		height: auto;
	}
	#social_media .links {
		padding: 16px 0 25px;
	}
	#social_media .links a.facebook {
		margin-right: 50px;
	}
	#social_media h3 {
		font-size: 162.5%;	/* 26px */
	}
	#ft_links {
		padding: 30px 0;
	}
	#ft_links #ft_add {
	
	}
	#ft_links #ft_add2 {
		border-top: solid 1px #e3555d;
		border-bottom: solid 1px #e3555d;
		padding: 20px 0;
		margin: 20px 0;
	}
}


/* =Print
----------------------------------------------- */
@media print {
	body {
		width: 1160px;	/* 10.2021 Aki was 1100px */
	}
	.entry-meta .edit-link a {
		display: none;
	}

}
