/* ============================================================
   てつづきナビ 共通デザインシステム
   2026-04-19 デザイン刷新
   ============================================================ */

/* ベース */
body{font-family:'Noto Sans JP',sans-serif;color:#1e293b}
body.fade-init{opacity:0;transition:opacity .2s ease}
body.fade-init.loaded{opacity:1}
button:active,a:active{opacity:.8}

/* 背景：柔らかな2色グラデーション */
.bg-canvas{background:
  radial-gradient(ellipse 80% 60% at 20% 0%, rgba(20,184,166,0.08) 0%, transparent 50%),
  radial-gradient(ellipse 70% 50% at 80% 10%, rgba(99,102,241,0.06) 0%, transparent 50%),
  #fafaf9;
}
.bg-canvas-solid{background:#fafaf9}

/* Header 共通 */
.app-header{
  position:sticky;top:0;z-index:50;
  backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);
  background:rgba(255,255,255,0.82);
  border-bottom:1px solid #f1f5f9;
}
.app-header-inner{
  max-width:1152px;margin:0 auto;padding:12px 16px;
  display:flex;align-items:center;justify-content:space-between;gap:8px;
}
.brand-logo{
  display:inline-flex;align-items:center;gap:8px;
  font-weight:700;color:#0f172a;text-decoration:none;
  flex-shrink:0;min-width:0;
}
.brand-logo .brand-mark{
  width:32px;height:32px;border-radius:10px;
  background:linear-gradient(135deg,#14b8a6 0%,#0d9488 60%,#0f766e 100%);
  color:#fff;display:flex;align-items:center;justify-content:center;
  font-size:14px;letter-spacing:-0.04em;
  box-shadow:0 2px 4px -1px rgba(13,148,136,0.3);
}
.brand-logo .brand-name{font-size:15px;color:#0f172a}
@media (max-width:400px){
  .brand-logo .brand-name{font-size:14px}
}

/* Footer 共通 */
.app-footer{
  border-top:1px solid #f1f5f9;
  background:rgba(255,255,255,0.6);
  padding:40px 0;margin-top:40px;
}
.app-footer-inner{max-width:1152px;margin:0 auto;padding:0 16px}
.app-footer-top{
  display:flex;flex-direction:column;align-items:center;gap:20px;
  padding-bottom:24px;
}
@media(min-width:640px){
  .app-footer-top{flex-direction:row;justify-content:space-between;gap:24px}
}
.app-footer-links{
  display:flex;flex-wrap:wrap;justify-content:center;gap:4px 16px;
  font-size:12px;color:#64748b;
}
.app-footer-links a{color:inherit;text-decoration:none;transition:color .15s ease}
.app-footer-links a:hover{color:#0f172a}
.app-footer-bottom{
  padding-top:24px;border-top:1px solid #f1f5f9;text-align:center;
}
.app-footer-bottom p{font-size:11px;color:#94a3b8;margin:0}
.app-footer-bottom p+p{margin-top:4px;font-size:10px}

/* タイポグラフィ */
.title-accent{
  background:linear-gradient(135deg,#0d9488 0%,#0891b2 50%,#4f46e5 100%);
  -webkit-background-clip:text;background-clip:text;color:transparent;
}
.title-underline{position:relative;display:inline-block}
.title-underline::after{
  content:'';position:absolute;left:-4px;right:-4px;bottom:2px;height:12px;
  background:rgba(20,184,166,0.18);z-index:-1;border-radius:2px;
}
.section-label{
  font-size:11px;font-weight:600;letter-spacing:0.15em;
  text-transform:uppercase;color:#0f766e;
}

/* ボタン */
.btn-primary{
  display:inline-flex;align-items:center;gap:8px;
  padding:12px 24px;border-radius:9999px;
  background:#0f172a;color:#fff;
  font-size:14px;font-weight:600;text-decoration:none;
  transition:background .2s ease,transform .2s ease;
  box-shadow:0 8px 20px -8px rgba(15,23,42,0.4);
}
.btn-primary:hover{background:#334155;transform:translateY(-1px)}
.btn-secondary{
  display:inline-flex;align-items:center;gap:8px;
  padding:12px 20px;border-radius:9999px;
  background:#fff;border:1px solid #e2e8f0;color:#334155;
  font-size:14px;font-weight:500;text-decoration:none;
  transition:border-color .2s ease,color .2s ease;
}
.btn-secondary:hover{border-color:#2dd4bf;color:#0f766e}
.btn-tag{
  display:inline-flex;align-items:center;
  padding:8px 16px;border-radius:9999px;
  background:#fff;border:1px solid #e2e8f0;color:#64748b;
  font-size:12px;text-decoration:none;
  transition:border-color .2s ease,color .2s ease;
}
.btn-tag:hover{border-color:#2dd4bf;color:#0f766e}

/* セクション区切り */
.section-divider{
  display:flex;align-items:center;gap:14px;margin:0 0 20px 0;
}
.section-divider::before,.section-divider::after{
  content:'';flex:1;height:1px;
  background:linear-gradient(90deg,transparent,#e2e8f0,transparent);
}
.section-divider span{
  font-size:11px;font-weight:600;color:#94a3b8;
  letter-spacing:0.08em;white-space:nowrap;
}

/* カード */
.card-soft{
  background:#fff;border:1px solid #f1f5f9;border-radius:20px;
  padding:24px;
  transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease;
}
.card-soft:hover{
  border-color:#ccfbf1;
  box-shadow:0 8px 24px -8px rgba(15,23,42,0.08);
}

/* アニメーション */
@keyframes slideUp{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}
.animate-up{animation:slideUp .8s ease-out both}
.animate-up-d1{animation:slideUp .8s ease-out .15s both}
.animate-up-d2{animation:slideUp .8s ease-out .3s both}
.animate-up-d3{animation:slideUp .8s ease-out .45s both}

/* 印刷 */
@media print{
  .app-header,.app-footer,.no-print{display:none!important}
  body{opacity:1!important;background:#fff!important}
}
