/* =============================
  Global CSS Variables
============================= */
:root {
  /* Color Tokens */
  --color-text: #1c3133;
  --color-text-sub: #ffffff;
  --color-main: #47a0aa;
  --color-main-light: #f2f8f9;
  --color-bg-gray: #f8f8fa;
  --color-second: #999999;
  --color-third: #666666;
  --color-light: #eeeeee;
  --color-gray: #cccccc;
  --color-locondo: #fa7046;
  --color-cta: #F2B94D;
  --color-shadow: rgba(36, 50, 51, 0.15);
  --color-admin-primary: #2271b1;
  --color-button-blue: #1967d2;
  --color-button-iij: #d05e80;

  /* Typography Tokens */
  --font-base: "Zen Kaku Gothic New", "Outfit", sans-serif !important;
  --font-heading: "Outfit", sans-serif;
  --font-size-base: 1.4rem;
  --font-base-weight: normal;
  --font-normal-weight: 400;
  --font-sub-weight: 500;
  --font-bold-weight: 600;
  --font-strong-weight: 700;
  --line-height-base: 1.75;
  --line-height-wide: 2;
  --letter-space-normal: 0.05em;
  --letter-space-tight: 0.02em;
  --letter-space-wide: 0.08em;

  /* Border Radius Tokens - Primitive */
  --radius-4: 4px;
  --radius-6: 6px;
  --radius-8: 8px;
  --radius-10: 10px;
  --radius-16: 16px;
  --radius-100: 100px;
  --radius-full: 50%;

  /* Border Radius Tokens - Semantic (PC default) */
  --radius-thumbnail: var(--radius-6);
  --radius-button-primary: var(--radius-100);
  --radius-tag: var(--radius-16);
  --radius-badge: var(--radius-full);

  /* Layout Tokens */
  --max-width: 1280px;
  --bg-color: #ffffff;

  /* Header Heights for Scroll Offset */
  --header-height-sp: 56px;
  --header-height-pc: 100px;
}

/* 全要素リセット */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  list-style: none;
  line-height: 1;
}

/* ベース設定 */
html {
  font-size: 62.5%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height-sp); /* SP: 56px */
}
html,
body {
  height: 100%;
}
body {
  font-family: var(--font-base);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: var(--color-text);
  font-weight: var(--font-base-weight);
  font-style: normal;
  font-optical-sizing: auto;
  background: var(--bg-color);
  letter-spacing: var(--letter-space-normal);
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Zen Kaku Gothic New", "Outfit", sans-serif;
  margin: 0;
  padding: 0;
}

/* 初期（SP想定） */
.sp-only,
.pc-none {
  display: initial !important;
} /* SPだけ表示 / PCでは非表示 */
.pc-only,
.sp-none {
  display: none !important;
} /* PCだけ表示 / SPでは非表示 */
.tab-only {
  display: none !important;
} /* TBだけ表示（後でON） */
.tab-none {
  display: initial !important;
} /* TBで隠す（後でOFF） */

/* メディア要素 */
img {
  object-fit: cover;
}
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

/* フォーム */
input,
button,
textarea,
select {
  font: inherit;
  background: none;
  border: none;
  outline: none;
}

/* リンク */
a,
a:visited,
a:hover,
a:focus,
a:active {
  color: var(--color-text);
  text-decoration: none !important;
  transition: all 0.2s;
  overflow: hidden;
  cursor: pointer !important;
}
button{
  cursor: pointer !important;
}
input:focus,
button:focus {
  outline: none;
}
.ph.ph-caret-right:before {
  margin: 0 0.5em;
}
.ph.ph-list-magnifying-glass:before,
.ph.ph-x:before {
  font-size: 32px;
  color: var(--color-text) !important;
}

/* ================================
  全体
================================ */
main {
  display: block;
  width: 100%;
  height: auto;
}
.main-inner {
  display: flex;
  justify-content: flex-start;
  flex-flow: column;
  width: 100%;
  margin: 0 auto;
  gap: 20px;
}
.main-content {
  width: 100%;
  height: auto;
}
.pc_header {
  display: none !important;
}

/* ================================
  共通パーツ - 投稿一覧(記事下部のランキングなど含む)
================================ */
.article-listblock {
  width: 94%;
  height: auto;
  margin: 0 auto 40px;
}

/* セクション全体 */
.article-section {
  width: 100%;
  margin: 0 auto 60px auto;
}
/* タイトル */
.section-title {
  font-size: 22px;
  font-weight: var(--font-sub-weight);
  color: var(--color-text);
  border-bottom: solid 3px var(--color-main);
  padding-bottom: 6px;
  margin-bottom: 20px;
}
/* パターンA用: タイトル末尾のPR枠 */
.pr-badge-square {
  display: inline-block;
  font-size: 0.9em;
  margin-left: 10px;
  padding: 4px 8px;
  border-radius: var(--radius-4);
  background: var(--color-light);
}

/* 画像（センター表示・リサイズ対応） */
.article-hero,
.gallery-item__image {
  width: 100%;
  height: 262px;
  overflow: hidden;
  margin-bottom: 20px;
  border-radius: var(--radius-6);
}
.article-section > .section-image {
  width: 100%;
  margin-bottom: 20px;
}
.article-hero img,
.gallery-item__image img {
  width: 100%;
  height: 262px;
  object-fit: cover;
  object-position: center;
  display: block;
}
.article-section > .section-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* ===== PR記事専用: メイン画像の見切れ防止（モバイル） ===== */
.single-article .article-hero--pr {
  height: auto;
}

.single-article .article-hero--pr img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
}

/* 本文テキスト */
.section-text {
  font-size: var(--font-size-base);
  font-weight: var(--font-base-weight);
  line-height: var(--line-height-wide);
  letter-spacing: var(--letter-space-normal);
  color: var(--color-text);
  margin-bottom: 30px;
}
.article-note {
  font-size: 12px;
  font-weight: var(--font-base-weight);
  color: var(--color-text);
  margin: 15px 0 30px;
  line-height: 1.5em;
  border: solid 1px var(--color-gray);
  padding: 10px;
  border-radius: var(--radius-10);
}

/* postlist__title */
#postlist__head {
  width: 94%;
  margin: 0px auto 40px;
}
.postlist__count {
  font-size: 12px;
  font-weight: var(--font-strong-weight);
  color: var(--color-text);
  margin: 10px 0 30px;
  text-align: right;
}
.postlist__title {
  font-size: 24px;
  font-weight: var(--font-sub-weight);
  line-height: 1.5em;
  color: var(--color-text);
  padding-bottom: 0.4em;
  margin-bottom: 0;
  border-bottom: solid 3px var(--color-main);
}

/* section-title */
.article-listblock__title {
  margin-bottom: 20px;
}
.article-listblock__title .en {
  display: inline-block;
  width: 100%;
  font-family: var(--font-heading);
  font-weight: var(--font-sub-weight);
  font-size: 24px;
  color: var(--color-main) !important;
  margin: 0;
  letter-spacing: var(--letter-space-normal);
}
.article-listblock__title .ja {
  display: inline-block;
  width: 100%;
  font-size: 13px;
  font-weight: var(--font-sub-weight);
  color: var(--color-third);
  font-family: var(--font-base);
}

