@charset "UTF-8";

*:focus {
	outline: none;
	/* safari フォーカス枠無し */
}

html {
	font-size: 10px;
}

body {
	font-size: 1.6rem;
	font-weight: 400;
	line-height: 1.75;
	color: #333;
	letter-spacing: 0.05rem;
	font-family: 'Noto Sans JP', "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック体", "YuGothic", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", "Meiryo", "verdana", sans-serif;
	background-image: url('../images/bg-main-pc.svg');
	background-size: 100%;
	background-position: top;
	background-repeat: repeat-y;
}

@media (max-width: 767px) {
	body {
		background-image: url('../images/bg-main-sp.svg');
	}
}

/* header設定 */
.header {
	position: sticky;
	top: 0;
	left: 0;
	width: 100%;
	background: #fff;
	z-index: 1000;
	display: flex;
	justify-content: space-between;
	align-items: center;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.head-logo-btn {
	width: 264px;
	padding: 21px 0 21px 24px;
}

@media (max-width: 767px) {
	.head-logo-btn {
		width: 192px;
		padding: 21px 0 21px 16px;
	}
}

.head-logo-btn h1 img {
	width: 100%;
}

/* ナビゲーションメニュー設定 */
.menu-buttons {
	display: flex;
}

.search-btn::before,
.menu-btn::before {
	content: "";
	display: block;
	width: 1px;
	height: 54px;
	background-color: #e6e6e6;
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
}

.search-btn,
.menu-btn {
	position: relative;
}

.menu-btn {
	background: none;
	border: none;
	cursor: pointer;
	z-index: 1001;
}

.menu-btn img {
	width: 72px;
	height: 48px;
}

#menu-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.6);
	z-index: 999;
	display: none;
	overflow-y: auto;
}

.menu-panel {
	position: fixed;
	top: 72px;
	left: 0;
	width: 100%;
	max-height: calc(100vh - 72px);
	background: #fff;
	z-index: 1000;
	display: none;
	overflow-y: auto;
}

.menu-content {
	display: flex;
	justify-content: space-between;
	max-width: 100%;
	flex-wrap: wrap;
}

.menu-panel {
	width: 100%;
	background: #fff;
}

.menu-content {
	max-width: 960px;
	margin: 0 auto;
	padding: 5%;
}

.flex-icon-menu {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}

.flex-icon-menu li {
	width: calc(50% - 8px);
	margin: 0;
}

.flex-icon-menu a {
	display: flex;
	align-items: center;
	padding: 3%;
	border: 2px solid #4d6a5a;
	border-radius: 8px;
	text-decoration: none;
	background-color: #f6f8f6;
	transition: background 0.2s ease;
}

.flex-icon-menu .icon {
	display: block;
	width: 32px;
	height: 32px;
	margin-right: 3%;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	flex-shrink: 0;
}

.flex-icon-menu p {
	margin: 0;
	font-size: 1.6rem;
	line-height: 1.25;
	color: #333;
}

.icon-home {
	background-image: url("../images/btn-icon-home.svg");
}

.icon-form {
	background-image: url("../images/btn-icon-form.svg");
}

.icon-life {
	background-image: url("../images/category-icon-life.svg");
}

.icon-library {
	background-image: url("../images/category-icon-library.svg");
}

.icon-education {
	background-image: url("../images/category-icon-education.svg");
}

.icon-health {
	background-image: url("../images/category-icon-health.svg");
}

.icon-business {
	background-image: url("../images/category-icon-business.svg");
}

.icon-facility {
	background-image: url("../images/category-icon-facility.svg");
}

.icon-bus {
	background-image: url("../images/category-icon-bus.svg");
}

@media (max-width: 767px) {
	.menu-panel {
		top: 64px;
		max-height: calc(100vh - 64px);
	}

	.menu-content {
		padding: 5% 5% 20% 5%;
	}

	.flex-icon-menu li {
		width: 100%;
	}
}

/* footer設定 */
footer {
	position: relative;
	width: 100%;
	background-color: #4d6a5a;
	padding: 48px 2%;
}

.footer-contents {
	max-width: 960px;
	margin: auto;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: left;
	text-align: left;
}

.footer-contents .footer-icon {
	width: 200px;
	height: auto;
	margin-right: 48px;
}

.footer-contents p {
	color: #fff;
	font-size: 1.6rem;
}

.footer-contents .copyright {
	margin-left: auto;
	text-align: right;
	font-size: 1.3rem;
}

.footer-txt-bold {
	font-weight: 700;
	font-size: 1.8rem;
}

@media (max-width: 767px) {
	footer {
		padding: 8% 5%;
	}

	.footer-contents {
		flex-direction: column;
		text-align: center;
	}

	.footer-contents .footer-icon {
		margin-right: 0;
		margin-bottom: 8px;
	}

	.footer-contents .copyright {
		margin-left: 0;
		margin-top: 16px;
		text-align: center;
	}
}

