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

.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;
    }
}

/* ===================================
   Works Hero Section
   トップページのabout-sectionと同じトーン
=================================== */



.works-hero-section {
    max-width: 1440px;
    margin: 0 auto;
    padding: 200px 80px 30px 220px;
}

.works-hero-content {
    text-align: left;
}

.works-hero-title {
    font-size: 30px;
    letter-spacing: 3px;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: #333;
    margin-top: 10px;
}

.section-mini-title {
    font-size: 10px;
    letter-spacing: 3px;
    color: #77B0FF;
}

/* ===================================
   Web Site Works Section
   トップページのworks-sectionと同じ背景色
=================================== */
.website-works-section {
    background-color: white;
    margin: 0 auto;
    padding-top: 100px;
}

.website-works-container {
    max-width: 1200px;
    height: 2100px;
    margin: 0 auto;
    padding: 0 60px;
}


.works-category-title {
    font-size: 25px;
    font-weight: 500;
    letter-spacing: 3px;
    color: #333;
    margin-bottom: 100px;
    text-align: center;
}

/* ===================================
   Works Grid Layout
   2カラムのカードレイアウト
=================================== */
.works-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 450px);
    justify-content: center;
    gap: 110px 120px;
}

/* ===================================
   Work Card
   トップページのworks-itemと統一感を持たせる
=================================== */
.work-card {
    width: 452px;
    height: 543px;
    background-color: #fff;
    border: 1px solid #D4C4A8;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.work-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.work-card-image {
    width: 100%;
    height: 320px;
    background-color: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}


.work-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.work-card-content {
    padding: 30px;
}

.work-card-title {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 3px;
    color: #222;
    margin-top: 25px;
    margin-bottom: 18px;
}

.work-card-description {
    font-size: 11px;
    line-height: 2.2;
    letter-spacing: 2px;
    color: #555;
    margin-bottom: 12px;
    
}

.work-card-tags {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.work-card-tags {
    display: flex;
    gap: 7px;
    margin-top: 16px;
}

.work-card-tags .tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 6px 16px;
    font-size: 10px;
    letter-spacing: 3px;

    color: #000;
    /* 青文字 */
    border: 1px solid #D4C4A8;
    /* 青枠 */
    border-radius: 999px;
    /* 完全な丸 */

    background-color: #fff;
}

.work-card-tags .tag {
    transition: all 0.25s ease;
}

.work-card-tags .tag:hover {
    background-color: #D4C4A8;
    color: #fff;
}

.work-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-top: auto;
    align-self: flex-end;

    font-size: 15px;
    letter-spacing: 0.08em;
    color: #D4C4A8;
    text-decoration: none;

    transition: color 0.3s ease;
}

.chevron-circle {
    display: flex;
    /* ← 安定させる */
    align-items: center;
    justify-content: center;

    width: 30px;
    height: 30px;

    border: 1px solid #D4C4A8;
    border-radius: 50%;

    font-size: 14px;
    line-height: 1;

    /* 視覚的ど真ん中補正 */
    padding-left: 1px;
    margin-bottom: 7px;
    transition: background-color 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease;
}

.work-card-link:hover .chevron-circle {
    background-color: #D4C4A8;
    color: #fff;
    transform: translateX(4px);
}

.work-card-content {
    display: flex;
    flex-direction: column;
}






/* ===================================
   Banner Works Section
   通常背景色
=================================== */
.banner-works-section {
    background-color: #FAFAFA;
    padding: 100px 0 150px;
}

.banner-works-container {
    max-width: 1200px;
    height: 1000px;
    margin: 0 auto;
    padding: 60px;
    margin-bottom: 100px;
}

/* ===================================
   Banner Grid Layout
   2カラムのカードレイアウト
=================================== */
.banner-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 90px 60px;
}

/* ===================================
   Banner Card
   
=================================== */

/* PCでは画像リンク無効 */
.banner-card-image-link {
    pointer-events: none;
    display: block;
}

/* PC用矢印 */
.pc-only {
    display: inline-flex;
}

