/* Concerto Studio — welcome.css（入口画面）。参考: 21st.dev のトップ（黒地、General Sans 風、見出し 52px、1 語イタリック、カテゴリ行、浮遊するカード列）。
   書体は Geist（見出し・本文）＋ Instrument Serif（イタリックの強調語）＋ Chillax（ブランド）。 */
:root { /* 色味: thesomeonestale.jp 実測（紺黒 #040711、FV の地 #050a1c、ナビの面 #0a1428、#e8e8e3、罫 .06〜.15）。発光は紺 → 青（ユーザー指示「紫ではなく紺色」） */ --w-bg: #040711; --w-bg-2: #070c1b; --w-panel: #0a1428; --w-text: #e8e8e3; --w-text-2: rgba(232, 232, 227, 0.62); --w-text-3: rgba(232, 232, 227, 0.4); --w-rule: rgba(255, 255, 255, 0.08); --w-accent: #6f8cff; --w-accent-a: #0a1a4a; --w-accent-b: #1f3c8f; --w-glow: rgba(31, 60, 143, 0.55); --w-font: "Geist", "Noto Sans JP", sans-serif; --w-serif: "Instrument Serif", Georgia, serif; --w-ease: cubic-bezier(0.22, 1, 0.36, 1); color-scheme: dark; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--w-bg); color: var(--w-text); font-family: var(--w-font); font-size: 15px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, dl, dd, dt, ul { margin: 0; }
ul { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid #7aa2ff; outline-offset: 3px; }
.w-skip { position: absolute; left: 16px; top: -100px; z-index: 100; padding: 10px 14px; background: #fff; color: #000; border-radius: 8px; }
.w-skip:focus { top: 12px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; } }

.w-nav { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 28px; height: 56px; padding: 0 24px; background: rgba(4, 7, 17, 0.7); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--w-rule); }
.w-brand { display: flex; align-items: center; gap: 10px; font-family: "Chillax", var(--w-font); font-weight: 600; font-size: 18px; letter-spacing: 0.02em; }
.w-brand__mark { width: 14px; height: 14px; border-radius: 4px; background: linear-gradient(135deg, var(--w-accent-a), var(--w-accent-b)); box-shadow: 0 0 14px rgba(60, 100, 230, 0.6); }
.w-nav__links { display: flex; gap: 22px; font-size: 14px; color: var(--w-text-2); }
.w-nav__links a { padding: 8px 0; transition: color 0.18s; }
.w-nav__links a:hover { color: var(--w-text); }
.w-nav__actions { margin-left: auto; display: flex; gap: 8px; }
.w-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 36px; padding: 0 16px; border-radius: 8px; border: 1px solid transparent; font-weight: 500; font-size: 14px; white-space: nowrap; transition: background-color 0.18s, border-color 0.18s, color 0.18s, transform 0.09s; cursor: pointer; font-family: inherit; }
.w-btn:active { transform: scale(0.98); }
.w-btn--primary { background: #fff; color: #040711; }
.w-btn--primary:hover { background: #e9e9ea; }
.w-btn--ghost { background: transparent; color: var(--w-text-2); border-color: var(--w-rule); }
.w-btn--ghost:hover { color: var(--w-text); border-color: rgba(255, 255, 255, 0.3); }
.w-btn--l { height: 44px; padding: 0 22px; font-size: 15px; border-radius: 10px; }

.w-hero { position: relative; padding: 120px 24px 56px; max-width: 1200px; margin: 0 auto; }
.w-hero__glow { position: absolute; inset: -160px 0 auto; height: 1100px; background: radial-gradient(75% 55% at 50% 55%, var(--w-glow), rgba(10, 26, 74, 0.25) 45%, transparent 75%); pointer-events: none; }
html { overflow-x: clip; }
.w-h1 { position: relative; font-weight: 500; font-size: clamp(40px, 5.2vw, 72px); line-height: 1.08; letter-spacing: -0.03em; max-width: 14ch; }
.w-h1 em, .w-h2 em { font-family: var(--w-serif); font-style: italic; font-weight: 400; color: #7d93ff; letter-spacing: -0.01em; }
.w-lead { position: relative; margin-top: 24px; max-width: 46ch; font-size: 17px; color: var(--w-text-2); }
.w-lead b { font-weight: 500; color: var(--w-text); text-decoration: underline; text-decoration-color: #4a68e8; text-underline-offset: 4px; }
.w-hero__cta { position: relative; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }

/* ---------- カテゴリ行＋浮遊するカード列 ---------- */
.w-row { padding: 24px 0 40px; }
.w-row__head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; max-width: 1200px; margin: 24px auto 20px; padding: 0 24px; }
.w-count { font-size: 15px; color: var(--w-text-2); }
.w-count b { font-weight: 500; color: var(--w-text); }
.w-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.w-chips a { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 8px; font-size: 13px; color: var(--w-text-2); transition: background-color 0.18s, color 0.18s; }
.w-chips a:hover { background: rgba(255, 255, 255, 0.06); color: var(--w-text); }
.w-chips a[aria-current="true"] { background: rgba(255, 255, 255, 0.12); color: var(--w-text); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06); }
.w-float { --w-dur: 70s; position: relative; width: 100%; overflow: hidden; padding: 12px 0 28px; perspective: 1400px; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.w-float__track { display: flex; gap: 20px; width: max-content; animation: wFloat var(--w-dur) linear infinite; transform-style: preserve-3d; }
.w-float--rev .w-float__track { animation-direction: reverse; }
.w-float:hover .w-float__track { animation-play-state: paused; }
@keyframes wFloat { to { transform: translateX(-50%); } }
.w-card { position: relative; flex: none; width: 420px; border-radius: 14px; overflow: hidden; background: var(--w-panel); border: 1px solid var(--w-rule); transform: rotateY(var(--ry, 0deg)) translateY(var(--ty, 0px)); transition: transform 0.6s var(--w-ease), border-color 0.3s; animation: wBob 7s ease-in-out infinite; animation-delay: var(--delay, 0s); }
.w-card:hover { transform: rotateY(0deg) translateY(-6px) scale(1.02); border-color: rgba(255, 255, 255, 0.3); z-index: 2; }
.w-card__preview { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #fff; }
.w-card__preview iframe { position: absolute; left: 0; top: 0; width: 1440px; height: 900px; border: 0; transform-origin: 0 0; pointer-events: none; background: #fff; }
.w-card__skeleton { position: absolute; inset: 0; background: linear-gradient(90deg, #0a1428, #101a30, #0a1428); background-size: 200% 100%; animation: wShimmer 1.4s linear infinite; }
.w-card.is-loaded .w-card__skeleton { display: none; }
.w-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 14px; font-size: 13px; }
.w-card__foot span { color: var(--w-text-3); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }
@keyframes wBob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@keyframes wShimmer { to { background-position: -200% 0; } }

/* ---------- 参照サイト ---------- */
.w-used { max-width: 1200px; margin: 0 auto; padding: 80px 24px; }
.w-h2 { font-weight: 500; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.15; letter-spacing: -0.025em; max-width: 24ch; }
.w-h2--s { font-size: 28px; }
.w-h2 u { text-decoration-color: rgba(255, 255, 255, 0.35); text-underline-offset: 6px; }
.w-used__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 48px; }
.w-used__label { font-size: 14px; color: var(--w-text-3); margin-bottom: 14px; }
.w-marks { display: flex; flex-wrap: wrap; gap: 12px 28px; font-weight: 500; font-size: 17px; color: var(--w-text-2); }
.w-marks li::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 10px; border-radius: 3px; background: rgba(255, 255, 255, 0.25); vertical-align: -1px; }

/* ---------- 3 つの価値 ---------- */
.w-how { max-width: 1200px; margin: 0 auto; padding: 60px 24px 80px; }
.w-how__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.w-how article { padding: 24px; border: 1px solid var(--w-rule); border-radius: 14px; background: var(--w-bg-2); }
.w-how__no { font-family: "Chillax", var(--w-font); font-size: 13px; letter-spacing: 0.1em; color: var(--w-text-3); }
.w-how h3 { margin-top: 10px; font-size: 18px; font-weight: 500; }
.w-how article p:last-child { margin-top: 8px; color: var(--w-text-2); font-size: 14px; }

/* ---------- ログイン ---------- */
.w-login { padding: 40px 24px 100px; }
.w-login__card { max-width: 440px; margin: 0 auto; padding: 32px; border: 1px solid var(--w-rule); border-radius: 18px; background: var(--w-bg-2); display: grid; gap: 14px; }
.w-eyebrow { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--w-text-3); }
.w-form { display: grid; gap: 14px; margin-top: 8px; }
.w-field { display: grid; gap: 6px; font-size: 12px; color: var(--w-text-2); }
.w-input { width: 100%; height: 44px; padding: 0 14px; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 10px; background: var(--w-bg); color: var(--w-text); font: inherit; font-size: 15px; transition: border-color 0.18s; }
.w-input:hover { border-color: rgba(255, 255, 255, 0.28); }
.w-input:focus { outline: 2px solid #7aa2ff; outline-offset: -1px; }
.w-form__err { font-size: 13px; color: #ff8a7a; }
.w-note { font-size: 12px; color: var(--w-text-3); }

/* ---------- FAQ ---------- */
.w-faq { max-width: 860px; margin: 0 auto; padding: 20px 24px 100px; }
.w-faq__list { margin-top: 32px; border-top: 1px solid var(--w-rule); }
.w-faq__list dt { padding: 18px 0 6px; font-weight: 500; font-size: 16px; }
.w-faq__list dd { padding: 0 0 18px; color: var(--w-text-2); font-size: 14px; border-bottom: 1px solid var(--w-rule); max-width: 70ch; }

.w-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px; border-top: 1px solid var(--w-rule); font-size: 13px; color: var(--w-text-3); }
.w-foot nav { display: flex; gap: 20px; }
.w-foot a:hover { color: var(--w-text); }

@media (max-width: 860px) {
  .w-nav { gap: 12px; padding: 0 14px; height: 60px; }
  .w-btn { height: 44px; }
  .w-chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -24px; padding: 0 24px 4px; scrollbar-width: none; }
  .w-chips::-webkit-scrollbar { display: none; }
  .w-chips a { flex: none; height: 40px; }
  .w-row__head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .w-foot a { padding: 12px 0; }
  /* スマホでは浮遊するカードを SP の画面で見せる（縦長の電話の比率） */
  .w-card.w-card--sp { width: 220px; }
  .w-card.w-card--sp .w-card__preview { aspect-ratio: 390 / 700; }
  .w-nav__links { display: none; }
  .w-hero { padding-top: 72px; }
  .w-card { width: 300px; }
  .w-used__grid, .w-how__grid { grid-template-columns: 1fr; }
}

