@charset "UTF-8";

/* ---- */

#hd_k+section .heading.block_header_2,
a[id^="hd_s"]+section .heading.block_header_2,
#c2+div .heading.block_header_4 {
	writing-mode: vertical-rl;
	margin-bottom: 0;
}

#hd_k+section .heading.block_header_2 p,
a[id^="hd_s"]+section .heading.block_header_2 p,
#c2+div .heading.block_header_4 p {
	padding-top: 50px;
}

@media screen and (min-width: 501px) {

	#hd_k+section .inner_item_txt p,
	a[id^="hd_s"]+section .inner_item_txt p,
	#c2+div .inner_item_txt>p {
		writing-mode: vertical-rl;
		margin-bottom: 0;
	}

	a[id^="hd_s"]+section .inner_item_txt p,
	#c2+div .inner_item_txt>p {
		padding-top: 80px;
		line-height: 2.5;
	}
}

/* ---- */

a[id^="hd"]+section .heading.block_header_2 .h {
	padding-left: 0;
	font-size: 3.4rem !important;
	line-height: 1.4;
	font-weight: 500;
	color: var(--i_main_color);
}

a[id^="hd"]+section .heading.block_header_2 p {
	padding-left: 0;
	font-size: 1.7rem !important;
}

a[id^="hd"]+section .heading.block_header_2 .h:before,
a[id^="hd"]+section .heading.block_header_2 .h:after {
	display: none;
}

@media screen and (max-width: 800px) {
	a[id^="hd"]+section .heading.block_header_2 .h {
		font-size: 2.5rem !important;
	}

	a[id^="hd"]+section .heading.block_header_2 p {
		font-size: 1.5rem !important;
	}
}

/* ---- */

#hd_k+section .inner_item_img {
	margin-bottom: 0;
	margin-left: 0;
	max-width: 600px !important;
}

#hd_k+section .inner_item_txt {
	display: flex;
	flex-direction: row-reverse;
	justify-content: center;
	gap: 50px;
	margin-top: -100px;
	z-index: 8;
	position: relative;
}

@media screen and (min-width: 901px) {
	#hd_k+section .inner_item_txt>p {
		line-height: 3;
	}
}

@media screen and (max-width: 900px) {
	#hd_k+section .inner_item_txt {
		flex-direction: column;
		align-items: center;
	}
}

/* ---- */

a[id^="hd_s"]+section .wrapper_item {
	gap: 20px;
}

a[id^="hd_s"]+section .inner_item_txt {
	display: grid;
	justify-content: center;
	gap: 20px 15%;
	flex-basis: auto !important;
	max-width: none !important;
}

a[id^="hd_s"]+section .heading.block_header_2 {
	grid-area: 1 / 2 / 2 / 3;
}

a[id^="hd_s"]+section .contents_btn01 {
	grid-area: 2 / 1 / 3 / 3;
	text-align: center !important;
}

@media screen and (max-width: 500px) {
	a[id^="hd_s"]+section .inner_item_txt {
		display: block;
	}

	a[id^="hd_s"]+section .heading.block_header_2 {
		margin: 0 auto 50px;
	}
}

/* ---- */

#hd_s3+section .wrapper_item {
	gap: 20px 60px;
}

/* ---- */

#c2+div .heading.block_header_4 {
	width: auto;
}

#c2+div .heading.block_header_4 .h {
	font-size: 3.4rem !important;
	line-height: 1.4;
	font-weight: 500;
	color: var(--i_main_color);
}

#c2+div .heading.block_header_4 p {
	font-size: 1.7rem !important;
}

@media screen and (max-width: 800px) {
	#c2+div .heading.block_header_4 .h {
		font-size: 2.5rem !important;
	}

	#c2+div .heading.block_header_4 p {
		font-size: 1.5rem !important;
	}
}

#c2+div .inner_item_txt {
	margin-block: -20px 30px;
}

#c2+div .inner_item>a {
	max-width: 360px;
	margin-inline: auto;
}

#c2+div .inner_item_img img {
	height: auto !important;
}

@media screen and (min-width: 781px) {
	#c2+div .inner_item:first-of-type {
		margin-top: 80px;
	}
}

@media screen and (min-width: 501px) {
	#c2+div .inner_item_txt {
		display: flex;
		flex-direction: row-reverse;
		justify-content: center;
		gap: 20px 30px;
	}
}

@media screen and (max-width: 768px) {
	#c2+div .inner_item:first-of-type {
		margin-bottom: 60px !important;
	}
}

@media screen and (max-width: 500px) {
	#c2+div .heading.block_header_4 {
		margin: 0 auto 50px;
	}
}