@charset "utf-8";

/* ------------------Custom Property------------------ */
:root {
    /* color */
    --bk-color: #000;
    --wh-color: #fff;
    --gy-color: #333;
    --bk-01-color: rgba(0, 0, 0, 0.1);
    --bk-04-color: rgba(0, 0, 0, 0.4);
    --bk-05-color: rgba(0, 0, 0, 0.5);   
  
    /* font-family */
    --font-En: "Cormorant Garamond", serif;
    --font-Ja: "Shippori Mincho", serif;
    font-weight: 400;
    font-style: normal;

    /* transition */
    --transition: all 1s;

    /* Gallery Page height */
    --height: 70vh;
    --half-height: calc(var(--height) / 2);
    --sp-height: calc(var(--half-height) * 0.7);
}

/* ------------------Top-Load START------------------ */
/* Loaderアイコンページ */
.top-loader{
    position: fixed;
    width:100%;
    height:100svh;
    z-index: 200;
    background-color: var(--wh-color);
    transition: all .5s linear;
    & .top-wrapper {
        width:38rem;
        height:38rem;
        position: absolute;
        left:50%;
        top:50%;
        transform: translate(-50%, -50%);
    }
}
/* loader.jsで指定の時間後にこのクラスをADD(=アイコンページを非表示) */
.top-loaded {
    opacity: 0;
    visibility: hidden;
}
/* ------------------Top-Load END------------------ */

/* ------------------Top-Page START------------------*/

.top-page {
    width: 100%;
    height: 100svh;
    background-image: url(../img/top/brick.jpg);
    background-repeat: no-repeat;
    background-position: right top;
    background-size: auto 100%;
    background-color: var(--bk-color);
    font-family: var(--font-En);
    @media(width <= 1024px) {
        background-image: none;
    }
}

.top-menu {
    display: grid;
    grid-template-columns: 3rem 1fr;
    grid-template-rows: 30% auto 1fr;
    gap: 1rem;
    width: 50%;
    min-height: calc(100% - 3rem);
    top: 0;
    left: 0;
    z-index: 10;
    background-color: var(--bk-color);
    color: var(--wh-color);
    @media(width <= 1024px) {
        grid-template-columns: 1fr auto 1fr;
        grid-template-rows: 20% 20% auto;
        width: 100%;
        overflow-y: scroll;
    }
    & .top-logo {
        grid-column: 2 / 3;
        grid-row: 1 / 2;
        align-self: end;
        @media(width <= 1024px) {
            grid-column: 1 / 4;
            grid-row: 1 / 2;
            width: 60px;
            height: 60px;
            justify-self: center;
            /* margin-top: 2rem; */
        }
    }
    & .top-site {
        grid-column: 2 / 3;
        grid-row: 2 / 3;
        font-size: 1.5rem;
        padding: 1.2rem 0;
        @media(width <= 1024px) {
            grid-column: 1 / 4;
            grid-row: 2 / 3;
            justify-self: center;
            text-align: center;
        }
        & span {
            font-size: 2.5rem;
        }
    }
    & .top-nav {
        grid-column: 2 / 3;
        grid-row: 3 / 4;
        display: grid;
        grid-template-columns: 1rem 6rem 6rem 6rem 6rem 1fr;
        grid-template-rows: auto 1fr;
        gap: 2rem;
        @media(width <= 1440px) {
            grid-template-columns: 1rem 6rem 1fr;
            grid-template-rows: auto auto auto auto 1fr;
            @media(width <= 768px) {
                /* margin-top: 2rem; */
                grid-template-columns: 1fr 6rem 1fr;
                /* align-self: center; */
            }
        }
        & .top-nav-item {
            font-size: 1.5rem;
            font-style: italic;
            font-weight: 400;
            text-align: center;
            border-bottom: 1px solid;
            & a {
                display: inline-block;
                margin-bottom: 0.25rem;
            }
        }
        & .top-nav-item1 {
            grid-column: 2 / 3;
            grid-row: 1 / 2;
            @media(width <= 1440px) {

            }
        }
        & .top-nav-item2 {
            grid-column: 3 / 4;
            grid-row: 1 / 2;
            @media(width <= 1440px) {
                grid-column: 2 / 3;
                grid-row: 2 / 3;
            }
        }
        & .top-nav-item3 {
            grid-column: 4 / 5;
            grid-row: 1 / 2;
            @media(width <= 1440px) {
                grid-column: 2 / 3;
                grid-row: 3 / 4;
            }
        }
        & .top-nav-item4 {
            grid-column: 5 / 6;
            grid-row: 1 / 2;
            @media(width <= 1440px) {
                grid-column: 2 / 3;
                grid-row: 4 / 5;
            }
        }
    }
}
.top-grad {
    width: 50%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 50%;
    z-index: 5;
    animation: brightness 15s 3s ease infinite backwards;
    @media(width <= 1024px) {
        display: none;
    }
}
@keyframes brightness {
    0% {
        background-color: var(--bk-color);
    }
    10% {
        background-color: var(--bk-color);
    }
    70% {
        background-color: var(--bk-01-color);
    }
    100% {
        background-color: var(--bk-color);
    }
}
.top-footer {
    display: grid;
    width: 100%;
    height: 3rem;
    grid-template-columns: 50% 50%;
    grid-template-rows: 1fr;
    z-index: 10;
    & .top-footer-left {
        background-color: var(--bk-color);
        grid-column: 1 / 2;
        grid-row: 1 / 2;
    }
    & .top-footer-right {
        background-color: var(--bk-04-color);
        grid-column: 2 / 3;
        grid-row: 1 / 2;
        @media(width <= 1024px) {
            background-color: var(--bk-color);
        }
    }
    & p {
        grid-column: 2 / 3;
        grid-row: 1 / 2;
        font-size: 0.9rem;
        font-weight: 400;
        justify-self: center;
        align-self: center;
        color: var(--wh-color);
        @media(width <= 1024px) {
            grid-column: 1 / 3;
        }
    }
}

