/* ヘッダー */
.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff10" d="M0,192L48,197.3C96,203,192,213,288,229.3C384,245,480,267,576,250.7C672,235,768,181,864,181.3C960,181,1056,235,1152,234.7C1248,235,1344,181,1392,154.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.3; }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
    position: relative;
    z-index: 1;
}

.header h1 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: bold;
}

.header-subtitle {
    font-size: 1.1rem;
    opacity: 0.95;
}

/* セクション共通 */
section {
    padding: 60px 10px;
}

h2 {
    font-size: 2rem;
    margin-bottom: 40px;
    text-align: center;
    color: #667eea;
    position: relative;
    padding-bottom: 15px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
}

/* 代表挨拶 */
.greeting {
    background: white;
}

.greeting-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    max-width: 1000px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.ceo-image-wrapper {
    flex-shrink: 0;
}

.ceo-image {
    width: 250px;
    height: 250px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ceo-image img {
    border-radius: 50%;
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.3);
}

.ceo-profile {
    margin-top: 20px;
    text-align: center;
}

.ceo-name {
    font-size: 1.3rem;
    font-weight: bold;
    color: #667eea;
    margin-bottom: 5px;
}

.ceo-title {
    color: #666;
    font-size: 0.95rem;
}

.greeting-text {
    flex: 1;
    min-width: 300px;
}

.greeting-text h3 {
    font-size: 1.5rem;
    color: #667eea;
    margin-bottom: 20px;
}

.greeting-text p {
    margin-bottom: 15px;
    text-align: justify;
}

.highlight-box {
    background: linear-gradient(135deg, #667eea15 0%, #764ba215 100%);
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #667eea;
    margin-bottom: 20px;
    color: #667eea;
    font-size: 1.5rem;
    font-weight: bold;
}

/* 会社概要 */
.company-info {
    background: #f8f9fa;
}

.info-table {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.info-row {
    display: flex;
    border-bottom: 1px solid #e0e0e0;
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    background: #667eea15;
    padding: 20px;
    font-weight: bold;
    width: 30%;
    color: #667eea;
}

.info-value {
    padding: 20px;
    width: 70%;
}

/* 事業内容 */
.business {
    background: white;
}

.business-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.business-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 30px;
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

.business-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.business-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
}

.business-title {
    font-size: 1.2rem;
    color: #667eea;
    margin-bottom: 15px;
    font-weight: bold;
}

.business-description {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* レスポンシブ */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    .greeting-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .greeting-text {
        text-align: left;
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
}
