/****************************************************************
  CMS共通スタイル（お知らせ一覧・記事詳細等）
****************************************************************/

/* ============================================
   CMS用 CSS変数
   ============================================ */
:root {
  /* CMS レイアウト */
  --cms-sidebar-width: 250px;
  --cms-content-width: 900px;
  --cms-gap: 50px;

  /* CMS カラー */
  --cms-border-color: #d9d9d9;
  --cms-heading-border-color: #c1c1c1;

  /* ランキング用カラー */
  --cms-rank-gold: #c9a84b;
  --cms-rank-silver: #8a8a8a;
  --cms-rank-bronze: #a67c52;
  --cms-rank-default: #6a6a6a;

  /* ページネーション */
  --cms-pagination-current: #696969;

  /* トランジション */
  --cms-transition-hover: opacity 0.3s ease;
}

/* ============================================
   レイアウト
   ============================================ */
.cms-layout {
  padding: 60px 0 100px;
}

.cms-layout__inner {
  display: flex;
  gap: var(--cms-gap);
  max-width: calc(var(--cms-sidebar-width) + var(--cms-content-width) + var(--cms-gap));
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================
   サイドバー
   ============================================ */
.cms-sidebar {
  flex-shrink: 0;
  width: var(--cms-sidebar-width);
}

.cms-sidebar__section {
  margin-bottom: 50px;
}

.cms-sidebar__section:last-child {
  margin-bottom: 0;
}

/* ============================================
   共通見出し（サイドバー用）
   ============================================ */
.cms-heading {
  padding-bottom: 25px;
  border-bottom: 1px solid var(--cms-heading-border-color);
  margin-bottom: 0;
}

/* コンテンツエリア内の見出し */
.cms-content .cms-heading {
  margin-top: 80px;
  margin-bottom: 24px;
}

.cms-heading__en {
  font-family: var(--font-heading);
  font-size: 27px;
  font-weight: 400;
  color: var(--color-text-muted);
  letter-spacing: 0.05em;
  line-height: 1;
  margin-bottom: 7px;
}

.cms-heading__ja {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.1;
}

/* ============================================
   カテゴリーナビ
   ============================================ */
.cms-category__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cms-category__item {
  border-bottom: 1px solid var(--cms-border-color);
}

.cms-category__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 10px 18px 0;
  font-weight: 300;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.cms-category__link::after {
  content: "";
  display: block;
  width: 5px;
  height: 9px;
  background-image: url("data:image/svg+xml,%3Csvg width='5' height='9' viewBox='0 0 5 9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L4 4.5L1 8' stroke='%23333333' stroke-width='1' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.cms-category__link:hover {
  opacity: 0.7;
}

/* ============================================
   ランキング
   ============================================ */
.cms-ranking {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cms-ranking__item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 15px 0;
  border-bottom: 1px solid var(--cms-border-color);
}

.cms-ranking__thumb-wrap {
  position: relative;
  flex-shrink: 0;
}

.cms-ranking__number {
  position: absolute;
  top: -5px;
  left: -5px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--cms-rank-default);
  font-family: var(--font-accent);
  font-size: 14px;
  font-weight: bold;
  color: #fff;
}

.cms-ranking__number--gold {
  background-color: var(--cms-rank-gold);
}

.cms-ranking__number--silver {
  background-color: var(--cms-rank-silver);
}

.cms-ranking__number--bronze {
  background-color: var(--cms-rank-bronze);
}

.cms-ranking__thumb-link {
  display: block;
  transition: opacity 0.3s ease;
}

.cms-ranking__thumb-link:hover {
  opacity: 0.7;
}

.cms-ranking__thumb {
  width: 72px;
  height: 54px;
  background-color: #d9d9d9;
}

.cms-ranking__content {
  flex: 1;
  min-width: 0;
}

.cms-ranking__title-link {
  display: block;
  font-weight: 300;
  text-decoration: none;
  margin-bottom: 5px;
  transition: opacity 0.3s ease;
}

.cms-ranking__title-link:hover {
  opacity: 0.7;
}

.cms-ranking__date {
  font-size: 14px;
  font-weight: 300;
}

/* ============================================
   新着情報リスト（サイドバー）
   ============================================ */
.cms-latest {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cms-latest__item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 15px 0;
  border-bottom: 1px solid var(--cms-border-color);
}

.cms-latest__thumb-link {
  display: block;
  flex-shrink: 0;
  transition: opacity 0.3s ease;
}

.cms-latest__thumb-link:hover {
  opacity: 0.7;
}

.cms-latest__thumb {
  width: 72px;
  height: 54px;
  background-color: #d9d9d9;
}

.cms-latest__content {
  flex: 1;
  min-width: 0;
}

.cms-latest__title-link {
  display: block;
  font-weight: 300;
  text-decoration: none;
  margin-bottom: 5px;
  transition: opacity 0.3s ease;
}

.cms-latest__title-link:hover {
  opacity: 0.7;
}

.cms-latest__date {
  font-size: 14px;
  font-weight: 300;
}

/* ============================================
   コンテンツエリア
   ============================================ */
.cms-content {
  flex: 1;
  max-width: var(--cms-content-width);
}

.cms-content__header {
  margin-bottom: 40px;
  text-align: center;
}

/* 一覧ページ用見出し */
.cms-content__header .cms-heading__en {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 400;
  color: #bababa;
  letter-spacing: 0.05em;
  line-height: 1;
  margin: 0 0 10px 0;
}

.cms-content__header .cms-heading__ja {
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 0.05em;
  line-height: 1;
  margin: 0;
}

/* ============================================
   ページタイトル（コンテンツエリア）
   ============================================ */
.cms-title {
  font-size: 22px;
  font-weight: 400;
  text-align: center;
  letter-spacing: 0.05em;
  margin: 0;
  padding-bottom: 18px;
  position: relative;
}

.cms-title::after {
  content: "";
  display: block;
  width: 54px;
  height: 2px;
  background-color: var(--color-text);
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

/* ============================================
   お知らせ一覧
   ============================================ */
.cms-news {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cms-news__item {
  border-bottom: 1px solid var(--cms-border-color);
}

.cms-news__item:first-child {
  border-top: 1px solid var(--cms-border-color);
}

.cms-news__row {
  display: flex;
  align-items: center;
  gap: 60px;
  padding: 25px 0;
}

.cms-news__date {
  flex-shrink: 0;
  font-family: var(--font-heading);
  font-weight: 300;
  white-space: nowrap;
}

.cms-news__link {
  font-weight: 300;
  text-decoration: underline;
  transition: opacity 0.3s ease;
}

.cms-news__link:hover {
  opacity: 0.7;
}

.cms-news__link--no-link {
  text-decoration: none;
  cursor: default;
}

.cms-news__link--no-link:hover {
  opacity: 1;
}

/* ============================================
   ページネーション
   ============================================ */
.cms-pagination {
  margin-top: 50px;
}

.cms-pagination__list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.cms-pagination__item {
  display: flex;
  align-items: center;
  justify-content: center;
}

.cms-pagination__number {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 30px;
  font-weight: 400;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.cms-pagination__number:hover {
  opacity: 0.7;
}

.cms-pagination__item--current .cms-pagination__number {
  background-color: var(--cms-pagination-current);
  color: #fff;
}

.cms-pagination__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.cms-pagination__arrow:hover {
  opacity: 0.7;
}

.cms-pagination__arrow svg {
  display: block;
}

/* WordPress ページネーション */
.cms-pagination .nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.cms-pagination .page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 30px;
  font-weight: 400;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.cms-pagination .page-numbers:hover {
  opacity: 0.7;
}

.cms-pagination .page-numbers.current {
  background-color: var(--cms-pagination-current);
  color: #fff;
}

.cms-pagination .page-numbers.current:hover {
  opacity: 1;
}

.cms-pagination .prev,
.cms-pagination .next {
  min-width: auto;
}

.cms-pagination .prev .cms-pagination__arrow,
.cms-pagination .next .cms-pagination__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
}

/* ============================================
   パンくずリスト
   ============================================ */
.breadcrumb {
  padding: 16px 0 0;
}

.breadcrumb__list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 11px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.breadcrumb__item {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 12px;
  font-weight: 400;
}

.breadcrumb__item:not(:last-child)::after {
  content: "";
  display: block;
  width: 6px;
  height: 10px;
  background-image: url("data:image/svg+xml,%3Csvg width='6' height='10' viewBox='0 0 6 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L1 9' stroke='%23999999' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.breadcrumb__link {
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.breadcrumb__link:hover {
  opacity: 0.7;
}

/* ============================================
   記事詳細
   ============================================ */
.cms-article__header {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--cms-border-color);
  margin-bottom: 30px;
}

.cms-article__title {
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 0.08em;
  margin: 0 0 15px;
}

.cms-article__date {
  font-size: 14px;
  font-weight: 300;
  margin: 0;
}

.cms-article__thumbnail {
  margin: 0 0 40px;
}

.cms-article__thumbnail-img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.cms-article__body {
  margin-bottom: 60px;
}

.cms-article__body > p {
  font-weight: 300;
  margin: 0 0 1.5em;
}

.cms-article__body > p:last-child {
  margin-bottom: 0;
}

/* 本文内見出し（h2） */
.cms-article__body h2 {
  font-size: 22px;
  font-weight: 400;
  text-align: center;
  letter-spacing: 0.05em;
  margin: 80px 0 30px;
  padding-bottom: 18px;
  position: relative;
}

.cms-article__body h2:first-child {
  margin-top: 0;
}

.cms-article__body h2::after {
  content: "";
  display: block;
  width: 54px;
  height: 2px;
  background-color: var(--color-text);
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

/* 本文内見出し（h3） */
.cms-article__body h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 50px 0 20px;
  padding-left: 16px;
  border-left: 3px solid var(--color-text);
}

.cms-article__body h3:first-child {
  margin-top: 0;
}

/* 本文内見出し（h4） */
.cms-article__body h4 {
  font-weight: 700;
  margin: 40px 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--cms-border-color);
}

.cms-article__body h4:first-child {
  margin-top: 0;
}

/* 本文内画像 */
.cms-article__body img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 30px 0;
}

.cms-article__body p + img,
.cms-article__body img + p {
  margin-top: 30px;
}

/* コンポーネント内スタイルの保護（本文用img/pスタイルの影響を除外） */
.cms-article__body .cms-balloon__image {
  margin: 0;
}

.cms-article__body .cms-balloon__name {
  margin: 8px 0 0;
}

.cms-article__body .cms-balloon__text {
  margin: 0;
}

.cms-article__body .cms-product-card__image img {
  margin: 0;
}

.cms-article__body .cms-product-card__text {
  margin: 0 0 16px;
}

.cms-article__body .cms-related__image img {
  margin: 0;
}

.cms-article__body .cms-related__text {
  margin: 0 0 16px;
}

.cms-article__body .cms-author__image {
  margin: 0;
}

.cms-article__body .cms-author__bio {
  margin: 0 0 12px;
}

.cms-article__body .cms-step__text {
  margin: 0;
}

.cms-article__body .cms-toc__item {
  margin-bottom: 8px;
}

.cms-article__body .cms-cards__thumb img {
  margin: 0;
}

.cms-article__body .cms-share__link img {
  margin: 0;
}

/* ============================================
   冒頭文
   ============================================ */
.cms-intro {
  font-weight: 300;
  margin: 0 0 40px;
}

/* ============================================
   カードグリッド
   ============================================ */
.cms-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.cms-cards__item {
  display: flex;
  flex-direction: column;
}

.cms-cards__thumb-link {
  display: block;
  transition: var(--cms-transition-hover);
}

.cms-cards__thumb-link:hover {
  opacity: 0.7;
}

.cms-cards__thumb {
  width: 100%;
  aspect-ratio: 283 / 189;
  background-color: #d9d9d9;
  margin-bottom: 12px;
  overflow: hidden;
}

.cms-cards__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin: 0;
}

.cms-cards__body {
  flex: 1;
}

.cms-cards__title {
  font-weight: 300;
  line-height: 1.4;
  margin: 0 0 8px;
}

.cms-cards__title-link {
  text-decoration: none;
  transition: var(--cms-transition-hover);
}

.cms-cards__title-link:hover {
  opacity: 0.7;
}

.cms-cards__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.cms-cards__category {
  background-color: #696969;
  color: #fff;
  font-size: 12px;
  font-weight: 400;
  padding: 3px 10px;
  margin: 0;
}

.cms-cards__date {
  font-size: 12px;
  font-weight: 300;
}

/* ============================================
   記事メタ情報（複数日付・読了時間）
   ============================================ */
.cms-article__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 15px;
}

