/* ============================================
   MOTION POP TEMPLATE
   楽しく弾むポップなクリエイティブサイト
============================================ */

:root {
  --bg: #fff8ec;
  --bg-dots: radial-gradient(rgba(26, 26, 26, 0.09) 1.5px, transparent 1.5px);
  --ink: #1a1a1a;
  --muted: #6f6a5e;
  --yellow: #ffd23f;
  --coral: #ff6b6b;
  --teal: #2ec4b6;
  --purple: #b388eb;
  --font-jp: "M PLUS Rounded 1c", sans-serif;
  --font-en: "Baloo 2", cursive;
  --container: 1120px;
  --header-h: 80px;
  --border: 3px solid var(--ink);
  /* overshootするspring風イージング（ぽよん） */
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --spring-big: cubic-bezier(0.22, 1.9, 0.42, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-jp);
  background: var(--bg);
  color: var(--ink);
  line-height: 2;
  letter-spacing: 0.02em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

em {
  font-style: normal;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.pc-only {
  display: inline;
}

/* ---------- スキップリンク／フォーカス ---------- */
.skip-link {
  position: fixed;
  top: -48px;
  left: 16px;
  z-index: 10001;
  padding: 10px 18px;
  background: var(--ink);
  color: var(--bg);
  border-radius: 999px;
  font-size: 0.85rem;
  transition: top 0.2s;
}

.skip-link:focus-visible {
  top: 12px;
}

:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
}

/* ---------- マーカー風ハイライト ---------- */
.hl {
  padding: 0 0.12em;
  background-image: linear-gradient(transparent 62%, var(--yellow) 62%);
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.hl--coral {
  background-image: linear-gradient(transparent 62%, rgba(255, 107, 107, 0.55) 62%);
}

/* ---------- ローディング（ロゴがぽよんと弾んで開く） ---------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: var(--yellow);
  pointer-events: none;
  transition:
    clip-path 0.7s var(--spring),
    visibility 0s 0.7s;
  clip-path: circle(120% at 50% 50%);
}

.loader__logo {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: clamp(2.2rem, 7vw, 3.6rem);
  letter-spacing: 0.04em;
  /* squash & stretch：縦横につぶれて伸びて着地 */
  animation: squashStretch 1.1s var(--spring) both;
  transform-origin: center bottom;
}

@keyframes squashStretch {
  0% {
    opacity: 0;
    transform: translateY(-70px) scale(0.4, 1.4);
  }
  45% {
    opacity: 1;
    transform: translateY(0) scale(1.25, 0.7);
  }
  70% {
    transform: translateY(-16px) scale(0.92, 1.1);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1, 1);
  }
}

.loader__dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--ink);
  animation: dotBounce 0.7s var(--spring) infinite alternate;
}

.loader__dot--1 {
  background: var(--coral);
}

.loader__dot--2 {
  background: var(--teal);
  animation-delay: 0.12s;
}

.loader__dot--3 {
  animation-delay: 0.24s;
}

@keyframes dotBounce {
  from {
    transform: translateY(0) scale(1);
  }
  to {
    transform: translateY(-14px) scale(1.15);
  }
}

/* 円形にきゅっと閉じて開く */
.is-loaded .loader {
  clip-path: circle(0% at 50% 50%);
  visibility: hidden;
}

.header__logo i,
.footer__logo i {
  font-style: normal;
  color: var(--coral);
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition:
    transform 0.5s var(--spring),
    background-color 0.4s,
    box-shadow 0.4s;
}

