/* kea.html（ケア内容ページ）専用スタイル */

/* Google Fonts: Zen Maru Gothic */
@import url('https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic:wght@300;400;500;700&display=swap');

body {
    font-family: 'Zen Maru Gothic', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

h1 {
    font-family: 'Zen Maru Gothic', sans-serif;
}

main {
    max-width: 1100px;
    margin: 120px auto 60px; /* ヘッダーの高さとフッターのスペースを考慮 */
    padding: 2rem;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.care-section {
    padding: 2rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(255, 105, 180, 0.15);
    border: 2px solid #ffb3d6;
    margin: 0 auto 2rem auto;
    max-width: 1000px;
}

.care-section h1 {
    text-align: center;
    font-size: 2.2rem;
    color: black; 
    font-weight: 700;
    margin-bottom: 3rem;
    line-height: 1.6;
    position: relative;
    padding-bottom: 1rem;
}

.care-section h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #ff69b4, #ffb3d6);
    border-radius: 2px;
}

.care-content {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.care-content h2 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e0e0e0;
    text-align: center;
}

.company-features {
    list-style: none;
    padding-left: 0;
    margin-bottom: 3rem;
    max-width: 680px;
    width: 100%;
}

.company-features li {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
    line-height: 1.7;
}

.company-features li::before {
    content: '●';
    background: linear-gradient(90deg, #ff69b4, #e91e63);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: absolute;
    left: 0.33rem; /* 少し右に移動 */
    top: 0;
    font-weight: bold;
    font-size: 0.8rem; /* サイズを小さく */
}

.care-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    text-align: center;
    max-width: 680px;
}

.care-items {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.care-container {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
}

.care-list-section {
    flex: 1;
    min-width: 300px;
    pointer-events: none !important;
    user-select: none !important;
}

.care-list {
    background: #ffffff;
    border-radius: 8px;
    padding: 1.5rem;
    border: 1px solid #dee2e6;
}

.care-item {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 10px;
    border-left: 4px solid #ff69b4;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-align: left;
    color: #333;
    font-weight: 500;
}

.care-item:last-child {
    margin-bottom: 0;
}

.care-item:hover {
    background: linear-gradient(135deg, #fff5f9 0%, #ffe6f0 100%);
    border-left-color: #e91e63;
    box-shadow: 0 4px 12px rgba(255, 105, 180, 0.2);
    transform: translateX(5px);
}

.rehabilitation-section {
    padding: 2rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(255, 105, 180, 0.15);
    border: 2px solid #ffb3d6;
    margin: 2rem auto;
    max-width: 1000px;
    background-color: #ffffff;
}

.rehabilitation-content {
    width: 100%;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.rehabilitation-content h2 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e0e0e0;
    text-align: center;
    width: 100%;
}

.care-images-section {
    width: 100%;
    max-width: 800px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.care-image-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    width: 100%;
}

.care-image {
    width: 100%;
    max-width: 600px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    transition: opacity 0.2s ease;
    margin: 0 auto;
}

.care-image:hover {
    opacity: 0.8;
}

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

/* タブレットサイズ (1024px以下) */
@media (max-width: 1024px) {
    main {
        max-width: 95%;
        margin: 110px auto 50px;
        padding: 1.8rem;
    }

    .care-section {
        max-width: 95%;
        padding: 1.8rem 0;
    }

    .care-section h1 {
        font-size: 2rem;
        margin-bottom: 2.5rem;
    }

    .care-content h2 {
        font-size: 1.7rem;
    }

    .company-features {
        max-width: 90%;
    }

    .company-features li {
        font-size: 1.05rem;
    }

    .care-content p {
        font-size: 1.05rem;
        max-width: 90%;
    }

    .care-container {
        gap: 2.5rem;
    }

    .care-list {
        padding: 1.8rem;
    }

    .care-item {
        font-size: 1.05rem;
        padding: 0.9rem 1.3rem;
    }

    .rehabilitation-section {
        max-width: 95%;
        padding: 1.8rem 0;
        margin: 1.8rem auto;
    }

    .rehabilitation-content {
        padding: 0 1.8rem;
    }

    .rehabilitation-content h2 {
        font-size: 1.7rem;
        margin-bottom: 1.8rem;
    }

    .care-image-container {
        gap: 1.8rem;
    }

    .care-image {
        max-width: 550px;
    }
}

/* タブレットサイズ (768px以下) */
@media (max-width: 768px) {
    main {
        margin-top: 100px;
        padding: 1.5rem;
        max-width: 98%;
    }

    .care-section {
        max-width: 98%;
        padding: 1.5rem 0;
        margin: 0 auto 1.5rem auto;
    }

    .care-section h1 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
        line-height: 1.5;
    }

    .care-section h1::after {
        width: 60px;
        height: 3px;
    }

    .care-content {
        margin-top: 1.5rem;
    }

    .care-content h2 {
        font-size: 1.5rem;
        margin-bottom: 1.2rem;
    }

    .company-features {
        max-width: 95%;
        margin-bottom: 2.5rem;
    }

    .company-features li {
        font-size: 1rem;
        margin-bottom: 0.8rem;
        padding-left: 1.8rem;
    }

    .company-features li::before {
        font-size: 0.9rem; /* サイズを小さく */
        left: 0.4rem; /* 少し右に移動 */
    }

    .care-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        max-width: 95%;
    }

    .care-container {
        flex-direction: column;
        gap: 2rem;
    }

    .care-list-section {
        min-width: auto;
        width: 100%;
    }

    .rehabilitation-section {
        max-width: 98%;
        padding: 1.5rem 0;
        margin: 1.5rem auto;
    }

    .rehabilitation-content {
        padding: 0 1.5rem;
    }

    .rehabilitation-content h2 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .care-images-section {
        max-width: 100%;
    }

    .care-list {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }

    .care-item {
        font-size: 1rem;
        padding: 0.8rem 1.2rem;
        margin-bottom: 1rem;
        border-left-width: 3px;
    }

    .care-image-container {
        gap: 1.5rem;
    }

    .care-image {
        max-width: 100%;
    }
}

/* スマートフォンサイズ (480px以下) */
@media (max-width: 480px) {
    main {
        margin-top: 80px;
        padding: 1rem;
        border-radius: 0;
        max-width: 100%;
    }

    .care-section {
        max-width: 100%;
        padding: 1rem 0;
        margin: 0 auto 1rem auto;
        border-radius: 8px;
    }

    .care-section h1 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
        line-height: 1.4;
        padding-bottom: 0.8rem;
    }

    .care-section h1::after {
        width: 50px;
        height: 2px;
    }

    .care-content {
        margin-top: 1rem;
    }

    .care-content h2 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }

    .company-features {
        max-width: 100%;
        margin-bottom: 2rem;
    }

    .company-features li {
        font-size: 0.95rem;
        margin-bottom: 0.7rem;
        padding-left: 1.5rem;
        line-height: 1.6;
    }

    .company-features li::before {
        font-size: 0.8rem; /* サイズを小さく */
        left: 0.3rem; /* 少し右に移動 */
    }

    .care-content p {
        font-size: 0.95rem;
        margin-bottom: 1.2rem;
        max-width: 100%;
        line-height: 1.7;
    }

    .care-container {
        gap: 1.5rem;
    }

    .care-list {
        padding: 1rem;
        border-radius: 10px;
    }

    .care-item {
        font-size: 0.95rem;
        padding: 0.7rem 1rem;
        margin-bottom: 0.8rem;
        border-radius: 8px;
        border-left-width: 3px;
    }

    .rehabilitation-section {
        max-width: 100%;
        padding: 1rem 0;
        margin: 1rem auto;
        border-radius: 8px;
    }

    .rehabilitation-content {
        padding: 0 1rem;
    }

    .rehabilitation-content h2 {
        font-size: 1.3rem;
        margin-bottom: 1.2rem;
    }

    .care-image-container {
        gap: 1.2rem;
    }
}

