/**
 * About Page - Professional & Trustworthy Design
 *
 * 信頼感と理念を伝える企業ページデザイン
 * - プロフェッショナルな印象
 * - 理念が明確に伝わる構造
 * - 視覚的な階層構造
 * - 完璧なレスポンシブ対応
 */

/* ==========================================================================
   共通要素
   ========================================================================== */
.about-page {
    background: #ffffff;
}

/* セクション共通スタイル */
section {
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* セクションヘッダー */
.section-header {
    margin-bottom: 4rem;
}

.section-header.centered {
    text-align: center;
}

.section-label {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: linear-gradient(135deg, rgba(0, 134, 123, 0.1), rgba(16, 185, 129, 0.1));
    color: #00867b;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 50px;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.75rem;
    font-weight: 800;
    color: #1f2937;
    letter-spacing: -0.5px;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.125rem;
    color: #6b7280;
    line-height: 1.8;
    margin: 0;
}

/* レスポンシブ用ユーティリティ */
.sp-only {
    display: none;
}

@media (max-width: 768px) {
    .sp-only {
        display: inline;
    }

    .pc-only {
        display: none;
    }
}

/* ==========================================================================
   ヒーローセクション
   ========================================================================== */
.about-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #00867b 0%, #005952 100%);
    color: #ffffff;
    overflow: hidden;
}

/* 背景エフェクト */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at top left, rgba(16, 185, 129, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at bottom right, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    animation: bgPulse 15s ease-in-out infinite;
}

@keyframes bgPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(2px 2px at 20% 30%, rgba(255, 255, 255, 0.2), transparent),
        radial-gradient(2px 2px at 60% 70%, rgba(255, 255, 255, 0.2), transparent),
        radial-gradient(1px 1px at 50% 50%, rgba(255, 255, 255, 0.15), transparent),
        radial-gradient(2px 2px at 80% 10%, rgba(255, 255, 255, 0.2), transparent);
    background-size: 200% 200%;
    animation: particlesMove 25s linear infinite;
}

@keyframes particlesMove {
    0% { background-position: 0% 0%; }
    100% { background-position: 100% 100%; }
}

/* ヒーローコンテンツ */
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem 0;
}

.hero-catchphrase {
    font-size: 1.125rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

.title-main {
    display: block;
    font-size: 4.5rem;
    font-weight: 900;
    letter-spacing: -1px;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #ffffff, #10b981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-sub {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
}

.hero-description {
    font-size: 1.25rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto 3rem;
    animation: fadeInUp 1s ease-out 0.4s backwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* スクロールインジケーター */
.hero-scroll {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: fadeIn 1s ease-out 0.8s backwards;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.7), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(10px); opacity: 0.3; }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ヒーローウェーブ */
.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 100px;
    z-index: 3;
}

.hero-wave svg {
    width: 100%;
    height: 100%;
}

/* ==========================================================================
   代表メッセージセクション
   ========================================================================== */
.ceo-message-section {
    padding: 120px 0;
    background: #ffffff;
}

.ceo-content {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 4rem;
    align-items: start;
}

/* CEO画像 */
.ceo-image-wrapper {
    position: sticky;
    top: 100px;
}

.ceo-image {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 2rem;
    border: 8px solid #f3f4f6;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.ceo-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #00867b, #10b981);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
    color: rgba(255, 255, 255, 0.9);
}

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

.ceo-role {
    font-size: 0.875rem;
    color: #00867b;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ceo-name {
    font-size: 1.75rem;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 0.25rem;
}

.ceo-name-en {
    font-size: 1rem;
    color: #6b7280;
    font-weight: 500;
    margin: 0;
}

/* CEOテキスト */
.ceo-text {
    position: relative;
}

.message-quote {
    font-size: 4rem;
    color: rgba(0, 134, 123, 0.1);
    line-height: 1;
    margin-bottom: 1rem;
}

.message-content {
    padding-left: 2rem;
    border-left: 4px solid #00867b;
}

.message-paragraph {
    font-size: 1.0625rem;
    line-height: 2;
    color: #374151;
    margin-bottom: 1.5rem;
}

.message-paragraph:last-child {
    margin-bottom: 0;
}

.message-signature {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #e5e7eb;
    text-align: right;
}

.message-signature p {
    font-size: 0.9375rem;
    color: #6b7280;
    margin: 0.25rem 0;
}

.signature-name {
    font-size: 1.125rem !important;
    font-weight: 700 !important;
    color: #1f2937 !important;
}

/* ==========================================================================
   ビジョン・ミッション・バリューセクション
   ========================================================================== */