.header.is-scrolled {
  background: rgba(255, 248, 236, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 3px 0 var(--ink);
}

.header.is-hidden {
  transform: translateY(-100%);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  padding: 0 clamp(24px, 4vw, 52px);
}

.header__logo {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 0.03em;
  transition: transform 0.4s var(--spring);
}

.header__logo:hover {
  transform: rotate(-4deg) scale(1.06);
}

.nav__list {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav__link {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 6px 2px;
  transition: transform 0.35s var(--spring), color 0.3s;
}

.nav__link:hover {
  transform: translateY(-4px) rotate(-2deg);
  color: var(--coral);
}

.nav__link--cta {
  padding: 9px 24px;
  background: var(--yellow);
  border: var(--border);
  border-radius: 999px;
  box-shadow: 4px 4px 0 var(--ink);
  transition:
    transform 0.35s var(--spring),
    box-shadow 0.35s var(--spring),
    background-color 0.3s;
}

.nav__link--cta:hover {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--ink);
  background: var(--coral);
  color: var(--bg);
}

/* モバイルトグル */
.nav-toggle {
  display: none;
  position: relative;
  z-index: 1001;
  width: 50px;
  height: 50px;
  border: var(--border);
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 3px 3px 0 var(--ink);
  cursor: pointer;
}

.nav-toggle span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--ink);
  transition:
    transform 0.4s var(--spring),
    top 0.4s var(--spring);
}

.nav-toggle span:nth-child(1) {
  transform: translate(-50%, calc(-50% - 4px));
}

.nav-toggle span:nth-child(2) {
  transform: translate(-50%, calc(-50% + 4px));
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translate(-50%, -50%) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 40px) 0 90px;
  overflow: hidden;
}

/* ふわふわ浮遊する装飾（速度違いで複数） */
.hero__deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.float-shape {
  position: absolute;
  display: block;
  line-height: 1;
}

/* ぐにゃっとしたブロブ */
.float-shape--blob1 {
  left: 4%;
  top: 16%;
  width: clamp(70px, 9vw, 120px);
  height: clamp(70px, 9vw, 120px);
  background: var(--teal);
  border-radius: 58% 42% 55% 45% / 48% 60% 40% 52%;
  opacity: 0.5;
  animation: floatSlow 9s ease-in-out infinite;
}

.float-shape--blob2 {
  right: 6%;
  bottom: 12%;
  width: clamp(90px, 11vw, 150px);
  height: clamp(90px, 11vw, 150px);
  background: var(--purple);
  border-radius: 44% 56% 60% 40% / 55% 42% 58% 45%;
  opacity: 0.4;
  animation: floatSlow 12s ease-in-out infinite reverse;
}

/* 星 */
.float-shape--star1 {
  left: 40%;
  top: 10%;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  color: var(--coral);
  animation: floatSpin 7s ease-in-out infinite;
}

.float-shape--star2 {
  right: 30%;
  top: 26%;
  font-size: clamp(1.2rem, 2.4vw, 2rem);
  color: var(--yellow);
  -webkit-text-stroke: 1.5px var(--ink);
  animation: floatSpin 10s ease-in-out infinite reverse;
}

/* 丸 */
.float-shape--circle1 {
  left: 12%;
  bottom: 20%;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: var(--border);
  background: var(--yellow);
  animation: floatFast 5s ease-in-out infinite;
}

.float-shape--circle2 {
  right: 12%;
  top: 14%;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--coral);
  animation: floatFast 6.5s ease-in-out 0.8s infinite;
}

.float-shape--zigzag {
  left: 52%;
  bottom: 10%;
  font-size: 2rem;
  color: var(--teal);
  animation: floatSlow 8s ease-in-out 1s infinite;
}

@keyframes floatSlow {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  50% {
    transform: translate(12px, -26px) rotate(8deg);
  }
}

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

@keyframes floatSpin {
  0%,
  100% {
    transform: translateY(0) rotate(-8deg);
  }
  50% {
    transform: translateY(-18px) rotate(14deg);
  }
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}

.hero__eyebrow {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.26em;
  color: var(--muted);
  margin-bottom: 22px;
}

.hero__title {
  font-weight: 800;
  font-size: clamp(2.5rem, 6vw, 4.4rem);
  line-height: 1.45;
  letter-spacing: 0.02em;
  margin-bottom: 26px;
}

.word-pop--coral {
  color: var(--coral);
}

.hero__lead {
  font-size: clamp(0.92rem, 1.4vw, 1rem);
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 44px;
}

/* 単語ごとにぽんぽん弾んで登場（--wi で時間差） */
.word-pop {
  display: inline-block;
  opacity: 0;
  transform: translateY(46px) scale(0.6);
}

.is-loaded .word-pop {
  animation: wordPop 0.75s var(--spring-big) forwards;
  animation-delay: calc(0.9s + var(--wi, 0) * 0.12s);
}

