@charset "UTF-8";

/*--------------------
 * 町野築炉工業所の仕事
 * --------------------*/
/* ページタイトル */
@media (min-width: 600px) {
	#top_title_area .c-pageTitle > span::before{
		background-image: url(/wp-content/uploads/2026/04/work-title_pc.png);
	}
}
@media not all and (min-width: 600px) {
	#top_title_area .c-pageTitle > span::before{
		background-image: url(/wp-content/uploads/2026/04/work-title_sp.png);
	}	
}


.label-title{
    /* margin-bottom: 1.25em !important; */
}
.label-title small{
    position: absolute;
    top: 0.7rem;
}
.label-title::after{
    position: relative;
    top: 0.75em;
    transform: translateY(50%);
}

.line-column ul li::marker{
    color: var(--color_main);
}

@media not all and (min-width: 960px) {
	.first-container{
		margin-bottom: 0 !important;
	}
	.first-container .wp-block-media-text__media{
		padding: 1rem 1rem 0;
	}
	
	.label-title{
		padding-top: 1rem;
	}
	
	.line-column h3.sp-center{
        font-size: 20px;
        margin-bottom: 0.5rem;
	}
	
	.line-column .label-text,
	.line-column .wp-block-list{
		margin-left: 0.5rem;
		margin-right: 0.5rem;
	}
	
	.line-column.flow .wp-block-columns{
		--wp-column-gap: 0.5em;	
	}
	
}


/*--------------------
 * 施工実績スライダー
 * --------------------*/
.construction-slider:not(:has(.swiper-pagination-lock)){
	padding-bottom: 3rem;
	--swiper-nav-size: clamp(30px, 5vw, 40px);
}
.construction-slider .slider-option:has(.swiper-pagination-lock){
	display: none;
}

.construction-slider .p-postList{
    flex-wrap: nowrap;
	margin: 0;
}

/* カーソル */
.construction-slider .p-postList:has(> :nth-child(4)) .p-postList__item{
	cursor: grab;
}
.construction-slider .p-postList:has(> :nth-child(4)) .p-postList__item:active{
	cursor: grabbing;
}

/* スライドのデザイン */
.construction-slider .p-postList .p-postList__item{
	background: #fff;
	border: 2px solid var(--color_main);
	box-shadow: 5px 5px 15px #00000033;
	margin: 0;
}

.construction-slider .p-postList .p-postList__body{
	padding: 1em;
	opacity: 1 !important;
}
.construction-slider .p-postList .p-postList__title{
	font-size: clamp(15px, 2vw, 20px);
    color: var(--color_main);
    margin-bottom: 1rem;
}
.construction-slider .construction-column{
    display: flex;
	align-items: center;
    gap: 1.5rem;
    margin-bottom: 0.5rem;
	font-size: clamp(12px, 2vw, 1rem);
}
.construction-slider .construction-column .construction-label{
    background: var(--color_main);
    color: #fff;
    padding: 0.15rem 1rem;
}

/* ページネーション・ボタン */
.construction-slider .slider-option{
    position: absolute;
	bottom: 0;
    width: 100%;
	transform: translateY(50%);
    height: 1.5rem;
	display: flex;
    justify-content: center;
}

.construction-slider .slider-option .swiper-pagination,
.construction-slider .slider-option .swiper-button-prev,
.construction-slider .slider-option .swiper-button-next{
	position: relative;
}

.construction-slider .slider-option .swiper-pagination{
	width: fit-content;
	margin: 0 1rem;
	bottom: 0;
}


.construction-slider .swiper-pagination-bullet {
	--swiper-pagination-bullet-horizontal-gap: 0;
    background: none;
    width: 1.75rem;
    font-size: 16px;
    opacity: 1;
    transition: all .2s linear;
	font-size: clamp(12px, 2vw, 1rem);
}
.construction-slider .swiper-pagination-bullet-active {
	font-weight: bold;
	color: var(--color_main);
	transform: scale(1.5) translateY(-50%);
}

.construction-slider .slider-option .swiper-button-prev.swiper-button-disabled,
.construction-slider .slider-option .swiper-button-next.swiper-button-disabled{
	pointer-events: none;
	opacity: 0.35;
}

.construction-slider .slider-option .swiper-button-prev,
.construction-slider .slider-option .swiper-button-next{
	height: var(--swiper-nav-size); 
	background: var(--color_main);
    border-radius: 50%;
}
.construction-slider .slider-option .swiper-button-prev::after,
.construction-slider .slider-option .swiper-button-next::after{
    width: calc(var(--swiper-nav-size) * 0.95);
    height: calc(var(--swiper-nav-size) * 0.95);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--icon_allow-white);
    border: none;
}
.construction-slider .slider-option .swiper-button-prev::after{
    transform: translate(-50%, -50%) rotate(180deg);	
}

.construction-slider .slider-option .swiper-button-prev:hover::after,
.construction-slider .slider-option .swiper-button-next:hover::after{
	background: var(--icon_allow-blue);	
}

/* 子要素の数によるサイズ変更 */
@media (min-width: 1280px) {
	.construction-slider .p-postList:has(> :nth-child(1):last-child) .p-postList__item,
	.construction-slider .p-postList:has(> :nth-child(2):last-child) .p-postList__item{
		width: auto !important;
		max-width: 50%;
		flex-grow: 1;
	}
}
