/* ===================================================================
   FEEDBACK APPRECIATION LP - STYLESHEET
   =================================================================== */

/* --- CUSTOM PROPERTIES (VARIABLES) --- */
:root {
    --primary-color: #1a365d; /* 深い紺色 */
    --secondary-color: #3182ce; /* 明るい青 */
    --accent-color: #ed8936; /* アクセントのオレンジ */
    --background-color: #f7fafc; /* 明るいグレーの背景 */
    --card-background: #ffffff; /* カードの背景色 */
    --text-color: #4a5568; /* 標準テキスト色 */
    --text-light: #f7fafc;
    --font-family-base: 'Noto Sans JP', sans-serif;
    --font-family-headings: 'M PLUS Rounded 1c', sans-serif;
    --shadow-card: 0 4px 16px rgba(26, 54, 93, 0.08);
    --shadow-hover: 0 8px 32px rgba(26, 54, 93, 0.12);
    --border-radius: 12px;
}

/* --- BASE & RESET --- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-family-base);
    color: var(--text-color);
    background-color: var(--background-color);
    line-height: 1.7;
    font-size: 16px;
}

/* --- ACCESSIBILITY --- */
.skip-nav {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.skip-nav:focus {
    position: static;
    width: auto;
    height: auto;
    padding: 10px;
    background: var(--accent-color);
    color: white;
    text-decoration: none;
    font-weight: 700;
}

/* --- LAYOUT --- */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}
main section {
    padding: clamp(60px, 8vw, 100px) 0;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4 {
    font-family: var(--font-family-headings);
    font-weight: 700;
    color: var(--primary-color);
}
.section-title {
    font-size: clamp(24px, 4vw, 36px);
    text-align: center;
    margin-bottom: 1rem;
}
.section-intro, .section-conclusion {
    font-size: 1.1rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem auto;
}
.accent-text { color: var(--accent-color); }

/* --- HERO SECTION --- */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--text-light);
    text-align: center;
    padding: clamp(80px, 15vh, 120px) 20px;
}
.hero-container { max-width: 900px; margin: 0 auto; }
.hero-badge { 
    display: inline-block; 
    background: var(--accent-color); 
    color: white; 
    padding: 5px 15px; 
    border-radius: 20px; 
    font-size: 0.9rem; 
    font-weight: 700; 
    margin-bottom: 1.5rem; 
}
.hero-title { font-size: clamp(28px, 5vw, 48px); color: white; margin-bottom: 1rem; }
.hero-subtitle { font-size: 1.1rem; max-width: 750px; margin: 0 auto 2.5rem auto; opacity: 0.9; }
.hero-cta { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* --- BUTTONS --- */
.cta-primary, .cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-family-headings);
    font-weight: 700;
    font-size: 1rem;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}
.cta-primary { background-color: var(--accent-color); color: white; }
.cta-primary:hover { background-color: #d6731f; transform: translateY(-3px); }
.cta-secondary { background-color: transparent; color: white; border-color: white; }
.cta-secondary:hover { background-color: white; color: var(--primary-color); transform: translateY(-3px); }

/* --- PROBLEM SECTION --- */
.problem-section { background-color: var(--card-background); }
.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0;
}
.problem-card {
    background: var(--background-color);
    padding: 20px;
    border-radius: var(--border-radius);
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow-card);
    transition: transform 0.3s, box-shadow 0.3s;
}
.problem-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.problem-card .fas { color: var(--secondary-color); font-size: 1.5rem; }

/* --- DIFFERENTIATOR SECTION --- */
.differentiator-section { background-color: var(--primary-color); }
.differentiator-section .section-title, .differentiator-section .section-intro { color: white; }
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.feature-card {
    background: var(--card-background);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-card);
}
.feature-card .card-icon { font-size: 2.5rem; color: var(--secondary-color); margin-bottom: 1.5rem; }
.feature-card h3 { font-size: 1.25rem; margin-bottom: 1rem; }

/* --- BOOK FEATURE SECTION --- */
.book-feature-section { background-color: var(--background-color); }
.book-card {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    align-items: center;
    background: var(--card-background);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-card);
}
.book-image img { width: 100%; border-radius: 8px; box-shadow: 0 5px 20px rgba(0,0,0,0.1); }
.book-category { font-weight: 700; color: var(--accent-color); margin-bottom: 0.5rem; display: block; }
.book-title { font-size: 1.8rem; margin-bottom: 1rem; }
.book-author { margin-bottom: 1rem; font-weight: 500; }
.book-description { margin-bottom: 1.5rem; }
.book-price { font-size: 1.2rem; font-weight: 700; margin-bottom: 2rem; }
.book-price span { font-size: 0.9rem; opacity: 0.8; margin-left: 5px; }
.book-actions { display: flex; gap: 1rem; }

/* --- BENEFITS SECTION --- */
.benefits-section { background-color: var(--card-background); }
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}
.benefit-card { text-align: center; padding: 2rem; }
.benefit-card .card-icon { font-size: 3rem; color: var(--secondary-color); margin-bottom: 1rem; }
.benefit-card h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }

/* --- FINAL CTA & FORM --- */
.final-cta { background-color: var(--background-color); text-align: center; }
.cta-title { font-size: clamp(24px, 4vw, 32px); margin-bottom: 1rem; }
.cta-description { margin-bottom: 3rem; }
.google-form-wrapper { max-width: 800px; margin: 0 auto; }

/* --- FOOTER --- */
.site-footer {
    background-color: #1a202c;
    color: var(--text-light);
    padding: 40px 20px;
    text-align: center;
}
.footer-logo { max-width: 150px; margin: 0 auto 1rem auto; }
.footer-description { margin-bottom: 2rem; opacity: 0.8; }
.copyright { font-size: 0.9rem; opacity: 0.7; }

/* --- PAGE TOP BUTTON --- */
.page-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--secondary-color);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: none; /* JSで制御 */
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}
.page-top:hover { background-color: var(--primary-color); transform: translateY(-3px); }

/* --- ANIMATIONS --- */
.animate-fade-in { animation: fadeIn 1s ease-out forwards; }
.animate-fade-in-delay { animation: fadeIn 1s 0.3s ease-out forwards; opacity: 0; }
.animate-fade-in-delay-2 { animation: fadeIn 1s 0.6s ease-out forwards; opacity: 0; }
.fade-in-card { opacity: 0; transition: opacity 0.6s, transform 0.6s; transform: translateY(30px); }
.fade-in-card.animate-fade-in { opacity: 1; transform: translateY(0); }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .book-card { grid-template-columns: 1fr; text-align: center; }
    .book-image { max-width: 250px; margin: 0 auto 2rem auto; }
    .book-actions { justify-content: center; }
}
