@charset "UTF-8";
/* 2026/7/19: Google Fonts の @import 2件は header.php の link タグへ移行（表示速度改善） */

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

html,
body {
	margin: 0;
	padding: 0;
}

:root {
	--main-color: #FFE6F3;    					/* 255, 230, 243 */
	--sub-color: #D76DA3;						/* 215, 109, 163 */
	--accent-color: #e3297d; 					/* 227, 41, 125 */
	--font-color: #000000;						/* 17, 17, 17 */
	--header-font-color: #e3297d;				/*  */
	--header-hover-color: #D76DA3;				/* ヘッダーホバー色 */
	--header-hover-background-color: #e3297d;	/*  */
	--header-hover-font-color: #ffffff;			/* 255, 255, 255 */
	--footer-font-color: #e3297d;				/*  */
	--fa-logo-color: #1E3290;					/* 30, 50, 144, 1 透明度を含めたい場合は#FFFFFFFF */
	--background-color: #FFFFFF; 				/* 255, 255, 255 */
	--btn-font-color: #FFFFFF; 					/* 255, 255, 255 */
	--btn-background-color: #e3297d;  			/*  */
	--btn-border-color: #e3297d;				/* ボタン枠線色 */
	--btn-hover-font-color: #e3297d;			/* ボタンホバー時文字色 */
	--btn-hover-background-color: #FFFFFF;		/* ボタンホバー時背景色 */

	/* ヒーローセクション */
	--hero-bg: #FFE6F3;							/* ヒーロー背景（デフォルト: メインカラーと同じ） */
	--hero-heading-color: #e3297d;				/* キャッチコピー色 */
	--hero-text-color: #1B1B1B;					/* リードテキスト色 */

	/* フッター3カラム */
	--footer-bg: #FFE6F3;						/* フッター背景 */
	--footer-heading-color: #e3297d;			/* フッター列見出し色 */
	--footer-text-color: rgba(43, 43, 43, 0.8);	/* フッター本文色 */
	--footer-link-color: #e3297d;				/* フッターリンク色 */
	--footer-link-hover-color: #D76DA3;			/* フッターリンクホバー色 */
	--footer-border-color: rgba(43, 43, 43, 0.15);	/* フッター区切り線色 */
	--footer-copy-color: rgba(43, 43, 43, 0.5);	/* コピーライト色 */

	/* セクション区別用 */
	--section-alt-bg: #FFD6EB;					/* やや濃いピンク */
	--section-light-bg: #FFF0F8;				/* やや薄いピンク */

	/* 汎用UIカラー（テーマ切替対応） */
	--border-color: #1B1B1B;					/* 汎用ボーダー色 */
	--muted-text-color: #808080;				/* 控えめテキスト色 */
	--surface-color: #FFFFFF;					/* 内部面背景色（フォーム・ページネーション等） */
	--blockquote-bg: #eeeeee;					/* 引用背景色 */
	--placeholder-color: #c0c0c0;				/* プレースホルダー色 */
}

body {
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
	background: var(--background-color);
	color: var(--font-color);
	font-family: Noto Sans JP,sans-serif;
	font-size: 16px;
	font-weight: 300;
	line-height: 1.6;
	overflow-x: hidden;
}

option {
	color: var(--font-color);
}

body.m_fixed_sns {
	padding-bottom: 75px;
}

article,
aside,
footer,
header,
nav,
section,
main {
	display: block;
}

h1,
h2,
h3,
h4,
h5,
h6,
a,
p,
span,
em,
small,
strong,
sub,
sup,
mark,
del,
ins,
strike,
abbr,
dfn,
blockquote,
q,
cite,
code,
pre,
ol,
ul,
li,
dl,
dt,
dd,
div,
section,
article,
main,
aside,
nav,
header,
hgroup,
footer,
img,
figure,
figcaption,
address,
time,
audio,
video,
canvas,
iframe,
details,
summary,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td {
	border: 0;
	margin: 0;
	padding: 0;
}

a {
	color: inherit;
	outline: none;
}

img {
	border: none;
	height: auto;
	max-width: 100%;
	vertical-align: top;
}

code,
kbd,
pre,
samp {
	font-family: monospace, sans-serif;
	font-size: inherit;
}

ul {
	list-style: disc;
}
ul,
ol {
padding-top: 10px;
padding-left: 20px;
padding-bottom: 10px;
}

table {
	border: 1px solid var(--border-color);
	border-collapse: collapse;
	border-spacing: 0;
	table-layout: fixed;
	width: auto;
}

th,
td {
	border: 1px solid var(--border-color);
	padding: 4px 6px;
	text-align: center;
	vertical-align: middle;
}

blockquote,
q {
	quotes: none;
}

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

form {
	margin: 0;
	padding: 0;
}

form button {
	-webkit-appearance: none;
	background-color: var(--main-color);
	background-image: none;
	border: none;
	border-radius: 0;
	box-shadow: 0.0625em 0.0625em 0.1875em 0 rgba(0, 0, 0, 0.16);
	color: #fff;
	cursor: pointer;
	display: inline-block;
	font-size: 16px;
	margin: 0;
	padding: 0.6em 2em;
	text-decoration: none;
	transition: all 0.3s ease 0s;
	width: auto;
}

form button:hover,
form button:focus {
	outline: none;
}

form button:hover {
	opacity: 0.6;
}

form button ::-moz-focus-inner {
	border: none;
	padding: 0;
}

input,
textarea {
	-webkit-appearance: none;
	background-color: var(--main-color);
	color: var(--font-color);
	border: 1px solid var(--border-color);
	border-radius: 0;
	font-family: inherit;
	font-size: 1em;
	padding: 20px 24px;
	width: 100%;
}

textarea:hover,
textarea:focus {
	outline: none;
}

textarea:focus {
	border-color: var(--border-color);
	box-shadow: none;
	outline: none;
}

textarea ::-moz-focus-inner {
	border: none;
	padding: 0;
}

input::-webkit-input-placeholder {
	color: var(--placeholder-color);
}

input::-moz-placeholder {
	color: var(--placeholder-color);
}

input::-ms-input-placeholder {
	color: var(--placeholder-color);
}

input::placeholder {
	color: var(--placeholder-color);
}

input:focus {
	border-color: var(--border-color);
	box-shadow: none;
	outline: none;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
	-webkit-text-fill-color: var(--font-color);
	transition: background-color 9999s ease-in-out 0s;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  border: 1px solid color-mix(in srgb, var(--font-color) 70%, transparent);
}

input[type="submit"],
input[type="button"] {
	-webkit-appearance: none;
	background-color: var(--accent-color);
	background-image: none;
	border: none;
	border-radius: 0;
	box-shadow: 0.0625em 0.0625em 0.1875em 0 rgba(0, 0, 0, 0.16);
	cursor: pointer;
	display: inline-block;
	font-size: 16px;
	margin: 0 auto;
	padding: 0.6em 2em;
	text-decoration: none;
	transition: all 0.3s ease 0s;
	width: auto;
	min-width:300px;
	color: var(--header-font-color);
	
}

input[type="submit"]:hover,
input[type="submit"]:focus,
input[type="button"]:hover,
input[type="button"]:focus {
	outline: none;
}

input[type="submit"]:hover,
input[type="button"]:hover {
	opacity: 1;
}

input[type="submit"] ::-moz-focus-inner,
input[type="button"] ::-moz-focus-inner {
	border: none;
	padding: 0;
}

input[type="radio"] {
	display: none;
}

input[type="radio"] + span {
	cursor: pointer;
	display: inline-block;
	margin: 0 16px 0 0;
	padding: 0 0 0 30px;
	position: relative;
}

input[type="radio"] + span::before {
	-webkit-transform: translateY(-50%);
	background: var(--surface-color);
	border: 1px solid var(--border-color);
	border-radius: 50%;
	content: "";
	display: block;
	height: 26px;
	left: 0;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 26px;
}

input[type="radio"] + span::after {
	opacity: 0;
	transition: opacity 0.3s ease 0s;
}

input[type="radio"]:checked + span::after {
	-webkit-transform: translateY(-50%);
	background: var(--accent-color);
	border-radius: 50%;
	content: "";
	display: block;
	height: 10px;
	left: 8px;
	opacity: 1;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 10px;
}

input[type="checkbox"] {
	display: none;
}

input[type="checkbox"] + span {
	cursor: pointer;
	display: inline-block;
	margin: 0 16px 0 0;
	padding: 0 0 0 30px;
	position: relative;
	transition: all 1s ease 0s;
}

input[type="checkbox"] + span::before {
	-webkit-transform: translateY(-50%);
	background: var(--surface-color);
	border: 1px solid var(--border-color);
	border-radius: 2px;
	content: "";
	display: block;
	height: 26px;
	left: 0;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 26px;
}

input[type="checkbox"] + span::after {
	opacity: 0;
	transition: opacity 0.3s ease 0s;
}

input[type="checkbox"]:checked + span::after {
	-webkit-transform: translateY(-50%) rotate(-45deg);
	border-bottom: 4px solid var(--accent-color);
	border-left: 4px solid var(--accent-color);
	content: "";
	display: block;
	height: 15.6px;
	left: 0;
	margin-top: -0.2em;
	opacity: 1;
	position: absolute;
	top: 50%;
	transform: translateY(-50%) rotate(-45deg);
	width: 26px;
}

select {
	-moz-appearance: none;
	-webkit-appearance: none;
	background-color: var(--background-color);
	background-image: url(../img/select-arrow.svg);
	background-position: right 6px center;
	background-repeat: no-repeat;
	background-size: 1em;	/* 24px -> 1em */
	border: 1px solid var(--border-color);
	border-radius: 0;
	color: inherit;
	cursor: pointer;
	font-family: inherit;
	font-size: 1em;
	padding: 0.4em 2.4em 0.4em 0.8em;
	width: 100%;
}

select::-ms-expand {
	display: none;
}

select:focus {
	border-color: var(--border-color);
	box-shadow: none;
	outline: none;
}

/* multiple属性がある場合のスタイル上書き */
select[multiple] {
    background-image: none;
    padding-right: 0.8em;
}

.archive-head {
	border-top: 3px solid var(--main-color);
	margin-bottom: 56px;
	padding: 28px 0 0;
}

.archive-head.m_description {
	margin-bottom: 70px;
}

.archive-lead {
	font-family: "Lato", sans-serif;
	font-size: 14px;
	font-weight: 700;
	margin-bottom: 6px;
}

.archive-title {
	font-size: 26px;
	font-weight: 600;
	margin-bottom: 18px;
}

