
* {
       margin: 0;
       padding: 0;
       box-sizing: border-box;
   }

body {
    font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* 共通スタイル */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.service-link {
    display: inline-block;
    margin-top: 15px;
    padding: 8px 16px;
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    text-decoration: none;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.service-link:hover {
    background: rgba(102, 126, 234, 0.2);
    transform: translateY(-1px);
}

.service-link i {
    margin-right: 5px;
    font-size: 12px;
}

.case-links {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

/* News Release */
.news-release {
    padding: 80px 0;
    background: #f8f9fa;
}

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

.news-item {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.news-date {
    font-size: 14px;
    color: #666;
    font-weight: 500;
    margin-bottom: 10px;
}

.news-category {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 15px;
}

.news-title {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 15px;
    color: #333;
}

.news-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-title a:hover {
    color: #667eea;
}

.news-excerpt {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-secondary:hover {
    background: #667eea;
    color: white;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #333;
    position: relative;
}

.section-subtitle {
    display: block;
    font-size: 1rem;
    color: #666;
    font-weight: normal;
    margin-top: 10px;
}

.accent {
    color: #667eea;
}

/* ヘッダー */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.logo h1 {
    font-size: 1.5rem;
    font-weight: bold;
}

.logo a {
    text-decoration: none;
    color: inherit;
}

.logo a:hover {
    color: inherit;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    display: block;
    padding: 10px 0;
}

.nav-menu a:hover {
    color: #667eea;
}

.nav-menu a.active {
    color: #667eea;
    font-weight: bold;
}

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
    display: block;
}

.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);
}

/* モバイル用のナビゲーションメニュー */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: left 0.3s ease;
        z-index: 1000;
    }

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

    .nav-menu li {
        margin: 2rem 0;
    }

    .nav-menu a {
        font-size: 1.5rem;
        color: #333;
        text-decoration: none;
    }
}

/* メインビジュアル */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 100px 20px 0;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

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

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

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

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

.cloud-icons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    font-size: 4rem;
    opacity: 0.8;
}

.cloud-icons i {
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* サービス */
.services {
    padding: 100px 0;
    background: #f8f9ff;
}

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

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.service-icon {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
}

.service-card p {
    color: #666;
    line-height: 1.8;
}

/* 導入事例プレビュー */
.cases-preview {
    padding: 100px 0;
    background: white;
}

.cases-intro {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 50px;
    line-height: 1.8;
}

.cases-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.case-preview-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 15px;
    padding: 30px;
    transition: all 0.3s ease;
}

.case-preview-card:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.case-category {
    display: inline-block;
    background: #667eea;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.case-preview-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #333;
}

.case-preview-card p {
    color: #666;
    line-height: 1.7;
}

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

/* 会社概要 */
.about {
    padding: 100px 0;
    background: #f8f9ff;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 50px;
}

.about-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 30px;
}

.strengths h3 {
    color: #333;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.strengths ul {
    list-style: none;
}

.strengths li {
    margin-bottom: 10px;
    color: #666;
}

.strengths i {
    color: #667eea;
    margin-right: 10px;
}

