/*
Theme Name: koidejuku
Description: cunelwork client theme
Author: cunelwork
Version: 0.1.1
 */

/* ============================
	common
============================ */

:root {
	--color-orange: #F39801;
	--color-dark-orange: #ED7901;
	--color-light-orange: #FFF5E5;
	--color-yellow: #FAF33F;
	--color-light-yellow: #F8DD5E;
	--color-black: #333333;
	--color-gray: #F8F8F8;
	--color-blue: #496CC4;
	--color-light-blue: #F2F6FF;
	--weight-bold: 500;
}

#wrapper {
	margin-top: 90px;
	overflow: hidden;
}

.flex {
	display: flex;
}

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

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

.flex-start {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
}

.flex-end {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
}

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

.ofi {
	font-family: "object-fit: cover;";
	-o-object-fit: cover;
	object-fit: cover;
}

@media screen and (max-width: 1000px) {
	#wrapper {
		min-width: 0;
		margin-top: 60px;
	}
}

/* ============================
	section
============================ */

.section {
	padding: 100px 0;
	position: relative;
}

.content-width {
	width: 100%;
	max-width: 1030px;
	padding: 0 15px;
	margin: 0 auto;
	box-sizing: border-box;
}

.short-width {
	width: 100%;
	max-width: 760px;
	padding: 0 15px;
	margin: 0 auto;
	box-sizing: border-box;
}

.content-box:not(:first-child) {
	margin: 50px 0 0;
	overflow: hidden;
}

.content-box > .img-box:not(:last-child) {
	margin-bottom: 50px;
}

/* ============================
	background
============================ */

.bg-orange {
	background:
		url('images/common/bg02.png') no-repeat left calc(50% - 420px) top -200px / auto,
		url('images/common/bg04.png') no-repeat left calc(50% - 510px) top 150px / auto,
		url('images/common/bg01.png') no-repeat right calc(50% - 500px) top -200px / auto,
		url('images/common/bg03.png') no-repeat right calc(50% - 420px) bottom -100px / auto,
		url('images/common/bg04.png') no-repeat right calc(50% - 510px) bottom 250px / auto,
		url('images/common/bg01.png') no-repeat left calc(50% - 500px) bottom 20% / auto;
	background-color: var(--color-orange);
	color: #fff;
}

.bg-gray {
	background: var(--color-gray);
}

.bg-comiru {
	background:
		url('images/common/bg05.png') no-repeat left calc(50% + 150px) bottom -350px / auto,
		url('images/common/bg05.png') no-repeat left calc(50% + -90px) top -160px / 330px auto;
	background-color: var(--color-light-yellow);
}

@media screen and (max-width: 1200px) {
	.bg-orange {
		background:
			url('images/common/bg02.png') no-repeat left 0 top -200px / auto,
			url('images/common/bg04.png') no-repeat left 50px top 150px / auto,
			url('images/common/bg01.png') no-repeat right -105px top -200px / auto,
			url('images/common/bg03.png') no-repeat right 0 bottom -100px / auto,
			url('images/common/bg04.png') no-repeat right 50px bottom 250px / auto,
			url('images/common/bg01.png') no-repeat left -105px bottom 20% / auto;
		background-color: var(--color-orange);
	}
}

@media screen and (max-width: 767px) {
	.bg-orange {
		background:
			url('images/common/bg02.png') no-repeat left 0 top -200px / auto,
			url('images/common/bg04.png') no-repeat left 50px top 150px / auto,
			url('images/common/bg01.png') no-repeat right -105px top 300px / auto,
			url('images/common/bg03.png') no-repeat right 0 bottom -100px / auto,
			url('images/common/bg04.png') no-repeat right 50px bottom 250px / auto,
			url('images/common/bg01.png') no-repeat left -105px bottom 20% / auto;
		background-color: var(--color-orange);
	}
}


/* ============================
	column
============================ */

/* image-text-item */

.image-text-item {
	display: grid;
	grid-template-areas:
		"img-box title"
		"img-box text-box";
	grid-template-columns: 44% 1fr;
	grid-template-rows: auto 1fr;
	column-gap: 6%;
	row-gap: 30px;
}

.image-text-item:nth-child(even) {
	grid-template-areas:
		"title img-box"
		"text-box img-box";
	grid-template-columns: 1fr 44%;
}