.archive-title.m_category::before {
	color: var(--access-color);
	content: "\f02d";
	font-family: "Font Awesome 5 Free", sans-serif;
	font-size: 26px;
	font-weight: 900;
	margin-right: 8px;
}

.archive-title.m_search span {
	color: var(--main-color);
}

.archive-title.m_search::before {
	color: var(--main-color);
	content: "\f002";
	font-family: "Font Awesome 5 Free", sans-serif;
	font-size: 26px;
	font-weight: 900;
	margin-right: 8px;
}

.archive-description {
	font-size: 14px;
	line-height: 1.4;
}

.inner {
	margin: 0 auto;
	max-width: 100%;
	padding:120px 0 80px 0;
	width: 1100px;
}

#content > .inner {
	display: flex;
	padding: 0px 30px 30px 30px;
	width: auto;
}

.archive #content > .inner, 
.search #content > .inner {
	padding: 110px 30px 30px 30px;
}

.single-post > #content > .inner {
	padding: 120px 30px 30px 30px;
}

#content.m_one > .inner {
	display: block;
}

#primary {
	width: 65.45455%;
}

.m_one #primary {
	margin-bottom: 0;
	width: 100%;
}

#secondary {
	margin-left: auto;
	width: 30.90909%;
}

.m_one #secondary {
	display: none;
	width: 100%;
}

.breadcrumb {
	color: #8d8d8d;
	font-size: 16px;

.breadcrumb .home::before {
	content: "\f015";
	margin-bottom: 14px;
}
	font-family: "Font Awesome 5 Free", sans-serif;
	font-weight: 900;
	margin-right: 10px;
}

.breadcrumb a {
	text-decoration: none;
	transition: all 0.3s ease 0s;
}

.breadcrumb a:hover {
	opacity: 0.6;
}

.breadcrumb i {
	margin-left: 15px;
	margin-right: 15px;
}

.btn {
	-webkit-appearance: none;
	background-color: var(--btn-background-color);
	background-image: none;
	border: 1px solid var(--btn-border-color);
	border-radius: 5px;
	color: var(--btn-font-color);
	cursor: pointer;
	display: inline-block;
	font-size: 16px;
	font-weight: 600;
	margin: 0;
	min-width: 282px;
	padding: 17px 20px 14px;
	text-align: center;
	text-decoration: none;
	transition: color 0.3s ease, border-color 0.3s ease;
}

.btn:hover,
.btn:focus {
	outline: none;
	color: var(--btn-hover-font-color);
	border-color: var(--btn-border-color);
}

.btn::-moz-foucus-inner {
	border: none;
	padding: 0;
}

.drawer {
	display: none;
}

.drawer-icon {
	color: var(--header-font-color);
	cursor: pointer;
	font-size: 20px;
	position: absolute;
	right: 17px;
	text-align: center;
	top: 18px;
	z-index: 41;
}

.drawer-open {
	display: block;
}

.m_checked .drawer-open {
	display: none;
}

.drawer-close {
	display: none;
}

.m_checked .drawer-close {
	display: block;
}

.drawer-content {
/*	background: rgba(51, 51, 51, 0.9); */
	background: color-mix(in srgb, var(--main-color) 90%, transparent);
	height: 100vh;
	left: 0;
	opacity: 0;
	overflow: auto;
	padding: 100px 16px 16px;
	position: fixed;
	text-align: left;
	top: 0;
	transition: all 0.3s ease 0s;
	visibility: hidden;
	width: 100%;
	z-index: 40;
}

.m_checked .drawer-content {
	opacity: 1;
	visibility: visible;
}

.entries {
	display: flex;
	flex-wrap: wrap;
	margin-bottom: 12px;
}

.entry-item {
	box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.16);
	display: block;
	margin-bottom: 50px;
	margin-right: 40px;
	text-decoration: none;
	transition: all 0.3s ease 0s;
	width: calc(50% - 40px / 2);
}

.entry-item:nth-child(2n),
.entry-item:last-child {
	margin-right: 0;
}

.entry-item-img {
	text-align: center;
}

.entry-item-body {
	padding: 20px;
}

.entry-item-meta {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	margin-bottom: 10px;
}

.entry-item-published {
	font-size: 12px;
	margin-top: 4px;
}

.entry-item-published::before {
	content: "\f073";
	font-family: "Font Awesome 5 Free", sans-serif;
	font-weight: 400;
	margin-right: 8px;
}

.entry-item-tag {
	background: var(--btn-background-color);
	color: var(--btn-font-color);
	display: block;
	font-size: 12px;
	margin-right: 15px;
	padding: 3px 14px 2px;
}

.entry-item-title {
	font-size: 18px;
	font-weight: 600;
	line-height: 1.42;
	margin-bottom: 14px;
}

.entry-item-excerpt {
	font-size: 14px;
	line-height: 1.71429;
}

.entries.m_horizontal {
	margin-bottom: 62px;
}

.entries.m_horizontal .entry-item {
	display: flex;
	margin-bottom: 30px;
	margin-right: 0;
	padding: 20px;
	width: 100%;
}

.entries.m_horizontal .entry-item:last-child {
	margin-bottom: 0;
}

.entries.m_horizontal .entry-item .entry-item-img {
	width: 36.02941%;
}

.entries.m_horizontal .entry-item .entry-item-body {
	padding: 0 0 0 20px;
	width: 63.97059%;
}

.entries.m_block .entry-item {
	width: 100%;
	margin-right: 0;
}

.entries.m_block .entry-item .entry-item-body {
	padding: 20px;
	width: 100%;
}

.entries.m_block .entry-item .entry-item-published {
	font-size: 14px;
}

.entries.m_block .entry-item .entry-item-tag {
	font-size: 14px;
}

.entries.m_block .entry-item .entry-item-title {
	font-size: 20px;
}

.entries.m_block .entry-item .entry-item-excerpt {
	font-size: 16px;
}

.entry {
	background: #fff;
	box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.16);
	padding: 40px 40px 12px;
}

.entry-label {
	display: inline-block;
	margin-bottom: 18px;
}

.entry-label a {
	background: var(--btn-background-color);
	color: var(--btn-font-color);
	display: block;
	font-size: 16px;
	padding: 4px 16px;
	text-align: center;
	text-decoration: none;
	transition: all 0.3s ease 0s;
}

.entry-label a:hover {
	opacity: 0.6;
}

.entry-title {
	font-size: 30px;
	font-weight: 600;
	line-height: 1.4;
	margin-bottom: 18px;
}

.m_page .entry-title {
	margin-bottom: 34px;
}

.entry-meta {
	align-items: center;
	display: flex;
	margin-bottom: 18px;
}

.entry-published,
.entry-updated {
	font-size: 12px;
}

.entry-published::before,
.entry-updated::before {
	content: "\f073";
	font-family: "Font Awesome 5 Free", sans-serif;
	font-weight: 400;
	margin-right: 8px;
}

.entry-updated {
	margin-left: 27px;
}

.entry-updated::before {
	content: "\f1da";
	font-weight: 900;
}

.entry-img {
	text-align: center;
}

.entry-tag-items {
	border-top: 1px solid var(--border-color);
	display: flex;
	flex-wrap: wrap;
	padding: 20px 0;
}

.entry-tag-head {
	background: var(--btn-background-color);
	border-radius: 3px;
	color: var(--btn-font-color);
	font-size: 16px;
	font-weight: 600;
	margin-bottom: 10px;
	margin-right: 15px;
	padding: 6px 15px 0;
}

.entry-tag-head::before {
	content: "\f02b";
	font-family: "Font Awesome 5 Free", sans-serif;
	font-weight: 900;
	margin-right: 5px;
}

.entry-tag-item {
	margin-bottom: 10px;
	margin-right: 15px;
}

.entry-tag-item:last-child {
	margin-right: 0;
}

.entry-tag-item a {
	border: 1px solid var(--border-color);
	border-radius: 3px;
	color: var(--muted-text-color);
	display: block;
	font-size: 14px;
	padding: 6px 18px 5px;
	text-decoration: none;
	transition: all 0.3s ease 0s;
}

.entry-tag-item a:hover {
	background: var(--background-color);
	border-color: var(--btn-background-color);
	color: var(--btn-background-color);
	background-image: linear-gradient(to bottom, rgba(255, 255, 255, .2) 0, rgba(255, 255, 255, .01) 100%);
	text-decoration: none;
}

.entry-body {
	margin-top: 32px;
	padding-bottom: 44px;
}

.m_page .entry-body {
	padding-bottom: 12px;
}

.entry-body h2 + p,
.entry-body h3 + p,
.entry-body h4 + p,
.entry-body h5 + p,
.entry-body h6 + p {
	margin-top: 0;
}

.entry-body h1 {
	font-weight: bold;
	font-size: 1.35em;
}
.entry-body h2 {
	font-weight: bold;
	font-size: 1.2em;
}
.entry-body h3 {
	font-weight: bold;
	font-size: 1.15em;
}
.entry-body h4 {
	font-weight: bold;
	font-size: 1.1em;
}
.entry-body h5 {
	font-weight: bold;
	font-size: 1.05em;
}
.entry-body h6 {
	font-weight: bold;
	font-size: 1.0em;
}

.entry-body p {
	line-height: 1.875;
	margin-top: 30px;
}

.entry-body ul {
	list-style-type: disc;
	margin-bottom: 1em;
	padding-left: 20px;
}

.entry-body ol {
	list-style-type: decimal;
	margin-bottom: 1em;
	padding-left: 20px;
}

.entry-body li {
	line-height: 1.6;
	margin-bottom: 0.4em;
	margin-top: 0.4em;
}

.entry-body blockquote {
	background: var(--blockquote-bg);
	line-height: 1.6;
	margin-bottom: 1em;
	margin-top: 1em;
	padding: 1em;
}

.entry-body blockquote > :first-child {
	margin-top: 0;
}

.entry-body blockquote > :last-child {
	margin-bottom: 0;
}

.entry-body q {
	background: var(--blockquote-bg);
	display: inline-block;
	padding-left: 0.2em;
	padding-right: 0.2em;
	vertical-align: middle;
}

.entry-body strong,
.entry-body b {
	font-weight: 600;
}

.entry-body a {
	color: #1592e6;
	font-weight: 600;
	transition: all 0.3s ease 0s;
}

.entry-body a:hover {
	opacity: 0.6;
}

.entry-body img {
	vertical-align: middle;
}

.entry-body .entry-btn {
	margin: 1em 0;
	text-align: center;
}

