/* =========================================================================
   リセットCSS & カスタムプロパティ
========================================================================= */
:root {
    /* テーマカラー（アースカラー） */
    --color-primary: #8EB897;
    /* 淡いグリーン: 安心感、成長 */
    --color-secondary: #EED7B6;
    /* ベージュ: 温かみ、落ち着き */
    --color-accent: #E8A87C;
    /* 柔らかなオレンジ: 活気、親しみやすさ */

    /* ベースカラー */
    --color-text: #4A4A4A;
    /* ダークグレー: 読みやすさと柔らかさ */
    --color-bg: #FAFAF8;
    /* オフホワイト: 背景色 */
    --color-bg-light: #F4F1EA;
    /* セクションの背景（セカンダリの薄い版） */
    --color-white: #FFFFFF;
    --color-gray: #E0E0E0;

    /* タイポグラフィ */
    --font-base: 'M PLUS Rounded 1c', 'Hiragino Maru Gothic ProN', 'Quicksand', sans-serif;
    --font-heading: 'Kiwi Maru', serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-base);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.8;
    font-size: 16px;
    letter-spacing: 0.05em;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

a {
    color: var(--color-text);
    text-decoration: none;
}

ul,
ol {
    list-style: none;
}

/* =========================================================================
   共通（レイアウト）
========================================================================= */
.container {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
}

.section {
    padding: 60px 0;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    color: var(--color-primary);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--color-accent);
    border-radius: 5px;
}

.subsection-title {
    font-size: 1.4rem;
    color: var(--color-text);
    margin-bottom: 20px;
    text-align: center;
}

.bg-light {
    background-color: var(--color-bg-light);
}

/* ボタン（プライマリー） */
.btn-primary {
    display: inline-block;
    background-color: var(--color-accent);
    color: var(--color-white);
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.2rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(232, 168, 124, 0.4);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(232, 168, 124, 0.6);
}

/* =========================================================================
   ヘッダー
========================================================================= */
.header {
    background-color: var(--color-white);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: var(--font-heading);
}

.logo-sub {
    font-size: 0.8rem;
    color: var(--color-text);
    margin-bottom: 2px;
}

.logo-main {
    font-size: 1.5rem;
    color: var(--color-primary);
    font-weight: 500;
}

/* =========================================================================
   ヒーローセクション
========================================================================= */
.hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
    opacity: 0.7;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.4), rgba(250, 250, 248, 0.9));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 30px 20px;
    background-color: rgba(255, 255, 255, 0.85);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    max-width: 90%;
    backdrop-filter: blur(5px);
}

.hero-text {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    line-height: 2;
    margin-bottom: 30px;
    color: var(--color-text);
}

.hero-info {
    font-size: 1rem;
    font-weight: 700;
    background-color: var(--color-secondary);
    padding: 15px 20px;
    border-radius: 10px;
    color: var(--color-text);
}

/* =========================================================================
   共感・できることセクション共通画像レイアウト
========================================================================= */
.empathy-content,
.works-content,
.wage-content,
.access-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.empathy-image img,
.works-image img,
.wage-image img,
.routine-image img,
.access-image {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    width: 100%;
}

/* =========================================================================
   共感セクション
========================================================================= */
.check-list {
    margin-bottom: 25px;
}

.check-list li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 15px;
    font-size: 1.1rem;
    background: var(--color-white);
    padding: 15px 15px 15px 45px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.check-list li::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 8px;
    height: 15px;
    border-right: 3px solid var(--color-accent);
    border-bottom: 3px solid var(--color-accent);
}

.message-highlight {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--color-primary);
    text-align: center;
    font-weight: 500;
    background: var(--color-secondary);
    padding: 15px;
    border-radius: 30px;
    display: inline-block;
    width: 100%;
}

/* =========================================================================
   できることセクション
========================================================================= */
.works-lead {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--color-primary);
}

