@charset "utf-8";

/* ========================================================
	kyomachi-project.css
======================================================== */

/* kyomachi_project_contents
============================================================================================================ */

.kyomachi_project {
	margin-top: 170px;
	position: relative;
	overflow: hidden;
	z-index: 1;
}
.kyomachi_project::before {
	position: absolute;
	top: 640px;
	left: 50%;
	transform: translateX(-50%);
	content: "";
	width: 1920px;
	height: auto;
	aspect-ratio: 1920 / 730;
	background-image: url(/images/kyomachi/single_bg.png);
	background-repeat: no-repeat;
	background-size: contain;
	z-index: -1;
}
@media (min-width: 1921px) {
	.kyomachi_project::before {
		width: 100%;
	}
}
@media (max-width: 767px) {
	.kyomachi_project {
		margin-top: 100px;
		margin-bottom: -70px;
	}
	.kyomachi_project::before {
		top: 230px;
	}
}

.kyomachi_project_inner {
	margin-inline: auto;
	max-width: 950px;
	padding-inline: 20px;
}
@media (max-width: 767px) {
	.kyomachi_project_inner {
		padding-inline: min(calc(100vw / 375 * 20), 20px);
	}
}

.kyomachi_project_heading {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0 18px;
	border-bottom: 1px solid #66C3CF;
}
@media (max-width: 767px) {
	.kyomachi_project_heading {
		padding-bottom: 18px;
	}
}

.kyomachi_project_mainTitle {
	font-weight: bold;
	font-size: 38px;
	letter-spacing: 0.1em;
	color: #66C3CF;
}
@media (max-width: 767px) {
	.kyomachi_project_mainTitle {
		font-size: min(calc(100vw / 375 * 26), 26px);
	}
}

.kyomachi_project_subTitle {
	padding-top: 8px;
	font-weight: 500;
	font-size: 30px;
	line-height: 1.2;
	letter-spacing: 0.05em;
	color: #66C3CF;
	font-feature-settings: "palt";
}
@media (max-width: 767px) {
	.kyomachi_project_subTitle {
    padding-top: 3px;
    font-size: min(calc(100vw / 375 * 18), 18px);
    letter-spacing: 0.1em;
		font-feature-settings: unset;
	}
}

.kyomachi_project_thumbnail {
	margin-top: 30px;
}
@media (max-width: 767px) {
	.kyomachi_project_thumbnail {
		margin-top: 18px;
	}
}

.kyomachi_project_number {
	margin-top: 60px;
	display: flex;
	align-items: center;
	gap: 15px;
}
@media (max-width: 767px) {
	.kyomachi_project_number {
		margin-top: 30px;
		align-items: flex-start;
		gap: 8px;
	}
}

.kyomachi_project_label {
	font-weight: 700;
	font-size: 22px;
	letter-spacing: 0.1em;
	color: #fff;
	background-color: #66C3CF;
	display: inline-block;
	padding: 1px 14px;
}
@media (max-width: 767px) {
	.kyomachi_project_label {
		font-size: 14px;
    padding: 1px 10px;
    line-height: 1.6;
	}
}

.kyomachi_project_title {
	font-weight: 700;
	font-size: 31px;
	line-height: 1.4;
	padding-bottom: 3px;
}
@media (max-width: 767px) {
	.kyomachi_project_title {
		font-size: min(calc(100vw / 375 * 24), 24px);
		line-height: 1;
		padding-bottom: 0;
	}
}


/* コンテンツ */

.kyomachi_project_content {
	margin-top: 40px;
}
@media (max-width: 767px) {
	.kyomachi_project_content {
		margin-top: 25px;
	}
}

.kyomachi_project_content > * {
	margin-bottom: 38px;
}

@media (max-width: 767px) {
	.kyomachi_project_content > figure {
		padding-inline: 5%;
	}
}

.kyomachi_project_content p {
	font-weight: 500;
	font-size: 18px;
	line-height: calc(32 / 18);
	letter-spacing: 0.06em;
	margin-bottom: 25px;
}
.kyomachi_project_content p:last-child {
	margin-bottom: 0;
}
@media (max-width: 767px) {
	.kyomachi_project_content p {
		font-size: 16px;
		line-height: 2;
		letter-spacing: 0.04em;
		margin-bottom: 28px;
	}
}

.kyomachi_project_content .member-list {
	gap: 35px;
}
.kyomachi_project_content .member-list:not(:first-child) {
	margin-top: 30px;
}
@media (max-width: 767px) {
	.kyomachi_project_content .member-list {
		flex-wrap:wrap;
		gap: 25px;
	}
	.kyomachi_project_content .member-item {
		width: calc((100% - 25px) / 2);
	}
	.kyomachi_project_content .member-list:not(:first-child) {
		margin-top: 25px;
	}
}

