/* 会社概要ページ専用スタイル */

/* ヒーローセクション */
.company-hero {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.company-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.company-hero .hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* 企業理念 */
.company-philosophy {
    padding: 5rem 0;
    background-color: var(--bg-white);
}

.philosophy-content {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

.philosophy-statement,
.philosophy-commitment {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 2.5rem;
    border-radius: 12px;
    border-left: 4px solid #1e40af;
}

.philosophy-statement h3,
.philosophy-commitment h3 {
    color: #1e40af;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.philosophy-statement p,
.philosophy-commitment p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.0625rem;
}

/* 会社情報 */
.company-information {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

.company-details {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.detail-item {
    padding: 1.5rem;
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.detail-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.detail-item.full-width {
    grid-column: 1 / -1;
}

.detail-item dt {
    color: #1e40af;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.detail-item dd {
    color: var(--text-dark);
    font-size: 1.0625rem;
    line-height: 1.7;
}

/* 主要取引先 */
.major-clients-section {
    padding: 5rem 0;
    background-color: var(--bg-white);
}

.clients-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.clients-description p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-light);
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.client-card {
    background: white;
    border: 2px solid #e0e7ff;
    border-radius: 8px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.client-card:hover {
    border-color: #1e40af;
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.client-name {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1.0625rem;
}

/* 代表者挨拶 */
.ceo-message {
    padding: 5rem 0;
    background-color: var(--bg-white);
}

.message-content {
    max-width: 1000px;
    margin: 0 auto;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 12px;
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    border-left: 6px solid #1e40af;
}

.message-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
    align-items: start;
}

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

.message-photo img {
    width: 100%;
    max-width: 240px;
    height: auto;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    border: 4px solid white;
}

.photo-caption {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px solid #bfdbfe;
}

.president-name {
    color: #1e40af;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.president-title {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 600;
}

.message-text {
    flex: 1;
}

.message-body {
    color: var(--text-dark);
}

.message-body p {
    font-size: 1.0625rem;
    line-height: 1.9;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.message-body p:last-child {
    margin-bottom: 0;
    font-weight: 600;
    color: #1e40af;
}

/* 代表者紹介 */
.ceo-introduction {
    padding: 5rem 0;
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
}

.ceo-profile {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    padding: 3rem;
    box-shadow: var(--shadow-lg);
}

.ceo-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #dbeafe;
}

.ceo-header h3 {
    color: #1e40af;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.ceo-title {
    color: var(--text-light);
    font-size: 1.125rem;
    font-weight: 600;
}

.ceo-bio {
    margin-bottom: 2rem;
}

.ceo-bio p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.0625rem;
}

.ceo-achievements {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.ceo-achievements h4 {
    color: #1e40af;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.ceo-achievements ul {
    list-style: none;
    padding: 0;
}

.ceo-achievements ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-dark);
}

.ceo-achievements ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #1e40af;
    font-weight: bold;
}

.ceo-expertise h4 {
    color: var(--text-dark);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.expertise-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.expertise-tags span {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: #1e40af;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* アクセス */
.company-access {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

.access-content {
    max-width: 800px;
    margin: 0 auto;
}

.access-info {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.access-info h3 {
    color: #1e40af;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

.address-detail {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    border-radius: 8px;
}

.postal-code {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.address {
    color: var(--text-dark);
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.building {
    color: var(--text-light);
    font-size: 1.0625rem;
}

.access-method {
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.access-method h4 {
    color: var(--text-dark);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.access-method ul {
    list-style: none;
    padding: 0;
}

.access-method ul li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-light);
    line-height: 1.7;
}

.access-method ul li::before {
    content: "🚇";
    position: absolute;
    left: 0;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .philosophy-content {
        grid-template-columns: 1fr;
    }

    .detail-grid {
        grid-template-columns: 1fr;
    }

    .clients-grid {
        grid-template-columns: 1fr;
    }

    .message-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .message-photo img {
        max-width: 200px;
    }

    .expertise-tags {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .company-hero h1 {
        font-size: 2rem;
    }

    .company-philosophy,
    .company-information,
    .major-clients-section,
    .ceo-message,
    .ceo-introduction,
    .company-access {
        padding: 3rem 0;
    }

    .philosophy-statement,
    .philosophy-commitment {
        padding: 1.5rem;
    }

    .company-details,
    .message-content,
    .ceo-profile,
    .access-info {
        padding: 2rem;
    }

    .message-body p {
        text-align: left;
    }
}
