@charset "utf-8";

/*------------------------------------------------------------
    index
------------------------------------------------------------*/

/* メインビジュアル */
.mainImg {
	position: relative;
	overflow: hidden;
	margin-bottom: -11.4rem;
}

.mainImg::after {
	position: absolute;
	bottom: -0.3rem;
	left: 0;
	width: 100%;
	height: 17.4rem;
	background: url("../img/index/main_bg.png") no-repeat left top / 100% 100%;
	content: "";
	z-index: 10;
}

.mainImg .image {
	height: 100vh;
	overflow: hidden;
}

.mainImg .image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: right center;
}

.mainImg .textBox {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 90%;
	max-width: 76.4rem;
	margin-top: -2.1rem;
	transform: translate(-50%, -50%);
}

.mainImg .title {
	margin-bottom: 6.7rem;
	font-size: 46px;
	font-weight: 400;
	color: #fff;
}

.mainImg .title .sml {
	display: block;
	margin-top: 1.4rem;
	font-size: 3.8rem;
}

.mainImg a {
	color: #fff;
}

/* sec01 */
.sec01 {
	min-height: 57.5rem;
	padding-top: 19.5rem;
	font-size: 2rem;
	text-align: center;
	background: url("../img/index/bg01.jpg") no-repeat right top / cover;
}

.sec01 p {
	line-height: 1.72;
}

.sec01 sub {
	display: inline-block;
	line-height: 1;
	vertical-align: bottom;
	letter-spacing: -0.05em;
}

/* sec02 */
.sec02 {
	padding: 3.5rem 0 5.2rem;
	font-size: 2rem;
	text-align: center;
	background-color: #F6F5F4;
}

.sec02 p {
	line-height: 1.66;
	letter-spacing: 0.03em;
}

.sec02 .headLine01 {
	margin-bottom: 3.9rem;
}

.sec02 .txtList {
	max-width: 34rem;
	padding-left: 4rem;
	margin: 2.7rem auto 3.6rem;
	font-size: 2.2rem;
	letter-spacing: 0.03em;
}

.sec02 .txtList li {
	margin-bottom: 0.8rem;
	text-align: left;
}

.main .sec02 .txtList li:last-child {
	margin-bottom: 0;
}

/* sec03 */
.sec03 {
	position: relative;
	padding-top: 8.4rem;
}

.sec03 .headLine01 {
	margin-bottom: 1.7rem;
}

.sec03 .textImg {
	margin-left: 3.7rem;
	text-align: center;
}

.sec03 .textImg img {
	width: 100%;
	max-width: 85.5rem;
}

.sec03 .content p {
	font-size: 1.2rem;
	text-align: right;
}

/* sec04 */
.sec04 {
	padding-top: 9.2rem;
}

.sec04 p {
	text-align: center;
}

.sec04 .btn-box {
	text-align: center;
}


/* トップページ6つの優れた効果用CSS */

.image-wrapper {
	position: relative;
	width: 100%;
	max-width: 90vw;
	margin: 0 auto;
}

.image-wrapper::after {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	content: '';
}

.image-wrapper img {
	display: block;
	width: 100%;
	height: auto;
}

.grid-container {
	position: relative;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
	max-width: 1200px;
	padding: 5rem 1rem;
	margin: 0 auto;
	z-index: 0;
}

.grid-overlay {
	position: absolute;
	inset: 0;
	display: grid;
	width: 100%;
	height: 100%;
	grid-template-columns: 1fr 1fr 1fr;
	grid-template-rows: repeat(3, auto);
	grid-template-areas: "box1 empty box4" "box2 empty box5" "box3 empty box6";
	gap: clamp(4px, 1vw, 10px);
	padding: 1vw;
	z-index: 1;
}

.text-box {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(0.1rem, 0.5vw, 3rem) 2rem;
	background-color: rgba(255, 255, 255, 0.7);
	border-radius: 10px;
	color: rgb(43, 42, 41);
	line-height: 1.4;
	text-align: left;
	text-decoration: none;
	word-break: break-word;
	white-space: normal;
}

.text-box span {
	display: block;
}

.box1 {
	grid-area: box1;
}

