@import url('https://fonts.googleapis.com/css2?family=Kosugi+Maru&display=swap');

* {
    font-family: 'Kosugi Maru' , sans-serif;
    user-select: none;
    box-sizing: border-box;
    text-decoration: none;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}
body {
    margin-top: 80px;
    background-color: #F4F4F4;

    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}
p {
    line-height: 1.5;
}
.bg {
    position: fixed;
    top: -100px;
    bottom: -100px;
    left: -100px;
    right: -100px;
    z-index: -1;
    background-image: url(../img/bgp.png) , url(../img/bgp2.png);
    background-size: 40vh;
    transform: rotate(5deg);
    opacity: 0.2;
    background-repeat: repeat;
    background-position: 0px 0px, 100px 100px;
}
main {
    width: 100%;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
    display: block;
}
section {
    padding: 20px;
}
.s1 {
    img {
        width: 100%;
        border-radius: 20px;
    }
}
.s2 {
    padding-bottom: 40px;
    .s2top {
        background: #ffffff9d;
        backdrop-filter: blur(5px);
        border-radius: 20px;
        box-shadow: 0 0 3px gainsboro;
        padding: 13px;
        h2 {
            background: linear-gradient(to right, #ff6f98, #ff3b72);
            padding: 20px;
            position: relative;
            margin: 0;
            color: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 10px;
            border-bottom-right-radius: 30px;
        }
    }
    .linklist {
        padding-top: 20px;
        display: flex;
        flex-direction: column;
        gap: 20px;
        a {
            background: #fff;
            padding: 20px;
            color: #95a7ff;
            font-weight: bold;
            font-size: 20px;
            border-radius: 20px;
            box-shadow: 0 0 3px gainsboro;
            display: flex;
            justify-content: center;
            flex-direction: column;
            position: relative;
            padding-right: 70px;
            transition: all 0.3s;
            gap: 10px;
            * {transition: all 0.3s;}
            span {
                color: gray;
                font-weight: normal;
                font-size: 13px;
            }
            img {
                width: 30px;
                height: auto;
                position: absolute;
                right: 20px;
            }
            &:hover {
                animation: bonyon 0.6s ease-in-out;
                img {
                    transform: scale(1.2);
                }
            }
            &:active {
                transform: scale(0.98);
                opacity: 0.8;
            }
            hr {
                border: none;
                border-top: 2px dotted #F4F4F4;
                display: block;
                width: 100%;
                border-radius: 100px;
                margin: 0;
                margin-top: 3px;
            }
        }
    }
}

@keyframes bonyon {
    0% { transform: scale(1.0); }
    30% { transform: scale(1.25, 0.75); }
    40% { transform: scale(0.75, 1.25); }
    50% { transform: scale(1.15, 0.85); }
    65% { transform: scale(0.95, 1.05); }
    75% { transform: scale(1.05, 0.95); }
    100% { transform: scale(1.0); }
}

hr {
    border: none;
    border-top: 5px dotted #ff3b72;
    margin: 0;
    margin-bottom: 40px;
}

.s3 {
    border-radius: 20px;
    hr {
        border: none;
        border-top: 1px solid #95a7ff;
        margin-bottom: 20px;
    }
    .s3c {
        background: #fff;
        padding: 20px;
        border-radius: 20px;
        box-shadow: 0 0 3px gainsboro;
        position: relative;
        padding-top: 40px;
        h2 {
            position: absolute;
            background: linear-gradient(to right, #ff6f98, #ff3b72);
            padding: 10px 30px;
            color: #fff;
            border-radius: 20px;
            top: -20px;
            margin: 0;
            left: 20px;
            right: 20px;
            width: fit-content;
        }
        .s3ll {
            display: flex;
            flex-direction: column;
            gap: 10px;
            a {
                background: #95a7ff;
                padding: 20px;
                border-radius: 10px;
                color: #fff;
                font-weight: 800;
                font-size: 20px;
                display: flex;
                align-items: center;
                justify-content: space-between;
                transition: all 0.3s;
                * {transition: all 0.3s;}
                img {
                    width: 20px;
                    height: auto;
                }
                &:hover {
                    img {
                        transform: scale(1.2);
                    }
                }
                &:active {
                    transform: scale(0.98);
                    opacity: 0.8;
                }
            }
        }
        .s3ll2 {
            flex-direction: row;
            flex-wrap: nowrap;
            justify-content: center;
            a {
                width: 100%;
                justify-content: center;
                height: 90px;
                background: #000;
                gap: 20px;
            }
        }
        .app {
            padding: 20px;
            display: flex;
            gap: 20px;
            justify-content: center;
            align-items: end;
            font-size: 30px;
            img {
                width: 120px;
                border-radius: 20px;
            }
        }
    }
}

@media (max-width: 768px) {
    .s3ll2 {
        flex-wrap: wrap !important;
    }
    .app {
        flex-direction: column;
        align-items: center !important;
        font-size: 20px !important;
    }
}

.nlink {
    color: #95a7ff;
    font-weight: 900;
    gap: 10px;
    img {
        width: 15px;
        height: auto;
        margin-left: 5px;
    }
}

.mokuji {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 20px;
    a {
        display: inline-flex;
        gap: 10px;
        padding-left: 30px;
        position: relative;
        color: #95a7ff;
        font-weight: 900;
        width: fit-content;
        img {
            width: 20px;
            left: 0;
            height: auto;
            position: absolute;
        }
    }
}
@media (max-width: 768px) {
    .mokuji {
        display: flex;
        flex-direction: column;
        gap: 13px;
        font-size: 16px;
        a {
            display: inline-flex;
            gap: 10px;
            padding-left: 30px;
            position: relative;
            color: #95a7ff;
            font-weight: 900;
            img {
                width: 16px;
                left: 0;
                height: auto;
                position: absolute;
            }
        }
    }
}

/**/
.top {
    background-image: url(../img/top.png);
    background-size: cover;
    position: fixed;
    right: 30px;
    bottom: 30px;
    height: 90px;
    width: 90px;
    border-radius: 100px;
    z-index: 1;
    opacity: 0.5;
    transition: all 0.3s;
    border: 4px solid #fff;
    * {transition: all 0.3s;}
    &:hover , &:active {
        opacity: 1;
    }
}
.top1 {
    transition: all 0.3s;
    opacity: 0;
    pointer-events: none;
}
.top1.scrolled {
    opacity: 0.5;
    pointer-events: auto;
}
.top1.scrolled:hover {
    opacity: 1;
}
.top1.scrolled:active {
    opacity: 1;
}