/*
Theme Name:mini_push
Author: shujuu_ds
Version: 1.1
*/

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  background: #f4f4f4;
  color: #333;
  padding-top: 60px;
}

html, body {
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}
.screen-reader-text {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
/* .app-container { display: flex; height: 100vh; overflow: hidden; } */
.app-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow: visible;
}
.sidebar {
  width: 260px;
  background-color: #e0e0e0;
  flex-shrink: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0;
  height: 100vh;
  transform: translateX(-100%);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s ease;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.12);
  will-change: transform, opacity;
  justify-content: space-between;
  overflow-y: auto;
}
.sidebar.show {
  transform: translateX(0);
  opacity: 1;
}
.sidebar-header {
  height: 60px;
  padding: 0 16px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  background-color: #e0e0e0;
  flex-shrink: 0;
}
.sidebar-header .icon-buttons {
  display: flex;
  gap: 10px;
  align-items: center;
}
.header .icon-buttons {
  display: flex;
  gap: 10px;
  align-items: center;
}
.header-spacer {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
}
.sidebar-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.sidebar-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sidebar-content ul li,
.sidebar-footer ul li {
  padding: 12px 20px;
  cursor: pointer;
  color: #333;
  transition: background-color 0.2s ease, padding-left 0.2s ease;
}
.sidebar-content ul li:hover,
.sidebar-footer ul li:hover {
  background-color: #dcdcdc;
  padding-left: 24px;
}
.sidebar-content ul li.active,
.sidebar-footer ul li.active {
  background-color: #ccc;
  font-weight: bold;
}

.profile-card {
  background: linear-gradient(to bottom, #f8f8f8, #eaeaea); /* 微妙なグラデーション */
  border-radius: 10px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1); /* 影を少し強調 */
  padding: 16px;
  margin: 16px;
  text-align: left; /* 元の左揃えを維持 */
  font-size: 14px;
  color: #444;
}
.profile-card.profile-card-main {
  max-width: 520px;
  margin: 32px auto 40px;
}

.profile-card .profile-image {
  width: 96px; /* 元のサイズを維持 */
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  background-color: #DDD;
  margin-bottom: 12px;
}

.profile-card .profile-title {
  font-family: 'Lora', serif;
  font-size: 18px;
  color: #444;
  margin-bottom: 8px;
}

.profile-card .profile-description {
  font-size: 14px;
  line-height: 1.6;
  color: #444;
}
.inline-related-horizontal {
  display: flex;
  gap: 16px;
  background: rgba(255,255,255,0.86);
  border-radius: 16px;
  padding: 12px;
  margin: 16px auto;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
  align-items: center;
  text-decoration: none;
  color: inherit;
  flex-direction: row;
  backdrop-filter: blur(10px) saturate(120%);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
  border: 1px solid rgba(255,255,255,0.7);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.inline-related-horizontal:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.14);
  background: rgba(255,255,255,0.95);
}
.inline-related-horizontal img {
  width: 38%;
  min-width: 140px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 10px;
}
.inline-related-horizontal .inline-related-icon {
  width: 38%;
  min-width: 140px;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  background: #f7f7f9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #da7093;
  flex-shrink: 0;
}
.inline-related-horizontal .inline-related-icon svg {
  width: 40px;
  height: 40px;
  display: block;
  stroke: currentColor;
}
.inline-related-horizontal .text-block {
  flex: 1;
  overflow: hidden;
}
.related-label {
  font-size: 0.78em;
  color: #7f8a96;
  margin-bottom: 0.35em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.related-title {
  font-weight: 700;
  font-size: 1.02em;
  margin-bottom: 0;
  color: #2e3440;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (max-width: 768px) {
  .inline-related-horizontal {
    padding: 10px;
    gap: 10px;
    margin: 14px auto;
  }
  .inline-related-horizontal img,
  .inline-related-horizontal .inline-related-icon {
    width: 36%;
    min-width: 110px;
  }

  .sjf-inline-related-card img,
  .sjf-inline-related-card .inline-related-icon {
    width: 42%;
    min-width: 120px;
  }
}
.profile-inline-card {
  max-width: 960px;
  margin: 0 auto 48px;
}
.profile-inline-card .profile-summary {
  font-size: 14px;
  line-height: 1.6;
  color: #555;
  margin-top: 0.4em;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.profile-inline-card .profile-link {
  color: #6c8ea4;
  text-decoration: underline;
}

/* sjf_category_cards / sjf_link_cards */
.sjf-category-card-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 780px;
  margin: 28px auto 18px;
  padding: 0 8px;
}

.sjf-category-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,0.78);
  padding: 16px 18px;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
  text-decoration: none;
  color: #334;
  backdrop-filter: blur(10px) saturate(120%);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
  border: 1px solid rgba(255,255,255,0.6);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.sjf-category-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 38px rgba(0,0,0,0.16);
  background: rgba(255,255,255,0.9);
}

.sjf-category-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #f7f7f9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #da7093;
  flex-shrink: 0;
  overflow: hidden;
}

.sjf-category-card__icon svg {
  display: block;
  width: 24px;
  height: 24px;
  stroke: currentColor;
}

.sjf-category-card__icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.sjf-category-card__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  min-width: 0;
}