.entry-body .entry-btn .btn {
	color: #fff;
	font-size: 16px;
	font-weight: 600;
	text-decoration: none;
}

.entry-body .entry-btn .btn:hover {
	opacity: 1;
	color: var(--btn-hover-font-color);
}

.entry-links {
	margin-top: 32px;
	text-align: center;
}

.entry-links .post-page-numbers {
	background: var(--surface-color);
	border: 1px solid var(--muted-text-color);
	display: inline-block;
	height: 30px;
	line-height: 30px;
	margin-left: 8px;
	margin-right: 8px;
	min-width: 30px;
	text-align: center;
}

.entry-links .post-page-numbers.current {
	background: var(--muted-text-color);
	color: var(--surface-color);
}

.entry-links .post-page-numbers:first-child {
	margin-left: 0;
}

.entry-links .post-page-numbers:last-child {
	margin-right: 0;
}

.entry-links a {
	text-decoration: none;
	transition: all 0.3s ease 0s;
}

.entry-links a:hover {
	background: var(--muted-text-color);
	color: var(--surface-color);
}

.gallery {
	display: flex;
	flex-wrap: wrap;
}

.gallery-item {
	margin-bottom: 8px;
	padding: 4px;
}

.gallery-columns-2 .gallery-item {
	width: 50%;
}

.gallery-columns-3 .gallery-item {
	width: 33.33333%;
}

.gallery-columns-4 .gallery-item {
	width: 25%;
}

.gallery-columns-5 .gallery-item {
	width: 20%;
}

.gallery-columns-6 .gallery-item {
	width: 16.66667%;
}

.gallery-columns-7 .gallery-item {
	width: 14.28571%;
}

.gallery-columns-8 .gallery-item {
	width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	width: 11.11111%;
}

.pagenation {
	margin-top: 12px;
	text-align: center;
}

.pagenation a {
	transition: all 0.3s ease 0s;
}

.pagenation a:hover {
	opacity: 0.6;
}

.pagenation a.next,
.pagenation a.prev {
	font-size: 30px;
}

.pagenation a.next:hover,
.pagenation a.prev:hover {
	opacity: 0.6;
}

.page-numbers {
	background: var(--surface-color);
	border: 1px solid var(--border-color);
	color: var(--muted-text-color);
	display: inline-block;
	font-family: "Lato", sans-serif;
	font-size: 20px;
	height: 40px;
	line-height: 38px;
	margin-right: 14px;
	min-width: 40px;
	text-align: center;
	text-decoration: none;
}

.page-numbers:last-child {
	margin-right: 0;
}

.page-numbers.current {
	background: var(--main-color);
	border: 1px solid var(--main-color);
	color: #fff;
	font-weight: 700;
}

.page-numbers.dots,
.page-numbers.next,
.page-numbers.prev {
	border: none;
	line-height: 40px;
	min-width: initial;
	width: auto;
}

/*ウィジェットの検索窓*/
.searchーfield {
  font-size: 14px;
  width: 75%;
  margin-top: 10px;
  margin-right: 3px;
  margin-left: 5px;
  padding: 7px 5px;
  border: 2px solid var(--border-color);
  border-radius: 3px;
}
 
.searchーsubmit {
  font-family: FontAwesome;
  font-size: 1.4em;
  padding: 0;
  cursor: pointer;
  color: #255fac;
  border: none;
  background: transparent;
}
 
.searchーsubmit:hover {
  opacity: .6;
}

.widget .rpwwt-widget li {
	margin-bottom: 20px;
}

.widget .rpwwt-widget li:last-child {
	margin-bottom: 0;
}

.widget .rpwwt-widget li a {
	display: block;
	font-size: 0;
	text-decoration: none;
	transition: all 0.3s ease 0s;
}

.widget .rpwwt-widget li a:hover {
	opacity: 0.6;
}

.widget .rpwwt-widget li a img {
	width: 120px;
}

.widget .rpwwt-widget .rpwwt-post-title {
	display: inline-block;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.57143;
	padding: 0 0 0 10px;
	width: calc(100% - 120px);
}

#toc_container {
	background: #fff;
	border: 2px solid var(--main-color);
	margin-top: 64px;
	padding: 20px 30px;
}

#toc_container .toc_title {
	border-bottom: 2px solid var(--main-color);
	font-size: 18px;
	font-weight: 600;
	margin-bottom: 30px;
	margin-top: 0;
	padding-bottom: 6px;
	text-align: center;
}

#toc_container ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

#toc_container ul a {
	color: #333;
	display: inline-block;
	font-weight: 600;
	position: relative;
	text-decoration: none;
}

#toc_container > ul > li {
	counter-increment: toc;
	margin-bottom: 20px;
	margin-top: 0;
}

#toc_container > ul > li:last-child {
	margin-bottom: 0;
}

#toc_container > ul > li > a {
	padding-left: 36px;
}

#toc_container > ul > li > a::before {
	background: var(--main-color);
	border-radius: 50%;
	color: #fff;
	content: counter(toc);
	font-family: "Lato", sans-serif;
	font-weight: 700;
	height: 26px;
	left: 0;
	line-height: 26px;
	margin-top: -2px;
	min-width: 26px;
	position: absolute;
	text-align: center;
	top: 0;
}

#toc_container > ul > li > ul {
	margin-top: 6px;
	padding-left: 36px;
}

#toc_container > ul > li > ul > li {
	margin-bottom: 2px;
	margin-top: 0;
}

#toc_container > ul > li > ul > li:last-child {
	margin-bottom: 0;
}

#toc_container > ul > li > ul > li > a {
	font-weight: 400;
	padding-left: 10px;
}

#toc_container > ul > li > ul > li > a::before {
	background: var(--main-color);
	border-radius: 50%;
	content: "";
	height: 5px;
	left: 0;
	min-width: initial;
	position: absolute;
	top: 8px;
	width: 5px;
}

.wp-caption {
	max-width: 100%;
}

.wp-caption a {
	transition: all 0.3s ease 0s;
}

.wp-caption a:hover {
	opacity: 0.6;
}

.wp-caption-text {
	font-size: 14px;
	margin-top: 4px;
}

.entry-related {
	margin-top: 20px;
}

.related-title {
	font-size: 18px;
	font-weight: 600;
	margin-bottom: 22px;
}

.related-items {
	display: flex;
	flex-wrap: wrap;
}

.related-item {
	display: block;
	margin-bottom: 21px;
	margin-right: 18px;
	text-decoration: none;
	transition: all 0.3s ease 0s;
	width: calc(25% - 18px * 3 / 4);
}

.related-item:hover {
	opacity: 0.6;
}

.related-item:nth-child(4n) {
	margin-right: 0;
}

.related-item-img {
	margin-bottom: 10px;
	text-align: center;
}

.related-item-title {
	font-size: 14px;
	font-weight: 600;
	line-height: 1.57143;
}

.widget_archive select {
/*	background: transparent url(../img/select-arrow.svg) no-repeat center right 8px/12px 8px; */
}

.widget {
	margin-bottom: 50px;
}

.widget:last-child {
	margin-bottom: 0;
}

.widget li {
	font-size: inherit;
	margin-bottom: 8px;
}

.widget li a {
	display: inline-block;
	font-size: inherit;
	text-decoration: none;
}

.widget li a:hover {
	opacity: 1;
	text-decoration: underline;
}

.widget li ul {
	font-size: 0.85em;
	margin-top: 8px;
}

.widget h2 {
	font-size: 18px;
	font-weight: 600;
	padding: 0.3em 0 0.1em 0.5em;
}

.widget_archive li,
.widget_categories li {
	margin-bottom: 8px;
}

.widget_archive li:last-child,
.widget_categories li:last-child {
	margin-bottom: 0;
}

.widget_archive li a,
.widget_categories li a {
	border-bottom: 1px solid var(--border-color);
	display: block;
	font-size: 14px;
	padding: 20px 20px 14px 0;
	position: relative;
	text-decoration: none;
}

.widget_archive li a:hover,
.widget_categories li a:hover {
	opacity: 0.6;
}

.widget_archive li a::after,
.widget_categories li a::after {
	-webkit-transform: translateY(-50%);
	color: var(--font-color);
	content: "\f054";
	font-family: "Font Awesome 5 Free", sans-serif;
	font-size: 16px;
	font-weight: 900;
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
}

.widget_archive li ul,
.widget_categories li ul {
	font-size: 0.85em;
	margin-top: 8px;
}

.wpost-item {
	display: flex;
	margin-bottom: 20px;
	text-decoration: none;
	transition: all 0.3s ease 0s;
}

.wpost-item:hover {
	opacity: 0.6;
}

.wpost-item:last-child {
	margin-bottom: 0;
}

.m_ranking .wpost-item {
	counter-increment: ranking;
	position: relative;
}

.m_ranking .wpost-item::after {
	background: #01b3a7;
	color: #fff;
	content: counter(ranking);
	font-family: "Lato", sans-serif;
	font-size: 12px;
	height: 20px;
	left: 0;
	line-height: 20px;
	position: absolute;
	text-align: center;
	top: 0;
	width: 20px;
}

.wpost-item-img {
	width: 120px;
}

.wpost-item-body {
	padding: 0 0 0 10px;
	width: calc(100% - 120px);
}

.wpost-item-title {
	font-size: 14px;
	font-weight: 600;
	line-height: 1.57143;
}

#wp-calendar caption {
	margin-bottom: 4px;
	color: var(--font-color);
	background: var(--background-color);
}

#wp-calendar th,
#wp-calendar td {
	text-align: center;
	color: var(--font-color);
	background: var(--background-color);
}

#wp-calendar #prev {
	text-align: left;
}

#wp-calendar #next {
	text-align: right;
}

#wp-calendar a {
	color: var(--sub-color);
	text-decoration: none;
	transition: all 0.3s ease 0s;
	font-weight: 400;
}

#wp-calendar a:hover {
	opacity: 1;
	text-decoration: underline;
}

.widget_categories select {
/*	background: transparent url(../img/select-arrow.svg) no-repeat center right 8px/12px 8px; */
}

.gallery-item {
	padding: 0 4px;
	text-align: center;
}

.gallery-item a {
	transition: all 0.3s ease 0s;
}

.gallery-item a:hover {
	opacity: 0.6;
}

.gallery-caption {
	font-size: 14px;
	margin-top: 4px;
}

.gallery-columns-3 {
	display: flex;
}

.gallery-columns-3 .gallery-item {
	width: 33.33333333%;
}