.image-text-item.no-ttl {
	grid-template-areas: "img-box text-box";
	grid-template-rows: unset;
}
.image-text-item.no-ttl:nth-child(even) {
	grid-template-areas: "text-box img-box";
}

.image-text-item + .image-text-item {
	margin-top: 60px;
}

.image-text-item .ttl {
	grid-area: title;
	font-size: 3rem;
	padding-bottom: 30px;
	position: relative;
}

.image-text-item .ttl::before {
	content: '';
	display: block;
	width: 1000px;
	height: 1px;
	background: #fff;
	position: absolute;
	bottom: 0;
	right: 0;
}

.image-text-item:nth-child(even) .ttl::before {
	right: unset;
	left: 0;
}

.image-text-item .ttl span {
	display: block;
}

.image-text-item .ttl span.sub-ttl {
	margin-bottom: 15px;
	font-size: 1.6rem;
	color: var(--color-yellow);
}

.image-text-item .img-box {
	grid-area: img-box;
	position: relative;
}

.image-text-item .txt-box {
	grid-area: text-box;
}

/* column-2 */

.column-2 {
	display: flex;
	gap: 30px 4%;
	flex-wrap: wrap;
}

.column-2 .item {
	flex-basis: 48%;
}

/* column-3 */

.column-3 {
	display: flex;
	gap: 30px 2%;
	flex-wrap: wrap;
}

.column-3 .item {
	flex-basis: 32%;
}

.column-3 .img-box {
	aspect-ratio: 32/25;
}

.column-3 .img-box img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

@media screen and (max-width: 767px) {
	.image-text-item,
	.image-text-item:nth-child(even) {
		grid-template-areas:
			"title"
			"img-box"
			"text-box";
		grid-template-columns: unset;
		grid-template-rows: auto;
	}

	.image-text-item.no-ttl,
	.image-text-item.no-ttl:nth-child(even) {
		grid-template-areas:
			"img-box"
			"text-box";
	}

	.image-text-item .ttl {
		font-size: 2.5rem;
	}

	.image-text-item .ttl::before {
		width: 100%;
	}

	.image-text-item .ttl span.sub-ttl {
		margin-bottom: 5px;
	}

	.column-2,
	.column-3 {
		flex-direction: column;
	}

	.column-2 .item,
	.column-3 .item {
		flex-basis: 100%;
	}
}

/* ============================
	box
============================ */

.orange-box {
	padding: 35px 40px;
	background: var(--color-dark-orange);
	color: #fff;
	font-weight: var(--weight-bold);
	position: relative;
}

.orange-box::before {
	content: '';
	display: block;
	width: calc(100% - 20px);
	height: calc(100% - 20px);
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	margin: auto;
	border: 3px solid var(--color-orange);
	border-radius: 20px;
	box-sizing: border-box;
}

.orange-box > * {
	position: relative;
}

.orange-box .head {
	margin-bottom: 20px;
	font-size: 1.8rem;
	font-weight: var(--weight-bold);
	color: var(--color-yellow);
	position: relative;
}

.txt-box.lead-box	{
	margin-bottom: 50px;
}

@media screen and (max-width: 767px) {
	.img-box .scroll-x {
		overflow-x: scroll;
	}

	.img-box .scroll-x img {
		max-width: 1000px;
	}
}

/* ============================
	title
============================ */

.main-ttl {
	text-align: center;
	margin: 0;
	line-height: 1.25;
	font-weight: var(--weight-bold);
}

.main-ttl .jp {
	display: block;
	font-size: 5.2rem;
}

.main-ttl .en {
	display: block;
	font-size: 2.0rem;
	margin-top: 10px;
	color: var(--color-orange);
}

.bg-orange .main-ttl .en {
	color: #fff;
}

.ttl {
	margin: 0;
	line-height: 1.25;
	font-weight: var(--weight-bold);
}

#comiru .main-ttl .jp {
	font-size: 2.6rem;
}

#comiru .main-ttl .en {
	margin-top: 25px;
}

@media screen and (max-width: 767px) {
	.main-ttl .jp {
		font-size: 3.5rem;
	}

	.main-ttl .en {
		font-size: 1.8rem;
		margin-top: 5px;
	}
}

/* ============================
	text
============================ */

.txt-box p {
	margin: 0;
}

