@charset "UTF-8";

.case {
	padding: 155px 0 41px 0;
}

.case_ttl {
	position: relative;
	width: 100%;
	max-width: 240px;
}

.case_ttl_main {
	width: 100%;
	max-width: 316px;
}

.case_ttl_sub {
	position: absolute;
	top: -58px;
	color: #284685;
	font-family: "Sulphur Point";
	font-size: 32px;
	font-style: normal;
	font-weight: 700;
	letter-spacing: 2px;
}

#case {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

#case main {
	flex: 1;
}

#case .copyright {
	padding-top: 0;
}

/* 3列 × 5行 */
.case_grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px 16px;
	margin: 80px auto 0;
}

/* カード */
.case-card {
	min-height: 200px;
	padding: 24px 32px 32px;
	background: #fff;
	border-radius: 24px;
	box-sizing: border-box;
}

/* 上部：タグ・日付 */
.case-card_meta {
	display: flex;
	align-items: center;
	gap: 15px;
	margin-bottom: 13px;
}

.case-card_tag {
	display: inline-block;
	padding: 8px;
	background: #284685;
	color: #fff;
	border-radius: 4px;
	font-size: 14px;
	font-weight: 800;
	line-height: 1;
}

.case-card_date {
	color: #484848;
	font-size: 16px;
	display: flex;
	align-items: center;
	gap: 4px;
}

/* タイトル */
.case-card_title {
	color: #284685;
	font-size: clamp(16px, 1.5vw, 18px);
	font-weight: 800;
	line-height: 1.7;
}

/* テキスト */
.case-card_txt {
	margin: 0;
	padding-bottom: 17px;
	font-size: clamp(18px, 1.5vw, 20px);
	font-weight: 700;
	line-height: 1.6;
}

/* 詳しく見る */
.case-card_link {
	display: inline-flex;
	gap: 16px;
	margin-top: 13px;
	font-weight: 800;
	align-items: center
}

.case-card_link_txt {
	border-bottom: 1px solid #284685;
	padding-bottom: 2px;
	color: #284685;
}

.case_link_img {
	width: 24px;
}

.wrap_inner_case {
	max-width: 1000px;
	margin: 0 auto;
}

/* ========================================
Header
======================================== */

.case-header {
	padding-bottom: 87px;
	margin-top: 98px;
}

.case-header_meta {
	display: flex;
	align-items: center;
	gap: 19px;
	margin-bottom: 15px;
	font-size: 12px;
}

.tag {
	display: inline-block;
	padding: 4px 8px;
	background: #284685;
	color: #fff;
	border-radius: 4px;
	font-size: 16px;
	font-weight: 800;
	line-height: 1.6;
}

.date {
	color: #484848;
	font-size: 18px;
	font-style: normal;
	font-weight: 400;
	display: flex;
	align-items: center;
}

.date_img {
	width: 19px;
	margin-right: 6px;
}

.case-header_title {
	color: #284685;
	font-size: 40px;
	line-height: 1.4;
}

.case-header_lead {
	margin: 17px 0 49px;
	color: #111;
	font-family: "Noto Sans JP";
	font-size: 28px;
	font-weight: 500;
	line-height: 1.6;
}

.case-info {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0;
}

.case-info_item {
	padding: 0 28px 0 16px;
	border-right: 1px solid #A6B9DF;
	margin-right: -8px;
}

.case-info_item:first-child {
	margin-right: 7px;
	padding: 0;
}

.case-info_item:last-child {
	margin-right: 7px;
	padding: 0 0 0 32px;
	border-right: none;
}

.case-info_label {
	display: block;
	margin-bottom: 4px;
	color: #284685;
	font-size: 18px;
	font-style: normal;
	font-weight: 800;
	line-height: 160%;
	/* 28.8px */
}

.case-info_text {
	color: #111;
	font-size: 18px;
	font-weight: 400;
	line-height: 1.4;
}

/* ========================================
3 Steps
======================================== */

