/* Main CSS */

/* ----- リセットとベース ----- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  background-color: #f9f9f9;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: #0056b3;
  transition: all 0.3s ease;
}

a:hover {
  color: #003366;
}

ul {
  list-style: none;
}

img {
  max-width: 100px;
  height: auto;
  vertical-align: middle;
}

/* ----- コンテナとグリッド ----- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: -15px;
}

.col {
  padding: 15px;
}

/* ----- タイポグラフィ ----- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.5em;
}

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 1.75rem;
}

p {
  margin-bottom: 1.5em;
}

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

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

.text-right {
  text-align: right;
}

/* ----- ボタン ----- */
.btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-align: center;
}

.btn-primary {
  background-color: #2559bd;
  color: #fff;
}

.btn-primary:hover {
  background-color: #1b4794;
  color: #fff;
}

.btn-secondary {
  background-color: #f5f5f5;
  color: #333;
  border: 1px solid #ddd;
}

.btn-secondary:hover {
  background-color: #e9e9e9;
}

.btn-outline {
  background-color: transparent;
  border: 2px solid #2559bd;
  color: #2559bd;
}

.btn-outline:hover {
  background-color: #2559bd;
  color: #fff;
}

/* ----- ヘッダー ----- */
#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 15%;
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  padding: 15px 0;
  z-index: 1000;
}

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

.logo {
  display: flex;
  align-items: center;
}

.main-nav ul {
  display: flex;
  gap: 25px;
  align-items: center;
}

.main-nav a {
  color: #333;
  font-weight: 500;
  position: relative;
  padding: 5px 0;
}

.main-nav a:hover,
.main-nav a.active {
  color: #2559bd;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #2559bd;
  transition: width 0.3s;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

.nav-cta {
  background-color: #2559bd;
  color: white !important;
  padding: 8px 15px !important;
  border-radius: 4px;
}

.nav-cta:hover {
  background-color: #1b4794;
}

.nav-cta::after {
  display: none;
}

.menu-toggle {
  display: none;
}

/* ----- ヒーローセクション ----- */
.hero {
  background-image: url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
  padding: 180px 0 100px;
  color: #fff;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 30px;
  max-width: 600px;
}

.hero-cta {
  display: flex;
  gap: 15px;
}

/* ----- ターゲットセレクター ----- */
.target-selector {
  padding: 80px 0;
  background-color: #fff;
  margin-top: 50px;
}

.target-select {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-top: 50px;
}

.target-option {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  padding: 30px;
  transition: all 0.3s ease;
  max-width: 360px;
  width: 100%;
  border: 1px solid #eaeaea;
}

.target-option:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
  border-color: #2559bd;
}

.target-icon {
  background-color: #f0f7ff;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.target-icon img {
  width: 40px;
  height: 40px;
}

.target-option h3 {
  color: #2559bd;
  margin-bottom: 15px;
}

.target-challenges {
  margin: 20px 0;
}

.challenge-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 10px;
}

.challenge-item::before {
  content: '✓';
  margin-right: 10px;
  color: #2559bd;
}

/* ----- 選ばれる理由 ----- */
.reasons {
  padding: 80px 0;
  background-color: #f0f7ff;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 15px;
  text-align: center;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 50px;
  text-align: center;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.reason-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  padding: 30px;
  transition: all 0.3s ease;
  border-top: 4px solid #2559bd;
}

.reason-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.reason-number {
  font-size: 3rem;
  color: #2559bd;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1;
}

.reason-card h3 {
  margin-bottom: 15px;
  color: #2559bd;
}

/* ----- サービス紹介 ----- */
.services {
  padding: 80px 0;
  background-color: #fff;
  margin-top: 50px;
}

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

.service-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid #eaeaea;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  border-color: #2559bd;
}

.service-image {
  height: 200px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
  transform: scale(1.05);
}

.service-content {
  padding: 25px;
}

.service-content h3 {
  color: #2559bd;
  margin-bottom: 15px;
}

.service-features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.service-feature {
  background-color: #f5f5ff;
  color: #2559bd;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.9rem;
  display: inline-block;
}