.sjf-category-card__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
}

.sjf-category-card__title {
  font-size: 16px;
  font-weight: 700;
  color: #334;
  line-height: 1.3;
}

.sjf-category-card__count {
  font-size: 13px;
  color: #6b7a8c;
  justify-self: end;
  white-space: nowrap;
}

.sjf-category-card__desc {
  font-size: 13px;
  color: #566273;
  line-height: 1.5;
}

@media (min-width: 1024px) {
  .sjf-category-card-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    max-width: 960px;
  }

  .sjf-category-card {
    height: 100%;
  }
}

@media (max-width: 768px) {
  .sjf-category-card-list {
    gap: 10px;
    margin: 22px auto 12px;
    padding: 0 4px;
  }

  .sjf-category-card {
    padding: 14px 14px;
    border-radius: 10px;
  }

  .sjf-category-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
  }

  .sjf-category-card__icon svg {
    width: 24px;
    height: 24px;
  }

  .sjf-category-card__title {
    font-size: 15px;
  }

  .sjf-category-card__count {
    font-size: 12.5px;
  }

  .sjf-category-card__desc {
    font-size: 12.5px;
  }
}

.sidebar-footer {
  border-top: 1px solid #ccc;
  padding: 0;
  background-color: #e0e0e0;
  font-size: 0.85em;
  color: #666;
  min-height: 88px;
  display: flex;
  align-items: center;
}
.sidebar-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
}
.toggle-button, .sidebar-header button.icon, .header button.icon {
  background: none;
  border: none;
  color: #666;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}
.toggle-button svg,
.sidebar-header button.icon svg,
.header button.icon svg {
  width: 22px;
  height: 22px;
  display: block;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sidebar .toggle-button .icon-menu,
.sidebar .toggle-button .icon-menu-close {
  display: block;
}
.sidebar .toggle-button .icon-menu-close {
  display: none;
}
.sidebar.show .toggle-button .icon-menu {
  display: none;
}
.sidebar.show .toggle-button .icon-menu-close {
  display: block;
}
.toggle-button:hover, .sidebar-header button.icon:hover, .header button.icon:hover {
  background-color: rgba(0, 0, 0, 0.05);
  border-radius: 6px;
  transform: scale(1.05);
}
.main-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  transition: margin-left 0.3s ease, box-shadow 0.3s ease;
}

/* メインエリアのスクロールバー（Chrome, Edge, Safari） */
.main-content::-webkit-scrollbar {
width: 10px; /* スクロールバーの幅 */
background-color: #f4f4f4; /* ✅ メインの背景と統一 */
}

/* スクロールバーのつまみ部分 */
.main-content::-webkit-scrollbar-thumb {
background-color: #e0e0e0; /* ✅ カードの文章と同じ色 */
border-radius: 5px;
}

/* スクロールバーの上下の▲▼部分 */
.main-content::-webkit-scrollbar-button {
background-color: #e0e0e0; /* ✅ カードの文章と同じ色 */
}

/* Firefox 用 */
.main-content {
scrollbar-width: thin;
scrollbar-color: #e0e0e0 #f4f4f4; /* ✅ つまみ #666 / 背景 #f4f4f4 */
}

.main-content.pushed {
  margin-left: 260px;
  position: relative;
  z-index: 1;
}
.main-content.pushed::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 18px;
  pointer-events: none;
  background: linear-gradient(to left, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0));
  transform: translateX(-18px);
}
.header {
  height: 60px ;
  padding: 0 16px;
  font-size: 20px;
  font-weight: bold;
  display: flex;
  align-items: center;
  /* 上側ほどガラス感を強くし、下側はほぼ透明にする */
  background-color: rgba(244, 244, 244, 0.06);
  background-image: linear-gradient(
    to bottom,
    rgba(244, 244, 244, 0.20) 0%,
    rgba(244, 244, 244, 0.16) 35%,
    rgba(244, 244, 244, 0.08) 60%,
    rgba(244, 244, 244, 0.02) 78%,
    rgba(244, 244, 244, 0.00) 100%
  );
  flex-shrink: 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 9999;
 /* 少しだけ境界線 */
  /* border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06); */
}
.header::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  backdrop-filter: blur(2px) saturate(112%);
  -webkit-backdrop-filter: blur(2px) saturate(112%);
  -webkit-mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 1) 48%,
    rgba(0, 0, 0, 0.78) 64%,
    rgba(0, 0, 0, 0.34) 82%,
    rgba(0, 0, 0, 0) 100%
  );
  mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 1) 48%,
    rgba(0, 0, 0, 0.78) 64%,
    rgba(0, 0, 0, 0.34) 82%,
    rgba(0, 0, 0, 0) 100%
  );
  z-index: 0;
}
.header::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.06) 0%,
    rgba(255, 255, 255, 0.045) 42%,
    rgba(255, 255, 255, 0.018) 70%,
    rgba(255, 255, 255, 0.00) 100%
  );
  pointer-events: none;
  z-index: 1;
}
.header > * {
  position: relative;
  z-index: 2;
}
.header .title {
  flex: 1;
  text-align: left;
  font-family: 'Zen Kaku Gothic New', serif;
  color: #666; /* ヘッダーアイコンと揃える */
}
.chat-area {
  flex-grow: 1;
  padding: 20px;
  background-color: #f4f4f4;
  overflow-y: auto;
}
.home .chat-area,
.blog .chat-area {
  padding-top: 12px;
}
.top-page-title {
  font-size: clamp(16px, 2.3vw, 20px);
  font-weight: 700;
  line-height: 1.5;
  color: #6c8ea4;
  text-align: center;
  margin: 4px auto 8px;
  padding: 0 16px;
}
.top-page-description {
  max-width: 560px;
  margin: 0 auto 16px;
  padding: 0 16px;
  text-align: center;
  font-size: 13px;
  line-height: 1.7;
  color: #5f6f7e;
}
.chat-message {
  margin-bottom: 20px;
  background-color: #ddd;
  padding: 12px;
  border-radius: 8px;
  color: #333;
}
.footer {
  background-color: #f4f4f4;
  padding: 10px 12px 14px;
  text-align: center;
  font-size: 12px;
  color: #8f8f8f;
  border-top: 1px solid #e2e2e2;
  min-height: 88px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.footer-policy-nav {
  margin: 0;
}
.footer-policy-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px 12px;
  margin: 0;
  padding: 0;
}
.footer-policy-links li {
  margin: 0;
}
.footer-policy-links a {
  color: #8f8f8f;
  text-decoration: none;
  font-size: 12px;
  line-height: 1.35;
  border-bottom: 1px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}
