.grecaptcha-badge {
    visibility: hidden;
}

.mtauto{
	margin-top: auto;
}

/* ==================================================
   Post / Article Design
   投稿ページ専用
================================================== */


/* --------------------------------------------------
   Article Base
-------------------------------------------------- */

.single-post #post {
	color: #333;
	font-size: 1rem;
	line-height: 2;
}

.single-post .entry {
	padding: 0;
}

.single-post #post p {
	margin-bottom: 1.8em;
	font-size: 1rem;
	line-height: 2;
	letter-spacing: 0.015em;
}


/* --------------------------------------------------
   Article Title
-------------------------------------------------- */

.single-post .entrytitle {
	margin: 0 0 14px;
	padding: 0;
	color: var(--blackcolor);
	font-size: var(--ffx-page-h1);
	line-height: 1.45;
	font-weight: 500;
	letter-spacing: 0.01em;
	text-align: left;
}


/* 公開日・更新日 */
.single-post .entry-date {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 22px;
	margin: 12px 0 34px;
	color: #777;
	font-size: 0.82rem;
	line-height: 1.6;
	letter-spacing: 0.02em;
}

.single-post .entry-date time {
	color: inherit;
}


/* ==================================================
   Headings
================================================== */


/* 投稿・固定ページ共通：タイトル(H1)の文字サイズと見出し(H2〜H4)
   サイズは下の変数で調整（PC／スマホ）。固定ページ側の同名の設定は共通化のため削除済み
-------------------------------------------------- */
:root {
	--ffx-page-h1: clamp(1.6rem, 2.35vw, 1.9rem);      /* タイトル(H1) */
	--ffx-page-h2: clamp(1.35rem, 1.95vw, 1.65rem);    /* 見出し2 */
	--ffx-page-h3: clamp(1.18rem, 1.6vw, 1.35rem);     /* 見出し3 */
	--ffx-page-h4: 1.05rem;                            /* 見出し4 */
}

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

	:root {
		--ffx-page-h1: clamp(1.4rem, 5.8vw, 1.65rem);
		--ffx-page-h2: clamp(1.25rem, 5vw, 1.5rem);
		--ffx-page-h3: clamp(1.1rem, 4.4vw, 1.3rem);
		--ffx-page-h4: 1rem;
	}
}


/* --------------------------------------------------
   H2 - やわらかな帯
-------------------------------------------------- */

.single-post .entry h2,
.page:not(.home) .entry h2 {
	position: relative;
	margin: 2.4em 0 1em;
	padding: 14px 20px 14px 26px;
	border: 0;
	border-radius: 8px;
	background: var(--lightcolor);
	color: var(--blackcolor);
	font-size: var(--ffx-page-h2);
	line-height: 1.6;
	font-weight: 600;
	letter-spacing: 0.02em;
}

.single-post .entry h2::before,
.page:not(.home) .entry h2::before {
	content: "";
	position: absolute;
	top: 18px;
	bottom: 18px;
	left: 12px;
	width: 4px;
	border-radius: 4px;
	background: var(--maincolor);
}


/* --------------------------------------------------
   H3 - 下線＋短いアクセント線
-------------------------------------------------- */

.single-post .entry h3,
.page:not(.home) .entry h3 {
	position: relative;
	margin: 2em 0 0.9em;
	padding: 0 0 11px;
	border: 0;
	border-bottom: 1px solid #dce9e1;
	border-bottom-color: color-mix(in srgb, var(--maincolor) 15%, var(--whitecolor));
	border-radius: 0;
	background: transparent;
	color: var(--blackcolor);
	font-size: var(--ffx-page-h3);
	line-height: 1.6;
	font-weight: 600;
	letter-spacing: 0.02em;
}

.single-post .entry h3::after,
.page:not(.home) .entry h3::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -1px;
	width: 48px;
	height: 3px;
	border-radius: 3px;
	background: var(--maincolor);
}


/* --------------------------------------------------
   H4 - 小さな丸つき
-------------------------------------------------- */

.single-post .entry h4,
.page:not(.home) .entry h4 {
	position: relative;
	margin: 1.7em 0 0.8em;
	padding: 0 0 0 17px;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: var(--blackcolor);
	font-size: var(--ffx-page-h4);
	line-height: 1.65;
	font-weight: 600;
	letter-spacing: 0.02em;
}

.single-post .entry h4::before,
.page:not(.home) .entry h4::before {
	content: "";
	position: absolute;
	top: 0.53em;
	left: 0;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--maincolor);
}


/* 本文が見出しから始まる場合は上余白を重ねない */
.single-post .entry > h2:first-child,
.single-post .entry > h3:first-child,
.single-post .entry > h4:first-child,
.page:not(.home) .entry > h2:first-child,
.page:not(.home) .entry > h3:first-child,
.page:not(.home) .entry > h4:first-child {
	margin-top: 0;
}




/* ==================================================
   Lists
================================================== */


/* --------------------------------------------------
   Unordered List
-------------------------------------------------- */

.single-post .entry ul {
	margin: 1.5em 0 2em;
	padding: 0;

	list-style: none;

	color: #333;
	line-height: 1.8;
}

.single-post .entry ul > li {
	position: relative;

	margin: 0 0 0.8em;
	padding-left: 1.55em;
}

.single-post .entry ul > li::before {
	content: "";

	position: absolute;
	left: 0.25em;
	top: 0.72em;

	width: 6px;
	height: 6px;

	border-radius: 50%;
	background: var(--maincolor);
}


/* --------------------------------------------------
   Ordered List
-------------------------------------------------- */

.single-post .entry ol {
	margin: 1.5em 0 2em;
	padding: 0;

	list-style: none;
	counter-reset: kaze-counter;

	color: #333;
	line-height: 1.8;
}

.single-post .entry ol > li {
	position: relative;

	margin: 0 0 1em;
	padding-left: 3em;

	counter-increment: kaze-counter;
}

.single-post .entry ol > li::before {
	content: counter(kaze-counter, decimal-leading-zero);

	position: absolute;
	left: 0;
	top: 0.05em;

	color: var(--maincolor);

	font-size: 0.82rem;
	line-height: 1.8;
	font-weight: 600;
	letter-spacing: 0.06em;
}


/* --------------------------------------------------
   Nested Lists
-------------------------------------------------- */

.single-post .entry li > ul,
.single-post .entry li > ol {
	margin-top: 0.6em;
	margin-bottom: 0.6em;
}


/* ==================================================
   Table
================================================== */

.single-post .entry table {
	width: 100%;

	margin: 2em 0 2.5em;

	border: 0;
	border-collapse: collapse;
	border-spacing: 0;

	background: #fff;

	font-size: 0.94rem;
	line-height: 1.7;
}

.single-post .entry th,
.single-post .entry td {
	padding: 16px 18px;

	border: 1px solid #e3e7ea;

	vertical-align: top;
	text-align: left;

	font-size: inherit;
}

.single-post .entry th {
	background: #f4f7f9;

	color: #222;
	font-weight: 600;
}

.single-post .entry tr:first-child th,
.single-post .entry tr:first-child td {
	border-top: 1px solid #e3e7ea;
}


/* 左列見出し型の表にも対応 */
.single-post .entry tbody th {
	width: 28%;
}


/* ==================================================
   Blockquote
================================================== */

.single-post .entry blockquote {
	margin: 2.2em 0;
	padding: 22px 26px;

	border: 0;
	border-left: 3px solid var(--maincolor);

	background: #f6f8fa;

	color: #444;

	font-size: 0.96rem;
	line-height: 1.9;
}

.single-post .entry blockquote p:last-child {
	margin-bottom: 0;
}


/* ==================================================
   Strong / Emphasis
================================================== */

.single-post .entry strong {
	color: #222;
	font-weight: 600;
}


/* ==================================================
   Links
================================================== */

.single-post .entry a {
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}


/* ==================================================
   Horizontal Rule
================================================== */

.single-post .entry hr {
	margin: 3em 0;

	border: 0;
	border-top: 1px solid #e3e7ea;
}


/* ==================================================
   Images
================================================== */

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


