/* About Us Page Styles */

/* Variables */
:root {
    --color-text-main: #1a1a1a;
    --color-accent: #b8860b;
    --color-bg-light: #e8f4f8;
    --color-bg-gray: #f5f5f5;
    --color-highlight: #a0522d;
    --color-white: #ffffff;
    --font-heading: 'Noto Serif JP', serif;
    --font-body: 'Shippori Mincho', serif;
}

.about-page {
    font-family: var(--font-body);
    color: var(--color-text-main);
    line-height: 1.8;
}

.about-page h1,
.about-page h2,
.about-page h3 {
    font-family: var(--font-heading);
    font-weight: 600;
}

.about-page img {
    max-width: 100%;
    height: auto;
    display: block;
}

.section-padding {
    padding: 100px 0;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    /* For z-index context */
}

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

.text-white {
    color: var(--color-white);
}

.bg-light {
    background-color: var(--color-bg-light);
}

.bg-dark {
    background-color: var(--color-text-main);
}

.relative {
    position: relative;
    z-index: 1;
}

/* Section 1: Hero */
.about-hero {
    position: relative;
    height: 80vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #f0f0f0;
    overflow: hidden;
}

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

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
}

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

.hero-subtitle {
    display: block;
    font-size: 1.2rem;
    margin-bottom: 20px;
    letter-spacing: 0.1em;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 30px;
    line-height: 1.4;
}

.hero-lead {
    font-size: 1.2rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
}

.scroll-indicator .line {
    width: 1px;
    height: 60px;
    background-color: var(--color-text-main);
    margin-top: 10px;
}

/* Section 2: Philosophy */
.about-philosophy .section-title {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.about-philosophy .section-subtitle {
    display: block;
    font-size: 1rem;
    color: var(--color-accent);
    margin-bottom: 50px;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.1em;
}

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

.philosophy-content {
    text-align: left;
}

.philosophy-content p {
    margin-bottom: 2em;
    font-size: 1.1rem;
}

.philosophy-content .highlight-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--color-accent);
    margin: 3em 0;
}

.philosophy-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Section 3: Mission */
.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.mission-text .section-title {
    font-size: 1.2rem;
    color: var(--color-accent);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.mission-heading {
    font-size: 2.2rem;
    margin-bottom: 40px;
    line-height: 1.5;
}

.mission-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Section 4: Value */
.value-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    margin-top: 60px;
}

.value-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.value-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.value-card {
    text-align: left;
    padding: 30px;
    background-color: var(--color-bg-gray);
    transition: transform 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

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

.card-icon {
    font-size: 2.5rem;
    color: var(--color-accent);
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    opacity: 0.3;
    line-height: 1;
}

.card-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.card-text {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Section 5: Categories */
.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.category-item {
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0 0 40px 0;
    overflow: hidden;
    background-color: #222;
}

.category-img {
    width: 100%;
    height: 200px;
    overflow: hidden;
    margin-bottom: 30px;
}

.category-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.category-item:hover .category-img img {
    transform: scale(1.1);
}

.category-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    margin-bottom: 20px;
    letter-spacing: 0.1em;
    padding: 0 20px;
}

.category-desc {
    padding: 0 20px;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Section 6: Team */
.team-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.team-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.team-content .sign {
    margin-top: 40px;
    font-weight: bold;
    text-align: right;
}

/* Section 7: Numbers */
.about-numbers {
    position: relative;
    overflow: hidden;
}

.numbers-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.1;
    /* Faint background */
}

.numbers-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.numbers-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.number-item {
    text-align: center;
    padding: 20px;
}

.number-item .num {
    display: block;
    font-size: 4rem;
    font-weight: bold;
    color: var(--color-accent);
    font-family: 'Montserrat', sans-serif;
    line-height: 1;
}

.number-item .label {
    display: block;
    margin-top: 10px;
    font-size: 1rem;
}

/* Section 8: Audience */
.audience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.audience-card {
    background-color: var(--color-white);
    text-align: center;
    border: 1px solid #eee;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.audience-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.audience-img {
    width: 100%;
    height: 200px;
    overflow: hidden;
    margin-bottom: 20px;
}

.audience-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.audience-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--color-accent);
    padding: 0 20px;
}

.audience-card p {
    padding: 0 20px 30px;
    font-size: 0.95rem;
}

.message-text {
    margin-top: 60px;
    margin-bottom: 30px;
    font-size: 1.2rem;
}

.btn-outline {
    display: inline-block;
    padding: 12px 30px;
    border: 1px solid var(--color-text-main);
    color: var(--color-text-main);
    text-decoration: none;
    transition: all 0.3s;
}

.btn-outline:hover {
    background-color: var(--color-text-main);
    color: var(--color-white);
}

/* Section 9: CTA */
.about-cta {
    position: relative;
    color: var(--color-white);
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.cta-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-cta::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    /* Dark overlay */
    z-index: 0;
}

.cta-content {
    max-width: 700px;
    margin: 50px auto;
}

.separator {
    border: 0;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.3);
    margin: 40px 0;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 30px;
    text-decoration: none;
    color: white;
    transition: opacity 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn:hover {
    opacity: 0.8;
}

.btn-primary {
    background-color: var(--color-accent);
    /* Changed to accent for better contrast on dark bg */
}

.btn-secondary {
    background-color: transparent;
    border: 1px solid var(--color-white);
}

.btn-tertiary {
    background-color: var(--color-highlight);
}

/* Section 10: Footer Contact */
.contact-content {
    max-width: 600px;
    margin: 40px auto 0;
}

.contact-info {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .philosophy-grid,
    .mission-grid,
    .value-layout,
    .category-grid,
    .team-layout,
    .audience-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .mission-image,
    .team-image,
    .value-image {
        order: -1;
        /* Image first on mobile */
    }

    .value-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }
}