/* postlist */
#article-listblock {
  margin-bottom: 120px;
  width: 94%;
  margin: 0 auto 40px;
}
.article-list {
  width: 100%;
  height: auto;
  padding: 0 !important;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.ad-card {
  position: relative;
}
.ad-tag {
  position: absolute;
  z-index: 2;
  top: 5px;
  left: 6px;
  font-size: 10px;
  font-weight: var(--font-sub-weight);
  color: var(--color-text);
  background: var(--bg-color);
  padding: 4px 6px;
  line-height: 1em;
}
.article-card {
  position: relative;
  display: flex;
  width: 100%;
  height: auto;
}
.article-card a {
  position: relative;
  width: 100%;
  display: flex;
  flex-flow: row nowrap;
  justify-content: flex-start;
  gap: 15px;
  transition: all 0.2s;
}
.article-card a:hover {
  color: inherit;
  background-color: transparent;
  text-decoration: none;
  opacity: 0.7;
  transition: all 0.2s;
}
.article-card__thumb {
  position: relative;
  display: block;
  flex: 0 0 135px;
  overflow: hidden;
  width: 100%;
}

.ad-card .article-card__thumb img {
  aspect-ratio: 1 !important;
}

.article-card__thumb img {
  display: block;
  box-sizing: border-box;
  width: 100%;
  object-fit: cover;
  object-position: center center;
  aspect-ratio: 3 / 2 !important;
  overflow: hidden;
  border: solid 1px var(--color-light);
  border-radius: var(--radius-thumbnail);
}
.article-card__content {
  display: flex;
  flex-flow: column;
  gap: 5px;
  width: 100%;
  height: auto;
  font-size: 12px;
  line-height: var(--line-height-base);
  margin: 0;
}
.article-card__title {
  font-size: 13px;
  font-weight: var(--font-sub-weight);
  line-height: var(--line-height-base);
  letter-spacing:  0.1em;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
}
.article-card__desc,
.article-card__desc_ad {
  color: var(--color-second);
  font-size: 12px;
  font-weight: var(--font-sub-weight);
  line-height: var(--line-height-base);
  letter-spacing: var(--letter-space-normal);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
/* 広告は正方形 */
.ad-card .article-card__thumb {
  height: 135px;
  aspect-ratio: 1;
}

/* もっと見るボタン */
.article-list__btn-more {
  margin: 40px auto 0;
  display: block;
  text-align: center;
  width: 100%;
  border: 1px solid var(--color-gray);
  border-radius: var(--radius-button-primary);
  padding-block: 18px;
  font-weight: var(--font-sub-weight);
  transition: all 0.2s;
}
.article-list__btn-more:hover {
  color: var(--color-text-sub);
  background: var(--color-main);
  transition: all 0.2s;
}

@media screen and (max-width: 1023px) {
  .home .main-container {
    padding-top: 20px;
  }

  .article-list__btn-more {
    display: none;
  }
  .article-listblock .article-list__btn-more {
    display: block;
  }
}

/* スマホ時は無限スクロールのため「もっと見る」ボタンを非表示 */
@media screen and (max-width: 767px) {
  .article-list__btn-more,
  .article-listblock .article-list__btn-more,
  .load-more-btn,
  .load-more-wrapper {
    display: none !important;
  }
}

/* ランキング番号 */
.ranking-badge {
  position: absolute;
  top: 5px;
  left: 5px;
  background-color: var(--color-main) !important;
  color: var(--color-text-sub);
  font-size: 12px;
  font-weight: var(--font-strong-weight);
  width: 20px;
  height: 20px;
  text-align: center;
  line-height: 20px;
  border-radius: var(--radius-badge);
  z-index: 2;
}

@media screen and (max-width: 1023px) {
  #pickup {
    display: none;
  }
}
/* ================================
    共通パーツ - トピックス・レコメンド
================================ */
/* 人気トピックス */
.topics-list {
  width: 100%;
  height: auto;
  display: flex;
  justify-content: space-between;
  flex-flow: column;
  margin: 0 auto 40px;
  padding: 0;
}
.topics-card {
  width: 100%;
  height: auto;
  margin: 0;
  border-top: solid 1px #dcdcdc;
  border-bottom: solid 1px #dcdcdc;
  padding: 0.5em 0;
}
.topics-card:first-child,
.topics-card:nth-child(2) {
  border-bottom: none !important;
}
.topics-card a {
  width: 100%;
  height: auto;
}
.topics-card__content {
  width: 100%;
  color: var(--color-second);
  font-size: 12px;
  line-height: var(--line-height-base);
  margin: 0;
}
.topics-card__title {
  color: var(--color-text);
  font-size: 15px;
  font-weight: var(--font-sub-weight);
  line-height: 1.5;
  text-align: left;
  margin-bottom: 10px;
}
.topics-card__text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  font-size: 14px;
  font-weight: var(--font-sub-weight);
  line-height: 1.5;
  text-align: left;
  margin: 0;
}
.topics-card__pr {
  font-size: 12px;
  color: var(--color-second);
  line-height: 1.3;
  text-align: right;
}
/* 人気トピックスここまで */

/* レコメンド */
.recommend__list {
  width: 100%;
  height: auto;
  display: flex;
  justify-content: flex-start;
  flex-flow: row wrap;
  gap: 5px;
  list-style: none;
  padding: 0;
}
.recommend-card {
  width: calc((100% - 5px) / 2);
  height: auto;
  margin-bottom: 20px;
}
.recommend-card a {
  width: 100%;
  display: flex;
  flex-flow: column;
  justify-content: space-between;
  gap: 10px;
}
.recommend-card__thumb {
  width: 180px;
  height: 122px;
  flex-shrink: 0;
  overflow: hidden;
}
.recommend-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: solid 1px var(--color-light);
  box-sizing: border-box;
  border-radius: var(--radius-thumbnail);
}
.recommend-card__content {
  width: 100%;
  height: auto;
}
.recommend-card__content {
  width: 100%;
  color: var(--color-second);
  font-size: 12px;
  line-height: var(--line-height-base);
  margin: 0;
}
.recommend-card__title {
  color: var(--color-text);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  font-size: 12px;
  font-weight: var(--font-sub-weight);
  line-height: 1.6;
  overflow: hidden;
  text-align: left;
}
.recommend-card__pr {
  font-size: 12px;
  color: var(--color-second);
  line-height: 1.3;
  overflow: hidden;
  text-align: left;
}
/* レコメンド ここまで */

/* 関連するキーワード */
.related-keywords {
  margin-bottom: 30px;
  text-align: center;
}
.related-keywords h3 {
  font-family: var(--font-heading);
  font-weight: var(--font-strong-weight);
  font-size: 12px;
  color: var(--color-main);
  letter-spacing: var(--letter-space-normal);
  text-align: left;
  margin-bottom: 20px;
}
.keyword__list {
  width: 100%;
  display: flex;
  justify-content: flex-start;
  flex-flow: row wrap;
  padding: 0;
  margin: 0;
  gap: 8px;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

/* .keyword__list.collapsed {
  max-height: 5.5em;
}
.keyword__list.expanded {
  max-height: 1000px;
} */
.toggle-button {
  display: none !important;
  /* background: none;
  border: none;
  color: var(--color-text);
  font-weight: var(--font-strong-weight);
  cursor: pointer;
  margin-top: 20px;
  font-size: 14px;
  display: inline-block; */
}
.keyword__list li {
  font-size: 13px !important;
  color: var(--color-text);
  border: solid 1px var(--color-light);
  border-radius: var(--radius-tag);
}
.keyword__list li a {
  display: block;
  text-decoration: none;
  font-weight: var(--font-base-weight);
  letter-spacing: var(--letter-space-normal);
  margin: 0 !important;
  padding: 6px 10px;
  border-radius: var(--radius-tag);
}
.keyword__list li a:hover {
  transition: all 0.2s;
  background: var(--color-main);
  color: var(--color-text-sub);
  text-decoration: none !important;
}
/* クエリパラメータ形式のリンクを持つキーワードリスト項目を非表示 */
.keyword__list li:has(a[href*="?article_tag="]) {
  display: none;
}
/* 関連するキーワードここまで */

/* ランキング番号 */
.ranking-badge {
  position: absolute;
  top: 5px;
  left: 5px;
  background-color: var(--color-main) !important;
  color: var(--color-text-sub);
  font-size: 12px;
  font-weight: var(--font-strong-weight);
  width: 20px;
  height: 20px;
  text-align: center;
  line-height: 20px;
  border-radius: var(--radius-badge);
  z-index: 2;
}

/* ================================
  パンくず
================================ */
.breadcrumb {
  width: 94%;
  margin: 0 auto 10px;
  font-size: 14px;
}
.breadcrumb ul {
  padding: 20px 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  font-size: 12px;
  line-height: 1.4em;
  min-width: 0;
}
.breadcrumb li {
  display: flex;
  align-items: center;
  min-width: 0;
}
.breadcrumb li a,
.breadcrumb li.breadcrumb_active {
  color: var(--color-second);
  text-decoration: none;
  min-width: 0;
  word-break: break-word;
  line-height: var(--line-height-base);
}
.breadcrumb a:hover {
  text-decoration: underline;
}
/*　パンくず */

/* ================================
    ヘッダー
================================ */
.header__inner {
  width: 100%;
  height: auto;
  display: flex;
  justify-content: space-between;
  flex-flow: row nowrap;
}
.sp_header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 56px;
  padding: 0 16px;
  background: var(--bg-color);
  margin-bottom: 10px;
}
.header__logo {
  width: 116px;
  height: 31px;
}
.menu-button {
  background: none;
  border: none;
  padding: 0;
  width: 32px;
  height: 32px;
}
.menu-button__icon,
.drawer__close-icon {
  width: 32px;
  height: 32px;
}

