/* リセットCSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 基本設定 */
:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary-color: #64748b;
    --accent-color: #3b82f6;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --text-white: #ffffff;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

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

/* ナビゲーション */
.navbar {
    background-color: var(--bg-white);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    margin: 3px 0;
    transition: 0.3s;
}

/* モバイルメニュー */
.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.nav-menu.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--bg-white);
    box-shadow: var(--shadow);
    padding: 1rem 0;
    gap: 0;
}

.nav-menu.active li {
    width: 100%;
}

.nav-menu.active a {
    display: block;
    padding: 1rem 2rem;
    border-bottom: 1px solid var(--border-color);
}

.nav-menu.active a:hover {
    background-color: var(--bg-light);
}

/* メインコンテンツ */
main {
    margin-top: 80px;
}

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

.hero-content h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ボタン */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--text-white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-white);
    border: 2px solid var(--text-white);
}

.btn-secondary:hover {
    background-color: var(--text-white);
    color: var(--primary-color);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--text-white);
}

/* セクション共通 */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

/* サービス概要 */
.services-overview {
    padding: 4rem 0;
    background-color: var(--bg-light);
}

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

.service-card {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.service-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.service-link:hover {
    text-decoration: underline;
}

/* 代表者プロフィール */
.representative {
    padding: 4rem 0;
}

.representative-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.representative-info h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.representative-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.representative-title {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.representative-details {
    list-style: none;
    margin-bottom: 2rem;
}

.representative-details li {
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.placeholder-image {
    width: 200px;
    height: 200px;
    background-color: var(--bg-light);
    border: 2px dashed var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-weight: 500;
}

.representative-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
    box-shadow: var(--shadow);
}

/* 技術スタック */
.tech-stack {
    padding: 4rem 0;
    background-color: var(--bg-light);
}

.tech-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.tech-category h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag {
    background-color: var(--primary-color);
    color: var(--text-white);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.tech-more {
    text-align: center;
}

/* 実績ハイライト */
.achievements-highlight {
    padding: 4rem 0;
}

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

.achievement-card {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary-color);
    transition: transform 0.3s ease;
}

.achievement-card:hover {
    transform: translateY(-3px);
}

.achievement-year {
    background-color: var(--primary-color);
    color: var(--text-white);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
}

.achievement-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.achievement-card p {
    color: var(--text-light);
    line-height: 1.6;
}

.achievements-more {
    text-align: center;
}

/* CTA */
.cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--text-white);
    padding: 4rem 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.cta-content p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

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

/* フッター */
footer {
    background-color: var(--text-dark);
    color: var(--text-white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-white);
}

.footer-info p {
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.footer-links h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-white);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid var(--secondary-color);
    padding-top: 1rem;
    text-align: center;
    opacity: 0.8;
}

/* ページヘッダー */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--text-white);
    padding: 3rem 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.page-header p {
    font-size: 1.125rem;
    opacity: 0.9;
}

/* 会社基本情報 */
.company-info {
    padding: 4rem 0;
}

.info-table {
    max-width: 800px;
    margin: 0 auto;
}

.info-table table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--bg-white);
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.info-table th,
.info-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.info-table th {
    background-color: var(--bg-light);
    font-weight: 600;
    color: var(--text-dark);
    width: 30%;
}

.info-table td {
    color: var(--text-dark);
}

/* 事業内容 */
.business-purpose {
    padding: 4rem 0;
    background-color: var(--bg-light);
}

.purpose-list {
    max-width: 800px;
    margin: 0 auto;
}

.purpose-list ol {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow);
}

.purpose-list li {
    margin-bottom: 1rem;
    color: var(--text-dark);
    line-height: 1.6;
}

/* 代表者詳細 */
.representative-detail {
    padding: 4rem 0;
}

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

.profile-section h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.profile-section ul {
    list-style: none;
    padding-left: 0;
}

.profile-section li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-dark);
}

.profile-section li::before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* 組織体制 */
.organization {
    padding: 4rem 0;
    background-color: var(--bg-light);
}

.org-structure {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.org-item {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow);
    text-align: center;
}

.org-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.org-item p {
    color: var(--text-dark);
    font-weight: 500;
}

