@charset "utf-8";
@import url("root.css");

/*
HERO position
*/

#hero {
	margin-top: 70px;/*header height*/
	width: 100%;
	height: auto;
}
.main_img_wrap {
	width: calc(100% - min(6%, 60px));
	height: auto;
	min-height: 700px;
	max-height: 1000px;
	aspect-ratio: 15/10;
	margin: 0 auto;
	position: relative;
	z-index: 1;
	clip-path: polygon(0 0,0 100%,100% 100%,100% 0);
	background-color: transparent;
}
.main_img_wrap::before {
	content: '';
	z-index: -1;
	inset: 0;
	width: 100%;
	height: 100%;
	position: fixed;
	background: url(../img/bg_main.webp) no-repeat center center / cover;
}
.main_text_wrap {
	position: absolute;
	left: 50%;
	top: 20%;
	translate: -50% 0;
	text-shadow: 0px 0px 15px rgba(0, 0, 0, 0.5);
	width: min(94%, 1200px);
	h1 {
		color: #fff;
		font-size: clamp(3rem, 10vw, 4rem);
		font-weight: 400;
		letter-spacing: .2em;
		line-height: 1.0;
		display: flex;
		align-items: center;
		flex-direction: column;
		text-align: center;
		span {
			display: block;
			font-size: 1.5rem;
			line-height: 1.5;
			font-weight: 300;
			letter-spacing: .2em;
			padding-left: .2em;
			padding-bottom: 1rem;
			border-bottom: 2px solid #fff;
			margin-bottom: 2rem;
		}
	}
	.subText {
		color: #fff;
		text-align: center;
		font-weight: 300;
		letter-spacing: .1em;
	}
}
@media (max-width: 767px) {
	.main_img_wrap {
		width: 100%;
		min-height: 600px;
	}
}



#navigation {
	margin-top: -250px;
}

@media (max-width: 767px) {
	#navigation {
		margin-top: calc(clamp(50px, 10vw, 100px) * -1);
	}
}

/*
Onayami section
*/

.onayami {
	width: 100%;
	margin-top: -130px;
	padding-top: calc( 130px + clamp(50px, 10vw, 100px));
	padding-bottom: clamp(50px, 10vw, 100px);
	background: url(../img/bg_onayami.webp) no-repeat center center / cover;
}
.onayami h2 {
	font-weight: 300;
	margin-bottom: clamp(35px, 7vw, 70px);
	p {
		font-size: clamp(1.3rem,2vw,1.75rem);
		color: var(--base-color01);
		margin-bottom: 2rem;
	}
}

.onayami .dots {
	background-image: radial-gradient(circle at center, var(--base-color01) 15%, transparent 15%); /* 点の色とサイズ調整 */
	background-position: top right;
	background-repeat: repeat-x;
	background-size: 1em .3em;
	padding-top: .25em;
}

.onyami_list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: clamp(20px, 4vw, 40px) clamp(20px, 4vw, 40px);
	margin: auto;
	counter-reset: number 0;
}

.onyami_list li {
	width: calc((100% - (clamp(20px, 4vw, 40px) * 3)) / 4);
	box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.15);
}
.onyami_list li a {
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	width: 100%;
	height: 140px;
	background: #fff;
	border-radius: 6px;
	position: relative;
}
.onyami_list li a::before {
	counter-increment: number 1;
	content: counter(number, decimal-leading-zero) "";
	color: var(--base-color01);
	opacity: .25;
	position: absolute;
	top: 5px;
	left: 10px;
	font-size: 2rem;
	font-weight: 300;
	line-height: 1.0;
}
.onyami_list li a::after {
	content: "";
	display: block;
	width: auto;
	height: .5rem;
	aspect-ratio: 15/4;
	background: url(../img/svg/arrow_rd.svg) no-repeat bottom center / contain;
	position: absolute;
	bottom: 20px;
	right: 20px;
}

.onayami {
	.lp_banner {
		margin-top: clamp(25px, 5vw, 50px);
		box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.15);
	}
}


@media (max-width:767px) {
	.onyami_list {
		gap: clamp(10px, 2vw, 20px) clamp(10px, 2vw, 20px);
	}
	.onyami_list li {
	width: calc((100% - (clamp(10px, 2vw, 20px) * 2)) / 3);
	}
}
@media (max-width:499px) {
	.onyami_list li {
	width: calc((100% - clamp(10px, 2vw, 20px)) / 2);
	}
}


/*
Greeting section
*/