/* ==================================================
   Responsive
================================================== */

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

	.single-post #post {
		font-size: 0.96rem;
		line-height: 1.95;
	}

	.single-post #post p {
		font-size: 0.96rem;
		line-height: 1.95;
	}


	/* Title */
	.single-post .entrytitle {
		margin-bottom: 12px;

		line-height: 1.5;
	}


	/* Date */
	.single-post .entry-date {
		gap: 4px 16px;

		margin: 10px 0 28px;

		font-size: 0.78rem;
	}


	/* H2〜H4（固定ページと共通） */
	.single-post .entry h2,
	.page:not(.home) .entry h2 {
		margin-top: 2em;
		padding: 12px 16px 12px 24px;
	}

	.single-post .entry h2::before,
	.page:not(.home) .entry h2::before {
		top: 16px;
		bottom: 16px;
		left: 10px;
	}

	.single-post .entry h3,
	.page:not(.home) .entry h3 {
		margin-top: 1.8em;
	}

	.single-post .entry h4,
	.page:not(.home) .entry h4 {
		margin-top: 1.5em;
	}


	/* Lists */
	.single-post .entry ul > li {
		padding-left: 1.4em;
	}

	.single-post .entry ol > li {
		padding-left: 2.7em;
	}


	/* Table */
	.single-post .entry table {
		font-size: 0.9rem;
	}

	.single-post .entry th,
	.single-post .entry td {
		padding: 12px 10px;
	}

	.single-post .entry tbody th {
		width: 32%;
	}


	/* Blockquote */
	.single-post .entry blockquote {
		padding: 18px 20px;

		font-size: 0.93rem;
	}

}

/* ==================================================
   Fixed Page Design
   固定ページだけに適用し、トップページと投稿ページには影響しません。
================================================== */


/* --------------------------------------------------
   Page Base
-------------------------------------------------- */

.page:not(.home) #post {
	color: #333;
	font-size: 1rem;
	line-height: 1.9;
}

.page:not(.home) .entry {
	padding: 0;
}

.page:not(.home) #post p {
	margin: 0 0 1.45em;
	font-size: 1rem;
	line-height: 1.9;
	letter-spacing: 0.012em;
}


/* --------------------------------------------------
   Page Title / H1
-------------------------------------------------- */

.page:not(.home) .entrytitle {
	margin: 0 0 38px;
	padding: 0 0 20px;
	border-bottom: 1px solid #dfe5e8;
	color: var(--blackcolor);
	font-size: var(--ffx-page-h1);
	line-height: 1.45;
	font-weight: 500;
	letter-spacing: 0.01em;
	text-align: left;
}


/* H2〜H4 は投稿と共通のため、上の「Headings」にまとめています */


/* --------------------------------------------------
   Lists
-------------------------------------------------- */

.page:not(.home) .entry ul,
.page:not(.home) .entry ol {
	margin: 1.4em 0 1.8em;
	padding-left: 1.55em;
	color: #333;
	line-height: 1.85;
}

.page:not(.home) .entry ul {
	list-style: disc;
}

.page:not(.home) .entry ol {
	list-style: decimal;
}

.page:not(.home) .entry li {
	margin: 0 0 0.65em;
	padding-left: 0.2em;
}

.page:not(.home) .entry li:last-child {
	margin-bottom: 0;
}

.page:not(.home) .entry li::marker {
	color: var(--maincolor);
	font-weight: 600;
}

.page:not(.home) .entry li > ul,
.page:not(.home) .entry li > ol {
	margin-top: 0.55em;
	margin-bottom: 0.55em;
}


/* --------------------------------------------------
   Strong / Links
-------------------------------------------------- */

.page:not(.home) .entry strong {
	color: #222;
	font-weight: 600;
}

.page:not(.home) .entry a {
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}


/* --------------------------------------------------
   Images / Figures
-------------------------------------------------- */

.page:not(.home) .entry img {
	max-width: 100%;
	height: auto;
}

.page:not(.home) .entry figure {
	max-width: 100%;
	margin: 1.8em 0 2.2em;
}

.page:not(.home) .entry figure img {
	display: block;
	margin: 0;
}

.page:not(.home) .entry figcaption,
.page:not(.home) .entry .wp-caption-text {
	margin: 10px 0 0;
	padding: 0;
	color: #778188;
	font-size: 0.78rem;
	line-height: 1.65;
	text-align: left;
}

.page:not(.home) .entry .wp-caption {
	max-width: 100%;
	padding: 0;
	border: 0;
	background: transparent;
	text-align: left;
}

.page:not(.home) .catchimg {
	margin: 0 0 40px;
}

.page:not(.home) .catchimg img {
	display: block;
	width: 100%;
	height: auto;
	margin: 0;
}


/* --------------------------------------------------
   Blockquote / Notice
-------------------------------------------------- */

.page:not(.home) .entry blockquote {
	margin: 2em 0;
	padding: 21px 24px;
	border: 0;
	border-left: 3px solid var(--maincolor);
	background: #f5f7f8;
	color: #434e55;
	font-size: 0.95rem;
	line-height: 1.85;
}

.page:not(.home) .entry blockquote p:last-child {
	margin-bottom: 0;
}


/* --------------------------------------------------
   Table
-------------------------------------------------- */

.page:not(.home) .entry table {
	width: 100%;
	margin: 2em 0 2.8em;
	border: 1px solid #dfe5e8;
	border-collapse: collapse;
	border-spacing: 0;
	background: #fff;
	font-size: 0.95rem;
	line-height: 1.85;
	box-shadow: 0 8px 28px rgba(17, 34, 48, 0.045);
}

.page:not(.home) .entry th,
.page:not(.home) .entry td {
	padding: 20px 24px;
	border: 0;
	border-bottom: 1px solid #e3e8eb;
	border-left: 1px solid #e3e8eb;
	border-right: 1px solid #e3e8eb;
	vertical-align: top;
	text-align: left;
	font-size: inherit;
}

.page:not(.home) .entry th {
	width: 25%;
	border-right: 1px solid #e3e8eb;
	background: #f4f7f8;
	color: #29343b;
	font-weight: 600;
	letter-spacing: 0.02em;
}

.page:not(.home) .entry tr:last-child th,
.page:not(.home) .entry tr:last-child td {
	border-bottom: 0;
}

.page:not(.home) .entry td > :first-child {
	margin-top: 0;
}

.page:not(.home) .entry td > :last-child {
	margin-bottom: 0;
}


/* --------------------------------------------------
   Horizontal Rule
-------------------------------------------------- */

.page:not(.home) .entry hr {
	margin: 2.8em 0;
	border: 0;
	border-top: 1px solid #dfe5e8;
}


/* ==================================================
   Fixed Page Responsive
================================================== */

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

	.page:not(.home) #post p {
		margin-bottom: 1.35em;
		font-size: 0.96rem;
		line-height: 1.9;
	}

	.page:not(.home) .entrytitle {
		margin-bottom: 30px;
		padding-bottom: 16px;
		line-height: 1.5;
	}

	.page:not(.home) .entry ul,
	.page:not(.home) .entry ol {
		margin: 1.25em 0 1.6em;
		padding-left: 1.4em;
		font-size: 0.96rem;
		line-height: 1.8;
	}

	.page:not(.home) .entry figure {
		margin: 1.5em 0 1.8em;
	}

	.page:not(.home) .entry blockquote {
		padding: 18px 19px;
		font-size: 0.92rem;
	}

	.page:not(.home) .entry table {
		font-size: 0.9rem;
	}

	.page:not(.home) .entry th,
	.page:not(.home) .entry td {
		padding: 13px 11px;
	}

	.page:not(.home) .entry th {
		width: 31%;
	}

}


/* ==================================================
   Archive / Category
================================================== */


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

.archive #post {
	background: transparent;
}

.archive .archive-header {
	margin-bottom: 56px;
	padding-bottom: 34px;
	border-bottom: 1px solid #e5e8eb;
}

.archive .archive-header__label {
	margin: 0 0 14px;
	padding: 0;

	color: var(--maincolor);

	font-size: 0.72rem;
	line-height: 1.5;
	font-weight: 500;
	letter-spacing: 0.18em;
}

.archive .archive-header__title {
	margin: 0;
	padding: 0;

	color: #222;

	font-size: clamp(2rem, 3vw, 2.8rem);
	line-height: 1.45;
	font-weight: 500;
	letter-spacing: 0.01em;
}

.archive .archive-header__description {
	max-width: 720px;
	margin-top: 18px;

	color: #666;

	font-size: 0.95rem;
	line-height: 1.9;
}


/* --------------------------------------------------
   Archive List
-------------------------------------------------- */

.archive .archive-list {
	display: block;
}

.archive .archive-item {
	display: grid;

	grid-template-columns:
		minmax(280px, 42fr)
		minmax(0, 58fr);

	align-items: start;

	gap: 34px;

	margin: 0;
	padding: 34px 0;

	border-bottom: 1px solid #e5e8eb;
}


/* Image
-------------------------------------------------- */

.archive .archive-item__image {
	display: flex;
	align-items: center;
	justify-content: center;

	align-self: start;

	width: 100%;
	aspect-ratio: 16 / 9;

	margin: 0;
	padding: 0;

	overflow: hidden;

	background: #f6f7f8;

	text-decoration: none;
	line-height: 0;
}

