@font-face {
    font-family: ZenR;
    src: url(/base/fonts/ZenKakuGothicNew-Regular.ttf);
}

@font-face {
    font-family: ZenB;
    src: url(/base/fonts/ZenKakuGothicNew-Bold.ttf);
}

@font-face {
    font-family: ZenM;
    src: url(/base/fonts/ZenKakuGothicNew-Medium.ttf);
}



html {
    overflow-x: hidden;
    overscroll-behavior:contain;
    scroll-behavior: smooth;
}

*::-webkit-scrollbar {
    background:var(--c4);
    width: 8px;
}

*::-webkit-scrollbar {
    width: 5px;
}

*::-webkit-scrollbar-thumb,aside::-webkit-scrollbar-thumb {
    background: var(--c1);
}


:root {
    --c1 : black;
    --c2 : gray;
    --c3 : grey;
    --c4 : white;
}

*::selection {
    color:var(--c4);
    background:var(--c3)
}


body {
    width: 100%;
    margin:0;
}

main {
    display: flex;
    flex-direction: column;
    opacity: 0;
    transition: opacity 300ms ease;
    justify-content: flex-start;
}

section {
    width: 100%;
    margin:40px 0; 
    padding: 0;
}


section:last-child {
    margin:20px 0 0 0;
}

* {
    transition: color 300ms ease,background 300ms ease,transform 300ms ease,box-shadow 300ms ease,opacity 300ms ease;
    user-select: none;
}

ul {
    padding: 0;
    list-style: none;
}

a {
    color:var(--c1);
    padding: 3px;
    text-decoration: none;
    white-space: nowrap;
    position: relative;
}

a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left:0;
    width: 0;
    height: 2px;
    background:var(--c1);
    transition: width 300ms ease;
}

#two-box a:hover::after {
    width: 100%;
}


#img-box {
    background: linear-gradient(to right,#ffffff,#dbdbdb,#ffffff);
    background-size: 400% 100%;
    animation:img 3s ease infinite;
    display: grid;
    place-items: center;
    overflow: hidden;
}

#img-box img {
    width: 100%;
}

@keyframes img {
    50% {
        background-position: 100% ;
    }

    0%,100% {
        background-position:200%;
    }
}



#two-box {
    width: 90%;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    border-radius:5px;
    margin:50px 20px;
}

#two-box:nth-of-type(odd) {
    align-self: center;
    flex-direction: row-reverse;
}

#two-box:nth-child(even) {
    align-self: center;
}
 
#two-box aside {
    flex:1 1 300px;
    max-width: 700px;
    padding: 10px;
    font-size: 10px;
    margin:20px 0;
}

#two-box div {
    width: 600px;
    aspect-ratio:16 /9;
    margin:0 40px;
    overflow: hidden;
    box-shadow:-3px 3px 0 3px var(--c3),
    -6px 6px 0 3px var(--c4),
    -9px 9px 0 3px var(--c1)
}

#two-box div img {
    width: 100%;
}

#two-box aside strong {
    position: relative;
    font-size: 2.5em;
    padding-bottom: 7px;
    color:var(--c1);
    font-family: ZenB;
}



#two-box aside p {
    font-size: 2em;
    color:var(--c2);
    font-family: ZenM;
}

#two-box:nth-of-type(even) aside {
    text-align: left;
}


.b-txt {
    font-size: 8px;
    font-family: ZenB;
    text-align: center;
    z-index: 10;
    margin: 100px 0 0 0;
}
.b-txt strong {
    position: relative;
    font-size: 6em;
    color:var(--c1);
    overflow: hidden;
    padding:15px;
}






.flex-suggest {
    display: flex;
    align-items: center;
    justify-content:center;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 50px 0;
}
.flex-suggest aside {
    display: flex;
    max-width:1200px;
    flex-direction: row;
    align-items: center;
    justify-content:center;
    flex-wrap: wrap;
}
.flex-suggest li {
    position: relative;
    max-width: 290px;
    max-height: 330px;
    overflow: hidden;
    min-width: 290px;
    min-height: 450px;
    display: flex;
    align-items: center;
    flex-direction: column;
    text-align: left;
    font-size: 10px;
    margin:15px;
    border: 2px solid var(--c3);
    border-radius: 10px;
    padding: 5px 20px;
}
.flex-suggest li strong {
    position: relative;
    font-size: 3em;
    white-space: nowrap;
    font-family: ZenB;
    color:var(--c4);
    padding-bottom: 5px;
    text-transform: capitalize;
    display: flex;
    align-items: center;
    justify-content: center;
}
.flex-suggest li p {
    font-size: 1.5em;
    font-family: ZenM;
    margin:0;
    width: 100%;
    margin-top: 10px;
    overflow-y: hidden;
    text-overflow: ellipsis;
    z-index: 2;
    color:white;
}

.flex-suggest div {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top:0;
    left:0;
    overflow: hidden;
    z-index: 0;
}

.flex-suggest div img {
    height: 120%;
    object-fit: contain;
}


.flex-suggest li section {
    width: 100%;
    height: 100%;
    background:rgba(0, 0, 0, .4);
    position: absolute;
    top:0;
    right:0;
    margin:0;
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}


.flex-suggest li button {
    border-radius: 150px;
    border: 2px solid var(--c2);
    font-family: ZenR;
    font-size: 1.9em;
    padding: 4px 20px;
    background:var(--c4);
    cursor: pointer;
    color:var(--c1);
}
.flex-suggest li a {
    position: absolute;
    bottom:3px;
}
.flex-suggest li button:hover {
    background:var(--c1);
    border:2px solid var(--c1);
    color:var(--c4)
}

@media only screen and (max-width:1065px) {

    #two-box:nth-of-type(even),#two-box:nth-of-type(odd) {
        align-self: center;
        margin:50px 0;
    }

    #two-box {
        width: 100%;
    }
    #two-box aside {
        max-width: 85%;
    }

}


@media only screen and (max-width:1072px) {
    #two-box div {
        width: 90%;
    }
}