.box2 {
	grid-area: box2;
}

.box3 {
	grid-area: box3;
}

.box4 {
	grid-area: box4;
}

.box5 {
	grid-area: box5;
}

.box6 {
	grid-area: box6;
}

/* 空白エリア用（スペース確保） */
.empty {
	grid-area: empty;
}

.text-box .number {
	padding: 0.5rem 0;
	font-size: clamp(1rem, 1.5vw, 3rem);
	font-style: italic;
	color: rgb(164, 124, 82);
}

.text-box .normal {
	font-size: clamp(0.4rem, 1vw, 1.6rem);
}

.text-box .big {
	font-size: clamp(0.8rem, 1.2vw, 2rem);
	font-weight: bold;
	z-index: 2;
}

/* ボタン */
.btn,
a.btn,
button.btn {
	position: relative;
	display: inline-block;
	width: 200px;
	padding: 1rem 4rem;
	margin: 2rem auto;
	cursor: pointer;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	-webkit-transition: all 0.3s;
	transition: all 0.3s;
	font-size: 1.6rem;
	font-weight: 700;
	line-height: 1.5;
	color: #5c4f2a;
	text-align: center;
	text-decoration: none;
	vertical-align: middle;
	letter-spacing: 0.1em;
}

a.btn-border-shadow {
	padding: calc(1.5rem - 12px) 3rem 1.5rem;
	background: #fff;
}

a.btn-border-shadow:before {
	position: absolute;
	top: -6px;
	left: -6px;
	width: 100%;
	height: 100%;
	border: 1px solid #5c4f2a;
	content: "";
	-webkit-transition: all 0.3s ease;
	transition: all 0.3s ease;
}

a.btn-border-shadow:hover {
	padding: calc(1.5rem - 6px) 3rem;
}

a.btn-border-shadow:hover:before {
	top: 0;
	left: 0;
}

a.btn-border-shadow--color2:before {
	-webkit-box-shadow: 3px 3px 0 #e99c88;
	box-shadow: 3px 3px 0 #e99c88;
}

/*------------------------------------------------------------
    Media Query
------------------------------------------------------------*/

@media all and (max-width: 896.98px) {

	/* メインビジュアル */
	.mainImg .title {
		font-size: 2.7rem;
	}

	.mainImg .title .sml {
		margin-top: 1.3rem;
		font-size: 1.7rem;
	}

	.mainImg .textBox {
		top: 2rem;
		left: 50%;
		width: 90%;
		max-width: 76.4rem;
		margin-top: 0;
		transform: translate(-50%, 0);
	}

	.mainImg .image {
		height: 600px;
	}

	.mainImg::after {
		height: 6rem;
	}

	/* sec01 */
	.sec01 {
		min-height: 53.5rem;
		padding-top: 18.5rem;
		font-size: 1.5rem;
		background-position: center bottom;
	}

	/* sec02 */
	.sec02 {
		font-size: 1.5rem;
	}

	.sec02 .txtList {
		padding-left: 7rem;
		margin: 2.7rem auto 3.6rem;
		font-size: 1.7rem;
	}

	/* sec03 */
	.sec03 .textImg {
		margin-left: 0;
	}

	.sec03 .textImg img {
		max-width: 68rem;
	}

	/* sec04 */
	.sec04 {
		padding-top: 6.2rem;
	}

	.sec04 p {
		text-align: left;
	}
}

@media (max-width: 600px) {
	.grid-overlay {
		position: static;
		display: grid;
		height: auto;
		padding: 10px 0;
		grid-template-columns: 1fr;
		grid-template-areas: "box1" "box2" "box3" "box4" "box5" "box6";
	}

	.image-wrapper {
		min-height: auto;
	}

	.image-wrapper .grid-overlay {
		height: auto;
		padding: 10px 1.5rem;
	}

	.image-wrapper .text-box {
		margin-bottom: 1.5rem;
		text-align: center;
	}

	.image-wrapper .text-box .number {
		font-size: 7vw;
	}

	.image-wrapper .text-box .normal {
		font-size: 4vw;
	}

	.image-wrapper .text-box .big {
		font-size: 6vw;
	}
}