/* 基本設定 */
body {
  font-family: 'Noto Sans JP', sans-serif;
  margin: 0;
  color: #333;
  background-color: #F5F5F5;
  line-height: 1.7;
}

:root {
  --radius-lg: 12px;
  --radius-md: 8px;
  --radius-sm: 4px;
}

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

a {
  text-decoration: none;
  color: #212121;
  /* メインの茶色 */
}

.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
  color: #212121;
  /* 濃い茶色 */
}

.bg-light {
  background-color: #ffffff;
}

/* ヘッダー */
.header {
  background-color: #ffffff;
  padding: 15px 0;
  border-bottom: 1px solid #e0e0e0;
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.header-logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #212121;
  margin: 0;
}

.header-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
}

.header-nav li a {
  padding: 10px 15px;
  color: #333;
  font-weight: bold;
  transition: color 0.3s;
}

.header-nav li a:hover {
  color: #34495E;
  /* やや明るい濃紺系 */
}

/* キービジュアル (KV) */
.kv {
  background-image: linear-gradient(to right, rgba(245, 245, 245, 0.8), rgba(245, 245, 245, 0.8)), url('./img/kv.jpg');
  background-size: cover;
  background-position: center;
  color: #212121;
  text-align: center;
  padding: 100px 20px;
}

.kv-catchcopy {
  font-size: 2.8rem;
  font-weight: bold;
  margin: 0 0 20px;
  text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.5);
  color: #212121;
}

.kv p {
  font-size: 1.2rem;
  margin: 0;
}

/* 検索セクション */
.search-section {
  padding: 50px 0;
  background-color: #CFD8DC;
  /* 明るい青みがかったグレー */
}

.search-form {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.search-form h3 {
  margin: 0 0 20px;
  font-size: 1.5rem;
}

.search-box {
  display: flex;
  gap: 10px;
}

.search-select {
  flex-grow: 1;
  padding: 15px;
  font-size: 1rem;
  border: 1px solid #BDBDBD;
  border-radius: var(--radius-md);
}

.search-button {
  padding: 15px 30px;
  font-size: 1rem;
  font-weight: bold;
  color: #fff;
  background-color: #1A2C3E;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background-color 0.3s;
}

.search-button:hover {
  background-color: #34495E;
}

/* 情報セクション (新着・ブログ) */
.info-section {
  padding: 60px 0;
}

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

/* カード共通スタイル */
.card {
  background-color: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  color: #333;
}

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

.card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-content {
  padding: 20px;
}

.card-body {
  padding: 20px;
  flex-grow: 1;
}

.card-title {
  font-size: 1.2rem;
  margin: 0 0 10px;
  color: #212121;
}

.card-text {
  font-size: 0.9rem;
  margin: 0;
}

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

.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex; /* Make links horizontal */
  justify-content: center; /* Center the links */
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
  gap: 20px; /* Space between links */
}

.footer-nav li a {
  color: #fff; /* White text */
  text-decoration: none;
  padding: 5px 10px; /* Add some padding for better click area */
  transition: color 0.3s;
}

.footer-nav li a:hover {
  color: #34495E; /* やや明るい濃紺系 */
}

/* --- list.html 用のスタイル --- */
.page-title-section {
  background-color: #CFD8DC;
  padding: 30px 0;
  text-align: center;
}

.page-title-section h2 {
  margin: 0;
  font-size: 2rem;
  color: #1A2C3E;
}

.list-page-container {
  display: flex;
  gap: 40px;
  padding-top: 40px;
  padding-bottom: 60px;
}

.sidebar {
  width: 250px;
  flex-shrink: 0;
}

.sidebar h3 {
  font-size: 1.3rem;
  padding-bottom: 10px;
  border-bottom: 2px solid #212121;
  margin: 0 0 20px;
  color: #212121;
}

.filter-group {
  margin-bottom: 10px;
}

.filter-group label {
  display: block;
  cursor: pointer;
  font-size: 1rem;
}

.main-content {
  flex-grow: 1;
}

.loading-text {
  text-align: center;
  padding: 50px;
  color: #757575;
}

.shop-card-horizontal {
  display: flex;
  background-color: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  margin-bottom: 25px;
  transition: box-shadow 0.3s;
  color: #333;
  height: 240px;
}