.vision-mission-section {
    padding: 120px 0;
    background: linear-gradient(180deg, #f9fafb 0%, #ffffff 100%);
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.philosophy-card {
    background: #ffffff;
    padding: 3rem 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.philosophy-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #00867b, #10b981);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.philosophy-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 134, 123, 0.15);
}

.philosophy-card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(0, 134, 123, 0.1), rgba(16, 185, 129, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: #00867b;
    transition: all 0.3s ease;
}

.philosophy-card:hover .card-icon {
    background: linear-gradient(135deg, #00867b, #10b981);
    color: #ffffff;
    transform: scale(1.1) rotate(5deg);
}

.card-title {
    text-align: center;
    margin-bottom: 1.5rem;
}

.title-en {
    display: block;
    font-size: 1.75rem;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 0.25rem;
}

.title-ja {
    display: block;
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 600;
}

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

.card-main-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: #00867b;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.card-sub-text {
    font-size: 1rem;
    color: #374151;
    font-weight: 600;
    margin-bottom: 1rem;
}

.card-description {
    font-size: 0.9375rem;
    line-height: 1.8;
    color: #6b7280;
}

/* ==========================================================================
   3つの調和セクション
   ========================================================================== */
.three-harmonies-section {
    padding: 120px 0;
    background: #ffffff;
}

.harmonies-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.harmony-card {
    background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
    padding: 3rem 2rem;
    border-radius: 16px;
    border: 2px solid #e5e7eb;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.harmony-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 134, 123, 0.03), rgba(16, 185, 129, 0.03));
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 14px;
}

.harmony-card:hover {
    transform: translateY(-8px);
    border-color: #00867b;
    box-shadow: 0 20px 50px rgba(0, 134, 123, 0.15);
}

.harmony-card:hover::before {
    opacity: 1;
}

.harmony-number {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 3rem;
    font-weight: 900;
    color: rgba(0, 134, 123, 0.08);
    line-height: 1;
}

.harmony-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #00867b, #10b981);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 134, 123, 0.3);
    transition: transform 0.3s ease;
}

.harmony-card:hover .harmony-icon {
    transform: scale(1.1) rotate(5deg);
}

.harmony-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 1rem;
}

.harmony-description {
    font-size: 0.9375rem;
    line-height: 1.8;
    color: #6b7280;
    margin-bottom: 1.5rem;
}

.harmony-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.harmony-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    font-size: 0.9375rem;
    color: #374151;
}

.harmony-features i {
    color: #10b981;
    font-size: 1rem;
}

/* ==========================================================================
   バリューセクション
   ========================================================================== */
.values-section {
    padding: 120px 0;
    background: linear-gradient(180deg, #f9fafb 0%, #ffffff 100%);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.value-card {
    background: #ffffff;
    padding: 3rem 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    text-align: center;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 134, 123, 0.15);
}

.value-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(0, 134, 123, 0.1), rgba(16, 185, 129, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.75rem;
    color: #00867b;
    transition: all 0.3s ease;
}

