@charset "UTF=8";

#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #202020; /* 半透明の黒い背景 */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transition: opacity 1s ease;
    z-index: 9999;
}

#loading-video {
    width: 50%; /* 動画の幅を画面幅に合わせて調整 */
}
#number-counter {
    position: absolute;
    top: 85%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 8rem;
    color: #8d8d8d;
    z-index: 10000;
}
.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    z-index: -1;
}
.background__slider {
    position: relative;
    display: none;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(5, 1fr);
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    width: 100%;
    height: 100%;
}
.background__slider.animate {
    display: grid;
    
    animation: slide 70s linear infinite;
    
}
@keyframes slide {
    0% { transform: translateY(0); }
    100% { transform: translateY(-220%); }
}
.slide1 { grid-area: 1 / 1 / 2 / 2; }
.slide2 { grid-area: 1 / 2 / 2 / 3; }
.slide3 { grid-area: 1 / 3 / 2 / 4; }
.slide4 { grid-area: 2 / 1 / 3 / 2; }
.slide5 { grid-area: 2 / 2 / 3 / 3; }
.slide6 { grid-area: 2 / 3 / 3 / 4; }
.slide7 { grid-area: 3 / 1 / 4 / 3; }
.slide8 { grid-area: 3 / 3 / 4 / 4; }
.slide9 { grid-area: 4 / 1 / 5 / 2; }
.slide10 { grid-area: 4 / 2 / 5 / 4; }
.slide11 { grid-area: 5 / 1 / 6 / 3; }
.slide12 { grid-area: 5 / 3 / 6 / 4; }

.overlay-grid {
    position: absolute;
    top: 0;
    left: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(5, 1fr);
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    width: 100%;
    height: 100vh;
}
    .grid-cell1 { grid-area: 1 / 1 / 2 / 2;}
    .grid-cell2 { grid-area: 1 / 2 / 2 / 3;}
    .grid-cell3 { grid-area: 1 / 3 / 2 / 4;}
    .grid-cell4 { grid-area: 2 / 1 / 3 / 2;}
    .grid-cell5 { grid-area: 2 / 2 / 3 / 3;}
    .grid-cell6 { grid-area: 2 / 3 / 3 / 4;}
    .grid-cell7 { grid-area: 3 / 1 / 4 / 2;}
    .grid-cell8 { grid-area: 3 / 2 / 4 / 3;}
    .grid-cell9 { grid-area: 3 / 3 / 4 / 4;}
    .grid-cell10 { grid-area: 4 / 1 / 5 / 2;}
    .grid-cell11 { grid-area: 4 / 2 / 5 / 3;}
    .grid-cell12 { grid-area: 4 / 3 / 5 / 4;}
    .grid-cell13 {  grid-area: 5 / 1 / 6 / 2;}
    .grid-cell14 { grid-area: 5 / 2 / 6 / 3;}
    .grid-cell15 { grid-area: 5 / 3 / 6 / 4;}
    
.grid-cell1,.grid-cell2,.grid-cell3,.grid-cell4,.grid-cell5,.grid-cell6,.grid-cell7,.grid-cell8,.grid-cell9,.grid-cell10,.grid-cell11,.grid-cell12,.grid-cell13,.grid-cell14,.grid-cell15 {
    background-color: #222222;
    transition: height 1s ease-in-out;
}


.folders-container {
    width: 100%;
    height: 90vh;
    overflow: hidden;
    position: fixed;
    top: 0;
    left: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    padding-top: 10vh;
    transition: all 0.5s ease;
    z-index: 10;
}

.folder1 { grid-area: 1 / 1 / 2 / 2; }
.folder2 { grid-area: 1 / 2 / 2 / 3; }
.folder3 { grid-area: 1 / 3 / 2 / 4; }
.folder4 { grid-area: 1 / 4 / 2 / 5; }
.folder5 { grid-area: 2 / 1 / 3 / 2; }
.folder6 { grid-area: 2 / 3 / 3 / 4; } 

