/* ===== Variables ===== */
:root {
  --bg: #fff0f6;
  --fg: #3d1a2e;
  --pink-main: #ff6eb0;
  --pink-light: #ffb3d9;
  --pink-mid: #ff8dc7;
  --pink-deep: #d63384;
  --pink-soft: #ffe0f0;
  --gold: #c9a227;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(214, 51, 132, 0.12);
  --radius: 1.5rem;
  --max: 64rem;
  --header-h: 3.5rem;
  --tab-h: 4.25rem;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --transition: 280ms cubic-bezier(0.32, 0.72, 0, 1);
  --desktop: 900px;
  /* 画面背景の透過率（0〜1）。子要素には影響しない */
  --screen-bg-alpha: 0.6;
}

/* ===== Reset / Base ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--fg);
  background: var(--bg);
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  line-height: 1.6;
  -webkit-tap-highlight-color: transparent;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

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

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

button {
  font: inherit;
  color: inherit;
}

h1, h2, h3, p {
  margin: 0;
}

/* ===== Animations ===== */
@keyframes sparkle {
  0%, 100% { opacity: 1; transform: scale(1) rotate(0deg); }
  50% { opacity: 0.5; transform: scale(1.3) rotate(15deg); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

/* ファンアート背景：右上 → 左下へ1枚ずつ順番に流れる */
.fan-art-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.fan-art-bg__item {
  position: absolute;
  top: var(--y, 4vh);
  left: var(--x, 58vw);
  width: auto;
  height: auto;
  max-width: min(var(--size, 280px), 42vw);
  max-height: min(var(--size, 280px), 42vh);
  border-radius: 1rem;
  overflow: visible;
  box-shadow: 0 8px 24px rgba(214, 51, 132, 0.08);
  opacity: 0;
  animation: fan-art-drift-seq var(--duration, 66s) linear var(--delay, 0s) infinite;
  will-change: transform, opacity;
}

.fan-art-bg__item img {
  width: auto;
  height: auto;
  max-width: min(var(--size, 280px), 42vw);
  max-height: min(var(--size, 280px), 42vh);
  object-fit: contain;
  border-radius: 1rem;
  filter: saturate(0.9) brightness(1.05);
}

.fan-art-bg.is-static .fan-art-bg__item {
  animation: none;
  opacity: var(--fade, 0.1);
  transform: rotate(var(--rot, -8deg));
}

.fan-art-bg.is-static .fan-art-bg__item:nth-child(2) {
  top: 12vh;
  left: 8vw;
}

.fan-art-bg.is-static .fan-art-bg__item:nth-child(3) {
  top: 58vh;
  left: 62vw;
}

.fan-art-bg.is-static .fan-art-bg__item:nth-child(n + 4) {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .fan-art-bg__item {
    animation: none;
    opacity: var(--fade, 0.1);
    transform: rotate(var(--rot, -8deg));
  }
}

.sparkle { animation: sparkle 2s ease-in-out infinite; }
.float { animation: float 3s ease-in-out infinite; }
.heartbeat {
  animation: heartbeat 1.5s ease-in-out infinite;
  display: inline-block;
}

/* ===== Shared bits ===== */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1rem;
}

.container-narrow {
  max-width: 48rem;
}

.section-header {
  text-align: center;
  margin-bottom: 1.75rem;
}

.section-header h2 {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 900;
  color: var(--pink-deep);
}

.section-line {
  width: 5rem;
  height: 3px;
  margin: 0.6rem auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--pink-main), var(--pink-light));
}

.section-sub {
  margin-top: 0.75rem;
  color: var(--pink-main);
  font-size: 0.85rem;
}

