@charset "UTF-8";


/* ========================================================
  
  parts

======================================================== */
.form {
	/********************/
	/* textbox・textarea */
	/********************/
	& input:is([type=text], [type=number], [type=tel], [type=email]),
	& textarea,
	& select {
		width: 100%;
		height: 3.8em;
		padding: .2em 1em;
		background: #fff;
		font-size: 100%;
		outline: none;
		border: var(--color-bdr);
		border-radius: .4em;
	}
	& textarea {
		height: 12em;
		padding: 1em;
		resize: none;
	}
	::placeholder {
		color: #b2b2b2;
		font-size: 15px;
	}


	/************************/
	/* radio・checkbox */
	/************************/

	/* input */
	& input[type=radio],
	& input[type=checkbox] {
		position: absolute;
		z-index: -1;
		pointer-events: none;
		opacity: 0;
		margin: 0;
	}
	/* label */
	& label:has(input[type=radio]),
	& label:has(input[type=checkbox]) {
		position: relative;
		display: flex;
		align-items: center;
		line-height: 1.5;
		padding-left: 2em;
		cursor: pointer;
		white-space: nowrap;
	}
	/* 共通アイコン */
	& label:has(input[type=radio])::before,
	& label:has(input[type=checkbox])::before {
		content: "";
		position: absolute;
		top: 0;
		left: 0;
		width: 1.4em;
		aspect-ratio: 1;
		background: #fff;
		border-radius: .3em;
		border: 1px solid var(--color-bdr);
	}
	/* radio */
	& label:has(input[type=radio])::before {
		border-radius: 50%;
	}
	& label:has(input[type=radio]:checked)::after {
		content: "";
		position: absolute;
		top: 3px;
		left: 3px;
		width: calc(1.4em - 6px);
		height: calc(1.4em - 6px);
		background: #b2b2b2;
		border-radius: 50%;
	}
	/* checkbox */
	& label:has(input[type=checkbox]:checked)::after {
		content: "";
		position: absolute;
		top: .1em;
		left: .2em;
		width: 1.3em;
		height: .7em;
		border-left: 4px solid #b2b2b2;
		border-bottom: 4px solid #b2b2b2;
		rotate: -45deg;
	}


	/**********/
	/* select */
	/**********/
	& select {
		color: #000;
		appearance: none;
	}


	/**********/
	/* button */
	/**********/
	& button {
		position: relative;
		min-width: 12em;
		max-width: 100%;
		padding: 1.2em 2em;
		border: none;
		background: #705548;
		color: #fff;
		font: inherit;
		font-weight: var(--fw-bold);
		letter-spacing: .1em;
		line-height: 1.4;
		text-align: left;
		cursor: pointer;
		transition: background-color .5s, filter .5s;

		&:hover {
			filter: brightness(1.05);
		}
		&:disabled {
			filter: grayscale(1);
			pointer-events: none;
		}
		&::after {
			position: absolute;
			content: "";
			display: inline-block;
			width: .4em;
			height: .4em;
			border-top: 1px solid currentColor;
			border-right: 1px solid currentColor;
			rotate: 45deg;
			right: 2em;
			top: 50%;
			translate: 0 -50%;
		}

		&[type=submit] {
			background: #d89f14;
		}
	}
}

/* Mobile (Portrait)
------------------------------------------*/
@media (max-width: 767px) {

.form {
	/********************/
	/* textbox・textarea */
	/********************/
	& input:is([type=text], [type=number], [type=tel], [type=email]),
	& textarea,
	& select {
		height: 2.8em;
		font-size: 16px;
	}
	& textarea {
		display: block;
		height: 11em;
	}

	/************************/
	/* radio・checkbox */
	/************************/
	& label:has(input[type=radio]),
	& label:has(input[type=checkbox]) {
		white-space: normal;
	}

	/**********/
	/* button */
	/**********/
	& button {
		width: 100%;
		max-width: 100%;
		padding: 1.2em 1.5em;
		font-size: 90%;
	}
}
}


