/* ========================================
   リセット & ベーススタイル
======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* カラーパレット */
    --primary-color: #9CCDCD;
    --primary-dark: #4D97A4;
    --primary-light: #CBE4E4;
    --secondary-color: #f4e4d7;
    --accent-color: #d4a574;
    --text-dark: #646464;
    --text-medium: #8E8E8E;
    --text-light: #B1B1B1;
    --bg-primary: #ffffff;
    --bg-secondary: #f9f7f4;
    --bg-light: #fdfcfa;
    --border-color: #e8e5e0;
    --shadow-light: rgba(0, 0, 0, 0.05);
    --shadow-medium: rgba(0, 0, 0, 0.1);
    
    /* タイポグラフィ */
    --font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 2rem;
    --font-size-4xl: 2.5rem;
    
    /* スペーシング */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;
    
    /* ボーダー */
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 12px;
    --border-radius-xl: 20px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--text-dark);
    line-height: 1.7;
    font-size: var(--font-size-base);
    background-color: var(--bg-primary);
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* ========================================
   コンテナ
======================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ========================================
   ヘッダー
======================================== */
.header {
    background-color: var(--bg-primary);
    box-shadow: 0 2px 10px var(--shadow-light);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: var(--spacing-sm) 0;
}

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

.logo {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 2px;
}

.nav {
    display: flex;
    gap: var(--spacing-lg);
}

.nav-link {
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--text-medium);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link:hover::after {
    width: 100%;
}

/* ========================================
   ボタン
======================================== */
.btn {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md) var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    font-weight: 600;
    font-size: var(--font-size-base);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-align: center;
    line-height: 1.5;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(143, 188, 143, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(143, 188, 143, 0.4);
}

.btn-secondary {
    background-color: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-light);
    border-color: var(--primary-dark);
}

.btn-full {
    width: 100%;
}

.btn-large {
    padding: var(--spacing-lg) var(--spacing-2xl);
    font-size: var(--font-size-lg);
}

.btn small {
    font-size: var(--font-size-xs);
    font-weight: 400;
    opacity: 0.9;
    margin-top: 2px;
}

/* ========================================
   ファーストビュー
======================================== */
.hero {
    background: linear-gradient(180deg, #E1D3CE 0%, var(--bg-secondary) 100%);
    padding: var(--spacing-3xl) 0 0;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
    padding-bottom: var(--spacing-3xl);
}

.hero-text {
    animation: fadeInLeft 1s ease;
}

.hero-subtitle {
    color: var(--primary-dark);
    font-size: var(--font-size-base);
    font-weight: 500;
    margin-bottom: var(--spacing-sm);
    letter-spacing: 1px;
}

.hero-title {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: var(--spacing-md);
    color: var(--text-dark);
}

.hero-description {
    font-size: var(--font-size-lg);
    color: var(--text-medium);
    margin-bottom: var(--spacing-xl);
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.hero-image {
    animation: fadeInRight 1s ease;
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    box-shadow: 0 20px 60px var(--shadow-medium);
}

.hero-image img {
    width: 100%;
    height: auto;
}

.hero-wave {
    position: relative;
    width: 100%;
    margin-top: -1px;
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: 60px;
}

/* ========================================
   セクション共通
======================================== */
section {
    padding: var(--spacing-3xl) 0;
}

.section-title {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--spacing-md);
    color: var(--text-dark);
    line-height: 1.4;
}

.section-subtitle {
    font-size: var(--font-size-2xl);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    color: var(--text-dark);
}

.section-description {
    text-align: center;
    font-size: var(--font-size-lg);
    color: var(--text-medium);
    margin-bottom: var(--spacing-2xl);
    line-height: 1.8;
}

/* ========================================
   悩みの共感セクション
======================================== */
.empathy {
    background-color: var(--bg-secondary);
}

.empathy-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
}

.worry-list {
    list-style: none;
    margin-top: var(--spacing-lg);
}

.worry-list li {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background-color: white;
    border-radius: var(--border-radius-md);
    margin-bottom: var(--spacing-sm);
    box-shadow: 0 2px 8px var(--shadow-light);
    transition: transform 0.3s ease;
    font-size: var(--font-size-lg);
}

.worry-list li:hover {
    transform: translateX(5px);
}

.worry-list i {
    color: var(--primary-color);
    font-size: var(--font-size-xl);
}

.empathy-image {
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    box-shadow: 0 10px 40px var(--shadow-medium);
}

