@charset "utf-8";
/* CSS Document */
/*=============================
ホームページのCSS
=============================*/
/*-------------------------
Main Image
-------------------------*/
#main-image {
	width: 100%;
	height: calc(100vh - 53px);
	height: calc(100dvh - 53px);
	position: relative;
	display: flex;
	align-items: center;
}
#main-image .content{
	max-width: 520px;
	width: 90%;
	margin: 0 auto;
}
#main-image .content div.logo{
	max-width: 400px;
	min-width: 240px;
	width: 60%;
	margin: 0 auto 2rem;;
}
#main-image .content div.copy{
	text-align: center;
	font-size: clamp(18px, 3vw, 36px);
	font-weight: 700;
}

/*-------------------------
Top Info
-------------------------*/
#top-info{
	width: 100%;
	max-width: 786px;
	display: flex;
	align-items: center;
	margin: 0 auto 2rem;
}
#top-info h3{
	font-size: 1rem;
	background-color: #555;
	padding: 4px 8px;
	color: #fff;
	margin-right: 0.5rem;
	display: inline-block;
}
#text-anime{
	width: 100%;
	overflow: hidden;
}
#text-anime p{
	display: inline-block;
	padding-left: 100%;
	animation: txtanime 20s linear infinite;
	transform: translateX(100%);
	white-space: nowrap;
	line-height: 1em;
}
@keyframes txtanime{
	0%{
		transform: translateX(0);
	}
	100%{
		transform: translateX(-100%);
	}
}

/*-------------------------
支援事業 Support business
-------------------------*/
#support-biz h2.section-header::after{
	left: calc(50% - 50px);
}
#support-biz{
	padding: 5rem 0;
}
.support-biz_container::before{
	content: "";
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,0.05);
	transform: skewY(-5deg);
	position: absolute;
	top:4rem;
	z-index: -1;
}
.support-content{
	padding: 0 1.5rem;
	margin-bottom: 2rem;
}
.support-content .box{
	background-color: #fff;
	padding: 1.25rem 1rem 1.5rem;
	text-align: center;
}
.support-content figure,
.support-content .box{
	box-shadow: 0 0 5px #555;
}
.support-content figure{
	margin-bottom: 0;
}
.support-content .box h3{
	font-size: clamp(18px, 2vw, 24px);
	font-weight: 700;
}
.support-content a .box{
	color: #555;
}
.support-content .box p.txt{
	font-size: clamp(14px, 2vw, 18px);
	text-align: justify;
	margin-bottom: 0.875rem;
}
.support-content .box p.button{
	text-align: center;
}
.support-biz_container{
	display: block;
	position: relative;
}

/*-------------------------
受託業務 Commissioned Work
-------------------------*/
#commissioned-work{
	padding: 1rem 0 3rem;
}
#commissioned-work ul{
	padding-left: 19px;
}
#commissioned-work h2::after{
	left: 0;
}
#commissioned-work .catch-copy{
	font-size: clamp(40px, 4vw, 60px);
	line-height: 1.3;
	/*color: #e41a23;*/
	color: #000;
}
#commissioned-work .header-copy{
	font-size: clamp(18px, 3vw,24px);
}
#commissioned-work .header-copy br{
	display: none;
}
#commissioned-work .contents-top{
	position: relative;
	display: block;
	padding: 0 0 2rem;
}
#commissioned-work .image{
	position: absolute;
	width: 50%;
	top: 2rem;
	right: -12px;
	z-index: -1;
	opacity: 0.3;
}

/*-------------------------
会社概要 Company
-------------------------*/
#company{
	position: relative;
	padding: 4rem 0 3rem;
	margin-bottom: 5rem;
}
#company::before{
	content: "";
	width: 100%;
	height: 102%;
	background-color: #eee;
	transform: skewY(-5deg);
	position: absolute;
	top: 0;
	z-index: -1;
}
#company::after{
	content: "";
	width: 100%;
	height:100%;
	background-color: #e41a23;
	transform: skewY(2deg);
	position: absolute;
	top: 2rem;
	z-index: -2;
}
#company h2.section-header,
#company p.section-sub-header{
	text-align: center;
}
#company h2.section-header::after{
	left: calc(50% - 50px);
}
#company table{
	width: 100%;
	border-top:1px solid #555;
}
#company table th,
#company table td{
	padding: 1rem;
	border-bottom: 1px solid #555;
}
#company table th{
	text-align: center;
	width: 10rem;
}
#company ul.client-list li{
	display: inline;
}
#company ul.client-list li::after{
	content: "／"
}
#company ul.client-list li:last-of-type::after{
	content: none;
}
a.tel-num {
	color: #555;
	text-decoration: none;
	border-bottom: 1px dotted #555;
}
span.fax-num{
	display: block;
}
span.fax-num a,
span.fax-num > a{
	text-decoration: none!important;
	pointer-events: none!important;
	color: #555;
}
/*-------------------------
沿革 History
-------------------------*/
#history{
	padding: 2rem 0 0;
}
.history h2::after{
	left: calc(50% - 50px);
}
.history-table th,
.history-table td{
	padding: 1rem;
}
.history-table tr:nth-child(odd) th,
.history-table tr:nth-child(odd) td{
	background-color: #eee;
}
.history-table th{
	font-size: 1.5rem;
	font-family: 'Oswald', sans-serif;
	font-weight: 300;
	vertical-align: top;
	line-height: 1.3;
}
.history-table td{
	text-align: justify;
	padding-left: 0;
}
/*沿革の続きを読む*/
.history_content{
	position:relative;
}
.history_content.hide{
	height:500px; /* 最初から見えているコンテツの高さ */
	overflow:hidden;
}
.history_content .show_more{
	position:absolute;
	bottom:0;
	left: 0;
	width:100%;
	padding-top:100px; /* グラデーションの高さはここで調整 */
	padding-bottom:10px; /* 続きを読むテキストの位置 */
	text-align:center;
	background: linear-gradient(to bottom, rgb(255, 255, 255, 0) 0%, rgb(255, 255, 255, 1) 70%);
	font-weight:bold;
	cursor:pointer;
}

