/* ---------- リセット(最小限) ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body,
h1,
h2,
h3,
h4,
p,
figure {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
}

/* ---------- カラー / 変数 ---------- */
:root {
  /* Primary */
  --blue-darkest: #02407E;
  --blue-dark: #0049bb;
  --blue-strong: #0052a4;
  --blue: #1d6dbe;
  --blue-100: #c3d1da;
  --blue-50: #dce6ed;
  --blue-soft: #f0fafd;

  --red: #e02525;
  --text: #222222;
  --text-sub: #666666;
  --border: #e0e0e0;
  --bg: #ffffff;
  --light-red: #fff0f0;

  --shadow-plate: #c3d1da;
  --hero-shadow: #02407e;
  --hero-edge: #c3d1da;

  --container: 1160px;
  --article: 680px;

  --font: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP",
    Meiryo, "Yu Gothic", system-ui, sans-serif;
  --font-heading: "M PLUS Rounded 1c", var(--font);
  --font-en: "Fredoka", "M PLUS Rounded 1c", var(--font);
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.75;
  font-size: 14px;
  letter-spacing: 0.03em;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

/* ---------- レイアウト共通 ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

/* 8/3修正 */
.section {
  margin-bottom: 68px;
}

/* セクション見出し(アイコン + 青文字) */
.section-heading {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--blue-strong);
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 800;
}

.section-heading .icon {
  width: 32px;
  height: 32px;
  flex: none;
  color: var(--blue-strong);
}

.section-lead {
  margin-top: 6px;
  color: var(--text);
  font-size: 16px;
}

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 300px;
  padding: 15px 28px;
  background: var(--blue-strong);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  border: 2px solid var(--blue-strong);  /* 反転時のサイズ揺れ防止に常時ボーダー */
  border-radius: 999px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.btn:hover {
  background: #fff;
  color: var(--blue-strong);
}

.arrow-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex: none;
  border-radius: 50%;
  background: var(--blue-strong);
  color: #fff;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.chev {
  width: 16px;
  height: 16px;
  background-color: currentColor;
  -webkit-mask: url(../images/icons/chevron-right.svg) no-repeat center / contain;
  mask: url(../images/icons/chevron-right.svg) no-repeat center / contain;
}

/* ---------- カテゴリタグ(ピックアップ/新着/関連 — ヒーロー以外) ---------- */
.tag {
  display: inline-block;
  align-self: flex-start;
  padding: 2px 12px;
  background: var(--blue-50);
  color: var(--blue-strong);
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 500;
  border-radius: 999px;
}

/* ---------- 日付(時計アイコン付き — ヒーロー以外) ---------- */
.date {
  display: inline-flex;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-sub);
}

.date__icon {
  width: 14px;
  height: 14px;
}

/* ---------- TAKARA TOMY ウォーターマーク背景 ---------- */
.watermark-bg {
  position: relative;
  background-color: var(--blue);
}

/* マストヘッド(サイトタイトル帯) — トップページ */
.masthead {
  background: var(--blue-soft);   /* 薄い青の背景 */
  text-align: center;
  padding: 16px 16px;
}

/* 「アソビにもっと!!」ロゴ(asobi.svg) */
.masthead__logo {
  line-height: 0;
}

.masthead__logo img {
  display: inline-block;
  width: 400px;
  height: auto;
}

.masthead__sub-br {
  display: none;
}

/* 記事ページ用マストヘッド(トップページの .masthead とは独立) */
.article-masthead {
  margin: -48px -52px 40px;
  padding: 20px 16px;
  background: var(--blue-soft);
  text-align: center;
  border-radius: 20px 20px 0 0;
  border-bottom: 1px solid var(--blue-50);
}

.article-masthead__corp {
  display: inline-block;
  padding: 0px 72px;
  background: var(--blue-dark);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
  border-radius: 4px;
}

.article-masthead__logo {
  margin-top: 6px;
  line-height: 0;
  margin-bottom: 0 !important;
}

.article-masthead__logo img {
  display: inline-block;
  width: 240px;
  height: auto;
}

.article-masthead__sub-br {
  display: none;
}


/* トップページ */

/* ---- ヒーロー注目記事(ウォーターマーク背景) ---- */
.hero {
  padding: 20px 56px 36px;
}

.hero__sub {
  background: var(--blue-soft);
  padding: 32px;
  text-align: center;
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
}

