/*
Theme Name: kumaki 
 */

/* ============================
	common
============================ */
@import url('https://fonts.googleapis.com/css2?family=Besley:ital,wght@0,400..900;1,400..900&family=Noto+Sans:ital,wght@0,100..900;1,100..900&family=Noto+Serif+JP:wght@200..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Aboreto&display=swap');

:root {
	--leading-trim: calc((1em - 1lh) / 2);
	--main-color: #B47216;
	--main-text-color: #000;
	--bg-color: #F5F6F1;
	--border-color: #DCC8AC;
	--enji: #773D3D;
	--charcoal: #635959;
	--black: #000;
	--white: #fff;
	--container-size: 1040px;
	--page-container-size: 1400px;
	--container-padding: 20px;
}

.noto-sans {
  font-family: "Noto Sans", sans-serif;
}

.noto-serif {
  font-family: "Noto Serif JP", serif;
  font-style: normal;
}

.besley {
	font-family: "Besley", serif;
	font-style: normal;
}

.aboreto {
	font-family: "Aboreto", system-ui;
	font-style: normal;
}

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

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

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

.w-full {
	width: 100%;
}

.w-auto {
	width: auto !important;
}

.max-w-none {
	max-width: unset !important;
}

.mr-50 {
	margin-right: 50px;
	@media screen and (max-width: 767px) {
		margin-right: 0;
	}
}

.youtube {
  width: 100%;
  aspect-ratio: 16 / 9;
}

.youtube iframe {
  width: 100%;
  height: 100%;
}

.google-map iframe {
	aspect-ratio: 160 / 83;
	height: 100%;
	width: 100%;
}

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

#sp-menu {
  background-color: var(--bg-color);
	box-shadow: -1px 0 6px rgb(128 128 128 / .7);
  box-sizing: border-box;
	height: 100vh;
  right: -100%;
  opacity: 1;
  padding: 20px 20px 40px;
  pointer-events: none;
  position: fixed;
  top: 0;
  transition: all 0.5s ease;
	transform: translateZ(0);
  width: 50%;
	z-index: 1001;
}

#sp-menu.opening {
	overflow-y: auto;
  opacity: 1;
  pointer-events: auto;
	right: 0;
}

body:has(#sp-menu)::before {
	background-color: rgb(0 0 0 / .3);
	content: "";
	display: block;
	height: 100%;
	left: 0;
	opacity: 0;
	position: absolute;
	top: 0;
	transition: all 0.3s ease;
	width: 100%;
	z-index: -1;
}

body:has(#sp-menu.opening)::before {
	opacity: 1;
	z-index: 20;
}

#sp-menu .content-width {
	margin-top: 108px;
	width: min(100%, 600px + var(--container-padding) * 2);
}

#sp-menu .menu-title {
	color: var(--main-color);
	line-height: 1;
}

#sp-menu .menu-container {
	display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: clamp(1rem, 5vw, 9rem);
	row-gap: 32px;
	justify-content: space-between;
	position: relative;
}

#sp-menu .menu-container .menu-box {
	display: flex;
	flex-direction: column;
	max-width: 300px;
	position: relative;
	row-gap: 54px;
	width: 100%;
}

#sp-menu .menu-container .menu-box:first-child:before {
	color: var(--main-color);
	content: 'Menu';
	font-family: "Besley", serif;
	font-weight: 500;
	font-size: 1.6rem;
	left: 0;
	letter-spacing: .03em;
	line-height: 1;
	margin-inline: auto;
	position: absolute;
	top: -48px;
	width: fit-content;
}

#sp-menu .menu-container .menu-box .c-link {
	width: 100%;
}

#sp-menu .sp-contact-box {
	display: flex;
	flex-direction: column;
	gap: 30px;
	margin-top: 96px;
}

#sp-menu .sp-contact-box .c-button {
	max-width: 345px;
	width: 100%;
}

#sp-menu .sp-contact-box .c-button.modelhouse {
	background-color: var(--enji);
}

#sp-menu .sp-contact-box .c-button.contact {
	background-color: var(--charcoal);
}

#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;
}

@media screen and (max-width: 1207px) {
	#sp-menu .content-width {
		margin-top: 88px;
	}
	
	#sp-menu .menu-container {
		grid-template-columns: 1fr;
	}

	#sp-menu .menu-container .menu-box {
		max-width: unset;
		position: relative;
		row-gap: 32px;
		width: 100%;
	}
	
	#sp-menu .sp-contact-box {
		align-items: center;
		margin-top: 60px;
		row-gap: 20px;
	}
}

@media screen and (max-width: 767px) {
	#sp-menu {
		padding-top: 20px;
		right: -87%;
		width: 85%;
	}
	
	#sp-menu .content-width {
		margin-top: 60px;
	}
	
	#sp-menu .menu-container {
		row-gap: 20px;
	}
	
	#sp-menu .menu-container .menu-box {
		row-gap: 20px;
	}
	
	#sp-menu .menu-item a {
		width: 85%;
	}
	
	#sp-menu .sp-contact-box {
		margin-top: 50px;
	}
}

@media (hover: hover) {
	#sp-menu .sp-contact-box .c-button.modelhouse:hover .arrow {
		background-color: var(--enji);
	}

	#sp-menu .sp-contact-box .c-button.contact:hover .arrow {
		background-color: var(--charcoal);
	}
}

/* btn-hamburger */
#btn-hamburger {
  cursor: pointer;
  height: 20px;
  position: relative;
  right: 0;
  top: -10px;
  width: 43px;
  z-index: 1001;
}

#btn-hamburger::after {
	color: var(--white);
	content: 'Menu';
	font-family: "Besley", serif;
	font-weight: 500;
	font-size: 1.4rem;
	left: 0;
	letter-spacing: .03em;
	margin-inline: auto;
	position: absolute;
	top: calc(100% + 5px);
	width: fit-content;
}

#btn-hamburger .border {
	border-radius: 1px;
  position: absolute;
  left: 0;
  transition: opacity, transform 0.2s ease;
  background: var(--white) no-repeat left top;
  height: 2px;
  width: 43px;
  z-index: 1;
}

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

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

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

@media screen and (max-width: 767px) {
	#btn-hamburger {
		height: 16px;
		right: 15px;
		top: -5px;
		width: 38px;
	}
	
	#btn-hamburger::after {
		font-weight: 500;
		font-size: 1.2rem;
	}
	
	#btn-hamburger .border {
		width: 38px;
	}
}

