﻿@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&display=swap');

.oswald {
	font-family: "Oswald", sans-serif;
}

.jc_c {
	justify-content: center;
}
.jc_sb {
	justify-content: space-between;
}
.ai_c {
	align-items: center;
}
.ai_fe {
	align-items: flex-end;
}

#local_governments section {
	padding-bottom: 100px;
}

#flow .section-ttl .ttl {
	font-size: 20px;
}
#flow .section-ttl .sub {
		margin-bottom: 5px;
}
#flow .section-ttl .sub img {
	width: auto;
	height: 36px;
}

@media screen and (max-width: 800px) {
	#flow .section-ttl .ttl {
		font-size: 16px;
	}
	#flow .section-ttl .sub {
		margin-bottom: 3px;
	}
	#flow .section-ttl .sub img {
		width: auto;
		height: 22px;
	}
}

#flow {
	background-color: #f5fbf9;
}
#flow section {
	padding: 100px 20px;
}


/*
#flow .cont {
	width: 100%;
	max-width: 1340px;
	margin: 50px auto 0;
	overflow-x: auto;
}


#flow .scroll-wrap {
    width: 100%;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: #328655 #e0e0e0;
}

#flow .scroll-wrap::-webkit-scrollbar {
    height: 8px;
}
#flow .scroll-wrap::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}
#flow .scroll-wrap::-webkit-scrollbar-thumb {
    background: #328655;
    border-radius: 3px;
}

#flow .cont .cont_in {
	width: 3700px;
	padding-top: 20px;
	padding-bottom: 50px;
}
#flow .box {
	width: 310px;
	height: 350px;
	background-color: #ffffff;
	padding: 60px 20px 20px;
	position: relative;
}
#flow .box .step {
	width: 170px;
	background-color: #328655;
	border-radius: 27px;
	text-align: center;
	padding: 10px 0;
	position: absolute;
	left: 0;
	right: 0;
	top: -20px;
	margin: auto;
}
#flow .box .step img {
	height: 16px;
}
#flow .box .icon {
	width: 200px;
	height: 200px;
	background-color: #f7f8f8;
	border-radius: 100px;
	margin: 0 auto;
}
#flow .box .txt {
	width: 100%;
	font-size: 18px;
	font-weight: 700;
	margin-top: 15px;
}


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

}

@media screen and (max-width: 768px) {
	#flow section {
		padding-top: 60px;
		padding-bottom: 60px;
	}

	#flow .cont .cont_in {
		width: 3200px;
		padding-bottom: 30px;
	}

	#flow .box {
		width: 280px;
		height: 280px;
	}
	#flow .box .step {
		width: 140px;
	}
	#flow .box .step img {
		height: 14px;
	}
	#flow .box .icon {
		width: 160px;
		height: 160px;
		padding: 15px;
	}
	#flow .box .txt {
		font-size: 16px;
	}
}
*/

#flow .cont {
    width: 100%;
    max-width: 1340px;
    margin: 50px auto 0;
}

#flow .scroll-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; /* iOSでのスムーズスクロール */
    scroll-snap-type: x mandatory; /* スクロール時に綺麗にスナップさせたい場合 */
    scrollbar-width: thin;
    scrollbar-color: #328655 #e0e0e0;
}

#flow .scroll-wrap::-webkit-scrollbar {
    height: 8px;
}
#flow .scroll-wrap::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}
#flow .scroll-wrap::-webkit-scrollbar-thumb {
    background: #328655;
    border-radius: 3px;
}

#flow .cont .cont_in {
    display: flex;
    flex-wrap: nowrap;
    gap: 30px; /* ボックス同士の間隔（必要に応じて調整） */
    width: max-content; /* 中身の幅に合わせる */
    padding-top: 20px;
    padding-bottom: 50px;
    padding-left: 10px;
    padding-right: 10px;
}

#flow .box {
    flex: 0 0 310px; /* 幅を固定して縮まないようにする */
    width: 310px;
    height: 350px;
    background-color: #ffffff;
    padding: 60px 20px 20px;
    position: relative;
    scroll-snap-align: start; /* スナップ位置の指定 */
    box-shadow: 0 4px 10px rgba(0,0,0,0.05); /* 見た目を整える影など（任意） */
}

#flow .box .step {
	width: 170px;
	background-color: #328655;
	border-radius: 27px;
	text-align: center;
	padding: 10px 0;
	position: absolute;
	left: 0;
	right: 0;
	top: -20px;
	margin: auto;
}
#flow .box .step img {
	height: 16px;
}
#flow .box .icon {
	width: 200px;
	height: 200px;
	background-color: #f7f8f8;
	border-radius: 100px;
	margin: 0 auto;
}
#flow .box .txt {
	width: 100%;
	font-size: 18px;
	font-weight: 700;
	margin-top: 15px;
}

@media screen and (max-width: 768px) {
    #flow .cont .cont_in {
        width: max-content;
        gap: 20px;
        padding-bottom: 30px;
    }
    #flow .box {
        flex: 0 0 280px;
        width: 280px;
        height: 280px;
    }

	#flow .box .step {
		width: 140px;
	}
	#flow .box .step img {
		height: 14px;
	}
	#flow .box .icon {
		width: 160px;
		height: 160px;
		padding: 15px;
	}
	#flow .box .txt {
		font-size: 16px;
	}
}











