.grecaptcha-badge {
    visibility: hidden;
}

img.pdf{
	border: 1px solid var( --maincolor);
}

.headbox{
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.hbl{
	flex: 55;
	text-align: left;
	margin-right: 20px;
}

.hbr{
	flex: 45;
	margin-left: 20px;
}

.hbr img{
	max-width: 100%;
	height: auto;
}

.hblarge{
	font-size: 58px;
	margin-bottom: 20px;
}

#header-text p.blue-text{
	font-family: 'Noto Serif JP', "游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
	color: var( --maincolor);
	font-size: 21px;
	margin-bottom: 30px;
	line-height: 1.75;
}

	#header-text p{
		color: var( --blackcolor);
	font-family: 'Noto Serif JP', "游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
	font-size: 17px;
	margin-bottom: 30px;
	line-height: 1.75;
	}

.blue-para{
	color: var( --maincolor);
}

#header-text mark, #subheader-text mark{
	color: var( --maincolor);
}

#top-lp .sect1 h2{
	margin-bottom: 120px;
}

.sect1 .box255a, .sect1 .box255b{
	background-color: var( --maincolor);
	color: var( --whitecolor);
	padding: 20px;
}

.s1mb{
	margin-bottom: 120px;
}

.sect1 .box255a img, .sect1 .box255b img{
	width: 28%;
}

.s1img{
	margin: -100px auto 20px;
	text-align: center;
}

.s1head{
	font-family: 'Noto Serif JP', "游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
	font-size: 21px;
	line-height: 1.75;
	margin-bottom: 20px;
}

#top-lp .sect1 p{
	color: var( --whitecolor);
}

.sect2 img{
	margin-bottom: 20px;
}

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

.sect5{
	background-image: url(images/bg-sect5.jpg);
	background-size: cover;
	background-position: top center;
	padding: 200px 0 50px;
}

.s5box{
	background-color: var( --whitecolor);
	padding: 50px 120px;
}

.sect5 img{
	margin-bottom: 30px;
}

.cb-button{
	width: 33%;
	margin: 0 auto;
}

.cb-button .simple-button{
	background-color: var( --whitecolor);
}

.cb-button .simple-button a{
	color: var( --maincolor);
}

.sect6 .boxes255{
	display: flex;
	align-items: stretch !important;
	gap: 30px;
}

.sect6 .box255a, .sect6 .box255b{
	flex: 1 !important;
	display: flex !important;
	flex-direction: column !important;
	float: none !important;
	width: auto !important;
	margin-bottom: 50px;
}

.sect6 .box255a img,
.sect6 .box255b img {
	width: 100%;
	height: 200px; 
	object-fit: cover;
	display: block;
}

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

#top-lp .sect6 p.attention{
	font-size: 0.85em;
}

.service-box{
	flex: 1 !important;
	display: flex !important;
	flex-direction: column !important;
	background-color: var( --lightcolor);
	padding: 30px;
}

#top-lp .sect6 h3{
	font-family: 'Noto Serif JP', "游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
	color: var( --maincolor);
	font-size: 1.3em;
	margin-bottom: 30px;
	line-height: 1.75;
}

#top-lp .sect6 .service-box p{
	text-align: left;
	margin-bottom: 0;
}

.sect7{
	background-image: url(images/bg-jirei.jpg);
	background-size: cover;
	background-position: top center;
	padding: 200px 0 50px;
}

.s7box, .s9box{
	background-color: var( --whitecolor);
	padding: 50px 120px 1px;
}

.s7img, .s9img{
	text-align: center;
}

#top-lp .sect7 h3{
	font-family: 'Noto Serif JP', "游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
	color: var( --maincolor);
	font-size: 1.5em;
	margin: 30px 0;
	text-align: center;
}

.sect7 .s7box img{
	width: 20%;
}

.s7button{
	width: 40%;
	margin: 30px auto 50px;
}

#top-lp .sect8 h3{
	font-family: 'Noto Serif JP', "游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
	color: var( --maincolor);
	font-size: 1.3em;
	margin-bottom: 30px;
}

.sect9{
	background-image: url(images/bg-company.jpg);
	background-size: cover;
	background-position: top center;
	padding: 200px 0 50px;
}

.s8button{
	width: 40%;
	margin: 30px auto 0;
}

.s8img{
	margin: 0 auto 30px;
	width: 100px;
}

#top-lp .sect9 h3{
	font-family: 'Noto Serif JP', "游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
	margin: 20px 0;
	text-align: center;
}

#top-lp .sectX .box255a{
	margin-right: 30px;
}

#top-lp .sectX .box255b{
	margin-left: 30px;
}

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

.pamph-l{
	flex: 8;
}

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

.pamph-head{
	font-family: 'Noto Serif JP', "游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
	color: var( --maincolor);
	font-size: 1.5em;
	font-weight: bold;
	margin-bottom: 20px;
}

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

.box-kaitou{
	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;
	margin-bottom: 10px;
}

.soudan-box-l{
	flex: 2;
	padding-right: 20px;
}

.soudan-box-r{
	flex: 8;
}

/* 記事監修者 */

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

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

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

.kan-label{
	display: inline-block;
	background-color: var( --maincolor);
	color: var( --whitecolor);
	padding: 10px;
	border-left: 4px solid var( --linecolor);
}

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

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