/*　ハンバーガーメニュー　*/
.drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: var(--bg-color);
  transition: right 0.4s ease;
  z-index: 1000;
}
.drawer.is-open {
  right: 0;
}
.drawer__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 56px;
  padding: 0 16px;
  border-bottom: 1px solid var(--color-light);
}
.drawer__logo {
  width: 116px;
  height: 31px;
}
.drawer__close-button {
  background: none;
  border: none;
  padding: 0;
}
.drawer__close-icon {
  width: 32px;
  height: 32px;
}
.drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100%;
  background: var(--bg-color);
  transition: right 0.3s ease;
  overflow-y: auto;
  z-index: 1000;
}
.drawer.is-open {
  right: 0;
  background: var(--color-bg-gray);
}
.search-box {
  display: flex;
  background: var(--bg-color);
  width: 90%;
  margin: 20px auto;
  border: solid var(--color-light) 1px;
  box-sizing: border-box;
  border-radius: var(--radius-8);
}
.search-box__input {
  width: 100%;
  height: 52px;
  padding: 0 0 0 16px;
  font-size: 14px;
  border: none;
}
.search-box__btn {
  background: none;
  border: none;
  padding: 0 16px;
  font-size: 20px;
}
.search-box__btn svg {
  width: 30px;
  height: auto;
}
.sp-menu__title {
  font-size: 16px;
  margin-bottom: 20px;
  display: flex;
  justify-content: flex-start;
  flex-flow: row nowrap;
  font-family: var(--font-heading);
  font-weight: var(--font-sub-weight);
  letter-spacing: var(--letter-space-normal);
  align-items: baseline;
}
.sp-menu__title span {
  font-size: 10px;
  display: block;
  color: var(--color-second);
  margin-left: 10px;
}
.drawer__inner .hotwords {
  width: 90%;
  height: auto;
  margin: 0 auto 30px;
}
.hotwords__list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0;
  list-style: none !important;
  width: 100%;
  margin: 0 auto 30px;
}
.hotwords__tag {
  height: auto;
  background: var(--bg-color);
  border-radius: var(--radius-tag);
  border: solid 1px var(--color-light);
  color: var(--color-text);
  font-size: 13px;
  background: var(--bg-color);
  border-radius: var(--radius-tag);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hotwords__tag a {
  padding: 5px 12px;
  width: 100%;
  align-items: center;
}
.category-list {
  padding: 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  flex-flow: row wrap;
  width: 90%;
  gap: 0px;
  height: auto;
  margin: 0 auto 40px;
  border-top: 1px solid var(--color-light);
}
.category-list li {
  width: calc((100% - 10px) / 2);
  height: 56px;
  line-height: 56px;
  border-bottom: 1px solid var(--color-light);
}
.category-list li a {
  color: var(--color-text);
  font-size: 14px;
  font-weight: var(--font-strong-weight);
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}
.category-list li a span {
  color: var(--color-second);
}
.banner-area {
  width: 90%;
  height: auto;
  margin: 0 auto 30px;
  display: flex;
  flex-flow: column;
  gap: 15px;
}
.banner-area img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-4);
}
.banner-area__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
/* =============================
   Header SNS (Drawer Menu) - 固有スタイル
============================= */
.sns-section {
  width: 90%;
  height: 130px;
  margin: 0 auto 30px;
  padding: 1em;
  background: var(--bg-color);
  border-radius: var(--radius-8);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.sns-section h2.sp-menu__title {
  display: inline-flex;
}
.sns-section__inner {
  width: 75%;
  justify-content: space-between; /* 共通のcenterを上書き */
  flex-flow: row nowrap;
  margin: 0 auto;
}
.app-section {
  width: 90%;
  height: 130px;
  margin: 0 auto 30px;
  border: solid 1px #d8ebe7;
  background: #f0fafa;
  border-radius: var(--radius-8);
}
.app-section__inner {
  display: flex;
  justify-content: space-between;
  flex-flow: row nowrap;
  padding: 1em;
  gap: 15px;
}
#sp_icon_app {
  width: 100px;
  height: 100px;
  display: block;
}
.app-section__content {
  width: 65%;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: flex-start;
}
.app-section__content h3 {
  font-size: 18px;
  font-weight: var(--font-sub-weight);
  color: var(--color-main) !important;
  margin-bottom: 5px;
}
.app-section__content p {
  font-size: 11px;
  color: var(--color-main) !important;
  margin: 0 0 15px;
}
.app-icons {
  display: flex;
  justify-content: flex-start;
  flex-flow: row nowrap;
  gap: 10px;
}
.app-icons a {
  display: block;
}
.app-icons img {
  width: auto;
  height: 30px !important;
}
.bottom-wrapper {
  width: 100%;
  height: auto;
  margin-bottom: 40px;
}
.bottom-category {
  width: 90%;
  height: auto;
  display: flex;
  justify-content: flex-start;
  flex-flow: row wrap;
  list-style: none;
  margin: 0 auto 10px;
  padding: 0 !important;
  gap: 0 12px;
  /* 横間隔に余裕があれば指定 */
  position: relative;
}
.bottom-category li a {
  position: relative;
  padding-right: 12px;
  text-decoration: none;
  color: var(--color-second);
  font-size: 13px;
  font-weight: var(--font-sub-weight);
  line-height: 2.4em;
}
/* すべてのリンクの後ろに縦線を表示（li::afterに変更して外部リンクアイコンと競合しないように） */
.bottom-category li::after {
  content: "|";
  color: var(--color-second);
  margin: 0 12px 0 0;
}
/* 最後の li だけは縦線を消す */
.bottom-category li:last-child::after {
  content: none;
}
/*　ハンバーガーメニューここまで　*/

.pc_header {
  display: none !important;
}
.sp-global-nav {
  z-index: 1000;
  position: relative;
  display: flex;
  overflow-x: auto;
  overflow-y: clip;
  padding: 8px 12px;
  white-space: nowrap;
  background: var(--bg-color);
  align-items: end;
  padding: 0;
  height: auto;
  box-shadow: 0px 10px 20px -15px var(--color-shadow);
}
.nav-btn {
  display: inline-block;
  border-top: 1px solid #f1f1ee;
  border-right: 1px solid #f1f1ee;
  border-left: 1px solid #f1f1ee;
  border-bottom: none !important;
  border-radius: 8px 8px 0 0;
  box-shadow: 2px 0px 5px rgba(0, 0, 0, 0.08);
  transition: all 0.2s ease;
  font-size: 12px;
  font-weight: var(--font-strong-weight);
  color: var(--color-main) !important;
  padding: 0 17px;
  height: 34px;
  line-height: 34px;
  background: var(--bg-color);
  cursor: pointer;
  flex-shrink: 0;
}
.nav-btn.active {
  background: var(--color-main);
  font-size: 13px;
  font-weight: var(--font-strong-weight);
  color: var(--color-text-sub) !important;
  height: 38px;
  line-height: 38px;
  box-shadow: 2px 0px 5px rgba(0, 0, 0, 0.08);
}

/* ================================
    sidebar
================================ */
.sidebar-banner {
  display: flex;
  flex-flow: column;
  gap: 20px;
  width: 94%;
  margin: 30px auto 40px;
}

@media (max-width: 768px) {
  .sidebar-banner {
    display: flex;
    flex-flow: column;
    gap: 20px;
    width: 90%;
    margin: 30px auto 40px;
  }
}

.sidebar-banner__list {
  display: flex;
  gap: 12px;
  flex-direction: column;
  align-items: center;
}

.sidebar-banner a {
  transition: opacity 0.2s ease;
}

.sidebar-banner a:hover {
  opacity: 0.7;
}

.sidebar-banner a img{
  border-radius: var(--radius-thumbnail);
  width: 100%;
}

.sidebar-title_head {
  display: flex;
  justify-content: space-between;
  flex-flow: row nowrap;
  align-items: baseline;
  margin: 20px 0;
}

.sidebar-title {
  font-family: var(--font-heading);
  font-weight: var(--font-bold-weight);
  font-size: 18px;
  color: var(--color-text);
  letter-spacing: var(--letter-space-normal);
  margin: 0;
}

.sidebar-title span {
  font-size: 10px !important;
  margin-left: 10px;
}

.more-link {
  font-size: 12px !important;
  font-weight: var(--font-strong-weight);
  color: var(--color-main) !important;
  display: flex;
  align-items: center;
}

.sidebar-info {
  width: 94%;
  margin: 0 auto;
}

.sidebar-info__list {
  width: 100%;
  height: auto;
  margin: 0 !important;
  padding: 0 !important;
}

.sidebar-info__list li {
  margin-bottom: 20px;
}

.sidebar-info__list li a span {
  font-weight: var(--font-base-weight);
  font-size: 12px;
  color: var(--color-second);
  letter-spacing: var(--letter-space-normal);
  text-decoration: none !important;
  display: block;
  line-height: 1em;
  margin: 0 0 10px;
}

.sidebar-info__list li a h3 {
  font-weight: var(--font-bold-weight);
  font-size: 14px;
  font-family: var(--font-base);
  color: var(--color-text);
  letter-spacing: var(--letter-space-normal);
  text-decoration: underline;
  margin: 0;
  text-underline-offset: 5px;
  line-height: var(--line-height-base);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
}

.sidebar-info__list li a h3:hover {
  transition: all 0.2s;
  color: var(--color-main) !important;
  text-decoration: none !important;
}

.uk-icon svg {
  width: 14px !important;
  height: auto;
}

