/*
Theme Name: 多面的みらい広場 
Description: cunelwork client theme
Author: cunelwork
Version: 0.1.1
 */

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


:root {
	--leading-trim: calc((1em - 1lh) / 2);
	--main-color: #27735C;
	--sub-color: #459A7F;
	--main-text-color: #444645;
	--bg-color: #F4EFE7;
	--border-color: #D1D1D1;
	--orange: #E8720D;
	--green: #2F650D;
	--white: #fff;
	--container-size: 1022px;
	--container-padding: 20px;
}

.poppins {
	font-family: "Poppins", sans-serif;
}

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

.bold {
  font-weight: 700;
}

.note {
	padding-left: 1em;
	text-indent: -1em;
}

.pdf-link {
	color: var(--main-color);
	font-weight: 700;
}

.pdf-link:link {
	text-decoration: underline;
}

/* ============================
	sp-menu
============================ */
#sp-menu {
  box-sizing: border-box;
  position: fixed;
  transition: all 0.3s ease;
  top: 60px;
  left: 0;
  background-color: var(--white);
  width: 100%;
  padding: 40px 20px;
  opacity: 0;
  pointer-events: none;
	z-index: 10;
}

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

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

#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 .sp-contact-box a {
  box-sizing: border-box;
  display: block;
	line-height: 1.4;
  text-align: center;
  color: #fff;
  padding: 15px 10px;
	margin-inline: auto;
	max-width: 320px;
}

#sp-menu .sp-contact-box a + a {
	margin-top: 40px;
}

#sp-menu a.link-volunteer {
	background-color: var(--orange);
}

#sp-menu a.link-contact {
	background-color: var(--green);
}

#sp-menu .sp-contact-box a span {
	color: var(--white);
	font-size: 1.8rem;
	font-weight: 700;
	line-height: 1.2;
}

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

#btn-hamburger .border {
  position: absolute;
  left: 15px;
  transition: opacity, transform 0.2s ease;
  background: #fff no-repeat left top;
  width: 20px;
  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 {
	background-color: var(--white);
  left: 0;
  top: 0;
  width: 100%;
  z-index: 999;
}

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

#header .h-inner {
  align-items: center;
	display: flex;
	justify-content: space-between;
  padding: 0 0 0 20px;
  width: 100%;
}

#header .h-inner .title-box a {
	align-items: center;
	display: flex;
}

#header .h-inner .title-box a img {
	display: block;
	height: auto;
	width: 69px;
}

#header .h-inner .title-box a .organization {
	font-size: 1.2rem;
	line-height: 1.3;
	margin-left: 5px;
}

#header .h-inner .title-box a .title {
	font-size: 2.4rem;
	font-weight: 700;
}

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

#h-gnav-box #menu-header-nav {
	display: flex;
}

#h-gnav-box .menu-item + .menu-item {
  margin: 0 0 0 30px;
}

#h-gnav-box .menu-item a {
  font-size: 1.4rem;
  font-weight: 700;
	line-height: 1.2;
}

#h-gnav-contact {
	display: flex;
}

#h-gnav-contact a {
  box-sizing: border-box;
  color: var(--white);
  display: block;
  height: auto;
	line-height: 1.2;
  padding: 23px 0;
  text-align: center;
  width: 190px;
}

#h-gnav-contact a.link-volunteer {
	background-color: var(--orange);
}

#h-gnav-contact a.link-contact {
	background-color: var(--green);
}

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

@media screen and (max-width: 1279px) {
	#header .h-inner {
		padding: 5px 10px 5px 10px;
	}
}

@media screen and (max-width: 767px) {
  #header {
    margin: 0 auto;
		padding: 0 10px;
    right: 0;
  }
	
	#header .h-inner .title-box {
		width: calc(100% - 50px);
	}
	
	#header .h-inner .title-box a {
		flex-wrap: wrap;
	}
	
	#header .h-inner .title-box a .organization {
	font-size: 1.1rem;
	}
	
	#header .h-inner .title-box a .title {
		font-size: 1.8rem;
	}
	
	#header .h-inner .title-box a img {
		width: 38px;
	}
}

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

#footer .f-inner {
  display: flex;
	justify-content: space-between;
	padding: 75px 75px 48px;
}

#footer .f-inner .wrap-link {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
}

#footer .f-inner .wrap-link a {
	color: var(--white);
	font-size: 1.4rem;
	font-weight: 500;
}

#footer .f-content {
  text-align: center;
}