/* ------------------Top-Page END------------------ */




/* ------------------Page Common START------------------ */
/* ◆◆◆◆◆◆◆◆◆◆◆◆◆◆ Frame ◆◆◆◆◆◆◆◆◆◆◆◆◆◆ */
.pancake {
    width: 100%;
    height: 100svh;
    display: grid;
    grid-template-columns: minmax(0, auto);
    grid-template-rows: auto 1fr auto;
    background-color: var(--bk-color);
    color: var(--wh-color);
    font-family: var(--font-En);
}

/* ◆◆◆◆◆◆◆◆◆◆◆◆◆◆ Header Area ◆◆◆◆◆◆◆◆◆◆◆◆◆◆ */
.pancake .header {
    grid-row: 1 / 2;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-auto-flow: column;
    gap: 1rem;
    align-items: center;
    padding: 1rem 2rem;
    /* サイト名称  */
    & .site-name {
        font-size: 1.25rem;
        @media(width <= 1024px) {
            font-size: 1rem;
        }
        & span {
            font-size: 1.5rem;
            @media(width <= 1024px) {
                font-size: 1.25rem;
            }
        }
    }
    /* グローバルナビゲーション */
    & .nav {
        display: grid;
        grid-auto-flow: column;
        gap: 1.25rem;
        justify-content: start;
        font-size: 1.25rem;
        font-style: italic;
        @media(width <= 1024px) {
            gap: 1rem;
            font-size: 1rem;
        }
    }
    /* ハンバーガーメニューアイコンの表示・非表示 */
    & .show-on-mobile {
        @media (width > 768px) {
            display: none !important;
        }
        & .material-symbols-rounded {
            font-size: 2rem;
            display: inline-flex;
            vertical-align: middle;
        }
    }
    & .hide-on-mobile {
        @media (width <= 768px) {
            display: none !important;
        }
    }
}

  /* ◆◆◆◆◆◆◆◆◆◆◆◆◆◆ Main Area ◆◆◆◆◆◆◆◆◆◆◆◆◆◆ */
