@charset "UTF-8";
/*
Theme Name: youplan
*/

/* --------------------
   CONTACT
-------------------- */
#header {
  position: relative;
  background: #FEF4EB;
  padding-bottom: 100px;}
#contactform {
  background: #FEF4EB;
  padding: 80px 0 200px;}
.contact {
  padding: 40px 0 0;
  margin: 0 auto;}
.contact-header h2 {
  text-align: center;
  padding-bottom: 20px;
  line-height: 1.6;
  margin: 0;
  color: #EA6120;
  font-weight: bold;}
.contact-form {
	padding: 50px 100px 140px;}
.contact-form .flex {
	gap:120px;
	display: flex;}
.contact-form .flex .box {
	width: 100%;}
.contact-form .flex .box dt {
	padding-bottom: 14px;
	display: flex;
	align-content: center;
	gap:14px;}
.contact-form .flex .box dt p.txs-18 {
	color: #402011;
	line-height: 1;}
.contact-form .flex .box dt p.hisu {
	font-weight: 600;
	color:#EA6120;}
.contact-form .form-group {
  margin-bottom: 20px;}
.contact-form .required,
.contact-form .optional {
  display: inline-block;
  font-size: 14px;
	height: 24px;
	border-radius: 12px;
	width: 60px;
	line-height: 24px;
	font-weight: 500;
	text-align: center;}
.contact-form .required {
  background: #EA6120;
  color: #fff;}
.contact-form .optional {
  background: #C9C9C9;
  color: #fff;}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
	background: #fff;
  width: 100%;
  padding: 10px;
	height: 50px;
  border: 1px solid #fff;
  border-radius: 3px;
  box-sizing: border-box;}
.contact-form textarea {
	margin-top: 20px;
	height: 190px;}
.contact-form input[type=checkbox] { display: none;}
.contact-form input[type=checkbox]:checked + .wpcf7-list-item-label::after { opacity: 1 !important;}
.contact-form span.wpcf7-list-item-label {
  position: relative;
  display: inline-block;
  margin: 10px 30px 0 0;
  padding: 0 0 0 30px;
  line-height: 1;
  height: 24px;
  vertical-align: middle;
	cursor: pointer;}
.contact-form .wpcf7-list-item-label::before {
  -webkit-transition: border-color 0.2s linear;
  transition: border-color 0.2s linear;
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 2px;
  content: '';
  border: 1px solid #C9C9C9;
  background: #FFFFFF;}
.contact-form .wpcf7-list-item-label::after {
  position: absolute;
  top: 5px;
  left: 5px;
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background-color: #EA6120;
  content: '';
  opacity: 0;}
.contact-form .checkbox-group label {
  margin-right: 20px;
  font-weight: normal;}
.contact-form .privacy {
  color: #402011;
	letter-spacing: 0;
  line-height: 1.6;}
.contact-form .privacy a {
  color: #f26b24;
	display: inline-block;
  text-decoration: underline;}
.contact-form .form-submit {
  text-align: center;
  margin-top: 30px;}
.contact-form button {
  background: #006b57;
  color: #fff;
	height: 80px;
	width: 400px;
  border: none;
  border-radius: 40px;
  cursor: pointer;
  transition: background 0.3s;}
.contact-form button:hover { background: #008b6a;}
#contactform-last .contact-header {
	color: #402011;
	background: #F6F6F6;}
#contactform-last h2 {
	padding: 20px 0 50px;
	border-bottom: 2px solid #fff;}

@media screen and (max-width: 1080px){
	.contact-form { padding: 50px 40px 100px;}
	.contact-form .flex { display: block;}
	.contact-form .form-group { margin-bottom: 30px;}
	.telcontact .flex { flex-wrap: wrap-reverse; height: auto;}
	.telcontact .photo,.telcontact .text { width: 100%; text-align: center;flex: auto;}
	.telcontact .text { padding: 60px 0 10px;}
	.telcontact .text .txs-24 { background:none;}
	.telcontact .photo img { margin: 0 auto;}}
@media screen and (max-width: 768px){
  #contactform { padding: 40px 0 200px;}
	.contact-header { padding: 20px 0 10px;}
	.contact-header h2 { font-size: 16px; padding: 10px;}
	.contact-form { padding: 30px 20px 100px;}
	.contact-form button { width: 100%;}}
