* {
    margin: 0;
    padding: 0;
    font-family: 'Yu Gothic', 'Hiragino Sans', 'Meiryo', sans-serif;
}

body {
    overflow-x: hidden;
    background: #f0f4f8;
}

ul {
    list-style: none;
    margin: 0px;
    padding: 0px;
}

p {
    color: #444;
    font-size: 16px;
    line-height: 30px;
    margin-bottom: 20px;
}

/* カラフルなヘッダー */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 0;
    z-index: 10000;
    height: 80px;
    background: linear-gradient(135deg, #FF6B9D 0%, #C06C84 100%);
    box-shadow: 0 3px 15px rgba(0,0,0,0.15);
}

.header .container {
    height: 80px;
}

.navbar {
    margin: 0;
    border: none;
}

.navbar-inverse {
    background: transparent;
    border: none;
}

.navbar-header {
    float: left;
}

.navbar-brand {
    display: block;
    line-height: 80px;
    height: 80px;
    padding: 0 15px;
    font-size: 22px;
    font-weight: 700;
    color: #fff !important;
    letter-spacing: 0.5px;
}

.navbar-toggle {
    margin-top: 23px;
    border-color: rgba(255,255,255,0.5);
}

.navbar-toggle .icon-bar {
    background: #fff;
}

.navbar-collapse {
    padding: 0;
}

.navbar-nav {
    float: right;
    margin: 0;
}

.navbar-nav>li {
    float: left;
}

.navbar-nav>li>a {
    color: rgba(255,255,255,0.9) !important;
    font-size: 14px;
    font-weight: 600;
    line-height: 80px;
    height: 80px;
    padding: 0 18px;
    transition: all 0.3s;
}

.navbar-nav>li>a:hover {
    color: #fff !important;
    background: rgba(255,255,255,0.1);
}

/* 小さい画像を右上に配置したバナー */
.baner-content {
    width: 100%;
    padding: 150px 0 100px 0;
    background: #f0f4f8;
    position: relative;
    margin-top: 80px;
}

.baner-content::after {
    content: '';
    position: absolute;
    top: 30px;
    right: 50px;
    width: 350px;
    height: 250px;
    background: url(../img/banner_bg.jpg);
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    z-index: 1;
}

.baner-content .container {
    position: relative;
    z-index: 2;
}

.baner-content .text-content {
    max-width: 650px;
}

.baner-content .text-content h2 {
    font-size: 46px;
    font-weight: 800;
    color: #2c3e50;
    letter-spacing: -1px;
    line-height: 1.3;
}

/* カード型レイアウト */
#portfolio {
    padding: 80px 0 100px 0;
    background: #f0f4f8;
}

.content-wrapper {
    background: #fff;
    border-radius: 25px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.1);
    padding: 50px;
    margin-bottom: 30px;
}

.inner-container {
    max-width: 1100px;
    margin: 0 auto;
}

/* 2カラムレイアウト - 左にサイドバー、右にメインコンテンツ */
.inner-container .row {
    display: flex;
    gap: 40px;
    margin: 0;
}

.inner-container .col-md-4 {
    width: 250px;
    flex-shrink: 0;
    padding: 0;
}

.inner-container .col-md-8 {
    flex: 1;
    padding: 0;
}

/* サイドバーカード */
.section-heading {
    background: linear-gradient(135deg, #FF6B9D 0%, #C06C84 100%);
    padding: 30px 25px;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(255, 107, 157, 0.3);
    position: sticky;
    top: 100px;
}

.section-heading h4 {
    font-size: 16px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.line-dec {
    width: 40px;
    height: 3px;
    background: rgba(255,255,255,0.5);
    margin-bottom: 25px;
}

.filter-categories ul {
    padding: 0;
    margin: 0;
}

.filter-categories ul li {
    margin-bottom: 12px;
}

.filter-categories ul li a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    display: block;
    padding: 10px 15px;
    background: rgba(255,255,255,0.15);
    border-radius: 10px;
    transition: all 0.3s;
}

.filter-categories ul li a:hover {
    background: rgba(255,255,255,0.3);
    color: #fff;
    transform: translateX(5px);
}

/* メインコンテンツ */
.projects-holder-3 {
    width: 100%;
}

.projects-holder-3 h3 {
    font-size: 32px;
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 30px;
    letter-spacing: -0.5px;
    line-height: 1.3;
}

.projects-holder-3 p {
    font-size: 16px;
    line-height: 30px;
    color: #444;
    margin-bottom: 22px;
}

.projects-holder-3 img {
    display: none;
}

/* 追加のカード要素 */
.info-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.info-card {
    background: #f0f4f8;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
}

.info-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: #FF6B9D;
    margin-bottom: 10px;
}

/* フッター */
footer {
    background: #2c3e50;
    padding: 60px 0 40px 0;
}

footer .logo {
    text-align: center;
}

footer .logo a {
    color: #fff;
    text-decoration: none;
    font-size: 20px;
    font-weight: 700;
    display: block;
    margin-bottom: 15px;
}

footer .logo p {
    color: rgba(255,255,255,0.7);
    font-size: 13px;
    margin: 0;
    line-height: 22px;
}

/* レスポンシブ */
@media (max-width: 991px) {
    .baner-content::after {
        width: 280px;
        height: 200px;
        top: 20px;
        right: 20px;
    }
    
    .inner-container .row {
        flex-direction: column;
        gap: 30px;
    }
    
    .inner-container .col-md-4 {
        width: 100%;
    }
    
    .section-heading {
        position: static;
    }
}

@media (max-width: 767px) {
    .navbar-nav {
        float: none;
    }
    
    .navbar-nav>li {
        float: none;
    }
    
    .navbar-nav>li>a {
        line-height: normal;
        height: auto;
        padding: 15px 20px;
    }
    
    .navbar-collapse {
        background: rgba(192, 108, 132, 0.98);
    }
    
    .baner-content {
        padding: 100px 0 80px 0;
    }
    
    .baner-content::after {
        position: static;
        width: 100%;
        height: 200px;
        margin-top: 40px;
        border-radius: 15px;
    }
    
    .baner-content .text-content h2 {
        font-size: 32px;
    }
    
    .content-wrapper {
        padding: 35px 25px;
    }
}

@media (max-width: 480px) {
    .baner-content .text-content h2 {
        font-size: 26px;
    }
    
    p {
        font-size: 14px;
        line-height: 26px;
    }
}
