/* ==========================================================================
   Company Pages Styles
   会社情報ページ専用スタイル
   ========================================================================== */

/* ページヒーロー（企業情報共通） */
.page-hero {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 0;
}

.page-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
}

.page-hero .page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-hero .page-subtitle {
    font-size: 1.3rem;
    color: white;
    opacity: 0.95;
    font-weight: 400;
}

/* ページヒーロー内のパンくずリスト */
.page-hero > .breadcrumb {
    position: absolute;
    top: 1rem;
    left: 2rem;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.page-hero .breadcrumb ul {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.page-hero .breadcrumb li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9) !important;
}

.page-hero .breadcrumb li::after {
    content: '>';
    color: rgba(255, 255, 255, 0.6) !important;
}

.page-hero .breadcrumb li:last-child {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 400;
}

.page-hero .breadcrumb li:last-child::after {
    content: '';
}

.page-hero .breadcrumb a {
    color: rgba(255, 255, 255, 0.9) !important;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.page-hero .breadcrumb a:hover {
    opacity: 1;
    color: white !important;
}

.page-hero .breadcrumb i {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9) !important;
}

/* セクションパディング */
.section-padding {
    padding: 7rem 0;  /* 上下パディングを増やして余裕を持たせる */
}

/* 企業理念・ロゴページ専用スタイル */

/* 企業理念ステートメントボックス */
.philosophy-statement-box {
    max-width: 900px;
    margin: 3rem auto;
    padding: 3rem 2rem;
    text-align: center;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.philosophy-icon {
    font-size: 3.5rem;
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
}

.philosophy-main-text {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-navy);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.philosophy-sub-text {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-gray);
    margin-bottom: 2rem;
}

.philosophy-description {
    font-size: 1rem;
    line-height: 1.9;
    color: var(--text-dark);
    margin-top: 2rem;
}

/* 理念の3ステップ */
.philosophy-steps {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 2rem;
    align-items: center;
    max-width: 1100px;
    margin: 4rem auto 0;
}

.step-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.step-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    line-height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-navy));
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.step-icon {
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
}

.step-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 1rem;
}

.step-description {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.step-arrow {
    font-size: 2rem;
    color: var(--accent-gold);
}

/* ロゴの意味セクション */
.logo-meaning-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: center;
    max-width: 1100px;
    margin: 3rem auto 0;
}

.logo-visual-wrapper {
    text-align: center;
}

.logo-meaning-image {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.1));
}

.logo-meaning-text {
    padding: 2rem 0;
}

.logo-meaning-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 1.5rem;
}

.logo-meaning-paragraph {
    font-size: 1rem;
    line-height: 1.9;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

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

/* 行動指針グリッド */
.guidelines-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.guideline-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.guideline-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.guideline-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    line-height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-navy));
    color: white;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.guideline-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 1rem;
}

.guideline-description {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.guideline-points {
    list-style: none;
    padding: 0;
    margin: 0;
}

.guideline-points li {
    font-size: 0.9rem;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.guideline-points li:last-child {
    margin-bottom: 0;
}

.guideline-points i {
    color: var(--accent-gold);
    font-size: 0.85rem;
}

/* CTAボックス */
.cta-box {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, #f7fafc, #edf2f7);
    border-radius: 16px;
}

.cta-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 1rem;
}

.cta-description {
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* 会社概要グリッド */
.company-info-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: start;
}

.company-photo-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.company-photo {
    width: 100%;
    height: auto;
    display: block;
}

.company-intro {
    padding: 1.5rem 0;
}

.company-name-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.company-name-sub {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--text-gray);
}

.company-description {
    font-size: 1rem;
    line-height: 1.9;
    color: var(--text-dark);
    margin-bottom: 1.2rem;
}

.company-description.last {
    margin-bottom: 0;
}

/* 会社情報テーブル */
.company-details-card {
    background: white;
    border-radius: 16px;
    padding: 1.8rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.company-table {
    width: 100%;
    border-collapse: collapse;
}

.company-table th,
.company-table td {
    padding: 0.65rem 0.9rem;
    border-bottom: 1px solid #e2e8f0;
    text-align: left;
    vertical-align: top;
}

.company-table th {
    width: 140px;
    font-weight: 600;
    color: var(--primary-navy);
    font-size: 0.85rem;
    background: #f7fafc;
}

.company-table td {
    color: var(--text-dark);
    font-size: 0.85rem;
    line-height: 1.5;
}

.company-table tr:last-child th,
.company-table tr:last-child td {
    border-bottom: none;
}

.company-table a {
    color: #2c5282;
    font-weight: 600;
    text-decoration: none;
}

.company-table a:hover {
    color: var(--accent-gold);
}

/* アクセスマップ */
.map-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: start;
}

.access-info {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.info-group {
    margin-bottom: 1.5rem;
}

.info-group:last-child {
    margin-bottom: 0;
}

.info-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-navy);
    margin-bottom: 0.5rem;
}

.info-value {
    font-size: 0.95rem;
    color: var(--text-dark);
    line-height: 1.7;
}

.map-wrapper {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.map-wrapper iframe {
    width: 100%;
    height: 450px;
    border: none;
    display: block;
}

/* レスポンシブ対応 - タブレット */
@media (max-width: 1024px) {
    .philosophy-steps {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .step-arrow {
        display: none;
    }

    .logo-meaning-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .guidelines-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

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

/* レスポンシブ対応 - モバイル */
@media (max-width: 768px) {
    .philosophy-statement-box {
        padding: 2rem 1.5rem;
    }

    .philosophy-icon {
        font-size: 2.5rem;
    }

    .philosophy-main-text {
        font-size: 1.6rem;
    }

    .philosophy-sub-text {
        font-size: 0.95rem;
    }

    .philosophy-description {
        font-size: 0.9rem;
    }

    .step-card {
        padding: 2rem 1.5rem;
    }

    .logo-meaning-title {
        font-size: 1.5rem;
    }

    .logo-meaning-paragraph {
        font-size: 0.9rem;
    }

    .guideline-card {
        padding: 2rem 1.5rem;
    }

    .cta-box {
        padding: 2rem 1.5rem;
    }

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

    .company-info-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .company-name-title {
        font-size: 1.6rem;
    }

    .company-details-card {
        padding: 1.3rem;
    }

    .company-table th {
        width: 100px;
        font-size: 0.8rem;
        padding: 0.55rem 0.75rem;
    }

    .company-table td {
        font-size: 0.8rem;
        padding: 0.55rem 0.75rem;
    }

    .map-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .map-wrapper iframe {
        height: 350px;
    }
}
