/* --------------------------------------
 * ベーススタイル（リセット & 共通）
 * -------------------------------------- */
* {
    margin: 20;
    padding: 0;
    background-color: #efefef;
    background-image: linear-gradient(90deg, #393b3d80 0.5px, transparent 0.5px), linear-gradient(#393b3d80 0.5px, transparent 0.5px);
    background-position: 10px 10px;
    background-size: 21px 21px;
    background-attachment: fixed;
    text-decoration: none;
    color: black;
    font-family: Arial, Helvetica, sans-serif;


}

body {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
    background-color: #fcfcfc; /* ほんのり明るいクリーンな背景 */
    color: #222222;
    line-height: 1.8;
}

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

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 40px 20px 100px 20px;
}

/* --------------------------------------
 * ヘッダー（一覧ページと完全統一）
 * -------------------------------------- */
.site-header {
    background-color: #ffffff;
    border-bottom: 1px solid #f0f0f0;
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.site-title {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.05em;
}
.site-nav ul {
    display: flex;
    gap: 24px;
    list-style: none;
}
.site-nav a {
    font-size: 14px;
    font-weight: 500;
    color: #666;
    transition: color 0.2s;
}
.site-nav a:hover {
    color: #000;
}

/* 戻るリンク */
.container .back-link {
    display: block;
    width: fit-content;
    margin: 0 0 32px 0;
    font-size: 14px;
    color: #666;
    transition: color 0.2s;
}
.container .back-link:hover {
    color: #000;
}


@media (min-width: 768px) {
    .work-showcase {
        padding: 60px;
    }
}

/* 1. ヒーローイメージ */
.showcase-hero {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    background-color: #f5f5f5;
    margin-bottom: 48px;
}
.showcase-hero img {
    width: 100%;
    height: auto;
    display: block;
}

/* 2. ショーケースヘッダー（タイトルエリア） */
.showcase-header {
    max-width: 800px;
    margin-bottom: 48px;
}
.meta-info {
    display: flex;
    gap: 16px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}
.meta-info .category {
    color: #3b82f6; /* 共通のアクセントカラー */
}
.meta-info .date {
    color: #999999;
}
.work-title {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 16px;
}
@media (min-width: 768px) {
    .work-title {
        font-size: 42px;
    }
}
.work-lead {
    font-size: 18px;
    color: #444444;
    line-height: 1.6;
}

/* 3. ショーケースボディ（2カラム） */
.showcase-body {
    display: flex;
    flex-direction: column;
    gap: 48px;
    border-top: 1px solid #f0f0f0;
    padding-top: 48px;
    margin-bottom: 64px;
}
@media (min-width: 900px) {
    .showcase-body {
        flex-direction: row;
        gap: 80px;
    }
    .body-main {
        flex: 1.8;
    }
    .body-sub {
        flex: 1;
        position: sticky;
        top: 100px; /* スクロール時に画面の上部に心地よく追従します */
        height: fit-content;
    }
}

/* 左側：メイン文章 */
.section {
    margin-bottom: 40px;
}
.section-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
    position: relative;
    padding-left: 12px;
}
.section-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 3px;
    background-color: #3b82f6;
}
.section p {
    color: #444444;
    font-size: 15px;
}

/* 右側：スペックカード（サイドバー） */
.spec-card {
    /* background-color: #f6f6f6; */
    /* border-radius: 12px; */
    padding: 32px;
    border: 1px solid #f1f5f9;
}
.spec-card-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #111111;
}
.spec-list dt {
    font-size: 12px;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}
.spec-list dd {
    font-size: 14px;
    color: #334155;
    margin-bottom: 20px;
}
.spec-list dd:last-child {
    margin-bottom: 0;
}
.action-btn {
    display: block;
    text-align: center;
    background-color: #111111;
    color: #ffffff;
    padding: 14px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    margin-top: 24px;
    transition: background-color 0.2s;
}
.action-btn:hover {
    background-color: #333333;
}

/* 4. サブギャラリー（スクロールして魅せる大判画像） */
.showcase-gallery {
    display: flex;
    flex-direction: column;
    gap: 40px;
    /* border-top: 1px solid #f0f0f0; */
    padding-top: 64px;
}
.gallery-item {
    width: 100%;
}
.gallery-item img {
    width: 100%;
    border-radius: 8px;
    /* background-color: #f5f5f5; */
}
.gallery-item .caption {
    font-size: 13px;
    color: #777777;
    margin-top: 12px;
    text-align: center;
}

/* --------------------------------------
 * フッター
 * -------------------------------------- */
.site-footer {
    text-align: center;
    padding: 40px 20px;
    /* background-color: #ffffff; */
    border-top: 1px solid #f0f0f0;
    color: #999999;
    font-size: 12px;
}