#copyright {
	color: var(--white);
	font-size: 1.4rem;
}

#copyright p {
  text-align: center;
  color: var(--white);
	font-size: 700;
  margin: 0;
}

#copyright p span {
	color: var(--white);
	font-weight: 300;
}

@media screen and (max-width: 767px) {
  #footer .f-inner {
		flex-wrap: wrap;
    padding: 30px 10px 20px;
		justify-content: center;
		row-gap: 30px;
  }
}

/* ============================
	mainvisual
============================ */
.mainvisual {
	margin: 89px 0 0;
	overflow-x: hidden;
  width: 100%;
}

#top-mv .mv-inner {
  background-color: var(--white);
}

#top-mv .mv-inner .content-width {
	column-gap: 50px;
	display: flex;
}

#top-mv .mv-inner .catchphrase {
	padding-top: 35px;
	width: calc(100% - 310px);
}

#top-mv .mv-inner .catchphrase .mv-ttl {
	color: var(--main-color);
	font-size: clamp(2.4rem, -8.5143rem + 21.4286vw, 5.2rem);
	font-weight: 700;
	letter-spacing: .1em;
	line-height: 1.3;
	position: relative;
	z-index: 4;
}

#top-mv .mv-inner .catchphrase .text-box {
	margin-top: 24px;
}

#top-mv .mv-inner .image-box {
	padding-top: 35px;
	position: relative;
	width: 310px;
	z-index: 2;
}

#top-mv .mv-inner .image-box::before {
	background-color: var(--main-color);
	content: "";
	display: block;
	height: 160%;
	left: -50px;
	position: absolute;
	top: 0;
	width: 100vw;
	z-index: -1;
}

@media screen and (max-width: 979px) {
	#top-mv .mv-inner .content-width {
		flex-wrap: wrap;
	}
	
	#top-mv .mv-inner .catchphrase {
		width: 100%;
	}
	
	#top-mv .mv-inner .catchphrase .mv-ttl {
		line-height: 1.5;
		width: 78%;
	}
	
	#top-mv .mv-inner .image-box {
		padding-bottom: 35px;
		position: absolute;
		right: 20px;
		top: 0px;
		width: 15vw;
	}
	
	#top-mv .mv-inner .image-box::before {
		background: linear-gradient(90deg,rgba(255, 255, 255, 1) 0%, rgba(129, 174, 160, 1) 30%, rgba(71, 136, 116, 1) 60%, rgba(39, 115, 92, 1) 100%);
		background: linear-gradient(90deg,rgba(255, 255, 255, 1) 0%, rgba(129, 174, 160, 1) 25%, rgba(47, 120, 98, 1) 55%, rgba(39, 115, 92, 1) 100%);
		height: 100%;
		left: -100px;
	}
	
	#top-mv .mv-inner .catchphrase .text-box {
		margin-top: 60px;
	}
}

@media screen and (max-width: 767px) {
	#top-mv .mv-inner .catchphrase .mv-ttl {
		width: 84%;
	}
	
	#top-mv .mv-inner .image-box {
		right: 35px;
	}
	
	#top-mv .mv-inner .image-box::before {
		left: -80px;
	}
	
	#top-mv .mv-inner .catchphrase .text-box {
		margin-top: 40px;
	}
}

.mainvisual.page-mv .mv-inner {
	position: relative;
}

.mainvisual.page-mv .mv-inner {
  padding: 100px 0;
  background-color: var(--main-color);
}

.mainvisual.page-mv .page-ttl {
	font-size: 4rem;
	color: var(--white);
	letter-spacing: .05em;
  margin: 0;
}

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

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

.sec-ttl {
  color: var(--main-color);
  margin: 0;
}

.sec-ttl-box p {
	color: var(--main-text-color);
}

.content-width {
  box-sizing: border-box;
  margin: 0 auto;
  padding: 0 20px;
	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%;
  }
}

/* ============================
	breadcrumb
============================ */
.breadcrumbs {
  padding: 8px 0;
  background: var(--white);
  font-size: 1.4rem;
}

.breadcrumbs,
.breadcrumbs a,
.breadcrumbs span {
  color: var(--main-text-color);
}

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

.wp-pagenavi a,
.wp-pagenavi span {
	border-radius: 50%;
  color: var(--main-text-color);
  display: inline-block;
	font-family: 'Satoshi', sans-serif;
	font-size: 2rem;
	font-weight: 700;
  height: 48px;
  line-height: 2.4;
  margin: 0 0.4em;
  text-align: center;
  transition: all 0.5s ease;
  vertical-align: middle;
  width: 48px;
}

