:root {
  --pink: #f8a9bd;
  --pink-soft: #ffe7ee;
  --mint: #aee8d4;
  --mint-soft: #e7fbf4;
  --lavender: #c8b7f5;
  --lavender-soft: #f0ebff;
  --cream: #fff7d8;
  --cream-deep: #ffefad;
  --ink: #463d4a;
  --muted: #776e7b;
  --white: #fffdfa;
  --line: rgba(112, 88, 119, 0.16);
  --shadow: 0 22px 60px rgba(145, 101, 132, 0.18);
  --radius-large: 32px;
  --radius-card: 24px;
  --content: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Hiragino Maru Gothic ProN", "Yu Gothic", "Meiryo", system-ui, sans-serif;
  line-height: 1.8;
  background:
    radial-gradient(circle at 12% 10%, rgba(248, 169, 189, 0.34) 0 90px, transparent 92px),
    radial-gradient(circle at 90% 16%, rgba(174, 232, 212, 0.42) 0 120px, transparent 122px),
    linear-gradient(180deg, #fff7d8 0%, #fffdfa 42%, #f0ebff 100%);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.26;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.98) 0 2px, transparent 2.5px),
    radial-gradient(circle, rgba(248, 169, 189, 0.44) 0 2px, transparent 2.5px);
  background-position: 0 0, 24px 28px;
  background-size: 56px 56px;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 28px), var(--content));
  margin: 14px auto 0;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: rgba(255, 253, 250, 0.84);
  box-shadow: 0 12px 40px rgba(133, 94, 128, 0.14);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  min-width: max-content;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 50%;
  color: #8b5271;
  font-size: 0.75rem;
  line-height: 1;
  background: linear-gradient(135deg, var(--pink-soft), var(--mint-soft));
  box-shadow: inset 0 -4px 0 rgba(255, 255, 255, 0.52);
}

.site-nav {
  display: flex;
  gap: 4px;
  align-items: center;
  overflow-x: auto;
  scrollbar-width: none;
}

.site-nav::-webkit-scrollbar {
  display: none;
}

.site-nav a {
  padding: 8px 12px;
  border-radius: 999px;
  color: #695b70;
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  outline: none;
  background: var(--lavender-soft);
}

.section-band,
.section {
  width: min(calc(100% - 32px), var(--content));
  margin-inline: auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
  min-height: calc(84svh - 86px);
  padding: clamp(42px, 6vw, 72px) 0 clamp(50px, 7vw, 82px);
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 10px;
  color: #99709c;
  font-size: 0.83rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 9em;
  margin: 0;
  color: #5d485f;
  font-size: clamp(3rem, 7vw, 5.9rem);
  line-height: 1.04;
}

h2 {
  margin: 0;
  color: #5a4a61;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.18;
}

h3 {
  margin: 0;
  color: #5a4a61;
  font-size: 1.35rem;
  line-height: 1.35;
}

.lead {
  max-width: 29rem;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 900;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.button:not(.button-disabled):hover,
.button:not(.button-disabled):focus-visible {
  outline: none;
  transform: translateY(-2px);
}

.button-primary {
  color: #fff;
  background: #ef8fac;
  box-shadow: 0 12px 24px rgba(239, 143, 172, 0.34);
}

.button-secondary {
  color: #6a5072;
  border: 2px solid rgba(255, 255, 255, 0.9);
  background: var(--white);
  box-shadow: 0 12px 24px rgba(147, 111, 145, 0.12);
}

.button-disabled {
  color: #8b7d91;
  background: #f0ecf4;
  cursor: not-allowed;
}

.hero-visual {
  position: relative;
  display: grid;
  min-height: clamp(420px, 46vw, 540px);
  place-items: center;
  border-radius: 48px;
  background:
    radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.9) 0 54px, transparent 56px),
    radial-gradient(circle at 78% 26%, rgba(255, 255, 255, 0.78) 0 42px, transparent 44px),
    linear-gradient(145deg, rgba(255, 231, 238, 0.92), rgba(231, 251, 244, 0.9) 52%, rgba(240, 235, 255, 0.88));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-visual::before {
  position: absolute;
  right: -72px;
  bottom: -68px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: var(--cream-deep);
  content: "";
}

.hero-visual::after {
  position: absolute;
  inset: auto 8% 8% 8%;
  height: 56px;
  border-radius: 50%;
  background: rgba(124, 99, 121, 0.12);
  filter: blur(10px);
  content: "";
}

.hero-visual img {
  position: relative;
  z-index: 2;
  width: min(88%, 520px);
  max-height: 470px;
  object-fit: contain;
  filter: drop-shadow(0 24px 22px rgba(112, 88, 119, 0.18));
}