.pancake .main-contents {
    max-width: 1940px;
    width: 100%;
    height: 100%;
    grid-row: 2 / 3;
    overflow-y: auto;
    padding: 0 1rem;
    justify-self: center;
    align-self: center;
    position: relative;
    /* Titleエリア */
    & .main-title {
        font-size: 2.25rem;
        text-align: center;
        /* padding-bottom: 1.5rem; */
        padding-bottom: 1rem;
        font-style: italic;
        height: 4rem;
        @media (width <= 768px) {
            height: 2.5rem;
            font-size: 1.5rem;
            padding-bottom: 1rem;
        }
    }
    & .text-anime {
        width: 96%;
        height: 1.5rem;
        margin: 0 auto;
        padding-bottom: 0.5rem;
        font-size: 1rem;
        line-height: 1rem;
        text-align: center;
        background-color: var(--bk-color);
        color: var(--wh-color);
        overflow: hidden;
        & span {
            display: inline-block;
            padding-left: 100%;
            padding-bottom: 0.5rem;
            white-space: nowrap;
            font-family: var(--font-Ja);
            transform: translateX(-100%);
            animation: scrollAnime 15s linear infinite;
        }
    }
    /* Contantsエリア */
    & .main-container {
        width: 100%;
        height: calc(100% - 5.5rem);
        @media (width <= 768px) {
            height: calc(100% - 4rem);
        }
    }
}
@keyframes scrollAnime {
    0% { transform: translateX(0)}
    100% { transform: translateX(-100%)}
}
/* ◆◆◆◆◆◆◆◆◆◆◆◆◆◆ Footer Area ◆◆◆◆◆◆◆◆◆◆◆◆◆◆ */
.pancake .footer {
    grid-row: 3 / 4;
    justify-self: center;
    padding: 1rem 1rem 2rem 1rem;
    > p {
        font-size: 0.9rem;
        font-weight: 400;
    }
}

/* ◆◆◆◆◆◆◆◆◆◆◆◆◆◆ Drawer Menu ◆◆◆◆◆◆◆◆◆◆◆◆◆◆ */
.menu-panel {
    width: 100vw;
    height: 100svh;
    overflow-y: auto;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 200;
    translate: 100vw;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    /* grid-template-rows: 5rem 20rem; */
    grid-template-rows: 4rem 1fr;
    background-color: var(--wh-color);
    color: var(--bk-color);
    & .menu-close {
        grid-column: 1 / 4;
        grid-row: 1 / 2;
        justify-self: right;
        align-self: center;
        padding-right: 2rem;
        & .material-symbols-rounded {
            line-height: 4rem;
            font-size: 2.5rem;
        }
    }
    & .menu-list {
        grid-column: 2 / 3;
        grid-row: 2 / 3;
        display: grid;
        grid-template-columns: auto;
        grid-template-rows: 4rem 4rem 4rem 4rem 4rem;
        gap: 1.5rem;
        @media (orientation: landscape) and (max-height: 450px) {
            grid-template-rows: 3rem 3rem 3rem 3rem 3rem;
            gap: 1rem
        }
        & li {
            font-family: var(--font-En);
            align-self: center;
            & a {
                font-size: 1.5rem;
                font-style: italic;
                &::before {
                    font-family: "material symbols rounded";
                    font-size: 1.8rem;
                    font-style: normal;
                    vertical-align: middle;
                }
            }
            &:nth-child(1) a::before {
                    content: "\e88a";
            }
            &:nth-child(2) a::before {
                    content: "\e7fd";
            }
            &:nth-child(3) a::before {
                    content: "\e323";
            }
            &:nth-child(4) a::before {
                    content: "\e413";
            }
            &:nth-child(5) a::before {
                    content: "\e158";
            }
        }
    }
}



/* ------------------Page Common END------------------ */