.info-table {
    width: 100%;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.info-table th,
.info-table td {
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid #f0f0f0;
}

.info-table th {
    background: #667eea;
    color: white;
    font-weight: bold;
    width: 150px;
}

.info-table td {
    color: #666;
    line-height: 1.6;
}

/* お問い合わせ */
.contact {
    padding: 100px 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 50px;
}

.contact-info h3 {
    color: #333;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.contact-info p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 30px;
}

.contact-methods {
    margin-top: 30px;
}

.contact-method {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: #666;
}

.contact-method i {
    color: #667eea;
    margin-right: 15px;
    font-size: 1.2rem;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
}

.required {
    color: #e74c3c;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* フッター */
.footer {
    background: #333;
    color: white;
    padding: 50px 0 20px;
}

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

.footer-logo h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.footer-logo p {
    color: #ccc;
}

.footer-links h4,
.footer-nav h4,
.footer-contact h4 {
    margin-bottom: 20px;
    color: white;
}

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

.footer-links li,
.footer-nav li {
    margin-bottom: 10px;
}

.footer-links a,
.footer-nav a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-nav a:hover {
    color: #667eea;
}

.footer-contact p {
    color: #ccc;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #555;
    color: #999;
}

/* 事例ページ専用スタイル */
.breadcrumb {
    background: #f8f9ff;
    padding: 20px 0;
    margin-top: 70px;
}

.breadcrumb nav {
    font-size: 0.9rem;
    color: #666;
}

.breadcrumb a {
    color: #667eea;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0 60px;
    text-align: center;
}

.page-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.page-subtitle {
    display: block;
    font-size: 1.2rem;
    font-weight: normal;
    margin-top: 10px;
    opacity: 0.9;
}

.page-description {
    font-size: 1.1rem;
    margin-top: 30px;
    opacity: 0.9;
    line-height: 1.8;
}

.case-filter {
    background: white;
    padding: 30px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 70px;
    z-index: 100;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.filter-btn {
    background: white;
    border: 2px solid #e0e0e0;
    color: #666;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background: #667eea;
    border-color: #667eea;
    color: white;
}

.cases-list {
    padding: 60px 0;
    background: #f8f9ff;
}

.cases-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.case-card.detailed {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.case-card.detailed:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.case-image {
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.case-placeholder {
    color: white;
    font-size: 4rem;
    opacity: 0.8;
}

.case-content {
    padding: 40px;
}

.case-content h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: #333;
}

.case-overview,
.case-challenge,
.case-solution,
.case-result {
    margin-bottom: 30px;
}

.case-overview h3,
.case-challenge h3,
.case-solution h3,
.case-result h3 {
    color: #667eea;
    font-size: 1.3rem;
    margin-bottom: 15px;
    border-left: 4px solid #667eea;
    padding-left: 15px;
}

.case-challenge ul,
.case-solution ul {
    list-style: none;
    padding-left: 0;
}

.case-challenge li,
.case-solution li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: #666;
    line-height: 1.6;
}

.case-challenge li:before {
    content: "●";
    color: #e74c3c;
    position: absolute;
    left: 0;
}

.case-solution li:before {
    content: "●";
    color: #27ae60;
    position: absolute;
    left: 0;
}

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

.metric {
    text-align: center;
    padding: 20px;
    background: #f8f9ff;
    border-radius: 10px;
}

.metric-number {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    color: #667eea;
    margin-bottom: 10px;
}

.metric-label {
    color: #666;
    font-size: 0.9rem;
}

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

.tech-tag {
    background: #f0f2ff;
    color: #667eea;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: bold;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.8;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
        gap: 0;
        z-index: 999;
    }

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

    .nav-menu li {
        margin: 10px 0;
    }

    .nav-menu a {
        padding: 15px 20px;
        border-bottom: 1px solid #f0f0f0;
        width: 100%;
    }

    .nav-menu a:hover {
        background-color: #f8f9ff;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-visual {
        order: -1;
    }

    .cloud-icons {
        font-size: 2.5rem;
        gap: 20px;
    }

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

    .cases-preview-grid {
        grid-template-columns: 1fr;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

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

    .info-table th {
        width: 120px;
        padding: 15px;
    }

    .info-table td {
        padding: 15px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .page-title {
        font-size: 2.2rem;
    }

    .page-description {
        font-size: 1rem;
    }

    .filter-buttons {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
    }

    .filter-btn {
        white-space: nowrap;
        flex-shrink: 0;
    }

    .case-content {
        padding: 30px 20px;
    }

    .result-metrics {
        grid-template-columns: 1fr;
    }

    .metric-number {
        font-size: 2rem;
    }

    .cta-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 80px 10px 0;
    }

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

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

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

    .container {
        padding: 0 15px;
    }

    .contact-form {
        padding: 30px 20px;
    }

    .service-card,
    .case-preview-card {
        padding: 25px 20px;
    }

    .cloud-icons {
        font-size: 2rem;
    }
}