@charset "utf-8";

/* 目次
	1. LP共通
	2. FVの無料相談ボタン
	3. FV直下のフォーム（template-parts/cta-lp.php）
	4. スマートフォン
----------------------------------------------------------- */

/* 1. LP共通
----------------------------------------------------------- */

body.lp section {
    padding: 60px 0px;
}
#content .in,
.inner {
    max-width: 980px !important;
}
body.lp .service_list li {
    width: calc(100%);
    margin-bottom: 15px;
    padding: 20px;
    color: var(--green);
    background: #fff;
    border: 1px solid #f7f7f7;
    box-shadow: 0 3px 4px -1px rgb(83 83 83 / 20%), 0 0 5px -4px rgb(85 85 85 / 20%);
}
body.lp .service_list li .txt {
    width: calc(100% - 90px);
    padding-left: 15px;
    padding-right: 0;
}
.profile_area .flex_in {
	margin-top: 20px;
}
.profile_area .left {
	width: 50%;
}
.profile_area .right {
	width: 50%;
	padding-left: 60px;
}
.profile_area .right iframe {
    height: 100%;
}

body.lp .flow_area,
body.lp .profile_area,
body.lp .review_area {
	padding-top: 0px;
}

/* 2. FVの無料相談ボタン
----------------------------------------------------------- */

#eyecatch .lp_fv_btn {
	margin-top: 22px;
    padding-bottom: 22px;
}
#eyecatch .lp_fv_btn a {
	width: 320px;
	margin: 0 auto;
}
ul.fv_sales li .txt {
    text-align: center;
}
/* 3. FV直下のフォーム
----------------------------------------------------------- */

.cta .lp_form_area {
	width: 100%;
	margin: 0 auto;
	padding: 0;
	box-shadow: none;
	text-align: left;
}
.cta .lp_form_area .lp_form_tl {
	margin: 0 0 6px;
	font-size: 18px;
	font-weight: 700;
	text-align: center;
	color: var(--green);
}
.cta .lp_form_area .lp_form_note {
	margin: 0 0 14px;
	font-size: 13px;
	text-align: center;
}
.cta .lp_form_area .form_list li {
	margin-top: 0;
	padding: 8px 0;
}
.cta .lp_form_area .form_list li .th {
	font-size: 14px;
}
.cta .lp_form_area .form_list li .td input[type="text"],
.cta .lp_form_area .form_list li .td textarea {
	width: 100%;
}
.cta .lp_form_area .form_list li .td input.tel_fm {
	width: 30%;
}
.cta .lp_form_area .form_list textarea {
	height: 110px;
}
.cta .lp_form_area .form_list .button_n {
	width: 320px;
}

/* 4. スマートフォン
----------------------------------------------------------- */

@media screen and (max-width: 767px) {

	body.lp section {
	    padding: 30px 0px;
	}
	body.lp .service_list li .txt {
	    width: calc(100% - 50px);
	}
	body.lp .service_list li p {
	    display: block;
	}
	.profile_area .left,
	.profile_area .right {
    	width: 100%;
    	padding: 0;
	}
	.profile_area .right {
		margin-top: 20px;
	}
	#eyecatch .lp_fv_btn a {
		width: 100%;
	}
	.cta .lp_form_area .form_list li .td input.tel_fm {
		width: 28%;
	}
	.cta .lp_form_area .form_list .button_n {
		width: 100%;
	}
}

/* 5. 相談モーダル（template-parts/lp-modal.php）
----------------------------------------------------------- */