.archive .archive-item__image img {
	display: block;

	width: 100% !important;
	height: 100% !important;
	max-width: none;

	margin: 0 !important;
	padding: 0;

	object-fit: contain;

	transition: transform 0.35s ease;
}

.archive .archive-item__image:hover img {
	transform: scale(1.025);
}


/* Body
-------------------------------------------------- */

.archive .archive-item__body {
	min-width: 0;
	padding-top: 2px;
}


/* Meta
-------------------------------------------------- */

.archive .archive-item__meta {
	display: flex;
	flex-wrap: wrap;

	align-items: center;

	gap: 8px 14px;

	margin-bottom: 14px;

	color: #777;

	font-size: 0.76rem;
	line-height: 1.5;
	letter-spacing: 0.04em;
}

.archive .archive-item__category {
	display: inline-block;

	padding: 3px 8px;

	background: #f2f5f7;

	color: #555;

	font-size: 0.72rem;
}


/* Title
-------------------------------------------------- */

.archive .archive-item__title {
	margin: 0 0 16px;
	padding: 0;

	background: none;
	border: 0;

	color: #222;

	font-size: clamp(1.35rem, 2vw, 1.75rem);
	line-height: 1.55;
	font-weight: 500;
	letter-spacing: 0.01em;
}

.archive .archive-item__title a {
	color: inherit;
	text-decoration: none;
}

.archive .archive-item__title a:hover {
	color: var(--maincolor);
}


/* Excerpt
-------------------------------------------------- */

.archive .archive-item__excerpt {
	color: #555;

	font-size: 0.92rem;
	line-height: 1.9;
}

.archive .archive-item__excerpt p {
	margin: 0;
}


/* Read More
-------------------------------------------------- */

.archive #post p.archive-item__more {
	margin: 22px 0 0;
}

.archive .archive-item__more a {
	display: inline-flex;
	align-items: center;

	gap: 9px;

	padding: 0;

	border: 0;
	background: transparent;

	color: var(--maincolor);

	font-size: 0.82rem;
	line-height: 1.5;
	font-weight: 500;
	letter-spacing: 0.03em;

	text-decoration: none;
}

.archive .archive-item__more span {
	transition: transform 0.25s ease;
}

.archive .archive-item__more a:hover span {
	transform: translateX(4px);
}


/* ==================================================
   Archive Responsive
================================================== */

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

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

	.archive .archive-item {
		grid-template-columns: 1fr;
		gap: 20px;

		padding: 30px 0;
	}

	.archive .archive-item__image {
		width: 100%;
	}

	.archive .archive-item__image img {
		aspect-ratio: 16 / 9;
	}

}


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

	.archive .archive-header__title {
		font-size: clamp(1.7rem, 7vw, 2.3rem);
	}

	.archive .archive-item__title {
		font-size: clamp(1.25rem, 5.5vw, 1.55rem);
	}

	.archive .archive-item__excerpt {
		font-size: 0.9rem;
		line-height: 1.85;
	}

}

/* ==================================================
   Entry Eyecatch
================================================== */

.single-post .entry-eyecatch,
.page .entry-eyecatch {
	margin: 34px 0 54px;
	padding: 18px;

	background: #f6f8fa;
}

.single-post .entry-eyecatch__image,
.page .entry-eyecatch__image {
	display: block;

	width: 100%;
	height: auto;

	margin: 0;

	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}


/* --------------------------------------------------
   Responsive
-------------------------------------------------- */

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

	.single-post .entry-eyecatch,
	.page .entry-eyecatch {
		margin: 26px 0 38px;
	}

}

/* ==================================================
   Pagination
================================================== */

.archive .pagination,
.archive .wp-pagenavi {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;

	margin: 46px 0 90px;
	padding: 0;

	font-size: 0.9rem;
}


/* ページ番号 */
.archive .pagination a,
.archive .pagination span,
.archive .wp-pagenavi a,
.archive .wp-pagenavi span {
	display: inline-flex;
	align-items: center;
	justify-content: center;

	min-width: 38px;
	height: 38px;

	padding: 0 11px;

	border: 1px solid #dfe4e8;

	background: #fff;

	color: #555;

	text-decoration: none;
	line-height: 1;

	transition:
		border-color 0.2s ease,
		background-color 0.2s ease,
		color 0.2s ease;
}


/* hover */
.archive .pagination a:hover,
.archive .wp-pagenavi a:hover {
	border-color: var(--maincolor);
	color: var(--maincolor);
}


/* 現在ページ */
.archive .pagination .current,
.archive .wp-pagenavi .current {
	border-color: var(--maincolor);
	background: var(--maincolor);

	color: #fff;

	font-weight: 500;
}


/* 「1/13」のようなページ数表示 */
.archive .wp-pagenavi .pages {
	min-width: auto;

	padding: 0 12px;

	border-color: transparent;

	background: #f4f6f8;

	color: #777;
}


/* 省略記号 */
.archive .wp-pagenavi .extend {
	min-width: 30px;

	padding: 0 4px;

	border-color: transparent;

	background: transparent;

	color: #999;
}


/* 最後へ・次へ */
.archive .wp-pagenavi .nextpostslink,
.archive .wp-pagenavi .previouspostslink,
.archive .wp-pagenavi .last,
.archive .wp-pagenavi .first {
	padding-left: 14px;
	padding-right: 14px;
}

/* ==================================================
   Contact / Soudan
================================================== */

.soudan-area {
	margin-top: 90px;
	padding: 70px clamp(28px, 5vw, 70px) 76px;

	background: #f6f8fa;

	border: 0;
}

/* トップページ（LP）では色付きの帯の中に入るため、上の余白は帯側（.pad50）に任せる。
   下層ページでは、本文との間隔として上の 90px（スマホ 70px）がそのまま使われます。 */
#top-lp .soudan-area {
	margin-top: 0;
}


/* --------------------------------------------------
   Main Title
-------------------------------------------------- */

.soudan-area .soudan-title {
	margin: 0 0 18px;
	padding: 0;

	background: none;
	border: 0;

	color: #222;

	font-size: clamp(2rem, 3vw, 2.7rem);
	line-height: 1.45;
	font-weight: 500;
	letter-spacing: 0.01em;
	text-align: left;
}


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

.soudan-area .soudan-header {
	margin: 44px 0 30px;
	padding: 0 0 15px;

	background: none;
	border: 0;
	border-bottom: 1px solid #dfe4e8;

	color: var(--maincolor);

	font-size: 1.15rem;
	line-height: 1.5;
	font-weight: 500;
	letter-spacing: 0.02em;
	text-align: left;
}


/* 最初の小見出し */
.soudan-area .soudan-title + .soudan-header {
	margin-top: 30px;
}


/* --------------------------------------------------
   Telephone
-------------------------------------------------- */

.soudan-area .center {
	text-align: left;
}

.soudan-area .center > p {
	margin: 0 0 12px;

	color: #555;

	font-size: 0.92rem;
	line-height: 1.8;
}

.soudan-area .soudancontact-number {
	margin: 0 0 6px;

	font-size: clamp(1.8rem, 3vw, 2.5rem);
	line-height: 1.3;
	font-weight: 500;
	letter-spacing: 0.02em;
}

.soudan-area .soudancontact-number a {
	color: var(--maincolor);
	text-decoration: none;
}

.soudan-area .soudancontact-info {
	color: #777;

	font-size: 0.82rem;
	line-height: 1.7;
}


/* ==================================================
   Contact Form 7
================================================== */

.soudan-area .wpcf7 {
	margin: 0;
	padding: 0;
}

.soudan-area .wpcf7-form {
	margin: 0;
	padding: 0;
}


/* 各項目 */
.soudan-area .wpcf7-form p {
	margin: 0 0 28px;

	color: #333;

	font-size: 0.95rem;
	line-height: 1.8;
}


/* ラベル */
.soudan-area .wpcf7-form label {
	display: block;

	margin: 0 0 9px;

	color: #333;

	font-weight: 500;
}


/* --------------------------------------------------
   Form Controls
-------------------------------------------------- */

.soudan-area input[type="text"],
.soudan-area input[type="email"],
.soudan-area input[type="tel"],
.soudan-area input[type="url"],
.soudan-area select,
.soudan-area textarea {
	display: block;

	width: 100%;
	max-width: none;

	box-sizing: border-box;

	margin: 8px 0 0;
	padding: 13px 14px;

	border: 1px solid #cfd5da;
	border-radius: 2px;

	background: #fff;

	color: #222;

	font-family: inherit;
	font-size: 1rem;
	line-height: 1.6;

	transition:
		border-color 0.2s ease,
		box-shadow 0.2s ease,
		background-color 0.2s ease;
}


