/* Service Detail Page Styles */

/* Service Hero */
.service-hero {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-top: 80px;
}

/* 背景画像はPHPテンプレート側でインラインスタイルとして指定 */
.service-hero-business,
.service-hero-wilderness,
.service-hero-concert {
    background-size: cover;
    background-position: center;
}

.service-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(26, 35, 50, 0.85) 0%,
        rgba(26, 35, 50, 0.7) 50%,
        rgba(26, 35, 50, 0.85) 100%
    );
    z-index: 1;
}

.service-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--color-white);
    max-width: 900px;
    padding: 0 20px;
}

.service-hero-title {
    font-family: var(--font-secondary);
    font-size: 56px;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--color-white);
}

.service-hero-subtitle {
    font-size: 20px;
    line-height: 1.6;
    opacity: 0.9;
    font-weight: 400;
}

/* Service Overview */
.service-overview {
    background-color: var(--color-white);
    padding: var(--spacing-section) 0;
}

.service-overview-text {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    font-size: 18px;
    line-height: 2;
    color: var(--color-charcoal);
}

/* Features */
.service-features {
    background-color: var(--color-soft-grey);
    padding: var(--spacing-section) 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.feature-item {
    background: var(--color-white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s var(--transition-smooth), box-shadow 0.3s var(--transition-smooth);
}

.feature-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-accent-gold), var(--color-gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--color-navy);
    margin-bottom: 24px;
}

.feature-title {
    font-family: var(--font-secondary);
    font-size: 22px;
    margin-bottom: 16px;
    color: var(--color-navy);
}

.feature-description {
    font-size: 16px;
    line-height: 1.8;
    color: var(--color-charcoal);
}

/* Process */
.service-process {
    background-color: var(--color-white);
    padding: var(--spacing-section) 0;
}

.process-timeline {
    max-width: 800px;
    margin: 60px auto 0;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.process-step {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.process-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-accent-gold), var(--color-gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-secondary);
    font-size: 20px;
    font-weight: 700;
    color: var(--color-navy);
}

.process-title {
    font-family: var(--font-secondary);
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--color-navy);
}

.process-description {
    font-size: 16px;
    line-height: 1.8;
    color: var(--color-charcoal);
}

/* The Team Section */
.service-team {
    background-color: var(--color-soft-grey);
    padding: var(--spacing-section) 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.team-member {
    background: var(--color-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s var(--transition-smooth), box-shadow 0.3s var(--transition-smooth);
}

.team-member:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.team-photo {
    width: 100%;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: linear-gradient(135deg, var(--color-navy), var(--color-charcoal));
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(20%);
    transition: filter 0.3s var(--transition-smooth), transform 0.3s var(--transition-smooth);
}

.team-photo img:hover {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.team-photo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    color: var(--color-gold);
}

.team-name {
    font-family: var(--font-secondary);
    font-size: 22px;
    color: var(--color-navy);
    padding: 24px 24px 8px;
}

.team-role {
    font-size: 14px;
    color: var(--color-gold);
    font-weight: 600;
    padding: 0 24px 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.team-description {
    font-size: 15px;
    line-height: 1.7;
    color: var(--color-charcoal);
    padding: 0 24px 32px;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--color-midnight-blue), var(--color-navy));
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(30deg, var(--color-accent-gold) 12%, transparent 12.5%, transparent 87%, var(--color-accent-gold) 87.5%, var(--color-accent-gold)),
        linear-gradient(150deg, var(--color-accent-gold) 12%, transparent 12.5%, transparent 87%, var(--color-accent-gold) 87.5%, var(--color-accent-gold));
    background-size: 80px 140px;
    opacity: 0.03;
    z-index: 0;
}

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

.cta-title {
    font-family: var(--font-secondary);
    font-size: 42px;
    line-height: 1.3;
    color: var(--color-white);
    margin-bottom: 20px;
}

.cta-subtitle {
    font-size: 18px;
    color: var(--color-gold);
    margin-bottom: 40px;
    font-weight: 500;
}

.btn-gold {
    background: linear-gradient(135deg, var(--color-accent-gold), var(--color-gold));
    color: var(--color-navy);
    padding: 18px 48px;
    font-size: 18px;
    font-weight: 600;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.3s var(--transition-smooth), box-shadow 0.3s var(--transition-smooth);
}

.btn-gold:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(212, 175, 55, 0.4);
}

.btn-large {
    font-size: 20px;
    padding: 20px 60px;
}

/* Accent Line Center */
.accent-line-center {
    width: 80px;
    height: 3px;
    background: var(--color-gold);
    margin: 24px auto 48px;
}