.value-card:hover .value-icon {
    background: linear-gradient(135deg, #00867b, #10b981);
    color: #ffffff;
    transform: scale(1.1);
}

.value-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.value-subtitle {
    font-size: 1rem;
    color: #00867b;
    font-weight: 600;
    margin-bottom: 1rem;
}

.value-description {
    font-size: 0.9375rem;
    line-height: 1.8;
    color: #6b7280;
}

/* ==========================================================================
   企業沿革セクション
   ========================================================================== */
.history-section {
    padding: 120px 0;
    background: #ffffff;
}

.timeline {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #e5e7eb, #00867b, #e5e7eb);
    transform: translateX(-50%);
}

.timeline-item {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
    position: relative;
}

.timeline-item:nth-child(even) .timeline-content {
    grid-column: 1;
    grid-row: 1;
    text-align: right;
}

.timeline-item:nth-child(even) .timeline-marker {
    grid-column: 2;
    grid-row: 1;
}

.timeline-item:nth-child(odd) .timeline-content {
    grid-column: 3;
    grid-row: 1;
}

.timeline-item:nth-child(odd) .timeline-marker {
    grid-column: 2;
    grid-row: 1;
}

.timeline-marker {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.marker-dot {
    width: 20px;
    height: 20px;
    background: #ffffff;
    border: 4px solid #00867b;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.marker-dot.active {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #00867b, #10b981);
    border: none;
    box-shadow: 0 0 0 8px rgba(0, 134, 123, 0.2);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 8px rgba(0, 134, 123, 0.2);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(0, 134, 123, 0);
    }
}

.timeline-content {
    background: #f9fafb;
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-content {
    background: #ffffff;
    border-color: #00867b;
    box-shadow: 0 10px 30px rgba(0, 134, 123, 0.1);
}

.timeline-item:hover .marker-dot:not(.active) {
    background: #00867b;
    transform: scale(1.5);
}

.timeline-date {
    display: inline-block;
    padding: 0.25rem 1rem;
    background: linear-gradient(135deg, #00867b, #10b981);
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 700;
    border-radius: 50px;
    margin-bottom: 1rem;
}

.timeline-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 0.75rem;
}

.timeline-description {
    font-size: 0.9375rem;
    line-height: 1.8;
    color: #6b7280;
    margin: 0;
}

/* ==========================================================================
   会社概要セクション
   ========================================================================== */
.company-info-section {
    padding: 120px 0;
    background: linear-gradient(180deg, #f9fafb 0%, #ffffff 100%);
}

.company-info-card {
    max-width: 900px;
    margin: 0 auto;
    background: #ffffff;
    padding: 4rem 3rem;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.info-list {
    margin: 0;
}

.info-item {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 2rem;
    padding: 2rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.info-item:last-child {
    border-bottom: none;
}

.info-item dt {
    font-weight: 700;
    color: #00867b;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-item dt i {
    color: #10b981;
    font-size: 1.125rem;
}

.info-item dd {
    margin: 0;
    color: #374151;
    font-size: 1rem;
    line-height: 1.8;
}

.info-item dd a {
    color: #00867b;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.info-item dd a:hover {
    color: #10b981;
    text-decoration: underline;
}

/* ==========================================================================
   CTAセクション
   ========================================================================== */
.about-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, #00867b 0%, #005952 100%);
    position: relative;
    overflow: hidden;
}

.about-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at top right, rgba(16, 185, 129, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse at bottom left, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
}

.cta-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 3rem;
}

.btn-large {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 3rem;
    font-size: 1.125rem;
    font-weight: 700;
    background: #10b981;
    color: #ffffff;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.4);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-large:hover {
    background: #059669;
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(16, 185, 129, 0.5);
}

.btn-large i {
    transition: transform 0.3s ease;
}

.btn-large:hover i {
    transform: translateX(5px);
}

/* ==========================================================================
   レスポンシブデザイン
   ========================================================================== */

/* タブレット */
@media (max-width: 1024px) {
    .section-title {
        font-size: 2.25rem;
    }

    /* CEO Message */
    .ceo-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .ceo-image-wrapper {
        position: relative;
        top: 0;
    }

    /* Philosophy */
    .philosophy-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Harmonies */
    .harmonies-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Values */
    .values-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Timeline */
    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        grid-template-columns: auto 1fr;
        gap: 2rem;
    }

    .timeline-item:nth-child(even) .timeline-content,
    .timeline-item:nth-child(odd) .timeline-content {
        grid-column: 2;
        grid-row: 1;
        text-align: left;
    }

    .timeline-item:nth-child(even) .timeline-marker,
    .timeline-item:nth-child(odd) .timeline-marker {
        grid-column: 1;
        grid-row: 1;
    }

    /* Company Info */
    .info-item {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
}

/* モバイル */
@media (max-width: 768px) {
    /* セクション共通 */
    section {
        padding: 60px 0 !important;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-description {
        font-size: 1rem;
    }

    /* Hero */
    .about-hero {
        min-height: 80vh;
        padding: 60px 0;
    }

    .title-main {
        font-size: 2.5rem;
    }

    .title-sub {
        font-size: 1.5rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    /* CEO Message */
    .ceo-image {
        width: 200px;
        height: 200px;
    }

    .image-placeholder {
        font-size: 4rem;
    }

    .ceo-name {
        font-size: 1.5rem;
    }

    .message-content {
        padding-left: 1rem;
        border-left-width: 3px;
    }

    .message-paragraph {
        font-size: 1rem;
    }

    /* Philosophy Cards */
    .philosophy-card {
        padding: 2rem 1.5rem;
    }

    /* Harmony Cards */
    .harmony-card {
        padding: 2rem 1.5rem;
    }

    .harmony-number {
        font-size: 2rem;
        top: 1rem;
        right: 1rem;
    }

    /* Value Cards */
    .value-card {
        padding: 2rem 1.5rem;
    }

    /* Timeline */
    .timeline-item {
        margin-bottom: 2rem;
    }

    .timeline-content {
        padding: 1.5rem;
    }

    /* Company Info */
    .company-info-card {
        padding: 2rem 1.5rem;
    }

    /* CTA */
    .about-cta {
        padding: 60px 0;
    }

    .cta-title {
        font-size: 1.75rem;
    }

    .cta-text {
        font-size: 1rem;
    }

    .btn-large {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .title-main {
        font-size: 2rem;
    }

    .title-sub {
        font-size: 1.25rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .ceo-image {
        width: 180px;
        height: 180px;
    }

    .message-paragraph br {
        display: none;
    }
}