/* 一行フォーム */
.soudan-area input[type="text"],
.soudan-area input[type="email"],
.soudan-area input[type="tel"],
.soudan-area input[type="url"],
.soudan-area select {
	min-height: 50px;
}


/* textarea */
.soudan-area textarea {
	min-height: 210px;
	resize: vertical;
}


/* focus */
.soudan-area input[type="text"]:focus,
.soudan-area input[type="email"]:focus,
.soudan-area input[type="tel"]:focus,
.soudan-area input[type="url"]:focus,
.soudan-area select:focus,
.soudan-area textarea:focus {
	outline: none;

	border-color: var(--maincolor);

	background: #fff;

	box-shadow: 0 0 0 3px rgba(0, 72, 125, 0.08);
}


/* --------------------------------------------------
   Select
-------------------------------------------------- */

.soudan-area select {
	appearance: auto;
	-webkit-appearance: auto;

	cursor: pointer;
}


/* --------------------------------------------------
   Date（input type="date"）
   見た目の指定が無いと、iPhone では Safari 標準の「灰色の丸い枠」になり、
   未入力のときは文字も出ない。ほかの入力欄と同じ見た目にそろえる。
-------------------------------------------------- */

.wpcf7 input[type="date"] {
	display: flex;
	align-items: center;
	box-sizing: border-box;
	width: 100%;
	min-width: 0;
	max-width: none;
	min-height: 50px;
	margin: 8px 0 0;
	padding: 13px 14px;
	border: 1px solid #cfd5da;
	border-radius: 2px;
	background-color: #fff;
	color: #222;
	font-family: inherit;
	font-size: 1rem;
	line-height: 1.6;
	-webkit-appearance: none;
	appearance: none;
}

.wpcf7 input[type="date"]:focus {
	outline: none;
	border-color: var(--maincolor);
	box-shadow: 0 0 0 3px rgba(0, 72, 125, 0.08);
}

/* iPhone では選んだ日付が中央寄せになるので、左寄せにする */
.wpcf7 input[type="date"]::-webkit-date-and-time-value {
	text-align: left;
}

/* iPhone / iPad の Safari だけ：
   標準ではカレンダーの印も「年/月/日」の案内も出ないので、印と案内文を足す。
   案内文は menu.js が未入力の欄に付ける is-empty クラスで出し分ける */
@supports (-webkit-touch-callout: none) {

	.wpcf7 input[type="date"] {
		padding-right: 46px;
		background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23555' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='5' width='17' height='15.5' rx='2'/%3E%3Cpath d='M3.5 10h17M8 3v4M16 3v4'/%3E%3C/svg%3E");
		background-repeat: no-repeat;
		background-position: right 14px center;
		background-size: 20px 20px;
	}

	.wpcf7 input[type="date"].is-empty::before {
		content: "日付を選択";
		color: #888;
	}
}


/* --------------------------------------------------
   Checkbox
-------------------------------------------------- */

.soudan-area input[type="checkbox"] {
	width: 16px;
	height: 16px;

	margin: 0 8px 0 0;

	vertical-align: -2px;

	accent-color: var(--maincolor);
}

.soudan-area .wpcf7-list-item {
	margin-left: 0;
}


/* --------------------------------------------------
   Required
-------------------------------------------------- */

.soudan-area .required,
.soudan-area .hissu,
.soudan-area .must {
	display: inline-block;

	margin-left: 7px;
	padding: 2px 6px;

	background: var(--maincolor);

	color: #fff;

	font-size: 0.65rem;
	line-height: 1.4;
	font-weight: 500;
	letter-spacing: 0.03em;

	vertical-align: 2px;
}


/* --------------------------------------------------
   Submit
-------------------------------------------------- */

.soudan-area input[type="submit"],
.soudan-area button[type="submit"] {
	display: block;

	width: min(100%, 320px);

	margin: 38px auto 0;
	padding: 15px 28px;

	border: 0;
	border-radius: 2px;

	background: var(--maincolor);

	color: #fff;

	font-family: inherit;
	font-size: 1rem;
	line-height: 1.5;
	font-weight: 500;
	letter-spacing: 0.06em;

	cursor: pointer;

	transition:
		background-color 0.2s ease,
		transform 0.2s ease;
}

.soudan-area input[type="submit"]:hover,
.soudan-area button[type="submit"]:hover {
	/* メインカラーを少し暗くした色(color-mix 非対応のブラウザではメインカラーのまま) */
	background: var(--maincolor);
	background: color-mix(in srgb, var(--maincolor) 78%, #000);
	/* style.css の .wpcf7-submit:hover が文字をメインカラーにするので、白に固定する */
	color: #fff;
	transform: translateY(-1px);
}


/* --------------------------------------------------
   CF7 Messages
-------------------------------------------------- */

.soudan-area .wpcf7-response-output {
	margin: 28px 0 0 !important;
	padding: 14px 16px !important;

	border-width: 1px !important;

	font-size: 0.88rem;
	line-height: 1.7;
}

.soudan-area .wpcf7-not-valid-tip {
	margin-top: 6px;

	color: #b42318;

	font-size: 0.78rem;
}


/* --------------------------------------------------
   reCAPTCHA / note
-------------------------------------------------- */

.soudan-area .wpcf7-form > p:last-child {
	margin-top: 34px;
	margin-bottom: 0;

	color: #777;

	font-size: 0.78rem;
	line-height: 1.8;
}


/* ==================================================
   Responsive
================================================== */

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

	.soudan-area {
		margin-top: 70px;
		padding: 46px 20px 52px;
	}

	.soudan-area .soudan-title {
		font-size: clamp(1.7rem, 7vw, 2.2rem);
	}

	.soudan-area .soudan-header {
		margin-top: 34px;
		margin-bottom: 24px;

		font-size: 1.05rem;
	}

	.soudan-area .wpcf7-form p {
		margin-bottom: 24px;

		font-size: 0.92rem;
	}

	.soudan-area input[type="text"],
	.soudan-area input[type="email"],
	.soudan-area input[type="tel"],
	.soudan-area input[type="url"],
	.soudan-area select,
	.soudan-area textarea {
		font-size: 16px;
	}

	.soudan-area textarea {
		min-height: 180px;
	}

	.soudan-area input[type="submit"],
	.soudan-area button[type="submit"] {
		width: 100%;
	}

}

/* --------------------------------------------------
   Post Date
-------------------------------------------------- */

.single .entry-date {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 22px;
	margin: 12px 0 28px;
	color: #777;
	font-size: 0.82rem;
	line-height: 1.6;
	letter-spacing: 0.02em;
}

.single .entry-date time {
	color: inherit;
}

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

	.single .entry-date {
		gap: 4px 16px;
		margin: 10px 0 22px;
		font-size: 0.78rem;
	}

}

/* ==================================================
   Sidebar - Modern Style
================================================== */


/* --------------------------------------------------
   Sidebar Base
-------------------------------------------------- */

#sidebar {
	color: #344149;
	background: #fff;
}

#sidebar .sidesticky {
	margin: 0;
	padding: 0;
}

#sidebar .sidesticky > ul {
	margin: 0;
	padding: 0;
}

#sidebar .sidesticky > ul > .widget {
	margin: 0 0 46px;
	padding: 0;
}

#sidebar .sidesticky > ul > .widget:last-child {
	margin-bottom: 0;
}


/* --------------------------------------------------
   Widget Heading
-------------------------------------------------- */

#sidebar .side-h {
	position: relative;
	margin: 0 0 20px;
	padding: 0 0 15px;
	border: 0;
	border-bottom: 1px solid var( --maincolor);
	color: #26343d;
	font-size: 1.08rem;
	line-height: 1.55;
	font-weight: 500;
	letter-spacing: 0.015em;
}

/* --------------------------------------------------
   Standard Link Lists
-------------------------------------------------- */

#sidebar .widget ul {
	margin: 0;
	padding: 0;
}

#sidebar .widget ul li {
	margin: 0;
	padding: 0;
}

#sidebar li li a {
	position: relative;
	display: block;
	padding: 12px 25px 12px 0;
	border: 0;
	border-bottom: 1px solid #e8ecef;
	background: transparent;
	color: #33424b;
	font-size: 0.88rem;
	line-height: 1.7;
	font-weight: 400;
	letter-spacing: 0.01em;
	text-decoration: none;
	transition:
		color 0.22s ease,
		padding-left 0.22s ease;
}

#sidebar li li a:visited {
	color: #33424b;
}

#sidebar li li a::after {
	content: "→";
	position: absolute;
	top: 50%;
	right: 3px;
	color: #a2abb1;
	font-size: 0.82rem;
	line-height: 1;
	transform: translateY(-50%);
	transition:
		color 0.22s ease,
		transform 0.22s ease;
}

#sidebar li li a:hover {
	padding-left: 4px;
	background: transparent;
	color: var(--maincolor);
}

