/* ============================================
   月間デリバリー収支 — 共通スタイルシート
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;600;700;900&display=swap');

:root {
    --primary: #3B7DFF;
    --primary-dark: #2B5FC7;
    --accent: #FF9500;
    --accent-green: #34C759;
    --bg: #F8FAFF;
    --bg-card: #FFFFFF;
    --text: #1A1A2E;
    --text-secondary: #6B7280;
    --shadow: 0 4px 24px rgba(59, 125, 255, 0.08);
    --shadow-lg: 0 12px 48px rgba(59, 125, 255, 0.12);
    --radius: 16px;
    --radius-sm: 10px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

/* ---- Layout ---- */
.container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    box-shadow: 0 4px 16px rgba(59, 125, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(59, 125, 255, 0.4);
}

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

.btn-outline:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

/* ---- Navigation ---- */
.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(248, 250, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(59, 125, 255, 0.08);
    padding: 16px 0;
}

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

.nav-logo {
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-logo span {
    font-size: 1.5rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

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

/* ---- Hero ---- */
.hero {
    padding: 80px 0 60px;
    background: linear-gradient(180deg, #EBF1FF 0%, var(--bg) 100%);
    overflow: hidden;
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 2.6rem;
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 20px;
}

.hero-text h1 .highlight {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.9;
}

.hero-image {
    flex: 0 0 320px;
}

.hero-image img {
    width: 100%;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* ---- App Description ---- */
.app-description {
    padding: 60px 0 40px;
    background: var(--bg);
}

.app-description-lead {
    font-size: 1.5rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 16px;
    color: var(--text);
}

.app-description > .container > p {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 32px;
}

.app-description-recommend {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 28px 32px;
    margin-bottom: 40px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(59, 125, 255, 0.06);
}

.app-description-recommend h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--primary);
}

.app-description-recommend ul {
    list-style: none;
    padding: 0;
}

.app-description-recommend ul li {
    padding: 6px 0 6px 24px;
    position: relative;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.app-description-recommend ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-green);
    font-weight: 700;
}

.app-description-section-title {
    font-size: 1.3rem;
    font-weight: 900;
    margin-bottom: 20px;
    color: var(--text);
}

.app-description-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
}

.app-desc-feature {
    background: var(--bg-card);
    border-radius: var(--radius-sm);
    padding: 24px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease;
}

.app-desc-feature:hover {
    transform: translateY(-2px);
}

.app-desc-feature.premium {
    border-left: 3px solid var(--accent);
    background: linear-gradient(135deg, rgba(255, 149, 0, 0.03), var(--bg-card));
}

.app-desc-feature h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.app-desc-feature p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
}

.app-description-pricing {
    text-align: center;
    background: linear-gradient(135deg, rgba(59, 125, 255, 0.05), rgba(255, 149, 0, 0.05));
    border-radius: var(--radius-sm);
    padding: 20px;
    margin-bottom: 16px;
}

.app-description-pricing p {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text);
}

/* ---- Features ---- */
.features {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 12px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 48px;
    font-size: 1.05rem;
}

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

.feature-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 36px 28px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid rgba(59, 125, 255, 0.06);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 18px;
}

.feature-icon.blue { background: rgba(59, 125, 255, 0.1); }
.feature-icon.green { background: rgba(52, 199, 89, 0.1); }
.feature-icon.orange { background: rgba(255, 149, 0, 0.1); }
.feature-icon.purple { background: rgba(175, 82, 222, 0.1); }

.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

.premium-badge {
    display: inline-block;
    margin-top: 8px;
    font-size: 0.8rem !important;
    font-weight: 600;
    color: var(--accent) !important;
    background: rgba(255, 149, 0, 0.08);
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: 0.02em;
}

/* ---- CTA ---- */
.cta {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    border-radius: var(--radius);
    margin: 0 24px 60px;
}

.cta h2 {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 16px;
}

.cta p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 32px;
}

.btn-white {
    background: #fff;
    color: var(--primary);
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.15);
}

/* ---- Footer ---- */
.footer {
    padding: 40px 0;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 16px;
    list-style: none;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

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

/* ============================================
   Help Page Styles
   ============================================ */

.help-hero {
    padding: 48px 0 32px;
    text-align: center;
    background: linear-gradient(180deg, #EBF1FF 0%, var(--bg) 100%);
}

.help-hero h1 {
    font-size: 2rem;
    font-weight: 900;
}

.help-hero p {
    color: var(--text-secondary);
    margin-top: 8px;
}

.help-content {
    padding: 40px 0 80px;
}

.help-section {
    margin-bottom: 32px;
}

.help-section h2 {
    font-size: 1.3rem;
    font-weight: 700;
    padding: 16px 0 8px;
    border-bottom: 2px solid var(--primary);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Accordion FAQ */
.faq-item {
    background: var(--bg-card);
    border-radius: var(--radius-sm);
    margin-bottom: 8px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 18px 24px;
    background: none;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    color: var(--text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    transition: background 0.2s;
}

.faq-question:hover {
    background: rgba(59, 125, 255, 0.03);
}

.faq-question::after {
    content: '＋';
    font-size: 1.2rem;
    color: var(--primary);
    transition: transform 0.3s;
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-item.open .faq-question::after {
    content: '−';
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.open .faq-answer {
    max-height: 600px;
    padding: 0 24px 20px;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 0.95rem;
}

.faq-answer ul {
    margin: 8px 0 8px 20px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.faq-answer ul li {
    margin-bottom: 4px;
}

.step-list {
    counter-reset: step;
    list-style: none;
    padding: 0;
}

.step-list li {
    counter-increment: step;
    position: relative;
    padding: 16px 16px 16px 60px;
    background: var(--bg-card);
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.step-list li::before {
    content: counter(step);
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.contact-box {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 32px;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid rgba(59, 125, 255, 0.08);
}

.contact-box h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.contact-box p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.contact-box a.btn {
    font-size: 0.95rem;
}

/* ============================================
   Privacy Policy Page Styles
   ============================================ */

.privacy-container {
    max-width: 800px;
}

.privacy-intro {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 40px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.privacy-section {
    margin-bottom: 32px;
}

.privacy-section h2 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
    padding-left: 14px;
    border-left: 3px solid var(--primary);
}

.privacy-section p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 8px;
}

.privacy-section ul {
    margin: 12px 0 12px 20px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
}

.privacy-section ul li {
    margin-bottom: 4px;
}

.privacy-note {
    font-size: 0.9rem !important;
    color: var(--text-secondary);
    opacity: 0.8;
    margin-top: 4px;
}

.privacy-email {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.2s;
}

.privacy-email:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.privacy-effective-date {
    text-align: right;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .hero .container {
        flex-direction: column-reverse;
        text-align: center;
        gap: 32px;
    }
    
    .hero-image {
        flex: 0 0 auto;
        max-width: 240px;
    }
    
    .hero-text h1 {
        font-size: 1.8rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .nav-links {
        gap: 16px;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .cta {
        margin: 0 12px 40px;
        padding: 48px 20px;
        border-radius: var(--radius-sm);
    }
    
    .cta h2 {
        font-size: 1.5rem;
    }
}