.shop-card-horizontal:hover {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.shop-card-horizontal-img {
  width: 300px;
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
}

.shop-card-horizontal-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.shop-card-horizontal-body h3 {
  margin: 0 0 10px;
  font-size: 1.4rem;
  color: #212121;
}

.shop-card-horizontal-body p {
  margin: 0 0 15px;
  font-size: 0.9rem;
}

.shop-card-services {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.shop-card-services li {
  background-color: #CFD8DC;
  color: #212121;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: bold;
}

/* --- shop.html 用のスタイル --- */
.detail-kv {
  background-color: #CFD8DC;
  color: white;
  padding: 50px 20px;
}

.detail-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 15px;
}

.detail-kv h2 {
  font-size: 2.5rem;
  margin: 0;
  color: #212121;
}

.detail-header-buttons {
  display: flex;
  gap: 15px;
}

.btn {
  display: inline-block;
  padding: 15px 40px;
  font-size: 1rem;
  font-weight: bold;
  text-align: center;
  border-radius: var(--radius-md);
  color: #fff !important;
  text-decoration: none;
  transition: opacity 0.3s;
}

.btn:hover {
  opacity: 0.85;
}

.btn-phone {
  background-color: #1A2C3E;
  color: #fff !important;
}

.btn-line {
  background-color: #1A2C3E;
  color: #fff !important;
}

.detail-kv p {
  font-size: 1.1rem;
  margin: 0;
  opacity: 0.9;
  color: #212121;
}

.tab-nav {
  background-color: #f1f1f1;
  border-bottom: 1px solid #ddd;
  position: sticky;
  top: 71px;
  z-index: 90;
}

.tab-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
}

.tab-nav li a {
  display: block;
  padding: 15px 25px;
  font-weight: bold;
  color: #555;
  transition: all 0.3s;
  border-bottom: 3px solid transparent;
}

.tab-nav li a:hover {
  color: #1A2C3E;
  background-color: #e9e9e9;
}

.detail-page-container {
  padding-top: 40px;
  padding-bottom: 60px;
}

.detail-section {
  background-color: #fff;
  padding: 30px;
  border-radius: var(--radius-lg);
  margin-bottom: 40px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.07);
}

.detail-section h3 {
  font-size: 1.8rem;
  color: #212121;
  margin: 0 0 25px 0;
  padding-bottom: 10px;
  border-bottom: 2px solid #DDE6ED;
  display: flex;
  align-items: center;
}

.section-icon {
  margin-right: 15px;
  font-size: 1.5rem;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
}

.info-table th,
.info-table td {
  padding: 15px;
  border-bottom: 1px solid #eee;
  text-align: left;
  vertical-align: top;
}

.info-table th {
  width: 25%;
  background-color: #f9f9f9;
  font-weight: bold;
}

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

.service-list-detail li {
  background-color: #CFD8DC;
  padding: 15px;
  border-radius: var(--radius-md);
}

.map-container {
  position: relative;
  width: 100%;
  height: 450px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.photo-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
}

.photo-gallery img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
}

.review {
  border-left: 4px solid #78909C;
  padding-left: 20px;
  margin-bottom: 25px;
}

.review-text {
  font-style: italic;
  margin: 0 0 10px 0;
}

.review-author {
  text-align: right;
  font-weight: bold;
  color: #555;
}

/* --- Blog Detail Page --- */
.article-page-container {
    max-width: 800px;
    margin: 40px auto 60px;
    background-color: #fff;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 16px rgba(0,0,0,0.07);
}

#article-title {
    font-size: 2rem; /* Changed from 2.8rem for consistency */
    margin: 0 0 15px 0;
    color: #212121;
    line-height: 1.4;
}

.article-eyecatch {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  margin-bottom: 30px;
}

.article-summary {
  font-size: 1.1rem;
  color: #555;
  margin: 25px 0;
  line-height: 1.8;
}

.article-toc {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  padding: 20px 25px;
  border-radius: var(--radius-md);
  margin: 30px 0 50px;
}

.article-toc li a:hover {
  color: #1A2C3E;
}

.article-body {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #333;
}

.article-body h3 {
    font-size: 2rem; /* Increased size */
    margin-top: 70px; /* Increased top margin */
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #DDE6ED;
    color: #212121;
}

.article-body p {
    margin-bottom: 30px;
}

.article-body ol {
    padding-left: 30px;
    margin-bottom: 25px;
}

.article-body ol li {
    margin-bottom: 15px;
}