.sparkle {
  position: absolute;
  z-index: 1;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #fff;
  transform: rotate(18deg);
  box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.28);
}

.sparkle-one {
  top: 18%;
  left: 11%;
}

.sparkle-two {
  right: 14%;
  bottom: 23%;
  width: 24px;
  height: 24px;
  background: var(--mint);
}

.section {
  padding: clamp(70px, 8vw, 96px) 0;
}

.section-heading {
  max-width: 680px;
  margin-bottom: 28px;
}

.section-heading p:not(.eyebrow) {
  margin: 12px 0 0;
  color: var(--muted);
  font-weight: 700;
}

.profile-grid,
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 26px);
}

.character-card,
.manga-card,
.download-card,
.contact-panel {
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: var(--radius-card);
  background: rgba(255, 253, 250, 0.82);
  box-shadow: 0 18px 46px rgba(145, 101, 132, 0.12);
}

.character-card {
  display: grid;
  grid-template-columns: minmax(150px, 180px) minmax(0, 1fr);
  gap: clamp(18px, 2.4vw, 24px);
  align-items: center;
  min-height: 270px;
  padding: clamp(22px, 2.6vw, 30px);
}

.shiro-card {
  background: linear-gradient(135deg, rgba(255, 253, 250, 0.92), rgba(255, 231, 238, 0.86));
}

.draco-card {
  background: linear-gradient(135deg, rgba(255, 253, 250, 0.92), rgba(231, 251, 244, 0.86));
}

.character-icon {
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  border: 8px solid rgba(255, 255, 255, 0.86);
  border-radius: 50%;
  background: var(--cream);
  overflow: hidden;
}

.character-icon img {
  width: 86%;
  height: 86%;
  object-fit: contain;
}

.character-icon-shiro img {
  transform: translateY(2%) scale(1.06);
}

.character-icon-draco img {
  transform: translateY(1%) scale(1.08);
}

.card-label {
  margin: 0 0 6px;
  color: #9a789e;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.character-body p:not(.card-label),
.manga-body p,
.download-card p,
.contact-panel p {
  margin: 10px 0 0;
  color: var(--muted);
  font-weight: 700;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.tag-list li {
  padding: 5px 11px;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 999px;
  color: #715a78;
  font-size: 0.86rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.58);
}

.section-manga {
  position: relative;
}

.manga-grid {
  grid-template-columns: repeat(3, minmax(220px, 1fr));
}

.manga-card {
  overflow: hidden;
}

.manga-thumb {
  display: grid;
  aspect-ratio: 4 / 3;
  place-items: center;
  color: #a87588;
  font-size: 2.2rem;
  font-weight: 900;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.42) 25%, transparent 25%) 0 0 / 28px 28px,
    linear-gradient(135deg, var(--pink-soft), var(--cream));
}

.manga-thumb-soon {
  color: #7b6d8a;
  font-size: 1.1rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.45) 25%, transparent 25%) 0 0 / 28px 28px,
    linear-gradient(135deg, var(--lavender-soft), var(--mint-soft));
}

.manga-body,
.download-card {
  padding: clamp(20px, 2.3vw, 26px);
}

.news-list {
  display: grid;
  gap: 12px;
}

.news-item {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 253, 250, 0.78);
}

.news-item time,
.news-date {
  color: #9b6f98;
  font-weight: 900;
}

.news-item p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.download-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.download-card {
  display: grid;
  gap: 12px;
  align-content: start;
}

.download-icon {
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  border-radius: 24px;
  color: #7d5d84;
  font-weight: 900;
  background: linear-gradient(135deg, var(--cream), var(--mint-soft));
}

.download-card .button {
  justify-self: start;
  margin-top: 8px;
}

.contact-panel {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  padding: clamp(24px, 5vw, 48px);
  background:
    radial-gradient(circle at 90% 0%, rgba(174, 232, 212, 0.48) 0 118px, transparent 120px),
    linear-gradient(135deg, rgba(255, 231, 238, 0.86), rgba(255, 253, 250, 0.92));
}

.contact-panel h2 {
  font-size: clamp(1.9rem, 3vw, 2.8rem);
}