#sp-menu .close-button {
	background-color: transparent;
	border: 1.5px solid var(--black);
	border-radius: 25px;
	cursor: pointer;
	display: block;
	height: 48px;
	margin-left: auto;
	padding: 0;
	position: relative;
	transition: all .2s;
	outline: none;
	width: 78px;
}

#sp-menu .close-button::before,
#sp-menu .close-button::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 26px;
  height: 1.5px;
  background-color: black;
}

#sp-menu .close-button::before {
  transform: translate(-50%, -50%) rotate(38deg);
}

#sp-menu .close-button::after {
  transform: translate(-50%, -50%) rotate(-38deg);
}

@media screen and (max-width: 767px) {
	#sp-menu .close-button {
		border-radius: 25px;
		height: 35px;
		width: 65px;
	}
	
	#sp-menu .close-button::before,
	#sp-menu .close-button::after {
	  width: 17px;
	}
}

@media (hover: hover) {
	#sp-menu .close-button:hover {
		background-color: var(--main-color);
		border: 1.5px solid var(--main-color);
	}
}

/* ============================
	header
============================ */
body.page,
body.archive,
body.single {
		#header {
		.h-inner {
			background-color: var(--white);
			
			#h-site-logo img {
				max-width: 80px;
			}
			
			#menu-header-nav {
				.menu-item a {
					color: var(--main-text-color);
				}
			}
		}
		#btn-hamburger {
			.border {
				background-color: var(--main-text-color);
			}
			
			&::after {
				color: var(--main-text-color);
			}
		}
	}
	.content-width {
		width: min(100%, calc(var(--page-container-size) + var(--container-padding) * 2));
	}
}

#header {
  top: 0;
  left: 0;
  width: 100%;
  z-index: 19;
}

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

#header .h-inner {
  align-items: center;
	display: flex;
	justify-content: space-between;
	height: auto;
  padding: 20px;
	transition: all .4s;
	width: 100%;
}

body#top #header.h-fixed.add-background .h-inner {
	background-color: rgb(99 89 89 / .8);
}

#h-site-logo img {
	height: auto;
	max-width: 127px;
	transition: all .6s;
	width: 100%;
}

body#top #header.h-fixed.add-background #h-site-logo img  {
	max-width: 80px;
}

@media screen and (max-width: 767px) {
	#h-site-logo img {
		align-items: center;
		display: flex;
		max-width: 110px;
	}
}

#h-gnav-box {
	column-gap: 36px;
	display: flex;
}

#menu-header-nav {
	align-items: center;
	column-gap: 30px;
	display: flex;
}

#header .h-inner #menu-header-nav .menu-item a {
	color: var(--white);
	font-size: 1.6rem;
	font-weight: 500;
	transition: all .2s;
}

#h-gnav-contact a {
  display: block;
  box-sizing: border-box;
  background-color: var(--link-color);
  color: #fff;
  font-size: 1.4rem;
  height: auto;
  padding: 11px 20px;
  text-align: center;
  width: fit-content;
}

#h-gnav-contact a span {
	color: var(--white);
	font-size: 1.4rem;
	line-height: 1.2;
}

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

  #header .h-inner {
    padding: 10px 0 10px 10px;
  }
	
	#h-site-logo img {
		max-width: 90px;
	}
}

@media (hover: hover) {
	#header .h-inner #menu-header-nav .menu-item a:hover {
		color: var(--border-color);
		opacity: 1;
	}
}

/* ============================
	footer
============================ */
#footer {
	background-color: var(--link-color);
}

#footer .content-width {
	position: relative;
	width: min(100%, calc(1500px + var(--container-padding) * 2));
}

#footer .f-inner {
  padding: 100px 0 40px;
}

#footer .f-content {
	column-gap: 40px;
	display: flex;
	justify-content: space-between;
	margin-right: 50px;
}

#footer .wrap-company-contents {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

#footer .f-content .company-contents > a img {
	height: auto;
	max-width: 178px;
	width: 100%;
}

#footer .f-content .company-information .company {
	font-size: 2rem;
	font-weight: 500;
	letter-spacing: .05em;
	margin-top: 25px;
}

#footer .f-content .company-information address {
	color: var(--main-text-color);
	font-style: normal;
	font-size: 1.6rem;
	font-weight: 400;
	letter-spacing: .03em;
	margin-top: 10px;
	line-height: 1.6;
}

#footer .f-content .company-information address .zip-code {
	margin-right: 5px;
}

#footer .f-content .company-information .sns-contents {
	align-items: center;
	display: flex;
	gap: 20px;
	margin-top: 10px;
}

#footer .f-content .company-information .sns-item {
	display: block;
	width: fit-content;
}

#footer .f-content .company-information .sns-item img {
	display: block;
	height: auto;
	max-width: 32px;
	width: 100%;
}

#footer .f-content .company-information .sns-item.youtube img {
	max-width: 48px;
}

#footer .f-content .company-information .sns-item span::before {
	background-image: url("./images/common/instagram.svg");
	content: "";
	display: block;
	height: 18px;
	left: -30px;
	position: absolute;
	top: 50%;
	translate: 0 -50%;
	width: 18px;
}

#footer .f-content .footer-nav-container {
	display: flex;
	flex-direction: column;
	gap: 80px;
	justify-content: space-between;
}

#footer .f-content .footer-nav-container .footer-nav {
	column-gap: 80px;
	display: flex;
}

#footer .f-content .footer-nav-container .footer-nav .footer-nav-list {
	min-width: 160px;
	width: 100%;
}

#footer .f-content .footer-nav-container .footer-nav .footer-nav-list li + li {
	margin-top: 16px;
}

#footer .f-content .footer-nav-container .footer-nav .footer-nav-list a {
	color: var(--main-text-color);
	font-size: 1.5rem;
	font-weight: 500;
	letter-spacing: .03em;
	transition: all .2s;
}

#footer .f-content .footer-nav-container .footer-nav .footer-nav-list .sub-menu {
	margin-left: 1em;
	margin-top: 10px;
}

#footer .f-content .footer-nav-container .footer-nav .footer-nav-list .sub-menu li + li {
	margin-top: 0;
}

#footer .f-content .footer-nav-container .footer-nav .footer-nav-list .sub-menu a {
	font-size: 1.4rem;
	font-weight: 400;
	letter-spacing: .16em;
}

#copyright {
	margin-inline: auto;
	margin-top: 65px;
	width: fit-content;
}

