/* article.css - 記事ページ用のスタイル */
@charset "utf-8";

h3,
h4 {
  line-height: 1.5;
}

h3 {
  padding: 20px 0;
}

h4 {
  padding-bottom: 10px;
}

h5 {
  margin: 10px 0;
}

a {
  color: #876c3b;
  font-weight: 600;
}

p {
  font-size: 16px;
}

ul li {
  font-size: 15px;
}

small {
  font-size: 12px;
}

.footer-banner-card h3 {
  line-height: 1 !important;
  padding: 0 !important;
}

/* ページ下部のカテゴリーナビゲーション */
.category-navigation {
  margin: 50px 0 30px;
  padding: 25px 0;
  border-top: 1px solid #f0f0f0;
  background-color: #fff;
}

.category-nav-header {
  margin-bottom: 15px;
  text-align: center;
}

.nav-label {
  font-size: 14px;
  color: #888;
  letter-spacing: 0.05em;
  position: relative;
  display: inline-block;
}

.nav-label:before,
.nav-label:after {
  content: '';
  position: absolute;
  top: 50%;
  width: 30px;
  height: 1px;
  background-color: #eee;
}

.nav-label:before {
  right: 100%;
  margin-right: 15px;
}

.nav-label:after {
  left: 100%;
  margin-left: 15px;
}

.category-nav-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.category-path {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.path-item {
  color: #006e51;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.3s;
}

.path-item:hover {
  color: #004d38;
}

.path-separator {
  margin: 0 8px;
  display: flex;
  align-items: center;
}

.related-categories {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.related-label {
  font-size: 12px;
  color: #888;
}

.related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.related-category {
  font-size: 12px;
  color: #006e51;
  text-decoration: none;
  padding: 4px 10px;
  border-radius: 15px;
  background-color: #f9f7f4;
  transition: all 0.3s;
}

.related-category:hover {
  background-color: #e7f2ef;
}

/* スマホ対応 */
@media (max-width: 576px) {
  .category-nav-content {
    gap: 15px;
  }

  .category-path {
    font-size: 11px;
  }

  .related-categories {
    flex-direction: column;
    gap: 5px;
  }

  .related-links {
    justify-content: center;
  }
}

/* 記事内タグの修正 */
.article-tags {
  margin: 40px 0 20px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.tags-label {
  font-size: 14px;
  color: #666;
  margin-right: 10px;
}

/* img要素に遅延読み込み属性を追加したため、視覚的に崩れないように */
img[loading="lazy"] {
  min-height: 1px;
}

/* テーブルキャプション関連 */
.table-container h4 {
  font-size: 16px;
  margin-bottom: 10px;
  color: #333;
}

/* 見出しに含まれるキーワードを強調するための修正 */
.section-title,
.subsection-title {
  color: #333;
  text-align: left;
}

/* 記事の重要キーワード強調 */
.article-intro strong,
.main-content strong {
  font-weight: bold;
  color: #222;
}

/* 記事ヘッダー */
.article-header {
  padding: 60px 0 30px;
  background: linear-gradient(to bottom, var(--ivory-bg), var(--white));
}

.article-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.article-category-tag {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.article-category {
  color: #876c3b;
  font-size: 14px;
  text-decoration: none;
}

.article-tag {
  font-size: 14px;
  color: #555;
  text-decoration: none;
}

.article-date {
  font-size: 14px;
  color: #888;
}

.article-title {
  font-size: 32px;
  font-weight: normal;
  line-height: 1.4;
  margin-bottom: 25px;
  text-align: center;
}

/* SNSシェアボタン */
.share-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.share-button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
  color: #876c3b;
  font-size: 22px;
}

.share-button:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
}

/* アイキャッチ画像 */
.article-eyecatch {
  margin-bottom: 50px;
}

.eyecatch-image {
  width: 100%;
  max-height: 250px;
  object-fit: cover;
  border-radius: 8px;
}

/* 記事コンテンツ */
.article-content {
  margin-bottom: 60px;
}

.content-wrapper {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 50px;
}

/* メインコンテンツ */
.main-content {
  max-width: 800px;
}

.article-intro {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 40px;
  color: #333;
}

.article-intro p {
  margin-bottom: 15px;
}

/* 目次 */
.table-of-contents {
  background-color: #f9f7f4;
  padding: 25px 30px;
  border-radius: 8px;
  margin-bottom: 40px;
}

.toc-title {
  font-size: 18px;
  margin-bottom: 15px;
  font-weight: 600;
  color: #333;
}

.toc-list {
  list-style: none;
  padding: 0;
  line-height: 1.5;
}

.toc-list a {
  color: #555;
  text-decoration: none;
  transition: color 0.3s;
}

.toc-list a:hover {
  color: #006e51;
}

/* 記事セクション */
.article-section {
  margin-bottom: 50px;
}

.section-title {
  font-size: 24px;
  font-weight: normal;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid #ddd;
}

.subsection-title {
  font-size: 20px;
  font-weight: 600;
  margin: 30px 0 15px;
  color: #333;
}

.article-section p {
  margin-bottom: 20px;
  line-height: 1.8;
  text-align: left;
}

/* 画像ブロック */
.image-block {
  margin: 30px 0;
  text-align: center;
}

.image-block img {
  border-radius: 6px;
}

.brand-image {
  width: 100%;
  max-width: 300px;
  border-radius: 6px;
}

.brand-image.max-w {
  max-width: 100%;
}

/* 比較表 */
.table-container {
  width: 100%;
  max-width: 100%;
  display: block;
  -webkit-overflow-scrolling: touch;
  /* スマホでのスムーズスクロール */
  overflow-x: auto;
}

.table-container table {
  width: auto;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 100%;
  table-layout: auto;
}

.table-container th,
.table-container td {
  padding: 12px 15px;
  border: 1px solid #ddd;
  white-space: normal;
  line-height: 1.8;
}

.table-container th {
  background-color: #f5f5f5;
  text-align: left;
  font-weight: 600;
  position: sticky;
  /* オプション: ヘッダーを固定 */
  top: 0;
  z-index: 0;
}

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

/* スクロールバーのスタイリング (オプション) */
.table-container::-webkit-scrollbar {
  height: 8px;
  /* 横スクロールバーの高さ */
}

.table-container::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.table-container::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 4px;
}

/* デザイングリッド */
.design-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin: 30px 0;
}

