/* ==========================================
   Reset & Base Styles
   ========================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: #333333;
  background-color: #ffffff;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

/* ==========================================
   Common Section Styles
   ========================================== */
.section-padding {
  padding-top: 80px;
  padding-bottom: 80px;
}

@media screen and (max-width: 768px) {
  .section-padding {
    padding-top: 48px;
    padding-bottom: 48px;
  }
}

.section-title {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 12px;
  font-weight: 700;
}

.section-sub {
  text-align: center;
  color: #666666;
  margin-bottom: 48px;
  font-size: 0.95rem;
}

/* ==========================================
   Buttons
   ========================================== */
.btn-primary {
  display: inline-block;
  background-color: #2563eb;
  color: #ffffff;
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.btn-primary:hover {
  background-color: #1d4ed8;
}

.btn-secondary {
  display: inline-block;
  background-color: #f3f4f6;
  color: #374151;
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: 700;
  transition: background-color 0.2s ease;
}

.btn-secondary:hover {
  background-color: #e5e7eb;
}

.btn-outline {
  display: inline-block;
  border: 1px solid #2563eb;
  color: #2563eb;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 700;
  transition: all 0.2s ease;
}

.btn-outline:hover {
  background-color: #2563eb;
  color: #ffffff;
}

/* ==========================================
   Header
   ========================================== */
header {
  border-bottom: 1px solid #f0f0f0;
  background-color: #ffffff;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  padding: 16px 0;
}

.header-seo-title {
  font-size: 0.75rem;
  color: #666666;
  font-weight: normal;
  margin-bottom: 8px;
}

.header-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ロゴ画像の歪み防止スタイル */
.logo a {
  display: block;
}

.logo img {
  width: 200px; /* 希望の表示幅 */
  height: auto; /* 比率を保持して歪みを防止 */
  display: block;
}

header nav ul {
  display: flex;
  align-items: center;
  gap: 24px;
}

header nav a {
  font-size: 0.9rem;
  font-weight: 700;
  color: #374151;
  transition: color 0.2s ease;
}

header nav a:hover {
  color: #2563eb;
}

.btn-header-contact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #2563eb;
  color: #ffffff !important;
  padding: 10px 20px;
  border-radius: 6px;
  transition: background-color 0.2s ease;
}

.btn-header-contact:hover {
  background-color: #1d4ed8;
}

.btn-icon {
  fill: currentColor;
}

/* ==========================================
   Hero Section
   ========================================== */
.hero {
  padding: 100px 0 80px;
  background-color: #f9fafb;
  text-align: center;
}

.badge {
  display: inline-block;
  background-color: #dbeafe;
  color: #1e40af;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.hero h2 {
  font-size: 2.75rem;
  line-height: 1.3;
  margin-bottom: 20px;
  font-weight: 700;
  color: #111827;
}

.highlight {
  color: #2563eb;
}

.hero p {
  max-width: 640px;
  margin: 0 auto 36px;
  color: #4b5563;
  font-size: 1.05rem;
}

.hero-btns {
  display: flex;
  justify-content: center;
  gap: 16px;
}

/* ==========================================
   Pricing Section
   ========================================== */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.price-card {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 36px 24px;
  text-align: center;
  background-color: #ffffff;
  position: relative;
  display: flex;
  flex-direction: column;
}

.price-card.featured {
  border: 2px solid #2563eb;
  box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.1);
}

.recommend {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #2563eb;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 12px;
}

.price-card h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.price {
  font-size: 2.25rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 8px;
}

.price span {
  font-size: 0.85rem;
  color: #6b7280;
  margin-left: 4px;
}

.plan-desc {
  font-size: 0.85rem;
  color: #6b7280;
  margin-bottom: 24px;
}

.price-card ul {
  text-align: left;
  margin-bottom: 32px;
  flex-grow: 1;
}

.price-card li {
  padding: 8px 0;
  border-bottom: 1px solid #f3f4f6;
  font-size: 0.9rem;
  color: #4b5563;
}

.price-card li:last-child {
  border-bottom: none;
}

.maintenance-note {
  margin-top: 24px;
  text-align: center;
  font-size: 0.85rem;
  color: #6b7280;
}

/* ==========================================
   Flow Section
   ========================================== */
.flow-grid-vertical {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 700px;
  margin: 0 auto;
}

.flow-step {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 20px 24px;
  background-color: #ffffff;
}

.flow-content {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.step-num {
  font-size: 1.25rem;
  font-weight: 700;
  color: #2563eb;
  line-height: 1;
  padding-top: 2px;
}

.flow-content h4 {
  font-size: 1.1rem;
  margin-bottom: 4px;
  color: #111827;
}

.flow-content p {
  font-size: 0.9rem;
  color: #4b5563;
}

/* ==========================================
   Samples Section
   ========================================== */
.sample-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.sample-item {
  text-align: center;
}

.img-placeholder {
  background-color: #f3f4f6;
  border-radius: 8px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #9ca3af;
  margin-bottom: 12px;
}

.sample-item p {
  font-size: 0.9rem;
  font-weight: 700;
  color: #374151;
}

/* ==========================================
   Testimonials Section
   ========================================== */
.testimonials {
  background-color: #f9fafb;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background-color: #ffffff;
  padding: 24px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-text {
  font-size: 0.9rem;
  color: #4b5563;
  margin-bottom: 16px;
}

.testimonial-author {
  font-size: 0.85rem;
  font-weight: 700;
  color: #111827;
  text-align: right;
}

/* ==========================================
   FAQ Section
   ========================================== */
.faq {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid #e5e7eb;
  padding: 20px 0;
}

.faq-item h4 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: #111827;
}

.faq-item p {
  font-size: 0.95rem;
  color: #4b5563;
}

/* ==========================================
   Contact Section
   ========================================== */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #374151;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.contact-form .btn-primary {
  width: 100%;
  padding: 14px;
  font-size: 1rem;
}

/* ==========================================
   Footer
   ========================================== */
footer {
  background-color: #111827;
  color: #9ca3af;
  padding: 32px 0;
  text-align: center;
  font-size: 0.85rem;
}

/* ==========================================
   Responsive Styles
   ========================================== */
@media screen and (max-width: 1024px) {
  .price-grid,
  .testimonial-grid {
    grid-template-columns: repeat(1, 1fr);
  }

  .sample-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 768px) {
  .header-main {
    flex-direction: column;
    gap: 16px;
  }

  header nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 16px;
  }

  .hero h2 {
    font-size: 2rem;
  }

  .hero-btns {
    flex-direction: column;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    text-align: center;
  }
}