/* リセットCSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* カスタムプロパティ（CSS変数） */
:root {
    --primary-color: #8B7355; /* 落ち着いたブラウン */
    --accent-color: #D4A76A; /* 温かみのあるゴールドベージュ */
    --secondary-color: #F4E4C1; /* 明るいベージュ */
    --dark-gray: #4A4A4A;
    --light-gray: #FAF8F3; /* オフホワイト */
    --white: #ffffff;
    --text-dark: #3C3C3C;
    --text-light: #6B6B6B;
    --background-beige: #FBF7F0; /* 背景用の薄いベージュ */
    --shadow: 0 4px 6px rgba(139, 115, 85, 0.1);
    --shadow-hover: 0 8px 16px rgba(139, 115, 85, 0.2);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 基本スタイル */
body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    background-color: var(--background-beige);
}

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

/* ローディング画面 */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--secondary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s;
}

.loading-screen.hidden {
    opacity: 0;
    pointer-events: none;
}

.loader {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(212, 167, 106, 0.3);
    border-top-color: var(--accent-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ヒーローセクション */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: var(--text-dark);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--light-gray) 100%);
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23D4A76A" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    z-index: -1;
}

.hero-content {
    text-align: center;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.title-line {
    display: block;
    animation: slideIn 0.8s ease-out backwards;
}

.title-line:nth-child(2) {
    animation-delay: 0.2s;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: 2.5rem;
    color: var(--text-dark);
    opacity: 0.9;
    animation: fadeIn 1s ease-out 0.5s backwards;
}

/* CTAボタン */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 40px;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(212, 167, 106, 0.3);
    border: none;
    cursor: pointer;
    animation: pulse 2s infinite;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(212, 167, 106, 0.4);
}

.cta-arrow {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

/* スクロールインジケーター */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 50px;
    border: 2px solid var(--accent-color);
    border-radius: 25px;
}

.scroll-indicator span {
    display: block;
    width: 6px;
    height: 6px;
    background: var(--accent-color);
    margin: 10px auto 0;
    border-radius: 50%;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(20px); opacity: 0; }
}

/* セクション共通スタイル */
section {
    padding: 80px 0;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
}

/* 問題提起セクション */
.problems-section {
    background-color: var(--white);
    color: var(--text-dark);
}

.problem-intro {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.problem-lead {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.emphasis {
    color: var(--accent-color);
    font-weight: 700;
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 3rem;
}

.problem-card {
    background: var(--light-gray);
    border: 1px solid rgba(212, 167, 106, 0.2);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.problem-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
    box-shadow: 0 20px 40px rgba(212, 167, 106, 0.2);
}

.problem-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.problem-icon svg {
    width: 48px;
    height: 48px;
    fill: var(--white);
}

.problem-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.problem-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* ストーリーセクション */
.story-section {
    background: linear-gradient(180deg, var(--background-beige) 0%, var(--light-gray) 100%);
    color: var(--text-dark);
}

.story-timeline {
    max-width: 800px;
    margin: 0 auto;
}

.story-image {
    text-align: center;
    margin-top: 3rem;
}

.story-image img {
    max-width: 300px;
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(139, 115, 85, 0.15);
}

.story-phase {
    position: relative;
    padding: 40px;
    margin-bottom: 40px;
    background: var(--white);
    border: 1px solid rgba(212, 167, 106, 0.2);
    border-radius: 20px;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(139, 115, 85, 0.1);
}

.story-phase:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(139, 115, 85, 0.15);
}

.phase-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.turning-point {
    background: linear-gradient(135deg, rgba(244, 228, 193, 0.3), rgba(212, 167, 106, 0.1));
    border-color: var(--accent-color);
}

.turning-point .phase-title {
    color: var(--accent-color);
}

.after {
    background: linear-gradient(135deg, rgba(212, 167, 106, 0.2), rgba(244, 228, 193, 0.2));
    border-color: var(--primary-color);
}

/* ソリューションセクション */
.solution-section {
    background-color: var(--white);
    color: var(--text-dark);
    position: relative;
}

.solution-logo {
    text-align: center;
    margin-bottom: 3rem;
}

.solution-logo img {
    max-width: 300px;
    height: auto;
}

.solution-lead {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.solution-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 3rem;
}

.step-item {
    text-align: center;
    padding: 40px 30px;
    background: var(--light-gray);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(139, 115, 85, 0.1);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.step-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
}

.step-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(139, 115, 85, 0.15);
}

.step-number {
    display: inline-block;
    padding: 10px 25px;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    color: var(--white);
    border-radius: 50px;
    font-weight: 700;
    margin-bottom: 20px;
}

.step-item h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.solution-support {
    text-align: center;
    font-size: 1.1rem;
    padding: 30px;
    background: linear-gradient(135deg, rgba(244, 228, 193, 0.3), rgba(212, 167, 106, 0.1));
    border-radius: 20px;
    margin-top: 3rem;
}

.solution-illustration {
    text-align: center;
    margin-top: 3rem;
}

.solution-illustration img {
    max-width: 350px;
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(139, 115, 85, 0.15);
}

.solution-image {
    text-align: center;
    margin-top: 3rem;
}

.solution-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(139, 115, 85, 0.15);
}

/* ベネフィットセクション */
.benefits-section {
    background: var(--light-gray);
    color: var(--text-dark);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.benefit-card {
    padding: 40px 30px;
    background: var(--white);
    border: 1px solid rgba(212, 167, 106, 0.2);
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(139, 115, 85, 0.1);
}

.benefit-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s;
}