.eyebrow {
  color: var(--pink-main);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.emoji-lg { font-size: 2rem; margin-bottom: 0.75rem; }
.emoji-xl { font-size: 3rem; margin-bottom: 0.5rem; }

.card {
  background: rgba(255, 255, 255, 0.85);
  border: 2px solid #fbcfe8;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  border-radius: 999px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn:hover { transform: scale(1.04); }
.btn:active { transform: scale(0.97); }

.btn-primary {
  color: var(--white);
  background: linear-gradient(90deg, var(--pink-main), var(--pink-mid));
  box-shadow: 0 8px 20px rgba(255, 110, 176, 0.35);
}

.btn-outline {
  color: var(--pink-main);
  background: rgba(255, 255, 255, 0.7);
  border: 2px solid #f472b6;
}

.btn-outline:hover { background: #fdf2f8; }

.btn-youtube {
  color: var(--white);
  background: linear-gradient(90deg, #ff0000, #cc0000);
  box-shadow: 0 8px 20px rgba(255, 0, 0, 0.25);
}

/* ===== PC site header / footer: hidden on mobile ===== */
.site-header,
.site-footer {
  display: none;
}

/* =========================================================
   MOBILE (< 900px): App shell with bottom tabs
   ========================================================= */
@media (max-width: 899.98px) {
  html,
  body {
    height: 100%;
    overflow: hidden;
  }

  body {
    background:
      radial-gradient(ellipse at 20% 0%, #ffd6ed 0%, transparent 50%),
      linear-gradient(160deg, #fce7f3 0%, #fff0f6 100%);
  }

  .app {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    background: transparent;
    overflow: hidden;
    z-index: 1;
  }

  .app-header {
    flex-shrink: 0;
    height: calc(var(--header-h) + var(--safe-top));
    padding: var(--safe-top) 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid #fbcfe8;
    z-index: 20;
  }

  .app-header-logo {
    height: 2.25rem;
    object-fit: cover;
    border-radius: 0.65rem;
    border: 2px solid #fce7f3;
  }

  .app-header-title {
    font-size: 1rem;
    font-weight: 900;
    color: var(--pink-deep);
    line-height: 1.2;
  }

  .app-header-sub {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--pink-main);
    opacity: 0.75;
  }

  .app-screens {
    position: relative;
    flex: 1;
    min-height: 0;
    overflow: hidden;
    outline: none;
    touch-action: pan-y;
    cursor: grab;
  }

  .app-screens.is-swiping {
    touch-action: none;
    cursor: grabbing;
    user-select: none;
    -webkit-user-select: none;
  }

  .app-screens.is-swiping * {
    user-select: none !important;
    -webkit-user-select: none !important;
    cursor: grabbing !important;
  }

  /* プル更新中はネイティブスクロールを止め、途中キャンセルを防ぐ */
  .app-screens.is-pulling {
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
  }

  .app-screens.is-pulling .screen-scroll {
    touch-action: none;
    overflow-y: hidden;
  }

  body.is-page-swiping {
    cursor: grabbing;
    user-select: none;
    -webkit-user-select: none;
  }

  .screen {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    /* 背景透過は rgba のアルファで制御（opacity だと子要素も薄くなる） */
    background: rgba(255, 240, 246, var(--screen-bg-alpha));
    transform: translateX(100%);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition:
      transform var(--transition),
      opacity calc(var(--transition) * 0.85);
    will-change: transform, opacity;
    box-shadow: none;
  }

  .screen[hidden] {
    display: flex !important;
  }

  /* 非表示確定後は再トランジションでうっすら残らないようにする */
  .screen[hidden]:not(.is-exit-left):not(.is-exit-right):not(.is-peek):not(.is-dragging):not(.is-settling):not(.is-enter-from-left):not(.is-enter-from-right):not(.is-active) {
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transition: none !important;
  }

  .screen.is-active {
    transform: translateX(0);
    /* 画面の表示/非表示用。背景透過には使わない */
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    z-index: 2;
    /* 背景だけ透過したい場合は --screen-bg-alpha を変更 */
    background: rgba(255, 240, 246, var(--screen-bg-alpha));
  }

  .screen:focus {
    outline: none;
  }

  .screen:focus-visible {
    outline: 2px solid var(--pink-main);
    outline-offset: -2px;
  }

  .screen.is-exit-left {
    transform: translateX(-40%);
    opacity: 0;
    visibility: visible;
    z-index: 1;
  }

  .screen.is-exit-right {
    transform: translateX(40%);
    opacity: 0;
    visibility: visible;
    z-index: 1;
  }

  .screen.is-enter-from-left,
  .screen.is-enter-from-right {
    visibility: visible;
  }

  .screen.is-enter-from-left { transform: translateX(-100%); }
  .screen.is-enter-from-right { transform: translateX(100%); }

  /* 指ドラッグ中 */
  .screen.is-dragging,
  .screen.is-peek {
    transition: none !important;
    opacity: 1 !important;
    pointer-events: none;
    visibility: visible !important;
  }

  .screen.is-dragging {
    z-index: 3;
    pointer-events: auto;
    box-shadow: -12px 0 32px rgba(61, 26, 46, 0.12);
  }

  .screen.is-peek {
    z-index: 2;
  }

  .screen.is-settling {
    pointer-events: none;
    transition:
      transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
      opacity 280ms ease !important;
  }

  .screen-scroll {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: none;
    touch-action: pan-y;
  }

  .app-screens.is-swiping .screen-scroll {
    touch-action: none;
    overflow-y: hidden;
  }

  /* プル・トゥ・リフレッシュ中の視覚フィードバック */
  .screen-scroll.is-pulling {
    transition: none !important;
    will-change: transform;
  }

  .screen-scroll::-webkit-scrollbar { width: 6px; }
  .screen-scroll::-webkit-scrollbar-thumb {
    background: var(--pink-light);
    border-radius: 4px;
  }

  .screen-body {
    padding: 1.5rem 1rem 2rem;
  }

  .tab-bar {
    flex-shrink: 0;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    height: calc(var(--tab-h) + var(--safe-bottom));
    padding: 0.35rem 0.25rem var(--safe-bottom);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid #fbcfe8;
    box-shadow: 0 -8px 24px rgba(214, 51, 132, 0.06);
    z-index: 20;
  }

  .tab-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0.35rem 0.15rem;
    border-radius: 0.85rem;
    color: #c484a0;
    transition: color 0.2s, transform 0.15s;
    user-select: none;
  }

  .tab-item:active { transform: scale(0.92); }
  .tab-item.is-active { color: var(--pink-deep); }
  .tab-item.is-active .tab-icon { transform: translateY(-1px) scale(1.08); }
  .tab-icon { font-size: 1.2rem; line-height: 1; transition: transform 0.2s; }
  .tab-label {
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    line-height: 1.2;
  }

  .hero {
    position: relative;
    overflow: hidden;
    min-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    /* 透過は親 .screen の --screen-bg-alpha に合わせる（二重に重ねない） */
    background: transparent;
    padding: 1.5rem 1rem 2.5rem;
  }

  .hero-wave { display: none; }

  .home-hint {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0.75rem;
    text-align: center;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--pink-main);
    opacity: 0.55;
    pointer-events: none;
    letter-spacing: 0.06em;
  }

  .app-copyright {
    margin-top: 2rem;
    text-align: center;
    font-size: 0.7rem;
    color: var(--pink-main);
    opacity: 0.55;
  }

  @media (prefers-reduced-motion: reduce) {
    .screen {
      transition: opacity 0.15s ease;
      transform: none !important;
    }
    .screen.is-exit-left,
    .screen.is-exit-right,
    .screen.is-enter-from-left,
    .screen.is-enter-from-right {
      transform: none !important;
    }
  }
}

/* =========================================================
   PC (≥ 900px): Original scroll website layout
   ========================================================= */
@media (min-width: 900px) {
  html,
  body {
    height: auto;
    overflow: auto;
  }

  body {
    background: var(--bg);
  }

  .site-header {
    display: block;
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 2px solid #fbcfe8;
    box-shadow: 0 1px 8px rgba(214, 51, 132, 0.06);
  }

  .header-inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0.55rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
  }

  .logo-link {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    min-width: 0;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .logo-link:hover {
    transform: translateY(-1px);
    opacity: 0.92;
  }

  .header-logo-mark {
    flex-shrink: 0;
    width: 2.75rem;
    height: 2.75rem;
    object-fit: cover;
    border-radius: 0.85rem;
    border: 2px solid #fce7f3;
    box-shadow: 0 4px 12px rgba(214, 51, 132, 0.18);
    background: #fff;
  }

  .logo-text {
    display: flex;
    flex-direction: column;
    gap: 0.05rem;
    min-width: 0;
    line-height: 1.15;
  }

  .logo-name {
    font-size: 1.05rem;
    font-weight: 900;
    letter-spacing: 0.02em;
    color: var(--pink-deep);
  }

  .logo-sub {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--pink-main);
    opacity: 0.85;
  }

  .header-logo {
    height: 3.5rem;
    width: auto;
    object-fit: contain;
  }

  .nav-desktop {
    display: flex;
    align-items: center;
    gap: 1.5rem;
  }

  .nav-desktop a {
    position: relative;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--pink-main);
    transition: color 0.2s;
  }

  .nav-desktop a:hover,
  .nav-desktop a.is-active {
    color: var(--pink-deep);
  }

  .nav-desktop a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: #f472b6;
    border-radius: 999px;
    transition: width 0.2s;
  }

  .nav-desktop a:hover::after,
  .nav-desktop a.is-active::after {
    width: 100%;
  }

  .app {
    display: block;
    position: relative;
    width: 100%;
    max-width: none;
    background: transparent;
    overflow: visible;
    z-index: 1;
  }

  .app-header,
  .tab-bar,
  .home-hint,
  .app-copyright {
    display: none !important;
  }

  .app-screens {
    position: static;
    overflow: visible;
  }

  .screen {
    position: static !important;
    display: block !important;
    transform: none !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    transition: none !important;
    background: transparent;
  }

  .screen[hidden] {
    display: block !important;
  }

  .screen-scroll {
    overflow: visible;
  }

  .screen-body {
    padding: 0;
  }

  .section {
    padding: 5rem 1rem;
    background: rgba(255, 240, 246, var(--screen-bg-alpha));
  }

  .section-alt {
    background: linear-gradient(
      135deg,
      rgba(255, 240, 246, var(--screen-bg-alpha)) 0%,
      rgba(255, 232, 243, var(--screen-bg-alpha)) 100%
    );
  }

  .section-header {
    margin-bottom: 3rem;
  }

  .section-header h2 {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
  }

  .section-line {
    width: 6rem;
    height: 4px;
    margin: 0.75rem auto 0;
  }

  .section-sub {
    margin-top: 1rem;
    font-size: 0.9rem;
  }

  .eyebrow {
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
  }

  .emoji-lg {
    margin-bottom: 1rem;
  }

  .emoji-xl {
    font-size: 3.5rem;
    margin-bottom: 0.75rem;
  }

  .card {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.8);
  }

  .btn {
    padding: 0.75rem 2rem;
  }

  .btn:hover {
    transform: scale(1.05);
  }

  .btn-primary:hover {
    box-shadow: 0 12px 28px rgba(255, 110, 176, 0.45);
  }

  /* Hero */
  .hero {
    position: relative;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(
      135deg,
      rgba(255, 224, 240, var(--screen-bg-alpha)) 0%,
      rgba(255, 240, 246, var(--screen-bg-alpha)) 40%,
      rgba(255, 214, 237, var(--screen-bg-alpha)) 100%
    );
    padding: 0;
  }

  .hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    line-height: 0;
    pointer-events: none;
  }

  .hero-wave svg {
    width: 100%;
    height: 60px;
    display: block;
  }

  .hero-wave path {
    fill: rgba(255, 240, 246, 0.55);
  }

  .hero-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 5rem 1rem;
    max-width: var(--max);
    margin: 0 auto;
    gap: 2.5rem;
  }

  .hero-text {
    flex: none;
    text-align: center;
  }

  .hero-text h1 {
    font-size: clamp(2.75rem, 8vw, 3.75rem);
  }

  .hero-text .lead {
    margin-left: auto;
    margin-right: auto;
    max-width: 28rem;
    font-size: 1.1rem;
    margin-bottom: 2rem;
  }

  .cta-group {
    justify-content: center;
    gap: 1rem;
  }

  .hero-visual {
    flex: none;
    display: flex;
    justify-content: center;
  }

  .hero-logo {
    box-shadow: 0 20px 50px rgba(214, 51, 132, 0.25);
    border: 4px solid rgba(255, 255, 255, 0.8);
  }

  .profile-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .profile-mascot {
    font-size: 2rem;
  }

  .profile-card h3,
  .message-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
  }

  .profile-en {
    font-size: 0.85rem;
  }

  .profile-list {
    gap: 0.75rem;
    font-size: 0.9rem;
  }

  .profile-list dt {
    width: 6rem;
  }

  .tags {
    margin-top: 1.5rem;
    gap: 0.5rem;
  }

  .tags span {
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
  }

  .message-card p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
  }

  .note-box {
    margin-top: 1.5rem;
    padding: 1rem;
  }

  .note-box p {
    font-size: 0.9rem;
  }

  .activity-grid {
    gap: 1.5rem;
    grid-template-columns: 1fr 1fr;
  }

  .activity-card:hover {
    transform: scale(1.05);
  }

  .activity-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
  }

  .activity-card:nth-child(4) h3 {
    color: #9b59b6;
  }

  .activity-card p {
    font-size: 0.875rem;
  }

  .site-footer {
    display: block;
    position: relative;
    z-index: 1;
    padding: 2.5rem 1rem;
    text-align: center;
    background: #3d1a2e;
    color: var(--pink-light);
  }

  .footer-title {
    font-size: 1.1rem;
    font-weight: 900;
    color: var(--pink-mid);
    margin-bottom: 0.25rem;
  }

  .footer-en {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    opacity: 0.7;
    margin-bottom: 1.5rem;
  }

  .footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
  }

  .footer-nav a:hover { color: #f9a8d4; }

  .footer-line {
    width: 6rem;
    height: 1px;
    margin: 0 auto 1.5rem;
    background: var(--pink-mid);
    opacity: 0.3;
  }

  .copyright {
    font-size: 0.75rem;
    opacity: 0.5;
  }

  ::-webkit-scrollbar { width: 8px; }
  ::-webkit-scrollbar-track { background: #ffe0ef; }
  ::-webkit-scrollbar-thumb {
    background: var(--pink-main);
    border-radius: 4px;
  }
}

@media (min-width: 1024px) {
  .activity-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .gallery-item {
    gap: 0.5rem;
    font-size: 2.5rem;
  }

  .gallery-item span {
    font-size: 0.75rem;
  }

  .gallery-note {
    margin-top: 2.5rem;
    font-size: 0.9rem;
  }

  .links-list {
    gap: 1rem;
  }

  .link-card {
    gap: 1.25rem;
    padding: 1.25rem 1.5rem;
  }

  .link-icon {
    width: 2rem;
    font-size: 1.5rem;
  }

  .link-text strong {
    font-size: 1.1rem;
  }

  .link-text small {
    font-size: 0.75rem;
    margin-top: 0.15rem;
  }

  .contact-card {
    margin-top: 3rem;
  }

  .contact-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
  }

  .contact-card p {
    font-size: 0.9rem;
  }
}