.footer-policy-links a:hover {
  color: #8f8f8f;
  border-bottom-color: #e2e2e2;
}
.footer-copy {
  margin: 6px 0 0;
  font-size: 11.5px;
  line-height: 1.4;
  letter-spacing: 0.01em;
}
.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #f4f4f41A;
  backdrop-filter: blur(4px) saturate(120%);
  -webkit-backdrop-filter: blur(4px) saturate(120%);
  z-index: 2;
  transition: background-color 0.3s ease;
}
.overlay.active {
  display: block;
}

@media screen and (max-width: 768px) {
  .home .chat-area,
  .blog .chat-area {
    padding: 10px 16px 20px;
  }
  .home .top-page-title,
  .home .top-page-description,
  .blog .top-page-title,
  .blog .top-page-description {
    padding-left: 0;
    padding-right: 0;
  }
  .header .icon-buttons,
  .header-spacer {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
  }
  .header .icon-buttons {
    justify-content: center;
  }
  .header .title {
    text-align: center;
    padding-left: 0;
    padding-right: 0;
  }
  .header .title a {
    padding-left: 0;
    padding-right: 0;
  }
  .main-content.pushed { margin-left: 0; }
  .top-page-title {
    margin-bottom: 6px;
  }
  .top-page-description {
    margin-bottom: 14px;
    font-size: 12.5px;
    line-height: 1.65;
  }
  .sidebar-footer {
    min-height: auto;
  }
  .footer {
    min-height: auto;
    padding: 10px 12px 12px;
  }
  .footer-policy-links {
    max-width: 360px;
    margin: 0 auto;
    gap: 5px 10px;
  }
  .footer-policy-links a {
    font-size: 11px;
  }
  .footer-copy {
    margin-top: 6px;
    font-size: 11px;
  }

  /* ここから追記 ↓ */
  .main-content > .header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    z-index: 900;
  }
  /* .main-content {
    padding-top: 60px;  
  } */
}


@media screen and (min-width: 769px) {
  .overlay { display: none !important; }
  .header-spacer { display: none; }
}
.sidebar::-webkit-scrollbar {
width: 12px;
}

.sidebar::-webkit-scrollbar-track {
background-color: #e0e0e0;
}

.sidebar::-webkit-scrollbar-thumb {
background-color: #ccc !important;
border-radius: 5px;
}

.sidebar::-webkit-scrollbar-button {
background-color: #ccc !important;
height: 12px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
background-color: #bbb;
}

/* Firefox対応 */
.sidebar {
scrollbar-color: #ccc #e0e0e0;
scrollbar-width: thin;
}

.card-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}
.card {
  background-color: rgba(255, 255, 255, 0.78);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
  backdrop-filter: blur(10px) saturate(120%);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
  border: 1px solid rgba(255,255,255,0.6);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  cursor: pointer;
  flex: 1 1 calc(33.333% - 16px);
  max-width: 360px; /* ← 上限だけ設けて大画面での間延び防止 */
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  position: relative;
}
.card:hover {
  transform: scale(1.02);
  box-shadow: 0 16px 38px rgba(0,0,0,0.16);
  background-color: rgba(255, 255, 255, 0.9);
}
.card-image {
  position: relative;
  background-color: #ddd;
  aspect-ratio: 16 / 9;
  overflow: hidden; /* 画像がはみ出さないようにする */
  width: 100%;
}
.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* アスペクト比を維持しつつ適切に切り抜く */
}

.card-date {
  position: absolute;
  bottom: 8px;
  right: 12px;
  font-size: 11px;
  color: #888;
  background-color: rgba(255,255,255,0.9);
  padding: 2px 6px;
  border-radius: 4px;
}
.card-content {
  padding: 8px 12px 28px 12px;
}

