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

/***************************************
------------- TOP MAIN IMG -------------
***************************************/

header {
	height: 80px;
	* {
		font-size: 1rem;
		line-height: 1.0;
		font-weight: bold;
	}
	color: var(--base-color01);
}
header.is-scrolled {
	color: #fff;
}
header .site_link {
	display: flex;
	margin: auto 1rem;
	li {
		margin-left: 1.25rem;
		display: flex;
		flex-wrap: nowrap;
	}
	li + li::before {
		content: "/";
		display: block;
		margin-right: 1.25rem;
	}
}

@media (max-width: 768px) {
	header * { font-size: clamp(.6rem,4vw,.9rem); }
	header .site_link {
		display: flex;
		flex-direction: column;
		li {
			margin: 0;
			justify-content: flex-end;
			a {
				line-height:1.7;
			 }
		}
		li + li::before {
			content: none;
		}
	}
}



#mv{
	position: relative;
	z-index:1;
	margin: 0 auto 0;
}
.top-slick {
	width:100%;
	height: clamp(650px,65vh,750px);
	margin: 0 0 0 auto;
	overflow: hidden;
	z-index: 220;
	position: relative;
	padding: 80px 0 0 0;
}
.slick-slide { height:inherit; }


.top-slick__item {
margin-right: 5px;
margin-left: 5px;
}
.top-slick__item img {
width: 100%;
height: auto;
display: block;
}

#mv .box{
margin: 0 auto;
width:auto;
padding: 0 0;
text-align: center;
}
#mv .box h1 {
position: absolute;
top: 55%;
left: 50%;
transform: translate(-50%, -50%);
font-size: 64px;
color: var(--base-color03);
font-family: "Cinzel", serif;
line-height: 1.2;
font-weight: 500;
z-index: 221;
width: 80%;
margin: 0 auto;
text-align:left;
text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

#mv .box h2 {
position: absolute;
top:65%;
left: 50%;
transform: translate(-50%, -50%);
font-size: 40px;
color: var(--base-color03);
font-family: "Cinzel", serif;
line-height: 1.2;
font-weight: 500;
z-index: 221;
width: 80%;
margin: 0 auto;
text-align:left;
text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.add-anime {
		animation: zoom-anime 30s linear 0s normal both;
}

@keyframes zoom-anime {
		0% {
				transform: scale(1);
		}
		100% {
				transform: scale(1.5);
		}
}


.scroll-text {
animation: bounce 1.5s infinite;
position: absolute;
bottom:150px;
right:2%;
z-index: 222;
width: 35px;
text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}
.scroll-text img{
width: 100%;
display: block;
}

@keyframes bounce {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(10px); }
}

@media (max-width: 768px) {
	.top-slick {
		margin:60px auto 0;
		padding:0;
	}
	.top-slick img {
		width: auto;
		height:90vh;
	}
	#mv .box h1 {
		top: 40%;
		font-size: 40px;
		text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.9);
	}
	#mv .box h2 {
		top:50%;
		left: 51%;
		font-size: 22px;
	}
	.scroll-text {
	writing-mode: vertical-rl;
	text-orientation: upright;
	font-size: 16px;
	color: white;
	bottom:130px;
	right:3%;
	}
}


/***************************************
------------- ポリシー -------------
***************************************/
#policy {
	position: relative;
	width: 100%;
	display: flex;
	margin: 150px auto;
	justify-content: space-between;
	align-items: flex-start;
}

#policy .image-wrap {
	position: absolute;
	right: 0;
	top: 0;
	bottom: 0;
	width: 45%;
	overflow: hidden;
	z-index: 1;
}

#policy .image-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

#policy .policy_box {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	justify-content:flex-start;
	align-items: center;
	padding:0;
	box-sizing: border-box;
}

#policy .policy_txt {
	width: 55%;
	padding: 0 100px 0 0;
	text-align: left;
}
@media (max-width: 768px) {
	#policy {
		position: static !important;
		height:auto;
		flex-wrap: wrap;
		margin: auto;
	}
	#policy .image-wrap {
		position: static !important;
		width: 100%;
	}
	#policy .policy_box {
		width: 90%;
		margin: 40px auto 0;
		justify-content:space-between;
		flex-wrap: wrap;
	}
	#policy .policy_txt {
		width:100%;
		padding:0;
	}
}

/***************************************
------------- ポイント -------------
***************************************/
#point {
	margin: 0 auto;
	background: var(--sub-color00);
}
#point h2 { text-align: center;}
#point h2 span{ text-align: center;}

#point .row {
	margin-top: 50px;
	display: flex;
	gap: min(5vh, 50px) min(4%, 50px);
}
#point .col .img-wrap {
	position: relative;
}
#point .col {
	width: calc((100% - min(4%, 50px)) / 2);
}


#point .col img{
width:100%;
display: block;
position: relative;
}