.greeting {
	margin-top: clamp(50px, 10vw, 100px);
	margin-bottom: calc(60px + clamp(50px, 10vw, 100px));
}
.greeting h2 {
	line-height: 1.7;
	font-weight: 300;
	p {
		font-size: clamp(1rem, 2vw, 1.75rem);
		line-height: 1.25;
		color: var(--base-color01);
		margin-bottom: 1.5rem;
	}
	.double {
		border-bottom: 6px double var(--base-color01);
	}
	.red {
		color: var(--base-color01);
	}
}
.greeting h2::after {
	content: "";
	display: block;
	width: auto;
	height: 2rem;
	margin:clamp(25px, 5vw, 50px) auto;
	aspect-ratio: 28/3;
	background: url(../img/greeting_line.webp) no-repeat center center / contain;
}

.greeting_wrap {
	width: 100%;
	display: flex;
	justify-content: space-between;
	gap: clamp(25px, 5vw, 50px) clamp(25px, 5vw, 50px);
}

.greeting_text,
.greeting_img {
	height: fit-content;
	width: calc((100% - clamp(35px, 7vw, 70px)) / 2);
}
.greeting_text {
	display: flex;
	flex-direction: column;
}
.greeting_text h3 {
	font-size: clamp(1.3rem,2vw,1.75rem);
	color: var(--base-color01);
	width: 100%;
	padding-bottom: .5rem;
	border-bottom: 2px solid var(--base-color01);
	margin-bottom: 2rem;
}
.greeting_text p {
	margin-bottom: clamp(25px, 5vw, 50px);
}

.link_btn_wrap {
	display: flex;
	width: 100%;
	justify-content: space-between;
	margin-top: auto;
	.link_btn {
		width: calc((100% - clamp(15px, 3vw, 30px))/2);
		margin: 0;
	}
}
.greeting_img {
	position: relative;
}
.greeting_img::after {
	content: "";
	display: block;
	width: min(85%,480px);
	height: auto;
	aspect-ratio: 487/173;
	background: url(../img/sign.webp) no-repeat center center / contain;
	position: absolute;
	right: calc(clamp(35px, 7vw, 70px) * -1);
	bottom: calc(clamp(40px, 8vw, 80px) * -1);
	z-index: 1;
}
@media (max-width: 767px) {
	.greeting_wrap { flex-direction: column; }
	.greeting_text {
		width: 100%;
		order: 2;
	}
	.greeting_img {
		width: min(100%, 550px);
		margin: 0 auto clamp(25px, 5vw, 50px);
		order: 1;
	}
}



/*
Estate section
*/

.estate {
	width: 100%;
	padding-top: clamp(50px, 10vw, 100px);
	padding-bottom: clamp(50px, 10vw, 100px);
	position: relative;
	z-index: 0;
	clip-path: polygon(0 0,0 100%,100% 100%,100% 0);
	background-color: transparent;
}
.estate::after {
	content: "";
	display: block;
	width: 100%;
	height: 100%;
	background-color: rgba(255, 255, 255, 0.5);
	position: absolute;
	top: 0;
	left: 0;
	z-index: -1;
}
.estate::before {
  content: '';
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  position: fixed;
  background: url(../img/bg_estate.webp) no-repeat center center / cover;
}
.estate h2 {
	color: var(--base-color01);
}

.estate_wrap {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	margin-top: clamp(25px, 5vw, 50px);
	gap: clamp(15px, 3vw, 30px) clamp(15px, 3vw, 30px);
}
.estate_box {
	position: relative;
	width: calc((100% - (clamp(15px, 3vw, 30px) * 2)) / 3);
	a {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: flex-start;
		width: 100%;
		height: 100%;
		background: #fff;
		border-radius: 6px;
		padding: clamp(20px, 4vw, 40px);
		box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.15);
	}
	img {
		display: block;
		height: 60px;
		object-fit: contain;
	}
	h3 {
		font-size: clamp(1.3rem,2vw,1.75rem);
		line-height: 1.0;
		color: var(--base-color01);
		margin-top: 1.25rem;
	}
	h3::after {
		content: "";
		display: block;
		width: 80px;
		height: 2px;
		background: var(--base-color01);
		margin: 1.25rem auto;
	}
}
.estate_box::after {
	content: "";
	display: block;
	width: auto;
	height: .5rem;
	aspect-ratio: 15/4;
	background: url(../img/svg/arrow_rd.svg) no-repeat bottom center / contain;
	position: absolute;
	bottom: 20px;
	right: 20px;
}
@media (max-width: 767px) {
	.estate_box {
		width: calc((100% - clamp(15px, 3vw, 30px)) / 2);
	}
}
@media (max-width: 499px) {
	.estate_box {
		width: 100%;
	}
}