.wp-pagenavi a:hover,
.wp-pagenavi span {
  background-color: var(--sub-color);
	color: var(--white);
  opacity: 1;
  text-decoration: none;
}

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

.wp-pagenavi .extend {
  width: 1em;
  color: var(--main-color);
  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 {
	border: 1px solid var(--sub-color);
	background-color: var(--white);
	border-radius: 50%;
  position: relative;
  width: 48px;
  height: 48px;
  text-indent: -999999px;
  vertical-align: middle;
}

.wp-pagenavi .previouspostslink::after,
.wp-pagenavi .nextpostslink::after {
	background-color: var(--main-color);
	mask-image: url("./images/common/link_arrow.svg");
	mask-repeat: no-repeat;
	mask-size: contain;
	content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  content: "";
  display: block;
  width: 13px;
  height: 16px;
}

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

.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-meta {
	column-gap: 15px;
	display: flex;
}

.post-date {
	color: #A0A0A0;
  font-size: 1.5rem;
	font-weight: 700;
	letter-spacing: .1em;
  min-width: 70px;
}

.post-cats {
	align-items: center;
	display: flex;
	justify-content: flex-start;
	line-height: 1;
}

.post-cats + .post-cats {
	margin-left: 20px;
}

.post-cat {
	background-color: #F4E4A1;
	border-radius: 15px;
  display: block;
  color: #95813E;
  font-size: 1.3rem;
	font-weight: 700;
  padding: 7px 25px;
  width: fit-content;
  text-align: center;
}

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

/* ============================
	info list
============================ */
.info-item {
	align-items: center;
	border-bottom: 1px solid var(--border-color);
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
	padding: 15px 0;
}

.info-item .post-ttl {
  font-size: 1.4rem;
	font-weight: 700;
	max-width: 440px;
}

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

body.category-info .info-item .post-ttl {
	max-width: unset;
	width: 100%;
}

/* ============================
	volunteer list
============================ */
.archive-list.volunteer-list {
	display: flex;
	flex-wrap: wrap;
	gap: 64px 32px;
	justify-content: center;
}

.archive-list.volunteer-list .volunteer-item {
	border-radius: 0 0 6px 6px;
	overflow: hidden;
	width: calc(100% / 3 - 22px);
}

.archive-list.volunteer-list .volunteer-item .volunteer-info {
	background-color: var(--white);
	padding: 15px 10px;
}

.archive-list.volunteer-list .volunteer-item .volunteer-info .image-box {
	margin-top: 15px;
}

.archive-list.volunteer-list .volunteer-item .volunteer-info .image-box img {
  aspect-ratio: 15 / 11;
	border-radius: 6px;
  height: 100%;
	width: 100%;
}

.archive-list.volunteer-list .volunteer-item:has(a) {
	transition: all .4s;
}

.archive-list.volunteer-list .post-meta {
	align-items: center;
	border-radius: 6px 6px 0 0;
	justify-content: space-between;
}

.archive-list.volunteer-list .post-meta .post-tag {
	align-items: center;
	background-color: #469A7E;
	border-radius: 6px 6px 0 0;
	display: flex;
	gap: 8px;
	padding: 5px 7px;
}

.archive-list.volunteer-list .post-meta .post-tag .pickup {
	background-color: #ED1A25;
	border-radius: 2px;
	padding: 0 4px;
}

.archive-list.volunteer-list .post-meta .post-tag .pickup p {
	color: #fff;
	font-size: 1.1rem;
	font-weight: 600;
	line-height: 1.8;
	letter-spacing: -.05em;
}

.archive-list.volunteer-list .post-meta .post-tag .request p {
	color: var(--white);
	font-size: 1.2rem;
	font-weight: 500;
	letter-spacing: .03em;
}

.archive-list.volunteer-list .post-meta .post-tag .location {
	border-left: 1px solid var(--white);
}

.archive-list.volunteer-list .post-meta .post-tag .location p {
	color: var(--white);
	font-size: 1.4rem;
	font-weight: 500;
	letter-spacing: .03em;
	line-height: 1.2;
	padding-left: 10px;
}

.archive-list.volunteer-list .post-meta .post-date {
	color: var(--white);
	font-size: 1.2rem;
	font-weight: 500;
}

.archive-list.volunteer-list .volunteer-item .volunteer-info .post-ttl {
	font-size: 1.6rem;
	font-weight: 700;
	line-height: 1.6;
}

.archive-list.volunteer-list .volunteer-item .volunteer-info .volunteer-status {
	background-color: #EAEAEA;
	border-radius: 90px;
	margin-inline: auto;
	margin-top: 20px;
	padding: 6px 0;
	width: 200px;
}

.archive-list.volunteer-list .volunteer-item .volunteer-info .volunteer-status p {
	font-size: 1.4rem;
	font-weight: 700;
	text-align: center;
}

.archive-list.volunteer-list .volunteer-item .volunteer-info .volunteer-status.recruiting {
	background-color: var(--orange);
}

.archive-list.volunteer-list .volunteer-item .volunteer-info .volunteer-status.recruiting p {
	color: var(--white);
}

.archive-list.volunteer-list .volunteer-item .volunteer-info .detail-list {
	margin-top: 20px;
	padding: 0 10px;
}

.archive-list.volunteer-list .volunteer-item .volunteer-info .detail-item {
	border-bottom: 1px solid #D1D1D1;
	padding: 8px 0;
}

.archive-list.volunteer-list .volunteer-item .volunteer-info .detail-item .text-box {
	align-items: center;
	display: flex;
}

.archive-list.volunteer-list .volunteer-item .volunteer-info .detail-item .text-box .title {
	color: var(--main-color);
	font-size: 1.3rem;
	font-weight: 700;
	width: 80px;
}

.archive-list.volunteer-list .volunteer-item .volunteer-info .detail-item .text-box p {
	font-size: 1.3rem;
	font-weight: 500;
	width: calc(100% - 80px);
}

.archive-list.volunteer-list .volunteer-item .volunteer-info .note {
	margin-top: 10px;
	padding: 0 10px;
}

.archive-list.volunteer-list .volunteer-item .volunteer-info .note p {
	font-size: 1.2rem;
	font-weight: 500;
	padding-left: 1em;
	text-indent: -1em;
}

@media (hover: hover) {
	.archive-list.volunteer-list .volunteer-item:has(a:hover) {
		transform: translateY(-10px);
	}
	
	.archive-list.volunteer-list .volunteer-item a:hover {
		opacity: 1;
	}
}

@media screen and (max-width: 979px) {
	.archive-list.volunteer-list {
		flex-wrap: wrap;
	}
	.archive-list.volunteer-list .volunteer-item {
		width: calc(100% / 2 - 16px);
	}
}

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

.post-type-archive-volunteer .archive-list.volunteer-list {
	justify-content: left;
}

body.post-type-archive-volunteer .archive-list.volunteer-list .volunteer-item .volunteer-info {
	background-color: var(--bg-color);
}


body.single-volunteer #article-container #entry-article {
	border: none;
	width: 100%;
}

