@charset "utf-8";
/* CSS Document */ 

section.page_title_wrap {
	margin-bottom: 0;
    padding: 28px 0 60px;
}
section.page_title_wrap .tit_inner h2.page_title::before {
    z-index: 2;
}
section.page_title_wrap::after{
	display: none;
}

.catchTxts{
	grid-column: 1 / 3;
	background-color: #fffbee;
	padding-top: 30px;
	padding-bottom: 35px;
}
.catchTxts > p{
	text-align: center;
	letter-spacing: 0.05em;
}

:root {
    --primary-color: #008080;
    --primary-light: #e0f2f1;
    --accent-orange: #f39c12;
    --text-main: #333333;
    --text-muted: #666666;
    --border-color: #e0e0e0;
    --card-bg: #ffffff;
}

.main-container {
    overflow: hidden;
    position: relative;
	font-size: 100%;
	
	display: grid;
	grid-template-columns: 20% 80%;
}

/* サイドバー（フィルタリング） */
.sidebar {
	height: 100vh;
    background-color: var(--card-bg);
    padding: 20px;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.05);
    overflow-y: scroll;
    z-index: 500;
}
.filter-group {
    margin-bottom: 25px;
}
.filter-title {
    font-weight: bold;
    display: block;
    margin-bottom: 10px;
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-light);
    padding-bottom: 5px;
}
.filter-labels {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.checkbox-container {
    display: flex;
    align-items: center;
    cursor: pointer;
    /*font-size: 0.95rem;*/
    user-select: none;
}
.checkbox-container input {
    margin-right: 10px;
    cursor: pointer;
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
}
/* 施設リスト */
.facility-list {
    margin-top: 20px;
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
}
.facility-count {
    /*font-size: 0.9rem;*/
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--text-muted);
}
.facility-item {
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.2s;
}
.facility-item:hover {
    border-color: var(--primary-color);
    background-color: var(--primary-light);
    transform: translateY(-2px);
}
.facility-item-name {
    font-weight: bold;
    font-size: 100%;
    color: var(--primary-color);
    margin-bottom: 5px;
}
.facility-item-cat {
	width: fit-content;
	min-height: 25px;
    padding: 2px 10px;
    font-size: 81.25%;/*13*/
	font-weight: 400;
	line-height: 100%;
    display: flex;
	justify-content: center;
	align-items: center;
    border-radius: 15px;
    color: white;
    margin-bottom: 5px;
}
.facility-item-info {
    font-size: 81.25%;/*13*/
	font-weight: 400;
}

/* マップエリア */
#map {
	min-height: 100vh;
    height: 100%;
    z-index: 100;
}
/* ポップアップのカスタマイズ */
.leaflet-popup-content-wrapper {
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}
.leaflet-popup-content{
	font-size: 16px !important;
}
.custom-popup {
    min-width: 220px;
}
.popup-title {
    font-weight: bold;
    font-size: 100%;
    color: var(--primary-color);
    margin: 0 0 5px 0;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
}
.popup-cat {
    font-size: 87.50%;/*14*/
    display: inline-block;
    padding: 2px 8px;
    border-radius: 10px;
    color: white;
    margin-bottom: 10px;
}
.popup-info {
    font-size: 93.8%;/*15*/
    margin: 5px 0;
    line-height: 1.4;
    color: var(--text-muted);
}
.popup-btn {
    display: block;
    width: 100%;
    text-align: center;
    background-color: var(--primary-color);
    color: white !important;
    padding: 8px 0;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 15px;
    transition: background 0.3s;
}
.popup-btn:hover {
    background-color: #006666;
}
.popup-route-btn {
    display: block;
    width: 100%;
	font-size: 87.50%;/*14*/
    text-align: center;
    background-color: white;
    color: #4285F4 !important;
    /* Google Blue */
    border: 1px solid #4285F4;
    padding: 8px 0;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 8px;
    transition: background 0.3s;
}
.popup-route-btn:hover {
    background-color: #ebf2fe;
}