.card-content h3 {
margin-bottom: 4px;
font-family: sans-serif;
font-size: 13px; /* ✅ 少し小さくする */
color: #444;
line-height: 1.45; /* ✅ 行間を少し広くする */
display: -webkit-box;
-webkit-line-clamp: 2;     /* ← 2行まで表示 */
-webkit-box-orient: vertical;
overflow: hidden;
min-height: calc(1.45em * 2); /* ✅ 2行分の高さを確保してカードの見た目を安定 */
text-wrap: pretty; /* ✅ 日本語の1文字だけ次行に落ちる崩れを軽減 */
}

.card-subtext {
display: -webkit-box;
-webkit-line-clamp: 2; /* ← 2行まで表示 */
-webkit-box-orient: vertical;
overflow: hidden;
font-family: sans-serif;
color: #666;
font-size: 12px;
line-height: 1.4;
}

@media (max-width: 768px) {
  .card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2列固定 */
    gap: 12px;
  }
  .card {
    /* flex: 1 1 calc(48% - 16px);
    max-width: 100%; */
    width: 100%; /* 親のグリッドに従う */
    max-width: none; /* 最大幅の制約を解除 */
  }
  .card-subtext {
    display: none;
  }
  .card-content h3 {
    max-height: 5.2em;
  }

  .chat-area .tab-section > .card-grid.single-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .chat-area .tab-section > .card-grid.single-column > .card {
    width: 100%;
    max-width: 360px;
  }

  .chat-area .tab-section > .card-grid.single-column .card-content h3 {
    font-size: 12.5px;
  }
}

@media (min-width: 769px) {
  /* PCの一覧は3カラム固定（tab-section直下のみ） */
  .chat-area .tab-section > .card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 360px));
    gap: 1.5em;
    justify-content: center;
  }

  .chat-area .tab-section > .card-grid > .card {
    width: 100%;
    max-width: 360px;
  }
}

/*→記事一覧*/

.more-link-wrapper {
text-align: center;
margin-top: 24px;
margin-bottom: 28px;
}

.more-link {
display: inline-block;
padding: 12px 18px;
background-color: #7a8ca5;
color: #fff;
font-weight: bold;
border: none;
border-radius: 6px;
text-decoration: none;
box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
transition: background-color 0.3s ease, transform 0.24s ease, box-shadow 0.24s ease;
transform: translateY(0);
margin-top: 8px; /* ✅ 余白を少し減らして、詰まりすぎないように */
font-size: 15px;
}


.more-link:hover {
background-color: #6c7c96;
transform: translateY(-2px) scale(1.01);
box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}

@media (max-width: 768px) {
.more-link {
font-size: 14px; /* ボタンの文字を少し大きくする */
}
}


/* 管理バー */
#wpadminbar {
  z-index: 9999 !important; /* WP管理バーの影響をなくす */
}

/* 🔸 header.php内のボタン・リスト項目のタップハイライトを透明に */
.site-title-link,
.sidebar-header button,
.header .toggle-button,
.sidebar-content ul li,
.sidebar-footer ul li,
.sidebar-content ul li a,
.sidebar-footer ul li a {
  -webkit-tap-highlight-color: transparent;
  transition: background-color 0.2s ease;
  cursor: pointer;
}

/* 🔸 ボタン類タップ時の控えめな波紋エフェクト */
.sidebar-header button:active,
.header .toggle-button:active,
.sidebar-content ul li:active,
.sidebar-footer ul li:active,
.sidebar-content ul li a:active,
.sidebar-footer ul li a:active {
  background-color: #ccc; 
  transition: none;
}

/* 🔸 aタグを押しやすく調整（optionalだけどUX向上） */
.sidebar-content ul li a,
.sidebar-footer ul li a {
  display: block;
  padding: 10px 14px;
  text-decoration: none;
  color: inherit;
}
.title a {
  color: inherit;               /* 親要素の文字色を継承（紫→黒へ修正） */
  text-decoration: none;       /* 下線を消す */
  -webkit-tap-highlight-color: transparent; /* モバイルの青ハイライトを消す */
  transition: background-color 0.2s ease;
  padding: 8px 4px;
  display: inline-block;
}
/* ==========================
   ✅ 一覧系ページ専用デザイン 
   （template-article.php / 404.php など） 
========================== */

/* タイトルデザイン（中央揃え＋ダスティブルー） */
.page-title {
  font-size: 22px;
  font-weight: bold;
  text-align: center;
  border-bottom: 2px solid #ccc;
  padding-bottom: 10px;
  margin-bottom: 24px;
  color: #6c8ea4; /* ←ダスティブルー */
}

.not-found-page__lead {
  text-align: center;
  margin: 12px auto 28px;
  color: #444;
  line-height: 1.8;
}


/* ページネーション */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 32px;
  gap: 10px;
}
.pagination-desktop {
  flex-wrap: wrap;
}
.pagination-desktop a,
.pagination-desktop span {
  min-width: 44px;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #c8c8c8;
  border-radius: 10px;
  text-decoration: none;
  color: #555;
  background: #fff;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  font-size: 14px;
  line-height: 1;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}
