@import url('https://fonts.googleapis.com/css2?family=M+PLUS+1p&display=swap');
@import url('https://fonts.googleapis.com/css2?family=M+PLUS+1p:wght@400;500;800&display=swap');
body{
    font-family: 'M PLUS 1p', sans-serif;
    background-color: #d4ecef;
    font-size: 16px;
    line-height: 1.6em;
}
section{
    width: 1250px;
    max-width: 100%;
    margin: auto;
}

/* 検索フォーム全体 */
#searchForm {
    background: #f4f9ff;
    border: 1px solid #c9ddf5;
    padding: 20px;
    border-radius: 6px;
    margin-bottom: 25px;
    font-size: 15px;
}

/* 各ブロック */
#searchForm .form-block {
    margin-bottom: 18px;
}

/* ラベル */
#searchForm .form-block > label {
    display: block;
    font-weight: bold;
    margin-bottom: 6px;
    color: #0a4c8a;
}

/* チェックボックスグループ */
#searchForm .checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
}

#searchForm .checkbox-group label {
    display: flex;
    align-items: center;
    font-size: 14px;
    cursor: pointer;
    color: #333;
}

#searchForm input[type="checkbox"] {
    margin-right: 4px;
}

/* テキスト入力 */
#searchForm input[type="text"],
#searchForm input[type="number"] {
    width: 300px;
    padding: 6px 8px;
    border: 1px solid #a8c4e5;
    border-radius: 4px;
    font-size: 14px;
}

/* 月額料金の範囲 */
.fee-range {
    display: flex;
    align-items: center;
    gap: 6px;
}

.fee-range input[type="number"] {
    width: 150px;
}

/* 検索ボタン */
#searchForm button[type="submit"] {
    background: #1976d2;
    color: #fff;
    padding: 10px 26px;
    font-size: 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
#searchForm button[type="submit"]:hover {
    background: #145ca7;
}

#searchForm #clear {
    background: #777;
    color: #fff;
    padding: 10px 26px;
    font-size: 15px;
    margin-left: 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
#searchForm #clear:hover {
    background: #aaa;
}

/* 検索結果 */
#searchResults {
    margin-top: 30px;
}
.result-count p {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
}
.result-card {
    background: #e9f3ff;
    border: 1px solid #b9d4ff;
    padding: 20px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    border-radius: 6px;
}
.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.result-header .facility-name {
    font-size: 20px;
    font-weight: bold;
    margin: 0;
}
.result-header .facility-type {
    font-size: 14px;
    color: #333;
}
.result-body {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
}
.result-left {
    width: 60%;
}
.address {
    font-size: 14px;
    margin-bottom: 8px;
}
.comment-short {
    font-size: 13px;
    color: #444;
}
.result-right {
    width: 35%;
    text-align: right;
}
.fee-block {
    margin-bottom: 10px;
}
.fee-row {
    display: flex;
    justify-content: flex-end;
    font-size: 14px;
    margin-bottom: 4px;
}
.fee-label {
    margin-right: 8px;
    font-weight: bold;
}
.detail-button a {
    display: inline-block;
    background: #1976d2;
    color: #fff;
    padding: 6px 14px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
}
.detail-button a:hover {
    background: #0f5aa6;
}

.result-image{
    width: 160px;
    height: 120px;
    background: #f4f4f4;
    border: 1px solid #ddd;
    margin-right: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.result-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.result-image .no-img{
    color: #888;
    font-size: 12px;
}


/* detail */


.detail-wrapper{
    max-width:1000px;
    margin:30px auto;
    background:#fff;
    padding:25px 30px;
    border-radius:8px;
    box-shadow:0 4px 12px rgba(0,0,0,0.08);
}

.facility-title{
    font-size:26px;
    margin-bottom:20px;
}

/* ---- スライダー ---- */
.slider-main{
    width:100%;
    height:320px;
    background:#f1f1f1;
    border:1px solid #ddd;
    display:flex;
    justify-content:center;
    align-items:center;
    overflow:hidden;
    border-radius:6px;
}

.slider-main img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.slider-thumbs{
    margin-top:10px;
    display:flex;
    gap:10px;
}

.slider-thumbs img{
    width:100px;
    height:70px;
    object-fit:cover;
    border:2px solid #ddd;
    border-radius:4px;
    cursor:pointer;
    opacity:0.7;
}

.slider-thumbs img.active{
    border-color:#0066cc;
    opacity:1;
}

/* ---- 施設情報 ---- */
.info-block{
    margin-top:25px;
    padding:15px 20px;
    background:#f7f9fa;
    border-radius:6px;
}

.info-row{
    margin-bottom:10px;
}
.info-label{
    font-weight:bold;
    display:inline-block;
    width:120px;
}

.comment-area, .remark-area{
    margin-top:25px;
}
.comment-area p,
.remark-area p{
    white-space:pre-line;
}

.fee-box{
    margin-top:15px;
}
.fee-label{
    font-weight:bold;
}
.fee-value{
    margin-left:10px;
}

/* ---- 条件 ---- */
.conditions-block{
    margin-top:25px;
}
.cond-list{
    display:flex;
    flex-wrap:wrap;
    gap:8px 20px;
    margin-top:10px;
}
.cond-item{
    padding:4px 10px;
    background:#eef2f5;
    border-radius:4px;
    font-size:13px;
}