@charset "UTF-8";

/* =========================================================
   店舗一覧（shop-container）
   index.html L1085〜 の .shop-container 内で使用

   ■ ブロック構成
   - shop-container        一覧全体を囲むラッパー
   - shop-heading-title     見出しの共通タイトル（h2）
       - shop-section-heading  クリニック一覧／サロン一覧の見出し（両脇に横線）
       - shop-area-heading     東日本／西日本の見出し（青いバー）
   - shop-pref / -summary / -body  都道府県アコーディオン
   - shop-pref-grid         都道府県の2カラムグリッド
   - shop-city-heading      市区町村の見出し（東京都の分割用）
   - shop-list / shop-list-item    店舗カードの一覧（ul / li）
   - shop-card / shop-card-*       店舗カード本体
   - shop-btn                予約などのボタン
   ========================================================= */

/* 一覧を囲むブロック */
.shop-container {
    width: 100%;
    max-width: 1024px;
    margin: 0 auto;
}

/* =========================================================
   店舗カード
   ========================================================= */

/* 一覧全体 */
.shop-list {
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0;
    list-style: none;
}

/* 各カードの枠（li）：一列で表示 */
.shop-list-item {
    width: calc(50% - 4px);
    list-style: none;
    display: flex;
}

/* カード本体 */
.shop-card {
    width: 100%;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    padding: 16px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    text-align: left;
}

/* タイトル */
.shop-card-title {
    position: relative;
    margin: 0;
    padding: 4px 0;
    font-size: 14px;
    line-height: 1.4;
    font-weight: bold;
}

/* 駐車場ありバッジ */
.shop-card-title.is-parking::after {
    content: '駐車場あり';
    display: inline-block;
    margin-left: 8px;
    padding: 2px 4px;
    color: #01674b;
    border: 1px solid #01674b;
    font-size: 0.6em;
    font-weight: normal;
    vertical-align: middle;
}

/* 区切り線 */
.shop-card-divider {
    height: 1px;
    background: #000;
    margin: 8px 0;
}

/* カード内部 */
.shop-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* テキスト領域を伸ばして予約ボタンを下端へ押し下げる */
.shop-card-main {
    flex: 1;
}

/* 住所・アクセス情報 */
.shop-card-info {
    flex: 1;
    font-size: 0.85em;
    line-height: 1.6;
    margin-bottom: 16px;
}

.shop-card-info p {
    margin: 0;
}

/* 最寄り駅からのアクセス（オレンジ・太字） */
.shop-card-info .shop-card-access {
    margin: 0 0 4px;
    font-weight: bold;
    color: #FF6C00;
}

/* ボタン群（予約する）：高さが違ってもカード下部に揃える */
.shop-card-actions {
    display: flex;
    gap: 8px;
    margin-top: auto;
}

.shop-card-actions .shop-btn {
    flex: 1;
}