/* --- レスポンシブ対応 --- */
@media (max-width: 768px) {
  .header .container {
    flex-direction: column;
    gap: 10px;
  }

  .kv-catchcopy {
    font-size: 2rem;
  }

  .card-container {
    grid-template-columns: 1fr;
  }

  .search-box {
    flex-direction: column;
  }

  .list-page-container {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
  }

  .shop-card-horizontal {
    flex-direction: column;
    height: auto;
  }

  .shop-card-horizontal-img {
    width: 100%;
    height: 220px;
  }

  .tab-nav {
    top: 115px;
    /* スマホ時のヘッダー高さに合わせる */
  }

  .tab-nav ul {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .tab-nav li a {
    padding: 10px 15px;
    font-size: 0.9rem;
  }

  .detail-section h3 {
    font-size: 1.5rem;
  }

  .info-table th {
    width: auto;
    display: block;
  }

  .info-table td {
    display: block;
    padding-top: 5px;
  }

  .article-container {
    padding: 20px;
  }

  .article-header h1 {
    font-size: 2rem;
  }

  .header-nav {
    width: 100%;
    /* ナビゲーションを画面幅いっぱいに広げる */
    overflow-x: auto;
    /* はみ出した場合に横スクロールを許可 */
  }

  .header-nav ul {
    flex-wrap: nowrap;
    /* リンクの折り返しを禁止 */
    justify-content: center;
    /* リンクを中央に寄せる */
    padding-bottom: 5px;
    /* スクロールバー用の余白 */
  }

  .header-nav li a {
    padding: 5px 8px;
    /* リンクの余白を少し詰める */
  }
}

/* --- スライドショー用のスタイル --- */
.slideshow-container {
  position: relative;
  margin: auto;
  max-width: 100%;
}

.slide-item {
  display: none;
  animation: fadeEffect 1.5s;
}

.slide-item img {
  width: 100%;
  height: auto;
  vertical-align: middle;
  border-radius: var(--radius-md);
}

.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  transition: 0.6s ease;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  user-select: none;
  background-color: rgba(0, 0, 0, 0.3);
}

.next {
  right: 0;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}

.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.thumbnail-container {
  display: flex;
  gap: 10px;
  margin-top: 15px;
  flex-wrap: wrap;
}

.thumbnail-img {
  opacity: 0.6;
  cursor: pointer;
  width: 120px;
  height: 90px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  transition: opacity 0.3s;
}

.active,
.thumbnail-img:hover {
  opacity: 1;
}

.fallback-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: var(--radius-md);
  object-fit: contain;
}

@keyframes fadeEffect {
  from {
    opacity: .4
  }

  to {
    opacity: 1
  }
}

/* --- Pagination Styles --- */
#pagination-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 30px;
}

.pagination-btn {
  background-color: #fff;
  color: #8D6E63;
  border: 1px solid #8D6E63;
  padding: 8px 12px;
  margin: 0 2px;
  cursor: pointer;
  border-radius: var(--radius-sm);
  font-size: 0.9em;
  transition: background-color 0.3s, color 0.3s;
}

.pagination-btn:hover {
  background-color: #CFD8DC;
  border-color: #1A2C3E;
}

.pagination-btn.active {
  background-color: #1A2C3E;
  color: white;
  border-color: #1A2C3E;
  cursor: default;
}

/* --- Header Logo Image Style --- */
.header-logo a {
  display: inline-block;
  /* aタグのサイズを画像に合わせる */
  line-height: 0;
  /* 画像下の余分なスペースを削除 */
}

.header-logo img {
  height: 50px;
  /* ロゴの高さを指定 (サイトに合わせて調整してください) */
  width: auto;
  /* 横幅は自動調整 */
  vertical-align: middle;
  /* ヘッダー内で垂直中央に配置 */
}
.service-filter-select {
  width: 100%;
  padding: 15px;
  font-size: 1rem;
  border: 1px solid #BDBDBD;
  border-radius: var(--radius-md);
  background-color: #fff;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-chevron-down' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 16px;
}
.article-summary {
  font-size: 1.1rem;
  font-weight: bold;
  color: #555;
  margin: 20px 0;
  line-height: 1.8;
}

.article-toc {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  padding: 20px;
  border-radius: var(--radius-md);
  margin-bottom: 40px;
}

.article-toc h3 {
  margin: 0 0 15px 0;
  padding-bottom: 10px;
  border-bottom: 1px solid #ddd;
}

.article-toc ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.article-toc li a {
  display: block;
  padding: 8px 0;
  color: #333;
  text-decoration: none;
  transition: color 0.3s;
}

.article-toc li a:hover {
  color: #5D4037;
}
.article-body {
    /* Styles for the main article content area if needed */
}

.cta-section {
  background-color: #CFD8DC;
  padding: 60px 0;
  text-align: center;
}

.cta-section h2 {
  font-size: 2rem;
  color: #212121;
  margin: 0 0 20px;
}

.cta-section p {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 30px;
}

.btn-primary {
  background-color: #1A2C3E;
  color: #fff !important;
  padding: 15px 40px;
  font-size: 1.1rem;
  border-radius: var(--radius-md);
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s, transform 0.3s;
  display: inline-block;
}

.btn-primary:hover {
  background-color: #34495E;
  transform: translateY(-3px);
}