.highlight {
	display: inline-block;
	color: var(--color-yellow);
	position: relative;
	z-index: 1;
}

.highlight::before {
	content: '';
	display: block;
	width: 100%;
	height: 8px;
	background: var(--color-dark-orange);
	position: absolute;
	bottom: 3px;
	z-index: -1;
}

.notice {
	font-size: 1.3rem;
	text-align: left;
}


/* ============================
	button
============================ */

a.btn,
.btn {
	display: block;
	width: 100%;
	max-width: 250px;
	padding: 29px 80px 29px 35px;
	margin: 50px auto 0;
	box-sizing: border-box;
	font-size: 1.8rem;
	line-height: 1;
	font-weight: var(--weight-bold);
	color: var(--color-black);
	text-align: left;
	background: #fff;
	border: 2px solid #E5E5E5;
	border-radius: 40px;
	transition: all 0.2s ease-in-out;
	position: relative;
}

a.btn::before,
.btn::before {
	content: "";
	-webkit-mask-image: url('images/common/arrow.svg');
	mask-image: url('images/common/arrow.svg');
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	mask-size: contain;
	-webkit-mask-size: contain;
	background-color: var(--color-orange);
	position: absolute;
	right: 30px;
	top: 50%;
	transform: translateY(-50%);
	transition: all 0.2s ease-in-out;
	display: block;
	width: 30px;
	height: 12px;
}

a.btn:hover,
.btn:hover {
	text-decoration: none;
	opacity: 1;
	background: #F39801;
	color: #fff;
	border-color: #fff;
	transition: all 0.2s ease-in-out;
}

a.btn:hover::before,
.btn:hover::before {
	background-color: #fff;
	right: 25px;
	transition: all 0.2s ease-in-out;
}

a.btn.long-btn {
	max-width: 330px;
}

a.btn.scroll-btn::before {
	content: "";
	-webkit-mask-image: unset;
	mask-image: unset;
	background-color: unset;
	border-width: 10px 6px 0 6px;
	border-style: solid;
	border-color: var(--color-orange) transparent transparent transparent;
	right: 35px;
	width: 0;
	height: 0;
}

a.btn.scroll-btn:hover::before {
	border-color: #fff transparent transparent transparent;
	right: 35px;
}

a.contact-btn {
	display: block;
	width: 100%;
	max-width: 420px;
	margin: 20px auto 0;
	padding: 30px 20px;
	box-sizing: border-box;
	font-size: 1.8rem;
	line-height: 1.25;
	font-weight: var(--weight-bold);
	color: #fff;
	text-align: center;
	background: var(--color-orange);
	border: 2px solid var(--color-orange);
	border-radius: 10px;
	transition: all 0.2s ease-in-out;
	position: relative;
}

a.contact-btn:hover {
	text-decoration: none;
	opacity: 1;
	background: #fff;
	color: var(--color-orange);
	border-color: var(--color-orange);;
	transition: all 0.2s ease-in-out;
}

.btn-list {
	margin-top: 50px;
	justify-content: center;
	gap: 20px 40px;
}

@media screen and (min-width: 768px) {
	.txt-box a.btn {
		margin-left: 0;
	}
}

@media screen and (max-width: 767px) {
	a.contact-btn {
		padding: 20px 10px;
	}
}


/* ============================
	parts
============================ */
.sns-icons {
	justify-content: center;
	gap: 10px;
	flex-wrap: nowrap;
}

.sns-icons img {
	width: auto;
	height: 40px;
}

.table dl {
	display: flex;
	border-top: 1px solid #E2E2E2;
	margin: 0;
}

.table dl:last-child {
	border-bottom: 1px solid #E2E2E2;
}

.table dt,
.table dd {
	padding: 20px;
	margin: 0;
}

.table dt {
	flex-basis: 30%;
	flex-shrink: 0;
	background: #FFF7EB;
	font-weight: var(--weight-bold);
}

.table dd {
	flex-grow: 1;
}

ul.circle li {
	padding-left: 1em;
	text-indent: -1em;
}

ul.circle li::before {
	content: '';
	display: inline-block;
	width: 12px;
	height: 12px;
	border-radius: 100%;
	background: #fff;
	margin-right: 6px;
}

ul.circle li + li {
	margin-top: 10px;
}

.orange ul.circle li::before {
  background: var(--color-orange);
}

