/*
Theme Name: AI まとめ販売テーマ
Theme URI: https://entame-matome.com
Description: 2・5chAI まとめプラグイン販売用 WordPress テーマ
Version: 2.0.0
Author: kuruppe
Author URI: https://entame-matome.com
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ai-matome-sales
Domain Path: /languages
*/

/* ==================== CSS変数 ==================== */
:root {
  --blue-600: #2563eb;
  --blue-500: #3b82f6;
  --blue-50:  #eff6ff;
  --indigo-600: #4f46e5;
  --green-500: #22c55e;
  --green-50:  #f0fdf4;
  --gray-900: #111827;
  --gray-700: #374151;
  --gray-500: #6b7280;
  --gray-300: #d1d5db;
  --gray-100: #f3f4f6;
  --gray-50:  #f9fafb;
  --white:    #ffffff;
  /* 既存テーマ互換エイリアス */
  --primary-color:   #111827;
  --secondary-color: #2563eb;
  --accent-color:    #22c55e;
  --light-bg:        #f9fafb;
  --border-color:    #e5e7eb;
}

/* ==================== リセット ==================== */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: var(--gray-900);
  background: var(--white);
}

a { color: var(--blue-600); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ==================== HEADER ==================== */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-100);
  padding: 0;
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  height: 64px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-title {
  font-size: 18px;
  font-weight: 900;
  color: var(--blue-600);
  letter-spacing: -0.5px;
}

.site-title a {
  color: inherit;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-title a::before {
  content: 'AI';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--blue-600), var(--indigo-600));
  border-radius: 8px;
  color: white;
  font-size: 13px;
  font-weight: 900;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 4px;
  align-items: center;
}

nav a {
  color: var(--gray-700);
  font-weight: 500;
  font-size: 14px;
  padding: 6px 12px;
  border-radius: 6px;
  transition: background 0.2s;
  text-decoration: none;
}

nav a:hover {
  background: var(--gray-100);
  text-decoration: none;
}

/* ナビ最後のリンク（無料で試す）をCTAボタン化 */
nav ul li.nav-cta a,
nav ul li:last-child a {
  background: var(--blue-600);
  color: white;
  padding: 8px 20px;
  border-radius: 8px;
  font-weight: 700;
  margin-left: 8px;
}

nav ul li.nav-cta a:hover,
nav ul li:last-child a:hover {
  background: var(--indigo-600);
  text-decoration: none;
}