.folder-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}
.folders-container.fixed {
    position: fixed;
    top: 92%;
    left: 0;
    display: flex;
    justify-content: center; /* 均等配置 */
    align-items: top;
    padding-top: 0;
    width: 100%;
    height: 10vh; 
    transition: all 0.5s ease;
}
.folders-container.fixed .foldernone {
    display: none;
}
.folders-container.fixed .folder-wrapper {
    position: relative;
    align-items: start;
}
.folders-container.fixed .folder {
    width: 100%;
}
.folders-container.fixed .folder6 {
    transform: translateX(-100%);
}
.folders-container.fixed .folder5 {
    transform: translateX(-50%);
}
.folders-container.fixed .folder4 {
    transform: translateX(0%);
}
.folders-container.fixed .folder3 {
    transform: translateX(60%);
}
.folders-container.fixed .folder2 {
    transform: translateX(120%);
}
.folders-container.fixed .folder1 {
    transform: translateX(190%);
}

.folder {
    position: relative;
    width: 50%;
    transition: 0.5s ease-in-out;
}
.folder-wrapper:hover .folder-content {
    background-color: #5555557e;
}
.folder-wrapper:hover .folder-tab {
    background-color: #5555557e;
}
.folder-wrapper.active .folder {
    transform: rotateX(20deg) rotateY(30deg);
}
.folder-wrapper.active .folder-content {
    box-shadow: 20px 20px 30px rgba(0, 0, 0, 0.3), inset 0 -5px 7.5px rgba(0, 0, 0, 0.3), inset 0px 3px 7.5px rgba(255, 255, 255, 0.105);
}
.folder-wrapper.active .folder-tab {
    box-shadow: 20px 20px 30px rgba(0, 0, 0, 0.3), inset 0 -5px 7.5px rgba(0, 0, 0, 0.3), inset 0 3px 7.5px rgba(255, 255, 255, 0.15);
}
.folder-content {
    padding: 1rem;
    background-color: #1010103a;
    backdrop-filter: blur(6px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.3), inset 0 -5px 7.5px rgba(0, 0, 0, 0.3), inset 0px 3px 7.5px rgba(255, 255, 255, 0.105);
    transition: 0.3s ease-in-out;
}
.folder-tab {
    display: inline-block;
    padding: 0.5rem 1rem;
    text-align: center;
    font-size: 1.8rem;
    background-color: #17171784;
    border-radius: 7px 7px 0 0;
    backdrop-filter: blur(6px);
    box-shadow: inset 0 -5px 7.5px rgba(0, 0, 0, 0.3), inset 0 3px 7.5px rgba(255, 255, 255, 0.15);
    transition: 0.3s ease-in-out;
}
.folder-detail {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 40%;
    aspect-ratio: 2 / 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #17171784;
    backdrop-filter: blur(6px);
    padding: 2rem;
    font-size: 1.6rem;
    opacity: 0;
    transition: 0.5s ease-in-out;
}
.folder-wrapper.active .folder-detail {
    top: 40%;
    left: 50%;
    transform: translate(-50%,-50%);
    opacity: 1;
    z-index: 11;
}
.folder-detail p {
    margin: 0;
}
.detail-date {
    font-size: 1.6rem;
    color: #cdcdcd;
}
.detail-title {
    font-size: 2.4rem;
    color: #ffffff;
    margin: 0;
}
.detail-flex {
    display: flex;
    justify-content: space-between;
    align-items: end;
}
.detail-btn {
    position: relative;
    padding-bottom: 0.5rem;
    color: #fff;
    transition: all 0.3s ease-in-out;
}
.detail-btn:hover::after {
    width: 600%;
    background-color: #fff;
}
.detail-btn::after {
    content: "";
    width: 100%;
    height: 1px;
    background-color: #8d8d8d;
    position: absolute;
    bottom: 0;
    right: 0;
    transition: all 0.3s ease-in-out;
}
.first-face {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: end;
}
.first-face img {
    z-index: 4;
    width: 60%;
}
.first-face p {
    position: absolute;
    top: 40%;
    right: 20%;
    font-size: 6.4rem;
    color: #222;
    z-index: 9;
}
.first-face .pc {
    position: absolute;
    width: 50%;
    height: 35%;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: #10101076;
    backdrop-filter: blur(10px);
    clip-path: polygon(0% 0%, 100% 0%, 93% 100%, 7% 100%);
    z-index: 12;
}
.first-face::after {
    content: "";
    width: 100%;
    height: 20px;
    background-color: #10101076;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 11;
}
.pc-light {
    position: absolute;
    width: 75%;
    z-index: 9;
}