.blue ul.circle li::before {
  background: var(--color-blue);
}

@media screen and (max-width: 767px) {
	.table dl {
		flex-direction: column;
	}

	.table dt,
	.table dd {
		flex-basis: 100%;
		padding: 15px;
	}
}


/* ============================
	sp-menu
============================ */
#sp-menu {
	box-sizing: border-box;
	position: absolute;
	transition: all 0.35s ease;
	top: 60px;
	left: 0;
	background-color: #fff;
	width: 100%;
	padding: 40px 15px;
	opacity: 0;
	pointer-events: none;
	z-index: 999;
}

#sp-menu.opening {
	position: fixed;
	transition: all 0.35s ease;
	opacity: 1;
	pointer-events: auto;
	height: calc(100vh - 60px);
}

#sp-menu .menu-item {
	border-bottom: 1px solid var(--color-black);
	padding: 15px 0;
}

#sp-menu .menu-item::first-child {
	border-top: 1px solid var(--color-black);
}

#sp-menu .menu-item a {
	text-align: center;
	line-height: 1;
	display: block;
	width: 100%;
	padding: 15px 0;
	font-weight: 700;
	color: var(--color-black);
}

#sp-menu .sub-menu {
	display: none;
	opacity: 0;
	transition: 0.35s all ease;
}

#sp-menu .sub-menu.opening {
	display: block;
	opacity: 1;
	transition: 0.35s all ease;
}

#sp-menu .sp-contact-box {
	margin: 30px 0 0;
}

#sp-menu .sns-icons {
	margin-top: 20px;
}

/* btn-hamburger */
#btn-hamburger {
	position: relative;
	top: 0;
	right: 0;
	background-color: var(--color-orange);
	width: 60px;
	height: 60px;
	z-index: 1000;
	cursor: pointer;
}

#btn-hamburger .border {
	position: absolute;
	left: 15px;
	transition: opacity, transform 0.2s ease;
	background: #fff no-repeat left top;
	width: 30px;
	height: 2px;
	z-index: 1;
}

#btn-hamburger .border:first-child {
	top: 33%;
}

#btn-hamburger .border:nth-child(2) {
	transform: rotate(0);
	opacity: 1;
	top: 50%;
}

#btn-hamburger .border:nth-child(3) {
	top: 67%;
}

#btn-hamburger.opening .border:first-child {
	transform: rotate(45deg);
	top: 50%;
}

#btn-hamburger.opening .border:nth-child(2) {
	opacity: 0;
}

#btn-hamburger.opening .border:nth-child(3) {
	top: 50%;
	transform: rotate(-45deg);
}

/* ============================
	header
============================ */
#header {
	top: 0;
	left: 0;
	width: 100%;
	z-index: 999;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

#header.h-fixed {
	position: fixed;
}

#header .h-inner {
	align-items: center;
	width: 100%;
	padding: 0 20px 0 0;
	background: #fff;
}

#h-site-logo {
	width: 90px;
}

#h-gnav-box {
	align-items: center;
	gap: 40px;
	flex-grow: 1;
}

#menu-header-nav {
	gap: 20px;
}

#h-gnav-box a.contact-btn {
	max-width: 220px;
	margin: 10px 0;
	padding: 20px;
}

@media screen and (max-width: 1000px) {
	#h-site-logo {
		width: 60px;
	}

	#header .h-inner {
		padding: 0;
	}
}

@media screen and (max-width: 767px) {
	#header {
		margin: 0 auto;
		right: 0;
	}

	#header .h-inner {
		padding: 0;
	}
}

/* ============================
	footer
============================ */
#google-map {
	height: 400px;
}

#google-map iframe {
	width: 100%;
	height: 100%;
}

#contact-link {
	padding: 30px 0;
	background-color: var(--color-orange);
	background-image: linear-gradient(90deg, #f6b74e 1px, transparent 1px), linear-gradient(#f6b74e 1px, transparent 1px);
	background-position: 0 0;
	background-size: 41px 41px;
	position: relative;
}

#contact-link .contact-link-box {
	background: #fff;
	padding: 35px;
	text-align: center;
}

#contact-link::before {
	content: url('images/common/img_chara.png');
	width: 213px;
	position: absolute;
	right: calc(50% - 500px);
	bottom: 0;
	font-size: 0;
	z-index: 1;
}

