/* People Best Page Styles */
.people-best-container {
    max-width: 960px;
    margin: 0 auto;
}

/* Hero Text Section */
.best-hero-text-section {
    text-align: center;
    margin: 30px 0;
    padding: 80px 0;
    background-image: url('/assets/images/peoplebest/best-main-bg.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.main-text p {
    font-size: 48px;
    font-weight: bold;
    color: white;
    margin-bottom: 30px;
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.3;
}

.sub-text p {
    font-size: 24px;
    font-weight: bold;
    color: white;
    font-family: 'Barlow Condensed', sans-serif;
    letter-spacing: 1px;
    margin: 0;
}

.sp-br {
    display: none;
}

/* Description Section */
.best-description {
    text-align: center;
    padding: 30px 20px;
}

/* System Overview Section */
.system-overview-section {
    padding: 60px 0;
    background: transparent;
}

.overview-content {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.overview-visual {
    position: absolute;
    left: 0;
    top: 35%;
    transform: translateY(-50%);
    z-index: 1;
    width: 50%;
}

.overview-visual img {
    max-width: 100%;
    height: auto;
    opacity: 1;
}

.overview-text {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.8;
    color: var(--primary-color);
    font-family: 'Noto Sans JP', sans-serif;
    background: rgba(251, 252, 250, 0.8);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    padding: 40px;
    /*border-radius: 40px;*/
    position: relative;
    z-index: 2;
    width: 62%;
    margin-left: auto;
}

.overview-text p {
    margin-bottom: 20px;
}

.overview-text p:last-child {
    margin-bottom: 0;
}

/* Collaboration Description */
.collaboration-description {
    text-align: center;
    padding: 40px 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.collaboration-description p {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.8;
    color: var(--primary-color);
    font-family: 'Noto Sans JP', sans-serif;
    margin: 0;
}

/* Integration Examples Section */
.integration-examples-section {
    padding: 60px;
    background: rgba(251, 252, 250, 0.8);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

/* PC用レイアウト（769px以上） */
@media (min-width: 769px) {
    .integration-visual-sp { display: none; }
    .integration-visual { display: block; }
    
    .integration-example {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 40px;
        margin-bottom: 40px;
        align-items: center;
    }
}

/* SP用レイアウト（768px以下） */
@media (max-width: 768px) {
    .integration-visual-sp {
        display: block;
        margin-top: 40px;
    }
    .integration-visual { display: none; }
    
    .integration-examples-section {
        padding: 20px 40px;
    }
    
    .integration-example {
        display: flex;
        flex-direction: column;
        gap: 20px;
        margin-bottom: 30px;
    }
}

.integration-visual {
    position: relative;
    text-align: center;
}

.integration-visual-sp {
    position: relative;
    text-align: center;
}

.integration-number {
    position: absolute;
    top: -20px;
    left: -20px;
    font-size: 120px;
    font-weight: 300;
    font-family: 'Barlow Condensed', sans-serif;
    color: rgba(212, 78, 255, 0.1);
    z-index: 1;
}

.integration-visual img {
    max-width: 100%;
    height: auto;
    position: relative;
    z-index: 2;
}

.integration-visual-sp img {
    max-width: 100%;
    height: auto;
}

.integration-text {
    padding: 20px 0;
}

.integration-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    font-family: 'Noto Sans JP', sans-serif;
    color: #aa3fcc;
}

.integration-text p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-family: 'Noto Sans JP', sans-serif;
}

.integration-text p:last-child {
    margin-bottom: 0;
}

.best-description p {
    font-size: 26px;
    font-weight: 600;
    background: linear-gradient(45deg, #aa3fcc 0%, #0092c3 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.8;
    font-family: 'Noto Sans JP', sans-serif;
    margin: 0;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #d44eff 0%, #87deff 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 48px;
    font-weight: 300;
    margin-bottom: 20px;
    font-family: 'Barlow Condensed', sans-serif;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
    line-height: 1.6;
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background: #f8f9fa;
}

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

.feature-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
}

.feature-title {
    font-size: 24px;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-family: 'Noto Sans JP', sans-serif;
}

.feature-description {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

/* Section Titles */
.section-title {
    font-size: 38px;
    font-weight: 300;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 20px;
    font-family: 'Barlow Condensed', sans-serif;
    letter-spacing: 2px;
    position: relative;
}

.section-title::before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -15px;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #d44eff 0%, #87deff 100%);
}

/* Integration Section */
.integration-section {
    padding: 80px 0;
    background: white;
}

/* Analytics Section */
.analytics-section {
    padding: 80px 0;
    background: transparent;
}

.analytics-visual {
    text-align: center;
    margin: 20px 0;
}

.analytics-visual img {
    max-width: 100%;
}

.analytics-list {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.analytics-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.analytics-list ul li {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.8;
    color: var(--primary-color);
    font-family: 'Noto Sans JP', sans-serif;
    margin-bottom: 20px;
    padding-left: 30px;
    position: relative;
}

.analytics-list ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background-image: url('/assets/images/peoplebest/best-icon.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: rgba(251, 252, 250, 0.5);
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .sp-br {
        display: block;
    }
    
    .main-text p {
        font-size: 32px;
    }
    
    .sub-text p {
        font-size: 20px;
    }
    
    .best-description p {
        font-size: 22px;
    }
    
    .overview-content {
        min-height: 300px;
    }
    
    .overview-text {
        width: 100%;
        margin-left: 0;
        font-size: 14px;
    }
    
    .collaboration-description p {
        font-size: 16px;
        line-height: 1.7;
    }
    
    .integration-title {
        font-size: 24px;
    }
    
    .integration-text p {
        font-size: 16px;
    }
    
    .integration-number {
        font-size: 80px;
        top: -10px;
        left: -10px;
    }
    
    .overview-visual {
        width: 70%;
        opacity: 0.5;
        top: 10%;
    }
    
    
    .system-overview-section {
        padding: 40px 0;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .feature-card {
        padding: 30px;
    }
    
    .analytics-list ul li {
        font-size: 16px;
        margin-bottom: 15px;
    }
    
    .analytics-list ul li::before {
        width: 14px;
        height: 14px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .hero-section,
    .features-section,
    .integration-section,
    .analytics-section {
        padding: 50px 0;
    }
    
    .contact-section {
        padding: 20px;
    }
}