/* ベース設定 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Monochrome base colors */
    --black: #2d2d2d;
    --dark-gray: #3a3a3a;
    --medium-gray: #4a4a4a;
    --gray: #666666;
    --light-gray: #e5e5e5;
    --off-white: #f5f5f5;
    --white: #ffffff;
    
    /* Accent color from icon (blue) */
    --accent-color: #0066cc;
    --accent-light: #3399ff;
    --accent-dark: #004499;
    
    /* Primary colors (monochrome) */
    --primary-color: var(--dark-gray);
    --primary-dark: var(--black);
    --text-color: var(--medium-gray);
    
    /* Backgrounds */
    --bg-primary: var(--white);
    --bg-secondary: var(--off-white);
    --bg-dark: var(--dark-gray);
    
    /* Geometric patterns (subtle) */
    --geometric-color: rgba(0, 0, 0, 0.05);
    
    /* Gradients */
    --hero-gradient: linear-gradient(135deg, var(--off-white) 0%, var(--light-gray) 100%);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: 
        linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7)),
        url('../images/bg.jpg') center/cover no-repeat fixed;
}

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

/* ヘッダー */
header {
    background: var(--white);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    padding: 1rem 0;
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    color: var(--black);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

/* 小画面（スマートフォン）用の調整 */
@media (max-width: 480px) {
    .logo-icon {
        width: 24px;
        height: 24px;
    }
    
    .logo-text {
        font-size: 1.1rem;
    }
    
    /* 特に小さい画面での調整 */
    
    .nowrap {
        margin: 0 0.1em;
    }
    
    /* サービス画像をさらに調整 */
    .services-overview .service-image {
        width: 70%;
    }
}

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

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

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    position: relative;
    transition: color 0.3s ease;
}

/* アンダーラインアニメーション */
.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

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

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

/* ドロップダウンメニュー */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border-radius: 6px;
    padding: 0.5rem 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    list-style: none;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
}

.dropdown-menu a:hover {
    background-color: var(--off-white);
    color: var(--black);
}

.dropdown-menu a::after {
    display: none;
}

/* アクティブ状態 */
.nav-menu a.active {
    color: var(--accent-color);
    font-weight: 600;
}

.nav-menu a.active::after {
    width: 100%;
    background: var(--accent-color);
}

/* モバイルメニューボタン */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

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

/* ヒーローセクション */
.hero {
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: transparent;
    color: var(--black);
}

/* 画像付きヒーローセクション */
.hero-with-image {
    min-height: 400px;
    display: flex;
    align-items: center;
    background-size: cover !important;
    background-position: center !important;
}

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

/* ヒーロータイトル */
.hero-title {
    font-family: 'Gotham Bold', 'Arial Black', sans-serif;
    font-size: clamp(2rem, 7vw, 5rem);
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    color: var(--black);
    word-spacing: 0.2em;
}

/* ヒーローセクションの汎用h1スタイル */
.hero h1:not(.hero-title) {
    font-size: 2.5rem;
    text-align: center;
    color: var(--black);
    margin-bottom: 1rem;
}

/* 改行防止 */
.nowrap {
    white-space: nowrap;
    display: inline-block;
}

/* サブタイトル */
.hero-subtitle {
    font-size: clamp(1rem, 3vw, 1.5rem);
    font-weight: 300;
    margin-bottom: 30px;
    opacity: 0.7;
    position: relative;
    z-index: 1;
    color: var(--gray);
}

/* 説明文 */
.hero-description {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    max-width: 600px;
    margin: 0 auto 40px;
    text-align: center;
    line-height: 1.8;
    position: relative;
    z-index: 1;
    color: var(--medium-gray);
}

/* CTAボタン */
.hero-cta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
    z-index: 1;
}

/* フェードイン＋スライドアニメーション */
.animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease-out forwards;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.delay-1 { animation-delay: 0.3s; }
.delay-2 { animation-delay: 0.6s; }
.delay-3 { animation-delay: 0.9s; }

/* アンダーラインアニメーション */
.underline-anim {
    position: relative;
    display: inline-block;
}

.underline-anim::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--black);
    animation: drawLine 1.5s ease-out 2s forwards;
}

@keyframes drawLine {
    to { width: 100%; }
}


/* Sの文字色変更アニメーション */
.highlight-s {
    display: inline-block;
    color: var(--black);
    transition: all 0.3s ease;
}

.highlight-s.active {
    color: var(--accent-color);
    text-shadow: 0 0 5px rgba(0, 102, 204, 0.3);
}

/* ボタン */
.btn {
    display: inline-block;
    padding: 12px 24px;
    text-decoration: none;
    margin: 0 10px;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-weight: 600;
}

.btn-primary {
    position: relative;
    background: var(--accent-color);
    color: var(--white);
    border: 2px solid var(--accent-color);
    overflow: hidden;
    transition: transform 0.3s ease;
}

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

.btn-primary::after {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 50px;
    height: 50px;
    background-image: linear-gradient(100deg, rgba(255, 255, 255, 0) 10%, rgba(255, 255, 255, 0.8) 100%, rgba(255, 255, 255, 0) 0%);
    animation-name: shiny;
    animation-duration: 3s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}

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

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

/* 特徴セクション */
.features {
    padding: 40px 0;
    position: relative;
}


.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 10;
}

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

.feature-card {
    padding: 2rem;
    background: white;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}