.step-list {
    margin-bottom: 25px;
    background: var(--color-white);
    padding: 20px;
    border-radius: 10px;
    border: 2px dashed var(--color-secondary);
}

.step-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
}

.step-list li::before {
    content: '・';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: bold;
}

.works-desc {
    background-color: var(--color-white);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
    border-left: 5px solid var(--color-primary);
}

/* =========================================================================
   通い方・在宅セクション
========================================================================= */
.style-intro {
    text-align: center;
    margin-bottom: 40px;
}

.style-patterns {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.style-patterns li {
    background-color: var(--color-white);
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-primary);
    border-left: 5px solid var(--color-accent);
}

.style-desc {
    font-size: 1.1rem;
    font-weight: 500;
}

.zaitaku-block {
    background-color: var(--color-white);
    padding: 30px 20px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
}

.zaitaku-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.zaitaku-text p {
    margin-bottom: 15px;
}

.zaitaku-gallery {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.zaitaku-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

/* =========================================================================
   1日の流れセクション
========================================================================= */
.routine-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.timeline {
    position: relative;
    padding-left: 20px;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 4px;
    height: 100%;
    width: 3px;
    background-color: var(--color-secondary);
    border-radius: 3px;
}

.timeline-item {
    position: relative;
    margin-bottom: 25px;
    padding-left: 20px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: 5px;
    left: -20px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--color-primary);
    border: 3px solid var(--color-white);
    box-shadow: 0 0 0 2px var(--color-primary);
}

/* 休憩時間は色を変える */
.timeline-item.break::before {
    background-color: var(--color-accent);
    box-shadow: 0 0 0 2px var(--color-accent);
}