/* ------------------Works-Page START------------------*/

/* Slider */
.main-container .slider {
    height: 100%;
    align-content: center;
    & .slider-wrapper {
        position: relative;
        & .swiper-button {
            position: absolute;
            width: 3rem;
            height: 3rem;
            top: calc(calc(30rem / 2) - 1.5rem);
            border-radius: 50%;
            background-color: var(--bk-04-color);
            color: var(--wh-color);
            z-index: 100;
            text-align: center;
            cursor: pointer;
            @media (width <= 1440px) {
                top: calc(calc(24rem / 2) - 1.5rem);
                @media (width <= 1024px) {
                    top: calc(calc(40rem / 2) - 1.5rem);
                    @media (orientation: landscape) and (max-height: 450px) {
                        top: calc(calc(26rem / 2) - 8rem);
                    }
                    @media (width <= 768px) {
                        top: calc(calc(36rem / 2) - 8rem);
                        @media (orientation: landscape) and (max-height: 450px) {
                            top: calc(calc(26rem / 2) - 8rem);
                        }
                        @media (width <= 425px) {
                            top: calc(calc(28rem / 2) - 10rem);
                            width: 2rem;
                            height: 2rem;
                        }
                    }
                }
            }
            & span {
                font-size: 2rem;
                line-height: 3rem;
                @media (width <= 425px) {
                    font-size: 1.5rem;
                    line-height: 2rem;
                }
            }
        }
        & .swiper-button-prev {
            left: 2rem;
            @media (width <= 768px) {
                left: 1rem;
                @media (width <= 425px) {
                    left: 0.5rem;
                }
            }
        }
        & .swiper-button-next {
            right: 2rem;
            @media (width <= 768px) {
                right: 1rem;
                @media (width <= 425px) {
                    right: 0.5rem;
                }
            }
        }
        /* Main Slider */
        & .slider-main .swiper-wrapper .swiper-slide .grid {
            display: grid;
            grid-template-columns: 1.5rem 50% 1.25rem 1fr 1.5rem;
            grid-template-rows: 1rem 4rem 1fr 2.5rem 2.5rem 1rem;
            width: 98%;
            height: 30rem;
            margin: 0 auto 2rem auto;
            background-color: var(--wh-color);
            border-radius: 1rem;
            color: var(--bk-color);
            font-family: var(--font-Ja);
            @media (width <= 1440px) {
                height: 24rem;
                @media (width <= 1024px) {
                    height: 40rem;
                    grid-template-columns: 1.5rem 1fr 1.5rem;
                    grid-template-rows: 1.5rem 50% 1rem 3rem auto 3rem 3rem 1.5rem;
                    /* スマホ横向きサイズ */
                    @media (orientation: landscape) and (max-height: 450px) {
                        height: 26rem;
                        grid-template-columns: 1rem 1fr 1rem;
                        grid-template-rows: 0.5rem 40% 0.5rem 3rem 1fr 3rem 3rem 0.5rem;
                    }
                    @media (width <= 768px) {
                        height: 36rem;
                        grid-template-columns: 1rem 1fr 1rem;
                        grid-template-rows: 1rem 40% 0.5rem 2.5rem 1fr 2.5rem 2.5rem 1rem;
                        margin-bottom: 1rem;
                        /* スマホ横向きサイズ */
                        @media (orientation: landscape) and (max-height: 450px) {
                            height: 26rem;
                            grid-template-rows: 0.5rem 40% 0.5rem 3rem 1fr 3rem 3rem 0.5rem;
                        }
                        @media (width <= 425px) {
                            grid-template-rows: 1rem 30% 0.5rem 2rem 1fr 2.5rem 2.5rem 1rem;
                            height: 28rem;
                            @media (width <= 375px) {
                                grid-template-rows: 1rem 34% 0.5rem 1.5rem 1fr 1.5rem 1.5rem 0.5rem;
                                height: 24rem;
                            }
                        }
                    }

                }
            }
            & .grid-item1 {
                grid-column: 2 / 3;
                grid-row: 1 / 7;
                @media (width <= 1024px) {
                    grid-column: 2 / 3;
                    grid-row: 2 / 3;
                }
                & img {
                    width: 100%; 
                    height: 100%; 
                    object-fit: contain; 
                    object-position: center;
                }
            }
            & .grid-item2 {
                grid-column: 4 / 5;
                grid-row: 2 / 3;
                align-self: center;
                font-size: 1.25rem;
                font-weight: 600;
                @media (width <= 1024px) {
                    grid-column: 2 / 3;
                    grid-row: 4 / 5;
                    font-size: 1.1rem;
                    @media (width <= 425px) {
                        font-size: 1rem;
                        @media (width <= 375px) {
                            font-size: 0.8rem;
                        }
                    }
                }
            }
            & .grid-item3 {
                grid-column: 4 / 5;
                grid-row: 3 / 4;
                font-size: 1rem;
                @media (width <= 1024px) {
                    grid-column: 2 / 3;
                    grid-row: 5 / 6;
                    @media (width <= 425px) {
                        font-size: 0.9rem;
                        @media (width <= 375px) {
                            font-size: 0.75rem;
                        }
                    }
                }
            }
            & .grid-item4 {
                grid-column: 4 / 5;
                grid-row: 4 / 5;
                align-self: center;
                @media (width <= 1024px) {
                    grid-column: 2 / 3;
                    grid-row: 6 / 7;
                }
                & .tech-tag {
                    display: inline;
                    padding: 0.5rem 1rem;
                    margin-right: 0.25rem;
                    background-color: var(--bk-color);
                    border-radius: 0.25rem;
                    font-family: var(--font-En);
                    color: var(--wh-color);
                    @media (width <= 425px) {
                        font-size: 0.9rem;
                        @media (width <= 375px) {
                            padding: 0.25rem 1rem;
                            font-size: 0.75rem;
                        }
                    }
                }
            }
            & .grid-item5 {
                grid-column: 4 / 5;
                grid-row: 5 / 6;
                display: flex;
                align-self: center;
                font-family: var(--font-En);
                font-size: 1rem;
                @media (width <= 1024px) {
                    grid-column: 2 / 3;
                    grid-row: 7 / 8;
                    @media (width <= 425px) {
                        font-size: 0.9rem;
                    }
                }
                & .grid-item5 p {
                    align-self:center;
                }
                & .material-symbols-rounded {
                    font-size: 1.5rem;
                    @media (width <= 375px) {
                        font-size: 1rem;
                    }
                }
            }
        }
    }
    /* Sub Slider */
    & .slider-thumbnail {
        width: 90%;
        & .swiper-wrapper .swiper-slide {
            opacity: .5;
            transition: opacity .5s;
            & img {
                width: 100%;
                border-radius: 1rem;
            }
            &.swiper-slide-thumb-active {
                opacity: 1;
            }
        }
    }
}

