body {
    font-family: 'Inter', 'Noto Sans JP', sans-serif;
    scroll-behavior: smooth;
}

/* ヘッダーの高さ分、コンテンツ開始位置を調整 */
body {
    padding-top: 104px;
}
@media (max-width: 768px) {
    body {
        padding-top: 68px;
    }
}

/* カスタムスクロールバー */
::-webkit-scrollbar {
    width: 10px;
}

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

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}


/* スクロール時のマージン調整 */
section[id] {
    scroll-margin-top: 104px;
}
 @media (max-width: 768px) {
    section[id] {
        scroll-margin-top: 68px;
    }
}

/* グラデーションテキスト */
.gradient-text {
    background: linear-gradient(135deg, #0ea5e9 0%, #22d3ee 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* スムーズなフェードイン */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in.active {
    opacity: 1;
    transform: translateY(0);
}

/* シンプルなアニメーション */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.float {
    animation: float 6s ease-in-out infinite;
}

/* ミニマルなボタンスタイル */
.minimal-button {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.minimal-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.3s ease;
}

.minimal-button:hover::before {
    left: 0;
}

/* カード用のグローエフェクト */
.card-glow {
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05), 0 20px 40px -20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.card-glow:hover {
    box-shadow: 0 0 0 1px rgba(14, 165, 233, 0.2), 0 20px 40px -20px rgba(14, 165, 233, 0.2);
    transform: translateY(-2px);
}

/* モバイルメニュー */
.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.mobile-menu.active {
    transform: translateX(0);
}

/* ハンバーガーメニュー */
.hamburger {
    width: 24px;
    height: 20px;
    position: relative;
    cursor: pointer;
    z-index: 60;
}

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

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 9px; }
.hamburger span:nth-child(3) { bottom: 0; }

.hamburger.active span:nth-child(1) {
    top: 9px;
    transform: rotate(45deg);
}

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

.hamburger.active span:nth-child(3) {
    bottom: 9px;
    transform: rotate(-45deg);
}

/* モバイルメニューが開いているときのハンバーガーの色 */
.hamburger.active span {
    background: #333;
}

