.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: clamp(2rem, 3.4vw, 3rem);
	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
================================================== */


/* --------------------------------------------------
   H2
-------------------------------------------------- */

.single-post .entry h2 {
	position: relative;

	margin: 3.5em 0 1.35em;
	padding: 0.12em 0 0.12em 22px;

	background: none;
	background-color: transparent;

	border: 0;

	color: #222;

	font-size: clamp(1.65rem, 2.5vw, 2.2rem);
	line-height: 1.5;
	font-weight: 500;
	letter-spacing: 0.01em;
}

.single-post .entry h2::before {
	content: "";
	position: absolute;
	top: 0.18em;
	bottom: 0.18em;
	left: 0;

	width: 4px;

	background: var(--maincolor);
}


/* --------------------------------------------------
   H3
-------------------------------------------------- */

.single-post .entry h3 {
	position: relative;

	margin: 2.8em 0 1.2em;
	padding: 0 0 12px;

	background: none;
	background-color: transparent;

	border: 0;
	border-bottom: 0;

	color: #222;

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

.single-post .entry h3::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;

	width: 42px;
	height: 2px;

	background: var(--maincolor);
}


/* --------------------------------------------------
   H4
-------------------------------------------------- */

.single-post .entry h4 {
	margin: 2.2em 0 1em;
	padding: 0;

	background: none;
	background-color: transparent;

	border: 0;
	border-left: 0;

	color: #222;

	font-size: 1.12rem;
	line-height: 1.65;
	font-weight: 600;
	letter-spacing: 0.01em;
}


/* ==================================================
   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: 0;
	border-bottom: 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;

		font-size: clamp(1.7rem, 7vw, 2.3rem);
		line-height: 1.5;
	}


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

		margin: 10px 0 28px;

		font-size: 0.78rem;
	}


	/* H2 */
	.single-post .entry h2 {
		margin: 3em 0 1.25em;
		padding-left: 16px;

		font-size: clamp(1.45rem, 6vw, 1.9rem);
	}

	.single-post .entry h2::before {
		width: 3px;
	}


	/* H3 */
	.single-post .entry h3 {
		margin-top: 2.5em;

		font-size: clamp(1.25rem, 5vw, 1.55rem);
	}


	/* H4 */
	.single-post .entry h4 {
		font-size: 1.06rem;
	}


	/* 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: clamp(2rem, 3.2vw, 2.7rem);
	line-height: 1.45;
	font-weight: 500;
	letter-spacing: 0.01em;
	text-align: left;
}


/* --------------------------------------------------
   H2 - 大きなセクション見出し
-------------------------------------------------- */

.page:not(.home) .entry h2 {
	position: relative;
	margin: 3.2em 0 1.35em;
	padding: 18px 22px 18px 26px;
	border: 0;
	background: #f3f6f8;
	color: #26343d;
	font-size: clamp(1.55rem, 2.4vw, 2rem);
	line-height: 1.55;
	font-weight: 500;
	letter-spacing: 0.01em;
}

.page:not(.home) .entry h2::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 4px;
	background: var(--maincolor);
}


/* --------------------------------------------------
   H3 - 小見出し
-------------------------------------------------- */

.page:not(.home) .entry h3 {
	position: relative;
	margin: 2.6em 0 1.2em;
	padding: 0 0 13px;
	border: 0;
	border-bottom: 1px solid #dfe5e8;
	background: transparent;
	color: #26343d;
	font-size: clamp(1.28rem, 2vw, 1.62rem);
	line-height: 1.55;
	font-weight: 500;
	letter-spacing: 0.01em;
}

.page:not(.home) .entry h3::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -1px;
	width: 46px;
	height: 2px;
	background: var(--maincolor);
}


/* --------------------------------------------------
   H4 - 項目内の補助見出し
-------------------------------------------------- */

.page:not(.home) .entry h4 {
	margin: 2.1em 0 1em;
	padding: 0.08em 0 0.08em 15px;
	border: 0;
	border-left: 3px solid var(--maincolor);
	background: transparent;
	color: #303c44;
	font-size: 1.1rem;
	line-height: 1.65;
	font-weight: 600;
	letter-spacing: 0.01em;
}