/* 7/28修正 */
.hero__sub-highlight,
.hero__sub-highlight-2 {
  background: var(--blue-darkest);
  color: #fff;
  font-weight: 800;
} 

.hero__sub-highlight {
  padding: 0px 0px 0px 8px;
}

.hero__sub-highlight-2 {
  padding: 0px;
}

.hero__inner {
  position: relative;
  z-index: 0;
}

.hero__photo {
  position: relative;
  min-width: 420px;
  width: 70%;
  margin: 0;
  aspect-ratio: 8 / 5;
  z-index: 1;
}

.hero__photo::after {
  content: "";
  position: absolute;
  inset: 0px 0px -16px 28px;
  background: var(--hero-shadow);
  border-radius: 20px;
  z-index: -1;
}

.hero__media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 2px solid var(--blue-darkest);
  border-radius: 20px;
}

.hero__bodywrap {
  position: absolute;
  bottom: 20px;
  right: 0;
  height: fit-content;
  max-width: 408px;
}

.hero__bodywrap::after {
  content: "";
  position: absolute;
  inset: 0px 28px -16px 28px;
  border-radius: 20px;
  background: var(--hero-shadow);
  z-index: 0;
  transition: background-color 0.2s ease;
}

.hero__body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  background: #fff;
  border: 2px solid var(--blue-darkest);
  border-radius: 20px;
  transition: border-color 0.2s ease;
}

.hero__bodywrap:hover .hero__body {
  border-color: var(--blue-strong);
}

.hero__bodywrap:hover::after {
  background: var(--blue-strong);
}

.hero__title {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.5;
}

/* ヒーロー専用のカテゴリタグ(.tag とは別定義) */
.hero__tag {
  display: inline-block;
  align-self: flex-start;
  padding: 2px 12px;
  background: var(--blue-50);
  color: var(--blue-strong);
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 500;
  border-radius: 999px;
}

/* ヒーロー専用の日付(.date とは別定義) */
.hero__date {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-sub);
}

.hero__date .date__icon {
  width: 14px;
  height: 14px;
}

/* 7/28修正 */
/* ---- カード(共通: ピックアップ/新着) ---- */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: border-color 0.2s ease;
}

.card::after {
  content: "";
  position: absolute;
  inset: 8px 12px -8px 12px;
  border-radius: inherit;
  background: var(--shadow-plate);
  z-index: -1;
  transition: background-color 0.2s ease;
}

.card:hover {
  border-color: var(--blue-strong);
}

.card:hover::after {
  background: var(--blue-strong);
}

.card__media {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 12px 12px 0 0;
  background: var(--blue-soft);
}

.card__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 18px 18px;
}

