/* =========================================
   styles/pages/service.css
   事業内容ページ固有
========================================= */

/* ページヘッダー */
.page-header {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: var(--spacing-lg) 0;
  text-align: center;
}

.page-header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.page-header p {
  color: var(--color-accent);
  font-weight: bold;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* セクション */
.service-section {
  padding: var(--spacing-xl) 0;
  border-bottom: 1px solid #eee;
}

/* 偶数番目は背景を白に */
.service-section:nth-of-type(even) {
  background-color: var(--color-white);
}

/* レイアウト */
.service-layout {
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
}
.service-layout.reverse {
  flex-direction: row-reverse;
}

.service-image {
  flex: 1;
  height: 350px;
  background-color: #e2e8f0;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  overflow: hidden;
}
.service-image-inner { text-align: center; }
.service-image-caption { margin-top: 10px; }

.service-content {
  flex: 1;
}

.service-label {
  display: inline-block;
  background-color: rgba(180, 150, 88, 0.1);
  color: var(--color-accent);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.service-content h2 {
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.service-content p {
  margin-bottom: 1.5rem;
  color: #555;
  text-align: justify;
}

/* 特徴リスト */
.feature-list {
  list-style: none;
  margin-bottom: 2rem;
}

.feature-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  font-weight: bold;
  color: var(--color-primary);
}
.feature-list li::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: var(--color-accent);
}

/* 関連リンク */
.service-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* 注釈（新規追加） */
.service-note {
  font-size: 0.85rem;
  color: #777;
  margin-top: 0.75rem;
}

/* Responsive */
@media (max-width: 768px) {
  :root { --spacing-lg: 3rem; --spacing-xl: 4rem; }

  .service-layout,
  .service-layout.reverse {
    flex-direction: column;
  }

  .service-image {
    width: 100%;
    height: 250px;
  }

  .service-links .btn {
    max-width: 100%;
  }
}

/* 飲食セクション：ボタン幅を抑える */
.service-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ここが肝：幅を狭くして統一 */
.service-links .btn {
  width: 100%;
  max-width: 320px;   /* 280〜340で調整OK */
  padding: 14px 24px; /* 横の余白を小さくして細く見せる */
}