.widget_meta abbr {
	text-decoration: none;
}

.wprofile-img {
	margin-bottom: 26px;
	text-align: center;
}

.wprofile-img img {
	width: 230px;
}

.wprofile-content {
	font-size: 14px;
	line-height: 1.71429;
	margin-bottom: 38px;
	padding: 0 18px;
}

.wprofile-sns {
	align-items: center;
	display: flex;
	justify-content: center;
}

.wprofile-sns-item {
	margin-right: 40px;
}

.wprofile-sns-item:last-child {
	margin-right: 0;
}

.wprofile-sns-item a {
	font-size: 26px;
	text-decoration: none;
	transition: all 0.3s ease 0s;
}

.wprofile-sns-item a:hover {
	opacity: 0.6;
}

.wprofile-sns-item.m_twitter a {
	color: #1da1f2;
}

.wprofile-sns-item.m_facebook a {
	color: #3b5998;
}

.wprofile-sns-item.m_instagram a {
	color: #c13584;
}

.post-date {
	color: var(--muted-text-color);
	display: block;
	font-size: 14px;
}

.widget_rss cite {
	color: var(--muted-text-color);
	font-size: 14px;
}

.rss-widget-icon {
	margin-top: -4px;
	vertical-align: middle;
}

.rsswidget {
	text-decoration: none;
	transition: all 0.3s ease 0s;
	vertical-align: middle;
}

.rsswidget:hover {
	opacity: 0.6;
}

.rss-date {
	color: var(--muted-text-color);
	font-size: 14px;
}

.rssSummary {
	color: var(--muted-text-color);
	font-size: 14px;
}
.wp-block-search__input {
	border: 1px solid var(--border-color);
}
.wp-block-search__button {
	background-color: var(--main-color);
}

.tagcloud {
	padding: 4px;
}

.tag-cloud-link {
	transition: all 0.3s ease 0s;
}

.tag-cloud-link:hover {
	opacity: 0.6;
}

.entry-404 {
	padding-bottom: 85px;
	text-align: center;
}

.entry-404-head {
	color: #f0cdd0;
	font-family: "Lato", sans-serif;
	font-size: 80px;
	font-weight: 700;
	line-height: 1.2;
	margin-bottom: 36px;
}

.entry-404-head span::after {
	content: " ";
}

.entry-404-lead {
	color: #808080;
	font-family: "HiraKakuPro-W6", "ヒラギノ角ゴ Pro W6", "Meiryo", "Meiryo", "Noto Sans Japanese", sans-serif;
	font-size: 30px;
	font-weight: 600;
	margin-bottom: 24px;
}

.entry-404-lead .m_sp {
	display: none;
}

.entry-404-content {
	color: var(--muted-text-color);
}

.entry-404-btn {
	margin-top: 58px;
}

.entry-404-btn .btn {
	background: #ebebeb;
	color: #8d8d8d;
}

.entry-404-btn .btn:hover {
	background: #ccc;
	opacity: 1;
}

/* フッター下部固定 */

html,body,#wrap {
  height: 100%;
}

#wrap {
  display: flex;
  flex-direction: column;
}
#content {
  flex: 1;
}


#footer-menu {
	background: #868686;
}

#footer-menu > .inner {
	padding-bottom: 42px;
	padding-top: 54px;
}

.footer-logo {
	margin-bottom: 4px;
	text-align: center;
}

.footer-logo a {
	color: #fff;
	font-family: "Lato", sans-serif;
	font-size: 1.2em;
	font-weight: 700;
	margin-bottom: 14px;
	text-decoration: none;
	transition: all 0.3s ease 0s;
}

.footer-logo a:hover {
	opacity: 0.6;
}

.footer-sub {
	color: #fff;
	font-family: "HiraKakuPro-W6", "ヒラギノ角ゴ Pro W6", "Meiryo", "Meiryo", "Noto Sans Japanese", sans-serif;
	font-size: 1.05em;
	font-weight: 600;
	line-height: 1.71429;
	margin-bottom: 30px;
	text-align: center;
}

.footer-nav {
	text-align: center;
}

.footer-nav ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

.footer-nav li {
	margin-bottom: 10px;
	margin-right: 32px;
	padding: 0 4px;
	text-decoration: none;
}

.footer-nav li:last-child {
	margin-right: 0;
}

.footer-nav li a {
	color: #fff;
	font-size: 14px;
	text-decoration: none;
	transition: all 0.3s ease 0s;
}

.footer-nav li a:hover {
	opacity: 0.6;
}

.footer-sns {
	background: var(--surface-color);
	border-top: 1px solid var(--border-color);
	bottom: -75px;
	left: 0;
	position: fixed;
	transition: all 0.3s ease 0s;
	width: 100%;
	z-index: 25;
}

.footer-sns.m_fixed_sns {
	bottom: 0;
}

.footer-sns > .inner {
	align-items: center;
	display: flex;
	height: 75px;
	padding-bottom: 0;
	padding-top: 0;
}

.footer-sns-head {
	font-size: 14px;
	margin-right: auto;
}

.footer-sns-buttons ul {
	align-items: center;
	display: flex;
}

.footer-sns-buttons li {
	margin-right: 50px;
}

.footer-sns-buttons li:last-child {
	margin-right: 0;
}

.footer-sns-buttons li a {
	text-decoration: none;
	transition: all 0.3s ease 0s;
}

.footer-sns-buttons li a:hover {
	opacity: 0.6;
}

.footer-sns-buttons li a.m_twitter img {
	width: 26px;
}

.footer-sns-buttons li a.m_facebook img {
	width: 11px;
}

.footer-sns-buttons li a.m_hatena img {
	width: 22px;
}

.footer-sns-buttons li a.m_line img {
	width: 30px;
}

.footer-sns-buttons li a.m_pocket img {
	width: 27px;
}

#footer {
	background: var(--main-color);
	color: var(--footer-font-color);
}

.fineallies_logo {
	fill: var(--fa-logo-color);
}

#footer > .inner {
	padding-bottom: 20px;
	padding-top: 18px;
}

.copy {
	font-family: "Lato", sans-serif;
	font-size: 1.0em;
	margin-bottom: 2px;
	text-align: center;
}

.by {
	font-family: "Lato", sans-serif;
	font-size: 1.0em;
	text-align: center;
}

.by a {
	text-decoration: none;
	transition: all 0.3s ease 0s;
}

.by a:hover {
    color: var(--access-color);
}

.floating {
	bottom: 100px;
	display: none;
	position: fixed;
	right: 28px;
	z-index: 30;
}

.floating a {
	background: var(--btn-background-color);
	border: 1px solid var(--btn-border-color);
	border-radius: 50%;
	color: var(--btn-font-color);
	display: block;
	font-size: 20px;
	height: 60px;
	line-height: 60px;
	text-align: center;
	text-decoration: none;
	width: 60px;
	transition: all 0.3s ease;
}

.floating a:hover {
	color: var(--btn-hover-font-color);
	background: var(--btn-hover-background-color);
	border-color: var(--btn-border-color);
}

#header {
	background: var(--main-color);
	position: fixed;
	top: 0;
	left: 0%;
	width: 100%;
	z-index: 20;
}

.header-inner {
	align-items: center;
	display: flex;
	justify-content: space-between;
	padding-bottom: 10px;
	padding-top: 10px;
	margin: 0 30px;
}

.header-logo {
	display: flex;
	font-size: 1.5em;
	line-height: 1.2;
	max-width: 300px;
/	padding-top: 10px;
	vertical-align: middle;
	align-items: center;
	white-space: nowrap;
	font-weight: 600;
}

/* --- 202310 add */
.header-logo img {
	vertical-align: middle;
	width: 100%;
}

.header-logo a {
	color: var(--header-font-color);
	text-decoration: none;
	transition: all 0.3s ease 0s;
}

.header-logo a:hover {
	opacity: 0.6;
	text-decoration: none;
	color: var(--header-hover-background-color);
}

/* --- 202310 add */
h1.header-logo {
	margin-top: 10px;
}

.header-sub {
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.71429;
	margin-top: 10px;
	padding: 0 38px;
}

.header-nav {
	padding-bottom: 24px;
	padding-top: 34px;
}

.header-nav ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	list-style: none;
	padding-top: 0px;
	padding-left: 0px;
	padding-bottom: 0px;
}

.header-nav li {
	margin-right: 16px;
}

.header-nav li:last-child {
	margin-right: 0;
}

.header-nav li > a {
/*	font-size: 1.4em; */
	font-size: 16px;
	color: var(--header-font-color);
	display: block;
	font-weight: 600;
	text-decoration: none;
	transition: all 0.3s ease 0s;
}

.header-nav li > a:hover, .header-nav .sub-menu li a:hover {
	color: var(--sub-color);
	opacity: 1;
}

#mv > .inner {
	height: 600px;
	padding-bottom: 0;
	padding-top: 0;
}

#pickup {
	background: #f4f4f4;
	height: 0; /* --- blogページだけページタイトルの位置がこのdiv分下がるため ---*/
}

#pickup > .inner {
	padding-bottom: 20px;
	padding-top: 40px;
}

.pickup-items {
	display: flex;
}

.pickup-item {
	display: block;
	margin-right: 40px;
	text-decoration: none;
	transition: all 0.3s ease 0s;
	width: calc(33.33333333% - 40px * 2 / 3);
}

.pickup-item:hover {
	opacity: 0.6;
}

.pickup-item:last-child {
	margin-right: 0;
}

.pickup-item-img {
	position: relative;
	text-align: center;
}

.pickup-item-body {
	padding: 20px 0;
}

.pickup-item-title {
	font-size: 18px;
	font-weight: 600;
	line-height: 1.4;
}

.pickup-item-tag {
	background: var(--main-color);
	color: #fff;
	font-size: 12px;
	line-height: 1.1;
	padding: 6px 14px;
	position: absolute;
	right: 0;
	text-decoration: none;
	top: 0;
}

@media screen and (max-width: 1099px) {
	.inner {
		padding-left: 24px;
		padding-right: 24px;
	}
	/* --- 202310 add */
	h1.header-logo {
		padding-top: 0;
		padding-bottom: 0;
	}
}