/* ========================================
   原因の説明
======================================== */
.cause {
    background-color: var(--bg-light);
}

.cause-solution {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xl);
    margin-top: var(--spacing-2xl);
    flex-wrap: wrap;
}

.solution-card {
    flex: 1;
    min-width: 280px;
    max-width: 400px;
    padding: var(--spacing-xl);
    background-color: white;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 4px 15px var(--shadow-light);
    text-align: center;
    transition: transform 0.3s ease;
}

.solution-card:hover {
    transform: translateY(-5px);
}

.solution-card.highlight {
    background: linear-gradient(135deg, #f0f8f0 0%, #e8f5e8 100%);
    border: 2px solid var(--primary-light);
}

.solution-card h4 {
    font-size: var(--font-size-lg);
    margin: var(--spacing-md) 0;
    color: var(--text-dark);
}

.solution-card p {
    font-size: var(--font-size-sm);
    color: var(--text-medium);
    line-height: 1.7;
}

.icon-problem {
    font-size: var(--font-size-4xl);
    color: #e57373;
}

.icon-solution {
    font-size: var(--font-size-4xl);
    color: var(--primary-color);
}

.solution-arrow {
    font-size: var(--font-size-3xl);
    color: var(--primary-color);
    font-weight: 700;
}

/* ========================================
   特徴セクション
======================================== */
.features {
    background-color: var(--bg-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-2xl);
}

.feature-card {
    background-color: white;
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 4px 15px var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--shadow-medium);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
    color: white;
    font-size: var(--font-size-2xl);
}

.feature-card h4 {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
}

.feature-card p {
    font-size: var(--font-size-sm);
    color: var(--text-medium);
    line-height: 1.7;
}

.benefits {
    background: linear-gradient(135deg, #F9F7F4 0%, #F2ECEA 100%);
    padding: var(--spacing-2xl);
    border-radius: var(--border-radius-lg);
    margin-top: var(--spacing-xl);
}

.benefits-title {
    font-size: var(--font-size-xl);
    font-weight: 600;
    text-align: center;
    margin-bottom: var(--spacing-lg);
    color: var(--primary-dark);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
    background-color: white;
    border-radius: var(--border-radius-md);
    font-size: var(--font-size-base);
}

.benefit-item i {
    color: var(--primary-color);
    font-size: var(--font-size-lg);
}

/* ========================================
   お客様の声
======================================== */
.reviews {
    background-color: var(--bg-light);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-2xl);
}

.review-card {
    background-color: white;
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 4px 15px var(--shadow-light);
    transition: transform 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
}

.review-stars {
    color: #ffd700;
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-sm);
}

.review-text {
    font-size: var(--font-size-sm);
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
}

.review-date {
    font-size: var(--font-size-xs);
    color: var(--text-light);
    text-align: right;
}

.instagram-section {
    margin-top: var(--spacing-2xl);
}

.instagram-title {
    font-size: var(--font-size-xl);
    font-weight: 600;
    text-align: center;
    margin-bottom: var(--spacing-lg);
    color: var(--text-dark);
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.instagram-card {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 15px var(--shadow-light);
    transition: transform 0.3s ease;
}

.instagram-card:hover {
    transform: scale(1.02);
}

.instagram-card img {
    width: 100%;
    height: auto;
}

/* ========================================
   使い方セクション
======================================== */
.howto {
    background-color: var(--bg-secondary);
}

.howto-video {
    margin-bottom: var(--spacing-2xl);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 10px 40px var(--shadow-medium);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-note {
    text-align: center;
    font-size: var(--font-size-sm);
    color: var(--text-medium);
    margin-top: var(--spacing-sm);
}

.howto-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-2xl);
}

.step-card {
    background-color: white;
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 4px 15px var(--shadow-light);
    text-align: center;
    transition: transform 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
}

.step-number {
    display: inline-block;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-lg);
    font-weight: 700;
    margin: 0 auto var(--spacing-md);
}

.step-card h4 {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
}

.step-card p {
    font-size: var(--font-size-sm);
    color: var(--text-medium);
    line-height: 1.7;
}

