* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* @font-face {
    font-family: "NAME";
    src: url() format("");
} */

html {
    /* font-family: "NAME"; */
    scroll-behavior: smooth;
    /* scroll-padding-top: 25px; */
    height: 100%;
    width: 100%;
    background-image: url(https://syowatan.com/mc/home/img/bg_07.png);
    background-attachment: fixed;
    background-repeat: repeat-x;
    background-size: cover;
    /* background-image: url(URL);
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
    background-size: cover; */
}

body {
    overflow: hidden;
    height: 100%;
    background-color: rgba(75, 75, 75, 0.5);
}

header {
    display: flex;
    justify-content: center;
    align-content: center;
    text-align: center;
    padding: 1%;
    height: 50px;
}

header h1 {
    display: flex;
    position: fixed;
}

header h1 img {
    height: 1lh;
    aspect-ratio: 1;
}


header a.news {
    text-align: start;
    display: flex;
    position: fixed;
    right: 0;
    top: 0;
    height: 50px;
    width: 300px;
    white-space: nowrap;
    background-color: white;
    border-bottom-left-radius: 25px;
    color: black;
    text-decoration: none;
    z-index: 1000;
}

header a.news img {
    margin: 3%;
    margin-right: 1%;
    height: 1.25lh;
    border: solid 1px black;
    padding: 1%;
    border-radius: 50%;
}

header a.news b {
    margin-top: 5%;
    font-size: small;
    height: 1lh;
    width: 100%;
    color: transparent;
    background: linear-gradient(90deg, #000000 50%, transparent 100%);
    background-clip: text;
    color: black;
}

header a::before {
    content: "";
    position: absolute;
    width: 50px;
    height: 50px;
    right: 25px;
    top: 50px;
    border-radius: 50%;
    box-shadow: 25px -25px 0 white;
    z-index: -1;
}

header a::after {
    content: "";
    position: absolute;
    width: 50px;
    height: 50px;
    right: 300px;
    top: 0;
    border-radius: 50%;
    box-shadow: 25px -25px 0 white;
    z-index: -1;
}

div.navigation {
    z-index: 100;
    position: fixed;
    /* background-color: white; */
    width: 14%;
    height: 100%;
    top: 0;
    right: 0;
    color: white;
    border-right: solid 25px white;
}

div.navigation ul {
    margin-top: 50%;
    list-style: none;
}

div.navigation ul a {
    color: white;
    text-decoration: none;
    margin-left: 10%;
}

div.navigation ul a:hover {
    color: black;
    text-shadow: white 0 0 10px;
    text-underline-position: below;
    font-weight: bold;
}

#faq {
    color: black;
    text-shadow: white 0 0 10px;
    text-underline-position: below;
    font-weight: bold;
}

div.navigation ul.sns {
    display: flex;
    position: relative;
    height: auto;
    width: 200%;
    right: 50%;
    bottom: -5%;
}

div.navigation ul.sns a {
    text-shadow: none;
    display: block;
    position: relative;
    text-align: center;
    align-content: center;
    right: 0;
    margin: 1%;
    color: black;
    border: white solid 2px;
    background-color: rgba(255, 255, 255, 0.5);
    width: 45px;
    height: 45px;
    border-radius: 10px;
    transition: all 0.3s;
}

div.navigation ul.sns a.x-twitter:hover {
    background-color: black;
}
div.navigation ul.sns a.youtube:hover {
    background-color: #ff0000;
}
div.navigation ul.sns a.instagram:hover {
    background: linear-gradient(130deg, #7638fa 10%, #d300c5 45%, #ff0069 65%, #fd7a00 85%, #ffd600 100%);
    color: transparent;
}
div.navigation ul.sns a.tiktok:hover {
    background-color: black;
    text-shadow: -1px -2px 0 #25f4ee, 2px 1px 0 #fe2c55;
}
/* div.navigation ul.sns a.line:hover li {
    background-color: white;
    border-radius: 10%;
    color: #06c775;
}
div.navigation ul.sns a.bluesky:hover {
    background-color: #1185fe;
} */

ul.sns a li {
    transition: all 0.3s;
    color: white;
    text-decoration: none;
    height: 41px;
    aspect-ratio: 1;
    font-size: 1.2lh;
}

div.body {
    height: 100%;
    width: 100%;
    bottom: 0;
}

div.body h2 {
    margin-top: 25px;
    background-color: white;
    width: 73.5%;
    border-top-right-radius: 25px;
    padding: 0.5% 1%;
    z-index: 1;
}

div.body h2 a {
    font-size: medium;
    color: black;
}

div.item {
    position: absolute;
    padding: 1%;
    width: 73.5%;
    height: 80%;
    background-color: rgba(255, 255, 255, 0.7);
    overflow-y: scroll;
    bottom: 0;
}

div.item::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

div.item::-webkit-scrollbar-track {
    background-color: rgba(255, 255, 255, 0.1);
}

div.item::-webkit-scrollbar-thumb {
    background-color: #FC8AC4;
    border-radius: 25px;
    /* border: rgba(255, 255, 255, 0.1) solid 2px; */
}

div.title {
    height: 15%;
    margin-bottom: 1%;
}

div.title a {
    position: absolute;
    width: 98%;
    background-color: rgba(255, 255, 255, 0.1);
    color: black;
    text-decoration: none;
    padding: 2%;
    border-bottom: 1.5px solid gray;
}

div.title a:hover {
    text-underline-position: below;
    font-weight: bold;
}

div.title a span.time {
    position: absolute;
    right: 1%;
    bottom: 1%;
    font-weight: normal;
}

div.main {
    padding: 1%;
}

footer {
    display: flex;
    position: fixed;
    height: 8%;
    width: 100%;
    background-color: white;
    justify-content: center;
    bottom: 0;
    left: 0;
}

footer::before {
    content: "";
    border-radius: 50%;
    bottom: 100%;
    position: absolute;
    height: 50px;
    width: 50px;
    right: 25px;
    box-shadow: 25px 25px 0 white;
}

footer span.copy {
    margin-top: 1.25lh;
}

footer ul {
    display: flex;
    position: fixed;
    list-style: none;
    justify-content: end;
    width: 100%;
    right: 0;
}

footer ul li {
    margin-right: 5%;
}

footer ul li a {
    color: black;
}