@media screen and (max-width: 767px) {
	body.m_fixed_sns {
		padding-bottom: 67px;
	}

	.archive-head {
		margin-bottom: 40px;
		padding-top: 26px;
	}

	.archive-head.m_description {
		margin-bottom: 92px;
	}

	.archive-lead {
		margin-bottom: 8px;
	}

	.archive-title {
		font-size: 20px;
		margin-bottom: 20px;
	}

	.inner {
		padding-left: 16px;
		padding-right: 16px;
		padding: 60px 0; /* --- 202310 add */
	}

	#content > .inner {
		display: block;
		/* padding-top: 40px; --- 202310 edit */
		/* padding-top: 60px; --- 202501 edit */
		padding: 30px 30px;
	}

	#primary {
		margin-bottom: 70px;
		width: 100%;
	}
/*-- comment out 20230503 
	.m_one #primary {
		margin-bottom: 70px;
	}
--*/
	#secondary {
		width: 100%;
	}

	.m_one #secondary {
		display: block;
	}

	.breadcrumb {
		margin-bottom: 14px;
	}

	.drawer {
		display: block;
	}

	.entries {
		display: block;
	}

	.entry-item {
		margin-bottom: 27px;
		margin-right: 0;
		width: 100%;
	}

	.entry-item:last-child {
		margin-bottom: 0;
	}

	.entries.m_horizontal {
		margin-bottom: 40px;
	}

	.entries.m_horizontal .entry-item {
		margin-bottom: 20px;
		padding: 10px;
	}

	.entries.m_horizontal .entry-item .entry-item-img {
		width: 45.06173%;
	}

	.entries.m_horizontal .entry-item .entry-item-body {
		padding-left: 12px;
		width: 54.93827%;
	}

	.entries.m_horizontal .entry-item .entry-item-published {
		font-size: 10px;
	}

	.entries.m_horizontal .entry-item .entry-item-tag {
		font-size: 10px;
		margin-right: 8px;
	}

	.entries.m_horizontal .entry-item .entry-item-title {
		font-size: 12px;
		margin-bottom: 0;
	}

	.entries.m_horizontal .entry-item .entry-item-excerpt {
		display: none;
	}

	.entries.m_horizontal {
		margin-bottom: 40px;
	}

	.entries.m_horizontal .entry-item {
		margin-bottom: 20px;
		padding: 10px;
	}

	.entries.m_block .entry-item .entry-item-published {
		font-size: 12px;
	}

	.entries.m_block .entry-item .entry-item-tag {
		font-size: 12px;
	}

	.entries.m_block .entry-item .entry-item-title {
		font-size: 18px;
	}

	.entries.m_block .entry-item .entry-item-excerpt {
		font-size: 14px;
	}

	.entry {
		padding: 10px;
	}

	.entry-label a {
		font-size: 11px;
		padding: 4px 14px;
	}

	.entry-title {
		font-size: 24px;
		line-height: 1.41667;
	}

	.entry-published,
	.entry-updated {
		font-size: 11px;
	}

	.entry-updated {
		margin-left: 18px;
	}

	.entry-tag-items {
		padding-top: 24px;
	}

	.entry-tag-head {
		padding: 6px 15px 0;
	}

	.entry-tag-item a {
		padding: 4px 16px 3px;
	}

	.entry-body {
		padding-bottom: 24px;
	}

	#toc_container {
		padding: 20px 20px;
	}

	#toc_container .toc_title {
		margin-bottom: 18px;
	}

	#toc_container > ul > li {
		margin-bottom: 30px;
	}

	#toc_container > ul > li > ul {
		margin-top: 12px;
	}

	.related-item {
		margin-right: 30px;
		width: calc(50% - 30px * 1 / 2);
	}

	.related-item:nth-child(2n) {
		margin-right: 0;
	}

	.widget {
		margin-bottom: 57px;
	}

	.entry-404 {
		padding-bottom: 0;
		padding-top: 18px;
	}

	.entry-404-head {
		font-size: 40px;
		margin-bottom: 36px;
	}

	.entry-404-head span {
		display: block;
	}

	.entry-404-head span::after {
		display: none;
	}

	.entry-404-lead {
		font-size: 20px;
		margin-bottom: 34px;
	}

	.entry-404-lead .m_sp {
		display: block;
	}

	.entry-404-content {
		font-size: 12px;
		padding-left: 24px;
		padding-right: 24px;
	}

	.entry-404-btn {
		margin-top: 62px;
	}

	#footer-menu > .inner {
		padding-bottom: 56px;
		padding-top: 54px;
	}

	.footer-logo {
		margin-bottom: 12px;
	}

	.footer-logo a {
		font-size: 26px;
	}

	.footer-sub {
		font-size: 12px;
		margin-bottom: 28px;
	}

	.footer-nav ul {
		display: block;
		text-align: center;
	}

	.footer-nav li {
		margin-bottom: 12px;
		margin-right: 0;
	}

	.footer-nav li:last-child {
		margin-bottom: 0;
	}

	.footer-sns {
		bottom: -67px;
	}

	.footer-sns > .inner {
		height: 67px;
		padding-left: 32px;
		padding-right: 32px;
	}

	.footer-sns-head {
		display: none;
	}

	.footer-sns-buttons {
		width: 100%;
	}

	.footer-sns-buttons ul {
		justify-content: space-between;
	}

	.footer-sns-buttons li {
		margin-right: auto;
	}

	.floating {
		bottom: 92px;
		right: 16px;
	}

	#header > .inner {
		display: block;
		padding-bottom: 16px;
		padding-top: 20px;
	}

	.header-logo {
		font-size: 26px;
		font-weight: bold;
		margin-bottom: 8px;
		margin-top: 8px;	/* --- 20250111 add --- */
		text-align: center;
	}

	.header-logo a {
		font-size: 1.0em;
	}

	.header-sub {
		font-size: 10px;
		margin-top: 0;
		padding-left: 0;
		padding-right: 0;
		text-align: center;
	}

	.header-nav {
		display: none;
	}

	#mv > .inner {
		height: 400px;
	}

	#pickup > .inner {
		padding-bottom: 40px;
		padding-top: 40px;
	}

	.pickup-items {
		display: block;
	}

	.pickup-item {
		display: flex;
		margin-bottom: 20px;
		margin-right: 0;
		width: 100%;
	}

	.pickup-item:last-child {
		margin-bottom: 0;
	}

	.pickup-item-img {
		width: 42.40688%;
	}

	.pickup-item-body {
		padding-bottom: 0;
		padding-top: 0;
		width: 57.59312%;
	}

	.pickup-item-title {
		font-size: 16px;
		padding-left: 15px;
	}
}

#content.content-work .inner {
	padding-top: 30px;
}

@media screen and (max-width: 767px) {
	#content.content-work .inner {
		padding-top: 16px;
	}
}

#content.content-work #primary {
	width: 100%;
}

@media screen and (max-width: 767px) {
	#content.content-work #primary {
		margin-bottom: 0;
	}
}

#content.content-work .entry-label {
	margin-bottom: 8px;
}

@media screen and (max-width: 767px) {
	#content.content-work .entry-label {
		margin-bottom: 14px;
	}
}

.entries-work {
	margin-bottom: 28px;
}

@media screen and (max-width: 767px) {
	.entries-work {
		margin-bottom: 22px;
	}
}

.entries-work .entry-item {
	width: calc(33.3333333% - 40px * 2 / 3);
	margin-bottom: 27px;
}

@media screen and (max-width: 767px) {
	.entries-work .entry-item {
		width: 100%;
	}
}

.entries-work .entry-item:nth-child(2n) {
	margin-right: 40px;
}

.entries-work .entry-item:nth-child(3n) {
	margin-right: 0;
}

.work-breadcrumb {
	padding-top: 12px;
	padding-bottom: 12px;
}

.work-breadcrumb .inner {
	padding-top: 0;
	padding-bottom: 0;
}

.work-breadcrumb .breadcrumb {
	margin-bottom: 0;
}

.genre-nav {
	display: flex;
	flex-wrap: wrap;
	margin-bottom: 22px;
}

@media screen and (max-width: 767px) {
	.genre-nav {
		margin-bottom: 5px;
	}
}

.genre-nav-link {
	margin-right: 16px;
}

@media screen and (max-width: 767px) {
	.genre-nav-link {
		margin-right: 12px;
		margin-bottom: 12px;
	}
}

.genre-nav-link a {
	display: block;
	padding: 6px 14px;
	background: #fff;
	transition: all 0.3s ease 0s;
	text-decoration: none;
	font-size: 18px;
	font-weight: 700;
}

@media screen and (max-width: 767px) {
	.genre-nav-link a {
		padding: 3px 8px;
		font-size: 16px;
	}
}

.genre-nav-link a.is-active,
.genre-nav-link a:hover {
	background: var(--main-color);
	color: #fff;
}

.entry-work {
	box-shadow: none;
	padding-top: 0;
	padding-bottom: 0;
}

@media screen and (max-width: 767px) {
	.entry-work {
		padding-top: 0;
		padding-bottom: 0;
		padding-right: 0;
		padding-left: 0;
	}
}

.entry-work-body {
	margin-top: 40px;
	display: flex;
}

@media screen and (max-width: 767px) {
	.entry-work-body {
		display: block;
		margin-top: 40px;
	}
}

.entry-work-content {
	width: 62%;
	padding-right: 40px;
	line-height: 2.25;
}

@media screen and (max-width: 1099px) {
	.entry-work-content {
		width: 58%;
		padding-right: 20px;
	}
}

@media screen and (max-width: 767px) {
	.entry-work-content {
		width: 100%;
		padding-right: 0;
		line-height: 1.875;
	}
}

.entry-work-table {
	width: 38%;
	/* 384 / 1020 * 100%; */
	margin-left: auto;
}

@media screen and (max-width: 1099px) {
	.entry-work-table {
		width: 42%;
	}
}

@media screen and (max-width: 767px) {
	.entry-work-table {
		width: 100%;
		margin-top: 20px;
		margin-left: 0;
	}
}

.entry-work-table table {
	border-color: var(--muted-text-color);
}

.entry-work-table th,
.entry-work-table td {
	padding: 8px 16px;
	border-color: var(--muted-text-color);
	font-size: 14px;
	word-break: break-all;
}

.entry-work-table th {
	width: 43%;
	text-align: center;
	color: var(--surface-color);
	font-weight: 700;
	background: var(--muted-text-color);
}

@media screen and (max-width: 767px) {
	.entry-work-table th {
		width: 120px;
	}
}

.entry-work-btn {
	text-align: center;
	margin-top: 70px;
}

@media screen and (max-width: 767px) {
	.entry-work-btn {
		margin-top: 40px;
	}
}

.entry-work-related {
	margin-top: 74px;
}

@media screen and (max-width: 767px) {
	.entry-work-related {
		margin-top: 54px;
	}
}