#sidebar li li a:hover::after {
	color: var(--maincolor);
	transform: translate(3px, -50%);
}

#sidebar li li a:focus-visible {
	outline: 2px solid var(--maincolor);
	outline-offset: 3px;
}


/* --------------------------------------------------
   Text Widget
-------------------------------------------------- */

#sidebar .textwidget {
	padding: 0;
	color: #4a555c;
	font-size: 0.88rem;
	line-height: 1.85;
}

#sidebar .textwidget p {
	margin: 0 0 1em;
}

#sidebar .textwidget p:last-child {
	margin-bottom: 0;
}


/* ==================================================
   Sidebar Responsive
================================================== */

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

	#sidebar {
		margin-top: 64px;
		padding-top: 54px;
		border-top: 1px solid #e2e7ea;
	}

	#sidebar .sidesticky > ul > .widget {
		margin-bottom: 44px;
	}

}


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

	#sidebar {
		margin-top: 52px;
		padding-top: 44px;
	}

	#sidebar .sidesticky > ul > .widget {
		margin-bottom: 38px;
	}

	#sidebar .side-h {
		margin-bottom: 16px;
		padding-bottom: 13px;
		font-size: 1.02rem;
	}

	#sidebar li li a {
		padding-top: 11px;
		padding-bottom: 11px;
		font-size: 0.86rem;
	}

}


@media (prefers-reduced-motion: reduce) {

	#sidebar a,
	#sidebar a::after {
		transition: none !important;
		transform: none !important;
	}

}

/* =========================================================
   サイドバー検索フォーム
========================================================= */

/*
 * 従来型ウィジェット
 * ブロック型検索ウィジェット
 * 旧形式の #searchform
 * のすべてに対応
 */
#sidebar .search-form,
#sidebar #searchform,
#sidebar .wp-block-search__inside-wrapper {
	display: flex;
	align-items: stretch;
	width: 100%;
	margin: 0;
	gap: 0;
}

#sidebar .search-form__label,
#sidebar .search-form label {
	display: block;
	flex: 1 1 auto;
	min-width: 0;
	margin: 0;
}

/* 検索入力欄 */
#sidebar .search-field,
#sidebar #s,
#sidebar .wp-block-search__input {
	box-sizing: border-box;
	width: 100%;
	min-width: 0;
	height: 46px;
	margin: 0;
	padding: 0 15px;

	color: #333;
	background-color: #fff;
	border: 1px solid #d8e0e5;
	border-right: 0;
	border-radius: 3px 0 0 3px;

	font: inherit;
	font-size: 0.94em;
	line-height: 1;

	-webkit-appearance: none;
	appearance: none;

	transition:
		border-color 0.2s ease,
		box-shadow 0.2s ease,
		background-color 0.2s ease;
}

#sidebar .search-field::placeholder,
#sidebar #s::placeholder,
#sidebar .wp-block-search__input::placeholder {
	color: #9099a1;
	opacity: 1;
}

/* 入力時・フォーカス時 */
#sidebar .search-field:focus,
#sidebar #s:focus,
#sidebar .wp-block-search__input:focus {
	position: relative;
	z-index: 1;

	background-color: #fff;
	border-color: var(--maincolor);
	outline: none;
	box-shadow: 0 0 0 3px rgba(0, 74, 128, 0.1);
}

/* 検索ボタン */
#sidebar .search-submit,
#sidebar #searchsubmit,
#sidebar .wp-block-search__button {
	box-sizing: border-box;
	flex: 0 0 auto;
	min-width: 78px;
	height: 46px;
	margin: 0 !important;
	padding: 0 17px;

	color: #fff;
	background-color: var(--maincolor);
	border: 1px solid var(--maincolor);
	border-radius: 0 3px 3px 0;

	font: inherit;
	font-size: 0.9em;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.08em;
	text-align: center;

	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;

	transition:
		filter 0.2s ease,
		transform 0.2s ease,
		box-shadow 0.2s ease;
}

#sidebar .search-submit:hover,
#sidebar #searchsubmit:hover,
#sidebar .wp-block-search__button:hover {
	color: #fff;
	filter: brightness(0.88);
}

#sidebar .search-submit:active,
#sidebar #searchsubmit:active,
#sidebar .wp-block-search__button:active {
	transform: translateY(1px);
}

#sidebar .search-submit:focus-visible,
#sidebar #searchsubmit:focus-visible,
#sidebar .wp-block-search__button:focus-visible {
	outline: 3px solid rgba(0, 74, 128, 0.2);
	outline-offset: 2px;
}

/* Safariの検索欄に表示される装飾を調整 */
#sidebar input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

#sidebar input[type="search"]::-webkit-search-cancel-button {
	cursor: pointer;
}


/* =========================================================
   ページ上部へ戻るボタン
========================================================= */

#back-top {
	position: fixed;
	right: 28px;
	bottom: 28px;
	z-index: 50;

	margin: 0;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateY(10px);

	transition:
		opacity 0.25s ease,
		visibility 0.25s ease,
		transform 0.25s ease;
}

#back-top.is-visible {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translateY(0);
}

#back-top a {
	box-sizing: border-box;
	display: grid;
	place-items: center;

	width: 48px;
	height: 48px;

	color: #fff;
	background-color: var(--maincolor);
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 4px;

	box-shadow:
		0 5px 16px rgba(20, 42, 60, 0.16),
		0 1px 3px rgba(20, 42, 60, 0.12);

	transition:
		transform 0.2s ease,
		filter 0.2s ease,
		box-shadow 0.2s ease;
}

#back-top a:visited {
	color: #fff;
}

/* CSSで上向き矢印を描画 */
#back-top a span {
	display: block;
	width: 11px;
	height: 11px;

	border-top: 2px solid currentColor;
	border-left: 2px solid currentColor;

	transform: translateY(3px) rotate(45deg);
}

#back-top a:hover {
	color: #fff;
	filter: brightness(0.9);
	transform: translateY(-3px);

	box-shadow:
		0 8px 20px rgba(20, 42, 60, 0.2),
		0 2px 5px rgba(20, 42, 60, 0.14);
}

#back-top a:active {
	transform: translateY(-1px);
}

#back-top a:focus-visible {
	outline: 3px solid rgba(0, 74, 128, 0.24);
	outline-offset: 3px;
}


/* =========================================================
   スマートフォン
========================================================= */

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

	#sidebar .search-field,
	#sidebar #s,
	#sidebar .wp-block-search__input,
	#sidebar .search-submit,
	#sidebar #searchsubmit,
	#sidebar .wp-block-search__button {
		height: 44px;
	}

	#sidebar .search-submit,
	#sidebar #searchsubmit,
	#sidebar .wp-block-search__button {
		min-width: 72px;
		padding-right: 14px;
		padding-left: 14px;
	}

	#back-top {
		right: 16px;
		bottom: 16px;
	}

	#back-top a {
		width: 44px;
		height: 44px;
	}
}


/* 動きを抑える設定を利用している場合 */
@media (prefers-reduced-motion: reduce) {

	#back-top,
	#back-top a,
	#sidebar .search-field,
	#sidebar #s,
	#sidebar .wp-block-search__input,
	#sidebar .search-submit,
	#sidebar #searchsubmit,
	#sidebar .wp-block-search__button {
		transition: none;
	}

	html {
		scroll-behavior: auto;
	}
}

/* ==========================================================
   サイドバーお問い合わせボックス
========================================================== */

#sidebar .sidecontact-box {
	box-sizing: border-box;
	margin-top: 30px;
	padding: 26px 22px 22px;
	border: 1px solid #dbe4ea;
	border-radius: 10px;
	background-color: var(--whitecolor);
	color: var(--blackcolor);
	font-weight: 400;
	text-align: center;
	box-shadow: 0 8px 24px rgba(8, 64, 115, 0.08);
}

/* お問い合わせ */
#sidebar .sidecontact-title {
	width: 100%;
	margin: 0 0 18px;
	padding: 0;
	color: var(--maincolor);
	font-size: 23px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.03em;
	text-align: center;
}

/* 事務所名 */
#sidebar .sidecontact-office {
	margin-bottom: 18px;
	color: var(--blackcolor);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.6;
}

/* 案内文 */
#sidebar .sidecontact-message {
	margin: 0 0 22px;
	padding: 18px;
	border: 0;
	border-radius: 6px;
	background-color: var(--lightcolor);
	color: var(--blackcolor);
	font-size: 14px;
	line-height: 1.8;
	text-align: left;
}

/* 電話番号上のラベル */
#sidebar .sidecontact-tel-label {
	margin-bottom: 6px;
	color: #5c6971;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.5;
}