.banner-card {
    position: relative;
    background-color: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.banner-card-image {
    width: 100%;
    height: 320px;
    background-color: #F8F8F5;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    padding: 40px;
}

.banner-card-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.banner-card-content {
    position: relative;
    padding: 24px 30px;
    text-align: center;
}

.banner-card-title {
    font-size: 13px;
    letter-spacing: 1px;
    color: #555;
    line-height: 1.8;
}



.work-card-link {
    position: absolute;
    right: 24px;
    bottom: 10px;


    text-decoration: none;
}

.banner-btn {

    right: 24px;
    top: 20px;
    bottom: 5px;

    text-decoration: none;
}


.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;
}

/* ===================================
   ここから下にアニメーションCSSを追加
=================================== */

/* ===================================
   Animation Styles for Portfolio Site
   上品で控えめなアニメーション設定
=================================== */

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

/* Hero Section - フェードイン＋浮き上がり */
.works-hero-content {
    animation: fadeInUp 0.8s ease-out forwards;
}

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

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

/* ミニタイトルは少し遅れて表示 */
.section-mini-title {
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
    opacity: 0;
}

/* メインタイトルはさらに遅れて表示 */
.works-hero-title {
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
    opacity: 0;
}

/* ===================================
   2. スクロールアニメーション
   Intersection Observerで制御
=================================== */

/* 初期状態：非表示（重要：opacity を 0 に設定）*/
.work-card,
.banner-card {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* スクロールで表示された状態 */
.work-card.is-visible,
.banner-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger効果：1枚目から順に遅延 */
.work-card:nth-child(1) {
    transition-delay: 0s;
}

.work-card:nth-child(2) {
    transition-delay: 0.1s;
}

.work-card:nth-child(3) {
    transition-delay: 0.2s;
}

.work-card:nth-child(4) {
    transition-delay: 0.3s;
}

.work-card:nth-child(5) {
    transition-delay: 0.4s;
}

.work-card:nth-child(6) {
    transition-delay: 0.5s;
}

.banner-card:nth-child(1) {
    transition-delay: 0s;
}

.banner-card:nth-child(2) {
    transition-delay: 0.1s;
}

.banner-card:nth-child(3) {
    transition-delay: 0.2s;
}

.banner-card:nth-child(4) {
    transition-delay: 0.3s;
}

/* カテゴリタイトルもスクロールで表示 */
.works-category-title {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.works-category-title.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===================================
   3. カードホバー時のアニメーション
=================================== */

/* カード全体がふわっと浮く */
.work-card {
    transition: transform 0.4s ease, box-shadow 0.4s ease, opacity 0.6s ease-out;
}

.work-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
}

/* 表示済みのカードのホバー効果 */
.work-card.is-visible:hover {
    transform: translateY(-8px);
}

/* 画像が少しズームイン */
.work-card-image {
    overflow: hidden;
}

.work-card-image img {
    transition: transform 0.5s ease;
}

.work-card:hover .work-card-image img {
    transform: scale(1.05);
}

/* バナーカードも同様 */
.banner-card {
    transition: transform 0.4s ease, box-shadow 0.4s ease, opacity 0.6s ease-out;
}

.banner-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12);
}

.banner-card.is-visible:hover {
    transform: translateY(-6px);
}

.banner-card-image img {
    transition: transform 0.5s ease;
}

.banner-card:hover .banner-card-image img {
    transform: scale(1.03);
}

/* ===================================
   4. シェブロン（→）の演出
=================================== */

.chevron-circle {
    transition: background-color 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease,
        border-color 0.3s ease;
}

.work-card-link:hover .chevron-circle {
    background-color: #D4C4A8;
    color: #fff;
    transform: translateX(6px);
    border-color: #D4C4A8;
}

.work-card:hover .chevron-circle {
    border-color: #C4B498;
}

/* ===================================
   5. タグのホバーアニメーション
=================================== */

.work-card-tags .tag {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.work-card-tags .tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: #D4C4A8;
    transition: left 0.3s ease;
    z-index: -1;
}

.work-card-tags .tag:hover::before {
    left: 0;
}

.work-card-tags .tag:hover {
    color: #fff;
    border-color: #D4C4A8;
}

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

::-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;
}

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

.work-card,
.banner-card,
.work-card-image img,
.chevron-circle {
    will-change: transform;
}

.work-card.is-visible,
.banner-card.is-visible {
    will-change: auto;
}


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

.nav-item {
    transition: opacity 0.5s ease, transform 0.5s ease;
}

/* メニューリンクのホバー */
.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%;
}