body.single-volunteer #article-container #entry-article .post-date {
	color: var(--main-text-color);
	font-size: 1.6rem;
	font-weight: 500;
}

body.single-volunteer #article-container #entry-article .post-meta .post-tag {
	align-items: center;
	display: flex;
	gap: 10px;
	padding: 5px 7px;
}

body.single-volunteer #article-container #entry-article .post-meta .post-tag .pickup {
	background-color: #ED1A25;
	border-radius: 2px;
	padding: 0 4px;
}

body.single-volunteer #article-container #entry-article .post-meta .post-tag .pickup p {
	color: #fff;
	font-size: 1.4rem;
	font-weight: 600;
	line-height: 1.8;
	letter-spacing: -.05em;
}

body.single-volunteer #article-container #entry-article .post-meta .post-tag .request p {
	color: var(--main-text-color);
	font-size: 1.8rem;
	font-weight: 500;
	letter-spacing: .03em;
}

body.single-volunteer #article-container #entry-article .post-meta .post-tag .location {
	border-left: 1px solid var(--main-text-color);
}

body.single-volunteer #article-container #entry-article .post-meta .post-tag .location p {
	color: var(--main-text-color);
	font-size: 1.8rem;
	font-weight: 500;
	letter-spacing: .03em;
	line-height: 1.2;
	padding-left: 10px;
}

body.single-volunteer #article-container #entry-article .main-image {
	height: auto;
	margin-inline: auto;
	margin-top: 40px;
	max-width: 600px;
	width: 100%;
}