/* 電話番号 */
#sidebar .sidecontact-number {
	margin: 0 0 7px;
	padding: 0;
	font-size: clamp(24px, 2vw, 30px);
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	line-height: 1.3;
	letter-spacing: 0.01em;
	white-space: nowrap;
}

#sidebar .sidecontact-number a,
#sidebar .sidecontact-number a:visited {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	color: var(--maincolor);
	text-decoration: none;
}

#sidebar .sidecontact-number a:hover {
	color: var(--markercolor);
	text-decoration: none;
}

#sidebar .sidecontact-number svg {
	flex: 0 0 auto;
	width: 22px;
	height: 22px;
}

/* 受付時間 */
#sidebar .sidecontact-hours {
	margin-bottom: 22px;
	color: #5c6971;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.6;
}

/* お問い合わせボタン */
#sidebar .sidecontact-button,
#sidebar .sidecontact-button:visited {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	box-sizing: border-box;
	width: 100%;
	min-height: 50px;
	padding: 11px 16px;
	border: 1px solid var(--maincolor);
	border-radius: 6px;
	background-color: var(--maincolor);
	color: var(--whitecolor);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.5;
	text-decoration: none;
	transition:
		background-color 0.2s ease,
		color 0.2s ease,
		transform 0.2s ease,
		box-shadow 0.2s ease;
}

#sidebar .sidecontact-button:hover {
	background-color: var(--whitecolor);
	color: var(--maincolor);
	text-decoration: none;
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(8, 64, 115, 0.14);
}

#sidebar .sidecontact-button svg {
	flex: 0 0 auto;
	width: 19px;
	height: 19px;
}

/* ==========================================================
   スマートフォン・タブレット
========================================================== */

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

	#sidebar .sidecontact-box {
		max-width: 520px;
		margin: 35px auto 0;
	}

}

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

	#sidebar .sidecontact-box {
		padding: 24px 20px 20px;
		border-radius: 8px;
	}

	#sidebar .sidecontact-title {
		font-size: 22px;
	}

	#sidebar .sidecontact-message {
		padding: 16px;
		font-size: 14px;
	}

	#sidebar .sidecontact-number {
		font-size: clamp(25px, 8vw, 30px);
	}

}

/* 電話番号未設定時のお問い合わせボックス */
.cb-main--mail-only {
	justify-content: center;
}

.cb-main--mail-only .cb-main-right {
	flex: 0 1 600px;
	width: 100%;
}

/* =========================================================
   Contact Box
========================================================= */

.contact-box {
	background: var( --maincolor);
	color: #fff;
	padding: 64px 24px 68px;
}

.contact-box .inner {
	width: min(1120px, 100%);
	margin: 0 auto;
	/* .inner 共通の左右余白が幅に加算されて横にはみ出すため、ここでは 0 にする
	   （左右の余白は .contact-box 側の padding で確保） */
	padding-right: 0;
	padding-left: 0;
}


/* Heading
--------------------------------------------------------- */

.cb-heading {
	text-align: center;
}

.cb-title {
	margin: 0;
	font-size: clamp(26px, 3vw, 36px);
	font-weight: 700;
	line-height: 1.45;
	letter-spacing: .02em;
}

.cb-sub {
	margin-top: 8px;
	font-size: 17px;
	font-weight: 500;
	line-height: 1.7;
	letter-spacing: .02em;
	opacity: .9;
}


/* Main
--------------------------------------------------------- */

.cb-main {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-top: 40px;
	border-top: 1px solid rgba(255, 255, 255, .28);
}

.cb-main--single {
	grid-template-columns: minmax(0, 680px);
	justify-content: center;
}

.cb-main-left,
.cb-main-right {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	min-width: 0;
	padding: 34px 48px 0;
	text-align: center;
}

.cb-main:not(.cb-main--single) .cb-main-left {
	border-right: 1px solid rgba(255, 255, 255, .28);
}


/* Method title
--------------------------------------------------------- */

.cb-method-title {
	margin-bottom: 8px;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: .03em;
}

.cb-method-info {
	min-height: 26px;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.7;
	letter-spacing: .02em;
	opacity: .9;
}

.cb-method-info span {
	margin-left: .35em;
}


/* Telephone
--------------------------------------------------------- */

.cb-number {
	margin-top: 14px;
}

.cb-number a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	color: #fff;
	font-size: clamp(34px, 3.4vw, 48px);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: .025em;
	text-decoration: none;
	white-space: nowrap;
}

.cb-number svg {
	width: .48em;
	height: .48em;
	flex-shrink: 0;
}

.cb-number a:hover {
	color: #fff;
	opacity: .82;
}
/* Mail button
--------------------------------------------------------- */

.contact-box .cb-button {
	width: 100%;
	margin-top: 18px;
}

.contact-box .cb-button .cb-button-link {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;

	width: min(100%, 420px);
	min-height: 60px;
	margin: 0 auto;
	padding: 12px 28px;

	border: 1px solid rgba(255, 255, 255, .78);
	border-radius: 4px;
	background: transparent;

	color: #fff;
	font-size: 17px;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: .02em;
	text-decoration: none;

	box-sizing: border-box;

	transition:
		background-color .2s ease,
		color .2s ease,
		border-color .2s ease;
}

.contact-box .cb-button .cb-button-link:link,
.contact-box .cb-button .cb-button-link:visited {
	color: #fff;
	text-decoration: none;
}

.contact-box .cb-button .cb-button-link:hover {
	border-color: #fff;
	background: #fff;
	color: var(--maincolor);
	text-decoration: none;
}

.contact-box .cb-button .cb-button-link svg {
	width: 19px;
	height: 19px;
	flex-shrink: 0;
}


/* Tablet / Smartphone
--------------------------------------------------------- */

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

	.contact-box {
		padding: 48px 20px 52px;
	}

	.cb-title {
		font-size: clamp(23px, 7vw, 28px);
		line-height: 1.5;
	}

	.cb-sub {
		margin-top: 6px;
		font-size: 15px;
	}

	.cb-main,
	.cb-main--single {
		display: block;
		margin-top: 30px;
	}

	.cb-main-left,
	.cb-main-right {
		padding: 28px 0;
	}

	.cb-main:not(.cb-main--single) .cb-main-left {
		border-right: 0;
		border-bottom: 1px solid rgba(255, 255, 255, .28);
	}

	.cb-method-title {
		font-size: 17px;
	}

	.cb-method-info {
		min-height: 0;
		font-size: 14px;
	}

	.cb-number {
		margin-top: 12px;
	}

	.cb-number a {
		gap: 7px;
		font-size: clamp(33px, 10vw, 42px);
	}

	.contact-box .cb-button {
		margin-top: 17px;
	}

	.contact-box .cb-button .cb-button-link {
		min-height: 56px;
		font-size: 16px;
	}

}


/* Very small screens
--------------------------------------------------------- */

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

	.contact-box {
		padding-right: 16px;
		padding-left: 16px;
	}

	.cb-number a {
		font-size: 31px;
	}

}

/* ==========================================================
   著者・監修者ボックス（author-box.php）
========================================================== */

.ffx-author {
	--ffx-author-line: #d6dee6;
	--ffx-author-sub: #5c6971;

	position: relative;
	box-sizing: border-box;
	padding: 36px 32px 30px;
	border: 1px solid var(--ffx-author-line);
	border-top: 2px solid var(--maincolor);
	background-color: var(--whitecolor);
	color: var(--blackcolor);
	font-size: 1rem;
	line-height: 1.8;
}

.ffx-author--top {
	margin: 18px 0 44px;
}

.ffx-author--bottom {
	margin: 60px 0 44px;
}

/* 見出し：上罫線に重ねて表示 */
.ffx-author__label {
	position: absolute;
	top: 0;
	left: 22px;
	transform: translateY(-50%);
	padding: 0 12px;
	background-color: var(--whitecolor);
	color: var(--maincolor);
	font-size: 0.82rem;
	font-weight: 700;
	line-height: 1.6;
	letter-spacing: 0.08em;
}

.ffx-author__body {
	display: grid;
	grid-template-columns: 108px minmax(0, 1fr);
	gap: 0 26px;
	align-items: start;
}

/* 顔写真（3:4） */
.ffx-author__photo {
	width: 108px;
	margin: 0;
	aspect-ratio: 3 / 4;
	overflow: hidden;
	border-radius: 4px;
	background-color: var(--lightcolor);
}

#post .ffx-author__photo img {
	display: block;
	width: 100%;
	max-width: none;
	height: 100% !important;
	object-fit: cover;
}

/* 事務所名・氏名 */
.ffx-author__office {
	margin: 2px 0 2px;
	color: var(--ffx-author-sub);
	font-size: 0.84rem;
	font-weight: 600;
	line-height: 1.6;
}