/* ===== Hero shared (mobile defaults) ===== */
.hero-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  user-select: none;
}

.decor-1 { position: absolute; top: 1.5rem; left: 1.5rem; color: #f9a8d4; font-size: 1.5rem; }
.decor-2 { position: absolute; top: 3rem; right: 2rem; color: #f9a8d4; font-size: 1.5rem; animation-delay: 0.5s; }
.decor-3 { position: absolute; bottom: 5rem; left: 20%; color: #f9a8d4; font-size: 1.5rem; animation-delay: 1s; }
.decor-4 { position: absolute; top: 40%; right: 18%; color: #f9a8d4; font-size: 1.5rem; animation-delay: 1.5s; }

.decor-big-heart,
.decor-big-star {
  position: absolute;
  color: #fce7f3;
  user-select: none;
}

.decor-big-heart {
  top: -2rem;
  right: -2rem;
  font-size: 9rem;
}

.decor-big-star {
  bottom: -1.5rem;
  left: -1.5rem;
  font-size: 7rem;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
}

.hero-text { text-align: center; }

.hero-text h1 {
  font-size: clamp(2.4rem, 10vw, 3.25rem);
  font-weight: 900;
  color: var(--pink-deep);
  line-height: 1.15;
  margin-bottom: 0.85rem;
}

.hero-text .lead {
  color: #db2777;
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.hero-visual {
  display: flex;
  justify-content: center;
  position: relative;
}

.hero-glow {
  position: absolute;
  inset: 8%;
  border-radius: var(--radius);
  background: var(--pink-main);
  filter: blur(36px);
  opacity: 0.4;
}

.hero-logo {
  position: relative;
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(214, 51, 132, 0.25);
  border: 4px solid rgba(255, 255, 255, 0.85);
}

/* ===== Profile / Activity / Gallery / Links content ===== */
.profile-grid {
  display: grid;
  gap: 1.25rem;
}

.profile-card { position: relative; overflow: hidden; }

.profile-mascot {
  position: absolute;
  top: 0.65rem;
  right: 0.75rem;
  font-size: 1.75rem;
  line-height: 1;
  z-index: 1;
  pointer-events: none;
}

.message-card {
  position: relative;
}

.message-card > .emoji-lg {
  position: absolute;
  top: 0.65rem;
  right: 0.75rem;
  margin: 0;
  line-height: 1;
  z-index: 1;
  pointer-events: none;
}

.profile-card h3,
.message-card h3 {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--pink-deep);
  margin-bottom: 0.4rem;
  padding-right: 2.5rem;
}

.profile-en {
  color: var(--pink-main);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.profile-list {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.875rem;
}

.profile-list div { display: flex; gap: 0.75rem; }

.profile-list dt {
  width: 5.5rem;
  flex-shrink: 0;
  font-weight: 700;
  color: var(--pink-main);
}

.profile-list dd { margin: 0; color: #374151; }

.tags {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.tags span {
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--white);
  background: linear-gradient(90deg, var(--pink-main), var(--pink-mid));
}

.message-card p {
  color: #4b5563;
  font-size: 0.875rem;
  margin-bottom: 0.85rem;
}

.note-box {
  margin-top: 1.25rem;
  padding: 0.85rem 1rem;
  border-radius: 1rem;
  background: #fdf2f8;
  border: 1px solid #fbcfe8;
}

.note-box p {
  margin: 0;
  color: var(--pink-main);
  font-weight: 700;
  font-size: 0.85rem;
}

.activity-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

.activity-card {
  position: relative;
  transition: transform 0.2s;
}

.activity-card:hover { transform: translateY(-2px); }

.activity-card > .emoji-lg {
  position: absolute;
  top: 0.65rem;
  right: 0.75rem;
  margin: 0;
  line-height: 1;
  z-index: 1;
  pointer-events: none;
}

.activity-card h3 {
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--pink-main);
  margin-bottom: 0.4rem;
  padding-right: 2.5rem;
}

.activity-card:nth-child(2) h3 { color: var(--pink-mid); }
.activity-card:nth-child(3) h3 { color: var(--gold); }

.activity-card p {
  color: #4b5563;
  font-size: 0.85rem;
}

.youtube-box {
  margin-top: 2rem;
  text-align: center;
}

.youtube-box > h3 {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--pink-deep);
  margin-bottom: 1rem;
}

.youtube-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.youtube-card p {
  color: var(--pink-main);
  font-weight: 700;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.gallery-item {
  aspect-ratio: 1;
  border-radius: 1rem;
  border: 2px dashed #f9a8d4;
  background: #fdf2f8;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 2.25rem;
  transition: background 0.2s, transform 0.2s;
}

.gallery-item:hover {
  background: #fce7f3;
  transform: scale(1.02);
}

.gallery-item span {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--pink-main);
}

.gallery-grid .gallery-item--art {
  width: 100%;
  height: auto;
  min-width: 0;
  min-height: 0;
  padding: 0.35rem;
  border: 2px solid #f9a8d4;
  background: #fff;
  overflow: hidden;
  cursor: zoom-in;
  font: inherit;
  color: inherit;
  appearance: none;
  -webkit-appearance: none;
}

.gallery-grid .gallery-item--art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.25s ease;
}

.gallery-grid .gallery-item--art:hover {
  background: #fff;
}

.gallery-grid .gallery-item--art:hover img {
  transform: scale(1.05);
}

.gallery-grid .gallery-item--art:focus-visible {
  outline: 3px solid var(--pink-main);
  outline-offset: 2px;
}

body.is-lightbox-open {
  overflow: hidden;
}

.fan-art-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.fan-art-lightbox[hidden] {
  display: none;
}

.fan-art-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(40, 10, 30, 0.78);
}

.fan-art-lightbox__panel {
  position: relative;
  z-index: 1;
  max-width: min(92vw, 960px);
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.fan-art-lightbox__img {
  max-width: 100%;
  max-height: calc(88vh - 2.5rem);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 0.75rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  background: #fff;
}

.fan-art-lightbox__close,
.fan-art-lightbox__nav {
  appearance: none;
  -webkit-appearance: none;
  border: none;
  cursor: pointer;
  font: inherit;
  color: #fff;
  background: rgba(255, 110, 176, 0.92);
  transition: background 0.15s, transform 0.15s;
}

.fan-art-lightbox__close:hover,
.fan-art-lightbox__nav:hover {
  background: var(--pink-deep, #e84a9a);
}

.fan-art-lightbox__close {
  position: absolute;
  top: -0.25rem;
  right: -0.25rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  font-size: 1.5rem;
  line-height: 1;
  z-index: 2;
}

.fan-art-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  font-size: 1.75rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fan-art-lightbox__nav--prev {
  left: -0.5rem;
}

.fan-art-lightbox__nav--next {
  right: -0.5rem;
}

.fan-art-lightbox__counter {
  margin: 0;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

@media (max-width: 640px) {
  .fan-art-lightbox__nav--prev {
    left: 0.25rem;
  }

  .fan-art-lightbox__nav--next {
    right: 0.25rem;
  }

  .fan-art-lightbox__close {
    top: 0.25rem;
    right: 0.25rem;
  }
}

.gallery-note {
  margin-top: 1.75rem;
  text-align: center;
  color: var(--pink-main);
  font-size: 0.85rem;
}

.gallery-note a {
  font-weight: 700;
  text-decoration: underline;
}

.gallery-note a:hover { color: var(--pink-deep); }

.links-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.link-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  border-radius: 1rem;
  font-weight: 700;
  box-shadow: var(--shadow);
  border: 2px solid rgba(255, 255, 255, 0.5);
  transition: transform 0.2s, box-shadow 0.2s;
}

.link-card:hover {
  transform: scale(1.02);
  box-shadow: 0 14px 36px rgba(214, 51, 132, 0.18);
}

.link-icon {
  width: 1.75rem;
  text-align: center;
  font-size: 1.35rem;
}

.link-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.link-text strong { font-size: 1rem; }

.link-text small {
  font-size: 0.7rem;
  font-weight: 400;
  opacity: 0.7;
  margin-top: 0.1rem;
}

.link-arrow { margin-left: auto; opacity: 0.6; }

.link-fanbox { background: #f5f5f5; color: #000; }
.link-x { background: #f5f5f5; color: #000; }
.link-youtube { background: #ff0000; color: #fff; }
.link-twitch { background: #9146ff; color: #fff; }
.link-tiktok { background: #010101; color: #fff; }

.contact-card {
  margin-top: 2rem;
  text-align: center;
}

.contact-card h3 {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--pink-deep);
  margin-bottom: 0.4rem;
}

.contact-card p {
  color: #4b5563;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

/* PC hero / layout overrides (after shared defaults) */
@media (min-width: 900px) {
  .hero-content {
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
    padding: 5rem 1rem;
    max-width: var(--max);
    margin: 0 auto;
  }

  .hero-text {
    flex: none;
    text-align: center;
  }

  .hero-text h1 {
    font-size: clamp(2.75rem, 5vw, 3.75rem);
  }

  .hero-text .lead {
    font-size: 1.1rem;
    max-width: 28rem;
    margin-left: auto;
    margin-right: auto;
  }

  .cta-group {
    justify-content: center;
  }

  .hero-visual {
    flex: none;
  }

  .decor-big-heart {
    font-size: 12rem;
  }

  .decor-big-star {
    font-size: 9rem;
  }

  .youtube-box {
    margin-top: 4rem;
  }

  /* PCは旧デザイン（old_style.css）に寄せる */
  .decor-1 { top: 2.5rem; left: 2.5rem; font-size: 1.75rem; }
  .decor-2 { top: 5rem; right: 5rem; font-size: 1.75rem; animation-delay: 0.5s; }
  .decor-3 { bottom: 4rem; left: 25%; font-size: 1.75rem; animation-delay: 1s; }
  .decor-4 { top: 33%; right: 33%; font-size: 1.75rem; animation-delay: 1.5s; }

  .hero-glow {
    inset: 0;
    filter: blur(40px);
  }
}