/* 連絡先情報 */
.contact-info {
    padding: 4rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-details h3,
.access-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.contact-item {
    margin-bottom: 1.5rem;
}

.contact-item strong {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.contact-item p {
    color: var(--text-dark);
}

.address-info,
.transport-info {
    margin-bottom: 2rem;
}

.address-info h4,
.transport-info h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.address-info p,
.transport-info p {
    color: var(--text-dark);
}

.map-placeholder {
    margin-top: 2rem;
}

.map-container {
    width: 100%;
    height: 300px;
    background-color: var(--bg-light);
    border: 2px dashed var(--border-color);
    border-radius: 0.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
}

.map-container span {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .representative-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-buttons,
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-content h2 {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .services-grid,
    .achievements-grid {
        grid-template-columns: 1fr;
    }
    
    .tech-categories {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .info-table th,
    .info-table td {
        padding: 0.75rem;
    }
    
    .info-table th {
        width: 40%;
    }
    
    .org-structure {
        grid-template-columns: 1fr;
    }
}

/* サービス紹介 */
.services-intro {
    padding: 4rem 0;
    background-color: var(--bg-light);
}

.intro-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-dark);
}

/* サービス詳細 */
.service-detail {
    padding: 4rem 0;
}

.service-detail.alt-bg {
    background-color: var(--bg-light);
}

.service-content {
    max-width: 1000px;
    margin: 0 auto;
}

.service-header {
    text-align: center;
    margin-bottom: 3rem;
}

.service-header .service-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.service-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
}

.service-body {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.service-description h3,
.service-features h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.service-description ul {
    list-style: none;
    padding-left: 0;
}

.service-description li {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-dark);
    line-height: 1.6;
}

.service-description li::before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.service-description strong {
    color: var(--text-dark);
}

/* 技術スタックリスト */
.tech-stack-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.tech-group h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

/* 実績リスト */
.achievement-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.achievement-item {
    background-color: var(--bg-white);
    padding: 1rem;
    border-radius: 0.5rem;
    border-left: 3px solid var(--primary-color);
}

.achievement-item .achievement-year {
    background-color: var(--primary-color);
    color: var(--text-white);
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.achievement-item p {
    color: var(--text-dark);
    margin: 0;
    font-size: 0.875rem;
}

/* 価値リスト */
.value-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.value-item {
    background-color: var(--bg-white);
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow);
}

.value-item h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.value-item p {
    color: var(--text-dark);
    margin: 0;
    line-height: 1.6;
}

/* 開発フロー */
.development-flow {
    padding: 4rem 0;
    background-color: var(--bg-light);
}

.flow-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.flow-step {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow);
    text-align: center;
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--text-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.flow-step h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.flow-step p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.875rem;
}

/* レスポンシブ対応（サービスページ） */
@media (max-width: 768px) {
    .service-body {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .service-header h2 {
        font-size: 2rem;
    }
    
    .flow-steps {
        grid-template-columns: 1fr;
    }
    
    .tech-stack-list {
        gap: 1rem;
    }
    
    .value-list {
        gap: 1rem;
    }
}

/* 代表者実績 */
.representative-achievements {
    padding: 4rem 0;
    background-color: var(--bg-light);
}

.achievement-overview {
    margin-bottom: 3rem;
}

.achievement-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.summary-item {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow);
    text-align: center;
}

.summary-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.summary-label {
    color: var(--text-dark);
    font-weight: 500;
}

.education-certifications {
    max-width: 800px;
    margin: 0 auto;
}

.education h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--text-dark);
    text-align: center;
}

.edu-item {
    display: flex;
    gap: 2rem;
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow);
    margin-bottom: 1.5rem;
}

.edu-year {
    background-color: var(--primary-color);
    color: var(--text-white);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 600;
    white-space: nowrap;
    height: fit-content;
}

.edu-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.edu-content p {
    color: var(--text-light);
    margin: 0;
}

/* プロジェクト事例 */
.project-cases {
    padding: 4rem 0;
}

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

.case-item {
    background-color: var(--bg-white);
    border-radius: 0.75rem;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.case-item:hover {
    transform: translateY(-5px);
}

.case-header {
    background-color: var(--primary-color);
    color: var(--text-white);
    padding: 1.5rem;
}

.case-year {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
}

.case-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.case-company {
    opacity: 0.9;
    font-size: 0.875rem;
    margin: 0;
}

.case-content {
    padding: 1.5rem;
}

.case-content h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
}