.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-color: var(--black);
}

.feature-card .feature-image {
    width: 100%;
    max-width: 300px;
    height: 200px;
    object-fit: cover;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.content-card .feature-image {
    width: 80%;
    max-width: 300px;
    height: 200px;
    object-fit: cover;
    margin: 0 auto 1.5rem auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--black);
    font-weight: 600;
}

.feature-card ul {
    margin: 1rem 0;
    text-align: left;
}

/* 3つの特徴リスト */
.features-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 3rem;
}

.feature-item {
    display: flex;
    align-items: center;
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.feature-image-wrapper {
    flex: 0 0 auto;
    margin-right: 2rem;
}

.feature-img {
    width: 300px;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.feature-content {
    flex: 1;
    text-align: left;
}

.feature-content h3 {
    margin-bottom: 1rem;
    color: var(--black);
    font-weight: 600;
}

.feature-content p {
    color: var(--gray);
    line-height: 1.6;
}

/* 2カラムグリッド */
.two-column-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

@media (max-width: 768px) {
    .features-list {
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .feature-item {
        flex-direction: column;
        padding: 1.5rem;
    }
    
    .feature-image-wrapper {
        margin-right: 0;
        margin-bottom: 1.5rem;
    }
    
    .feature-img {
        width: 100%;
        max-width: 300px;
        height: 180px;
    }
    
    .feature-content {
        text-align: center;
    }
    
    .two-column-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.section-description {
    text-align: center;
    color: var(--gray);
    margin-bottom: 3rem;
}

.section-cta {
    text-align: center;
    margin-top: 3rem;
}

.section-note {
    color: var(--gray);
    margin-bottom: 1rem;
}

/* Overview sections */
.product-overview,
.service-overview,
.education-overview {
    padding: 4rem 0;
}

.product-card,
.service-card,
.education-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 2rem;
}

.product-card:hover,
.service-card:hover,
.education-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

/* Development and Training sections */
.development-process,
.training-categories {
    padding: 3rem 0;
}

.course-detail {
    background: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.course-header {
    border-bottom: 1px solid var(--light-gray);
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

.course-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.course-meta span {
    background: var(--primary-color);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.9rem;
}

/* サービス概要 */
.services-overview {
    padding: 40px 0;
    position: relative;
}


.services-overview h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.service-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.service-item {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    z-index: 10;
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.service-content {
    flex: 1;
}

.service-item h3 {
    margin-bottom: 0.5rem;
    color: var(--black);
    font-weight: 600;
}

.service-item a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    position: relative;
}

/* リンクのアンダーラインアニメーション */
.service-item a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.service-item a:hover::after {
    width: calc(100% - 15px); /* 矢印の分を引く */
}

/* クリック可能なサービスアイテム */
.service-item-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.service-item-link:hover .service-item {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* サービスリンクのスタイル（詳細を見る →） */
.service-link {
    color: var(--accent-color);
    font-weight: 500;
    position: relative;
    display: inline-block;
}

/* ホームページのサービス画像スタイル */
.services-overview .service-image {
    width: 15%;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.services-overview .service-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

/* タブレット用のサービス画像調整 */
@media (max-width: 1024px) {
    .services-overview .service-image {
        width: 20%;
    }
}

.service-item-link:hover .service-img {
    transform: scale(1.02);
}

/* CTA */
.cta {
    padding: 80px 0;
    background: var(--white);
    color: var(--black);
    text-align: center;
    position: relative;
    overflow: hidden;
}


.cta .container {
    position: relative;
    z-index: 10;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta .btn {
    background: var(--accent-color);
    color: var(--white);
    border: 2px solid var(--accent-color);
}

.cta .btn:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
}

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

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

/* ページヘッダー */
.page-header {
    background: var(--dark-gray);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

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

/* コンテンツセクション */
.content-section {
    padding: 80px 0;
    text-align: center;
}

/* ヒーローセクション直後のコンテンツセクション */
.hero + .content-section {
    padding-top: 120px;
}

.content-section h2 {
    margin-bottom: 2rem;
    font-size: 2.5rem;
    font-weight: 600;
}

.content-card {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    text-align: center;
}

@media (max-width: 768px) {
    .content-card {
        margin: 0 20px;
        padding: 24px;
        border-radius: 8px;
    }
    
    .content-section {
        padding: 60px 0;
    }
    
    .hero + .content-section {
        padding-top: 90px;
    }
}

.feature-card.no-frame {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
}

.text-white {
    color: var(--white);
}

.lead {
    font-size: 1.25rem;
    font-weight: 300;
    line-height: 1.8;
}

/* 会社情報 */
.company-info dl {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.company-info dt {
    font-weight: bold;
    color: var(--black);
}

.company-info dd {
    margin: 0;
}

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

/* サービス画像スタイル */
.service-image {
    width: 80%;
    max-width: 300px;
    margin: 2rem auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.service-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.service-img:hover {
    transform: scale(1.02);
}

.service-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.service-header h2 {
    color: var(--black);
    margin: 0;
    font-size: 2rem;
    font-weight: 700;
    border-bottom: 3px solid var(--accent-color);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.problem-solution {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.problem h3,
.solution h3 {
    color: var(--black);
    margin-bottom: 1rem;
}

.effects {
    text-align: center;
}

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

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

.effect-value {
    font-size: 2rem;
    font-weight: bold;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

/* 技術スタック */
.tech-stack {
    padding: 60px 0;
    background: transparent;
}

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

.tech-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border: 1px solid var(--light-gray);
    backdrop-filter: blur(10px);
}

.tech-icon {
    text-align: center;
    margin-bottom: 1rem;
}

.tech-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.tech-card h3 {
    color: var(--black);
    margin-bottom: 1rem;
    text-align: center;
}

.tech-result {
    background: var(--bg-secondary);
    padding: 1rem;
    margin-top: 1rem;
    border-radius: 5px;
    font-weight: 500;
    color: var(--black);
}

/* ケーススタディ */
.case-studies {
    padding: 60px 0;
}

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

.case-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border: 1px solid var(--light-gray);
    backdrop-filter: blur(10px);
}

.case-card h3 {
    color: var(--black);
    margin-bottom: 1.5rem;
}

.case-card h4 {
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
}

.testimonials {
    margin-top: 3rem;
}

.testimonials blockquote {
    background: var(--bg-primary);
    padding: 2rem;
    margin: 1rem 0;
    border-left: 4px solid var(--accent-color);
    border-radius: 5px;
}

.testimonials cite {
    display: block;
    text-align: right;
    margin-top: 1rem;
    font-style: normal;
    color: var(--gray);
}

/* お問い合わせ */
.contact-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contact-type h3 {
    color: var(--black);
    margin-bottom: 1rem;
}

.contact-form-container {
    margin-top: 2rem;
}

.faq-list {
    margin-top: 2rem;
}

.faq-item {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e5e7eb;
}

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

.faq-item h3 {
    color: var(--black);
    margin-bottom: 0.5rem;
}

/* サービス詳細のQ&Aスタイル */
.service-qa {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--light-gray);
}

.service-qa h3 {
    color: var(--black);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.qa-item {
    background: var(--white);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-left: 4px solid var(--accent-color);
}

.qa-item h4 {
    color: var(--black);
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

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


/* フィーチャーナンバー */
.feature-number {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: var(--accent-color);
    color: var(--white);
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    font-weight: bold;
    margin-bottom: 1rem;
}
/* 20250615_1328_h3改行の非表示 */
.sp-br {
    display: none;
}

/* レスポンシブ */

/* タブレット用 */
@media (max-width: 1024px) {
    .feature-grid,
    .tech-grid,
    .case-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-title {
        font-size: clamp(2.5rem, 6vw, 4rem);
    }
    
    .container {
        padding: 0 30px;
    }
}

/* モバイル用 */
@media (max-width: 768px) {
    /* モバイルメニュー */
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        flex-direction: column;
        padding: 1rem;
        gap: 0;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu a {
        padding: 0.8rem 1rem;
        display: block;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* モバイル用ドロップダウン - アコーディオン方式 */
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: var(--off-white);
        margin-left: 1rem;
        border-radius: 0;
        box-shadow: none;
        padding: 0;
        display: block;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .dropdown-menu.expanded {
        max-height: 300px;
        padding: 0.5rem 0;
    }
    
    .dropdown:hover .dropdown-menu {
        /* モバイルではホバー効果無効 */
    }
    
    /* ヒーローセクション */
    .hero {
        padding: 60px 0;
    }
    
    .hero-with-image {
        min-height: 300px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
        letter-spacing: 0;
        word-spacing: 0.1em;
    }
    
    /* モバイルでの改行制御 */
    .nowrap {
        white-space: nowrap;
        display: inline-block;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        padding: 12px 24px;
        text-align: center;
    }
    
    /* グリッドレイアウト */
    .feature-grid,
    .tech-grid,
    .case-grid,
    .contact-types {
        grid-template-columns: 1fr;
    }
    
    .problem-solution {
        grid-template-columns: 1fr;
    }
    
    .service-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    /* モバイルでのサービスアイテム */
    .service-item {
        flex-direction: column;
        text-align: center;
        gap: 0;
    }
    
    .service-image {
        width: 60%;
        margin: 0 auto 1rem auto;
    }

    .service-item h3 {
        font-size: 1.5rem;
    }

    /* ホームページのサービス画像をモバイルで調整 */
    .services-overview .service-image {
        width: 50%;
        margin: 0 auto 1.5rem auto;
    }
    
    /* 箇条書きのスタイル調整 */
    .problem ul,
    .solution ul {
        padding-left: 1.5rem;
        margin-left: 0;
    }
    
    .company-info dl {
        grid-template-columns: 1fr;
    }
    
    h1 {
        font-size: 2.2rem !important;
    }
    .service-detail {
        padding: 40px 0;
    }
    h2 {
        font-size: 1.8rem !important;
        text-align: center;
    }
    h2 .sub-title-services {
        font-size: 1.4rem !important;
        display: block !important;
    }
    h3 .index-sub-title-services {
        font-size: 1.1rem !important;
        display: block !important;
    }
    .effect-value {
        font-size: 1.8rem;
        margin-bottom: 0.2rem;
    }
    .cta h2 {
        font-size: 1.5rem !important;
    }

    /* フッター */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    /* セクションパディング */
    .features,
    .services-overview,
    .tech-stack,
    .case-studies,
    .content-section {
        padding: 30px 0;
    }
    
    /* コンテナ内パディング */
    .container {
        padding: 0 20px;
    }
      
}

/* 法的ページのスタイル */
.legal-notice,
.privacy-policy {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.legal-notice h2,
.privacy-policy h2 {
    color: var(--black);
    font-size: 1.5rem;
    margin: 2rem 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--light-gray);
}

.legal-notice h3,
.privacy-policy h3 {
    color: var(--dark-gray);
    font-size: 1.2rem;
    margin: 1.5rem 0 0.8rem 0;
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    background: var(--white);
}

.legal-table th,
.legal-table td {
    border: 1px solid var(--light-gray);
    padding: 12px 15px;
    text-align: left;
    vertical-align: top;
}

.legal-table th {
    background: var(--off-white);
    font-weight: bold;
    color: var(--black);
    min-width: 120px;
}

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

.contact-info {
    background: var(--off-white);
    padding: 20px;
    border-radius: 8px;
    margin: 1rem 0;
    border-left: 4px solid var(--accent-color);
}

.contact-info h3 {
    color: var(--black);
    margin-bottom: 10px;
}

.contact-info p {
    margin: 5px 0;
    color: var(--text-color);
}

.update-notice {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 20px;
    margin: 2rem 0;
}

.update-notice h3 {
    color: #856404;
    margin-bottom: 10px;
}

.update-notice p {
    color: #856404;
    margin: 5px 0;
}

.legal-notice ul,
.privacy-policy ul {
    margin: 0.5rem 0 1rem 1.5rem;
}

.legal-notice li,
.privacy-policy li {
    margin: 0.5rem 0;
    color: var(--text-color);
}

/* 法的ページのレスポンシブ対応 */
@media (max-width: 768px) {
    .legal-notice,
    .privacy-policy {
        margin: 0 10px;
        padding: 15px;
    }
    
    .legal-table {
        font-size: 0.9rem;
    }
    
    .legal-table th,
    .legal-table td {
        padding: 8px 10px;
    }
    
    .contact-info {
        padding: 15px;
    }
    
    .update-notice {
        padding: 15px;
    }
}

/* ========== LINE友だち追加ボタン ========== */
@keyframes shiny {
    0% {
        transform: scale(0) rotate(25deg);
        opacity: 0;
    }

    50% {
        transform: scale(1) rotate(25deg);
        opacity: 1;
    }

    100% {
        transform: scale(50) rotate(25deg);
        opacity: 0;
    }
}

.line-add-friend-btn {
    position: relative;
    display: inline-block;
    overflow: hidden;
    border-radius: 8px;
    transition: transform 0.3s ease;
    background-color: #06C755;
    color: white;
    text-decoration: none;
    padding: 12px 24px;
    font-weight: 500;
    border: none;
    cursor: pointer;
}

.line-add-friend-btn:hover {
    transform: translateY(-2px);
    background-color: #05B04A;
    color: white;
    text-decoration: none;
}

.line-add-friend-btn::after {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 50px;
    height: 50px;
    background-image: linear-gradient(100deg, rgba(255, 255, 255, 0) 10%, rgba(255, 255, 255, 0.8) 100%, rgba(255, 255, 255, 0) 0%);
    animation-name: shiny;
    animation-duration: 3s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}

.line-add-friend-btn img {
    display: block;
    position: relative;
    z-index: 1;
}

/* ========== LINE問い合わせセクション ========== */
.line-contact-section {
    padding: 40px 0;
    margin-top: 2rem;
}

.line-contact-section .content-card {
    background: var(--white);
    max-width: 700px;
    margin: 0 auto;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    text-align: center;
    border: 2px solid #06C755;
}

.line-contact-section h2 {
    color: var(--black);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.line-contact-section p {
    color: var(--gray);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.line-contact-section .line-add-friend-btn {
    margin-top: 1rem;
    font-size: 1.1rem;
    padding: 15px 30px;
}

@media (max-width: 768px) {
    .line-contact-section {
        padding: 30px 0;
    }
    
    .line-contact-section .content-card {
        margin: 0 20px;
        padding: 24px;
    }
    
    .line-contact-section h2 {
        font-size: 1.5rem;
    }
    
    .line-contact-section p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .line-contact-section .line-add-friend-btn {
        font-size: 1rem;
        padding: 12px 24px;
    }
}

/* ========== お問い合わせ方法選択セクション ========== */
.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.contact-method-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.contact-method-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.contact-method-card.primary {
    border-color: #06C755;
    background: linear-gradient(135deg, #f0f8f0 0%, #e8f5e8 100%);
}

.contact-method-card.primary:hover {
    border-color: #05B04A;
}

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

.contact-method-card h3 {
    color: var(--black);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.contact-method-card p {
    color: var(--gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.method-benefits {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    text-align: left;
}

.method-benefits li {
    padding: 0.5rem 0;
    color: var(--text-color);
    font-size: 0.9rem;
}


.contact-method-card .btn {
    margin-top: 1rem;
    width: 100%;
    max-width: 200px;
}

.contact-method-card .line-add-friend-btn {
    margin-top: 1rem;
    width: 100%;
    max-width: 200px;
}

/* ボタンバリエーション */
.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

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

@media (max-width: 768px) {
    .contact-methods {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-method-card {
        padding: 1.5rem;
    }
    
    .method-icon {
        font-size: 2.5rem;
    }
}

/* 助成金ページの追加スタイル */
.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 10px 0;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 2px;
    accent-color: var(--accent-color);
}

.checkbox-group span {
    color: var(--text-color);
    line-height: 1.4;
}

.checkbox-group a {
    color: var(--accent-color);
    text-decoration: none;
}

.checkbox-group a:hover {
    text-decoration: underline;
}

.important-notice {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-left: 4px solid #dc3545;
    border-radius: 8px;
    padding: 20px;
    margin: 2rem 0;
}

.important-notice h3 {
    color: #dc3545;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.important-notice ul {
    margin: 0;
    padding-left: 20px;
}

.important-notice li {
    margin: 10px 0;
    color: var(--text-color);
    line-height: 1.5;
}

.important-notice strong {
    color: var(--black);
}

.training-organization-info {
    background: var(--off-white);
    border-radius: 8px;
    padding: 20px;
    margin: 2rem 0;
    border: 1px solid var(--light-gray);
}

.training-organization-info h3 {
    color: var(--black);
    margin-bottom: 15px;
    text-align: center;
}

.org-info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.info-item {
    padding: 10px;
    background: var(--white);
    border-radius: 4px;
    border-left: 3px solid var(--accent-color);
}

.info-item strong {
    color: var(--black);
    margin-right: 10px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .checkbox-group {
        align-items: flex-start;
    }
    
    .important-notice {
        padding: 15px;
    }
    
    .training-organization-info {
        padding: 15px;
    }
    
    .info-item {
        padding: 8px;
    }
}

/* SNSリンクセクション */
.footer-social {
    text-align: center;
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 6px;
}

.social-link:hover {
    color: var(--accent-color);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.social-link img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.social-link:hover img {
    transform: scale(1.1);
}

.social-link span {
    font-size: 0.9rem;
    font-weight: 500;
}

/* フッターリンクのスタイル */
.footer-bottom a {
    color: var(--gray);
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-bottom a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .social-links {
        gap: 1rem;
    }
    
    .social-link span {
        display: none;
    }
    
    .social-link img {
        width: 24px;
        height: 24px;
    }
}

/* 助成金ページの追加スタイル */
.course-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.course-item {
    background: var(--white);
    border: 1px solid var(--light-gray);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.course-header {
    background: var(--off-white);
    padding: 1.5rem;
    border-bottom: 1px solid var(--light-gray);
}

.course-header h3 {
    color: var(--black);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.course-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.course-duration,
.course-format {
    background: var(--accent-color);
    color: var(--white);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
}

.course-content {
    padding: 1.5rem;
}

.course-content h4 {
    color: var(--black);
    margin: 1rem 0 0.5rem 0;
    font-size: 1.1rem;
}

.course-content ul {
    margin-bottom: 1.5rem;
    padding-left: 1.2rem;
}

.course-content li {
    margin: 0.5rem 0;
    color: var(--text-color);
    line-height: 1.5;
}

.course-apply {
    margin-top: 1.5rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* フローステップのスタイル */
.flow-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-left: 4px solid var(--accent-color);
    transition: transform 0.3s ease;
}

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

.step-number {
    background: var(--accent-color);
    color: var(--white);
    width: 60px;
    height: 60px;
    min-width: 60px;
    min-height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
    flex-shrink: 0;
    text-align: center;
    line-height: 1;
}

.step-content h3 {
    color: var(--black);
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
}

.step-content p {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.step-duration {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.9rem;
}

/* 料金シミュレーションのスタイル */
.pricing-simulation {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.pricing-card {
    background: var(--white);
    border: 1px solid var(--light-gray);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    width: 100%;
}

.pricing-card h3 {
    color: var(--black);
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.price-breakdown {
    margin-bottom: 1rem;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--light-gray);
}

.price-item.subsidy .price-value {
    color: var(--accent-color);
    font-weight: bold;
}

.price-item.total {
    border-bottom: none;
    background: var(--off-white);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 0.5rem;
}

.price-item.total .price-label,
.price-item.total .price-value {
    font-weight: bold;
    color: var(--black);
    font-size: 1.1rem;
}

.pricing-note {
    font-size: 0.9rem;
    color: var(--gray);
    text-align: center;
    margin-top: 1rem;
}

/* フォームのスタイル */
.training-application-form {
    background: var(--white);
    border: 1px solid var(--light-gray);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-top: 2rem;
}

.form-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--light-gray);
}

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

.form-section h3 {
    color: var(--black);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

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

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(0, 102, 204, 0.1);
}

.radio-group,
.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin: 0.5rem 0;
    cursor: pointer;
}

.radio-group input,
.checkbox-group input {
    margin-top: 2px;
    accent-color: var(--accent-color);
    width: auto;
}

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

.form-submit .btn {
    min-width: 200px;
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.form-note {
    margin-top: 1rem;
    color: var(--gray);
    font-size: 0.9rem;
}

.alternative-contact {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--light-gray);
}

.alternative-contact h3 {
    color: var(--black);
    margin-bottom: 1.5rem;
    text-align: center;
}

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

.contact-option {
    background: var(--off-white);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    border-left: 4px solid var(--accent-color);
}

/* 研修・教育ページの追加スタイル */
.vision-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.vision-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--light-gray);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vision-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

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

.vision-card p {
    color: var(--gray);
    line-height: 1.6;
}

/* Chart.js responsive containers */
.chart-container {
    position: relative;
    margin: 1rem 0;
}

.progress-item {
    margin-bottom: 1rem;
}

.progress-item:last-child {
    margin-bottom: 0;
}

/* Progress bars with gradient */
.progress-bar {
    background: linear-gradient(90deg, #4f46e5 0%, #06b6d4 100%);
    height: 8px;
    border-radius: 4px;
    transition: width 0.8s ease;
}

/* Enhanced challenges grid for 6 items */
.challenges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .challenges-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .challenges-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Enhanced challenge cards */
.challenge-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--light-gray);
    transition: all 0.3s ease;
}

.challenge-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-color);
}

.challenge-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.challenge-card h3 {
    color: var(--black);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.challenge-card p {
    color: var(--gray);
    line-height: 1.5;
    font-size: 0.95rem;
}

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
    .vision-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .vision-card {
        padding: 1.5rem;
    }
    
    .challenges-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .challenge-card {
        padding: 1.25rem;
    }
    
    .challenge-icon {
        font-size: 2rem;
    }
    
    /* Chart containers on mobile */
    .chart-container {
        height: 250px !important;
    }
}

/* Utility classes for education page */
.text-center {
    text-align: center;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.font-bold {
    font-weight: 600;
}

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

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .flow-steps .step {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .course-apply {
        flex-direction: column;
    }
    
    .course-apply .btn {
        width: 100%;
        text-align: center;
    }
    
    .contact-options {
        grid-template-columns: 1fr;
    }
    
    .pricing-card {
        margin: 0 1rem;
    }
    
    .course-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .training-application-form {
        padding: 1.5rem;
    }
}

/* FAQ Page Styles */
.faq-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.faq-category-link {
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
}

.faq-category-link:hover {
    transform: translateY(-5px);
}

.faq-category-card {
    background: var(--white);
    border: 2px solid var(--light-gray);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.faq-category-card:hover {
    border-color: var(--accent-color);
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.15);
}

.category-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.faq-category-card h3 {
    color: var(--black);
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
}

.faq-category-card p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* FAQ Section Specific Styles */
.content-section h3 {
    color: var(--black);
    font-size: 1.4rem;
    margin: 2.5rem 0 1.5rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--light-gray);
}

.content-section h3:first-of-type {
    margin-top: 1rem;
}

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

/* アンカーリンクのオフセット調整 */
.content-section[id] {
    scroll-margin-top: 80px;
}

/* プロセスステップのモダンデザイン */
.process-steps {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-top: 3rem;
    position: relative;
}

/* メインの接続線 */
.process-steps::before {
    content: '';
    position: absolute;
    left: 45px;
    top: 60px;
    width: 3px;
    height: calc(100% - 120px);
    background: linear-gradient(180deg, var(--accent-color) 0%, #5a7bc8 100%);
    border-radius: 2px;
    z-index: 1;
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    padding: 2rem;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(56, 72, 120, 0.12);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 2px solid transparent;
    overflow: hidden;
}

/* ホバー効果の強化 */
.process-step:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 16px 48px rgba(56, 72, 120, 0.2);
    border-color: rgba(56, 72, 120, 0.1);
}

/* グロー効果 */
.process-step::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--accent-color), transparent, #5a7bc8);
    border-radius: 18px;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s ease;
}

.process-step:hover::after {
    opacity: 0.1;
}

/* STEPナンバーのアニメーション効果 */
.process-step .step-number::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    opacity: 0;
    animation: pulse 3s infinite;
}

/* STEPナンバーのホバー効果強化 */
.process-step:hover .step-number {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 32px rgba(56, 72, 120, 0.4);
    background: linear-gradient(135deg, #5a7bc8 0%, var(--accent-color) 100%);
}

/* STEPコンテンツの改良 */
.process-step h3 {
    color: var(--black);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 700;
}

.process-step p {
    color: var(--text-color);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.process-step ul {
    list-style: none;
    padding: 0;
}

.process-step ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--text-color);
    line-height: 1.6;
}

.process-step ul li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-size: 0.8rem;
    top: 0.1rem;
}

@keyframes pulse {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.3;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

/* モバイル対応 */
@media (max-width: 768px) {
    .faq-categories {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .faq-category-card {
        padding: 1.5rem;
    }
    
    .category-icon {
        font-size: 2.5rem;
    }
    
    .content-section[id] {
        scroll-margin-top: 60px;
    }
    
    /* プロセスステップのモバイル対応 */
    .process-steps::before {
        left: 30px;
    }
    
    .process-step {
        gap: 1rem;
        padding: 1.5rem;
    }
    
    .process-step .step-number {
        width: 60px;
        height: 60px;
        min-width: 60px;
        min-height: 60px;
        font-size: 0.8rem;
    }
}

/* オーダーメイド開発の物語スタイル - 既存デザイン準拠 */
.story-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    width: 100%;
    text-align: center;
}

.story-content h2 {
    margin-bottom: 2rem;
}

.story-content h3 {
    margin-bottom: 1.5rem;
}

/* リストは左揃えで可読性を維持 */
.story-content ul,
.story-content li {
    text-align: left;
    display: inline-block;
    max-width: 100%;
}

/* プロセスステップの詳細リスト（コンサルティングページなど）は左揃え */
.process-steps .step-content ul,
.process-steps .step-content li {
    text-align: left;
}

.story-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.lead-text {
    font-size: 1.2rem;
    color: var(--gray);
    line-height: 1.8;
    margin: 0 auto;
    max-width: 600px;
    text-align: center;
    font-style: italic;
}

.story-section {
    margin-bottom: 3rem;
}

.story-section h3 {
    color: var(--black);
    font-size: 1.4rem;
    margin: 2.5rem 0 1.5rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--light-gray);
    font-weight: 600;
}

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

.story-section strong {
    color: var(--black);
    font-weight: 600;
}

.story-highlight {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 10px;
    margin: 3rem 0;
    border: 1px solid var(--light-gray);
}

.story-highlight h3 {
    color: var(--black);
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.4rem;
    font-weight: 600;
    border: none;
    padding: 0;
}

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

.benefit-card {
    padding: 2rem;
    background: var(--bg-secondary);
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--light-gray);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-color: var(--black);
}

.benefit-card h4 {
    margin-bottom: 1rem;
    color: var(--black);
    font-weight: 600;
    font-size: 1.1rem;
}

.benefit-card p {
    color: var(--text-color);
    font-size: 0.9rem;
    margin: 0 0 1rem 0;
}

.benefit-card ul {
    list-style: none;
    padding-left: 0;
    margin: 1rem 0;
    text-align: left;
}

.benefit-card li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-size: 0.9rem;
}

.benefit-card li::before {
    content: "▸";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.story-process {
    margin: 3rem 0;
}

.story-process h3 {
    color: var(--black);
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.4rem;
    font-weight: 600;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--light-gray);
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-top: 3rem;
    position: relative;
    list-style: none;
    padding: 0;
}

.process-steps::before {
    content: '';
    position: absolute;
    left: 40px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--light-gray);
}

.process-steps li {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    position: relative;
}

.process-steps .step-number {
    width: 80px;
    height: 80px;
    min-width: 80px;
    min-height: 80px;
    background: var(--accent-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    z-index: 1;
    position: relative;
}

.process-steps .step-content {
    flex: 1;
    padding-top: 1rem;
}

.process-steps strong {
    color: var(--black);
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.process-steps .step-content p {
    margin-bottom: 1rem;
}

.process-steps .step-content ul {
    list-style: none;
    padding-left: 0;
    margin-top: 1rem;
}

.process-steps .step-content li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.process-steps .step-content li::before {
    content: "▸";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.story-closing {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: var(--bg-secondary);
    border-radius: 10px;
    border: 1px solid var(--light-gray);
}

.closing-text {
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.closing-text strong {
    color: var(--black);
    font-weight: 600;
}

.cta-text {
    color: var(--black);
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.6;
}

/* パンくずリストの統一スタイル */
.breadcrumb-nav {
    background: var(--off-white);
    padding: 1rem 0;
    border-bottom: 1px solid var(--light-gray);
    margin-bottom: 0;
}

.breadcrumb-nav ol {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    font-size: 0.9rem;
    flex-wrap: wrap;
}

.breadcrumb-nav ol li {
    display: flex;
    align-items: center;
}

.breadcrumb-nav ol li:not(:last-child)::after {
    content: '>';
    color: var(--gray);
    margin-left: 0.5rem;
    font-weight: normal;
}

.breadcrumb-nav ol li a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb-nav ol li a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.breadcrumb-nav ol li:last-child {
    color: var(--text-color);
    font-weight: 500;
}

/* 物語スタイル - モバイル対応（既存パターン準拠） */
@media (max-width: 768px) {
    .story-content {
        padding: 0 1rem;
    }
    
    .lead-text {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .story-section h3 {
        font-size: 1.2rem;
        margin: 2rem 0 1rem 0;
    }
    
    .story-highlight {
        padding: 1.5rem;
        margin: 2rem 0;
    }
    
    .story-highlight h3 {
        font-size: 1.2rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .benefit-card {
        padding: 1.5rem;
    }
    
    .story-process h3 {
        font-size: 1.2rem;
        margin-bottom: 2rem;
    }
    
    .process-steps::before {
        left: 30px;
    }
    
    .process-steps li {
        gap: 1rem;
        margin-bottom: 2rem;
    }
    
    .process-steps .step-number {
        width: 60px;
        height: 60px;
        min-width: 60px;
        min-height: 60px;
        font-size: 0.9rem;
    }
    
    .process-steps .step-content {
        padding-top: 0.5rem;
    }
    
    .process-steps strong {
        font-size: 1rem;
    }
    
    .story-closing {
        padding: 1.5rem;
        margin-top: 2rem;
    }
    
    .closing-text {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    .cta-text {
        font-size: 1rem;
        line-height: 1.4;
    }
    
    .breadcrumb-nav {
        padding: 0.8rem 0;
    }
    
    .breadcrumb-nav ol {
        font-size: 0.85rem;
    }
}

/* ========== 研修フロー・チャート用スタイル ========== */
.training-flow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin: 2rem 0;
}

.flow-step {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: var(--white);
    padding: 1.5rem 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 600px;
    border-left: 4px solid var(--accent-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.flow-step:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.flow-step .step-number {
    background: var(--accent-color);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.step-content h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.step-duration {
    color: var(--accent-color);
    font-weight: bold;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.flow-arrow {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin: 0.5rem 0;
}

/* タイムラインチャート */
.total-timeline {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--off-white);
    border-radius: 12px;
}

.timeline-chart {
    margin: 1.5rem 0;
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.timeline-label {
    min-width: 120px;
    font-weight: bold;
    color: var(--primary-color);
}

.timeline-bar {
    height: 30px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: bold;
    font-size: 0.9rem;
    margin-left: 1rem;
    position: relative;
    transition: transform 0.3s ease;
}

.timeline-bar:hover {
    transform: scale(1.05);
}

.timeline-bar.preparation {
    background: linear-gradient(90deg, #FF6B35, #FF8C55);
}

.timeline-bar.training {
    background: linear-gradient(90deg, #0066cc, #3399ff);
}

.timeline-bar.support {
    background: linear-gradient(90deg, #28a745, #5cb85c);
}

/* 研修スケジュール */
.training-schedule {
    background: var(--off-white);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1rem 0;
    border: 1px solid var(--light-gray);
}

.schedule-item {
    margin-bottom: 1rem;
}

.schedule-item:last-child {
    margin-bottom: 0;
}

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

.schedule-item p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* 進捗グラフ */
.skill-progress-section {
    margin: 3rem 0;
    padding: 2rem;
    background: var(--off-white);
    border-radius: 12px;
    border: 1px solid var(--light-gray);
}

.progress-chart {
    margin: 2rem 0;
}

.chart-container {
    display: flex;
    height: 300px;
    background: var(--white);
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--light-gray);
}

.y-axis {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 80px;
    margin-right: 1rem;
}

.y-label {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.y-scale {
    display: flex;
    flex-direction: column-reverse;
    justify-content: space-between;
    height: 100%;
    align-items: center;
}

.y-scale span {
    font-size: 0.8rem;
    color: var(--gray);
}

.chart-area {
    flex: 1;
    position: relative;
    border-left: 2px solid var(--light-gray);
    border-bottom: 2px solid var(--light-gray);
}

.progress-line {
    position: relative;
    height: 100%;
}

.progress-line::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(
        90deg, 
        transparent 0%, 
        var(--accent-light) 20%, 
        var(--accent-color) 40%, 
        var(--accent-color) 70%, 
        var(--accent-dark) 100%
    );
}

.progress-point {
    position: absolute;
    width: 16px;
    height: 16px;
    background: var(--accent-color);
    border: 3px solid var(--white);
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transform: translate(-50%, 50%);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
}

.progress-point:hover {
    transform: translate(-50%, 50%) scale(1.3);
    background: var(--accent-dark);
}

.point-value {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: var(--white);
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.progress-point:hover .point-value {
    opacity: 1;
}

.x-axis {
    position: absolute;
    bottom: -30px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--gray);
}

.x-axis span {
    text-align: center;
    width: 80px;
    margin-left: -40px;
}

/* CTAセクション強化 */
.cta-section {
    background: linear-gradient(135deg, var(--off-white) 0%, #e8f4f8 100%);
    padding: 4rem 0;
    margin: 3rem 0;
    border-radius: 16px;
    border: 1px solid var(--light-gray);
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.cta-description {
    color: var(--gray);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    line-height: 1.6;
}

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

.cta-option {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.cta-option:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: var(--accent-color);
}

.cta-option h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.cta-option p {
    color: var(--gray);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.urgency-message {
    background: rgba(255, 107, 53, 0.1);
    padding: 1rem 2rem;
    border-radius: 8px;
    border-left: 4px solid #FF6B35;
    margin-top: 2rem;
}

.urgency-message p {
    color: var(--primary-color);
    margin: 0;
    font-size: 0.95rem;
}

/* グリッドスタイル統一 */
.challenges-grid,
.solutions-grid,
.effects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.challenge-card,
.solution-card,
.effect-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--light-gray);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.challenge-card:hover,
.solution-card:hover,
.effect-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.challenge-icon,
.solution-icon,
.effect-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
    text-align: center;
}

.solution-details {
    margin-top: 1rem;
}

.solution-details p {
    color: var(--accent-color);
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.solution-details ul,
.challenge-card ul,
.effect-card ul {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}

.solution-details li,
.challenge-card li,
.effect-card li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-size: 0.95rem;
}

.solution-details li::before,
.challenge-card li::before,
.effect-card li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-size: 0.8rem;
}

.ai-transformation-message,
.transformation-message {
    background: var(--off-white);
    padding: 2rem;
    border-radius: 12px;
    margin-top: 3rem;
    text-align: center;
    border: 1px solid var(--light-gray);
}

.transformation-message h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

/* ヒーローハイライト */
.hero-highlight {
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.1), rgba(255, 107, 53, 0.1));
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 2rem;
    border: 1px solid rgba(0, 102, 204, 0.2);
}

.hero-highlight p {
    margin: 0;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .flow-step {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1.5rem;
    }
    
    .timeline-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .timeline-bar {
        margin-left: 0;
        width: 100%;
    }
    
    .chart-container {
        height: 250px;
        padding: 0.5rem;
    }
    
    .y-axis {
        width: 60px;
    }
    
    .x-axis span {
        font-size: 0.7rem;
        width: 60px;
        margin-left: -30px;
    }
    
    .cta-content h2 {
        font-size: 1.5rem;
    }
    
    .cta-buttons {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .cta-option {
        padding: 1.5rem;
    }
    
    .challenges-grid,
    .solutions-grid,
    .effects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .challenge-card,
    .solution-card,
    .effect-card {
        padding: 1.5rem;
    }
    
    .challenge-icon,
    .solution-icon,
    .effect-icon {
        font-size: 2.5rem;
    }
    
    .hero-highlight {
        padding: 1rem;
        margin-top: 1.5rem;
    }
    
    .hero-highlight p {
        font-size: 1rem;
    }
}