/* ------------------Works-Page END------------------*/



/* ------------------Gallery-Page START------------------*/
.main-container .gallery-contents,
.main-container .gallery-contents .sub-grid,
.main-container .gallery-contents .sub-grid .card {
    transition: var(--transition);
}
.main-container .gallery-contents {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    width: 96%;
    height: 100%;
    align-content: center;
    margin: 0 auto;
    @media (width <= 1024px) {
        display: block;
    }
    & .sub-grid {
        display: grid;
        grid-template-rows: var(--half-height) var(--half-height);
        @media (width <= 1024px) {
            display: block;
        }
    }
    & .sub-grid-1 {
        grid-template-columns: 1fr 1fr auto;
        & .card:last-child {
            grid-column: 1/-1;
        }
    }
    & .sub-grid-2 {
        grid-template-columns: 1fr;
    }
    > .card {
        height: var(--height);
        @media (width <= 1024px) {
            height: var(--sp-height);
        }
    }
    & .card {
        cursor: pointer;
        @media (width <= 1024px) {
            height: var(--sp-height);
            @media (orientation: landscape) and (max-height: 450px) {
                height: calc(var(--sp-height) * 2);
            }
        }
        & figure {
            position: relative;
            width: 100%;
            height: 100%;
            margin: 0;
            overflow: hidden;
            & img {
                width: 100%;
                height: 100%;
                object-fit: cover;
                background-color: var(--gy-color)
            }
            & figcaption {
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                display: grid;
                place-items: center;
                font-family: var(--font-Ja);
                font-size: 1.5rem;
                line-height: 1.3;
                text-align: center;
                padding: 0.625rem;
                color: white;
                background-color: var(--bk-05-color);
                & span {
                    display: block;
                    font-size: 1rem;
                }
            }
        }
    }
    & .card span::before {
        font-family: "material symbols rounded";
        font-size: 1.4rem;
        line-height: 2;
        font-style: normal;
        vertical-align: -10%;
    }
    & #card1 span::before {
        content: "\e0c8";
    }
    & #card2 span::before {
        content: "\e0c8";
    }
    & #card3 span::before {
        content: "\e0c8";
    }
    & #card4 span::before {
        content: "\e0c8";
    }
    & #card5 span::before {
        content: "\e0c8";
    }
    & #card6 span::before {
        content: "\ebcc";
    }
}