/* --------------------------------------------------
   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: separate;
	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;
	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;
		font-size: clamp(1.7rem, 7vw, 2.25rem);
		line-height: 1.5;
	}

	.page:not(.home) .entry h2 {
		margin: 2.7em 0 1.2em;
		padding: 15px 16px 15px 20px;
		font-size: clamp(1.4rem, 6vw, 1.72rem);
	}

	.page:not(.home) .entry h2::before {
		width: 3px;
	}

	.page:not(.home) .entry h3 {
		margin: 2.3em 0 1.1em;
		padding-bottom: 11px;
		font-size: clamp(1.2rem, 5.2vw, 1.45rem);
	}

	.page:not(.home) .entry h4 {
		margin: 1.9em 0 0.9em;
		padding-left: 12px;
		font-size: 1.04rem;
	}

	.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, 0.42fr)
		minmax(0, 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;
}


/* --------------------------------------------------
   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 {
	background: #062f56;
	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: #0d4a7a;
	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;
}


/* ==========================================================
   ▼▼▼ ひかり行政書士法人 トップページ ▼▼▼
   hero-text.php / lp-section.php / contact-box.php /
   soudan.php / footer.php 用の追加スタイル
   ここから下を丸ごと消すと、テンプレート(FLOW-FLEX 2.0.7)の見た目に戻ります。
========================================================== */

:root {
	--ffx-section-pad: clamp(64px, 8vw, 104px); /* セクション上下の余白 */
	--ffx-radius: 14px;        /* カード・写真の角丸 */
	--ffx-radius-btn: 8px;     /* ボタンの角丸(999px で両端丸) */
	--ffx-shadow: 0 6px 24px rgba(20, 60, 45, .08);
	--ffx-line: #D3E4DA;       /* 区切り線 */
	--ffx-maindark: #18573F;   /* メインカラーの濃い色(文字用) */
	--ffx-leading: 1.9;        /* 本文の行間 */
}


/* 共通
---------------------------------------------------------- */

#top-lp .lp-sec {
	padding: var(--ffx-section-pad) 0;
}

#top-lp .lp-sec h2 {
	margin: 0 0 1.4em;
	font-size: clamp(1.45rem, 1.05rem + 1.7vw, 2.1rem);
	letter-spacing: .04em;
	line-height: 1.5;
}

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

/* 見出しを文節の途中で折り返さない */
#top-lp h2 span,
.hero-title span,
.hero-lead span,
.cb-title span {
	display: inline-block;
}

#top-lp .lp-sec p {
	line-height: var(--ffx-leading);
}

#top-lp .lp-sec h3 {
	font-weight: bold;
}

#top-lp .lp-sec h2:has(+ .lp-lead) {
	margin-bottom: 1em;
}

#top-lp .lp-lead {
	max-width: 760px;
	margin: 0 auto 3em;
	text-align: center;
}

#top-lp .lp-sec strong {
	font-weight: bold;
	background: linear-gradient(transparent 68%, var(--markercolor) 68%);
}

#top-lp .lp-note {
	font-size: .88em;
	color: #555;
}

#top-lp .lp-note--center {
	max-width: 760px;
	margin: 1.6em auto 0;
	text-align: center;
}

/* タグ(サービス名・自治体名) */
#top-lp .lp-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

#top-lp .lp-tags li {
	padding: 3px 12px;
	border: 1px solid var(--ffx-line);
	border-radius: 999px;
	background: var(--lightcolor);
	color: var(--ffx-maindark);
	font-size: .86rem;
	font-weight: bold;
	line-height: 1.6;
}

#top-lp .lp-tags .lp-tags-etc {
	border-color: transparent;
	background: none;
	padding-left: 2px;
	font-weight: normal;
}

/* ボタン */
a.lp-button,
a.lp-button:visited {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	box-sizing: border-box;
	min-height: 54px;
	padding: 12px 28px;
	border: 2px solid var(--maincolor);
	border-radius: var(--ffx-radius-btn);
	background: var(--maincolor);
	color: var(--whitecolor);
	font-weight: bold;
	line-height: 1.4;
	text-decoration: none;
	transition: background-color .2s, color .2s;
}