.cms-article__category {
  background-color: #696969;
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  padding: 4px 12px;
  margin: 0;
}

.cms-article__dates {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.cms-article__meta-left {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 15px;
}

.cms-article__reading-time {
  font-size: 14px;
  font-weight: 300;
  margin: 0;
}

/* ============================================
   目次コンポーネント
   ============================================ */
.cms-toc {
  border: 1px solid var(--cms-border-color);
  padding: 24px 30px 30px;
  margin: 40px 0;
}

.cms-toc__title {
  font-weight: 700;
  text-align: center;
  margin: 0 0 16px;
}

.cms-toc__list {
  margin: 0;
  padding-left: 24px;
  list-style: decimal;
}

.cms-toc__item {
  margin-bottom: 8px;
}

.cms-toc__item:last-child {
  margin-bottom: 0;
}

.cms-toc__link {
  font-weight: 300;
  text-decoration: underline;
  transition: opacity 0.3s ease;
}

.cms-toc__link:hover {
  opacity: 0.7;
}

/* ============================================
   Easy Table of Contents プラグイン対応
   ============================================ */
.ez-toc-title-container {
  text-align: center;
}

/* ============================================
   ご紹介商品カード
   ============================================ */
.cms-product-card {
  background-color: var(--color-bg-gray);
  padding: 26px 30px 40px;
  margin: 40px 0;
}

.cms-product-card__label {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 20px;
  padding: 0;
  border: none;
}

.cms-product-card__inner {
  display: flex;
  gap: 24px;
}

.cms-product-card__image {
  flex-shrink: 0;
  width: 250px;
  height: 188px;
  overflow: hidden;
}

.cms-product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin: 0;
}

.cms-product-card__body {
  flex: 1;
}

.cms-product-card__title {
  font-weight: 700;
  margin: 0 0 12px;
}

.cms-product-card__text {
  font-weight: 300;
  margin: 0 0 16px;
}