.pagination-desktop a:hover {
  background: #f0f0f0;
  border-color: #b9b9b9;
}
.pagination-desktop .current {
  background: #6c8ea4;
  color: #fff;
  border-color: #6c8ea4;
  font-weight: bold;
}
.pagination-desktop .prev,
.pagination-desktop .next {
  min-width: 64px;
  padding: 10px 14px;
  font-size: 13px;
}
.pagination-desktop span.prev,
.pagination-desktop span.next {
  color: #b2b2b2;
  background: #f3f3f3;
  border-color: #dddddd;
  cursor: not-allowed;
}
.pagination-mobile {
  display: none;
}
.pagination-mobile__btn,
.pagination-mobile__status {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid #c8c8c8;
  border-radius: 10px;
  text-decoration: none;
  background: #fff;
  color: #555;
  font-size: 14px;
  line-height: 1;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}
.pagination-mobile__btn {
  border-color: #bfc7ce;
  color: #4f5f6d;
  font-weight: 600;
}
.pagination-mobile__btn:hover {
  background: #f0f0f0;
  border-color: #b9b9b9;
}
.pagination-mobile__btn.is-disabled {
  color: #b4b4b4;
  background: #efefef;
  border-color: #d9d9d9;
  box-shadow: none;
  text-shadow: none;
  pointer-events: none;
  cursor: not-allowed;
}
.pagination-mobile__status {
  min-width: 104px;
  font-weight: bold;
  color: #4e6779;
  background: #edf2f6;
  border-color: #bdcad3;
}
@media (max-width: 768px) {
  .not-found-page__lead {
    margin-bottom: 20px;
    line-height: 1.7;
  }

  .pagination-desktop {
    display: none;
  }
  .pagination-mobile {
    display: flex;
    margin-top: 24px;
    gap: 8px;
  }
}

/* CTA */
.cta-button {
  margin: 2.5em auto;
  text-align: center;
}
.cta-button a {
  display: inline-block;
  background: #DA7093;
  color: #fff;
  font-weight: bold;
  font-size: 22px;
  padding: 18px 44px;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 8px 40px rgba(218,112,147,0.23), 0 2px 8px rgba(0,0,0,0.09);
  transition: transform 0.18s, box-shadow 0.18s, background 0.18s;
  letter-spacing: 0.04em;
  animation: none;
  outline: none;
  position: relative;
}
.cta-button a:hover {
  background: #c35d80;
  transform: scale(1.06);
  box-shadow: 0 10px 44px rgba(218,112,147,0.32), 0 2px 12px rgba(0,0,0,0.14);
}
.cta-button a:active {
  transform: scale(0.97);
  box-shadow: 0 4px 16px rgba(218,112,147,0.18);
}
@media (max-width: 600px) {
  .cta-button a {
    font-size: 18px;
    padding: 14px 0;
    width: 84vw;
    max-width: 288px;
  }
}



/* 記事内画像 */
.scene-img {
  width: 100%;
  max-width: 100vw;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  margin: 1em auto;
  display: block;
  border-radius: 0;
}
.post-thumbnail img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1em auto;
  border-radius: 0;
}
/* 🔧 動画プレイヤーに角丸をつける（比率固定なし） */
.plyr,
.plyr video {
  width: 100%;
  height: auto;
  display: block;
  margin: 0; /* 外側の余白は video-wrapper 側で管理 */
}
/* =========================================================
   🔧 Plyr – Single.php 専用スタイル（2025-05-05 rev.4）
   ========================================================= */

/* ---------------------------------------------------------
   0. 共通トークン
--------------------------------------------------------- */
:root{
  /* シーク＆ボリュームバーのピンク */
  --plyr-color-main:#DA7093;

  /* 中央再生ボタンの直径（JS で動的に上書き）       */
  /*   56 px 〜 96 px の間で可変。        　　　        */
  --btn-diam:72px;
}

/* ---------------------------------------------------------
   1. 外枠
--------------------------------------------------------- */
.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 960px;
  margin: 0 auto 0.5em auto;
  padding-top: 0;
  border-radius: 16px;        /* ← 角丸はここだけが持つ */
  overflow: hidden;
  background-color: transparent; /* 不要なら削除可（線が出るのを防止） */
}

/* Plyrコンテナ：ブロック要素として自然に縦に伸ばす */
.video-wrapper .plyr {
  position: relative;
  width: 100%;
  height: auto;
  border-radius: inherit;     /* 外枠の角丸を継承 */
  background: transparent!important;
}

/* ---------------------------------------------------------
   2. 実寸比優先（Bパターン）
--------------------------------------------------------- */
.video-wrapper .plyr__video-wrapper {
  position: static;
  width: 100%;
  height: auto;
  border-radius: inherit;     /* ここも継承させる */
  background: transparent!important;
}

.video-wrapper .plyr video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: inherit;     /* 実動画も角丸を継承 */
}

/* 念のため、posterレイヤーも同じ扱いにしておく */
.video-wrapper .plyr__poster {
  position: static;
  width: 100%;
  height: auto;
  background-size: contain;
  background-position: center center;
  border-radius: inherit;     /* poster も継承 */
  background: transparent!important;
}