.sidebar-magazine {
  width: 100%;
  height: auto;
  margin: 0 !important;
  padding: 0 0 1em !important;
  background: var(--color-main-light);
  border-radius: var(--radius-6);
}
.latest-card {
  position: relative;
}
h2.widget-title {
  position: absolute;
  top: 10px;
  right: 14px;
}
.sidebar-magazine .sidebar-magazine__img {
  width: 100%;
  height: auto;
  margin: 30px auto 10px;
  padding: 3em 0 0;
}
.sidebar-magazine .sidebar-magazine__img img {
  width: 80%;
  margin: 0 auto 30px;
}

.sidebar-magazine__textbox {
  width: 90%;
  height: auto;
  margin: 0 auto;
}

.sidebar-magazine h4 {
  font-size: 18px;
  font-weight: var(--font-strong-weight);
  color: var(--color-text);
  letter-spacing: var(--letter-space-normal);
  margin: 0 0 10px;
  font-family: "Zen Kaku Gothic New", sans-serif !important;
}

.sidebar-magazine p {
  font-size: 12px;
  font-weight: var(--font-sub-weight);
  color: var(--color-text);
  letter-spacing: var(--letter-space-normal);
  line-height: 2em;
  margin: 0 !important;
}

.btn_magazine {
  display: block;
  width: 200px;
  height: 50px;
  border: solid 1px var(--color-main);
  color: var(--color-text);
  border-radius: 25px;
  margin: 20px auto 30px;
  font-size: 14px;
  font-weight: var(--font-strong-weight);
  text-align: center;
  line-height: 50px;
}

.btn_magazine:hover {
  transition: all 0.2s;
  background: var(--color-main);
  color: var(--color-text-sub);
  border: solid 1px var(--bg-color);
  text-decoration: none !important;
}

.sidebar-hotwords {
  width: 94%;
  margin: 30px auto 40px;
}

.hotwords__list {
  width: 100%;
  height: auto;
  display: flex;
  flex-flow: row wrap;
  margin: 0 !important;
  padding: 0 !important;
  gap: 10px;
  list-style: none;
}
.hotwords__list li {
  font-size: 13px !important;
}
.hotwords__list li a {
  display: block;
  font-size: 13px;
  font-weight: var(--font-base-weight);
  color: var(--color-text);
  padding: 6px 10px;
  letter-spacing: var(--letter-space-normal);
  margin: 0 !important;
  border: solid 1px var(--color-light);
  border-radius: 15px;
}
.hotwords__list li a:hover {
  transition: all 0.2s;
  background: var(--color-main);
  color: var(--color-text-sub);
  text-decoration: none !important;
}

/* ================================
    フッター
================================ */

footer{
  background-color: var(--color-bg-gray) !important;
}

.footer-app{
  display: none !important;
}

.footer-nav {
  display: block;
  width: 100%;
}

.footer-wrap {
  width: 90%;
  margin: 0 auto;
  padding: 50px 0 20px;
}

.footer-content {
  display: flex;
  flex-flow: column;
  justify-content: space-between;
  padding: 0;
  font-size: 14px;
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 30px;
}

.accordion-item {
  border-bottom: 1px solid var(--color-light);
}

/* 開いているときは下線を消す */
.accordion-item:has(.accordion-content.is-active) {
  border-bottom: none;
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 20px 10px;
  border: none;
  color: var(--color-text);
  font-size: 16px;
  font-weight: var(--font-sub-weight);
  text-align: left;
  align-items: center;
  transition: color 0.2s;
}

.accordion-header:hover,
.accordion-header:has(+ .accordion-content.is-active) {
  color: var(--color-main);
  transition: color 0.2s;
}

.accordion-header .icon {
  font-size: 20px;
  display: inline-block;
}

.accordion-header .icon i {
  position: relative;
  display: inline-block;
  width: 16px;
  height: 16px;
  vertical-align: middle;
  color: var(--color-second);
}

/* 横棒(常に表示) */
.accordion-header .icon i::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  transform: translateY(-50%);
}

.accordion-header .icon i::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  width: 2px;
  height: 100%;
  background: currentColor;
  transform: translateX(-50%);
  transition: transform 0.3s ease;
}

.accordion-header:has(+ .accordion-content.is-active) .icon i::after {
  transform: translateX(-50%) rotate(90deg);
}

.accordion-content {
  display: none;
  padding: 0;
  gap: 0 15px;
  grid-template-columns: repeat(2, 1fr);
  list-style: none;
  background: var(--bg-color);
  border-bottom: none;
  border-radius: var(--radius-6);
}

/* jQueryがdisplay: blockを設定した後、gridに上書き */
.accordion-content[style*="display: block"],
.accordion-content[style*="display: list-item"] {
  display: grid !important;
  padding: 5px 20px;
}

.accordion-item .ph.ph-caret-right:before{
  margin: 0;
}

.accordion-content li {
  font-size: 14px;
  border-bottom: solid 1px var(--color-light);
  display: flex;
  flex-flow: column;
  justify-content: center;
}
.accordion-content li:nth-last-of-type(-n+2){
  border-bottom: none;
}

.accordion-content li a {
  display: flex;
  justify-content: space-between;
  flex-flow: row nowrap;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: var(--font-sub-weight);
  color: var(--color-main);
  line-height: 1.4;
  padding: 18px 5px;
}

.footer-bottom-area {
  display: flex;
  flex-flow: column;
  justify-content: space-between;
  margin: 50px auto 30px;
  gap: 30px;
}

/* =============================
   SNS Component - 共通スタイル
============================= */
/*
 * 全てのSNSコンポーネント（header, footer, about）で共有される基本スタイル
 * コンテキスト固有の差分は各セクションで上書き
 */

/* タイトル共通スタイル */
.sns-section h2.sp-menu__title,
.footer-sns-title,
.about-sns-title {
  font-weight: var(--font-strong-weight);
  font-size: 16px;
  color: var(--color-second);
  margin-bottom: 20px;
  letter-spacing: var(--letter-space-normal);
}

.sns-section h2.sp-menu__title span,
.footer-sns-title .small,
.about-sns-title .small {
  font-size: 12px;
  color: var(--color-second);
  margin-left: 4px;
}

/* アイコンコンテナ共通スタイル */
.sns-section__inner,
.footer-sns-icons,
.about-sns-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
}

/* アイコン画像共通スタイル */
.sns-section__inner a img,
.footer-sns-icons a img,
.about-sns-icons a img {
  transition: opacity 0.2s ease;
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.sns-section__inner a:hover img,
.footer-sns-icons a:hover img,
.about-sns-icons a:hover img {
  opacity: 0.6;
}

/* Xアイコンのみサイズ調整 */
.sns-section__inner a img[alt="X"],
.footer-sns-icons a img[alt="X"],
.about-sns-icons a img[alt="X"] {
  width: 26px;
  height: 26px;
}

/* =============================
   Footer SNS - 固有スタイル
============================= */
.footer-sns {
  width: 100%;
  height: auto;
  background: var(--bg-color);
  border-radius: var(--radius-8);
  padding-block: 25px;
  text-align: center;
}

/* APP */
.footer-app {
  height: auto;
  background: #f0fafa;
  border-radius: var(--radius-6);
  padding: 20px 30px;
  display: flex;
  align-items: center;
  border: solid 1px #d8ebe7;
}
.app-box {
  display: flex;
  align-items: center;
  gap: 16px;
}
.app-logo {
  width: 80px;
  height: 80px;
  border-radius: 10px;
  background: var(--bg-color);
  padding: 6px;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.1);
}
.app-text .app-title {
  font-weight: var(--font-strong-weight);
  font-size: 16px;
  color: #00a0a0;
  margin: 0;
  letter-spacing: var(--letter-space-normal);
}
.app-text .app-caption {
  font-size: 11px;
  color: #00a0a0;
  margin: 4px 0;
}
.app-buttons {
  width: 135px;
  height: 20px;
  display: flex;
  justify-content: space-between;
  flex-flow: row nowrap;
}
.app-buttons a {
  width: 135px;
  height: 20px;
  display: block;
  transition: opacity 0.2s ease;
}
.app-buttons img {
  height: 20px;
  width: auto;
}
.app-buttons a:hover {
  opacity: 0.5;
}
#appstore_badge {
  width: auto;
}
#googleplay_badge {
  width: auto;
}

.footer-meta-links {
  display: flex;
  flex-flow: column;
  justify-content: flex-start;
  gap: 10px;
}
.footer-meta-links ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 12px;
  font-weight: var(--font-sub-weight);
  color: var(--color-second);
}
.footer-meta-links li::after {
  content: "|";
  margin: 0 7px;
  color: var(--color-gray);
}
.footer-meta-links li:last-child::after {
  content: "";
}
.footer-meta-links a {
  font-size: 12px !important;
  text-decoration: none;
  color: var(--color-second);
  line-height: 2;
  font-weight: var(--font-sub-weight);

}
.footer-meta-links a:hover,
.footer-column li a:hover {
  transition: all 0.2s;
  color: var(--color-main) !important;
  text-decoration: none !important;
}

