@font-face {
  font-family: 'Noto Sans JP';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('img/noto-sans-jp-700.ttf') format('truetype');
}
:root { color-scheme: light; --ink: #8e8d8d; }
* { box-sizing: border-box; }
html { min-height: 100%; font-size: 62.5%; }
body { min-height: 100%; margin: 0; color: var(--ink); font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif; font-weight: 700; line-height: 1.5; }
.backdrop { position: fixed; inset: 0; z-index: -1; background: #ccd8e1; }
.backdrop::after { content: ''; position: absolute; inset: 0; background: url('img/background.webp') center / cover no-repeat; mix-blend-mode: multiply; }
.profile { width: 100%; margin: 0 auto; padding: 38px 20px 20px; }
.profile-header, .links { max-width: 480px; margin-right: auto; margin-left: auto; }
.profile-header { text-align: center; margin-bottom: 15px; }
.avatar { display: block; width: 88px; height: 88px; padding: 4px; margin: 0 auto 10px; border-radius: 50%; object-fit: cover; }
h1 { margin: 0 0 5px; font-size: 14px; font-weight: 700; }
h1 span { display: block; font-size: inherit; }
.profile-header p { margin: 0; font-size: 10px; }
.social-link { display: flex; width: 40px; height: 40px; padding: 0 2px; margin: 10px auto 8px; color: inherit; }
.social-link svg, .link-icon svg { display: block; width: 100%; height: 100%; fill: currentColor; }
.links { display: grid; gap: 14px; }
.link-card { display: flex; align-items: flex-start; min-width: 0; padding: 10px; color: inherit; text-decoration: none; background: #fff; border-radius: 8px; box-shadow: 0 0 1px 0 #3333334d, 0 4px 8px 0 #3333331a; }
.link-icon { display: block; flex: 0 0 40px; width: 40px; height: 40px; margin-right: 12px; overflow: hidden; border-radius: 8px; box-shadow: 0 0 1px 0 #3333334d, 0 2px 4px 0 #3333331a; }
.link-card > span:last-child { flex: 1; min-width: 0; padding-top: 3px; }
.link-card strong, .link-card small { display: block; overflow-wrap: anywhere; font-weight: 700; }
.link-card strong { font-size: 12px; line-height: 1.3571428571; letter-spacing: .06em; }
.link-card small { margin-top: 3px; font-size: 10px; line-height: 1.5; }
.link-card:focus-visible, .social-link:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
footer { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 44px; color: var(--ink); font-size: 14px; letter-spacing: .12em; }
footer img { width: 24px; height: 24px; border-radius: 5px; opacity: .72; }
@media (min-width: 768px) {
  .profile { padding: 58px 33px 26px; }
  .profile-header { margin-bottom: 20px; }
  .avatar { width: 120px; height: 120px; margin-bottom: 14px; }
  h1 { font-size: 20px; margin-bottom: 6px; }
  .profile-header p { font-size: 14px; }
  .social-link { margin-top: 14px; }
  .link-icon { flex-basis: 56px; width: 56px; height: 56px; }
  .link-card strong { font-size: 14px; }
}
