/* Popi Premium Design Style */
/* ========================================= */

/* Base Settings */
:root {
    --pp-bg: #FFFAF5;
    --pp-text: #2D3436;
    --pp-accent: #E67E22;
    --pp-accent-dark: #D35400;
    --pp-green: #27ae60;
    --pp-green-dark: #1e8449;
    --pp-gradient: linear-gradient(135deg, #E67E22 0%, #F39C12 50%, #27ae60 100%);
    --pp-gradient-warm: linear-gradient(135deg, #FDF2E9 0%, #E8F8F5 100%);
    --pp-font-serif: 'Cormorant Garamond', serif;
    --pp-font-sans: 'Noto Sans JP', sans-serif;
    --pp-easing: cubic-bezier(0.25, 1, 0.5, 1);
    --pp-shadow-soft: 0 8px 30px rgba(0, 0, 0, 0.04);
    --pp-shadow-hover: 0 16px 40px rgba(0, 0, 0, 0.08);
}

body.popi-body {
    background-color: var(--pp-bg);
    color: var(--pp-text);
    font-family: var(--pp-font-sans);
    overflow-x: hidden;
}

/* Typography */
.pp-title {
    font-family: var(--pp-font-serif);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.pp-text-serif {
    font-family: var(--pp-font-serif);
    font-style: italic;
}

.pp-label {
    font-size: 1.1rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--pp-accent);
    font-family: var(--pp-font-serif);
    font-weight: 600;
}

/* ========================================= */
/* Hero Section */
/* ========================================= */
.pp-hero {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #4a2c0a 0%, #E67E22 40%, #27ae60 100%);
}

.pp-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.2;
    background: url('../picture/popi_hero_bg.png') no-repeat center center;
    background-size: cover;
    filter: grayscale(30%);
}

.pp-hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
    padding: 0 20px;
    max-width: 800px;
}

.pp-hero-title {
    font-size: 5rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #FFE0B2 0%, #FFFFFF 50%, #A5D6A7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    display: inline-block;
    padding: 16px 20px;
    filter:
        drop-shadow(0 0 6px rgba(0, 0, 0, 0.5))
        drop-shadow(0 0 15px rgba(0, 0, 0, 0.3))
        drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}

.pp-hero-subtitle {
    font-size: 1.2rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 0.9;
    font-family: var(--pp-font-serif);
}

.pp-hero-catchcopy {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.7;
    margin-bottom: 16px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.pp-hero-desc {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
    line-height: 1.8;
}

/* ========================================= */
/* Sections */
/* ========================================= */
.pp-section {
    padding: 100px 0;
    position: relative;
}

.pp-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px;
}

.pp-section-header {
    text-align: center;
    margin-bottom: 60px;
}

.pp-section-header h2 {
    font-size: 2.5rem;
    margin-top: 10px;
    color: var(--pp-text);
}

/* ========================================= */
/* Philosophy */
/* ========================================= */
.pp-philosophy {
    text-align: center;
    max-width: 750px;
    margin: 0 auto;
}

.pp-philosophy-text {
    font-size: 1.5rem;
    line-height: 2;
    font-feature-settings: "palt";
    color: #444;
}

.pp-philosophy-highlight {
    color: var(--pp-accent);
    font-weight: 700;
}

/* ========================================= */
/* Feature Cards */
/* ========================================= */
.pp-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
}

.pp-feature-card {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--pp-shadow-soft);
    border-top: 4px solid var(--pp-accent);
    transition: transform 0.4s var(--pp-easing), box-shadow 0.4s var(--pp-easing);
}

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

.pp-feature-card h3 {
    font-size: 1.4rem;
    color: var(--pp-accent);
    margin-bottom: 20px;
    font-weight: 700;
}

.pp-feature-card ul {
    list-style: none;
    padding: 0;
    line-height: 2;
}

.pp-feature-card ul li {
    padding-left: 24px;
    position: relative;
    margin-bottom: 8px;
}

.pp-feature-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--pp-green);
    font-weight: 700;
}

/* ========================================= */
/* Tags */
/* ========================================= */
.pp-tag-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
}

