@charset "utf-8";

html{
	font-size: 100%;
}

body{
	-webkit-font-smoothing: antialiased;
	color: #232323;
	;
	font-weight: 400;
	font-style: normal;
	position: relative;
	font-feature-settings: 'palt' on;
	font-family: "M PLUS 2";
}
img{
	max-width: 100%;
	height: auto;
}

/* header */
.l-header{
	background-color: #fff;
	border-bottom: 1px solid #e5e5e5;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 1000;
}
.l-header__wrap{
	max-width: 1200px;
	margin: 0 auto;
	padding: 6px 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.l-header__menu{
	display: flex;
	gap: 20px;
	color: #333;
	font-size: 16px;
	font-weight: 500;
	line-height: 160%;
	letter-spacing: 0.8px;
}
.l-main {
	max-width: 1400px;
	margin: 0 auto;
}
.fv__headline{
	margin: 0;
}
.l-header__list a {
  position: relative;
  display: inline-block;
  text-decoration: none;
  color: inherit;
	font-weight: bold;
}

.l-header__list a::after {
  content: "";
  display: block;
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: #398B28;
  transition: width 0.3s ease;
}

.l-header__list a:hover::after {
  width: 100%;
}

/* cv */
.contact-cta{
	max-width: 1000px;
	margin: 0 auto 32px;
	border-radius: 16px;
	border: 3px solid #FF9771;
	background: #F86E3C;
	box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.10);
	padding: 32px 22px 16px
}
.contact-cta img{
	display: block;
	margin: 0 auto;
}
.contact-cta__buttons{
	display: flex;
	justify-content: center;
	gap: 40px;
	margin-top: 16px;
}

/* .intro */
.intro__content{
	background: url(../img/bg_intro_pc.png) no-repeat;
	background-size: cover;
	padding: 99px 0 64px;
}
.intro__block{
	position: relative;
	max-width: 1000px;
	text-align: center;
	margin: 0 auto;
	padding: 56px 24px 20px 24px;
	border-radius: 16px;
	background: #7C5E53;
	box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.10);
}
.intro__image img{
	text-align: center;
}
.intro__image--house{
	position: absolute;
	top: -62%;
	right: 0%;
}
.intro__image--title{
	position: absolute;
	top: 0;
	left: 50%;
	translate: -50% -50%;
	width: 663px;
}
.intro__image--link{
	display: block;
	margin-top: 30px;
}

/* #construction-menu */
#construction-menu{
	max-width: 1024px;
	margin: 0 auto;
	padding: 64px 12px;
}
.construction-menu__title{
	margin-bottom: 32px;
}
.construction-menu__block{
	margin-bottom: 32px;
}
.construction-menu__block-title{
	position: relative;
	display: flex;
	align-items: center;
	box-sizing: border-box;
	background-color: #398B28;
	transition: .3s;
	cursor: pointer;
	color: #fff;
	font-size: 32px;
	font-style: normal;
	font-weight: 600;
	line-height: 160%; 
	letter-spacing: 1.6px;
	padding: 10px 32px;
}
.construction-menu__block-title::after {
  position: absolute;
  top: -5px;
  bottom: 0;
  right: 37px;
  display: block;
  content: "";
  width: 20px;
  height: 20px;
  border-style: solid;
  border-right: 2px solid #fff;
  border-top: 2px solid #fff;
  border-bottom: 0;
  transform: rotate(134deg);
  margin: auto;
  transition: transform 0.3s;
}

.construction-menu__block.is-active .construction-menu__block-title::after {
  transform: rotate(-45deg);
  top: 10px;
}
.construction-menu__list{
	display: none;
}
.construction-menu__list.is-active{
	display: flex!important;
	flex-wrap: wrap;
	gap: 38px;
	padding-top: 24px;
}
.construction-menu__item{
	width: calc(33% - 22px);
}
.construction-menu__description{
	font-size: 24px;
	font-family: "M PLUS 2";
	font-feature-settings: 'palt' on;
	text-align: center;
	font-weight: 700;
	line-height: 160%;
	letter-spacing: 0.96px;
	margin-top: 24px;
}
.construction-menu__background{
	margin: 0;
	padding: 32px 0;
}
.construction-menu__background .contact-cta{
	margin: 0 auto;
}
/* case */
.case__image-float.fixed {
  position: fixed;
  left: 0;
  width: 100%;
  z-index: 1;
  transition: top 0.2s;
	text-align: center;
}

