/* landing2.css - ColorfulShift 新LP用スタイル */

:root {
    --primary-color: #4285F4;
    --primary-dark: #3367d6;
    --secondary-color: #34A853;
    --secondary-dark: #2d9249;
    --accent-color: #FBBC05;
    --danger-color: #EA4335;
    --text-color: #333;
    --text-light: #666;
    --text-muted: #999;
    --light-gray: #f8f9fa;
    --border-color: #e0e0e0;
    --white: #ffffff;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.16);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', 'Segoe UI', 'Meiryo UI', sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--white);
}

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

/* ==================== Header ==================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 36px;
    height: 36px;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

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

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

.header-cta-button {
    background: var(--secondary-color) !important;
    color: var(--white) !important;
    padding: 10px 24px !important;
    border-radius: var(--radius-sm);
    transition: background 0.2s, transform 0.2s !important;
}

.header-cta-button:hover {
    background: var(--secondary-dark) !important;
    transform: translateY(-2px);
}

/* ==================== Hero Section ==================== */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f8f9ff 0%, #e8f4f8 100%);
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-color);
    box-shadow: var(--shadow-sm);
    margin-bottom: 20px;
}

.hero-badge-icon {
    font-size: 1.2rem;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 20px;
    color: var(--text-color);
}

.hero-title .highlight {
    color: var(--primary-color);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.8;
}

.hero-benefits {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hero-benefits li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--text-color);
}

.hero-benefits li::before {
    content: "✅";
}

.hero-form-wrapper {
    display: flex;
    justify-content: center;
}

.form-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 420px;
}

.form-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-align: center;
}

.form-subtitle {
    font-size: 0.9rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 25px;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.hero-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

.hero-wave .shape-fill {
    fill: var(--white);
}

/* ==================== Problem Section ==================== */
.problem-section {
    padding: 80px 0;
    background: var(--white);
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 50px;
}

.section-title.center {
    text-align: center;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.problem-card {
    background: var(--light-gray);
    padding: 30px;
    border-radius: var(--radius-md);
    text-align: center;
}

.problem-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.problem-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-color);
}

.problem-text {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
}

.problem-solution {
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f5e9 100%);
    border-radius: var(--radius-lg);
}

.solution-text {
    font-size: 1.2rem;
    line-height: 2;
}

.brand-name {
    color: var(--primary-color);
    font-weight: 700;
}

.solution-highlight {
    color: var(--secondary-color);
    font-weight: 700;
}

/* ==================== Features Section ==================== */
.features-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.feature-row:last-child {
    margin-bottom: 0;
}

.feature-row.reverse {
    direction: rtl;
}

.feature-row.reverse > * {
    direction: ltr;
}

.feature-image {
    display: flex;
    justify-content: center;
}

.feature-img-placeholder {
    width: 100%;
    max-width: 450px;
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
}

.feature-img-placeholder.premium-placeholder {
    background: linear-gradient(135deg, #fff8e1 0%, #ffecb3 100%);
}

.feature-img-placeholder span {
    font-size: 1.2rem;
    color: var(--text-light);
    text-align: center;
    line-height: 1.6;
}

.feature-content {
    padding: 20px 0;
}

.feature-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    opacity: 0.3;
    margin-bottom: 10px;
}

.feature-title {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 20px;
    color: var(--text-color);
}

.feature-text {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.9;
    margin-bottom: 15px;
}

.premium-tag {
    display: inline-block;
    background: var(--accent-color);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

/* ==================== Pricing Section ==================== */
.pricing-section {
    padding: 80px 0;
    background: var(--white);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-top: -30px;
    margin-bottom: 40px;
}

.section-subtitle.center {
    text-align: center;
}

.pricing-trial-banner {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-dark) 100%);
    color: var(--white);
    padding: 30px 40px;
    border-radius: var(--radius-lg);
    text-align: center;
    margin-bottom: 50px;
}

.trial-badge-large {
    display: inline-block;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.trial-text-large {
    font-size: 1rem;
    opacity: 0.95;
    line-height: 1.7;
}

.highlight-text {
    background: rgba(255,255,255,0.2);
    padding: 2px 8px;
    border-radius: 4px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

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

.pricing-card.popular {
    border-color: var(--secondary-color);
    transform: scale(1.03);
}

.pricing-card.popular:hover {
    transform: scale(1.03) translateY(-5px);
}

.popular-badge {
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary-color);
    color: var(--white);
    padding: 6px 20px;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

.pricing-header {
    padding: 40px 30px 20px;
    text-align: center;
}

.pricing-card.popular .pricing-header {
    padding-top: 50px;
}

.plan-name {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-color);
}

.plan-price {
    margin-bottom: 15px;
}

.plan-price .currency {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.plan-price .amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
}

.plan-price .period {
    font-size: 1rem;
    color: var(--text-muted);
}

.plan-desc {
    font-size: 0.9rem;
    color: var(--text-light);
}

.pricing-body {
    padding: 20px 30px;
}

.pricing-body .feature-list {
    list-style: none;
}

.pricing-body .feature-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.95rem;
}