#copyright p {
	color: var(--main-text-color);
	font-size: 1.5rem;
	letter-spacing: .03em;
	margin: 0;
}

@media screen and (max-width: 1023px) {
	#footer .f-content {
		flex-wrap: wrap-reverse;
		justify-content: center;
		margin-right: 0;
		row-gap: 35px;
	}
	
	#footer .f-content .footer-nav-container {
		row-gap: 40px;
	}
	
	#footer .f-content .footer-nav-container .privacy-policy {
		margin-left: 0;
	}
}

@media screen and (max-width: 767px) {
	#footer {
		padding-bottom: 40px;
	}
	
	#footer .f-inner {
		padding: 40px 0 20px;
	}
	
	#footer .f-content .footer-nav-container {
		flex-wrap: wrap;
		width: 100%;
	}
	
	#footer .f-content .company-contents > a {
		display: block;
		margin-inline: auto;
		width: fit-content;
	}
	
	#footer .f-content .company-contents .company-information {
		text-align: center;
	}
	
	#footer .f-content .company-information address {
		font-size: 1.5rem;
	}
	
	#footer .f-content .footer-nav-container .footer-nav {
		align-items: center;
		flex-direction: column;
		row-gap: 16px;
	}

	#footer .f-content .footer-nav-container .footer-nav .footer-nav-list {
		flex-basis: auto;
		width: auto;
	}
	
	#footer .f-content .footer-nav-container .footer-nav .footer-nav-list a {
		font-size: 1.4rem;
	}
	
	#footer .f-content .company-contents > a img {
		max-width: 130px;
	}

	#footer .f-content .company-information .company {
		margin-top: 10px;
	}
	
	#footer .f-content .company-information .sns-contents {
		justify-content: center;
	}
	
	#copyright {
		margin-top: 25px;
	}
}

@media (hover: hover) {
	#footer .f-content .footer-nav-container .footer-nav .footer-nav-list a:hover {
		color: var(--enji);
		font-weight: 700;
		opacity: 1;
	}
}

/* ============================
	mainvisual
============================ */
.mainvisual {
  margin: 0;
	position: relative;
  width: 100%;
}

#page-mv {
	.mv-inner {
		background-color: transparent;
	}
	
	.intro-box {
		column-gap: 40px;
		display: flex;
		justify-content: space-between;
		
		@media screen and (max-width: 767px) {
			flex-wrap: wrap;
			justify-content: space-between;
			row-gap: 30px;
		}
		
		.page-ttl-box {
			flex-shrink: 1;
			width: fit-content;
			
			&.image-none {
				max-width: none;
			}
			
			.page-ttl {
				font-size: 3.8rem;
				
				@media screen and (max-width: 767px) {
					font-size: 2.6rem;
				}
			}
			
			.sec-sub-ttl {
				color: var(--main-color);
				font-size: 1.8rem;
				
				@media screen and (max-width: 767px) {
					font-size: 1.4rem;
				}
			}
		}
		
		.text-box {
			flex-shrink: 1;
			margin-right: 50px;
			max-width: 910px;
			width: fit-content;
			
			@media screen and (max-width: 767px) {
				max-width: unset;
			}
			
			p {
				& + p {
					margin-top: 1.5em;
				}
			}
		}
	}
	
	.image-box {
		margin-top: 64px;
		
		@media screen and (max-width: 767px) {
			margin-top: 30px;
		}
	}
}

#page-mv .mv-inner {
  padding: 100px 0;
  background-color: transparent;
}

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

@media screen and (max-width: 767px) {
  #page-mv .mv-inner {
    padding: 60px 0;
  }
  #page-mv .page-ttl {
    font-size: 2.1rem;
  }
}

.sec-ttl-box .sec-ttl {
	color: var(--main-text-color);
	font-size: 3rem;
	font-weight: 500;
	letter-spacing: .03em;
	line-height: 2;
}

.sec-ttl-box span {
	color: var(--main-color);
	display: block;
	font-size: 1.6rem;
	font-weight: 500;
	letter-spacing: .03em;
	line-height: 1;
	margin-block: var(--leading-trim);
	margin-bottom: 5px;
}

.sec-ttl-box .slash {
	display: inline;
	font-size: 3rem;
	margin: 0;
}

@media screen and (max-width: 767px) {
	.sec-ttl-box .sec-ttl {
		font-size: 2.2rem;
	}
	
	.sec-ttl-box span {
		font-size: 1.4rem;
	}
}

/* ============================
	link-group
============================ */
.mv-inner .link-group {
	display: flex;
	flex-direction: column;
	gap: 12px;
	right: 0;
	position: fixed;
	top: 180px;
	z-index: 14;
}

.mv-inner .link-group a {
	align-items: center;
	background-color: var(--main-color);
	border: 1px solid var(--white);
	border-radius: 10px 0 0 10px;
	box-sizing: border-box;
	display: flex;
	right: -12px;
	gap: 8px;
	padding: 24px 30px 24px 25px;
	position: relative;
	text-orientation: upright;
	transition: all .4s;
	width: 77px;
	writing-mode: vertical-rl;
}

.mv-inner .link-group a.modelhouse {
	background-color: var(--enji);
}

.mv-inner .link-group a.contact {
	background-color: var(--charcoal);
}

.mv-inner .link-group a span {
	color: var(--white);
	font-size: 1.7rem;
	font-weight: 500;
	letter-spacing: .15em;
}

.mv-inner .link-group a img {
	display: block;
	height: 16px;
	width: 20px;
}

@media screen and (max-width: 895px) {
	.mv-inner .link-group {
		background-color: var(--white);
		bottom: 0;
		display: flex;
		flex-direction: row;
		gap: 0;
		right: 0;
		opacity: 1;
		position: fixed;
		top: unset;
		transition: all  .2s;
		visibility: visible;
		width: 100%;
		z-index: 9;
	}
	
	.mv-inner .link-group.desabled {
		visibility: hidden;
		opacity: 0;
	}
	
	.mv-inner .link-group a {
		align-items: center;
		border-radius: 0;
		display: flex;
		flex-direction: column;
		justify-content: center;
		gap: 8px;
		padding: 12px 6px 10px;
		position: relative;
		right: 0;
		text-align: center;
		text-orientation: upright;
		writing-mode:  horizontal-tb;
		width: 50%;
	}
	
	.mv-inner .link-group a.contact {
		display: none;
	}
	
	.mv-inner .link-group a:first-child {
		border-left: none;
	}
	
	.mv-inner .link-group a:nth-child(2) {
		border-right: none;
	}
	
	.mv-inner .link-group a span {
		align-items: center;
		display: flex;
		font-size: 1.3rem;
		height: 28px;
		letter-spacing: 0.06em;
		line-height: 1.2;
	}
}

