/* Hero Section — editorial 国際様式 (検索ファースト / 藍 ultramarine) */

.hero {
  position: relative;
  background: var(--paper, #EEF0EA);
  color: var(--ink, #121312);
  overflow: hidden;
  min-height: calc(100svh - 72px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 56px 0;
  text-align: left;
}

/* ── 動く背景: 藍×スカイの aurora (hero 内に内包) ── */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  will-change: transform;
}

.hero-blob.b1 {
  width: 60vw;
  height: 60vw;
  left: -12vw;
  top: -22vw;
  background: radial-gradient(circle at 40% 40%, var(--blue, #1B2CE0) 0%, rgba(27, 44, 224, 0) 64%);
  animation: heroDrift1 19s ease-in-out infinite alternate;
}

.hero-blob.b2 {
  width: 52vw;
  height: 52vw;
  right: -14vw;
  bottom: -24vw;
  background: radial-gradient(circle at 50% 50%, var(--sky, #6E8BFF) 0%, rgba(110, 139, 255, 0) 66%);
  animation: heroDrift2 23s ease-in-out infinite alternate;
}

.hero-blob.b3 {
  width: 34vw;
  height: 34vw;
  right: 6vw;
  top: 4vw;
  background: radial-gradient(circle at 50% 50%, var(--sky-soft, #A9BCFF) 0%, rgba(169, 188, 255, 0) 70%);
  opacity: 0.42;
  animation: heroDrift3 27s ease-in-out infinite alternate;
}

@keyframes heroDrift1 {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(8vw, 5vw) scale(1.12); }
}
@keyframes heroDrift2 {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-7vw, -4vw) scale(1.15); }
}
@keyframes heroDrift3 {
  from { transform: translate(0, 0); }
  to { transform: translate(-5vw, 6vw); }
}

/* ── 藍の円 (元の浮遊円を意図的に再構成) ── */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.hero-orb.o1 { width: 118px; height: 118px; border: 1.5px solid var(--sky, #6E8BFF); top: 8%; right: 8%; opacity: 0.55; animation: heroFloat 7s ease-in-out infinite; }
.hero-orb.o2 { width: 54px; height: 54px; background: var(--sky-soft, #A9BCFF); opacity: 0.4; top: 30%; right: 26%; animation: heroFloat 6s ease-in-out infinite 0.8s; }
.hero-orb.o3 { width: 230px; height: 230px; border: 1.5px solid var(--sky-soft, #A9BCFF); top: -2%; right: -4%; opacity: 0.5; animation: heroFloat 9s ease-in-out infinite 0.4s; }
.hero-orb.o4 { width: 14px; height: 14px; background: var(--blue, #1B2CE0); top: 64%; left: 38%; opacity: 0.5; animation: heroFloat 5.5s ease-in-out infinite 1.2s; }
.hero-orb.o5 { width: 30px; height: 30px; border: 2px solid var(--sky, #6E8BFF); bottom: 10%; left: 7%; opacity: 0.5; animation: heroFloat 6.5s ease-in-out infinite 2s; }
.hero-orb.o6 { width: 9px; height: 9px; background: var(--blue, #1B2CE0); bottom: 22%; left: 28%; opacity: 0.5; animation: heroFloat 5s ease-in-out infinite 1.6s; }

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

.hero .container { position: relative; z-index: 2; }
.hero-content { position: relative; z-index: 2; }

/* ── 見出し ── */
.hero-title {
  font-family: 'M PLUS 1', 'Zen Kaku Gothic New', sans-serif;
  font-weight: 800;
  font-size: clamp(34px, 6vw, 82px);
  line-height: 1.06;
  letter-spacing: -0.01em;
  color: var(--ink, #121312);
  margin: 0 0 26px;
  max-width: 15em;
}
.hero-title .accent { color: var(--blue, #1B2CE0); }
.hero-title .ln { display: block; overflow: hidden; }
.hero-title .ln > span {
  display: block;
  transform: translateY(110%);
  animation: heroLineUp 1s cubic-bezier(0.2, 0.7, 0.15, 1) both;
}
.hero-title .ln1 > span { animation-delay: 0.16s; }
.hero-title .ln2 > span { animation-delay: 0.28s; }

/* ── 検索ブロック (第一導線) ── */
.hero-search-block {
  max-width: 760px;
  position: relative;
  z-index: 2;
}

.hero-subtitle {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.8;
  color: var(--ink, #121312);
  max-width: 560px;
  margin: 0 0 22px;
  opacity: 0;
  animation: heroFade 0.9s ease 0.5s both;
}
.hero-subtitle .em { color: var(--blue, #1B2CE0); font-weight: 700; }

.hero-search {
  display: flex;
  border: 2px solid var(--ink, #121312);
  background: #ffffff;
  border-radius: 2px;
  opacity: 0;
  animation: heroFade 0.9s ease 0.62s both;
}
.hero-search-input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  padding: 22px 22px;
  font-size: clamp(16px, 1.8vw, 19px);
  font-family: 'Archivo', 'Zen Kaku Gothic New', sans-serif;
  color: var(--ink, #121312);
}
.hero-search-input::placeholder { color: #9a9a93; }
.hero-search-input:focus-visible {
  outline: 3px solid var(--blue, #1B2CE0);
  outline-offset: -3px;
}
.hero-search-btn {
  border: 0;
  cursor: pointer;
  background: var(--blue, #1B2CE0);
  color: #ffffff;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 700;
  font-size: clamp(15px, 1.7vw, 18px);
  letter-spacing: 0.06em;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  transition: background 0.18s ease;
}
.hero-search-btn:hover { background: var(--blue-deep, #1320A8); }
.hero-search-btn svg { width: 21px; height: 21px; flex: 0 0 auto; }
.hero-search-btn .arw { transition: transform 0.18s ease; }
.hero-search-btn:hover .arw { transform: translateX(4px); }

.hero-note {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft, #46453f);
  opacity: 0;
  animation: heroFade 0.9s ease 0.76s both;
}
.hero-note .price { font-family: 'Archivo', sans-serif; font-weight: 700; color: var(--ink, #121312); }
.hero-note .x { color: var(--blue, #1B2CE0); }

@keyframes heroLineUp {
  to { transform: translateY(0); }
}
@keyframes heroFade {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 600px) {
  .hero-search { flex-direction: column; }
  .hero-search-btn { padding: 16px; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-blob { display: none; }
  .hero-title .ln > span,
  .hero-subtitle,
  .hero-search,
  .hero-note,
  .hero-orb {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