.timeline-item .time {
    font-weight: 700;
    color: var(--color-primary);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.timeline-item.break .time {
    color: var(--color-accent);
    line-height: 1.3;
}

.timeline-item .event h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

/* 9:30 ハイライト */
.highlight-item .event {
    background-color: var(--color-white);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border-left: 4px solid var(--color-accent);
    margin-top: 10px;
}

.highlight-item .event p {
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.routine-notes {
    margin-top: 20px;
    background-color: rgba(238, 215, 182, 0.3);
    /* セカンダリの薄い色 */
    padding: 15px;
    border-radius: 8px;
    font-size: 0.9rem;
}

/* =========================================================================
   工賃についてセクション
========================================================================= */
.wage-text {
    background-color: var(--color-white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
}

.wage-amount {
    font-size: 1.1rem;
    margin-bottom: 20px;
    text-align: center;
}

.wage-amount strong {
    font-size: 1.8rem;
    color: var(--color-accent);
    display: block;
    line-height: 1.2;
    margin-top: 5px;
}

.wage-policy {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px dashed var(--color-gray);
    font-weight: 700;
    text-align: center;
    color: var(--color-primary);
}

/* =========================================================================
   よくある質問（FAQ）セクション
========================================================================= */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background-color: var(--color-white);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    overflow: hidden;
}

.faq-q {
    padding: 20px;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--color-text);
    background-color: rgba(142, 184, 151, 0.1);
    /* プライマリーの薄い色 */
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.faq-q span {
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-size: 1.3rem;
    line-height: 1;
}

.faq-a {
    padding: 20px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.faq-a span {
    color: var(--color-accent);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    line-height: 1;
    font-weight: bold;
}

/* =========================================================================
   アクセスセクション
========================================================================= */
.access-info {
    text-align: center;
}

.access-image {
    margin-bottom: 20px;
}

.access-text h3 {
    font-size: 1.2rem;
    color: var(--color-primary);
    margin-bottom: 5px;
}

.map-dummy {
    width: 100%;
    height: 300px;
    background-color: var(--color-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: #666;
    font-weight: bold;
}

/* =========================================================================
   見学・体験のお申込み（CTA）セクション
========================================================================= */
.contact {
    position: relative;
    padding: 0;
    background-size: cover;
    background-position: center;
}

.contact-overlay {
    background-color: rgba(250, 250, 248, 0.9);
    /* テーマ背景色の透過 */
    padding: 80px 0;
}

.contact-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--color-primary);
    text-align: center;
    margin-bottom: 20px;
}

.contact-lead {
    text-align: center;
    font-weight: 700;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 600px;
    margin: 0 auto 30px;
}

.contact-phone,
.contact-web {
    background-color: var(--color-white);
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.method-label {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 10px;
}

.phone-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-text);
    font-family: var(--font-base);
    white-space: nowrap;
}

.contact-web .btn-primary {
    white-space: nowrap;
    padding: 15px 30px;
}

.contact-note {
    text-align: center;
    font-size: 0.9rem;
}

/* =========================================================================
   フッター & 余白
========================================================================= */
.spacer {
    height: 100px;
}

.footer {
    background-color: var(--color-text);
    color: var(--color-white);
    text-align: center;
    padding: 30px 0 100px;
}

.footer-sns {
    margin-bottom: 20px;
}

.instagram-link {
    display: inline-block;
    color: var(--color-white);
    transition: all 0.3s ease;
    padding: 10px;
    /* タップ領域を広げる */
}

.instagram-link:hover {
    color: var(--color-accent);
    transform: translateY(-3px);
}

.instagram-icon {
    width: 32px;
    height: 32px;
}

.copyright {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* =========================================================================
   追従CTAボタン (スマートフォン・PC共通)
========================================================================= */
.floating-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 15px 20px;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    text-align: center;
}

.btn-cta {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: var(--color-accent);
    color: var(--color-white);
    width: 100%;
    max-width: 400px;
    padding: 12px 20px;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(232, 168, 124, 0.4);
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(232, 168, 124, 0.6);
}

.btn-cta-sub {
    font-size: 0.8rem;
    font-weight: bold;
    opacity: 0.9;
}

.btn-cta-main {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

/* =========================================================================
   メディアクエリ (PC向けレイアウト)
========================================================================= */
@media screen and (min-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .hero-text {
        font-size: 1.6rem;
    }

    .empathy-content,
    .works-content,
    .zaitaku-content,
    .routine-content,
    .wage-content,
    .access-content,
    .contact-methods {
        flex-direction: row;
        align-items: center;
    }

    .contact-methods {
        align-items: stretch;
        max-width: 800px;
    }

    .contact-phone,
    .contact-web {
        padding: 40px 30px;
    }

    .empathy-image,
    .empathy-text,
    .works-text,
    .works-image,
    .wage-image,
    .wage-text,
    .access-info,
    .access-map,
    .contact-phone,
    .contact-web {
        flex: 1;
    }

    .empathy-image,
    .wage-image,
    .access-info {
        order: 1;
    }

    .empathy-text,
    .wage-text,
    .access-map {
        order: 2;
    }

    .works-text {
        order: 1;
    }

    .works-image {
        order: 2;
    }

    .zaitaku-text {
        flex: 1;
        padding-right: 30px;
    }

    .zaitaku-gallery {
        flex: 1;
        grid-template-columns: 1fr 1fr;
    }

    .style-patterns {
        flex-direction: row;
        justify-content: center;
        gap: 30px;
    }

    .style-patterns li {
        flex: 1;
        max-width: 250px;
    }

    .routine-schedule {
        flex: 3;
    }

    .routine-image {
        flex: 2;
    }

    .routine-image img {
        position: sticky;
        top: 100px;
    }

    .map-dummy {
        height: 400px;
    }

    .message-highlight {
        font-size: 1.5rem;
    }

    /* PCではCTAボタンを右下に丸くフロートさせるスタイルに変更 */
    .floating-cta {
        bottom: 30px;
        right: 30px;
        left: auto;
        width: auto;
        background: none;
        box-shadow: none;
        padding: 0;
    }

    .btn-cta {
        padding: 15px 30px;
        border-radius: 50px;
    }

    .footer {
        padding: 40px 0;
    }
}