/* ================================================================
   KKTI Key — 情報ページ用スタイル
   ================================================================ */

.page-body {
  background: var(--bg);
  color: var(--fg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ========== ヘッダー ========== */
.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
}
.page-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.page-logo .logo-img {
  height: 28px;
  width: auto;
}
.page-nav {
  display: flex;
  gap: 18px;
}
.page-nav a {
  color: var(--fg-2);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: color 0.2s;
}
.page-nav a:hover {
  color: var(--fg);
}
.page-nav a.active {
  color: var(--yellow);
}

/* ========== メイン ========== */
.page-main {
  flex: 1;
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 24px 60px;
  width: 100%;
}

.page-title {
  font-family: 'Anton', sans-serif;
  font-size: 40px;
  letter-spacing: 0.01em;
  line-height: 1.1;
  margin-bottom: 12px;
  position: relative;
}
.page-title::after {
  content: '';
  display: block;
  width: 40px;
  height: 4px;
  margin-top: 12px;
  background: linear-gradient(90deg, var(--yellow), transparent);
  border-radius: 2px;
}

.page-updated {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--fg-3);
  letter-spacing: 1px;
  margin-bottom: 32px;
}

/* ========== セクション ========== */
.page-section {
  margin-bottom: 36px;
}
.page-section h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--fg);
}
.page-section h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 18px 0 10px;
  color: var(--fg-2);
}
.page-section p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--fg-2);
  margin-bottom: 12px;
}
.page-section ul,
.page-section ol {
  margin: 0 0 16px 22px;
}
.page-section li {
  font-size: 15px;
  line-height: 1.8;
  color: var(--fg-2);
  margin-bottom: 6px;
}
.page-section a {
  color: var(--yellow);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.page-section a:hover {
  opacity: 0.85;
}
.page-section code {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1px 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--yellow);
}
.page-section strong {
  color: var(--fg);
  font-weight: 700;
}

/* ========== コンタクト ========== */
.page-contact {
  font-size: 16px;
  margin: 8px 0;
}
.page-contact-big {
  font-size: 22px;
  font-weight: 700;
  margin: 12px 0 4px;
  padding: 18px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.page-contact-big a {
  color: var(--yellow);
}
.page-note {
  font-size: 12px;
  color: var(--fg-3);
}

/* ========== About ページの機能カード ========== */
.feature-list {
  list-style: none;
  margin: 0 !important;
  padding: 0;
}
.feature-list li {
  position: relative;
  padding: 10px 0 10px 28px;
  border-bottom: 1px solid var(--border);
  margin: 0 !important;
}
.feature-list li:last-child {
  border-bottom: none;
}
.feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 10px;
  color: var(--yellow);
  font-weight: 700;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 12px;
}
@media (min-width: 600px) {
  .feature-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
}
.feature-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--yellow);
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 8px;
}
.feature-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--fg);
}
.feature-card p {
  font-size: 13px;
  color: var(--fg-2);
  line-height: 1.7;
  margin: 0;
}

/* ========== ステップリスト ========== */
.step-list {
  counter-reset: step-counter;
  list-style: none;
  margin: 0 !important;
  padding: 0;
}
.step-list li {
  counter-increment: step-counter;
  position: relative;
  padding: 14px 16px 14px 60px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 8px !important;
}
.step-list li::before {
  content: counter(step-counter);
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  background: var(--yellow);
  color: #000;
  font-family: 'Anton', sans-serif;
  font-size: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

/* ========== テーブル ========== */
.rec-table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0;
  font-size: 14px;
}
.rec-table th {
  background: var(--bg-card);
  text-align: left;
  padding: 12px 14px;
  border: 1px solid var(--border);
  font-weight: 700;
  color: var(--fg);
}
.rec-table td {
  padding: 12px 14px;
  border: 1px solid var(--border);
  color: var(--fg-2);
}
.rec-table tr:nth-child(even) td {
  background: rgba(255,255,255,0.02);
}

/* ========== FAQ ========== */
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 8px;
  overflow: hidden;
}
.faq-item summary {
  padding: 14px 18px;
  cursor: pointer;
  font-weight: 700;
  font-size: 15px;
  color: var(--fg);
  list-style: none;
  position: relative;
  padding-right: 50px;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--yellow);
  font-size: 22px;
  font-weight: 300;
  transition: transform 0.2s;
}
.faq-item[open] summary::after {
  content: '−';
}
.faq-item[open] summary {
  border-bottom: 1px solid var(--border);
}
.faq-item p,
.faq-item ol,
.faq-item ul {
  padding: 14px 18px;
  margin: 0 !important;
  font-size: 14px;
  color: var(--fg-2);
  line-height: 1.7;
}
.faq-item ol,
.faq-item ul {
  padding-left: 38px;
}

/* ========== リンク矢印 ========== */
.link-arrow {
  display: inline-block;
  color: var(--yellow);
  font-weight: 700;
  text-decoration: none !important;
  border-bottom: 1px solid var(--yellow);
  padding-bottom: 2px;
  transition: gap 0.2s;
}

/* ========== フッター ========== */
.page-footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 32px 24px 28px;
  margin-top: auto;
}
.footer-inner {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
@media (min-width: 600px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}
.footer-brand {
  flex: 1;
  min-width: 240px;
}
.footer-logo {
  height: 24px;
  margin-bottom: 8px;
}
.footer-desc {
  font-size: 12px;
  color: var(--fg-3);
  line-height: 1.6;
  margin: 0;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.footer-links a {
  font-size: 12px;
  color: var(--fg-2);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: var(--yellow);
}
.footer-copy {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--fg-3);
  letter-spacing: 1px;
  width: 100%;
  text-align: center;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  margin-top: 8px;
}
@media (min-width: 600px) {
  .footer-copy {
    width: 100%;
    text-align: center;
  }
}