/* voice */
#voice{
	background: #F3F1EC;
}
.voice__wrap{
	position: relative;
	max-width: 904px;
	margin: 0 auto;
	padding: 64px 12px;
	z-index: 2;
	background: #F3F1EC;
}
.voice__title{
	margin-bottom: 40px;
}
.voice__faq-block{
	margin-bottom: 32px;
	border: 1px solid #9CC593;
}
.voice__faq-block:last-child{
	margin-bottom: 0;
}
.voice__faq-block--icon{
	flex: none;
	background: #91C47F;
	padding: 14px 20px;
	border-top-right-radius: 8px;
}
.voice__faq-block--question{
	position: relative;
	display: flex;
	gap: 18px;
	align-items: center;
	box-sizing: border-box;
	border-bottom: 1px solid #9CC593;
	background: #E3EECD;
	transition: .3s;
	cursor: pointer;
	color: #333;
	font-size: 20px;
	font-style: normal;
	font-weight: 700;
	line-height: 160%; /* 32px */
	letter-spacing: 0.8px;
}
.voice__faq-answer{
	background: #ffffff;
	padding: 12px 40px 16px;
}
.voice__faq-answer--text{
	color: #333;
	font-size: 16px;
	font-weight: 400;
	line-height: 160%;
	letter-spacing: 0.64px;
}

/* service */
#service{
	background: #E3EECD;
}
.service__wrap{
	max-width: 1024px;
	margin: 0 auto;
	padding: 64px 12px;
}
.service__title{
	text-align: center;
	margin-bottom: 40px;
}
.service__menu{
	display: flex;
	gap: 20px;
	margin-bottom: 40px;
}
#diagnosis,#inspection,#color-simulation,#after-follow{
	scroll-margin-top: 72px;
}
.service__item{
	margin-bottom: 40px;
}
.service__item:last-child{
	margin-bottom: 0;
}
.service__item--unique{
	background: #FFFFFF;
}
.service__item-inner{
	text-align: center;
	padding: 40px 60px;
}
.service__item-button{
	display: block;
  width: fit-content;
	margin-top: -20px;
	margin-right: auto;
}
.service__item-image--detail{
	display: block;
	width: fit-content;
	margin-top: 12px;
	margin-right: auto;
	margin-bottom: 32px;
}

/* contact */
#contact{
	padding: 64px 12px 54px;
}
.contact__wrap{
	max-width: 980px;
	margin: 0 auto;
}
.contact__title{
	text-align: center;
}

/* form */
.c-basicform {
	max-width: 980px;
	background: #fff;
	margin: 0 auto;
	margin-top: 80px;
	padding-bottom: 30px;
}

.c-basicform__headline {
	height: 64px;
	display: flex;
	font-size: 28px;
	color: #fff;
	background: #f38c1f;
	justify-content: center;
	align-items: center;
	font-weight: 700;
	margin-bottom: 40px;
}

.c-basicform__table {
	width: 100%;
	margin: 0 auto;
	border-top: 1px solid #CECECE;
	border-left: 1px solid #CECECE;
}

.c-basicform__table tbody {
	margin: 0 auto;
}

.c-basicform__tableItems {
	display: flex;
}

.c-basicform__tableTitle {
	background: #EEE;;
	width: 234px;
	display: flex;
	align-items: center;
	gap: 22px;
	padding: 16px;
	border-bottom: 1px solid #CECECE;
	font-size: 18px;
	line-height: 160%;
	letter-spacing: 0.9px;
}

.c-basicform__tableContent {
	border: solid 1px #CECECE;
  border-top: none;
	padding: 16px;
	display: flex;
	flex: 1;
	gap: 16px;
	align-items: flex-start;
	flex-direction: column;
	justify-content: center;
}