a.lp-button::after {
	content: "";
	flex-shrink: 0;
	width: 7px;
	height: 7px;
	border-top: 2px solid currentColor;
	border-right: 2px solid currentColor;
	transform: rotate(45deg);
}

a.lp-button:hover {
	background: var(--whitecolor);
	color: var(--maincolor);
}

a.lp-button--line,
a.lp-button--line:visited {
	background: var(--whitecolor);
	color: var(--maincolor);
}

a.lp-button--line:hover {
	background: var(--maincolor);
	color: var(--whitecolor);
}

a.lp-button--point,
a.lp-button--point:visited {
	border-color: var(--pointcolor);
	background: var(--pointcolor);
}

a.lp-button--point:hover {
	background: var(--whitecolor);
	color: var(--pointcolor);
}

a.lp-button:focus-visible {
	outline: 3px solid var(--markercolor);
	outline-offset: 2px;
}

.lp-button .ffx-icon {
	font-size: 1.2em;
}

#top-lp .lp-more {
	margin-top: 1.8em;
}

#top-lp .lp-more--center {
	margin-top: 3em;
	text-align: center;
}

/* テンプレートのボタンも同じ角丸に揃える */
.simple-button,
.contact-box .cb-button .cb-button-link,
.wpcf7-submit,
.soudan-area input[type="submit"],
.soudan-area button[type="submit"] {
	border-radius: var(--ffx-radius-btn);
}

/* マウスを乗せたときの色。テンプレートは青系の色が直接書かれているので、緑に合わせる */
.soudan-area input[type="submit"]:hover,
.soudan-area button[type="submit"]:hover {
	background: var(--ffx-maindark);
	color: var(--whitecolor);
}

.contact-box .cb-button .cb-button-link:hover {
	color: var(--maincolor);
}


/* ヒーロー(hero-text.php)
---------------------------------------------------------- */

.hero {
	background-image:
		linear-gradient(90deg, rgba(255, 255, 255, .95) 0%, rgba(255, 255, 255, .88) 40%, rgba(255, 255, 255, .25) 100%),
		url(images/main_bg.jpg);
	background-position: center;
	background-size: cover;
}

.hero .inner {
	padding-top: clamp(56px, 8vw, 112px);
	padding-bottom: clamp(56px, 8vw, 112px);
}

.hero-body {
	max-width: 660px;
}

.hero-title {
	margin: 0;
	color: var(--maincolor);
	font-size: clamp(1.7rem, .9rem + 3.2vw, 3rem);
	font-weight: bold;
	line-height: 1.4;
	letter-spacing: .04em;
}

.hero-lead {
	margin: 18px 0 0;
	color: var(--blackcolor);
	font-size: clamp(1rem, .85rem + .7vw, 1.3rem);
	font-weight: bold;
	line-height: 1.7;
}

.hero-points {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 30px 0 0;
	padding: 0;
	list-style: none;
}

.hero-points li {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 18px 8px 12px;
	border: 1px solid var(--maincolor);
	border-radius: 999px;
	background: var(--whitecolor);
	color: var(--ffx-maindark);
	font-size: .95rem;
	font-weight: bold;
	line-height: 1.4;
}

.hero-points li::before {
	content: "";
	flex-shrink: 0;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background:
		var(--maincolor)
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.3l3 3 6-6.6' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
		center / 100% no-repeat;
}

.hero-action {
	margin-top: 34px;
}

.hero-action a.lp-button {
	min-height: 60px;
	padding: 14px 36px;
	font-size: 1.05rem;
}

/* 下層ページの帯 */
#subheader-text {
	min-height: 150px;
	padding: 20px 0;
	box-sizing: border-box;
	background-image:
		linear-gradient(rgba(255, 255, 255, .9), rgba(255, 255, 255, .9)),
		url(images/main_bg.jpg);
	background-position: center;
}

.subhero-title {
	color: var(--maincolor);
	font-size: clamp(1.15rem, .9rem + 1.2vw, 1.7rem);
	font-weight: bold;
	line-height: 1.5;
	letter-spacing: .04em;
	text-align: center;
}