.kyomachi_project_content .member-item .position {
	margin-top: 12px;
	margin-bottom: 0;
	font-weight: 500;
	font-size: 16px;
	line-height: calc(26 / 16);
	letter-spacing: 0;
}
@media (max-width: 767px) {
	.kyomachi_project_content .member-item .position {
    margin-top: 10px;
    font-size: 14px;
    line-height: calc(20 / 14);
	}
}

.kyomachi_project_content .member-item .name {
	font-weight: 500;
	font-size: 20px;
	line-height: 1.4;
}
@media (max-width: 767px) {
	.kyomachi_project_content .member-item .name {
		font-size: min(calc(100vw / 375 * 18), 18px);
	}
}

.kyomachi_project_content .wp-block-columns .wp-block-column:first-child figure {
	padding-right: 9%;
}
.kyomachi_project_content .wp-block-columns .wp-block-column:last-child figure {
	padding-left: 9%;
}
@media (max-width: 781px) {
	.kyomachi_project_content .wp-block-columns .wp-block-column:first-child figure,
	.kyomachi_project_content .wp-block-columns .wp-block-column:last-child figure {
		padding-inline: 5%;
	}
}

.kyomachi_project_content .wp-block-buttons .wp-block-button__link {
	margin-top: 20px;
	border-radius: 0;
	width: 350px;
	padding-inline: 40px;
	font-size: 12px;
	color: #fff;
	text-decoration: none;
	position: relative;
	transition: opacity 0.3s;
}
.kyomachi_project_content .wp-block-buttons .wp-block-button__link::after {
	position: absolute;
	top: 50%;
	right: 22px;
	transform: translateY(-50%);
	content: "";
	width: 13px;
	height: 11px;
	background-image: url(../images/kyomachi/single_page.svg);
	background-repeat: no-repeat;
	background-size: contain;
}
.kyomachi_project_content .wp-block-buttons .wp-block-button__link:hover {
	opacity: 0.7;
}
@media (max-width: 767px) {
	.kyomachi_project_content .wp-block-buttons .wp-block-button__link {
		margin-top: 0;
		width: min(calc(100vw / 375 * 350), 350px);
	}
}

.kyomachi_project_navigation {
	margin-top: 57px;
	margin-inline: auto;
	max-width: 1206px;
	padding-inline: 20px;
}
@media (max-width: 767px) {
	.kyomachi_project_navigation {
		margin-top: 42px;
	}
}

.kyomachi_project_navigation_flex {
	border-top: 1px solid #66C3CF;
	padding-top: 25px;
	display: flex;
	justify-content: space-between;
}
@media (max-width: 767px) {
	.kyomachi_project_navigation_flex {
		padding-top: 16px;
	}
}

.kyomachi_project_prev a {
	font-weight: 700;
	font-size: 24px;
	color: #66C3CF;
	padding-top: 3px;
	padding-left: 57px;
	position: relative;
	text-decoration: none;
	transition: opacity 0.3s;
}
.kyomachi_project_prev a::before {
	position: absolute;
	top: 0;
	left: 0;
	content: "";
	width: 45px;
	height: 45px;
	background-image: url(/images/kyomachi/slider_arrow.svg);
	background-repeat: no-repeat;
	background-size: contain;
}
.kyomachi_project_next a {
	font-weight: 700;
	font-size: 24px;
	color: #66C3CF;
	padding-top: 3px;
	padding-right: 57px;
	position: relative;
	text-decoration: none;
	transition: opacity 0.3s;
}
.kyomachi_project_next a::after {
	position: absolute;
	top: 0;
	right: 0;
	content: "";
	width: 45px;
	height: 45px;
	transform: scaleX(-1);
	background-image: url(/images/kyomachi/slider_arrow.svg);
	background-repeat: no-repeat;
	background-size: contain;
}
.kyomachi_project_prev a:hover,
.kyomachi_project_next a:hover {
	opacity: 0.7;
}
@media (max-width: 767px) {
	.kyomachi_project_prev a {
		font-size: min(calc(100vw / 375 * 24), 24px);
		padding-left: min(calc(100vw / 375 * 60), 60px);
	}
	.kyomachi_project_next a {
		font-size: min(calc(100vw / 375 * 24), 24px);
		padding-right: min(calc(100vw / 375 * 60), 60px);
	}
	.kyomachi_project_prev a::before,
	.kyomachi_project_next a::after {
		width: min(calc(100vw / 375 * 45), 45px);
		height: min(calc(100vw / 375 * 45), 45px);
	}
}