.case-content p {
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.case-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.case-content ul {
    list-style: none;
    padding-left: 0;
}

.case-content li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-dark);
    font-size: 0.875rem;
    line-height: 1.5;
}

.case-content li::before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* 技術スタック詳細 */
.tech-stack-detail {
    padding: 4rem 0;
    background-color: var(--bg-light);
}

.tech-categories-detailed {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.tech-category-detailed {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow);
}

.tech-category-detailed h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    text-align: center;
}

.tech-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.tech-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background-color: var(--bg-light);
    border-radius: 0.5rem;
}

.tech-name {
    font-weight: 500;
    color: var(--text-dark);
}

.tech-level {
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.tech-level.expert {
    background-color: #dc2626;
    color: var(--text-white);
}

.tech-level.advanced {
    background-color: var(--primary-color);
    color: var(--text-white);
}

.tech-level.intermediate {
    background-color: var(--secondary-color);
    color: var(--text-white);
}

/* レスポンシブ対応（実績ページ） */
@media (max-width: 768px) {
    .achievement-summary {
        grid-template-columns: 1fr;
    }
    
    .edu-item {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .cases-grid {
        grid-template-columns: 1fr;
    }
    
    .tech-categories-detailed {
        grid-template-columns: 1fr;
    }
    
    .tech-item {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}

/* お問い合わせフォーム */
.contact-form-section {
    padding: 4rem 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-form-container h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.form-description {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-form {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.required {
    color: #dc2626;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #dc2626;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.875rem;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.privacy-link {
    color: var(--primary-color);
    text-decoration: none;
}

.privacy-link:hover {
    text-decoration: underline;
}

.form-submit {
    text-align: center;
    margin-top: 2rem;
}

.form-submit .btn {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* 連絡先情報サイドバー */
.contact-info-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info-card {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow);
}

.contact-info-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.contact-detail {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.contact-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-detail strong {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--primary-color);
    font-size: 0.875rem;
}

.contact-detail p {
    color: var(--text-dark);
    margin: 0;
    line-height: 1.5;
}

.response-info {
    background-color: var(--bg-light);
    padding: 1.5rem;
    border-radius: 0.75rem;
}

.response-info h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.response-info ul {
    list-style: none;
    padding-left: 0;
}

.response-info li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-dark);
    font-size: 0.875rem;
    line-height: 1.5;
}

.response-info li::before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* FAQ */
.faq-section {
    padding: 4rem 0;
    background-color: var(--bg-light);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--bg-white);
    border-radius: 0.75rem;
    box-shadow: var(--shadow);
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: var(--bg-light);
}

.faq-question h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 200px;
}

.faq-answer p {
    color: var(--text-dark);
    line-height: 1.6;
    margin: 0;
}

.faq-answer a {
    color: var(--primary-color);
    text-decoration: none;
}

.faq-answer a:hover {
    text-decoration: underline;
}

/* 対応可能業務 */
.capabilities-section {
    padding: 4rem 0;
}

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

.capability-item {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s ease;
}

.capability-item:hover {
    transform: translateY(-3px);
}

.capability-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.capability-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.capability-item ul {
    list-style: none;
    padding-left: 0;
    text-align: left;
}

.capability-item li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-dark);
    font-size: 0.875rem;
    line-height: 1.5;
}

.capability-item li::before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* レスポンシブ対応（お問い合わせページ） */
@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .capabilities-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
}

/* プライバシーポリシーページ */
.privacy-policy-section {
    padding: 4rem 0;
    background-color: var(--bg-light);
}

.privacy-content {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--bg-white);
    padding: 3rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.policy-section {
    margin-bottom: 2.5rem;
}

.policy-section:last-child {
    margin-bottom: 0;
}

.policy-section h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

.policy-section p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.policy-section ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.policy-section li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
    color: var(--text-dark);
}

.contact-info {
    background-color: var(--bg-light);
    padding: 1.5rem;
    border-radius: 5px;
    margin-top: 1rem;
}

.contact-info p {
    margin-bottom: 0.5rem;
}

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

.policy-date {
    text-align: center;
    font-weight: 600;
    color: var(--text-light);
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

@media (max-width: 768px) {
    .privacy-content {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }
    
    .policy-section h2 {
        font-size: 1.3rem;
    }
    
    .contact-info {
        padding: 1rem;
    }
} 