.i_u-text--body {
  /*color: #494949 !important;*/
  font-size: 14px !important;
  font-family: "Zen Kaku Gothic New", sans-serif;
}

/*ファーストビュー*/
.p-magazine-article__header {
  max-width: 60rem;
  width: 100%;
  margin: 0 auto;
}

.mainVisual {
  margin-bottom: 0;
}

.justify-content-center {
  -ms-flex-pack: center !important;
  justify-content: center !important;
}

.flex-column {
  -ms-flex-direction: column !important;
  flex-direction: column !important;
}

.d-flex {
  display: -ms-flexbox !important;
  display: flex !important;
}

figure {
  margin: 0 0 1rem;
}

img:not(.rollover) {
  pointer-events: none;
}

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

/*タイトル*/
.p-column_header__panel__inner__top__date {
  color: #473733;
  padding: 0.3125rem 0.9375rem;
  /*background-color: #f1e7d6;*/
}

.flex-row {
  -ms-flex-direction: row !important;
  flex-direction: row !important;
}

.p-column_header__panel__inner {
  max-width: 960px;
  padding: 0 1.5625rem 0 1.25rem;

}

.p-column_header__panel__inner__title {
  margin-bottom: 0;
  line-height: 2.4rem;
  margin-top: 0;
}

.p-column_header__panel__inner h1 span {
  display: inline;
  font-size: 1.5rem;
  padding: 0.5rem 0.9375rem;
  /*background: linear-gradient(transparent 0%, #f1e7d6 0%);*/
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  letter-spacing: 0.06rem;
  /*font-family: "TTFirsNeue", "A1 Gothic M" !important;*/
}

.u-text--magzine_head {
  /*color: #494949 !important;*/
  font-size: 24px !important;
}

/*コンテンツ*/
/*
.p-page_article__inner h2 {
  border-left: 0.0625rem solid #000;
  padding: 0.5rem 1.25rem 0.3125rem;
  font-size: 1.5rem;
}

.p-page_article__inner h2,
.p-page_article__inner h3,
.p-page_article__inner h4 {
  line-height: 1.75;
  margin: 2.1875rem 0;
}
*/

.p-page_article__inner h2 {
  position: relative;
  font-size: 20px !important;
}

.p-page_article__inner h2:after {
  content: "";
  display: block;
  height: 4px;
  background: -webkit-linear-gradient(to right, rgb(230, 90, 90), transparent);
  background: linear-gradient(to right, rgb(250 147 125), transparent);
}

.p-page_article__inner p {
  font-size: 14px;
  line-height: 2;
  margin-top: 10px;
}

.p-page_article__inner small {
  color: #524a41;
}



.p-page_article__inner ul li {
  list-style: disc;
  list-style-position: outside;
  font-size: 0.875rem;
  line-height: 1.8;
}

.p-page_article__inner a {
  text-decoration: underline;
  color: #473733;
  overflow-wrap: break-word;
}

.table-content {
  border: 1px solid #c0a79c;
  padding: 20px;
  margin-top: 30px;
}

.table-content h5 {
  font-size: 15px;
  font-family: Noto Sans, Noto Sans CJK JP, Noto Sans CJK JP Subset, sans-serif !important
}

.table-content ul li {
  list-style: disc outside;
  margin-left: 20px;
}

.p-page_article__inner ul {
  margin-top: 20px;
  margin-left: 2.5em;
}

/*一覧*/
/*
.p-column_s {
    padding-right: 40px;
    padding-left: 40px;
}
*/
.p-magazine__item_s,
.p-product__item_s {
  /* display: flex
; */
  /*background-color: #fff;*/
  padding: 15px 20px;
  flex: 1;
  height: auto;

  margin: auto;
}

/*2列表示*/
.p-column__inner__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  /*gap: 40px;*/
  /* カード間の余白 */
}

.c-column_item__inner_m {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 15px;
  align-items: start;
}

.c-column_item__inner_m__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
}

.c-column_item__inner_m__body {
  display: flex;
  flex-direction: column;
}

.c-column_item__inner_m__date {
  margin-bottom: 12px;
}

@media (min-width: 767px) and (max-width: 992px) {
  .p-column__inner__list .medium-up--one-4 {
    width: calc((100% - 120px) / 2);
    margin: 20px auto !important;
  }
}