.case-steps {
	display: grid;
	grid-template-columns: 1fr 41px 1fr 41px 1fr;
	margin-bottom: 96px;
}

.case-step {
	position: relative;
	background: #DCE3EE;
	border-radius: 18px;
}

.case-step_number {
	position: absolute;
	top: -25px;
	left: 48%;
	z-index: 2;
	transform: translateX(-50%);

	display: flex;
	align-items: center;
	justify-content: center;

	color: #284685;
	font-family: "Sulphur Point";
	font-size: 48px;
	font-style: normal;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 2px;
}

.case-step_inner {
	padding: 32px;
	height: 100%;
	display: flex;
	flex-direction: column;
}

.case-step1_heading {
	margin-bottom: 9px;
	padding: 13px 12px 11px;
	background: #284685;
	border-radius: 8px;
	color: #fff;
	text-align: center;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.2;
}

.case-step2_heading {
	margin-bottom: 23px;
	padding: 13px 12px 11px;
	background: #284685;
	border-radius: 8px;
	color: #fff;
	text-align: center;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.2;
}

.case-step3_heading {
	margin-bottom: 25px;
	padding: 13px 12px 11px;
	background: #284685;
	border-radius: 8px;
	color: #fff;
	text-align: center;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.2;
}

.case-step3_item {
	border-bottom: 1px solid #A6B9DF;
	padding-bottom: 15px;
}

.case-step3_item:last-child {
	border-bottom: none;
}

.case-step1_ttl {
	color: #284685;
	text-align: center;
	font-size: clamp(17px, 1.5vw, 20px);
	font-weight: 500;
	line-height: 1.4;
	margin-bottom: 24px;
}

.case-step2_ttl {
	color: #284685;
	text-align: center;
	font-size: clamp(17px, 1.5vw, 20px);
	font-weight: 500;
	line-height: 1.4;
	margin-bottom: 38px;
}

.case-step3_ttl {
	color: #284685;
	font-size: clamp(17px, 1.5vw, 20px);
	font-weight: 500;
	line-height: 1.4;
	margin-bottom: 9px;
}

.case-step3_item:last-child .case-step3_ttl {
	margin-top: 17px;
}


.case-step1_text {
	color: #111;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.6;
}

.case-step1_text_notion {
	padding-top: 23px;
}

.case-step2_text {
	color: #111;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.6;
}

.case-step3_text {
	color: #111;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.6;
}

.case-step2_text_notion {
	font-size: 14px;
	font-weight: 400;
	line-height: 1.6;
	margin-top: 13px;
}

.case-step1_tags {
	display: flex;
	gap: 9px;
	margin-top: 26px;
}

.case-step2_tags {
	display: flex;
	gap: 9px;
	margin-top: auto;
}

.case-step_tags_item {
	padding: 4px 8px;
	background: #fff;
	border-radius: 3px;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.6;
}

.case-step_arrow {
	position: relative;
}

.case-step_arrow::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 0;
	height: 0;
	border-top: 10px solid transparent;
	border-bottom: 10px solid transparent;
	border-left: 15px solid #284685;
	transform: translate(-50%, -50%);
}

.case-step1_ttl sup {
	font-size: 0.7em;
	vertical-align: super;
}

/* ========================================
Section
======================================== */

.case-section {
	margin-bottom: 80px;
}

.case-section:nth-of-type(5) {
	margin-bottom: 96px;
}



.section-title {
	margin: 0 0 32px;
	font-size: 32px;
	font-weight: 500;
	line-height: 1.6;
	border-left: 4px solid #284685;
	padding-left: 24px;
}

.section-text {
	margin: 0 0 48px;
	font-size: 16px;
	line-height: 1.8;
}




/* ========================================
Note
======================================== */

.note-box {
	margin-top: 64px;
	padding: 13px 24px;

	background: #dce7f3;
	border-radius: 15px;
}

.note-box_ttl {
	font-size: 20px;
	font-weight: 500;
	line-height: 1.6;
}