.pc-light.animate {
    animation: glowing 1s cubic-bezier(0.79, 0, 0.2, 1) 10;
}
@keyframes glowing {
    0% {
        opacity: 0;
        filter: blur(10px);
    }
    50% {
        opacity: 1;
        filter: blur(30px);
    }
    100% {
        opacity: 0;
        filter: blur(10px);
    }
}
.logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 15%;
    opacity: 0.5;
}
.bottomfolder-wrapper {
    position: fixed;
    bottom: -100%;
    left: 0;
    display: flex;
    justify-content: center;
    width: 100%;
    height: 8vh;
    transition: all 0.3s ease-in-out;
    z-index: 99;
}
.bottomfolder-wrapper:hover .bottomfolder-content {
    background-color: #282828;
}
.bottomfolder-wrapper:hover .bottomfolder-tab {
    background-color: #282828;
}
.bottomfolder-wrapper.fixed {
    bottom: 0;
}
.bottomfolder {
    position: relative;
    width: 70%;
    color: #fff;
    background-color: #22222204;
    transition: transform 0.6s ease-out;
}
@keyframes swing {
    0% {
        transform: rotate(-5deg);
    }
    100% {
        transform: rotate(5deg);
    }
}

.bottomfolder-content {
    width: 100%;
    height: 50%;
    background-color: #101010;
    border-radius: 0 20px 0 0;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.3), inset 0 -5px 7.5px rgba(0, 0, 0, 0.3), inset 0px 3px 7.5px rgba(255, 255, 255, 0.105);
    transition: all 0.3s ease-out;
}
.bottomfolder-tab {
    display: inline-block;
    padding: 0.5rem 2rem;
    text-align: center;
    font-size: 3.2rem;
    background-color: #101010;
    border-radius: 20px 20px 0 0;
    box-shadow: inset 0 -5px 7.5px rgba(0, 0, 0, 0.3), inset 0 3px 7.5px rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease-out;
}

#overview {
    position: relative;
    height: 150vh;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    
}
#overview p {
    margin-left: 10rem;
    font-size: 1.6rem;
    line-height: 3;
    text-shadow: 0 0 5px rgb(255, 255, 255);
    font-weight: bold;
    transition: all 2s ease-in-out;
}
#overview p.active {
    text-shadow: none;
}
#overview::after {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 1px;
    height: 0;
    background-color: white;
    transform: translateX(-50%);
    transition: height 1s ease-in-out;
}
#overview.active::after {
    height: 100%;
}
#skills {
    width: 100%;
    height: 100vh;
    overflow-x: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    transition: all 1s ease-in-out;
}
#skills .sec-title h2{
    font-size: 12.8rem;
}
#skills .skill-pc {
    width: 75%;
    height: 80%;
}
#skills .skill-wrapper {
    height: 100%;
    overflow: hidden;
    background-color: #020b0c7f;
    backdrop-filter: blur(6px);
    border: solid 1px #8d8d8d;
    outline: solid 1px #8d8d8d;
    outline-offset: 15px;
}
.skill-wrapper::-webkit-scrollbar {
    display: none;
}
#skills .skill-pc svg {
    position: relative;
    width: 120%;
    left: 50%;
    transform: translate(-50%);
    margin-top: 15px;
}
#skills .skill__header {
    display: flex;
    justify-content: space-between;
    width: 100%;
    position: sticky;
    top: 0;
    left: 0;
    background-color: #1b1b1bb9;
    backdrop-filter: blur(6px);
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    z-index: 6;
}
#skills .skill__nav {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 2rem;
    width: 92%;
    font-size: 1.6rem;
    font-weight: bold;
    padding-left: 1rem;
}
.skill__nav--web, .skill__nav--logo, .skill__nav--content {
    transition: all 0.3s ease;
    color: #8d8d8d;
}
.skill__nav--web:hover, .skill__nav--logo:hover {
    color: #29c9ac;
}
.skill__nav--content:hover {
    color: #ad7c97;
}
#skills .skill__decoration {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 8%;
    gap: 2rem;
    padding-right: 1rem;
}
#skills .skill__decoration li svg {
    margin: 0;
    width: 100%;
}
#skills .skill__detail {
    font-size: 1.6rem;
    text-align: center;
}
#skills .skill__containner {
    position: relative;
    width: 100%;
}
.skill__web,.skill__logo,.skill__contents {
    border: solid 1px #8d8d8d;
    background-color: #101010;
    border-radius: 10px;
    width: 95%;
    padding-bottom: 5rem;
    font-size: 1.6rem;
    margin: 0 auto;
    transition: all 0.3s ease;
}
.skill__contents {
    padding-bottom: 0;
    margin-bottom: 20rem;
}