/* 超小型スマートフォン (320px以下) */
@media (max-width: 320px) {
    main {
        margin-top: 70px;
        padding: 0.8rem;
    }

    .care-section {
        padding: 0.8rem 0;
    }

    .care-section h1 {
        font-size: 1.3rem;
        margin-bottom: 1.2rem;
    }

    .care-content h2 {
        font-size: 1.2rem;
    }

    .company-features li {
        font-size: 0.9rem;
        padding-left: 1.3rem;
    }

    .company-features li::before {
        font-size: 0.7rem; /* サイズを小さく */
        left: 0.2rem; /* 少し右に移動 */
    }

    .care-content p {
        font-size: 0.9rem;
    }

    .care-list {
        padding: 0.8rem;
    }

    .care-item {
        font-size: 0.9rem;
        padding: 0.6rem 0.9rem;
        border-left-width: 3px;
    }

    .rehabilitation-section {
        padding: 0.8rem 0;
        margin: 0.8rem auto;
    }

    .rehabilitation-content {
        padding: 0 0.8rem;
    }

    .rehabilitation-content h2 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    .care-image-container {
        gap: 1rem;
    }
}

/* 横向きスマートフォン (480px以下かつ高さが400px以下) */
@media (max-width: 480px) and (max-height: 400px) {
    main {
        margin-top: 60px;
        padding: 0.8rem;
    }

    .care-section {
        padding: 0.8rem 0;
    }

    .care-section h1 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }

    .care-content h2 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }

    .company-features {
        margin-bottom: 1.5rem;
    }

    .company-features li {
        margin-bottom: 0.5rem;
    }

    .care-container {
        gap: 1rem;
    }

    .care-list {
        padding: 0.8rem;
    }

    .care-item {
        margin-bottom: 0.6rem;
        border-left-width: 3px;
    }

    .rehabilitation-section {
        padding: 0.8rem 0;
        margin: 0.8rem auto;
    }

    .rehabilitation-content {
        padding: 0 0.8rem;
    }

    .rehabilitation-content h2 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }

    .care-image-container {
        gap: 0.8rem;
    }
} 

