* {
    margin: 0;
    padding: 0;
    font-family: 'Times New Roman', 'Yu Mincho', serif;
}

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

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

p {
    color: #222;
    font-size: 17px;
    line-height: 32px;
    margin-bottom: 24px;
    word-wrap: break-word;
    text-align: justify;
}

.header {
    position: relative;
    width: 100%;
    padding: 40px 0 30px;
    background: #fff;
    border-bottom: 4px double #222;
}

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

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

.navbar-brand {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: #222 !important;
    text-align: center;
    width: 100%;
    padding: 0;
    height: auto;
    line-height: normal;
    font-style: italic;
}

.navbar-toggle {
    display: none;
}

.navbar-collapse {
    display: none !important;
}

.baner-content {
    width: 100%;
    padding: 60px 40px;
    position: relative;
    overflow: hidden;
}

.diagonal-image {
    width: 450px;
    height: 300px;
    background: url(../img/banner_bg.jpg);
    background-size: cover;
    background-position: center;
    transform: rotate(-5deg);
    margin: 0 auto;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    border: 8px solid #222;
    display: block;
}

.baner-content .text-content {
    text-align: center;
    margin-top: 40px;
}

.baner-content .text-content h2 {
    font-size: 48px;
    font-weight: 400;
    color: #222;
    letter-spacing: -1px;
    font-style: italic;
}

#portfolio {
    padding: 60px 0;
}

.content-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
}

.inner-container .row {
    display: flex;
    gap: 50px;
    margin: 0;
}

.inner-container .col-md-4 {
    order: 2;
    width: 280px;
    flex-shrink: 0;
}

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

.section-heading {
    position: sticky;
    top: 20px;
    padding: 35px;
    background: #222;
    color: #fff;
}

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

.line-dec {
    width: 50px;
    height: 3px;
    background: #fff;
    margin-bottom: 25px;
}

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

.filter-categories ul li a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    display: block;
    padding: 10px 15px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s;
}

.filter-categories ul li a:hover {
    color: #fff;
    padding-left: 20px;
}

.projects-holder-3 h3 {
    font-size: 38px;
    font-weight: 400;
    color: #222;
    margin-bottom: 35px;
    font-style: italic;
    border-bottom: 2px solid #222;
    padding-bottom: 15px;
}

.projects-holder-3 p {
    font-size: 17px;
    line-height: 32px;
    color: #222;
}

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

footer {
    background: #222;
    padding: 60px 40px;
    border-top: 4px double #222;
}

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

footer p {
    color: rgba(255,255,255,0.7);
    font-size: 13px;
    text-align: center;
    margin: 0;
}

@media (max-width: 991px) {
    .inner-container .row {
        flex-direction: column;
    }
    
    .inner-container .col-md-4 {
        width: 100%;
        order: 1;
    }
    
    .inner-container .col-md-8 {
        order: 2;
    }
    
    .section-heading {
        position: static;
    }
}

@media (max-width: 767px) {
    .navbar-brand {
        font-size: 24px;
    }
    
    .diagonal-image {
        width: 90%;
        height: 250px;
    }
    
    .baner-content .text-content h2 {
        font-size: 34px;
    }
    
    .content-wrapper {
        padding: 0 30px;
    }
    
    .projects-holder-3 h3 {
        font-size: 28px;
    }
}

/* containerの幅制限を解除 */
.container {
    max-width: none;
    width: 100%;
}