/* ==================== ボタン共通 ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
  padding: 12px 28px;
  background: var(--blue-600);
  color: white;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  box-shadow: 0 4px 14px rgba(37,99,235,0.3);
}

.btn:hover {
  background: var(--indigo-600);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37,99,235,0.4);
  text-decoration: none;
}

.btn-primary { background: var(--blue-600); }
.btn-outline {
  background: white;
  color: var(--blue-600);
  border: 2px solid var(--blue-600);
  box-shadow: none;
}
.btn-outline:hover {
  background: var(--blue-50);
  transform: translateY(-1px);
  text-decoration: none;
}

.btn-success {
  background: var(--green-500);
  box-shadow: 0 4px 14px rgba(34,197,94,0.3);
}

.btn-success:hover {
  background: #16a34a;
  box-shadow: 0 6px 20px rgba(34,197,94,0.4);
}

/* ==================== HERO LAPTOP IMAGE ====================*/
.hero-laptop-img {
  width: 100%;
  max-width: 680px;
  height: auto;
  display: block;
  border-radius: 12px;
  filter: drop-shadow(0 24px 48px rgba(0,0,0,0.18));
}
/* ==================== HERO ====================*/
.hero {
  padding: 80px 32px 100px;
  background: linear-gradient(180deg, var(--blue-50) 0%, var(--white) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(37,99,235,0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: white;
  border: 1px solid var(--gray-300);
  color: var(--blue-600);
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.hero h1 {
  font-size: 48px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -1px;
  color: var(--gray-900);
  margin-bottom: 20px;
}

.hero h1 em {
  font-style: normal;
  color: var(--blue-600);
}

.hero-sub {
  font-size: 17px;
  color: var(--gray-500);
  line-height: 1.8;
  margin-bottom: 36px;
}

.hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 13px;
  color: var(--gray-500);
  flex-wrap: wrap;
}

.trust-item { display: flex; align-items: center; gap: 6px; }
.trust-check { color: var(--green-500); font-weight: 700; }

/* ==================== HERO: プラグインUIモックアップ ==================== */
.ui-mockup {
  background: #f0f0f1;
  border: 1px solid #c3c4c7;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.18), 0 1px 4px rgba(0,0,0,0.10);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.mockup-adminbar {
  background: #1d2327;
  height: 28px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  gap: 14px;
}

.mockup-adminbar-logo {
  width: 18px; height: 18px;
  background: #3c434a;
  border-radius: 2px;
  display: flex; align-items: center; justify-content: center;
  color: #a7aaad; font-size: 10px; font-weight: 900;
}

.mockup-adminbar-item { font-size: 11px; color: #a7aaad; white-space: nowrap; }
.mockup-adminbar-item.highlight { color: #72aee6; }

.mockup-admin-wrap {
  display: flex;
  height: 320px;
  overflow: hidden;
}

.mockup-sidebar {
  width: 80px;
  background: #1d2327;
  flex-shrink: 0;
  padding: 8px 0;
}

.mockup-sidebar-item {
  padding: 6px 8px;
  font-size: 9px;
  color: #a7aaad;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  cursor: default;
}

.mockup-sidebar-item.active { background: #2271b1; color: #fff; }
.mockup-sidebar-icon { font-size: 13px; }

.mockup-main {
  flex: 1;
  background: #f0f0f1;
  padding: 10px 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mockup-page-title { font-size: 13px; font-weight: 700; color: #1d2327; margin: 0 0 4px; }
.mockup-plugin-cols { display: flex; gap: 8px; flex: 1; overflow: hidden; }

.mockup-left-col {
  width: 140px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mockup-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  padding: 8px 10px;
}

.mockup-card-title {
  font-size: 9px;
  font-weight: 700;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 4px;
  margin-bottom: 6px;
}

.mockup-url-input {
  width: 100%;
  border: 1px solid #8c8f94;
  border-radius: 3px;
  padding: 4px 6px;
  font-size: 9px;
  color: #1d2327;
  background: #fff;
  margin-bottom: 5px;
  box-sizing: border-box;
}

.mockup-generate-btn {
  width: 100%;
  background: #2271b1;
  color: #fff;
  border: none;
  border-radius: 3px;
  padding: 5px 0;
  font-size: 9px;
  font-weight: 700;
  cursor: pointer;
  margin-bottom: 5px;
}

.mockup-log {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 3px;
  padding: 4px 6px;
  font-size: 8px;
  line-height: 1.7;
  max-height: 72px;
  overflow: hidden;
}

.mockup-log-line { margin: 0; }
.mockup-log-line.info    { color: #2271b1; }
.mockup-log-line.success { color: #16a34a; }

.mockup-option {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  padding: 4px 5px;
  border: 1px solid #2271b1;
  border-radius: 3px;
  background: #f0f6fc;
  margin-bottom: 3px;
  font-size: 8px;
  color: #1d2327;
  line-height: 1.4;
}

.mockup-option.unsel { border-color: #ddd; background: #fff; }
.mockup-option-num { color: #999; font-size: 7px; margin-bottom: 1px; }

.mockup-right-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow: hidden;
}

.mockup-preview-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2px;
}

.mockup-preview-label { font-size: 10px; font-weight: 700; color: #1d2327; }

.mockup-rewrite-btn {
  background: #f6f7f7;
  border: 1px solid #8c8f94;
  border-radius: 3px;
  padding: 2px 6px;
  font-size: 8px;
  color: #1d2327;
  cursor: pointer;
}

.mockup-preview-body {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  padding: 8px 10px;
  flex: 1;
  overflow: hidden;
  font-size: 8.5px;
  line-height: 1.6;
  color: #333;
}

.mockup-res-header { font-size: 8px; color: #888; margin-top: 6px; margin-bottom: 1px; }
.mockup-res-name   { color: green; font-weight: 700; }
.mockup-res-id     { color: #888; }
.mockup-res-body   { margin-bottom: 4px; padding-bottom: 4px; border-bottom: 1px solid #f0f0f0; }
.mockup-res-body.emphasis { color: #ff0000; font-weight: 700; }

.mockup-progress-bar {
  height: 3px; background: #e8e8e8; border-radius: 2px; overflow: hidden; margin-bottom: 3px;
}
.mockup-progress-fill { height: 100%; background: #2271b1; width: 100%; border-radius: 2px; }

/* ==================== FEATURES ==================== */
.features { padding: 100px 32px; background: var(--white); }

.section-header { text-align: center; margin-bottom: 64px; }

.section-eyebrow {
  display: inline-block;
  background: var(--blue-50);
  color: var(--blue-600);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 100px;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.section-title {
  font-size: 36px;
  font-weight: 900;
  color: var(--gray-900);
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.section-sub { font-size: 16px; color: var(--gray-500); }

.features-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: 16px;
  padding: 32px 24px;
  transition: all 0.2s;
}

.feature-card:hover {
  background: white;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  transform: translateY(-4px);
}

.feature-icon {
  width: 48px; height: 48px;
  background: var(--blue-50);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}

.feature-card h3 { font-size: 17px; font-weight: 700; color: var(--gray-900); margin-bottom: 8px; }
.feature-card p  { font-size: 14px; color: var(--gray-500); line-height: 1.7; }

/* ==================== HOW TO USE (3ステップ) ==================== */
.how { padding: 100px 32px; background: var(--gray-50); }
.how-inner { max-width: 860px; margin: 0 auto; }

.steps {
  display: flex;
  gap: 0;
  position: relative;
  margin-top: 48px;
}

.steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(16.66% + 28px);
  right: calc(16.66% + 28px);
  height: 2px;
  background: var(--blue-600);
  z-index: 0;
}

.step { flex: 1; text-align: center; position: relative; z-index: 1; padding: 0 16px; }

.step-num {
  width: 56px; height: 56px;
  background: var(--blue-600);
  color: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 900;
  margin: 0 auto 20px;
  box-shadow: 0 4px 14px rgba(37,99,235,0.35);
}

.step h3 { font-size: 16px; font-weight: 700; color: var(--gray-900); margin-bottom: 8px; }
.step p  { font-size: 13px; color: var(--gray-500); line-height: 1.7; }

/* ==================== PRICING ==================== */
.pricing-section,
.pricing { padding: 100px 32px; background: var(--white); }

.pricing-inner { max-width: 860px; margin: 0 auto; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.pricing-card {
  background: white;
  border: 1px solid var(--gray-300);
  border-radius: 20px;
  padding: 36px 32px;
  position: relative;
  transition: all 0.2s;
}

.pricing-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.10);
  transform: translateY(-4px);
}

.pricing-card.featured {
  border: 2px solid var(--blue-600);
  box-shadow: 0 8px 32px rgba(37,99,235,0.15);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue-600);
  color: white;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 100px;
  white-space: nowrap;
}

.pricing-plan {
  font-size: 14px; font-weight: 700; color: var(--gray-500);
  margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.05em;
}

.pricing-price {
  font-size: 48px; font-weight: 900; color: var(--gray-900);
  letter-spacing: -2px; line-height: 1; margin-bottom: 4px;
}

.pricing-price span { font-size: 20px; font-weight: 700; letter-spacing: 0; }

.pricing-desc { font-size: 13px; color: var(--gray-500); margin-bottom: 24px; }

.pricing-divider { height: 1px; background: var(--gray-100); margin: 24px 0; }

.pricing-features { list-style: none; margin-bottom: 32px; }

.pricing-features li {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--gray-700); padding: 8px 0;
}

.pricing-check { color: var(--green-500); font-weight: 700; font-size: 16px; flex-shrink: 0; }

.pricing-note { font-size: 11px; color: var(--gray-500); margin-top: 16px; line-height: 1.6; }

.btn-plan {
  display: block; width: 100%; padding: 14px;
  border-radius: 10px; font-weight: 700; font-size: 15px;
  text-align: center; text-decoration: none; transition: all 0.2s;
  cursor: pointer; border: none;
}

.btn-plan-primary {
  background: var(--blue-600); color: white;
  box-shadow: 0 4px 14px rgba(37,99,235,0.3);
}

.btn-plan-primary:hover {
  background: var(--indigo-600); transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37,99,235,0.4);
  text-decoration: none; color: white;
}

.btn-plan-outline {
  background: white; color: var(--gray-700); border: 1px solid var(--gray-300);
}

.btn-plan-outline:hover {
  border-color: var(--blue-500); color: var(--blue-600); text-decoration: none;
}

/* ==================== FAQ ==================== */
.faq { padding: 100px 32px; background: var(--gray-50); }
.faq-inner { max-width: 720px; margin: 0 auto; }

.faq-item {
  background: white; border: 1px solid var(--gray-100);
  border-radius: 12px; padding: 24px 28px; margin-bottom: 12px; transition: all 0.2s;
}

.faq-item:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.06); }

.faq-q {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 15px; font-weight: 700; color: var(--gray-900); margin-bottom: 12px;
}

.faq-q-icon {
  width: 24px; height: 24px; background: var(--blue-600); color: white;
  border-radius: 6px; display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 900; flex-shrink: 0; margin-top: 1px;
}

.faq-a { font-size: 14px; color: var(--gray-500); line-height: 1.8; padding-left: 36px; }

/* ==================== CTAバナー ==================== */
.cta-banner {
  padding: 80px 32px;
  background: linear-gradient(135deg, var(--blue-600) 0%, var(--indigo-600) 100%);
  text-align: center;
}

.cta-banner h2 {
  font-size: 36px; font-weight: 900; color: white;
  margin-bottom: 12px; letter-spacing: -0.5px;
}

.cta-banner p { font-size: 16px; color: rgba(255,255,255,0.8); margin-bottom: 36px; }

.btn-cta-white {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; background: white; color: var(--blue-600);
  border-radius: 10px; font-weight: 700; font-size: 15px;
  text-decoration: none; transition: all 0.2s; margin: 0 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.btn-cta-white:hover {
  transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  text-decoration: none; color: var(--blue-600);
}

.btn-cta-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; background: transparent; color: white;
  border: 2px solid rgba(255,255,255,0.5); border-radius: 10px;
  font-weight: 700; font-size: 15px; text-decoration: none;
  transition: all 0.2s; margin: 0 8px;
}

.btn-cta-outline:hover {
  border-color: white; background: rgba(255,255,255,0.1);
  text-decoration: none; color: white;
}

/* ==================== FOOTER ==================== */
footer {
  background: var(--gray-900); color: white;
  padding: 60px 32px 32px; margin-top: 0;
}

.footer-inner,
.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand p { color: #9ca3af; font-size: 13px; line-height: 1.7; }

.footer-col h4,
.footer-content h3 {
  font-size: 13px; font-weight: 700; margin-bottom: 16px; color: white;
}

.footer-col ul,
.footer-content ul { list-style: none; }

.footer-col li,
.footer-content li { margin-bottom: 10px; }

.footer-col a,
.footer-content a {
  color: #9ca3af; text-decoration: none; font-size: 13px;
  transition: color 0.2s; display: block; margin-bottom: 0;
}

.footer-col a:hover,
.footer-content a:hover { color: white; text-decoration: none; }

.footer-bottom {
  max-width: 1200px; margin: 0 auto;
  padding-top: 24px; border-top: 1px solid #1f2937;
  color: #6b7280; font-size: 12px; text-align: center;
}

/* ==================== 法的・固定ページ ==================== */
.page-content { padding: 60px 20px; max-width: 860px; }

.page-title {
  font-size: 32px; font-weight: 800; margin-bottom: 36px;
  padding-bottom: 16px; border-bottom: 3px solid var(--secondary-color);
  color: var(--primary-color);
}

.page-body { line-height: 1.9; color: #374151; }

.page-body h2 {
  font-size: 20px; font-weight: 700; margin: 40px 0 14px;
  padding-left: 12px; border-left: 4px solid var(--secondary-color);
  color: var(--primary-color);
}

.page-body h3 { font-size: 17px; font-weight: 700; margin: 28px 0 10px; color: var(--primary-color); }
.page-body p  { margin-bottom: 16px; }
.page-body ul, .page-body ol { margin: 12px 0 20px 24px; }
.page-body li { margin-bottom: 8px; }

.page-body table { width: 100%; border-collapse: collapse; margin: 20px 0 32px; font-size: 15px; }

.page-body th {
  width: 32%; padding: 12px 16px; background: #f9fafb;
  border: 1px solid #e5e7eb; font-weight: 700; text-align: left;
  vertical-align: top; color: var(--primary-color);
}

.page-body td { padding: 12px 16px; border: 1px solid #e5e7eb; vertical-align: top; line-height: 1.7; }
.page-body a  { color: var(--secondary-color); text-decoration: underline; }
.page-body code { background: #f3f4f6; padding: 2px 6px; border-radius: 4px; font-size: 0.9em; }

/* ==================== 法的ページ ==================== */
.legal-page { padding: 60px 20px; max-width: 860px; margin: 0 auto; }

.legal-title {
  font-size: 28px; font-weight: bold; margin-bottom: 32px;
  padding-bottom: 16px; border-bottom: 2px solid var(--border-color);
  color: var(--primary-color);
}

.legal-content { line-height: 1.9; color: #374151; }

.legal-content h2 {
  font-size: 20px; font-weight: bold; margin: 36px 0 12px;
  padding-left: 12px; border-left: 4px solid var(--secondary-color);
  color: var(--primary-color);
}

.legal-content h3 { font-size: 16px; font-weight: bold; margin: 24px 0 8px; color: var(--primary-color); }
.legal-content p  { margin-bottom: 16px; }
.legal-content ul, .legal-content ol { padding-left: 24px; margin-bottom: 16px; }
.legal-content li { margin-bottom: 8px; }

.legal-content table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 15px; }

.legal-content th,
.legal-content td { padding: 12px 16px; border: 1px solid var(--border-color); text-align: left; vertical-align: top; }

.legal-content th { background: var(--light-bg); font-weight: 600; width: 32%; color: var(--primary-color); }
.legal-content a  { color: var(--secondary-color); word-break: break-all; }
.legal-content code { background: var(--light-bg); padding: 2px 6px; border-radius: 3px; font-size: 13px; }

/* ==================== 認証フォーム ==================== */
.auth-card {
  background: white; border: 1px solid var(--border-color);
  border-radius: 12px; padding: 48px 40px; max-width: 460px;
  width: 100%; box-shadow: 0 4px 24px rgba(0,0,0,0.07);
}

.auth-title { font-size: 26px; font-weight: bold; margin-bottom: 8px; text-align: center; }
.auth-sub   { color: #6b7280; font-size: 14px; text-align: center; margin-bottom: 28px; }
.auth-field { margin-bottom: 18px; }

.auth-field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; color: var(--primary-color); }

.auth-field input {
  width: 100%; padding: 11px 14px; border: 1px solid var(--border-color);
  border-radius: 6px; font-size: 15px; transition: border-color 0.2s;
  outline: none; box-sizing: border-box;
}

.auth-field input:focus {
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.1);
}

.auth-hint { font-size: 12px; color: #9ca3af; margin-top: 4px; display: block; }

.auth-notice { padding: 12px 16px; border-radius: 6px; font-size: 14px; margin-bottom: 18px; }
.auth-notice--error   { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; }
.auth-notice--success { background: #f0fdf4; color: #16a34a; border: 1px solid #bbf7d0; }

.auth-links { text-align: center; margin-top: 20px; font-size: 14px; }
.auth-links a { color: var(--secondary-color); }

/* ==================== マイページ ==================== */
.account-card {
  background: white; border: 1px solid var(--border-color);
  border-radius: 10px; padding: 30px; margin-bottom: 24px;
}

.account-card h2 {
  font-size: 18px; font-weight: bold; margin-bottom: 20px;
  padding-bottom: 12px; border-bottom: 1px solid var(--border-color);
}

.license-row { background: var(--light-bg); border-radius: 8px; padding: 20px; margin-bottom: 16px; }

.license-code {
  background: white; border: 1px solid var(--border-color);
  border-radius: 4px; padding: 6px 12px;
  font-family: 'Courier New', monospace; font-size: 15px;
  letter-spacing: 1px; word-break: break-all;
}

.btn-copy {
  padding: 6px 14px; background: var(--primary-color); color: white;
  border: none; border-radius: 4px; font-size: 13px;
  cursor: pointer; transition: background 0.2s;
}

.btn-copy:hover { background: #374151; }

.plan-badge {
  display: inline-block; background: var(--secondary-color); color: white;
  font-size: 12px; padding: 3px 10px; border-radius: 20px; font-weight: 600;
}

.status-badge { display: inline-block; font-size: 12px; padding: 3px 10px; border-radius: 20px; font-weight: 600; }
.status-active   { background: #dcfce7; color: #16a34a; }
.status-inactive { background: #fee2e2; color: #dc2626; }

/* ==================== レスポンシブ ==================== */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .ui-mockup  { max-width: 560px; margin: 0 auto; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner,
  .footer-content { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .header-content { padding: 0 16px; }
  .hero { padding: 60px 16px 80px; }
  .hero h1 { font-size: 36px; }
  .features-grid { grid-template-columns: 1fr; }
  .steps { flex-direction: column; gap: 32px; }
  .steps::before { display: none; }
  .pricing-grid { grid-template-columns: 1fr; }
  .footer-inner,
  .footer-content { grid-template-columns: 1fr; gap: 24px; }
  .cta-banner h2 { font-size: 28px; }
  .btn-cta-white,
  .btn-cta-outline {
    display: block; margin: 8px auto; max-width: 280px; justify-content: center;
  }
}