@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"); } html { overflow: hidden; } 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: #FBAB7E; background-image: linear-gradient(65deg, #FBAB7E 0%, #F7CE68 100%); color: #333; display: flex; justify-content: center; align-items: center; min-height: 100vh; overflow: hidden; } ::-webkit-scrollbar { padding-top: 8px; width: 5px; height: 5px; } ::-webkit-scrollbar-track { background: rgba(0, 0, 0, 0); border-radius: 10px; } ::-webkit-scrollbar-thumb { background: linear-gradient(135deg, #f5c6a5, #f8e8d0); border-radius: 10px; transition: background 0.3s ease-in-out; } ::-webkit-scrollbar-thumb:hover { background: linear-gradient(135deg, #f8e8d0, #f5c6a5); } ::-webkit-scrollbar-thumb:active { background: linear-gradient(135deg, #e6a97e, #f8e0b5); } .container { display: flex; width: 90%; max-width: 1200px; /* overflow: hidden; */ margin: 20px; align-items: flex-end; } .avatar { /* overflow: hidden; */ max-width: none; height: fit-content; width: max-content; display: flex; justify-content: center; align-items: flex-start; position: relative; } .avatarImage { pointer-events: none; max-width: 100%; height: auto; position: relative; z-index: 1; opacity: 1; mask-image: radial-gradient(ellipse at center, black 50%, rgba(0, 0, 0, 0) 100%); transform: scale(1.8) translateX(-18%) translateY(5%); /* transform-origin: top left; */ transform-origin: center center; } .materialList { width: 40%; padding: 30px; display: flex; flex-direction: column; align-items: center; box-sizing: border-box; background-color: #fff; border-radius: 10px; box-shadow: 0 0 20px rgba(0, 0, 0, 0.1); z-index: 2; } .charaName { font-size: 2em; margin-bottom: 20px; text-align: center; } .ascensionBtnWrapper { position: relative; width: 100%; overflow: hidden; padding: 0 5px; } .ascensionBtnWrapper::before, .ascensionBtnWrapper::after { content: ""; position: absolute; top: 0; width: 30px; height: 100%; pointer-events: none; z-index: 5; } .ascensionBtnWrapper::before { left: 0; background: linear-gradient(to right, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0)); } .ascensionBtnWrapper::after { right: 0; background: linear-gradient(to left, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0)); } .ascensionBtnBox { display: flex; width: 102%; white-space: nowrap; overflow-x: auto; text-align: center; } .ascensionBtn { display: inline-block; padding: 6px 10px; margin: 3px; font-size: 16px; font-weight: bold; color: white; background: linear-gradient(135deg, #ff7eb3, #ff758c); border: none; border-radius: 8px; cursor: pointer; transition: all 0.3s ease; text-align: center; text-decoration: none; } .ascensionBtn:hover { background: linear-gradient(135deg, #ff758c, #ff7eb3); transform: translateY(-2px); } .label { font-size: 18px; font-weight: bold; margin-bottom: 8px; } .materials { width: 100%; display: flex; flex-direction: column; gap: 10px; box-sizing: border-box; height: 400px; overflow-y: scroll; } .material-item { display: flex; align-items: center; padding: 10px; border-bottom: 1px solid #eee; box-sizing: border-box; } .material-item:last-child { border-bottom: none; } .material-item img { width: 50px; height: 50px; margin-right: 15px; object-fit: contain; } .material-name { flex-grow: 1; } .material-count { margin-left: auto; font-weight: bold; color: #666; } .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) { .container { flex-direction: column; align-items: center; width: 95%; margin: 10px; } .avatar { width: 100%; max-width: none; height: fit-content; display: flex; justify-content: center; align-items: flex-start; margin-bottom: 20px; /* overflow: hidden; */ } .avatarImage { width: auto; height: 100%; top: -50px; mask-image: radial-gradient(ellipse at center, black 60%, rgba(0, 0, 0, 0) 100%); transform: scale(2) translateX(0%) translateY(-20%); transform-origin: top center; pointer-events: none; } .avatar::after { background: none; } .materials { height: 30vh; } .materialList { width: 90%; padding: 20px; margin-top: -60%; transform: translateY(-50px); } .charaName { font-size: 1.8em; margin: 0; } .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; } }