@media(min-width:992px){
	/*-----------------
	メインイメージ
	-------------------*/
	#main-image {
		width: 100%;
		height: calc(100vh - 58px);
		position: relative;
		display: flex;
		align-items: center;
	}
	#main-image .content{
		max-width: 1140px;
		width: 90%;
		margin: 0 auto;
		display: flex;
		flex-direction: row;
		align-items: center;
		column-gap: 1.5rem;
	}
	#main-image .content div.logo{
		width: 30%;
	}
	#main-image .content div.copy{
		/*width: 65%;*/
		text-align: left;
	}
	/*-----------------
	会社概要
	-------------------*/
	#company{
		padding: 8rem 0;
	}
	#company .row{
		justify-content: center;
	}
	#company h2.section-header,
	#company p.section-sub-header{
		text-align: left;
	}
	#company h2.section-header::after{
		left: 0;
	}
	#company .header {
		margin-top: 4rem;
	}
	a.tel-num {
		pointer-events: none;
		border-bottom: none;
	}
	/*-----------------
	沿革
	-------------------*/
	/*沿革の続きを読む*/
	.history_content.hide{
		height:auto;
		overflow:none;
	}
	.history_content .show_more{
		display: none;
	}
}/*end*/

@media (min-width:768px) {
	/*-----------------
	支援事業
	-------------------*/
	.support-content{
		position: relative;
		margin: 0 auto 6rem auto;
		max-width: 1140px;
		min-width: 768px;
		width: 100%;
		padding: 0 2rem;
	}
	.support-content figure.right,
	.support-content figure.left{
		position: relative;
		width: 60%;
		line-height: 0;
		margin-bottom: 0;
		box-shadow: none;
	}
	.support-content figure.left{
		top: 0;
		left: 0;
	}
	.support-content figure.right{
		top: 0;
		left: 40%;
	}
	.support-content .box{
		width: 45%;
		min-width: 400px;
		max-width: 500px;
		background-color: #fff;
		box-shadow: 0 0 5px #555;
		padding: 3rem 2rem;
		text-align: center;
	}
	.support-content .box1,
	.support-content .box2,
	.support-content .box3,
	.support-content .box4,
	.support-content .box5,
	.support-content .box6,
	.support-content .box7{
		position: absolute;
		z-index: 2;
	}
	.support-content .box1{
		top: calc(50% - 8.5rem);
		right: 0%;
	}
	.support-content .box2{
		top: calc(50% - 9.5rem);
		left: -2%;
	}
	.support-content .box3{
		top: calc(50% - 9.5rem);
		right: -5%;
	}
	.support-content .box4{
		top: calc(50% - 10.5rem);
		left: -8%;
	}
	.support-content .box5{
		top: calc(50% - 10.5rem);
		right: -8%;
	}
	.support-content .box6{
		top: calc(50% - 11.75rem);
		left: -12%;
	}
	.support-content .box7{
		top: calc(50% - 11.5rem);
		right: -12%;
	}
	/*-----------------
	受託業務
	-------------------*/
	#commissioned-work .contents-top{
		padding: 0 0 1rem;
	}
	#commissioned-work .image{
		position: absolute;
		top: -5rem;
		right: 0;
		width: 35%;
		text-align: right;
		opacity: 1;
	}
	#commissioned-work .contents-bottom{
		width: 100%;
	}
	#commissioned-work .catch-copy{
		text-shadow: 3px 3px 2px #fff,0px 3px 2px #fff,0px -3px 2px #fff,-3px -3px 2px #fff,-3px 3px 2px #fff,3px -3px 2px #fff,0px 3px 2px #fff,3px 0px 2px #fff,3px 0px 2px #fff,-3px 0px 2px #fff;
	}
	#commissioned-work .header-copy br{
		display: block;
	}
}/*end*/

@media (max-width:575.98px) {
	/*-----------------
	会社概要
	-------------------*/
	#company .company-table th,
	#company .company-table td{
		display: block;
		width: 100%;
	}
	#company .company-table th{
		border-bottom: none;
		padding-bottom: 0.5rem;
	}
	#company .company-table td{
		padding-top: 0;
	}
	#company td.name,
	#company td.start,
	#company td.ceo,
	#company td.tax,
	#company td.capital,
	#company td.investor,
	#company td.affiliation,
	#company td.bank{
		text-align: center;
	}
	/*-----------------
	沿革
	-------------------*/
	.history-table th,
	.history-table td{
		display: block;
	}
	.history-table th{
		padding-bottom: 0;
		vertical-align: middle;
	}
	.history-table td{
		padding-top: 0;
		padding-left: 1rem;
	}
	
}/*end*/
@media(min-width:376px){
	span.fax-num{
		display: inline;
	}
	span.fax-num::before{
		content: " / "
	}
}
