/* People Detail Page Styles */

.people-detail-page {
    background: linear-gradient(180deg, #fff 0%, #efefef 100%);
    min-height: 100vh;
}

/* Page Header */
.people-detail-header {
    padding: 120px 60px 0;
}

.people-detail-header__inner {
    max-width: 1161px;
    margin: 0 auto;
}

.people-detail-header__title {
    font-family: 'Futura', 'Noto Sans', sans-serif;
    font-weight: 500;
    font-size: 35px;
    letter-spacing: 0;
    background: linear-gradient(90deg, #492b91 0%, #e70769 19.34%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 75px;
    margin: 0;
}

/* Article Header (above hero) */
.people-detail-article-header {
    padding: 10px 60px 0;
}

.people-detail-article-header__inner {
    max-width: 1161px;
    margin: 0 auto;
}

.people-detail-article-header__title {
    font-family: 'A-OTF Gothic MB101 Pr6N', 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 35px;
    line-height: 50px;
    background: linear-gradient(94.38deg, #322e95 0.32%, #fe0161 41.31%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2.4px;
    font-feature-settings: 'pkna' 1, 'palt' 1;
    margin: 0 0 10px 0;
}

.people-detail-article-header__subtitle {
    font-family: 'A-OTF Gothic MB101 Pr6N', 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 32px;
    line-height: 30px;
    letter-spacing: 2px;
    background: linear-gradient(94.38deg, #322e95 0.32%, #fe0161 41.31%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-feature-settings: 'pkna' 1, 'palt' 1;
    margin: 0 0 10px 0;
}

.people-detail-article-header__position {
    font-family: 'A-OTF Gothic MB101 Pr6N', 'Noto Sans JP', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 32px;
    color: #666;
    margin: 0;
}

/* Hero Image Section */
.people-detail-hero {
    padding: 10px 60px;
}

.people-detail-hero__inner {
    max-width: 600px;
    margin: 0 auto;
}

.people-detail-hero__image-wrapper {
    position: relative;
    width: 100%;
    height: 400px;
    background: #fff;
    overflow: hidden;
}

.people-detail-hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.people-detail-hero__logo {
    position: absolute;
    top: 0px;
    right: 0px;
    width: 128px;
    height: 121px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.people-detail-hero__logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 4px;
}

.people-detail-hero__logo img {
    position: relative;
    z-index: 1;
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

/* Content Section */
.people-detail-content {
    padding: 0 60px 80px;
}

.people-detail-container {
    max-width: 1161px;
    margin: 0 auto;
}

/* Article */
.people-detail-article {
    padding: 0;
}

.people-detail-article__body {
    max-width: 1056px;
    margin: 0 auto;
    font-family: 'A-OTF Gothic MB101 Pr6N', 'Noto Sans JP', sans-serif;
    font-size: 16px;
    line-height: 30px;
    color: #0f2459;
}

.people-detail-article__body p {
    margin-bottom: 0;
}

/* Q&A Style Headings */
.people-detail-article__body h3,
.people-detail-article__body h4 {
    font-family: 'A-OTF Gothic MB101 Pr6N', 'Noto Sans JP', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #0f2459;
    line-height: 36px;
    margin: 10px 0 10px 0;
    padding: 0;
    border: none;
}

/* Inline images in content */
.people-detail-article__body .people-content-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    margin: 20px auto;
    position: relative;
    background: #fff;
    overflow: hidden;
}

.people-detail-article__body .people-content-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.people-detail-article__body ul,
.people-detail-article__body ol {
    margin: 1.5em 0;
    padding-left: 2em;
}

.people-detail-article__body li {
    margin-bottom: 0.5em;
}

.people-detail-article__body a {
    color: #312D96;
    text-decoration: underline;
}

.people-detail-article__body a:hover {
    text-decoration: none;
}

/* Not Found Section */
.people-detail-notfound {
    padding: 120px 60px 80px;
}

.people-detail-notfound p {
    font-family: 'A-OTF Gothic MB101 Pr6N', 'Noto Sans JP', sans-serif;
    font-size: 18px;
    color: #151515;
    margin-bottom: 40px;
    text-align: center;
}

.people-detail-back__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'A-OTF Gothic MB101 Pr6N', 'Noto Sans JP', sans-serif;
    font-size: 16px;
    color: #312d96;
    text-decoration: none;
    transition: opacity 0.3s ease;
    justify-content: center;
    width: 100%;
}

.people-detail-back__btn:hover {
    opacity: 0.7;
}

/* ============================================
   SP (Mobile) Styles
   ============================================ */
@media screen and (max-width: 768px) {
    /* Page Header */
    .people-detail-header {
        padding: 100px 20px 0;
    }

    .people-detail-header__title {
        font-size: 24px;
        line-height: 50px;
    }

    /* Article Header */
    .people-detail-article-header {
        padding: 10px 20px 0;
    }

    .people-detail-article-header__title {
        font-size: 20px;
        line-height: 30px;
        letter-spacing: 1.5px;
    }

    .people-detail-article-header__subtitle {
        font-size: 24px;
        line-height: 25px;
    }

    .people-detail-article-header__position {
        font-size: 14px;
        line-height: 28px;
    }

    /* Hero Section */
    .people-detail-hero {
        padding: 20px 20px;
    }

    .people-detail-hero__image-wrapper {
        height: 400px;
    }

    .people-detail-hero__logo {
        width: 40px;
        height: 50px;
        top: 0px;
        right: 5px;
    }

    /* Content Section */
    .people-detail-content {
        padding: 0 20px 60px;
    }

    .people-detail-article__body {
        font-size: 14px;
        line-height: 28px;
    }

    .people-detail-article__body h3,
    .people-detail-article__body h4 {
        font-size: 18px;
        line-height: 28px;
        margin: 10px 0 10px 0;
    }

    .people-detail-article__body .people-content-image {
        height: 260px;
        margin: 15px auto;
    }

    /* Not Found Section */
    .people-detail-notfound {
        padding: 100px 20px 60px;
    }

    .people-detail-notfound p {
        font-size: 16px;
    }
}
