/**
 * 訪問介護ページ専用スタイル
 * 
 * このファイルは訪問介護ページ（page-home-care.php）でのみ読み込まれます
 * ヘッダー・フッターのスタイルは components.css に定義されています
 */

/* ============================================
   ページヘッダー
   ============================================ */
.home-care-page-header {
    background-color: #fff;
    padding: 0px 32px 0;
}

.home-care-page-header__container {
    max-width: 1200px;
    margin: 0 auto;
}

.home-care-page-header__inner {
    background-color: #faf6f1;
    border-radius: 16px;
    padding: 32px 0;
    text-align: center;
}

.home-care-page-header__title {
    font-family: Arial, 'Noto Sans JP', sans-serif;
    font-size: 32px;
    font-weight: normal;
    line-height: 48px;
    color: #4a4a4a;
    margin: 0 0 8px 0;
}

.home-care-page-header__description {
    font-family: Arial, 'Noto Sans JP', sans-serif;
    font-size: 18px;
    font-weight: normal;
    line-height: 27px;
    color: #8b8b8b;
    margin: 0;
}

/* ============================================
   ヒーローセクション
   ============================================ */
.home-care-hero {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.home-care-hero__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.home-care-hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.home-care-hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.2));
}

.home-care-hero__content {
    position: absolute;
    left: 32px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    max-width: 563px;
}

.home-care-hero__text {
    font-family: Arial, 'Noto Sans JP', sans-serif;
    font-size: 24px;
    font-weight: normal;
    line-height: 39px;
    color: #fff;
    margin: 0;
}

/* ============================================
   サービス内容セクション
   ============================================ */
.home-care-services {
    background-color: #fff;
    padding: 96px 32px;
}

.home-care-services__container {
    max-width: 1200px;
    margin: 0 auto;
}

.home-care-services__title {
    font-family: Arial, 'Noto Sans JP', sans-serif;
    font-size: 16px;
    font-weight: normal;
    line-height: 24px;
    color: #4a4a4a;
    text-align: center;
    margin: 0 0 64px 0;
}

.home-care-services__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
}

.home-care-service-card {
    background-color: #f8e9da;
    border-radius: 16px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.home-care-service-card__header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.home-care-service-card__icon {
    width: 48px;
    height: 48px;
    background-color: #e76f51;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.home-care-service-card__icon-img {
    width: auto;
    height: auto;
    font-size: 24px;
    color: #fff;
    display: block;
}

.home-care-service-card__title {
    font-family: Arial, 'Noto Sans JP', sans-serif;
    font-size: 16px;
    font-weight: normal;
    line-height: 24px;
    color: #4a4a4a;
    margin: 0;
}

.home-care-service-card__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.home-care-service-card__item {
    font-family: Arial, 'Noto Sans JP', sans-serif;
    font-size: 16px;
    font-weight: normal;
    line-height: 24px;
    color: #4a4a4a;
    position: relative;
    padding-left: 20px;
}

.home-care-service-card__item::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #e76f51;
}

/* ============================================
   ご利用の流れセクション
   ============================================ */
.home-care-flow {
    background-color: #f8e9da;
    padding: 96px 32px;
}

.home-care-flow__container {
    max-width: 1216px;
    margin: 0 auto;
}

.home-care-flow__title {
    font-family: Arial, 'Noto Sans JP', sans-serif;
    font-size: 16px;
    font-weight: normal;
    line-height: 24px;
    color: #4a4a4a;
    text-align: center;
    margin: 0 0 64px 0;
}

.home-care-flow__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.home-care-flow-card {
    background-color: #fff;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0px 4px 6px -1px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    min-height: 197px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.home-care-flow-card__icon-wrapper {
    width: 64px;
    height: 64px;
    background-color: #e76f51;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.home-care-flow-card__icon {
    width: auto;
    height: auto;
    font-size: 32px;
    color: #fff;
    display: block;
}

.home-care-flow-card__step {
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: normal;
    line-height: 21px;
    color: #e76f51;
    margin: 0 0 8px 0;
}

.home-care-flow-card__text {
    font-family: Arial, 'Noto Sans JP', sans-serif;
    font-size: 16px;
    font-weight: normal;
    line-height: 24px;
    color: #4a4a4a;
    margin: 0;
}

/* ============================================
   対応エリアセクション
   ============================================ */
.home-care-area {
    background-color: #fff;
    padding: 96px 32px;
}

.home-care-area__container {
    max-width: 1200px;
    margin: 0 auto;
}

.home-care-area__title {
    font-family: Arial, 'Noto Sans JP', sans-serif;
    font-size: 16px;
    font-weight: normal;
    line-height: 24px;
    color: #4a4a4a;
    text-align: center;
    margin: 0 0 64px 0;
}