#subheader-text .subhero-lead {
	margin: 6px 0 0;
	font-size: clamp(.82rem, .76rem + .3vw, .98rem);
	font-weight: normal;
	line-height: 1.7;
}


/* sect1 指定申請とは
---------------------------------------------------------- */

.sect1-boxes {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
}

.sect1-box {
	padding: 40px 30px 30px;
	border-radius: var(--ffx-radius);
	background: var(--lightcolor);
}

.sect1-box-icon {
	width: 112px;
	height: 112px;
	margin: 0 auto 22px;
	border-radius: 50%;
	background: var(--whitecolor);
	overflow: hidden;
}

.sect1-box-icon img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

#top-lp .sect1-box h3 {
	margin: 0 0 16px;
	font-size: 1.25rem;
	text-align: center;
}

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


/* sect2 事務所の紹介
---------------------------------------------------------- */

.sect2-main {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: clamp(28px, 4vw, 56px);
	align-items: center;
	max-width: 1080px;
	margin: 0 auto;
}

.sect2-photo img {
	display: block;
	width: 100%;
	height: auto;
}

#top-lp .sect2-text p:last-of-type {
	margin-bottom: 0;
}

.sect2-numbers {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
	max-width: 1080px;
	margin: clamp(40px, 5vw, 64px) auto 0;
	padding: 0;
	list-style: none;
}

.sect2-numbers li {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	padding: 22px 12px 24px;
	border-radius: var(--ffx-radius);
	background: var(--whitecolor);
	box-shadow: var(--ffx-shadow);
	text-align: center;
}

.sect2-number-label {
	color: #555;
	font-size: .88rem;
	line-height: 1.5;
}

.sect2-number-value {
	color: var(--maincolor);
	font-size: clamp(1.3rem, 1rem + 1.2vw, 1.8rem);
	font-weight: bold;
	line-height: 1.4;
	letter-spacing: .04em;
}


/* sect3 サービス3種別
---------------------------------------------------------- */

.sect3-services {
	max-width: 1120px;
	margin: 0 auto;
}

.sect3-service {
	display: grid;
	grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
	gap: clamp(24px, 4vw, 52px);
	align-items: start;
	padding: 44px 0;
	border-top: 1px solid var(--ffx-line);
}

.sect3-service:first-child {
	padding-top: 0;
	border-top: 0;
}

.sect3-service:last-child {
	padding-bottom: 0;
}

.sect3-service-image img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	border-radius: var(--ffx-radius);
}

#top-lp .sect3-service h3 {
	margin: 0 0 14px;
	font-size: clamp(1.2rem, 1rem + .8vw, 1.5rem);
}

#top-lp .sect3-service .lp-tags {
	margin-bottom: 18px;
}

#top-lp .sect3-service-text p:last-of-type {
	margin-bottom: 0;
}


/* sect4 ご依頼いただくメリット
---------------------------------------------------------- */

.sect4-merits {
	display: grid;
	gap: 28px;
	max-width: 960px;
	margin: 0 auto;
}

.sect4-merit {
	padding: clamp(26px, 4vw, 44px) clamp(22px, 4vw, 48px);
	border-radius: var(--ffx-radius);
	background: var(--whitecolor);
	box-shadow: var(--ffx-shadow);
}

#top-lp .sect4-merit h3 {
	display: flex;
	align-items: center;
	gap: 16px;
	margin: 0 0 20px;
	font-size: clamp(1.2rem, 1rem + .8vw, 1.5rem);
}

.sect4-merit-num {
	flex-shrink: 0;
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: var(--maincolor);
	color: var(--whitecolor);
	font-size: 1.1rem;
	letter-spacing: .04em;
	line-height: 1;
}

.sect4-merit-image {
	margin-bottom: 24px;
}

.sect4-merit-image img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 8px;
}

#top-lp .sect4-merit > p:last-child {
	margin-bottom: 0;
}

.sect4-record {
	display: grid;
	grid-template-columns: max-content minmax(0, 1fr);
	gap: 14px 20px;
	margin: 0;
	padding: 22px 24px;
	border-radius: 10px;
	border: 1px solid var(--ffx-line);
}

.sect4-record dt {
	padding-top: 3px;
	color: var(--maincolor);
	font-weight: bold;
	line-height: 1.6;
}