/* 外部リンクアイコン（Footer & Header） */
/* PDFファイルへのリンクは除外 */
/* アイコン色はテキストカラー（var(--color-second) = #999999）に合わせる */
.footer-meta-links a[target="_blank"]:not([href$=".pdf"])::after,
.bottom-category a[target="_blank"]:not([href$=".pdf"])::after {
  content: "";
  display: inline-block;
  width: 1.2em;
  height: 1.2em;
  margin-left: 0.25em;
  vertical-align: -0.1em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23999999' viewBox='0 0 256 256'%3E%3Cpath d='M224,104a8,8,0,0,1-16,0V59.32l-66.33,66.34a8,8,0,0,1-11.32-11.32L196.68,48H152a8,8,0,0,1,0-16h64a8,8,0,0,1,8,8Zm-40,24a8,8,0,0,0-8,8v72H48V80h72a8,8,0,0,0,0-16H48A16,16,0,0,0,32,80V208a16,16,0,0,0,16,16H176a16,16,0,0,0,16-16V136A8,8,0,0,0,184,128Z'%3E%3C/path%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* Hover時はテキストと同じ色（var(--color-main) = #47a0aa）に変更 */
.footer-meta-links a[target="_blank"]:not([href$=".pdf"]):hover::after,
.bottom-category a[target="_blank"]:not([href$=".pdf"]):hover::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2347a0aa' viewBox='0 0 256 256'%3E%3Cpath d='M224,104a8,8,0,0,1-16,0V59.32l-66.33,66.34a8,8,0,0,1-11.32-11.32L196.68,48H152a8,8,0,0,1,0-16h64a8,8,0,0,1,8,8Zm-40,24a8,8,0,0,0-8,8v72H48V80h72a8,8,0,0,0,0-16H48A16,16,0,0,0,32,80V208a16,16,0,0,0,16,16H176a16,16,0,0,0,16-16V136A8,8,0,0,0,184,128Z'%3E%3C/path%3E%3C/svg%3E");
}

/* SNSアイコンリンクには外部リンクアイコンを表示しない */
.footer-sns-icons a::after,
.sns-section__inner a::after {
  content: none;
}

.footer-copyright {
  display: flex;
  flex-flow: column;
  align-items: flex-start;
  gap: 20px;
  text-align: center;
  font-size: 10px;
  color: var(--color-second);
}
.footer-copyright .notice {
  line-height: 1.5;
  display: inline-block;
  margin: 0;
  font-size: 11px;
  font-weight: var(--font-base-weight);
  color: var(--color-second);
  text-align: left;
  padding: 6px 12px;
  border: 1px solid var(--color-gray);
  border-radius: var(--radius-4);
}

/*　footerここまで　*/

/* =============================
    Footer - スマホ用スタイル (768px未満)
============================= */
@media screen and (max-width: 767px) {
  .footer-nav {
    width: 100%;
    display: block;
  }

  .accordion-content[style*="display: block"],
  .accordion-content[style*="display: list-item"] {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 8px 20px;
  }

  .accordion-content li {
    border-bottom: solid 1px var(--color-light) !important;
  }

  .accordion-content li:last-child {
    border-bottom: none !important;
  }

  .accordion-content li a {
    padding: 16px 5px;
  }

  .accordion-content li a:hover {
    background-color: var(--color-main-light);
    border-radius: var(--radius-4);
  }

  .footer-sns-app-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .footer-app {
    display: none !important;
  }
}

/* ================================
    LOGLY クレジット
================================ */
.logly-lift-credit2 {
  clear: both;
  padding: 0 8px 10px;
  text-align: right;
}
.logly-lift-credit2 a {
  color: var(--color-second);
  text-decoration: none;
  font-size: 11px;
}
.logly-lift-credit2 a .logly-lift-credit-logo {
  display: inline-block;
  color: transparent;
  margin-left: 3px;
  vertical-align: middle;
  margin-top: -2px;
}
.logly-lift-credit2 a .logly-lift-credit-logo {
  background-position: 0 -110px;
  height: 14px;
  width: 68px;
}

.logly-lift-credit2 a .logly-lift-credit-logo {
  background-image: url(https://cdn.logly.co.jp/spritesource-v74j50a002.webp);
  background-repeat: no-repeat;
}

/* ================================
    Rinker アフィリエイト
================================ */
.yyi-rinker-contents .credit-box,
.yyi-rinker-contents .price-box > span:not(.price) {
  display: none !important;
}

ul.yyi-rinker-links li.freelink4 a{
  background-color: var(--color-locondo) !important;
}

/* =============================
    Tablet styles overwrite
============================= */
@media screen and (min-width: 768px) {

  .article-hero {
    width: 100%;
    height: 440px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f5f5f5;
    position: relative;
    border-radius: var(--radius-10);
  }
  .article-section > .section-image {
    width: 100%;
    height: auto;
    overflow: hidden;
    display: block;
  }
  .article-hero img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  .article-section > .section-image img {
    width: 100%;
    height: auto;
    display: block;
  }

  /* PR記事専用: メイン画像の見切れ防止（デスクトップ） */
  .single-article .article-hero--pr {
    height: auto;
    align-items: flex-start;
  }

  .single-article .article-hero--pr img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
    position: static;
    transform: none;
  }

  .childtag-ranking {
    width: 94%;
    height: auto;
    display: flex;
    justify-content: space-between;
    flex-flow: row wrap;
    gap: 20px;
    margin: 0 auto;
  }
  .recommend__list {
    gap: 5px;
  }
  #article-detail-area,
  .lower-contents {
    width: 80%;
    margin: 0 auto;
  }
  .article-listblock {
    width: 100%;
  }
  .recommend-card {
    width: calc((100% - 15px) / 4);
    height: auto;
    margin-bottom: 20px;
  }
  .sp-global-nav {
    justify-content: center;
  }
  .drawer__inner .hotwords {
    width: 90%;
    margin: 0 auto;
  }
  .banner-area {
    width: 90%;
    height: auto;
    margin: 0 auto 30px;
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    gap: 15px;
  }
  .banner-area a {
    width: 48%;
    height: auto;
    display: block;
  }
  .app-section,
  .sns-section {
    width: 50%;
    height: 130px;
  }
  .sidebar {
    margin-bottom: 40px;
  }

  .sidebar-banner {
    display: flex;
    flex-flow: column;
    gap: 30px;
    width: 50%;
    margin: 50px auto 0px;
  }

  .sidebar-magazine__img img,
  .sidebar-banner img {
    margin: 0 auto !important;
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--radius-6);
  }

  .sidebar-magazine__textbox {
    text-align: center;
  }

  .sidebar-hotwords,
  .sidebar-info {
    width: 100%;
  }

  .sidebar-title_head,
  .sidebar-info__list,
  .hotwords__list {
    width: 50%;
    margin: 0 auto !important;
  }

  .sidebar-title_head {
    padding-top: 3em;
    margin-bottom: 10px !important;
  }

  .hotwords__list,
  .sidebar-info__list {
    padding-bottom: 3em !important;
  }

  .hotwords__list li a {
    background: var(--bg-color);
  }

  .sidebar-magazine__img {
    width: 84% !important;
    margin: 0px auto 24px !important;
  }

  .sidebar-title {
    font-size: 20px;
  }

  .logly-lift-credit2 {
    margin: 0 auto;
  }

  /* footer */
  .footer-nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 20px;
  }
  .accordion-content[style*="display: block"],
  .accordion-content[style*="display: list-item"] {
    gap: 8px;
    padding: 8px;
  }
  .accordion-content li{
    border-bottom: none !important;
  }
  .accordion-content li a{
    padding: 16px 12px;
  }
  .accordion-content li a:hover{
    background-color: var(--color-main-light);
    border-radius: var(--radius-4);
  }
}

