@charset "UTF-8";
/* 事例紹介ページ追加CSS
   固定ページ本文内の .jirei-renewal / .jirei-detail-renewal のみに適用します。 */
.jirei-renewal,
.jirei-detail-renewal {
	color: #4a4a4a;
}
.jirei-renewal img,
.jirei-detail-renewal img {
	max-width: 100%;
	height: auto;
	vertical-align: bottom;
}
.jirei-lead {
	display: flex;
	align-items: center;
	gap: 24px;
	margin: 0 0 32px;
	padding: 22px 24px;
	border: 1px solid #d6df8b;
	border-radius: 10px;
	background: #fbfde8;
}
.jirei-lead__body {
	flex: 1 1 auto;
}
.jirei-lead__label {
	margin: 0 0 8px;
	color: #8a9d00;
	font-weight: bold;
}
.jirei-lead__text {
	margin: 0;
	line-height: calc(1em + 11px);
}
.jirei-lead__image {
	flex: 0 0 220px;
	text-align: center;
}
.jirei-list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}
.jirei-renewal .jirei-card {
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 0 0 20px;
	border: 1px solid #d8d8d8;
	border-radius: 10px;
	overflow: hidden;
	background: #fff;
}
.jirei-renewal .jirei-card h2 {
	margin: 0;
	padding: 10px 14px;
	background: #a6c900;
	color: #fff;
	font-size: 1.8rem;
	line-height: 1.5;
}
.jirei-card__inner {
	display: flex;
	flex-direction: column;
	height: 100%;
}
.jirei-card__image img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}
.jirei-card__body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	padding: 16px;
}
.jirei-renewal .jirei-card h3 {
	margin: 0 0 8px;
	color: #5f5f5f;
	font-size: 20px;
	line-height: 1.5;
}
.jirei-renewal .jirei-card h4 {
	margin: 0 0 12px;
	color: #f39800;
	font-size: 1.6rem;
	line-height: 1.6;
}
.jirei-card__body p {
	margin: 0 0 18px;
	line-height: 1.8;
}
.jirei-card__body .btnG {
	margin-top: auto;
}
.jirei-detail-category {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0 0 20px;
	padding: 0;
	list-style: none;
}
.jirei-detail-category li {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 28px;
	padding: 3px 20px 3px 5px;
	border-radius: 5px 0 0 5px;
	background: #7bd60a;
	color: #536b00;
	font-size: 1.4rem;
	font-weight: bold;
	line-height: calc(1em + 8px);
	clip-path: polygon(0% 0%, calc(100% - 15px) 0%, 100% 50%, calc(100% - 15px) 100%, 0% 100%);
}
.jirei-detail-category li::before {
	content: "";
	width: 5px;
	height: 5px;
	margin-right: 5px;
	border-radius: 50%;
	background: #fff;
	display: block;
	position: relative;
	top: -2px;
}
.jirei-detail-renewal h2 {
	margin-bottom: 8px;
}
.jirei-detail-renewal h3 {
	margin: 0 0 24px;
	color: #f39800;
	font-size: 2.2rem;
	line-height: 1.6;
}
.jirei-detail-renewal p{
	font-size: 1.6rem;
	line-height: calc(1em + 12px);
}
.jirei-detail-visual {
	display: flex;
	gap: 24px;
	align-items: stretch;
	margin: 0 0 32px;
}
.jirei-detail-visual__photo {
	flex: 1 1 100%;
	width: 100%; 
}
.jirei-detail-visual__photo p{
	display: block;
	margin-top: 5px;
}
.jirei-detail-visual__photo:last-child {
	margin-right: -24px;
}
.jirei-detail-visual__photo img {
	width: 100%;
	display: block;
	height: auto;
	border-radius: 10px;
}
.jirei-detail-visual__summary {
	flex: 0 0 280px;
	padding: 18px;
	border: 1px solid #d6df8b;
	border-radius: 10px;
	background: #fbfde8;
}
.jirei-detail-visual__summary dl,
.jirei-detail-visual__summary dt,
.jirei-detail-visual__summary dd {
	margin: 0;
}
.jirei-detail-visual__summary dt {
	margin-bottom: 4px;
	color: #8a9d00;
	font-weight: bold;
}
.jirei-detail-visual__summary dd {
	margin-bottom: 14px;
	padding-bottom: 14px;
	border-bottom: 1px dotted #c9c9c9;
}
.jirei-detail-visual__summary dd:last-child {
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: 0;
}
.jirei-detail-visual__summary.pt2{
	display: flex;
	gap: 15px;
}
.jirei-detail-visual__summary.pt2:after{
	content: none;
}
.jirei-detail-visual__summary.pt2 dl{
	width: calc((100% - 15px) / 2);
}
.jirei-detail-visual__summary.pt2 dl dd{
	border-bottom: 1px dotted #c9c9c9;
	padding-bottom: 14px;
}
.jirei-detail-visual__txtbox .jirei-detail-visual__photo{
	float: right;
	width: auto;
	max-width: 450px;
	margin: 0 auto 15px 15px;
}
.jirei-detail-visual__txtbox .jirei-detail-visual__photo img{
	border-radius: 10px;
}
.jirei-detail-section {
	margin: 0 0 28px;
}
.jirei-detail-section h4{
	margin: 0 0 12px;
	padding-left: 14px;
	border-left: 5px solid #a6c900;
	color: #5f5f5f;
	font-size: 2.0rem;
	line-height: 1.5;
}
.jirei-detail-section p,
.jirei-detail-box p {
	margin: 0;
	line-height: calc(1em + 11px);
}
.jirei-detail-box {
	display: flex;
	gap: 20px;
	align-items: center;
	margin: 36px 0 28px;
	padding: 22px 24px;
	border: 2px solid #d6df8b;
	border-radius: 10px;
	background: #fbfde8;
}
.jirei-detail-box__image {
	flex: 0 0 180px;
	text-align: center;
}
.jirei-detail-box__body {
	flex: 1 1 auto;
}
.jirei-detail-back {
	text-align: center;
}
.jirei-detail-back a{
	transition: all ease .2s;
	position: relative;
	display: flex!important;
	align-items: center;
	justify-content: center;
	line-height: normal!important;
}
.jirei-detail-back a:before {
    display: block;
    content: "";
    position: absolute;
    top: 50%;
    left: 10px;
    width: 0;
    height: 0;
    margin-top: -5px;
    border: 5px solid transparent;
    border-right: 5px solid #111;
}
.jirei-detail-back a:hover {
    opacity: .85;
    text-decoration: none;
}
@media screen and (max-width: 768px) {
	.jirei-detail-visual{
		margin-bottom: 0;
	}
	.jirei-list {
		grid-template-columns: 1fr;
	}
	.jirei-lead,
	.jirei-detail-visual,
	.jirei-detail-box {
		flex-direction: column;
	}
	.jirei-lead__image,
	.jirei-detail-visual__summary,
	.jirei-detail-box__image {
		flex: 0 1 auto;
	}
	.jirei-detail-visual__summary.pt2{
		display: flex;
		flex-flow: column;
		gap: 0;
	}
	.jirei-detail-visual__summary.pt2 dl{
		width: 100%;
	}
	.jirei-detail-visual__summary.pt2 dl dd{
		border-bottom: 1px dotted #c9c9c9;
		padding-bottom: 14px;
	}
	.jirei-detail-visual__summary.pt2 dl:last-of-type{
		margin-top: 14px;
	}
	.jirei-detail-visual__summary.pt2 dl:last-of-type dd:last-of-type{
		border-bottom: none;
		padding-bottom: 0;
	}
	.jirei-detail-visual__txtbox .jirei-detail-visual__photo{
		float: none;
		width: 100%;
		max-width: inherit;
		margin: 0 auto 10px;
	}
	.jirei-detail-visual__txtbox .jirei-detail-visual__photo img{
		border-radius: 10px;
	}
}
@media screen and (max-width: 768px) {
	.jirei-lead,
	.jirei-detail-box {
		padding: 18px;
	}
	.jirei-renewal .jirei-card h2 {
		font-size: 1.7rem;
	}
	.jirei-renewal .jirei-card h3 {
		font-size: 1.8rem;
	}
	.jirei-detail-renewal h3 {
		font-size: 1.9rem;
	}
}