@media (hover: hover) {
	.mv-inner .link-group a:hover {
		opacity: 1;
		translate: -8px 0;
	}
}

/* ============================
	section
============================ */
.sec-inner {
  padding: 100px 0;
}

.content-width {
  box-sizing: border-box;
  padding: 0 20px;
  margin: 0 auto;
	width: min(100%, calc(var(--container-size) + var(--container-padding) * 2));
}

.content-box {
  margin: 50px 0 0;
}

@media screen and (max-width: 767px) {
	.sec-inner {
  	padding: 60px 0;
	}
	
  .content-width {
    width: 100%;
  }
	
	.content-box {
	  margin: 40px 0 0;
	}
}

/* ============================
	breadcrumb
============================ */
.breadcrumbs {
	align-items: center;
	background-color: transparent;
  display: flex;
	height: fit-content;
	padding: 10px 0;
}

.breadcrumbs,
.breadcrumbs a, 
.breadcrumbs a span {
  color: var(--main-text-color);
	font-size: 1.3rem;
	font-weight: 400;
}

.breadcrumbs span {
	color: #A3A3A3;
}

.breadcrumbs .content-width {
	text-align: left;
}

.breadcrumbs .content-width > span {
	margin-left: 0;
	position: relative;
}

.breadcrumbs .content-width > span:first-child {
	margin-left: 0;
}

.breadcrumbs .content-width > span::before {
	border: 2px solid var(--enji);
  border-left: 0;
  border-bottom: 0;
  box-sizing: border-box;
	content: "";
	color: var(--main-text-color);
	display: inline-block;
	height: 8px;
	line-height: 1;
	margin: 0.45em 0.75em 0.15em 0.35em;
	transform: rotate(45deg);
	width: 8px;
}

.breadcrumbs .content-width > span:first-child::before {
	content: none;
}

@media screen and (max-width: 767px) {
	.breadcrumbs {
		padding: 10px 0;
	}
}

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

.wp-pagenavi a,
.wp-pagenavi span {
	border-radius: 50%;
  display: inline-block;
	font-family: "Aboreto", system-ui;
  width: 3em;
  height: 3em;
  margin: 0 0.5em;
  font-weight: bold;
  line-height: 2.75;
  border: 2px solid var(--enji);
  text-align: center;
  vertical-align: middle;
  transition: all 0.5s ease;
}

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

.wp-pagenavi a:hover {
  transition: all 0.5s ease;
}

.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: #fff;
  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: 10px;
  height: 10px;
  border-top: 2px solid #42210B;
  border-right: 2px solid #42210B;
}

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

.wp-pagenavi .nextpostslink::after {
	right: 5px;
  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;
}

/* ============================
	m-swiper-container
============================ */
.m-swiper-container {
	position: relative;
}

.m-swiper-container .swiper-slide {
  aspect-ratio: 426 / 289;
  height: 100%;
	width: 100%;
}

.m-swiper-container .swiper-slide img {
	height: auto;
	object-fit: cover;
	width: 100%;
}

.m-swiper-container .swiper-navigation-icon {
	display: none;
}

.m-swiper-container .swiper-controller {
	align-items: center;
	column-gap: 20px;
	display: flex;
	justify-content: flex-end;
	margin-top: 30px;
}

.m-swiper-container .swiper-controller .swiper-pagination {
	position: static;
	width: fit-content;
}

.m-swiper-container .swiper-controller .swiper-button-box {
	width: fit-content;
}

.m-swiper-container .swiper-button-prev,
.m-swiper-container .swiper-button-next {
	background-color: var(--border-color);
	border: 1px solid var(--border-color);
	border-radius: 25px;
	height: 32px;
	margin-top: 0 !important;
	transition: all .2s;
	width: 52px;
}

.m-swiper-container .swiper-button-prev::after,
.m-swiper-container .swiper-button-next::after {
	background-color: var(--main-text-color);
	mask-image: url("./images/common/arrow_right_3.svg");
	mask-repeat: no-repeat;
	mask-size: contain;
	content: "";
	display: block;
	height: 12px;
	transition: all .2s;
	width: 11px;
}

.m-swiper-container .swiper-button-prev::after {
	rotate: 180deg;
}

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

@media (hover: hover) {
	.m-swiper-container .swiper-button-prev:hover,
	.m-swiper-container .swiper-button-next:hover {
		background-color: var(--enji);
	}
	
	.m-swiper-container .swiper-button-prev:hover::after,
	.m-swiper-container .swiper-button-next:hover::after {
		background-color: var(--white);
	}
}

/* .m-has-thumb-slider */
.m-has-thumb-slider .swiper-wrapper {
	align-items: center;
}

.m-has-thumb-slider .swiper-slide img {
	height: 585px;
	object-fit: contain;
	width: 100%;
}

.m-has-thumb-slider .swiper-button-prev {
	left: -120px;
}

.m-has-thumb-slider .swiper-button-next {
	right: -120px;
}

.m-has-thumb-slider .swiper-pagination {
	background-color: var(--sub-color);
	color: var(--white);
	position: absolute;
	top: 15px;
	left: 15px;
	height: 30px;
	line-height: 1.7;
	text-align: center;
	width: 60px;
}

@media screen and (max-width: 767px) {
	.m-has-thumb-slider .swiper-slide {
		aspect-ratio: 3 / 2;
	}

	.m-has-thumb-slider .swiper-slide img {
		height: auto;
		aspect-ratio: 3 / 2;
	}

	.m-has-thumb-slider .swiper-button-prev {
		left: -18px;
	}

	.m-has-thumb-slider .swiper-button-next {
		right: -18px;
	}
}

/* .m-thumb-slider */
.m-thumb-slider {
	margin-top: 10px;
}

.m-thumb-slider .swiper-wrapper {
	align-items: center;
}

.m-thumb-slider .swiper-slide {
	cursor: pointer;
	display: grid;
	place-content: center;
	position: relative;
	text-align: center;
	transition: all .3s ease;
}

.m-thumb-slider .swiper-slide:hover {
	opacity: 0.8;
	transition: all .3s ease;
}

.m-thumb-slider .swiper-slide::before {
	background-color: var(--charcoal);
	content: '';
	opacity: .5;
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
}