.entry-work-related-entries {
	margin-bottom: 0;
}

.entry-work-related-entries .entry-item {
	margin-bottom: 0;
}

@media screen and (max-width: 767px) {
	.entry-work-related-entries .entry-item {
		margin-bottom: 27px;
	}
	.entry-work-related-entries .entry-item:last-child {
		margin-bottom: 0;
	}
}

.entry-work-related-head {
	font-size: 26px;
	font-weight: 600;
	line-height: 1.2;
	margin-bottom: 44px;
	position: relative;
	text-align: left;
	background: #ebebeb;
	border-radius: 3px;
	border-top: 6px solid var(--main-color);
	padding: 24px 20px;
}

@media screen and (max-width: 767px) {
	.entry-work-related-head {
		font-size: 20px;
		padding: 27px 17px;
		margin-bottom: 24px;
	}
}

.entry-work-related-head::after {
	border: 5px solid transparent;
	border-top: 15px solid #ebebeb;
	content: "";
	height: 0;
	left: 24px;
	position: absolute;
	top: 100%;
	width: 0;
}
 
.header-nav .sub-menu {
	position: absolute;
	z-index: 1;
	display: none;
	width: auto;
	border-top: none;
}
 
.header-nav .sub-menu li {
  display: block;
  float: none;
  padding: 0;
	margin-right:0;
}
 
.header-nav li:hover .sub-menu {
  display: block;
}
 
.header-nav .sub-menu li a:before {
  color: #333;
}

/* PC用サブメニュー内の li のpaddingを解除 */
.desktop-menu .sub-menu li {
  padding: 0;
}

/* サブメニュー内のaタグをブロック要素にし、li全体を覆う */
.desktop-menu .sub-menu li a {
  display: block;
  width: 100%;
  height: 100%;
  padding: 15px 10px; /* 必要な余白をここで設定 */
  box-sizing: border-box; /* パディングを含めた幅計算 */
}


 
.header-nav .sub-menu li a {
/*  font-size: 1.4em; */
	font-size: 16px;
	font-weight: normal;
	margin-left: 10px;
	padding: 10px 30px 10px 10px;
	text-align: left;
/*  color: #fff; */
  color: var(--header-font-color);
  background-color: var(--main-color);
}
 
.header-nav .sub-menu li a:hover {
/*  background-color: #000; */
  color: var(--header-font-color);
}
 
@media (min-width: 768px) {
  #header-nav .sub-menu {
    position: absolute;
    width: 200px;
    border-top: 1px solid var(--border-color);
  }
}

.header_title {
	padding-top: 110px;
}

/* ==========================================================================
 * ヒーローセクション（トップページ用）
 * カラーは CSS 変数で制御。original.css 等で上書き可能。
 * ========================================================================== */
.hero-section {
	background: var(--hero-bg);
	padding: 140px 24px 60px;
	text-align: center;
	position: relative;
	overflow: visible;
}

.hero-inner {
	max-width: 800px;
	margin: 0 auto;
	position: relative;
	z-index: 1;
}

.hero-catchcopy {
	font-size: 28px;
	font-weight: 700;
	color: var(--hero-heading-color);
	line-height: 1.5;
	margin-bottom: 16px;
	letter-spacing: 0.05em;
}

.hero-lead {
	font-size: 15px;
	color: var(--hero-text-color);
	line-height: 1.8;
	margin-bottom: 30px;
}

.hero-buttons {
	display: flex;
	gap: 16px;
	justify-content: center;
	flex-wrap: wrap;
}

.hero-btn {
	display: inline-block;
	padding: 12px 32px;
	border-radius: 5px;
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	transition: color 0.3s ease, border-color 0.3s ease;
	background-color: var(--btn-background-color);
	color: var(--btn-font-color);
	border: 1px solid var(--btn-border-color);
}

.hero-btn:hover {
	color: var(--btn-hover-font-color);
	border-color: var(--btn-border-color);
	text-decoration: none;
}

@media screen and (max-width: 767px) {
	.hero-section {
		padding: 120px 16px 40px; /* ヘッダー(~80px)+ 余白分を確保 */
	}
	.hero-catchcopy {
		font-size: 22px;
	}
	.hero-lead {
		font-size: 14px;
	}
	.hero-buttons {
		flex-direction: column;
		align-items: center;
	}
}

/* ==========================================================================
 * フッター3カラム
 * カラーは CSS 変数で制御。original.css 等で上書き可能。
 * ========================================================================== */
.footer-columns {
	display: flex;
	gap: 40px;
	padding-bottom: 30px;
	border-bottom: 1px solid var(--footer-border-color);
}

.footer-col {
	flex: 1;
}

.footer-col-title {
	font-size: 15px;
	font-weight: 600;
	margin-bottom: 12px;
	color: var(--footer-heading-color);
}

.footer-text {
	font-size: 13px;
	line-height: 1.7;
	color: var(--footer-text-color);
	margin-bottom: 12px;
}

.footer-address {
	font-size: 12px;
	line-height: 1.8;
	color: var(--footer-text-color);
}

.footer-address i {
	margin-right: 4px;
	width: 14px;
	text-align: center;
}

.footer-links {
	list-style: none;
	padding: 0;
}

.footer-links li {
	margin-bottom: 6px;
}

.footer-links li a {
	font-size: 13px;
	color: var(--footer-link-color);
	text-decoration: none;
	transition: color 0.2s;
}

.footer-links li a:hover {
	color: var(--footer-link-hover-color);
	text-decoration: underline;
}

.footer-bottom {
	padding-top: 20px;
	text-align: center;
}

.footer-bottom .copy {
	font-size: 12px;
	color: var(--footer-copy-color);
}

@media screen and (max-width: 767px) {
	.footer-columns {
		flex-direction: column;
		gap: 24px;
	}
}

.alignright {
    text-align: right; /* 親要素内のテキストを右寄せ */
    float: right;      /* 要素自体を右寄せ */
    margin-left: 1em;  /* 右寄せ時のテキストとの余白調整 */
}

.aligncenter {
    text-align: center; /* 親要素内のテキストを中央寄せ */
    display: block;     /* インライン要素を中央寄せするためにブロック要素化 */
    margin: 0 auto;     /* 自動で左右均等の余白を適用 */
}

.alignleft {
    text-align: left;  /* 親要素内のテキストを左寄せ */
    float: left;       /* 要素自体を左寄せ */
    margin-right: 1em; /* 左寄せ時のテキストとの余白調整 */
}

a,
.entry-body a,
.wp-calendar-nav-next a,
.wp-calendar-nav-prev a {
	color: var(--sub-color);
	text-decoration: none;
}
a:hover, 
.entry-body a:hover,
.entry-label a:hover,
.wp-calendar-nav-next a:hover,
.wp-calendar-nav-prev a:hover {
	text-decoration: underline;
}

/*--- ボタン統一: 全vc_btn3カラー + フォーム送信ボタン ---*/
.vc_btn3.vc_btn3-style-modern {
	color: var(--btn-font-color) !important;
	background-color: var(--btn-background-color) !important;
	background-image: none !important;
	border: 1px solid var(--btn-border-color) !important;
	border-radius: 5px;
	font-weight: bold;
	transition: color 0.3s ease, border-color 0.3s ease;
}
input[type="submit"], input[type="button"] {
	color: var(--btn-font-color) !important;
	background-color: var(--btn-background-color) !important;
	border: 1px solid var(--btn-border-color) !important;
	border-radius: 5px;
	font-weight: bold;
	transition: all 0.5s ease;
}
.vc_btn3.vc_btn3-style-modern:hover,
.vc_btn3.vc_btn3-style-modern:focus {
	color: var(--btn-hover-font-color) !important;
	border-color: var(--btn-border-color) !important;
}
input[type="submit"]:hover, input[type="button"]:hover {
	color: var(--btn-hover-font-color) !important;
	background-color: var(--btn-hover-background-color) !important;
	border: 1px solid var(--btn-border-color);
}

/*--- ボタンホバー: scaleXスライドインアニメーション ---*/
/* ※ input要素はvoidのため::before不可。<a>/<button>のみ対象 */
.hero-btn,
.btn,
.vc_btn3.vc_btn3-style-modern {
	position: relative;
	overflow: hidden;
	z-index: 0;
}

.hero-btn::before,
.btn::before,
.vc_btn3.vc_btn3-style-modern::before {
	content: "" !important;
	position: absolute !important;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: var(--btn-hover-background-color) !important;
	background-image: none !important;
	transform: scaleX(0);
	transform-origin: right;
	transition: transform 0.5s ease;
	z-index: -1;
}

.hero-btn:hover::before,
.btn:hover::before,
.vc_btn3.vc_btn3-style-modern:hover::before {
	transform: scaleX(1);
	transform-origin: left;
}

/********************************
hタグ
*********************************/
h2, h3, h4, 
.widget-title {
	color: var(--accent-color);
}
h1 { 
	font-size: 25px;
}
h2, 
.widget-title { 
	font-size: 22px;
}
h3 { 
	font-size: 17px;
}
h4 { 
	font-size: 16px;
}


#content h1 {
	font-size: 27px;
	color: var(--accent-color);
	text-align: center;
	--gradient: linear-gradient(to right, var(--main-color), var(--accent-color), var(--main-color));
    padding: 1rem 0;
    margin-bottom: 20px;
    background-image:
        var(--gradient),
        var(--gradient);
    background-repeat: no-repeat;
    background-size: 100% 0.2rem;
    background-position: bottom, top;
}

h2[style*="text-align: left"], 
h3[style*="text-align: left"], 
h4[style*="text-align: left"], 
.wpb_single_image.vc_align_left > h2 {
    justify-content: flex-start;
}
h2[style*="text-align: center"], 
h3[style*="text-align: center"], 
h4[style*="text-align: center"], 
.wpb_single_image.vc_align_center > h2 {
    justify-content: center;
}
h2[style*="text-align: right"], 
h3[style*="text-align: right"], 
h4[style*="text-align: right"], 
.wpb_single_image.vc_align_right > h2{
    justify-content: flex-end;
}

h2, 
.widget-title {
	display: flex;
	align-items: center;
	margin-top: 15px;
	margin-bottom: 15px;
}
h2.vc_do_custom_heading:before, 
h2.vc_do_custom_heading:after, 
.widget-title:before, 
.widget-title:after {
	border-top: 3px solid var(--accent-color);
	content: "";
	width: 70px;
}
h2:before, 
.widget-title:before {
  margin-right: 0.5em;
}
h2:after,
.widget-title:after {
  margin-left: 0.5em;
}

