@charset "UTF-8";

:root {
  --bg: #fffaf2;
  --bg-soft: #fff3df;
  --card: #ffffff;
  --text: #2f2a3a;
  --subtext: #665f74;
  --line: #eadfcb;
  --pink: #ff6fae;
  --yellow: #ffcb47;
  --blue: #61c8ff;
  --mint: #73e2be;
  --purple: #9f7cff;
  --orange: #ff9e57;
  --shadow: 0 14px 30px rgba(108, 81, 39, 0.12);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(255, 111, 174, 0.14), transparent 28%),
    radial-gradient(circle at bottom right, rgba(97, 200, 255, 0.14), transparent 24%),
    var(--bg);
  color: var(--text);
  font-family:
    "Trebuchet MS",
    "Yu Gothic",
    "Hiragino Kaku Gothic ProN",
    sans-serif;
  line-height: 1.9;
  letter-spacing: 0.02em;
  position: relative;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

ul {
  margin: 0;
  padding: 0;
}

p {
  margin-top: 0;
}

.bg-shapes {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.shape {
  position: absolute;
  opacity: 0.22;
  animation: floatShape 8s ease-in-out infinite;
}

.shape-1 {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: var(--pink);
  top: 60px;
  left: -40px;
}

.shape-2 {
  width: 0;
  height: 0;
  border-left: 70px solid transparent;
  border-right: 70px solid transparent;
  border-bottom: 120px solid var(--yellow);
  top: 240px;
  right: 8%;
  animation-delay: 1s;
}

.shape-3 {
  width: 120px;
  height: 120px;
  background: var(--blue);
  transform: rotate(18deg);
  top: 760px;
  left: 6%;
  animation-delay: 2s;
}

.shape-4 {
  width: 140px;
  height: 140px;
  border: 20px solid var(--mint);
  border-radius: 50%;
  bottom: 120px;
  right: 6%;
  animation-delay: 0.5s;
}

.shape-5 {
  width: 160px;
  height: 160px;
  background-image: radial-gradient(var(--purple) 20%, transparent 22%);
  background-size: 18px 18px;
  top: 1120px;
  right: 18%;
  animation-delay: 2.5s;
}

.shape-6 {
  width: 160px;
  height: 40px;
  background:
    linear-gradient(135deg, transparent 25%, var(--orange) 25%, var(--orange) 50%, transparent 50%, transparent 75%, var(--orange) 75%);
  background-size: 28px 28px;
  bottom: 180px;
  left: 18%;
  transform: rotate(-12deg);
  animation-delay: 1.8s;
}

@keyframes floatShape {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-14px) rotate(3deg);
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 32px;
  background: rgba(255, 250, 242, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid rgba(234, 223, 203, 0.9);
}

.logo-area {
  position: relative;
  z-index: 2;
}

.logo-kicker {
  margin-bottom: 4px;
  font-size: 12px;
  color: var(--pink);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
}

.logo-area h1 {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: 0.08em;
  line-height: 1.2;
}

.logo-text {
  margin: 6px 0 0;
  color: var(--subtext);
  font-size: 13px;
}

.global-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.global-nav a {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 999px;
  background: #ffffff;
  border: 2px solid var(--line);
  box-shadow: 0 6px 14px rgba(130, 101, 49, 0.06);
  font-weight: 700;
  font-size: 14px;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.global-nav a:hover {
  transform: translateY(-3px);
  border-color: var(--pink);
  box-shadow: 0 10px 18px rgba(255, 111, 174, 0.15);
}

.nav-toggle {
  display: none;
  width: 52px;
  height: 52px;
  border: 2px solid var(--line);
  border-radius: 50%;
  background: #fff;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
}

main,
.site-footer {
  position: relative;
  z-index: 2;
}

.section {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto 28px;
}

.section-card {
  background: rgba(255, 255, 255, 0.86);
  border: 2px solid rgba(234, 223, 203, 0.9);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 40px;
}

.section-heading {
  margin-bottom: 28px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 800;
  color: var(--pink);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.section-label::before {
  content: "";
  width: 24px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(to right, var(--pink), var(--yellow), var(--blue));
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.3;
}

.hero {
  padding-top: 34px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: center;
}

.hero-text {
  background: rgba(255, 255, 255, 0.86);
  border: 2px solid rgba(234, 223, 203, 0.9);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 42px;
  position: relative;
  overflow: hidden;
}

.hero-text::after {
  content: "";
  position: absolute;
  right: -30px;
  top: -30px;
  width: 140px;
  height: 140px;
  background:
    linear-gradient(45deg, var(--yellow) 25%, transparent 25%, transparent 50%, var(--yellow) 50%, var(--yellow) 75%, transparent 75%);
  background-size: 24px 24px;
  opacity: 0.18;
  transform: rotate(16deg);
}

.hero-text h2 {
  margin: 0 0 18px;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.25;
}

.hero-lead {
  max-width: 560px;
  color: var(--subtext);
  margin-bottom: 26px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-block;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 800;
  border: 2px solid transparent;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.btn:hover {
  transform: translateY(-3px) scale(1.02);
}

.btn-primary {
  background: linear-gradient(135deg, var(--pink), var(--purple));
  color: #fff;
  box-shadow: 0 14px 24px rgba(159, 124, 255, 0.28);
}

.btn-secondary {
  background: #fff;
  border-color: var(--line);
}

.hero-visual {
  position: relative;
}

.hero-frame {
  position: relative;
  background: #fff;
  border: 2px solid rgba(234, 223, 203, 0.95);
  border-radius: 34px;
  padding: 18px;
  box-shadow: var(--shadow);
  transform: rotate(-2deg);
}

.hero-frame img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 24px;
}

.frame-deco {
  position: absolute;
  display: block;
}

.deco-a {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--yellow);
  top: -20px;
  right: 38px;
}

.deco-b {
  width: 40px;
  height: 40px;
  background: var(--blue);
  bottom: -14px;
  left: 42px;
  transform: rotate(20deg);
}

.deco-c {
  width: 0;
  height: 0;
  border-left: 22px solid transparent;
  border-right: 22px solid transparent;
  border-bottom: 42px solid var(--pink);
  bottom: 54px;
  right: -10px;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.about-box {
  border-radius: var(--radius-md);
  padding: 26px;
  min-height: 220px;
  position: relative;
  overflow: hidden;
  border: 2px solid rgba(234, 223, 203, 0.8);
}

.about-box h3 {
  margin: 0 0 12px;
  font-size: 22px;
}

.pattern-grid {
  background:
    linear-gradient(rgba(255,255,255,0.84), rgba(255,255,255,0.84)),
    linear-gradient(to right, rgba(255,111,174,0.18) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,111,174,0.18) 1px, transparent 1px);
  background-size: auto, 18px 18px, 18px 18px;
}

.pattern-diagonal {
  background:
    linear-gradient(rgba(255,255,255,0.88), rgba(255,255,255,0.88)),
    repeating-linear-gradient(
      -45deg,
      rgba(255,203,71,0.22),
      rgba(255,203,71,0.22) 10px,
      transparent 10px,
      transparent 20px
    );
}

.pattern-dots {
  background:
    linear-gradient(rgba(255,255,255,0.88), rgba(255,255,255,0.88)),
    radial-gradient(rgba(97,200,255,0.22) 20%, transparent 22%);
  background-size: auto, 16px 16px;
}

.news-list {
  list-style: none;
  display: grid;
  gap: 14px;
}

.news-list li {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 18px;
  align-items: start;
  padding: 18px 20px;
  background: #fff;
  border: 2px solid #f1e6d4;
  border-radius: var(--radius-md);
}

.news-list time {
  font-weight: 800;
  color: var(--subtext);
}

.news-list p {
  margin: 8px 0 0;
}

.news-tag {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--yellow);
  font-size: 12px;
  font-weight: 800;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.gallery-item {
  margin: 0;
  background: #fff;
  border: 2px solid #f1e6d4;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(130, 101, 49, 0.08);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-6px) rotate(-1deg);
  box-shadow: 0 18px 28px rgba(255, 111, 174, 0.14);
}

.gallery-button {
  width: 100%;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  position: relative;
}

.gallery-button img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(to top, rgba(47, 42, 58, 0.7), rgba(47, 42, 58, 0.18));
  color: #fff;
  opacity: 0;
  transition: opacity 0.25s ease;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.gallery-button:hover .gallery-overlay {
  opacity: 1;
}

.gallery-item figcaption {
  padding: 14px 16px 18px;
}

.gallery-item strong {
  display: block;
  margin-bottom: 4px;
  font-size: 16px;
}

.gallery-item span {
  color: var(--subtext);
  font-size: 13px;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.story-card {
  position: relative;
  background: #fff;
  border: 2px solid #f1e6d4;
  border-radius: 24px;
  padding: 26px;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(130, 101, 49, 0.08);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.story-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 18px 30px rgba(108, 81, 39, 0.12);
}

.story-card::after {
  content: "";
  position: absolute;
  right: -20px;
  bottom: -20px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  opacity: 0.18;
}

.accent-pink::after {
  background: var(--pink);
}

.accent-yellow::after {
  background: var(--yellow);
}

.accent-blue::after {
  background: var(--blue);
}

.story-icon {
  margin-bottom: 12px;
  font-size: 26px;
  font-weight: 800;
}

.story-card h3 {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.35;
}

.story-card p {
  color: var(--subtext);
  margin-bottom: 18px;
}

.story-card a {
  font-weight: 800;
  color: var(--pink);
}

.world-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 18px;
}

.world-lead {
  color: var(--subtext);
  margin-bottom: 18px;
}

.world-panels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.world-panel,
.mini-card {
  background: #fff;
  border: 2px solid #f1e6d4;
  border-radius: 22px;
  padding: 22px;
}

.world-panel h3,
.mini-card h3 {
  margin: 0 0 12px;
  font-size: 20px;
}

.world-panel ul {
  list-style: none;
  display: grid;
  gap: 10px;
}

.world-panel li {
  position: relative;
  padding-left: 16px;
}

.world-panel li::before {
  content: "●";
  position: absolute;
  left: 0;
  color: var(--blue);
  font-size: 10px;
  top: 6px;
}

.mini-card {
  min-height: 100%;
  background:
    linear-gradient(rgba(255,255,255,0.9), rgba(255,255,255,0.9)),
    repeating-linear-gradient(
      45deg,
      rgba(159,124,255,0.18),
      rgba(159,124,255,0.18) 12px,
      transparent 12px,
      transparent 24px
    );
}

.mini-label {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--mint);
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 12px;
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.link-box {
  display: block;
  background: #fff;
  border: 2px solid #f1e6d4;
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 8px 18px rgba(130, 101, 49, 0.08);
  transition:
    transform 0.28s ease,
    border-color 0.28s ease;
}

.link-box:hover {
  transform: translateY(-6px) rotate(1deg);
  border-color: var(--pink);
}

.link-shape {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--pink), var(--yellow));
  color: #fff;
  font-weight: 800;
  margin-bottom: 14px;
}

