/* 基本スタイル */
body {
    font-family: 'Noto Sans JP', sans-serif;
    scroll-behavior: smooth;
}

/* テキストのグラデーション */
.primary-gradient {
    background: linear-gradient(90deg, #4f46e5, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* スクロールアニメーション */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* キャリア項目の開閉制御 */
.career-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, opacity 0.3s ease;
    opacity: 0;
}

.career-item.active .career-content {
    max-height: 600px;
    opacity: 1;
    margin-top: 1.5rem;
}

.career-item.active {
    background-color: white;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
    transform: scale(1.02);
    border-color: transparent;
}

.career-item.active .arrow-icon {
    transform: rotate(90deg);
}

/* ナビゲーションのぼかし効果 */
.glass-nav {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #f1f5f9;
}

/* プロフィール画像の枠 */
.profile-image-container {
    width: 180px;
    height: 180px;
    border-radius: 40px;
    overflow: hidden;
    border: 4px solid white;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* 背景の装飾 */
.hero-bg-blur {
    position: absolute;
    inset: 0;
    opacity: 0.05;
    pointer-events: none;
    background:
        radial-gradient(circle at 20% 30%, #4f46e5 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, #06b6d4 0%, transparent 40%);
    filter: blur(100px);
}

/* プロジェクトカード */
.project-card {
    transition: all 0.5s ease;
}

.project-card:hover {
    transform: translateY(-10px);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .profile-image-container {
        width: 140px;
        height: 140px;
        border-radius: 30px;
    }

    .hero-bg-blur {
        background:
            radial-gradient(circle at 30% 20%, #4f46e5 0%, transparent 30%),
            radial-gradient(circle at 70% 80%, #06b6d4 0%, transparent 30%);
        filter: blur(60px);
    }
}

/* アニメーション */
@keyframes bounce {

    0%,
    20%,
    53%,
    80%,
    100% {
        transform: translate3d(0, 0, 0);
    }

    40%,
    43% {
        transform: translate3d(0, -30px, 0);
    }

    70% {
        transform: translate3d(0, -15px, 0);
    }

    90% {
        transform: translate3d(0, -4px, 0);
    }
}

.animate-bounce {
    animation: bounce 2s infinite;
}

/* カスタムホバーエフェクト */
.hover\:shadow-lg:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* カスタムトランジション */
.transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.transition-colors {
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.duration-500 {
    transition-duration: 500ms;
}

.duration-300 {
    transition-duration: 300ms;
}

/* カスタムボーダー */
.border-2 {
    border-width: 2px;
}

.border-dashed {
    border-style: dashed;
}

/* カスタムアスペクト比 */
.aspect-\[4\/3\] {
    aspect-ratio: 4/3;
}

/* カスタム不透明度 */
.opacity-40 {
    opacity: 0.4;
}

.opacity-60 {
    opacity: 0.6;
}

/* カスタム背景 */
.bg-white\/5 {
    background-color: rgba(255, 255, 255, 0.05);
}

.bg-white\/10 {
    background-color: rgba(255, 255, 255, 0.1);
}

/* カスタムボーダー色 */
.border-white\/10 {
    border-color: rgba(255, 255, 255, 0.1);
}

.border-white\/20 {
    border-color: rgba(255, 255, 255, 0.2);
}

/* カスタムテキスト */
.text-\[10px\] {
    font-size: 10px;
}

.tracking-\[0\.3em\] {
    letter-spacing: 0.3em;
}

.tracking-\[0\.5em\] {
    letter-spacing: 0.5em;
}

.text-indigo-400\/40 {
    color: #abce0f66;
}

/* カスタムアンダーライン */
.underline-offset-8 {
    text-underline-offset: 8px;
}