﻿:root {
  --bg-main: #fff8f7;
  --bg-sub: #fffdf8;
  --paper: rgba(255, 255, 255, 0.82);
  --paper-strong: rgba(255, 255, 255, 0.92);
  --ink: #4f343d;
  --ink-soft: #7b5d64;
  --accent: #d74b65;
  --accent-deep: #b93852;
  --accent-soft: #ffe0e6;
  --gold: #d6a856;
  --line: rgba(215, 75, 101, 0.18);
  --shadow: 0 18px 60px rgba(200, 82, 111, 0.16);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --header-height: 78px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  color: var(--ink);
  line-height: 1.8;
  overflow-x: hidden;
  background:
    radial-gradient(circle at top left, rgba(255, 210, 223, 0.9), transparent 28rem),
    radial-gradient(circle at top right, rgba(255, 240, 205, 0.75), transparent 24rem),
    linear-gradient(180deg, #fff7f9 0%, #fffdf9 48%, #fff7f5 100%);
}

body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button {
  font: inherit;
}

.sparkle-layer,
.petal-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.sparkle-layer {
  z-index: -1;
  opacity: 0.55;
  background-image:
    radial-gradient(circle at 10% 15%, rgba(255,255,255,0.95) 0 2px, transparent 3px),
    radial-gradient(circle at 70% 20%, rgba(255,255,255,0.7) 0 1.5px, transparent 3px),
    radial-gradient(circle at 85% 35%, rgba(255,233,188,0.85) 0 2px, transparent 3px),
    radial-gradient(circle at 30% 80%, rgba(255,255,255,0.8) 0 1.4px, transparent 3px);
  background-size: 240px 240px, 300px 300px, 280px 280px, 320px 320px;
}

.petal-layer {
  z-index: 1;
  overflow: hidden;
}

.petal {
  position: absolute;
  top: -24px;
  width: 12px;
  height: 16px;
  background: center / contain no-repeat;
  opacity: 0;
  filter: drop-shadow(0 0 6px rgba(255, 176, 194, 0.35));
  animation: petalFall linear forwards;
}

@keyframes petalFall {
  0% {
    transform: translate3d(0, -10vh, 0) rotate(0deg);
    opacity: 0;
  }
  8% {
    opacity: 0.9;
  }
  100% {
    transform: translate3d(var(--drift), 110vh, 0) rotate(460deg);
    opacity: 0;
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(16px, 4vw, 48px);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(215, 75, 101, 0.1);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-badge {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: block;
  object-fit: cover;
  border: 1px solid rgba(215, 75, 101, 0.18);
  box-shadow: 0 8px 22px rgba(215, 75, 101, 0.14);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-text strong {
  font-size: 0.98rem;
}

.brand-text small {
  color: var(--ink-soft);
  font-size: 0.73rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-nav a {
  color: var(--ink-soft);
  font-size: 0.94rem;
  transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--accent-deep);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(215, 75, 101, 0.16);
  background: rgba(255, 255, 255, 0.8);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--accent-deep);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

main {
  position: relative;
  z-index: 3;
}

section {
  scroll-margin-top: calc(var(--header-height) + 16px);
}

.hero,
.profile,
.gallery,
.notes,
.credit,
.style {
  width: min(1200px, calc(100% - 32px));
  margin-inline: auto;
}

.hero {
  min-height: calc(100svh - var(--header-height));
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
  padding: 36px 0 80px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-deep);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
}

.hero h1,
.section-heading h2,
.credit-box h2,
.profile-info h3 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  line-height: 1.15;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.8rem, 5.2vw, 5.8rem);
  letter-spacing: 0.02em;
}

.artist-title-name {
  display: inline-block;
  white-space: nowrap;
}


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


.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.button.primary {
  background: linear-gradient(135deg, #ff748f, #d94f69);
  color: white;
  box-shadow: 0 14px 26px rgba(215, 75, 101, 0.25);
}

.button.secondary,
.button.small {
  background: rgba(255,255,255,0.82);
  color: var(--accent-deep);
  border: 1px solid rgba(215, 75, 101, 0.16);
}

.icon-button {
  width: 52px;
  min-width: 52px;
  padding: 0;
}

.icon-button img {
  width: 26px;
  height: 26px;
}

.shrine-card,
.shrine-panel,
.art-card,
.style-grid article {
  background: linear-gradient(180deg, var(--paper-strong), rgba(255,255,255,0.78));
  border: 1px solid rgba(215, 75, 101, 0.12);
  box-shadow: var(--shadow);
}

.shrine-card,
.profile-info,
.credit-box,
.style-grid article,
.art-card {
  border-radius: var(--radius-xl);
}

.hero-visual {
  padding: 16px;
  position: relative;
}

.photo-card {
  overflow: hidden;
}

.photo-card img {
  width: 100%;
  border-radius: 24px;
  object-fit: cover;
}

.featured-photo img {
  aspect-ratio: 4 / 5;
  object-position: center 34%;
}

.portrait-photo img {
  aspect-ratio: 4 / 5;
  object-position: center top;
}

.hero-visual::before,
.profile-art::before {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: calc(var(--radius-xl) - 8px);
  border: 1px solid rgba(214, 168, 86, 0.28);
  pointer-events: none;
}

.hero-visual figcaption {
  margin-top: 12px;
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.section-heading {
  text-align: center;
  margin-bottom: 34px;
}

.section-heading.compact {
  margin-bottom: 24px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2.1rem, 4vw, 3.4rem);
}

.section-heading p:last-child {
  margin: 14px auto 0;
  max-width: 760px;
  color: var(--ink-soft);
}

.profile,
.style,
.gallery,
.notes,
.credit {
  padding: 54px 0 26px;
}

.profile-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
  gap: 26px;
  align-items: stretch;
}

.profile-art {
  position: relative;
  overflow: hidden;
  padding: 14px;
}

.profile-info {
  padding: 32px;
}

.profile-role {
  margin: 0;
  color: var(--accent-deep);
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
}

.profile-info h3 {
  margin: 8px 0 8px;
  font-size: clamp(2.1rem, 3vw, 3.1rem);
}

.profile-tagline {
  margin: 0 0 18px;
  color: #b3435d;
  font-weight: 700;
}

.profile-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.profile-meta div {
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 242, 246, 0.8);
  border: 1px solid rgba(215, 75, 101, 0.08);
}

