/* 基本スタイル */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #FFD700;
    --primary-dark: #FFA500;
    --secondary-color: #2C3E50;
    --text-color: #333;
    --light-text: #666;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e9ecef;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic Pro', 'Meiryo', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

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

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

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--secondary-color);
}

.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo .fa-sun,
.footer-logo .fa-sun {
    display: inline-block;
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    background: url('../assets/logo-mark.svg') center / contain no-repeat;
    color: transparent;
    font-size: 0;
}

.footer-logo .fa-sun {
    width: 40px;
    height: 40px;
}

.logo i {
    color: var(--primary-color);
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    color: var(--text-color);
    font-weight: 500;
    padding: 10px 0;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

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

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

/* ヒーローセクション */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 20px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255,215,0,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    max-width: 600px;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    max-width: 500px;
}

/* ボタン */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

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

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

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

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

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

.btn-outline:hover {
    background-color: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
}

.btn-lg {
    padding: 18px 40px;
    font-size: 1.2rem;
}

/* セクション */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 10px;
}

.section-subtitle {
    text-align: center;
    color: var(--light-text);
    font-size: 1.1rem;
    margin-bottom: 50px;
}

/* サービスプレビュー */
.services-preview {
    background-color: var(--bg-light);
}

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

.service-card {
    background-color: var(--bg-white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-icon i {
    color: white;
    font-size: 1.5rem;
}

.service-card h3 {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

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

.service-link {
    color: var(--secondary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.service-link:hover {
    color: var(--primary-dark);
}

/* 事例プレビュー */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.case-card {
    background-color: var(--bg-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.case-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.case-content {
    padding: 20px;
}

.case-category {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.case-content h3 {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.case-content p {
    color: var(--light-text);
    margin-bottom: 15px;
}

.case-link {
    color: var(--secondary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.case-link:hover {
    color: var(--primary-dark);
}

/* お客様の声 */
.testimonials {
    background-color: var(--bg-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: var(--bg-white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.testimonial-stars {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.testimonial-text {
    color: var(--light-text);
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author-name {
    font-weight: 600;
    color: var(--secondary-color);
}

.author-role {
    font-size: 0.9rem;
    color: var(--light-text);
}

.testimonial-link {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.9rem;
}

.testimonial-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* 実績 */
.stats {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* CTA */
.cta {
    background-color: var(--bg-light);
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.cta p {
    color: var(--light-text);
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* フッター */
.footer {
    background-color: var(--secondary-color);
    color: white;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo i {
    color: var(--primary-color);
}

.footer-section p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 20px;
}

.footer-section h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.footer-section ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-section ul a {
    color: rgba(255,255,255,0.7);
}

.footer-section ul a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-section ul i {
    margin-right: 10px;
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

.footer-bottom-links a:hover {
    color: white;
}

/* レスポンシブ */
@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
    }

    .hero-content {
        margin-bottom: 40px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image img {
        max-width: 100%;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--bg-white);
        width: 100%;
        padding: 20px;
        box-shadow: var(--shadow);
        transition: var(--transition);
        gap: 15px;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

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

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

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

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .cta h2 {
        font-size: 1.8rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .stat-number {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .btn {
        padding: 10px 20px;
    }
}

/* アニメーション */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* フォーム */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--secondary-color);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.form-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 40px;
    font-size: 1.1rem;
}

.form-submit i {
    transition: var(--transition);
}

.form-submit:hover i {
    transform: translateX(5px);
}

.success-message {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    margin-top: 20px;
}

.success-message i {
    font-size: 3rem;
    color: #28a745;
    margin-bottom: 10px;
}

.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ページ固有スタイル */
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 100px 20px 60px;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

.breadcrumb {
    background-color: var(--bg-light);
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--light-text);
}

.breadcrumb-nav a {
    color: var(--secondary-color);
}

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

.breadcrumb-nav i {
    color: var(--light-text);
}

/* 詳細ページ */
.case-detail {
    padding: 60px 0;
}

.case-hero {
    margin-bottom: 40px;
}

.case-hero img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
}

.case-info {
    background-color: var(--bg-light);
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 40px;
}

.case-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.case-info-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.case-info-label {
    font-weight: 600;
    color: var(--secondary-color);
}

.case-info-value {
    color: var(--light-text);
}

.case-content h2 {
    font-size: 2rem;
    color: var(--secondary-color);
    margin: 40px 0 20px;
}

.case-content h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin: 30px 0 15px;
}

.case-content p {
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 20px;
}

.case-content ul {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 20px;
}

.case-content li {
    color: var(--text-color);
    margin-bottom: 10px;
    line-height: 1.8;
}

.case-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.case-images img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
}

.case-result {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    margin: 40px 0;
}

.case-result h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
}

.case-result-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.case-result-item {
    background-color: rgba(255,255,255,0.1);
    padding: 20px;
    border-radius: 10px;
}

.case-result-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.case-result-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .case-hero img {
        height: 250px;
    }

    .case-content h2 {
        font-size: 1.5rem;
    }

    .case-content h3 {
        font-size: 1.2rem;
    }
}

/* カードホバー効果 */
.card-hover {
    transition: var(--transition);
}

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

/* バッジ */
.badge {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.badge-primary {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.badge-secondary {
    background-color: var(--secondary-color);
    color: white;
}

/* タブ */
.tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 25px;
    background-color: var(--bg-light);
    border: 2px solid transparent;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn:hover,
.tab-btn.active {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* フィルター */
.filter-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--secondary-color);
    color: white;
    border-color: var(--secondary-color);
}

/* パンくずリストのスタイル改善 */
.breadcrumb-nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* テーブルスタイル */
.table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

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

.table th {
    background-color: var(--bg-light);
    font-weight: 600;
    color: var(--secondary-color);
}

.table tr:hover {
    background-color: var(--bg-light);
}

/* プログレスバー */
.progress {
    height: 8px;
    background-color: var(--border-color);
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    transition: width 0.3s ease;
}

/* アコーディオン */
.accordion {
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
}

.accordion-header {
    background-color: var(--bg-light);
    padding: 15px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.accordion-header:hover {
    background-color: #e9ecef;
}

.accordion-header.active {
    background-color: var(--secondary-color);
    color: white;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-content.active {
    max-height: 500px;
}

.accordion-content-inner {
    padding: 20px;
}

.accordion-icon {
    transition: var(--transition);
}

.accordion-header.active .accordion-icon {
    transform: rotate(180deg);
}

/* モーダル */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal.active {
    display: flex;
}

.modal-content {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    max-width: 600px;
    width: 100%;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--light-text);
}

.modal-close:hover {
    color: var(--text-color);
}

/* スクロールトップボタン */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

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

/* 会社概要ページスタイル */
.about-section {
    padding: 60px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.about-text h2 {
    margin-bottom: 30px;
}

.company-info {
    background-color: var(--bg-light);
    padding: 30px;
    border-radius: 10px;
}

.info-row {
    display: flex;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    min-width: 150px;
    font-weight: 600;
    color: var(--secondary-color);
}

.info-value {
    color: var(--text-color);
    flex: 1;
}

.about-image img {
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
}

/* 企業理念セクション */
.philosophy-section {
    background-color: var(--bg-light);
}

.philosophy-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.philosophy-item {
    background-color: var(--bg-white);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.philosophy-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.philosophy-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.philosophy-icon i {
    color: white;
    font-size: 2rem;
}

.philosophy-item h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.philosophy-item p {
    color: var(--light-text);
    line-height: 1.8;
}

/* ビジョンセクション */
.vision-section {
    padding: 80px 0;
}

.vision-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.vision-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px;
    border-radius: 10px;
    transition: var(--transition);
}

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

.vision-box h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.vision-box p {
    opacity: 0.95;
    line-height: 1.8;
}

/* チームセクション */
.team-section {
    background-color: var(--bg-light);
}

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

.team-card {
    background-color: var(--bg-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.team-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.team-info {
    padding: 25px;
}

.team-info h3 {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.team-role {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.team-bio {
    color: var(--light-text);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* 履歴セクション */
.history-section {
    padding: 80px 0;
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, #667eea, #764ba2);
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 50px;
    position: relative;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 3px var(--primary-color);
}

.timeline-year {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    margin: 0 20px;
    flex-shrink: 0;
}

.timeline-content {
    flex: 1;
    background-color: var(--bg-light);
    padding: 20px;
    border-radius: 10px;
}

.timeline-content h3 {
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.timeline-content p {
    color: var(--light-text);
    line-height: 1.7;
}

/* 認証セクション */
.certifications-section {
    background-color: var(--bg-light);
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.certification-card {
    background-color: var(--bg-white);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.cert-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.cert-icon i {
    color: white;
    font-size: 1.5rem;
}

.certification-card h3 {
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.certification-card p {
    color: var(--light-text);
    font-size: 0.9rem;
}

@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
    }

    .about-image {
        order: -1;
    }

    .timeline::before {
        left: 30px;
    }

    .timeline-item {
        flex-direction: row !important;
    }

    .timeline-item::before {
        left: 30px;
    }

    .timeline-year {
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .info-row {
        flex-direction: column;
        gap: 5px;
    }

    .info-label {
        min-width: auto;
    }

    .section-title {
        font-size: 2rem;
    }
}

/* サービスページスタイル */
.services-main {
    padding: 60px 0;
}

.service-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 80px;
    align-items: center;
}

.service-detail:nth-child(even) {
    grid-template-columns: 1fr 1fr;
}

.service-detail:nth-child(even) .service-detail-image {
    order: -1;
}

.service-detail-info {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.service-detail-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-detail-icon i {
    color: white;
    font-size: 1.5rem;
}

.service-detail-info h3 {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin: 0;
}

.service-detail-category {
    color: var(--primary-color);
    font-weight: 600;
    margin: 5px 0 0 0 !important;
}

.service-detail-description {
    color: var(--light-text);
    line-height: 1.8;
    margin-bottom: 25px;
}

.service-detail-image img {
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.service-features h4,
.service-use-cases h4 {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
}

.feature-tag {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
}

.service-use-cases ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
}

.service-use-cases li {
    color: var(--text-color);
    padding: 8px 0;
    position: relative;
    padding-left: 25px;
}

.service-use-cases li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* 開発プロセス */
.process-section {
    background-color: var(--bg-light);
    padding: 80px 0;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.process-step {
    text-align: center;
    position: relative;
}

.process-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 20px;
}

.process-step h3 {
    color: var(--secondary-color);
    margin-bottom: 10px;
}

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

/* 技術スタック */
.tech-section {
    padding: 80px 0;
}

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

.tech-category {
    background-color: var(--bg-light);
    padding: 30px;
    border-radius: 10px;
    transition: var(--transition);
}

.tech-category:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.tech-category h3 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tech-category h3 i {
    color: var(--primary-color);
}

.tech-items {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tech-items span {
    background-color: var(--bg-white);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-color);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.tech-items span:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: transparent;
}

/* 価格プラン */
.pricing-section {
    background-color: var(--bg-light);
    padding: 80px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.pricing-card {
    background-color: var(--bg-white);
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

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

.pricing-card.popular {
    border: 3px solid var(--primary-color);
    transform: scale(1.05);
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-10px);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.pricing-header h3 {
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.pricing-description {
    color: var(--light-text);
    margin-bottom: 20px;
}

.pricing-price {
    margin-bottom: 30px;
}

.price-amount {
    font-size: 2rem;
    font-weight: bold;
    color: var(--secondary-color);
}

.price-period {
    color: var(--light-text);
    font-size: 0.9rem;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 30px;
}

.pricing-features li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li i {
    color: #28a745;
}

.pricing-features li.unavailable i {
    color: #dc3545;
}

.pricing-features li.unavailable {
    color: #999;
    text-decoration: line-through;
}

/* よくある質問 */
.faq-section {
    padding: 80px 0;
}

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

.accordion {
    margin-bottom: 15px;
}

.accordion-header {
    background-color: var(--bg-white);
    padding: 20px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--secondary-color);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.accordion-header:hover {
    background-color: var(--bg-light);
}

.accordion-header.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: transparent;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-content.active {
    max-height: 500px;
}

.accordion-content-inner {
    padding: 20px;
    background-color: var(--bg-light);
    border-radius: 0 0 10px 10px;
    color: var(--light-text);
    line-height: 1.8;
}

.accordion-icon {
    transition: transform 0.3s ease;
}

.accordion-header.active .accordion-icon {
    transform: rotate(180deg);
}

@media (max-width: 992px) {
    .service-detail {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .service-detail:nth-child(even) .service-detail-image {
        order: 1;
    }

    .service-detail-image img {
        height: 250px;
    }

    .pricing-card.popular {
        transform: scale(1);
    }

    .pricing-card.popular:hover {
        transform: translateY(-10px);
    }
}

@media (max-width: 768px) {
    .service-detail-info {
        flex-direction: column;
        align-items: flex-start;
    }

    .service-detail-info h3 {
        font-size: 1.4rem;
    }

    .process-steps {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .tech-categories {
        grid-template-columns: 1fr;
    }

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

/* お問い合わせページスタイル */
.contact-section {
    padding: 60px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    margin-bottom: 80px;
}

.contact-info h2,
.contact-form-container h2 {
    color: var(--secondary-color);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info h2 i,
.contact-form-container h2 i {
    color: var(--primary-color);
}

.contact-info-item {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}

.contact-info-item:last-child {
    border-bottom: none;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    color: white;
    font-size: 1.2rem;
}

.contact-details h3 {
    color: var(--secondary-color);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.contact-details p {
    color: var(--light-text);
    margin: 0;
}

.contact-details a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.contact-details a:hover {
    color: var(--primary-dark);
}

.contact-map {
    margin-top: 30px;
    border-radius: 10px;
    overflow: hidden;
}

.contact-map img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.contact-map p {
    padding: 15px;
    text-align: center;
    color: var(--light-text);
    background-color: var(--bg-light);
    margin: 0;
}

.contact-form-container {
    background-color: var(--bg-light);
    padding: 40px;
    border-radius: 10px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group label {
    display: block;
    color: var(--secondary-color);
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
    background-color: white;
}

.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(102, 126, 234, 0.1);
}

.form-group input:invalid,
.form-group select:invalid {
    border-color: #dc3545;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.required {
    color: #dc3545;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    color: var(--text-color);
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.success-message,
.loading-message {
    text-align: center;
    padding: 40px 20px;
}

.success-icon {
    width: 80px;
    height: 80px;
    background-color: #28a745;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.success-icon i {
    color: white;
    font-size: 2.5rem;
}

.success-message h3 {
    color: #28a745;
    margin-bottom: 15px;
}

.success-message p {
    color: var(--text-color);
    margin-bottom: 10px;
}

.hidden {
    display: none !important;
}

.spinner {
    border: 4px solid rgba(102, 126, 234, 0.1);
    border-left-color: var(--primary-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.contact-faq {
    margin-top: 80px;
}

.contact-faq h2 {
    color: var(--secondary-color);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-faq h2 i {
    color: var(--primary-color);
}

.faq-accordion {
    max-width: 800px;
}

.faq-item {
    margin-bottom: 15px;
}

.faq-button {
    width: 100%;
    padding: 20px;
    background-color: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--secondary-color);
    text-align: left;
    transition: var(--transition);
}

.faq-button:hover {
    background-color: var(--bg-light);
    border-color: var(--primary-color);
}

.faq-button i {
    transition: transform 0.3s ease;
}

.faq-button.active i {
    transform: rotate(180deg);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-content.active {
    max-height: 200px;
}

.faq-content p {
    padding: 20px;
    background-color: var(--bg-light);
    border-radius: 0 0 10px 10px;
    color: var(--light-text);
    line-height: 1.8;
    margin: 0;
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-info {
        order: 2;
    }

    .contact-form-container {
        order: 1;
    }
}

@media (max-width: 768px) {
    .contact-form-container {
        padding: 25px;
    }

    .contact-info-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
    }
}

/* お客様の声詳細ページスタイル */
.client-case-detail {
    padding: 60px 0;
}

.client-hero {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
}

.client-hero img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.client-hero-info h2 {
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-size: 1.8rem;
}

.client-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.client-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.client-tag {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
}

.client-company-info {
    background-color: var(--bg-light);
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 40px;
}

.client-company-info h3 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.client-company-info h3 i {
    color: var(--primary-color);
}

.company-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.company-info-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.company-info-label {
    color: var(--light-text);
    font-size: 0.9rem;
}

.company-info-value {
    color: var(--text-color);
    font-weight: 500;
}

.client-interview {
    margin-bottom: 40px;
}

.client-interview h3 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.client-interview h3 i {
    color: var(--primary-color);
}

.interview-content {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.interview-question h4 {
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-size: 1.1rem;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.question-mark {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.interview-question p {
    color: var(--light-text);
    line-height: 1.8;
    padding-left: 40px;
}

.client-projects {
    margin-bottom: 40px;
}

.client-projects h3 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.client-projects h3 i {
    color: var(--primary-color);
}

.projects-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.project-item {
    background-color: var(--bg-light);
    padding: 25px;
    border-radius: 10px;
    transition: var(--transition);
}

.project-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateX(10px);
}

.project-period {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.project-item h4 {
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.project-item p {
    color: var(--light-text);
    margin-bottom: 15px;
}

.project-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.project-link:hover {
    gap: 10px;
}

.client-evaluation {
    margin-bottom: 40px;
}

.client-evaluation h3 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.client-evaluation h3 i {
    color: var(--primary-color);
}

.evaluation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.evaluation-item {
    background-color: var(--bg-light);
    padding: 15px;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.evaluation-stars {
    color: #ffc107;
    font-size: 1.1rem;
}

.evaluation-stars i {
    margin-left: 3px;
}

.overall-evaluation {
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    color: white;
}

.overall-label {
    display: block;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.overall-score {
    display: inline-block;
    font-size: 3rem;
    font-weight: bold;
}

.overall-max {
    font-size: 1.2rem;
}

.related-clients {
    margin-bottom: 40px;
}

.related-clients h3 {
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.related-clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.related-client-card {
    background-color: var(--bg-light);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    text-decoration: none;
    transition: var(--transition);
    display: block;
}

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

.related-client-card img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 15px;
    border: 3px solid var(--primary-color);
}

.related-client-card h4 {
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.related-client-card p {
    color: var(--light-text);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .client-hero {
        flex-direction: column;
        text-align: center;
    }

    .client-hero img {
        width: 120px;
        height: 120px;
    }

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

    .company-info-grid,
    .evaluation-grid,
    .related-clients-grid {
        grid-template-columns: 1fr;
    }

    .evaluation-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .interview-question p {
        padding-left: 0;
    }
}

/* 事例紹介ページ */
.business-cases-page .page-header {
    padding: 72px 20px 64px;
}

.business-cases-page .page-header h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 12px;
}

.business-cases-page .page-header p {
    font-size: 1.05rem;
}

.business-cases-page .filter-section {
    padding: 28px 0;
    background-color: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
}

.business-cases-page .filter-buttons {
    max-width: 900px;
    margin: 0 auto;
    justify-content: center;
    gap: 10px;
}

.business-cases-page .filter-btn {
    min-width: 86px;
    padding: 10px 18px;
}

.business-cases-page .business-cases,
.business-cases-page .client-cases,
.business-cases-page .industry-cases {
    padding: 68px 0;
}

.business-cases-page .client-cases,
.business-cases-page .industry-cases {
    background-color: var(--bg-light);
}

.business-cases-page .section-title {
    font-size: clamp(1.8rem, 3vw, 2.35rem);
    margin-bottom: 8px;
}

.business-cases-page .section-subtitle {
    margin-bottom: 34px;
}

.cases-grid-extended {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.case-card-extended,
.client-case-card,
.industry-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.case-card-extended {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border-radius: 12px;
}

.case-card-extended:hover,
.client-case-card:hover,
.industry-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.case-card-extended > img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.case-extended-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 24px;
}

.case-card-extended .case-category {
    align-self: flex-start;
    margin-bottom: 14px;
    padding: 5px 12px;
    background: #fff7cf;
    color: #7b6100;
    border: 1px solid #f2d86b;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
}

.case-card-extended h3 {
    margin-bottom: 10px;
    color: var(--secondary-color);
    font-size: 1.3rem;
    line-height: 1.45;
}

.case-excerpt {
    color: var(--light-text);
    line-height: 1.75;
}

.case-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 22px 0;
    padding: 16px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.case-metric {
    min-width: 0;
    text-align: center;
}

.metric-value {
    display: block;
    color: var(--secondary-color);
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.2;
}

.metric-label {
    display: block;
    margin-top: 5px;
    color: var(--light-text);
    font-size: 0.72rem;
    line-height: 1.35;
}

.case-card-extended .case-link,
.client-case-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
    color: var(--secondary-color);
    font-weight: 700;
}

.case-card-extended .case-link i,
.client-case-link i {
    color: var(--primary-dark);
    transition: transform 0.3s ease;
}

.case-card-extended .case-link:hover i,
.client-case-link:hover i {
    transform: translateX(4px);
}

.client-cases-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.client-case-card {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    overflow: hidden;
    border-radius: 12px;
}

.client-case-card > img {
    width: 100%;
    height: 100%;
    min-height: 310px;
    object-fit: cover;
}

.client-case-content {
    display: flex;
    flex-direction: column;
    padding: 24px;
}

.client-case-content h3 {
    margin-bottom: 8px;
    color: var(--secondary-color);
    font-size: 1.12rem;
    line-height: 1.5;
}

.client-company {
    margin-bottom: 14px;
    color: var(--light-text);
    font-size: 0.85rem;
}

.client-testimonial {
    flex: 1;
    color: var(--light-text);
    font-size: 0.92rem;
    line-height: 1.75;
}

.client-project-info {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px 10px;
    margin: 18px 0 0;
    padding: 12px 0;
    border-top: 1px solid var(--border-color);
}

.project-label {
    color: var(--light-text);
    font-size: 0.78rem;
}

.project-name {
    color: var(--secondary-color);
    font-size: 0.85rem;
    font-weight: 600;
}

.cases-stats {
    padding: 56px 0;
    background-color: var(--secondary-color);
    color: white;
}

.cases-stats .stats-grid {
    gap: 20px;
}

.cases-stats .stat-item {
    padding: 12px 20px;
}

.stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin: 0 auto 12px;
    border: 1px solid rgba(255, 215, 0, 0.7);
    border-radius: 50%;
    color: var(--primary-color);
}

.cases-stats .stat-number {
    margin-bottom: 4px;
    font-size: 2.6rem;
}

.cases-stats .stat-label {
    font-size: 0.95rem;
}

.industry-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.industry-card {
    padding: 24px;
    border-radius: 10px;
    text-align: center;
}

.industry-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background-color: #fff7cf;
    color: #a27600;
    font-size: 1.2rem;
}

.industry-card h3 {
    margin-bottom: 8px;
    color: var(--secondary-color);
    font-size: 1.1rem;
}

.industry-card p {
    min-height: 3.6em;
    color: var(--light-text);
    font-size: 0.88rem;
    line-height: 1.6;
}

.industry-stats {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
}

.industry-stats span:first-child {
    color: var(--secondary-color);
    font-size: 1.35rem;
    font-weight: 700;
}

.industry-stats span:last-child {
    color: var(--light-text);
    font-size: 0.78rem;
}

@media (max-width: 992px) {
    .cases-grid-extended,
    .client-cases-grid {
        grid-template-columns: 1fr;
    }

    .industry-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .business-cases-page .page-header {
        padding: 52px 16px 46px;
    }

    .business-cases-page .page-header p {
        font-size: 0.95rem;
        line-height: 1.8;
    }

    .business-cases-page .filter-section {
        padding: 20px 0;
    }

    .business-cases-page .filter-buttons {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    .business-cases-page .filter-btn {
        min-width: 0;
        width: 100%;
        padding: 10px 6px;
        font-size: 0.85rem;
    }

    .business-cases-page .business-cases,
    .business-cases-page .client-cases,
    .business-cases-page .industry-cases {
        padding: 52px 0;
    }

    .cases-grid-extended,
    .client-cases-grid,
    .industry-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .case-card-extended > img {
        height: 190px;
    }

    .case-extended-content,
    .client-case-content {
        padding: 20px;
    }

    .client-case-card {
        grid-template-columns: 100px minmax(0, 1fr);
    }

    .client-case-card > img {
        min-height: 300px;
    }

    .industry-card p {
        min-height: 0;
    }

    .cases-stats .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .cases-stats .stat-item {
        padding: 10px 8px;
    }

    .cases-stats .stat-number {
        font-size: 2.15rem;
    }
}