.cms-product-card__link {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  text-decoration: none;
  border: 1px solid var(--color-border);
  border-radius: 2px;
  background: #fff url(../img/icon_arrow.svg) no-repeat right 10px center;
  padding: 12px 35px 12px 20px;
  transition: opacity 0.3s ease;
}

.cms-product-card__link:hover {
  opacity: 0.7;
}

/* ============================================
   テーブルコンポーネント
   ============================================ */
.cms-table {
  width: 100%;
  border-collapse: collapse;
  margin: 40px 0;
}

.cms-table th,
.cms-table td {
  border: 1px solid rgba(217, 217, 217, 0.85);
  padding: 14px 18px;
  text-align: left;
  vertical-align: middle;
}

.cms-table th {
  width: 189px;
  background-color: #f7f7f7;
  font-weight: 700;
}

.cms-table td {
  font-weight: 400;
}

/* ============================================
   CTAボタン
   ============================================ */
.cms-cta-button {
  text-align: center;
  margin: 40px 0;
}

.cms-cta-button__link {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  text-decoration: none;
  border: 1px solid var(--color-border);
  border-radius: 2px;
  background: #fff url(../img/icon_arrow.svg) no-repeat right 10px center;
  padding: 12px 35px 12px 20px;
  transition: opacity 0.3s ease;
}

.cms-cta-button__link:hover {
  opacity: 0.7;
}

/* ============================================
   吹き出しコンポーネント
   ============================================ */
.cms-balloon {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin: 40px 0;
}

.cms-balloon__avatar {
  flex-shrink: 0;
  text-align: center;
}

.cms-balloon__image {
  width: 114px;
  height: 114px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  object-fit: cover;
  margin: 0;
}

.cms-balloon__name {
  font-weight: 700;
  margin: 8px 0 0;
}

.cms-balloon__body {
  position: relative;
  flex: 1;
  background-color: #fff;
  border: 1px solid var(--cms-border-color);
  border-radius: 8px;
  padding: 20px 24px;
}

.cms-balloon__body::before {
  content: "";
  position: absolute;
  top: 30px;
  left: -10px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 10px 10px 0;
  border-color: transparent var(--cms-border-color) transparent transparent;
}

.cms-balloon__body::after {
  content: "";
  position: absolute;
  top: 30px;
  left: -8px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 10px 10px 0;
  border-color: transparent #fff transparent transparent;
}

.cms-balloon__text {
  font-weight: 300;
  margin: 0;
}

/* 吹き出し右配置 */
.cms-balloon--right {
  flex-direction: row-reverse;
}

.cms-balloon--right .cms-balloon__body::before {
  left: auto;
  right: -10px;
  border-width: 10px 0 10px 10px;
  border-color: transparent transparent transparent var(--cms-border-color);
}

.cms-balloon--right .cms-balloon__body::after {
  left: auto;
  right: -8px;
  border-width: 10px 0 10px 10px;
  border-color: transparent transparent transparent #fff;
}

/* ============================================
   STEPコンポーネント
   ============================================ */
.cms-step {
  margin: 40px 0;
}

.cms-step__item {
  position: relative;
  padding-left: 68px;
  padding-bottom: 30px;
}

.cms-step__item:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 48px;
  left: 23px;
  width: 2px;
  height: calc(100% - 48px);
  background-color: var(--cms-border-color);
}

.cms-step__item:last-child {
  padding-bottom: 0;
}

.cms-step__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.cms-step__number {
  position: absolute;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background-color: var(--color-text-muted);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
}

.cms-step__title {
  font-weight: 700;
  margin: 0;
}

.cms-step__text {
  font-weight: 300;
  margin: 0;
}

/* ============================================
   関連記事（記事内）
   ============================================ */
.cms-related {
  background-color: var(--color-bg-gray);
  padding: 26px 30px 40px;
  margin: 40px 0;
}

.cms-related__label {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 20px;
  padding: 0;
  border: none;
}

.cms-related__inner {
  display: flex;
  gap: 24px;
}

.cms-related__image {
  flex-shrink: 0;
  width: 250px;
  height: 188px;
  overflow: hidden;
}

.cms-related__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin: 0;
}

.cms-related__body {
  flex: 1;
}

.cms-related__title {
  font-weight: 700;
  margin: 0 0 12px;
}

.cms-related__text {
  font-weight: 300;
  margin: 0 0 16px;
}

.cms-related__link {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  text-decoration: none;
  border: 1px solid var(--color-border);
  border-radius: 2px;
  background: #fff url(../img/icon_arrow.svg) no-repeat right 10px center;
  padding: 12px 35px 12px 20px;
  transition: opacity 0.3s ease;
}

.cms-related__link:hover {
  opacity: 0.7;
}

/* ============================================
   著者カード
   ============================================ */
.cms-author {
  border: 1px solid var(--cms-border-color);
  padding: 26px 30px 30px;
  margin: 40px 0;
}

.cms-author__label {
  font-weight: 700;
  margin: 0 0 16px;
}

.cms-author__inner {
  display: flex;
  gap: 24px;
  margin-bottom: 20px;
}

.cms-author__avatar {
  flex-shrink: 0;
}

.cms-author__image {
  width: 114px;
  height: 114px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  object-fit: cover;
  margin: 0;
}

.cms-author__body {
  flex: 1;
}

.cms-author__name {
  font-size: 18px;
  font-weight: 700;
  text-decoration: underline;
  margin: 0 0 12px;
}

.cms-author__bio {
  font-weight: 300;
  margin: 0 0 12px;
}

.cms-author__link {
  text-decoration: underline;
  transition: opacity 0.3s ease;
}

.cms-author__link:hover {
  opacity: 0.7;
}

.cms-author__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.cms-author__tag {
  display: inline-block;
  padding: 6px 12px;
  border: 1px solid var(--cms-border-color);
  font-size: 14px;
  font-weight: 300;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.cms-author__tag:hover {
  opacity: 0.7;
}

/* ============================================
   SNSシェア
   ============================================ */
.cms-share {
  text-align: center;
  margin: 40px 0;
}

.cms-share__label {
  font-size: 16px;
  letter-spacing: 0.02em;
  margin: 0 0 16px;
}

.cms-share__list {
  display: flex;
  justify-content: center;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.cms-share__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  transition: opacity 0.3s ease;
}

.cms-share__link:hover {
  opacity: 0.7;
}

/* ============================================
   前後記事ナビ
   ============================================ */
.cms-pager {
  display: flex;
  gap: 16px;
  margin: 40px 0;
}

.cms-pager__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 20px;
  border: 1px solid var(--cms-border-color);
  text-decoration: none;
  color: var(--color-text);
  transition: opacity 0.3s ease;
}

.cms-pager__item:hover {
  opacity: 0.7;
}

.cms-pager__item--prev {
  padding-left: 36px;
  position: relative;
}

.cms-pager__item--prev::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%) rotate(180deg);
  width: 8px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg width='8' height='16' viewBox='0 0 8 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L7 8L1 15' stroke='%23333333' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.cms-pager__item--next {
  padding-right: 36px;
  text-align: right;
  position: relative;
}

.cms-pager__item--next::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg width='8' height='16' viewBox='0 0 8 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L7 8L1 15' stroke='%23333333' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.cms-pager__label {
  font-weight: 300;
  margin-bottom: 4px;
}

.cms-pager__title {
  font-weight: 300;
}

/* ============================================
   セクション見出し（背景付き）
   ============================================ */