/* ---------------------------------------------------------
   3. 中央再生ボタン
--------------------------------------------------------- */
/* ▶︎ 中央再生ボタンの大きさ・位置の調整 */
.plyr--video .plyr__control--overlaid {
  width: var(--btn-diam, 72px);
  height: var(--btn-diam, 72px);
  background: #DA7093!important;
  color: #fff!important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(218,112,147,.35);
  transition: opacity .25s, transform .25s;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  padding: 0;
  border: none;
}

.plyr--video .plyr__control--overlaid:hover {
  background: #c05e7a!important;
}

/* ▶︎ 三角アイコン（SVG）の大きさ・中央寄せ */
.plyr--video .plyr__control--overlaid svg {
  /* width: 48%;
  height: 48%;
  display: block;
  margin: 0 auto;
  position: relative;
  left: 0;
  top: 0;
} */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-46%, -50%); /* ← 微調整可能 */
}


/* ▶︎ 再生中は縮小フェードアウト */
.plyr--is-playing .plyr__control--overlaid {
  opacity: 0;
  transform: translate(-46%, -50%) scale(.35);
}

/* モバイル用のサイズ調整 */
@media (max-width: 600px) {
  .plyr--video .plyr__control--overlaid {
    width: 56px;
    height: 56px;
  }
  .plyr--video .plyr__control--overlaid svg {
    width: 52%;
    height: 52%;
  }
}
@media (min-width: 601px) and (max-width: 960px) {
  .plyr--video .plyr__control--overlaid {
    width: 72px;
    height: 72px;
  }
  .plyr--video .plyr__control--overlaid svg {
    width: 52%;
    height: 52%;
  }
}
@media (min-width: 961px) {
  .plyr--video .plyr__control--overlaid {
    width: 96px;
    height: 96px;
  }
  .plyr--video .plyr__control--overlaid svg {
    width: 50%;
    height: 50%;
  }
}

.post-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 20px;
}

/* ✅ カテゴリと日付を横並びに＆余白調整 */
.post-meta-horizontal {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 0px;
}

/* ✅ 記事本文・メタ・タイトル・セクション見出し 共通余白 */
.single-post .post-content,
.single-post .post-meta-horizontal,
.post-title,
.section-title {
  padding-left: 16px;
  padding-right: 16px;
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 700;
  color: #6c8ea4;
  margin: 24px auto 16px;
  text-align: center;
}
.section-title::before,
.section-title::after {
  content: "";
  display: block;
  flex: 1;
  max-width: 140px;
  height: 2px;
  background-color: #6c8ea4;
  opacity: 0.6;
}

.section-title.section-title-soft {
  font-size: 16px;
  font-weight: 600;
  color: #8fa3b5;
  margin: 12px auto 8px;
}
.section-title.section-title-soft::before,
.section-title.section-title-soft::after {
  max-width: 90px;
  height: 1px;
  opacity: 0.25;
}

@media (min-width: 768px) {
  .single-post .post-content,
  .single-post .post-meta-horizontal,
  .post-title,
  .section-title {
    padding-left: 24px;
    padding-right: 24px;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* 固定ページ（主従フェチとは？/ガイド系）は一覧ページと同じ外枠幅に合わせる */
.single-post.single-post-page {
  padding: 20px;
  box-sizing: border-box;
}

.single-post.single-post-page > .page-title,
.single-post.single-post-page > .post-content {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
  box-sizing: border-box;
}

/* ✅ Gutenbergエディタ内の見出し装飾 */
.wp-block-heading {
  font-weight: bold;
  color: #333;
  margin-top: 1em;
  margin-bottom: 1em;
  padding-bottom: 0.3em;
  border-bottom: 3px solid #6c8ea4;
  font-size: 1.4em;
}
.wp-block-heading + p {
  /* margin-top: 0.5em; */
  margin-top: 1em;
  margin-bottom: 1em;
}

/* ✅ 記事内リスト（wp:list） */
.post-content .wp-block-list,
.single-post .post-content ul,
.single-post .post-content ol {
  list-style: none;
  margin: 1em 0;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.post-content .wp-block-list li,
.single-post .post-content ul li,
.single-post .post-content ol li {
  position: relative;
  padding: 4px 0 6px 22px;
  border-bottom: 1px solid rgba(108,142,164,0.18);
  line-height: 1.8;
}
.post-content .wp-block-list li:last-child,
.single-post .post-content ul li:last-child,
.single-post .post-content ol li:last-child {
  border-bottom: none;
}
.post-content .wp-block-list li::before,
.single-post .post-content ul li::before,
.single-post .post-content ol li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #6c8ea4;
  box-shadow: 0 0 0 2px rgba(108,142,164,0.18);
  transform: translateY(-50%);
}
.post-content .wp-block-list li strong,
.single-post .post-content ul li strong,
.single-post .post-content ol li strong {
  color: #2f3947;
}
@media (max-width: 768px) {
  .post-content .wp-block-list,
  .single-post .post-content ul,
  .single-post .post-content ol {
    gap: 4px;
  }
  .post-content .wp-block-list li,
  .single-post .post-content ul li,
  .single-post .post-content ol li {
    padding: 4px 0 6px 20px;
  }
  .post-content .wp-block-list li::before,
  .single-post .post-content ul li::before,
  .single-post .post-content ol li::before {
    left: 3px;
    width: 6px;
    height: 6px;
    box-shadow: 0 0 0 2px rgba(108,142,164,0.18);
  }
}

/* ✅ FAQ（details/summary） */
.post-content .faq-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 1.2em 0 1.6em;
}
.post-content .faq-box details {
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(108,142,164,0.22);
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.06);
  overflow: hidden;
}
.post-content .faq-box summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 12px 16px 12px 44px;
  font-weight: 700;
  color: #2f3947;
}
.post-content .faq-box summary::-webkit-details-marker {
  display: none;
}
.post-content .faq-box summary::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 50%;
  width: 18px;
  height: 18px;
  border-radius: 9px;
  border: 1px solid rgba(108,142,164,0.4);
  background: #f4f7fa;
  transform: translateY(-50%);
}
.post-content .faq-box summary::after {
  content: "";
  position: absolute;
  left: 16px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-right: 2px solid #6c8ea4;
  border-bottom: 2px solid #6c8ea4;
  transform: translate(6px, -50%) rotate(-45deg);
  transition: transform 0.2s ease;
}
.post-content .faq-box details[open] summary {
  background: rgba(108,142,164,0.08);
}
.post-content .faq-box details[open] summary::after {
  transform: translate(6px, -50%) rotate(45deg);
}
.post-content .faq-box details:hover {
  border-color: rgba(108,142,164,0.35);
}
.post-content .faq-box p {
  margin: 0;
  padding: 0 16px 16px 44px;
  color: #566273;
  line-height: 1.75;
}
.post-content .faq-box p strong {
  color: #2f3947;
}
@media (max-width: 768px) {
  .post-content .faq-box {
    gap: 10px;
  }
  .post-content .faq-box summary {
    padding: 10px 12px 10px 40px;
  }
  .post-content .faq-box summary::before {
    left: 14px;
  }
  .post-content .faq-box summary::after {
    left: 14px;
  }
  .post-content .faq-box p {
    padding: 0 12px 12px 40px;
  }
}