/* スライダー */

.index_kyomachi_slider .slick-dots {
	width: calc(100% - 145px);
	display: flex;
	justify-content: center;
	align-items: center;
	margin-top: 48px;
	padding: 0;
	list-style: none;
	background-color: rgba(102, 195, 207, 0.3);
	position: relative;
	z-index: 2;
}

.index_kyomachi_slider .slick-dots li {
	flex: 1;
	height: 3px;
	margin: 0;
}

.index_kyomachi_slider .slick-dots li button {
	display: block;
	width: 100%;
	height: 100%;
	border: none;
	cursor: pointer;
	font-size: 0;
}

.index_kyomachi_slider .slick-dots li.slick-active button {
	background-color: #66c3cf;
}

.index_kyomachi_slider .slick-dots li.slick-active button:hover {
	opacity: 0.7;
}

.index_kyomachi_slide {
	margin-inline: 12px;
}
.index_kyomachi_slide:nth-child(2n) {
	margin-top: 32px;
}

a[href].index_kyomachi_card {
	display: block;
	padding-bottom: 7px;
	position: relative;
	text-decoration: none;
	transition: opacity 0.3s;
}
a[href].index_kyomachi_card:hover {
	opacity: 0.7;
}

a[href].index_kyomachi_card::after {
	position: absolute;
	bottom: 0;
	left: 0;
	content: "";
	width: 100%;
	height: auto;
	aspect-ratio: 279 / 4;
	background-image: url(/images/kyomachi/slider_line.svg);
	background-repeat: no-repeat;
	background-size: contain;
}

.index_kyomachi_card_image img {
	width: 100%;
	height: auto;
	aspect-ratio: 281 / 213;
	object-fit: cover;
	display: block;
}

.index_kyomachi_card_content {
	margin-top: 6px;
}

.index_kyomachi_card_label {
	font-weight: 500;
	font-size: 16px;
	line-height: calc(24 / 16);
	color: #fff;
	background-color: #000;
	display: inline-block;
	padding: 2px 13px;
}

.index_kyomachi_card_title {
	margin-top: 3px;
	font-weight: 500;
	font-size: 16px;
	line-height: calc(24 / 16);
}

.index_kyomachi_navigation {
	transform: translateY(-50%);
	display: flex;
	justify-content: flex-end;
	gap: 12px;
	padding-inline: 8px;
}

.index_kyomachi_nav_button {
	width: 45px;
	height: 45px;
	cursor: pointer;
	position: relative;
	transition: opacity 0.3s;
	display: flex;
	align-items: center;
	justify-content: center;
}

.index_kyomachi_nav_button:hover {
	opacity: 0.7;
}

.index_kyomachi_nav_button img {
	width: 100%;
}

.index_kyomachi_nav_button_next img {
	transform: scaleX(-1);
}

@media screen and (max-width: 767px) {

	.index_kyomachi_slider_wrapper {
    margin-top: 28px;
		margin-left: calc(50% - 50vw);
		width: 100vw;
	}

	.index_kyomachi_navigation {
		padding-inline: 32px;
		gap: 10px;
	}

	.index_kyomachi_slider .slick-dots {
		width: calc(100% - 195px);
    margin-left: 42px;
	}

}

/* PC版・SP版の切り替え */
.index_kyomachi_slider_sp {
	display: none;
}

@media screen and (min-width: 768px) {
	.index_kyomachi_slider_sp {
		display: none;
	}
	.index_kyomachi_slider_pc {
		display: block;
	}
}

@media screen and (max-width: 767px) {
	.index_kyomachi_slider_pc {
		display: none;
	}
	.index_kyomachi_slider_sp {
		display: block;
	}
}

.kyomachi_project_wrapper {
	margin-top: 50px;
	margin-inline: auto;
	max-width: 1220px;
}
@media (max-width: 767px) {
	.kyomachi_project_wrapper {
		margin-top: 70px;
	}
}

/* ナビゲーション表示制御 */
/* PC版で非表示（スライドが4枚以下の時） */
@media screen and (min-width: 768px) {
	.index_kyomachi_navigation.hide-on-pc {
		display: none !important;
	}
}

/* SP版で非表示（スライドが1枚以下の時） */
@media screen and (max-width: 767px) {
	.index_kyomachi_navigation.hide-on-sp {
		display: none !important;
	}
}