.cms-section-heading {
  background-color: var(--cms-border-color);
  padding: 14px 18px;
  margin: 60px 0 24px;
}

.cms-section-heading__text {
  font-weight: 700;
  margin: 0;
}

/* ============================================
   SP対応（900px以下）
   ============================================ */
@media (max-width: 900px) {
  /* --- レイアウト --- */
  #fs_CustomPage .cms-layout {
    padding: 30px 0 60px;
    margin-top: 30px;
    order: 4;
  }

  .cms-layout__inner {
    display: flex;
    flex-direction: column;
    gap: 60px;
    padding: 0 10px;
  }

  /* --- サイドバー: コンテンツの後に配置 --- */
  .cms-sidebar {
    order: 2;
    width: 100%;
  }

  .cms-sidebar__section {
    margin-bottom: 40px;
  }

  .cms-sidebar__section:last-child {
    margin-bottom: 0;
  }

  /* --- コンテンツエリア: サイドバーより前に配置 --- */
  .cms-content {
    order: 1;
    max-width: none;
  }

  /* --- ランキング --- */
  .cms-ranking__number {
    width: 30px;
    height: 30px;
    font-size: 16px;
    top: -10px;
    left: -10px;
  }

  .cms-content__header {
    margin-bottom: 20px;
  }

  /* 一覧ページ用見出し（SP） */
  .cms-content__header .cms-heading__en {
    font-size: 14px;
    margin-bottom: 8px;
  }

  .cms-content__header .cms-heading__ja {
    font-size: 20px;
  }

  /* --- ページタイトル --- */
  .cms-title {
    font-size: 20px;
  }

  /* --- お知らせ一覧 --- */
  .cms-news__item:first-child {
    border-top: none;
  }

  .cms-news__row {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    padding: 20px 0;
  }

  .cms-news__date {
    font-size: 16px;
  }

  .cms-news__link {
    line-height: 1.625;
  }

  /* --- ページネーション --- */
  .cms-pagination {
    margin-top: 30px;
  }

  /* --- ページ全体のflex設定（order用） --- */
  /* #fs_CustomPage にスコープして top.css との競合を防ぐ */
  #fs_CustomPage .fs-l-page {
    display: flex;
    flex-direction: column;
  }

  /* --- 要素の並び順（CMSページ用） --- */
  /* 直接の子要素のみにorderを設定（.features等の孫要素には効かない） */
  #fs_CustomPage .header {
    order: 1;
  }

  #fs_CustomPage .header__notice {
    order: 2;
  }

  #fs_CustomPage .breadcrumb {
    order: 3;
  }

  /* .cms-layout: order: 4 は上部のメディアクエリ内で設定済み */

  #fs_CustomPage .contact {
    order: 5;
  }

  #fs_CustomPage .sec-promo {
    order: 6;
  }

  /* shipping は -show-min901 でSPでは非表示のため order 不要 */

  #fs_CustomPage .site-footer {
    order: 7;
  }

  #fs_CustomPage .float-btn {
    order: 8;
  }

  #fs_CustomPage .sp-fixed-footer {
    order: 9;
  }

  /* --- 記事詳細 --- */
  .cms-article__header {
    padding-bottom: 15px;
    margin-bottom: 20px;
  }

  .cms-article__title {
    font-size: 20px;
    margin-bottom: 10px;
  }

  .cms-article__thumbnail {
    margin-bottom: 30px;
  }

  .cms-article__body {
    margin-bottom: 40px;
  }

  .cms-article__body h2 {
    font-size: 18px;
    margin: 40px 0 20px;
    padding-bottom: 15px;
  }

  .cms-article__body h3 {
    font-size: 16px;
    margin: 35px 0 15px;
    padding-left: 12px;
  }

  .cms-article__body h4 {
    font-size: 16px;
    margin: 30px 0 12px;
    padding-bottom: 8px;
  }

  .cms-article__meta {
    gap: 10px;
  }

  .cms-article__dates {
    gap: 10px;
  }

  .cms-article__body img {
    margin: 20px 0;
  }

  /* --- 冒頭文 --- */
  .cms-intro {
    margin-bottom: 25px;
  }

  /* --- カードグリッド --- */
  .cms-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 10px;
  }

  .cms-cards__thumb {
    margin-bottom: 8px;
  }

  .cms-cards__title {
    font-size: 14px;
    margin-bottom: 5px;
  }

  .cms-cards__meta {
    flex-direction: column;
    gap: 2px;
  }

  .cms-cards__date {
    font-size: 10px;
  }

  /* --- 目次 --- */
  .cms-toc {
    padding: 20px;
    margin: 30px 0;
  }

  /* --- ご紹介商品カード --- */
  .cms-product-card {
    padding: 20px;
  }

  .cms-product-card__inner {
    flex-direction: column;
    gap: 16px;
  }

  .cms-product-card__image {
    width: 100%;
    height: auto;
    aspect-ratio: 250 / 188;
  }

  /* --- テーブル --- */
  .cms-table th,
  .cms-table td {
    padding: 12px 14px;
    font-size: 14px;
  }

  .cms-table th {
    width: 120px;
  }

  /* --- 吹き出し --- */
  .cms-balloon {
    gap: 15px;
    margin: 30px 0;
  }

  .cms-balloon__image {
    width: 80px;
    height: 80px;
  }

  .cms-balloon__body {
    padding: 15px 18px;
  }

  .cms-balloon__body::before,
  .cms-balloon__body::after {
    top: 20px;
  }

  /* --- STEP --- */
  .cms-step__item {
    padding-left: 52px;
    padding-bottom: 25px;
  }

  .cms-step__item:not(:last-child)::before {
    left: 17px;
    top: 38px;
    height: calc(100% - 38px);
  }

  .cms-step__number {
    width: 38px;
    height: 38px;
    font-size: 9px;
  }

  /* --- 関連記事（記事内） --- */
  .cms-related {
    padding: 20px;
  }

  .cms-related__inner {
    flex-direction: column;
    gap: 16px;
  }

  .cms-related__image {
    width: 100%;
    height: auto;
    aspect-ratio: 250 / 188;
  }

  /* --- 著者カード --- */
  .cms-author {
    padding: 20px;
  }

  .cms-author__inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
  }

  .cms-author__image {
    width: 80px;
    height: 80px;
  }

  .cms-author__tags {
    justify-content: center;
  }

  /* --- 前後記事ナビ --- */
  .cms-pager {
    flex-direction: column;
  }

  /* --- セクション見出し --- */
  .cms-section-heading {
    margin: 40px 0 20px;
  }

  /* --- コンテンツエリア内の見出し --- */
  .cms-content .cms-heading {
    margin-top: 60px;
  }
}

/* ============================================
   スタッフスナップ
   ============================================ */
.staff-snap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px 31px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.staff-snap__item {
  display: flex;
  flex-direction: column;
}

.staff-snap__link {
  display: block;
  transition: var(--cms-transition-hover);
}

.staff-snap__link:hover {
  opacity: 0.7;
}

.staff-snap__thumb {
  width: 202px;
  height: 258px;
  background-color: #d9d9d9;
  margin-bottom: 12px;
  overflow: hidden;
}

.staff-snap__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.staff-snap__body {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  flex: 1;
}

.staff-snap__title {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2 !important;
  margin: 0 0 4px;
}

