/* ============================================
   Column Detail Page Styles
   記事詳細ページ用スタイル
   ============================================ */

/* コンテナのフルワイド化 */
#container.container-fullwidth-single {
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

#main.column-detail-main {
  float: none !important;
  width: 100% !important;
  max-width: 100% !important;
  background-color: #f3f0ef;
}

/* パンくずリスト */
.column-detail-main .side-bar {
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 45px;
}

.column-detail-main .side-bar a {
  font-size: 12px;
  font-weight: 500;
  color: #000;
  text-decoration: none;
}

.column-detail-main .side-bar span {
  font-size: 12px;
}

/* FVセクション（アイキャッチ画像） */
.column-detail-main .fv {
  width: 100%;
}

.column-detail-main .fv img {
  max-width: 1028px;
  width: 100%;
  height: 530px;
  margin: 0 auto;
  display: block;
  object-fit: cover;
}

/* コンテンツセクション */
.column-detail-main .content {
  padding-block: 50px 100px;
  display: flex;
  flex-direction: column;
  gap: 50px;
  align-items: center;
}

/* コンテンツトップ（カテゴリ、日付、タイトル） */
.column-detail-main .content .content-top {
  width: 100%;
  max-width: 640px;
}

.column-detail-main .content .content-top .cat-date {
  font-weight: bold;
  margin-bottom: 20px;
}

.column-detail-main .content .content-top .cat {
  font-size: 14px;
  margin: 0;
}

.column-detail-main .content .content-top .date {
  font-size: 18px;
  margin: 0;
}

.column-detail-main .content .content-top .title {
  font-size: 23px;
  font-weight: bold;
  margin-bottom: 30px;
  line-height: 1.5;
}

/* 本文エリア */
.column-detail-main .content .article-body {
  width: 100%;
  max-width: 640px;
  font-size: 14px;
  font-weight: 500;
  line-height: 2;
}

.column-detail-main .content .article-body p,
.column-detail-main .content .article-body u {
  margin-bottom: 1.5em;
  line-height: 2;
}

.column-detail-main .content .article-body h2,
.column-detail-main .content .article-body h3,
.column-detail-main .content .article-body h4 {
  font-weight: bold;
  margin-top: 2em;
  margin-bottom: 1em;
  padding-top: 20px;
  border-top: 1px solid #000;
}

.column-detail-main .content .article-body h2 {
  font-size: 23px;
}

.column-detail-main .content .article-body h3 {
  font-size: 20px;
}

.column-detail-main .content .article-body h4 {
  font-size: 18px;
}

.column-detail-main .content .article-body img {
  max-width: 100%;
  height: auto;
  margin: 1.5em 0;
}

.column-detail-main .content .article-body .wp-caption {
  max-width: 100% !important;
  height: auto;
}

.column-detail-main .content .article-body .wp-caption img {
  margin: 0;
}

.column-detail-main .content .article-body a {
  color: #a72813;
  text-decoration: underline;
}

.column-detail-main .content .article-body a:hover {
  text-decoration: none;
}

.column-detail-main .content .article-body ul,
.column-detail-main .content .article-body ol {
  margin: 1.5em 0;
  padding-left: 1.5em;
}

.column-detail-main .content .article-body li {
  margin-bottom: 0.5em;
}

.column-detail-main .content .article-body blockquote {
  margin: 1.5em 0;
  padding: 1em 1.5em;
  background: #e8e5e3;
  border-left: 4px solid #a72813;
}

/* 関連記事セクション */
.column-detail-main .btm-content {
  padding-block: 100px;
  background-color: #ded8d4;
}

.column-detail-main .btm-content-container {
  width: 100%;
  max-width: 1028px;
  margin: 0 auto;
  padding-inline: 22px;
}

.column-detail-main .btm-content-container h2 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
}

.column-detail-main .btm-content-container .btm-group {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.column-detail-main .btm-content-container .btm-group .btm-item {
  width: 100%;
  max-width: 509px;
  text-decoration: none;
  color: #000;
  display: block;
}

.column-detail-main .btm-content-container .btm-group .btm-item .img-box {
  width: 100%;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.column-detail-main .btm-content-container .btm-group .btm-item .img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.column-detail-main .btm-content-container .btm-group .btm-item:hover .img-box img {
  transform: scale(1.03);
}

.column-detail-main .btm-content-container .btm-group .btm-item .txt-box {
  display: flex;
  flex-direction: column;
}

.column-detail-main .btm-content-container .btm-group .btm-item .txt-box p {
  width: fit-content;
  margin: 0;
}

.column-detail-main .btm-content-container .btm-group .btm-item .txt-box .category {
  font-size: 14px;
  font-weight: bold;
  position: relative;
  display: inline-block;
  padding-bottom: 2px;
}

.column-detail-main .btm-content-container .btm-group .btm-item .txt-box .category::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #000000;
  transform: scaleX(0);
  transform-origin: right top;
  transition: transform 0.3s ease;
}

.column-detail-main .btm-content-container .btm-group .btm-item:hover .txt-box .category::after {
  transform: scaleX(1);
  transform-origin: left top;
}

.column-detail-main .btm-content-container .btm-group .btm-item .txt-box .date {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
  padding-bottom: 2px;
}

.column-detail-main .btm-content-container .btm-group .btm-item .txt-box .date::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #000000;
  transform: scaleX(0);
  transform-origin: right top;
  transition: transform 0.3s ease;
}

.column-detail-main .btm-content-container .btm-group .btm-item:hover .txt-box .date::after {
  transform: scaleX(1);
  transform-origin: left top;
}

