@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/* お問い合わせページ */
.section_contact .contact_contents {
	margin-top: 2.8em;
}

.section_contact .wp-block-image.contact-telImage {
	max-width: 28em;
	margin-bottom: 3em !important;
	margin-inline: auto;
}

.section_contact .wp-block-image.contact-telImage a {
	transition: opacity .3s ease;
}
.section_contact .wp-block-image.contact-telImage a:hover {
	opacity: .7;
}

.section_contact .contact_form {
	text-align: left;
	margin-top: 1.7em;
}

.section_contact .form dl {
	display: flex;
	margin-bottom: 1em;
}

.section_contact .form dt {
	min-width: 200px;
	padding-top: 0.4em;
}

.section_contact .form dt p {
	font-weight: normal !important;
}

.section_contact .form dt span {
    display: inline-block;
    background: #E68742;
    border-radius: 5px;
    color: #fff;
    font-size: 0.7em;
	margin-right: 0.6em;
    padding: 0.3em 0.7em;
}

/* 任意 */
.section_contact .form dt span.arbitrary {
	background: #CCC;
}

.section_contact .form dd {
	box-sizing: border-box;
	width: calc(100% - 200px);
}

input, select {
  -webkit-appearance: none;
  appearance: none;
}

.section_contact .form input,
.section_contact .form select,
.section_contact .form textarea {
	background-color: #FFFDFA !important;
	width: 100% !important;
	box-shadow: 0 3px 6px rgb(200 185 159 / 12%) !important;
	padding: 0.5em 1em !important;
}

.section_contact .form dd.input_pulldown {
	position: relative;
	width: fit-content !important;
}

.section_contact .form select {
	width: fit-content !important;
	padding-right: 3em !important;
}

.form_input.input_pulldown:after {
	content: '';
  width: 0.5em;
  height: 0.5em;
  border: 0;
  border-bottom: solid 2px #969696;
  border-right: solid 2px #969696;
  transform: rotate(45deg);
  position: absolute;
  top: 0.95em;
  right: 1em;
  margin: auto;
}

::placeholder {
	color: #ccc;
}

.section_contact .form .wpcf7-list-item.first {
	margin: 0 !important;
}

.section_contact .form .wpcf7-list-item label {
	display: flex;
	align-items: center;
}

.section_contact .form input[type="checkbox"] {
	width: auto !important;
	margin-right: 6px !important;
}

input[type="checkbox"] {
  display: none;
}

input[type="checkbox"] + span {
  padding-left: 28px;
  display: inline-block;
  position: relative;
}

input[type="checkbox"] + span::after,
input[type="checkbox"] + span::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
}

input[type="checkbox"] + span::before {
  border:1px solid hsla(0,0%,78%,.5);
  background-color: #ffffff;
  height: 20px;
  width: 20px;
  border-radius: 0.2em;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

input[type="checkbox"]+ span::after {
	position: absolute;
	content: "";
	display: block;
	border-bottom: 3px solid #6cb3e3;
    border-left: 3px solid #6cb3e3;
    opacity: 0;
    height: 8px;
    width: 14px;
    transform: translateY(-40%) rotate(-45deg);
    top: 40%;
    left: 3px;
}

input[type="checkbox"]:checked + span::after {
  opacity: 1;
}

.section_contact .form .btn_submit {
	max-width: 18em;
	margin-inline: auto;
	margin-top: 2.3em !important;
}

.section_contact .form input[type="submit"] {
	background-color: #65989F !important;
	border: 1px solid #65989F !important;
	border-radius: 3.5em !important;
	color: #fff;
	font-family:  sans-serif !important;
	font-size: 1.1em;
	padding: 0.85em 0 !important;
	transition: all .3s ease;
}
.section_contact .form input[type="submit"]:hover {
	background-color: #fff !important;
	color: #65989F !important;
}

@media (max-width: 959px) {
	.section_contact.page-contact {
		padding-top: 0em !important;
	}
	.section_contact .contact_contents {
		margin-top: 1.6em;
	}
	.section_contact .wp-block-image.contact-telImage {
		max-width: 18em;
		margin-bottom: 2em !important;
	}
	.section_contact .contact_contents p {
		margin-bottom: 0.7em !important;
	}
	.section_contact .contact_form {
		margin-top: 1.3em;
	}
	.section_contact .form dl {
		display: block;
		margin-top: 1.1em;
	}
	.section_contact .form dd {
		width: 100%;
		margin-top: 0.5em;
	}
	.section_contact .form dd.input_pulldown {
		width: 100% !important;
	}
	.section_contact .form select {
		width: 100% !important;
	}
	.section_contact .form textarea {
		height: 10em;
	}
	.section_contact .form .btn_submit {
		max-width: 14em;
		margin-top: 1.1em !important;
	}
	.section_contact .form input[type="submit"] {
		padding: 0.55em 0 !important;
	}
	.wpcf7-list-item {
		min-width: 152px;
	}
	.wpcf7-list-item:nth-of-type(3) {
		margin-left: 0 !important;
	}
}