/* ============================================================
   promise.css — 当店からのお約束ページ
   カラーパレット: staff.css / service-price.css と統一
   ============================================================ */

:root {
    --sp-color-primary: #d4a88c;
    --sp-color-primary-light: #e8cbb8;
    --sp-color-primary-pale: #fcf9f7;
    --sp-color-card-bg: #ffffff;
    --sp-color-heading-bg: #f6eee6;
    --sp-color-text: #333333;
    --sp-color-border: #e8cbb8;
    --sp-color-table-header: #d4a88c;
}

/* ============================================================
   ページ全体の背景色（staff.cssと同じパターン）
   ============================================================ */
body {
    background-color: #fcf9f7;
}

body.page-promise,
body.page-promise #content {
    background-color: #fcf9f7 !important;
}

.l-promise {
    background-color: #fcf9f7;
}

/* ============================================================
   ページヘッダー
   ============================================================ */
.promise-header {
    text-align: center;
    padding: 40px 0 0;
}

.promise-header__img {
    width: 60%;
    height: auto;
}

/* ============================================================
   PROMISE セクション（白背景の帯）
   ============================================================ */
.promise-section {
    background-color: #fcf9f7 !important;
    padding: 50px 0 60px;
}

.promise-section__inner {
    max-width: 1100px;
    margin: 0 auto;
/*     padding: 0 20px; */
}

.promise-section__heading {
    text-align: center;
    color: var(--sp-color-text);
    margin-bottom: 40px;
}

/* ============================================================
   POINT カードグリッド（2列）
   ============================================================ */
.promise-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.promise-card {
    background: var(--sp-color-card-bg);
    border-radius: 12px;
    padding: 30px 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    text-align: center;
}

/* POINT ラベル */
.promise-card__label {
    display: inline-block;
    border: 2px solid var(--sp-color-primary);
    border-radius: 4px;
    padding: 4px 16px;
    margin-bottom: 12px;
    line-height: 1;
}

.promise-card__label-text {
    color: var(--sp-color-primary);
    font-weight: 700;
    letter-spacing: 0.05em;
}

.promise-card__label-num {
    color: var(--sp-color-primary);
    font-weight: 700;
    margin-left: 4px;
}

/* 見出し */
.promise-card__heading {
    color: var(--sp-color-text);
    font-weight: 700;
    line-height: 1.6;
    margin-bottom: 16px;
}

/* 画像 */
.promise-card__img {
    margin-bottom: 16px;
    border-radius: 8px;
    overflow: hidden;
}

.promise-card__img img {
    width: 100%;
    height: auto;
    display: block;
}

/* 説明文 */
.promise-card__desc {
    text-align: left;
    color: var(--sp-color-text);
    line-height: 1.8;
}

.promise-card__desc p {
    margin-bottom: 0.8em;
}

.promise-card__desc p:last-child {
    margin-bottom: 0;
}

/* ============================================================
   共通バナー（サービス案内 / ご利用の流れ）画像版
   ============================================================ */
.sp-banners {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.sp-banners__link {
    display: block;
    width: 50%;
    max-width: 600px;
    transition: opacity 0.3s ease;
}

.sp-banners__link:hover {
    opacity: 0.8;
}

.sp-banners__img {
    width: 100%;
    height: auto;
    display: block;
}

/* ============================================================
   お世話の記録セクション
   ============================================================ */
.report-section {
    padding: 60px 0;
}

.report-section__inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 40px 50px;
    background: var(--sp-color-card-bg);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.report-section__heading {
    text-align: center;
    color: var(--sp-color-text);
    background-color: #f6eee6;
    margin: 0 auto 30px;
    padding: 14px 40px;
    border-radius: 999px;
    width: 90%;
    max-width: 500px;
    box-sizing: border-box;
}

/* 記録カードグリッド（3列） */
.report-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.report-card {
    text-decoration: none;
    color: var(--sp-color-text);
    display: block;
    transition: opacity 0.3s ease;
}

.report-card:hover {
    opacity: 0.8;
}

.report-card__img {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 8px;
    background: #e0e0e0;
}

.report-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.report-card__no-img {
    width: 100%;
    height: 100%;
    background: #ccc;
}

.report-card__title {
    line-height: 1.5;
}

/* もっと見るリンク */
.report-section__more {
    text-align: center;
}

.report-section__more-link {
    display: inline-block;
    color: var(--sp-color-primary);
    text-decoration: none;
    border-bottom: 1px solid var(--sp-color-primary);
    padding-bottom: 2px;
    transition: opacity 0.3s ease;
}

.report-section__more-link:hover {
    opacity: 0.7;
}

/* ============================================================
   スマホ対応（768px以下）
   ============================================================ */
@media (max-width: 768px) {

    /* ヘッダー画像 */
    .promise-header__img {
        width: 100%;
    }

    /* POINT カード 1列 */
    .promise-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .promise-card {
        padding: 24px 20px;
    }

    /* バナー幅（スマホ: 100%） */
    .sp-banners__link {
        width: 100%;
    }

    /* 記録カード 2列 */
    .report-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .report-section__inner {
        margin: 0 20px;
        padding: 30px 20px 40px;
    }

    .promise-section {
        padding: 24px 0 40px;
    }

    .promise-section__heading {
        margin-bottom: 24px;
    }
}

/* 480px以下 */
@media (max-width: 480px) {
    .promise-header {
        padding: 20px 0 0;
    }

    .promise-card {
        padding: 20px 16px;
        border-radius: 8px;
    }
}