.ffx-author__name {
	margin: 0;
	color: var(--blackcolor);
	font-size: 1.4rem;
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: 0.08em;
}

/* 資格・肩書き・登録番号 */
.ffx-author__credentials {
	margin: 12px 0 0;
	padding: 12px 0 0;
	border-top: 1px solid var(--ffx-author-line);
	list-style: none;
}

.ffx-author__credentials li {
	position: relative;
	margin: 0;
	padding: 0 0 0 16px;
	color: #4a555c;
	font-size: 0.86rem;
	line-height: 1.75;
	font-variant-numeric: tabular-nums;
}

.ffx-author__credentials li::before {
	content: "";
	position: absolute;
	top: 0.87em;
	left: 0;
	width: 8px;
	height: 1px;
	background-color: var(--maincolor);
}

/* 自己紹介文：写真の下から全幅で表示 */
.ffx-author__bio {
	grid-column: 1 / -1;
	margin-top: 22px;
	padding-top: 20px;
	border-top: 1px solid var(--ffx-author-line);
}

#post .ffx-author .ffx-author__bio p {
	margin: 0 0 0.9em;
	font-size: 0.92rem;
	line-height: 1.95;
	letter-spacing: 0.02em;
}

#post .ffx-author .ffx-author__bio p:last-child {
	margin-bottom: 0;
}

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

	.ffx-author {
		padding: 30px 20px 22px;
	}

	.ffx-author--bottom {
		margin-top: 48px;
	}

	.ffx-author__label {
		left: 14px;
		padding: 0 10px;
	}

	.ffx-author__body {
		grid-template-columns: 80px minmax(0, 1fr);
		gap: 0 16px;
	}

	.ffx-author__photo {
		width: 80px;
	}

	.ffx-author__name {
		font-size: 1.2rem;
		letter-spacing: 0.05em;
	}

	.ffx-author__credentials {
		margin-top: 10px;
		padding-top: 10px;
	}

	.ffx-author__credentials li {
		font-size: 0.82rem;
	}

}


/* =========================================================
   ヘッダーの電話番号
   マウス操作の端末ではリンクとして反応させない（誤操作防止）
========================================================= */

.hb-number a,
.hb-number a:visited {
	color: inherit;
	text-decoration: none;
}

@media (hover: hover) and (pointer: fine) {
	.hb-number a {
		pointer-events: none;
		cursor: text;
	}
}


/* =========================================================
   スマホ用 固定CTAバー
   ヘッダーのボタンが消える 920px 以下で表示
========================================================= */

.sp-cta {
	display: none;
}

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

	.sp-cta {
		position: fixed;
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 90;

		display: flex;
		padding-bottom: env(safe-area-inset-bottom, 0px);

		background-color: var(--whitecolor);
		box-shadow: 0 -2px 12px rgba(20, 42, 60, 0.16);
	}

	.sp-cta-button {
		box-sizing: border-box;
		flex: 1 1 0;
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 8px;

		min-height: 56px;
		padding: 8px 12px;

		font-size: 16px;
		font-weight: bold;
		line-height: 1.3;
		text-decoration: none;
	}

	.sp-cta-button .ffx-icon {
		flex-shrink: 0;
		font-size: 1.2em;
	}

	/* 電話：白地に枠線 */
	.sp-cta-tel,
	.sp-cta-tel:visited,
	.sp-cta-tel:hover {
		color: var(--maincolor);
		background-color: var(--whitecolor);
		border-top: 2px solid var(--maincolor);
		text-decoration: none;
	}

	/* お問い合わせ：塗りつぶし */
	.sp-cta-form,
	.sp-cta-form:visited,
	.sp-cta-form:hover {
		color: var(--whitecolor);
		background-color: var(--pointcolor);
		border-top: 2px solid var(--pointcolor);
		text-decoration: none;
	}

	.sp-cta-button:active {
		filter: brightness(0.92);
	}

	.sp-cta-button:focus-visible {
		outline: 3px solid var(--markercolor);
		outline-offset: -3px;
	}

	/* バーに隠れないよう、ページ下端に余白を確保 */
	body.has-sp-cta {
		padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px));
	}

	/* 「ページ上部へ戻る」ボタンをバーの上へ */
	body.has-sp-cta #back-top {
		bottom: calc(56px + 16px + env(safe-area-inset-bottom, 0px));
	}
}

@media screen and (max-width: 380px) {
	.sp-cta-button {
		gap: 6px;
		font-size: 15px;
	}
}


/* ==================================================
   Header Menu Button（スマホのメニューボタン）
   ブラウザ標準のボタンの見た目（灰色の背景と枠）をなくし、三本線だけにする
================================================== */

#menubtn {
	padding: 6px;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: var(--maincolor);
	line-height: 1;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}

#menubtn:focus-visible {
	outline: 2px solid var(--maincolor);
	outline-offset: 2px;
}


/* ==================================================
   Table of Contents（プラグイン Easy Table of Contents の目次）
   本文用のリストの印が、本文の中に入る目次にも掛かるのを外す
================================================== */

/* 投稿の箇条書きの丸（.single-post .entry ul > li::before）を、目次の項目には出さない。
   目次の項目には左の余白が無いので、そのままだと丸が文字の上に重なる */
#post #ez-toc-container li::before {
	content: none;
}


/* ==================================================
   行政書士法人スマートサイド
   FLOW-FLEX 1.90 の見た目を引き継ぐための指定
   (トップページ・ヒーロー・記事本文で使っているクラス)
   ※ お問い合わせボックス・フォーム・サイドバーは 2.1.0 標準のまま
================================================== */

/* マーカー(1.90 の太さに戻す) */
mark, .marker {
	background: linear-gradient(transparent 70%, var( --markercolor) 60%);
}

.header-bluebox mark{
	color: var( --whitecolor);
	background: linear-gradient(transparent 85%, var( --markercolor) 60%);
	font-weight: bold;
}

/* ヒーロー(トップ・下層) */
#header-text, #subheader-text{
	background-image: url(images/main_bg.jpg);
	background-position: 25% 25%;
	background-size: cover;
	text-align: center;
	padding: 200px 0;
}

#subheader-text{
	padding: 20px 0;
}

.herohead, .subherohead{
	color: var( --whitecolor);
	font-size: 48px;
	letter-spacing: 0.075em;
	margin-top: 0;
	margin-left: 0.075em;
	line-height: 1.5;
	text-align: center;
}

.subherohead{
	font-size: 42px;
}

#header-text p, #subheader-text p{
	font-size: 24px;
	color: var( --whitecolor);
	line-height: 2;
	margin-bottom: 0;
	text-align: center;
}

#subheader-text p{
	font-size: 20px;
}

/* トップページの見出し・本文 */
#top-lp h2, #top-lp .bg-white h2{
	color: var( --maincolor);
}

#top-lp h3{
	font-size: 1.5em;
	color: var( --maincolor);
	line-height: 1.5;
}

#top-lp p{
	line-height: 1.8;
	margin-bottom: 1em;
}

/* 実績のアイコン(画像の代わり) */
.sect4 .jisseki-icon{
	text-align: center;
	margin-bottom: 20px;
}

.sect4 .jisseki-icon img{
	width: 50%;
	height: auto;
	margin: 0 auto;
}

#top-lp .sect4 h3{
	margin-bottom: 10px;
}

/* ---- ここから 1.90 の style-plus.css をそのまま移植 ---- */

#post img.wakusen{
	border: 1px solid #999;
}

.header-bluebox{
	background-color: rgb(21 68 118 / 80%);
	background-color: color-mix(in srgb, var( --maincolor) 80%, transparent);
		padding: 50px;
	max-width: 880px;
}

#subheader-text .header-bluebox{
	padding: 40px;
}

.boxes4{
	display: flex;
	justify-content: space-between;
}

.sect1 .box255a, .sect1 .box255b{
	border: 1px solid var( --maincolor);
}

.box4{
	flex: 1;
	margin-right: 30px;
}

.box4:last-child{
	margin-right: 0;
}

	.sect1 .box255a, .sect1 .box255b{
		margin-bottom: 50px;
	}

#top-lp .sect1 .s1box-header{
	line-height: 1.75;
}

.sect1 .box-in-box{
	padding: 30px;
}

.sect1 .box255a .s1box-header, .sect1 .box255a p, .sect1 .box255b .s1box-header, .sect1 .box255b p {

}

.s1box-header{
	color: var( --maincolor);
	font-size: 1.2em;
	font-weight: bold;
	text-align: center;
	margin-bottom: 30px;
}

#top-lp .sect1 p{
	margin-bottom: 0;
}

#top-lp .sect2 h3{
	font-size: 1.1em;
	text-align: center;
	padding: 20px 0;
}