.accent-line-gold {
    background: var(--color-accent-gold);
}

/* Text Utilities */
.text-center {
    text-align: center;
}

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

/* ============================================
   Overview（会社概要）ページ
   ============================================ */
.container.container--narrow {
    max-width: 920px;
}

.overview-prose {
    max-width: 760px;
    margin: 0 auto;
}

.overview-prose .overview-prose-text {
    text-align: center;
    margin-bottom: 1.5rem;
}

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

.overview-philosophy-section .section-title,
.overview-company-section .section-title,
.overview-history-section .section-title {
    margin-bottom: 0.35rem;
}

.overview-title-ja {
    font-family: var(--font-primary);
    font-size: 0.9375rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    color: var(--color-charcoal);
    opacity: 0.72;
    margin: 0 0 0.35rem;
}

.overview-philosophy-section .accent-line-center,
.overview-company-section .accent-line-center,
.overview-history-section .accent-line-center {
    margin-top: 0.85rem;
    margin-bottom: 0;
}

.overview-staff-photo {
    margin: 4rem auto 0;
    max-width: 920px;
    background: var(--color-white);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(26, 35, 50, 0.06);
    overflow: hidden;
    padding: 0;
}

.overview-staff-photo img {
    display: block;
    width: 100%;
    height: auto;
}

.overview-panel {
    margin-top: 2.5rem;
    background: var(--color-white);
    border-radius: 12px;
    box-shadow: 0 4px 28px rgba(15, 20, 25, 0.08);
    padding: 2.5rem 3rem;
    border: 1px solid rgba(26, 35, 50, 0.06);
}

.overview-info-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1rem;
    line-height: 1.65;
}

.overview-info-table th,
.overview-info-table td {
    padding: 1.1rem 0;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid rgba(26, 35, 50, 0.08);
}

.overview-info-table tr:last-child th,
.overview-info-table tr:last-child td {
    border-bottom: none;
    padding-bottom: 0;
}

.overview-info-table tr:first-child th,
.overview-info-table tr:first-child td {
    padding-top: 0;
}

.overview-info-table th {
    width: 34%;
    max-width: 200px;
    font-family: var(--font-primary);
    font-weight: 600;
    color: var(--color-navy);
    padding-right: 1.5rem;
}

.overview-info-table td {
    color: var(--color-charcoal);
}

.overview-history-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.overview-history-item {
    display: grid;
    grid-template-columns: minmax(9.5rem, 12rem) 1fr;
    gap: 0.75rem 1.75rem;
    padding: 1.35rem 0;
    border-bottom: 1px solid rgba(26, 35, 50, 0.08);
    align-items: start;
}

.overview-history-item:first-child {
    padding-top: 0;
}

.overview-history-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.overview-history-year {
    font-family: var(--font-secondary);
    font-weight: 700;
    font-size: 1.0625rem;
    color: var(--color-navy);
    line-height: 1.35;
}

.overview-history-year small {
    display: block;
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 0.8125rem;
    opacity: 0.72;
    margin-top: 0.25rem;
    letter-spacing: 0.02em;
}

.overview-history-text {
    margin: 0;
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-charcoal);
}

/* Responsive */
@media (max-width: 1024px) {
    .service-hero {
        height: 400px;
    }

    .service-hero-title {
        font-size: 42px;
    }

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

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-title {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .service-hero {
        height: 350px;
        margin-top: 60px;
    }

    .service-hero-title {
        font-size: 32px;
    }

    .service-hero-subtitle {
        font-size: 16px;
    }

    .service-overview-text {
        font-size: 16px;
        line-height: 1.8;
    }

    .overview-prose .overview-prose-text {
        text-align: left;
    }

    .overview-staff-photo {
        margin-top: 2.5rem;
    }

    .overview-panel {
        padding: 1.5rem 1.25rem;
        margin-top: 2rem;
    }

    .overview-info-table tr {
        display: block;
        border-bottom: 1px solid rgba(26, 35, 50, 0.08);
        padding: 1rem 0;
    }

    .overview-info-table tr:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .overview-info-table tr:first-child {
        padding-top: 0;
    }

    .overview-info-table th,
    .overview-info-table td {
        display: block;
        width: 100%;
        max-width: none;
        padding: 0.15rem 0;
        border-bottom: none;
    }

    .overview-info-table th {
        padding-bottom: 0.35rem;
    }

    .overview-history-item {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        padding: 1.15rem 0;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .process-step {
        flex-direction: column;
    }

    .cta-title {
        font-size: 28px;
    }

    .btn-large {
        font-size: 18px;
        padding: 16px 40px;
    }
}