.home-care-area__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.home-care-area-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.home-care-area-list__item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.home-care-area-list__icon {
    width: auto;
    height: auto;
    font-size: 16px;
    color: #e76f51;
    display: inline-block;
}

.home-care-area-list__text {
    font-family: Arial, 'Noto Sans JP', sans-serif;
    font-size: 16px;
    font-weight: normal;
    line-height: 24px;
    color: #4a4a4a;
}

.home-care-area__note {
    font-family: Arial, 'Noto Sans JP', sans-serif;
    font-size: 14px;
    font-weight: normal;
    line-height: 21px;
    color: #8b8b8b;
    margin: 24px 0 0 0;
}

.home-care-area__map {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0px 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.home-care-area__map-image {
    width: 100%;
    height: auto;
    display: block;
}

/* ============================================
   ご利用料金セクション
   ============================================ */
.home-care-price {
    background-color: #f8e9da;
    padding: 96px 32px;
}

.home-care-price__container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.home-care-price__title {
    font-family: Arial, 'Noto Sans JP', sans-serif;
    font-size: 16px;
    font-weight: normal;
    line-height: 24px;
    color: #4a4a4a;
    text-align: center;
    margin: 0 0 64px 0;
}

.home-care-price__card {
    background-color: #fff;
    border-radius: 16px;
    padding: 48px;
    box-shadow: 0px 4px 6px -1px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 700px;
}

.home-care-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(74, 74, 74, 0.1);
    margin-bottom: 24px;
}

.home-care-price-row:last-of-type {
    margin-bottom: 0;
}

.home-care-price-row__label {
    font-family: Arial, 'Noto Sans JP', sans-serif;
    font-size: 16px;
    font-weight: normal;
    line-height: 24px;
    color: #4a4a4a;
}

.home-care-price-row__value {
    font-family: Arial, 'Noto Sans JP', sans-serif;
    font-size: 16px;
    font-weight: normal;
    line-height: 24px;
    color: #e76f51;
}

.home-care-price__note {
    font-family: Arial, 'Noto Sans JP', sans-serif;
    font-size: 14px;
    font-weight: normal;
    line-height: 21px;
    color: #8b8b8b;
    text-align: center;
    margin: 32px 0 0 0;
}

/* ============================================
   事例紹介・スタッフの声セクション
   ============================================ */
.home-care-cases {
    background-color: #fff;
    padding: 96px 32px;
}

.home-care-cases__container {
    max-width: 1200px;
    margin: 0 auto;
}

.home-care-cases__title {
    font-family: Arial, 'Noto Sans JP', sans-serif;
    font-size: 16px;
    font-weight: normal;
    line-height: 24px;
    color: #4a4a4a;
    text-align: center;
    margin: 0 0 64px 0;
}