/*
Feature section
*/

.feature {
	width: calc(100% - min(6%, 60px));
	margin: min(3%, 30px) auto 0;
	padding-top: clamp(50px, 10vw, 100px);
	padding-bottom: clamp(25px, 5vw, 50px);
	background: url(../img/bg_feature.webp) no-repeat center center / cover;
}

.feature h2 {
	color: var(--base-color01);
}
.feature_wrap {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	margin-top: clamp(25px, 5vw, 50px);
	gap: clamp(15px, 3vw, 30px) clamp(15px, 3vw, 30px);
}
.feature_box {
	position: relative;
	width: calc((100% - (clamp(15px, 3vw, 30px) * 2)) / 3);
	background: #fff;
	border-radius: 6px;
}
.feature_img img {
	border-radius: 6px 6px 0 0;
}
.feature_text {
	padding: 1.25rem;
	h3 {
		font-size: clamp(1.3rem,2vw,1.75rem);
		line-height: 1.2;
		color: var(--base-color01);
		text-align: center;
	}
	h3::after {
		content: "";
		display: block;
		width: 80px;
		height: 2px;
		background: var(--base-color01);
		margin: 1.25rem auto;
	}
}

.feature .link_btn {
	margin-top: clamp(25px, 5vw, 50px);
}
@media (max-width: 767px) {
	.feature_box {
		width: calc((100% - clamp(15px, 3vw, 30px)) / 2);
	}
}
@media (max-width: 499px) {
	.feature_box { width:100%; }
}


/*
Youtube section
*/

.youtube {
	margin-top: clamp(25px, 5vw, 50px);
	margin-bottom: clamp(25px, 5vw, 50px);
}

/*
Case section
*/

