.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease,
    box-shadow 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: linear-gradient(135deg, #2563eb 0%, #60a5fa 100%);
  color: #ffffff;
  box-shadow: 0 12px 26px rgba(37, 99, 235, 0.20);
}

.btn--primary:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 100%);
}

.btn--secondary {
  background: rgba(255, 255, 255, 0.72);
  color: #0f172a;
  border-color: rgba(15, 23, 42, 0.08);
}

.btn--secondary:hover {
  background: rgba(243, 246, 251, 0.95);
}

.btn--ghost {
  background: #f8fafc;
  color: #334155;
  border-color: rgba(15, 23, 42, 0.08);
}

.btn--ghost:hover {
  background: #eef2f7;
}

.btn--full {
  width: 100%;
}

.btn--sm {
  min-height: 36px;
  padding: 0 12px;
  border-radius: 10px;
  font-size: 0.86rem;
  font-weight: 700;
}

.notice-card,
.status-chip,
.feature-card,
.device-card,
.tool-panel,
.result-panel,
.auth-card {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.07);
  backdrop-filter: blur(10px);
}

.notice-card::before,
.feature-card::before,
.device-card::before,
.tool-panel::before,
.result-panel::before,
.auth-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(96, 165, 250, 0.28), transparent);
}

.panel-header {
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.panel-header h2 {
  margin: 0 0 8px;
  color: #0f172a;
  font-size: 1.18rem;
}

.panel-header p {
  margin: 0;
  color: #64748b;
  line-height: 1.8;
  font-size: 0.95rem;
}

.notice-card {
  border-radius: 24px;
  padding: 24px;
}

.notice-card__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.notice-card__header h2 {
  margin: 0;
  color: #0f172a;
  font-size: 1.08rem;
}

.notice-card__badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.14);
  color: #2457c5;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.notice-card__text {
  margin: 0;
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.9;
}

.notice-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.notice-list li {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 14px 0;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.notice-list li:first-child {
  border-top: none;
  padding-top: 4px;
}

.notice-date {
  flex: 0 0 110px;
  color: #2457c5;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.notice-text {
  color: #64748b;
  line-height: 1.85;
  font-size: 0.95rem;
}

.status-chip {
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.status-chip__label {
  display: block;
  margin-bottom: 8px;
  color: #7a889b;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.status-chip__value {
  display: block;
  color: #0f172a;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.6;
}

.feature-card {
  padding: 28px 24px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.05);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.07);
  border-color: rgba(37, 99, 235, 0.10);
}

.feature-card h2 {
  margin: 0;
  color: #0f172a;
  font-size: 1.08rem;
  line-height: 1.5;
}

.feature-card p {
  margin: 14px 0 0;
  color: #64748b;
  font-size: 0.97rem;
  line-height: 1.9;
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f7f9fc;
  border: 1px solid rgba(15, 23, 42, 0.08);
  color: #607086;
  font-size: 0.82rem;
  font-weight: 600;
}

.meta-pill--primary {
  background: rgba(37, 99, 235, 0.08);
  border-color: rgba(37, 99, 235, 0.14);
  color: #2457c5;
}

.meta-pill--free {
  background: rgba(6, 182, 212, 0.08);
  border-color: rgba(6, 182, 212, 0.14);
  color: #0f7490;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid transparent;
}

.status-badge--ok {
  background: rgba(22, 163, 74, 0.10);
  border-color: rgba(22, 163, 74, 0.18);
  color: #15803d;
}

.status-badge--error {
  background: rgba(239, 68, 68, 0.10);
  border-color: rgba(239, 68, 68, 0.18);
  color: #b91c1c;
}

.info-list,
.result-list {
  font-size: 0.95rem;
}

.info-list {
  margin: 24px 0 0;
  padding-left: 18px;
  color: #64748b;
  line-height: 1.9;
}

.info-list li + li {
  margin-top: 10px;
}

.result-list {
  margin: 0;
  padding-left: 20px;
  color: #64748b;
  line-height: 1.9;
}

.result-list li + li {
  margin-top: 8px;
}

.result-list li::marker {
  color: #94a3b8;
}

@media (max-width: 640px) {
  .notice-card,
  .feature-card,
  .status-chip {
    border-radius: 18px;
  }

  .notice-list li {
    flex-direction: column;
    gap: 6px;
  }

  .notice-date {
    flex: none;
  }
}

/* ========================================
   Card Hover Elevation Effect
   feature-card / device-card 共通
======================================== */

.feature-card,
.device-card {
  position: relative;
  overflow: hidden;
  transition:
    transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.25s ease,
    background 0.25s ease;
  will-change: transform, box-shadow;
}

/* 光の演出 */
.feature-card::after,
.device-card::after {
  content: "";
  position: absolute;
  inset: -25% -10% auto auto;
  width: 220px;
  height: 220px;
  border-radius: 999px;

  background: radial-gradient(
    circle,
    rgba(96, 165, 250, 0.18) 0%,
    rgba(96, 165, 250, 0.10) 30%,
    rgba(96, 165, 250, 0.04) 50%,
    rgba(96, 165, 250, 0) 72%
  );

  opacity: 0;
  transform: translate3d(24px, -24px, 0) scale(0.9);

  transition:
    opacity 0.35s ease,
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);

  pointer-events: none;
}

/* ホバー時 */

.feature-card:hover,
.device-card:hover {
  transform: translateY(-10px) scale(1.015);

  box-shadow:
    0 30px 60px rgba(15, 23, 42, 0.14),
    0 14px 34px rgba(37, 99, 235, 0.14);

  border-color: rgba(37, 99, 235, 0.20);

  background: rgba(255, 255, 255, 0.98);
}

/* 光を表示 */

.feature-card:hover::after,
.device-card:hover::after {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

/* 内部要素を前面へ */

.feature-card > *,
.device-card > * {
  position: relative;
  z-index: 1;
}
