@charset "UTF-8";

/* ページ固有のスタイル */
#spot.salon {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}
.salon .header h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 24px;
}

/* =========================================
   検索フォームテーブル（高さズレ解消版）
   ========================================= */
.salon form table {
    display: table !important;       /* テーブルとして強制表示 */
    width: 100%;
    border-collapse: collapse;       /* 枠線を結合 */
    margin-bottom: 40px;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

/* 行（tr）の設定 */
.salon form tr {
    display: table-row !important;   /* 行として強制表示 */
    vertical-align: middle !important;
    border-bottom: 1px solid #ccc;
}

/* セル（th, td）の設定 */
.salon form th, .salon form td {
    display: table-cell !important;  /* セルとして強制表示（これで高さが揃います） */
    padding: 15px;
    border: 1px solid #ccc;          /* 全セルに枠線 */
    vertical-align: middle !important; /* 上下中央揃え */
    box-sizing: border-box;
    height: auto !important;         /* 高さを中身に合わせる */
}

/* 見出しセル（グレー背景） */
.salon form th {
    background-color: #f9f9f9 !important; /* 背景色 */
    width: 20%;
    text-align: left;
    font-weight: bold;
    writing-mode: horizontal-tb !important; /* 横書き強制 */
    white-space: nowrap; /* 折り返し禁止 */
}

/* 内容セル（白背景） */
.salon form td {
    background-color: #fff !important;
    width: 80%;
}

/* 入力フォーム類 */
.search_box input[type="text"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 16px;
}

.select_box select {
    padding: 10px;
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
}

/* =========================================
   チェックボックス（表示強制版）
   ========================================= */
.check {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

.chek_box {
    display: flex;
    align-items: center;
    cursor: pointer;
    margin: 0;
    padding: 0;
}

/* 既存スタイルを打ち消して標準チェックボックスを表示 */
.chek_box input[type="checkbox"] {
    -webkit-appearance: checkbox !important;
    appearance: auto !important;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: static !important;
    width: 20px !important;
    height: 20px !important;
    margin-right: 8px !important;
    cursor: pointer;
    border: 1px solid #999 !important;
    background: #fff !important;
    box-shadow: none !important;
}

/* =========================================
   リスト表示部分
   ========================================= */
.salon ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.salon ul li {
    border-bottom: 1px solid #e0e0e0;
    padding: 30px 0;
}
.list_box {
    display: flex;
    gap: 30px;
}
.list_box .img {
    width: 280px;
    flex-shrink: 0;
}
.list_box .img img {
    width: 100%;
    height: auto;
    object-fit: cover;
}
.list_box .text_box {
    flex: 1;
}
.list_box h3 {
    font-size: 20px;
    margin: 0 0 10px;
    color: #333;
    border-bottom: 2px solid #f2f2f2;
    padding-bottom: 10px;
}
.adress {
    font-size: 14px;
    margin-bottom: 10px;
}
.tel {
    font-weight: bold;
    margin-bottom: 15px;
}
.feature-tags span {
    display: inline-block;
    background: #f0f0f0;
    padding: 4px 8px;
    font-size: 12px;
    margin-right: 5px;
    margin-bottom: 5px;
    border-radius: 3px;
}
.text {
    font-size: 14px;
    line-height: 1.6;
    margin: 15px 0;
}
.coupon-box {
    background: #fff0f0;
    border: 1px dashed #ff9999;
    padding: 10px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}
.coupon-label {
    background: #ff6666;
    color: #fff;
    padding: 3px 8px;
    font-size: 12px;
    margin-right: 10px;
}
.coupon-text {
    font-size: 14px;
}
.link_box {
    display: inline-block;
    background: #333;
    color: #fff;
    padding: 10px 30px;
    text-decoration: none;
    font-size: 14px;
    transition: opacity 0.3s;
}
.link_box:hover {
    opacity: 0.8;
}
.no-result-message {
    text-align: center;
    padding: 50px;
    background: #f9f9f9;
    color: #666;
}

/* =========================================
   スマホ対応 (768px以下)
   ========================================= */
@media (max-width: 768px) {
    /* リスト表示の縦並び */
    .list_box {
        flex-direction: column;
    }
    .list_box .img {
        width: 100%;
        margin-bottom: 15px;
    }

    /* テーブルをブロック崩しにする設定 */
    .salon form table,
    .salon form tbody,
    .salon form tr,
    .salon form th,
    .salon form td {
        display: block !important; /* スマホでは縦積みに戻す */
        width: 100% !important;
    }

    .salon form tr {
        margin-bottom: 15px;
        border: 1px solid #ccc;
    }

    .salon form th {
        width: 100%;
        background: #eee !important;
        border-bottom: 1px solid #ccc;
    }

    .salon form td {
        width: 100%;
        border-bottom: none;
    }

    .check {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* =========================================
   スポンサー枠用のスタイル
   ========================================= */

/* スポンサーラベル */
.sponsor-label {
    display: inline-block;
    background-color: #d4af37; /* ゴールドっぽい色 */
    color: #fff;
    font-size: 11px;
    padding: 2px 8px;
    margin-bottom: 5px;
    border-radius: 2px;
    letter-spacing: 0.05em;
    vertical-align: middle;
}

/* スポンサー店舗の背景色を少しリッチにする（任意） */
.list_box.is-sponsored {
    background-color: #fffbf0; /* 薄いゴールド/黄色系の背景 */
    border: 1px solid #e0d0a0;
    position: relative;
    padding: 15px; /* 少し内側の余白を作る */
}
/* =========================================
   注釈エリアのスタイル
   ========================================= */
.salon-notes {
    background-color: #fcfcfc;
    border: 1px solid #eee;
    padding: 15px 20px;
    margin-bottom: 40px; /* 下の美容室一覧との余白 */
    border-radius: 4px;
}
.salon-notes ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
.salon-notes ul li {
    font-size: 13px !important;
    color: #666;
    line-height: 1.6;
    margin-bottom: 8px !important;
    padding: 0 0 0 1em !important; /* 左に・の分のスペースを空ける */
    border-bottom: none !important; /* 一覧用の線を消す */
    position: relative;
}
.salon-notes ul li:last-child {
    margin-bottom: 0 !important;
}
/* 文頭の「・」をCSSで自動付与（テキストの折り返しを綺麗にするため） */
.salon-notes ul li::before {
    content: "・";
    position: absolute;
    left: 0;
    top: 0;
}

/* スマホ対応の微調整 */
@media (max-width: 768px) {
    .salon-notes {
        padding: 15px;
        margin-bottom: 30px;
    }
    .salon-notes ul li {
        font-size: 12px !important;
    }
}