.s-number{
	font-size: 0.9em;
}

.content-footer .s-number li{
	list-style: disc;
}

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

.kan-box .box228a{
	display: none;
}


/*横幅768px以下の表示変更（スマホのみ適用はsp-style.php）*/
@media screen and (max-width: 768px) {
	
	.whiteheader #header-title .inner, .naviheader #header-title .inner{
		padding: 10px;
	}
	
	#subheader-text{
	min-height: 0;
	padding: 0;
}
	
	.headbox{
		flex-direction: column;
	}
	
	.hbl{
		margin-right: 0;
	}
	
	.hbr{
		margin-left: 0;
	}
	
	.hblarge{
		font-size: 32px;
	}
	
	#header-text p.blue-text{
		font-size: 18px;
	}
	
	.s1img{
		margin-top: -70px;
	}
	
	.s1mb{
	margin-bottom: 80px;
}
	
	.bg-merit{
		background-image: none;
	}
	
	.sect5{
		padding-top: 50px;
	}
	
	.s5box{
		padding: 30px;
	}
	
	.pamph-box{
		flex-direction: column;
	}
	
	.pamph-r{
		margin-left: 0;
	}
	
	.cb-button{
		width: 100%;
	}
	
	.pamph-head{
		font-size: 1.25em;
		line-height: 1.75;
	}
	
	#top-lp .sect6 h3{
		font-size: 1.2em;
	}
	
	#top-lp .sect6 p{
		text-align: left;
	}
	
	.s7box, .s9box{
		padding: 30px;
	}
	
	.s7button{
		width: 100%;
		margin: 30px 0 30px;
	}
	
	.s8button{
		width: 100%;
	}
	
	.entrytitle{
		font-size: 1.3em;
	}
	
	#top-lp .sectX .box255a, #top-lp .sectX .box255b{
		margin: 0;
	}
	
	#top-lp .sectX .box255a{
		margin-bottom: 50px;
	}
	
}

.blog-card-noimage{
	display: block;
	color: #CCCCCC;
}

.blog-card-noimage svg{
	width: 100%;
	height: auto;
	display: block;
}

.blog-card-fallback a{
	word-break: break-all;
}

.blog-card-thumbnail img{
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

.ffx-icon{
	vertical-align: -0.125em;
	margin-right: 0;
}

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

}

.cosmo-pdf {
	margin: 40px 0 40px;
	padding: 45px 30px;
	background: var( --lightcolor);
	border: 1px solid var( --maincolor);
}

.cosmo-pdf__inner {
	max-width: 900px;
	margin: 0 auto;
}

.cosmo-pdf__title {
	font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "Noto Serif JP", serif;
	margin: 0 0 10px;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.5;
	color: var( --maoncolor);
	text-align: center;
}

.cosmo-pdf__text {
	margin: 0 0 25px;
	font-size: 15px;
	line-height: 1.8;
	color: #666;
	text-align: center;
}

.cosmo-pdf__links {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 15px;
}

.cosmo-pdf__link {
	display: flex;
	align-items: center;
	min-height: 86px;
	padding: 18px 20px;
	background: #fff;
	border: 1px solid #dfe4e9;
	border-radius: 6px;
	color: #24364a;
	text-decoration: none;
	transition:
		border-color .2s ease,
		box-shadow .2s ease,
		transform .2s ease;
}

.cosmo-pdf__link:hover {
	border-color: #b9c5d0;
	box-shadow: 0 5px 18px rgba(0, 0, 0, .06);
	transform: translateY(-2px);
}

.cosmo-pdf__icon {
	flex: 0 0 auto;
	width: 42px;
	height: 42px;
	margin-right: 15px;
	object-fit: contain;
}

.cosmo-pdf__label {
	flex: 1;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.5;
}

.cosmo-pdf__label small {
	display: block;
	margin-top: 4px;
	font-size: 11px;
	font-weight: 400;
	color: #8a949e;
}

.cosmo-pdf__arrow {
	margin-left: 15px;
	font-size: 28px;
	font-weight: 300;
	line-height: 1;
	color: #8794a1;
}

/* スマートフォン */
@media screen and (max-width: 767px) {

	.cosmo-pdf {
		margin-top: 40px;
		padding: 32px 18px;
	}

	.cosmo-pdf__title {
		font-size: 20px;
	}

	.cosmo-pdf__links {
		grid-template-columns: 1fr;
	}

	.cosmo-pdf__link {
		min-height: 78px;
		padding: 15px;
	}

	.cosmo-pdf__icon {
		width: 38px;
		height: 38px;
		margin-right: 12px;
	}

	.cosmo-pdf__label {
		font-size: 14px;
	}
}

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


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

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

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

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

#sidebar .sidesticky > .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 > .widget {
		margin-bottom: 44px;
	}

}


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

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

	#sidebar .sidesticky > .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;
	}

	#sidebar #npcatch > li {
		padding: 14px 0 !important;
	}

	#sidebar #npcatch figure {
		flex-basis: 88px;
		width: 88px !important;
	}

	#sidebar #npcatch figure img {
		width: 88px !important;
		height: 68px !important;
	}

	#sidebar .sidecontact-box {
		padding: 21px;
	}

}


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

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

}

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

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

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