h3 {
	display: flex;
	align-items: center;
	margin-top: 15px;
	margin-bottom: 15px;
}
h3.vc_do_custom_heading:before, 
h3.vc_do_custom_heading:after {
	border-top: 3px dotted var(--accent-color);
	content: "";
	width: 60px;
}
h3:before {
  margin-right: 0.5em;
}
h3:after {
  margin-left: 0.5em;
}

h4 {
	display: flex;
	align-items: center;
	margin-top: 15px;
	margin-bottom: 15px;
}
h4.vc_do_custom_heading:before, 
h4.vc_do_custom_heading:after {
	border-top: 2px dotted var(--accent-color);
	content: "";
	width: 50px;
}
h4:before {
  margin-right: 0.5em;
}
h4:after {
  margin-left: 0.5em;
}

.vc_toggle_title h4 {
	justify-content: left;
}

.vc_tta-panel-title h4:before, 
.vc_tta-panel-title h4:after {
	border-top: none;
}

/********************************
ウィジェット
*********************************/
.widget_calendar .wp-calendar-table,
.widget_categories select,
.widget_archive select {
	width: 100%;
}

.entry-item,
.entry {
	background: var(--background-color);
}

.entry-item-excerpt, .entry-item-published,
.entry-published, .entry-updated {
	color: var(--font-color);
	word-wrap: break-word;
}

.entry-item:hover {
	box-shadow: 0 0 9px 0 color-mix(in srgb, var(--font-color) 16%, transparent);
	text-decoration: none;
}

/*--- ページ送り---*/
.page-numbers {
	color: var(--sub-color);
	background: var(--main-color);
	border-radius: 5px;
}
.pagenation a {
	color: var(--sub-color);
	border-color: var(--sub-color);
}


/********************************
Elements custom
*********************************/
.flex-control-paging li a {
	background: var(--font-color) !important;
	opacity: 0.5;
}
.flex-control-paging li a.flex-active {
	opacity: 1;
}

.flexslider {
	border: none !important;
}


/* ==========================================================================
 * Portfolio Designer プラグイン: 名前を写真下に常時表示
 * プラグインの effect_1 ホバーオーバーレイを解除し、
 * 名前テキストを写真下に静的表示する。
 *
 * プラグイン側のセレクタ:
 *   .effect_1 .mask              { opacity:0 }
 *   .effect_1 .mask-wrapper h4   { opacity:0; transform:translateY(-100px) }
 *   .effect_1:hover .mask        { opacity:1 }
 *   .effect_1:hover h4           { opacity:1; transform:translateY(0) }
 *
 * → !important で上書き。セレクタは同等以上の詳細度にする。
 * ========================================================================== */

/* ラッパー: overflow解除 → マスク領域が画像下へ出られるようにする */
.portfolio_single_wrapp .portfolio_single_wrap_box {
	overflow: visible !important;
}
.portfolio_single_wrapp .mask-wrapper.portfolio-image-content {
	overflow: visible !important;
	position: relative !important; /* .info-wrappのabsolute基準 */
}

/* マスク: フロー配置（画像下にタイトル表示）、position:static で
   .info-wrapp の absolute 基準を .mask-wrapper に委ねる */
.effect_1 .mask,
.effect_1:hover .mask {
	position: static !important;
	background: transparent !important;
	height: auto !important;
	width: 100% !important;
	opacity: 1 !important;
	overflow: visible !important;
}

/* マスク背景オーバーレイ非表示 */
.portfolio_single_wrapp .mask_bg {
	display: none !important;
}

/* mask-inner: static にして .mask-wrapper を absolute 基準にする */
.effect_1 .mask .mask-inner {
	position: static !important;
	transform: none !important;
	-webkit-transform: none !important;
	opacity: 1 !important;
	width: 100% !important;
	text-align: center;
	padding: 8px 4px;
}

/* タイトル(名前): プラグインの opacity:0 / translateY(-100px) を完全上書き */
/* 通常時: 14px で表示、ホバー時は scale で中心基点に少し縮小 */
/* セレクタ詳細度 (0,5,1) でプラグインのインラインCSS (0,4,0) に勝つ */
.portfolio_single_wrapp.effect_1 .mask-wrapper .mask h4.portfolio_designer_title {
	opacity: 1 !important;
	transform: none !important;
	-webkit-transform: none !important;
	color: var(--font-color) !important;
	background: transparent !important;
	font-size: 20px !important;
	font-weight: 600;
	margin: 4px 0 0 !important;
	padding: 0 !important;
	line-height: 1.4;
	display: block !important;
	transition: font-size 0.3s ease;
	text-align: center;
}
/* ホバー時: 中心のまま18pxに縮小（位置は動かない） */
.portfolio_single_wrapp.effect_1:hover .mask-wrapper .mask h4.portfolio_designer_title {
	opacity: 1 !important;
	transform: none !important;
	-webkit-transform: none !important;
	font-size: 18px !important;
	background: transparent !important;
	margin: 4px 0 0 !important;
	padding: 0 !important;
}

/* 説明文: 非表示 */
.effect_1 .mask-wrapper p {
	display: none !important;
}

/* リンク: .mask-wrapper全体を覆う透明クリック領域として配置 */
/* .mask, .mask-inner が static なので absolute は .mask-wrapper 基準 */
.effect_1 .mask-inner .info-wrapp {
	display: block !important;
	position: static !important;
	margin: 0 !important;
	padding: 0 !important;
	height: 0 !important;
	overflow: visible !important;
}
.effect_1 .mask-inner .info-wrapp a {
	position: absolute !important;
	top: 0 !important;
	left: 0 !important;
	width: 100% !important;
	height: 100% !important;
	z-index: 10;
	font-size: 0 !important;
	color: transparent !important;
	opacity: 0 !important;
	cursor: pointer;
}
/* 画像ズーム用リンクは非表示（外部リンクのみ有効化） */
.effect_1 .mask-inner .info-wrapp a.portfolio_zoom,
.effect_1 .mask-inner .info-wrapp a[data-lightbox],
.effect_1 .mask-inner .info-wrapp a[class*="zoom"] {
	display: none !important;
}

/* スライダー ドット: カレントを#fffで表示 */
.slick-dots.bulb-dark li.pd-nav-bullet {
	background: rgba(255, 255, 255, 0.4) !important;
	border-color: rgba(255, 255, 255, 0.4) !important;
}
.slick-dots.bulb-dark li.pd-nav-bullet.slick-active {
	background: #FFFFFF !important;
	border-color: #FFFFFF !important;
}

/* スライダー 矢印: ボタンと同じ配色 */
.portfolio_slider .pd-arrows.slick-arrow {
	background: var(--btn-background-color) !important;
	border: 1px solid var(--btn-border-color) !important;
	transition: background 0.3s ease, color 0.3s ease;
}
.portfolio_slider .pd-arrows.slick-arrow::before {
	color: var(--btn-font-color) !important;
}
/* ホバー時: ボタンホバーと同じ配色 */
.portfolio_slider .pd-arrows.slick-arrow:hover {
	background: var(--btn-hover-background-color) !important;
}
.portfolio_slider .pd-arrows.slick-arrow:hover::before {
	color: var(--btn-hover-font-color) !important;
}


/********************************
サイト専用
*********************************/
/*=== お問合せ ===*/
/* --- wpcf7 --- */
.wpcf7_tb {
	color: #ec1a49;
	border: none;
}

.wpcf7_tb td {
	text-align: left;
	border: none;
}

.wpcf7_tb1 {
  width: 20px;
  text-align: center;
  vertical-align: top;
}

/* --- wpcf7 2 --- */
.wpcf7_tb2 {
	border: none;
}

.wpcf7_tb2 td {
	text-align: left;
	border: none;
}

/*=== footer ===*/
.by a > .fineallies_logo:hover {
    fill: var(--accent-color);
    transition: all 0.5s ease;
}


/* fatmoon menu migraqqtion */

#header {
    background-color: var(--main-color);	/* #ffffff edit 20250309 */
    box-shadow: none;
    background-image: none;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 11;
    border-bottom: none;
    transition: transform .5s, background-color .5s;
}

