/* ==========================================================================
   投稿記事ページ専用スタイル
   common.css のCSS変数を前提とする
   ========================================================================== */

/* --------------------------------------------------------------------------
   ヒーロー（アイキャッチ＋タイトル）
   -------------------------------------------------------------------------- */
.single-hero {
  position: relative;
  margin-top: calc(-1 * var(--header-h)); /* ヘッダーに密着 */
  padding-top: var(--header-h);
  min-height: 400px;
  display: flex;
  align-items: center;
  /* メインカラー（カスタマイザーの設定値が --color-apricot に反映される） */
  background-color: var(--color-apricot);
  background-size: cover;
  background-position: center;
}

@media (min-width: 768px) {
  .single-hero {
    min-height: 600px;
  }
}

/* アイキャッチ画像なし：高さを抑える */
.single-hero--no-image {
  min-height: 250px;
}

@media (min-width: 768px) {
  .single-hero--no-image {
    min-height: 250px;
  }
}

/* アイキャッチ画像ありのオーバーレイ（アプリコット系のグラデーション） */
.single-hero:not(.single-hero--no-image)::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(45, 37, 32, 0.35) 0%,
    rgba(45, 37, 32, 0.60) 100%
  );
}

.single-hero__content {
  position: relative;
  z-index: 1;
  padding-block: 3rem;
  text-align: center;
}

.single-hero__cats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.single-hero__cat {
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
  background-color: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  padding: 0.25rem 0.9rem;
  letter-spacing: 0.05em;
  transition: background-color var(--transition);
}

.single-hero__cat:hover {
  background-color: rgba(255, 255, 255, 0.28);
}

.single-hero__title {
  font-size: clamp(1.1rem, 2.5vw, 1.625rem); /* 最大26px */
  font-weight: 700;
  color: #fff;
  line-height: 1.55;
  letter-spacing: 0.02em;
  margin-bottom: 1.25rem;
  text-shadow:
    0 2px 8px rgba(0, 0, 0, 0.65),
    0 4px 24px rgba(0, 0, 0, 0.45);
}

.single-hero__meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
}

/* --------------------------------------------------------------------------
   アイキャッチ画像：記事上段表示モード（_edel_hero_image_mode = top）
   -------------------------------------------------------------------------- */
.single-body__thumbnail {
  margin-bottom: 2rem;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.single-body__thumbnail-img {
  width: 100%;
  height: auto;
  display: block;
}

/* --------------------------------------------------------------------------
   レイアウト
   -------------------------------------------------------------------------- */
.single-layout {
  padding-block: clamp(32px, 5vw, 56px);
  background-color: var(--color-bg-soft);
}

.single-content-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

/* メインカラムを白いカードに */
.single-main {
  min-width: 0; /* グリッド内でのはみ出し防止 */
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: var(--shadow-sm);
}

/* narrow（デフォルト）：センタリングして読みやすい幅に制限 */
.single-layout--narrow .single-content-wrap {
  max-width: 760px;
  margin-inline: auto;
}

/* wide：ラップ幅をそのまま使う（追加指定なし） */

/* sidebar：デスクトップでサイドバーを右に配置 */
/* minmax(0, 1fr) で Safari のグリッド崩れを防ぐ */
@media (min-width: 768px) {
  .single-layout--sidebar .single-content-wrap {
    grid-template-columns: minmax(0, 1fr) 340px;
  }

  /* DOM順: main → related → sidebar を視覚的に main|sidebar / related(全幅) に再配置 */
  .single-layout--sidebar .single-main {
    grid-column: 1;
    grid-row: 1;
  }

  .single-layout--sidebar .related-posts {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .single-layout--sidebar .single-sidebar {
    grid-column: 2;
    grid-row: 1;
  }

  /* 最後のウィジェットだけ追従（デスクトップのみ） */
  .single-sidebar .widget:last-child {
    position: sticky;
    top: calc(var(--header-h) + 1.5rem);
  }
}

/* --------------------------------------------------------------------------
   固定ページ：LP レイアウト
   -------------------------------------------------------------------------- */
.page-layout--lp {
  width: 100%;
}

.page-layout--lp .entry-content {
  max-width: none;
  padding: 0;
  margin: 0;
}

/* --------------------------------------------------------------------------
   ヘッダー／フッター非表示（固定ページ body クラス制御）
   -------------------------------------------------------------------------- */
body.hide-site-header .site-header,
body.hide-site-header .mobile-menu {
  display: none;
}

body.hide-site-header {
  padding-top: 0;
}

body.hide-site-footer .site-footer {
  display: none;
}

/* --------------------------------------------------------------------------
   パンくずリスト
   -------------------------------------------------------------------------- */
.breadcrumb {
  margin-bottom: 1.25rem;
}

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  font-size: 0.78rem;
  color: var(--color-text-muted);
}

.breadcrumb__item + .breadcrumb__item::before {
  content: '›';
  padding-inline: 0.5rem;
  color: var(--color-border);
}

.breadcrumb__item a {
  color: var(--color-text-muted);
  transition: color var(--transition);
}

.breadcrumb__item a:hover {
  color: var(--color-primary);
}

.breadcrumb__item--current {
  color: var(--color-text-mid);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 240px;
}

/* --------------------------------------------------------------------------
   記事ヘッダー
   -------------------------------------------------------------------------- */
.single-header {
  margin-bottom: 2rem;
}

.single-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  margin-bottom: 1rem;
}