.howto-note {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
    background: linear-gradient(135deg, #f0f8f0 0%, #e8f5e8 100%);
    padding: var(--spacing-2xl);
    border-radius: var(--border-radius-lg);
}

.howto-note img {
    border-radius: var(--border-radius-md);
    box-shadow: 0 8px 25px var(--shadow-medium);
}

.note-text p {
    font-size: var(--font-size-base);
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: var(--spacing-sm);
}

.note-small {
    font-size: var(--font-size-xs);
    color: var(--text-light);
}

/* ========================================
   よくある質問
======================================== */
.faq {
    background-color: var(--bg-light);
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background-color: white;
    border-radius: var(--border-radius-md);
    margin-bottom: var(--spacing-md);
    box-shadow: 0 2px 8px var(--shadow-light);
    overflow: hidden;
}

.faq-question {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-lg);
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-weight: 600;
    color: var(--text-dark);
}

.faq-question:hover {
    background-color: var(--bg-secondary);
}

.faq-question i:first-child {
    color: var(--primary-color);
    font-size: var(--font-size-xl);
}

.faq-question i:last-child {
    margin-left: auto;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i:last-child {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 var(--spacing-lg);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 var(--spacing-lg) var(--spacing-lg);
    max-height: 500px;
}

.faq-answer p {
    color: var(--text-medium);
    line-height: 1.8;
}

/* ========================================
   商品セクション
======================================== */
.product {
    background-color: var(--bg-secondary);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
    max-width: 900px;
    margin: 0 auto var(--spacing-2xl);
}

.product-card {
    background-color: white;
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 4px 15px var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--shadow-medium);
}

.product-card.featured {
    border: 3px solid var(--primary-color);
}

.product-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--border-radius-lg);
    font-size: var(--font-size-xs);
    font-weight: 600;
}

.product-image {
    margin-bottom: var(--spacing-md);
    border-radius: var(--border-radius-md);
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: auto;
}

.product-name {
    font-size: var(--font-size-xl);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
}

.product-description {
    font-size: var(--font-size-sm);
    color: var(--text-medium);
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
}

.product-price {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.price-main {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    color: var(--primary-dark);
    display: block;
}

.price-note {
    font-size: var(--font-size-sm);
    color: var(--text-medium);
}

.support-section {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    padding: var(--spacing-2xl);
    background: linear-gradient(135deg, #f0f8f0 0%, #e8f5e8 100%);
    border-radius: var(--border-radius-lg);
}

.support-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #06c755 0%, #04a745 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
    color: white;
    font-size: var(--font-size-3xl);
}

.support-section h4 {
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
}

.support-section p {
    color: var(--text-medium);
    line-height: 1.8;
}

/* ========================================
   CTAセクション
======================================== */
.cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    line-height: 1.4;
}

.cta-text {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-xl);
    line-height: 1.8;
    opacity: 0.95;
}

.cta .btn-primary {
    background-color: white;
    color: var(--primary-dark);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* ========================================
   フッター
======================================== */
.footer {
    background-color: var(--text-dark);
    color: white;
    padding: var(--spacing-2xl) 0 var(--spacing-md);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--spacing-xl);
    flex-wrap: wrap;
    gap: var(--spacing-lg);
}

.footer-logo h2 {
    font-size: var(--font-size-2xl);
    margin-bottom: var(--spacing-sm);
    letter-spacing: 2px;
}

.footer-logo p {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

.footer-links {
    display: flex;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--font-size-sm);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-light);
}

.footer-note {
    text-align: center;
    padding: var(--spacing-lg) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: var(--spacing-md);
}

.footer-note p {
    font-size: var(--font-size-xs);
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
}

.footer-copyright {
    text-align: center;
}

.footer-copyright p {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.6);
}

/* ========================================
   アニメーション
======================================== */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ========================================
   レスポンシブデザイン
======================================== */
@media (max-width: 768px) {
    :root {
        --font-size-4xl: 1.75rem;
        --font-size-3xl: 1.5rem;
        --font-size-2xl: 1.25rem;
        --spacing-3xl: 3rem;
        --spacing-2xl: 2rem;
    }

    .nav {
        display: none;
    }

    .hero-content,
    .empathy-content,
    .howto-note {
        grid-template-columns: 1fr;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-cta .btn {
        width: 100%;
    }

    .cause-solution {
        flex-direction: column;
    }

    .solution-arrow {
        transform: rotate(90deg);
    }

    .features-grid,
    .reviews-grid,
    .instagram-grid,
    .howto-steps,
    .product-grid {
        grid-template-columns: 1fr;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-sm);
    }

    .hero-title {
        font-size: var(--font-size-2xl);
    }

    .section-title {
        font-size: var(--font-size-xl);
    }

    .btn {
        padding: var(--spacing-sm) var(--spacing-lg);
        font-size: var(--font-size-sm);
    }
}