.profile-meta dt {
  font-size: 0.8rem;
  color: var(--ink-soft);
  margin-bottom: 4px;
}

.profile-meta dd {
  margin: 0;
  font-weight: 700;
}

.profile-x-link {
  display: inline-grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin-top: 22px;
  border-radius: 50%;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.profile-x-link:hover,
.profile-x-link:focus-visible {
  transform: translateY(-3px) scale(1.04);
  filter: drop-shadow(0 12px 20px rgba(61, 30, 42, 0.18));
}

.profile-x-link img {
  width: 56px;
  height: 56px;
}

.style-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.style-grid article {
  padding: 28px 24px;
}

.style-grid span {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-bottom: 14px;
  background: linear-gradient(180deg, #fff1c9, #f3d37e);
  color: #7e5a14;
  font-weight: 700;
}

.style-grid h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.style-grid p {
  margin: 0;
  color: var(--ink-soft);
}

.filter-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 26px;
}

.filter-button {
  border: 1px solid rgba(215, 75, 101, 0.16);
  border-radius: 999px;
  background: rgba(255,255,255,0.84);
  color: var(--accent-deep);
  padding: 10px 18px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.filter-button:hover,
.filter-button.active {
  background: linear-gradient(135deg, #ff748f, #d94f69);
  color: white;
  transform: translateY(-2px);
}

.art-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.art-card {
  padding: 12px;
  text-align: left;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.art-card:hover,
.art-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 26px 66px rgba(215, 75, 101, 0.2);
}

.art-card img {
  width: 100%;
  border-radius: 22px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: #fff6f8;
}

.art-card-body {
  display: block;
  padding: 14px 8px 8px;
}

.art-card-category {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 0.8rem;
  color: var(--accent-deep);
  font-weight: 700;
}

.art-card h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}



.credit-box {
  text-align: center;
  padding: 34px 24px;
}

.credit-line {
  padding: 14px 18px;
  margin: 20px auto;
  width: min(100%, 680px);
  border-radius: 999px;
  background: rgba(255, 242, 246, 0.9);
  border: 1px solid rgba(215, 75, 101, 0.12);
  font-weight: 700;
}

.site-footer {
  width: min(1200px, calc(100% - 32px));
  margin: 40px auto 30px;
  padding: 18px 0 8px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--ink-soft);
  border-top: 1px solid rgba(215, 75, 101, 0.12);
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 100;
}

.modal.is-open {
  display: block;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(77, 39, 50, 0.45);
  backdrop-filter: blur(8px);
}

.modal-panel {
  position: relative;
  width: min(960px, calc(100% - 28px));
  margin: min(7vh, 42px) auto;
  background: rgba(255,255,255,0.97);
  border-radius: 30px;
  box-shadow: 0 40px 90px rgba(81, 37, 52, 0.28);
  overflow: hidden;
}

.modal-panel img {
  width: 100%;
  max-height: 72vh;
  object-fit: cover;
}

.modal-body {
  padding: 24px;
}

.modal-body h3 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
}


.modal-close {
  position: absolute;
  right: 16px;
  top: 16px;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  color: var(--accent-deep);
  font-size: 1.6rem;
  cursor: pointer;
}

.section-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.section-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 960px) {
  .hero,
  .profile-layout,
  .style-grid,
  .art-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 26px;
  }

  .site-nav {
    position: fixed;
    top: calc(var(--header-height) + 10px);
    right: 16px;
    width: min(280px, calc(100% - 32px));
    padding: 16px;
    border-radius: 22px;
    background: rgba(255,255,255,0.96);
    border: 1px solid rgba(215, 75, 101, 0.14);
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .profile-meta {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero,
  .profile,
  .gallery,
  .notes,
  .credit,
  .style,
  .site-footer {
    width: min(100% - 20px, 1200px);
  }

  .hero h1 {
    font-size: clamp(2.15rem, 12vw, 2.5rem);
  }

  .section-heading h2 {
    font-size: 2.2rem;
  }

  .profile-info,
  .credit-box,
  .style-grid article {
    padding: 22px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .credit-line {
    border-radius: 20px;
  }
}

