body {
   font-family: 'YakuHanJP', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Yu Gothic', 'Meiryo', sans-serif;
    line-height: 1.8;
    color: #333;
    
}

.first-view {
    width: 100%;
    height: 100vh;
    min-height: 800px;
    position: relative;
    overflow: hidden;
}

/* ヘッダー */
.fv-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 60px;
    z-index: 100;
    border-bottom: 1px solid #333;
    padding-bottom: 25px;
    background: url(../img/mv-toppage.jpg);

}

.fv-name {
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.15em;
    color: #333;
    padding-bottom: 8px;
}

/* ハンバーガーメニュー */
.hamburger-menu {
    width: 32px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0;
}

.hamburger-menu span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #333;
    transition: all 0.3s ease;
}

.hamburger-menu:hover span {
    background-color: #666;
}


/* ========================================
   1. ヘッダー固定（トップページと同じ）
======================================== */

.fv-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

/* スクロール時に影を追加 */
.fv-header.scrolled {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    background-color: rgba(255, 255, 255, 0.98);
}

/* ヘッダー固定に伴うページ上部の調整 */
.about-hero-section {
    padding-top: 150px;
    /* ヘッダー分のスペース確保 */
}

/* ========================================
   ハンバーガーメニュー
======================================== */

/* ハンバーガーメニューボタン */
.hamburger-menu {
    width: 32px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0;
    position: relative;
    z-index: 1001;
}

.hamburger-menu span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #333;
    transition: all 0.3s ease;
}

/* ハンバーガーメニューが開いている時 */
.hamburger-menu.active span:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
}

.hamburger-menu:hover span {
    background-color: #666;
}

/* ナビゲーションメニュー本体 */
.nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 400px;
    height: 100vh;
    background-color: #fff;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    padding: 80px 60px 40px;
}

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

/* 閉じるボタン */
.nav-close {
    position: absolute;
    top: 40px;
    right: 40px;
    width: 32px;
    height: 32px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-close span {
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #333;
    transition: all 0.3s ease;
}

.nav-close span:nth-child(1) {
    transform: rotate(45deg);
}

.nav-close span:nth-child(2) {
    transform: rotate(-45deg);
}

.nav-close:hover span {
    background-color: #666;
}

/* ナビゲーションリスト */
.nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-item {
    margin-bottom: 40px;
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

/* メニューが開いた時のアニメーション */
.nav-menu.active .nav-item {
    opacity: 1;
    transform: translateX(0);
}

.nav-menu.active .nav-item:nth-child(1) {
    transition-delay: 0.1s;
}

.nav-menu.active .nav-item:nth-child(2) {
    transition-delay: 0.2s;
}

.nav-menu.active .nav-item:nth-child(3) {
    transition-delay: 0.3s;
}

.nav-link {
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 0.08em;
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
}

.nav-link:hover {
    color: #77B0FF;
}

/* ナビゲーションフッター */
.nav-footer {
    margin-top: auto;
    padding-top: 40px;
    border-top: 1px solid #E5E5E5;
}

.nav-email {
    font-size: 12px;
    letter-spacing: 0.05em;
    color: #999;
}

/* オーバーレイ */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    z-index: 999;
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}


/* ========================================
   レスポンシブデザイン
======================================== */

/* タブレット（768px以下） */
@media (max-width: 768px) {
    .nav-menu {
        width: 200px;
        padding: 60px 40px 40px;
    }

    .nav-close {
        top: 30px;
        right: 24px;
    }

    .nav-link {
        font-size: 28px;
    }

    .nav-item {
        margin-bottom: 32px;
    }
}

/* スマートフォン（480px以下） */
@media (max-width: 480px) {
    .hamburger-menu {
        width: 28px;
        height: 20px;
    }

    .nav-menu {
        padding: 60px 30px 30px;
    }

    .nav-close {
        top: 20px;
        right: 16px;
        width: 28px;
        height: 28px;
    }

    .nav-link {
        font-size: 18px;
    }

    .nav-item {
        margin-bottom: 28px;
    }

    .nav-email {
        font-size: 11px;
    }
}

/* ===================================
   Base Layout - 2 Column
   左：メイン、右：サイドバー
=================================== */
.detail-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 80px 100px;
    background-color: #F5F5F5;
}