.staff-snap__title a {
  text-decoration: none;
  transition: var(--cms-transition-hover);
  line-height: inherit;
}

.staff-snap__title a:hover {
  opacity: 0.7;
}

.staff-snap__info {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.staff-snap__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #d9d9d9;
  flex-shrink: 0;
  overflow: hidden;
}

.staff-snap__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.staff-snap__name {
  font-size: 12px;
  font-weight: 700;
  margin: 0;
}

/* スタッフスナップ SP対応 */
@media (max-width: 900px) {
  .staff-snap {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 15px;
  }

  .staff-snap__thumb {
    width: 100%;
    height: auto;
    aspect-ratio: 202 / 258;
  }

  .staff-snap__body {
    gap: 10px;
  }

  .staff-snap__title {
    font-size: 14px;
    line-height: 1.2 !important;
  }

  .staff-snap__avatar {
    width: 40px;
    height: 40px;
  }

  .staff-snap__name {
    font-size: 11px;
  }
}

/* ============================================
   スタッフスナップ詳細ページ
   ============================================ */
.snap-detail__header {
  margin-bottom: 40px;
}

.snap-detail__title {
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1.4;
  margin: 0 0 15px;
}

.snap-detail__divider {
  width: 100%;
  height: 1px;
  background-color: #d9d9d9;
  margin-bottom: 20px;
}

.snap-detail__staff {
  display: flex;
  align-items: center;
  gap: 30px;
}

.snap-detail__avatar {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background-color: #d9d9d9;
  flex-shrink: 0;
  overflow: hidden;
}

.snap-detail__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.snap-detail__staff-info {
  display: flex;
  flex-direction: column;
}

.snap-detail__staff-name {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 12px;
}

.snap-detail__meta {
  display: flex;
  gap: 20px;
}

.snap-detail__date {
  font-size: 14px;
  font-weight: 300;
  color: #000;
  margin: 0;
}

.snap-detail__thumbnail {
  margin: 0 0 40px;
}

.snap-detail__thumbnail-img {
  width: 100%;
  height: auto;
  display: block;
}

.snap-detail__body {
  margin-bottom: 60px;
}

.snap-detail__body p {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.5;
  margin: 0 0 40px;
}

.snap-detail__body p:last-child {
  margin-bottom: 0;
}

.snap-detail__body .wp-block-image,
.snap-detail__body figure {
  margin: 0 0 40px;
}

.snap-detail__body .wp-block-image:last-child,
.snap-detail__body figure:last-child {
  margin-bottom: 0;
}

.snap-detail__body .wp-block-image img,
.snap-detail__body figure img {
  max-width: 100%;
  height: auto;
  display: block;
}

.snap-detail__body .aligncenter {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.snap-detail__body h2 {
  font-size: 22px;
  font-weight: 400;
  text-align: center;
  letter-spacing: 0.05em;
  margin: 80px 0 30px;
  padding-bottom: 18px;
  position: relative;
}

.snap-detail__body h2:first-child {
  margin-top: 0;
}

.snap-detail__body h2::after {
  content: "";
  display: block;
  width: 54px;
  height: 2px;
  background-color: var(--color-text);
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.snap-detail__body h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 50px 0 20px;
  padding-left: 16px;
  border-left: 3px solid var(--color-text);
}

.snap-detail__body h3:first-child {
  margin-top: 0;
}

.snap-detail__image {
  margin: 0 auto 40px;
  text-align: center;
}

.snap-detail__image img {
  max-width: 586px;
  width: 100%;
  height: auto;
}

/* Featured Products */
.snap-detail__featured {
  margin-bottom: 80px;
  padding: 60px;
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.snap-detail__featured::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.3) 1.1%, rgba(244, 245, 247, 0.41) 79.34%);
  pointer-events: none;
}

.snap-detail__featured-header {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}

.snap-detail__featured-title-en {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 400;
  color: #818688;
  letter-spacing: 0.03em;
  margin: 0;
}

.snap-detail__featured-title-ja {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  margin: 0;
}

.snap-detail__products {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 890px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.snap-product {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.snap-product__image {
  flex-shrink: 0;
  width: 250px;
  height: 250px;
  background-color: #f5f5f5;
}

.snap-product__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.snap-product__content {
  flex: 1;
}

.snap-product__content .btn-wrap {
  margin-top: 24px;
  justify-content: flex-start;
}

.snap-product__name {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 16px;
}

.snap-product__description {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.5;
  margin: 0;
}

/* この記事を書いた人 */
.snap-detail__author {
  margin-bottom: 80px;
}

.snap-detail__author-border {
  position: relative;
  border: 1px solid #ccc;
}

.snap-detail__author-title {
  font-size: 16px;
  font-weight: 700;
  margin: 0;
  position: absolute;
  top: 0;
  left: 40px;
  background: #fff;
  display: inline-block;
  padding: 0 10px;
  transform: translateY(-50%);
}

.snap-detail__author-card {
  padding: 48px 40px 40px;
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.snap-detail__author-avatar {
  flex-shrink: 0;
  width: 114px;
  height: 114px;
  border-radius: 50%;
  overflow: hidden;
  background-color: #d9d9d9;
}

.snap-detail__author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.snap-detail__author-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.snap-detail__author-name {
  font-size: 16px;
  font-weight: 700;
  text-decoration: underline;
  margin: 0;
}

.snap-detail__author-bio {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.5;
  margin: 0;
}

.snap-detail__author-link {
  font-size: 16px;
  font-weight: 400;
  color: #333;
  text-decoration: underline;
  align-self: flex-end;
}

.snap-detail__author-link:hover {
  opacity: 0.7;
}

/* スタッフのその他のスナップ */
.snap-detail__more {
  margin-bottom: 60px;
}

.snap-detail__more-header {
  text-align: center;
  margin-bottom: 40px;
}

.snap-detail__more-title {
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0.05em;
  line-height: 1.5;
  margin: 0 0 12px;
}

.snap-detail__more-divider {
  width: 54px;
  height: 1px;
  background-color: #333;
  margin: 0 auto;
}

/* カテゴリー一覧に戻る */
.snap-detail__back {
  text-align: center;
  margin-top: 60px;
}

.snap-detail__back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 400;
  color: #333;
  text-decoration: none;
  border: 1px solid #c1c1c1;
  padding: 20px 20px 20px 100px;
  transition: opacity 0.3s ease;
  justify-content: space-between;
  min-width: 417px;
}

.snap-detail__back-link:hover {
  opacity: 0.7;
}

.snap-detail__back-link svg {
  margin-left: auto;
}

/* スタッフスナップ詳細 SP対応 */
@media (max-width: 900px) {
  .snap-detail__title {
    font-size: 20px;
    margin-bottom: 10px;
  }

  .snap-detail__staff {
    gap: 16px;
  }

  .snap-detail__avatar {
    width: 70px;
    height: 70px;
  }

  .snap-detail__staff-name {
    font-size: 14px;
    margin-bottom: 8px;
  }

  .snap-detail__meta {
    flex-direction: column;
    gap: 4px;
  }

  .snap-detail__date {
    font-size: 12px;
  }

  .snap-detail__body p {
    font-size: 14px;
    margin-bottom: 30px;
  }

  .snap-detail__body h2 {
    font-size: 18px;
    margin: 40px 0 20px;
    padding-bottom: 15px;
  }

  .snap-detail__body h3 {
    font-size: 16px;
    margin: 35px 0 15px;
    padding-left: 12px;
  }

  .snap-detail__body .wp-block-image,
  .snap-detail__body figure {
    margin-bottom: 30px;
  }

  .snap-detail__featured {
    margin-bottom: 60px;
    padding: 20px;
  }

  .snap-detail__featured-title-en {
    font-size: 24px;
  }

  .snap-detail__featured-title-ja {
    font-size: 12px;
  }

  .snap-product {
    flex-direction: column;
    gap: 20px;
  }

  .snap-product__image {
    width: 100%;
    max-width: 250px;
    margin: 0 auto;
  }

  .snap-product__name {
    font-size: 18px;
  }

  .snap-product__description {
    font-size: 14px;
  }

  .snap-product__content .btn-wrap {
    justify-content: center;
  }

  .snap-detail__author {
    margin-bottom: 60px;
  }

  .snap-detail__author-title {
    font-size: 14px;
    padding: 0 8px;
    left: 20px;
  }

  .snap-detail__author-card {
    flex-direction: column;
    padding: 36px 20px 20px;
    gap: 20px;
  }

  .snap-detail__author-avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto;
  }

  .snap-detail__author-info {
    text-align: center;
  }

  .snap-detail__author-name {
    font-size: 14px;
  }

  .snap-detail__author-bio {
    font-size: 14px;
  }

  .snap-detail__author-link {
    font-size: 14px;
    align-self: center;
  }

  .snap-detail__more-title {
    font-size: 18px;
  }

  .snap-detail__back-link {
    min-width: auto;
    width: 100%;
    padding: 20px;
  }
}

/* ============================================
   スタッフプロフィールページ（Author）
   ============================================ */
/* ページヘッダー */
.author-profile__header {
  text-align: center;
  margin-bottom: 120px;
}

.author-profile__subtitle {
  font-size: 16px;
  font-weight: 300;
  color: #bababa;
  letter-spacing: 0.48px;
  margin: 0 0 8px;
}

.author-profile__title {
  font-size: 28px;
  font-weight: 400;
  color: #333;
  letter-spacing: 2.24px;
  margin: 0;
}

/* スタッフ情報エリア */
.author-profile__info-wrapper {
  position: relative;
  margin: 0 0 80px;
}

.author-profile__avatar {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.author-profile__avatar img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 7.5px solid #fff;
  display: block;
}

.author-profile__info {
  background-image: url(../img/feau_pro_bg.jpg);
  background-size: cover;
  background-position: center;
  padding: 120px 40px 80px;
  text-align: center;
  position: relative;
}

.author-profile__name {
  font-size: 16px;
  font-weight: 700;
  color: #000;
  margin: 0 0 40px;
}

.author-profile__detail {
  font-size: 16px;
  font-weight: 300;
  color: #000;
  line-height: 1.5;
  text-align: left;
  max-width: 635px;
  margin: 0 auto;
}

/* 最新スナップセクション */
.author-profile__snaps {
  margin-top: 80px;
}

.author-profile__snaps-title {
  font-size: 22px;
  font-weight: 400;
  color: #333;
  text-align: center;
  letter-spacing: 1.1px;
  line-height: 1.5;
  margin: 0 0 10px;
}

.author-profile__snaps-divider {
  width: 54px;
  height: 1px;
  background-color: #b5b5b5;
  margin: 0 auto 60px;
}

.author-profile__snaps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 20px;
  margin-bottom: 60px;
}