@keyframes wordPop {
  0% {
    opacity: 0;
    transform: translateY(46px) scale(0.6);
  }
  60% {
    opacity: 1;
    transform: translateY(-8px) scale(1.06);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(30px) scale(0.9);
  transition:
    opacity 0.6s 1.9s,
    transform 0.8s var(--spring-big) 1.9s;
}

.is-loaded .hero__actions {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ヒーロー写真（太枠＋影ずらし） */
.hero__visual {
  position: relative;
}

.hero__img-frame {
  overflow: hidden;
  border: var(--border);
  border-radius: 28px;
  box-shadow: 10px 10px 0 var(--teal);
  transform: rotate(2deg);
  opacity: 0;
  scale: 0.7;
  transition:
    opacity 0.5s 1.2s,
    scale 0.9s var(--spring-big) 1.2s;
}

.is-loaded .hero__img-frame {
  opacity: 1;
  scale: 1;
}

.hero__img-frame img {
  width: 100%;
  aspect-ratio: 7 / 8;
  object-fit: cover;
}

/* ---------- 回転するサークルテキストバッジ ---------- */
.circle-badge {
  position: absolute;
  left: -34px;
  bottom: -26px;
  width: clamp(110px, 13vw, 150px);
  height: clamp(110px, 13vw, 150px);
  display: grid;
  place-items: center;
  background: var(--yellow);
  border: var(--border);
  border-radius: 50%;
  box-shadow: 5px 5px 0 var(--ink);
  transition: transform 0.4s var(--spring);
}

.circle-badge:hover {
  transform: scale(1.1) rotate(-6deg);
}

.circle-badge__svg {
  position: absolute;
  inset: 6%;
  width: 88%;
  height: 88%;
  animation: badgeSpin 14s linear infinite;
}

@keyframes badgeSpin {
  to {
    transform: rotate(360deg);
  }
}

.circle-badge__text {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  fill: var(--ink);
}

.circle-badge__emoji {
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
}

/* ---------- ボタン ---------- */
.btn-pop {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 34px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 800;
  background: var(--coral);
  color: #fff;
  border: var(--border);
  border-radius: 999px;
  box-shadow: 5px 5px 0 var(--ink);
  cursor: pointer;
  transition:
    transform 0.35s var(--spring),
    box-shadow 0.35s var(--spring);
}

.btn-pop:hover {
  transform: translate(3px, 3px);
  box-shadow: 1px 1px 0 var(--ink);
}

.btn-pop:active {
  transform: translate(5px, 5px) scale(0.97);
  box-shadow: 0 0 0 var(--ink);
}

.btn-pop__arrow {
  display: inline-block;
  transition: transform 0.35s var(--spring);
}

.btn-pop:hover .btn-pop__arrow {
  transform: translateX(5px);
}

.btn-pop--lg {
  padding: 18px 48px;
  font-size: 1.1rem;
}

.btn-ghost {
  position: relative;
  display: inline-block;
  padding-bottom: 6px;
  font-size: 0.92rem;
  font-weight: 700;
}

.btn-ghost::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  border-radius: 2px;
  background: var(--teal);
  transform-origin: right;
  transition: transform 0.45s var(--spring);
}

.btn-ghost:hover::after {
  transform: scaleX(0.3);
  transform-origin: left;
}

/* ---------- 傾いたカラフルマーキー ---------- */
.marquee-tilt {
  position: relative;
  padding: clamp(40px, 6vw, 70px) 0;
  overflow: hidden;
}

.marquee-tilt__band {
  width: 110%;
  margin-left: -5%;
  overflow: hidden;
  border-top: var(--border);
  border-bottom: var(--border);
}

.marquee-tilt__band--yellow {
  background: var(--yellow);
  transform: rotate(-2.5deg);
}

.marquee-tilt__band--teal {
  background: var(--teal);
  transform: rotate(1.8deg);
  margin-top: 10px;
}

.marquee-tilt__track {
  display: flex;
  width: max-content;
  padding: 10px 0;
  animation: marqueeTilt 22s linear infinite;
}

.marquee-tilt__track--reverse {
  animation-direction: reverse;
}

.marquee-tilt__track span {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: clamp(1.1rem, 2.6vw, 1.7rem);
  letter-spacing: 0.08em;
  white-space: nowrap;
  color: var(--ink);
}

@keyframes marqueeTilt {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- セクション共通 ---------- */
.section {
  padding: clamp(90px, 12vw, 140px) 0;
}

/* 水玉パターン背景 */
.section--dots {
  background-image: var(--bg-dots);
  background-size: 26px 26px;
}

.section__label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.24em;
  color: var(--muted);
  margin-bottom: 18px;
}

.section__label--center {
  justify-content: center;
}

.section__label-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--coral);
  border: 2px solid var(--ink);
}