.benefit-card:hover::after {
    transform: scaleX(1);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(139, 115, 85, 0.15);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-icon svg {
    width: 48px;
    height: 48px;
    fill: var(--white);
}

.benefit-card h3 {
    font-size: 1.3rem;
    line-height: 1.6;
    color: var(--primary-color);
}

/* イラスト画像セクション */
.illustration-section {
    background: var(--white);
    padding: 60px 0;
}

.illustration-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.illustration-item {
    text-align: center;
}

.illustration-item img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(139, 115, 85, 0.15);
    transition: var(--transition);
}

.illustration-item img:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(139, 115, 85, 0.2);
}

/* ターゲットセクション */
.target-section {
    background: linear-gradient(180deg, var(--light-gray) 0%, var(--white) 100%);
    color: var(--text-dark);
}

.target-list {
    max-width: 800px;
    margin: 0 auto;
}

.target-image {
    text-align: center;
    margin-top: 3rem;
}

.target-image img {
    max-width: 350px;
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(139, 115, 85, 0.15);
}

.target-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px 30px;
    margin-bottom: 20px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(139, 115, 85, 0.1);
    transition: var(--transition);
    border: 1px solid rgba(212, 167, 106, 0.2);
}

.target-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(139, 115, 85, 0.15);
    border-color: var(--accent-color);
}

.target-item svg {
    width: 24px;
    height: 24px;
    fill: var(--accent-color);
    flex-shrink: 0;
}

.target-item p {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-dark);
}

/* 中間CTAセクション */
.middle-cta-section {
    background: linear-gradient(135deg, #f5f3f0 0%, #ebe8e4 100%);
    padding: 80px 0;
    text-align: center;
}

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

.middle-cta-content h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.middle-cta-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--text-gray);
}

/* 価格セクション */
.pricing-section {
    background: linear-gradient(180deg, var(--primary-color) 0%, #6B5A45 100%);
    color: var(--white);
}

.pricing-card {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid var(--accent-color);
    border-radius: 30px;
    padding: 60px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: '限定価格';
    position: absolute;
    top: 30px;
    right: -30px;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    color: var(--white);
    padding: 10px 60px;
    transform: rotate(45deg);
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.price-tag {
    margin-bottom: 50px;
}

.market-price {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: line-through;
    display: block;
    margin-bottom: 10px;
}

.original-price {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: line-through;
    display: block;
    margin-bottom: 20px;
}

.special-price {
    margin-bottom: 20px;
}

.price-label {
    display: block;
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.price-amount {
    font-size: 4rem;
    font-weight: 900;
    color: var(--white);
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.price-discount {
    font-size: 1.5rem;
    color: var(--secondary-color);
    font-weight: 700;
    margin-left: 20px;
}

.price-per-day {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 20px;
}

.bonus-list {
    text-align: left;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
}

.bonus-list h3 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--secondary-color);
}

.bonus-list ul {
    list-style: none;
}

.bonus-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.bonus-list li:last-child {
    border-bottom: none;
}

.bonus-list svg {
    width: 24px;
    height: 24px;
    fill: var(--secondary-color);
    flex-shrink: 0;
    margin-top: 2px;
}

.bonus-note {
    text-align: center;
    margin-top: 20px;
    color: var(--secondary-color);
    font-weight: 700;
}

/* 保証セクション */
.guarantee-section {
    background: var(--white);
    color: var(--text-dark);
}

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

.guarantee-item {
    text-align: center;
    padding: 40px 30px;
    background: var(--light-gray);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(139, 115, 85, 0.1);
    transition: var(--transition);
    border: 1px solid rgba(212, 167, 106, 0.2);
}

.guarantee-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(139, 115, 85, 0.15);
    border-color: var(--accent-color);
}

.guarantee-item h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.guarantee-item p {
    color: var(--text-light);
    line-height: 1.8;
}

/* 最終CTAセクション */
.final-cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--white);
    text-align: center;
    padding: 100px 0;
}

.final-cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    line-height: 1.5;
}

.final-cta-section p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.final-cta-button {
    font-size: 1.3rem;
    padding: 25px 60px;
    background: var(--white);
    color: var(--primary-color);
}

.final-cta-button:hover {
    background: var(--secondary-color);
}

/* 購入フローセクション */
.flow-section {
    background: linear-gradient(180deg, var(--light-gray) 0%, var(--white) 100%);
    color: var(--text-dark);
}

.flow-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    position: relative;
}

.flow-step {
    text-align: center;
    padding: 40px 30px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(139, 115, 85, 0.1);
    transition: var(--transition);
    position: relative;
    border: 1px solid rgba(212, 167, 106, 0.2);
}

.flow-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(139, 115, 85, 0.15);
    border-color: var(--accent-color);
}

.flow-number {
    display: inline-block;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.5rem;
    margin: 0 auto 20px;
}

.flow-step h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.flow-step p {
    color: var(--text-light);
}

/* フッター */
.footer {
    background: var(--primary-color);
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    padding: 40px 0;
}

.footer-links {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s;
}

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

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .problems-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .solution-steps {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .illustration-grid {
        grid-template-columns: 1fr;
    }
    
    .flow-steps {
        grid-template-columns: 1fr;
    }
    
    .price-amount {
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    section {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .cta-button {
        padding: 12px 30px;
        font-size: 1rem;
    }
    
    .pricing-card {
        padding: 40px 20px;
    }
}