/* リセットとベース設定 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
    overflow-x: hidden;
}

/* 共通設定 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: #1a1a1a;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: #006a6c;
    border-radius: 2px;
}

/* ヘッダー */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a1a1a;
}

.logo img {
    height: 40px;
    width: auto;
    display: block;
    transition: all 0.3s ease;
}

.logo a {
    display: block;
    text-decoration: none;
}

.logo img:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #006a6c;
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: #006a6c;
}

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

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

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

/* ヒーローセクション */
.hero {
    margin-top: 70px;
    min-height: 70vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* スライドショー */
.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.7);
    z-index: 1;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.6rem;
    color: rgba(26, 26, 26, 0.8);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    animation: fadeInUp 1s ease 0.2s;
    animation-fill-mode: both;
    font-weight: 500;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: #1a1a1a;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    animation: fadeInUp 1s ease 0.4s;
    animation-fill-mode: both;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.hero-decoration {
    position: absolute;
    top: 50%;
    right: -100px;
    transform: translateY(-50%);
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
    z-index: 2;
}

/* ビジョン */
.vision {
    padding: 80px 0;
    background: #f8f9fa;
    width: 100%;
}

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

.vision-content {
    max-width: 100%;
}

.vision-image {
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    aspect-ratio: 4 / 3;
    position: relative;
    background: #f8f9fa;
}

.vision-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    /* transition: transform 0.2s ease; */
}

/* .vision-image:hover img {
    transform: scale(1.01);
} */

.vision-content p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.vision-highlight {
    font-size: 1.2rem !important;
    color: #1a1a1a !important;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.8);
    padding: 20px;
    border-radius: 10px;
    margin-top: 2rem !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border-left: 4px solid #006a6c;
}

.vision-support {
    margin-top: 2.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(0, 106, 108, 0.03) 0%, rgba(0, 106, 108, 0.01) 100%);
    border-radius: 15px;
    border: 1px solid rgba(0, 106, 108, 0.1);
}

.vision-support h3 {
    font-size: 1.4rem;
    color: #006a6c;
    margin-bottom: 1rem;
    font-weight: 600;
}

.vision-support p {
    font-size: 1.05rem;
    color: #666;
    line-height: 1.8;
}

/* 私たちについて */
.about {
    padding: 80px 0;
    background: #f8f9fa;
}

.about-content {
    display: grid;
    gap: 50px;
    align-items: center;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
}

.about-text p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.8;
}

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

.stat-item {
    text-align: center;
    padding: 20px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    cursor: pointer;
}

.stat-item:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.stat-item:hover .stat-number {
    transform: scale(1.1);
    color: #006a6c;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #006a6c;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

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

/* サービス */
.services {
    padding: 80px 0;
    background: #ffffff;
    width: 100%;
}

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

.service-card {
    padding: 40px 30px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* .service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
} */

.service-icon {
    width: 80px;
    height: 80px;
    background: #006a6c;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    /* transition: all 0.3s ease; */
}

.service-icon i {
    font-size: 2rem;
    color: #ffffff;
}

/* .service-card:hover .service-icon {
    background: #005456;
    transform: translateY(-5px);
} */

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
    min-height: 2.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card p {
    color: #666;
    line-height: 1.6;
    flex-grow: 1;
}

/* お問い合わせ */
.contact {
    padding: 80px 0;
    background: #f8f9fa;
}

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

.contact-form {
    background: #ffffff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #006a6c;
}

.submit-button {
    width: 100%;
    padding: 15px;
    background: #006a6c;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 106, 108, 0.3);
    background: #005456;
}

.contact-info {
    padding: 40px;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.contact-info p {
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.contact-details p {
    margin-bottom: 1rem;
    color: #666;
}

.contact-map {
    margin-top: 1.5rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    line-height: 0;
    font-size: 0;
}

.contact-map iframe {
    width: 100%;
    height: 300px;
    border: none;
    display: block;
    vertical-align: bottom;
}

/* 実績 */
.achievements {
    padding: 80px 0;
    background: #ffffff;
    width: 100%;
}

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

.achievements-content > p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.achievement-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 3rem auto;
    max-width: 1000px;
}

.achievement-item {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    /* transition: all 0.3s ease; */
    border: 2px solid transparent;
}

/* .achievement-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: #006a6c;
} */

.achievement-item i {
    font-size: 3rem;
    color: #006a6c;
    margin-bottom: 1.5rem;
    display: block;
    /* transition: all 0.3s ease; */
}

/* .achievement-item:hover i {
    transform: scale(1.1);
} */

.achievement-item h4 {
    font-size: 1.4rem;
    color: #1a1a1a;
    margin-bottom: 1rem;
    font-weight: 600;
}

.achievement-item p {
    color: #666;
    line-height: 1.6;
    font-size: 1rem;
}

/* プロジェクト事例 */
.project-cases {
    margin-top: 5rem;
}

.subsection-title {
    font-size: 2rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 3rem;
    color: #1a1a1a;
    position: relative;
}

.subsection-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: #006a6c;
    border-radius: 2px;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 40px;
    margin-top: 3rem;
}

.case-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    /* transition: all 0.3s ease; */
    display: flex;
    flex-direction: column;
}

