/* HWE License — minimal portal & form styles */
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans",
               "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
  background: #f5f7fa;
  color: #222;
  line-height: 1.6;
}

.hwe-card {
  max-width: 640px;
  margin: 32px auto;
  padding: 28px 32px;
  background: #fff;
  border: 1px solid #e2e6eb;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
}

.hwe-card h1 {
  margin: 0 0 12px;
  font-size: 22px;
  border-bottom: 2px solid #2664c5;
  padding-bottom: 8px;
}
.hwe-lang {
  text-align: right;
  font-size: 12px;
  margin: -8px 0 4px;
}
.hwe-lang a { color: #2664c5; text-decoration: none; }
.hwe-lang a:hover { text-decoration: underline; }
.hwe-card h2 {
  font-size: 16px;
  margin: 24px 0 8px;
  color: #2664c5;
}

.hwe-lead { color: #555; font-size: 14px; margin-bottom: 20px; }

.hwe-row { margin-bottom: 16px; }
.hwe-row label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 4px;
}
.hwe-row .req {
  display: inline-block;
  background: #d83a3a;
  color: #fff;
  font-size: 11px;
  padding: 1px 6px;
  border-radius: 3px;
  margin-left: 6px;
  font-weight: normal;
}
.hwe-row input[type=text],
.hwe-row input[type=tel],
.hwe-row input[type=email],
.hwe-row input[type=password] {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #c2c8d0;
  border-radius: 4px;
  font-size: 14px;
}
.hwe-row input:focus,
.hwe-row select:focus { outline: 2px solid #2664c5; outline-offset: -1px; }

.hwe-tel-row { display: flex; gap: 8px; }
.hwe-tel-cc {
  flex: 0 0 160px;
  padding: 10px 12px;
  border: 1px solid #c2c8d0;
  border-radius: 4px;
  font-size: 14px;
  background: #fff;
}
.hwe-tel-num { flex: 1 1 auto; }
@media (max-width: 480px) {
  .hwe-tel-row { flex-direction: column; }
  .hwe-tel-cc { flex: 1 1 auto; }
}

.hwe-actions { text-align: right; margin-top: 24px; }
.hwe-btn {
  background: #2664c5;
  color: #fff;
  border: 0;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
}
.hwe-btn:hover { background: #1d50a0; }

.hwe-error { color: #d83a3a; font-weight: 600; }
.hwe-note  { color: #777; font-size: 12px; margin-top: 16px; }

.hwe-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin-bottom: 8px;
}
.hwe-table th, .hwe-table td {
  border: 1px solid #e2e6eb;
  padding: 8px 12px;
  vertical-align: top;
}
.hwe-table th {
  background: #f0f4f8;
  text-align: left;
  width: 32%;
  font-weight: 600;
}