/* ボタン共通 */
.shop-btn {
    margin: 0 auto;
    color: #ffffff;
    font-size: 1em;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 320px;
    height: 44px;
    padding: 2px 0 0 0;
    text-align: center;
    font-weight: bold;
    text-decoration: none;
    background: #494949;
    background: linear-gradient(to bottom, #494949 0%, #333 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#494949', endColorstr='#333333', GradientType=0);
    border-bottom: 3px solid #000000;
    border-radius: 4px;
    box-sizing: border-box;
    transition: .1s;
}

/* マウスホバー時の動き */
.shop-btn:hover {
    border-bottom-width: 0;
    background: linear-gradient(to bottom, #555 0%, #444 100%);
}

/* 予約ボタン（オレンジ） */
.shop-btn.is-reserve {
    background: #ff9532;
    background: linear-gradient(to bottom, #ff9532 0%, #f28130 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff9532', endColorstr='#f28130', GradientType=0);
    border-bottom: 3px solid #D64406;
}

.shop-btn.is-reserve:hover {
    border-bottom-width: 0;
    background: linear-gradient(to bottom, #ffa64d 0%, #ff9532 100%);
}

/* =========================================================
   見出し
   ========================================================= */

/* 見出しの共通タイトル（h2） */
.shop-heading-title {
    position: relative;
    display: inline-block;
    margin: 0;
    padding: 0 30px;
    font-size: 18px;
    font-weight: bold;
    line-height: 1.2;
    box-sizing: border-box;
}

.shop-heading-title > span {
    display: block;
    margin: 8px 0 0;
    font-size: 0.3em;
    font-weight: normal;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

@media screen and (max-width: 767px) {
    .shop-heading-title {
        font-size: 1.2em;
        padding: 0 16px;
    }
}

/* クリニック一覧／メディカルサロン一覧：タイトル両脇に横線 */
.shop-section-heading {
    text-align: center;
}

.shop-section-heading .shop-heading-title {
    padding: 0 56px;
}

.shop-section-heading .shop-heading-title::before,
.shop-section-heading .shop-heading-title::after {
    content: "";
    position: absolute;
    top: 0.55em;
    width: 40px;
    height: 2px;
    background: #333;
}

.shop-section-heading .shop-heading-title::before {
    left: 0;
}

.shop-section-heading .shop-heading-title::after {
    right: 0;
}

/* 英語サブタイトル（淡いグレー） */
.shop-section-heading .shop-heading-title > span {
    color: #888;
    font-size: 0.4em;
    letter-spacing: 0.08em;
}

/* 東日本／西日本：青いバー */
.shop-area-heading {
    text-align: center;
}

.shop-area-heading .shop-heading-title {
    display: block;
    width: 100%;
    padding: 16px;
    background: #315060;
    color: #ffffff;
    font-size: 20px;
    font-weight: bold;
    line-height: 1.3;
    box-sizing: border-box;
}

.shop-area-heading .shop-heading-title > span {
    display: block;
    margin: 2px 0 0;
    font-size: 0.38em;
    font-weight: normal;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 0.85;
}

@media screen and (max-width: 767px) {
    .shop-area-heading .shop-heading-title {
        padding: 12px;
        font-size: 1.3em;
    }
}

/* =========================================================
   都道府県アコーディオン
   ========================================================= */

/* 都道府県グリッド（2カラム） */
.shop-pref-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

/* 開いている都道府県は全幅で表示 */
.shop-pref-grid .shop-pref[open] {
    grid-column: 1 / -1;
}

/* アコーディオン本体 */
.shop-pref {
    margin: 0;
}

/* 都道府県名のボタン（ダークなピル） */
.shop-pref-summary {
    position: relative;
    display: block;
    padding: 18px 36px;
    background: #0abab5;
    color: #ffffff;
    font-size: 1.05em;
    font-weight: bold;
    text-align: center;
    border-radius: 16px;
    cursor: pointer;
    list-style: none;
    user-select: none;
    -webkit-user-select: none;
    transition: opacity .15s ease;
}

.shop-pref-summary:hover {
    opacity: .6;
}

/* デフォルトの三角マーカーを消す */
.shop-pref-summary::-webkit-details-marker {
    display: none;
}

/* 開閉アイコン（＋／−） */
.shop-pref-summary::after {
    content: '+';
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
    font-size: 1.4em;
    font-weight: bold;
    line-height: 1;
}

.shop-pref[open] > .shop-pref-summary::after {
    content: '−';
}

/* アコーディオン展開部 */
.shop-pref-body {
    margin: 24px 0 16px;
}

/* 開いたときに一覧をフェードイン＋スライドダウン */
.shop-pref[open] > .shop-pref-body {
    animation: shop-pref-open .3s ease;
}

@keyframes shop-pref-open {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.shop-pref-body .shop-list {
    margin-bottom: 0;
}

/* アコーディオン内（サロン・東京都）のカードは二列で表示 */
.shop-pref-body .shop-list-item {
    width: calc(50% - 4px);
}

/* =========================================================
   東京都（店舗数が多いため市区町村で分割）
   ========================================================= */

/* 市区町村の見出し */
.shop-city-heading {
    margin: 32px 0 16px;
    padding: 8px 14px;
    font-size: 1.15em;
    font-weight: bold;
    line-height: 1.3;
    border-left: 5px solid #0abab5;
    background: #fff;
    text-align: left;
}