.home-care-cases__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.home-care-case-card {
    background-color: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0px 4px 6px -1px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.home-care-case-card__image-wrapper {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.home-care-case-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.home-care-case-card__content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.home-care-case-card__title {
    font-family: Arial, 'Noto Sans JP', sans-serif;
    font-size: 16px;
    font-weight: normal;
    line-height: 24px;
    color: #4a4a4a;
    margin: 0;
}

.home-care-case-card__text {
    font-family: Arial, 'Noto Sans JP', sans-serif;
    font-size: 14px;
    font-weight: normal;
    line-height: 22.75px;
    color: #8b8b8b;
    margin: 0;
}

/* ============================================
   訪問介護についてのご相談セクション
   ============================================ */
.home-care-cta {
    background-color: #fff;
    padding: 96px 32px;
}

.home-care-cta__container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.home-care-cta__title {
    font-family: Arial, 'Noto Sans JP', sans-serif;
    font-size: 16px;
    font-weight: normal;
    line-height: 24px;
    color: #4a4a4a;
    margin: 0 0 48px 0;
}

.home-care-cta__description {
    font-family: Arial, 'Noto Sans JP', sans-serif;
    font-size: 18px;
    font-weight: normal;
    line-height: 27px;
    color: #8b8b8b;
    margin: 0 0 48px 0;
}

.home-care-cta__button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #e76f51;
    color: #fff;
    padding: 16px 48px;
    border-radius: 50px;
    text-decoration: none;
    font-family: Arial, 'Noto Sans JP', sans-serif;
    font-size: 16px;
    font-weight: normal;
    line-height: 24px;
    transition: background-color 0.3s ease;
}

.home-care-cta__button:hover {
    background-color: #d65a40;
    color: #fff;
}

    .home-care-cta__button-icon {
    font-size: 20px;
    line-height: 1;
}

/* ============================================
   アニメーション初期状態
   ============================================ */

/* ページ読み込み時のアニメーション対象 */
.home-care-page-header__title,
.home-care-page-header__description {
    opacity: 0;
    transform: translateY(30px);
}

.home-care-hero__text {
    opacity: 0;
    transform: translateY(30px);
}

.home-care-hero__image {
    transform: scale(1.1);
}

/* スクロールアニメーション対象の初期状態 */
.home-care-service-card {
    opacity: 0;
    transform: translateY(40px);
}

.home-care-flow-card {
    opacity: 0;
    transform: translateY(40px);
}

.home-care-case-card {
    opacity: 0;
    transform: translateY(40px);
}

.home-care-area__list {
    opacity: 0;
    transform: translateX(-30px);
}

.home-care-area__map {
    opacity: 0;
    transform: translateX(30px);
}

.home-care-price__card {
    opacity: 0;
    transform: translateY(40px);
}

.home-care-cta {
    opacity: 0;
    transform: translateY(30px);
}

.home-care-services__title,
.home-care-flow__title,
.home-care-area__title,
.home-care-price__title,
.home-care-cases__title,
.home-care-cta__title {
    opacity: 0;
    transform: translateY(30px);
}

/* ============================================
   アニメーション用クラス
   ============================================ */

/* フェードイン・上方向 */
.fade-in-up {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* フェードイン */
.fade-in {
    opacity: 1 !important;
    transform: translateX(0) !important;
}

/* ============================================
   レスポンシブ対応
   ============================================ */

/* タブレット（1024px以下） */
@media (max-width: 1024px) {
    .home-care-page-header,
    .home-care-services,
    .home-care-flow,
    .home-care-area,
    .home-care-price,
    .home-care-cases,
    .home-care-cta {
        padding-left: 32px;
        padding-right: 32px;
    }

    .home-care-hero__content {
        left: 80px;
    }

    .home-care-services__grid {
        gap: 32px;
    }

    .home-care-flow__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .home-care-area__content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .home-care-cases__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

/* タブレット（768px以下） */
@media (max-width: 768px) {
    .home-care-page-header {
        padding: 48px 32px 0;
    }

    .home-care-page-header__title {
        font-size: 28px;
        line-height: 40px;
    }

    .home-care-page-header__description {
        font-size: 16px;
        line-height: 24px;
    }

    .home-care-hero {
        height: 400px;
    }

    .home-care-hero__content {
        left: 32px;
        right: 32px;
        max-width: none;
    }

    .home-care-hero__text {
        font-size: 20px;
        line-height: 32px;
    }

    .home-care-services,
    .home-care-flow,
    .home-care-area,
    .home-care-price,
    .home-care-cases,
    .home-care-cta {
        padding: 64px 32px;
    }

    .home-care-services__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .home-care-flow__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .home-care-cases__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .home-care-price__card {
        padding: 32px 24px;
    }

    .home-care-cta__button {
        padding: 14px 32px;
        font-size: 14px;
    }
}

/* スマートフォン（480px以下） */
@media (max-width: 480px) {
    .home-care-page-header {
        padding: 0px 20px 0;
    }

    .home-care-page-header__inner {
        padding: 24px 20px;
    }

    .home-care-page-header__title {
        font-size: 24px;
        line-height: 36px;
    }

    .home-care-page-header__description {
        font-size: 14px;
        line-height: 21px;
    }

    .home-care-hero {
        height: 300px;
    }

    .home-care-hero__content {
        left: 20px;
        right: 20px;
    }

    .home-care-hero__text {
        font-size: 18px;
        line-height: 28px;
    }

    .home-care-services,
    .home-care-flow,
    .home-care-area,
    .home-care-price,
    .home-care-cases,
    .home-care-cta {
        padding: 48px 20px;
    }

    .home-care-services__title,
    .home-care-flow__title,
    .home-care-area__title,
    .home-care-price__title,
    .home-care-cases__title,
    .home-care-cta__title {
        font-size: 18px;
        margin-bottom: 32px;
    }

    .home-care-service-card {
        padding: 24px;
    }

    .home-care-flow-card {
        padding: 24px;
        min-height: auto;
    }

    .home-care-price__card {
        padding: 24px 20px;
    }

    .home-care-price-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding-bottom: 16px;
        margin-bottom: 16px;
    }

    .home-care-cta__description {
        font-size: 16px;
        line-height: 24px;
    }

    .home-care-cta__button {
        width: 100%;
        justify-content: center;
        padding: 12px 24px;
    }
}