.design-grid:has(.design-item:only-child) {
  grid-template-columns: 1fr;
}

.design-grid.two-column {
  grid-template-columns: repeat(2, 1fr);
}

.design-item {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s;
  padding-bottom: 20px;
}

.design-item:hover {
  transform: translateY(-5px);
}

.design-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.design-grid .design-item img {
  max-height: 300px;
  height: auto;
}

.design-item h4 {
  font-size: 16px;
  font-weight: 600;
  margin: 15px 15px 10px;
}

.design-item h4::before,
.design-item h4::after {
  border: none;
}

.design-item p {
  font-size: 14px;
  margin: 0 15px 15px;
  color: #666;
  line-height: 1.6;
}

/* ポイントボックス */
.point-box {
  background-color: #f2f9f7;
  padding: 25px 30px;
  border-radius: 8px;
  margin: 30px 0;
}

.point-title {
  font-size: 18px;
  margin-bottom: 15px;
  color: #006e51;
  font-weight: 600;
}

.point-list {
  padding-left: 20px;
}

/* 基本的なリストのスタイル */
.point-list li,
.toc-list li {
  margin-bottom: 10px;
  line-height: 1.6;
  position: relative;
}

/* 全てのリスト項目に左側の余白を設定 */
.toc-list li {
  padding-left: 0;
  /* 親項目はデフォルトでは左パディングなし */
}

/* 数字のない子項目のみ左パディングを追加 */
.toc-list li li {
  padding-left: 20px;
  position: relative;
}

/* 親項目（数字付き）には何も表示しない */
.toc-list>li::before {
  content: none;
  padding-bottom: 10px;
}

