@charset "utf-8";
/* CSS Document */

.header.change-color {
	background-color: rgba(0,0,0,0.9);
}
#mainvisual {
	width: 100%;
	height: 30vh;
	position: relative;
	background: url(../img/services/mv_services.jpg)center/cover no-repeat;
}
#mainvisual::after {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background-color: #000;
	opacity: 0.4;
	z-index: 0;
}
#mainvisual h1 {
	height: fit-content;
	font-family: U-OTF-GothicMB101Upr-Heavy;
	font-size: 1.3rem;
	text-align: center;
	color: #fff;
	position: absolute;
	top: 30px;
	bottom: 0;
	left: 0;
	right: 0;
	margin: auto;
	z-index: 10;
}
#mainvisual h1 span {
	font-size: 0.9rem;
}
.service-intro {
	padding: 20px 0;
}
.intro-title {
	font-size: 1.4rem;
	color: var(--main);
	margin-bottom: 10px;
	line-height: 1.6;
	font-family: U-OTF-GothicMB101Upr-Heavy;
	padding: 0 15px;
}
.intro-text {
	line-height: 2.0;
	letter-spacing: 1px;
	padding: 0 15px;
	font-size: 0.9rem;
}
.solution-matrix {
	background: var(--grey);
	padding: 30px 0 50px;
}
.solution-matrix .container {
	width: 92%;
	max-width: 1100px;
	margin: 0 auto;
}
.solution-matrix h2 {
	text-align: center;
	margin-bottom: 30px;
	font-family: U-OTF-GothicMB101Upr-Heavy;
	font-size: 1.3rem;
	line-height: 1.5;
}
.solution-matrix h2 strong {
	color: var(--main);
	font-size: 1.5rem;
}
.solution-matrix .matrix-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 20px;
}
.solution-matrix .matrix-item {
	background: #fff;
	padding: 20px;
	border-radius: 8px;
	box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.solution-matrix .problem {
	display: flex;
	align-items: center;
	margin-bottom: 10px;
}
.solution-matrix i {
	color: #c00;
	font-size: 1.5rem;
	margin-right: 10px;
}
.solution-matrix h3 {
	font-size: 1.1rem;
	font-weight: bold;
	margin: 0;
}
.solution-matrix .solution {
	margin-left: 35px;
}
.solution-matrix .solution p:first-of-type {
	color: #00467e;
	font-weight: bold;
	margin-bottom: 5px;
}
.solution-matrix .solution p:last-of-type {
	font-size: 0.9rem;
}
.solution-matrix .solution a {
	color: var(--main);
	text-decoration: underline;
}
.process-flow {
	margin: 60px auto 40px;
}
.process-flow h2 {
	width: 94%;
	font-size: 1.3rem;
	padding: 0 0 5px;
	border-bottom: 2px solid var(--main);
	margin: 0 auto 30px;
	font-family: U-OTF-GothicMB101Upr-Heavy;
}
.flow-item {
	width: 100%;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.flow-item > div:first-of-type {
	width: 40%;
	position: relative;
}
.flow-item .flow-num {
	text-align: center;
}
.flow-item .flow-icon {
	display: block;
	width: fit-content;
	margin: 0 auto;
	padding: 10px 20px;
	background: var(--main);
	color: #fff;
	text-align: center;
}
.flow-item > div:last-of-type {
	width: 80%;
}
.flow-item > div:last-of-type a {
	color: var(--main) !important;
	text-decoration: underline;
}
.flow-arrow {
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.5rem;
	color: var(--main);
	padding-top: 60px; 
	background: var(--grey);
	margin: 15px 0;
}
@media screen and (max-width: 768px) {
.flow-wrapper {
	flex-direction: column;
	width: 94%;
	margin: 0 auto;
}
.flow-arrow {
	padding: 10px 0;
}
.flow-arrow i {
	transform: rotate(90deg);
}
.flow-desc {
	font-size: 0.9rem;
}
}
.service-list {
	margin: 30px auto 30px;
}
.service-list h2 {
	width: 94%;
	font-size: 1.3rem;
	padding: 0 0 5px;
	border-bottom: 2px solid var(--main);
	margin: 0 auto 30px;
	font-family: U-OTF-GothicMB101Upr-Heavy;
}
.service-list .container {
	width: 100%;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 40px;
}
.service-card {
	display: flex;
	background: #fff;
	border: 1px solid #eee;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 5px 15px rgba(0,0,0,0.05);
	transition: transform 0.3s;
}
.service-card:hover {
	transform: translateY(-5px);
}
.service-card-img {
	width: 40%;
	flex-shrink: 0;
}
.service-card-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.service-card-body {
	padding: 30px 15px;
	width: 60%;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.service-card-title {
	margin-bottom: 15px;
	border-bottom: 2px solid var(--main);
	padding-bottom: 5px;
}
.service-card-text {
	font-size: 0.9rem;
}
.service-card-title .en {
	display: block;
	font-size: 0.9rem;
	color: var(--main);
	font-family: sans-serif;
	letter-spacing: 0.05em;
}
.service-card-title .ja {
	font-size: 1.3rem;
	color: #333;
}
.service-card-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	list-style: none;
	padding: 0;
	margin: 15px 0 25px;
}
.service-card-tags li {
	background: #f0f5fa;
	color: var(--main);
	font-size: 0.85rem;
	padding: 5px 12px;
	border-radius: 4px;
}
.btn--primary {
	width: fit-content;
	color: #fff;
	background: var(--main);
	text-align: left;
	padding: 5px 10px;
	margin: 0 0 0 auto;
	font-weight: bold;
}
@media screen and (max-width: 768px) {
.service-card {
	flex-direction: column;
}
.service-card-img, .service-card-body {
	width: 100%;
}
.service-card-img {
	height: 200px;
}
.sp_none {
	display: none;
}
}
.material-list {
	margin: 30px auto 60px;
	;
}
.material-list h2 {
	width: 94%;
	font-size: 1.3rem;
	border-bottom: 2px solid var(--main);
	margin: 0 auto 15px;
	font-family: U-OTF-GothicMB101Upr-Heavy;
}
.section-lead {
	padding: 0 12px;
	font-size: 0.9rem;
}
.material-table-wrapper {
	width: 94%;
	max-width: 800px;
	margin: 10px auto;
	overflow-x: auto;
}
.material-table {
	width: 100%;
	border-collapse: collapse;
	background: #fff;
}
.material-table th, .material-table td {
	border: 1px solid #ddd;
	padding: 15px;
	text-align: left;
	font-size: 0.9rem;
}
.material-table th {
	background: var(--main);
	color: #fff;
	width: 30%;
	white-space: nowrap;
}
.material-note {
	font-size: 0.9rem;
	color: #666;
	padding: 0 12px;
}
.common-cta {
	margin: 30px auto 60px;
}
.common-cta h2 {
	width: 94%;
	font-size: 1.3rem;
	padding: 0 0 5px;
	border-bottom: 2px solid var(--main);
	margin: 0 auto 15px;
	font-family: U-OTF-GothicMB101Upr-Heavy;
}
.common-cta .cta-text {
	padding: 0 12px;
	font-size: 0.9rem;
}
.common-cta .cta-btns {
	display: flex;
	flex-direction: column;
	gap: 10px;
	align-items: center;
	margin-top: 30px;
	text-align: center;
}
.common-cta .cta-btns a {
	width: 70%;
	background: var(--main);
	color: #fff;
	padding: 10px 20px;
	margin-bottom: 15px;
}