/*  ホバーに対応しているデバイスであれば */
@media (hover: hover) {
    .gallery-contents:has(.sub-grid-1 .card:first-of-type:hover) .sub-grid-1 {
        grid-template-columns: 1fr 0fr auto;
    }
    .gallery-contents:has(.sub-grid-1 .card:nth-of-type(2):hover) .sub-grid-1 {
        grid-template-columns: 0fr 1fr auto;
    }
    .gallery-contents:has(.sub-grid-1 .card:last-of-type:hover) .sub-grid-1 {
        grid-template-rows: 0 var(--height);
    }
    .gallery-contents:has(> .card:hover) {
        grid-template-columns: 0fr 1fr 0fr;
    }
    .gallery-contents:has(.sub-grid-2 .card:first-of-type:hover) .sub-grid-2 {
        grid-template-rows: var(--height) 0;
    }
    .gallery-contents:has(.sub-grid-2 .card:last-of-type:hover) .sub-grid-2 {
        grid-template-rows: 0 var(--height);
    }
    .card {
        filter: grayscale(1);
        & figcaption {
            opacity: 0;
        }
        &:hover {
            filter: grayscale(0);
            & figcaption {
                opacity: 1;
                transition: opacity 0.5s 0.5s;
            }
        }
    }
}
/* ------------------Gallery-Page END------------------*/

