/*
Theme Name: YAMADA_Thema
*/
@charset "UTF8";

.first_view {
	position: relative;	
}
.catch_copy {
	position: absolute;
    top: 50%;
    left: 30%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
   background: rgba(255, 255, 255, 0.7);
	padding: 20px 30px;
	display: flex;
   flex-direction: column;
	color: #1d4d41;
	font-weight: bold;
}
.catch_copy .catch_copy_span {
	align-items: flex-end;
	margin: 10px 0;
}
.catch_copy .catch_copy_text {
	color: #008D00;
	font-size: 1.5rem;
}
.catch_copy .catch_copy_text span {
	font-size: 2rem
}
.catch_copy .balloon1{
  position: relative;
  margin: 0 20px; 
  padding: 20px;
  width: 80px;
  height: 80px;
  line-height: 80px;
  border-radius: 50%;
  text-align: center;
  color: #ffffff;
  font-size: 2rem;
  background-color: #CC3232;
}
.balloon1::before{
  content: '';
  position: absolute;
  display: block;
  width: 0;
  height: 0;
  left: 2px;
  bottom: 2px;
  border-right: 20px solid #CC3232;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  transform: rotate(-45deg);
}
.catch_copy .fontcolor-red {
	color: #cc0033;
}
.catch_copy .backcolor-red {
	padding: 0.5rem;
	background: #cc0033;
	color: #fff;
}
.catch_copy h1 {
    text-align: center;
    font-size: 1.2rem;
    margin: 0;
    margin-top: 1rem;
}
.catch_copy .phrase {
    font-size: 1.5rem;
	display: block;
    text-align: center;
    margin: 1rem 0;
}
.catch_copy figure {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 1rem 1rem 0 1rem;
}
.catch_copy img {
    width: 80px;
}
.catch_copy figcaption {
    font-size: 12px;
}

