body {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  background: linear-gradient(180deg, #f9f9f9, #f3f3f3);
  color: #111;
  line-height: 1.8;
  position: relative;
  overflow-x: hidden;
}

header {
  text-align: center;
  padding: 40px 20px 40px;
  margin-top: -20px;
  background: #fff;
  border-bottom: 1px solid #eee;
  font-family: "Noto Serif JP", serif;
}

:root {
  --motion-opacity: 0.9;
  --motion-blur: 70px;
  --motion-glow: rgba(255, 255, 255, 0.75);
}

.motion-decor {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.motion-fall {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  overflow: hidden;
}

header,
main,
.back-to-top-link,
footer {
  position: relative;
  z-index: 2;
}

.motion-decor .orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(var(--motion-blur));
  opacity: var(--motion-opacity);
  mix-blend-mode: screen;
  animation: orb-float 16s ease-in-out infinite;
}

.motion-decor .orb-1 {
  width: 420px;
  height: 420px;
  top: -80px;
  left: -120px;
  background: radial-gradient(circle at 30% 30%, #fff4cc, #f5d58a 50%, transparent 70%);
  animation-duration: 18s;
}

.motion-decor .orb-2 {
  width: 520px;
  height: 520px;
  right: -160px;
  top: 20%;
  background: radial-gradient(circle at 40% 40%, #e2f7ff, #9ddcf4 55%, transparent 75%);
  animation-duration: 22s;
  animation-delay: -6s;
}

.motion-decor .orb-3 {
  width: 380px;
  height: 380px;
  left: 10%;
  bottom: -140px;
  background: radial-gradient(circle at 60% 40%, #fff1f1, #f5bdbd 50%, transparent 72%);
  animation-duration: 20s;
  animation-delay: -10s;
}

.motion-decor .streak {
  position: absolute;
  width: 140%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--motion-glow), transparent);
  opacity: 0.7;
  transform: rotate(-6deg);
  animation: streak-slide 9s linear infinite;
}

.motion-decor .streak-1 {
  top: 18%;
  left: -20%;
}

.motion-decor .streak-2 {
  top: 62%;
  left: -30%;
  animation-duration: 12s;
  animation-delay: -3s;
}

.motion-decor .dust {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.9);
  animation: dust-drift 7s ease-in-out infinite;
}

.motion-decor .dust-1 {
  top: 12%;
  left: 30%;
  animation-delay: -1s;
}

.motion-decor .dust-2 {
  top: 36%;
  left: 70%;
  animation-delay: -4s;
}

.motion-decor .dust-3 {
  bottom: 22%;
  left: 20%;
  animation-delay: -2s;
}

.motion-decor .dust-4 {
  bottom: 10%;
  right: 18%;
  animation-delay: -5s;
}

.motion-fall .falling-orb {
  position: absolute;
  top: -80px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  opacity: 0.8;
  filter: blur(1px);
  box-shadow: 0 0 32px rgba(255, 255, 255, 0.6);
  animation: fall-orb 26s linear infinite;
}

.motion-fall .fo-1 {
  left: 8%;
  background: rgba(255, 183, 197, 0.35);
  animation-delay: -3s;
  animation-duration: 28s;
}

.motion-fall .fo-2 {
  left: 22%;
  background: rgba(255, 214, 165, 0.35);
  animation-delay: -13s;
  animation-duration: 30s;
}

.motion-fall .fo-3 {
  left: 36%;
  background: rgba(255, 244, 170, 0.35);
  animation-delay: -7s;
  animation-duration: 27s;
}

.motion-fall .fo-4 {
  left: 50%;
  background: rgba(190, 245, 206, 0.35);
  animation-delay: -16s;
  animation-duration: 29s;
}

.motion-fall .fo-5 {
  left: 64%;
  background: rgba(186, 225, 255, 0.35);
  animation-delay: -9s;
  animation-duration: 26s;
}

.motion-fall .fo-6 {
  left: 78%;
  background: rgba(209, 196, 255, 0.35);
  animation-delay: -18s;
  animation-duration: 31s;
}

.motion-fall .fo-7 {
  left: 90%;
  background: rgba(243, 200, 255, 0.35);
  animation-delay: -11s;
  animation-duration: 29s;
}

@keyframes orb-float {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(30px, -30px, 0) scale(1.05);
  }
  100% {
    transform: translate3d(-20px, 15px, 0) scale(0.98);
  }
}