.link-box strong {
  display: block;
  margin-bottom: 6px;
  font-size: 18px;
}

.link-box p {
  margin: 0;
  color: var(--subtext);
}

.site-footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 8px;
}

.site-footer p {
  margin: 0;
  color: var(--subtext);
  font-weight: 700;
}

.to-top {
  border: 2px solid var(--line);
  background: #fff;
  color: var(--text);
  min-width: 64px;
  height: 64px;
  border-radius: 50%;
  cursor: pointer;
  font-weight: 800;
  box-shadow: 0 10px 20px rgba(130, 101, 49, 0.08);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease;
}

.to-top:hover {
  transform: translateY(-4px);
  border-color: var(--blue);
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(47, 42, 58, 0.7);
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease;
  z-index: 100;
}

.modal.show {
  opacity: 1;
  visibility: visible;
}

.modal-inner {
  position: relative;
  width: min(900px, 100%);
  background: #fff;
  border-radius: 28px;
  padding: 18px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.modal-inner img {
  width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 18px;
}

.modal-close {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: var(--pink);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(255, 111, 174, 0.24);
}

.section-card,
.hero-text,
.hero-frame {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.section-card.show,
.hero-text.show,
.hero-frame.show {
  opacity: 1;
  transform: translateY(0);
}

@media screen and (max-width: 1024px) {
  .hero-inner,
  .about-grid,
  .story-grid,
  .world-layout,
  .world-panels,
  .link-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .world-layout {
    grid-template-columns: 1fr;
  }

  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .global-nav {
    width: 100%;
  }
}

@media screen and (max-width: 768px) {
  .site-header {
    padding: 18px 20px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .global-nav {
    display: none;
    width: 100%;
  }

  .global-nav.open {
    display: block;
  }

  .global-nav ul {
    padding-top: 14px;
    flex-direction: column;
    align-items: stretch;
  }

  .global-nav a {
    width: 100%;
    text-align: center;
  }

  .section {
    width: min(100% - 20px, 1120px);
    margin-bottom: 20px;
  }

  .section-card,
  .hero-text {
    padding: 28px 20px;
  }

  .hero-inner,
  .about-grid,
  .gallery-grid,
  .story-grid,
  .world-panels,
  .link-grid {
    grid-template-columns: 1fr;
  }

  .news-list li {
    grid-template-columns: 1fr;
  }

  .hero-frame {
    transform: none;
  }

  .site-footer {
    width: min(100% - 20px, 1120px);
    flex-direction: column;
    align-items: flex-start;
  }

  .shape-2,
  .shape-5 {
    display: none;
  }
}