#contact-link .contact-link-box .main-ttl {
	margin-bottom: 20px;
}

#contact-link .contact-link-box .main-ttl .jp {
	font-size: 3.8rem;
}

#contact-link .contact-link-box .main-ttl .en {
	color: var(--color-black);
}

#footer .f-content {
	padding: 50px 0;
	text-align: center;
}

#footer .sns-icons {
	margin-top: 20px;
}

#footer .f-nav {
	justify-content: center;
	gap: 10px 0;
	margin-top: 30px;
}

#footer .f-nav li {
	padding: 0 25px;
	font-weight: var(--weight-bold);
	position: relative;
}

#footer .f-nav li::before,
#footer .f-nav li::after {
	content: '';
	display: block;
	width: 1px;
	height: 100%;
	background: #DBDBDB;
	position: absolute;
	top: 0;
	left: 0;
}

#footer .f-nav li::after {
	left: unset;
	right: -1px;
}

#copyright {
	background-color: #333;
	padding: 25px 0;
}

#copyright p {
	text-align: center;
	color: #fff;
	font-size: 1.3rem;
	margin: 0;
}

@media screen and (max-width: 1000px) {
	#contact-link::before {
		right: 0;
	}
}

@media screen and (max-width: 767px) {
	#contact-link::before {
		right: -25px;
		transform: scale(0.6);
		transform-origin: right bottom;
	}

	#contact-link .contact-link-box {
		padding: 35px 20px;
	}

	#contact-link .contact-link-box .main-ttl .jp {
		font-size: 2.5rem;
	}

	#footer .f-nav {
		flex-direction: column;
	}

	#footer .f-nav li::before,
	#footer .f-nav li::after {
		display: none;
	}
}

/* ============================
	mainvisual
============================ */
#top-mv {
	height: 610px;
	background:
		url('images/top/mv_bg_01.png') no-repeat top -490px left calc(50% - 10px) / auto,
		url('images/top/mv_bg_01.png') no-repeat bottom -418px left calc(50% - 590px) / auto,
		url('images/top/mv_bg_02.png') no-repeat bottom -233px left calc(50% - 300px) / auto,
		url('images/top/mv_bg_03.png') no-repeat bottom 0 left calc(50% - 670px) / auto,
		url('images/top/mv_bg_01.png') no-repeat top -50px left calc(50% - 500px) / 300px 300px,
		url('images/top/mv_bg_02.png') no-repeat top 20px left calc(50% - 890px) / auto,
		linear-gradient(90deg, rgba(255, 255, 255, 1) 38%, rgba(255, 255, 255, 0) 62%) no-repeat center center / contain,
		url('images/top/mv.jpg') no-repeat center center / cover;
}

#top-mv .flex {
	height: 100%;
	justify-content: flex-start;
	align-items: center;
}

#mv-ttl {
	margin: 0;
	font-weight: var(--weight-bold);
	line-height: 1;
	white-space: nowrap;
}

#mv-ttl .line-diagnal {
	display: inline-block;
	font-size: clamp(3.65rem, 5.4vw, 5.4rem);
	margin-bottom: 5%;
	position: relative;
	z-index: 1;
}

#mv-ttl .line-diagnal::before {
	content: '';
	display: block;
	width: calc(100% - 0.5em);
	height: 19%;
	background-size: auto auto;
	background-color: transparent;
	background-image: repeating-linear-gradient(135deg, transparent, transparent 3px, rgba(243, 152, 1, 1) 3px, rgba(243, 152, 1, 1) 4px );
	position: absolute;
	bottom: 0;
	left: 0;
	z-index: -1;
}

#mv-ttl .line-pen {
	font-size: clamp(5.05rem, 7.5vw, 7.5rem);
	padding-bottom: 4.1%;
	position: relative;
}

#mv-ttl .line-pen::before {
	content: '';
	display: block;
	width: 100%;
	height: 6.5%;
	border-radius: 3px;
	background: var(--color-orange);
	position: absolute;
	bottom: 0;
	left: 0;
}

#mv-ttl .line-pen::after {
	content: '';
	display: block;
	width: 18%;
	aspect-ratio: 78/132;
	-webkit-mask-image: url('images/top/mv_pen.svg');
	mask-image: url('images/top/mv_pen.svg');
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	mask-size: contain;
	-webkit-mask-size: contain;
	background-color: var(--color-orange);
	position: absolute;
	bottom: 0;
	left: calc(100% - 3px);
}