@keyframes streak-slide {
  0% {
    transform: translateX(-10%) rotate(-6deg);
    opacity: 0.1;
  }
  50% {
    opacity: 0.8;
  }
  100% {
    transform: translateX(10%) rotate(-6deg);
    opacity: 0.2;
  }
}

@keyframes dust-drift {
  0% {
    transform: translate3d(0, 0, 0) scale(0.8);
    opacity: 0.3;
  }
  50% {
    transform: translate3d(12px, -18px, 0) scale(1.2);
    opacity: 1;
  }
  100% {
    transform: translate3d(-10px, 8px, 0) scale(0.9);
    opacity: 0.4;
  }
}

@keyframes fall-orb {
  0% {
    transform: translate3d(0, -10vh, 0) scale(0.9);
    opacity: 0;
  }
  12% {
    opacity: 0.6;
  }
  45% {
    transform: translate3d(0, 110vh, 0) scale(1.05);
    opacity: 0;
  }
  100% {
    transform: translate3d(0, 110vh, 0) scale(1.05);
    opacity: 0;
  }
}

/* === temiruロゴリンク === */
.temiru-logo-link {
  display: block;
  text-align: center;
  padding: 10px 0 10px;
}
.temiru-logo {
  width: 140px;
  height: auto;
  margin-top: -100%;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}
.temiru-logo:hover {
  opacity: 1;
}

/* === トップページボタン === */
.back-to-top-link {
  text-align: center;
  margin: 60px 0 20px;
}

.btn-temiru {
  display: inline-block;
  background-color: #72cce1; /* temiruカラー */
  color: #fff;
  padding: 14px 40px;
  border-radius: 40px;
  font-weight: bold;
  font-size: 15px;
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: 0.3s ease;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}
.btn-temiru:hover {
  background-color: #5abdd4;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.kv-banner {
  width: 100%;
  max-height: 480px; /* 好みで調整 */
  margin-top: -30px;
  overflow: hidden;
}


.kv-banner img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

h1 {
  font-family: "Noto Serif JP", serif;
  font-size: 18px;
  color: #1f1f1f;
  letter-spacing: 0.08em;
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
}

h1::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 56px;
  height: 2px;
  background: linear-gradient(90deg, #b9952f, #d4af37);
}

.lead {
  font-size: 16px;
  color: #3a3a3a;
  margin-bottom: -10px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  letter-spacing: 0.02em;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  /* PC：4列 */
  gap: 24px;
  max-width: 800px;
  margin: 40px auto;
  padding: 0 20px;
}

.logo-item img {
  width: 100%;
  height: auto;
  object-fit: contain;
  margin-bottom: 8px;
  transition: 0.3s;
  transform: none;
}

.logo-item {
  text-align: center;
  animation: logo-drift 11s ease-in-out infinite;
}

.logo-item img:hover {
  transform: scale(1.02);
}

.logo-name {
  font-family: "Noto Serif JP", serif;
  font-size: 16px;
  color: #333;
  font-weight: 500;
  margin: 0;
}

.brand {
  max-width: 1000px;
  margin: 60px auto;
  padding: 0 20px;
  position: relative;
}

/* === ブランド紹介ブロック === */
.brand-intro {
  position: relative;
  z-index: 1;
  padding: 16px 20px;
  max-width: 1000px;
  margin: 0 auto 40px;
}

.brand::before {
  content: "";
  position: absolute;
  left: -10%;
  top: -24px;
  width: 120%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.8), transparent);
  opacity: 0.9;
  animation: sweep-line 8s linear infinite;
}

.brand::after {
  content: "";
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 36px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.18) 0, transparent 65%);
  opacity: 0.5;
  animation: glow-pulse 6s ease-in-out infinite;
  pointer-events: none;
}

