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


/* ========================================
   First View - 新規追加
======================================== */

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

/* グラデーション背景 */
.gradient-background {
    width: 100%;
    height: 100%;
    background-image: url(../img/mv-toppage.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* 写真エリア */
.fv-photo-area {
    position: relative;
    width: 560px;
    height: 380px;
}

.fv-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(100%);
}

/* テキストラベル共通スタイル */
.fv-label {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 12px 32px;
    font-size: 24px;
    font-weight: 400;
    letter-spacing: 0.08em;
    color: #333;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

/* welcome to my */
.fv-label-top {
    top: -20px;
    left: -40px;
    font-size: 22px;
}

/* portfolio */
.fv-label-bottom {
    bottom: -24px;
    right: -50px;
    font-size: 42px;
    font-weight: 500;
    letter-spacing: 0.05em;
}

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

/* ハンバーガーメニューボタン */
.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;
}

/* ========================================
   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%;
}


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

/* タブレット（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;
    }

    .nav-menu active {
        width: 200px;
    }
}

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


.about-hero-section {
    max-width: 1440px;
    margin: 0 auto;
    padding: 100px 100px 100px 200px;
}

.about-hero-content {
    margin-top: 100px;
    text-align: left;
}

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

/* ===================================
   Profile Section
   about-sectionのスタイルを流用しつつ調整
=================================== */
.profile-section {
    max-width: 1440px;
    margin: 0 auto;
    padding-bottom: 200px;
}

.profile-wrapper {
    display: flex;
    justify-content: center;
    /* 横中央 */
    align-items: center;
    /* 縦中央 */

}

.profile-container {
    display: flex;
    padding: 0 0px;
    gap: 50px;
    margin-bottom: 80px;
}

.profile-image-wrapper {
    flex-shrink: 0;
    width: 260px;
    height: 330px;
    background-color: #F0F0F0;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-content {
    flex: 1;
    padding-top: 20px;
}

.profile-name {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 5px;
    margin-bottom: 40px;
    letter-spacing: 5px;
}

.name-mini {
    font-size: 10px;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.profile-description {
    font-size: 13px;
    line-height: 40px;
    letter-spacing: 2px;
    color: #444;
}

/* ===================================
   Biography Section
   既存のタイムラインスタイル
=================================== */
.biography {
    max-width: 1100px;
    margin: 0 auto;

}



/* タイトル */
.biography-title {
    font-size: 15px;
    letter-spacing: 3px;
    font-weight: 600;
    border-top: 1px solid #000;
    padding-top: 40px;
    margin-bottom: 60px;
}



/* 2カラム */
.bio-grid {
    margin: 0 auto;
    width: 950px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* 各カラム */
.bio-column {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* 各項目 */
.bio-heading {
    font-size: 12px;
    color: #77a7ff;
    letter-spacing: 0.3em;
    margin-bottom: 8px;
    font-weight: 500;
}

.bio-text {
    font-size: 12px;
    letter-spacing: 3px;
    line-height: 2;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .bio-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .section-title {
        margin-bottom: 60px;
    }
}

/* ===================================
   Skill Section
   works-sectionと同じ背景色を使用
=================================== */

.about-hero-section2 {
    max-width: 1440px;
    margin: 0 auto;
    padding: 60px 100px 100px 200px;
}

.skill-section {
    background-color: #F8F7F3;

    padding: 90px 20px;
}



.skill-container {

    max-width: 1000px;
    margin: 0 auto;
}

.skill-category {
    max-width: 800px;
}

.skill-category-title {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 30px;
    color: #222;
}

.skill-category-label {
    display: block;
    font-size: 10px;
    font-weight: 400;
    color: #000;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.skills-description-containr {
    display: flex;
    width: 950px;
    margin-bottom: 4rem;

}

.skill-description {
    font-size: 13px;
    line-height: 2.5;
    letter-spacing: 3px;
    color: #555;
    margin-bottom: 50px;
}

.skill-tools {
    display: flex;
    gap: 50px;
    margin-left: 100px;
}

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

.tool-icon {
    width: 115px;
    height: 135px;
    background-color: #F5F5F5;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    overflow: hidden;
}

.tool-icon img {
    width: 115px;
    height: 138px;
    object-fit: contain;
}

.tool-name {
    font-size: 12px;
    letter-spacing: 1px;

}

/* ========================================
   わたしの強み セクション
======================================== */

.thought-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 60px;
}

.thought-title {
    text-align: left;
    max-width: 1200px;
    /* コンテンツ幅に合わせる */
    margin: 0 auto 64px;
    /* セクション全体は中央、文字は左 */
    padding-left: 24px;
    /* 少し余白をつけてモダンに */
}


.thought-section .section-mini-title {

    font-size: 10px;
    letter-spacing: 2px;
    color: #77B0FF;
    margin-bottom: 12px;
}

.thought-section .section-title {

    font-size: 30px;
    font-weight: 500;
    letter-spacing: 3px;
    color: #333;
    margin-bottom: 80px;
    margin-left: 0;
}

/* 強みカード */
.strength-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding: 0 20px;
}

.strength-card {
    background: #F8F7F3;
    padding: 48px 32px;
    margin-top: 3rem;
    margin-bottom: 3rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.strength-card:hover {
    transform: translateY(-4px);

}

.strength-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 500;
    color: #333;
}

.strength-icon-1 {
    background-color: rgb(239, 228, 212);
}

.strength-icon-2 {
    background-color: rgb(239, 228, 212);
}

.strength-icon-3 {
    background-color: rgb(239, 228, 212);
}

.strength-heading {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 3px;
    margin-bottom: 40px;
    color: #222;
    line-height: 1.6;
    text-align: center;
}

.strength-text {
    font-size: 12px;
    line-height: 2;
    letter-spacing: 2px;
    color: #666;
    text-align: left;
}

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

/* タブレット（768px以下） */
@media (max-width: 768px) {
    .thought-section {
        padding: 80px 30px;
    }

    .thought-section .section-title {
        font-size: 26px;
        margin-bottom: 60px;
    }

    .strength-cards {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 0;
    }

    .strength-card {
        padding: 40px 28px;
    }

    .strength-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 24px;
        font-size: 32px;
    }

    .strength-heading {
        font-size: 15px;
    }

    .strength-text {
        font-size: 12px;
    }
}

/* スマートフォン（480px以下） */
@media (max-width: 480px) {
    .thought-section {
        padding: 60px 20px;
    }

    .thought-section .section-title {
        font-size: 22px;
        margin-bottom: 40px;
    }

    .strength-cards {
        gap: 24px;
    }

    .strength-card {
        padding: 32px 24px;
    }

    .strength-icon {
        width: 64px;
        height: 64px;
        margin-bottom: 20px;
        font-size: 28px;
    }

    .strength-heading {
        font-size: 14px;
        margin-bottom: 16px;
    }

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

/* ===================================
   Hover Animation
   既存のアニメーションスタイルを踏襲
=================================== */
.tool-item {
    transition: transform 0.3s ease;
}

.tool-item:hover {
    transform: translateY(-4px);
}

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

.tool-item:hover .tool-icon {
    background-color: #f1fbff;
}

/* 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;
}



/* ========================================
   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;
    /* ヘッダー分のスペース確保 */
}

/* ========================================
   2. フェードインアニメーション（共通）
======================================== */

/* 基本のフェードイン（下から） */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* フェードイン（左から） */
.fade-in-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-left.is-visible {
    opacity: 1;
    transform: translateX(0);
}

/* フェードイン（右から） */
.fade-in-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-right.is-visible {
    opacity: 1;
    transform: translateX(0);
}

/* ========================================
   3. プロフィール画像のアニメーション
======================================== */

.profile-image-wrapper {
    overflow: hidden;
}

.profile-image-wrapper img {
    transition: transform 0.6s ease, filter 0.4s ease;
}

.profile-image-wrapper:hover img {
    transform: scale(1.05);
    filter: brightness(1.05);
}

/* ========================================
   4. Biographyアイテムのアニメーション
   順番に表示されるように遅延を設定
======================================== */

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

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

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

.bio-item:nth-child(4) {
    transition-delay: 0.4s;
}

.bio-item:nth-child(5) {
    transition-delay: 0.5s;
}

/* ========================================
   5. スキルセクションのホバーアニメーション
======================================== */

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

.tool-item:hover {
    transform: translateY(-6px);
}

.tool-icon {
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.tool-item:hover .tool-icon {
    background-color: #EAF2FF;
    box-shadow: 0 4px 12px rgba(119, 176, 255, 0.15);
}

/* ========================================
   6. 強みカードのアニメーション
======================================== */

.strength-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.strength-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

/* 強みカードの順次表示 */
.strength-card:nth-child(1) {
    transition-delay: 0.1s;
}

.strength-card:nth-child(2) {
    transition-delay: 0.2s;
}

.strength-card:nth-child(3) {
    transition-delay: 0.3s;
}

/* アイコンの回転アニメーション（控えめ） */
.strength-icon {
    transition: transform 0.3s ease;
}

.strength-card:hover .strength-icon {
    transform: rotate(5deg) scale(1.05);
}

/* ========================================
   7. スキルカテゴリーの順次表示
======================================== */

.skill-category:nth-child(1) {
    transition-delay: 0.1s;
}

.skill-category:nth-child(2) {
    transition-delay: 0.2s;
}

/* ========================================
   8. コンタクトセクションのアニメーション
======================================== */

.contact-email {
    transition: all 0.3s ease;
}

.contact-email:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}



/* ========================================
   10. スムーズスクロール
======================================== */

html {
    scroll-behavior: smooth;
}

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

/* GPU アクセラレーション */
.fade-in-up,
.fade-in-left,
.fade-in-right {
    will-change: transform, opacity;
}

/* アニメーション完了後にwill-changeを解除 */
.is-visible {
    will-change: auto;
}

.animation-complete {
    transition: none !important;
}

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

@media (max-width: 768px) {

    /* ヘッダー固定の調整 */
    .about-hero-section {
        padding-top: 120px;
    }

    /* モバイルではアニメーション距離を短く */
    .fade-in-up {
        transform: translateY(20px);
    }

    .fade-in-left {
        transform: translateX(-20px);
    }

    .fade-in-right {
        transform: translateX(20px);
    }

    /* ホバーアニメーションを控えめに */
    .profile-image-wrapper:hover img,
    .tool-item:hover,
    .strength-card:hover {
        transform: translateY(-2px);
    }

    .strength-card:hover .strength-icon {
        transform: scale(1.02);
    }
}

@media (max-width: 480px) {

    /* スマホでは一部のホバーアニメーションを無効化 */
    .profile-image-wrapper:hover img {
        transform: scale(1);
        filter: brightness(1);
    }

    .tool-item:hover .tool-icon {
        background-color: #F5F5F5;
        box-shadow: none;
    }

    /* ヘッダー固定の調整 */
    .about-hero-section {
        padding-top: 100px;
    }
}

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

/* アニメーションを無効化する設定の場合 */
@media (prefers-reduced-motion: reduce) {

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

    .fade-in-up,
    .fade-in-left,
    .fade-in-right {
        opacity: 1;
        transform: none;
    }
}

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

body {
    opacity: 0;
    animation: pageLoad 0.6s ease forwards;
}

@keyframes pageLoad {
    to {
        opacity: 1;
    }
}

/* ========================================
   15. セクション間の区切りアニメーション
======================================== */

.skill-section,
.thought-section {
    position: relative;
    overflow: hidden;
}

/* 各セクションの境界線を控えめに */
.skill-section::before,
.thought-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(0, 0, 0, 0.05) 50%,
            transparent 100%);
    transition: transform 0.8s ease;
}

