/* Entry Page Styles */

.entry-section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.entry-container {
  padding: 0;
}

.entry-title {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 30px;
  text-align: center;
  color: #333;
  border-bottom: 2px solid #333;
  padding-bottom: 15px;
}

.entry-description {
  margin: 0 auto 40px auto;
  max-width: 600px;
}

.entry-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.entry-features li {
  margin-bottom: 10px;
  padding-left: 20px;
  position: relative;
  line-height: 1.6;
}

.entry-features li:before {
  content: "•";
  position: absolute;
  left: 0;
  font-weight: bold;
}

.link {
  color: #0066cc;
  text-decoration: underline;
}

.link:hover {
  text-decoration: none;
}

.entry-form {
  margin: 0 auto 40px auto;
  max-width: 600px;
}

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

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: #333;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
  box-sizing: border-box;
}

.form-input:focus {
  outline: none;
  border-color: #0066cc;
  box-shadow: 0 0 0 2px rgba(0, 102, 204, 0.2);
}

.terms-section {
  margin: 30px 0;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  background-color: #f9f9f9;
}

.terms-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #333;
}

.terms-content {
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 15px;
  background: white;
  margin-bottom: 15px;
  height: 200px;
  overflow-y: auto;
}

.terms-content p {
  margin: 8px 0;
  line-height: 1.5;
  color: #666;
}

.terms-content h4 {
  margin: 15px 0 8px 0;
  font-size: 14px;
  font-weight: bold;
  color: #333;
}

.terms-content h4:first-child {
  margin-top: 0;
}

.terms-content ol {
  margin: 8px 0;
  padding-left: 20px;
  list-style-type: decimal;
}

.terms-content li {
  margin: 4px 0;
  line-height: 1.5;
  color: #666;
  display: list-item;
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.checkbox {
  width: 18px;
  height: 18px;
  margin: 0;
}

.checkbox-label {
  margin: 0;
  font-weight: normal;
  cursor: pointer;
}

.entry-button {
  background-color: #0066cc;
  color: white;
  border: none;
  padding: 15px 40px;
  font-size: 18px;
  font-weight: bold;
  border-radius: 4px;
  cursor: pointer;
  display: block;
  margin: 0 auto;
  transition: background-color 0.3s;
}

.entry-button:hover {
  background-color: #0052a3;
}

.entry-notice {
  margin: 40px 0;
  padding: 20px;
  background-color: #fff3cd;
  border: 1px solid #ffeaa7;
  border-radius: 4px;
}

.notice-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #856404;
}

.notice-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.notice-list li {
  margin-bottom: 10px;
  padding-left: 20px;
  position: relative;
  line-height: 1.6;
  color: #856404;
}

.notice-list li:before {
  content: "•";
  position: absolute;
  left: 0;
  font-weight: bold;
}

.usage-section {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 2px solid #ddd;
}

.usage-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 30px;
  color: #333;
}

.api-info {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 30px;
}

.api-item {
  margin-bottom: 30px;
}

.api-item:last-child {
  margin-bottom: 0;
}

.api-label {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #333;
}

.api-code {
  background: #e9ecef;
  padding: 8px 12px;
  border-radius: 4px;
  font-family: "Courier New", monospace;
  font-size: 14px;
  display: inline-block;
  color: #495057;
}

.api-code-block {
  background: #e9ecef;
  padding: 15px;
  border-radius: 4px;
  font-family: "Courier New", monospace;
}

.api-code-block code {
  display: block;
  margin-bottom: 5px;
  font-size: 14px;
  color: #495057;
}

.api-note {
  font-size: 14px;
  color: #666;
  margin-top: 8px;
  margin-bottom: 0;
}

.api-description {
  margin-bottom: 15px;
  line-height: 1.6;
  color: #333;
}

.api-example {
  margin: 15px 0;
}

.example-label {
  font-weight: bold;
  margin-bottom: 8px;
  color: #333;
}

.code-block {
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  padding: 15px;
  font-family: "Courier New", monospace;
  font-size: 14px;
  color: #495057;
  overflow-x: auto;
  white-space: pre;
  margin: 0;
}

@media (max-width: 768px) {
  .entry-section {
    padding: 30px 15px;
  }

  .entry-container {
    padding: 20px;
  }

  .entry-title {
    font-size: 24px;
  }

  .api-info {
    padding: 20px;
  }

  .form-input {
    font-size: 16px;
  }
}