.card__title {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.5;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.pickup {
  margin-top: 32px;
}

/* 8/3修正 */
.news {
  margin-top: 32px;
}

/* ピックアップ: 3カラム */
.pickup-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

/* 7/28修正 */
/* ---- 関連記事: 横型カード 2カラム ---- */
.hcard-grid {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.hcard {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 112px;
  gap: 16px;
  align-items: flex-start;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: border-color 0.2s ease;
}

.hcard:hover {
  border-color: var(--blue-strong);
}

.hcard__body {
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-width: 0;
}

.hcard__title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 0 !important;
}

.hcard__title p {
  padding-inline: 0 !important;
}

/* 記事サムネイル */
.hcard__media {
  width: 112px;
  height: 112px;
  object-fit: cover;
  border-radius: 12px;
}

.center-action {
  margin-top: 32px;
  display: flex;
  justify-content: center;
}

/* ---------- ページャー(ページネーション) ---------- */
.pager {
  margin-top: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.pager__items {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.pager__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 30px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 20px;
  color: var(--blue-100);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.pager__item:hover {
  color: var(--blue-strong);
}

.pager__item--current {
  /* background: var(--blue-strong); */
  color: var(--blue-strong);
}

.pager__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex: none;
  border-radius: 50%;
  background: var(--blue-strong);
  color: #fff;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.pager__arrow:hover {
  opacity: 0.8;
}

.pager__arrow .chev {
  width: 16px;
  height: 16px;
}

.pager__arrow--prev .chev {
  transform: scaleX(-1);
}

/* 先頭/末尾ページで押せない状態 */
.pager__arrow--disabled {
  background: var(--blue-100);
  pointer-events: none;
}

/* ---- ブランドから探す ---- */
.brand {
  background: var(--blue-soft);
  padding: 40px 0 80px 0;
  margin-bottom: 0px !important;
}

.brand .section-heading {
  max-width: 640px;
  margin-inline: auto;
}

.brand-list {
  max-width: 640px;
  margin: 30px auto 0;
  background: #fff;
  border: 1.5px solid var(--blue-100);
  border-radius: 12px;
  overflow: hidden;
}

.brand-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  border-top: 1px solid var(--blue-100);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.brand-list li {
  padding: 0 !important;
}

.brand-list li + li {
  margin-top: 0 !important;
}

.brand-list li:first-child .brand-item {
  border-top: none;
}

.brand-list li:before {
  content: "";
  width: 0 !important;
  height: 0 !important;
}

.brand-item:hover {
  background: var(--blue-strong);
  color: #fff;
}

.brand-item:hover .arrow-circle {
  background: #fff;
  color: var(--blue-strong);
}

/* 記事詳細ページ */

.article-wrap {
  padding-block: 44px 64px;
}

/* SNSシェア(fixed) */
.sns-share {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--blue-soft);
  padding: 12px;
  border: 1px solid var(--blue-100);
  border-radius: 12px;
}

.sns-share__link {
  display: block;
  width: 48px;
  height: 48px;
  transition: opacity 0.2s ease;
}

.sns-share__link:hover {
  opacity: 0.8;
}

.sns-share__link img {
  width: 48px;
  height: 48px;
}

.article {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding: 48px 52px 56px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(10, 45, 99, 0.22);
}

.article__body {
  max-width: var(--article);
  margin-inline: auto;
}

/* 記事ヘッダー */
.article__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.badge-tomica {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  color: var(--blue-strong);
}

.article__title {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 800;
  line-height: 1.5;
  margin-bottom: 32px;
}

.article__hero {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  margin-bottom: 72px;
  background: var(--blue-soft);
}

.article p {
  margin-bottom: 20px;
  font-size: 14px;
  line-height: 1.75;
}

/* 中見出し(青い縦バー) */
.article h2 {
  display: flex;
  gap: 16px;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.5;
  margin-top: 100px;
  margin-bottom: 48px;
}

.article h2::before {
  content: "";
  flex: none;
  width: 6px;
  border-radius: 3px;
  background: var(--blue-strong);
}

/* もくじ */
.toc {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 24px;
  margin: 60px 0;
}

.toc__label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--blue-strong);
  margin-bottom: 20px;
}

.toc__label span {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
}

.toc__icon {
  width: 24px;
  height: 24px;
  flex: none;
}

.toc__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* 7/28修正 */
.toc__list li {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  padding-bottom: 8px;
  line-height: 1.5;
  border-bottom: 2px dashed var(--blue);
}

.toc__list a:hover {
  color: var(--blue-strong);
}

/* インタビュー対象者プロフィールカード */
.profile {
  max-width: 440px;
  margin-right: auto;
  margin-bottom: 100px;
  margin-left: auto;
  border-radius: 12px;
  border: 1px solid var(--border);
  overflow: hidden;
  text-align: center;
}

.profile__head {
  background: var(--blue-strong);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 800;
  padding: 12px;
  font-size: 16px;
}

.profile__body {
  background: var(--blue-soft);
  padding: 28px;
}

/* 7/29修正 */
.profile__avatar {
  width: 180px;
  height: 180px;
  margin: 0 auto 8px !important;
  padding-inline: 0 !important;
}

.profile__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.profile__role {
  font-size: 12px;
  color: var(--text-sub);
  margin-bottom: 0 !important;
}

.profile__name {
  font-family: var(--font-heading);
  font-size: 20px !important;
  font-weight: 800;
  margin-bottom: 16px;
}

.profile__title {
  margin-left: 4px;
  font-size: 16px;
}

.profile__desc {
  font-size: 13px;
  text-align: left;
  margin-bottom: 0 !important;
}

/* インタビュー Q&A */
.qa-question {
  display: flex;
  gap: 20px;
  font-family: var(--font-heading);
  font-weight: 700;
  margin-top: 48px;
}

.qa-question::before {
  content: "";
  margin-top: 11px;
  width: 40px;
  height: 2px;
  background: var(--text-sub);
}

.qa-answer {
  margin: 32px 0 48px;
}

.qa-speaker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: 700;
}

.qa-speaker__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}

