/* =============================================
   ペットシッターとは ページ専用CSS
   ============================================= */

/* ── ページヘッダー画像 ── */
.page-about-petsitter .ainos-page-header {
    text-align: center;
}

.page-about-petsitter .ainos-page-header__img {
    width: 50%;
}

/* ── メイン画像 ── */
.ainos-about__hero {
    text-align: center;
    padding: 40px 0;
}

.ainos-about__hero-img {
    max-width: 700px;
    width: 90%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

/* ── カプセル帯見出し（共通） ── */
.ainos-capsule-heading {
    background-color: #f6eee6 !important;
    color: #333333 !important;
    text-align: center !important;
    padding: 12px 40px !important;
    border-radius: 999px;
    width: 90%;
    max-width: 600px;
    margin: 48px auto 32px !important;
    font-weight: bold;
    border: none !important;
}

.ainos-capsule-heading::before,
.ainos-capsule-heading::after {
    display: none !important;
}

/* ── サービス紹介テキスト ── */
.ainos-about__service-text {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    line-height: 2;
    text-align: left;
}

.ainos-about__service-text p {
    margin-bottom: 1.5em;
}

/* ── スタッフ丸アイコン ── */
.ainos-about__staff-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    max-width: 600px;
    margin: 0 auto;
    padding: 0 20px;
}

.ainos-about__staff-item {
    display: block;
    width: 150px;
    text-decoration: none;
}

.ainos-about__staff-img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    transition: opacity 0.3s ease;
}

.ainos-about__staff-item:hover .ainos-about__staff-img {
    opacity: 0.8;
}

/* ── バナーエリア ── */
.page-about-petsitter .sp-banners {
    text-align: center;
    padding: 80px 0;
}

.page-about-petsitter .sp-banners__link {
    display: inline-block;
    width: 50%;
    max-width: 400px;
    margin-bottom: 20px;
}

.page-about-petsitter .sp-banners__img {
    width: 100%;
    height: auto;
}

/* ── モバイル対応 ── */
@media screen and (max-width: 599px) {

    .page-about-petsitter .ainos-page-header__img {
        width: 100%;
    }

    .ainos-about__hero {
        padding: 24px 0;
    }

    .ainos-about__hero-img {
        width: 100%;
        border-radius: 0;
    }

    .ainos-capsule-heading {
        width: 100%;
        border-radius: 0;
        margin: 32px auto 24px;
    }

    .ainos-about__staff-grid {
        max-width: 300px;
        gap: 16px;
    }

    .ainos-about__staff-img {
        width: 120px;
        height: 120px;
    }

    .ainos-about__staff-item {
        width: 120px;
    }

    .page-about-petsitter .sp-banners {
        padding: 40px 0;
    }

    .page-about-petsitter .sp-banners__link {
        width: 100%;
    }
}

/* SP専用改行 */
.sp-only {
    display: none;
}

@media screen and (max-width: 599px) {
    .sp-only {
        display: inline;
    }
}

/* =============================================
   追加CSS：役割カード＋メリットセクション
   ============================================= */

/* ── 役割カード セクション ── */
.ainos-roles {
    width: 100%;
    margin: 0 auto;
    padding: 10px 10px 60px;
    background-color: #f6eee6;
}
.ainos-roles__heading {
    text-align: center !important;
    color: #333 !important;
    background: none !important;
    border: none !important;
    padding: 24px 0 16px !important;
    margin: 0 !important;
}
.ainos-roles__heading::before,
.ainos-roles__heading::after {
    display: none !important;
}
.ainos-roles__grid {
    display: flex;
    gap: 24px;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto;
}
.ainos-roles__card {
    flex: 1;
    max-width: 260px;
    text-align: center;
    background-color: #ffffff;
    border-radius: 8px;
    padding: 20px 16px 24px;
}
.ainos-roles__card-img-wrap {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 8px;
}
.ainos-roles__card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.ainos-roles__card-title {
    color: #5c3a1e !important;
    background: none !important;
    border: none !important;
    padding: 14px 0 4px !important;
    margin: 0 !important;
    letter-spacing: 0.05em;
}
.ainos-roles__card-title::before,
.ainos-roles__card-title::after {
    display: none !important;
}
.ainos-roles__card-text {
    padding: 4px 0 0;
    line-height: 1.8;
    color: #333;
    text-align: left;
}

/* ── メリット セクション ── */
.ainos-merits {
    max-width: 800px;
    margin: 0 auto;
    padding: 10px 20px 60px;
}
.ainos-merits__list {
    display: flex;
    flex-direction: column;
    gap: 48px;
    margin-top: 32px;
}
.ainos-merits__item {
    display: flex;
    align-items: center;
    gap: 32px;
}
.ainos-merits__item--reverse {
    flex-direction: row-reverse;
}
.ainos-merits__img-wrap {
    flex-shrink: 0;
    width: 200px;
    height: 200px;
}
.ainos-merits__img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
}
.ainos-merits__body {
    flex: 1;
}
.ainos-merits__subtitle {
    color: #5c3a1e !important;
    background: none !important;
    border: none !important;
    padding: 0 0 8px !important;
    margin: 0 0 8px !important;
    border-bottom: 2px solid #d4a88c !important;
}
.ainos-merits__subtitle::before,
.ainos-merits__subtitle::after {
    display: none !important;
}
.ainos-merits__text {
    line-height: 2;
    color: #333;
}

/* ── モバイル対応 ── */
@media screen and (max-width: 599px) {
    /* 役割カード：縦積み */
    .ainos-roles__grid {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
    .ainos-roles__card {
        max-width: 100%;
        width: 100%;
    }
    .ainos-roles__card-img-wrap {
        aspect-ratio: 16 / 9;
    }

    /* メリット：縦積み（reverseも解除） */
    .ainos-merits__item,
    .ainos-merits__item--reverse {
        flex-direction: column;
        text-align: center;
    }
    .ainos-merits__img-wrap {
        width: 160px;
        height: 160px;
    }
    .ainos-merits__img {
        width: 160px;
        height: 160px;
    }
    .ainos-merits__list {
        gap: 36px;
    }
}