@media only screen and (max-width: 767px) {
  .p-column__inner__list .medium-up--one-4 {
    width: 100%;
    margin: 20px auto !important;
  }



  .c-column_item__inner_m {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .c-column_item__inner_m__img {
    width: 100%;
  }

  .c-column_item__inner_m__date {
    margin-top: 12px;
    margin-bottom: 0;
  }


}
@media (max-width: 768px) {

  /* リスト全体を縦並びに */
  .p-column__inner__list {
    display: flex;
    flex-direction: column;
    /* 縦方向に並べる */
    gap: 20px;
    /* アイテム間の余白 */
  }

  /* 各アイテムを横幅100%に */
  .p-column__inner__list__item {
    width: 100%;
  }

  /* 内部の画像は幅100% */
  .c-column_item__inner_m__img {
    width: 100%;
    height: auto;
    /* 高さは自動でアスペクト比保持 */
  }

}

/*ページネーション*/
/* ページネーション全体 */
.c-pagination__list {
  display: flex;
  gap: 8px;
  /* ページ間の隙間 */
  list-style: none;
  padding: 0;
  margin: 0;
}

/* ページ番号の四角スタイル */
.c-pagination__list__item__page {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid #ccc;
  text-decoration: none;
  color: #333;
  /* 通常ページ文字色 */
  font-weight: 500;
  transition: all 0.2s;
}

/* 現在のページ */
.c-pagination__list__item.is-active .c-pagination__list__item__page {
  color: orange;
  /* 文字色 */
  border-color: orange;
  /* 線の色 */
  /*font-weight: 600;*/

}

/* ホバー時（任意） */
.c-pagination__list__item__page:hover {
  border-color: #999;
}

/* 前・次ボタン共通 */
.c-pagination__list__item__prev,
.c-pagination__list__item__next {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid #ccc;
  color: #333;
  text-decoration: none;
}

/* 前ボタン ◀︎ */
.c-pagination__list__item__prev i {
  display: inline-block;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-right: 8px solid #333;
  /* 左向き三角 */
}

/* 次ボタン ▶︎ */
.c-pagination__list__item__next i {
  display: inline-block;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 8px solid #333;
  /* 右向き三角 */
}



/* 無効ボタンの矢印色をグレーに */
.c-pagination__list__item__prev.is-disabled i {
  border-right-color: #999;
}

.c-pagination__list__item__next.is-disabled i {
  border-left-color: #999;
}

.c-pagination__list__item__prev.is-disabled,
.c-pagination__list__item__next.is-disabled {
  background-color: #efeeee;
}

.c-pagination__list {
  border: none;
}

.c-pagination__list__item.is-active:after {
  border: none;
}

.c-pagination__list__item__prev {
  transform: none !important;
}

/*CTAボタン*/
/* CTAラッパー中央寄せ */
.c-cta_button_wrapper {
  text-align: center;
  /* 中央寄せ */
}

.c-cta_button_image img {
  display: inline-block;
  /* インラインブロックで中央寄せ維持 */
  width: auto;
  /* 元の画像サイズを基本に */
  max-width: 45%;
  /* 最大幅を設定（調整可） */
  height: auto;
  /* 縦横比を維持 */
  border-radius: 8px;
  /* 角丸（必要なら） */
  transition: transform 0.2s;
}

.c-cta_button_image img:hover {
  transform: scale(1.05);
  /* ホバー時に少し拡大 */
}



/*マガジン詳細*/
.content-image img {
  max-width: 80%;
  margin: 1em auto;
}

/*カテゴリ切り替え*/
/* タブ全体を記事幅に揃える */
.p-column_filter_tabs {
  max-width: 960px;
  margin: 0 auto 40px auto;
  padding: 0 20px;
}

.p-column_filter_tabs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  list-style: none;
}

.p-column_filter_tabs__item {
  flex: 0 1 120px;
  text-align: center;
  border: 1px solid #ccc;
  background-color: #f5f5f5;
  transition: background-color 0.3s;
}

.p-column_filter_tabs__item a {
  display: block;
  padding: 8px 12px;
  text-decoration: none;
  color: #333;
}

/* 選択中のタブ */
.p-column_filter_tabs__item.is-active {
  background-color: #ffe6e6;
  /* 薄ピンク */
  border-color: #ffb3b3;
}

/* 小さい画面でも折り返して見やすく */
@media (max-width: 600px) {
  .p-column_filter_tabs__item {
    flex: 100%;
    /* 1列表示 */
  }
}

@media screen and (max-width: 719px) {
    .p-page_article {
        padding-right: 30px;
        padding-left: 30px;
    }
    .c-cta_button_image img {
    display: inline-block;
    max-width: 100%;
  }
}

/*ポイント*/
.point-box {
  margin-top: 32px;
  position: relative;
  padding: 10px 10px  10px 0;
  border: 4px solid #e6bda0; /* 枠線カラー */
  border-radius: 6px;
  /*background: #fff;*/ 
}

/* 左上の「ポイント」ラベル */
.point-box__label {
  position: absolute;
  top: -18px;
  left: 16px;
  background: #e6bda0;
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  padding: 6px 14px;
  border-radius: 6px;
  transform: rotate(-8deg);
}

/* 中のテキスト */
.point-box__list {
  margin: 0;
  /*padding-left: 1.2em;*/
}

.point-box__list li {
  margin-bottom: 12px;
  line-height: 1.8;
}

/*関連記事*/
.p-related-articles {
    max-width: 960px;
    margin: auto;
    padding: 30px 20px;
}

/* 関連記事：PCは4カラム */
.p-related-articles__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr); 
  gap: 20px;
  margin-top: 10px;
}
@media screen and (max-width: 768px) {
  .p-related-articles__list {
    /*grid-template-columns: 1fr;*/ /* SPは1カラム */
    display: flex;
  }
  .p-related-articles__img {
  height: 55px;
}
  
}

/* 記事カード */
.p-related-articles__item {
  list-style: none;
}

.p-related-articles__link {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* 画像 */
.p-related-articles__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  margin-bottom: 8px;
}

/* 日付 */
.p-related-articles__date {
  display: block;
  font-size: 12px;
  color: #777;
  margin-bottom: 4px;
}

/* タイトル */
.p-related-articles__title {
  font-size: 14px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 8px;           /* 画像との間隔 */
  word-break: break-word;     /* 長い単語の途中で改行 */
}