.s2circle{
	text-align: center;
}

.s2circle img{
	width: 50%;
	margin: 0 auto;
}

.sect3 .box3{
	margin-bottom: 30px;
}


.sect3 .box3:last-child{
	margin-bottom: 0;
}

#top-lp p.office-l{
	font-size: 1.1em;
}

#top-lp .sect4 h3{
	color: var( --blackcolor);
	font-size: 1.1em;
	line-height: 1.75;
}

.sect5 .box255a, .sect5 .box255b{
	margin-bottom: 30px;
}

.bg-merit{
	background-size:cover;
	background-position: center;
	background-image: url(images/bg-merit.jpg);
}

#top-lp .sect6 h3{
	font-size: 1.2em;
	margin-bottom: 20px;
}

#top-lp .sect6 p{
	margin-bottom: 30px;
}

#top-lp .sect7 h3{
	color: var( --maincolor);
	font-size: 1em;
	line-height: 1.75;
	padding: 20px 0;
	text-align: center;
}

.sect7 .book-image{
	margin: 0 auto;
	width: 45%;
}

.sect8 table{
	line-height: 1.75;
}

.sect8 th{
	font-weight: bold;
}

.sect8 td{
	background-color: var( --whitecolor);
}

.sect8 .box246a, .sect8 .box246b{
	margin-bottom: 30px;
}

.content-footer li{
	list-style-type: none;
}


/* パンフDL */
.pamph-box{
	display: flex;
	justify-content: space-between;	
	border: 1px solid var( --maincolor);
	background: var( --lightcolor);
	padding: 20px;
	margin-bottom: 30px;
}

.pamph-l{
	flex: 8;
}

.pamph-r{
	flex: 2;
	margin-left: 20px;
}

.pamph-head{
	color: var( --maincolor);
	font-size: 1.5em;
	font-weight: bold;
	margin-bottom: 20px;
}

/* 相談事例 */
.box-soudan{
	padding: 20px;
	border: 1px solid var( --maincolor);
	background-color: var( --lightcolor);
	margin-bottom: 20px;
}

.box-namae{
	color: var( --maincolor);
	font-size: 1.1em;
	font-weight: bold;
}

.youtube-ratio iframe {
  width: 100%;
	aspect-ratio: 4 / 3;
}

.soudan-infobox{
	background-color: var( --whitecolor);
	padding: 30px;
	line-height: 1.75;
}

/* 記事監修 */

.kan-area{
	display: flex;
	flex-direction: column;
}

.kan-box{
	background-color: var( --lightcolor);
	border: 1px solid var( --maincolor);
	padding: 20px;
	margin-bottom: 20px;
}

.kan-label{
	display: inline-block;
	background-color: var( --whitecolor);
	color: var( --maincolor);
	margin-bottom: -1px;
	padding: 6px 10px;
	border: 1px solid var( --maincolor);
}

.kan-kata{
	color: var( --maincolor);
}

.kan-name{
	font-size: 1.2em;
}

.kan-box .boxes228{
	margin-top: 20px;
	align-items: center;
}

.videowrap {
text-align: center;
}

/*横幅768px以下の表示変更（スマホのみ適用はsp-style.php）*/
@media screen and (max-width: 768px) {

	.header-bluebox{
		padding: 20px;
	}
	
	.herohead, .subherohead{
		margin-top: 0;
	}
	
.videowrap {
position: relative;
width: 100%;
padding-top: 56%;
}
.videowrap iframe {
position: absolute;
top: 0;
right: 0;
width: 100% !important;
height: 100% !important;
}
	
}

/* ---- 1.90 の style-plus.css ここまで ---- */

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

	#header-text, #subheader-text{
		background-image: url(images/main_bg-sp.jpg);
		background-position: 25% 25%;
		padding: 20px 0;
	}

	.herohead, .subherohead{
		font-size: 8vw;
		text-align: left;
	}

	/* 1.90 ではスマホの下層ページで見出しを出していなかった */
	#subheader-text .subherohead{
		display: none;
	}

	#header-text p, #subheader-text p{
		text-align: left;
		font-size: 1em;
	}

	.sect4 .jisseki-icon img{
		width: 40%;
	}
}


/* ==================================================
   行政書士法人スマートサイド トップページの仕上げ(2026-11-13 追加)
   企業の担当者が見て「きちんとした事務所」と感じられるよう、
   線・余白・影を控えめに整える。マークアップは変えずCSSだけで指定。
================================================== */

/* セクション見出し: 下に短いアクセントの線 */
#top-lp h2{
	letter-spacing: 0.04em;
}

#top-lp h2::after{
	content: "";
	display: block;
	width: 48px;
	height: 3px;
	margin: 18px auto 0;
	background: var( --maincolor);
	border-radius: 2px;
}

/* フォーム上のウィジェットの見出しには付けない */
#top-lp .content-footer h2::after{
	content: none;
}

/* こんなお困りごと: カードに角丸と淡い影 */
.sect1 .box255a, .sect1 .box255b{
	background: var( --whitecolor);
	border-color: color-mix(in srgb, var( --maincolor) 25%, #FFFFFF);
	border-radius: 6px;
	overflow: hidden;
	box-shadow: 0 4px 16px rgba(21, 68, 118, 0.08);
}

.sect1 .box255a img, .sect1 .box255b img{
	display: block;
	width: 100%;
}

/* デメリット: 見出しを太く */
#top-lp .sect2 h3{
	font-weight: bold;
}

/* 相談してみませんか・事務所紹介 */
.sect3 .box246a img{
	border-radius: 6px;
}

#top-lp p.office-l b{
	color: var( --maincolor);
}

.sect3 .boxes3 img{
	border-radius: 6px;
}

/* 実績: 白いカードにして上辺にメインカラーの線 */
.sect4 .boxes4{
	align-items: stretch;
}

.sect4 .box4{
	background: var( --whitecolor);
	border: 1px solid color-mix(in srgb, var( --maincolor) 18%, #FFFFFF);
	border-top: 3px solid var( --maincolor);
	border-radius: 0 0 6px 6px;
	padding: 28px 22px 22px;
	box-shadow: 0 4px 16px rgba(21, 68, 118, 0.06);
}

#top-lp .sect4 h3{
	color: var( --maincolor);
	font-weight: bold;
	font-size: 1.05em;
	line-height: 1.6;
	margin-bottom: 12px;
}

#top-lp .sect4 p{
	font-size: 0.95em;
	margin-bottom: 0;
}

.sect4 .jisseki-icon img{
	width: 46%;
}

/* お客さまインタビュー: バナーに影とホバー */
.sect5 .box255a a, .sect5 .box255b a{
	display: block;
	border-radius: 4px;
	overflow: hidden;
	box-shadow: 0 2px 10px rgba(21, 68, 118, 0.10);
	transition: transform 0.25s, box-shadow 0.25s;
}

.sect5 .box255a a img, .sect5 .box255b a img{
	display: block;
	width: 100%;
}

.sect5 .box255a a:hover, .sect5 .box255b a:hover{
	transform: translateY(-3px);
	box-shadow: 0 8px 20px rgba(21, 68, 118, 0.16);
}

.sect5 .box255a a:hover img, .sect5 .box255b a:hover img{
	opacity: 1;
}

/* メリット: 項目の頭に縦線を入れて読みやすく */
#top-lp .sect6 h3{
	font-weight: bold;
	border-left: 4px solid var( --maincolor);
	padding: 2px 0 2px 12px;
	margin-bottom: 12px;
	line-height: 1.5;
}

/* 出版書籍: 表紙に影をつけて本らしく */
.sect7 .book-image img{
	display: block;
	box-shadow: 4px 6px 14px rgba(0, 0, 0, 0.18);
}

#top-lp .sect7 h3{
	font-weight: bold;
	padding: 24px 0 14px;
}

/* 事務所概要の表 */
.sect8 .box246a img{
	border-radius: 6px;
}

.sect8 table{
	background: var( --whitecolor);
	border-collapse: collapse;
}

.sect8 th, .sect8 td{
	border: 1px solid color-mix(in srgb, var( --maincolor) 20%, #FFFFFF);
	padding: 14px 16px;
}

.sect8 th{
	background: color-mix(in srgb, var( --maincolor) 8%, #FFFFFF);
	color: var( --maincolor);
	white-space: nowrap;
}

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

	#top-lp h2::after{
		width: 40px;
		margin-top: 14px;
	}

	.sect4 .box4{
		margin-bottom: 20px;
	}

	.sect4 .jisseki-icon img{
		width: 36%;
	}

	.sect5 .box255a, .sect5 .box255b{
		margin-bottom: 16px;
	}

	.sect8 th, .sect8 td{
		padding: 10px 12px;
		font-size: 0.9em;
	}
}
