/*
Description: Style common to PC & Smartphone for A New Site
Note: CSS variable definitions are also included in this file
*/

/* Variables	JUL-2022 KAZ
----------------------------------------------- */
:root {
	/* Dimensions */
/*	--pagewidth: calc(100vw - 17px); */	/* 2024.11 KAZ: was - 16px; 2024.7 KAZ: added */
/*	--viewheight: 100vh; */

	/* Colors */
}
@media screen and (min-width: 783px) {	/* WP Admin Bar */
	:root {
		/* Dimensions */
		--wp-admin-bar-height: 32px;
	}
}
@media screen and (max-width: 782px) {	/* WP Admin Bar */
	:root {
		/* Dimensions */
		--wp-admin-bar-height: 46px;
	}
}
@media print {	/* WP Admin Bar */
	:root {
		/* Dimensions */
		--wp-admin-bar-height: 0px;
	}
}


/* =Structure
----------------------------------------------- */
body {
/*	padding: 0; */
/*	min-width: 970px; */	/* MTL: This should be equal to the width of content areas such as #masthead and #mainwall if the content areas should have no paddings or margins or a little wider if a margin is required between browser and the text in the content. */
/*	font-size: 100%; */
	-webkit-text-size-adjust: none;	/* KAZ: was 100% */
	text-size-adjust: none;	/* KAZ */
}
#page {
	background: #fff;
}
#primary {
/*	float: left; */
/*	margin: 0; */
/*	width: 684px; */	/* Width of main area */
}
#primary.nosidebar {
	float: none;
	margin: 0 auto;
	width: 100%;
}
#content {
	margin: 0;
}
#secondary {
	float: right;
/*	width: 261px; */	/* width of sidebar, if no margin between the sidebar and the main area, this can be commented out (MAT) */
}

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


/* 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 {
 *	text-decoration: underline;
 *}
 *@media (any-hover: hover) { 
 *	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
----------------------------------------------- */
#breadcrumbs {
/*	font-size: 0.75rem;	/* 12px */
	font-size: 15px;
	display: flex;
	flex-wrap: wrap;
/*	line-height: 1; Aki c/o */
	padding: 20px;
/*	margin: 12px auto 15px; Aki c/o */
}


/* =Content
----------------------------------------------- */
.page-title,
.entry-title {
	line-height: 1.5;	/* 42px */
	font-size: 1.75rem;	/* 28px */
	font-weight: bold;
}
.page-title a {
}
.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 {
}
.entry-title a {
/*	color: inherit; */
	text-decoration: none;	/* 2026.2 KAZ */
	display: block;	/* 2026.2 Aki */
}
@media (any-hover: hover) { 
	.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
{
	line-height: 1.5;	/* 42px */
	font-size: 1.75rem;	/* 28px */
}
.entry-content h2
{
	line-height: 1.6667;	/* 40px */
	font-size: 1.5rem;	/* 24px */
	font-weight: bold;
}
.entry-content h3
{
	margin: 0 0 12px;
	line-height: 1.5;	/* 30px */
	font-size: 1.25rem;	/* 20px */
	font-weight: bold;
}
.entry-content h4
{
	margin: 0 0 12px;
	line-height: 1.5;	/* 24px */
	font-weight: bold;
}
.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 th,
.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;
}
@media (any-hover: hover) { 
	.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;
}
@media (any-hover: hover) { 
	.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 .entry-title {	/* MAY-2023 KAZ: added */
	padding: 200px 0;
	text-align: center;
}
.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;
}


/* =Navigation
-------------------------------------------------------------- */
#content nav {
	clear: both;
	overflow: hidden;
	padding: 0 0 1.625em;
}
#content nav a {
	color: inherit;
}
#nav-above {
	padding: 0 0 1.625em;
}
#nav-above {
	display: none;
}
.paged #nav-above {
	display: block;
}
.nav-previous {
	float: left;
	width: 50%;
}
.nav-next {
	float: right;
	text-align: right;
	width: 50%;
}
#content nav .meta-nav {
	font-weight: normal;
}

/* Singular navigation */
#content #nav-single {
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 0 60px;
	padding-top: 45px;
	padding-bottom: 40px;
}
#content #nav-single :is(.nav-previous, .nav-top, .nav-next) {
	display: inline-block;
	width: auto;
}
#content #nav-single :is(.nav-previous, .nav-top, .nav-next) a {
	display: inline-block;
}
#content #nav-single .nav-top a {
	color: white;
	font-size: 1.5rem;	/* 24px */
	font-weight: 600;
	background-color: #006699;
	padding: 6px 65px 8px;
}

