/* ==========================================================================
   About Us Page Styles
   ========================================================================== */

/* --- Base --- */
.about-us {
    background: #000;
    color: #fff;
    overflow: hidden;
    position: relative;
}

/* V / P 装飾文字 */
.about-deco {
    position: fixed;
    font-size: 60vw;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.15);
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: exclusion;
    line-height: 1;
}

.about-deco--v {
    top: -5%;
    left: -12vw;
}

.about-deco--p {
    bottom: -10%;
    right: -12vw;
}

.about-us .sec {
    position: relative;
    padding: 100px 0;
}

.about-us .inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 80px;
    position: relative;
    z-index: 2;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.about-hero {
    height: 800px;
    position: relative;
    overflow: hidden;
    padding: 0 !important;
}

/* Gradient blobs - Figma: 左下に集中 */
.about-hero__gradient {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
}

.about-hero__blob {
    position: absolute;
    border-radius: 50%;
}

.about-hero__blob--blue {
    width: 600px;
    height: 500px;
    background: rgba(0, 0, 255, 0.4);
    filter: blur(120px);
    top: 300px;
    left: -100px;
}

.about-hero__blob--pink {
    width: 400px;
    height: 400px;
    background: rgba(255, 92, 117, 0.35);
    filter: blur(100px);
    top: 400px;
    left: 100px;
}

.about-hero__blob--purple {
    width: 500px;
    height: 400px;
    background: rgba(143, 112, 240, 0.3);
    filter: blur(110px);
    top: 250px;
    left: 200px;
}

/* Hero content - position based, not flex */
.about-hero .inner {
    height: 100%;
}

.about-hero__content {
    position: relative;
    height: 100%;
}

.about-hero__text {
    position: absolute;
    top: 220px;
    left: 0;
    z-index: 3;
}

.about-hero__title {
    font-size: 64px;
    font-weight: 700;
    line-height: 1.41;
    color: #fff;
    margin-bottom: 23px;
}

.about-hero__title .highlight {
    color: transparent;
    -webkit-text-stroke: 2px #ff1717;
    position: relative;
    font-size: 80px;
    filter: drop-shadow(0 0 3px rgba(255, 23, 23, 0.6)) drop-shadow(0 0 15px rgba(255, 23, 23, 0.7)) drop-shadow(0 0 50px rgba(255, 23, 23, 0.5)) drop-shadow(0 0 100px rgba(255, 23, 23, 0.3));
}

.about-hero__lead {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
}

/* Hero images - absolute positions matching Figma (1440px base) */
.about-hero__images {
    position: absolute;
    inset: 0;
    z-index: 2;
}

.about-hero__img {
    position: absolute;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    will-change: transform;
    transition: transform 0.15s ease-out;
}


.about-hero__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Figma: x=820, y=80, 280x180 */
.about-hero__img--sub1 {
    width: 19.4%;
    height: 180px;
    top: 80px;
    left: 56.9%;
    z-index: 2;
}

/* Figma: x=1140, y=160, 240x200 */
.about-hero__img--sub2 {
    width: 16.7%;
    height: 200px;
    top: 160px;
    left: 79.2%;
    z-index: 2;
}

/* Figma: x=700, y=310, 320x400 */
.about-hero__img--main {
    width: 22.2%;
    height: 400px;
    top: 310px;
    left: 48.6%;
    z-index: 3;
}

/* Figma: x=1080, y=420, 200x150 */
.about-hero__img--sub3 {
    width: 13.9%;
    height: 150px;
    top: 420px;
    left: 75%;
    z-index: 2;
}

/* Circle: Visual Parkテキストの後ろに被せる */
.about-hero__img--circle {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    top: -60px;
    right: -40px;
    z-index: -1;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

/* ==========================================================================
   Vision Section
   ========================================================================== */
.about-vision {
    background: #0a0a0a;
}

.about-vision .inner {
    max-width: 900px;
}

.about-vision__block {
    margin-bottom: 60px;
}

.about-vision__block:last-child {
    margin-bottom: 0;
}

.about-vision__title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
}

