* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #eeeeee;
  color: #222;
  font-family:
    "Hiragino Sans",
    "Hiragino Kaku Gothic ProN",
    "Yu Gothic",
    "Meiryo",
    sans-serif;
}

img {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
}

.page {
  min-height: 100vh;
  padding: 16px;
}

.site-card {
  position: relative;
  width: 100%;
  max-width: 560px;
  min-height: calc(100vh - 32px);
  margin: 0 auto;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.split-bg {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.bg-left {
  background: #d995b6;
  border-right: 1px solid rgba(255, 255, 255, 0.35);
}

.bg-right {
  background: #78c9df;
}

.content {
  position: relative;
  z-index: 1;
  padding: 12px 24px 40px;
}

.top-logo {
  display: flex;
  justify-content: center;
}

.top-logo img {
  width: 360px;
  max-width: 100%;
  height: auto;
}

.hero {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 8px;
  align-items: start;
}

.character {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.icon {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 50%;
  border: 10px solid #fff;
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.15);
}

.name-logo {
  width: 220px;
  height: auto;
  margin-top: -8px;
}

.center-main-link {
  margin-top: 56px;
  display: flex;
  justify-content: center;
}

.links-grid {
  margin-top: 36px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 32px 10px;
  align-items: start;
}

.links-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.center-sub-links {
  padding-top: 4px;
}

.pair-links {
  display: flex;
  gap: 20px;
}

.circle-link {
  width: 80px;
  height: 80px;
  border-radius: 999px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.circle-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.16);
}

.circle-link span {
  font-size: 38px;
  line-height: 1;
}

.circle-large {
  width: 112px;
  height: 112px;
}

.circle-large span {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
}

.youtube span {
  background: #ef4444;
  color: #fff;
}

.yellow span {
  color: #fff;
  background: #f0c73b;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  font-size: 28px;
}

.yellow-light span {
  color: #fff;
  background: #f3d76e;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  font-size: 28px;
}

.x-pink span,
.note-pink span,
.heart-pink span {
  color: #d85484;
}

.x-blue span,
.heart-blue span {
  color: #34a8d8;
}

.tags {
  margin-top: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.tag-row {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.tag-box {
  display: flex;
  align-items: stretch;
  background: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.tag-label {
  padding: 12px 20px;
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  white-space: nowrap;
}

.tag-value {
  padding: 12px 24px;
  color: #222;
  font-size: 24px;
  font-weight: 800;
  background: #fff;
  white-space: nowrap;
}

.yellow-label {
  background: #f0cf44;
}

.pink-label {
  background: #d85484;
}

.blue-label {
  background: #34a8d8;
}

.profile-box {
  margin-top: 96px;
  background: #fff;
  border-radius: 4px;
  padding: 16px 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.profile-box p {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 2.1;
  color: #444;
  white-space: pre-line;
}

@media (max-width: 640px) {
  .page {
    padding: 0;
  }

  .site-card {
    min-height: 100vh;
  }

  .content {
    padding: 12px 12px 32px;
  }

  .top-logo img {
    width: 300px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 20px;
    justify-items: center;
  }

  .center-main-link {
    order: 3;
    margin-top: 0;
  }

  .links-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    justify-items: center;
  }

  .pair-links {
    justify-content: center;
  }

  .tag-row {
    grid-template-columns: 1fr;
  }

  .tag-box {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .tag-label,
  .tag-value {
    font-size: 20px;
    text-align: center;
  }

  .profile-box {
    margin-top: 56px;
  }
}