.sect4-record dd {
	margin: 0;
}


/* sect5 お客さまの声
---------------------------------------------------------- */

.sect5-voices {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.sect5-voice {
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 30px 28px 26px;
	border-radius: var(--ffx-radius);
	background: var(--whitecolor);
	box-shadow: var(--ffx-shadow);
}

.sect5-voice-type {
	align-self: flex-start;
	padding: 3px 12px;
	border-radius: 999px;
	background: var(--maincolor);
	color: var(--whitecolor);
	font-size: .82rem;
	font-weight: bold;
	line-height: 1.6;
}

.sect5-voice blockquote {
	margin: 18px 0 22px;
	padding: 0;
	border: 0;
	background: none;
}

.sect5-voice blockquote::before {
	position: static;
	display: block;
	padding: 0;
	font-size: 48px;
	line-height: .8;
	color: var(--ffx-line);
}

#top-lp .sect5-voice blockquote p {
	margin: 0;
	padding: 0;
}

.sect5-voice figcaption {
	display: flex;
	flex-direction: column;
	gap: 2px;
	margin-top: auto;
	padding-top: 16px;
	border-top: 1px solid var(--ffx-line);
	line-height: 1.6;
}

.sect5-voice-name {
	font-weight: bold;
	color: var(--blackcolor);
}

.sect5-voice-kind {
	color: #555;
	font-size: .84rem;
}


/* sect6 報酬額
---------------------------------------------------------- */

.sect6-fees {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	max-width: 1120px;
	margin: 0 auto;
}

.sect6-fee {
	border: 1px solid var(--ffx-line);
	border-radius: var(--ffx-radius);
	background: var(--whitecolor);
	overflow: hidden;
}

#top-lp .sect6-fee h3 {
	margin: 0;
	padding: 14px 16px;
	background: var(--maincolor);
	color: var(--whitecolor);
	font-size: 1.1rem;
	text-align: center;
}

.sect6-fee dl {
	margin: 0;
	padding: 6px 22px;
}

.sect6-fee dl > div {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 2px 16px;
	padding: 16px 0;
	border-top: 1px solid var(--ffx-line);
}

.sect6-fee dl > div:first-child {
	border-top: 0;
}

.sect6-fee dt {
	line-height: 1.6;
	color: var(--blackcolor);
}

.sect6-fee dd {
	margin: 0 0 0 auto;
	color: var(--maincolor);
	font-size: 1.45rem;
	font-weight: bold;
	line-height: 1.3;
	white-space: nowrap;
}

.sect6-fee dd small {
	margin-left: 2px;
	font-size: .9rem;
}


/* sect7 ご相談から指定許可までの流れ
---------------------------------------------------------- */

.sect7-steps {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	max-width: 1120px;
	margin: 0 auto;
	padding: 0;
	list-style: none;
	counter-reset: ffx-step;
}

.sect7-steps li {
	position: relative;
	margin: 0;
	padding: 30px 26px 26px;
	border-radius: var(--ffx-radius);
	background: var(--whitecolor);
	box-shadow: var(--ffx-shadow);
	counter-increment: ffx-step;
}

.sect7-steps li::before {
	content: "STEP " counter(ffx-step);
	display: inline-block;
	margin-bottom: 10px;
	padding: 3px 12px;
	border-radius: 999px;
	background: var(--maincolor);
	color: var(--whitecolor);
	font-size: .8rem;
	font-weight: bold;
	letter-spacing: .08em;
	line-height: 1.6;
}

#top-lp .sect7-steps h3 {
	margin: 0 0 8px;
	font-size: 1.2rem;
}

#top-lp .sect7-steps p {
	margin: 0;
	font-size: .95rem;
	line-height: 1.8;
}


/* sect8 よくあるご質問
---------------------------------------------------------- */

.sect8-faqs {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
	align-items: start;
}

.sect8-faq {
	padding: 30px 30px 28px;
	border-radius: var(--ffx-radius);
	background: var(--lightcolor);
}

#top-lp .sect8-faq h3 {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	margin: 0 0 16px;
	color: var(--blackcolor);
	font-size: 1.15rem;
}