/* 背景レイヤー（全幅に広げる） */
.brand-intro::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw; /* 画面幅いっぱい */
  height: 100%;
  background: #fff;
  z-index: -1; /* コンテンツの下に配置 */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04); /* ほんのり浮かせる */
}

.brand-number {
  display: block;
  font-family: "Bellefair", serif;
  font-size: 2.4rem;
  background: linear-gradient(90deg, #d4af37, #b9952f);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 4px;
  font-weight: 400;
  opacity: 0; /* ← 初期は非表示 */
  transform: translateY(20px); /* ← 少し下から浮かせる */
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* 表示されたときの状態 */
.brand-number.show {
  opacity: 1;
  transform: translateY(0);
}

.logo-item:nth-child(2n),
.product:nth-child(2n) {
  animation-delay: -2s;
}

.logo-item:nth-child(3n),
.product:nth-child(3n) {
  animation-delay: -4s;
  animation-duration: 12s;
}

.logo-item:nth-child(4n) {
  animation-delay: -1s;
  animation-duration: 10.5s;
}

.logo-item:nth-child(5n) {
  animation-delay: -3s;
  animation-duration: 12.5s;
}

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

@keyframes float-card-soft {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes logo-drift {
  0% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  20% {
    transform: translate3d(3px, -2px, 0) rotate(0.2deg);
  }
  50% {
    transform: translate3d(-3px, 2px, 0) rotate(-0.2deg);
  }
  75% {
    transform: translate3d(2px, 3px, 0) rotate(0.15deg);
  }
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
}

@keyframes logo-drift-soft {
  0% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  20% {
    transform: translate3d(2px, -1px, 0) rotate(0.1deg);
  }
  50% {
    transform: translate3d(-2px, 2px, 0) rotate(-0.1deg);
  }
  75% {
    transform: translate3d(1px, 2px, 0) rotate(0.08deg);
  }
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
}

@keyframes sweep-line {
  0% {
    transform: translateX(-6%);
  }
  100% {
    transform: translateX(6%);
  }
}

@keyframes glow-pulse {
  0% {
    opacity: 0.25;
  }
  50% {
    opacity: 0.65;
  }
  100% {
    opacity: 0.3;
  }
}

.brand h2 {
  font-family: "Bellefair", "Noto Serif JP", serif;
  font-size: 2.6rem;
  line-height: 1.4;
  font-weight: 400;
  border-bottom: none;
  position: relative;
  display: inline-block;
  padding-bottom: 8px;
  margin-bottom: 30px;
  color: #222;
}

.brand h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, #b9952f, #d4af37);
}

.brand+.brand {
  border-top: 1px solid transparent;
  border-image: linear-gradient(to right, transparent, #d4af37, transparent) 1;
  padding-top: 60px;
}

.product-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  /* PC：4列 */
  gap: 24px;
  margin-top: 30px;
}

.product {
  background: #fff;
  border-radius: 8px;
  padding: 16px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: float-card 9s ease-in-out infinite;
}

.product:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.product img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 10px;
}

.product-name {
  font-size: 15px;
  margin: 6px 0;
  font-weight: 500;
  color: #222;
}

.product-price {
  font-weight: bold;
  color: #c6a866;
  margin-bottom: 10px;
}

.btn {
  display: inline-block;
  padding: 6px 16px;
  background: #111;
  color: #fff;
  border-radius: 4px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;

  transition: 0.3s;
}

.btn:hover {
  background: #d4af37;
}

.brand-desc {
  font-family: "Noto Serif JP", serif;
  font-size: 18px;
  color: #242424;
  line-height: 1.8;
  margin-bottom: 24px;
}

/* === ブランドCTA === */
.brand-cta {
  text-align: center;
  margin-top: 50px;
  margin-bottom: -10px;
}

.btn-brand {
  display: inline-block;
  padding: 12px 32px;
  font-size: 15px;
  border-radius: 30px;
  background: linear-gradient(135deg, #d4af37, #b9952f);
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  letter-spacing: 0.05em;
  transition: 0.3s;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.btn-brand:hover {
  background: #b9952f;
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

/* === ボタン光沢演出 === */
.btn-brand {
  position: relative;
  overflow: hidden;
}

.btn-brand::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 35%;
  height: 100%;
  background: rgba(255, 255, 255, 0.25);
  transform: skewX(-25deg);
  transition: 0.5s;
}

.btn-brand:hover::before {
  left: 125%;
}

footer {
  text-align: center;
  padding: 40px 0;
  font-size: 12px;
  color: #666;
}

@media (prefers-reduced-motion: reduce) {
  .motion-decor {
    display: none;
  }

  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* === PC用調整 === */
@media (min-width: 768px) {
  .header h1 {
    font-size: 28px; /* ← 今より少し大きめ */
    margin-top: -16px;
    margin-bottom: 16px;
    letter-spacing: 0.05em; /* ほんの少し広げて上品に */
  }

  .header .lead {
    font-size: 18px;
    line-height: 1.9;
    color: #444; /* 少し淡くして高級感 */
  }

  .header {
    padding: 40px 20px 60px; /* 上下に余裕を持たせる */
  }

    .btn-brand {
    padding: 16px 40px; /* 高さ＆幅をゆったり */
    font-size: 18px; /* 少し文字を大きく */
    border-radius: 40px; /* 曲線も柔らかく広げる */
  }

  .brand-cta {
    margin-top: 60px; /* 上の余白も少し広げて呼吸感を */
  }

    .temiru-logo {
    width: 180px; /* 一回り大きく */
    margin-top: -20px;
  }

  .temiru-logo-link {
    padding: 30px 0 15px; /* 上下の余白もバランス調整 */
  }

   .btn-temiru {
    padding: 18px 56px; /* 高さと横幅を広く */
    font-size: 18px; /* テキストも大きく */
    border-radius: 50px; /* 柔らかめの丸み */
  }

  .back-to-top-link {
    margin: 80px 0 40px; /* 上下に余白を少し増やす */
  }
}

@media (max-width: 767px) {
  :root {
    --motion-opacity: 0.7;
    --motion-blur: 80px;
  }

  .motion-decor .streak {
    opacity: 0.45;
    animation-duration: 12s;
  }

  .motion-decor .dust {
    opacity: 0.65;
  }

  .motion-fall .falling-orb {
    width: 44px;
    height: 44px;
    opacity: 0.62;
    animation-duration: 30s;
  }

  .product {
    animation-name: float-card-soft;
    animation-duration: 10s;
  }

  .logo-item {
    animation-name: logo-drift-soft;
    animation-duration: 13.5s;
  }

  .logo-grid {
    grid-template-columns: repeat(4, 1fr);
    /* SP：4列 */
    gap: 4px;
  }

  .logo-name {
    font-size: 10px;
  }

  .product-list {
    grid-template-columns: repeat(2, 1fr);
    /* SP：2列 */
    gap: 16px;
  }

  .product {
    padding: 10px;
  }

  .product img {
    width: 110%;
    /* ← 画像を少し大きく */
    display: block;
    margin: 0 0 10px;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    /* ← センター寄せ */
    border-radius: 10px;
  }

  .product-name {
    font-size: 14px;
    margin-top: 6px;
  }

  .product-price {
    font-size: 14px;
  }

  .brand-desc {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .btn-brand {
    width: 90%;
    padding: 10px 0;
    font-size: 14px;
    border-radius: 25px;
  }

  .lead {
    font-size: 14px;
    color: #353535;
  }

  .brand h2 {
    font-size: 2rem;
    margin-bottom: 24px;
  }

  .brand-number {
    font-size: 2.0rem;
    margin-bottom: 2px;
  }
    .brand-intro {
    padding: 12px 16px;
    margin-bottom: 32px;
  }

  .kv-banner {
    max-height: 300px;
    margin-top: -20px;
  }

    .temiru-logo {
    width: 120px;
    margin-top: -20px;
  }
  .btn-temiru {
    width: 90%;
    padding: 12px 0;
    font-size: 14px;
  }
}
