:root {
  --yellow: #ffe600;
  --yellow-soft: #fff4a3;
  --navy: #1a2744;
  --blue: #4169e1;
  --white: #ffffff;
  --gray: #f7f7f5;
  --text-muted: rgba(26, 39, 68, 0.65);
  --pink: #ff6b9d;
  --lime: #b8f500;
  --font-body: 'Noto Sans JP', sans-serif;
  --font-en: 'Montserrat', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--navy);
  background: var(--yellow);
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 56px);
}

/* ── Header ── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px clamp(24px, 5vw, 56px);
}

.brand-logo {
  height: clamp(48px, 6vw, 56px);
  width: auto;
}

.menu-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  background: var(--navy);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: transform 0.2s, background 0.2s;
}

.menu-btn:hover {
  transform: rotate(8deg) scale(1.05);
  background: var(--blue);
}

.menu-btn span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--white);
  border-radius: 1px;
}

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--yellow);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 80px 24px;
}

.mobile-nav[hidden] { display: none; }

.mobile-nav a {
  font-family: var(--font-en);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--navy);
}

.mobile-nav a:hover { opacity: 0.6; }

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  background: var(--yellow);
  padding: 100px clamp(24px, 5vw, 56px) 0;
  display: flex;
  flex-direction: column;
}

.hero-inner {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.hero-en {
  font-family: var(--font-en);
  font-weight: 900;
  font-size: clamp(1.8rem, 4.5vw, 3.2rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 12px;
}

.hero-tagline {
  font-weight: 900;
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  letter-spacing: 0.08em;
  margin-bottom: 28px;
  color: rgba(26, 39, 68, 0.75);
}

.hero-logo {
  width: min(100%, 180px);
  height: auto;
}

.hero-visual {
  position: relative;
  min-height: 380px;
}

.sticker {
  position: absolute;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.sticker img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 12px 24px rgba(26, 39, 68, 0.1));
}

.sticker--main {
  width: 88%;
  top: 0;
  right: 0;
  z-index: 2;
  animation: wiggle 6s ease-in-out infinite;
}

.sticker--rocket {
  width: 28%;
  bottom: 8%;
  left: -4%;
  z-index: 3;
  animation: float 5s ease-in-out infinite;
}

.sticker--bulb {
  width: 26%;
  top: 6%;
  left: 8%;
  z-index: 3;
  animation: float 4.5s ease-in-out infinite 0.5s;
}

@keyframes wiggle {
  0%, 100% { transform: rotate(-1deg); }
  50% { transform: rotate(2deg) translateY(-6px); }
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(4deg); }
}

.doodle {
  position: absolute;
  font-size: 1.4rem;
  z-index: 4;
  animation: spin-float 5s ease-in-out infinite;
}

.doodle--1 { top: 2%; right: 4%; color: var(--pink); }
.doodle--2 { bottom: 28%; left: 42%; color: var(--blue); font-size: 1.8rem; animation-delay: 0.8s; }
.doodle--3 { top: 38%; right: -2%; color: var(--navy); animation-delay: 1.2s; }
.doodle--4 { bottom: 4%; right: 18%; color: var(--lime); font-size: 1.6rem; animation-delay: 0.3s; }

@keyframes spin-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(15deg); }
}

.hero-work {
  position: relative;
  margin-top: auto;
  margin-left: auto;
  width: min(100%, 680px);
  background: var(--white);
  padding: 28px 28px 24px;
  box-shadow: 0 -8px 40px rgba(26, 39, 68, 0.08);
  border: 3px solid var(--navy);
}

.work-label {
  font-family: var(--font-en);
  font-weight: 900;
  font-size: 1.4rem;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}

.work-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: none;
}

.work-scroll::-webkit-scrollbar { display: none; }

.work-card {
  flex: 0 0 160px;
  display: block;
  padding: 16px;
  border-radius: 8px;
  border: 2px solid var(--navy);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.work-card--lime { background: var(--yellow-soft); }
.work-card--blue { background: #e8eeff; }
.work-card--pink { background: #ffe8f0; }

.work-card:hover {
  transform: translateY(-8px) rotate(-2deg);
}

.work-card img {
  width: 100%;
  height: 72px;
  object-fit: contain;
  margin-bottom: 10px;
}

.work-card span {
  font-family: var(--font-en);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.scroll-hint {
  position: absolute;
  left: clamp(24px, 5vw, 56px);
  bottom: 48px;
  font-family: var(--font-en);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  writing-mode: vertical-rl;
  color: rgba(26, 39, 68, 0.45);
}

.cityscape {
  width: 100%;
  overflow: hidden;
  line-height: 0;
  background: var(--yellow);
}

.cityscape img {
  width: 100%;
  height: auto;
  opacity: 0.9;
}

/* ── About ── */
.about {
  background: var(--white);
  padding: clamp(64px, 10vw, 100px) 0 0;
}

