/* リセットCSS */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ボタンスタイル */
.btn {
  display: inline-block;
  padding: 16px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background-color: #1a1a1a;
  color: white;
  border-color: #1a1a1a;
}

.btn-primary:hover {
  background-color: #333;
  border-color: #333;
}

.btn-secondary {
  background-color: transparent;
  color: #1a1a1a;
  border-color: #1a1a1a;
}

.btn-secondary:hover {
  background-color: #1a1a1a;
  color: white;
}

.btn-white {
  background-color: white;
  color: #1a1a1a;
  border-color: white;
}

.btn-white:hover {
  background-color: #f5f5f5;
}

.btn-full {
  width: 100%;
}

.btn-small {
  padding: 12px 24px;
  font-size: 14px;
}


.btn-yellow {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: #1a1a1a;
  border-color: #f59e0b;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(251, 191, 36, 0.25);
  transition: all 0.3s ease;
}

.btn-yellow:hover {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  border-color: #d97706;
  color: #1a1a1a;
  box-shadow: 0 6px 20px rgba(251, 191, 36, 0.4);
  transform: translateY(-2px);
}


/* ヘッダー */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
}

.desktop-nav {
  display: flex;
  gap: 32px;
}

.nav-link {
  color: #666;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #1a1a1a;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
}

.mobile-nav {
  display: none;
  background-color: white;
  border-top: 1px solid #e5e5e5;
  padding: 16px 0;
}

.mobile-nav.show {
  display: block;
}

.mobile-nav-link {
  display: block;
  padding: 12px 20px;
  color: #666;
  text-decoration: none;
  font-weight: 500;
}

.mobile-nav-link:hover {
  color: #1a1a1a;
}

/* ヒーローセクション */
.hero {
  padding: 120px 0 40px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  display: flex;
  align-items: center;
}

/* 実績セクション */
.achievements {
  padding: 80px 0;
  background-color: #fff;
}

.section-title {
  text-align: center;
  font-size: clamp(28px, 4vw, 36px);
  font-weight: bold;
  color: #1a1a1a;
  margin-bottom: 48px;
}

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
}

.achievement-card {
  background-color: #f8f9fa;
  padding: 32px;
  border-radius: 16px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e5e7eb;
}

.achievement-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.achievement-icon {
  font-size: 48px;
  margin-bottom: 20px;
  display: block;
}

.achievement-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 16px;
  line-height: 1.4;
}

.achievement-card p {
  color: #666;
  line-height: 1.6;
  font-size: 15px;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr 0.5fr;
  gap: 64px;
  align-items: center;
}

.hero-content {
  text-align: left;
}

.hero-title {
  font-size: clamp(36px, 6vw, 48px);
  font-weight: bold;
  color: #1a1a1a;
  margin-bottom: 24px;
  line-height: 1.3;
}

.title-small {
  font-size: clamp(24px, 4vw, 48px);
}

.hero-subtitle {
  font-size: clamp(18px, 2.5vw, 24px);
  color: #666;
  max-width: 800px;
}

.subtitle-small {
  font-size: clamp(14px, 1.8vw, 18px);
}

.hero-support {
  font-size: 18px;
  color: #888;
  margin-bottom: 32px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 600px;
  margin-top: 48px;
}



.profile-image {
  max-width: 300px;
  width: 100%;
  border-radius: 50%;
}



/* CTAセクション */
.cta {
  padding: 80px 0;
  background-color: #1a1a1a;
  color: white;
  text-align: center;
}

.cta h2 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: bold;
  margin-bottom: 24px;
}

.cta p {
  font-size: 20px;
  color: #ccc;
  margin-bottom: 32px;
}

.contact-form {
  max-width: 500px;
  margin: 0 auto 32px;
}

.form-row {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}

.form-row input {
  flex: 1;
  padding: 16px 24px;
  border-radius: 50px;
  border: none;
  font-size: 16px;
  color: #1a1a1a;
}

.form-row input::placeholder {
  color: #999;
}

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 16px 24px;
  border-radius: 50px;
  border: none;
  font-size: 16px;
  color: #1a1a1a;
  background-color: white;
  box-sizing: border-box;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #999;
}

.form-group textarea {
  border-radius: 24px;
  resize: vertical;
  min-height: 80px;
  font-family: inherit;
  line-height: 1.5;
}

.form-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 20px center;
  background-repeat: no-repeat;
  background-size: 16px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.form-select option {
  padding: 8px;
}

.form-status {
  margin-top: 16px;
  font-size: 14px;
  color: #ccc;
  min-height: 20px;
}

.form-status.success {
  color: #4ade80;
}

.form-status.error {
  color: #f87171;
}

/* 運営企業情報セクション */
.company-info {
  padding: 60px 0;
  background-color: #f8f9fa;
  border-top: 1px solid #e5e7eb;
}

.company-info-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
}

.company-info-title {
  font-size: 24px;
  font-weight: bold;
  color: #1a1a1a;
  margin-bottom: 32px;
}

.company-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background-color: white;
  padding: 32px;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid #e5e7eb;
}

.company-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #f3f4f6;
}

.company-item:last-child {
  border-bottom: none;
}

.company-label {
  font-weight: 600;
  color: #374151;
  min-width: 120px;
  text-align: left;
}

.company-value {
  color: #1a1a1a;
  text-align: left;
  flex: 1;
}