/* パンくずリスト設定 */
.breadcrumb {
	font-size: 1.4rem;
	color: #333;
	margin-bottom: 2%;
}

.breadcrumb ul {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	margin: 0;
	padding: 0;
}

.breadcrumb li {
	display: flex;
	align-items: center;
}

.breadcrumb li+li::before {
	content: "＞";
	margin: 0 0.6rem;
	color: #333;
}

.breadcrumb a {
	color: #333;
	font-weight: 700;
	text-decoration: underline;
}

@media (max-width: 767px) {
	.breadcrumb {
		margin-bottom: 5%;
	}
}

/* スクロールトップボタン設定 */
.scroll-top-btn {
	position: fixed;
	bottom: 3%;
	right: 5%;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background-color: #d9473f;
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 10;
	cursor: pointer;
	transition: filter 0.3s ease;
	display: none;
}

.scroll-top-btn:hover {
	filter: brightness(1.2);
}

.scroll-top-btn img {
	width: 48px;
	height: 48px;
}

/* テキスト設定 */
.sub-title {
	font-size: 2.4rem;
	font-weight: 700;
	text-align: center;
}

.main-txt {
	text-align: center;
	font-size: 1.6rem;
}

.subpage-title {
	font-size: 2.8rem;
	font-weight: 700;
	text-align: center;
	line-height: 1.5;
	margin-top: 4px;
}

@media (max-width: 767px) {
	.sub-title {
		font-size: 2.0rem;
	}

	.main-txt {
		text-align: justify;
	}

	.subpage-title {
		font-size: 2.4rem;
	}
}

/* ロゴ設定 */
.main-logo-bg-top {
	padding: 32px 0;
	background-color: #f7f2eb;
}

.main-logo-bg {
	padding: 16px 0 32px 0;
	background-color: #f7f2eb;
}

.main-logo {
	display: block;
	margin: auto;
	width: 440px;
}

.main-logo-bg img {
	width: 100%;
}

@media (max-width: 767px) {
	.main-logo-bg-top {
		padding: 6% 0;
	}

	.main-logo-bg {
		padding: 3% 0 6% 0;
	}

	.main-logo {
		width: 80%;
	}
}

/* うべスマとは */
.about-box {
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #fff;
	border-radius: 8px;
	padding: 16px 8px;
	margin: 48px auto 0;
}

.about-title {
	font-weight: 700;
	font-size: 2.0rem;
}

.about-title-red {
	color: #d9473f;
}

.about-title-small {
	font-size: 1.8rem;
}

.about-divider {
	display: inline-block;
	width: 2px;
	height: 32px;
	background-color: #333;
	margin: 0 10px;
}

.about-divider-img {
	display: none;
}

.about-text {
	font-size: 1.5rem;
}

@media (max-width: 1024px) {
	.about-box {
		flex-direction: column;
		padding: 5%;
		margin: 32px auto 0;
	}

	.about-divider {
		display: none;
	}

	.about-divider-img {
		display: block;
		width: 30%;
		margin: 0 auto 1%;
	}
}

@media (max-width: 767px) {
	.about-divider-img {
		width: 60%;
		margin: 0 auto 3%;
	}
}

/* コンテンツ枠設定 */
.main-section-wrap {
	max-width: 960px;
	margin: auto;
	padding: 0 2%;
}

.about-wrap {
	max-width: 1024px;
	margin: auto;
	padding: 0 2%;
}


.wide-half-wrap {
	width: 48%;
	margin: 0 auto;
}

.myprocedure-bg {
	padding: 32px 0 64px 0;
	background-color: #f7f2eb;
}

.subpage-title-icon {
	width: 5%;
	margin: 0 auto;
}

@media (max-width: 767px) {
	.main-section-wrap {
		max-width: 90%;
		padding: 0;
	}

	.about-wrap {
		max-width: 90%;
		padding: 0;
	}

	.wide-half-wrap {
		width: 100%;
		margin: 0 auto;
	}

	.subpage-title-icon {
		width: 15%;
		margin: 0 auto;
	}
}

/* button-01設定 */
.button-01 {
	width: 100%;
	margin-bottom: 24px;
	display: flex;
	flex-direction: column;
	text-decoration: none;
	font-size: 1.5rem;
	color: #fff;
	border: 3px solid #107a5f;
	border-radius: 8px;
	background-color: #107a5f;
	text-align: center;
	transition: filter 0.3s ease;
}

.button-01 p {
	margin: 0px;
	padding: 0.6rem 0 0.4rem;
	border-radius: 5px 5px 0 0;
}

.button-01 p:last-child::after {
	content: "＞";
	margin-left: 0.8rem;
	font-size: 1.0rem;
}

.button-01 .btn-txt {
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: 1.8rem;
	padding: 1.6rem;
	color: #333;
	font-weight: 700;
	background-color: #fff;
	text-align: left;
	flex-grow: 1;
}

.button-01 .btn-txt img {
	width: 20%;
	height: auto;
	margin-left: 2.4rem;
}