/* ========================================================
  
  table

======================================================== */
.form-tbl {
	width: 100%;
	font-size: min(105%);
	line-height: 1.5;
	border-spacing: 0 1.6em;
	margin-inline: auto;
}
.form-tbl th,
.form-tbl td {
	position: relative;
	display: block;
}
.form-tbl th {
	text-align: left;
	font-size: 105%;
	font-weight: var(--fw-bold);
	vertical-align: top;

	.form-tbl__badge {
		display: inline-block;
		font-size: 78%;
		color: var(--color-red);
		background-color: #FFF;
		padding: .08em .5em;
		vertical-align: 0.2em;
		border-radius: 2em;
		border: 1px solid currentColor;
		margin-left: .6em;

		&.is-optional {
			color: #999;
		}
	}
}

.form-tbl td {
	padding: 1.2em 0 2em;
	border-bottom: 1px solid #97847a;

	* + p:has(input) {
		margin-top: .8em;
	}
	* + .wpcf7-form-control-wrap {
		display: block;
		margin-top: .4em;
	}
}

.form-tbl tr:last-child td {
	border-bottom: none;
}
/* Mobile (Portrait)
------------------------------------------*/
@media only screen and (max-width: 767px) {

.form-tbl {
	font-size: 100%;
}
.form-tbl td {
	padding-top: .8em;
}
}

/*---------------------------------------------------------
input-layout
---------------------------------------------------------*/
.form-tbl td .sub_txt {
	display: block;
	font-size: 100%;
	letter-spacing: .04em;
	margin-top: 1em;
	margin-bottom: .6em;
}
/* Mobile (Portrait)
------------------------------------------*/
@media only screen and (max-width: 767px) {

.form-tbl td .sub_txt {
	font-size: 90%;
	letter-spacing: .02em;
}
}


/* ========================================================
  
  accordion / submit

======================================================== */

/*---------------------------------------------------------
 form-acd
---------------------------------------------------------*/
.form-acd {
	.c-acd__trigger {
		&:hover {
			text-decoration: underline;
		}
		&.is-active {
			.c-acd__icon {
				color: #FFF;
				background-color: var(--color-brw-300);
			}
			+ .c-acd__content .c-acd__close {
				opacity: 1;
			}
		}
	}
	.c-acd__content {
		text-align: left;
	}
	.c-acd__icon {
		color: var(--color-brw-300);
		background-color: #fff;
		border-radius: 50%;
		margin-left: .5em;
	}
	.c-acd__close {
		position: absolute;
		right: 1.5em;
		bottom: 1.5em;
		
		.c-acd__icon {
			color: #FFF;
			background-color: var(--color-brw-300);
		}
	}
}
/* Mobile (Portrait)
------------------------------------------*/
@media only screen and (max-width: 767px) {

.form-acd {
	.c-acd__close {
		right: 1.2em;
		bottom: 1.2em;
	}
}
}

/* form-acd - mobile
-----------------------------------------------*/
.form-acd--mobile {
	margin-bottom: 1em;

	.c-acd__content {
		color: var(--color-base);
		font-size: 90%;
		background-color: #FAF9F0;
		border-radius: 10px;
		padding: 5% 6%;
		margin-top: 1em;
	}
}
.form-acd--mobile ul {
	display: flex;
	column-gap: 1.4em;
	margin-top: 1em;

	> li > a {
		position: relative;
		letter-spacing: .08em;
		text-decoration: underline;
		
		&:hover {
			text-decoration: none;
		}
	}
}
/* Mobile (Portrait)
------------------------------------------*/
@media only screen and (max-width: 767px) {

.form-acd--mobile {
	margin-top: 6%;

	.c-acd__content {
		padding: 7% 7% 10%;
	}
}
}