#mv-ttl .txt-orange {
	font-size: clamp(7.2rem, 10.6vw, 10.6rem);
	color: var(--color-orange);
}

@media screen and (max-width: 767px) {
	#top-mv {
		background:
			url('images/top/mv_bg_01.png') no-repeat bottom -400px left calc(50% + 110px) / auto,
			url('images/top/mv_bg_02.png') no-repeat bottom -233px left calc(50% - 330px) / auto,
			url('images/top/mv_bg_03.png') no-repeat bottom -150px left calc(50% + 20px) / auto,
			linear-gradient(0deg, rgba(255, 255, 255, 1) 20%, rgba(255, 255, 255, 0) 60%) no-repeat center center / contain,
			url('images/top/mv.jpg') no-repeat center center / cover;
	}

	#top-mv .flex {
		justify-content: center;
		align-items: flex-end;
	}

	#mv-ttl {
		margin-bottom: 80px;
	}
}


#page-mv {
	padding: 30px 50px 0;
}

#page-mv .mv-inner {
	padding: 100px 0;
	background:
		url('images/common/bg02.png') no-repeat left 50px top -200px / auto,
		url('images/common/bg04.png') no-repeat left 50px top 160px / auto,
		url('images/common/bg01.png') no-repeat right -170px top -200px / auto,
		url('images/common/bg03.png') no-repeat right 50px bottom -260px / auto,
		url('images/common/bg04.png') no-repeat right 230px bottom 50px / auto,
		url('images/common/bg01.png') no-repeat left 170px bottom -120px / 240px auto;
	background-color: var(--color-orange);
	border-radius: 30px;
}

#page-mv .main-ttl {
	margin: 0;
}

@media screen and (max-width: 1100px) {
	#page-mv  {
		padding-left: 15px;
		padding-right: 15px;
		max-width: 1030px;
		margin: 0 auto;
	}
}

@media screen and (max-width: 1000px) {
	#page-mv  {
		padding-top: 20px;
	}
}

@media screen and (max-width: 767px) {
	#page-mv .mv-inner {
		padding: 60px 0;
		background:
			url('images/common/bg02.png') no-repeat left 10px top -80px / 150px auto,
			url('images/common/bg04.png') no-repeat left 20px top 60px / 50px auto,
			url('images/common/bg01.png') no-repeat right -70px top -86px / 200px auto,
			url('images/common/bg03.png') no-repeat right 10px bottom -80px / 150px auto,
			url('images/common/bg04.png') no-repeat right 120px bottom 60px / 50px auto,
			url('images/common/bg01.png') no-repeat left -50px bottom -140px / 200px auto;
		background-color: var(--color-orange);
	}

	#page-mv .main-ttl {
		font-size: 2.1rem;
	}
}

/* ============================
	breadcrumb
============================ */
.breadcrumbs {
	padding: 20px 0;
	font-size: 1.4rem;
}

.breadcrumbs .flex-start {
	gap: 0 15px;
}

.breadcrumbs a {
	color: var(--color-orange);
}

/* ============================
	pagenavi
============================ */
.wp-pagenavi {
	clear: both;
	margin: 50px 0 0;
	font-size: 1.6rem;
	text-align: center;
}

.wp-pagenavi a,
.wp-pagenavi span {
	display: inline-block;
	width: 3em;
	height: 3em;
	margin: 0 0.5em;
	font-weight: var(--weight-bold);
	line-height: 3;
	color: var(--color-orange);
	border: 2px solid var(--color-orange);
	text-align: center;
	vertical-align: middle;
	background: var(--color-light-orange);
	transition: all 0.2s ease-in-out;
}

.wp-pagenavi a:hover,
.wp-pagenavi span {
	background: var(--color-orange);
	color: #fff;
	border-color: var(--color-orange);
	opacity: 1;
	text-decoration: none;
}

.wp-pagenavi a:hover {
	transition: all 0.2s ease-in-out;
}

.wp-pagenavi .extend {
	width: 1em;
	color: #000;
	background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
	border: medium none;
}

.wp-pagenavi .extend::after {
	content: "…";
}

.wp-pagenavi .previouspostslink,
.wp-pagenavi .nextpostslink {
	position: relative;
	width: 3em;
	height: 3em;
	background: var(--color-light-orange);
	text-indent: -999999px;
	vertical-align: middle;
}