.detail-container {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    background-color: #fff;
    border-radius: 16px;
    padding: 60px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    margin-top: 150px;
}

/* ===================================
   Left Column: Main Content
=================================== */
.detail-main {
    min-width: 0;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 50px;
    font-size: 13px;
    color: #999;
}

.breadcrumb-link {
    color: #999;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-link:hover {
    color: #666;
}

.breadcrumb-separator {
    color: #CCC;
}

.breadcrumb-current {
    color: #666;
}



/* =========================
   TARGET & BACKGROUND
========================= */

.case-meta {
    margin-top: 80px;
    margin-bottom: 20px;
}

.case-meta-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

/* カード */
.meta-card {
    padding: 32px;
    border: 1px solid #e5e5e5;
    background-color: #fafafa;
}

/* 小ラベル */
.meta-label {
    font-size: 10px;
    letter-spacing: 2px;
    color: #777;
    margin-bottom: 5px;
}

/* 見出し */
.meta-title {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 20px;
    color: #111;
}

/* テキスト */
.meta-text {
    font-size: 12px;
    letter-spacing: 2px;
    line-height: 1.9;
    color: #333;
    margin-bottom: 12px;
}

.meta-text:last-child {
    margin-bottom: 0;
}

/* レスポンシブ */
@media screen and (max-width: 768px) {
    .case-meta-inner {
        grid-template-columns: 1fr;
    }
}


/* =========================
   ISSUES
========================= */

.issues {
    width: 100%;
    min-height: 500px;
    height: auto;
    margin-top: 50px;
    margin-bottom: 80px;
    background-color: #f7f6f4;
    padding: 25px;
}

/* 見出し */
.issues-heading {
    font-size: 14px;
    letter-spacing: 0.1em;
    margin-bottom: 32px;
    color: #111;
}

/* リスト */
.issues-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* 各アイテム */
.issue-item {
    display: flex;
    gap: 24px;
}

/* 縦ラインエリア */
.issue-line {
    position: relative;
    width: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 縦ライン */
.issue-line::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
    background-color: #ccc;
}

/* アイコン（最上部のみ） */
.issue-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #111;
    color: #fff;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

/* ドット */
.issue-dot {
    width: 8px;
    height: 8px;
    background-color: #999;
    border-radius: 50%;
    z-index: 1;
    margin-top: 8px;
}

/* テキスト */
.issue-content {
    flex: 1;
    margin-bottom: 1rem;
}

.issue-title {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 13px;
    color: #111;
}

.issue-text {
    font-size: 11px;
    letter-spacing: 3px;
    line-height: 1.8;
    color: #333;
}

/* レスポンシブ */
@media screen and (max-width: 768px) {
    .issues {
        padding: 24px;
    }

    .issue-item {
        gap: 16px;
    }
}


/* Work Title */
.work-main-title {
    font-size: 36px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #333;
    margin-bottom: 40px;
}

/* Main Visual */
.work-main-visual {
    width: 100%;
    height: 400px;
    background-color: #E8E8E8;
    border: 1px solid #D0D0D0;
    border-radius: 4px;
    margin-bottom: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.work-main-visual::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.work-main-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 1;
}

/* Section Title */
.work-section-title {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #333;
    margin-bottom: 25px;
}

/* Work Description Section */


.work-description-section {
    margin-bottom: 60px;
}

.work-description-text {

    font-size: 12px;
    line-height: 40px;
    letter-spacing: 3px;
    color: #666;
}

/* Points Section */
.work-points-section {
    margin-bottom: 60px;
}

.points-list {
    list-style: none;
    padding: 0;
}