/* form-acd - privacy
-----------------------------------------------*/
.form-acd--privacy {
	border-top: 1px solid #FFF;
	border-bottom: 1px solid #FFF;
	margin: 4% auto;
	transition: color, background-color, border;
	transition-duration: .5s;

	.c-acd__trigger {
		text-align: center;
		font-size: 118%;
		padding: 2em 0;
	}
	.c-acd__content {
		padding: 0 6% 5%;
		& dt {
			font-weight: var(--fw-bold);
			margin-top: 1em;
		}
	}
	&:has(.is-active) {
		color: var(--color-base);
		background-color: #FFF;
		border-color: #ccc;
	}
}
/* Mobile (Portrait)
------------------------------------------*/
@media only screen and (max-width: 767px) {

.form-acd--privacy {
	margin: 8% auto 6%;

	.c-acd__trigger {
		font-size: 100%;
		padding: 2em 0;
	}

	.c-acd__trigger {
		padding: 1em 0;
	}
	.c-acd__content {
		font-size: 90%;
		padding: 0 7% 12%;
	}
}
}

/*---------------------------------------------------------
 Submit
---------------------------------------------------------*/
.form-submit {
	text-align: center;
}

.form-submit__chk {
	text-align: center;
	font-weight: var(--fw-bold);

	& label:has(input[type=checkbox]) {
		display: inline-flex;
	}
}
.form-btnlist {
	display: flex;
	justify-content: center;
	gap: .6em .8em;
	margin-top: 4%;
}
/* Mobile (Portrait)
------------------------------------------*/
@media only screen and (max-width: 767px) {

.form-submit {
	text-align: left;
}
.form-btnlist {
	margin-top: 10%;

	> li {
		width: 90%;
	}
}
}



/* ========================================================
  
  CF7: カスタム

======================================================== */
.form .wpcf7-not-valid-tip {
	position: absolute;
	display: inline-block;
	color: #FFF;
	font-size: 80%;
	background-color: var(--color-red);
	padding: .2em .5em;
	border-radius: 2px;
	left: 0;
	top: 100%;
	z-index: 1;
	white-space: nowrap;
}
/* form-tbl */
.form-tbl .wpcf7-form-control-wrap + .wpcf7-form-control-wrap {
	display: block;
	margin-top: 1.6em;
}
.wpcf7-radio {
	display: grid;
	gap: 1.2em 2em;
}
.form-tbl .wpcf7-list-item {
	margin: 0;
}
/* submit_box */
.form-submit .wpcf7-acceptance {
	display: block;
	font: var(--font-min);
}
.wpcf7-response-output {
	text-align: center;
	color: var(--color-red);
	line-height: 1.5;
	border-color: currentColor !important;
	background-color: rgb(255 255 255 / 0.8);
	padding: 0.6em 1em !important;
}
/* PC,Tablet (Portrait)
------------------------------------------*/
@media only screen and (min-width: 768px) {

.wpcf7-radio.col-2 {
	display: grid;
	justify-content: space-between;
	grid-template-columns: 50% 50%;
}
.wpcf7-radio.col-2 > li:last-of-type {
	grid-column: 1/3;
}
}
/* Mobile (Portrait)
------------------------------------------*/
@media only screen and (max-width: 767px) {

/* form-tbl */
.form-tbl .wpcf7-form-control-wrap + .wpcf7-form-control-wrap {
	margin-top: .8em;
}
.wpcf7-radio {
	gap: .6em 1.2em;
}
/* submit_box */
.form-submit .wpcf7-acceptance {
	font-size: 90%;
}
}



/* ========================================================
  
  thanks

======================================================== */
.thanks .com_lead_box {
	padding-bottom: min(10vw,120px);
}


/*---------------------------------------------------------

---------------------------------------------------------*/


/* PC,Tablet (Portrait)
------------------------------------------*/
@media only screen and (min-width: 768px) {
}
/* Tablet (Portrait)
------------------------------------------*/
@media only screen and (min-width: 768px) and (max-width: 959px) {
}
/* Mobile (Portrait)
------------------------------------------*/
@media only screen and (max-width: 767px) {
}