/* =============================
    PC styles overwrite
============================= */
@media screen and (min-width: 1024px) {
  .sp_header,
  .sp-global-nav,
  .drawer,
  .drawer__header,
  .drawer__logo,
  .sp-global-nav,
  .sp_footer,
  .toggle-button {
    display: none !important;
  }

  .pc-footer,
  .pc_header {
    display: block !important;
  }

  .sp-only,
  .pc-none {
    display: none !important;
  }
  .pc-only,
  .sp-none {
    display: initial !important;
  }


  /* 表示方式の上書きショートカット */
  .pc-flex {
    display: flex !important;
  }
  .pc-inline {
    display: inline !important;
  }
  .pc-inlineblock {
    display: inline-block !important;
  }

  /* stickyヘッダーが機能するように html/body の height を上書き */
  html {
    height: auto !important;
    min-height: 100vh;
    scroll-padding-top: var(--header-height-pc); /* PC: 100px */
  }

  body {
    height: auto !important;
    min-height: 100vh;
  }

  /* ================================
    共通パーツ
================================ */
  .site-header {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-color);
    box-shadow: 0px -15px 10px 15px var(--color-shadow);
    z-index: 1000;
    position: -webkit-sticky; /* Safari対応 */
    position: sticky;
    top: 0;
    width: 100%;
    will-change: box-shadow;
    backface-visibility: hidden;
    -webkit-font-smoothing: subpixel-antialiased;
  }

  .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }

  .pc_header .container {
    width: 94%;
    padding: 24px 0;
    transition: padding 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: padding;
  }

  /* スクロール時: padding小さめ */
  .pc_header.scrolled .container {
    padding: 14px 0;
  }

  .site-logo {
    width: 160px;
    /* background削除: imgタグと重複するため */
    text-indent: 0; /* text-indent解除 */
    overflow: visible; /* overflow解除 */
  }
  .pc_header .container .site-logo a {
    width: 160px;
    display: block;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: width;
  }
  .pc_header .container .site-logo a:hover {
    opacity: 0.8;
  }
  .pc_header.scrolled .container .site-logo a {
    width: 130px;
  }

  .header-utilities {
    display: flex;
    align-items: center;
    gap: 16px;
  }

  .btn-ranking {
    background-color: #f0f0f0;
    border-radius: var(--radius-4);
    padding: 8px 12px;
    font-weight: var(--font-strong-weight);
  }

  .search-form {
    position: relative;
    display: flex;
    align-items: baseline;
  }

  .search-form input {
    width: 220px;
    height: 44px;
    padding: 0 40px 0 14px;
    font-size: 13px;
    border-radius: var(--radius-8);
    background-color: var(--color-bg-gray);
  }

  .search-form button {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
  }

  .visually-hidden {
    position: absolute;
    clip: rect(0 0 0 0);
    width: 1px;
    height: 1px;
    overflow: hidden;
  }

  .container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    padding: 20px;
    box-sizing: border-box;
  }

  /* ================================
      共通パーツ - 投稿一覧系
  ================================ */
  /* postlist__title */
  #postlist__head {
    width: 100%;
    margin: 0 0 40px;
  }
  .postlist__count {
    font-size: 12px;
    font-weight: var(--font-strong-weight);
    color: var(--color-text);
    margin: 10px 0 30px;
    text-align: right;
  }
  .postlist__title {
    font-size: 24px;
    font-weight: var(--font-sub-weight);
    line-height: 1.5em;
    color: var(--color-text);
    padding-bottom: 0.4em;
    margin-bottom: 0;
    border-bottom: solid 3px var(--color-main);
  }

  /* postlist */
  #article-listblock {
    margin: 0 0 60px;
  }
  .article-list {
    width: 100%;
    height: auto;
    padding: 0 !important;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 30px;
  }
  .article-card a {
    width: 100%;
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-start;
    gap: 20px;
  }
  .article-card__thumb,
  .ad-card .article-card__thumb{
    flex: 0 0 160px;
    width: 160px;
  }
  .ad-card .article-card__thumb{
    aspect-ratio: 1;
    height: 160px;
  }
  .article-card__desc_ad {
    display: block;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }

  /* ================================
      /共通パーツ - 投稿一覧系
  ================================ */

  /*  */
  /* 記事詳細下部 記事一覧パーツのPCレイアウト調整 */
  .lower-contents {
    width: 100%;
  }
  .lower-contents .article-listblock {
    margin-bottom: 60px;
  }
  .lower-contents .article-listblock__title {
    margin-bottom: 30px;
  }
  .lower-contents--flex {
    display: flex;
    gap: 15px;
  }
  .lower-contents .article-listblock {
    flex: 5;
  }
  .lower-contents .article-card__title {
    -webkit-line-clamp: 4;
    font-size: 12px;
  }
  .lower-contents .article-list,
  #pickup .article-list {
    gap: 15px;
  }
  .lower-contents .article-card a,
  #pickup .article-card a {
    gap: 12px;
  }
  .ranking-badge {
    top: 4px;
    left: 4px;
  }
  .lower-contents .article-card__thumb,
  #pickup .article-card__thumb {
    width: 100px;
    min-width: 100px;
    height: 75px;
    min-height: 75px;
    flex: 0 0 100px;
  }
  .childtag-ranking {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: space-between;
    flex-flow: row wrap;
    gap: 20px;
  }

  /* PICK UP用レイアウト */
  #pickup,
  #topics {
    width: 100%;
    margin-bottom: 60px;
  }
  #pickup .article-list {
    width: 100%;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-between;
    gap: 12px 15px;
  }
  #pickup .article-card {
    width: calc((100% - 15px) / 2);
  }

  .sidebar {
    flex: 0 0 35%;
    max-width: 300px;
    width: 35%;
    box-sizing: border-box;
    gap: 40px;
    display: flex;
    flex-flow: column;
  }

  .sidebar-magazine__img img,
  .sidebar-banner img {
    margin: 0 auto !important;
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--radius-6);
  }

  .swiper-slide {
    width: auto !important;
    height: 36px !important;
    /* margin-right は Swiper の spaceBetween で制御 */
  }

  /* グローバルナビゲーション: タブレット用サイズ (1024px~1279px) */
  .global-nav-wrapper {
    width: 500px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .global-nav {
    position: relative;
    width: 420px !important;
    background-color: var(--color-main-light);
    display: block;
    border-radius: var(--radius-8);
    margin: 0 !important;
    padding: 6px !important;
    overflow: hidden;
  }
  .global-nav::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 30px;
    height: 100%;

    background: linear-gradient(to right, rgba(248, 250, 250, 0) 0%, rgba(248, 250, 250, 0.6) 40%, rgba(248, 250, 250, 1) 80%);
    pointer-events: none;
    z-index: 10;
    border-top-right-radius: inherit;
    border-bottom-right-radius: inherit;
  }

  .global-nav .nav__list {
    display: flex;
    gap: 24px;
    font-size: 14px;
    white-space: nowrap;
  }

  .global-nav .swiper-wrapper {
    display: flex;
    /* gap は Swiper の spaceBetween で制御 */
    transition-timing-function: linear; /* ループ時のスムーズな動き */
  }

  /* ループモード用：複製スライドが確実に表示されるように */
  .global-nav .swiper-slide-duplicate {
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  .category-btn {
    flex-shrink: 0;
    width: auto !important;
    height: 36px !important;
    background-color: transparent;
    font-size: 13px;
    white-space: nowrap;
    border: 1px solid transparent;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 36px;
    margin: 0 !important;
    padding: 0px 8px;
    font-weight: var(--font-sub-weight);
    border-radius: var(--radius-6);
  }
  .category-btn:hover {
    background-color: rgba(71, 160, 170, 0.2);
    transition: all 0.2s;
  }

  .category-btn.active {
    width: auto !important;
    background-color: var(--color-main);
    color: var(--color-text-sub);
    font-weight: var(--font-sub-weight) !important;
    border: none;
    transition: all 0.2s;
  }
  .category-btn:hover.active {
    background-color: var(--color-main);
    opacity: 0.6;
    transition: all 0.2s;
  }

  .swiper-button-prev,
  .swiper-button-next {
    --swiper-navigation-size: 20px;
    z-index: 10;
    width: 20px !important;
    height: 20px !important;
    background: var(--bg-color);
    border: 1px solid var(--color-gray);
    border-radius: var(--radius-full);
    background-image: url('data:image/svg+xml;utf8,<svg fill="%23333" height="20" viewBox="0 0 24 24" width="20" xmlns="http://www.w3.org/2000/svg"><path d="M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6z"/></svg>');
    background-repeat: no-repeat;
    background-position: center;
    align-self: anchor-center;
  }
  .swiper-button-prev {
    transform: rotate(180deg);
  }
  /* 無限ループのため、disabled状態でも常に表示 */
  .swiper-button-prev.swiper-button-disabled,
  .swiper-button-next.swiper-button-disabled {
    display: block !important;
    opacity: 1 !important;
  }

  .swiper-button-prev:after,
  .swiper-button-next:after,
  .swiper-rtl .swiper-button-prev:after {
    display: none !important;
  }

  main {
    display: block;
    margin-top: 40px;
  }

  #article-detail-area {
    width: 100%;
  }

  .main-inner {
    display: flex;
    justify-content: space-between;
    flex-flow: row nowrap;
    max-width: 1024px;
    width: 100%;
    margin: 0 auto;
    gap: 60px;
  }

  .main-content {
    width: 65%;
    min-width: 664px;
    height: auto;
    margin: 0 0 60px;
  }

  /*　パンくず */
  .breadcrumb {
    width: 100%;
  }

  .breadcrumb ul {
    width: 100%;
    padding: 0 0 20px;
  }

  /*　sidebar　*/
  .sidebar-banner,
  .sidebar-hotwords,
  .sidebar-info {
    width: 100%;
    height: auto;
    margin: 0;
  }

  .sidebar-banner a {
    transition: opacity 0.2s ease;
  }

  .sidebar-banner a:hover {
    opacity: 0.7;
  }

  .sidebar-title_head {
    display: flex;
    justify-content: space-between;
    flex-flow: row nowrap;
    align-items: baseline;
    margin: 20px 0;
  }

  .sidebar-title {
    font-family: var(--font-heading);
    font-weight: var(--font-sub-weight);
    font-size: 16px;
    letter-spacing: var(--letter-space-normal);
    margin: 0;
  }

  .sidebar-title span {
    font-size: 10px !important;
    margin-left: 10px;
  }

  .more-link {
    font-size: 11px !important;
    color: var(--color-main) !important;
    font-weight: var(--font-strong-weight);
  }

  .sidebar-info__list {
    width: 100%;
    height: auto;
    margin: 0 !important;
    padding: 0 !important;
  }

  .sidebar-info__list li {
    margin-bottom: 20px;
  }

  .sidebar-info__list li a span {
    font-weight: var(--font-base-weight);
    font-size: 14px;
    color: var(--color-second);
    letter-spacing: var(--letter-space-normal);
    text-decoration: none !important;
    display: block;
    line-height: 1em;
    margin: 0 0 10px;
  }

  .sidebar-info__list li a h3 {
    font-weight: var(--font-bold-weight);
    font-size: 14px;
    color: var(--color-text);
    letter-spacing: var(--letter-space-tight);
    text-decoration: underline;
    margin: 0;
    text-underline-offset: 5px;
    line-height: var(--line-height-base);
  }

  .sidebar-info__list li a h3:hover {
    transition: all 0.2s;
    color: var(--color-main) !important;
    text-decoration: none !important;
  }

  .uk-icon svg {
    width: 14px !important;
    height: auto;
  }

  .sidebar-magazine {
    width: 100%;
    height: auto;
    margin: 0 !important;
    padding: 0 !important;
    background: var(--color-main-light);
  }

  .sidebar-title_head,
  .sidebar-info__list,
  .hotwords__list {
    width: 100%;
  }

  .sidebar-hotwords,
  .sidebar-info {
    width: 100%;
    background: none !important;
  }

  .sidebar-title_head,
  .sidebar-info__list,
  .hotwords__list {
    width: 100%;
  }

  .sidebar-title_head {
    padding-top: 0 !important;
    margin-bottom: 20px !important;
  }

  .hotwords__list,
  .sidebar-info__list {
    padding-bottom: 0 !important;
  }

  .sidebar-magazine .sidebar-magazine__img {
    width: 100%;
    height: auto;
    margin: 30px auto 10px;
  }

  .sidebar-magazine__textbox {
    width: 90%;
    height: auto;
    margin: 0 auto;
  }

  .sidebar-magazine h4 {
    font-size: 15px;
    font-weight: var(--font-strong-weight);
    color: var(--color-text);
    letter-spacing: var(--letter-space-normal);
    margin: 0 0 10px;
    font-family: "Zen Kaku Gothic New", sans-serif !important;
  }

  .btn_magazine {
    display: block;
    width: 80%;
    height: 50px;
    border: solid 1px var(--color-main);
    color: var(--color-text);
    border-radius: 25px;
    margin: 20px auto 30px;
    font-size: 14px;
    font-weight: var(--font-strong-weight);
    text-align: center;
    line-height: 50px;
  }

  .btn_magazine:hover {
    transition: all 0.2s;
    background: var(--color-main);
    color: var(--color-text-sub);
    border: solid 1px var(--bg-color);
    text-decoration: none !important;
  }

  .hotwords__list {
    width: 100%;
    height: auto;
    display: flex;
    flex-flow: row wrap;
    margin: 0 !important;
    padding: 0 !important;
    gap: 10px;
  }

  .hotwords__list li {
    font-size: 13px !important;
  }

  .hotwords__list li a {
    font-size: 13px;
    font-weight: var(--font-base-weight);
    color: var(--color-text);
    padding: 6px 10px;
    letter-spacing: var(--letter-space-normal);
    margin: 0 !important;
    border: solid 1px var(--color-light);
    border-radius: 15px;
  }

  .hotwords__list li a:hover {
    transition: all 0.2s;
    background: var(--color-main);
    color: var(--color-text-sub);
    text-decoration: none !important;
  }

  /* ================================
    /sidebar
================================ */

  /* ================================
    footer
================================ */

  .footer-nav {
    gap: 0 40px;
  }
  .footer-nav-pc {
    display: block !important;
  }
  .footer-wrap{
    width: 94%;
    max-width: 1280px;
    padding: 60px 0 30px;
  }

  .footer-inner {
    display: block;
    max-width: var(--max-width);
    margin: auto;
  }

  .footer-links {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
  }

  .footer-column {
    width: 20%;
    height: auto;
  }

  .footer-column ul {
    display: flex;
    flex-flow: column;
    gap: 10px;
  }

  .accordion-content li a{
    font-size: 13px;
    padding: 16px 12px;
  }

  .footer-bottom-area {
    font-size: 14px;
    display: flex;
    flex-flow: row-reverse;
    justify-content: space-between;
    margin-bottom: 40px;
  }
  .footer-sns{
    width: auto;
    padding: 20px 60px;
  }

  .footer-meta-links li:last-child::after {
    content: "";
  }

  .footer-meta-links a:hover,
  .footer-column li a:hover {
    transition: all 0.2s;
    color: var(--color-main) !important;
    text-decoration: none !important;
  }

  .footer-sns-app-content {
    height: 100%;
    display: flex;
    justify-content: flex-start;
    flex-flow: row nowrap;
  }

  .footer-content {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 30px;
  }

  /* SNS Component - PC共通スタイル */
  .sns-section h2.sp-menu__title span,
  .footer-sns-title .small,
  .about-sns-title .small {
    font-size: 11px;
  }

  .sns-section__inner a img,
  .footer-sns-icons a img{
    width: 28px;
    height: 28px;
  }

  /* Xアイコンのみサイズ調整 (PC) */
  .sns-section__inner a img[alt="X"],
  .footer-sns-icons a img[alt="X"] {
    width: 24px;
    height: 24px;
  }

  /* Footer SNS - PC固有スタイル */
  .footer-sns-icons {
    justify-content: space-between; /* 共通のcenterを上書き */
    flex-flow: row nowrap;
    align-items: center;
  }

  .footer-app {
    max-width: 350px;
    height: auto;
    background: #f0fafa;
    border-radius: var(--radius-8);
    padding: 20px 30px;
    display: flex;
    align-items: center;
    /*box-shadow: 0 0 5px rgba(0, 0, 0, 0.05);*/
    border: solid 1px #d8ebe7;
  }

  .app-box {
    display: flex;
    align-items: center;
    gap: 16px;
  }

  .app-logo {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    background: var(--bg-color);
    padding: 6px;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.1);
  }

  .app-text .app-title {
    font-weight: var(--font-strong-weight);
    font-size: 16px;
    color: #00a0a0;
    margin: 0;
  }

  .app-text .app-caption {
    font-size: 12px;
    color: var(--color-third);
    margin: 4px 0;
  }

  .app-buttons {
    width: 135px;
    height: 20px;
    display: flex;
    justify-content: space-between;
    flex-flow: row nowrap;
  }

  .app-buttons a {
    width: 135px;
    height: 20px;
    display: block;
    transition: opacity 0.2s ease;
  }

  .app-buttons img {
    height: 20px;
    width: auto;
  }

  #appstore_badge {
    width: auto;
  }

  #googleplay_badge {
    width: auto;
  }

  .footer-copyright {
    justify-content: flex-end;
    flex-flow: row-reverse;
    align-items: baseline;
    font-size: 12px;
  }

  .footer-copyright .notice {
    padding: 0;
    border: none;
  }

  /* ================================
    /footer
================================ */

  /*  LOGLY クレジット  */
  .logly-lift-credit2 {
    clear: both;
    padding: 0 8px 10px;
    text-align: right;
  }

  .logly-lift-credit2 a {
    color: var(--color-second);
    text-decoration: none;
    font-size: 11px;
  }

  .logly-lift-credit2 a .logly-lift-credit-logo {
    display: inline-block;
    color: transparent;
    margin-left: 3px;
    vertical-align: middle;
    margin-top: -2px;
  }

  .logly-lift-credit2 a .logly-lift-credit-logo {
    background-position: 0 -110px;
    height: 14px;
    width: 68px;
  }

  .logly-lift-credit2 a .logly-lift-credit-logo {
    background-image: url(https://cdn.logly.co.jp/spritesource-v74j50a002.webp);
    background-repeat: no-repeat;
  }

  /*  LOGLY クレジットここまで  */

  /* 記事一覧エリア */
  #article-listblock,
  #postlist__head,
  .listblock {
    width: 100%;
  }

  /* トップ メイン記事投稿 */
  .article-hero {
    width: 100%;
    height: 440px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f5f5f5;
    position: relative;
    border-radius: var(--radius-10);
  }
  .article-section > .section-image {
    width: 100%;
    height: auto;
    overflow: hidden;
    display: block;
  }
  .article-hero img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  .article-section > .section-image img {
    width: 100%;
    height: auto;
    display: block;
  }
  .article-card__title {
    font-size: 16px;
    -webkit-line-clamp: 4;
  }
  .recommend__list {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: flex-start;
    flex-flow: row wrap;
    gap: 5px;
    list-style: none;
    padding: 0;
  }
  .recommend-card {
    width: calc((100% - 15px) / 4);
    height: auto;
    margin-bottom: 20px;
  }
  .keyword__list {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    flex-flow: row wrap;
    padding: 0;
    margin: 0;
    gap: 10px;
    max-height: max-content !important;
    overflow: unset;
  }
  .related-articles,
  .ranking-articles,
  .mostread-articles,
  .lifestyle-articles {
    width: 48%;
    height: auto;
    margin-bottom: 30px;
  }
  .topics-list {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: space-between;
    flex-flow: row wrap;
    margin: 0 0 40px;
    padding: 0;
  }
  .topics-card {
    width: 48%;
    height: auto;
    margin: 0;
    border-top: solid 1px #dcdcdc;
    border-bottom: solid 1px #dcdcdc;
    padding: 0.5em 0;
  }
  .post-navigation {
    padding: 0 !important;
  }
  .childtag-ranking {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: space-between;
    flex-flow: row wrap;
    gap: 20px;
  }
}