.m-thumb-slider .swiper-slide-thumb-active::before {
	content: none;
}

.m-thumb-slider .swiper-slide img {
	height: 80px;
	object-fit: contain;
}

@media screen and (max-width: 767px) {
	.m-thumb-slider .swiper-slide {
		aspect-ratio: 3 / 2;
	}

	.m-thumb-slider .swiper-slide img {
		height: unset;
		aspect-ratio: 3 / 2;
	}
}

/* ============================
	thanks
============================ */
body.page-template-template-thanks .section .sec-inner {
	padding-top: 0;
}

/* ============================
	archive event
============================ */
body.post-type-archive-event .section.event .sec-inner {
	padding-top: 0;
}

body.post-type-archive-info .section.info .sec-inner {
	padding-top: 0;
}

body.post-type-archive-blog .section.blog .sec-inner {
	padding-top: 0;
}

body.post-type-archive-event section.event .content-width {
    width: min(100%, calc(1500px + var(--container-padding) * 2));
}

.archive-list.event-list {
	column-gap: 80px;
	display: flex;
}

.archive-list.event-list .event-item {
	flex-basis: calc((100% - 160px) / 3);
}

.archive-list.event-list .event-item .image-box {
	aspect-ratio: 448 / 310;
	height: 100%;
	width: 100%;
}

.archive-list.event-list .event-item .image-box img {
	display: block;
	height: 100%;
	margin-inline: auto;
	object-fit: contain;
	object-position: center;
	width: auto;
}

.archive-list.event-list .event-item .post-ttl {
	color: var(--main-color);
	font-size: 1.8rem;
}

.archive-list.event-list .event-item .post-info {
	align-items: center;
	display: flex;
	gap: 10px;
	margin-top: 28px;
}

.archive-list.event-list .event-item .period {
	align-items: center;
	border-left: 1px solid var(--main-text-color);
	column-gap: 15px;
	display: flex;
	font-size: 1.4rem;
	font-weight: 400;
	line-height: 1;
	padding-left: 10px;
}

.archive-list.event-list .event-item .text-box {
	align-items: center;
	column-gap: 10px;
	display: flex;
	justify-content: center;
		margin-top: 20px;
}

.archive-list.event-list .event-item .text-box::after {
	background-image: url("./images/common/arrow_right_2.svg");
	background-repeat: no-repeat;
	background-size: contain;
	content: "";
	display: block;
	height: 26px;
	width: 26px;
}