/* .case-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
} */


.case-image {
    position: relative;
    overflow: hidden;
    height: 320px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.case-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 106, 108, 0.05) 0%, rgba(0, 106, 108, 0.1) 100%);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* .case-card:hover .case-image::before {
    opacity: 1;
} */

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.5s ease, filter 0.3s ease;
    filter: brightness(0.98) contrast(1.02);
}

/* .case-card:hover .case-image img {
    transform: scale(1.05);
    filter: brightness(1.05) contrast(1.05);
} */

/* モバイルアプリのケースカード専用スタイル */
.case-card:nth-child(3) .case-image {
    background: #f8f9fa;
}

.case-card:nth-child(3) .case-image img {
    object-fit: contain;
    padding: 20px;
}


.case-image svg {
    width: 100%;
    height: 100%;
    max-width: 400px;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

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

.case-category {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(0, 106, 108, 0.1);
    color: #006a6c;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.case-content h4 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 15px;
    line-height: 1.4;
}

.case-content p {
    color: #666;
    line-height: 1.6;
}


/* 装飾的な区切り線 */
.section-divider {
    position: relative;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.divider-line {
    position: relative;
    width: 60%;
    max-width: 600px;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%,
        rgba(0, 106, 108, 0.1) 10%,
        rgba(0, 106, 108, 0.3) 50%,
        rgba(0, 106, 108, 0.1) 90%,
        transparent 100%);
}

/* 会社概要 */
.company {
    padding: 80px 0;
    background: #ffffff;
    width: 100%;
}

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

.company-table {
    width: 100%;
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

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

.company-table tr:last-child th,
.company-table tr:last-child td {
    border-bottom: none;
}

.company-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #1a1a1a;
    width: 30%;
}

.company-table td {
    color: #666;
    line-height: 1.8;
}

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

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 30px;
}

.footer-logo h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

/* ソーシャルリンク */
.social-links {
    margin-top: 1rem;
    display: flex;
    justify-content: flex-end;
}

.instagram-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    font-weight: 500;
}

.instagram-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0);
    transition: all 0.3s ease;
}

.instagram-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(188, 24, 136, 0.3);
}

.instagram-link:hover::before {
    background: rgba(255, 255, 255, 0.1);
}

.instagram-link i {
    color: #ffffff;
    position: relative;
    z-index: 1;
}

.instagram-link .fab {
    font-size: 1.3rem;
}

.instagram-link .fas {
    font-size: 0.9rem;
}

.instagram-link span {
    color: #ffffff;
    position: relative;
    z-index: 1;
    letter-spacing: 0.5px;
}