.button-01:hover {
	text-decoration: none;
	color: #fff;
	filter: brightness(1.2);
}

.flex-fix-btn {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: stretch;
}

.flex-fix-btn li {
	width: 48%;
	display: flex;
	flex-direction: column;
}

.flex-fix-btn li a {
	flex: 1;
}

@media (max-width: 767px) {
	.button-01 {
		margin-bottom: 16px;
		font-size: 1.3rem;
	}

	.button-01 .btn-txt {
		font-size: 1.6rem;
	}

	.button-01 .btn-txt img {
		width: 24%;
	}

	.flex-fix-btn li {
		width: 100%;
	}
}

/* button-02設定 */
.button-02 {
	display: block;
	width: 300px;
	background-color: #d9473f;
	border-radius: 50vh;
	margin: 56px auto 0;
	padding: 16px 0;
	font-size: 1.6rem;
	color: #fff;
	text-align: center;
	text-decoration: none;
	transition: filter 0.3s ease;
}

.button-02:hover {
	color: #fff;
	text-decoration: none;
	filter: brightness(1.2);
}

/* button-bnr設定 */
.button-bnr {
	display: block;
	transition: filter 0.3s ease;
}

.button-bnr img {
	width: 100%;
	border: 3px solid #107a5f;
	border-radius: 8px;
}

.button-bnr:hover {
	filter: brightness(1.2);
}

/* カテゴリボタン設定 */
.button-list {
	display: flex;
	flex-wrap: wrap;
	justify-content: start;
	gap: 3.3%;
	list-style: none;
}

.button-list li {
	width: 22.5%;
	margin-bottom: 24px;
}

.icon-button {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-decoration: none;
	transition: filter 0.3s ease;
}

.icon-container {
	width: 100%;
	border: 2px solid #4d6a5a;
	border-radius: 8px;
	background-color: #f6f8f6;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 5%;
}

.icon-container img {
	max-width: 50%;
	height: auto;
}

.icon-button p {
	margin-top: 4px;
	text-align: center;
	font-size: 1.8rem;
	font-weight: 700;
	line-height: 1.25;
	color: #333;
}

.icon-button:hover {
	text-decoration: none;
	filter: brightness(1.2);
}

@media (max-width: 767px) {
	.button-list {
		gap: 5%;
	}

	.button-list li {
		width: 30%;
		margin-bottom: 16px;
	}

	.icon-container img {
		max-width: 90%;
		height: auto;
	}

	.icon-button p {
		margin-top: 2px;
		font-size: 1.5rem;
		letter-spacing: -0.1rem;
	}
}

/* ブックマークボタン設定 */
.button-bookmark {
	display: block;
	width: 280px;
	background-color: #f7f2eb;
	border: 2px solid #d1c9c7;
	border-radius: 50vh;
	margin: 0 auto 10%;
	padding: 4px 0;
	font-size: 1.3rem;
	font-weight: 700;
	color: #333;
	text-align: center;
	text-decoration: none;
	transition: filter 0.3s ease;
}

.button-bookmark:hover {
	color: #333;
	text-decoration: none;
	filter: brightness(1.02);
}

/* チェックボックス設定 */
.checkbox-list {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	list-style: none;
}

.checkbox-list li {
	flex: 0 0 calc((100% - 48px) / 3);
	display: flex;
	align-items: center;
}

.checkbox-list label {
	display: flex;
	align-items: center;
	gap: 16px;
	font-size: 1.6rem;
	cursor: pointer;
}

.checkbox-list input[type="checkbox"] {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	width: 24px;
	height: 24px;
	background-color: #fff;
	border: 2px solid #4d6a5a;
	border-radius: 4px;
	flex-shrink: 0;
	position: relative;
	cursor: pointer;
}

.checkbox-list input[type="checkbox"]:checked::after {
	content: "✓";
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: #4d6a5a;
	font-size: 1.6rem;
	line-height: 1;
}

.checkbox-list label a {
	text-decoration: underline;
	color: #333;
}

@media (max-width: 767px) {
	.checkbox-list li {
		flex: 0 0 100%;
	}
}

/* 検索フォーム */
.search-form {
	display: flex;
	align-items: center;
	gap: 8px;
	width: 100%;
	max-width: 600px;
	margin: 0 auto;
}

.search-form input[type="text"] {
	flex: 1;
	padding: 12px;
	font-size: 1.6rem;
	border: 1px solid #4d6a5a;
	border-radius: 8px;
}

.search-form button {
	padding: 12px 20px;
	font-size: 1.6rem;
	background-color: #4d6a5a;
	color: #fff;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	transition: background 0.2s ease;
	transition: filter 0.3s ease;
}

.search-form button:hover {
	filter: brightness(1.2);
}

@media (max-width: 767px) {
	.search-form {
		flex-direction: column;
		align-items: stretch;
	}

	.search-form button {
		width: 100%;
	}
}