body.lpm_lock {
	overflow: hidden;
}
.lpm_overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 10000;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	padding: 20px;
	background: rgb(0 0 0 / 55%);
}
.lpm_overlay.is_open {
	display: flex;
}
.lpm_dialog {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	max-width: 640px;
	max-height: 92vh;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 10px 40px rgb(0 0 0 / 25%);
}
.lpm_close {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 2;
	width: 36px;
	height: 36px;
	border: none;
	border-radius: 50%;
	background: rgb(255 255 255 / 25%);
	cursor: pointer;
}
.lpm_close:before,
.lpm_close:after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 18px;
	height: 2px;
	background: #fff;
	transform: translate(-50%, -50%) rotate(45deg);
}
.lpm_close:after {
	transform: translate(-50%, -50%) rotate(-45deg);
}
.lpm_head {
	padding: 18px 56px 14px 24px;
	border-radius: 12px 12px 0 0;
	background: var(--green);
	color: #fff;
}
.lpm_title {
	font-size: 17px;
	font-weight: 700;
}
.lpm_progress {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 8px;
}
.lpm_progress_txt {
	font-size: 12px;
	white-space: nowrap;
}
.lpm_progress_txt b {
	font-size: 16px;
}
.lpm_progress_bar {
	display: block;
	flex: 1;
	height: 6px;
	border-radius: 6px;
	background: rgb(255 255 255 / 30%);
	overflow: hidden;
}
.lpm_progress_fill {
	display: block;
	width: 20%;
	height: 100%;
	background: var(--yellow);
	transition: width .3s;
}
.lpm_body {
	flex: 1;
	padding: 24px;
	overflow-y: auto;
}
.lpm_step {
	display: none;
}
.lpm_step.is_active {
	display: block;
}
.lpm_q {
	margin-bottom: 16px;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.5;
}
.lpm_qnum {
	display: inline-block;
	margin-right: 10px;
	padding: 2px 10px;
	border-radius: 4px;
	background: var(--green);
	font-size: 12px;
	color: #fff;
	vertical-align: middle;
}
.lpm_opts {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}
.lpm_opt {
	display: block;
	width: 100%;
	padding: 14px 16px;
	border: 2px solid #d9e6dc;
	border-radius: 8px;
	background: #fff;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	text-align: left;
	color: var(--black);
	cursor: pointer;
	transition: .2s;
}
.lpm_opt:hover,
.lpm_opt.is_selected {
	border-color: var(--green);
	background: #eef8f0;
}
.lpm_note {
	margin: -6px 0 14px;
	font-size: 13px;
	color: #555;
}
.lpm_step_form .form_list li {
	display: block;
	margin-top: 0;
	padding: 8px 0;
	border-top: none;
}
.lpm_step_form .form_list li .th,
.lpm_step_form .form_list li .td {
	display: block;
	width: 100%;
	padding: 0;
}
.lpm_step_form .form_list li .th {
	margin-bottom: 4px;
	border: none;
	font-size: 13px;
}
.lpm_step_form .mwform-tel-field {
	display: flex;
	align-items: center;
	gap: 6px;
}
.lpm_step_form .form_list li .td input[type="text"],
.lpm_step_form .form_list li .td textarea {
	width: 100%;
}
.lpm_step_form .form_list li .td input#zipcd {
	width: 40%;
}
.lpm_step_form .form_list li .td input#pref {
	width: 30%;
	margin-bottom: 6px;
}
.lpm_step_form .form_list li .td input.tel_fm {
	width: 28%;
}
.lpm_step_form .form_list textarea {
	height: 90px;
}
.lpm_step_form .form_list .button_n {
	width: 100%;
	margin-top: 6px;
	background: var(--orange);
	border-color: var(--orange);
	color: #fff;
}
.lpm_step_form .form_list .error {
	display: block;
	margin-top: 4px;
	font-size: 12px;
}
.lpm_foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 24px;
	border-top: 1px solid #e5e5e5;
}
.lpm_back {
	padding: 0;
	border: none;
	background: none;
	font-size: 13px;
	color: #555;
	cursor: pointer;
}
.lpm_secure {
	font-size: 11px;
	color: #888;
}

@media screen and (max-width: 767px) {

	.lpm_overlay {
		padding: 0;
		align-items: flex-end;
	}
	.lpm_dialog {
		max-height: 94vh;
		border-radius: 12px 12px 0 0;
	}
	.lpm_head {
		padding: 14px 52px 12px 18px;
	}
	.lpm_body {
		padding: 18px;
	}
	.lpm_opts {
		grid-template-columns: 1fr;
		gap: 8px;
	}
	.lpm_opt {
		padding: 12px 14px;
	}
	.lpm_q {
		font-size: 15px;
	}
	.lpm_foot {
		padding: 10px 18px;
	}
}