.about-vision__text {
    font-size: 16px;
    line-height: 2;
    color: rgba(255, 255, 255, 0.75);
}

/* ==========================================================================
   Team Sections
   ========================================================================== */
.about-team {
    background: #000;
}

.about-team--alt {
    background: #0a0a0a;
}

/* Gradient accent between sections */
.about-team::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(143, 112, 240, 0.4), rgba(0, 0, 255, 0.3), rgba(255, 92, 117, 0.4), transparent);
}

.about-team__title {
    text-align: center;
    margin-bottom: 60px;
}

.about-team__title .main {
    display: block;
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.about-team__title .sub {
    display: block;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
}

/* Team grid */
.about-team__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

/* ==========================================================================
   Member Card
   ========================================================================== */
.member-card {
    background: #141414;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.member-card:hover {
    transform: translateY(-8px);
}

/* Photo */
.member-card__photo {
    position: relative;
    width: 100%;
    aspect-ratio: 280 / 220;
    overflow: hidden;
}

.member-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.4s ease;
}

.member-card__photo .photo-hover {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.member-card:hover .member-card__photo .photo-hover {
    opacity: 1;
}

.member-card:hover .member-card__photo:has(.photo-hover) .photo-default {
    opacity: 0;
}

/* Info */
.member-card__info {
    padding: 20px 20px 0;
}

.member-card__name {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
}

.member-card__role {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
}

/* Description */
.member-card__description {
    padding: 12px 20px 0;
}

.member-card__description p {
    font-size: 12px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.65);
}

/* SNS */
.member-card__sns {
    list-style: none;
    display: flex;
    gap: 12px;
    padding: 16px 20px 20px;
    margin: 0;
}

.member-card__sns li {
    list-style: none;
}

.member-card__sns a {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.member-card__sns a:hover {
    opacity: 1;
}

.member-card__sns img {
    width: 18px;
    height: 18px;
}

/* ==========================================================================
   CTA Section
   ========================================================================== */
.about-cta {
    background: #0a0a0a;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.about-cta__gradient {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
}

.about-cta__blob {
    position: absolute;
    border-radius: 50%;
}

.about-cta__blob--blue {
    width: 500px;
    height: 400px;
    background: rgba(0, 0, 255, 0.3);
    filter: blur(120px);
    top: -50px;
    right: 0;
}

.about-cta__blob--orange {
    width: 400px;
    height: 350px;
    background: rgba(255, 102, 25, 0.25);
    filter: blur(100px);
    bottom: -80px;
    right: -5%;
}

.about-cta__blob--purple {
    width: 450px;
    height: 350px;
    background: rgba(143, 112, 240, 0.2);
    filter: blur(110px);
    bottom: 0;
    right: 10%;
}

.about-cta__title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
}

.about-cta__text {
    font-size: 16px;
    line-height: 2;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
}

.about-cta__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 220px;
    height: 56px;
    background: #fff;
    color: #000;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.about-cta__btn:hover {
    background: linear-gradient(90deg, rgba(255, 22, 22, 1), rgba(5, 0, 255, 1));
    color: #fff;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
/* Tablet: 4 -> 2 columns */
@media screen and (max-width: 1024px) {
    .about-us .inner {
        padding: 0 60px;
    }

    .about-team__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .about-team__title .main {
        font-size: 28px;
    }

    .about-cta__title {
        font-size: 32px;
    }
}