.sect8-faq h3::before {
	content: "Q";
	flex-shrink: 0;
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	margin-top: -2px;
	border-radius: 50%;
	background: var(--maincolor);
	color: var(--whitecolor);
	font-size: 1rem;
	line-height: 1;
}

.sect8-faq-answer {
	padding-top: 16px;
	border-top: 1px solid var(--ffx-line);
}

#top-lp .sect8-faq-answer p:last-child {
	margin-bottom: 0;
}


/* sect9 事務所のご案内
---------------------------------------------------------- */

.sect9-logo {
	margin-bottom: 32px;
	text-align: center;
}

.sect9-logo img {
	width: auto;
	height: 72px;
}

.sect9-photos {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	max-width: 1080px;
	margin: 0 auto 36px;
}

.sect9-photos img {
	display: block;
	width: 100%;
	height: auto;
}

.sect9-about {
	max-width: 820px;
	margin: 0 auto 44px;
}

.sect9-cols {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: 24px;
	max-width: 1080px;
	margin: 0 auto;
}

.sect9-rep,
.sect9-office {
	padding: clamp(24px, 3vw, 36px);
	border-radius: var(--ffx-radius);
	background: var(--whitecolor);
	box-shadow: var(--ffx-shadow);
}

.sect9-rep {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
	text-align: center;
}

.sect9-rep-photo img {
	display: block;
	width: 168px;
	height: 168px;
	object-fit: cover;
	border-radius: 50%;
}

#top-lp .sect9-rep h3 {
	margin: 0 0 10px;
	color: var(--blackcolor);
	font-size: 1.4rem;
	letter-spacing: .08em;
}

.sect9-rep h3 small {
	display: block;
	color: var(--maincolor);
	font-size: .88rem;
	letter-spacing: .08em;
}

.sect9-rep ul {
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: .92rem;
	line-height: 1.9;
}

#top-lp .sect9-office-name {
	margin: 0 0 12px;
	font-size: 1.25rem;
}

.sect9-table {
	width: 100%;
	margin: 0;
	border-collapse: collapse;
	font-size: 1rem;
}

.sect9-table th,
.sect9-table td {
	padding: 14px 4px;
	border: 0;
	border-bottom: 1px solid var(--ffx-line);
	background: none;
	line-height: 1.7;
	text-align: left;
	vertical-align: top;
}

.sect9-table th {
	width: 6.5em;
	color: var(--maincolor);
	font-weight: bold;
	white-space: nowrap;
}

.sect9-table tr:last-child th,
.sect9-table tr:last-child td {
	border-bottom: 0;
}

.sect9-table a,
.sect9-table a:visited {
	color: inherit;
}

.sect9-map {
	max-width: 1080px;
	margin: 24px auto 0;
}

.sect9-map iframe {
	display: block;
	width: 100%;
	height: 380px;
	border-radius: var(--ffx-radius);
}


/* お問い合わせ(フォーム)
---------------------------------------------------------- */

#top-lp .lp-form h2 {
	color: var(--whitecolor);
}

#top-lp .lp-form h2::after {
	background: var(--whitecolor);
}

.lp-form-lead {
	max-width: 760px;
	margin: 0 auto 2.6em;
}

.lp-form-box {
	max-width: 760px;
	margin: 0 auto;
}

#top-lp .soudan-area {
	border-radius: var(--ffx-radius);
	background: var(--whitecolor);
}

.soudan-area .soudan-title {
	font-size: clamp(1.35rem, 1.1rem + 1.2vw, 1.9rem);
	font-weight: bold;
}

.soudan-area .soudan-title span {
	display: inline-block;
}

.soudan-area .soudan-points {
	margin: 0;
	padding: 0;
	list-style: none;
}

.soudan-area .soudan-points li {
	position: relative;
	padding-left: 1.5em;
	line-height: 1.8;
}

.soudan-area .soudan-points li::before {
	content: "";
	position: absolute;
	top: .55em;
	left: .2em;
	width: .7em;
	height: .35em;
	border-left: 2px solid var(--maincolor);
	border-bottom: 2px solid var(--maincolor);
	transform: rotate(-45deg);
}