/* ===================================
   8. レスポンシブ対応
=================================== */

@media screen and (max-width: 768px) {

    .work-card:hover,
    .work-card.is-visible:hover {
        transform: translateY(-4px);
    }

    .work-card,
    .banner-card {
        transform: translateY(20px);
    }
}

/* ===================================
   9. アクセシビリティ対応
=================================== */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .work-card,
    .banner-card,
    .works-category-title {
        opacity: 1;
        transform: none;
    }
}

/* ===================================
   6. スクロールバーのカスタマイズ
   Chrome / Safari / Edge対応
=================================== */

/* 全体のスクロールバー */
::-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;
}

/* Firefox対応 */
* {
    scrollbar-width: thin;
    scrollbar-color: #B8D4FF #F5F5F5;
}




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

/* アニメーションのパフォーマンス向上 */
.work-card,
.banner-card,
.work-card-image img,
.chevron-circle {
    will-change: transform;
}

/* アニメーション完了後にwill-changeを解除 */
.work-card.animation-complete,
.banner-card.animation-complete {
    will-change: auto;
}

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

@media screen and (max-width: 768px) {

    /* スマホではホバーアニメーションを無効化 */
    .work-card:hover {
        transform: translateY(-4px);
    }

    /* スクロールアニメーションは維持 */
    .work-card,
    .banner-card {
        transform: translateY(20px);
    }
}

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

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .work-card,
    .banner-card {
        opacity: 1;
        transform: none;
    }
}







/* ===================================
   タブレット縦向き（768px以下）
=================================== */
@media screen and (max-width: 768px) {

 .works-hero-content{
    text-align: center;

    }
    /* Hero Section */
    .works-hero-section {
        padding: 80px 40px 30px 40px;
    }

    .works-hero-title {
        font-size: 24px;
        letter-spacing: 2px;
    }

    .section-mini-title {
        font-size: 9px;
        letter-spacing: 2px;
    }

    /* Works Container */
    .website-works-section {
        padding-top: 200px;
    }

    .website-works-container {
        padding: 50px 100px;
        height: auto;
    }

    .banner-works-container {
        padding: 50px 20px;
    }

    .works-category-title {
        font-size: 20px;
        letter-spacing: 2px;
        margin-bottom: 60px;
    }

    /* 1カラムレイアウトに変更 */
    .works-grid {
        grid-template-columns: 1fr;
        gap: 60px;
        max-width: 100%;
    }

    .work-card {
        width: 300px;
        height: 400px;
        max-width: 100%;
        margin: 0;
        box-sizing: border-box;

    }

    .work-card-image {
        height: 280px;
    }

    .work-card-content {
        padding: 28px;
    }

    .work-card-title {
        font-size: 16px;
        letter-spacing: 2px;
        margin-top: 20px;
        margin-bottom: 16px;
    }

    .work-card-description {
        font-size: 11px;
        line-height: 2;
        margin-bottom: 20px;
    }

    .work-card-tags {
        gap: 8px;
        margin-top: 14px;
    }

    .work-card-tags .tag {
        font-size: 9px;
        padding: 5px 14px;
    }

    /* Banner Section */
    .banner-works-section {
        padding: 80px 0 100px;
    }

    .banner-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .banner-card {
        max-width: 500px;
        margin: 0 auto;
    }

    .banner-card-image {
        height: 240px;
        padding: 25px;
    }

    .banner-card-content {
        padding: 20px 24px;
    }

    .banner-card-title {
        font-size: 12px;
    }

    /* Contact Section */
    .contact-section {
        padding: 100px 40px;
        height: auto;
        min-height: 450px;
        gap: 32px;
    }

    .contact-title {
        font-size: 24px;
        letter-spacing: 2px;
        margin-bottom: 0;
    }

    .contact-email {
        font-size: 14px;
        padding: 12px 28px;
        letter-spacing: 0.05em;
    }

    /* Chevron Circle */
    .chevron-circle {
        width: 28px;
        height: 28px;
        font-size: 13px;
        margin-bottom: 6px;
    }
}

