* {
  box-sizing: border-box;
}

:root {
  --tc-bg-1: #f5fbff;
  --tc-bg-2: #fffaf1;
  --tc-card: #ffffff;
  --tc-text: #1d2940;
  --tc-soft: #5a6780;
  --tc-border: #dce5f2;
  --tc-accent: #1c77c3;
  --tc-accent-2: #00a896;
  --tc-shadow: 0 10px 28px rgba(18, 66, 120, 0.08);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--tc-text);
  background: radial-gradient(circle at 15% 15%, #e8f6ff 0, transparent 38%), radial-gradient(circle at 85% 0, #fff1d8 0, transparent 35%), linear-gradient(150deg, var(--tc-bg-1), var(--tc-bg-2));
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic UI", Meiryo, sans-serif;
}

.tc-page {
  max-width: 860px;
  margin: 0 auto;
  padding: 30px 16px 54px;
}

.tc-hero {
  margin-bottom: 20px;
  text-align: center;
}

.tc-hero-label {
  margin: 0 0 4px;
  color: var(--tc-accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tc-hero h1 {
  margin: 0;
  font-size: clamp(28px, 6.5vw, 40px);
  line-height: 1.2;
}

.tc-hero-copy {
  margin: 10px 0 8px;
  color: #25547f;
  font-size: 16px;
  font-weight: 700;
}

.tc-hero-note {
  margin: 0;
  color: var(--tc-soft);
  font-size: 13px;
}

.tc-card,
.tc-block {
  padding: 18px;
  background: var(--tc-card);
  border: 1px solid var(--tc-border);
  border-radius: 16px;
  box-shadow: var(--tc-shadow);
}

.tc-card {
  margin-bottom: 16px;
}

.tc-field + .tc-field {
  margin-top: 14px;
}

.tc-label {
  display: block;
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 700;
}

.tc-optional,
.tc-required {
  margin-left: 4px;
  font-size: 12px;
  font-weight: 600;
}

.tc-optional {
  color: #557898;
}

.tc-required {
  color: #c75c21;
}

.tc-input {
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  color: var(--tc-text);
  background: #fff;
  border: 1px solid #c9d5e8;
  border-radius: 12px;
  font-size: 15px;
}

.tc-input:focus {
  outline: 2px solid #84bce8;
  border-color: #84bce8;
}

.tc-hint {
  margin: 6px 0 0;
  color: var(--tc-soft);
  font-size: 12px;
}

.tc-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.tc-button {
  border: 0;
  border-radius: 999px;
  min-height: 42px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.tc-button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--tc-accent), var(--tc-accent-2));
}

.tc-button-ghost {
  color: #2f4a68;
  background: #eef5fc;
  border: 1px solid #cadef6;
}

.tc-status {
  margin: 10px 0 0;
  color: #2e5a7f;
  font-size: 13px;
  min-height: 20px;
}

.tc-result {
  display: grid;
  gap: 12px;
}

.tc-block h2 {
  margin: 0 0 10px;
  font-size: 18px;
}

.tc-current {
  margin: 0;
  color: #304058;
}

.tc-source-note {
  margin: 0 0 10px;
  padding: 9px 11px;
  color: #25547f;
  background: #eef7ff;
  border: 1px solid #d7e9fa;
  border-radius: 10px;
  font-size: 13px;
}

.tc-score-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.tc-score-card {
  padding: 12px;
  background: #fbfdff;
  border: 1px solid #dbe6f7;
  border-radius: 12px;
}

.tc-score-label {
  margin: 0;
  color: #4f6078;
  font-size: 12px;
  font-weight: 700;
}

.tc-score-value {
  margin: 4px 0;
  color: #164a78;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.1;
}

.tc-score-comment {
  margin: 0;
  color: #5c6d86;
  font-size: 12px;
}

.tc-trend-summary,
.tc-trend-words {
  margin: 0 0 10px;
  color: #394c68;
}

.tc-trend-samples-title {
  margin: 8px 0 6px;
  color: #394c68;
  font-size: 13px;
  font-weight: 700;
}

.tc-list {
  margin: 0;
  padding-left: 20px;
  color: #2f415c;
}

.tc-list li + li {
  margin-top: 6px;
}

.tc-list-number {
  padding-left: 24px;
}

.tc-sample-list {
  margin-top: 8px;
}

.tc-suggestion-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.tc-suggestion-text {
  flex: 1;
}

.tc-copy-button {
  flex: 0 0 auto;
  min-height: 30px;
  padding: 6px 10px;
  color: #24527a;
  background: #eef7ff;
  border: 1px solid #cfe3f7;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.fvc-result-footer {
  margin: 4px 0 0;
  color: var(--fvc-text-soft);
  font-size: 12px;
  text-align: center;
}

@media (max-width: 640px) {
  .tc-page {
    padding: 24px 12px 40px;
  }

  .tc-card,
  .tc-block {
    padding: 14px;
    border-radius: 14px;
  }

  .tc-score-grid {
    grid-template-columns: 1fr;
  }

  .tc-actions {
    flex-direction: column;
  }

  .tc-button {
    width: 100%;
  }

  .tc-suggestion-item {
    flex-direction: column;
  }

  .tc-copy-button {
    width: 100%;
  }
}