/* 5b. 相談モーダル：連絡先を1画面ずつ
----------------------------------------------------------- */

.lpm_step_form {
	display: none;
}
.lpm_step_form.is_active {
	display: block;
}
.lpm_sub {
	display: none;
}
.lpm_sub.is_active {
	display: block;
}
.lpm_opt_label {
	display: inline-block;
	margin-left: 8px;
	padding: 1px 8px;
	border-radius: 4px;
	background: #eee;
	font-size: 11px;
	font-weight: 600;
	color: #666;
	vertical-align: middle;
}
.lpm_sub .form_list li {
	display: block;
	margin-top: 0;
	padding: 6px 0;
	border-top: none;
}
.lpm_sub .form_list li .th,
.lpm_sub .form_list li .td {
	display: block;
	width: 100%;
	padding: 0;
	border: none;
}
.lpm_sub .form_list li .th {
	margin-bottom: 4px;
	font-size: 13px;
}
.lpm_sub .form_list li .td input[type="text"],
.lpm_sub .form_list li .td textarea {
	width: 100%;
	padding: 12px 14px;
	font-size: 16px;
}
.lpm_sub .form_list li .td input#zipcd {
	width: 50%;
}
.lpm_sub .form_list li .td input#pref {
	width: 30%;
	margin-bottom: 6px;
}
.lpm_sub .form_list textarea {
	height: 120px;
}
.lpm_sub .form_list .error {
	display: block;
	margin-top: 4px;
	font-size: 12px;
}
.lpm_addr {
	display: none;
}
.lpm_addr.is_show {
	display: block;
}
.lpm_err {
	display: none;
	margin: 4px 0 0;
	font-size: 12px;
	font-weight: 600;
	color: var(--red);
}
.lpm_err.is_show {
	display: block;
}
.lpm_next {
	display: block;
	width: 100%;
	margin-top: 16px;
	padding: 14px;
	border: none;
	border-radius: 6px;
	background: var(--green);
	font-size: 16px;
	font-weight: 700;
	color: #fff;
	cursor: pointer;
}
.lpm_next:hover {
	background: var(--green-hover);
}
.lpm_sub .form_list .button_n,
.lpm_sub .t_center .button_n {
	width: 100%;
	margin-top: 12px;
	padding: 14px;
	border-color: var(--orange);
	background: var(--orange);
	font-size: 16px;
	color: #fff;
}

/* 6. LP2で追加した要素（お悩み・料金注記・FAQ・中間CTA）
----------------------------------------------------------- */