.about-title {
  font-weight: 900;
  font-size: clamp(2.2rem, 6vw, 4rem);
  line-height: 1.35;
  letter-spacing: 0.02em;
  margin-bottom: 32px;
}

.about-lead {
  font-weight: 900;
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  line-height: 2;
  color: var(--text-muted);
  max-width: 36em;
  margin-bottom: 48px;
}

.marquee {
  overflow: hidden;
  border-top: 2px solid var(--navy);
  border-bottom: 2px solid var(--navy);
  padding: 20px 0;
  margin-bottom: clamp(48px, 8vw, 80px);
  background: var(--yellow);
}

.marquee-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: marquee 24s linear infinite;
}

.marquee-track span {
  font-family: var(--font-en);
  font-weight: 900;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  letter-spacing: 0.04em;
  white-space: nowrap;
  flex-shrink: 0;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.about-body-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  padding-bottom: clamp(48px, 8vw, 64px);
}

.about-body {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.about-illust img {
  width: 100%;
  height: auto;
}

.icon-strip {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  padding-bottom: clamp(64px, 10vw, 96px);
  min-height: 140px;
}

.icon-strip-item {
  width: auto;
  height: clamp(64px, 12vw, 100px);
  object-fit: contain;
  animation: float 4s ease-in-out infinite;
}

.icon-strip-item--1 { animation-delay: 0s; }
.icon-strip-item--2 { animation-delay: 0.6s; height: clamp(80px, 14vw, 120px); }
.icon-strip-item--3 { animation-delay: 1.2s; }
.icon-strip-item--4 { animation-delay: 0.3s; border-radius: 50%; background: var(--yellow-soft); padding: 8px; }

/* ── Core ── */
.core {
  background: var(--gray);
  padding: clamp(80px, 12vw, 120px) 0;
}

.core-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 72px);
  align-items: center;
}

.section-label {
  font-family: var(--font-en);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.35em;
  color: rgba(26, 39, 68, 0.45);
  margin-bottom: 20px;
}

.core-copy h2 {
  font-weight: 900;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  line-height: 1.5;
  margin-bottom: 24px;
}

.core-copy p {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.core-illust {
  position: relative;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 260px;
}

.core-illust > img:first-child {
  width: 72%;
  max-width: 280px;
  height: auto;
  background: var(--white);
  border-radius: 50%;
  padding: 20px;
  border: 3px solid var(--navy);
  box-shadow: 8px 8px 0 var(--yellow);
}

.core-float {
  position: absolute;
  width: 28%;
  max-width: 100px;
  animation: float 4s ease-in-out infinite;
}

.core-float--rocket {
  top: 0;
  right: 8%;
  animation-delay: 0.4s;
}

.core-float--bulb {
  bottom: 0;
  left: 4%;
  animation-delay: 1s;
}

/* ── Services ── */
.services {
  background: var(--white);
  padding: clamp(80px, 12vw, 120px) 0;
}

.section-title {
  font-family: var(--font-en);
  font-weight: 900;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  letter-spacing: 0.02em;
  margin-bottom: clamp(40px, 6vw, 64px);
}

.service-list {
  list-style: none;
  border-top: 2px solid var(--navy);
}

.service-item {
  display: grid;
  grid-template-columns: 140px 1fr 160px;
  gap: clamp(20px, 3vw, 40px);
  align-items: center;
  padding: clamp(28px, 4vw, 40px) 0;
  border-bottom: 1px solid rgba(26, 39, 68, 0.12);
  transition: background 0.25s;
}

.service-item:hover {
  background: var(--yellow-soft);
  margin: 0 calc(-1 * clamp(24px, 5vw, 56px));
  padding-left: clamp(24px, 5vw, 56px);
  padding-right: clamp(24px, 5vw, 56px);
}

.service-en {
  font-family: var(--font-en);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.5;
  color: rgba(26, 39, 68, 0.4);
  text-transform: capitalize;
}

.service-body h3 {
  font-weight: 900;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  margin-bottom: 8px;
}

.service-body p {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-muted);
  line-height: 1.85;
}

