header.l-header { display: none !important; } /* 左に表示される知財事務所ヘッダー */
header.p-page-header { display: none; } /* 上にある空間 */
ul.p-breadcrumb { display: none; }
footer.l-footer { display: none !important; }
main.l-main { 
  width: 660px; /* 600pxを超える任意の幅 */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
  line-height: 1.6;
  color: #333;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}


.container {
  max-width: 600px;
  width: 100%;
}

.result-card {
  background: white;
  border-radius: 20px;
  padding: 50px 40px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
  from {
      opacity: 0;
      transform: translateY(30px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

.result-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  color: white;
  margin: 0 auto 30px;
  animation: pulse 1s ease-in-out;
}

.result-icon.success {
  background: linear-gradient(135deg, #10b981, #006B7E);
}

.result-icon.error {
  background: linear-gradient(135deg, #ef4444, #dc2626);
}

@keyframes pulse {
  0% {
      transform: scale(0.8);
      opacity: 0.5;
  }
  50% {
      transform: scale(1.1);
      opacity: 1;
  }
  100% {
      transform: scale(1);
      opacity: 1;
  }
}

.result-title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 20px;
  color: #1f2937;
}

.result-title.success {
  color: #006B7E;
}

.result-title.error {
  color: #dc2626;
}

.result-message {
  font-size: 1.1rem;
  color: #6b7280;
  margin-bottom: 40px;
  line-height: 1.8;
}

.button-group {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 15px 30px;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  min-width: 150px;
  justify-content: center;
}

.btn-primary {
  background: linear-gradient(135deg, #00919F, #006B7E);
  color: white !important;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #006B7E, #005361);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 107, 126, 0.3);
}

.btn-secondary {
  background: white;
  color: #006B7E !important;
  border: 2px solid #006B7E;
}

.btn-secondary:hover {
  background: #f9fafb;
  border-color: #d1d5db;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.btn-secondary a {
  color: #006B7E !important;
}

.success-details {
  background: #f0fdf4;
  border: 1px solid #F9FAFB;
  border-radius: 10px;
  padding: 20px;
  margin: 30px 0;
  text-align: left;
}

.success-details h3 {
  color: #006B7E;
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.success-details ul {
  list-style: none !important;
  color: #065f46;
}

.success-details li {
  padding: 5px 0;
  position: relative;
  padding-left: 20px;
}

.success-details li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #006B7E;
  font-weight: bold;
}

@media (max-width: 640px) {
  .result-card {
      padding: 40px 25px;
  }
  
  .result-title {
      font-size: 1.5rem;
  }
  
  .result-message {
      font-size: 1rem;
  }
  
  .button-group {
      flex-direction: column;
      align-items: center;
  }
  
  .btn {
      width: 100%;
      max-width: 250px;
  }
}

.loading {
  display: none;
  text-align: center;
  padding: 20px;
}

.loading p {
  font-size: 20px !important;
  white-space: nowrap;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #e5e7eb;
  border-top: 4px solid #3b82f6;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 15px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}