.points-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 13px;
    line-height: 2;
    letter-spacing: 0.5px;
    color: #666;
    margin-bottom: 16px;
}

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

.check-icon {
    flex-shrink: 0;
    font-size: 14px;
    color: #999;
}

/* Design Section */
/* =========================
   Design Section
========================= */

.design {
    margin: 100px 0;
}

.section-heading {
    font-size: 16px;
    letter-spacing: 0.08em;
    margin-bottom: 32px;
    color: #111;
}

/* 全体キャプチャ */

.design-tittle {

    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #333;
    margin-bottom: 50px;
}

.design-overview {
    margin-bottom: 70px;
}

.design-capture {
    margin-bottom: 24px;
}

.design-image {
    width: 100%;
    height: auto;
    display: block;
    border: 1px solid #e5e5e5;
}

.design-caption {
    font-size: 10px;
    letter-spacing: 2px;
    color: #777;
    margin-top: 8px;
}

.design-sumaho {
    width: 375px;
    height: auto;
    margin-top: 40px;
}

.design-lead-contaiber {
    width: 100%;
    height: 130px;
    display: flex;
    align-items: center;
    /* 縦中央 */
    justify-content: center;
    /* 横中央 */
    background: #F8F7F3;
}


.design-lead {
    margin: 0 auto;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.9;
    letter-spacing: 2px;
    color: #333;
    max-width: 720px;

}

/* 注目ポイント */
.design-points {
    display: flex;
    flex-direction: column;
    gap: 64px;
    margin-bottom: 64px;
}

.design-point {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.design-point-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #111;
}

.design-point-text p {
    font-size: 12px;
    letter-spacing: 2px;
    line-height: 1.9;
    color: #333;
}

/* まとめ */
.design-summary {
    max-width: 720px;
}

.design-summary p {
    font-size: 13px;
    letter-spacing: 2px;
    line-height: 2.5;
    color: #333;
}

/* レスポンシブ */
@media screen and (max-width: 768px) {
    .design-point {
        grid-template-columns: 1fr;
    }

    .design {
        margin: 80px 0;
    }
}


/* ===================================
   Right Column: Sidebar
=================================== */
.detail-sidebar {
    border-left: 1px solid #E5E5E5;
    padding-left: 40px;
}

.sidebar-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #F0F0F0;
}

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

.sidebar-title {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #333;
    margin-bottom: 12px;
}

.sidebar-text {
    font-size: 12px;
    letter-spacing: 0.5px;
    color: #666;
}

.sidebar-list {
    list-style: none;
    padding: 0;
    font-size: 12px;
    letter-spacing: 0.5px;
    color: #666;
}

.sidebar-list li {
    position: relative;
    padding-left: 12px;
    margin-bottom: 8px;
    line-height: 1.8;
}

.sidebar-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #999;
}

/* Tool Item */
.tool-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.tool-icon {
    width: 32px;
    height: 32px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
}

