/* shindan-line-bot 共通スタイル */
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Yu Gothic", "Hiragino Sans", sans-serif;
  background: linear-gradient(180deg, #f7f9fc 0%, #eef2f8 100%);
  color: #2c3e50;
  line-height: 1.7;
  min-height: 100vh;
}

.container {
  max-width: 600px;
  margin: 0 auto;
  padding: 24px 16px 80px;
}

header {
  text-align: center;
  margin-bottom: 32px;
}

h1 {
  font-size: 24px;
  margin-bottom: 12px;
  color: #1a365d;
}

h2 {
  font-size: 18px;
  margin-bottom: 8px;
  color: #1a365d;
}

h3 {
  font-size: 16px;
  margin: 24px 0 12px;
  color: #2d5a87;
  border-left: 4px solid #06C755;
  padding-left: 10px;
}

.lead {
  font-size: 14px;
  color: #5a6c7d;
}

/* 診断メニュー（トップ） */
.menu {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.menu-card {
  display: block;
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  border: 1px solid #e2e8f0;
  transition: transform 0.15s, box-shadow 0.15s;
}

.menu-card:not(.disabled):hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.menu-card.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.menu-icon {
  font-size: 32px;
  margin-bottom: 8px;
}

.menu-time {
  display: inline-block;
  margin-top: 8px;
  font-size: 12px;
  color: #06C755;
  font-weight: bold;
}

.badge-soon {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  background: #cbd5e0;
  color: #fff;
  border-radius: 10px;
  font-size: 11px;
  vertical-align: middle;
}

/* 診断フォーム */
.form-section {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  font-weight: bold;
  margin-bottom: 6px;
  font-size: 14px;
}

input[type="url"],
input[type="text"] {
  width: 100%;
  padding: 12px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 14px;
  transition: border-color 0.15s;
}

input[type="url"]:focus,
input[type="text"]:focus {
  outline: none;
  border-color: #06C755;
}

small {
  display: block;
  margin-top: 6px;
  color: #718096;
  font-size: 12px;
}

code {
  background: #f7fafc;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 12px;
  color: #2d5a87;
}

.check-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: normal;
  font-size: 13px;
}

.btn-primary {
  width: 100%;
  padding: 16px;
  background: #06C755;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.15s, transform 0.05s;
}

.btn-primary:hover:not(:disabled) {
  background: #05a548;
}

.btn-primary:active:not(:disabled) {
  transform: scale(0.98);
}

.btn-primary:disabled {
  background: #cbd5e0;
  cursor: not-allowed;
}

.status-message {
  margin-top: 16px;
  padding: 12px;
  border-radius: 8px;
  font-size: 14px;
  white-space: pre-line;
}

.status-success {
  background: #f0fdf4;
  border: 1px solid #06C755;
  color: #166534;
}

.status-error {
  background: #fef2f2;
  border: 1px solid #dc2626;
  color: #991b1b;
}

.status-info {
  background: #eff6ff;
  border: 1px solid #2563eb;
  color: #1e40af;
}

/* 説明セクション */
.info {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.info ol,
.info ul {
  margin-left: 20px;
  font-size: 14px;
  color: #4a5568;
}

.info li {
  margin-bottom: 6px;
}

.footer-note {
  margin-top: 32px;
  font-size: 11px;
  color: #a0aec0;
  text-align: center;
  line-height: 1.6;
}