/* スナップカード */
.author-snap-card {
  position: relative;
}

.author-snap-card__link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.author-snap-card__image {
  position: relative;
  width: 100%;
  aspect-ratio: 202 / 258;
  overflow: hidden;
  margin-bottom: 20px;
}

.author-snap-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.author-snap-card__link:hover .author-snap-card__image img {
  transform: scale(1.05);
}

.author-snap-card__content {
  text-align: left;
}

.author-snap-card__title {
  font-size: 16px;
  font-weight: 300;
  color: #000;
  line-height: 1.4;
  margin: 0 0 20px;
}

.author-snap-card__author {
  display: flex;
  align-items: center;
  gap: 8px;
}

.author-snap-card__author img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.author-snap-card__author-name {
  font-size: 12px;
  font-weight: 700;
  color: #000;
  margin: 0;
}

/* ページネーション */
.author-profile__pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 60px;
}

.author-profile__pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  font-size: 14px;
  font-weight: 400;
  color: #333;
  text-decoration: none;
  border: 1px solid #ddd;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.author-profile__pagination .page-numbers:hover {
  background-color: #f5f5f5;
  border-color: #999;
}

.author-profile__pagination .page-numbers.current {
  background-color: #333;
  color: #fff;
  border-color: #333;
  pointer-events: none;
}

.author-profile__pagination .page-numbers.dots {
  border: none;
  pointer-events: none;
}

.author-profile__pagination-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.author-profile__no-posts {
  text-align: center;
  font-size: 16px;
  color: #666;
  padding: 60px 20px;
}

/* レスポンシブ */
@media (max-width: 900px) {
  .author-profile__header {
    margin-bottom: 80px;
  }

  .author-profile__title {
    font-size: 24px;
  }

  .author-profile__info-wrapper {
    margin-bottom: 60px;
  }

  .author-profile__avatar img {
    width: 150px;
    height: 150px;
  }

  .author-profile__info {
    padding: 90px 20px 60px;
  }

  .author-profile__detail {
    font-size: 14px;
  }

  .author-profile__snaps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 20px;
  }

  .author-profile__pagination {
    gap: 5px;
  }

  .author-profile__pagination .page-numbers {
    min-width: 36px;
    height: 36px;
    font-size: 13px;
  }
}

/* ============================================
   固定ページ: お問い合わせ（contact-page）
   ============================================ */

/* リード文（センター寄せ・下のバナーとの余白 PC:100px / SP:6em） */
.contact-page__lead {
  text-align: center;
  margin-bottom: 100px;
}

.contact-page__lead p {
  font-weight: 300;
  margin: 0 0 1em;
}

.contact-page__lead p:last-child {
  margin-bottom: 0;
}

.contact-page__note {
  font-size: 14px;
  color: #c00;
}

/* 完了ページ: お礼メッセージ */
.contact-page__thanks {
  font-weight: 700;
  margin: 0 0 2em;
}

/* 完了ページ: フォーム（完了メッセージ）下の余白 PC:80px / SP:6em */
.contact-page__thanks + .contact-page__form {
  margin-bottom: 80px;
}

/* 完了ページ: 「迷惑メール〜」の案内文（左寄せ通常テキスト・下に1行分の余白） */
.contact-page__section .cat-notice {
  background: none;
  border: none;
  border-radius: 0;
  padding: 0;
  margin: 0 0 2em;
  text-align: left;
}

/* 完了ページ: お問合せ先を含む段落の下に1行分の余白 */
.contact-page__section .cat-notice + p {
  margin-bottom: 2em;
}

/* 大口注文ページ: 事例の読み上げ（太字強調・下に1行分の余白） */
.contact-page__cases {
  font-weight: 700;
  margin: 0 0 2em;
}

/* 事例の次の段落（など、ジョイタスは〜）の下に1行分の余白 */
.contact-page__cases + p {
  margin: 0 0 2em;
}

/* リード文中の強調（特別価格など） */
.contact-page__section .cat-lead span {
  font-weight: 700;
}