/* ✅ 記事タイトル（H1）としての装飾 */
.post-title {
  font-size: 1.4em;
  font-weight: bold;
  line-height: 1.6;
  margin-top: 0.1em;
  margin-bottom: 0.5em;
  color: #222;
}

/* ✅ カテゴリ＋日付の余白を抑える */
.single-post .post-meta-horizontal {
  margin-bottom: 0em;
}

/* X誘導ブロックの外枠 */
.x-block {
  background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(248,250,252,0.92) 100%);
  border-radius: 16px;
  padding: 1.6rem 1.8rem;
  margin: 2.2rem auto;
  box-shadow: 0 12px 28px rgba(0,0,0,0.08);
  text-align: center;
  border: 1px solid rgba(108,142,164,0.25);
  max-width: 960px;
}

/* タイトル部分 */
.x-block h2 {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 0.8rem;
}

/* リード文 */
.x-block p {
  font-size: 0.95rem;
  color: #485463;
  line-height: 1.6;
  margin-bottom: 1.1rem;
}

/* ボタン部分 */
.x-block .x-btn {
  display: inline-block;
  border: 1px solid #6c8ea4;
  border-radius: 9999px;
  padding: 0.65rem 1.4rem;
  background: #fff;
  color: #5f7f96;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}
.x-block .x-btn:hover {
  border-color: #5f7f96;
  background: #f1f5f9;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.08);
}

@media (max-width: 768px) {
  .x-block {
    padding: 1.2rem 1.4rem;
    margin: 1.6rem auto;
  }
  .x-block p {
    font-size: 0.9rem;
  }
  .x-block .x-btn {
    padding: 0.6rem 1.2rem;
  }
}

/* ✅ サムネイル下の抜粋表示：バブル型 */
.post-summary-bubble {
  --spike-left: 36px; /* ← デフォルト値 */
  position: relative;
  background: #f5f5f5;
  padding: 12px 16px;
  margin: 2em auto;
  font-size: 14px;
  color: #444;
  border-radius: 10px;
  line-height: 1.6;
  border: 1px solid #ddd;
  max-width: 720px;
  margin-left: 16px;
  margin-right: 16px;
}

.post-summary-bubble::before,
.post-summary-bubble::after {
  content: '';
  position: absolute;
  top: 100%;
  left: var(--spike-left); /* ← ここを変数に */
  border: 8px solid transparent;
}

.post-summary-bubble::before {
  border-top-color: #ddd;
  margin-top: 1px;
}

.post-summary-bubble::after {
  border-top-color: #f5f5f5;
}

/* 記事 */
.wp-block-separator {
  border: none;
  height: 0;
  margin-top: 3em;
  margin-bottom: 3em;
}

p strong {
  font-weight: bold;
  color: #222;
}

.info-box {
  background: #fefefe;
  border-left: 4px solid #ccc;
  padding: 1em;
  margin: 2em 0;
  font-size: 14px;
  color: #444;
  line-height: 1.5;
  margin-bottom: 1.5em;
}

.play-label {
  display: inline-block;
  font-size: 11px;
  color: #666;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 2px 6px;
  margin-right: 6px;
  background: #fafafa;
}

.timestamp {
  font-family: monospace;
  font-size: 13px;
  color: #999;
  margin-left: 0.5em;
}

.mini-heading {
  font-size: 15px;
  color: #333;
  margin-top: 2.4em;
  margin-bottom: 0.6em;
  border-bottom: 1px solid #6c8ea4;
  padding-bottom: 0.4em;
  line-height: 1.4;
}

.scene-text {
  margin-top: 1em;
  line-height: 1.7;
}

.single-post .post-content
  p:has(> img.scene-img),
.single-post .post-content
  p:has(> div.video-wrapper) {
  margin: 0 !important;
}

.single-post .post-content
  p:has(> img.scene-img) + p:not(:has(*)) + p:has(> div.video-wrapper) {
  margin-top: 0 !important;
}

.single-post .post-content
  p:has(> img.scene-img) > br {
  display: none !important;
}

.mini-heading + p img.scene-img {
  margin-top: 1.7em !important;  
  margin-bottom: 0em;
}

/* 18禁 */
body.age-locked {
  overflow: hidden;
  height: 100vh;
}

#age-overlay,
.age-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(14px, 3.2vw, 28px) 14px;
  background: linear-gradient(180deg, rgba(21, 25, 31, 0.66) 0%, rgba(20, 24, 30, 0.78) 100%);
  backdrop-filter: blur(6px) saturate(108%);
  -webkit-backdrop-filter: blur(6px) saturate(108%);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

#age-overlay.hidden,
.age-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.age-modal {
  position: relative;
  width: min(92vw, 560px);
  border-radius: 16px;
  padding: clamp(20px, 3vw, 28px) clamp(16px, 3.4vw, 28px) clamp(16px, 2.6vw, 24px);
  background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(247,249,252,0.96) 100%);
  border: 1px solid rgba(108, 142, 164, 0.26);
  box-shadow: 0 22px 58px rgba(24, 30, 40, 0.34);
  text-align: center;
  animation: age-modal-in 0.26s cubic-bezier(0.22, 1, 0.36, 1);
}