.skill__web.active, .skill__logo.active, .skill__contents.active {
    background-color: #222222;
}
.skill__nav--web.active,
.skill__nav--logo.active {
    color: #29c9ac;
}
.skill__nav--content.active {
    color: #ad7c97;
}
.web-title,.logo-title,.content-title {
    text-align: center;
    font-size: 2.4rem;
    padding: 2rem;
    margin: 0;
    border-bottom: solid 1px #8d8d8d;
    position: relative;
}
.web-title::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 2%;
    transform: translateY(-50%);
    width: 10%;
    height: 25%;
    background-image: url(../svg/tab.svg);
    background-size: contain;
    background-repeat: no-repeat;
}
.logo-title::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 2%;
    transform: translateY(-50%);
    width: 10%;
    height: 25%;
    background-image: url(../svg/tab.svg);
    background-size: contain;
    background-repeat: no-repeat;
}
.content-title::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 2%;
    transform: translateY(-50%);
    width: 10%;
    height: 25%;
    background-image: url(../svg/tab.svg);
    background-size: contain;
    background-repeat: no-repeat;
}
.web-title,.logo-title {
    color: #29c9ac;
}
.content-title {
    color: #ad7c97;
}
.skill-catch {
    font-size: 2.0rem;
    text-align: center;
}
.skill__list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    gap: 5% 5%;
}
.skill__list li {
    width: 45%;
    border-bottom: 1px solid #303030;
}
.skill__list li:last-child {
    border-bottom: none;
}
.skill__logo .skill__list li:nth-last-child(-n+2) {
    border-bottom: none;
}
.skill__contents .skill__list li:nth-last-child(-n+2) {
    border-bottom: none;
}
.skill__list--title {
    font-size: 2.0rem;
}

