@font-face { font-family: "gi"; src: url("/assets/font/gi.ttf") format("truetype"); } @font-face { font-family: "kei"; src: url("/assets/font/kei.ttf") format("truetype"); } body { user-select: none; -webkit-user-drag: none; /* webkit*/ -webkit-user-select: none; /* webkit*/ -moz-user-select: none; /* firefox */ -ms-user-select: none; /* rip ie */ font-family: 'gi', 'arial', sans-serif; margin: 0; background-color: #A9C9FF; background-image: linear-gradient(180deg, #A9C9FF 0%, #FFBBEC 100%); color: #333; display: flex; justify-content: center; align-items: center; min-height: 100vh; overflow: hidden; } h1 { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); font-size: 5.5rem; font-weight: bold; background: linear-gradient(to right, #5f9cff, #ff80bf); -webkit-background-clip: text; -webkit-text-fill-color: transparent; font-family: 'kei', 'arial', sans-serif; white-space: nowrap; } .cardContainer { flex: 0 0 auto; border-radius: 10px; width: 150px; overflow: hidden; position: relative; background-color: transparent; box-shadow: 0px 0px 4px 2px rgba(0, 0, 0, 0.45); transition: box-shadow 0.25s ease-in-out; } .cardContainer:hover { box-shadow: 0px 0px 1px 4px rgba(255, 255, 255, 1); } .bg1 { background-color: white; position: absolute; top: 10px; left: 10px; width: 100%; height: 100%; z-index: 1; } .tier5 { background: rgb(196,136,74); background: linear-gradient(0deg, rgba(196,136,74,1) 0%, rgba(174,114,59,1) 100%); } .tier4 { background: rgb(174,134,200); background: linear-gradient(0deg, rgba(174,134,200,1) 0%, rgba(125,100,171,1) 100%); } .bg2 { position: absolute; width: 100%; height: 150px; border-bottom-right-radius: 20px; z-index: 2; } .charaCont { position: relative; z-index: 3; width: 100%; margin: 0 auto; display: flex; flex-direction: column; } .charaImage { width: 100%; max-width: 100%; height: auto; display: block; position: relative; z-index: 3; border-bottom-right-radius: 20px; pointer-events: none; } .charaName { background-color: white; padding: 2px; font-size: 20px; text-align: center; box-sizing: border-box; z-index: 4; } .cardWrapper { display: flex; overflow-x: auto; white-space: nowrap; gap: 10px; padding: 10px; scrollbar-width: none; } .cardWrapper::-webkit-scrollbar { display: none; } .copyright { position: fixed; bottom: 10px; right: 10px; left: auto; font-size: 12px; color: white; background: rgba(0, 0, 0, 0.6); padding: 6px 10px; border-radius: 5px; z-index: 1000; text-align: center; } /* =-=-= ここからスマホ =-=-= */ @media (max-width: 768px) { h1 { top: 10px; font-size: 3.1rem; } .cardContainer { width: 80px; transition: box-shadow 0.25s ease-in-out; } .cardContainer:hover { box-shadow: 0px 0px 1px 3px rgba(255, 255, 255, 1); } .charaName { font-size: 11px; } .bg2 { height: 80px; border-bottom-right-radius: 11px; z-index: 2; } .charaImage { border-bottom-right-radius: 11px; } .copyright { right: 15%; transform: translateX(10%); bottom: 5px; left: auto; pointer-events: auto !important; } .copyright a { color: #80c8ff; text-decoration: none; } .copyright a:hover { text-decoration: underline; } }