/*================================================
 *  システム開発サービス デザイン
 *  追記　2026.1.11
================================================*/
.system-development-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    background-color: #ffffff;
}

/* ヘッダーセクション */
.sd-header {
    display: flex;
    align-items: flex-start;
    margin-bottom: 60px;
    gap: 24px;
}

.sd-header-content {
    flex: 1;
}

.sd-main-title {
    font-size: 2rem;
    font-weight: bold;
    color: #232323;
    margin-bottom: 16px;
    line-height: 1.4;
    display: flex;
}

.sd-title-separator {
    color: #9ca3af;
    font-weight: normal;
    margin: 0 8px;
}

.sd-title-en {
    font-size: 1rem;
    color: #9ca3af;
    font-weight: medium;
    display: flex;
    align-items: center;
}

.sd-slogan {
    color: #005FCC;
    font-weight: bold;
    font-size: 1.5rem;
    line-height: 2rem;
    margin-top: 8px;
}

/* メインレイアウト（2列） */
.sd-main-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
    align-items: start;
}

/* メインコンテンツ（左側） */
.sd-main-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* セクションタイトル */
.sd-section-title {
    font-size: 0.875rem;
    font-weight: bold;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
    position: relative;
    display: flex;
    align-items: center;
}

.sd-section-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background-color: #d1d5db;
    margin-left: 16px;
}

/* ABOUT SERVICE セクション */
.sd-about-section {
    margin-bottom: 40px;
}

.sd-about-text {
    font-size: 1rem;
    line-height: 1.8;
    color: #232323;
}

/* KEY OFFERINGS セクション */
.sd-offerings-section {
    margin-bottom: 40px;
}

.sd-offerings-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.sd-offering-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: #f9fafb;
    border-radius: 8px;
    padding: 16px;
}