.age-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(108, 142, 164, 0.3);
  background: linear-gradient(180deg, #fdfefe 0%, #f3f7fb 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82), 0 2px 8px rgba(84, 102, 124, 0.08);
  color: #4f6178;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.age-modal:focus {
  outline: none;
}

.age-text {
  color: #4f5a68;
  line-height: 1.7;
}

.age-text p {
  margin: 0;
  font-size: clamp(16px, 2.1vw, 20px);
  font-weight: 500;
  letter-spacing: 0.04em;
}

.age-text p + p {
  margin-top: 0.15em;
}

.age-note {
  margin-top: 10px;
  color: #6f7a88;
  font-size: 12px;
}

.age-actions {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.age-actions button {
  min-height: 48px;
  border-radius: 11px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.03em;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.age-actions .age-no {
  background: rgba(246, 247, 249, 0.96);
  color: #5f6875;
  border-color: rgba(108, 142, 164, 0.24);
}

.age-actions .age-no:hover {
  background: rgba(238, 241, 245, 0.98);
  transform: translateY(-1px);
}

.age-actions .age-yes {
  background: linear-gradient(180deg, #7f92ac 0%, #6c7f99 100%);
  color: #fff;
  box-shadow: 0 10px 24px rgba(108, 142, 164, 0.3);
}

.age-actions .age-yes:hover {
  background: linear-gradient(180deg, #7588a3 0%, #647690 100%);
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(108, 142, 164, 0.34);
}

.age-actions button:active {
  transform: translateY(0);
}

.age-actions button:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(108, 142, 164, 0.2);
}

@keyframes age-modal-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 520px) {
  .age-modal {
    border-radius: 14px;
  }

  .age-kicker {
    margin-bottom: 10px;
  }

  .age-text p {
    font-size: 15px;
  }

  .age-actions button {
    min-height: 44px;
    font-size: 14px;
    min-width: 120px;
    max-width: 170px;
    flex: 0 1 46%;
  }

  .age-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
  }
}

@media (max-width: 420px) {
  .age-modal {
    padding: 16px 14px 14px;
  }

  .age-actions {
    gap: 8px;
  }

  .age-actions button {
    min-width: 112px;
    max-width: 158px;
    flex-basis: 46%;
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #age-overlay,
  .age-overlay,
  .age-modal,
  .age-actions button {
    transition: none !important;
    animation: none !important;
  }
}

/* PC調整 */
@media (min-width: 1024px) {
  
  .post-summary-bubble {
    max-width: 740px;
    margin: 2em auto;
    font-size: 20px;
    line-height: 1.7;
  }

  .info-box {
    width: 80%;
    margin: 2em auto;
    line-height: 2.0;
  }

  .x-block {
    max-width: 680px;
    margin: 3em auto;
    text-align: center;
  }

  .x-block .x-btn {
    margin-top: 1em;
  }
}

/* アフィリ */
.affiliate-notice {
  background: #f9f9f9;
  color: #666;
  font-size: 12px;
  text-align: center;
  padding: 0.4em 1em;
  margin: 1.2em auto 1.6em auto;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  font-style: italic;
}