/* 子項目のみダイヤモンドアイコンを表示 */
.toc-list li li::before {
  content: '\f3a5';
  /* Font Awesome の宝石アイコン */
  font-family: 'Font Awesome 6 Free';
  position: absolute;
  left: 0;
  top: 0;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ccc;
}

/* 親項目と子項目リストの間の余白を広げる */
.toc-list>li>ul {
  margin-top: 15px;
  /* 親項目と子項目の間の余白を増やす */
}

/* point-list のスタイルはそのまま維持 */
.point-list li {
  padding-left: 20px;
}

.point-list li::before {
  content: '\f3a5';
  font-family: 'Font Awesome 6 Free';
  position: absolute;
  left: 0;
  top: 0;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ccc;
}

/* 特徴 */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 30px auto;
}

.feature-card {
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.feature-card h4 {
  font-size: 16px;
  margin-bottom: 10px;
  color: #006e51;
  font-weight: 600;
}

.feature-card p {
  font-size: 14px;
  margin: 0;
  line-height: 2;
}

/* ヒントボックス */
.tip-box {
  background-color: #f9f7f4;
  padding: 25px 30px;
  border-radius: 8px;
  margin: 30px 0;
}

.tip-title {
  font-size: 18px;
  margin-bottom: 15px;
  color: #876c3b;
  font-weight: 600;
}

.tip-box p {
  margin: 0;
  line-height: 2;
}

/* CTAボックス */
.article-cta {
  background-color: #f9f7f4;
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  margin: 40px 0 20px;
}

.article-cta p {
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.8;
}

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

.cta-button {
  display: inline-block;
  padding: 12px 30px;
  background-color: #006e51;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  transition: background-color 0.3s;
  margin-top: 10px;
}

.cta-button:hover {
  background-color: #005940;
}

/* 店舗選択コンテナ */
.store-selection {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 600px;
  margin: 20px auto;
}

.store-selection-title {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 10px;
  margin-top: 20px;
}

/* 店舗ボタングループ */
.store-buttons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 15px;
  margin-bottom: 15px;
}

/* 個別店舗ボタン */
.store-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 15px 10px;
  background-color: #fff;
  border: 2px solid #006e51;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.store-button:hover {
  background-color: #006e51;
  color: #fff;
  transform: translateY(-2px);
}

.store-name {
  font-size: 16px;
  font-weight: 600;
  color: #006e51;
  margin-bottom: 5px;
  transition: color 0.3s;
}

.store-button:hover .store-name {
  color: #fff;
}

.store-type {
  font-size: 12px;
  color: #888;
  transition: color 0.3s;
}

.store-button:hover .store-type {
  color: #e8f4f1;
}