#eyecatch .lp_fv_sub {
	margin-top: 10px;
	font-size: 13px;
	text-align: center;
	color: #fff;
}
.lp_mid_btn {
	margin-top: 24px;
	text-align: center;
}
.lp_mid_btn a {
	width: 380px;
	margin: 0 auto;
}
body.lp .lp_pain_area {
	padding-top: 0;
}
.lp_pain_list {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px 20px;
	max-width: 860px;
	margin: 0 auto;
}
.lp_pain_list li {
	position: relative;
	padding: 12px 14px 12px 42px;
	border: 1px solid #d9e6dc;
	border-radius: 6px;
	background: #fff;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.5;
}
.lp_pain_list li:before {
	content: "";
	position: absolute;
	top: 50%;
	left: 14px;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: var(--green);
	transform: translateY(-50%);
}
.lp_pain_list li:after {
	content: "";
	position: absolute;
	top: 50%;
	left: 19px;
	width: 5px;
	height: 9px;
	border-right: 2px solid #fff;
	border-bottom: 2px solid #fff;
	transform: translateY(-65%) rotate(45deg);
}
.lp_pain_lead {
	margin: 22px 0 0;
	font-size: 15px;
	line-height: 1.9;
	text-align: center;
}
.lp_price_note {
	margin: 14px 0 0;
	font-size: 13px;
	text-align: center;
	color: #555;
}
.lp_faq_list {
	max-width: 860px;
	margin: 0 auto;
}
.lp_faq_list dt {
	position: relative;
	margin-top: 14px;
	padding: 12px 16px 12px 44px;
	border-radius: 6px 6px 0 0;
	background: var(--green);
	font-size: 15px;
	font-weight: 700;
	color: #fff;
}
.lp_faq_list dt:before {
	content: "Q";
	position: absolute;
	top: 50%;
	left: 16px;
	font-size: 16px;
	font-weight: 700;
	transform: translateY(-50%);
}
.lp_faq_list dd {
	position: relative;
	margin: 0;
	padding: 14px 16px 14px 44px;
	border: 1px solid #d9e6dc;
	border-top: none;
	border-radius: 0 0 6px 6px;
	background: #fff;
	font-size: 14px;
	line-height: 1.8;
}
.lp_faq_list dd:before {
	content: "A";
	position: absolute;
	top: 14px;
	left: 16px;
	font-size: 16px;
	font-weight: 700;
	color: var(--orange);
}

@media screen and (max-width: 767px) {

	#eyecatch .lp_fv_sub {
		font-size: 11px;
	}
	.lp_mid_btn a {
		width: 100%;
	}
	.lp_pain_list {
		grid-template-columns: 1fr;
		gap: 8px;
	}
	.lp_pain_list li {
		font-size: 13px;
	}
	.lp_pain_lead {
		font-size: 14px;
		text-align: left;
	}
	.lp_faq_list dt {
		font-size: 14px;
	}
	.lp_faq_list dd {
		font-size: 13px;
	}
}

/* 7. LP2のヘッダー：白帯をやめて白ロゴを直置き。スクロール後（.fixed）は従来どおり白帯＋通常ロゴ
----------------------------------------------------------- */

body.lp2 .header_bg2 {
	background-color: transparent;
}
body.lp2 .header_bg2.fixed {
	background-color: rgb(255 255 255 / 95%);
}
body.lp2 .site_logo {
	top: 16px;
	left: 12px;
	padding: 9px 16px;
	border-radius: 6px;
	background: rgb(255 255 255 / 92%);
}
body.lp2 .fixed .site_logo {
	padding: 0;
	background: transparent;
}
#eyecatch .lp_fv_sub {
	text-shadow: 0 1px 6px rgb(0 0 0 / 45%);
}

@media screen and (max-width: 767px) {

	#eyecatch .lp_fv_sub {
		display: none;
	}
}

/* 8. 指摘対応（送信ボタン色・入力欄の下線・住所の出し分け・SPのプレースホルダー）
----------------------------------------------------------- */

#lpm .lpm_sub input.button_n {
	border: none;
	background: var(--orange);
	color: #fff !important;
}
#lpm .lpm_sub input.button_n:hover {
	background: var(--orange-hover);
}
.lpm_sub .form_list li,
.lpm_sub .form_list li:last-child {
	border-bottom: none;
}
.lpm_sub .form_list li.lpm_addr {
	display: none;
}
.lpm_sub .form_list li.lpm_addr.is_show {
	display: block;
}

@media screen and (max-width: 767px) {

	.lpm_sub .form_list li .td input#zipcd,
	.lpm_sub .form_list li .td input#pref {
		width: 100%;
	}
	.lpm_sub .form_list li .td input[type="text"],
	.lpm_sub .form_list li .td textarea {
		padding: 12px 12px;
	}
}

/* 9. FV（PC）：テキストを左、人物を右に寄せる
----------------------------------------------------------- */