.archive-list.event-list .event-item .description {
	display: -webkit-box;
	font-size: 1.5rem;
	font-weight: 400;
	line-height: 1.7;
	overflow: hidden;
	width: calc(100% - 36px);
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

@media screen and (max-width: 979px) {
	.archive-list.event-list {
		column-gap: 40px;
		flex-wrap: wrap;
		row-gap: 50px;
	}
	
	.archive-list.event-list .event-item {
		flex-basis: calc(50% - 20px);
	}
}

@media screen and (max-width: 767px) {
	.archive-list.event-list .event-item {
		flex-basis: 100%;
	}
	
	.archive-list.event-list .event-item .post-ttl {
		font-weight: 400;
	}
}

.post-type-archive-event .archive-list.event-list .event-item .post-ttl {
	color: var(--main-text-color);
}

.post-type-archive-event .archive-list.event-list .event-item .period {
	color: var(--main-text-color);
}

.post-type-archive-event .archive-list.event-list .event-item .address {
	color: var(--main-text-color);
}

/* ============================
	archive works
============================ */
body.post-type-archive-works section.works {
	overflow: hidden;
}

body.post-type-archive-works section.works .sec-inner {
	padding-top: 0;
}

body.post-type-archive-works .archive-list.works-list .works-item .swiper-wrapper {
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	width: 100vw;
}


.archive-list.works-list {
	width: 100%;
}

.archive-list.works-list .works-item {
	position: relative;
}

.archive-list.works-list .works-item + .works-item {
	margin-top: 100px;
}

.archive-list.works-list .works-item .swiper-wrapper {
	transition-timing-function: linear;
}

.archive-list.works-list .works-item .swiper-slide {
	align-items: first baseline;
	display: flex;
	height: 500px;
	overflow: hidden;
	width: auto !important
}

.archive-list.works-list .works-item .swiper-slide img {
	display: block;
	height: 100%;
	max-width: none;
	object-fit: cover;
	transition: all .4s;
	width: auto;
}

.archive-list.works-list .works-item .post-meta {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin-inline: auto;
	margin-top: 30px;
	position: relative;
	width: min(100%, calc(1500px + var(--container-padding) * 2));
}

.archive-list.works-list .works-item .post-meta .post-ttl .title {
	color: var(--main-color);
	cursor: pointer;
	font-size: 1.8rem;
	font-weight: 500;
	letter-spacing: .03em;
	line-height: 1.6;
}

.archive-list.works-list .works-item .post-meta .post-area {
	border-left: 1px solid var(--main-text-color);
	border-right: 1px solid var(--main-text-color);
	padding: 0 15px;
}

.archive-list.works-list .works-item .post-meta .post-area p {
	font-size: 1.4rem;
	font-weight: 400;
	line-height: 1.2;
}

.archive-list.works-list .works-item .post-meta .post-cats {
  align-items: center;
	display: flex;
	flex-wrap: wrap;
	line-height: 1;
	margin-left: 20px;
	gap: 8px;
}

.archive-list.works-list .works-item .post-meta .post-cat {
	border: 1px solid var(--main-text-color);
	border-radius: 25px;
  color: var(--main-text-color);
  display: block;
  font-size: 1.2rem;
	font-weight: 400;
	line-height: 1;
	padding: 7px 14px;
  text-align: center;
  width: fit-content;
}

.archive-list.works-list .works-item .swiper-pagination {
	margin-left: auto;
	position: static;
	width: fit-content;
}

.archive-list.works-list .works-item .swiper-arrow-box {
	display: flex;
	gap: 8px;
}

@media screen and (max-width: 767px) {
	body.post-type-archive-works section.works .sec-inner .content-box {
		margin-top: 0;
	}
	
	.archive-list.works-list .works-item .post-meta .post-cats {
		margin-left: 0;
		width: 100%;
	}

	.archive-list.works-list .works-item .swiper-slide {
		overflow: hidden;
		height: 210px;
	}
	
	.archive-list.works-list .works-item .swiper-pagination {
		position: absolute;
		right: 0;
		top: 0;
	}
	
}

@media (hover: hover) {
	.archive-list.works-list .works-item .swiper-slide:hover {
		opacity: 1;
	}
	
	.archive-list.works-list .works-item .swiper-slide:hover img {
		scale: 1.07;
	}
}

/* ============================
	archive info
============================ */
.archive-list.info-list a {
	border-top: 1px solid var(--border-color);
	display: flex;
	gap: 0 30px;
	width: 100%;
}

.archive-list.info-list a:last-of-type {
	border-bottom: 1px solid var(--border-color);
}

.archive-list.info-list a .post-thumb {
	aspect-ratio: 4 / 3;
	height: auto;
	max-width: 220px;
	width: 100%;
}

.archive-list.info-list a .post-thumb img {
	height: 100%;
	object-fit: cover;
	object-position: center;
	width: 100%;
}

.archive-list.info-list a .info-contents {
	padding: 25px;
	width: 100%;
}

.archive-list.info-list a .info-meta {
	column-gap: 12px;
	display: flex;
	line-height: 1;
}

.archive-list.info-list a .info-meta .post-cats {
	border-right: 1px solid var(--main-text-color);
	padding-right: 12px;
}

.archive-list.info-list a .info-meta time {
	color: var(--sub-text-color);
	font-size: 1.5rem;
	line-height: 1;
}

.archive-list.info-list a .post-ttl {
	display: -webkit-box;
	font-size: 1.6rem;
	font-weight: 400;
	margin-top: 30px;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

@media screen and (max-width: 767px) {
	.archive-list.info-list a {
		flex-wrap: wrap;
		padding-top: 30px;
	}
	
	.archive-list.info-list a .post-thumb {
		max-width: unset;
	}
	
	.archive-list.info-list a .info-contents {
		max-width: unset;
		padding: 15px 10px;
	}
	
	.archive-list.info-list a .post-ttl {
		font-size: 1.4rem;
		margin-top: 5px;
	}
}

/* ============================
	archive blog
============================ */
.archive-list.blog-list a {
	border-top: 1px solid var(--border-color);
	display: flex;
	gap: 30px;
	width: 100%;
}

.archive-list.blog-list a:last-of-type {
	border-bottom: 1px solid var(--border-color);
}

.archive-list.blog-list a .post-thumb {
	aspect-ratio: 4 / 3;
	height: auto;
	max-width: 220px;
	width: 100%;
}

.archive-list.blog-list a .post-thumb img {
	height: 100%;
	object-fit: cover;
	object-position: center;
	width: 100%;
}

.archive-list.blog-list a .blog-contents {
	padding: 25px;
	width: 100%;
}

.archive-list.blog-list a .post-meta time {
	color: var(--sub-text-color);
	font-size: 1.5rem;
	line-height: 1;
}

.archive-list.blog-list a .post-ttl {
	font-size: 1.5rem;
	font-weight: 400;
	margin-top: 5px;
}

@media screen and (max-width: 767px) {
	.archive-list.blog-list a {
		flex-wrap: wrap;
		row-gap: 0;
		padding-top: 30px;
	}
	
	.archive-list.blog-list a .post-thumb {
		aspect-ratio: 7 / 4;
		max-width: unset;
	}
	
	.archive-list.blog-list a .blog-contents {
		max-width: unset;
		padding: 15px 10px;
	}
	
	.archive-list.blog-list a .post-ttl {
		margin-top: 5px;
	}
}

/* ============================
	post parts
============================ */
.post-date {
  font-size: 1.5rem;
  min-width: 70px;
}

.post-cats {
  align-items: center;
	display: flex;
	flex-wrap: wrap;
	line-height: 1;
	gap: 8px;
}

.post-cat {
  color: var(--main-text-color);
  display: block;
  font-size: 1.2rem;
	font-weight: 400;
	line-height: 1;
  text-align: center;
  width: fit-content;
}

.post-cat + .post-cat {
  margin: 0 0 0 10px;
}

.post-cat:link {
  color: #fff;
}

.post-cat:visited {
  color: #fff;
}

/* ============================
	news list
============================ */
.news-item {
  padding: 20px 0;
}

.news-item + .news-item {
  border-top: 1px solid #1e1e1e;
}

.news-item .post-ttl {
  font-size: 1.5rem;
  margin: 0 0 0 20px;
}

@media screen and (max-width: 767px) {
  .news-item .post-meta {
    width: 100%;
  }
  .news-item .post-ttl {
    margin-left: 0;
  }
}

/* ============================
	card list
============================ */
.card-list {
  margin-top: -30px;
  margin-left: -80px;
}

.card-item {
  width: 280px;
  margin-top: 30px;
  margin-left: 80px;
}

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

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

.card-item .post-ttl {
  font-size: 1.5rem;
  margin: 20px 0 0;
}

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

/* ============================
	contact form
============================ */
.contact-box {
	background-color: var(--bg-color);
	border-radius: 10px;
	padding: 60px 60px;
}

.contact-box .required {
  background-color: #BC5E5E;
	border-radius: 2px;
  color: #fafafa;
  display: inline-block;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 0 16px;
  padding: 4px 8px;
}

.contact-box .optional {
  background-color: #9F9F9F;
	border-radius: 2px;
  color: #fafafa;
  display: inline-block;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 0 16px;
  padding: 4px 8px;
}

.contact-box .flex {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 40px;
}

.contact-box .flex span {
	margin-right: 20px;
}

.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 input[type="date"],
.contact-box textarea {
	background-color: #F8F8F8;
	border: 1px solid #9F9F9F;
	border-radius: 6px;
	box-shadow: unset;
	box-sizing: border-box;
	font-size: 1.7rem;
	font-weight: 500;
	padding: 4px 16px;
	width: 100%;
}

.contact-box input[type="text"].your-address {
	margin-top: 16px;
}

.contact-box input.size-m,
.contact-box select.size-m {
	width: 240px;
}

.contact-box input.size-s,
.contact-box select.size-s {
	width: 120px;
}

.contact-box input[type=radio]{
  position: absolute;
  visibility: hidden;
}

.contact-box .wpcf7-radio {
	display: flex;
	flex-wrap: wrap;
	gap: 20px 40px;
}

.contact-box .wpcf7-list-item {
	margin: 0;
}

.contact-box .wpcf7-radio .wpcf7-list-item {
	flex-basis: auto;
	width: auto;
}

.contact-box .wpcf7-radio .wpcf7-list-item-label {
  cursor: pointer;
  display: flex;
}

.contact-box .wpcf7-radio .wpcf7-list-item-label::before {
  background-color: var(--white);
	border: 1px solid #ccc;
  border-radius: 100%;
  content: "";
  height: 16px;
  margin-bottom: auto;
  margin-right: .5em;
  margin-top: auto;
  transition: background-color .3s;
  width: 16px;
}

.contact-box input[type="radio"]:checked + .wpcf7-list-item-label::before {
  background-color: var(--main-color);
  box-shadow: inset 0 0 0 2px var(--white);
}

.contact-box input[type="checkbox"] {
	appearance: none;
	background-color: var(--white);
	border: 1px solid #ccc;
	border-radius: 3px;
  position: relative;
  width: 24px;
  height: 24px;
  vertical-align: -5px;
}

.contact-box input[type="checkbox"]:checked:before {
  position: absolute;
  top: 2px;
  left: 8px;
  transform: rotate(40deg);
  width: 8px;
  height: 15px;
  border-right: 3px solid var(--main-color);
  border-bottom: 3px solid var(--main-color);
  content: '';
}

.contact-box dl {
	align-items: flex-start;
	column-gap: 20px;
	display: flex;
	flex-wrap: wrap;
	row-gap: 15px;
	font-size: 1.6rem;
	font-weight: 700;
	margin: 0;
}

.contact-box dl + dl {
	margin-top: 40px;
}

/* 条件付きグループ（資料請求時の住所欄など）も dl と同じ余白でつなぐ
   ※グループ div の class は wpcf7cf-hidden 等になるため data-class で指定 */
.contact-box dl + [data-class="wpcf7cf_group"],
.contact-box [data-class="wpcf7cf_group"] + dl {
	margin-top: 40px;
}

.contact-box dt {
	margin-top: 6px;
	max-width: 215px;
	width: 100%;
}

.contact-box dd {
	font-size: 1.6rem;
	font-weight: 700;
	margin: 0;
	width: calc(100% - 235px);
}

/* お問い合わせ事項などラジオの行は dt とラジオを高さ中央で揃える
   （dt の margin-top: 6px は入力欄用の調整なのでこの行では打ち消す） */
.contact-box dl:has(.wpcf7-radio) {
	align-items: center;
}

.contact-box dl:has(.wpcf7-radio) dt {
	margin-top: 0;
}

.contact-box dd .event-name input {
	background-color: transparent;
	border: none;
	padding: 0;
}

.contact-box dd.note {
	font-size: 1.5rem;
	font-weight: 500;
	margin: 8px 0 24px 0;
}

.contact-box dd.flex-date {
	align-items: flex-start;
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	width: 100%;
}

.contact-box dd.flex-date .label {
	width: 60px;
	
	@media screen and (max-width: 989px) {
		width: 100%;
	}
}

.contact-box dd.flex-date + .flex-date {
	margin-top: 30px;
}

@media screen and (max-width: 767px) {
	.contact-box dl {
		flex-wrap: wrap;
	}
	
	.contact-box dt {
		max-width: unset;
	}
	
	.contact-box dd {
		width: 100%;
	}
}

.wrap-date {
	flex-wrap: wrap;
	gap: 20px;
	width: calc(100% - 235px);
}
				
.wrap-date .flex-date {
	align-items: center;
	display: flex;
	width: 100%;
}

.wrap-date .flex-date .label {
	width: 60px;
}

.wrap-date .flex-date .label + .flex-date {
	margin-top: 30px;
}

@media screen and (max-width: 989px) {
	.wrap-date .flex-date .label {
		width: 100%;
	}
}

@media screen and (max-width: 767px) {
	.wrap-date .flex-date .label + .flex-date {
		width: 100%;
	}
}

.wrap-people {
	align-items: 6;
	display: flex;
	gap: 20px;
	width: calc(100% - 235px);
}
	
.wrap-people dd {
	width: fit-content;
}

.wrap-people dd .people-label {
	width: 50px;
}

.wrap-people dd .wpcf7-form-control-wrap {
	width: auto;
}

.wrap-people dd input {
	margin: 0 10px;
}

@media screen and (max-width: 767px) {
	.wrap-people {
		flex-wrap: wrap;
		width: 100%;
	}
	
	.wrap-people dd p {
		align-items: center;
		column-gap: 10px;
		display: flex;
		justify-content: flex-start;
		width: 100%;
	}
	
	.wrap-people dd input {
		max-width: 80px;
		width: fit-content;
	}
}

.contact-box dd.flex-check .wpcf7-checkbox {
	align-items: flex-start;
	display: flex;
	gap: 40px;
}

.contact-box dd.flex-check .wpcf7-checkbox .wpcf7-list-item-label {
	margin-left: .5em;
}

.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;
}

.contact-box .wpcf7-acceptance input[type="checkbox"] {
	background-color: var(--white);
	border: 1px solid #ccc;
	border-radius: 3px;
  position: relative;
  width: 24px;
  height: 24px;
  vertical-align: -5px;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}

.contact-box .wpcf7-acceptance input[type="checkbox"]:checked:before {
  position: absolute;
  top: 2px;
  left: 8px;
  transform: rotate(40deg);
  width: 8px;
  height: 15px;
  border-right: 3px solid var(--main-color);
  border-bottom: 3px solid var(--main-color);
  content: '';
}

.contact-box .wpcf7-select {
	background-color: #F8F8F8;
	border: 1px solid #9F9F9F;
	border-radius: 6px;
	color: var(--main-text-color);
	font-size: 1.7rem;
	font-weight: 500;
	height: 48px;
	padding: 4px 36px 4px 24px;
	position: relative;
	width: auto;
}

.contact-box .wrap-select > span {
	position: relative;
}

.contact-box .wrap-select > span::after {
	content: "";
	position: absolute;
	right: 10px;
	top: 12px;
	width: 10px;
	height: 10px;
	border-top: 2px solid var(--main-text-color);
	border-left: 2px solid var(--main-text-color);
	transform: translateY(-50%) rotate(-135deg);
	font-size: 20px;
	pointer-events: none;
}

.contact-box .recaptcha-note p {
	font-size: 1.3rem;
	font-weight: 400;
	margin-inline: auto;
	margin-top: 50px;
	width: fit-content;
}

@media screen and (max-width: 767px) {
	.contact-box .wpcf7-select {
		width: 100%;
	}
	
	.contact-box dd.flex-date {
		flex-wrap: wrap;
	}
}

#consent-box {
	border-bottom: 1px solid #DCDADA;
	border-top: 1px solid #DCDADA;
	margin-top: 70px;
	padding: 30px 10px;
  text-align: center;
}