/* ブライダル専門店の特別デザイン */
.store-button.bridal-specialty {
  border-color: #d4af37;
  background: linear-gradient(135deg, #fff 0%, #f8f2dc 100%);
}

.store-button.bridal-specialty:hover {
  background: linear-gradient(135deg, #d4af37 0%, #b8941f 100%);
}

.store-button.bridal-specialty .store-name {
  color: #876c3b;
}

.store-button.bridal-specialty:hover .store-name {
  color: #fff;
}

/* ブライダル専門バッジ */
.bridal-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background-color: #876c3b;
  color: #fff;
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 12px;
  font-weight: 600;
}

/* アクションタイプ表示 */
.action-type {
  font-size: 11px;
  margin-top: 5px;
  padding: 2px 8px;
  border-radius: 10px;
  background-color: #f0f0f0;
  color: #666;
  transition: all 0.3s;
}

.store-button:hover .action-type {
  background-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

/* 補足テキスト */
.store-note {
  color: #666;
  text-align: left !important;
  margin-top: 15px;
  line-height: 1.8 !important;
  display: block;
}

/* レスポンシブ対応 */
@media (max-width: 576px) {
  .store-buttons {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .store-button {
    padding: 12px 8px;
  }

  .store-name {
    font-size: 14px;
  }
}

/* サイドバー */
.article-sidebar {
  position: sticky;
  top: 20px;
  align-self: start;
}

/* 筆者情報 */
.author-info {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.author-image {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}

.author-name {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 5px;
}

.author-position {
  font-size: 13px;
  color: #006e51;
  margin-bottom: 10px;
}

.author-bio {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

/* サイドバータイトル */
.sidebar-title {
  font-size: 18px;
  font-weight: normal;
  margin-bottom: 15px;
  position: relative;
  padding-bottom: 10px;
  color: #006e51;
}

.sidebar-title:after {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  width: 40px;
  height: 2px;
  background-color: #006e51;
}

/* 関連記事 */
.related-articles {
  margin-bottom: 30px;
}

.related-list {
  list-style: none;
  padding: 0;
}

.related-item {
  margin-bottom: 15px;
}

.related-item a {
  display: flex;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.related-image {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
}

.related-title {
  font-size: 14px;
  font-weight: normal;
  margin-bottom: 5px;
  line-height: 1.4;
  display: block;
}

.related-title::before,
.related-title::after {
  border-top: none;
}

.related-date {
  font-size: 12px;
  color: #888;
}


/* 最新の記事 */
.latest-articles {
  margin-bottom: 30px;
}

.latest-list {
  list-style: none;
  padding: 0;
}

.latest-item {
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}

.latest-item:last-child {
  border-bottom: none;
}

.latest-title {
  font-size: 14px;
  font-weight: normal;
  margin-bottom: 5px;
  line-height: 1.4;
  justify-content: flex-start;
  text-align: left;
  display: block;
}

.latest-title::before,
.latest-title::after {
  border-top: none;
}

.latest-date {
  font-size: 12px;
  color: #888;
}

/* 前後の記事ナビゲーション */
.article-navigation .inner {
  display: flex;
  justify-content: space-between;
  margin-bottom: 50px;
  padding: 30px 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.prev-article,
.next-article {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  max-width: 45%;
}

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

.nav-label {
  font-size: 13px;
  color: #888;
  margin-bottom: 5px;
}

.nav-title {
  font-size: 16px;
  color: #333;
  transition: color 0.3s;
}

.prev-article:hover .nav-title,
.next-article:hover .nav-title {
  color: #006e51;
}

/* 検索ボックス */
.search-box-container {
  margin-bottom: 40px;
}

.article-search-form {
  display: flex;
  position: relative;
  max-width: 600px;
  margin: 0 auto;
}

.article-search-input {
  width: 100%;
  padding: 15px 20px;
  border: 2px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
  transition: border-color 0.3s;
}

.article-search-input:focus {
  outline: none;
  border-color: #006e51;
}

.article-search-button {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: #666;
  transition: color 0.3s;
}

.article-search-button:hover {
  color: #006e51;
}


/* レスポンシブ対応 */
@media (max-width: 1024px) {
  .content-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .main-content {
    max-width: 100%;
  }

  .article-sidebar {
    position: static;
    max-width: 600px;
    margin: 0 auto;
  }

  .design-grid {
    grid-template-columns: repeat(2, 1fr);
  }

}

@media (max-width: 768px) {

  .article-header {
    padding: 60px 0 30px;
  }

  .article-title {
    font-size: 24px;
    text-align: left;
  }

  .article-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .table-container table {
    width: 200%;
  }

  .design-grid {
    grid-template-columns: 1fr;
  }

  .design-grid,
  .design-grid.two-column {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .article-navigation {
    flex-direction: column;
    gap: 20px;
  }

  .prev-article,
  .next-article {
    max-width: 100%;
  }

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

  .point-box,
  .tip-box {
    padding: 20px 10px;
  }
}

@media (max-width: 576px) {
  .breadcrumbs li {
    padding-bottom: 10px;
  }

  .table-of-contents {
    padding: 20px;
  }


  .section-title {
    font-size: 20px;
  }

  .subsection-title {
    font-size: 18px;
  }

  .author-info {
    flex-direction: column;
    text-align: center;
    padding: 15px;
  }

  .author-image {
    margin-bottom: 10px;
  }
}