.service-illust {
  margin: 0;
  padding: 16px;
  border-radius: 12px;
  border: 2px solid var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.service-illust--yellow { background: var(--yellow-soft); }
.service-illust--blue { background: #e8eeff; }
.service-illust--pink { background: #ffe8f0; }

.service-item:hover .service-illust {
  transform: rotate(-4deg) scale(1.05);
}

.service-illust img {
  width: 100%;
  max-height: 88px;
  object-fit: contain;
}

/* ── Characters ── */
.characters {
  background: var(--yellow);
  padding: clamp(80px, 12vw, 120px) 0;
  border-top: 2px solid var(--navy);
  border-bottom: 2px solid var(--navy);
}

.char-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 3vw, 24px);
}

.char-card {
  margin: 0;
  background: var(--white);
  border: 2px solid var(--navy);
  border-radius: 12px;
  padding: 20px 16px 16px;
  text-align: center;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s;
}

.char-card:hover {
  transform: translateY(-8px) rotate(2deg);
  box-shadow: 6px 6px 0 var(--blue);
}

.char-card img {
  width: 100%;
  max-height: 100px;
  object-fit: contain;
  margin-bottom: 12px;
}

.char-card figcaption {
  font-weight: 900;
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--navy);
}

/* ── News ── */
.news {
  background: var(--white);
  padding: clamp(80px, 12vw, 120px) 0;
}

.news-list {
  list-style: none;
  border-top: 2px solid var(--navy);
}

.news-list li {
  display: grid;
  grid-template-columns: 100px 80px 1fr;
  gap: 20px;
  align-items: baseline;
  padding: 24px 0;
  border-bottom: 1px solid rgba(26, 39, 68, 0.12);
  transition: padding-left 0.25s;
}

.news-list li:hover { padding-left: 12px; }

.news-list time {
  font-family: var(--font-en);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.news-cat {
  font-family: var(--font-en);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  background: var(--navy);
  color: var(--white);
  padding: 4px 8px;
  width: fit-content;
}

.news-list p {
  font-weight: 900;
  font-size: 0.95rem;
  line-height: 1.7;
}

.more-link {
  display: inline-block;
  margin-top: 40px;
  font-family: var(--font-en);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  border-bottom: 2px solid var(--navy);
  padding-bottom: 4px;
  transition: opacity 0.2s;
}

.more-link:hover { opacity: 0.6; }

/* ── Contact ── */
.contact {
  position: relative;
  background: var(--navy);
  color: var(--white);
  padding: clamp(100px, 14vw, 160px) 0;
  text-align: center;
  overflow: hidden;
}

.contact-deco {
  position: absolute;
  width: clamp(80px, 14vw, 140px);
  opacity: 0.35;
  animation: float 5s ease-in-out infinite;
  pointer-events: none;
}

.contact-deco--left {
  bottom: 15%;
  left: 5%;
}

.contact-deco--right {
  top: 12%;
  right: 6%;
  animation-delay: 1s;
}

.contact-en {
  font-family: var(--font-en);
  font-weight: 900;
  font-size: clamp(2rem, 6vw, 4rem);
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.contact-inner h2 {
  font-weight: 900;
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  margin-bottom: 16px;
}

.contact-desc {
  font-weight: 700;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 40px;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 48px;
  background: var(--yellow);
  color: var(--navy);
  font-family: var(--font-en);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  border-radius: 999px;
  border: 3px solid var(--white);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s;
}

.contact-btn:hover {
  transform: translateY(-4px) rotate(-2deg);
  box-shadow: 0 12px 0 var(--blue);
}

/* ── Footer ── */
.footer {
  background: var(--white);
  border-top: 2px solid var(--navy);
}

.footer-cityscape {
  width: 100%;
  height: auto;
  opacity: 0.85;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px clamp(24px, 5vw, 56px) 28px;
  font-family: var(--font-en);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.footer-logo {
  height: 22px;
  width: auto;
  opacity: 0.85;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-logo { margin: 0 auto; }

  .hero-visual {
    min-height: 300px;
    max-width: 420px;
    margin: 0 auto;
  }

  .hero-work {
    margin-right: auto;
    margin-left: auto;
  }

  .about-body-wrap,
  .core-grid {
    grid-template-columns: 1fr;
  }

  .icon-strip {
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
  }

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

  .service-item {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .service-illust {
    max-width: 200px;
  }

  .news-list li {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .contact-deco { display: none; }
}

@media (max-width: 480px) {
  .char-grid { grid-template-columns: 1fr; }
  .sticker--rocket, .sticker--bulb { width: 22%; }
}
