/* ========================================
   基本設定
======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #EA6FA4;
    --secondary-color: #F8A5C2;
    --text-color: #333;
    --text-light: #666;
    --bg-light: #FFF5F8;
    --bg-white: #FFFFFF;
    --shadow: 0 4px 20px rgba(234, 111, 164, 0.1);
    --shadow-hover: 0 6px 30px rgba(234, 111, 164, 0.2);
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--text-color);
    line-height: 1.8;
    background-color: var(--bg-white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ========================================
   ヘッダー
======================================== */
.header {
    background-color: var(--bg-white);
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 60px;
    width: auto;
}

.contact-btn-header {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.contact-btn-header:hover {
    background-color: #D85B8E;
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

/* ========================================
   メインビジュアル
======================================== */
.hero {
    position: relative;
    overflow: hidden;
}

.hero-image {
    position: relative;
    width: 100%;
    height: 600px;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(234, 111, 164, 0.85) 0%, rgba(248, 165, 194, 0.75) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-text {
    text-align: center;
    color: white;
    padding: 20px;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.4;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 20px;
    font-weight: 400;
    line-height: 1.8;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* ========================================
   セクション共通
======================================== */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-color);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    margin: 15px auto 0;
    border-radius: 2px;
}

/* ========================================
   基本理念
======================================== */
.philosophy {
    background-color: var(--bg-light);
}

.philosophy-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.philosophy-icon {
    font-size: 60px;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.philosophy-text {
    font-size: 24px;
    font-weight: 500;
    line-height: 2;
    color: var(--text-color);
}

/* ========================================
   私たちの想い
======================================== */
.message {
    background-color: var(--bg-white);
}

.message-content {
    max-width: 900px;
    margin: 0 auto;
}

.message-text {
    font-size: 18px;
    line-height: 2;
    color: var(--text-light);
    margin-bottom: 30px;
    text-align: center;
}

.message-text strong {
    color: var(--primary-color);
    font-weight: 700;
}

/* ========================================
   サービス内容
======================================== */
.services {
    background-color: var(--bg-light);
}

.services-intro {
    max-width: 900px;
    margin: 0 auto 50px;
    font-size: 18px;
    line-height: 2;
    color: var(--text-light);
    text-align: center;
}

.services-intro strong {
    color: var(--primary-color);
    font-weight: 700;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.service-card {
    background-color: var(--bg-white);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.service-icon {
    font-size: 50px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 15px;
}

.service-description {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-light);
}

.services-detail {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px;
    background-color: var(--bg-white);
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.services-detail p {
    font-size: 16px;
    line-height: 2;
    color: var(--text-light);
    margin-bottom: 20px;
}

.services-detail p:last-child {
    margin-bottom: 0;
}

/* ========================================
   重点目標
======================================== */
.goals {
    background-color: var(--bg-white);
}

.goals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.goal-card {
    position: relative;
    padding: 40px 30px;
    background-color: var(--bg-white);
    border-radius: 20px;
    border: 2px solid var(--bg-light);
    transition: all 0.3s ease;
}

.goal-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
}

.goal-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 48px;
    font-weight: 700;
    color: var(--bg-light);
    line-height: 1;
}

.goal-icon {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.goal-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 15px;
    line-height: 1.6;
}

.goal-description {
    font-size: 15px;
    line-height: 1.9;
    color: var(--text-light);
}

/* ========================================
   運営法人
======================================== */
.organization {
    background-color: var(--bg-light);
}

.organization-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.organization-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    background-color: var(--bg-white);
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.organization-logo img {
    width: 100%;
    height: auto;
    max-width: 300px;
}

.organization-info {
    padding: 20px 0;
}

.organization-name {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 20px;
    line-height: 1.5;
}

.organization-affiliated {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 25px;
    padding: 15px 20px;
    background-color: var(--bg-white);
    border-left: 4px solid var(--primary-color);
    border-radius: 8px;
    line-height: 1.8;
}

.organization-affiliated strong {
    color: var(--primary-color);
    font-weight: 700;
}

.organization-description p {
    font-size: 16px;
    line-height: 2;
    color: var(--text-light);
    text-align: justify;
}

/* ========================================
   お問い合わせCTA
======================================== */
.cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 100px 0;
}

.cta-content {
    text-align: center;
    color: white;
}

.cta-title {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-text {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 40px;
    opacity: 0.95;
}

.contact-btn-main {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: var(--bg-white);
    color: var(--primary-color);
    padding: 20px 50px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.contact-btn-main:hover {
    background-color: #FFF;
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.2);
    transform: translateY(-3px);
}

.contact-btn-main i {
    font-size: 22px;
}

/* ========================================
   フッター
======================================== */
.footer {
    background-color: var(--bg-light);
    padding: 60px 0 30px;
}

.footer-content {
    text-align: center;
    margin-bottom: 30px;
}

.footer-logo {
    height: 80px;
    width: auto;
    margin: 0 auto 20px;
}

.footer-text {
    font-size: 16px;
    line-height: 2;
    color: var(--text-light);
}

.copyright {
    text-align: center;
    font-size: 14px;
    color: var(--text-light);
    padding-top: 20px;
    border-top: 1px solid #E8E8E8;
}

/* ========================================
   レスポンシブ
======================================== */
.sp-only {
    display: none;
}

@media screen and (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    /* ヘッダー */
    .logo {
        height: 45px;
    }

    .contact-btn-header {
        padding: 10px 20px;
        font-size: 14px;
    }

    /* メインビジュアル */
    .hero-image {
        height: 400px;
    }

    .hero-title {
        font-size: 32px;
        margin-bottom: 20px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    /* セクション */
    section {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-title {
        font-size: 28px;
    }

    /* 基本理念 */
    .philosophy-icon {
        font-size: 50px;
        margin-bottom: 20px;
    }

    .philosophy-text {
        font-size: 20px;
    }

    /* メッセージ */
    .message-text {
        font-size: 16px;
    }

    /* サービス */
    .services-intro {
        font-size: 16px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card {
        padding: 30px 20px;
    }

    .services-detail {
        padding: 30px 20px;
    }

    .services-detail p {
        font-size: 15px;
    }

    /* 重点目標 */
    .goals-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .goal-number {
        font-size: 36px;
    }

    .goal-title {
        font-size: 18px;
    }

    .goal-description {
        font-size: 14px;
    }

    /* 運営法人 */
    .organization-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .organization-logo {
        padding: 20px;
    }

    .organization-logo img {
        max-width: 250px;
    }

    .organization-name {
        font-size: 24px;
        text-align: center;
    }

    .organization-affiliated {
        font-size: 15px;
        padding: 12px 15px;
        text-align: center;
    }

    .organization-description p {
        font-size: 15px;
    }

    /* CTA */
    .cta {
        padding: 60px 0;
    }

    .cta-title {
        font-size: 28px;
    }

    .cta-text {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .contact-btn-main {
        padding: 16px 35px;
        font-size: 16px;
    }

    .sp-only {
        display: inline;
    }

    /* フッター */
    .footer {
        padding: 40px 0 20px;
    }

    .footer-logo {
        height: 60px;
    }

    .footer-text {
        font-size: 14px;
    }

    .copyright {
        font-size: 12px;
    }
}

@media screen and (max-width: 480px) {
    .hero-title {
        font-size: 26px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .section-title {
        font-size: 24px;
    }

    .philosophy-text {
        font-size: 18px;
    }

    .cta-title {
        font-size: 24px;
    }

    .contact-btn-main {
        padding: 14px 28px;
        font-size: 15px;
    }
}

/* ========================================
   アニメーション（オプション）
======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-header,
.service-card,
.goal-card,
.message-text {
    animation: fadeInUp 0.6s ease-out;
}