/* 注意書き（u-text-red）は太字＋下の余白 PC:100px / SP:6em */
.contact-page__section .u-text-red {
  font-weight: 700;
  margin-bottom: 100px;
}

/* カートからお見積りバナー */
.contact-page__banner {
  margin: 0 0 20px;
}

.contact-page__banner a {
  display: block;
  transition: var(--cms-transition-hover);
}

.contact-page__banner a:hover {
  opacity: 0.8;
}

.contact-page__banner img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
}

/* 連絡方法カード */
.contact-method {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--cms-border-color);
  border-radius: 4px;
  padding: 30px 20px;
  text-align: center;
}

/* 電話番号 */
.contact-method__tel {
  margin: 0;
}

.contact-method__tel a {
  font-size: 32px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: inherit;
  text-decoration: none;
}

.contact-method__tel-prefix {
  font-size: 18px;
  margin-right: 8px;
}

/* メールアドレス */
.contact-method__mail {
  margin: 0;
}

.contact-method__mail a {
  font-size: 22px;
  letter-spacing: 0.05em;
  color: inherit;
}

/* 受付時間 */
.contact-method__hours {
  font-size: 14px;
  color: #666;
  margin: 0;
}

/* フォームへのボタン（btn-bordered を併用） */
.contact-method__btn {
  margin: 0 auto;
}

/* フォーム前の注意書き */
.contact-page__form-note {
  text-align: center;
  font-size: 14px;
  margin: 0 0 20px;
}

/* MW WP Form スタイル（CSSのみ・HTMLは変更しない）
   見た目は既存サイト https://www.joy-tas.com/contact/ のフォームに準拠
   （table罫線なし・薄グレー入力欄・ゆったり余白） */

/* テーブル: 罫線なし */
.contact-page__form table {
  width: 100%;
  border-collapse: collapse;
  border: none;
  margin: 0;
}

.cms-article--contact .contact-page__form th,
.cms-article--contact .contact-page__form td,
.contact-page__form th,
.contact-page__form td {
  border: none;
  background: none;
  text-align: left;
  vertical-align: middle;
}

/* ラベル列 */
.contact-page__form th {
  width: 240px;
  padding: 8px 8px 8px 20px;
  font-weight: 700;
  font-size: 14px;
}

/* 必須バッジ画像（ラベル列の右端に揃える） */
.contact-page__form th .th_icon {
  float: right;
  width: 54px;
  height: auto;
}

/* 入力列（注記テキスト含む） */
.contact-page__form td {
  padding: 21px;
  font-size: 14px;
  line-height: 1.7;
}

/* テキスト系入力欄: 罫線なし・薄グレー背景 */
.contact-page__form input[type="text"],
.contact-page__form input[type="email"],
.contact-page__form input[type="tel"],
.contact-page__form input[type="url"],
.contact-page__form input[type="number"],
.contact-page__form textarea {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 0;
  background: #f5f5f5;
  font: inherit;
  font-size: 14px;
  line-height: 1.5;
}

/* サイズ・数量などの入力欄（size="5"）はラベルの下に全幅で配置 */
.contact-page__form input[type="text"][size="5"] {
  display: block;
  width: 100%;
  margin: 4px 0 10px;
}