.wp-pagenavi .previouspostslink::after,
.wp-pagenavi .nextpostslink::after {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	margin: auto;
	content: "";
	display: block;
	width: 5px;
	height: 5px;
	border-top: 2px solid var(--color-orange);
	border-right: 2px solid var(--color-orange);
}

.wp-pagenavi .previouspostslink::after {
	transform: rotate(225deg);
}

.wp-pagenavi .nextpostslink::after {
	transform: rotate(45deg);
}

.wp-pagenavi .previouspostslink:hover::after,
.wp-pagenavi .nextpostslink:hover::after {
	border-color: #fff;
}

.result_count {
	margin-bottom: 15px;
	text-align: center;
	font-size: 1.4rem;
	color: #999;
}

/* ============================
	post parts
============================ */
.post-thumb a {
	display: block;
	height: 100%;
	padding: 10px;
	background: var(--color-light-orange);
}

.post-thumb a img {
	border-radius: 10px;
}

.post-meta {
	gap: 10px 15px;
	align-items: center;
}

.post-date {
	font-size: 1.4rem;
	font-weight: var(--weight-bold);
}

.post-cats {
	line-height: 1;
}

.post-cats {
	align-items: center;
	gap: 10px;
}

a.post-cat {
	display: block;
	background-color: var(--color-light-orange);
	color: var(--color-orange);
	font-size: 1.4rem;
	font-weight: var(--weight-bold);
	padding: 8px 20px;
	border-radius: 15px;
}

/* ============================
	card list
============================ */

.card-item .post-thumb img {
	width: 100%;
}

.card-item .post-info {
	margin-top: 20px;
}

.card-item .post-ttl {
	font-size: 1.6rem;
	font-weight: var(--weight-bold);
	margin: 20px 0 0;
}

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

/* ============================
	contact form
============================ */
.contact-box .required {
	display: inline-block;
	background-color: #e21414;
	color: #fafafa;
	font-weight: 400;
	font-size: 1.4rem;
	line-height: 1;
	margin: 0 0 0 20px;
	padding: 4px 8px;
}

.contact-box input[type="text"],
.contact-box input[type="password"],
.contact-box input[type="email"],
.contact-box input[type="tel"],
.contact-box input[type="url"],
.contact-box input[type="number"],
.contact-box textarea {
	box-sizing: border-box;
}

.contact-box th {
	box-sizing: border-box;
	width: 25%;
}

.contact-box td {
	box-sizing: border-box;
	width: 75%;
}

.contact-box .your-email {
	box-sizing: border-box;
	width: 100%;
}

.contact-box .zip {
	width: 150px;
	box-sizing: border-box;
}

.contact-box .your-address {
	box-sizing: border-box;
	width: 100%;
}

.contact-box .your-content {
	width: 100%;
	box-sizing: border-box;
}

#consent-box {
	text-align: center;
	margin-top: 30px;
}

#submit-box .wpcf7-response-output {
	text-align: center;
}

#btn-submit {
	position: relative;
	text-align: center;
}

#btn-submit .btn {
	padding: 29px 35px;
	text-align: center;
}

#btn-submit .btn:disabled:hover {
	background: #fff;
	border-color: #e5e5e5;
	color: var(--color-black);
}

#btn-submit .wpcf7-spinner {
	position: absolute;
	top: 50%;
	transform: translate(75px, -50%);
	margin: 0;
}

@media screen and (min-width: 768px) {
	.contact-box th {
		text-align: left;
	}
}

@media screen and (max-width: 767px) {
	.contact-box input[type="text"],
	.contact-box input[type="password"],
	.contact-box input[type="email"],
	.contact-box input[type="tel"],
	.contact-box input[type="url"],
	.contact-box input[type="number"],
	.contact-box textarea {
		width: 100%;
	}

	.contact-box td,
	.contact-box th {
		display: block;
		width: 100%;
	}
}

/* ============================
	404
============================ */
#error-404 .content-box p {
	text-align: center;
}

@media screen and (min-width: 1001px) {
	#sp-menu {
		display: none;
	}

	#btn-hamburger {
		display: none;
	}
}

@media screen and (max-width: 1000px) {
	#h-gnav-box {
		display: none;
	}
}