.service-link {
  margin-top: 20px;
  display: inline-block;
  color: #2559bd;
  font-weight: 600;
}

.service-link:hover {
  text-decoration: underline;
}

.services-cta {
  text-align: center;
  margin-top: 50px;
}

/* ----- 導入事例 ----- */
.cases {
  padding: 80px 0;
  background-color: #f9f9f9;
}

.case-filter {
  margin-bottom: 30px;
  text-align: center;
}

.filter-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.filter-button {
  background-color: #fff;
  border: 1px solid #ddd;
  padding: 8px 18px;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
}

.filter-button:hover,
.filter-button.active {
  background-color: #2559bd;
  color: #fff;
  border-color: #2559bd;
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.case-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  overflow: hidden;
  transition: all 0.3s ease;
}

.case-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.case-header {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #eaeaea;
}

.case-header h3 {
  font-size: 1.3rem;
  margin-bottom: 0;
}

.case-tag {
  background-color: #f0f7ff;
  color: #2559bd;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
}

.case-content {
  padding: 20px;
}

.case-description {
  margin-bottom: 20px;
}

.case-results {
  display: flex;
  justify-content: space-around;
}

.result-item {
  text-align: center;
}

.result-number {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  color: #2559bd;
  margin-bottom: 5px;
}

.result-label {
  font-size: 0.9rem;
  color: #666;
}

.cases-cta {
  text-align: center;
  margin-top: 50px;
}

/* ----- よくある質問 ----- */
.faq {
  padding: 80px 0;
  background-color: #fff;
}

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

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

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

.faq-question h3 {
  margin: 0;
  font-size: 1.1rem;
}

.faq-icon {
  position: relative;
  width: 20px;
  height: 20px;
}

.faq-icon:before,
.faq-icon:after {
  content: '';
  position: absolute;
  background-color: #333;
  transition: all 0.3s ease;
}

.faq-icon:before {
  width: 20px;
  height: 2px;
  top: 9px;
  left: 0;
}

.faq-icon:after {
  width: 2px;
  height: 20px;
  left: 9px;
  top: 0;
}

.faq-item.active .faq-icon:after {
  opacity: 0;
}

.faq-answer {
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 20px;
  max-height: 1000px;
}

.faq-more {
  text-align: center;
  margin-top: 40px;
}

/* ----- お問い合わせ ----- */
.contact {
  padding: 80px 0;
  background-color: #f0f7ff;
}

.contact-wrapper {
  display: flex;
  gap: 40px;
}

.contact-form {
  background-color: #fff;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  flex: 3;
}

.contact-info {
  flex: 2;
}

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background-color: #fafafa;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: #2559bd;
  outline: none;
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(37, 89, 189, 0.1);
}

.form-group textarea {
  height: 150px;
  resize: vertical;
}

.form-group.col-2 {
  display: flex;
  gap: 20px;
}

.form-group.col-2 > * {
  width: 50%;
}

.required {
  color: #e74c3c;
  margin-left: 3px;
}

.form-submit {
  text-align: center;
}

.form-agreement {
  margin-top: 20px;
  text-align: center;
  font-size: 0.9rem;
  color: #666;
}

.form-agreement label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
}

.contact-info-item {
  margin-bottom: 30px;
}

.contact-info-item h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: #2559bd;
}

.contact-info-item p {
  color: #555;
}

.contact-method {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.contact-method-icon {
  width: 40px;
  height: 40px;
  background-color: #f0f7ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
}

.contact-method-text {
  flex: 1;
}

.contact-method-text strong {
  display: block;
  margin-bottom: 3px;
}

.contact-method-text a {
  color: #333;
}

.contact-method-text a:hover {
  color: #2559bd;
}

/* ----- フッター ----- */
#footer {
  background-color: #333;
  color: #fff;
  padding: 60px 0 20px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
}

.footer-logo {
  margin-bottom: 20px;
}

.footer-about {
  max-width: 300px;
}

.footer-links {
  display: flex;
  gap: 30px;
}

.footer-links-group h4 {
  color: #fff;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-links-group h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: #2559bd;
}

.footer-links-group ul li {
  margin-bottom: 12px;
}

.footer-links-group ul li a {
  color: #ccc;
}