#content div.wp-pagenavi {
	clear: both;
	text-align: center;
}
#content div.wp-pagenavi a,
#content div.wp-pagenavi span {
	width: 40px;
	height: 40px;
	display: inline-block;
	border: 0;
	min-width: 18px;
	margin: 0 7px;
	padding: 5px;
	line-height: 30px;
	font-size: 1.25rem;	/* 20px */
	vertical-align: middle;
}
#content div.wp-pagenavi span.current {
	font-size: 1.625rem;	/* 26px */
	font-weight: inherit;
}
#content div.wp-pagenavi a.page,
#content div.wp-pagenavi a.previouspostslink,
#content div.wp-pagenavi a.nextpostslink,
#content div.wp-pagenavi span.extend {
	color: inherit;
}
#content div.wp-pagenavi a.page,
#content div.wp-pagenavi a.previouspostslink,
#content div.wp-pagenavi a.nextpostslink {
	background-color: transparent;
}
#content div.wp-pagenavi a.previouspostslink,
#content div.wp-pagenavi a.nextpostslink {
	color: #006699;
	font-size: 2.25rem;
	font-weight: 300;
	padding-top: 3px;
}
#content div.wp-pagenavi span.current {
	width: 40px;
	height: 40px;
	font-size: 1.625rem;	/* 26px */
	text-align: center;
	line-height: 1;
	background-color: #033333;
	border-radius: 50%;
	color: white;
}
@media (any-hover: hover) {
	#content div.wp-pagenavi a.page:hover{
		font-size: 1.625rem;	/* 26px */
		line-height: 1;
		background-color: #033333;
		border-radius: 50%;
		color: white;
	}
	#content div.wp-pagenavi a.previouspostslink:hover,
	#content div.wp-pagenavi a.nextpostslink:hover {
	}
}


/* =Widgets
----------------------------------------------- */
.widget {
	word-wrap: break-word;
	-webkit-hyphens: auto;
	-moz-hyphens: auto;
	hyphens: auto;
	clear: both;
	margin: 0 0 10px;
}
.widget h3.widget-title {
}
.widget ul {
	margin: 0;
	list-style-type: none;
}
.widget ul ul {
	margin-left: 1.5em;
}

/* Search Widget */
.widget_search form {
	margin: 0 0 1.625em;
}

.form-allowed-tags {
	display: none;
}


/* 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 {
	opacity: 0.75;
	filter: alpha(opacity=75);
}
@media (any-hover: hover) {
	.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;
}
.nobr {
	white-space: nowrap;
}


/* Blog Page Components	2026.2 MTL Aki
----------------------------------------------- */
/* 一覧 */
#primary.my-blog {
	padding: 20px;
}
.my-blog .page-title {
	color: white;
	background-color: #e8c843;
	font-size: 1.25rem;	/* 20px*/
	line-height: 40px;
	padding-left: 20px;
	margin-top: 0;
}
.blogdate {
	color: #006699;
	font-weight: 600;
}
ul.news_list {
}
ul.news_list > li, ul.news_list > li:last-child {
	border-bottom: solid 1px #006699;
	padding: 18px 0 27px;
}
ul.news_list .entry-title a {
	font-size: 1.125rem;	/* 18px */
	font-weight: normal;
	background: url(/images/ic_arrow.svg)no-repeat center right;
	padding-top: 5px;
	padding-right: 40px;
}
.my-blog #nav-below {
	padding-top: 100px;
	padding-bottom: 70px;
}
.new {
	color: white;
	font-size: 0.875rem;	/* 14px */
	font-weight: 600;
	background-color: #006699;
	vertical-align: 1px;
	padding: 0 7px 2px;
	margin-left: 13px;
}

/* 個別 */
html :where(img[class*=wp-image-]) {
	width: auto;
}
#my-blog #content {
/*	padding: 20px; Aki c/o from chkHTML*/
}
#my-blog .entry-header {
	padding-top: 4px;
}
#my-blog .entry-title {
	font-size: 1.5rem;	/* 24px */
	margin-top: 10px;
}
#my-blog .entry-content {
	max-width: 800px;
	padding-top: 25px;
	margin: 0 auto;
}
#my-blog .entry-content p {
	color: #033333;
	font-weight: 500;
}
#my-blog .entry-content img {
	margin-top: 30px;
	margin-bottom: 5px;
}

/* Fixed Page Components
----------------------------------------------- */


