@charset "UTF=8";
body {
    background-color: #222222;
}
#works {
    padding-top: 10%;
    position: relative;
}
#works .sec-title {
    justify-content: flex-start;
    margin-left: 3rem;
    width: calc(100% - 3rem);
}
#works .sec-title h2{
    font-size: 16rem;
}
.tab__nav {
    position: sticky;
    top: 10%;
    background-color: #22222267;
    backdrop-filter: blur(6px);
    z-index: 10;
}
.tab__nav ul {
    display: flex;
    justify-content: flex-start;
}
.tab__nav li {
    font-size: 3.2rem;
    padding: 1.5rem 3rem; 
}
.tab__nav a {
    color: #fff;
    margin: 0;
}
.tab__nav--web {
    background-color: #101010;
}
.tab__nav--logo {
    background-color: #333;
}
.tab__nav--gra {
    background-color: #444;
}
.tab__nav button {
    all: unset;
    cursor: pointer;
}
.tab-ber {
    width: 100%;
    height: 20px;
}
#website {
    background-color: #101010;
}
#logo {
    background-color: #333;
}
#graphic {
    background-color: #444;
}
.tab__panel {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.works__list {
    width: 90%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-top: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid #8d8d8d;
    margin-bottom: 3rem;
}
.works__list a {
    color: #fff;
    font-size: 3rem;
    border-bottom: 1px solid #fff;
    transition: all 0.3s ease;
}
.works__list a:hover {
    border-bottom: 5px solid #fff;
    color: #8d8d8d;
}
.works__list:last-child {
    border-bottom: none;
}
.works__list img {
    width: 40%;
}
.works__list--flex {
    width: 55%;
}
.works__list h4 {
    display: flex;
    flex-direction: column;
    font-size: 2.4rem;
}
.works__list h4 span {
    font-size: 4.8rem;
}
.works__list .works__list--catch {
    font-size: 2rem;
    position: relative;
    padding-left: 1rem;
    padding-right: 1rem;
    margin-left: 30px;
    display: inline-block;
}
.works__list .works__list--catch::before {
    content: "";
    width: 30px;
    height: 1px;
    background-color: #fff;
    position: absolute;
    top: 50%;
    right: 100%;
}
.works__list .works__list--catch::after {
    content: "";
    width: 30px;
    height: 1px;
    background-color: #fff;
    position: absolute;
    top: 50%;
    left: 100%;
}
.works__list dl {
    font-size: 1.6rem;
}
.works__list dt {
    margin: 0 0 1rem 0;
    color: #8d8d8d;
}
.works__list dd {
    margin: 0 0 2.5rem 0;
}
.moriken img,.remabussinescard img {
    width: 25%;
}
.scroll-container {
    width: 40%;
    height: 60vh;
    overflow-x: auto;
} 
.scroll-container::-webkit-scrollbar {
    height: 8px;
}

.scroll-container::-webkit-scrollbar-track {
background: transparent; 
}

.scroll-container::-webkit-scrollbar-thumb {
background: #888;    
border-radius: 4px;  
}

.scroll-container::-webkit-scrollbar-thumb:hover {
background: #555;      
}
.scroll-container {
    scrollbar-width: thin;        
    scrollbar-color: #888 transparent;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    height: 100%;
}
.image-item {
    flex: 0 0 auto;
    width: 33.3%;
    overflow: hidden;
}
.weekly .image-item {
    width: 50%;
}
.image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.image-item:hover img {
    transform: scale(1.5);
}
#contact {
    margin-top: 10rem;
}
#footer {
    height: 10vh;
}
@media screen and (max-width: 1024px) and (min-width: 768px) {
    #works .sec-title h2{
        font-size: 13rem;
    }
    .tab__nav {
        top: 8%;
    }
    .works__list {
        flex-direction: column;
    }
    .works__list a:active {
        border-bottom: 5px solid #fff;
        color: #8d8d8d;
    }
    .works__list img {
        width: 100%;
    }
    .works__list--flex {
        width: 100%;
    }
    .works__list h4 {
        font-size: 2rem;
    }
    .works__list h4 span {
        font-size: 4rem;
    }
    .works__list .works__list--catch {
        font-size: 2rem;
    }
    .moriken img,.remabussinescard img {
        width: 50%;
    }
    .scroll-container {
        width: 100%;
        height: 50vh;
    } 
    .image-item:active img {
        transform: scale(1.5);
    }
}
@media screen and (max-width: 767px) {
    #works {
        padding-top: 40%;
    }
    #works .sec-title {
        justify-content: flex-start;
        margin-left: 1rem;
        width: calc(100% - 1rem);
    }
    #works .sec-title h2{
        font-size: 7rem;
    }
    .tab__nav {
        top: 15%;
    }
    .tab__nav li {
        font-size: 2.4rem;
        padding: 1rem 1.5rem; 
    }
    .works__list {
        flex-direction: column;
    }
    .works__list a:active {
        border-bottom: 5px solid #fff;
        color: #8d8d8d;
    }
    .works__list img {
        width: 100%;
    }
    .works__list--flex {
        width: 100%;
    }
    .works__list h4 {
        font-size: 2rem;
    }
    .works__list h4 span {
        font-size: 4rem;
    }
    .works__list .works__list--catch {
        font-size: 1.6rem;
        margin-left: 20px;
        max-width: calc(100% - 60px);
    }
    .works__list .works__list--catch::before {
        width: 20px;
    }
    .works__list .works__list--catch::after {
        width: 20px;
    }
    .moriken img,.remabussinescard img {
        width: 50%;
    }
    .scroll-container {
        width: 100%;
        height: 50vh;
    } 
    .image-item:active img {
        transform: scale(1.5);
    }
}

@media screen and (min-width: 1600px) {
    main {
        max-width: 1600px;
        margin: 0 auto;
        padding: 0;
    }
}