#point .col .number {
position: absolute;
top:0;
left:0;
width: 50px;
height: 50px;
background-color: var(--base-color01);
color:var(--base-color03);
font-size: 20px;
font-weight: bold;
display: flex;
align-items: center;
justify-content: center;
}

#point .col h3 {
position: absolute;
bottom: 0; /* 下揃え */
right: 0;  /* 右揃え */
width: 100%;
margin: 0;
padding: 20px;
font-size: 22px;
line-height: 1.4;
text-align: right; /* ← 文字を右寄せ */
color: #fff;
background: linear-gradient(
	to left,
	rgba(0,0,0,0.3) 50%,
	rgba(0,0,0,0) 100%);
box-sizing: border-box;
}

#point .col p {
padding:20px 0 0 0;
}


@media (max-width: 768px) {
	#point .col img {
		text-align: center;
		display: flex;
		justify-content: center;
	}
	#point .col h3 {
		padding: 10px;
		font-size:16px;
		background: linear-gradient(
		to left,
		rgba(0,0,0,0.5) 50%,
		rgba(0,0,0,0) 100%
		);
	}
}
@media (max-width: 599px) {
	#point .col {
		width: 100%;
	}
}

/***************************************
------------- 事業内容 -------------
***************************************/
#service{
	background-color: var(--base-color01);
	color: var(--base-color03);
}

#service .h4_title_a {line-height: 1.8;text-align: center;color: var(--base-color03);}
#service h2, h3 {text-align: center;color: var(--base-color03);}
#service span {text-align: center;color: var(--base-color03);}

#service .container > p{
color: var(--base-color03);
margin: 50px auto ;
display: block;
text-align: center;
}
.service_wrap {
	display: flex;
	flex-wrap: wrap;
	gap: min(5vh, 50px) min(4%, 50px);
}
.service_col {
	width: calc((100% - calc(min(4%, 50px) * 3)) / 4);
	text-align: center;
	padding: 20px;
	background: #f8f8f8;
	box-sizing: border-box;
	color: var(--base-color02);
	font-size: 20px;
}
.service_col img {
	max-width: 80px;
	height: auto;
	margin: 0 auto 20px;
}

@media (max-width: 768px) {
	.service_wrap {
		gap: clamp(15px, 2vh, 50px) min(4%, 50px);
	}
	.service_col {
		width: calc((100% - min(4%, 50px)) / 2);
		padding:20px 5px;
		font-size: 12px;
	}
	.service_slider {
		padding-bottom:60px; /* ドット分の余白を確保 */
	}
	.service_slider .slick-dots {
		position: absolute;
		bottom: 10px;
		left: 50%;
		transform: translateX(-50%);
		text-align: center;
	}
}


/***************************************
------------- メッセージ・スタッフ -------------
***************************************/
#messege {
	position: relative;
	width: 100%;
	display: flex;
	margin: 0 auto;
}
#messege .image-wrap {
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 40%;
	overflow: hidden;
	z-index: 1;
}
#messege .image-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: left;
	display: block;
}
#messege .staff_box {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	justify-content:flex-end;
	align-items:flex-start;
	padding:0;
	box-sizing: border-box;
}
#messege .staff_txt {
	width: 60%;
	padding: 0;
	padding-left: 100px;
}
#messege .staff_txt p {
	padding:50px 0 0;
	text-align: left;
}
#messege .row .txt_p{
	padding: 0 0 100px 0;
}
#messege .name{
	display: block;
	text-align: right;
	font-weight: 600;
	margin: 20px auto 0;
}
@media (max-width: 768px) {
	#messege {
		position: static !important;
		margin: 0 auto;
		flex-wrap: wrap;
	}
	#messege .image-wrap {
		position: static !important;
		left: 0;
		width: 100%;
		padding: 20px 0 0;
	}
	#messege .staff_box {
		width: 90%;
		justify-content:space-between;
		align-items: center;
		flex-wrap: wrap;
		margin-top: min(10vw, 50px);
	}
	#messege .staff_txt {
		width: 100%;
		padding: 0;
		text-align: left;
	}
}

/***************************************
------------- スタッフ-------------
***************************************/
#staff {
	background: var(--sub-color00);
}
#staff h2 { text-align: center;}
#staff h2 span { text-align: center;}