.single-meta__date {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  font-variant-numeric: tabular-nums;
}

.single-meta__cat {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-sm);
  background-color: var(--color-primary-pale);
  color: var(--color-primary-dark);
  transition: background-color var(--transition);
}

.single-meta__cat:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.single-title {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.45;
  letter-spacing: 0.02em;
}

/* --------------------------------------------------------------------------
   アイキャッチ画像
   -------------------------------------------------------------------------- */
.single-thumbnail {
  margin-bottom: 2.5rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.single-thumbnail img {
  width: 100%;
  height: auto;
  display: block;
}

/* --------------------------------------------------------------------------
   本文（entry-content）
   -------------------------------------------------------------------------- */
.entry-content {
  font-size: 1rem;
  line-height: 2;
  color: var(--color-text);
}

.entry-content > * + * {
  margin-top: 1.5em;
}

.entry-content h2 {
  font-size: 1.4em;
  font-weight: 700;
  color: #fff;
  background-color: var(--accent);
  padding: 0.6em 1.1em;
  border-radius: 4px;
  line-height: 1.5;
  margin-top: 2.5em;
  letter-spacing: 0.02em;
}

.entry-content h3 {
  font-size: 1.25em;
  font-weight: 700;
  color: var(--text-primary);
  position: relative;
  padding-bottom: 0.45em;
  line-height: 1.5;
  margin-top: 2em;
}

/* アンダーライン：全幅グレー + 左端アクセントカラーのグラデーション */
.entry-content h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    to right,
    var(--accent) 0,
    var(--accent) 2.5em,
    var(--border) 2.5em
  );
  border-radius: 1px;
}

.entry-content h4 {
  font-size: 1.1em;
  font-weight: 700;
  color: var(--text-primary);
  padding-left: 0.75em;
  position: relative;
  line-height: 1.5;
  margin-top: 1.75em;
}

/* H4：左に細い縦アクセントライン */
.entry-content h4::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.15em;
  bottom: 0.15em;
  width: 3px;
  background-color: var(--accent);
  border-radius: 2px;
  opacity: 0.55;
}

.entry-content p {
  margin-top: 1.25em;
}

.entry-content ul,
.entry-content ol {
  padding-left: 1.5em;
  display: flex;
  flex-direction: column;
  gap: 0.4em;
}

.entry-content ul {
  list-style: disc;
}

.entry-content ol {
  list-style: decimal;
}

.entry-content li {
  line-height: 1.85;
}

.entry-content blockquote {
  border-left: 4px solid var(--color-border);
  padding: 1rem 1.25rem;
  background-color: var(--color-bg-soft);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  color: var(--color-text-mid);
  font-style: italic;
}

.entry-content code {
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
  font-size: 0.875em;
  background-color: var(--color-bg-mid);
  color: var(--color-accent);
  padding: 0.15em 0.45em;
  border-radius: var(--radius-sm);
}

.entry-content pre {
  background-color: var(--color-dark);
  color: rgba(255, 255, 255, 0.88);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  overflow-x: auto;
  font-size: 0.875rem;
  line-height: 1.75;
}

.entry-content pre code {
  background: none;
  color: inherit;
  padding: 0;
  font-size: inherit;
}

.entry-content img {
  border-radius: var(--radius-md);
  max-width: 100%;
  height: auto;
}

.entry-content a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition);
}

.entry-content a:hover {
  color: var(--color-primary-dark);
}

.entry-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}

.entry-content table th,
.entry-content table td {
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
  padding: 0.7rem 1rem;
  text-align: left;
  line-height: 1.65;
}

.entry-content table th:last-child,
.entry-content table td:last-child {
  border-right: none;
}

.entry-content table tr:last-child td {
  border-bottom: none;
}

.entry-content table th {
  background-color: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
}