.section__title {
  font-weight: 800;
  font-size: clamp(1.7rem, 4vw, 2.7rem);
  line-height: 1.6;
  letter-spacing: 0.02em;
  margin-bottom: 36px;
}

/* 下からぽよんと跳ねるリビール（spring風easing） */
[data-reveal] {
  opacity: 0;
  transform: translateY(50px) scale(0.92);
  transition:
    opacity 0.55s,
    transform 0.85s var(--spring-big);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ---------- About ---------- */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(44px, 7vw, 90px);
  align-items: center;
}

.about__visual {
  position: relative;
}

.about__img-frame {
  overflow: hidden;
  border: var(--border);
  border-radius: 28px;
  box-shadow: 10px 10px 0 var(--coral);
  transform: rotate(-2deg);
}

.about__img-frame img {
  width: 100%;
  aspect-ratio: 6 / 5;
  object-fit: cover;
}

/* ステッカー風バッジ */
.about__sticker {
  position: absolute;
  top: -22px;
  right: -14px;
  padding: 8px 20px;
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  background: var(--yellow);
  border: var(--border);
  border-radius: 999px;
  box-shadow: 4px 4px 0 var(--ink);
  transform: rotate(6deg);
}

.about__text {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.95rem;
  margin-bottom: 22px;
}

.about__copy .btn-ghost {
  margin-top: 10px;
}

/* ---------- Services（ホバーでぷるんと揺れるカード） ---------- */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(22px, 3vw, 34px);
  margin-top: 10px;
}

.pop-card {
  padding: clamp(28px, 3.4vw, 40px) clamp(22px, 2.8vw, 32px);
  background: #fff;
  border: var(--border);
  border-radius: 24px;
  box-shadow: 7px 7px 0 var(--ink);
  transition: box-shadow 0.35s var(--spring);
}

.pop-card--yellow {
  background: var(--yellow);
}

.pop-card--coral {
  background: var(--coral);
  color: #fff;
}

.pop-card--coral .pop-card__text {
  color: rgba(255, 255, 255, 0.88);
}

.pop-card--teal {
  background: var(--teal);
}

/* ぷるん（wobble）＋影ずれ */
.pop-card:hover {
  animation: wobble 0.7s var(--spring) both;
  box-shadow: 11px 11px 0 var(--ink);
}

@keyframes wobble {
  0% {
    transform: rotate(0deg) scale(1);
  }
  25% {
    transform: rotate(-2.5deg) scale(1.03);
  }
  50% {
    transform: rotate(2deg) scale(1.04);
  }
  75% {
    transform: rotate(-1deg) scale(1.03);
  }
  100% {
    transform: rotate(0deg) scale(1.03);
  }
}

.pop-card__emoji {
  display: inline-block;
  font-size: 2.4rem;
  line-height: 1;
  margin-bottom: 18px;
}

.pop-card__title {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  font-weight: 800;
  line-height: 1.6;
  margin-bottom: 12px;
}

.pop-card__text {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
}

/* ---------- Works ---------- */
.works__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3.4vw, 38px);
  margin-top: 10px;
}

.work-card {
  display: block;
}

.work-card__img {
  overflow: hidden;
  border: var(--border);
  border-radius: 20px;
  box-shadow: 6px 6px 0 var(--purple);
  aspect-ratio: 4 / 3;
  margin-bottom: 16px;
  transition: box-shadow 0.35s var(--spring);
}

/* 3色の影を順繰りに */
.work-card:nth-child(3n + 2) .work-card__img {
  box-shadow: 6px 6px 0 var(--yellow);
}