#service {
    height: 100vh;
    overflow-x: hidden;
}
.service-title {
    opacity: 0;
    transform: translateY(-50%); /* 最初はdrawerの中 */
    transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease-in-out;
}
.drawer-wrapper {
    position: relative;
    width: 100%;
    height: 15vh;
}
.drawer {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: #222222;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.3), inset 0 -5px 7.5px rgba(0, 0, 0, 0.3), inset 0px 3px 7.5px rgba(255, 255, 255, 0.105);
    transition: all 0.3s ease-out;
    z-index: 2;
}
.drawer__handle {
    width: 7%;
    aspect-ratio: 1 / 1;
    background-color: #222222;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.3), inset 0 -5px 7.5px rgba(0, 0, 0, 0.3), inset 0px 3px 7.5px rgba(255, 255, 255, 0.105);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    transition: all 0.3s ease-out;
}
.service__list {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    row-gap: 3rem;
    margin-top: 5rem;
}
.service__list .service-lebel {
    background-color: #101010;
    display: inline-flex;
    justify-content: space-between;
    align-items: end;
    gap: 1rem;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.3), inset 0 -5px 7.5px rgba(0, 0, 0, 0.3), inset 0px 3px 7.5px rgba(255, 255, 255, 0.238);
    border-radius: 10px;
    padding: 1.5rem;
    opacity: 0;
    transform: translateY(-100%);
    transition: transform 0.6s cubic-bezier(.34, 1.56, .64, 1), opacity 0.1s ease-out;
}
.service__list li.drop {
    opacity: 1;
    transform: translateY(0);
}
.service__list li.drop:nth-child(even) {
    transform: translateY(0) rotate(-15deg);
}
.service__list li.drop:nth-child(odd) {
    transform: translateY(0) rotate(10deg);
}
.service__list .service-lebel p {
    font-size: 1.6rem;
    margin: 0;
}
.service__list .service-lebel p span {
    font-size: 2rem;
}
.service__list--buttom {
    border: solid 1px #ffdc4e;
}
.service__list li.drop:hover {
    transform: translateY(0) rotate(0);
    transition: transform 0.3s ease;
}
.service__list .service-lebel .vina {
    margin: 0;
    font-size: 6.4rem;
    font-weight: normal;
}
.service__list .service-lebel .blue {
    color: #29c9ac;
}
.service__list .service-lebel .pink {
    color: #ad7c97;
}
.service__list .service-lebel .yellow {
    color: #ffdc4e;
}
.service__list a {
    color: #fff;
}
#aboutme {
    height: 100vh;
    padding-top: 10%;
}
#aboutme .sec-title h3 {
    display: flex;
    flex-direction: column;
}
#aboutme .sec-title h3 span {
    font-size: 4.8rem;
}
#aboutme .sec-wrapper h3,::after {
    z-index: 5;
}
.aboutme__wrapper {
    display: flex;
    justify-content: center;
    align-items: end;
    width: 100%;
    height: 50%;
}
.about-face {
    position: relative;
    width: 60%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.about-face img {
    bottom: 0;
    z-index: 4;
    width: 100%;
}
.about-face .pc {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 40%;
    background-color: #10101076;
    backdrop-filter: blur(6px);
    clip-path: polygon(0% 0%, 100% 0%, 93% 100%, 7% 100%);
    z-index: 5;
}
.about-face::after {
    content: "";
    width: 100%;
    height: 20px;
    background-color: #10101076;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 6;
}
#aboutme .about__overview {
    width: 40%;
    margin-right: 3rem;
    background-color: #101010c7;
    backdrop-filter: blur(6px);
    padding: 3rem;
}
.about__overview p {
    font-size: 1.6rem;
    line-height: 2;
    color: #fff;
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 40%, rgba(0, 0, 0, 0) 70%);
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 40%, rgba(0, 0, 0, 0) 70%);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: 100% 200%;
    mask-size: 100% 200%;
    transition: -webkit-mask-position 0.2s ease, mask-position 0.2s ease;
}
.aboutme__button {
    display: inline-block;
    font-size: 1.6rem;
    border: 1px solid #fff;
    padding: 1.5rem 2rem;
    transition: all 0.3s ease-in-out;
}
.aboutme__button a {
    color: #fff;
}
.aboutme__button:hover {
    background-color: #fff;
}
.aboutme__button:hover a {
    color: #222222;
}

#footer {
    height: 15vh;
}