/* 7/28修正 */
.qa-answer__text {
  background: var(--blue-soft);
  border-radius: 12px;
  margin: 0;
  padding: 16px;
}

/* インタビュー Q&A: ライター側(右寄せ・ピンク) */
.qa-writer {
  margin: 48px 0 32px;
}

.qa-writer__speaker {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: 700;
}

/* 7/28修正 */
.qa-writer__text {
  background: var(--light-red);
  border-radius: 12px;
  margin: 0;
  padding: 16px;
}

/* 引用(プルクオート) */
.article__body blockquote {
  position: relative;
  margin: 32px 0;
  padding: 12px 40px;
  background: var(--blue-50);
  border-radius: 12px;
  font-size: 16px;
  line-height: 1.75;
}

.article__body blockquote::before,
.article__body blockquote::after {
  position: absolute;
  color: #fff;
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
}

.article__body blockquote::before {
  content: "\201C";
  top: 12px;
  left: 8px;
}

.article__body blockquote::after {
  content: "\201D";
  right: 8px;
  bottom: -12px;
}

.article__body blockquote p {
  margin-bottom: 0;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
}

/* 注釈 */

.note {
  font-size: 12px;
  line-height: 1.75;
  color: var(--text-sub);
}

/* 外部リンクカード */
.link-card {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 48px 0;
  padding: 12px;
  background: var(--blue-soft);
  border: 1px solid var(--blue-100);
  border-radius: 12px;
  transition: border-color 0.2s ease;
}

.link-card:hover {
  border-color: var(--blue-strong);
}

.link-card__thumb {
  flex: none;
  width: 140px;
  height: 105px;
  object-fit: cover;
  border-radius: 8px;
}

.link-card__title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--blue-strong);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 記事中の製品画像 */
.article__body figure {
  margin: 0 0 80px;
  text-align: center;
}

.article__body figure img {
  width: 100%;
}

.article__body figcaption {
  margin-top: 8px;
  font-size: 12px;
  color: var(--text-sub);
}

/* 中央のドット区切り(⋮) と 横線 */
/* 縦3つの点(div3つで表現) */
.dots {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin: 20px 0;
}

.dots div {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--text-sub);
}

.article__body hr {
  max-width: 200px;
  border: none;
  border-top: 1px solid var(--blue-100);
  margin: 100px auto;
}

/* CTAバナー: 青枠の白ボックス + 下部に幅いっぱいの青いボタンバー */
/* 7/28修正 */
.cta {
  border: 2px solid var(--blue-strong);
  border-radius: 12px;
  margin: 100px auto;
  overflow: hidden;
  text-align: center;
  max-width: 360px;
}

/* 7/28修正 */
.cta__inner {
  padding: 24px;
}

/* 7/28修正 */
.cta__logo {
  display: inline-block;
  width: 220px;
  height: auto;
}

.cta__button {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 16px;
  background: var(--blue-strong);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 20px;
  border-top: 2px solid var(--blue-strong);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.cta__button:hover {
  background: #fff;
  color: var(--blue-strong);
}

.cta__arrow {
  position: absolute;
  right: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  color: var(--blue-strong);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.cta__button:hover .cta__arrow {
  background: var(--blue-strong);
  color: #fff;
}

/* ライター情報(執筆 / 編集 の2カラム) */
.authors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 100px;
}

.author__label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-family: var(--font-heading);
  font-size: 20px !important;
  font-weight: 800;
  color: var(--blue-strong);
}

.author__label::before {
  content: "";
  flex: none;
  width: 4px;
  height: 20px;
  border-radius: 2px;
  background: var(--blue-strong);
}

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