.footer-links ul {
    list-style: none;
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.85rem;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-bottom {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
}

/* プライバシーポリシーページのスタイル */
.privacy-policy {
    padding: 100px 0 80px;
    background-color: #f5f5f5;
    min-height: calc(100vh - 180px);
}

.privacy-content {
    background-color: #fff;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    max-width: 900px;
    margin: 0 auto;
}

.privacy-content h3 {
    color: #1e1e1e;
    font-size: 1.5rem;
    margin: 2.5rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #006a6c;
}

.privacy-content p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.privacy-content ol {
    color: #666;
    line-height: 1.8;
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.privacy-content ol li {
    margin-bottom: 0.5rem;
}

.privacy-footer {
    text-align: right;
    font-weight: 600;
    margin-top: 3rem;
}

.privacy-date {
    text-align: right;
    color: #999;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

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

@keyframes float {
    0%, 100% {
        transform: translateY(-50%) translateX(0);
    }
    33% {
        transform: translateY(-50%) translateX(30px);
    }
    66% {
        transform: translateY(-50%) translateX(-30px);
    }
}

/* レスポンシブデザイン */
/* 1129px以下：ビジョンセクションを1カラムに */
@media (max-width: 1129px) {
    .vision-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .vision-image {
        order: -1;
        margin: 0 auto 2rem;
        max-width: 600px;
        width: 100%;
    }

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

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .hamburger {
        display: flex;
    }

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

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

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

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

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

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

    .footer-links ul {
        justify-content: center;
        flex-wrap: wrap;
    }

    .social-links {
        justify-content: center;
        margin-top: 1.5rem;
    }

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

    .vision-image {
        max-width: 100%;
        aspect-ratio: 16 / 9;
    }

    .vision-content {
        text-align: left;
        padding: 0 10px;
    }

    .achievement-features {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .achievement-item {
        padding: 2rem;
    }

    /* プロジェクト事例のレスポンシブ対応 */
    .cases-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .case-card {
        max-width: 100%;
    }

    .case-image {
        height: 200px;
    }
    
    .case-card:nth-child(3) .case-image img {
        padding: 10px;
    }

    .case-content {
        padding: 20px;
    }

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


    .subsection-title {
        font-size: 1.6rem;
    }
}

@media (max-width: 580px) {
    .cases-grid {
        grid-template-columns: 1fr;
    }
    
    .case-card {
        margin: 0 auto;
        max-width: 400px;
    }
}

/* 440px以下：小画面向け調整 */
@media (max-width: 440px) {
    .container {
        padding: 0 15px;
    }

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

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

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

    .vision {
        padding: 60px 0;
    }

    .vision-image {
        aspect-ratio: 4 / 3;
        margin-bottom: 1.5rem;
    }

    .vision-content p {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .vision-highlight {
        font-size: 1.1rem !important;
        padding: 15px;
        margin-top: 1.5rem !important;
    }

    .vision-support {
        padding: 1.5rem;
        margin-top: 2rem;
    }

    .vision-support h3 {
        font-size: 1.2rem;
    }

    .vision-support p {
        font-size: 0.95rem;
    }

    .achievement-item {
        padding: 1.5rem;
    }

    .achievement-item i {
        font-size: 2.5rem;
    }

    .achievement-item h4 {
        font-size: 1.2rem;
    }

    .achievement-item p {
        font-size: 0.9rem;
    }

    .service-card {
        padding: 30px 20px;
    }

    .service-card h3 {
        font-size: 1.2rem;
    }

    .service-card p {
        font-size: 0.95rem;
    }

    .case-card {
        max-width: 100%;
    }

    .case-content {
        padding: 15px;
    }

    .case-content h4 {
        font-size: 1.1rem;
    }

    .case-content p {
        font-size: 0.9rem;
    }

    .company-table th,
    .company-table td {
        padding: 15px;
        font-size: 0.9rem;
    }

    .footer-links ul {
        gap: 10px;
    }

    .footer-links a {
        font-size: 0.8rem;
    }

    .nav-menu {
        gap: 20px;
    }
}

/* スムーススクロール */
html {
    scroll-behavior: smooth;
}

/* サービスカードリンク */
.service-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

/* サービス詳細ページ */
.service-detail {
    padding: 100px 0 80px;
    background-color: #f8f9fa;
}

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

.service-intro {
    background-color: #fff;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-bottom: 3rem;
}

.service-intro p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #666;
}

.service-concept {
    margin-top: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(0, 106, 108, 0.05) 0%, rgba(0, 106, 108, 0.02) 100%);
    border-left: 4px solid #006a6c;
    border-radius: 10px;
}

.service-concept h4 {
    font-size: 1.4rem;
    color: #1a1a1a;
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-concept p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
}

.service-features h3,
.service-solutions h3,
.service-process h3,
.tech-stack h3,
.use-cases h3,
.analysis-methods h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #1a1a1a;
    text-align: center;
}

.feature-grid,
.case-grid,
.method-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 3rem;
}

.feature-item,
.case-item,
.method-item {
    background-color: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    /* transition: all 0.3s ease; */
}

/* .feature-item:hover,
.case-item:hover,
.method-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
} */

.feature-item i {
    font-size: 3rem;
    color: #006a6c;
    margin-bottom: 1rem;
}

.feature-item h4,
.case-item h4,
.method-item h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.feature-item p,
.case-item p,
.method-item p {
    color: #666;
    line-height: 1.6;
}

.solution-list {
    list-style: none;
    margin-bottom: 3rem;
}

.solution-list li {
    background-color: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 1.5rem;
    /* transition: all 0.3s ease; */
}

/* .solution-list li:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
} */

.solution-list h4 {
    font-size: 1.3rem;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.solution-list p {
    color: #666;
    line-height: 1.6;
}

.process-timeline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.process-step {
    flex: 1;
    text-align: center;
    padding: 1rem;
    position: relative;
    min-width: 200px;
}

.process-step:not(:last-child)::after {
    content: '→';
    position: absolute;
    right: -20px;
    top: 50px;
    font-size: 2rem;
    color: #006a6c;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: #006a6c;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.process-step h4 {
    font-size: 1.2rem;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.process-step p {
    color: #666;
    font-size: 0.9rem;
}

.tech-stack {
    margin-bottom: 3rem;
}

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

.tech-category {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.tech-category h4 {
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.tech-category p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
}

.service-cta {
    background-color: #006a6c;
    color: #fff;
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    margin-top: 3rem;
}

.service-cta h3 {
    color: #fff;
}

.service-cta p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.service-cta .cta-button {
    background-color: #fff;
    color: #1a1a1a;
}

.service-cta .cta-button:hover {
    background-color: #f8f9fa;
}


/* レスポンシブ対応 */
@media (max-width: 768px) {
    .process-step:not(:last-child)::after {
        display: none;
    }

    .process-timeline {
        flex-direction: column;
    }

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


    .service-concept {
        padding: 1.5rem;
    }

    .service-concept h4 {
        font-size: 1.2rem;
    }

    .service-concept p {
        font-size: 1rem;
    }
}