.sd-offering-link {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sd-offering-link:hover {
    background-color: #e5e7eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.sd-offering-link:hover .sd-check-icon {
    background-color: #005FCC;
    color: white;
    border-color: #005FCC;
}

.sd-check-icon {
    display: flex;
    justify-content: center;
    width: 24px;
    height: 24px;
    color: #005FCC;
    border-radius: 50%;
    font-size: 14px;
    font-weight: bold;
    flex-shrink: 0;
    border: 2px solid #005FCC;
}

.sd-offering-text {
    font-size: 0.95rem;
    color: #232323;
    line-height: 1.6;
}

/* 「UI／UXデザインを伴うWebサイト制作」用の下線スタイル */
.sd-offering-text-ux {
    text-decoration: underline;
}

/* サイドバー（右側） */
.sd-sidebar {
    position: sticky;
    top: 20px;
}

.sd-sidebar-content {
    background-color: #f9fafb;
    border-radius: 12px;
    padding: 32px 24px;
}

/* 技術スタックカテゴリ */
.sd-stack-category {
    margin-bottom: 32px;
}

.sd-stack-category:last-of-type {
    margin-bottom: 24px;
}

.sd-category-title {
    font-size: 0.95rem;
    font-weight: bold;
    color: #232323;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sd-category-icon {
    font-size: 1.2rem;
}

/* 技術タグ */
.sd-tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sd-tech-tag {
    display: inline-block;
    background-color: #fff;
    color: #232323;
    padding: 6px 12px;
    border-radius: 9999px;
    font-size: 0.875rem;
    line-height: 1.4;
    border: 1px solid #e5e7eb;
}

/* 免責事項 */
.sd-disclaimer {
    font-size: 0.75rem;
    color: #6b7280;
    line-height: 1.6;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #d1d5db;
}

/* レスポンシブ対応 */
@media screen and (max-width: 1024px) {
    .sd-main-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .sd-sidebar {
        position: static;
    }
    
    .sd-offerings-grid {
        grid-template-columns: 1fr;
    }
    
    .system-development-main {
        padding: 32px 20px;
    }
}

@media screen and (max-width: 768px) {
    .system-development-main {
        padding: 24px 16px;
    }
    
    .sd-header {
        flex-direction: row;
        align-items: flex-start;
        gap: 16px;
        margin-bottom: 40px;
    }
    
    .sd-header img,
    .step-icon-box {
        width: 48px;
        height: 48px;
        flex-shrink: 0;
    }
    
    .sd-header img svg,
    .step-icon-box svg {
        width: 32px;
        height: 32px;
    }
    
    .sd-main-title {
        font-size: 1.5rem;
        line-height: 1.3;
        margin-bottom: 12px;
        flex-wrap: wrap;
    }
    
    .sd-title-separator {
        margin: 0 6px;
    }
    
    .sd-title-en {
        font-size: 0.875rem;
    }
    
    .sd-slogan {
        font-size: 1rem;
        line-height: 1.6;
        margin-top: 4px;
    }
    
    .sd-main-layout {
        gap: 32px;
    }
    
    .sd-main-content {
        gap: 32px;
    }
    
    .sd-about-section,
    .sd-offerings-section {
        margin-bottom: 32px;
    }
    
    .sd-section-title {
        font-size: 0.8125rem;
        margin-bottom: 16px;
    }
    
    .sd-about-text {
        font-size: 0.9375rem;
        line-height: 1.7;
    }
    
    .sd-offerings-grid {
        gap: 12px;
    }
    
    .sd-offering-item {
        padding: 14px;
    }
    
    .sd-offering-text {
        font-size: 0.875rem;
    }
    
    .sd-sidebar-content {
        padding: 24px 20px;
    }
    
    .sd-stack-category {
        margin-bottom: 24px;
    }
    
    .sd-category-title {
        font-size: 0.875rem;
        margin-bottom: 12px;
    }
    
    .sd-tech-tag {
        font-size: 0.8125rem;
        padding: 5px 10px;
    }
    
    .sd-disclaimer {
        font-size: 0.6875rem;
        margin-top: 20px;
        padding-top: 20px;
    }
}

@media screen and (max-width: 480px) {
    .system-development-main {
        padding: 20px 12px;
    }
    
    .sd-header {
        gap: 12px;
        margin-bottom: 32px;
    }
    
    .sd-header img,
    .step-icon-box {
        width: 40px;
        height: 40px;
    }
    
    .sd-header img svg,
    .step-icon-box svg {
        width: 28px;
        height: 28px;
    }
    
    .sd-main-title {
        font-size: 1.25rem;
        margin-bottom: 8px;
    }
    
    .sd-title-separator {
        margin: 0 4px;
    }
    
    .sd-title-en {
        font-size: 0.75rem;
    }
    
    .sd-slogan {
        font-size: 0.875rem;
        line-height: 1.5;
    }
    
    .sd-main-content {
        gap: 24px;
    }
    
    .sd-about-section,
    .sd-offerings-section {
        margin-bottom: 24px;
    }
    
    .sd-section-title {
        font-size: 0.75rem;
        margin-bottom: 12px;
    }
    
    .sd-about-text {
        font-size: 0.875rem;
        line-height: 1.6;
    }
    
    .sd-offering-item {
        padding: 12px;
        gap: 10px;
    }
    
    .sd-check-icon {
        width: 20px;
        height: 20px;
        font-size: 12px;
        border-width: 1.5px;
    }
    
    .sd-offering-text {
        font-size: 0.8125rem;
    }
    
    .sd-sidebar-content {
        padding: 20px 16px;
    }
    
    .sd-stack-category {
        margin-bottom: 20px;
    }
    
    .sd-category-title {
        font-size: 0.8125rem;
        margin-bottom: 10px;
    }
    
    .sd-tech-tag {
        font-size: 0.75rem;
        padding: 4px 8px;
    }
    
    .sd-disclaimer {
        font-size: 0.625rem;
        margin-top: 16px;
        padding-top: 16px;
    }
}

/*================================================
 *  Consulting & PMO 専用スタイル
 *  追記　2026.1.13
================================================*/

/* Consulting & PMO専用のスローガンカラー */
.system-development-main:has(img[src*="description_consulting-pmo"]) .sd-slogan {
    color: #662AE1;
}

/* Consulting & PMO専用のスローガンカラー */
.system-development-main:has(img[src*="description_consulting-pmo"]) .sd-check-icon {
    color: #662AE1;
    border: 2px solid #662AE1;
}

/*================================================
 *  Products & Services 専用スタイル
 *  追記　2026.1.15
================================================*/

/* STEP間に▼を挿入して、上から下に流れるフローにする */
.system-development-main:has(img[src*="description_products-and-services"]) .sd-steps-list {
    gap: 0; /* 矢印の分を自分で間隔調整 */
}

.system-development-main:has(img[src*="description_products-and-services"]) .sd-steps-list > .sd-step-item {
    position: relative;
}

.system-development-main:has(img[src*="description_products-and-services"]) .sd-steps-list > .sd-step-item:not(:last-child) {
    margin-bottom: 22px; /* ▼分のスペース */
}

.system-development-main:has(img[src*="description_products-and-services"]) .sd-steps-list > .sd-step-item:not(:last-child)::after {
    content: "▼";
    position: absolute;
    left: 50%;
    bottom: -22px;
    transform: translateX(-50%);
    color: #D67D1F;
    font-size: 18px;
    line-height: 1;
}

/*================================================
 *  DX Solutions 専用スタイル
 *  追記　2026.1.13
================================================*/

/* DX Solutions専用のスローガンカラー */
.system-development-main:has(img[src*="description_dx-solutions"]) .sd-slogan {
    color: #00966B;
}

/* DX Solutions専用のスローガンカラー */
.system-development-main:has(img[src*="description_dx-solutions"]) .sd-check-icon {
    color: #00966B;
    border: 2px solid #00966B;
}

/*================================================
 *  5-step plan 専用スタイル
 *  追記　2026.1.11
================================================*/

/* 5-step plan専用のスローガンカラー */
.system-development-main:has(img[src*="description_products-and-services"]) .sd-slogan {
    color: #D67D1F;
}

/* アイコンボックス（電球アイコン用） */
.step-icon-box {
    width: 64px;
    height: 64px;
    background-color: #f3f4f6;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* STEPリスト */
.sd-steps-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sd-step-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background-color: #f9fafb;
    border-radius: 8px;
    padding: 20px;
}

.sd-step-number {
    font-size: 0.875rem;
    font-weight: bold;
    color: #232323;
    min-width: 60px;
}

.sd-step-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sd-step-title {
    font-size: 1rem;
    /* font-weight: bold; */
    color: #232323;
}

.sd-step-subtitle {
    font-size: 0.875rem;
    color: #6b7280;
}

/* セクションタイトル（線なし） */
.sd-section-title-no-line::after {
    display: none;
}

/* CAPABILITIESボックス */
.sd-capabilities-box {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 40px 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.sd-capabilities-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.sd-capabilities-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #232323;
}

.sd-capabilities-text {
    font-size: 0.875rem;
    color: #232323;
    line-height: 1.6;
    text-align: center;
}

/* 5-step plan レスポンシブ対応 */
@media screen and (max-width: 768px) {
    .sd-step-item {
        padding: 16px;
        gap: 12px;
    }
    
    .sd-step-number {
        font-size: 0.8125rem;
        min-width: 50px;
    }
    
    .sd-step-title {
        font-size: 0.9375rem;
    }
    
    .sd-step-subtitle {
        font-size: 0.8125rem;
    }
    
    .sd-capabilities-box {
        padding: 32px 20px;
        gap: 16px;
    }
    
    .sd-capabilities-icon svg {
        width: 40px;
        height: 40px;
    }
    
    .sd-capabilities-title {
        font-size: 1.25rem;
    }
    
    .sd-capabilities-text {
        font-size: 0.8125rem;
    }
}

@media screen and (max-width: 480px) {
    .sd-step-item {
        padding: 14px;
        gap: 10px;
    }
    
    .sd-step-number {
        font-size: 0.75rem;
        min-width: 45px;
    }
    
    .sd-step-title {
        font-size: 0.875rem;
    }
    
    .sd-step-subtitle {
        font-size: 0.75rem;
    }
    
    .sd-capabilities-box {
        padding: 24px 16px;
        gap: 12px;
    }
    
    .sd-capabilities-icon svg {
        width: 36px;
        height: 36px;
    }
    
    .sd-capabilities-title {
        font-size: 1.125rem;
    }
    
    .sd-capabilities-text {
        font-size: 0.75rem;
    }
}