body.single-volunteer #article-container #entry-article .main-image img {
	border-radius: 6px;
	display: block;
	height: auto;
	width: 100%;
}

body.single-volunteer #article-container #entry-article .detail-list {
	margin-top: 40px;
	padding: 0 10px;
}

body.single-volunteer #article-container #entry-article .detail-item {
	border-bottom: 1px solid #D1D1D1;
	padding: 8px 0;
}

body.single-volunteer #article-container #entry-article .detail-item .text-box {
	align-items: center;
	display: flex;
}

body.single-volunteer #article-container #entry-article .detail-item .text-box .title {
	background-color: transparent;
	color: var(--main-color);
	font-size: 1.8rem;
	font-weight: 700;
	margin: 0;
	width: 180px;
}

body.single-volunteer #article-container #entry-article .detail-item .text-box p {
	font-size: 1.6rem;
	font-weight: 500;
	margin: 0;
	width: calc(100% - 180px);
}

body.single-volunteer #article-container #entry-article .note {
	margin-top: 10px;
	padding: 0 10px;
}

body.single-volunteer #article-container #entry-article .note p {
	font-size: 1.4rem;
	font-weight: 500;
	padding-left: 2em;
	text-indent: -1em;
}

@media screen and (max-width: 767px) {
	body.single-volunteer #article-container #entry-article .detail-list {
		margin-top: 20px;
		padding: 0;
	}
	
	body.single-volunteer #article-container #entry-article .detail-item .text-box {
		flex-wrap: wrap;
	}
	
	body.single-volunteer #article-container #entry-article .detail-item .text-box .title {
		font-size: 1.6rem;
		padding-left: 0;
		padding-right: 0;
	}

	body.single-volunteer #article-container #entry-article .detail-item .text-box p {
		font-size: 1.4rem;
		width: 100%;
	}
	
	body.single-volunteer #article-container #entry-article .note {
		margin-top: 0;
		padding: 0;
	}
	
	body.single-volunteer #article-container #entry-article .note p {
		padding-left: 1em;
	}
}

/* ============================
	contact form
============================ */
.contact-box {
	background-color: #FCF3E2;
	border-radius: 20px;
	padding: 60px 60px;
}

.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 .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 textarea {
	background-color: #F8F8F8;
	border: 1px solid #E6E6E6;
	border-radius: 6px;
	box-shadow: unset;
	box-sizing: border-box;
	font-size: 1.7rem;
	font-weight: 500;
	padding: 4px 16px;
	width: 100%;
}

.contact-box textarea {
	height: 200px;
}

.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[type=radio]{
  position: absolute;
  visibility: hidden;
}

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

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

.contact-box .wpcf7-radio {
	display: flex;
	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"] {
	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 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 {
	font-size: 1.6rem;
	font-weight: 700;
	margin: 0;
}

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

.contact-box dd {
	font-size: 1.6rem;
	font-weight: 700;
	margin: 16px 0 0 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 10px;
}

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

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

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

#consent-box .wpcf7-list-item-label a {
	text-decoration: underline;
}

#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: 30px;
	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(--main-color);
	border: none;
	border-radius: 3px;
	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 (min-width: 768px) {
  .contact-box th {
    text-align: left;
  }
}

@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 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
============================ */
#error-404 .content-box p {
  text-align: center;
}

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

  #btn-hamburger {
    display: none;
  }
}

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

/* ============================
	link
============================ */
.c-link {
	align-items: center;
	column-gap: 16px;
	cursor: pointer;
	display: flex;
	font-size: 2rem;
	font-weight: 700;
	justify-content: flex-start;
	position: relative;
	transition: all .4s;
}

.c-link .text {
	color: var(--main-text-color);
	flex-basis: auto;
	font-size: 1.6rem;
	font-weight: 700;
	letter-spacing: .05em;
	line-height: 1.5;
	text-decoration: underline;
	width: auto;
}

.c-link .circle {
	background-color: var(--main-color);
	border: 2px solid var(--main-color);
	border-radius: 50%;
	display: grid;
	height: 50px;
	place-items: center;
	position: relative;
	transition: all .4s;
	width: 50px;
}

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

.c-link .arrow.external {
	mask-image: url("./images/common/icon_external_link.svg");
}

@media (hover: hover) {
	.c-link:hover {
		opacity: 1;
	}
	
	.c-link:hover .circle {
		background-color: var(--white);
	}
	
	.c-link:hover .arrow {
		background-color: var(--main-color);
	}
}