@media screen and (min-width: 768px) {

	body.lp2 #opening #openingSlide .slide .bg {
		background-position: right center;
	}
	body.lp2 .inner-content {
		width: 92%;
		max-width: 1240px;
		margin: 150px auto 0;
		text-align: left;
	}
	body.lp2 .inner-content .slide-in {
		display: block;
		max-width: 58%;
	}
	body.lp2 .inner-content .slide-in_inner {
		display: block;
		max-width: none;
	}
	body.lp2 .inner-content h1 {
		font-size: 4vw;
		line-height: 1.15;
	}
	body.lp2 #eyecatch p.eye_txt {
		font-size: 1.15vw;
	}
	body.lp2 #eyecatch .lp_fv_btn a {
		margin: 0;
	}
	body.lp2 #eyecatch .lp_fv_sub {
		text-align: left;
	}
}

@media screen and (min-width: 768px) {

	body.lp2 .inner-content h1 {
		white-space: normal;
	}
	body.lp2 .inner-content h1 br.mb {
		display: inline !important;
	}
	body.lp2 #eyecatch .lp_fv_sub {
		max-width: 420px;
	}
}

/* 10. FV（PC）：背景写真をやめ、無地の緑グラデーション＋右に切り抜き人物（images/fv_staff.webp）
----------------------------------------------------------- */

.lp_fv_staff {
	display: none;
}

@media screen and (min-width: 768px) {

	body.lp2 #eyecatch {
		background: linear-gradient(120deg, #2ece80 0%, #12b75e 45%, #00b34f 100%);
	}
	body.lp2 #opening #openingSlide .slide .bg {
		background-image: none !important;
	}
	.lp_fv_staff {
		display: block;
		position: absolute;
		right: max(1%, calc((100% - 1240px) / 2));
		bottom: 0;
		z-index: 3;
		width: auto;
		max-width: 44%;
		height: 82%;
		object-fit: contain;
		object-position: right bottom;
	}
	body.lp2 .inner-content {
		margin-top: 120px;
	}
	body.lp2 .inner-content .slide-in {
		max-width: 56%;
	}
	body.lp2 .inner-content-2 {
		width: 92%;
		max-width: 1240px;
		margin: 0 auto;
		text-align: left;
	}
	body.lp2 .inner-content-2 ul.fv_sales {
		justify-content: flex-start;
	}
	body.lp2 .inner-content-2 .memo {
		text-align: left;
	}
}

@media screen and (min-width: 768px) {

	#eyecatch .lp_fv_sub {
		display: none;
	}
	body.lp2 .inner-content-2 {
		top: -16px;
	}
	body.lp2 .inner-content-2 .memo {
		margin-top: 4px;
	}
}

@media screen and (min-width: 768px) {

	body.lp2 #eyecatch {
		justify-content: flex-start;
	}
	body.lp2 .inner-content-2 {
		top: 0;
        z-index: 6;
        margin-top: 12px;
	}
	body.lp2 .inner-content-2 .memo {
		display: none;
	}
}

@media screen and (min-width: 768px) {

	body.lp2 .inner-content .slide-in {
		max-width: 62%;
	}
	body.lp2 .inner-content h1 {
		font-size: min(4vw, 54px);
	}
	body.lp2 #eyecatch p.eye_txt {
		font-size: min(1.15vw, 17px);
	}
	body.lp2 .site_logo {
		left: max(12px, calc((100% - 1240px) / 2 - 16px));
	}
}

@media screen and (min-width: 768px) {

	body.lp2 .inner-content .slide-in {
		max-width: 52%;
	}
	.lp_fv_staff {
		max-width: 42%;
	}
}

/* 11. FV（PC）：写真をテキストと上下中央で揃える／見出しを大きく
----------------------------------------------------------- */

@media screen and (min-width: 768px) {

	.lp_fv_staff {
		top: 50%;
        bottom: auto;
        height: auto;
        max-width: 100%;
        max-height: 100%;
        transform: translateY(-45%);
	}
	body.lp2 #eyecatch:after {
    	z-index: 4;
    }
	body.lp2 .inner-content h1 {
		font-size: min(4.6vw, 64px);
	}
}

/* 12. ボタンの装飾（.header_btn a）：グラデーション・浮き上がり・光のスイープ・矢印の動き
----------------------------------------------------------- */