/* Mobile: Figma 375px base */
@media screen and (max-width: 767px) {
    .about-us .sec {
        padding: 48px 0;
    }

    .about-us .inner {
        padding: 0 24px;
    }

    /* Hero - Figma: 375x620 */
    .about-hero {
        height: 620px;
        padding: 0;
    }

    .about-hero__text {
        top: 80px;
        left: 0;
    }

    /* Figma: 36px, line-height ~44px, gap between lines ~1px */
    .about-hero__title {
        font-size: 36px;
        line-height: 1.25;
        margin-bottom: 11px;
    }

    .about-hero__title .highlight {
        font-size: 42px;
        -webkit-text-stroke: 1px #ff1717;
    }

    .about-hero__lead {
        font-size: 14px;
    }

    /* Gradient blobs - Figma mobile */
    .about-hero__blob--blue {
        width: 300px;
        height: 300px;
        top: 250px;
        left: -80px;
    }

    .about-hero__blob--pink {
        width: 250px;
        height: 250px;
        top: 350px;
        left: 50px;
    }

    .about-hero__blob--purple {
        display: none;
    }

    /* Hero images - Figma mobile: reset PC positions */
    .about-hero__img {
        right: auto;
    }

    /* 上段左 */
    .about-hero__img--sub2 {
        width: 40%;
        height: 100px;
        top: 270px;
        left: 6.4%;
        border-radius: 10px;
    }

    /* 上段右 */
    .about-hero__img--sub3 {
        width: 29.3%;
        height: 100px;
        top: 270px;
        left: 50.7%;
        border-radius: 10px;
    }

    /* 下段左（大） */
    .about-hero__img--main {
        width: 53.3%;
        height: 220px;
        top: 390px;
        left: 6.4%;
        border-radius: 12px;
    }

    /* 下段右 */
    .about-hero__img--sub1 {
        width: 29.3%;
        height: 140px;
        top: 390px;
        left: 64%;
        border-radius: 12px;
    }

    /* Circle: Visual Parkの横 - モバイル用リセット */
    .about-hero__img--circle {
        width: 70px;
        height: 70px;
        top: -15px;
        right: -80px;
        left: auto;
    }

    /* Vision - Figma mobile */
    .about-vision__title {
        font-size: 24px;
    }

    .about-vision__text {
        font-size: 14px;
    }

    /* Team - Figma mobile: 2col, card 155px, gap 16px */
    .about-team__title .main {
        font-size: 24px;
    }

    .about-team__title .sub {
        font-size: 12px;
    }

    .about-team__title {
        margin-bottom: 32px;
    }

    .about-team__grid {
        gap: 16px;
    }

    .member-card__info {
        padding: 10px 12px 0;
    }

    .member-card__name {
        font-size: 14px;
    }

    .member-card__role {
        font-size: 10px;
    }

    .member-card__description {
        padding: 8px 12px 0;
    }

    .member-card__description p {
        font-size: 9px;
        line-height: 1.6;
    }

    .member-card__sns {
        padding: 10px 12px 12px;
        gap: 8px;
    }

    .member-card__sns img {
        width: 16px;
        height: 16px;
    }

    /* CTA - Figma mobile */
    .about-cta__title {
        font-size: 28px;
    }

    .about-cta__text {
        font-size: 14px;
    }

    .about-cta__btn {
        width: 100%;
        height: 52px;
        font-size: 16px;
    }

    .about-cta__blob--blue {
        width: 250px;
        height: 250px;
        top: -30px;
        right: -50px;
        left: auto;
    }

    .about-cta__blob--orange {
        width: 200px;
        height: 200px;
        bottom: -50px;
        right: -30px;
    }

    .about-cta__blob--purple {
        display: none;
    }
}

/* ==========================================================================
   Override site-wide styles for About Us page
   ========================================================================== */
.about-us {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-top: -2px;
}

.page-template-page-about-us #masthead,
.page-template-page-about-us-en #masthead {
    border-bottom: none !important;
    box-shadow: none !important;
}

.page-template-page-about-us .site-content,
.page-template-page-about-us-en .site-content {
    border-top: none !important;
}

.page-template-page-about-us .content-area,
.page-template-page-about-us-en .content-area {
    border-top: none !important;
    border-bottom: none !important;
}