.pp-tag {
    background: linear-gradient(135deg, #E8F8F5 0%, #e1f7d5 100%);
    color: var(--pp-green-dark);
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: transform 0.3s ease;
}

.pp-tag:hover {
    transform: scale(1.05);
}

/* ========================================= */
/* Gallery / Reasons */
/* ========================================= */
.pp-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.pp-gallery-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.pp-gallery-text h3 {
    font-size: 1.6rem;
    margin-bottom: 16px;
    font-weight: 700;
    color: var(--pp-text);
}

.pp-gallery-text p {
    color: #555;
    line-height: 1.8;
}

/* ========================================= */
/* Reason Items */
/* ========================================= */
.pp-reason-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.pp-reason-item {
    background: white;
    padding: 30px;
    border-radius: 16px;
    border-left: 5px solid var(--pp-accent);
    box-shadow: var(--pp-shadow-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pp-reason-item:hover {
    transform: translateX(4px);
    box-shadow: var(--pp-shadow-hover);
}

.pp-reason-item.green {
    border-left-color: var(--pp-green);
}

.pp-reason-item h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.pp-reason-item h4 .num {
    color: var(--pp-accent);
    font-family: var(--pp-font-serif);
    font-size: 1.4rem;
    margin-right: 8px;
}

.pp-reason-item.green h4 .num {
    color: var(--pp-green);
}

/* ========================================= */
/* Info Cards */
/* ========================================= */
.pp-info-card {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--pp-shadow-soft);
    margin-bottom: 30px;
}

.pp-info-card h3 {
    color: var(--pp-accent);
    font-size: 1.3rem;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #FDF2E9;
}

/* ========================================= */
/* Contact Cards (for external agencies) */
/* ========================================= */
.pp-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.pp-contact-card {
    background: #f9f9f9;
    padding: 20px 24px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pp-contact-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
}

.pp-contact-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #E67E22, #F39C12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    color: white;
}

.pp-contact-card .name {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 4px;
}

.pp-contact-card .tel {
    color: var(--pp-accent);
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
}

.pp-contact-card .tel:hover {
    text-decoration: underline;
}

/* ========================================= */
/* Step Flow */
/* ========================================= */
.pp-step-flow {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 700px;
    margin: 0 auto;
}

.pp-step-item {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding: 28px 0;
    border-bottom: 1px solid #eee;
}

.pp-step-item:last-child {
    border-bottom: none;
}

.pp-step-number {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #E67E22 0%, #F39C12 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--pp-font-serif);
    font-size: 1.2rem;
    font-weight: 700;
}

.pp-step-body h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--pp-text);
}

.pp-step-body p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.7;
    margin: 0;
}

/* ========================================= */
/* CTA Button */
/* ========================================= */
.pp-cta-btn {
    display: inline-block;
    padding: 18px 50px;
    background: linear-gradient(135deg, #E67E22 0%, #F39C12 100%);
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    border-radius: 50px;
    border: none;
    transition: all 0.3s var(--pp-easing);
    box-shadow: 0 8px 20px rgba(230, 126, 34, 0.3);
}

.pp-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(230, 126, 34, 0.4);
}

.pp-cta-btn.green {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    box-shadow: 0 8px 20px rgba(39, 174, 96, 0.3);
}

.pp-cta-btn.green:hover {
    box-shadow: 0 12px 28px rgba(39, 174, 96, 0.4);
}

.pp-cta-btn.outline {
    background: transparent;
    border: 2px solid var(--pp-accent);
    color: var(--pp-accent);
    box-shadow: none;
}

.pp-cta-btn.outline:hover {
    background: var(--pp-accent);
    color: white;
    box-shadow: 0 8px 20px rgba(230, 126, 34, 0.3);
}

/* ========================================= */
/* Teaser Card (for linking to sub-pages) */
/* ========================================= */
.pp-teaser {
    background: white;
    border-radius: 16px;
    padding: 50px;
    box-shadow: var(--pp-shadow-soft);
    display: flex;
    align-items: center;
    gap: 40px;
    transition: transform 0.4s var(--pp-easing), box-shadow 0.4s var(--pp-easing);
    text-decoration: none;
    color: var(--pp-text);
}

.pp-teaser:hover {
    transform: translateY(-4px);
    box-shadow: var(--pp-shadow-hover);
}

.pp-teaser-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--pp-gradient-warm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    flex-shrink: 0;
}

.pp-teaser-body h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--pp-text);
}

.pp-teaser-body p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 12px;
}

.pp-teaser-link {
    color: var(--pp-accent);
    font-weight: 700;
    text-decoration: none;
}