#consent-box .wpcf7-list-item-label {
	font-size: 1.6rem;
	font-weight: 400;
	margin-left: 1em;
}

#consent-box .privacy-policy {
	color: var(--main-text-color);
	display: block;
	font-size: 1.5rem;
	font-weight: 500;
	margin-inline: auto;
	margin-top: 30px;
	text-decoration: underline;
	width: fit-content;
}

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

#submit-box {
  width: 300px;
  position: relative;
  margin: 0 auto;
}

#submit-box.wrap-send {
	height: auto;
	margin-top: 60px;
	max-width: 360px;
	position: relative;
	width: 100%;
}

#submit-box .wpcf7-spinner {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  margin: 0 0 0 10px;
}

#submit-box .btn-send {
	column-gap: 30px;
	background-color: var(--enji);
	border: none;
	border-radius: 40px;
	color: var(--white);
	font-size: 2rem;
	font-weight: 700;
	height: 100%;
	line-height: 1;
	max-height: 74px;
	padding: 26px 20px 26px 20px;
	text-align: center;
	width: 100%;
}

.contact-box .content-policy .content-box {
	background-color: var(--white);
	border: 1px solid #E6E6E6;
	border-radius: 6px;
	margin-top: 20px;
	max-height: 150px;
	padding: 0 20px;
	overflow-y: auto;
	width: 100%;
}

