/* ハンバーガーメニューの行間余白を削除 */
.sp-hdr-gnav-wrap .gnav-inner p:empty {
  display: none !important;
  margin: 0 !important;
}
#page-title {
  margin-bottom: 15px;
}
/* ページバナー */
.page-banner {
  position: relative; 
  z-index: 1; 
  margin-bottom: 15px;
  text-align: center;
  line-height: 0;
}
.page-banner a {
  display: block;
  transition: opacity 0.3s;
}
.page-banner a:hover {
  opacity: 0.85;
}
.page-banner-img {
  width: 100%;
  height: auto;
  max-width: 1200px;
  margin: 0 auto;
}
#contents {
  background-color: #FFF3EE;
}
.column-detail {
  background: url('/common/img/bg-pattern.png'); /* サイト背景 */
}
.column-detail .content-area {
  background: #fff; /* アイキャッチ以下は白背景 */
  max-width: 960px;
  margin: 0 auto;
  padding: 20px;
}
.entry-ttl {
  margin-top: 15px;
}

/* 背景パターン */
#contents {
  position: relative;
}
/*
#contents::before {
  content: "";
  display: block;
  width: 100%;
  max-width: 1497px;
  height: 300px;
  background-image: url(/common/images/bg04.png);
  background-size: auto 300px;
  background-position: center;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 0;
}
*/
.section.clearfix {
  position: relative;
  z-index: 1;
}
.column-content-area {
  background: #fff;
  border-radius: 16px 16px 0 0;
  padding: 0 15px 30px;
  margin: 0 -15px;
}

.eyecatch img {
  max-width: 100%;
  height: auto;
}
/* コラム詳細 見出しスタイル */
#entrybody h2 {
  font-size: 20px;
  font-weight: bold;
  padding: 10px 0 10px 15px;
  margin-bottom: 20px;
  border-left: 4px solid #e60012;
}

#entrybody h3 {
  font-size: 18px;
  font-weight: bold;
  padding-bottom: 8px;
  margin-bottom: 16px;
  border-bottom: 1px solid #ccc;
}

#entrybody h4 {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 14px;
}
/* 更新日 */
.update-date {
  text-align: right;
  font-size: 13px;
  color: #787168;
  margin: 8px 0;
}
/* アイキャッチ画像 */
.eyecatch {
  margin-bottom: 20px;
}

.eyecatch img {
  max-width: 100%;
  height: auto;
}

/* リード文 */
.lead-text {
  margin-bottom: 30px;
  padding-top: 30px;
}
.lead-text p {
  line-height: 1.8;
}

/* コラム用：#entriesを全幅に */
#entries {
  width: 100% !important;
  float: none !important;
}

/* パンくずリスト */
nav.breadcrumb {
  position: relative;
  z-index: 2; /* 前後 section の z-index:1 より上に */
}

.breadcrumb {
  max-width: 1000px;
  margin: 0 auto;
  padding: 10px 15px;
  font-size: 12px;
}

.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
}

.breadcrumb li {
  color: #666;
}

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

.breadcrumb li a {
  color: #e60012;
  text-decoration: none;
}

.breadcrumb li a:hover {
  text-decoration: underline;
}

.breadcrumb li:last-child {
  color: #333;
}

/* CTAバナー */
.column-cta {
  margin: 40px 0;
  text-align: center;
}

.cta-catch {
  font-size: 16px;
  font-weight: bold;
  color: #e60012;
  margin-bottom: 15px;
  line-height: 1.6;
}

.cta-img {
  max-width: 100%;
  height: auto;
  transition: opacity 0.3s;
}

.cta-img:hover {
  opacity: 0.85;
}

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

.related-ttl {
  font-size: 20px;
  font-weight: bold;
  padding: 10px 0 10px 15px;
  margin-bottom: 20px;
  border-left: 4px solid #e60012;
}

.related-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.related-item {
  width: calc(50% - 10px);
  text-decoration: none;
  color: #333;
  display: block;
  transition: opacity 0.3s;
}

.related-item:hover {
  opacity: 0.75;
}

.related-thumb {
  margin-bottom: 8px;
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 16 / 9;
}

.related-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.related-item-ttl {
  font-size: 14px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* 記事一覧ボタン */
.column-more {
  text-align: center;
  margin: 30px 0;
}

.more-btn {
  display: inline-block;
  width: 300px;
  border: 2px solid #e60012;
  border-radius: 8px;
  color: #333;
  font-size: 16px;
  font-weight: bold;
  padding: 14px 20px;
  text-decoration: none;
  text-align: center;
  position: relative;
  transition: all 0.3s;
  box-sizing: border-box;
}

.more-btn:hover {
  background: #e60012;
  color: #fff;
}

.more-btn span {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #e60012;
}

.more-btn:hover span {
  color: #fff;
}

/* FAQ */
.column-faq {
  margin: 30px 0;
}

.faq-item {
  background: #e3ded9;
  border: 2px solid #e3ded9;
  border-radius: 8px;
  margin-bottom: 12px !important;
  overflow: hidden;
}

.faq-question {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  gap: 10px;
  cursor: pointer;
  position: relative;
  margin-bottom: 0 !important;
}

.faq-question::after {
  content: "－";
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  font-weight: bold;
  color: #fff;
  width: 30px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  border-radius: 50%;
}
.faq-item.closed .faq-question::after {
  content: "＋";
}

.faq-item.closed .faq-answer {
  display: none;
}

.faq-q-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  min-width: 36px;
  background: #fff;
  border-radius: 50%;
  font-size: 16px;
  font-weight: bold;
  line-height: 1;
}