.footer-links-group ul li a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.copyright {
  color: #aaa;
  font-size: 0.9rem;
}

.footer-social {
  display: flex;
  gap: 15px;
}

.social-icon {
  width: 36px;
  height: 36px;
  background-color: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background-color: #2559bd;
}

/* ----- パンくずリスト ----- */
.breadcrumbs {
  padding: 15px 0;
  background-color: #f5f5f5;
  margin-top: 60px;
}

.breadcrumbs ul {
  display: flex;
  flex-wrap: wrap;
}

.breadcrumbs li {
  font-size: 0.9rem;
  color: #666;
}

.breadcrumbs li:not(:last-child)::after {
  content: '›';
  margin: 0 8px;
  color: #999;
}

.breadcrumbs a {
  color: #333;
}

.breadcrumbs a:hover {
  color: #2559bd;
}

/* ----- ページヒーロー（下層ページ用） ----- */
.page-hero {
  background-color: #f0f7ff;
  padding: 100px 0 50px;
  margin-top: 60px;
  text-align: center;
}

.page-hero h1 {
  color: #2559bd;
  margin-bottom: 15px;
}

.page-subtitle {
  color: #666;
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
}

/* ----- ニュースレター ----- */
.newsletter {
  padding: 60px 0;
  background-color: #f0f7ff;
}

.newsletter-container {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.newsletter-content {
  flex: 1;
}

.newsletter-content h2 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: #2559bd;
}

.newsletter-form {
  flex: 1;
}

.form-input-group {
  display: flex;
  gap: 10px;
}

.form-input-group input {
  flex: 1;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 6px;
}

/* ----- アニメーション ----- */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

.fade-in {
  animation: fadeIn 0.8s ease forwards;
}

.slide-up {
  opacity: 0;
  transform: translateY(30px);
}

.animate {
  animation: slideUp 0.8s ease forwards;
}

/* ----- その他の共通スタイル ----- */
.section-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, #ddd, transparent);
  margin: 30px 0;
}

.text-primary {
  color: #2559bd;
}

.text-secondary {
  color: #666;
}

.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 10px !important; }
.mb-2 { margin-bottom: 20px !important; }
.mb-3 { margin-bottom: 30px !important; }
.mb-4 { margin-bottom: 40px !important; }
.mb-5 { margin-bottom: 50px !important; }

.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 10px !important; }
.mt-2 { margin-top: 20px !important; }
.mt-3 { margin-top: 30px !important; }
.mt-4 { margin-top: 40px !important; }
.mt-5 { margin-top: 50px !important; }

/* ----- CTA Banner ----- */
.contact-banner {
  background-color: #2559bd;
  padding: 60px 0;
  color: #fff;
}

.contact-banner-content {
  text-align: center;
}

.contact-banner h2 {
  font-size: 2.2rem;
  margin-bottom: 15px;
}

.contact-banner p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.contact-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.contact-banner .btn-secondary {
  background-color: rgba(255,255,255,0.2);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
}

.contact-banner .btn-secondary:hover {
  background-color: rgba(255,255,255,0.3);
}

/* ----- ページネーション ----- */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 50px;
  gap: 10px;
}

.pagination a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #fff;
  color: #333;
  font-weight: 500;
  transition: all 0.3s ease;
}

.pagination a:hover,
.pagination .page-active {
  background-color: #2559bd;
  color: #fff;
}

.pagination .page-dots {
  color: #666;
}

.pagination .page-next,
.pagination .page-prev {
  width: auto;
  padding: 0 15px;
  border-radius: 20px;
}

/* ----- ブログカード ----- */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 30px;
}

.post-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.post-image {
  height: 200px;
  overflow: hidden;
}

.post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.post-card:hover .post-image img {
  transform: scale(1.05);
}

.post-content {
  padding: 20px;
}

.post-category {
  background-color: #f0f7ff;
  color: #2559bd;
  font-size: 0.8rem;
  padding: 4px 10px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 10px;
}

.post-content h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.post-content h3 a {
  color: #333;
}

.post-content h3 a:hover {
  color: #2559bd;
}

.post-meta {
  color: #888;
  font-size: 0.85rem;
  margin-bottom: 10px;
}