/* ------------------Profile-Page START------------------*/
.main-container .profile-contents {
    display: grid;
    grid-template-columns: 1fr 30% 30% 1fr;
    gap: 6rem;
    height: 100%;
    min-height: 46rem;
    max-height: 100rem;
    place-content: center;
    font-family: var(--font-Ja);
    background-image: linear-gradient(var(--bk-04-color),var(--bk-04-color)),url(../img/profile/201.jpg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    @media (width <= 1440px) {
        min-height: 32rem;
        grid-template-columns: 1fr 43% 43% 1fr;
        gap: 1rem;
        @media (width <= 1024px) {
            grid-template-columns: 1fr 30% 50% 1fr;
            @media (width <= 768px) {
                min-height: 40rem;
                grid-template-columns: 1fr;
                @media  (width <= 425px) {
                    min-height: 28rem;
                    @media  (width <= 375px) {
                        min-height: 34rem;
                    }
                }
            }
        } 
    }
    & .grid-item1 {
        grid-column: 2 / 4;
        grid-row: 1 / 2;
        justify-self: center;
        align-self: center;
        text-align: center;
        @media (width <= 768px) {
            grid-column: 1 / 2;
            grid-row: 1 / 2 ;
        }
        & h3 {
            margin-bottom: 2rem;
            font-size: 3rem;
            letter-spacing: 0.4rem;
            @media (width <= 1440px) {
                margin-bottom: 1.5rem;
                @media (width <= 1024px) {
                    font-size: 2.5rem;
                    letter-spacing: 0.2rem;
                    @media (width <= 768px) {
                        font-size: 2rem;
                        letter-spacing: 0.2rem;
                        @media (width <= 425px) {
                            margin-bottom: 1rem;
                            font-size: 1.5rem;
                            letter-spacing: 0.1rem;
                        }
                    }
                }
            }
        }
        & h4 {
            font-size: 2rem;
            letter-spacing: 0.2rem;
            line-height: 3rem;
            @media (width <= 1024px) {
                font-size: 1.5rem;
                line-height: 2.5rem;
                @media (width <= 768px) {
                    font-size: 1.2rem;
                    line-height: 1.8rem;
                    @media (width <= 425px) {
                        font-size: 1rem;
                        line-height: 1.6rem;
                    }
                }
            }
        }
    }
    & .grid-item2 {
        grid-column: 2 / 3;
        grid-row: 2 / 3;
        justify-self: center;
        align-self: center;
        @media (width <= 768px) {
            grid-column: 1 / 2;
            grid-row: 2 / 3 ;
        }
        & img {
            width: 5rem;
            height: 5rem;
            @media (width <= 1024px) {
                width: 4rem;
                height: 4rem;
                @media (width <= 425px) {
                        width: 3rem;
                        height: 3rem;
                }
            }
        }
    }
    & .grid-item3 {
        grid-column: 3 / 4;
        grid-row: 2 / 3;
        align-self: center;
        @media (width <= 768px) {
            grid-column: 1 / 2;
            grid-row: 3 / 4 ;
            justify-self: center;
        }
        & p {
            font-size: 1rem;
            line-height: 2rem;
            @media (width <= 425px) {
                font-size: 0.75rem;
                line-height: 1.5rem;
            }
        }
        & li {
            text-indent: 1rem;
            line-height: 1.5rem;
            @media (width <= 768px) {
                text-indent: 0rem;
                @media (width <= 425px) {
                    font-size: 0.75rem;
                    line-height: 1rem;
                }
            }
        }
    }
    & .grid-item4 {
        grid-column: 2 / 4;
        grid-row: 3 / 4;
        padding: 0 1rem;
        font-size: 1rem;
        align-self: center;
        line-height: 1.5rem;
        @media (width <= 768px) {
            grid-column: 1 / 2;
            grid-row: 4 / 5 ;
            padding: 0 0.5rem;
            @media (width <= 425px) {
                font-size: 0.75rem;
                line-height: 1rem;
            }
        }
    }
}
/* ------------------Profile-Page END------------------*/

/* ------------------404-Page START------------------*/
.error-page {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100svh;
    background-color: var(--wh-color);
    color: var(--bk-color);
    & .error-msg {
        text-align: center;
        font-family: var(--font-En);
        & h1 {
            display: inline-block;
            font-size: 4rem;
            padding-right: 1rem;
            animation: cursor .5s alternate infinite;
            @media (width <= 768px) {
                font-size: 3rem;
            }
        }

        & p {
            font-size: 2.5rem;
            margin-top: 1.5rem;
            @media (width <= 768px) {
                font-size: 2rem;
            }
        }
        & button {
            margin-top: 4rem;
            width: 16rem;
            height: 3rem;
            border-radius: 2rem;
            font-size: 1.5rem;
            background-color: var(--bk-color);
            color: var(--wh-color);
            cursor: pointer;
            @media (width <= 768px) {
                width: 12rem;
                height: 3rem;
                font-size: 1rem;
            }
        }
    }
}
@keyframes cursor{
    from{box-shadow: inset -3px 0px 0px var(--bk-color);}
    to{box-shadow: inset -3px 0px 0px transparent;}
}

/* ------------------404-Page END------------------*/