.u-basicform__tableContent{
	gap: 10px;
}

.c-basicform__tableContent span {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
}

.u-basicform__tableContentu span {
	width: auto;
}

.unique-text .wpcf7-form-control-wrap {
	width: auto;
	max-width: 250px;
}

.c-basicform__tableContent input[type=text],
.c-basicform__tableContent input[type=tel],
.c-basicform__tableContent input[type=email],
.c-basicform__tableContent select {
	border-radius: 8px;
	border: 1px solid #CBCBCB;
	background: #FBFBFB;
	height: 40px;
	width: 100%;
	flex: 1;
	position: relative;
	padding: 8px 18px;
}

.c-basicform__tableContent input[type=text]:focus,
.c-basicform__tableContent input[type=tel]:focus,
.c-basicform__tableContent input[type=email]:focus  {
	border: 2px solid #333;
	outline: 0;
}

.c-basicform__tableContent textarea {
	border-radius: 8px;
	border: 1px solid #CBCBCB;
	background: #FBFBFB;
	width: 100%;
	height: 122px;
	border-radius: 5px;
	padding: 8px 16px;
}

.unique-textarea textarea {
	height: 68px;
}

.c-basicform__tableContent textarea:focus {
	border: 2px solid #333;
	outline: 0;
}

.c-basicform__tableContent button{
	width: 200px;
	text-align: center;
	color: #FFF;
	font-size: 16px;
	font-weight: 500;
	line-height: 180%;
	border-radius: 8px;
	background: #663E2E;
	padding: 9.6px 16px;
}

.c-basicform__Required {
	white-space: nowrap;
	background: #E4231C;
	color: #fff;
	font-size: 12px;
	font-weight: 500;
	line-height: 180%;
	padding: 0px 8px 2px;
}

.c-basicform__optional{
	white-space: nowrap;
	background: #B1B1B1;
	color: #fff;
	font-size: 12px;
	font-weight: 500;
	line-height: 180%;
	padding: 0px 8px 2px;
}

.c-basicform__example {
	font-size: 14px;
	color: #888;
}

.c-basicform__placesearch {
	font-size: 16px;
	color: #fff;
	background: #707070;
	display: flex;
	margin-left: 12px;
	height: 40px;
	align-items: center;
	border-radius: 5px;
	padding: 0 16px;
	cursor: pointer;
}

.c-basicform__placesearch:hover {
	opacity: .8;
}

.c-basicform__sendbtn {
	margin-top: 16px;
}

.c-basicform__postwrapp {
	margin-left: 24px;
	position: relative;
	flex: 1;
}

.c-basicform__postwrapp::before {
	content: "";
	display: inline-block;
	width: 20px;
	height: 20px;
	background-image: url(../images/common/icon-post.svg);
	background-size: contain;
	vertical-align: middle;
	position: absolute;
	left: -26px;
	top: 10px;
}

.c-basicform .wpcf7-not-valid-tip {
	color: #ce2d32;
	margin-top: 10px;
}

input::placeholder,
textarea::placeholder {
  color: #A3A3A3;
  font-weight: 500;
	line-height: 180%;
  opacity: 1;
}

textarea::placeholder {
	font-size: 14px;
}
.c-radioinline {
	display: flex;
	flex-wrap: wrap;
  column-gap: 24px;
	row-gap: 4px;
  align-items: center;
}
.c-radioinline .wpcf7-radio{
	width: auto;
	column-gap: 24px;
	row-gap: 4px;
}
.c-radioinline .wpcf7-list-item{
	width: auto;
}
.c-radioinline label {
  display: flex;
  align-items: center;
  font-size: 18px;
	font-weight: 500;
	line-height: 160%;
  cursor: pointer;
}
.c-radioinline input[type="radio"] {
	flex: none;
  width: 17px;
  height: 17px;
	margin-top: 4px;
  margin-right: 12px;
}
.c-select-wrap {
	position: relative;
	display: inline-block;
	width: 480px; /* 必要に応じて調整 */
}
.c-select-wrap select {
	width: 100%;
	padding-right: 2em; /* 矢印分の余白 */
	box-sizing: border-box;
	appearance: none; /* 矢印を消す */
	-webkit-appearance: none;
	-moz-appearance: none;
}
.c-select-wrap::after {
	content: "";
	position: absolute;
	right: 0.8em;
	top: 50%;
	transform: translateY(-50%);
	pointer-events: none;

	/* ▼下向き三角（10px x 13px） */
	width: 0;
	height: 0;
	border-left: 8px solid transparent;
	border-right: 8px solid transparent;
	border-top: 10px solid #333;
}