.author__avatar {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.author__name-wrap {
  display: flex;
  flex-direction: column;
  gap: 0px;
}

.author__role {
  font-size: 12px;
}

.author__name {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
}

.author__desc {
  margin-bottom: 0 !important;
  font-size: 16px !important;
  line-height: 1.75;
}

/* 関連記事(記事詳細・白カード幅いっぱい) */
.related {
  margin-top: 100px;
}

/* 見出し「関連記事」 + 青い点線 */
.related__head {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 32px;
}

.related .related__title {
  display: block;
  flex: none;
  margin: 0;
  color: var(--blue-strong);
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
}

.related .related__title::before {
  content: none;
}

.related__line {
  flex: 1;
  height: 3px;
  background-image: repeating-linear-gradient(
    to right,
    var(--blue-strong) 0 6px,
    transparent 6px 9px
  );
}

/* レスポンシブ(モバイル) */
@media (max-width: 768px) {
  /* 8/3修正 */
  .section {
    margin-bottom: 52px;
  }

  .section-heading {
    gap: 12px;
    font-size: 24px;
  }

  .section-heading .icon {
    width: 24px;
    height: 24px;
  }

  .section-lead {
    font-size: 14px;
  }

  .masthead__sub-br {
    display: block;
  }

  .masthead__logo img {
    display: inline-block;
    width: 320px;
    height: auto;
  }

  .hero {
    padding-inline: 20px;
    padding-top: 20px;
    padding-bottom: 36px;
  }

  .hero__sub {
    background: var(--blue-soft);
    padding: 20px;
    font-size: 16px;
  }

  /* 7/28修正 */
  .hero__sub-highlight {
    padding: 0px 8px;
  }

  .hero__sub-highlight-2 {
    padding: 0px 0px 0px 8px;
  }

  .hero .container {
    padding-inline: 0;
  }

  .hero__inner {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
  }

  .hero__photo {
    position: relative;
    width: 90%;
    min-width: 0;
    aspect-ratio: 8 / 5;
    align-self: flex-start;
  }

  .hero__photo::after {
    inset: 0px 28px -14px 28px;
  }

  .hero__media {
    aspect-ratio: 8 / 5;
  }

  .hero__body {
    padding: 16px 16px;
  }

  .hero__bodywrap {
    position: relative;
    top: auto;
    bottom: auto;
    height: auto;
    margin: -32px 0 0;
    width: 80%;
  }

  .hero__bodywrap::after {
    inset: 0px 28px -12px 28px;
  }

  .hero__title {
    font-size: 16px;
  }

  .hero__tag {
    font-size: 12px;
  }

  .pickup {
    margin-top: 20px;
  }

  /* 8/3修正 */
  .news {
    margin-top: 20px;
  }

  /* ピックアップ / 新着 / 関連: 1カラム */
  .pickup-grid,
  .hcard-grid {
    grid-template-columns: 1fr;
  }

  /* ライター情報: 1カラム */
  .authors {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .pickup-grid {
    gap: 32px;
  }

  .card__title {
    font-size: 16px;
  }

  .hcard__title {
    font-size: 14px;
  }

  /* 記事本文: 余白を詰める */
  .article {
    padding: 32px 20px;
    border-radius: 0;
  }

  .article-masthead {
    margin-top: -32px;
    /* .article の mobile padding-inline(20px) と一致させる。
       -44px だと padding を各24px超過し画面幅を超える → ピンチズーム後に右へ隙間が残る */
    margin-inline: -20px;
    margin-bottom: 32px;
  }

  .article-wrap {
    padding-block: 0px;
  }

  .article__title {
    font-size: 28px;
  }

  .article__title {
    font-size: 24px;
  }

  .article__hero {
    width: 100vw;
    max-width: none;
    margin-left: 50%;
    transform: translateX(-50%);
    margin-bottom: 52px;
  }

  .profile {
    margin-bottom: 80px;
  }

  .qa-question::before {
    width: 20px;
  }

  .article__body figure {
    margin-bottom: 48px;
  }

  .link-card__thumb {
    width: 120px;
    height: 90px;
  }

  .article__body hr {
    margin: 80px auto;
  }

  .cta {
    margin: 80px 0;
  }

  .cta__title {
    font-size: 24px !important;
  }

  .cta__copy {
    font-size: 14px !important;
  }

  .btn {
    min-width: 0;
    width: 100%;
  }

  /* SNSシェア: 画面下部中央に横並び */
  .sns-share {
    top: auto;
    right: auto;
    left: 50%;
    bottom: 12px;
    transform: translateX(-50%);
    flex-direction: row;
    gap: 12px;
    padding: 12px 16px;
    background: var(--blue-soft);
    box-shadow: 0 -4px 16px rgba(10, 45, 99, 0.12);
  }
}

@media (max-width: 540px) {
  .container {
    padding-inline: 16px;
  }

  .hcard__title {
    padding-inline: 0px !important;
  }

  .article p {
    padding-inline: 16px;
  }

  .article__body blockquote p {
    font-size: 14px !important;
    padding-inline: 0;
  }

  .authors p {
    padding-inline: 0;
  }

  .cta__copy {
    text-align: left;
  }
}