/* フッター */
.footer {
  background-color: #f3f4f6;
  color: #1a1a1a;
  padding: 64px 0;
  border-top: 1px solid #e5e7eb;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
}

.logo-img {
  max-width: 100px;
  width: 100%;
  display: block;
}

.footer-brand p {
  margin-top: 16px;
  color: #666;
}

.footer-links h4 {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 16px;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: #666;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #1a1a1a;
}

.footer-contact h4 {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 16px;
}

.footer-contact p {
  color: #666;
  margin-bottom: 16px;
}

.footer-copyright {
  text-align: center;
  padding-top: 32px;
  margin-top: 32px;
  border-top: 1px solid #e5e7eb;
}

.footer-copyright p {
  color: #999;
  font-size: 14px;
  margin: 0;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
  .desktop-nav {
      display: none;
  }

  .mobile-menu-btn {
      display: block;
  }

  .hero-layout {
      grid-template-columns: 1fr;
      gap: 48px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
  }

  .hero-content {
      text-align: center;
  }

  .hero-buttons {
      flex-direction: column;
      align-items: center;
      justify-content: center;
  }

  .hero-features {
      grid-template-columns: 1fr;
      gap: 20px;
      margin: 0 auto;
      max-width: 300px;
  }

  .hero-image {
    max-width: 200px;
  }

  .feature-item {
      text-align: center;
      padding: 24px 20px;
  }

  .feature-icon-hero {
      width: 40px;
      height: 40px;
      font-size: 18px;
      margin-bottom: 12px;
  }

  .profile-image {
      max-width: 300px;
  }

  .fastrag-features-content {
      grid-template-columns: 1fr;
      gap: 40px;
      text-align: center;
  }

  .fastrag-features-text {
      padding-left: 0;
  }

  .fastrag-features-cta {
      justify-content: center;
  }

  .process-flow {
      grid-template-columns: 1fr;
      gap: 16px;
      padding: 24px;
  }

  .process-arrow {
      transform: rotate(90deg);
  }

  .features-grid {
      grid-template-columns: 1fr;
  }

  .main-cases {
      grid-template-columns: 1fr;
  }

  .form-row {
      flex-direction: column;
  }

  .mid-cta-buttons {
      flex-direction: column;
  }

  .result-stats {
      grid-template-columns: 1fr;
  }

  .construction-benefits {
      grid-template-columns: 1fr;
  }

  .problems-grid {
      grid-template-columns: 1fr;
      gap: 16px;
  }

  .problem-card {
      padding: 20px;
  }

  .problems-cta {
      padding: 20px;
  }

  .construction-benefits {
      gap: 24px;
      max-width: 320px;
  }

  .benefit-item {
      padding: 28px 20px;
  }

  .benefit-icon {
      width: 60px;
      height: 60px;
      font-size: 24px;
      margin-bottom: 20px;
  }

  .benefit-item h3 {
      font-size: 20px;
      margin-bottom: 14px;
  }

  .benefit-item p {
      font-size: 14px;
  }

  .feature-card,
  .case-card,
  .pricing-card {
      padding: 24px;
  }

  .company-details {
      padding: 24px;
  }

  .company-item {
      flex-direction: column;
      align-items: flex-start;
      gap: 8px;
  }

  .company-label {
      min-width: auto;
      font-size: 14px;
  }

  .company-value {
      text-align: left;
  }

  .achievements-grid {
      grid-template-columns: 1fr;
      gap: 24px;
  }

  .achievement-card {
      padding: 24px;
  }

  .achievement-icon {
      font-size: 40px;
      margin-bottom: 16px;
  }

  .achievement-card h3 {
      font-size: 18px;
      margin-bottom: 12px;
  }

  .achievement-card p {
      font-size: 14px;
  }
}

@media (max-width: 480px) {
  .container {
      padding: 0 16px;
  }

  .hero {
      padding: 110px 0 30px;
  }

  .section-header {
      margin-bottom: 48px;
  }

  .features,
  .usecase,
  .target,
  .pricing,
  .faq,
  .cta {
      padding: 60px 0;
  }

  .problems {
      padding: 60px 0;
  }

  .simple-construction {
      padding: 60px 0;
  }

  .fastrag-features {
      padding: 60px 0;
  }

  .fastrag-features-content {
      gap: 32px;
  }

  .fastrag-feature-item {
      padding: 20px;
      gap: 16px;
  }

  .fastrag-feature-icon {
      width: 48px;
      height: 48px;
      font-size: 20px;
  }

  .fastrag-feature-content h3 {
      font-size: 18px;
  }

  .fastrag-feature-content p {
      font-size: 14px;
  }

  .fastrag-features-cta {
      flex-direction: column;
  }

  .problems-grid {
      grid-template-columns: 1fr;
      gap: 16px;
  }

  .problem-card {
      padding: 20px;
  }

  .problems-cta {
      padding: 20px;
  }

  .construction-benefits {
      gap: 24px;
      max-width: 320px;
  }

  .benefit-item {
      padding: 28px 20px;
  }

  .benefit-icon {
      width: 60px;
      height: 60px;
      font-size: 24px;
      margin-bottom: 20px;
  }

  .benefit-item h3 {
      font-size: 20px;
      margin-bottom: 14px;
  }

  .benefit-item p {
      font-size: 14px;
  }

  .feature-card,
  .case-card,
  .pricing-card {
      padding: 24px;
  }
} 