/* エラー時の矢印の位置調整 */
.c-select-wrap:has(select.wpcf7-not-valid)::after {
  top: 30%;
}

.c-basicform__tableContent-select{
	display: flex;
	flex-direction: row;
	gap: 12px;
	align-items: center;
}

div.c-button{
	position: relative;
	max-width: 340px;
	margin: 0 auto;
	background: linear-gradient(343deg, rgba(255, 255, 255, 0.00) 39.2%, rgba(255, 255, 255, 0.30) 73.27%), linear-gradient(0deg, #61B350 0%, #398B28 100%);
	box-shadow: 0px 8px 12px 0px rgba(0, 0, 0, 0.20);
	border-radius: 16px;
}

.c-button::after {
  content: "";
  position: absolute;
  right: 16px; 
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  background-image: url('../img/icon-arrow.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  pointer-events: none;
}

div.c-button .wpcf7-submit{
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: auto;
	color: #fff;
	font-weight: 600;
	z-index: 0;
	position: relative;
	padding: 12px 20px 16px;
	text-align: center;
	color: #FFF;
	font-size: 20px;
	font-weight: 700;
	line-height: 160%; /* 32px */
	letter-spacing: 1px;
	cursor: pointer;
	z-index: 100;
}

div.c-button .c-button__link{
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: auto;
	color: #fff;
	font-weight: 600;
	z-index: 0;
	position: relative;
	padding: 12px 20px 16px;
	text-align: center;
	color: #FFF;
	font-size: 20px;
	font-weight: 700;
	line-height: 160%; /* 32px */
	letter-spacing: 1px;
	cursor: pointer;
	z-index: 100;
}

.c-button [type="submit"]{
	border-radius: 16px;
}

.c-button [type="submit"]:disabled {
	background: linear-gradient(0deg, #bbbbbb 0%, #6f6f6f 100%);
	border: 2px solid #bbbbbb;
	color: #fff;
	cursor: not-allowed;
}

.c-button [type="submit"]:not(:disabled) {
	background: linear-gradient(343deg, rgba(255, 255, 255, 0.00) 39.2%, rgba(255, 255, 255, 0.30) 73.27%), linear-gradient(0deg, #61B350 0%, #398B28 100%);
	border: 2px solid #398B28;
	color: #fff;
	cursor: pointer;
}


.c-basicform__agree {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
	font-weight: 400;
	line-height: 160%; /* 28.8px */
	letter-spacing: 0.9px;
	justify-content: center;
}

.c-basicform__agree input[type="checkbox"] {
  width: 20px;
  height: 20px;
	vertical-align: middle;
	margin-right: 8px;
	margin-bottom: 3px;
}
.wpcf7-response-output:empty {
  display: none;
}

.wpcf7-spinner{
	display: none;
}

/* thanks */
.p-thanks {
	max-width: 980px;
	margin: 0px auto 40px;
	padding-top: 72px;
}

.p-thanks__headline {
	font-size: 24px;
	font-weight: 700;
	color: var(--main-color);
	text-align: center;
}

.p-thanks__contents {
	background: #fff;
	padding: 50px 128px;
}

.p-thanks__text {
	padding: 24px 0 64px;
	text-align: center;
}

.p-thanks div.c-button{
	border: 2px solid #398B28;
}

/* privacy-policy */
.privacy-policy{
	max-width: 880px;
	margin: 0 auto;
}
.privacy-policy__title{
	color: #707070;
	text-align: center;
	font-size: 18px;
	font-weight: 500;
	line-height: 160%;
	letter-spacing: 0.9px;
}
.privacy-policy__text{
	height: 160px;
	overflow-y: scroll;
	border: 1px solid #ccc;
	padding: 8px;
	color: #A3A3A3;
	font-size: 14px;
	font-weight: 400;
	line-height: 160%;
	letter-spacing: 0.42px;
}

/* footer */
.l-footer {
	background-color: #D9D9D9;
	width: 100%;
}
.l-footer__wrap{
	display: flex;
	align-items: center;
	gap: 64px;
	padding: 24px 201px 21px;
}
.l-footer__text{
	color: #333;
	font-feature-settings: 'palt' on;
	font-family: "M PLUS 2";
	font-size: 12px;
	font-style: normal;
	font-weight: 400;
	line-height: 180%;
	letter-spacing: 0.6px;
}

.bg-green{
	background-color: #E3EECD;
}
.bg-blue{
	background-color: #E4F0EB;
}
.sp{
	display: none;
}
.screen-reader-response{
	display: none;
}
.wpcf7-response-output{
	text-align: center;
	color: #ce2d32;
	margin-bottom: 40px;
}

@media screen and (max-width: 768px) {
	img{
		width: 100%;
	}

	.l-header{
		border: none;
		box-shadow: none;
	}

	.l-header__sp{
		position: fixed;
		top: 20px;
		left: 20px;
	}

	/* cv */
	.contact-cta{
		max-width: 100%;
		margin: 0 auto;
		padding: 20px 22px;
		border-radius: 0px;
		border: none;
	}
	.contact-cta__buttons{
		flex-direction: column;
		gap: 8px;
	}

	/* .intro */
	.intro__content{
		background: url(../img/bg_intro_sp.png) no-repeat;
		background-size: cover;
		padding: 89px 12px 40px;
	}
	.intro__block{
		max-width: 100%;
		padding: 56px 10px 20px;
	}
	.intro__image--house{
		top: 0;
		left: 50%;
		translate: -50% -138%;
		width: 38%;
	}
	.intro__image--title{
		width: 80%;
	}
	.intro__image--link{
		margin-top: 16px;
	}

	/* #construction-menu */
	#construction-menu{
		padding: 40px 12px;
	}
	.construction-menu__block{
		margin-bottom: 24px;
	}
	.construction-menu__block-title{
		font-size: 24px;
		font-weight: 700;
		letter-spacing: 1.2px;
		padding: 10px 16px;
	}
	.construction-menu__block-title::after{
		right: 21px;
		width: 16px;
    height: 16px;
	}
	.construction-menu__list.is-active{
		flex-direction: column;
		row-gap: 24px;
	}
	.construction-menu__item{
		width: 100%;
	}
	.construction-menu__background{
		padding: 0;
	}

	/* voice */
	.voice__wrap{
		max-width: 100%;
		padding: 24px 12px 40px;
		z-index: 0;
	}
	.voice__title{
		margin-bottom: 17px;
	}
	.voice__faq-block{
		margin-bottom: 16px;
	}
	.voice__faq-block--icon{
		padding: 13px 10px;
	}
	.voice__faq-block--question{
		font-size: 14px;
		font-weight: 700;
		line-height: 140%;
		padding-right: 38px;
	}
	.voice__faq-block--question::after {
    position: absolute;
    top: -5px;
    bottom: 0;
    right: 14px;
    display: block;
    content: "";
    width: 12px;
    height: 12px;
    border-style: solid;
    border-right: 1px solid #398B28;
    border-top: 1px solid #398B28;
    border-bottom: 0;
    transform: rotate(134deg);
    margin: auto;
    transition: transform 0.3s;
	}
	.voice__faq-block.is-active .voice__faq-block--question::after {
			transform: rotate(-45deg);
			top: 10px;
	}
	.voice__faq-answer{
		display: none;
	}
	.voice__faq-answer.is-active{
		display: flex!important;
		flex-wrap: wrap;
		row-gap: 38px;
		justify-content: space-between;
		padding: 10px 16px;
	}
	.voice__faq-answer--text{
		font-size: 14px;
		letter-spacing: 0.56px;
	}

	/* service */
	.service__wrap{
		max-width: 100%;
		margin: 0 auto;
		padding: 40px 0 0;
	}
	.service__title{
		margin-bottom: 24px;
		padding: 0 72px;
	}
	.service__menu{
		flex-wrap: wrap;
		gap: 16px;
		padding: 0 12px;
	}
	.service__menu-list--half{
		width: calc(50% - 8.5px);
	}
	.service__item{
		margin-bottom: -18px;
	}
	#diagnosis, #inspection, #color-simulation, #after-follow{
		scroll-margin-top: 0;
	}
	.service__item-inner{
		padding: 0;
	}
	.service__item-wrap{
		padding: 16px 12px;
	}
	.service__item-button{
		width: 64%;
		margin: 16px auto 0;
	}
	.service__item-image--detail{
		margin-bottom: 16px;
	}

	/* floating */
	.floating-cta{
		position: fixed;
		bottom: 0;
		right: 0;
		background: rgba(89, 79, 79, 0.90);
	}
	.floating__wrap{
		display: flex;
		align-items: center;
		padding: 11px 14px 5px
	}
	.floating__cv-link{
		position: relative;
	}
	.floating__cv-deco{
		position: absolute;
		top: -2px;
		left: 50%;
		translate: -50% -50%;
		width: 86%;
	}
	
	/* contact */
	#contact{
		padding: 24px 12px;
	}

	/* form */
	.c-basicform {
		max-width: 100%;
		width: 100%;
		margin-top: 16px;
	}
	
	.c-basicform__table{
		border-left: none;
	}

	.c-basicform__tableItems {
		width: 100%;
		display: block;
	}

	.c-basicform__tableTitle {
		width: 100%;
		height: auto;         /* ←念のため修正 */
		min-height: auto;
		padding: 4px 16px;
		border-right: 1px solid #CECECE;
		border-left: 1px solid #CECECE;
	}

	.c-basicform div.c-button {
		max-width: 100%;
		width: 90%;
	}
	
	.c-basicform {
		max-width: -webkit-max-content;
		max-width: -moz-max-content;
		max-width: max-content;
	}

	.c-basicform__tableItems {
		width: 100%;
		display: block;
	}

	.c-basicform__tableTitle {
		width: 100%;
		height: auto;
		min-height: auto;
	}
	.c-select-wrap {
		width: 100%;
		min-width: 0;
	}
	textarea::placeholder {
		font-size: 12px;
	}
	.c-basicform__tableContent input[type=text], .c-basicform__tableContent input[type=tel], .c-basicform__tableContent input[type=email], .c-basicform__tableContent select{
		height: auto;
		font-size: 12px;
		padding: 12px 14px;
	}
	.c-radioinline label{
		font-size: 16px;
	}
	.c-basicform__tableContent-select{
		justify-content: flex-start;
		padding: 12px 16px;
	}
	.c-select-wrap{
		width: 80%;
	}
	.c-basicform__tableContent-select span{
		width: auto;
		font-size: 16px!important;
	}
	.c-basicform__tableContent button{
		width: auto;
		font-size: 14px;
		padding: 10.5px 14px;
	}
	.unique-text .wpcf7-form-control-wrap{
		width: 60%;
	}

	/* thanks */
	.p-thanks {
		margin: 24px 20px;
	}

	.p-thanks__headline {
		font-size: 20px;
	}

	.p-thanks__contents {
		padding: 0;
	}

	.p-thanks__text {
		text-align: left;
		padding-bottom: 20px;
	}

	/*.p-thanks__buttonbox {
		display: none;
	}*/

	/* footer */
	.l-footer__wrap{
		flex-direction: column;
		align-items: flex-start;
		gap: 6px;
		padding: 16px;
	}
	.l-footer__text{
		font-size: 10px;
		font-style: normal;
		font-weight: 400;
		line-height: 180%;
		letter-spacing: 0.5px;
	}
	.l-footer img{
		width: auto;
	}
	.pc{
		display: none;
	}
	.sp{
		display: block;
	}
}