/* テンプレート39: ポートフォリオ風アイコンサイドバー */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700&family=Noto+Sans+JP:wght@300;400;700&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Montserrat', 'Noto Sans JP', sans-serif;
    font-size: 16px;
    line-height: 1.9;
    color: #333;
    background: #fafafa;
    min-height: 100vh;
}

/* 左アイコンサイドバー */
.icon-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 80px;
    height: 100vh;
    background: #1a1a1a;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 0;
    z-index: 1000;
}

.sidebar-logo {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ff6b6b 0%, #feca57 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.icon-nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.icon-nav a {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    text-decoration: none;
    font-size: 1.3rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
}

.icon-nav a:hover,
.icon-nav a.active {
    background: rgba(255, 107, 107, 0.2);
    color: #ff6b6b;
}

.icon-nav a::after {
    content: attr(data-tooltip);
    position: absolute;
    left: 70px;
    background: #1a1a1a;
    color: #fff;
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.icon-nav a:hover::after {
    opacity: 1;
    visibility: visible;
}

/* メインコンテンツ */
.main-wrapper {
    margin-left: 80px;
}

/* フルスクリーンセクション */
.full-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 60px;
    position: relative;
}

.full-section:nth-child(odd) {
    background: #fff;
}

.full-section:nth-child(even) {
    background: #f5f5f5;
}

.section-content {
    max-width: 900px;
    width: 100%;
}

.section-number {
    font-size: 8rem;
    font-weight: 700;
    color: rgba(0,0,0,0.03);
    position: absolute;
    top: 50px;
    right: 80px;
    line-height: 1;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s ease;
}

.section-title.visible {
    opacity: 1;
    transform: translateX(0);
}

.section-title span {
    color: #ff6b6b;
}

.section-text {
    font-size: 1.1rem;
    color: #666;
    line-height: 2;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease 0.2s;
}

.section-text.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-image {
    margin-top: 40px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.8s ease 0.4s;
}

.section-image.visible {
    opacity: 1;
    transform: scale(1);
}

.section-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* ヒーローセクション */
.hero-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #333 100%);
    color: #fff;
}

.hero-section .section-title {
    /* color: #fff; */
    font-size: 3rem;
}

.hero-section .section-text {
    /* color: rgba(255,255,255,0.8); */
}

.hero-accent {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #ff6b6b, #feca57);
    margin-bottom: 30px;
    opacity: 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: all 0.8s ease;
}

.hero-accent.visible {
    opacity: 1;
    transform: scaleX(1);
}

/* フッター */
.site-footer {
    background: #1a1a1a;
    color: rgba(255,255,255,0.6);
    padding: 50px 60px;
    margin-left: 80px;
    text-align: center;
}

.footer-nav {
    margin-bottom: 20px;
}

.footer-nav a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    margin: 0 15px;
    transition: color 0.3s;
}

.footer-nav a:hover { color: #ff6b6b; }

/* サイトマップ */
.sitemap-list {
    list-style: none;
    padding: 0;
}

.sitemap-list li {
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
}

.sitemap-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #ff6b6b;
}

.sitemap-list a {
    color: #1a1a1a;
    text-decoration: none;
}

.sitemap-list a:hover { color: #ff6b6b; }

/* モバイル */
.mobile-header {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #1a1a1a;
    padding: 15px 20px;
    z-index: 1001;
}

.mobile-header .logo {
    color: #fff;
    font-weight: 700;
}

.mobile-toggle {
    position: fixed;
    top: 15px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: #ff6b6b;
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 1002;
    display: none;
}

@media (max-width: 768px) {
    .icon-sidebar {
        transform: translateX(-100%);
        transition: transform 0.4s;
    }
    
    .icon-sidebar.open {
        transform: translateX(0);
    }
    
    .main-wrapper {
        margin-left: 0;
    }
    
    .mobile-header, .mobile-toggle { display: block; }
    
    .full-section {
        padding: 100px 30px 60px;
        min-height: auto;
    }
    
    .section-title { font-size: 1.8rem; }
    .hero-section .section-title { font-size: 2rem; }
    .section-number { display: none; }
    
    .site-footer { margin-left: 0; }
}