.head {
    display: flex;					/* table -> flex edit 20250315 */
	justify-content: center; 	/* ロゴとメニューを左右に分けるにはspace-between add 20250315*/
	align-items: center;         	/* 縦中央揃え add 20250315 */
    padding: 0 15px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

a.logo {
	color: var(--header-font-color);
    font-size: 1.2em;
    font-weight: normal;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, sans-serif;
    letter-spacing: normal;
    word-spacing: normal;
    display: block;
    max-width: 350px;
    word-wrap: break-word;
    white-space: nowrap;
    padding: 10px 0;
    opacity: 1;
    vertical-align: middle;
    background: transparent 50% 50% no-repeat;
    background-size: contain;
    background-origin: content-box;
    transition: max-width .5s, padding .5s, color .5s, opacity .5s;
}

.main-navigation {
    padding: 0;
    position: relative;
    display: flex;			/* table-cell -> flexに合わせると不要 edit 20250315 */
	align-items: center;	/* ボタンやメニューを縦中央揃え */
    justify-content:center;  	/* 右寄せにはflex-end */
    width: 100%; 			/* 100%→auto 推奨 */
    vertical-align: middle;
}

/* 初期状態ではすべてのサブメニューを非表示 */
.main-navigation .sub-menu {
    display: none;
}

/* オンマウス時に親のサブメニューを表示（絶対配置にして親の幅に影響しないように） */
.main-navigation li {
    position: relative;
}
.main-navigation li:hover > .sub-menu {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    /* 必要に応じて背景色やパディングなどを指定 */
	background: var(--main-color);	/* 20250309 add */
    z-index: 1000;
}

.top-menu {
    text-align: center;
    list-style: none;
    margin: 0;
    padding: 0;
	font-weight: 600;
}

ul.top-menu {
    /* font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, sans-serif; */
}

ul.top-menu li {
    letter-spacing: normal;
    word-spacing: normal;
    position: relative;
	padding: 0;	/* パディングは<a>/<span>側に移動し、クリック領域=ホバー領域にする */
    transition: background-color 0.5s;
/*    transition-delay: .15s; */
}

/* ul.top-menu li.menu-item-has-children {
	padding-right: 26px;
} */

ul.top-menu li:hover {
	background-color: var(--header-hover-background-color);
}

ul.top-menu a,
ul.top-menu span.menu-link {
	color: var(--header-font-color);
	padding: 15px 20px;	/* li から移動: ホバー背景全域がクリック可能に */
	display: block;		/* ブロック要素にして li 全体を覆う */
}
ul.top-menu span.menu-link {
	padding: 15px 36px 15px 20px;
}

/* サブメニューがある時に右側スペース確保 */
ul.sub-menu a,
ul.sub-menu span.menu-link {
	padding: 15px 36px 15px 10px;
}

ul.top-menu a:hover {
	text-decoration: none;
}

.menu-link.plain-text: hover {
	color: var(--header-hover-font-color);
}

span.menu-link.plain-text {
	cursor: default;
}

/* 1st menu */
ul.top-menu > li:hover > span,
ul.top-menu > li:hover > span i,
ul.top-menu > li:hover > a,
ul.top-menu > li:hover > a i, 
ul.sub-menu > li:hover > span, 
ul.sub-menu > li:hover > span i {
	  color: var(--header-hover-font-color);
}

/* sub-menu hover only */
ul.top-menu li ul.sub-menu li a:hover,
ul.top-menu li ul.sub-menu li a:hover i {
	color: var(--header-hover-font-color);
}

.top-menu li {
    position: relative;
    min-height: 22px;
    font-size: 16px;
    white-space: nowrap;
}

.top-menu > li {
    float: none;
    display: inline-block;
/*    vertical-align: bottom; */
    vertical-align: top;
    text-align: left;
}

ul.sub-menu {
    list-style: none;
    position: absolute;
    padding-left: 0px;
	padding-top: 0px;
	padding-bottom: 0px;
}

.top-menu i.sub-mark {
    height: 26px;
    width: 26px;
    display: inline-block;
    position: absolute;
	top: 50%;					 /* ← 親の高さの50%位置に 0->50% edit 20250315 */
    transform: translateY(-50%); /* ← 中央寄せ上記セット */
    cursor: pointer;
    color: var(--header-font-color);
}

.fa {
    display: inline-block;
    font-family: "Font Awesome 5 Free";   /* v4「FontAwesome」→ v5 に変更 */
    font-weight: 900;                     /* v5 無料版の solid。caret・bars は 900 にしか無い */
    font-style: normal;
    font-variant: normal;
    line-height: 1;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.top-menu i.sub-mark::before {
	display: block;
	text-align: center;
	font-size: 14px;
	line-height: 26px;	/* ← 縦中央を実現（親の高さと合わせる） */
    position: static;	/* ← 余計な位置指定は不要！ absolute->static edit */
/* del 20250315
    height: 16px;
    width: 100%;
    right: 0;
    top: 50%;
    margin-top: -8px; */
}

/* 通常時: 上向き三角（畳み込み状態） */
.top-menu i.sub-mark.fa-caret-down::before {
	content: "\f0d8";	/* fa-caret-up */
	transition: content 0.3s;
}

/* ホバー時: 下向き三角（展開状態） */
ul.top-menu > li:hover > a i.sub-mark.fa-caret-down::before,
ul.top-menu > li:hover > span i.sub-mark.fa-caret-down::before, 
ul.sub-menu > li:hover > span i.sub-mark.fa-caret-down::before {
	content: "\f0d7";	/* fa-caret-down */
}

.fa-caret-up:before {
    content: "\f0d8";
}

.menu-item-has-children {
/*    padding-right: 26px; */
    padding-right: 26px;
}


/* 孫メニュー（子メニュー内のさらに下のサブメニュー）の基本設定 */
/* デフォルトは子メニューの右側に表示 */
.main-navigation .top-menu li li .sub-menu {
  position: absolute;
  top: 0;
  left: 100%; /* 子メニューの右側に表示 */
  z-index: 1000; /* 必要に応じて調整 */
  /* 他にも背景色やパディングなど、デザインに合わせた設定を追加してください */
}

/* 画面幅が1200px以下の場合、孫メニューを子メニューの左側に表示 */
@media screen and (max-width: 1200px) {
  .main-navigation .top-menu li li .sub-menu {
    left: auto;
    right: 100%; /* 子メニューの左側に表示 */
  }
}

/* .fa.sub-mark {
    cursor: default;
    pointer-events: none;
} */


.menu-link.plain-text {
    cursor: pointer;
	color: var(--header-font-color);	/* 20250309 add */
}

/* デスクトップ用（1025px以上）は既存の設定通り */
/* PC用：デスクトップメニュー（.desktop-menu）の hover 表示 */
@media screen and (min-width: 1025px) {
    /* デスクトップ時は従来の absolute でサブメニュー表示など */
    .desktop-menu {
        display: block;
    }
    .desktop-menu li:hover > .sub-menu {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 1000;
    }
    #mobile-menu-opener {
        display: none;
    }
    /* ハンバーガーメニューは非表示 */
    .mobile-menu {
        display: none;
    }
    .top-menu li.menu-item-has-children ul.sub-menu li.menu-item-has-children > ul.sub-menu {
    /*  padding-top: 0;
        margin-top: 0px !important; */
    margin-top: 0px;	/* 20260927 -10 -> 0 edit */
    }

}

/* モバイル用：1024px以下 */
@media screen and (max-width: 1024px) {
    /* ハンバーガーメニュー用オープナーは表示 */
    #mobile-menu-opener {
		display: flex;				/* inline-block -> flex edit 20250315 */
    	align-items: center;		/* 縦方向の中央寄せ add 2025031 */
    	justify-content: center;	/* 横方向の中央寄せ add 2025031 */

    	width: 60px;
    	height: 60px;

    	padding: 0;
		margin-left: auto;		/* 必要であれば右側に寄せる add 20250315 */
/*		padding-right: 10px; 	   必要なら余白調整 add 20250315 */

    	background: none; 		/* 背景色が気になるなら、noneにする */
    	border: none;  			/* ボーダーなし */
    	box-shadow: none; 		/* 影もいらなければ消す */

    	cursor: pointer;
    	font-size: 24px;		/* アイコンの大きさ */
    	color: var(--header-font-color); /* カラー */
    }
	#mobile-menu-opener:hover {
		opacity: 0.6;
		transition: all 0.3s ease 0s;
	}
    /* PC用メニューは非表示、モバイルメニューを表示 */
    .desktop-menu {
        display: none;
    }
    .mobile-menu {
        position: fixed;
        top: 60px; /* header の高さ（実際の値に合わせて調整） */
        left: 0;
        width: 100%;
        background: var(--main-color);
        z-index: 9999;
        display: none; /* 初期は非表示。JavaScript で active クラス付与時に表示 */
    }
    .mobile-menu.active {
        display: block;
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        bottom: 0;                  /* top+bottomで高さを自動算出 */
        box-sizing: border-box;
        padding: 20px 0px;
        opacity: 0.9;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
        touch-action: pan-y;
        text-align: left;
        z-index: 40;
    }
    /* 縦並び表示 */
    .mobile-menu ul.top-menu {
        display: block;
    }
    .mobile-menu ul.top-menu li {
        display: block;
        width: 100%;
        /* background: var(--background-color); */
    }

  /* サブメニューは文書フロー内に配置、CSS transitionで開閉制御 */
  .mobile-menu .sub-menu {
    position: static;
    display: block;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding-left: 1em; /* サブメニューのインデント */
  }
  /* hover によるサブメニュー表示は無効にする */
  /* .main-navigation li:hover > .sub-menu の position:absolute を上書き */
  .mobile-menu li:hover > .sub-menu {
    position: static;
    max-height: 0;
  }
  /* active クラスが付いた場合はサブメニューを表示 */
  .mobile-menu li.active > .sub-menu {
    position: static;
    max-height: 500px;
  }
  /* モバイル: 孫メニューもフロー内に配置（PC用の横出しを打ち消す） */
  .mobile-menu .top-menu li li .sub-menu {
    position: static;
    top: auto;
    left: auto;
    right: auto;
  }

	/* モバイル: ホバー時の背景・文字色変更を無効化（タップで:hoverが残るため） */
	.mobile-menu ul.top-menu li:hover {
		background-color: transparent;
	}
	.mobile-menu ul.top-menu > li:hover > a,
	.mobile-menu ul.top-menu > li:hover > a i,
	.mobile-menu ul.top-menu > li:hover > span,
	.mobile-menu ul.top-menu > li:hover > span i {
		color: var(--header-font-color);
	}
	.mobile-menu ul.top-menu li ul.sub-menu li a:hover,
	.mobile-menu ul.top-menu li ul.sub-menu li a:hover i {
		color: var(--header-font-color);
	}

	/* モバイル: 矢印の向き（PCと同じ: 閉じ=▲、開き=▼） */
	.mobile-menu i.sub-mark.fa-caret-down::before {
		content: "\f0d8";	/* fa-caret-up（閉じた状態） */
	}
	.mobile-menu li.active > a i.sub-mark.fa-caret-down::before,
	.mobile-menu li.active > span i.sub-mark.fa-caret-down::before {
		content: "\f0d7";	/* fa-caret-down（展開状態） */
	}

	/* モバイルメニュー時のアイコン位置を調整 */
	.mobile-menu i.sub-mark {
    	position: static;   /* absolute -> static にして自然なフローに戻す */
    	top: auto;          /* top指定をリセット */
    	transform: none;    /* transformもリセット */
    	margin-left: 1px;   /* テキストとアイコンの間にスペースを作る */
    	display: inline-block;
    	vertical-align: middle; /* テキストと縦揃え */
		padding-top: 3px;
	}

	.mobile-menu i.sub-mark::before {
    	line-height: normal; /* デスクトップ用26pxに合わせる必要はない */
	}
  .mobile-menu li a,
  .mobile-menu li span.menu-link {
    display: block;
    width: 100%;
    padding: 10px 20px; /* SP用: 縦間隔を縮小（PC: 15px 20px） */
  }
	
}

/* ============================================================
   ブログ一覧の表示調整（2026/7/20 最終版）
   ============================================================ */

/* アイキャッチは元の縦横比のまま全幅表示。
   背景色は指定しない（白背景だと白メインの透過画像が見えなくなる） */
.pickup-item-img img,
.entry-item-img img {
	width: 100%;
}

/* ピックアップ枠は非表示（2026/7/20 後藤英夫氏の判断）。
   将来復活させる場合は、この display:none を削除したうえで
   上方の #pickup { height: 0; } を height:auto に変更し、
   固定ヘッダーぶんの余白（margin-top:60px 程度）を追加すること。
   高さ0のままだと中身がはみ出して下のコンテンツに重なる。 */
#pickup {
	display: none;
}