.chatblc {
	display: flex;
	flex-direction: column;
	align-items: center;
}
.chat_form_common {
    padding: 2rem 0;
    margin: 1rem 0;
}
.chatmes.chat_form_text.flex {
    display: flex;
    justify-content: center;
    padding: 2rem 0;
	margin: 1rem 0;
    width: 70%;
}
.chatblc figure {
    width: 30%;
    margin-right: 2rem;
}
.kibou {
	display: none;
}
.kibou:checked + label {
	background: rgba(0, 141, 0, 1);
	color: #fff;
}
.chat_form_btn .btn:hover, #pn5 .chat_form_btn .btn:hover, .wpcf7-submit.has-spinner.btn:hover, .chat_form_common input.submit.btn:hover {
	background: rgba(0, 141, 0, 1);
	color: #fff;
}
.chat_form_btn .btn {
	padding: 1rem 3rem;
	margin: 0 1rem;
	border: 1px solid rgba(0, 141, 0, 1);
	border-radius: 50px;
	background: #fff;
   font-size: 1rem;
}
.chat_form_btn a {
	text-decoration: none;
	color: inherit;
}
.next_btn_step textarea {
    width: 100%;
    height: 100px;
    margin-bottom: 2rem;
}
.next_btn_step input[type="text"], .next_btn_step input[type="email"], .next_btn_step input[type="tel"], .next_btn_step select {
	width: 50%;
	height: 50px;
	display: block;
	margin: 0 auto 1rem auto;
}
.next_btn_step input[type="email"], .next_btn_step input[type="tel"] {
	margin-bottom: 3rem;
}
#pn2 span.chat_form_btn.flex {
    margin-top: 3rem;
}
span.chat_form_btn.flex {
	display: block;
	text-align: center;
}
.pn.next_btn_step {
	width: 60%;
}
input.submit.btn, .wpcf7-submit.has-spinner.btn {
	background: inherit;
	margin-bottom: 3rem;
}
.candidate input[type="text"], .next_btn_step select {
    margin: 1rem 1.5rem 0 1.5rem;
}
.front_h2 {
	width: 100%;
	color: #fff;
	background: #786F6C;
	padding: 1rem 0;
	margin: 3rem 0;
	text-align: center;
	font-size: 2rem;
}
.balloon2 {
	position: relative;
	background: rgba(0, 141, 0, 0.3);
	padding: 1rem;
	display: flex;
  align-items: center;
  justify-content: center;
	width: 40%;
	border-radius: 10px;
}
.balloon2::before{
  content: '';
  position: absolute;
  display: block;
  width: 0;
  height: 0;
  left: -15px;
  border-right: 15px solid rgba(0, 141, 0, 0.3);
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
}
.text_strong {
	font-weight: bold;
	font-size: 1.5rem;
	position: relative;
	display: inline;
	border-bottom: 5px dashed yellow;
}
.half_card.flex {
    width: 40%;
    justify-content: center;
	align-items: center;
    margin: 1rem;
}
.half_card img {
	width: 30%;
	padding: 1rem;
}
.front_faq .half_card img {
	width: 25%;
	padding: 2rem 2rem 2rem 0;
}
.half_card_erea.flex {
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
}
.front_list {
	padding: 0;
}
.front_list li {
	list-style: none;
	line-height: 2.5;
}
.front_list li:before {
    display: inline-block;
    vertical-align: middle;
    content: '';
    width: 1rem;
    height: 1rem;
    border: 1px solid #000;
    border-radius: 50%;
    margin-right: 8px;
}
.half_card {
    border-radius: 10px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border: 2px solid #f5f5f5;
}
.balloon3 {
	position: relative;
	background-color: #FFEDCB;
    text-align: center;
	border-radius: 50px;
	font-size: 1.5rem;
	width: 50%;
    margin: 3rem auto;
    padding: 1rem 0;
}
.balloon3::before {
    content: '';
    position: absolute;
    display: block;
    width: 0;
    height: 0;
    left: 0;
    right: 0;
    bottom: -15px;
    margin: 0 auto;
    border-top: 15px solid #FFEDCB;
    border-right: 15px solid transparent;
    border-left: 15px solid transparent;
}
.phase1:before {
	content: "Phase 1";
	position: absolute;
	top: 10px;
	left: 15px;
	color: gray;
}
.phase2:before {
	content: "Phase 2";
	position: absolute;
	top: 10px;
	left: 15px;
	color: gray;
}
.phase3:before {
	content: "Phase 3";
	position: absolute;
	top: 10px;
	left: 15px;
	color: gray;
}
.front_summary {
	width: 70%;
	margin: 2rem auto;
}
span.full_card_erea {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.full_card {
    width: 70%;
    padding: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border: 2px solid #f5f5f5;
    border-radius: 10px;
    margin: 1rem;
}
span.front_review_profile {
    width: 30%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.front_review_profile img {
    width: 35%;
}
span.front_review_text {
    display: flex;
    align-items: center;
    line-height: 2;
    width: 65%;
}
.full_card.front_phase_card {
    position: relative;
    padding: 3rem 1rem 2rem 1rem;
    width: 60%;
}

div#wpcf7-f9-o1 {
    padding: 1rem 5rem;
}
.form7_item p {
	display: flex;
	margin-bottom: 2rem;
	padding-bottom: 2rem;
	border-bottom: 3px dashed lightgray;
}
.form7_title {
	width: 30%;
}
.form7_input {
	width: 70%;
	display: flex;
}
form.wpcf7-form.init textarea, form.wpcf7-form.init input[type="text"], form.wpcf7-form.init input[type="tel"], .invalid textarea.wpcf7-form-control.wpcf7-textarea, .invalid input.wpcf7-form-control.wpcf7-text, .invalid input.wpcf7-form-control.wpcf7-tel.wpcf7-text.wpcf7-validates-as-tel, .sent textarea.wpcf7-form-control.wpcf7-textarea, .sent input.wpcf7-form-control.wpcf7-text, .sent input.wpcf7-form-control.wpcf7-tel.wpcf7-text.wpcf7-validates-as-tel {
	width: 100%;
}
.onlineform-days span.wpcf7-form-control-wrap, .onlineform-days .invalid span.wpcf7-form-control-wrap, .onlineform-days .sent span.wpcf7-form-control-wrap {
    width: 100%;
	max-width: 750px!important;
}
form.wpcf7-form.init textarea, .invalid textarea.wpcf7-form-control.wpcf7-textarea, .sent textarea.wpcf7-form-control.wpcf7-textarea {
	height: 100px;
	margin-left: 1rem;
}
form.wpcf7-form.init input[type="text"], form.wpcf7-form.init input[type="tel"], .invalid input.wpcf7-form-control.wpcf7-text, .invalid input.wpcf7-form-control.wpcf7-tel.wpcf7-text.wpcf7-validates-as-tel, .sent input.wpcf7-form-control.wpcf7-text, .sent input.wpcf7-form-control.wpcf7-tel.wpcf7-text.wpcf7-validates-as-tel, input.wpcf7-form-control.wpcf7-date.wpcf7-validates-as-date, .form7_input select, input.wpcf7-form-control.wpcf7-email.wpcf7-validates-as-required.wpcf7-text.wpcf7-validates-as-email  {
	height: 50px;
	margin-left: 1rem;
}
.wpcf7-submit.has-spinner.btn {
	margin: 2rem 0 0 0;
	padding: 1rem 5rem;
}
form.wpcf7-form.init .chat_form_btn, .invalid .chat_form_btn, .sent .chat_form_btn {
	display: block;
	text-align: center;
}
span.wpcf7-not-valid-tip {
	margin-left: 1rem;
}
.front_form .chat_form_common {
    margin-bottom: 0;
}
.wpcf7-spinner {
	display: block!important;
}
span.footer_copyright {
    display: block;
    text-align: center;
}
.half_card table th {
	padding-bottom: 1rem;
}
.chat_form_common select, .chat_form_common input, .chat_form_common textarea {
	border: 1px solid lightgray;
}
.chat_form_common input.submit.btn, .wpcf7-submit.has-spinner.btn {
    color: #000;
}
.candidate input[type="text"], .candidate select, .form7_input input[type="text"], .form7_input textarea, .form7_input input[type="tel"]  {
	padding: 1px;
	box-sizing: border-box;
}
.candidate input::placeholder {
    color: #000;
}
.form7_input input[type="text"], .form7_input select, .form7_input input[type="tel"], input.wpcf7-form-control.wpcf7-email.wpcf7-validates-as-required.wpcf7-text.wpcf7-validates-as-email  {
    width: 100%;
    max-width: 300px;
	box-sizing: border-box;
}
.front-column {
	max-width: 40%;
}
.front-news {
	margin-left: 10%;
	margin-right: 10%;
}
.front_form input#submitBtn, .chat_form_btn input.submit.btn {
	font-size: 1rem;
}
button#inputted {
	line-height: 2;
}
input.submit.btn {
	line-height: 2;
    font-weight: normal!important;
}
button#calculateButton {
    line-height: 2;
}
input#submitBtn {
    line-height: 2!important;
	font-weight: normal!important;
}
.resite_info {
				margin-top: 5rem;
				text-align: center;
			}
			.resite_info span {
				display: flex;
				justify-content: center;
			}
			.resite_info img {
				max-width: 200px;
				margin: 1rem 2rem;
			}