.work-card:nth-child(3n) .work-card__img {
  box-shadow: 6px 6px 0 var(--teal);
}

.work-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--spring);
}

/* ぷるん（wobble）＋影が伸びる */
.work-card:hover .work-card__img {
  animation: wobble 0.7s var(--spring) both;
  box-shadow: 10px 10px 0 var(--ink);
}

.work-card:hover .work-card__img img {
  transform: scale(1.07) rotate(1deg);
}

.work-card__meta h3 {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.5;
}

.work-card__meta p {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
}

/* ---------- 数字で見る ---------- */
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 32px);
  margin-top: 10px;
}

.stat {
  padding: clamp(24px, 3vw, 36px) 16px;
  text-align: center;
  background: #fff;
  border: var(--border);
  border-radius: 24px;
  box-shadow: 6px 6px 0 var(--yellow);
}

.stat:nth-child(2) {
  box-shadow: 6px 6px 0 var(--coral);
}

.stat:nth-child(3) {
  box-shadow: 6px 6px 0 var(--teal);
}

.stat:nth-child(4) {
  box-shadow: 6px 6px 0 var(--purple);
}

.stat__label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 6px;
}

.stat__num {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: clamp(2.2rem, 4.6vw, 3.2rem);
  line-height: 1.2;
}

.stat__num small {
  font-family: var(--font-jp);
  font-size: 0.42em;
  font-weight: 800;
  margin-left: 4px;
}

/* ---------- Contact ---------- */
.contact {
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contact__title {
  font-weight: 800;
  font-size: clamp(1.7rem, 4.4vw, 2.9rem);
  line-height: 1.7;
  margin-bottom: 20px;
}

.contact__lead {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.95rem;
  margin-bottom: 46px;
}

/* ---------- コンフェッティ（JSで生成） ---------- */
.confetti-piece {
  position: fixed;
  z-index: 9999;
  font-size: 1.3rem;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

/* ---------- Footer ---------- */
.footer {
  border-top: var(--border);
  background: var(--yellow);
  padding: 44px 0;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer__logo {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 1.3rem;
}

.footer__nav ul {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer__nav a {
  font-size: 0.84rem;
  font-weight: 700;
  transition: transform 0.35s var(--spring), color 0.3s;
  display: inline-block;
}

.footer__nav a:hover {
  transform: translateY(-3px);
  color: var(--coral);
}

.footer__copyright {
  font-family: var(--font-en);
  font-size: 0.78rem;
  font-weight: 600;
}

/* ---------- レスポンシブ ---------- */
@media (max-width: 900px) {
  .pc-only {
    display: none;
  }

  /* ナビ→フルスクリーン */
  .nav {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 248, 236, 0.96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transition:
      opacity 0.45s,
      visibility 0s 0.45s;
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.45s;
  }

  .nav__list {
    flex-direction: column;
    gap: 28px;
    text-align: center;
  }

  .nav__link {
    font-size: 1.2rem;
  }

  .nav-toggle {
    display: block;
  }

  /* Hero */
  .hero {
    min-height: 0;
    padding-bottom: 110px;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .hero__visual {
    max-width: 440px;
    margin: 0 auto;
  }

  .circle-badge {
    left: -12px;
    bottom: -30px;
  }

  /* 浮遊装飾は数を減らして軽く */
  .float-shape--star2,
  .float-shape--circle2,
  .float-shape--zigzag {
    display: none;
  }

  /* About */
  .about__grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .about__sticker {
    right: 4px;
  }

  /* Services / Works / Stats */
  .services__grid {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin-inline: auto;
  }

  .works__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

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

  .footer__inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 520px) {
  .works__grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-inline: auto;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .loader {
    display: none;
  }

  .word-pop,
  .hero__actions,
  .hero__img-frame,
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    scale: 1 !important;
    animation: none !important;
  }

  .float-shape,
  .circle-badge__svg,
  .marquee-tilt__track,
  .loader__logo,
  .loader__dot {
    animation: none !important;
  }

  .pop-card:hover,
  .work-card:hover .work-card__img {
    animation: none !important;
  }
}