.entry-content table tr:nth-child(even) td {
  background-color: rgba(45, 90, 61, 0.04);
}

.entry-content table tbody tr:hover td {
  background-color: rgba(45, 90, 61, 0.08);
  transition: background-color 0.15s ease;
}

/* --------------------------------------------------------------------------
   横スクロールテーブル（.wp-table-responsive）
   -------------------------------------------------------------------------- */
.wp-table-responsive {
  position: relative;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-block: 1.5em;
}

.wp-table-responsive table {
  min-width: 600px;
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  border: 1px solid var(--border);
}

.wp-table-responsive table th,
.wp-table-responsive table td {
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
  padding: 0.7rem 1rem;
  text-align: left;
  line-height: 1.65;
  white-space: nowrap;
}

.wp-table-responsive table th:last-child,
.wp-table-responsive table td:last-child {
  border-right: none;
}

.wp-table-responsive table tr:last-child td {
  border-bottom: none;
}

.wp-table-responsive table th {
  background-color: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
}

.wp-table-responsive table tr:nth-child(even) td {
  background-color: rgba(45, 90, 61, 0.04);
}

.wp-table-responsive table tbody tr:hover td {
  background-color: rgba(45, 90, 61, 0.08);
  transition: background-color 0.15s ease;
}

/* スクロールしない外側ラッパー（インジケーターの基準） */
.wp-table-scroll-outer {
  position: relative;
  margin-block: 1.5em;
}

.wp-table-responsive {
  margin-block: 0; /* outerで管理するためリセット */
}

/* スクロールインジケーター */
.wp-table-scroll-indicator {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  background: rgba(0, 0, 0, 0.45);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 13px;
  pointer-events: none;
  z-index: 10;
  transition: opacity 0.2s ease;
}

.wp-table-scroll-indicator--left {
  left: 8px;
}

.wp-table-scroll-indicator--right {
  right: 8px;
}

.wp-table-scroll-indicator.is-hidden {
  opacity: 0;
}

/* --------------------------------------------------------------------------
   タグ
   -------------------------------------------------------------------------- */
.single-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border-light);
}

.single-tags__item {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  background-color: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 0.25rem 0.85rem;
  transition: color var(--transition), border-color var(--transition);
}

.single-tags__item:hover {
  color: var(--color-primary);
  border-color: var(--color-primary-light);
}

/* --------------------------------------------------------------------------
   SNS シェアボタン
   -------------------------------------------------------------------------- */

.single-share {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border-light);
}

.single-share__label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-text-muted);
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
  text-align: center;
}

.single-share__btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.625rem;
}

.single-share__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1.25rem;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  color: #fff;
  transition: opacity 0.15s;
}

.single-share__btn:hover {
  opacity: 0.85;
  color: #fff;
}

.single-share__btn--x {
  background-color: #000;
}

.single-share__btn--fb {
  background-color: #1877f2;
}

.single-share__btn--line {
  background-color: #06c755;
}

/* --------------------------------------------------------------------------
   前後記事ナビ
   -------------------------------------------------------------------------- */
.single-nav {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border-light);
}

.single-nav__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.single-nav__item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem 1.25rem;
  background-color: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.single-nav__item:hover {
  border-color: var(--color-primary-light);
  box-shadow: var(--shadow-sm);
}

.single-nav__item--next {
  text-align: right;
  grid-column: 2;
}

.single-nav__item--prev:only-child {
  grid-column: 1;
}

.single-nav__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color-primary);
}

.single-nav__title {
  font-size: 0.875rem;
  color: var(--color-text-mid);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   関連記事
   -------------------------------------------------------------------------- */

.related-posts {
  padding: 2rem 0 1rem;
  border-top: 1px solid var(--border);
  margin-top: 0.5rem;
}

.related-posts__heading {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  padding-left: 0.75rem;
  border-left: 4px solid var(--accent);
  margin-bottom: 1.5rem;
  /* .entry-content h2 のスタイルをリセット */
  background: none;
  text-shadow: none;
  border-radius: 0;
  padding-block: 0;
  margin-top: 0;
}

/* --------------------------------------------------------------------------
   サイドバー（デスクトップ右列）
   -------------------------------------------------------------------------- */

/* スマホではグリッド内サイドバーを非表示、footer直前のモバイルエリアで表示 */
.single-sidebar {
  display: none;
}

@media (min-width: 768px) {
  .single-sidebar {
    display: block;
    min-width: 0;
  }
}

.single-sidebar .widget {
  max-width: 100%;
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.07),
    0 6px 24px rgba(0, 0, 0, 0.05);
}

