/* General Body & Typography */
body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #f8f8f8;
}

h1, h2, h3 {
    font-family: 'Poppins', 'Noto Sans JP', sans-serif;
    color: #2c3e50;
    margin-bottom: 0.8em;
}

h1 {
    font-size: 2.8em;
    font-weight: 700;
}

h2 {
    font-size: 2.2em;
    font-weight: 600;
    text-align: center;
    margin-bottom: 1.5em;
    padding-bottom: 0.5em;
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #4CAF50; /* アクセントカラー */
    border-radius: 2px;
}

h3 {
    font-size: 1.6em;
    font-weight: 600;
}

a {
    color: #4CAF50;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

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

/* Header (Hero Section) */
.hero {
    background: linear-gradient(135deg, #2c3e50 0%, #4CAF50 100%); /* ロゴの色合いを意識 */
    color: white;
    text-align: center;
    padding: 80px 20px;
    position: relative;
    overflow: hidden; /* 背景のSVGを隠すため */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><circle cx="20" cy="20" r="10" fill="rgba(255,255,255,0.05)"/></svg>') repeat; /* 控えめなパターン */
    opacity: 0.5;
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero .logo {
    max-width: 180px;
    height: auto;
    margin-bottom: 30px;
    filter: drop-shadow(0 0 10px rgba(0,0,0,0.3)); /* ロゴに影を付けて浮き上がらせる */
}

.hero h1 {
    font-size: 3.5em; /* PCサイズで大きめに */
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.4em;
    margin-bottom: 40px;
    opacity: 0.9;
}

.btn {
    display: inline-block;
    background-color: #fff;
    color: #4CAF50;
    padding: 15px 30px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s, color 0.3s, transform 0.3s;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.btn:hover {
    background-color: #e0e0e0;
    color: #3a8a3d;
    transform: translateY(-2px);
    text-decoration: none;
}

/* Sections */
.section {
    padding: 80px 0;
    border-bottom: 1px solid #eee;
}

.section:last-of-type {
    border-bottom: none;
}

.section:nth-of-type(even) {
    background-color: #f0f0f0;
}

/* Philosophy Section */
.philosophy-section p {
    text-align: center;
    font-size: 1.1em;
    max-width: 800px;
    margin: 0 auto;
}

/* Expertise Section */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.expertise-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

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

.expertise-item h3 {
    color: #4CAF50;
    margin-bottom: 15px;
    font-size: 1.5em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.expertise-item p {
    font-size: 1em;
    color: #555;
}

/* Icons for Expertise (using basic shapes for now, can be replaced with Font Awesome) */
.icon {
    display: inline-block;
    width: 28px;
    height: 28px;
    margin-right: 10px;
    background-color: #4CAF50;
    border-radius: 50%;
    position: relative;
    vertical-align: middle;
}

.icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
}

.icon-advisory::before { /* Briefcase-like */
    width: 12px;
    height: 8px;
    border: 2px solid white;
    border-top: none;
    border-radius: 2px;
}
.icon-edge-ai::before { /* Chip-like */
    width: 10px;
    height: 10px;
    border: 2px solid white;
    border-radius: 2px;
}
.icon-llm::before { /* Brain-like or cloud */
    width: 10px;
    height: 10px;
    border-radius: 50%;
    box-shadow: 4px -4px 0 0 white, -4px 4px 0 0 white;
}
.icon-security::before { /* Shield-like */
    width: 10px;
    height: 12px;
    border: 2px solid white;
    border-bottom: none;
    clip-path: polygon(50% 0%, 0% 20%, 0% 100%, 100% 100%, 100% 20%);
}

/* Works Section */
.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.works-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    text-align: center;
}

.works-item h3 {
    color: #2c3e50;
    font-size: 1.4em;
    margin-bottom: 10px;
}

.works-item p {
    font-size: 1em;
    color: #555;
}

/* About Section (Representative) */
.profile-content {
    display: flex;
    flex-wrap: wrap; /* スマホで折り返す */
    align-items: center;
    gap: 40px;
    margin-top: 40px;
    justify-content: center;
}

.profile-photo {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #4CAF50;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.profile-text {
    flex: 1;
    max-width: 600px;
    text-align: left;
}

.profile-text h3 {
    font-size: 2em;
    color: #2c3e50;
    margin-bottom: 15px;
}

.profile-text p {
    margin-bottom: 1em;
    color: #444;
}

.small-text {
    font-size: 0.9em;
    color: #777;
}

/* Company Section */
.company-info {
    max-width: 600px;
    margin: 40px auto 0;
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    text-align: left;
}

.company-info p {
    margin-bottom: 10px;
    line-height: 1.8;
}

.company-info strong {
    min-width: 80px; /* 整列用 */
    display: inline-block;
}

/* Footer (Contact Section) */
.footer {
    background-color: #2c3e50;
    color: white;
    text-align: center;
    padding: 60px 20px;
}

.footer h2 {
    color: white;
    margin-bottom: 20px;
}

.footer h2::after {
    background-color: #4CAF50;
}

.footer p {
    font-size: 1.1em;
    margin-bottom: 20px;
}

.footer a {
    color: #4CAF50;
    font-weight: bold;
}

.footer a:hover {
    color: #6adb6f;
}

.copyright {
    margin-top: 40px;
    font-size: 0.9em;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5em;
    }
    .hero p {
        font-size: 1.2em;
    }
    h2 {
        font-size: 1.8em;
    }
    h3 {
        font-size: 1.3em;
    }
    .expertise-grid, .works-grid {
        grid-template-columns: 1fr;
    }
    .profile-content {
        flex-direction: column;
        text-align: center;
    }
    .profile-text {
        text-align: center;
    }
    .profile-photo {
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2em;
    }
    .hero p {
        font-size: 1em;
    }
    .btn {
        padding: 12px 25px;
        font-size: 1em;
    }
    .section {
        padding: 60px 0;
    }
}