/* プルダウン（ラベルと同じ行・下向き三角付き） */
.contact-page__form select {
  display: inline-block;
  vertical-align: middle;
  width: auto;
  min-width: 240px;
  max-width: 100%;
  padding: 12px 38px 12px 14px;
  border: none;
  border-radius: 0;
  background-color: #f5f5f5;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="11" height="7"><path d="M0 0h11L5.5 7z" fill="%23555"/></svg>');
  background-repeat: no-repeat;
  background-position: right 14px center;
  font: inherit;
  font-size: 14px;
  line-height: 1.5;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

/* テーマ側の input { margin: 0 0 1em } を打ち消し、
   th のラベルと入力欄の縦中央を揃える */
.contact-page__form td input[type="text"],
.contact-page__form td input[type="email"],
.contact-page__form td input[type="tel"],
.contact-page__form td input[type="url"],
.contact-page__form td input[type="number"] {
  margin: 0;
  vertical-align: middle;
}

/* ただし入力欄の下に注記テキストがある場合（<br>が続く）は10px空ける */
.contact-page__form td input[type="text"]:has(+ br),
.contact-page__form td input[type="email"]:has(+ br),
.contact-page__form td input[type="tel"]:has(+ br) {
  margin-bottom: 10px;
}

.contact-page__form input::placeholder,
.contact-page__form textarea::placeholder {
  color: #aaa;
}

.contact-page__form input[type="text"]:focus,
.contact-page__form textarea:focus {
  outline: 1px solid #bbb;
}

/* テキストエリア（rows属性より優先して高さを制御） */
.contact-page__form textarea {
  height: 160px;
  resize: vertical;
}

/* お見積もり・お問い合わせフォームの記入欄（rows="40"）は長めに */
.contact-page__form textarea[name="記入欄"] {
  height: 420px;
}

/* td内のp（記入例まわり）の余白リセット */
.contact-page__form td p {
  margin: 0 0 0.5em;
}

.contact-page__form td p:last-child {
  margin-bottom: 0;
}

/* 添付ファイル */
.contact-page__form input[type="file"] {
  font-size: 14px;
  margin: 4px 0;
}

.contact-page__form .mwform-file-delete {
  display: inline-block;
  margin-left: 8px;
  color: #999;
  cursor: pointer;
}

/* ラジオ・チェックボックス: 縦並び */
.contact-page__form .mwform-radio-field.vertical-item,
.contact-page__form .mwform-checkbox-field.vertical-item {
  display: block;
  margin: 0px 0;
}

/* ボタンとテキストの縦位置を揃える */
.contact-page__form .mwform-radio-field label,
.contact-page__form .mwform-checkbox-field label {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

/* テーマ側の input { padding:10px !important; min-height:calc(1em + 20px) } が
   ラジオ・チェックボックスにも効いて箱が膨らむため打ち消す */
.contact-page__form .mwform-radio-field input[type="radio"],
.contact-page__form .mwform-checkbox-field input[type="checkbox"] {
  flex: none;
  box-sizing: border-box;
  width: 16px;
  height: 16px;
  min-height: 0;
  padding: 0 !important;
  margin: 0 8px 0 0;
  accent-color: #5d5d5d;
}

.contact-page__form .mwform-radio-field-text,
.contact-page__form .mwform-checkbox-field-text {
  line-height: 1.5;
}

/* 送信・確認・戻るボタン */
.contact-page__form .form-Main_Buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.contact-page__form .form-Main_SubmitButton,
.contact-page__form .form-Main_BackButton,
.contact-page__form input[type="submit"],
.contact-page__form button[type="submit"] {
  display: inline-block;
  width: 270px;
  max-width: 100%;
  padding: 14px 30px;
  border: 1px solid #555;
  border-radius: 6px;
  background: #555;
  color: #fff;
  font: inherit;
  font-size: 16px;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: var(--cms-transition-hover);
}

/* 戻るボタンは白地 */
.contact-page__form .form-Main_BackButton {
  background: #fff;
  border-color: #ccc;
  color: var(--color-text, #252525);
}

.contact-page__form .form-Main_SubmitButton:hover,
.contact-page__form .form-Main_BackButton:hover,
.contact-page__form input[type="submit"]:hover,
.contact-page__form button[type="submit"]:hover {
  opacity: 0.8;
}

/* 確認画面: 入力時のみの説明文・画像を非表示 */
.contact-page__form .mw_wp_form_confirm .confirm-hidden {
  display: none;
}

/* --------------------------------------------
   画像付き選択肢リスト（formImgList）
   カラー見本・加工方法の2カラム表示
   -------------------------------------------- */
.contact-page__form .formImgList {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 20px;
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
}

/* カラー見本など通常の選択肢は左寄せ */
.contact-page__form .formImgList li {
  margin: 0;
  padding: 0;
  text-align: left;
}

.contact-page__form .formImgList li p {
  margin: 8px 0 0;
}

.contact-page__form .formImgList li img {
  display: block;
  width: 180px;
  max-width: 100%;
  height: auto;
  margin: 0;
}

/* ラジオ・チェックボックスはテキスト1行目の高さにボタンを合わせる
   （テキストの寄せは li 側で制御: PC=左寄せ / SP=センター） */
.contact-page__form .formImgList .mwform-radio-field label,
.contact-page__form .formImgList .mwform-checkbox-field label {
  align-items: flex-start;
}

.contact-page__form .formImgList .mwform-radio-field input[type="radio"],
.contact-page__form .formImgList .mwform-checkbox-field input[type="checkbox"] {
  margin-top: 3px;
}

/* --------------------------------------------
   サイズ入力ブロック（size-box）
   「ラベル → 入力欄」を1セットとして、
   セット間はゆとりを、ブロック間はさらに広い余白を取る
   -------------------------------------------- */
.contact-page__form .size-box {
  margin-top: 50px;
}

.contact-page__form .size-box:first-child {
  margin-top: 0;
}

/* ラベル直下に入力欄（6px）／次のラベルまで（10px） */
.contact-page__form .size-box input[type="text"][size="5"],
.contact-page__form .size-box select {
  margin: 6px 0 10px;
}

/* ブロック化した入力欄の直後の <br> は空行を生むため無効化
   （プレートカラー・数量・記入欄の前の余白を10pxに揃える） */
.contact-page__form .size-box input[type="text"][size="5"] + br {
  display: none;
}

/* 記入欄のテキストエリアはブロック末尾なので下余白なし */
.contact-page__form .size-box textarea {
  margin: 6px 0 0;
}

/* 赤字強調（フォーム定義内の .red） */
.contact-page__form .red {
  color: #c00;
}

/* size-box 冒頭の注意書き（サイズ違いで3個以上〜）の下に1行分の余白 */
.contact-page__form .size-box .red {
  display: inline-block;
  margin-bottom: 1em;
}

/* --------------------------------------------
   通信欄へのご入力事項（contact-fields）
   -------------------------------------------- */
.contact-page__form .contact-fields {
  margin-top: 56px;
}

/* 見出しは cat-heading-lined と同じあしらいに揃える */
.contact-page__form .contact-fields .contact-ttl {
  font-size: 22px;
  font-weight: normal;
  text-align: center;
  padding-bottom: 20px;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="54" height="1"><rect width="54" height="1" fill="%23b5b5b5"/></svg>') no-repeat center bottom;
  margin: 0 0 30px;
}

.contact-page__form .contact-fields p {
  margin: 0 0 20px;
}

.contact-page__form .contact-fields p:last-child {
  margin-bottom: 0;
}

/* ============================================
   お問い合わせページ SP（〜900px）
   ============================================ */
@media (max-width: 900px) {
  .contact-page__lead {
    margin-bottom: 6em;
  }

  .contact-page__section .u-text-red {
    margin-bottom: 6em;
  }

  .contact-page__thanks + .contact-page__form {
    margin-bottom: 6em;
  }

  .contact-method {
    padding: 24px 16px;
  }

  .contact-method__tel a {
    font-size: 26px;
  }

  .contact-method__mail a {
    font-size: 18px;
  }

  /* テーブルを縦積みに（ラベルの下に入力欄） */
  .contact-page__form th,
  .contact-page__form td {
    display: block;
    width: 100%;
  }

  .contact-page__form th {
    padding: 20px 0 8px;
    white-space: normal;
  }

  /* 必須バッジは見出しのすぐ右に置く */
  .contact-page__form th .th_icon {
    float: none;
    display: inline-block;
    vertical-align: middle;
    margin-left: 10px;
  }

  .contact-page__form td {
    padding: 0 0 10px;
  }

  .contact-page__form textarea[name="記入欄"] {
    height: 320px;
  }

  /* 画像付き選択肢リストは2カラムのまま（画像は枠内に収める） */
  .contact-page__form .formImgList {
    gap: 16px 12px;
  }

  /* SPではカラー見本もテキスト・画像をセンター揃えに */
  .contact-page__form .formImgList li {
    text-align: center;
  }

  .contact-page__form .formImgList li img {
    margin: 0 auto;
  }

  /* ボタンは縦積み */
  .contact-page__form .form-Main_Buttons {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .contact-page__form .form-Main_SubmitButton,
  .contact-page__form .form-Main_BackButton,
  .contact-page__form input[type="submit"],
  .contact-page__form button[type="submit"] {
    width: 100%;
    padding: 16px 20px;
  }
}

/* ============================================
   お問い合わせ・お見積りテンプレート（page-contact.php）
   コマクリ見出し仕様（cat-intro__name / cat-heading-lined）用の調整
   ※ .cms-article--contact スコープ内のみ。他のWPページには影響しない
   ============================================ */

/* h1（cat-intro__name）
   コマクリ側では外装フレームのスタイルで適用されるが、
   WP側はフレーム条件が異なるため個別に指定する */
.cms-article--contact .cat-intro__name {
  font-weight: normal;
  letter-spacing: 0.1em;
  margin-bottom: 40px;
  text-align: center;
}

/* h2（cat-heading-lined）も同様 */
.cms-article--contact .cat-heading-lined {
  font-weight: normal;
}

/* WPエディタが生成するコメントのみの空段落を無効化（余白ズレ防止） */
.cms-article--contact .page-content p:empty {
  display: none;
}

/* セクション間の余白（h2 = cat-heading-lined は margin 0 0 30px のため上余白をセクションで管理） */
.cms-article--contact .contact-page__section {
  margin-top: 60px;
}

@media (max-width: 900px) {
  .cms-article--contact .cat-intro__name {
    margin-bottom: 30px;
  }

  .cms-article--contact .contact-page__section {
    margin-top: 40px;
  }
}

/* ===== contact-page__form 調整 ===== */

/* 1) 必須アイコンを項目名と横並び */
.contact-page__form .th_icon {
  display: inline-block;
  vertical-align: middle;
  height: 16px;
  width: auto;
  margin: 0 0 0 8px;
}
.contact-page__form table th {
  vertical-align: middle;
}

/* 2) ファイル選択ボタンが見切れないように */
.contact-page__form input[type="file"] {
  width: auto;
  max-width: 100%;
  overflow: visible;
  box-sizing: border-box;
}

/* 3) お問い合わせ内容のラジオを項目と揃える */
.contact-page__form table td {
  vertical-align: middle;
}

.contact-page__form .mwform-radio-field.vertical-item input[type="radio"] {
  width: 16px;
  height: 16px;
  margin: 0 8px 0 0;
  vertical-align: middle;
}
.contact-page__form .mwform-radio-field-text {
  vertical-align: middle;
}