.pricing-body .feature-list li:last-child {
    border-bottom: none;
}

.pricing-body .feature-list li.included::before {
    content: "✅ ";
}

.pricing-body .feature-list li.disabled {
    color: var(--text-muted);
}

.pricing-body .feature-list li.disabled::before {
    content: "❌ ";
}

.pricing-body .feature-list li.highlight-feature {
    color: var(--secondary-color);
}

.pricing-body .feature-list li.highlight-feature::before {
    content: "✅ ";
}

.pricing-footer {
    padding: 20px 30px 30px;
}

.pricing-button {
    display: block;
    width: 100%;
    padding: 16px 24px;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s;
}

.pricing-button.primary {
    background: var(--secondary-color);
    color: var(--white);
}

.pricing-button.primary:hover {
    background: var(--secondary-dark);
}

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

.pricing-button.secondary:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* ==================== FAQ Section ==================== */
.faq-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background: var(--white);
    padding: 25px 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.faq-question {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-color);
}

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

/* ==================== CTA Section ==================== */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
}

.cta-container {
    text-align: center;
}

.cta-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 40px;
    line-height: 1.8;
}

.final-cta-button {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    background: var(--white);
    color: var(--primary-color);
    padding: 20px 50px;
    border-radius: var(--radius-md);
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.final-cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.button-note {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text-light);
    margin-top: 5px;
}

/* ==================== Footer ==================== */
.footer {
    background: #1a1a2e;
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-logo-icon {
    width: 40px;
    height: 40px;
}

.footer-logo-text {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
}

.footer-tagline {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.footer-link-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: rgba(255,255,255,0.8);
    margin-bottom: 5px;
}

.footer-link-group a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-link-group a:hover {
    color: var(--white);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

.copyright {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
}

/* ==================== Authentication Form ==================== */
.authentication {
    background: transparent;
}

.loading-auth {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 30px;
    color: var(--text-light);
}

.spinner {
    width: 30px;
    height: 30px;
    border: 3px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Google Button Override */
.google-button {
    width: 100%;
    padding: 14px 20px;
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.2s;
}

.google-button:hover {
    border-color: var(--primary-color);
    background: #f8f9fa;
}

/* 利用規約同意テキスト */
.auth-terms-notice {
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
    margin-top: 12px;
    line-height: 1.6;
}

.auth-terms-notice a {
    color: var(--primary-color);
    text-decoration: none;
}

.auth-terms-notice a:hover {
    text-decoration: underline;
}

/* ==================== Notification ==================== */
.notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 15px 25px;
    background-color: var(--secondary-color);
    color: white;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
    transform: translateY(100px);
    opacity: 0;
    transition: transform 0.3s, opacity 0.3s;
    z-index: 1000;
    max-width: 80%;
}

.notification.error {
    background-color: var(--danger-color);
}

.notification.visible {
    transform: translateY(0);
    opacity: 1;
}

/* ==================== Loading Overlay ==================== */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.loading-overlay.visible {
    display: flex;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* ==================== Responsive ==================== */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-content {
        text-align: center;
    }

    .hero-benefits {
        align-items: center;
    }

    .feature-row,
    .feature-row.reverse {
        grid-template-columns: 1fr;
        gap: 30px;
        direction: ltr;
    }

    .feature-content {
        text-align: center;
    }

    .feature-number {
        font-size: 2.5rem;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
    }

    .pricing-card.popular {
        transform: none;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-links-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .header-nav {
        display: none;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .form-card {
        padding: 30px 20px;
    }

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

    .section-title {
        font-size: 1.6rem;
    }

    .feature-title {
        font-size: 1.3rem;
    }

    .pricing-trial-banner {
        padding: 25px 20px;
    }

    .trial-badge-large {
        font-size: 1.2rem;
    }

    .cta-title {
        font-size: 1.5rem;
    }

    .final-cta-button {
        padding: 16px 30px;
        font-size: 1rem;
    }

    .footer-links-grid {
        grid-template-columns: 1fr 1fr;
        gap: 25px;
    }
}

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

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-badge {
        font-size: 0.8rem;
    }

    .problem-card {
        padding: 20px;
    }

    .feature-img-placeholder {
        aspect-ratio: 4/3;
    }

    .pricing-header {
        padding: 30px 20px 15px;
    }

    .pricing-body {
        padding: 15px 20px;
    }

    .pricing-footer {
        padding: 15px 20px 25px;
    }

    .footer-links-grid {
        grid-template-columns: 1fr;
    }
}