.post-excerpt {
  color: #666;
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 0;
}

/* ----- カテゴリータブ ----- */
.category-tabs {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
  justify-content: center;
}

.category-tab {
  padding: 8px 18px;
  border-radius: 30px;
  background-color: #f5f5f5;
  color: #666;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
}

.category-tab:hover,
.category-tab.active {
  background-color: #2559bd;
  color: #fff;
}

/* ----- 特集記事 ----- */
.featured-post {
  margin-bottom: 50px;
}

.featured-post-card {
  display: flex;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.featured-post-image {
  width: 40%;
  height: 400px;
  overflow: hidden;
}

.featured-post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-post-content {
  width: 60%;
  padding: 40px;
}

.featured-post-content h2 {
  font-size: 2rem;
  margin: 15px 0;
}

/* ----- FAQセクション ----- */
.faq-search {
  margin-bottom: 30px;
}

.search-container {
  display: flex;
  max-width: 600px;
  margin: 0 auto;
  gap: 10px;
}

.search-container input {
  flex: 1;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 6px 0 0 6px;
}

.search-container button {
  border-radius: 0 6px 6px 0;
}

.faq-section {
  margin-bottom: 60px;
}

/* ----- サービス詳細ページ ----- */
.service-detail-header {
  text-align: center;
  margin-bottom: 50px;
}

.service-overview {
  display: flex;
  gap: 40px;
  margin-bottom: 60px;
  margin-top: 50px;
}

.service-description {
  flex: 1;
}

.service-meta {
  flex: 0 0 300px;
  background-color: #f9f9f9;
  border-radius: 8px;
  padding: 25px;
}

.meta-item {
  margin-bottom: 20px;
}

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

.meta-item h4 {
  margin-bottom: 10px;
  color: #2559bd;
}

.service-steps {
  margin-bottom: 60px;
}

.step-list {
  position: relative;
}

.step-list::before {
  content: '';
  position: absolute;
  left: 30px;
  top: 0;
  width: 2px;
  height: 100%;
  background-color: #eaeaea;
}

.step-item {
  position: relative;
  padding-left: 80px;
  margin-bottom: 30px;
}

.step-number {
  position: absolute;
  left: 10px;
  top: 0;
  width: 40px;
  height: 40px;
  background-color: #2559bd;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  z-index: 1;
}

/* ----- 導入事例詳細 ----- */
.case-detail-header {
  margin-bottom: 40px;
}

.case-info {
  display: flex;
  margin-bottom: 20px;
}

.case-info-item {
  margin-right: 30px;
}

.case-info-label {
  font-weight: 600;
  color: #2559bd;
}

.case-summary {
  background-color: #f9f9f9;
  border-left: 4px solid #2559bd;
  padding: 20px;
  margin-bottom: 40px;
}

.result-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.result-metric-item {
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.metric-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2559bd;
  margin-bottom: 10px;
}

.metric-label {
  color: #666;
  font-weight: 500;
}

/* ----- 検索結果 ----- */
.search-results {
  padding-bottom: 80px;
}

.search-info {
  margin-bottom: 30px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eaeaea;
}

.search-count {
  color: #666;
}

.search-keyword {
  color: #2559bd;
  font-weight: 600;
}

.result-list {
  margin-bottom: 40px;
}

.result-item {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #f5f5f5;
}

.result-type {
  font-size: 0.8rem;
  color: #666;
  margin-bottom: 5px;
}

.result-title {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.result-title a {
  color: #2559bd;
}

.result-excerpt {
  color: #666;
}

.result-excerpt mark {
  background-color: #fff3cd;
  padding: 2px 0;
}

/* ----- お問い合わせフォームを非表示 ----- */
.contact-form,
.contact-wrapper form,
#contact-form,
#diagnosis-form {
  display: none !important;
}

/* フォーム関連のコンテナも非表示 */
.contact-wrapper {
  display: block;
}

/* 診断フォームのラッパーも非表示 */
.diagnosis-form-wrapper {
  display: none !important;
}

/* お問い合わせオプションは残す */
.contact-options {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

.contact-card {
  text-align: center;
}