.note-box_text {
	margin-top: 23px;
	font-size: 16px;
	line-height: 1.8;
}


/* ========================================
Process
======================================== */

.process {
	position: relative;
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 0;
	padding: 81px 6px 25px;
	background: #DCE3EE;
	border-radius: 24px;
	margin-top: 47px;
}

.process_nagare {
	position: absolute;
	top: 33px;
	left: 32px;
}

.process_nagare_img {
	max-width: 936px;
	width: 100%;
}

.process_item {
	position: relative;
	padding: 0 25px;
	border-left: 1px solid #ABB7CC;

	display: flex;
	flex-direction: column;
}

.process_nagare+.process_item {
	border-left: none;
}

.process_image {
	margin-top: auto;
}

.process_ttl {
	font-size: clamp(18px, 1.5vw, 20px);
	font-style: normal;
	font-weight: 500;
	line-height: 1.4;
	margin-bottom: 21px;
}

.process_text {
	font-size: 16px;
	font-weight: 400;
	line-height: 160%;
}


/* ========================================
Download
======================================== */

.download-box {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: 50px;
	min-height: 190px;
	padding: 49px 15px 48px 41px;
	background: #fff;
	border-radius: 24px;
	justify-items: center;
}

.download-image {
	max-width: 348px;
}




/* ========================================
Back link
======================================== */

.back-link {
	display: flex;
	align-items: center;
	gap: 12px;
	width: fit-content;
	margin: 61px auto 0;
	color: #284685;
	font-size: 18px;
	font-weight: 800;
}

.back-link_icon {
	width: 28px;
	height: 28px;
}

.case_btn_download_img {
	border-left: 1px solid #B7C8DD;
	height: 100%;
	padding: 0 30px 0 28px;
	align-content: center;
	z-index: 1;
}

.case_btn_download {
	display: inline-flex;
	justify-content: space-between;
	align-items: center;
	border-radius: 12px;
	background: #284685;
	width: 100%;
	max-width: 335px;
	min-width: 250px;
	height: 80px;
}

.case_btn_download_txt {
	color: #fff;
	text-align: center;
	padding: 0 10px 0 32px;
	font-size: clamp(15px, 1.5vw, 18px);
	font-weight: 700;
}

.back-link_text {
	border-bottom: 1px solid #284685;
	padding-bottom: 3px;
}

.main-image_text {
	font-size: 14px;
	font-weight: 400;
	line-height: 1.6;
	margin-top: 12px;
}

.process_ttl_sub {
	color: #284685;
	font-size: 18px;
	font-weight: 500;
	line-height: 1.4;
	margin-bottom: 7px;
}