.tool-icon.figma {

    width: 40px;
    height: 40px;
    background-image: url(../img/figma-icon.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}



.tool-icon.photoshop {
    width: 40px;
    height: 40px;
    background: url(../img/vccode-normal.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.tool-icon.canva {

    width: 40px;
    height: 40px;
    background-image: url(../img/canva.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}


.tool-icon.wordpress {
    width: 40px;
    height: 40px;
    background: url(../img/wordpress-icon.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}



.tool-name {
    font-size: 12px;
    letter-spacing: 0.5px;
    color: #666;
}

/* URL */
.sidebar-url {
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    color: #666;
    text-decoration: none;
}

.url-arrow {
    font-size: 10px;
    color: #77B0FF;
}

/* Thumbnail */
.sidebar-thumbnail {
    width: 100%;
    height: 180px;
    background-color: #E8E8E8;
    border: 1px solid #D0D0D0;
    border-radius: 4px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.sidebar-thumbnail::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(to bottom right, transparent 49.5%, #D0D0D0 49.5%, #D0D0D0 50.5%, transparent 50.5%),
        linear-gradient(to top right, transparent 49.5%, #D0D0D0 49.5%, #D0D0D0 50.5%, transparent 50.5%);
}

.sidebar-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 1;
}

/* Overview */
.sidebar-overview {
    width: 300px;
    height: 250px;
    background-color: #F8F8F8;
    padding: 24px;
    border-radius: 8px;
}

.overview-title {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #333;
    margin-bottom: 16px;
}

.overview-list {
    list-style: none;
    padding: 0;
    font-size: 11px;
    letter-spacing: 0.5px;
    color: #666;
    line-height: 2;
}

.overview-list li {
    position: relative;
    padding-left: 12px;
    margin-bottom: 6px;
}

.overview-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #999;
}

/* ===================================
   Work Navigation
=================================== */
.work-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 60px;
    padding: 0 60px;
}

.nav-arrow {
    width: 40px;
    height: 40px;
    border: 1px solid #D0D0D0;
    border-radius: 4px;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #999;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-arrow:hover {
    background-color: #F5F5F5;
    border-color: #BBB;
}

.nav-thumbnails {
    display: flex;
    gap: 16px;
}

.nav-thumb {
    width: 80px;
    height: 60px;
    border: 2px solid #E0E0E0;
    border-radius: 4px;
    background-color: #F5F5F5;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
    padding: 0;
    position: relative;
}

.nav-thumb::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(to bottom right, transparent 49.5%, #D0D0D0 49.5%, #D0D0D0 50.5%, transparent 50.5%),
        linear-gradient(to top right, transparent 49.5%, #D0D0D0 49.5%, #D0D0D0 50.5%, transparent 50.5%);
}

.nav-thumb:hover {
    border-color: #BBB;
}

.nav-thumb-active {
    border-color: #999;
    background-color: #fff;
}

.nav-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 1;
}

/* ========================================
   9. ナビゲーションメニューのアニメーション強化
======================================== */

.nav-link {
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #77B0FF;
    transition: width 0.3s ease;
}

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

/* ===================================
   Pagination
=================================== */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}

.pagination-arrow,
.pagination-number {
    width: 36px;
    height: 36px;
    border: 1px solid #D0D0D0;
    border-radius: 4px;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination-arrow:hover,
.pagination-number:hover {
    background-color: #F5F5F5;
    border-color: #BBB;
}

.pagination-active {
    background-color: #333;
    color: #fff;
    border-color: #333;
}

/* 作品一覧に戻る */
.back-to-works {
    margin-top: 48px;
    text-align: center;
}

.back-to-works-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    font-size: 12px;
    letter-spacing: 3px;
    color: #555;

    padding: 10px 20px;
    border-radius: 999px;

    background-color: transparent;
    border: 1px solid #000;

    transition:
        color 0.3s ease,
        background-color 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.back-to-works-link::before {

    font-size: 14px;
}

.back-to-works-link:hover {
    color: #111;
    background-color: #c5d8f3;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}



/* Contact Section */
.contact-section {
    max-width: 100%;
    height: 550px;
    padding: 150px 60px;
    background: url(../img/footerimg.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    align-items: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
    /* 縦方向に配置 */
    align-items: center;
    /* 中央揃え */
    gap: 40px;
}

.contact-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.contact-title {
    font-size: 28px;
    font-weight: 400;
    letter-spacing: 0.15em;
    color: #333;
    padding-bottom: 12px;
    display: inline-block;
}

.contact-email {
    display: inline-block;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.08em;
    color: #333;
    text-decoration: none;
    padding: 14px 36px;
    border: 1px solid #333;
    border-radius: 24px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.contact-email:hover {
    background-color: #B8D4FF;
    color: #000;
}


/* ===================================
   Responsive Design
=================================== */
@media screen and (max-width: 1024px) {
    .detail-wrapper {
        padding: 40px;
    }

    .detail-container {
        gap: 40px;
        padding: 40px;
    }

    .detail-sidebar {
        padding-left: 30px;
    }
}

@media screen and (max-width: 768px) {
    .detail-wrapper {}

    .detail-container {
        grid-template-columns: 1fr;
        gap: 60px;
        padding: 30px 20px;
    }

    .detail-sidebar {
        border-left: none;
        border-top: 1px solid #E5E5E5;
        padding-left: 0;
        padding-top: 40px;
    }

    .work-main-title {
        font-size: 28px;
    }

    .work-main-visual {
        height: 280px;
    }

    .design-content-row {
        flex-direction: column;
    }

    .design-image {
        width: 100%;
        max-width: 400px;
    }

    .work-navigation {
        padding: 0 20px;
        gap: 12px;
    }

    .nav-thumbnails {
        gap: 8px;
    }

    .nav-thumb {
        width: 60px;
        height: 45px;
    }

    .nav-arrow {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }


}


/* ===================================
   スマートフォン（480px以下）
=================================== */
@media screen and (max-width: 480px) {


    /* First View */
    .fv-header {
        padding: 30px 24px;
    }

    .fv-name {
        font-size: 14px;
    }

    .hamburger-menu {
        width: 28px;
        height: 20px;
    }

    .fv-photo-area {
        width: 400px;
        height: 280px;
    }

    .fv-label-top {
        font-size: 18px;
        padding: 10px 24px;
        top: -16px;
        left: -24px;
    }

    .fv-label-bottom {
        font-size: 32px;
        padding: 10px 24px;
        bottom: -20px;
        right: -32px;
    }

    /* Container */
    .detail-wrapper {
        padding: 20px 4px;
    }

    .detail-container {

        margin-top: 100px;
    }

    .detail-main {
        margin: 20px 10px;
    }

    /* Breadcrumb */
    .breadcrumb {
        font-size: 10px;
        margin-bottom: 20px;
        flex-wrap: wrap;
    }

    .breadcrumb-separator {
        margin: 0 4px;
    }

    /* Work Title */
    .work-main-title {
        font-size: 18px;
        letter-spacing: 1px;
        margin-bottom: 20px;
    }

    /* Main Visual */
    .work-main-visual {
        min-height: 180px;
        margin-bottom: 30px;
        border-radius: 8px;
    }

    .work-main-visual img {
        border-radius: 8px;
    }

    /* Work Description */
    .work-description-section {
        margin-bottom: 40px;
    }

    .work-section-title {
        font-size: 16px;
        letter-spacing: 1px;
        margin-bottom: 16px;
    }

    .work-description-text {
        font-size: 11px;
        line-height: 1.9;
    }

    .work-description-text br {
        display: none;
    }

    /* Meta Label (共通) */
    .meta-label {
        font-size: 7px;
        letter-spacing: 1px;
        margin-bottom: 4px;
        padding-top: 10px;
    }

    /* Case Meta */
    .case-meta {
        margin-bottom: 40px;
    }

    .case-meta-inner {
        gap: 24px;
    }

    .meta-card {
        padding: 20px 16px;
        border-radius: 8px;
    }

    .meta-title {
        font-size: 13px;
        letter-spacing: 1px;
        margin-bottom: 12px;
    }

    .meta-text {
        font-size: 10px;
        line-height: 1.8;
        margin-bottom: 12px;
    }

    /* Issues Section */
    .issues {

        margin-bottom: 40px;
    }

    .issues-list {
        margin-top: 20px;
    }

    .issue-item {
        margin-bottom: 20px;
    }

    .issue-line {
        width: 2px;
        margin-right: 10px;
    }

    .issue-icon {
        width: 18px;
        height: 18px;
        font-size: 11px;
    }

    .issue-dot {
        width: 5px;
        height: 5px;
    }

    .issue-title {
        font-size: 12px;
        letter-spacing: 0.5px;
        margin-bottom: 8px;
    }

    .issue-text {
        font-size: 10px;
        line-height: 1.8;
    }

    .issue-text br {
        display: none;
    }

    /* Design Section */
    .design {
        margin-bottom: 40px;
    }

    .design-overview {
        margin-bottom: 30px;
    }

    .design-capture {
        margin-bottom: 20px;
    }

    .design-sumaho {
        width: 150px;
        height: auto;
    }

    .design-image {
        border-radius: 6px;
        width: 100%;
        height: auto;
    }

    .design-caption {
        font-size: 9px;
        margin-top: 8px;
        padding: 0;
        line-height: 1.5;
    }

    .design-lead {
        font-size: 10px;
        line-height: 1.9;
        padding: 0;
    }

    /* Design Points */
    .design-points {
        margin-bottom: 24px;
    }

    .design-point {
        gap: 16px;
        margin-bottom: 30px;
    }

    .design-point-image {
        width: 100%;
    }

    .design-point-title {
        font-size: 13px;
        letter-spacing: 0.5px;
        margin-bottom: 10px;
    }

    .design-point-text p {
        font-size: 10px;
        line-height: 1.8;
    }

    /* Design Summary */
    .design-summary {
        padding: 16px 12px;
        margin-top: 24px;
        border-radius: 8px;
    }

    .design-summary p {
        font-size: 10px;
        line-height: 1.8;
    }

    .design-summary p br {
        display: none;
    }

    /* Sidebar */
    .detail-sidebar {
        padding: 24px 16px;
        border-radius: 8px;
    }

    .sidebar-section {
        margin-bottom: 20px;
        padding-bottom: 20px;
    }

    .sidebar-title {
        font-size: 12px;
        letter-spacing: 1px;
        margin-bottom: 12px;
    }

    .sidebar-text {
        font-size: 10px;
        line-height: 1.8;
    }

    .tool-item {
        padding: 8px 12px;
        margin-bottom: 8px;
        border-radius: 6px;
    }

    .tool-icon {
        width: 20px;
        height: 20px;
    }

    .tool-name {
        font-size: 11px;
    }

    .sidebar-url {
        font-size: 11px;
        padding: 8px 16px;
        border-radius: 6px;
    }

    .url-arrow {
        width: 18px;
        height: 18px;
        font-size: 12px;
    }

    /* Points Section */
    .work-points-section {
        margin-top: 20px;
    }

    .points-list {
        gap: 12px;
    }

    .points-item {
        font-size: 10px;
        line-height: 1.8;
        padding-left: 22px;
    }

    .check-icon {
        width: 14px;
        height: 14px;
        font-size: 9px;
        left: 0;
    }

    /* Navigation */
    .work-navigation {
        margin: 30px 0 20px;
        padding: 0 12px;
    }

    .nav-arrow {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }

    .nav-thumbnails {
        gap: 6px;
        max-width: calc(100% - 70px);
    }

    .nav-thumb {
        min-width: 45px;
        width: 45px;
        height: 45px;
        border-radius: 6px;
    }

    /* Pagination */
    .pagination {
        gap: 5px;
        margin-bottom: 24px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .pagination-arrow,
    .pagination-number {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }

    .back-to-works-link {
        font-size: 11px;
        padding: 10px 20px;
        margin-bottom: 30px;
    }

    /* タップ領域を広げる */
    .nav-arrow,
    .nav-thumb,
    .pagination-arrow,
    .pagination-number {
        min-width: 40px;
        min-height: 40px;
    }

    /* Contact Section */
    .contact-section {
        padding: 80px 16px;
        gap: 24px;
    }

    .contact-title {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .contact-email {
        font-size: 12px;
        padding: 10px 20px;
    }
}

/* ===================================
   作品詳細ページ アニメーション
   work-detail.css の最後に追加してください
=================================== */

/* ===================================
   1. ページ読み込み時のフェードインアニメーション
=================================== */

/* パンくずリスト */
.breadcrumb {
    animation: fadeInDown 0.6s ease-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 作品タイトル */
.work-main-title {
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}




/* 説明文セクション */
.work-description-section {
    animation: fadeInUp 0.8s ease-out 0.8s backwards;
}

/* ===================================
   2. セクションごとの順次表示アニメーション
=================================== */

/* メタカード */
.meta-card {
    animation: fadeInUp 0.8s ease-out backwards;
}

.meta-card:nth-child(1) {
    animation-delay: 1s;
}

.meta-card:nth-child(2) {
    animation-delay: 1.2s;
}

/* 課題セクション */
.issues {
    animation: fadeInUp 0.8s ease-out 1.4s backwards;
}

/* 課題アイテムの順次表示 */
.issue-item {
    animation: slideInLeft 0.6s ease-out backwards;
}

.issue-item:nth-child(1) {
    animation-delay: 1.6s;
}

.issue-item:nth-child(2) {
    animation-delay: 1.8s;
}

.issue-item:nth-child(3) {
    animation-delay: 2s;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* デザインセクション */
.design {
    animation: fadeInUp 0.8s ease-out 2.2s backwards;
}

/* デザインポイント */
.design-point {
    animation: fadeInUp 0.8s ease-out backwards;
}

.design-point:nth-child(1) {
    animation-delay: 2.4s;
}

.design-point:nth-child(2) {
    animation-delay: 2.6s;
}

/* ===================================
   3. サイドバーのアニメーション
=================================== */

.sidebar-section {
    animation: fadeInRight 0.6s ease-out backwards;
}

.sidebar-section:nth-child(1) {
    animation-delay: 0.6s;
}

.sidebar-section:nth-child(2) {
    animation-delay: 0.8s;
}

.sidebar-section:nth-child(3) {
    animation-delay: 1s;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* POINTSセクション */
.sidebar-overview {
    animation: fadeInRight 0.8s ease-out 1.2s backwards;
}

/* ポイントアイテムの順次表示 */
.points-item {
    animation: fadeInLeft 0.5s ease-out backwards;
}

.points-item:nth-child(1) {
    animation-delay: 1.4s;
}

.points-item:nth-child(2) {
    animation-delay: 1.6s;
}

.points-item:nth-child(3) {
    animation-delay: 1.8s;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-15px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===================================
   4. ホバーアニメーション
=================================== */

/* メタカードのホバー */
.meta-card {
    transition: transform 0.6s ease, box-shadow 0.3s ease;
}

.meta-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* 課題アイテムのホバー */
.issue-item {
    transition: transform 0.3s ease;
}

.issue-item:hover {
    transform: translateX(8px);
}

.issue-item:hover .issue-icon {
    animation: pulse 0.6s ease;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* デザインポイントのホバー */
.design-point {
    transition: transform 0.3s ease;
}

.design-point:hover {
    transform: translateY(-4px);
}

.design-point:hover .design-point-image img {
    transform: scale(1.05);
}

.design-point-image img {
    transition: transform 0.5s ease;
}

/* デザイン画像のホバー */
.design-image {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.design-image:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

/* ツールアイコンのホバー */
.tool-item {
    transition: transform 0.3s ease, background-color 0.3s ease;
    padding: 8px;
    border-radius: 8px;
}

.tool-item:hover {
    transform: translateX(6px);
    background-color: #F8F8F8;
}

.tool-icon {
    transition: transform 0.3s ease;
}

.tool-item:hover .tool-icon {
    transform: rotate(5deg) scale(1.1);
}

/* URLリンクのホバー */
.sidebar-url {
    transition: all 0.3s ease;
}

.sidebar-url:hover {
    color: #333;
}

.sidebar-url:hover .url-arrow {
    transform: translateX(6px);
    color: #333;
}

.url-arrow {
    transition: transform 0.3s ease, color 0.3s ease;
}

/* ===================================
   5. ページネーションのアニメーション
=================================== */

.pagination {
    animation: fadeInUp 0.6s ease-out 2.8s backwards;
}

.pagination-arrow,
.pagination-number {
    transition: all 0.3s ease;
}

.pagination-arrow:hover,
.pagination-number:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

/* 戻るボタンのアニメーション */
.back-to-works {
    animation: fadeInUp 0.6s ease-out 3s backwards;
}

.back-to-works-link {
    position: relative;
    overflow: hidden;
}

.back-to-works-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(197, 216, 243, 0.3), transparent);
    transition: left 0.6s ease;
}

.back-to-works-link:hover::before {
    left: 100%;
}

/* ===================================
   6. セクションラベルのアニメーション
=================================== */

.meta-label {
    position: relative;
    display: inline-block;
}

.meta-label::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #777;
    transition: width 0.6s ease;
}

.meta-card:hover .meta-label::after,
.issues:hover .meta-label::after,
.design:hover .meta-label::after {
    width: 100%;
}

/* ===================================
   7. チェックアイコンのアニメーション
=================================== */

.check-icon {
    display: inline-block;
    transition: transform 0.3s ease, color 0.3s ease;
}

.points-item:hover .check-icon {
    transform: scale(1.2) rotate(10deg);
    color: #77B0FF;
}

/* ===================================
   8. スクロールバーのカスタマイズ
=================================== */

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #F5F5F5;
}

::-webkit-scrollbar-thumb {
    background: #B8D4FF;
    border-radius: 5px;
    transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: #77B0FF;
}

* {
    scrollbar-width: thin;
    scrollbar-color: #B8D4FF #F5F5F5;
}

/* ===================================
   9. パフォーマンス最適化
=================================== */

.work-main-visual,
.design-image,
.meta-card,
.issue-item,
.design-point {
    will-change: transform;
}

/* アニメーション完了後に will-change を解除 */
.work-main-visual,
.design-image,
.meta-card,
.issue-item,
.design-point {
    animation-fill-mode: forwards;
}

/* ===================================
   10. レスポンシブ対応（スマホではアニメーション控えめ）
=================================== */

@media screen and (max-width: 768px) {
    /* アニメーション時間を短縮 */
    .breadcrumb,
    .work-main-title,
    .work-main-visual,
    .meta-card,
    .issues,
    .issue-item,
    .design,
    .design-point,
    .sidebar-section,
    .points-item {
        animation-duration: 0.4s;
    }
    
    /* 遅延時間を短縮 */
    .work-main-title { animation-delay: 0.1s; }
    .work-main-visual { animation-delay: 0.2s; }
    .work-description-section { animation-delay: 0.3s; }
    .meta-card:nth-child(1) { animation-delay: 0.4s; }
    .meta-card:nth-child(2) { animation-delay: 0.5s; }
    .issues { animation-delay: 0.6s; }
    .issue-item:nth-child(1) { animation-delay: 0.7s; }
    .issue-item:nth-child(2) { animation-delay: 0.8s; }
    .issue-item:nth-child(3) { animation-delay: 0.9s; }
    
    /* ホバー効果を軽減 */
    .meta-card:hover,
    .design-point:hover {
        transform: translateY(-2px);
    }
    
    .issue-item:hover {
        transform: translateX(4px);
    }
}

/* ===================================
   11. アクセシビリティ対応
   アニメーションを減らす設定のユーザー向け
=================================== */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .breadcrumb,
    .work-main-title,
    .work-main-visual,
    .meta-card,
    .issues,
    .issue-item,
    .design,
    .design-point,
    .sidebar-section,
    .points-item {
        opacity: 1;
        transform: none;
        animation: none;
    }
}

/* ===================================
   12. 追加の演出：パララックス風効果（軽微）
=================================== */

@media screen and (min-width: 769px) {
    .work-main-visual img {
        transition: transform 0.3s ease;
    }
    
    /* ホバー時に奥行き感を演出 */
    .work-main-visual:hover img {
        transform: scale(1.02) translateY(-4px);
    }
    
    .design-capture:hover .design-image {
        transform: translateY(-6px);
        box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
    }
}