/* レスポンシブ */
@media screen and (max-width:1300px) {
	.front_faq .half_card img {
		padding: 2rem 1rem;
	}
	.catch_copy {
		left: 0;
    transform: translate(0%, -50%);
    -webkit-transform: translate(0%, -50%);
    -ms-transform: translate(0%, -50%);
	}
}
@media screen and (max-width:1100px) {
	.catch_copy {
		height: 100%;
		top: 0;
		left: 0;
		transform: translate(0, 0);
    -webkit-transform: translate(0, 0);
    -ms-transform: translate(0, 0);
	}
}
@media screen and (max-width:1000px) {
	.catch_copy {
		padding: 10px 20px;
	}
	.catch_copy h1 {
		font-size: 1rem;
	}
	.catch_copy .phrase {
		font-size: 1.2rem;
	}
	.catch_copy img {
		width: 70px;
	}
	.catch_copy figcaption {
		font-size: 10px;
	}
	.balloon2 {
		width: 50%;
	}
	.half_card_erea.flex {
		flex-direction: column;
	}
	.half_card.flex {
		width: 60%;
	}
	.front_list, .half_card table {
		width: 60%;
		padding: 1rem;
	}
	.balloon3 {
		width: 70%;
	}
}
@media screen and (max-width:850px) {
	.first_view img {
    object-fit: cover;
    object-position: 98% 50%;
    height: 400px;
	}
	.catch_copy img {
		height: inherit;
	}
	.chatmes.chat_form_text.flex {
		width: 100%;
	}
	.pn.next_btn_step {
		width: 80%;
	}
	.half_card.flex {
		width: 80%;
	}
	.balloon3 {
		width: 80%;
	}
	.full_card.front_phase_card {
		width: 70%;
	}
	.full_card {
		width: 80%;
	}
	.front_review_profile img {
		width: 60%;
	}
	span.front_review_profile {
		width: 35%;
		padding: 1rem;
	}
	form.wpcf7-form.init {
		padding: 1rem 2rem;
	}
	span.footer_copyright {
		padding: 1rem;
		text-align: inherit;
}
	div#wpcf7-f9-o1 {
    padding: 1rem 2rem;
}
	.flex_d .btn {
		display: flex !important;
		flex-direction: column !important;
		width: 300px !important;
	}
}
@media screen and (max-width:800px) {
	.catch_copy .flex {
		flex-direction: column;
	}
	.catch_copy figure {
		flex-direction: initial;
		margin: 0;
	}
	.catch_copy img {
		width: 50px;
		margin: 0 1rem;
	}
	.catch_copy figcaption h2 {
		margin: 0.5rem 0;
	}
	.catch_copy .phrase {
		margin: 1rem;
	}
}
@media screen and (max-width:650px) {
	.first_view img {
		vertical-align: top;
	}
	.catch_copy {
		position: initial;
		background: #FFEDCB;
		margin-bottom: 2rem;
	}
	.catch_copy .flex {
		flex-direction: initial;
		justify-content: center;
	}
	.catch_copy figure {
		flex-direction: column;
		margin: 1rem;
	}
	.chat_form_btn .btn {
		padding: 1rem 0;
		margin: 0;
		display: block;
		width: 300px;
		margin-left: auto;
		margin-right: auto;
	}
	.candidate input[type="text"], .next_btn_step select {
    margin: 1rem;
}
	.next_btn_step input[type="text"], .next_btn_step input[type="email"], .next_btn_step input[type="tel"], .next_btn_step select  {
		width: 70%;
	}
	.wpcf7-submit.has-spinner.btn {
		margin: 2rem auto 0 auto;
	}
	#dateInputsContainer1 .form7_input, #dateInputsContainer2 .form7_input, #dateInputsContainer3 .form7_input {
    flex-direction: column;
}
		.front-column {
	max-width: 80%;
}
}
@media screen and (max-width:600px) {
	.catch_copy .catch_copy_text, .catch_copy .balloon1 {
		font-size: 1rem;
	}
	.catch_copy .balloon1 {
		width: 50px;
    height: 50px;
    line-height: 50px;
	}
	.catch_copy .catch_copy_text span, .front_h2, .balloon3, .text_strong {
		font-size: 1.5rem;
	}
	.chatblc figure {
    width: 50%;
    margin: 1rem auto;
}
.chatmes.chat_form_text.flex {
    width: 100%;
    display: block;
}
	.balloon2 {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}
	.balloon2::before {
		content: '';
    position: absolute;
    display: block;
    width: 0;
    height: 0;
    top: -30px;
    left: 20%;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-bottom: 15px solid rgba(0, 141, 0, 0.3);
	}
	.balloon3 {
    width: 94%;
}
	.half_card.flex, .full_card {
		display: block;
	}
.half_card img, span.front_review_profile {
    margin: 0 auto;
    display: block;
    padding: 1rem;
    width: 35%;
}
	.front_list, .half_card table, span.front_review_text {
		width: 100%;
    display: block;
    margin: 0 auto 1rem auto;
	}
	.front_list {
		    padding: 0 0 0 20%;
	}
	span.front_review_text {
		padding: 0;
	}
	.half_card table {
		padding: 1rem;
		display: inline-table;
	}
	span.front_review_profile, .front_faq .half_card img {
    width: 45%;
    text-align: center;
}
	span.front_review_text {
		margin: 0;
	}
	.front_summary {
    width: 90%;
	}
	div#wpcf7-f9-o1 {
    padding: 1rem;
}
	span.wpcf7-form-control.wpcf7-radio {
    display: flex;
    flex-direction: column;
}
	span.front_review_profile p {
    white-space: nowrap;
}
	.resite_info img {
				max-width: 150px;
				margin: 1rem;
			}
}
@media screen and (max-width:500px) {
	.catch_copy .flex {
		flex-direction: column;
	}
	.catch_copy figure {
		flex-direction: initial;
	}
	.resite_info {
					text-align: initial;
				}
}
@media screen and (max-width:420px) {
	.catch_copy .phrase {
    font-size: 1.1rem;
}
	.catch_copy .catch_copy_text span, .front_h2, .balloon3, .text_strong {
		font-size: 1.2rem;
	}
	.catch_copy {
		padding: 10px;
	}
		.front_list {
		    padding: 0 1rem;
	}
		.catch_copy .phrase {
		margin: 1rem 0;
	}
	.resite_info img {
				margin: 0.5rem;
			}
}
@media screen and (max-width:380px) {
	.chat_form_btn .btn, #keisan .btn{
		width: 250px!important;
	}
}
@media screen and (max-width:320px) {
	.chat_form_btn .btn, #keisan .btn{
		width: 230px!important;
	}
}