.faq-q-text {
  font-size: 16px !important;
  font-weight: bold !important;
  color: #44403c !important;
  line-height: 1.75 !important;
  margin: 0 !important;
  padding: 0 30px 0 0 !important;
}

.faq-answer {
  display: flex;
  background: #fff;
  padding: 12px 22px 12px 14px;
  align-items: flex-start;
  gap: 0;
  margin-bottom: 0 !important;
}

.faq-a-mark {
  color: #e60012;
  font-size: 16px;
  font-weight: bold;
  min-width: 30px;
  margin-left: 8px;
  line-height: 1.75;
}

.faq-a-text {
  font-size: 14px !important;
  color: #44403c !important;
  line-height: 1.75 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* FAQアコーディオン */
.faq-question {
  cursor: pointer;
  position: relative;
}

.faq-question::after {
  content: "－";
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: #44403c;
}

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

.faq-item.closed .faq-answer {
  display: none;
}
/* 目次 */
.toc-wrap {
  background: #f7f5f3;
  border: 1px solid #e3ded9;
  border-radius: 8px;
  margin: 30px 0;
  padding: 0;
  overflow: hidden;
}
.toc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 16px 0 16px;
  cursor: pointer;
  font-size: 18px;
  font-weight: bold;
  color: #44403c;
  margin-bottom: 16px !important;
}
.toc-header::after {
  content: "－";
  font-size: 20px;
  font-weight: bold;
  color: #44403c;
}
.toc-wrap.closed .toc-header::after {
  content: "＋";
}
.toc-wrap.closed .toc-list {
  display: none !important;
}
.toc-list {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 16px 0 16px !important;
}
.toc-list li {
  margin: 0 !important;
  padding: 0 !important;
  border-top: 1px solid #e3ded9;
  list-style: none !important;
}
.toc-list li a {
  display: block !important;
  padding: 14px 8px !important;
  color: #44403c !important;
  text-decoration: none !important;
  font-size: 15px !important;
  line-height: 1.6 !important;
}
.toc-list li a:hover {
  color: #e60012 !important;
}
.toc-list li:last-child a {
  padding-bottom: 16px !important;
}

/* テーブル */
#entrybody table {
  width: 100%;
  border-collapse: separate !important;
  border-spacing: 0;
  border: 1px solid #d4cfc9;
  border-radius: 8px;
  overflow: hidden;
  margin: 24px 0;
  font-size: 14px;
  line-height: 1.7;
  background: #fff;
}

#entrybody table th,
#entrybody table td {
  padding: 12px 14px;
  border: none;
  border-right: 1px solid #d4cfc9;
  border-bottom: 1px solid #d4cfc9;
  color: #44403c;
  text-align: left;
  vertical-align: middle;
  word-break: break-word;
}

/* 右端セルは右罫線なし（角丸と揃える） */
#entrybody table th:last-child,
#entrybody table td:last-child {
  border-right: none;
}

/* 最終行は下罫線なし（角丸と揃える） */
#entrybody table tr:last-child td,
#entrybody table tr:last-child th {
  border-bottom: none;
}

/* 1行目をヘッダー扱い：赤背景 + 白文字 */
#entrybody table tr:first-child td,
#entrybody table thead th,
#entrybody table thead td {
  background: #e60012;
  color: #fff;
  font-weight: bold;
  border-right-color: rgba(255, 255, 255, 0.45);
  border-bottom-color: #e60012;
}

/* ゼブラストライプ（2行目以降の偶数行） */
#entrybody table tr:nth-child(even):not(:first-child) td {
  background: #faf7f4;
}

/* インラインstyleのwidth%指定を無効化（均等割に） */
#entrybody table td[style*="width"],
#entrybody table th[style*="width"] {
  width: auto !important;
}
.renew2025 .list-page-foot .link-page {
  font-size: 13px;
}

@media only screen and (max-width: 768px) {
  #sp-header {
    padding-top: 0;
  }
  #hdr-search-list {
    width: inherit;
    padding-top: 10px;
  }
  .cta-catch {
    font-size: 14px;
  }
  .related-list {
    gap: 15px;
  }

  .related-item {
    width: calc(50% - 7.5px);
  }

  .related-item-ttl {
    font-size: 13px;
  }

/* テーブル：SPでは横スクロール */
  #entrybody table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
    font-size: 13px;
  }
  #entrybody table th,
  #entrybody table td {
    padding: 10px 12px;
  }
}