.soudan-area .soudan-privacy,
#top-lp .soudan-area .soudan-privacy {
	margin: 24px 0 0;
	color: #555;
	font-size: .85rem;
	line-height: 1.8;
}

.soudan-area .soudan-privacy a {
	text-decoration: underline;
}


/* フッター(footer.php)
---------------------------------------------------------- */

#footer {
	padding: 56px 0 24px;
	background-color: var(--ffx-maindark);
	text-align: left;
}

#footer .footer-box {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr 1fr;
	gap: 32px;
}

#footer .fbox {
	display: block;
	margin: 0;
}

#footer .fbox-title {
	margin-bottom: 12px;
	padding-bottom: 8px;
	border-bottom: 1px solid rgba(255, 255, 255, .4);
	font-size: 1rem;
	font-weight: bold;
}

#footer address {
	font-style: normal;
	line-height: 1.9;
}

#footer .fbox ul {
	margin: 0;
	padding: 0;
	list-style: none;
	color: inherit;
	line-height: 1.5;
}

#footer .fbox ul li {
	margin: 0;
}

#footer .fbox ul li a {
	display: inline-block;
	padding: 5px 0;
}

#footer a:hover {
	color: var(--whitecolor);
	text-decoration: underline;
}

#footer .footer-copy {
	margin: 44px 0 0;
	padding-top: 20px;
	border-top: 1px solid rgba(255, 255, 255, .25);
	font-size: .8rem;
	text-align: center;
}


/* 画面幅ごとの調整
---------------------------------------------------------- */

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

	.sect1-boxes,
	.sect5-voices,
	.sect6-fees {
		grid-template-columns: minmax(0, 1fr);
		max-width: 640px;
		margin-right: auto;
		margin-left: auto;
	}

	.sect2-numbers,
	.sect7-steps {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.sect8-faqs,
	.sect9-cols {
		grid-template-columns: minmax(0, 1fr);
	}

	#footer .footer-box {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

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

	.hero {
		background-image:
			linear-gradient(rgba(255, 255, 255, .9), rgba(255, 255, 255, .84)),
			url(images/main_bg.jpg);
	}

	.sect2-main,
	.sect3-service {
		grid-template-columns: minmax(0, 1fr);
	}

	.sect2-photo {
		max-width: 480px;
		margin: 0 auto;
	}

	#top-lp .lp-lead {
		text-align: left;
	}

	.sect9-table {
		font-size: 1rem;
	}

	.sect9-map iframe {
		height: 300px;
	}
}

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

	.sect7-steps {
		grid-template-columns: minmax(0, 1fr);
		gap: 16px;
	}

	.sect9-photos {
		gap: 10px;
	}

	.sect4-record {
		grid-template-columns: minmax(0, 1fr);
		gap: 6px;
		padding: 18px;
	}

	.sect4-record dd + dt {
		margin-top: 10px;
	}

	.sect4-merit-num {
		width: 44px;
		height: 44px;
		font-size: 1rem;
	}

	.sect8-faq {
		padding: 24px 20px;
	}

	.hero-action a.lp-button {
		width: 100%;
	}

	#footer .footer-box {
		grid-template-columns: minmax(0, 1fr);
		gap: 28px;
	}
}

/* サイドバー(sidebar.php / sidebar-contact.php)
   トップページのカード・ボタンに合わせた見た目にする
---------------------------------------------------------- */

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

/* 見出しのあるウィジェットはカードにする */
#sidebar .sidesticky > ul > .widget:has(> .side-h) {
	border: 1px solid var(--ffx-line);
	border-radius: var(--ffx-radius);
	background: var(--whitecolor);
	overflow: hidden;
}

#sidebar .side-h {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 13px 18px;
	border: 0;
	background: var(--lightcolor);
	color: var(--ffx-maindark);
	font-size: 1rem;
	font-weight: bold;
	letter-spacing: .04em;
}

#sidebar .side-h::before {
	content: "";
	flex-shrink: 0;
	width: 4px;
	height: 1.15em;
	border-radius: 2px;
	background: var(--maincolor);
}

/* リンクの一覧 */
#sidebar li li a {
	padding: 12px 36px 12px 18px;
	border-bottom: 1px solid var(--ffx-line);
	color: var(--blackcolor);
	transition: background-color .2s, color .2s;
}