/* ========================================= */
/* Document Download */
/* ========================================= */
.pp-download-card {
    background: linear-gradient(135deg, #FDF2E9 0%, #FFFFFF 100%);
    border: 2px solid #F39C12;
    border-radius: 16px;
    padding: 30px 40px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: var(--pp-text);
}

.pp-download-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(243, 156, 18, 0.15);
}

.pp-download-icon {
    width: 56px;
    height: 56px;
    background: var(--pp-accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    color: white;
}

/* ========================================= */
/* Alert Box */
/* ========================================= */
.pp-alert {
    background: linear-gradient(135deg, #e1f7d5 0%, #E8F8F5 100%);
    padding: 20px 28px;
    border-radius: 12px;
    border-left: 4px solid var(--pp-green);
}

.pp-alert strong {
    color: var(--pp-green-dark);
}

/* ========================================= */
/* Area Section */
/* ========================================= */
.pp-area-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.pp-area-badge {
    padding: 16px 24px;
    border-radius: 12px;
    margin-bottom: 16px;
}

.pp-area-badge.primary {
    background: linear-gradient(135deg, #FFF3CD 0%, #FFE0B2 100%);
}

.pp-area-badge.secondary {
    background: #f0f0f0;
}

.pp-area-badge p {
    font-weight: 700;
    font-size: 1.1rem;
    margin: 0;
}

/* ========================================= */
/* Table */
/* ========================================= */
.pp-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    border-radius: 12px;
    overflow: hidden;
}

.pp-table th,
.pp-table td {
    border: 1px solid #eee;
    padding: 14px 18px;
    text-align: left;
}

.pp-table th {
    background: linear-gradient(135deg, #FDF2E9 0%, #fcf3e6 100%);
    color: var(--pp-accent);
    font-weight: 700;
    white-space: nowrap;
}

/* ========================================= */
/* Footer (ME RIGHT quality) */
/* ========================================= */
.pp-footer {
    background: #1a1a2e;
    color: #b2bec3;
    padding: 50px 0 30px;
    font-size: 0.9rem;
    line-height: 1.8;
}

.pp-footer-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.pp-footer-col {
    flex: 1;
    min-width: 200px;
}

.pp-footer-col h4 {
    color: white;
    margin-bottom: 15px;
    font-size: 1rem;
}

.pp-footer-col a {
    color: #b2bec3;
    text-decoration: none;
    transition: color 0.2s;
}

.pp-footer-col a:hover {
    color: white;
}

.pp-footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
}

/* ========================================= */
/* Mobile Fixed CTA */
/* ========================================= */
.pp-mobile-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background: white;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    padding: 8px 10px;
    gap: 6px;
}

.pp-mobile-cta a {
    flex: 1;
    text-align: center;
    padding: 12px 8px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 0.85rem;
    text-decoration: none;
    color: white;
}

/* ========================================= */
/* Responsive */
/* ========================================= */
@media (max-width: 768px) {
    .pp-hero {
        height: auto;
        min-height: 100vh;
        padding: 120px 0 80px;
    }

    .pp-hero-title {
        font-size: 3rem !important;
    }

    .pp-hero-catchcopy {
        font-size: 1.25rem !important;
    }

    .pp-section {
        padding: 60px 0;
    }

    .pp-container {
        padding: 0 20px;
    }

    .pp-section-header h2 {
        font-size: 1.8rem;
    }

    .pp-features-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .pp-feature-card {
        padding: 28px;
    }

    .pp-gallery {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .pp-gallery.reverse {
        direction: ltr !important;
    }

    .pp-gallery-text,
    .pp-gallery-item {
        direction: ltr !important;
    }

    .pp-area-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .pp-teaser {
        flex-direction: column;
        text-align: center;
        padding: 30px 24px;
    }

    .pp-reason-list {
        grid-template-columns: 1fr;
    }

    .pp-contact-grid {
        grid-template-columns: 1fr;
    }

    .pp-philosophy-text {
        font-size: 1.2rem;
    }

    .pp-step-item {
        gap: 16px;
    }

    .pp-step-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .pp-cta-btn {
        width: 100%;
        text-align: center;
        padding: 16px 30px;
    }

    .pp-download-card {
        flex-direction: column;
        text-align: center;
    }

    .pp-info-card {
        padding: 28px 24px;
    }

    .pp-footer-grid {
        flex-direction: column;
        gap: 30px;
    }
}

/* Lenis Recommended CSS (shared) */
html.lenis {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-scrolling iframe {
    pointer-events: none;
}