.column-detail-main .btm-content-container .btm-group .btm-item .txt-box .txt {
  font-size: 14px;
  font-weight: bold;
  position: relative;
  display: inline-block;
  padding-bottom: 2px;
}

.column-detail-main .btm-content-container .btm-group .btm-item .txt-box .txt::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #000000;
  transform: scaleX(0);
  transform-origin: right top;
  transition: transform 0.3s ease;
}

.column-detail-main .btm-content-container .btm-group .btm-item:hover .txt-box .txt::after {
  transform: scaleX(1);
  transform-origin: left top;
}

/* レスポンシブ */
@media (max-width: 768px) {
  .column-detail-main .side-bar {
    padding-block: 20px;
    padding-inline: 22px 0;
    gap: 2px;
  }

  .column-detail-main .side-bar a {
    font-size: 10px;
  }

  .column-detail-main .side-bar span {
    font-size: 10px;
  }

  .column-detail-main .content {
    padding-block: 30px 50px;
    gap: 30px;
  }

  .column-detail-main .content .content-top {
    padding-inline: 22px;
  }

  .column-detail-main .content .content-top .cat {
    font-size: 10px;
  }

  .column-detail-main .content .content-top .date {
    font-size: 10px;
  }

  .column-detail-main .content .content-top .title {
    font-size: 18px;
  }

  .column-detail-main .content .article-body {
    padding-inline: 22px;
    font-size: 12px;
  }

  .column-detail-main .content .article-body h2 {
    font-size: 18px;
  }

  .column-detail-main .content .article-body h3 {
    font-size: 16px;
  }

  .column-detail-main .content .article-body h4 {
    font-size: 14px;
  }

  .column-detail-main .btm-content {
    padding-block: 50px;
  }

  .column-detail-main .btm-content-container .btm-group {
    flex-direction: column;
    gap: 46px;
  }

  .column-detail-main .btm-content-container .btm-group .btm-item {
    max-width: 100%;
  }

  .column-detail-main .btm-content-container h2,
  .column-detail-main .btm-content-container .btm-group .btm-item .txt-box .txt {
    font-size: 12px;
  }

  .column-detail-main .btm-content-container .btm-group .btm-item .txt-box .category,
  .column-detail-main .btm-content-container .btm-group .btm-item .txt-box .date {
    font-size: 10px;
  }
  .c-reverse {
    flex-direction: column-reverse;
  }
}

/* Additional styles from new/assets/css/column-a.css */
.c-item {
  width: 100%;
  max-width: 640px;
}
.c-item .t {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 20px;
}
.c-item .img-box {
  margin-bottom: 20px;
}
.c-item .c {
  font-size: 14px;
  line-height: 1.8;
}
.c-item .spec-group {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}
.c-item .spec-group .img-box {
  width: 100%;
  position: relative;
  overflow: hidden;
}
.c-item .spec-group .img-box img {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}
.c-item .spec-group .img-box:hover img {
  transform: scale(1.03);
}
.c-item .spec-group .img-box .price-txt {
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  padding-block: 20px 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.c-item .spec-group .img-box .price-txt p:first-child {
  position: relative;
  display: inline-block;
  padding-bottom: 2px;
}
.c-item .spec-group .img-box .price-txt p:first-child::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #000000;
  transform: scaleX(0);
  transform-origin: right top;
  transition: transform 0.3s ease;
}
.c-item .spec-group .img-box:hover .price-txt p:first-child::after {
  transform: scaleX(1);
  transform-origin: left top;
}
.c-item .spec-group .img-box .price-txt p:nth-of-type(2) {
  font-size: 16px;
  color: #858585;
  line-height: 1;
  position: relative;
  display: inline-block;
  padding-bottom: 2px;
}
.c-item .spec-group .img-box .price-txt p:nth-of-type(2)::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #000000;
  transform: scaleX(0);
  transform-origin: right top;
  transition: transform 0.3s ease;
}
.c-item .spec-group .img-box:hover .price-txt p:nth-of-type(2)::after {
  transform: scaleX(1);
  transform-origin: left top;
}
.c-item .spec-group .img-box .price-txt p:nth-of-type(2) span {
  font-size: 10px;
  font-weight: bold;
}
.c-item .spec-group .img-box a {
  width: 228px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  border: 1px solid #a72813;
  background-color: transparent;
  font-size: 14px;
  color: #a72813;
  margin: auto;
  text-decoration: none !important;
  position: relative;
  overflow: hidden;
  transition: color 0.3s ease;
}
.c-item .spec-group .img-box a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: #a72813;
  transition: width 0.3s ease;
  z-index: 0;
}
.c-item .spec-group .img-box a p,
.c-item .spec-group .img-box a img {
  position: relative;
  z-index: 1;
  transition: color 0.3s ease, filter 0.3s ease;
}
.c-item .spec-group .img-box a:hover {
  color: #ffffff;
}
.c-item .spec-group .img-box a:hover::before {
  width: 100%;
}
.c-item .spec-group .img-box a:hover p {
  color: #ffffff;
}
.c-item .spec-group .img-box a:hover img {
  filter: brightness(0) invert(1);
}
.c-item .spec-group .img-box a img {
  width: 42px;
  height: auto;
}

@media (max-width: 768px) {
  .c-item .spec-group .img-box a {
    width: 140px;
    font-size: 10px;
  }
  .c-item .spec-group .img-box a img {
    width: 20px;
  }
  .c-item .spec-group .img-box .price-txt {
    font-size: 12px;
  }
}
