/* service.css - サービス紹介ページ専用スタイル */

/* メインコンテンツ全体のスタイル */
.main-content {
  padding: 60px 0;
}

/* セクション共通スタイル */
.section {
  margin-bottom: 60px;
}

.section-title {
  font-size: 28px;
  margin-bottom: 20px;
  text-align: center;
  color: #333;
}

.section-subtitle {
  font-size: 16px;
  color: #666;
  text-align: center;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.section-intro {
  max-width: 800px;
  margin: 0 auto 40px;
  text-align: center;
  font-size: 16px;
  color: #666;
  line-height: 1.6;
}

/* ページヘッダー */
.page-header {
  background: linear-gradient(135deg, #0066cc, #004080);
  color: white;
  padding: 40px 0;
  text-align: center;
}

.page-title {
  font-size: 32px;
  margin-bottom: 10px;
}

.page-subtitle {
  font-size: 18px;
  opacity: 0.9;
  max-width: 800px;
  margin: 0 auto;
}

/* パンくずリスト */
.breadcrumb {
  background-color: #f2f2f2;
  padding: 10px 0;
}

.breadcrumb ul {
  display: flex;
  list-style: none;
  font-size: 14px;
}

.breadcrumb li:not(:last-child):after {
  content: ">";
  margin: 0 10px;
  color: #999;
}

.breadcrumb a {
  color: #0066cc;
  text-decoration: none;
}

/* サービス概要セクション */
.service-overview {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
  margin-bottom: 60px;
}

.service-image {
  flex: 1;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.service-image img {
  width: 100%;
  height: auto;
  display: block;
}

.service-text {
  flex: 1;
}

.service-text h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: #0066cc;
}

.service-text p {
  margin-bottom: 15px;
  font-size: 16px;
  color: #444;
  line-height: 1.6;
}

.service-text .btn {
  margin-top: 10px;
}

/* 特徴・メリットセクション */
.benefits {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.benefit-card {
  background-color: white;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s;
}

.benefit-card:hover {
  transform: translateY(-5px);
}

.benefit-icon {
  width: 60px;
  height: 60px;
  background-color: #e6f2ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #0066cc;
  margin-bottom: 20px;
}

.benefit-title {
  font-size: 20px;
  margin-bottom: 15px;
  color: #333;
}

.benefit-text {
  color: #666;
  font-size: 16px;
  line-height: 1.5;
}

/* 実績セクション */
.stats-section {
  background-color: #f2f8ff;
  padding: 60px 0;
  text-align: center;
  margin: 60px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.stat-item {
  background-color: white;
  padding: 30px 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.stat-number {
  font-size: 36px;
  font-weight: bold;
  color: #0066cc;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 16px;
  color: #666;
}

/* ご利用の流れ */
.how-it-works {
  background-color: #f2f8ff;
  padding: 60px 0;
  text-align: center;
}

.steps {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
  position: relative;
}

.steps::before {
  content: "";
  position: absolute;
  top: 70px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: #ddd;
  z-index: 1;
}

.steps-container {
  display: flex;
  justify-content: space-between;
  width: 100%;
  position: relative;
  z-index: 2;
}

.step {
  width: 22%;
  background-color: white;
  border-radius: 10px;
  padding: 30px 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.step-number {
  width: 50px;
  height: 50px;
  background-color: #0066cc;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: bold;
  margin: -70px auto 20px;
}

.step-title {
  font-size: 18px;
  margin-bottom: 10px;
  font-weight: bold;
}

.step-desc {
  font-size: 14px;
  color: #666;
}

/* 比較表 */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 40px 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.comparison-table th,
.comparison-table td {
  padding: 15px;
  text-align: center;
  border: 1px solid #ddd;
}

.comparison-table th {
  background-color: #f2f8ff;
  color: #333;
  font-weight: bold;
}

.comparison-table th:first-child {
  text-align: left;
}

.comparison-table td:first-child {
  text-align: left;
  font-weight: bold;
}

.comparison-table tr:nth-child(even) {
  background-color: #f9f9f9;
}

.highlight {
  background-color: #ffeccc !important;
}

.yes {
  color: #009900;
  font-weight: bold;
}

.no {
  color: #cc0000;
}

.partial {
  color: #ff6600;
}

/* 完全無料サービスのスタイル */
.pricing-section {
  padding: 60px 0;
  background-color: #f9f9f9;
  margin: 60px 0;
}

.free-service-card {
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  position: relative;
  margin-bottom: 40px;
  margin-top: 40px;
}

.free-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: linear-gradient(135deg, #0066cc, #004d99);
  color: white;
  font-weight: bold;
  padding: 10px 20px;
  border-radius: 50px;
  box-shadow: 0 3px 10px rgba(0, 102, 204, 0.3);
  z-index: 1;
}

.free-badge span {
  font-size: 18px;
}

.service-details {
  padding: 40px;
}

.service-details h3 {
  font-size: 24px;
  color: #2c3e50;
  margin-bottom: 15px;
}

.service-details > p {
  font-size: 16px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 800px;
}

.feature-blocks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.feature-block {
  background-color: #f8faff;
  border-radius: 8px;
  padding: 20px;
  transition: transform 0.3s;
}

.feature-block:hover {
  transform: translateY(-5px);
}

.feature-icon {
  font-size: 28px;
  margin-bottom: 15px;
}

.feature-block h4 {
  font-size: 18px;
  color: #0066cc;
  margin-bottom: 10px;
}

.feature-block p {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
}

.included-services {
  background-color: #f0f7ff;
  border-radius: 8px;
  padding: 30px;
  margin-bottom: 30px;
}

.included-services h3 {
  font-size: 20px;
  margin-bottom: 20px;
  color: #2c3e50;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  padding: 0;
  list-style: none;
}

.service-list li {
  display: flex;
  align-items: center;
  font-size: 15px;
  color: #444;
}

.check-icon {
  color: #0066cc;
  font-weight: bold;
  margin-right: 10px;
}

.cta-container {
  text-align: center;
  margin-top: 40px;
}

.cta-btn {
  padding: 15px 40px;
  font-size: 18px;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(255, 102, 0, 0.3);
}

.no-credit-card {
  margin-top: 15px;
  font-size: 14px;
  color: #666;
}

.how-we-make-money {
  max-width: 800px;
  margin: 0 auto;
  padding: 30px;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.how-we-make-money h3 {
  font-size: 20px;
  color: #2c3e50;
  margin-bottom: 15px;
}

.how-we-make-money p {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 15px;
}

.how-we-make-money p:last-child {
  margin-bottom: 0;
}

/* カタログダウンロード用のスタイル */
.catalog-download-section {
  background-color: #f2f8ff;
  padding: 60px 0;
  margin: 60px 0;
}

.catalog-form-container {
  display: flex;
  gap: 40px;
  align-items: center;
  background-color: white;
  border-radius: 10px;
  padding: 40px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin-top: 30px;
}

.catalog-preview {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.catalog-preview img {
  max-width: 320px;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

.catalog-info {
  width: 100%;
}

.catalog-info h3 {
  color: #0066cc;
  font-size: 18px;
  margin-bottom: 15px;
  text-align: center;
}

.catalog-info ul {
  list-style: none;
  padding: 0;
}

.catalog-info li {
  padding: 8px 0;
  border-bottom: 1px solid #eee;
  position: relative;
  padding-left: 25px;
  font-size: 14px;
}

.catalog-info li:before {
  content: "✓";
  color: #0066cc;
  position: absolute;
  left: 0;
  top: 8px;
}

.download-form {
  flex: 1;
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 8px;
}

.download-form h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #333;
}

.download-form p {
  font-size: 14px;
  color: #666;
  margin-bottom: 20px;
}

.checkbox-group {
  margin-bottom: 15px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  color: #555;
}

.checkbox-label input {
  margin-top: 3px;
}

.checkbox-label a {
  color: #0066cc;
  text-decoration: none;
}

.checkbox-label a:hover {
  text-decoration: underline;
}

.download-btn {
  width: 100%;
  padding: 12px;
  font-size: 16px;
}

/* フォームエラースタイル */
.form-control.error {
  border-color: #ff3333;
  background-color: #fff8f8;
}

.error-message {
  color: #ff3333;
  font-size: 12px;
  margin-top: 5px;
  display: none;
}

.form-group.has-error .error-message {
  display: block;
}

/* 送信ボタンのホバーとアクティブ状態 */
.download-btn:hover {
  background-color: #e65c00;
}

.download-btn:disabled {
  background-color: #aaa;
  cursor: not-allowed;
}

/* チェックボックスのエラー表示 */
.checkbox-group.has-error .checkbox-label {
  color: #ff3333;
}

.checkbox-group.has-error {
  border-left: 2px solid #ff3333;
  padding-left: 10px;
}

/* 成功メッセージのスタイル */
.success-message {
  text-align: center;
  padding: 20px;
  animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.success-icon {
  width: 60px;
  height: 60px;
  background-color: #4CAF50;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  margin: 0 auto 20px;
}

.success-message h3 {
  color: #4CAF50;
  margin-bottom: 15px;
}

.success-message p {
  margin-bottom: 15px;
}

.success-message a {
  color: #0066cc;
  text-decoration: none;
}

.success-message a:hover {
  text-decoration: underline;
}

/* お客様の声セクション */
.testimonials {
  background-color: white;
  padding: 60px 0;
  margin: 60px 0;
}

.testimonial-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.testimonial-card {
  background-color: #f9f9f9;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s;
}

.testimonial-card:hover {
  transform: translateY(-5px);
}

.testimonial-text {
  font-size: 16px;
  font-style: italic;
  margin-bottom: 20px;
  position: relative;
}

.testimonial-text::before {
  content: """;
  font-size: 60px;
  color: #ddd;
  position: absolute;
  left: -20px;
  top: -20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.author-avatar {
  width: 50px;
  height: 50px;
  background-color: #ddd;
  border-radius: 50%;
  margin-right: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
}

.author-info {
  line-height: 1.4;
}

.author-name {
  font-weight: bold;
}

.author-company {
  font-size: 14px;
  color: #666;
}

/* FAQ セクション */
.faq-section {
  padding: 60px 0;
}

.faq-container {
  max-width: 800px;
  margin: 40px auto 0;
}

.faq-item {
  margin-bottom: 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
}

.faq-question {
  padding: 15px 20px;
  background-color: #f9f9f9;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::after {
  content: "+";
  font-size: 20px;
  color: #0066cc;
}

.faq-answer {
  padding: 15px 20px;
  border-top: 1px solid #ddd;
  font-size: 14px;
  color: #666;
}

.faq-item.active .faq-question {
  background-color: #e6f2ff;
}

.faq-item.active .faq-question::after {
  content: "-";
}

/* CTA セクション */
.cta-section {
  background: linear-gradient(135deg, #ff6600, #ff9900);
  color: white;
  padding: 60px 0;
  text-align: center;
  margin-top: 60px;
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
}

.cta-title {
  font-size: 28px;
  margin-bottom: 15px;
}

.cta-text {
  font-size: 16px;
  margin-bottom: 30px;
  opacity: 0.9;
}

.cta-btn {
  background-color: white;
  color: #ff6600;
  padding: 12px 30px;
  font-size: 16px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  transition: background-color 0.3s;
}

.cta-btn:hover {
  background-color: #f9f9f9;
}

/* レスポンシブデザイン対応 */
@media (max-width: 768px) {
  .service-overview {
    flex-direction: column;
  }
  
  .service-image {
    width: 100%;
    margin-bottom: 30px;
  }
  
  .service-text {
    width: 100%;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .steps::before {
    display: none;
  }
  
  .steps-container {
    flex-direction: column;
    gap: 60px;
  }
  
  .step {
    width: 100%;
    margin-bottom: 30px;
  }
  
  .step-number {
    margin-top: -25px;
  }
  
  .comparison-table {
    font-size: 14px;
  }
  
  .comparison-table th,
  .comparison-table td {
    padding: 10px 5px;
  }
  
  .feature-blocks {
    grid-template-columns: 1fr;
  }
  
  .service-list {
    grid-template-columns: 1fr;
  }
  
  .catalog-form-container {
    flex-direction: column;
    padding: 20px;
  }
  
  .catalog-preview,
  .download-form {
    width: 100%;
  }
  
  .free-badge {
    position: relative;
    top: 0;
    right: 0;
    display: inline-block;
    margin: 20px auto;
    text-align: center;
  }
  
  .service-details {
    padding: 20px;
  }

  .testimonial-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .comparison-table {
    font-size: 12px;
  }
  
  .page-title {
    font-size: 24px;
  }
  
  .page-subtitle {
    font-size: 16px;
  }
  
  .benefit-card {
    padding: 20px;
  }
  
  .benefit-icon {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }
  
  .catalog-preview img {
    max-width: 180px;
  }
}
/* 創業者セクション下の空間を修正するCSS */

/* FAQセクション全体の下パディングを削減 */
.faq-section {
  padding-bottom: 20px !important; /* 60px から 20px に変更 */
}

/* カタログダウンロードセクションの上下マージンを削減 */
.catalog-download-section {
  margin: 20px 0 !important; /* 60px 0 から 20px 0 に変更 */
}

/* 創業者情報セクションとカタログセクション間の間隔を直接調整 */
.faq-section .founder-info + * {
  margin-top: 0 !important;
}

/* より確実に空間を制御したい場合 */
.catalog-download-section {
  padding-top: 20px !important;
}