.case {
	padding-top: clamp(50px, 10vw, 100px);
	padding-bottom: clamp(25px, 5vw, 50px);
	background: linear-gradient(#555,#333);
}

.case h2,.case p { color: #fff;}

.case_wrap {
	width: 100%;
	background: #fff;
	padding: clamp(25px, 5vw, 50px);
	margin-top: clamp(25px, 5vw, 50px);
	border-radius: 6px;
	display: flex;
	flex-wrap: wrap;
	.link_btn {
		margin-top: clamp(25px, 5vw, 50px);
	}
}
.case_article {
	width: 100%;
	padding-bottom: .75rem;
	border-bottom: 2px dotted #ddd;
	display: flex;
	flex-wrap: wrap;
	gap: 0 clamp(25px, 5vw, 50px);
	.case_ttl {
		display: flex;
		align-items: center;
		gap: clamp(10px, 2vw, 20px);
		font-weight: bold;
		color: var(--base-color01);
		flex-shrink: 0;
		span {
			display: block;
			text-align: center;
			flex-shrink: 0;
		}
	}
	a {
		display: block;
		width: fit-content;
	}
	a:hover {
		color: var(--base-color01);
	}
}
.case_article:not(:last-of-type) {
	margin-bottom: 1rem;
}

/*
Flow section
*/

.flow {
	padding-top: clamp(50px, 10vw, 100px);
	padding-bottom: clamp(25px, 5vw, 50px);
	background: url(../img/bg_flow.webp) no-repeat center center / cover;
	background-color: #f5f3ec;
}
.flow h2 {
	color: var(--base-color01);
}
.flow_wrap {
	margin-top: clamp(25px, 5vw, 50px);
	display: flex;
	flex-wrap: wrap;
	gap: clamp(20px, 4vw, 40px) clamp(20px, 4vw, 40px);
}

.flow_box {
	width: calc((100% - (clamp(20px, 4vw, 40px) * 3)) / 4);
	background: #fff;
	border-radius: 6px;
	position: relative;
}
.flow_box:not(:last-of-type)::after {
	content: "";
	display: block;
	width: 20px;
	height: 40px;
	background: var(--base-color01);
	clip-path: polygon(0 0, 0 100%, 100% 50%);
	position: absolute;
	top: 50%;
	right: calc(clamp(10px, 2vw, 20px) * -1);
	translate: 50% -50%;
}
.flow_img {
	position: relative;
	img {
		border-radius: 6px 6px 0 0;
	}
	span {
		position: absolute;
		bottom: 0;
		left: 50%;
		translate: -50% 50%;
		display: block;
		width: min(80%, 160px);
		height: 30px;
		border-radius: 15px;
		background: var(--base-color01);
		text-align: center;
		color: #fff;
	}
}

.flow_text_wrap {
	padding: calc(15px + 1.25rem) 1.25rem 1.25rem;
	h3 {
		font-size: clamp(1.3rem,2vw,1.75rem);
		line-height: 1.2;
		color: var(--base-color01);
		text-align: center;
		margin-bottom: .5rem;
	}
}

.flow .link_btn {
	margin-top: clamp(25px, 5vw, 50px);
}

@media (max-width: 767px) {
	.flow_box {
		width: calc((100% - clamp(20px, 4vw, 40px)) / 2);
	}
	.flow_box:not(:last-of-type)::after {
		content: none;
	}
}
@media (max-width: 499px) {
	.flow_box {
		width: 100%
	}
}


/*
FAQ section
*/

.faq {
	padding-top: clamp(50px, 10vw, 100px);
	padding-bottom: clamp(25px, 5vw, 50px);
}
.faq h2 {
	color: var(--base-color01);
}
.faq .faq_wrap {
	margin-top: clamp(25px, 5vw, 50px);
}
.toggle {
	display: none;
}
.faq_article {
	position: relative;
	background: #f5f3ec;
	padding-top: 1.25rem;
	padding-right: 2.5rem;
	padding-left: 5rem;
	padding-bottom: 1.25rem;
	.question {
		display: block;
		width: 100%;
		font-weight: 500;
		padding-right: 3rem;
		padding-bottom: .5rem;
		border-bottom: 2px dashed var(--base-color01);
		margin-bottom: .75rem;
	}
	label:hover {
		cursor: pointer;
	}
	.anser {
		max-height: 0;
		overflow: hidden;
	}
	.question,.anser {
		transform: translateZ(0);
		transition: all 0.3s;
	}
}
.faq_article::before {
	content: "";
	display: block;
	width: 1.5rem;
	height: auto;
	aspect-ratio: 1/1;
	background: url(../img/que.webp) no-repeat center center / contain;
	position: absolute;
	top: 1.25rem;
	left: 2rem;
}
.faq_article:nth-of-type(1) {
	margin-top: clamp(25px, 5vw, 50px);
}
.faq_article:not(:last-of-type) {
	margin-bottom: clamp(10px, 2vw, 20px);
}

.question:after,
.question:before {
	content: "";
	position: absolute;
	right: 1.25rem;
	top: -5px;
	bottom: 0;
	margin: auto;
	width: 2px;
	height: 1.25rem;
	background-color: var(--base-color01);
	transition: all 0.3s;
}
.question:after {
	transform: rotate(90deg);
}
.toggle:checked + .question + .anser {
	max-height: 500px;
	transition: all 1.5s;
}
.toggle:checked + .question:before {
	transform: rotate(90deg) !important;
}


.faq .link_btn {
	margin-top: clamp(25px, 5vw, 50px);
}


/*
NEWS section
*/

.news {
	padding-top: clamp(50px, 10vw, 100px);
	padding-bottom: clamp(25px, 5vw, 50px);
	background: url(../img/bg_feature.webp) no-repeat center center / cover;
	background-color: #f5f3ec;
}
.news h2 {
	color: var(--base-color01);
}
.news_wrap {
	width: 100%;
	background: #fff;
	margin-top: clamp(25px, 5vw, 50px);
	padding: clamp(25px, 5vw, 50px);
	border-radius: 6px;
	display: flex;
	flex-wrap: wrap;
}

.news_article {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-start;
	gap: clamp(10px, 2vw, 20px) clamp(10px, 2vw, 20px);
	padding-bottom: .75rem;
	border-bottom: 2px dotted #ddd;
	margin-bottom: 1rem;
	dt {
		display: flex;
		flex-shrink: 0;
		width: max-content;
		gap: 0 clamp(10px, 2vw, 20px);
		.date {
			display: flex;
			align-items: center;
		}
		.date::before {
			content: "";
			display: block;
			width: auto;
			height: 1em;
			aspect-ratio: 1/1;
			background: url(../img/svg/cal_rd.svg) no-repeat center center / contain;
			margin-right: .5em;
		}
	}
}

.news .link_btn {
	margin-top: clamp(25px, 5vw, 50px);
}



