/* ===================================
   スマートフォン（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;
    }

    /* Hero Section */
    .works-hero-section {
        padding: 60px 20px 20px 35px;
        margin-top: 70px;
    }

    .works-hero-title {
        font-size: 20px;
        letter-spacing: 1.5px;

    }

    .section-mini-title {

        font-size: 8px;
        letter-spacing: 1.5px;

    }

    /* Works Container */
    .website-works-section {
        padding-top: 50px;
    }

    .website-works-container,
    .banner-works-container {
        margin: 0 auto;
    }

    .works-category-title {
        font-size: 18px;
        letter-spacing: 1.5px;
        margin-bottom: 50px;
    }

    /* Works Grid */
    .works-grid {
        gap: 50px;
    }

    .work-card {
        max-width: 100%;
        border-radius: 12px;
    }

    .work-card-image {
        height: 220px;
        border-radius: 12px 12px 0 0;
    }

    .work-card-content {
        padding: 24px 20px;
    }

    .work-card-title {
        font-size: 15px;
        letter-spacing: 1.5px;
        margin-top: 16px;
        margin-bottom: 10px;
    }

    .work-card-description {
        font-size: 10px;
        line-height: 1.9;
        letter-spacing: 1.5px;
        margin-bottom: 5px;
    }

    .work-card-tags {
        gap: 6px;
        margin-top: 12px;
    }

    .work-card-tags .tag {
        font-size: 8px;
        padding: 4px 12px;
        letter-spacing: 2px;
    }

    .chevron-circle {
        width: 26px;
        height: 26px;
        font-size: 12px;
        margin-bottom: 5px;
    }

    .work-card-link {
        font-size: 13px;
    }

    /* Banner Section */
    .banner-works-section {
        padding: 60px 0 80px;
    }

    .banner-grid {
        gap: 40px;
    }

    .banner-card {
        border-radius: 12px;
    }

    .banner-card-image {
        height: 200px;
        padding: 20px;
    }

    .banner-card-content {
        padding: 18px 20px;
    }

    .banner-card-title {
        font-size: 11px;
        line-height: 1.6;
    }

    .banner-btn {
        display: none;
    }

    /* Contact Section */
    .contact-section {
        padding: 80px 20px;
        min-height: 400px;
        gap: 28px;
    }

    .contact-title {
        font-size: 20px;
        letter-spacing: 1.5px;
        padding-bottom: 10px;
    }

    .contact-email {
        font-size: 12px;
        padding: 10px 24px;
        letter-spacing: 0.03em;
        border-radius: 20px;
    }

    /* ホバーアニメーションをタップ用に調整 */
    .work-card:hover,
    .work-card:active {
        transform: translateY(-4px);
    }

    .banner-card:hover,
    .banner-card:active {
        transform: translateY(-3px);
    }
}


@media (max-width: 768px) {

    /* SPでは画像タップ可 */
    .banner-card-image-link {
        pointer-events: auto;
    }

    /* 矢印を非表示 */
    .pc-only {
        display: none;
    }
}

/* ===================================
   追従カーソル - myworks.cssの最後に追加
=================================== */

/* デフォルトカーソルを非表示 */
body.custom-cursor-active,
body.custom-cursor-active * {
    cursor: none !important;
}

/* メインカーソル（小さい点） */
.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: #77B0FF;
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: width 0.2s ease, height 0.2s ease, background-color 0.2s ease;
}

/* 外側のアウトライン */
.cursor-outline {
    width: 32px;
    height: 32px;
    border: 2px solid rgba(119, 176, 255, 0.5);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease, border-color 0.3s ease;
}

/* ホバー時の拡大 */
body.cursor-hover .cursor-dot {
    width: 16px;
    height: 16px;
    background-color: #D4C4A8;
}

body.cursor-hover .cursor-outline {
    width: 50px;
    height: 50px;
    border-color: rgba(212, 196, 168, 0.8);
}

/* クリック時のリップルエフェクト */
.cursor-ripple {
    position: fixed;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(119, 176, 255, 0.3);
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%) scale(0);
    animation: ripple-effect 0.6s ease-out;
}

@keyframes ripple-effect {
    to {
        transform: translate(-50%, -50%) scale(3);
        opacity: 0;
    }
}

/* スマホ・タブレットでは非表示 */
@media screen and (max-width: 1024px) {

    .cursor-dot,
    .cursor-outline {
        display: none !important;
    }

    body.custom-cursor-active,
    body.custom-cursor-active * {
        cursor: auto !important;
    }
}