@media screen and (max-width: 768px) {
	.case {
		padding: 67px 0 41px 0;
	}

	.case-header {
		margin-top: 26px;
	}

	.case_grid {
		grid-template-columns: repeat(1, 1fr);
		margin: 55px auto 0;
		gap: 15px;
	}

	.case_ttl {
		width: 38%;
	}

	.case_ttl_sub {
		font-size: 20px;
		top: -41px;
	}

	.case-card {
		padding: 21px 20px 32px;
	}

	.case-card_meta {
		gap: 43px;
	}

	.case-card_date {
		font-size: 14px;
	}

	.case-card_link {
		margin-top: 0;
		font-size: 14px;
		gap: 12px;
	}

	.case-card_link_txt {
		padding-bottom: 0;
	}

	.case_link_img {
		width: 20px;
	}

	.case-card_txt {
		padding-bottom: 16px;
		line-height: 1.8;
	}

	.tag {
		font-size: 14px;
		padding: 2px 8px;
	}

	.date {
		font-size: 14px;
	}

	.date_img {
		width: 15px;
	}

	.case-header_title {
		font-size: 28px;
	}

	.case-header_lead {
		font-size: 20px;
	}

	.case-info {
		grid-template-columns: repeat(1, 1fr);
		gap: 23px;
	}

	.case-info_label {
		font-size: 16px;
		margin-bottom: 2px;
	}

	.case-info_item {
		padding: 0;
		border-right: none;
		margin-right: 0;
		padding-bottom: 16px;
		border-bottom: 1px solid #A6B9DF;
	}

	.case-info_text {
		font-size: 16px;
		margin-bottom: 2px;
	}

	.case-info_item:first-child {
		margin-right: 0;
		padding-bottom: 18px;
	}

	.case-info_item:last-child {
		margin-right: 0;
		padding: 0;
		border-bottom: none;
	}

	.case-steps {
		grid-template-columns: none;
		gap: 33px;
		margin-bottom: 78px;
	}

	.case-step_number {
		left: 50%;
	}

	.case-step_inner {
		padding: 20px 20px 32px 20px;
	}

	.case-step1_ttl,
	.case-step2_ttl {
		font-size: 20px;
		margin-bottom: 19px;
	}

	.case-step3_ttl {
		font-size: 20px;
		margin-bottom: 7px;
		text-align: center;
	}

	.case-step1_heading,
	.case-step2_heading {
		margin-bottom: 13px;
	}

	.case-step1_text,
	.case-step2_text,
	.case-step3_text {
		font-size: 14px;
	}

	.case-step1_tags,
	.case-step2_tags {
		margin-top: 18px;
	}

	.case-step {
		border-radius: 24px;
	}

	.case-step_arrow::after {
		content: "";
		position: absolute;
		top: 50%;
		left: 50%;
		width: 0;
		height: 0;
		border-left: 10px solid transparent;
		border-right: 10px solid transparent;
		border-top: 15px solid #284685;
		transform: translate(-50%, -50%);
	}

	.case-step_arrow {
		margin-bottom: 16px;
	}

	.case-step2_text_notion {
		font-size: 12px;
		margin-top: 5px;
	}

	.case-step3_heading {
		margin-bottom: 23px;
	}

	.case-step3_item:last-child {
		padding-bottom: 0;
	}

	.section-title {
		font-size: 24px;
		margin: 0 0 18px;
	}

	.section-text {
		font-size: 14px;
		line-height: 1.6;
		margin: 0 0 38px;
	}

	.note-box_ttl {
		font-size: 18px;
	}

	.note-box {
		margin-top: 49px;
		padding: 8px 24px;
	}

	.note-box_text {
		margin-top: 15px;
		font-size: 14px;
		line-height: 1.6;
	}

	.case-section {
		margin-bottom: 63px;
	}

	.process {
		grid-template-columns: repeat(1, 1fr);
		padding: 21px 20px 7px 57px;
		margin-top: 0;
		gap: 24px;
	}

	.process_text {
		font-size: 14px;
	}

	.process_ttl {
		font-size: 18px;
		margin-bottom: 12px;
	}

	.process_item {
		border-left: none;
		padding: 0 0 23px 0;
		border-bottom: 1px solid #ABB7CC;
	}

	.process_image {
		margin-top: 18px;
	}

	.process_item:last-child {
		border-bottom: none;
	}

	.case-section:nth-of-type(4) {
		margin-bottom: 87px;
	}

	.case-section:nth-of-type(5) {
		margin-bottom: 79px;
	}

	.download-box {
		grid-template-columns: 1fr;
		gap: 24px;
		padding: 32px 20px;
	}

	.download-image {
		order: -1;
		max-width: 100%;
	}

	.case_btn_download_txt {
		padding: 0 0 0 50px;
		font-size: 16px;
	}

	.back-link {
		font-size: 16px;
		margin: 45px auto 0;
	}

	.back-link_icon {
		width: 24px;
		height: 24px;
	}

	.process_nagare {
		top: 23px;
		bottom: 0;
		left: 20px;
		height: 100%;
	}

	.process_nagare_img {
		height: 98%;
		width: auto;
		max-width: none;
		object-fit: fill;
	}
}