﻿
/* カード全体の枠組み */
.service-card {
	margin: 0 auto;
	border: 1px solid #159969;
	padding: 40px 32px;
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 40px;
	background-color: #fff;
}
.service-card__content {
	flex: 1;
	display: flex;
	flex-direction: column;
}
.service-card__title {
	font-size: 26px;
	font-weight: bold;
	margin-bottom: 14px;
	line-height: 1.3;
}
.service-card__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 15px;
}
.service-card__tag {
	background-color: #159969;
	color: #ffffff;
	font-size: 14px;
	font-weight: bold;
	padding: 5px 12px;
	line-height: 1.4;
}
.service-card__list {
	list-style: none;
	margin-bottom: 20px;
	flex-grow: 1;
}
.service-card__list li {
	position: relative;
	padding-left: 18px;
	line-height: 1.5;
	margin-bottom: 8px;
}
.service-card__list li:last-child {
	margin-bottom: 0;
}
.service-card__list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.6em;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background-color: #a81c58;
}
.service-card__button {
	display: block;
	width: 100%;
	background-color: #C83312;
	border: 2px solid #C83312;
	color: #ffffff !important;
	text-align: center;
	text-decoration: none;
	font-size: 16px;
	font-weight: bold;
	padding: 13px 20px;
	transition: all 0.3s ease;
}
.media-details__outer a.service-card__button {
	color: #ffffff !important;
	text-decoration: none !important;
}
.media-details__outer a.service-card__button:hover {
	background-color: #fff;
	color: #C83312 !important;
}
.service-card__image {
	width: 40%;
	flex-shrink: 0;
}
.service-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
@media (max-width: 768px) {
	.service-card__title {
		font-size: 24px;
	}
	.service-card {
		flex-direction: column-reverse;
		padding: 24px;
		gap: 24px;
	}
	.service-card__tag{
		font-size: 13px;
	}
	.service-card__image {
		width: 100%;
	}
	.service-card__button {
		max-width: 100%;
	}
}