.single-sidebar .widget-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background-color: var(--accent);
  padding: 0.72rem 1.1rem 0.72rem 1.5rem;
  margin: 0;
  position: relative;
}

/* タイトル左端のホワイトアクセントライン */
.single-sidebar .widget-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background-color: rgba(255, 255, 255, 0.35);
}

.single-sidebar .widget > *:not(.widget-title) {
  padding: 1rem 1.1rem;
}

.single-sidebar .widget ul {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.single-sidebar .widget ul li a {
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: color var(--transition);
}

.single-sidebar .widget ul li a:hover {
  color: var(--accent);
}

.single-sidebar__empty {
  font-size: 0.82rem;
  color: var(--text-secondary);
  padding: 1rem;
  background-color: var(--bg-secondary);
  border-radius: 8px;
  text-align: center;
}

/* --------------------------------------------------------------------------
   edel_side_archive ショートコード
   -------------------------------------------------------------------------- */
.edel-side-archive__list {
  display: flex;
  flex-direction: column;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.edel-side-archive__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--color-border-light, #ede8e3);
}

.edel-side-archive__item:last-child {
  border-bottom: none;
}

.edel-side-archive__link {
  font-size: 0.875rem;
  color: var(--color-text-mid);
  text-decoration: none;
  transition: color var(--transition);
}

.edel-side-archive__link:hover {
  color: var(--color-primary);
}

.edel-side-archive__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.5rem;
  height: 1.5rem;
  padding: 0 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-apricot, #c8623a);
  background-color: var(--color-apricot-pale, #fdf1ec);
  border-radius: 20px;
  letter-spacing: 0;
  flex-shrink: 0;
}

.edel-side-archive__footer {
  padding: 0.75rem 0 0.85rem;
  text-align: right;
}

.edel-side-archive__more {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-apricot, #c8623a);
  text-decoration: none;
  transition: color var(--transition);
}

.edel-side-archive__more:hover {
  color: var(--color-apricot-dark, #a84e2e);
}


/* --------------------------------------------------------------------------
   edel_featured_posts ショートコード（おすすめ記事・アイキャッチ付き）
   -------------------------------------------------------------------------- */

.edel-featured-posts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.edel-featured-posts__item {
  border-bottom: 1px solid var(--border);
}

.edel-featured-posts__item:first-child {
  border-top: 1px solid var(--border);
}

.edel-featured-posts__link {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  padding: 0.75rem 0;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s ease;
}

.edel-featured-posts__link:hover {
  opacity: 0.75;
}

/* サムネイル */
.edel-featured-posts__thumb {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  overflow: hidden;
  border-radius: 4px;
  background-color: var(--bg-secondary);
}

.edel-featured-posts__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.edel-featured-posts__link:hover .edel-featured-posts__thumb img {
  transform: scale(1.06);
}

/* No Image プレースホルダー */
.edel-featured-posts__no-image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  color: var(--text-secondary);
  opacity: 0.5;
}

/* テキストエリア */
.edel-featured-posts__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.edel-featured-posts__title {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.edel-featured-posts__link:hover .edel-featured-posts__title {
  color: var(--accent);
}

.edel-featured-posts__date {
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   edel_cta ショートコード（記事内CTAバナー）
   -------------------------------------------------------------------------- */

.edel-cta {
  margin: 2.5rem 0;
  background-color: var(--accent);
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

/* 右上の装飾丸 */
.edel-cta::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.07);
  pointer-events: none;
}

.edel-cta__inner {
  padding: clamp(1.5rem, 4vw, 2.2rem) clamp(1.5rem, 4vw, 2.5rem);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: flex-start;
}

.edel-cta__label {
  font-family: var(--font-serif-en);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

.edel-cta__title {
  font-family: var(--font-serif-ja);
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  font-weight: 400;
  line-height: 1.65;
  color: #fff;
  margin: 0;
}

.edel-cta__text {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.edel-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  background-color: #fff;
  color: var(--accent);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  border-radius: 4px;
  text-decoration: none;
  transition: background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  white-space: nowrap;
  margin-top: 0.25rem;
}

.edel-cta__btn:hover {
  background-color: #f0f8f4;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  color: var(--accent);
}

/* entry-content h2リセット（CTAタイトルに誤スタイルが当たらないように） */
.edel-cta .edel-cta__title {
  background: none;
  border-radius: 0;
  padding: 0;
  text-shadow: none;
  border-left: none;
}

@media (min-width: 640px) {
  .edel-cta__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
  }

  .edel-cta__body {
    flex: 1;
    min-width: 0;
  }

  .edel-cta__btn {
    flex-shrink: 0;
    margin-top: 0;
  }
}