/* =============================
  PC Large Screen (1280px~)
============================= */
@media screen and (min-width: 1280px) {
  /* グローバルナビゲーション: デスクトップ用サイズ (1280px以降) */
  .global-nav-wrapper {
    width: 730px;
  }

  .global-nav {
    width: 644px !important;
  }
}

/* =============================
  記事ステータスバッジ
============================= */
.article-status-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 1.2rem;
  font-weight: var(--font-bold-weight);
  color: var(--bg-color);
  background: rgba(0, 0, 0, 0.7);
  z-index: 10;
  pointer-events: none;
  letter-spacing: 0.05em;
}

/* レビュー待ちバッジ：オレンジ */
.article-status-badge.status-pending {
  background: linear-gradient(135deg, #ff9a56 0%, #ff6b35 100%);
  box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
}

/* 下書きバッジ：グレー */
.article-status-badge.status-draft {
  background: linear-gradient(135deg, #999999 0%, #666666 100%);
  box-shadow: 0 2px 8px rgba(102, 102, 102, 0.3);
}

/* 予約投稿バッジ：青 */
.article-status-badge.status-future {
  background: linear-gradient(135deg, #47a0aa 0%, #2d7d87 100%);
  box-shadow: 0 2px 8px rgba(71, 160, 170, 0.3);
}

/* サムネイル領域を相対配置に */
.article-card__thumb {
  position: relative;
}

/* レスポンシブ調整 */
@media (max-width: 768px) {
  .article-status-badge {
    font-size: 1.1rem;
    padding: 5px 10px;
    top: 8px;
    left: 8px;
  }
}

/* =============================
  サイト移行お知らせバナー
============================= */
.site-migration-notice {
  background: linear-gradient(135deg, #fff9e6 0%, #fffbf0 100%);
  border-bottom: 2px solid #ffd966;
  padding: 12px 20px;
  text-align: center;
}

.site-migration-notice p {
  margin: 0;
  font-size: 1.4rem;
  color: #856404;
  font-weight: 500;
  line-height: 1.6;
}

/* レスポンシブ調整 */
@media (max-width: 768px) {
  .site-migration-notice {
    padding: 10px 15px;
  }

  .site-migration-notice p {
    font-size: 1.2rem;
    line-height: 1.5;
  }
}

/* =============================
  Google審査対応：GAM広告枠を一時非表示
  ※本番環境で広告表示時はこのセクションを削除
============================= */
/* 記事一覧系の広告 */
/* ↓ マイクロアド指摘により削除（2026/02/27）
.ad-card,
.gam-ad-card,
li.gam-ad-card,
.pickup-item--ad,
.recommend-item--ad,
.topics-item--ad,
li.topics-item--ad {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  height: 0 !important;
  width: 0 !important;
  overflow: hidden !important;
  position: absolute !important;
  left: -9999px !important;
}
*/

/* GAM広告カードを一旦非表示（2026/02/27） */
li.article-card.gam-ad-card,
li.pickup-item--ad,
li.topics-item--ad {
  display: none !important;
}

/* サイドバーの広告 */
/* ↓ マイクロアド指摘により削除（2026/02/20）
.sidebar-gam-banner,
.sidebar-ranking__gam,
.sidebar-more__gam,
li.sidebar-ranking__gam,
li.sidebar-more__gam {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  height: 0 !important;
  width: 0 !important;
  overflow: hidden !important;
  position: absolute !important;
  left: -9999px !important;
}
*/

/* 記事内の広告バナー */
.article-ad-banner,
.pickup-top-ad-banner,
div.article-ad-banner,
div.pickup-top-ad-banner {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  height: 0 !important;
  width: 0 !important;
  overflow: hidden !important;
  position: absolute !important;
  left: -9999px !important;
}

/* Glia Studios 動画広告 */
.glia-studios-ad,
div.glia-studios-ad {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  height: 0 !important;
  width: 0 !important;
  overflow: hidden !important;
  position: absolute !important;
  left: -9999px !important;
}

/* HOT WORDS（人気ワード）を非表示 */
.hotwords,
.sidebar-hotwords,
div.hotwords,
section.sidebar-hotwords {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  height: 0 !important;
  width: 0 !important;
  overflow: hidden !important;
  position: absolute !important;
  left: -9999px !important;
}

/* =============================
  記事執筆者アイコン画像
============================= */
.article-author {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 30px;
}

.article-author .author-avatar {
  width: 100px !important;
  height: 100px !important;
  min-width: 100px;
  min-height: 100px;
  border-radius: var(--radius-full);
  object-fit: cover;
  object-position: center;
  flex-shrink: 0;
  border: 2px solid var(--color-light);
}

.article-author .author-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.article-author .author-role {
  font-size: 14px;
  font-weight: var(--font-sub-weight);
  color: var(--color-text);
  margin: 0;
}

.article-author .person-about__body {
  font-size: 13px;
  line-height: var(--line-height-base);
  color: var(--color-text);
  margin: 0;
}

.article-author .person-about__body p {
  margin: 0 0 10px 0;
}

.article-author .person-about__site {
  font-size: 12px;
  color: var(--color-second);
  word-break: break-all;
}

.article-author .person-about__site .label {
  font-weight: var(--font-sub-weight);
}

.article-author .person-about__site a {
  color: var(--color-main);
  text-decoration: underline;
}

.article-author .person-about__site a:hover {
  opacity: 0.7;
}

.article-author .author-link {
  font-size: 13px;
  color: var(--color-main);
  text-decoration: underline;
  font-weight: var(--font-sub-weight);
}

.article-author .author-link:hover {
  opacity: 0.7;
}

/* =============================
  QA環境のみ：GAM広告枠を表示
  ※本番環境では.qa-environmentクラスが付与されないため、広告は非表示のまま
============================= */
/* 記事一覧系の広告 */
body.qa-environment .ad-card,
body.qa-environment .gam-ad-card,
body.qa-environment li.gam-ad-card {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
  width: auto !important;
  overflow: visible !important;
  position: relative !important;
  left: 0 !important;
}

/* PICKUPセクション */
body.qa-environment .pickup-item--ad {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
  width: auto !important;
  overflow: visible !important;
  position: relative !important;
  left: 0 !important;
}

/* RECOMMENDセクション（専用CSSを優先） */
body.qa-environment .recommend-item--ad {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
  width: auto !important;
  max-width: 100% !important;
  overflow: visible !important;
  position: relative !important;
  left: 0 !important;
}

/* TOPICSセクション */
body.qa-environment .topics-item--ad,
body.qa-environment li.topics-item--ad {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
  width: auto !important;
  overflow: visible !important;
  position: relative !important;
  left: 0 !important;
}

/* サイドバーの広告 */
body.qa-environment .sidebar-gam-banner,
body.qa-environment .sidebar-ranking__gam,
body.qa-environment .sidebar-more__gam,
body.qa-environment li.sidebar-ranking__gam,
body.qa-environment li.sidebar-more__gam {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
  width: auto !important;
  overflow: visible !important;
  position: relative !important;
  left: 0 !important;
}

/* 記事内バナー広告 */
body.qa-environment .article-ad-banner,
body.qa-environment .pickup-top-ad-banner,
body.qa-environment div.article-ad-banner,
body.qa-environment div.pickup-top-ad-banner {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
  width: auto !important;
  overflow: visible !important;
  position: relative !important;
  left: 0 !important;
}

/* 動画広告 */
body.qa-environment .glia-studios-ad,
body.qa-environment div.glia-studios-ad {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
  width: auto !important;
  overflow: visible !important;
  position: relative !important;
  left: 0 !important;
}