#staff .row{
	width: 100%;
	margin: 0 auto;
	align-items: flex-start;
	padding: 50px 0 0;
	display: flex;
	gap: min(5vh, 50px) min(4%, 50px);
}
#staff .col_02 {
	width: calc(calc(100% - min(4%, 50px)) / 2);
}
#staff .col_02 .img-wrap {
	position: relative;
	padding: 0 0 20px;
}
#staff .col_02 .number {
	position: absolute;
	top: 0;
	right: 0;
	width: 50px;
	height: 50px;
	background-color: var(--base-color01);
	color: var(--base-color03);
	font-size: 20px;
	font-weight: bold;
	display: flex;
	align-items: center;
	justify-content: center;
}
#staff .col_02 .name {
	position: absolute;
	bottom: 35px;
	left: 0;
	width: 60%;
	background-color: var(--base-color01);
	color:var(--base-color03);
	padding: 10px;
	font-size: 14px;
	box-sizing: border-box;
	line-height: 1.4;
}
#staff .name {
	text-align:left;
	color: var(--base-color01);
}
#staff .txt_p {
	text-align: left;
	font-size: 1rem;
	dt span {
		width: 100%;
		display: block;
		font-size: 1.1rem;
		font-weight: bold;
		color: var(--base-color01);
		padding-bottom: .25rem;
		border-bottom: 1px dotted var(--base-color01);
		margin-bottom: .25rem;
	}
	dd {
		margin-top: 1rem;
	}
	dd span {
		width: 100%;
		display: block;
		font-size: 1.1rem;
		color: #fff;
		background: var(--base-color01);
		margin-bottom: .5rem;
		padding: 0 .75rem;
	}
}
@media (max-width: 768px) {
	#staff .col_02 {
		width: calc(calc(100% - min(4%, 50px)) / 2);
	}
	#staff .col_02 .number {
		width: 40px;
		height: 40px;
		font-size: 16px;
	}
	#staff .col_02 .name {
		bottom: 20px;
		width: 100%;
		padding: 5px;
		font-size: 12px;
	}
}
@media (max-width: 599px) {
	#staff .col_02 {
		width: 100%;
	}
}
/***************************************
------------- COMPANY -------------
***************************************/
#company {
	position: relative;
	width: 100%;
	display: flex;
	margin: 0 auto;
	padding: 150px 0;
	justify-content: space-between;
	align-items: flex-start;
}
#company .image-wrap {
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 45%;
	overflow: hidden;
	z-index: 1;
}
#company .image-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
#company .company_box {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	justify-content:flex-end;
	align-items: center;
	padding:0;
	box-sizing: border-box;
}
#company .company_txt {
	width: 55%;
	padding: 0 0 0 100px;
}
#company dl {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	margin: 100px auto 0;
	padding: 0;
	border-left: 1px solid var(--base-color01);
	color: var(--base-color01);
}
#company dt {
	width:40%;
	text-align: center;
	padding: 0 0 20px 0;
}
#company dd {
	width: 60%;
	text-align: left;
	padding: 0 0 20px 0;
}
#company dt:last-of-type { padding: 0;}
#company dd:last-of-type { padding: 0;}

@media (max-width: 768px) {
	#company {
		position: static !important;
		margin: 0 auto;
		padding: clamp(50px, 15vw, 100px) 0;
		flex-wrap: wrap;
	}
	#company dl {
		margin: 50px auto 0;
		border-left: none;
	}
	#company dt,
	#company dd {
		text-align:left;
		padding:10px 0;
		border-bottom: 1px solid var(--base-color01);
	}
	#company dt:last-of-type {padding:10px 0;}
	#company dd:last-of-type {padding:10px 0;}
	#company .image-wrap {
		position: static !important;
		width: 100%;
		padding: 20px 0 0 0;
	}
	#company .company_box {
		width: 90%;
		justify-content:space-between;
		box-sizing: border-box;
		flex-wrap: wrap;
	}
	#company .company_txt {
		width: 100%;
		padding: 50px 0 0;
	}
}


/***************************************
------------- お問い合わせ -------------
***************************************/
#contact {
	background: var(--sub-color00);
}
#contact h2 {
	text-align: center;
	margin: 0 auto 50px;
}
#contact h2 span {
	text-align: center;
}

footer .copyright {
	display: flex;
	flex-direction: column;
	line-height: 1.0;
	padding: 1.5rem 0;
	img {
		width: min(50%, 120px);
		display: block;
		margin: 0 auto 1rem;
	}
}
#job_description h2 { text-align: center;}
#job_description h2 span { text-align: center;}

#job_description {
	table,tbody,tr {
		width: 100%;
		display: flex;
		flex-wrap: wrap;
		text-align: left;
	}
	table {
		margin-top: min(10vw, 50px);
		border: 2px solid var(--base-color01);
	}
	th {
		font-weight: bold;
		flex-shrink: 0;
		width: clamp(120px, 20%, 200px);
		padding: 1rem;
		background: var(--sub-color00);
		color: var(--base-color01);
		border-right: 2px solid var(--base-color01);
	}
	tr:not(:last-of-type) th,
	tr:not(:last-of-type) td {
		border-bottom: 2px solid var(--base-color01);
	}
	td {
		padding: 1rem;
		width: calc(100% - clamp(120px, 20%, 200px));
	}
}

@media (max-width: 599px) {
	#job_description {
		th,td {
			width: 100%;
			border-right: none;
		}
	}
}