.contact-box .content-policy .title p {
	font-size: 1.6rem;
	font-weight: 700;
	margin: 0;
}

@media screen and (max-width: 767px) {
	.contact-box {
		padding: 40px 20px;
	}
	
  .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 input[type="date"],
  .contact-box textarea {
    width: 100%;
  }
	
	.contact-box .wpcf7-radio {
		flex-direction: column;
	}

	.contact-box .wpcf7-radio .wpcf7-list-item {
		display: flex;
		flex-wrap: wrap;
	}
	
	.contact-box .wpcf7-radio .wpcf7-list-item label {
		flex-basis: 100%;
	}
	
	#consent-box .wpcf7-list-item-label {
		font-size: 1.3rem;
	}
	
	.contact-box .content-policy .content-box {
		max-height: 300px;
	}
}

/* ============================
	404
============================ */
body.error404 #main {
	margin-top: 100px;
}

body.error404 #main .sec-inner {
	padding-top: 0;
}

body.error404 #main .content-box {
	margin-top: 20px;
}

body.error404 #main .message-box {
	border: 1px solid var(--main-color);
	padding: 25px 20px;
}

body.error404 #main .sec-ttl span {
	font-size: 3rem;
}

#error-404 .content-box p {
  text-align: left;
}

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

@media screen and (max-width: 767px) {
	body.error404 #main {
		margin-top: 60px;
	}
	
	body.error404 #main .sec-ttl span {
	font-size: 2rem;
}
}

/* ============================
	link
============================ */
.c-link {
	border-bottom: 1px solid var(--main-color);
	display: block;
	padding-bottom: 5px;
	padding-right: 10px;
	position: relative;
	transition: all .3s;
	width: fit-content;
}

.c-link .text {
	align-items: center;
	color: var(--main-color);
	column-gap: 20px;
	display: flex;
	font-size: 1.7rem;
	font-weight: 700;
	justify-content: space-between;
	transition: all .2s;
}

.c-link .text::after {
	background-color: var(--main-color);
	content: "";
	display: block;
	height: 9px;
	mask-image: url("./images/common/arrow_right.svg");
	mask-repeat: no-repeat;
	mask-size: contain;
	transition: all .4s;
	width: 15px;
}

@media screen and (max-width: 767px) {
	.c-link .text {
		font-size: 1.4rem;
	}
}

@media (hover: hover) {
	.c-link:hover {
		opacity: 1;
	}
	
	.c-link:hover span {
		color: var(--main-color);
	}
	
	.c-link:hover .text {
		color: var(--charcoal);
	}
	
	.c-link:hover .text::after {
		translate: 5px 0;
	}
}


/* ============================
	button
============================ */
.c-button {
	align-items: center;
	background-color: var(--main-color);
	border-radius: 36px;
	column-gap: 15px;
	cursor: pointer;
	display: flex;
	font-size: 2rem;
	font-weight: 700;
	justify-content: space-between;
	padding: 15px 20px 15px 36px;
	padding-left: 54px;
	position: relative;
	transition: all .4s;
	width: 300px;
}

.c-button .text {
	color: var(--white);
	flex-basis: auto;
	font-size: 1.7rem;
	font-weight: 500;
	letter-spacing: .03em;
	line-height: 1.4;
	text-align: center;
	width: calc(100% - 45px);
}

.c-button .text.montserrat {
	font-size: 2rem;
	letter-spacing: .1em;
	line-height: 1.2;
}

.c-button .circle {
	background-color: transparent;
	border: 1px solid var(--white);
	border-radius: 24px;
	display: grid;
	height: 24px;
	place-items: center;
	position: relative;
	transition: all .4s;
	width: 52px;
}

.c-button .arrow {
	background-color: var(--white);
	mask-image: url("./images/common/arrow_right.svg");
	mask-size: cover;
	display: block;
	height: 10px;
	left: 3px;
	position: relative;
	transition: all .4s;
	width: 15px;
}

.c-button.read-more {
	padding: 19px 20px 19px 55px;
	width: 300px;
}

.c-button.read-more .text {
	font-size: 2rem;
	font-weight: 600;
}

@media screen and (max-width: 767px) {
	.c-button {
		padding: 10px 20px 10px 20px;
	}
	
	.c-button .text {
		font-size: 1.5rem;
	}
}

@media (hover: hover) {
	.c-button.is-hover,
	.c-button:hover {
		background-color: var(--main-color);
		opacity: 1;
	}
	
	.c-button.is-hover .text,
	.c-button:hover .text {
		color: var(--white);
	}
	
	.c-button.is-hover .circle::before,
	.c-button:hover .circle::before {
		background-color: var(--white);
	}
	
	.c-button.is-hover .circle,
	.c-button:hover .circle {
		background-color: var(--white);
	}
	
	.c-button.is-hover .arrow,
	.c-button:hover .arrow {
		background-color: var(--main-color);
	}
}