#sidebar li li a:visited {
	color: var(--blackcolor);
}

#sidebar li li:last-child > a {
	border-bottom: 0;
}

#sidebar li li a::after {
	content: "";
	right: 18px;
	width: 6px;
	height: 6px;
	border-top: 2px solid var(--maincolor);
	border-right: 2px solid var(--maincolor);
	transform: translateY(-50%) rotate(45deg);
}

#sidebar li li a:hover {
	padding-left: 18px;
	background: var(--lightcolor);
	color: var(--ffx-maindark);
}

#sidebar li li a:hover::after {
	transform: translate(3px, -50%) rotate(45deg);
}

/* いま開いているページ */
#sidebar li li.current-menu-item > a,
#sidebar li li.current_page_item > a,
#sidebar li li.current-cat > a {
	background: var(--lightcolor);
	box-shadow: inset 4px 0 0 var(--maincolor);
	color: var(--ffx-maindark);
	font-weight: bold;
}

/* 見出しのあるテキスト・検索など */
#sidebar .widget:has(> .side-h) > .textwidget,
#sidebar .widget:has(> .side-h) > form,
#sidebar .widget:has(> .side-h) > .tagcloud {
	margin: 16px 18px 18px;
}

#sidebar .widget:has(> .side-h) > .search-form,
#sidebar .widget:has(> .side-h) > #searchform {
	width: auto;
}

/* バナー画像 */
#sidebar .textwidget img {
	display: block;
	border-radius: 10px;
}

#sidebar .textwidget p:has(> a > img) {
	margin: 0 0 12px;
}

#sidebar .textwidget p:has(> a > img):last-child {
	margin-bottom: 0;
}

/* 検索フォーム */
#sidebar .search-field,
#sidebar #s,
#sidebar .wp-block-search__input {
	border-color: var(--ffx-line);
	border-radius: var(--ffx-radius-btn) 0 0 var(--ffx-radius-btn);
}

#sidebar .search-field:focus,
#sidebar #s:focus,
#sidebar .wp-block-search__input:focus {
	box-shadow: 0 0 0 3px rgba(34, 119, 90, .15);
}

#sidebar .search-submit,
#sidebar #searchsubmit,
#sidebar .wp-block-search__button {
	border-radius: 0 var(--ffx-radius-btn) var(--ffx-radius-btn) 0;
}

#sidebar .search-submit:focus-visible,
#sidebar #searchsubmit:focus-visible,
#sidebar .wp-block-search__button:focus-visible {
	outline-color: var(--markercolor);
}

/* お問い合わせボックス(白地。枠・影・文字の色をトップページに合わせ、ボタンだけポイントカラー) */
#sidebar .sidecontact-box {
	margin-top: 26px;
	padding: 28px 22px 24px;
	border: 1px solid var(--ffx-line);
	border-radius: var(--ffx-radius);
	background-color: var(--whitecolor);
	box-shadow: var(--ffx-shadow);
}

#sidebar .sidecontact-title {
	margin-bottom: 6px;
	font-size: 21px;
}

#sidebar .sidecontact-message {
	border-radius: 10px;
}

#sidebar .sidecontact-tel-label,
#sidebar .sidecontact-hours {
	color: #555;
	font-weight: normal;
}

#sidebar .sidecontact-number a:hover {
	color: var(--ffx-maindark);
}

#sidebar .sidecontact-button,
#sidebar .sidecontact-button:visited {
	min-height: 54px;
	border: 2px solid var(--pointcolor);
	border-radius: var(--ffx-radius-btn);
	background-color: var(--pointcolor);
	color: var(--whitecolor);
}

#sidebar .sidecontact-button:hover {
	background-color: var(--whitecolor);
	color: var(--pointcolor);
	transform: none;
	box-shadow: none;
}

#sidebar .sidecontact-button:focus-visible {
	outline: 3px solid var(--markercolor);
	outline-offset: 2px;
}

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

	#sidebar .sidecontact-box {
		margin-top: 30px;
	}
}


/* ▲▲▲ ひかり行政書士法人 トップページ ここまで ▲▲▲ */