@media screen and (max-width: 1024px) and (min-width: 768px) {

    #loading-video {
        width: 70%; /* 動画の幅を画面幅に合わせて調整 */
    }

    #number-counter {
        top: 70%;
    }

    .background__slider {
        grid-template-columns: repeat(2, 1fr); 
        grid-template-rows: repeat(6, 1fr);
    }
    .slide1  { grid-area: 1 / 1 / 2 / 2; }
    .slide2  { grid-area: 1 / 2 / 2 / 3; }
    .slide3  { grid-area: 2 / 1 / 3 / 2; }
    .slide4  { grid-area: 2 / 2 / 3 / 3; }
    .slide5  { grid-area: 3 / 1 / 4 / 2; }
    .slide6  { grid-area: 3 / 2 / 4 / 3; }
    .slide7  { grid-area: 4 / 1 / 5 / 3; } 
    .slide8  { grid-area: 5 / 1 / 6 / 2; }
    .slide9  { grid-area: 5 / 2 / 6 / 3; }
    .slide10 { grid-area: 6 / 1 / 7 / 3; }  
    .slide11 { grid-area: 7 / 1 / 8 / 3; }
    .slide12 { grid-area: 6 / 2 / 7 / 3; }
    
    .overlay-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(6, 1fr);
    }
    .grid-cell1  { grid-area: 1 / 1 / 2 / 2; }
    .grid-cell2  { grid-area: 1 / 2 / 2 / 3; }
    .grid-cell3  { grid-area: 2 / 1 / 3 / 2; }
    .grid-cell4  { grid-area: 2 / 2 / 3 / 3; }
    .grid-cell5  { grid-area: 3 / 1 / 4 / 2; }
    .grid-cell6  { grid-area: 3 / 2 / 4 / 3; }
    .grid-cell7  { grid-area: 4 / 1 / 5 / 2; }
    .grid-cell8  { grid-area: 4 / 2 / 5 / 3; }
    .grid-cell9  { grid-area: 5 / 1 / 6 / 2; }
    .grid-cell10 { grid-area: 5 / 2 / 6 / 3; }
    .grid-cell11 { grid-area: 6 / 1 / 7 / 2; }
    .grid-cell12 { display: none; }
        
    .grid-cell13,.grid-cell14,.grid-cell15 {
        display: none;
    }
    .folders-container {
        height: 75vh;
        grid-template-columns: repeat(2, 1fr); 
        grid-template-rows: repeat(3, 1fr);
        grid-column-gap: 25%;
        padding-top: 15vh;
        padding-bottom: 10vh;
        z-index: 15;
    }
    .folder1 { grid-area: 1 / 1 / 2 / 2; } 
    .folder2 { grid-area: 1 / 2 / 2 / 3; } 
    .folder3 { grid-area: 2 / 1 / 3 / 2; } 
    .folder4 { grid-area: 2 / 2 / 3 / 3; } 
    .folder5 { grid-area: 3 / 1 / 4 / 2; } 
    .folder6 { grid-area: 3 / 2 / 4 / 3; }
    
    .folders-container .foldernone {
        display: none;
    }
    
    .folders-container.fixed {
        grid-column-gap: 0;
    }
    .folder-wrapper:hover .folder-content {
        background-color: #17171784;
    }
    .folder-wrapper:hover .folder-tab {
        background-color: #17171784;
    }
    .folder {
        width: 60%;
        z-index: 2;
    }
    .folder-detail {
        width: 50%;
    }
    .bottomfolder {
        width: 90%;
    }
    .detail-btn:active::after {
        width: 600%;
        background-color: #fff;
    }
    .first-face {
        position: relative;
        width: 100%;
        height: 100vh;
        justify-content: center;
        overflow: hidden;
        align-items: end;
    }
    .first-face img {
        width: 80%;
    }
    .first-face p {
        position: absolute;
        top: 35%;
        left: 50%;
        transform: translateX(-50%);
        text-align: center;
    }
    .first-face .pc {
        width: 50%;
        height: 20%;
    }
    .first-face::after {
        width: 100%;
        height: 20px;
    }
    .pc-light {
        width: 150%;
    }


    #skills .sec-title h2{
        font-size: 8rem;
    }
    #skills .skill-pc {
        width: 85%;
        height: 55%;
    }
    #skills .skill__detail {
        text-align: left;
    }
    .skill__nav--web:active, .skill__nav--logo:active {
        color: #29c9ac;
    }
    .skill__nav--content:active {
        color: #ad7c97;
    }
    .web-title,.logo-title,.content-title {
        font-size: 2rem;
        padding: 1.5rem;
    }
    .skill-catch {
        font-size: 1.6rem;
    }
    .skill__list--title {
        font-size: 1.6rem;
    }
    .service__list li.drop:active {
        transform: translateY(0) rotate(0);
        transition: transform 0.3s ease;
    }


    #aboutme .sec-title h3 span {
        font-size: 4.8rem;
    }
    .aboutme__wrapper {
        flex-direction: column;
    }
    .about-face {
        width: 100%;
    }
    #aboutme .about__overview {
        width: 80%;
        margin-right: 0;
        margin: 3rem auto;
    }
    .aboutme__button:active {
        background-color: #fff;
    }
    .aboutme__button:active a {
        color: #222222;
    }
    #footer {
        height: 16vh;
    }
}
@media screen and (max-width: 767px) {
    #loading-video {
        width: 90%; /* 動画の幅を画面幅に合わせて調整 */
    }
    #number-counter {
        top: 70%;
    }
    .background__slider {
        grid-template-columns: repeat(2, 1fr); 
        grid-template-rows: repeat(6, 1fr);
    }
    .slide1 { grid-area: 1 / 1 / 2 / 2; }
    .slide2 { grid-area: 1 / 2 / 2 / 3; }
    .slide3 { grid-area: 2 / 1 / 3 / 2; }
    .slide4 { grid-area: 2 / 2 / 3 / 3; }
    .slide5 { grid-area: 3 / 1 / 4 / 2; }
    .slide6 { grid-area: 3 / 2 / 4 / 3; }
    .slide7 { grid-area: 4 / 1 / 5 / 3; }
    .slide8 { grid-area: 5 / 1 / 6 / 2; }
    .slide9 { grid-area: 5 / 2 / 6 / 3; }
    .slide10 { grid-area: 6 / 1 / 7 / 3; } 
    .slide11 { grid-area: 7 / 1 / 8 / 3; }
    .slide12 { display: none; }
    
    @keyframes slide {
        0% { transform: translateY(0); }
        100% { transform: translateY(-110%); }
    }

    .overlay-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(6, 1fr);
    }
    .grid-cell1  { grid-area: 1 / 1 / 2 / 2; }
    .grid-cell2  { grid-area: 1 / 2 / 2 / 3; }
    .grid-cell3  { grid-area: 2 / 1 / 3 / 2; }
    .grid-cell4  { grid-area: 2 / 2 / 3 / 3; }
    .grid-cell5  { grid-area: 3 / 1 / 4 / 2; }
    .grid-cell6  { grid-area: 3 / 2 / 4 / 3; }
    .grid-cell7  { grid-area: 4 / 1 / 5 / 2; }
    .grid-cell8  { grid-area: 4 / 2 / 5 / 3; }
    .grid-cell9  { grid-area: 5 / 1 / 6 / 2; }
    .grid-cell10 { grid-area: 5 / 2 / 6 / 3; }
    .grid-cell11 { grid-area: 6 / 1 / 7 / 2; }
    .grid-cell12 { grid-area: 6 / 2 / 7 / 3; }
        
    .grid-cell13,.grid-cell14,.grid-cell15 {
        display: none;
    }
    .folders-container {
        height: 75vh;
        grid-template-columns: repeat(2, 1fr); 
        grid-template-rows: repeat(3, 1fr);
        grid-column-gap: 25%;
        padding-top: 15vh;
        padding-bottom: 10vh;
        z-index: 15;
    }
    .folder1 { grid-area: 1 / 1 / 2 / 2; } 
    .folder2 { grid-area: 1 / 2 / 2 / 3; } 
    .folder3 { grid-area: 2 / 1 / 3 / 2; } 
    .folder4 { grid-area: 2 / 2 / 3 / 3; } 
    .folder5 { grid-area: 3 / 1 / 4 / 2; } 
    .folder6 { grid-area: 3 / 2 / 4 / 3; }
    
    .folders-container .foldernone {
        display: none;
    }
    .folders-container.fixed {
        grid-column-gap: 0;
    }
    .folder-wrapper:hover .folder-content {
        background-color: #17171784;
    }
    .folder-wrapper:hover .folder-tab {
        background-color: #17171784;
    }
    .folder {
        width: 70%;
        z-index: 2;
    }
    .folder-detail {
        width: 75%;
    }
    .bottomfolder {
        width: 100%;
    }
    .bottomfolder-tab {
        font-size: 2rem;
    }
    .detail-title {
        font-size: 2rem;
    }
    .detail-text {
        display: none;
    }
    .detail-flex {
        flex-direction: column;
        justify-content: flex-end;
        align-items: start;
        gap: 0.5rem;
    }
    .detail-btn:active::after {
        width: 600%;
        background-color: #fff;
    }
    .detail-btn::after {
        left: 0;
    }
    .first-face {
        position: relative;
        width: 100%;
        height: calc(var(--vh, 1vh) * 100);
        overflow-x: hidden;
        justify-content: center;
        align-items: end;
    }
    .first-face img {
        width: 100%;
    }
    .first-face p {
        top: 30%;
        left: 50%;
        transform: translateX(-50%);
    }
    .first-face .pc {
        width: 70%;
        height: 18%;
    }
    .first-face::after {
        width: 100%;
        height: 20px;
    }
    .pc-light {
        width: 150%;
    }
    .pc-light svg {
        transform: scaleY(1.5);
    }
    #overview p {
        margin-left: 1.5rem;
    }
    #overview::after {
        left: 80%;
    }

    #skills .sec-title h2 {
        font-size: 5rem;
    }
    #skills .sec-title h3 {
        font-size: 1.8rem;
    }
    #skills .skill-wrapper {
        outline-offset: 5px;
    }
    #skills .skill-pc {
        width: 90%;
        height: 65%;
    }
    #skills .skill-pc svg {
        margin-top: 5px;
    }
    #skills .skill__nav {
        flex-direction: column;
        justify-content: center;
        align-items: start;
        gap: 0.5rem;
        width: 80%;
    }
    #skills .skill__decoration {
        justify-content: flex-end;
        align-items: end;
        width: 20%;
        gap: 1rem;
    }
    #skills .skill__detail {
        text-align: left;
    }
    .skill__nav--web:active, .skill__nav--logo:active {
        color: #29c9ac;
    }
    .skill__nav--content:active {
        color: #ad7c97;
    }
    .web-title,.logo-title,.content-title {
        font-size: 1.6rem;
        padding: 1.5rem;
    }
    .skill-catch {
        font-size: 1.6rem;
        margin-left: 1rem;
        margin-right: 1rem;
        text-align: left;
    }
    .skill__list {
        width: calc(100% - 2rem);
        padding: 0 1rem 0 1rem;
    }
    .skill__list li {
        width: 100%;
    }
    .skill__list--title {
        font-size: 1.6rem;
    }
    
    .skill__web,.skill__logo,.skill__contents {
        width: 95%;
    }
    .skill__logo .skill__list li:nth-last-child(2) {
        border-bottom: 1px solid #303030;
    }
    .skill__contents .skill__list li:nth-last-child(2) {
        border-bottom: 1px solid #303030;
    }
    #service {
        height: auto;
    }
    .service__list li.drop:active {
        transform: translateY(0) rotate(0);
        transition: transform 0.3s ease;
    }

    .service__list .service-lebel .vina {
        font-size: 4rem;
        padding-right: 3rem;
    }
    .service__list li.drop:active {
        transform: translateY(0) rotate(0);
        transition: transform 0.3s ease;
    }
    .service__list .service-lebel {
        flex-direction: column;
    }
    #aboutme .sec-title h3 span {
        font-size: 3rem;

    }
    .aboutme__wrapper {
        flex-direction: column;
        margin-top: 5rem;
    }
    .about-face {
        width: 100%;
    }
    #aboutme .about__overview {
        width: 80%;
        margin-right: 0;
        margin: 3rem auto;
    }
    #aboutme .none {
        display: none;
    }
    .aboutme__button:active {
        background-color: #fff;
    }
    .aboutme__button:active a {
        color: #222222;
    }
    #footer {
        height: 40vh;
    }
}
@media screen and (min-width: 1600px) {
    main {
        max-width: 1600px;
        margin: 0 auto;
        padding: 0;
    }
}