.skill-section.is-visible::before,
.thought-section.is-visible::before {
    transform: translateX(-50%) scaleX(1);
}

/* ===================================
   Responsive Design
   既存のブレイクポイントに準拠
=================================== */
@media screen and (max-width: 768px) {
    .about-hero-section {
        padding: 80px 30px 60px;
    }

    .about-hero-title {
        font-size: 32px;
    }

    .profile-section {
        padding: 60px 30px;
    }

    .profile-container {
        flex-direction: column;
        gap: 40px;
    }

    .profile-image-wrapper {
        width: 100%;
        max-width: 280px;
        height: 360px;
        margin: 0 auto;
    }

    .timeline-item {
        flex-direction: column;
        gap: 20px;
    }

    .timeline-year {
        width: 100%;
    }

    .skill-section {
        padding: 100px 0 120px;
    }

    .skill-container {
        padding: 0 30px;
        gap: 80px;
    }

    .skill-tools {
        justify-content: center;
        gap: 30px;
    }

    .thought-section {
        padding: 100px 30px;
    }

    .thought-image {
        height: 160px;
    }

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

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

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

    /* ヘッダー */
    .fv-header {
        padding: 30px 24px;
        padding-bottom: 20px;
    }

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

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



    /* About Hero Section */
    .about-hero-section {
        padding: 120px 40px 80px;
    }

    .about-hero-title {
        font-size: 26px;
        letter-spacing: 2px;
    }

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

    /* Profile Section */
    .profile-section {
        padding-bottom: 120px;
    }

    .profile-wrapper {
        padding: 0 20px;
    }

    .profile-container {
        flex-direction: column;
        gap: 40px;
        padding: 0;
        margin-bottom: 60px;
    }

    .profile-image-wrapper {
        width: 100%;
        max-width: 280px;
        height: 360px;
        margin: 0 auto;
    }

    .profile-content {
        padding-top: 0;
        text-align: center;
    }

    .profile-name {
        font-size: 18px;
        letter-spacing: 4px;
        margin-bottom: 30px;
    }

    .name-mini {
        font-size: 9px;
        letter-spacing: 2px;
        margin-bottom: 12px;
    }

    .profile-description {
        font-size: 12px;
        line-height: 2.5;
        letter-spacing: 1.5px;
        text-align: left;
    }

    .profile-description br {
        display: none;
    }

    /* Biography */
    .biography {
        max-width: 100%;
        padding: 0 20px;
    }

    .biography-title {
        font-size: 14px;
        letter-spacing: 2px;
        padding-top: 30px;
        margin-bottom: 50px;
    }

    .bio-grid {
        width: 100%;
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .bio-column {
        gap: 30px;
    }

    .bio-heading {
        font-size: 11px;
        letter-spacing: 0.2em;
        margin-bottom: 6px;
    }

    .bio-text {
        font-size: 11px;
        letter-spacing: 2px;
        line-height: 2;
    }

    .bio-text br {
        display: block;
    }

    /* Skill Section */
    .about-hero-section2 {
        padding: 60px 40px 60px;
    }

    .skill-section {
        padding: 80px 20px;
    }

    .skill-container {
        max-width: 100%;
    }

    .skill-category {
        max-width: 100%;
        margin-bottom: 60px;
    }

    .skill-category:last-child {
        margin-bottom: 0;
    }

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

    .skill-category-label {
        font-size: 9px;
        letter-spacing: 1.5px;
        margin-bottom: 12px;
    }

    .skills-description-containr {
        flex-direction: column;
        width: 100%;
        margin-bottom: 0;
    }

    .skill-description {
        font-size: 12px;
        line-height: 2.2;
        letter-spacing: 2px;
        margin-bottom: 40px;
    }

    .skill-description br {
        display: none;
    }

    .skill-tools {
        margin-left: 0;
        gap: 30px;
        justify-content: center;
    }

    .tool-icon {
        width: 100px;
        height: 120px;
    }

    .tool-icon img {
        width: 100px;
        height: 120px;
    }

    /* Thought Section */
    .thought-section {
        padding: 80px 40px;
    }

    .thought-title {
        margin-bottom: 50px;
        padding-left: 0;
        text-align: center;
    }

    .thought-section .section-title {
        font-size: 26px;
        letter-spacing: 2px;
        margin-bottom: 60px;
    }

    .strength-cards {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 0;
    }

    .strength-card {
        padding: 40px 28px;
        margin-top: 0;
        margin-bottom: 0;
    }

    .strength-icon {
        width: 50px;
        height: 50px;
        font-size: 18px;
        margin-bottom: 28px;
    }

    .strength-heading {
        font-size: 13px;
        letter-spacing: 2px;
        margin-bottom: 30px;
    }

    .strength-text {
        font-size: 11px;
        line-height: 2;
        letter-spacing: 1.5px;
    }

    .strength-text br {
        display: none;
    }

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

    .contact-title {
        font-size: 24px;
    }

    .contact-email {
        font-size: 14px;
        padding: 12px 28px;
    }
}

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

    /* ヘッダー */
    .fv-header {
        padding: 20px 16px;
        padding-bottom: 16px;
    }

    .fv-name {
        font-size: 12px;
        letter-spacing: 0.1em;
    }

    .hamburger-menu {
        width: 26px;
        height: 18px;
    }


    /* About Hero Section */
    .about-hero-section {
        padding: 70px 20px 40px;
    }

    .about-hero-content {
        margin-top: 60px;
        text-align: center;
    }

    .about-hero-content2{
        text-align: center;
        margin-bottom: 30px;
    }

    .about-hero-title {
        font-size: 22px;
        letter-spacing: 1.5px;
    }

    .section-mini-title {
        font-size: 8px;
        letter-spacing: 1.5px;
    }

    /* Profile Section */
    .profile-section {
        padding-bottom: 30px;
    }

    .profile-wrapper {
        padding: 0 16px;
    }

    .profile-container {
        gap: 30px;
        margin-bottom: 50px;
    }

    .profile-image-wrapper {
        max-width: 220px;
        height: 280px;
    }

    .profile-content {
        padding: 0 10px;
    }

    .profile-name {
        font-size: 16px;
        letter-spacing: 3px;
        margin-bottom: 24px;
    }

    .name-mini {
        font-size: 8px;
        letter-spacing: 1.5px;
        margin-bottom: 10px;
    }

    .profile-description {
        font-size: 11px;
        line-height: 2.3;
        letter-spacing: 1px;
    }

    /* Biography */
    .biography {
        padding: 0 16px;
    }

    .biography-title {
        font-size: 12px;
        letter-spacing: 1.5px;
        padding-top: 24px;
        margin-bottom: 40px;
    }

    .bio-grid {
        gap: 30px;
    }

    .bio-column {
        gap: 24px;
    }

    .bio-heading {
        font-size: 10px;
        letter-spacing: 0.15em;
        margin-bottom: 5px;
    }

    .bio-text {
        font-size: 10px;
        letter-spacing: 1.5px;
        line-height: 2;
    }

    /* Skill Section */
    .about-hero-section2 {
        padding: 50px 20px 50px;
    }

    .skill-section {
        padding: 60px 16px;
    }

    .skill-category {
        margin-bottom: 50px;
    }

    .skill-category-title {
        font-size: 16px;
        letter-spacing: 1px;
        margin-bottom: 20px;
    }

    .skill-category-label {
        font-size: 8px;
        letter-spacing: 1px;
        margin-bottom: 10px;
    }

    .skill-description {
        font-size: 11px;
        line-height: 2;
        letter-spacing: 1.5px;
        margin-bottom: 30px;
    }

    .skill-tools {
        gap: 20px;
        flex-wrap: wrap;
    }

    .tool-icon {
        width: 80px;
        height: 100px;
    }

    .tool-icon img {
        width: 80px;
        height: 100px;
    }

    /* Thought Section */
    .thought-section {
        padding: 60px 20px;
    }

    .thought-title {
        margin-bottom: 40px;
    }

    .thought-section .section-title {
        font-size: 20px;
        letter-spacing: 1.5px;
        margin-bottom: 50px;
    }

    .strength-cards {
        gap: 24px;
    }

    .strength-card {
        padding: 32px 20px;
    }

    .strength-icon {
        width: 45px;
        height: 45px;
        font-size: 16px;
        margin-bottom: 24px;
    }

    .strength-heading {
        font-size: 12px;
        letter-spacing: 1.5px;
        margin-bottom: 24px;
    }

    .strength-text {
        font-size: 10px;
        line-height: 2;
        letter-spacing: 1px;
    }

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

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

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

/* ===================================
   追従カーソル - 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;
    }
}