.site-footer {
  width: min(calc(100% - 32px), var(--content));
  margin: 0 auto;
  padding: 26px 0 38px;
  color: #8a7f8e;
  font-size: 0.92rem;
  font-weight: 700;
  text-align: center;
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    border-radius: 28px;
    flex-direction: column;
    gap: 8px;
  }

  .site-nav {
    width: 100%;
    padding-bottom: 2px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 34px;
  }

  .hero-visual {
    order: 0;
    min-height: clamp(340px, 55vw, 430px);
  }

  .hero-visual img {
    max-height: 390px;
  }

  .hero-copy {
    max-width: 720px;
  }

  h1 {
    max-width: 10em;
  }

  .profile-grid,
  .manga-grid,
  .download-grid {
    grid-template-columns: 1fr;
  }

  .character-card {
    grid-template-columns: 150px minmax(0, 1fr);
    min-height: 0;
  }

  .contact-panel {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  body {
    line-height: 1.7;
    background:
      radial-gradient(circle at 8% 4%, rgba(248, 169, 189, 0.3) 0 70px, transparent 72px),
      radial-gradient(circle at 96% 12%, rgba(174, 232, 212, 0.36) 0 82px, transparent 84px),
      linear-gradient(180deg, #fff7d8 0%, #fffdfa 46%, #f0ebff 100%);
  }

  .section-band,
  .section,
  .site-footer {
    width: min(calc(100% - 24px), var(--content));
  }

  .site-header {
    top: 8px;
    width: min(calc(100% - 16px), var(--content));
    margin-top: 8px;
    padding: 8px;
    border-radius: 22px;
  }

  .brand {
    gap: 8px;
    font-size: 0.9rem;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
    font-size: 0.67rem;
  }

  .site-nav {
    gap: 6px;
    padding: 2px 2px 3px;
  }

  .site-nav a {
    min-height: 36px;
    padding: 6px 11px;
    font-size: 0.78rem;
    background: rgba(255, 255, 255, 0.48);
  }

  .hero {
    gap: 20px;
    padding-top: 26px;
    padding-bottom: 44px;
  }

  .hero-visual {
    min-height: clamp(260px, 78vw, 330px);
    border-radius: 28px;
  }

  .hero-visual img {
    width: min(96%, 340px);
    max-height: 286px;
  }

  .hero-visual::before {
    right: -86px;
    bottom: -90px;
    width: 210px;
    height: 210px;
  }

  .hero-visual::after {
    height: 38px;
  }

  .sparkle-one {
    top: 13%;
    left: 8%;
  }

  .sparkle-two {
    right: 9%;
    bottom: 18%;
  }

  .eyebrow {
    margin-bottom: 8px;
    font-size: 0.74rem;
  }

  h1 {
    font-size: clamp(2.4rem, 13.5vw, 3.35rem);
    line-height: 1.08;
  }

  h2 {
    font-size: clamp(1.75rem, 8.2vw, 2.35rem);
  }

  h3 {
    font-size: 1.18rem;
  }

  .lead {
    margin-top: 14px;
    font-size: 1rem;
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .hero-actions {
    gap: 10px;
    margin-top: 22px;
  }

  .button {
    min-height: 46px;
    padding: 10px 18px;
    font-size: 0.95rem;
  }

  .section {
    padding: 58px 0;
    scroll-margin-top: 118px;
  }

  .section-heading {
    margin-bottom: 20px;
  }

  .section-heading p:not(.eyebrow) {
    margin-top: 8px;
    font-size: 0.94rem;
  }

  .character-card {
    grid-template-columns: 1fr;
    gap: 14px;
    min-height: 0;
    padding: 18px;
    border-radius: 22px;
  }

  .character-icon {
    width: min(58vw, 168px);
    justify-self: center;
    border-width: 6px;
  }

  .character-body {
    text-align: center;
  }

  .character-body p:not(.card-label),
  .manga-body p,
  .download-card p,
  .contact-panel p {
    font-size: 0.94rem;
  }

  .tag-list {
    justify-content: center;
    gap: 7px;
    margin-top: 14px;
  }

  .tag-list li {
    padding: 4px 10px;
    font-size: 0.8rem;
  }

  .manga-body,
  .download-card {
    padding: 18px;
  }

  .manga-thumb {
    aspect-ratio: 16 / 10;
    font-size: 1.75rem;
  }

  .news-item {
    grid-template-columns: 1fr;
    gap: 4px;
    align-items: start;
    padding: 15px 17px;
    border-radius: 18px;
  }

  .news-item p {
    font-size: 0.94rem;
  }

  .download-icon {
    width: 60px;
    height: 60px;
    border-radius: 20px;
  }

  .download-card .button,
  .contact-panel .button {
    width: 100%;
  }

  .contact-panel {
    gap: 18px;
    padding: 22px 18px;
    border-radius: 22px;
  }

  .contact-panel h2 {
    font-size: clamp(1.65rem, 8vw, 2.1rem);
  }

  .site-footer {
    padding-bottom: 28px;
  }
}

@media (max-width: 380px) {
  .brand span:last-child {
    max-width: 10.5em;
    white-space: normal;
    line-height: 1.25;
  }

  .hero-visual {
    min-height: 250px;
  }

  .hero-visual img {
    max-height: 250px;
  }

  h1 {
    font-size: 2.25rem;
  }
}