body.lp2 .header_btn a {
	position: relative;
	overflow: hidden;
	padding: 10px 18px 10px 12px;
	border-radius: 999px;
	background: linear-gradient(135deg, #ffad3d 0%, #fc8b1c 55%, #f5741a 100%);
	box-shadow: inset 0 1px 0 rgb(255 255 255 / 35%), 0 4px 0 0 #d5701c, 0 12px 24px -6px rgb(245 116 26 / 55%);
	font-size: 17px;
	letter-spacing: .04em;
	transition: transform .18s ease, box-shadow .18s ease;
}
body.lp2 .header_btn a:before {
	content: "";
	position: absolute;
	top: -60%;
	left: -80%;
	width: 50%;
	height: 220%;
	background: linear-gradient(100deg, rgb(255 255 255 / 0%) 0%, rgb(255 255 255 / 55%) 50%, rgb(255 255 255 / 0%) 100%);
	transform: skewX(-24deg);
	animation: lp2_btn_shine 3.2s ease-in-out infinite;
	pointer-events: none;
}
body.lp2 .header_btn a:hover {
	background: linear-gradient(135deg, #ffb955 0%, #ff9a2e 55%, #fb7f22 100%);
	box-shadow: inset 0 1px 0 rgb(255 255 255 / 35%), 0 6px 0 0 #d5701c, 0 18px 28px -8px rgb(245 116 26 / 65%);
	transform: translateY(-2px);
}
body.lp2 .header_btn a:active {
	box-shadow: inset 0 1px 0 rgb(255 255 255 / 35%), 0 1px 0 0 #d5701c, 0 6px 12px -6px rgb(245 116 26 / 45%);
	transform: translateY(3px);
}
body.lp2 .header_btn a .label {
	width: 54px;
	height: 54px;
	margin-right: 14px;
	border: 2px solid rgb(255 255 255 / 85%);
	background: rgb(214 92 10 / 85%);
	box-shadow: 0 0 0 0 rgb(255 255 255 / 60%);
	font-size: 10px;
	font-weight: 700;
	line-height: 1.3;
	animation: lp2_btn_pulse 2.4s ease-out infinite;
}
body.lp2 .header_btn a .txt {
	text-shadow: 0 1px 2px rgb(0 0 0 / 15%);
}
/* style.css が .header_btn a .arrow:before を content:none にしているので、丸を出し直す */
body.lp2 .header_btn a .arrow {
	width: 30px;
	height: 30px;
	margin-left: 2px;
	transition: transform .18s ease;
}
body.lp2 .header_btn a .arrow:before {
	content: "";
	background-color: rgb(255 255 255 / 28%);
	transition: transform .18s ease, background-color .18s ease;
}
body.lp2 .header_btn a .arrow:after {
	top: 11px;
	right: 12px;
	width: 8px;
	height: 8px;
	border-width: 2.5px;
}
body.lp2 .header_btn a:hover .arrow {
	transform: translateX(4px);
}
body.lp2 .header_btn a:hover .arrow:before {
	background-color: rgb(255 255 255 / 32%);
	transform: scale(1.15);
}

@keyframes lp2_btn_shine {
	0% { left: -80%; }
	35% { left: 130%; }
	100% { left: 130%; }
}
@keyframes lp2_btn_pulse {
	0% { box-shadow: 0 0 0 0 rgb(255 255 255 / 60%); }
	70% { box-shadow: 0 0 0 10px rgb(255 255 255 / 0%); }
	100% { box-shadow: 0 0 0 0 rgb(255 255 255 / 0%); }
}

@media screen and (max-width: 767px) {

	body.lp2 .header_btn a {
		padding: 8px 14px 8px 10px;
		font-size: 16px;
	}
	body.lp2 .header_btn a .label {
		width: 48px;
		height: 48px;
		margin-right: 10px;
	}
	body.lp2 .footer_btn .wrap .header_btn a {
		padding: 6px 12px 6px 8px;
	}
}
