/* =========================================================
    Component: Stay Card Style
    File: assets/css/3_components/stay-card.css
========================================================= */

/* --- 1. 宿カードコンテナ --- */
.wan-stay-grid {
    display: flex;
    flex-direction: column;
    gap: 16px; /* カード同士の間隔 */
    margin: 40px 0;
}

/* --- 2. 宿カード本体 --- */
.c-stayCard {
    background: #fff;
    border-radius: 20px;
    transition: transform 0.3s ease;
    border: 1px solid #eee; /* 薄いボーダー */
}

.c-stayCard__inner {
    height: 240px;
}

.c-stayCard__link {
    text-decoration: none !important;
    color: inherit !important;
    display: block;
    overflow: hidden;
    background: #fff;
    transition: box-shadow 0.3s ease;
    height: 100%; /* innerの高さに合わせる */
}

/* --- 3. 画像エリア --- */
.c-stayCard__img {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #f7f7f7;
    border-radius: 8px;
}

.c-stayCard__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.c-stayCard:hover .c-stayCard__img img {
    transform: scale(1.05);
}

/* --- 4. ボディ（テキスト情報） --- */
.c-stayCard__body {
    display: flex;
    flex-direction: column;
    padding: 24px;
}

.c-stayCard__name {
    font-size: 16px !important;
    font-weight: 800 !important;
    color: #111 !important;
    line-height: 1.4 !important;
    margin: 0;
}

/* 情報エリア（エリア・タイプ・星） */
.c-stayCard__info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 16px 0;
}

.c-stayCard__area {
    display: inline-flex;
	align-items: center;
    gap: 6px;
    color: var(--wan-orange);
    font-size: 11px;
}

.c-stayCard__areaIcon {
    width: 14px;
    height: 14px;
    background: url("https://wantrip.jp/wp-content/uploads/2026/03/icon-map-1.png") no-repeat center / contain;
}

/* タイプと星の横並び */
.c-stayCard__meta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.c-stayCard__type {
    color: #999;
    font-size: 11px;
}

.c-stayCard__rating {
    font-size: 11px;
    letter-spacing: 2px;
}

.c-stayCard__star { color: #ddd; }
.c-stayCard__star.-active { color: #f39800; }

.c-stayCard__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.c-stayCard__tagItem {
    background-color: #f5f5f5;
    padding: 4px 10px;
    font-size: 11px;
    border-radius: 4px;
}

.c-stayCard__priceZone {
    font-size: 13px;
    font-weight: 700;
    color: #333;
}

/* --- 5. CVボタン --- */
.c-stayCard__cvBtn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 14px;
    background-color: #f39800;
    color: #fff !important;
    font-size: 15px;
    font-weight: 800;
    border-radius: 50px;
    transition: 0.3s;
}

/* --- 6. PC版レイアウト (769px以上) --- */
@media screen and (min-width: 769px) {
    .c-stayCard__link {
        display: flex;
        align-items: stretch;
        padding: 0;
    }

    /* 画像：左側に固定 */
    .c-stayCard__img {
        flex: 0 0 340px;
        aspect-ratio: auto;
        margin-bottom: 0;
    }

    /* 情報：右側 */
    .c-stayCard__body {
        flex: 1;
    }

    /* 価格とボタンの 1:1 レイアウト */
    .c-stayCard__action {
        display: flex;
        align-items: flex-end;
        gap: 20px;
        margin-top: auto; /* 下部に固定 */
    }

    .c-stayCard__priceZone,
    .c-stayCard__cv {
        flex: 1; /* 比率を同じにする */
        margin-bottom: 0;
        padding: 0;
    }

    .c-stayCard__cvBtn {
        height: 40px;
        max-width: none;
    }
}

/* --- 7. スマホ・タブレットレイアウト (768px以下) --- */
@media screen and (max-width: 768px) {
    .c-stayCard__inner {
        height: auto;
    }

    .c-stayCard__body {
        padding: 16px;
    }

    .c-stayCard__action {
        display: flex;
        flex-direction: column;
        gap: 15px;
        margin-top: 15px;
        padding-top: 15px;
        border-top: 1px solid #eee;
    }

    .c-stayCard__priceZone {
        padding-top: 0;
        border-top: none;
    }

    .c-stayCard__cv {
        padding: 0;
    }
}
.c-stayCard__priceLabel{
	font-weight: 400;
	font-size: 10px;
}