/**
 * ブログ（メディア）専用スタイル
 * 基盤は common.css 1–222 行相当を本ファイルに含む（別途 common.css は読み込まない）。
 * 本番: pages/media/ から link する想定。
 * フォント: Noto Sans JP / Roboto は HTML 側で Google Fonts CDN を読み込む（300・400・500・700）。
 */

/* --- foundation（common.css 1–222） --- */
/* merged from reset.css to reduce blocking CSS requests */
/* html5doctor.com Reset Stylesheet v1.6.1 Last Updated: 2010-09-17 Author: Richard Clark - http://richclarkdesign.com Twitter: @rich_clark */
html,
body,
div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
abbr,
address,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
samp,
small,
strong,
sub,
sup,
var,
b,
i,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  vertical-align: baseline;
  background: transparent;
}
body {
  color: #000;
  font-weight: 400;
  font-family: "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "YuGothic",
    "游ゴシック", "メイリオ", Meiryo, -apple-system, BlinkMacSystemFont,
    "Helvetica Neue", Arial, sans-serif;
  width: 100%;
  font-smoothing: antialiased;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
ul,
ol {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}
a {
  margin: 0;
  padding: 0;
  vertical-align: baseline;
  text-decoration: none;
  color: inherit;
}
ins {
  background-color: #ff9;
  color: #000;
  text-decoration: none;
}
mark {
  background-color: #ff9;
  color: #000;
  font-style: italic;
  font-weight: bold;
}
del {
  text-decoration: line-through;
}
abbr[title],
dfn[title] {
  border-bottom: 1px dotted;
  cursor: help;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #cccccc;
  margin: 1em 0;
  padding: 0;
}
input,
select {
  vertical-align: middle;
}
img {
  vertical-align: bottom;
}
button {
  background-color: transparent;
  border: none;
  cursor: pointer;
  outline: none;
  padding: 0;
  appearance: none;
  font: inherit;
  color: inherit;
}

:root {
  --main-color: #fcc800;
  --main-color-rgb: 252, 200, 0;
  --accent-color: #00a0e2;
  --accent-color-rgb: 0, 160, 226;
  --font-color: #334149;
  --font-color-rgb: 51, 65, 73;
  --white-color: #ffffff;
  --gray-color: #dfdfdf;
  --gray2-color: #BABABA;
  --bg-gray-color: #f9f9f9;
  --bg-C-color: #FEFAEA;
  --bg-B-color: #ECF6FB;
  --bg-gradation-color: linear-gradient(90deg, #FFF8DC 20%, #DDF4FF 100%);
  --gradation-color: linear-gradient(90deg, #fcc800 60%, #00a0e2 100%);

  --font-family: "Noto Sans JP", sans-serif;
  --font-family-en: "Montserrat", sans-serif;

  --box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.1);

  --border-radius: 4px;
  --media-header-h: 80px;
  --mobile-cta-h: 0px;
  /* 固定ヘッダー。Iframely 等が親 DOM に高い z-index を付けることがあるため十分上に */
  --z-header: 10000;
  --z-header-sub: 10001;
  --z-header-menu-btn: 10002;
}

/* ----------------------------------------------------
   Basic setting:
------------------------------------------------------- */

html {
  font-size: 14px; /* モバイルファースト: 基本は14px */
  box-sizing: border-box;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--media-header-h, 80px) + 1rem);
}
@media (min-width: 768px) {
  html {
    font-size: 15px;
  }
}
@media (min-width: 1024px) {
  html {
    font-size: 16px;
  }
}

/* --- media: foundation 追補・トークン --- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-family);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.75;
  color: var(--color_text);
  background: var(--media-bg);
}

img {
  max-width: 100%;
  height: auto;
}

:root {
  --color_primary: var(--main-color);
  --color_primary_rgb: var(--main-color-rgb);
  --color_secondary: var(--accent-color);
  --color_secondary_rgb: var(--accent-color-rgb);
  --color_text: #000;
  --color_text_muted: var(--gray2-color);
  --color_white: var(--white-color);
  --color_border: var(--gray-color);
  --color_bg_neutral: var(--bg-gray-color);
  --color_bg_primary_soft: var(--bg-C-color);
  --color_bg_secondary_soft: var(--bg-B-color);
  --color_bg_gradation: var(--bg-gradation-color);
  --color_grad_brand: var(--gradation-color);

  --font-family-en: "Roboto", sans-serif;

  --media-bg: var(--white-color);
  --media-surface: var(--white-color);
  --media-border: var(--gray-color);
  --media-accent: var(--main-color);
  --media-radius: var(--border-radius);
  --media-space: 1rem;
  --media-max-width: 1200px;
  --media-content-width: 720px;
  --m_section-pad-y: 7rem;

  --space-xs: 0.5rem;
  --space-s: 1rem;
  --space-m: 1.5rem;
  --space-l: 2rem;
  --space-xl: 3rem;
  --page-gutter: 2rem;
  --media-gap-lg: 2rem;
  --media-gap-md: 2rem;
  --card-inner-pad: 2rem;
  --box-gap: 2rem;
  --box-pad: 2rem;
}

/* main 内コンテンツセクション共通の上下余白 */
main > section.intro,
main > section.series,
main > section.sec_new,
main > section.sec_rec,
main > section.sec_list,
main > section.cta {
  padding-block: var(--m_section-pad-y);
}

main > section.cta {
  padding-inline: 0;
  padding-top: 0;
  padding-bottom: 0;
}

body[data-template="list"] main,
body[data-template="article"] main {
  padding-top: var(--media-header-h);
}

body[data-template="article"] {
  --art-content-width: 800px;
}

.inner_box {
  margin: 0 auto;
  position: relative;
  max-width: 1200px;
  padding: 0 var(--space-m);
}
@media (min-width: 1024px) {
  .inner_box {
    padding: 0 var(--page-gutter);
  }
}



 

/* ----------------------------------------------------
  header setting:
------------------------------------------------------- */

/* header */
header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-header);
  width: 100%;
  background: transparent;
  transition: background-color 0.25s ease;
}

header.is-scrolled {
  background: rgb(255 255 255 / 0.55);
}

header:not(.is-scrolled) {
  background: transparent;
}

header[data-media-header] > .media_header_bar,
header[data-media-header] > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: clamp(var(--space-xs), 0.367rem + 0.28vw, 0.7rem);
  padding-inline: clamp(1.5rem, 5vw, 2.5rem);
  font-weight: bold;
  background: transparent;
}
 
 /* logo */
 header .logo img {
  display: block;
  width: 12rem;
  position: relative;
 }
 
 /* menu（全幅でドロワー表示） */
 .menu {
  position: fixed;
  top: 0;
  right: -100%;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  background: var(--color_white);
  transition: 0.3s ease;
  padding: 5rem var(--space-s) var(--space-s);
  z-index: var(--z-header-sub);
  box-sizing: border-box;
 }
 .menu.open {
  right: 0;
 }
 @media (min-width: 768px) {
  .menu {
   width: 25rem;
  }
 }

/* サービスサイト common.css 経由の遷移後もドロワー表示を維持（768px+ で .menu が static になるのを防ぐ） */
header[data-media-header] .menu {
  position: fixed !important;
  top: 0 !important;
  right: -100%;
  left: auto !important;
  width: 100%;
  height: 100%;
  height: 100dvh;
  display: flex !important;
  flex: none !important;
  min-width: 0 !important;
  overflow-y: auto;
  background: var(--color_white);
  padding: 5rem var(--space-s) var(--space-s);
  z-index: var(--z-header-sub);
  box-sizing: border-box;
  transition: right 0.3s ease;
}

header[data-media-header] .menu.open {
  right: 0;
}

@media (min-width: 768px) {
  header[data-media-header] .menu {
    width: 25rem;
  }
}

header[data-media-header] .main_nav li a {
  font-weight: 400;
}

header[data-media-header] .main_nav li a:hover {
  font-weight: 400;
}

.header_nav-backdrop {
  display: none;
}

@media (min-width: 768px) {
  .header_nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: var(--z-header);
    display: block;
    margin: 0;
    padding: 0;
    border: 0;
    background: rgb(0 0 0 / 0.45);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  .header_nav-backdrop.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
}
 
 /* main_nav */
 .main_nav {
  display: block;
  flex: 1 1 auto;
  margin-bottom: 0;
  overflow-y: auto;
 }
 .main_nav > li {
  padding-left: 0;
  border-bottom: solid 1px var(--color_border);
 }
 .main_nav li a {
  display: block;
  padding: 0.8rem;
  font-size: 1rem;
  font-weight: 400;
 }
 
 /* mega menu */
 .main_nav li:has(ul) > a {
  position: relative;
 }
 /* サブメニュー開閉ボタン */
 .main_nav li:has(ul) > a::after {
  content: "";
  display: inline-block;
  vertical-align: middle;
  color: var(--color_text);
  width: 0.5em;
  height: 0.5em;
  border: 2px solid currentColor;
  border-left: 0;
  border-bottom: 0;
  box-sizing: border-box;
  transform: translateY(-25%) rotate(135deg);
  position: absolute;
  right: var(--space-s);
  top: var(--space-m);
  transition: transform 0.3s ease;
 }
 .main_nav li.mega-open:has(ul) > a::after {
  transform: translateY(-25%) rotate(-45deg);
 }
 
 .main_nav li > ul {
  background: var(--color_bg_neutral);
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(-6px);
  visibility: hidden;
  pointer-events: none;
  transition:
   max-height .55s cubic-bezier(.65,0,.35,1),
   opacity .35s ease,
   transform .35s ease;
 }
 .main_nav li.mega-open > ul {
  max-height: 500px;
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
  margin-bottom: var(--space-s);
 }
 
 .main_nav li ul li a {
  padding-left: var(--space-l);
 }

.header_nav_corp {
  flex-shrink: 0;
  margin-top: var(--space-m);
  padding-top: 0;
}

.header_nav_corp .m_btn {
  display: block;
  width: calc(100% - 1.6rem);
  margin-inline: 0.8rem;
  box-sizing: border-box;
}

/* ハンバーガーメニューボタン（全画面幅で表示） */
.header_menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--main-color);
  cursor: pointer;
  z-index: var(--z-header-menu-btn);
  box-sizing: border-box;
}

/* 3本線（中央・上下） */
.header_menu-btn span,
.header_menu-btn::before,
.header_menu-btn::after {
  position: absolute;
  left: 50%;
  width: 1rem;
  height: 1.5px;
  background-color: #222;
  border-radius: 2px;
  transition: 0.3s ease;
}

.header_menu-btn::before,
.header_menu-btn::after {
  content: "";
}

.header_menu-btn::before {
  top: calc(50% - 7px);
  transform: translateX(-50%);
}

.header_menu-btn span {
  top: 50%;
  transform: translate(-50%, -50%);
}

.header_menu-btn::after {
  top: calc(50% + 5px);
  transform: translateX(-50%);
}

/* 開閉アニメーション（×へ変形） */
.header_menu-btn.active::before {
  top: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
}

.header_menu-btn.active::after {
  top: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
}

.header_menu-btn.active span {
  opacity: 0;
}
 
 





/* --- 共通ボタン（CTA・ピル型） --- */
.m_btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--color_text);
  background: var(--color_primary);
  border-radius: 999px;
  box-shadow: none;
  transition: box-shadow 0.3s ease, transform 0.25s ease;
  text-align: center;
}

@media (hover: hover) {
  .m_btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgb(var(--main-color-rgb) / 0.35);
  }
}

@media (prefers-reduced-motion: reduce) {
  .m_btn {
    transition: box-shadow 0.3s ease;
  }

  @media (hover: hover) {
    .m_btn:hover {
      transform: none;
    }
  }
}

.m_btn_outline {
  color: var(--color_text);
  background: var(--color_white);
  border: 1px solid var(--color_border);
}

@media (hover: hover) {
  .m_btn_outline:hover {
    background: var(--color_bg_neutral);
    border-color: var(--color_text);
    box-shadow: none;
    transform: none;
  }
}

/* --- intro（FV下 CTA） --- */
.intro {
  background: #fff;
}

.intro .inner_box {
  display: grid;
  gap: var(--box-gap);
}

.intro_hd {
  width: fit-content;
  max-width: 100%;
  margin-block: 0;
  margin-inline: auto;
  font-size: 2rem;
  font-weight: 400;
  text-align: left;
  color: var(--color_text);
}

.intro_side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.intro_site {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--color_text);
}

.intro_txt {
  margin: 0.75rem 0 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--color_text);
}

.intro_side .m_btn {
  margin-top: 1.5rem;
}

@media (max-width: 767px) {
  .intro_hd {
    text-align: center;
  }

  .intro_side {
    align-items: center;
    width: fit-content;
    max-width: 100%;
    margin-inline: auto;
    text-align: center;
  }
}

.series .m_btn {
  margin-top: 0;
}

@media (min-width: 768px) {
  .intro .inner_box {
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: var(--box-gap);
  }
}

/* --- 連載記事 --- */
.series {
  background: var(--color_bg_secondary_soft);
}

.series .inner_box {
  display: block;
}

.series_head {
  position: static;
  text-align: center;
}

.series_hd {
  margin: 0;
  font-size: 2rem;
  font-weight: 500;
  color: var(--color_text);
}

.series_txt {
  margin: 1rem 0 0;
  font-size: clamp(0.875rem, 1.8vw, 1rem);
  color: var(--color_text);
}

.series_blocks {
  display: grid;
  gap: clamp(2.5rem, 6vw, 4rem);
  margin-top: clamp(2rem, 5vw, 3rem);
  --series-badge-w: clamp(18rem, 10rem + 28vw, 24rem);
}

.series_block {
  position: relative;
  display: grid;
  grid-template-columns: var(--series-badge-w) minmax(0, 1fr);
  column-gap: clamp(1.5rem, 4vw, 5rem);
  row-gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: start;
  padding-block: clamp(2.5rem, 5vw, 3.5rem);
  padding-inline: var(--box-pad);
  background: var(--color_white);
  box-shadow: var(--box-shadow);
  border-radius: var(--border-radius);
  overflow: visible;
}

.series_badge {
  position: relative;
  z-index: 1;
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
  margin: 0 0 0 -2.5rem;
  padding: clamp(1rem, 0.75rem + 1vw, 1.125rem) clamp(2rem, 1rem + 8vw, 3rem)
    clamp(1.125rem, 0.875rem + 1vw, 1.375rem);
  background: var(--bg-gray-color);
  box-shadow: var(--box-shadow);
  border-radius: var(--border-radius);
  align-self: start;
}

.series_en {
  margin: 0;
  font-family: var(--font-family-en), sans-serif;
  font-size: clamp(0.6875rem, 0.5625rem + 0.5vw, 0.75rem);
  font-weight: 600;
  letter-spacing: 0.14em;
  color: #56a5ca;
  text-align: center;
}

.series_name {
  /* バッジ幅（--series-badge-w）と同じ 400px〜700px で 1.75rem → 2.25rem に拡大 */
  margin: 0;
  font-size: clamp(1.75rem, calc(1.75rem + (100vw - 400px) / 600), 2.25rem);
  font-weight: 300;
  letter-spacing: 0.08em;
  color: var(--color_text);
  text-align: center;
  white-space: nowrap;
}

.series_desc {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  margin: 0;
  font-size: clamp(0.8125rem, 0.75rem + 0.35vw, 1rem);
  line-height: 1.75;
  color: var(--color_text);
}

.rec.series-rec {
  grid-column: 1 / -1;
  grid-row: 2;
}

.series_foot {
  grid-column: 1 / -1;
  grid-row: 3;
  margin: 0;
  text-align: center;
}

@media (max-width: 767px) {
  .series_block {
    overflow: visible;
    grid-template-columns: 1fr;
  }

  .series_badge {
    grid-column: 1;
    grid-row: 1;
    width: min(100%, var(--series-badge-w));
    min-width: min(100%, clamp(17rem, 52vw, 22rem));
    justify-self: start;
  }

  .series_desc {
    grid-column: 1;
    grid-row: 2;
    align-self: start;
  }

  .rec.series-rec {
    grid-row: 3;
  }

  .series_foot {
    grid-row: 4;
  }
}

@media (min-width: 768px) {
  .series_block {
    row-gap: clamp(2rem, 4vw, 3rem);
  }
}

/* ページ内カード（角丸 4px 統一） */
.fv .card,
.pick,
.cta_card,
.art_eye {
  border-radius: var(--border-radius);
}

.card_over {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgb(0 0 0 / 45%);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

/* --- article page --- */
body[data-template="article"] .art {
  padding-top: 0;
}

body[data-template="article"] .inner_box.art_inner {
  position: relative;
  max-width: var(--art-content-width);
}

body[data-template="article"] .art_inner {
  margin-top: 3rem;
}

.art_share_rail {
  display: none;
}

@media (min-width: 1100px) {
  .art_share_rail {
    display: block;
    position: absolute;
    top: 0;
    left: calc(-3rem - 2rem);
    width: 3rem;
    height: 100%;
    pointer-events: none;
  }

  .art_share_sticky {
    position: sticky;
    top: calc(var(--media-header-h) + 2rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    pointer-events: auto;
  }
}

.art_share_label {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color_text_muted);
  writing-mode: vertical-rl;
  text-orientation: upright;
  letter-spacing: 0.12em;
  line-height: 1;
}

.art_share_link {
  display: block;
  line-height: 0;
}

.art_share_link img {
  display: block;
  width: 1.5rem;
  height: 1.5rem;
}

.art_share_inline,
.art_author {
  margin-top: clamp(2.5rem, 6vw, 4rem);
}

.art_share_inline {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.art_share_label_inline {
  writing-mode: horizontal-tb;
  text-orientation: mixed;
  letter-spacing: 0.04em;
}

.art_share_list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 1100px) {
  .art_share_inline {
    display: none;
  }
}

.art_head,
.art_title {
  position: static;
}

.art_meta {
  margin: 0;
  font-size: 0.875rem;
  color: var(--color_text_muted);
}

.art_title {
  margin: 0.75rem 0 0;
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 500;
  line-height: 1.5;
}

.art_eye {
  position: relative;
  margin: clamp(1.5rem, 4vw, 2.5rem) 0 0;
  overflow: hidden;
  border-radius: var(--border-radius);
}

.art_eye img {
  display: block;
  width: 100%;
  height: auto;
}

.art_eye_label {
  position: absolute;
  left: 0;
  bottom: 0;
  margin: 0;
  padding: 0.5rem 1rem;
  background: rgb(0 0 0 / 0.55);
  color: var(--color_white);
  font-size: 0.875rem;
  font-weight: 500;
}

.art_lead {
  margin: clamp(1.5rem, 4vw, 2rem) 0 0;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  background: #fcfaf2;
}

.art_toc {
  margin-top: clamp(1.5rem, 4vw, 2rem);
}

.art_toc details {
  border-radius: var(--border-radius);
  background: var(--bg-gray-color);
  overflow: hidden;
}

.art_toc summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 2rem;
  background: #F1F1F1;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.art_toc summary::-webkit-details-marker {
  display: none;
}

.art_toc summary::after {
  content: "+";
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--color_primary);
  color: var(--color_text);
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.75rem;
  text-align: center;
}

.art_toc details[open] summary::after {
  content: "−";
}

.art_toc ol {
  margin: 0;
  padding: 1rem 2rem 2rem 2rem;
  display: grid;
  gap: 0.5rem;
}

.art_toc a {
  color: var(--color_text);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

@media (hover: hover) {
  .art_toc a:hover {
    text-decoration: none;
  }
}

.art .art_body {
  width: auto;
  max-width: none;
  margin: clamp(2rem, 5vw, 3rem) 0 0;
  font-size: 1rem;
  line-height: 1.9;
}

.art .art_body > * + * {
  margin-top: 1.25rem;
}

.art .art_body h2 {
  margin-top: 2.5rem;
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 700;
  background: var(--bg-B-color);
  padding: 1rem;
  border-bottom: none;
  line-height: 1.5;
}

.art .art_body h3 {
  margin-top: 2rem;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.6;
  padding: 0.75rem;
  border-left: 3px solid #bababa;
}

.art .art_body h4 {
  margin-top: 1.5rem;
  font-size: 1.125rem;
  font-weight: 700;
}

.art .art_body h5 {
  margin-top: 1.25rem;
  font-size: 1rem;
  font-weight: 700;
}

.art .art_body ul,
.art .art_body ol {
  margin-left: 0;
  padding-left: 0;
}

.art .art_body ul {
  list-style: none;
}

.art .art_body ul li {
  position: relative;
  padding-left: 1.25rem;
}

.art .art_body ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.95em;
  width: 0.375rem;
  height: 0.375rem;
  background: var(--gray2-color);
  transform: translateY(-50%);
}

.art .art_body ol {
  margin-left: 1.25rem;
  list-style: decimal;
  list-style-position: outside;
  padding-left: 0.25rem;
}

.art .art_body ol li {
  display: list-item;
}

.art .art_body ol li::marker {
  font-family: var(--font-family-en), sans-serif;
  font-weight: 700;
}

.art .art_body li + li {
  margin-top: 0.35rem;
}

.art .art_body table {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  table-layout: fixed;
  border-collapse: collapse;
  margin: 1.5rem 0;
  display: table;
}

.art .art_body th,
.art .art_body td {
  border: 1px solid var(--gray-color);
  padding: 0.5rem;
  vertical-align: top;
  background: var(--white-color);
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.art .art_body th {
  background: var(--bg-gray-color);
  font-weight: 700;
  text-align: left;
}

.art .art_body a {
  color: var(--color_text);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

@media (hover: hover) {
  .art .art_body a:hover {
    text-decoration: none;
  }
}

.art .art_body u {
  text-decoration: none;
  background: linear-gradient(
    transparent 52%,
    rgba(var(--main-color-rgb), 0.45) 52%,
    rgba(var(--main-color-rgb), 0.45) 92%,
    transparent 92%
  );
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.art .art_body blockquote {
  position: relative;
  max-width: 100%;
  min-width: 0;
  overflow-wrap: break-word;
  background: var(--bg-gray-color);
  padding: 1rem 3.5rem;
  border-radius: var(--border-radius);
}

.art .art_body blockquote::before,
.art .art_body blockquote::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 16px;
  background: url("/img/media/icon-blockquote-quote.svg") no-repeat center / contain;
  pointer-events: none;
}

.art .art_body blockquote::before {
  top: 1.5rem;
  left: 1rem;
}

.art .art_body blockquote::after {
  right: 1rem;
  bottom: 1.5rem;
  transform: rotate(180deg);
}

.art .art_body blockquote > * + * {
  margin-top: 0.75rem;
}

.art .art_body blockquote p {
  overflow-wrap: break-word;
  word-break: break-word;
}

.art .art_body figure {
  max-width: 100%;
  margin: 1.25rem 0 0;
}

.art .art_body img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: min(75vh, 900px);
  object-fit: contain;
  display: block;
  border-radius: var(--border-radius);
}

.art .art_body_figure {
  margin: 2rem auto;
  max-width: 20rem;
  text-align: center;
}

.art .art_body_figure img {
  width: 100%;
  border-radius: var(--border-radius);
}

.art_author {
  padding: clamp(1.5rem, 3vw, 2rem);
  background: #faf9f6;
  border-radius: var(--border-radius);
}

.art_author_head {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.art_author_avatar {
  flex-shrink: 0;
  margin: 0;
  line-height: 0;
}

.art_author_avatar img {
  display: block;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
}

.art_author_meta {
  min-width: 0;
}

.art_author_label {
  margin: 0;
  font-size: 0.75rem;
  color: var(--color_text_muted);
  line-height: 1.5;
}

.art_author_name {
  margin: 0.25rem 0 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
}

.art_author_body {
  margin-top: 1rem;
}

.art_author_body p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.8;
}

.art_author_body p + p {
  margin-top: 0.75rem;
}

/* --- FV slider（モバイルファースト） --- */
.fv {
  --fv-gap: var(--media-gap-lg);
  --fv-peek: 6vw;
  --fv-w: 88vw;
  --fv-yellow: var(--main-color);
  margin-top: 0;
  padding: calc(var(--media-header-h) + 1.25rem) 0 2rem;
  background: #fafafa;
  overflow: hidden;
  touch-action: pan-y;
}

.fv .slider {
  max-width: 100%;
}

.fv .view {
  overflow: hidden;
}

.fv .list {
  display: flex;
  gap: var(--fv-gap);
  padding-inline: var(--fv-peek);
  padding-bottom: 1rem;
  transition: transform 0.45s ease;
  will-change: transform;
}

.fv .item {
  flex: 0 0 var(--fv-w);
}

.fv .card {
  display: block;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--box-shadow);
  opacity: 0.55;
  transition: transform 0.2s ease, opacity 0.45s ease;
}

.fv .item.is-on .card {
  opacity: 1;
}

/* 1024px以下: 画像の下にテキスト */
.fv .top {
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
}

.fv .pic {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  min-width: 0;
  background: #e8ecef;
}

.fv .pic picture {
  display: block;
  width: 100%;
  height: 100%;
}

.fv .pic img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.45s ease;
}

@media (hover: hover) {
  .fv .card:hover .pic img {
    transform: scale(1.08);
  }

  .fv .card:hover .card_over {
    opacity: 1;
  }

  .fv .card:hover .hd {
    color: var(--accent-color);
  }
}

.fv .side {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
  min-width: 0;
  padding: var(--card-inner-pad);
}

.fv .dt {
  font-family: var(--font-family-en), sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color_text_muted);
}

.fv .hd {
  margin-top: 0.75rem;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--color_text);
  transition: color 0.25s ease;
}

.fv .ctrl {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.fv .btn,
.rec_btn {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  font-size: 0;
  color: transparent;
  background-color: var(--main-color);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.fv .btn::before,
.rec_btn::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  background: #000;
  clip-path: polygon(0 50%, 100% 0, 100% 100%);
}

.fv .btn.next::before,
.rec_btn.next::before {
  clip-path: polygon(100% 50%, 0 0, 0 100%);
}

.fv .btn:hover,
.rec_btn:hover {
  opacity: 0.85;
}

.rec_btn:disabled {
  background-color: #bababa;
  cursor: default;
}

.rec_btn:disabled:hover {
  opacity: 1;
  background-color: #bababa;
}

.fv .dots {
  display: flex;
  gap: 1.5rem;
}

.fv .dot {
  width: 0.5rem;
  height: 0.5rem;
  padding: 0;
  background: #ddd;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.fv .dot.is-on {
  background: var(--fv-yellow);
  transform: scale(1.15);
}

/* 1025px以上: 横並び・メイン大きめ・前後は約1/6だけ見せる */
@media (min-width: 1025px) {
  .fv {
    --fv-peek: 16.666667vw;
    --fv-w: min(66.666667vw, 1200px);
    padding: calc(var(--media-header-h) + 2rem) 0 2.5rem;
  }

  .fv .list {
    padding-inline: calc((100% - var(--fv-w)) / 2);
  }

  .fv .top {
    grid-template-columns: 2fr 1fr;
    align-items: start;
  }

  .fv .side {
    padding: clamp(1rem, 0.25rem + 1.75vw, var(--card-inner-pad));
  }

  .fv .dt {
    font-size: 0.875rem;
  }

  .fv .hd {
    margin-top: clamp(0.75rem, 0.25rem + 1vw, 1rem);
    font-size: clamp(1.125rem, 0.5rem + 1.05vw, 1.25rem);
  }

  .fv .ctrl {
    margin-top: 1.75rem;
  }
}

/* --- 最新記事 / おすすめ記事 --- */
.sec_new {
  background: linear-gradient(
    to bottom,
    var(--color_white) 0%,
    var(--color_white) 20%,
    var(--color_bg_neutral) 20%,
    var(--color_bg_neutral) 100%
  );
}

.sec_new_hd {
  text-align: center;
  font-size: 2rem;
  font-weight: 500;
  color: var(--color_text);
}

.sec_new_list {
  display: grid;
  gap: 4rem;
  margin-top: clamp(2rem, 5vw, 3rem);
}

@media (min-width: 768px) and (max-width: 1023px) {
  .sec_new {
    background: linear-gradient(
      to bottom,
      var(--color_white) 0%,
      var(--color_white) 30%,
      var(--color_bg_neutral) 30%,
      var(--color_bg_neutral) 100%
    );
  }
}

@media (min-width: 768px) {
  .sec_new_list {
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(1rem, 4vw, 5rem);
  }

  /* 3件時の2+1：3枚目を1カラム幅で中央寄せ */
  .sec_new_list > li:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    width: calc((100% - clamp(1rem, 4vw, 5rem)) / 2);
    max-width: calc((100% - clamp(1rem, 4vw, 5rem)) / 2);
    justify-self: center;
  }
}

@media (min-width: 1024px) {
  .sec_new {
    background: linear-gradient(
      to bottom,
      var(--color_white) 0%,
      var(--color_white) 40%,
      var(--color_bg_neutral) 40%,
      var(--color_bg_neutral) 100%
    );
  }

  .sec_new_list {
    grid-template-columns: repeat(3, 1fr);
    /* 1024px で 1rem → 広い画面で最大 5rem まで拡大 */
    gap: clamp(1rem, calc(1rem + (100vw - 1024px) * 4 / 56), 5rem);
  }

  .sec_new_list > li:last-child:nth-child(odd) {
    grid-column: auto;
    width: auto;
    max-width: none;
    justify-self: stretch;
  }
}

.sec_new_foot {
  margin-top: clamp(2rem, 5vw, 3rem);
  text-align: center;
}

/* --- パンくず --- */
.crumb_wrap {
  padding-top: var(--space-m);
  padding-bottom: 0;
}

.crumb {
  font-size: 0.8125rem;
  font-weight: 400;
  color: #bababa;
}

.crumb_list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.5rem;
  list-style: none;
}

.crumb_list a {
  color: #bababa;
  text-decoration: none;
}

.crumb_list li + li::before {
  content: ">";
  margin-right: 0.5rem;
  color: #bababa;
}

.crumb_list [aria-current="page"] {
  color: var(--color_text);
}

/* --- 記事一覧 --- */
.sec_list {
  background: #fff;
}

body[data-template="list"] main > section.sec_list {
  padding-top: 2rem;
}

.sec_list_hd {
  text-align: center;
  font-size: 2rem;
  font-weight: 500;
  color: var(--color_text);
}

.sec_list_grid {
  display: grid;
  gap: 2rem;
  margin-top: clamp(2rem, 5vw, 3rem);
}

@media (min-width: 768px) {
  .sec_list_grid {
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(1rem, 4vw, 5rem);
  }
}

@media (min-width: 1024px) {
  .sec_list_grid {
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1rem, calc(1rem + (100vw - 1024px) * 4 / 56), 5rem);
  }
}

.sec_list_foot {
  margin-top: clamp(2rem, 5vw, 3rem);
  text-align: center;
}

.sec_list_empty,
.sec_list_error {
  margin-top: 2rem;
  text-align: center;
  color: var(--color_text_muted);
}

.sec_list_error {
  color: #c0392b;
}

/* 記事カード（最新・おすすめ・一覧共通） */
.sec_new .pick_foot,
.rec .pick_foot,
.series .pick_foot,
.sec_list .pick_foot {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  margin-top: 0;
}

.sec_new .pick_date,
.rec .pick_date,
.series .pick_date,
.sec_list .pick_date {
  min-width: 3.5rem;
  text-align: center;
  font-family: var(--font-family-en), sans-serif;
}

.sec_new .pick_ym,
.rec .pick_ym,
.series .pick_ym,
.sec_list .pick_ym {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 400;
  color: #bababa;
}

.sec_new .pick_day,
.rec .pick_day,
.series .pick_day,
.sec_list .pick_day {
  margin: 0.25rem 0 0;
  font-family: var(--font-family-en), sans-serif;
  font-size: 2rem;
  font-weight: 400;
  line-height: 1;
  text-align: center;
  color: #bababa;
}

.sec_new .pick_hd,
.rec .pick_hd,
.series .pick_hd,
.sec_list .pick_hd {
  display: inline;
  margin: 0;
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.6;
  color: var(--color_text);
  transition: color 0.25s ease;
}

.pick_main {
  min-width: 0;
}

/* pick card（枠・ホバー共通） */
.pick {
  display: block;
  height: 100%;
  background: #fff;
  box-shadow: var(--box-shadow);
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}

@media (hover: hover) {
  .pick:hover {
    box-shadow: var(--box-shadow);
  }
}

.pick_pic {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.pick_media {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: #e8ecef;
  transition: transform 0.45s ease;
}

.pick_body {
  padding: clamp(1rem, 0.25rem + 1.75vw, var(--card-inner-pad));
}

@media (hover: hover) {
  .pick:hover .pick_media {
    transform: scale(1.08);
  }

  .pick:hover .card_over {
    opacity: 1;
  }

  .pick:hover .pick_hd {
    color: var(--accent-color);
  }
}

/* おすすめ記事スライダー */
.sec_rec {
  background: #fff;
}

.sec_rec_hd {
  font-size: 2rem;
  font-weight: 500;
  color: var(--color_text);
}

.rec {
  --rec-gap: var(--media-gap-md);
  --rec-inset: max(1.5rem, calc((100vw - 1200px) / 2 + 1.5rem));
  --rec-inset-end: var(--media-gap-md);
  /* 1023px以下: 1024px時の幅で固定（画面が狭くてもカードは縮めず隠す） */
  --rec-card-w: min(22rem, calc((1024px - 2rem - var(--rec-gap) * 3) / 3.15));
  margin-top: clamp(1.75rem, 4vw, 2.5rem);
}

@media (min-width: 1024px) {
  .rec {
    --rec-inset: max(2rem, calc((100vw - 1200px) / 2 + 2rem));
    --rec-card-w: min(22rem, calc((100vw - var(--rec-inset) - var(--rec-gap) * 3) / 3.15));
  }
}

/* 連載記事ブロック内スライダー（カード幅は .rec と同じ、左余白のみ上書き） */
.rec.series-rec {
  --rec-inset-end: 0;
  --rec-gap: clamp(1.5rem, 3vw, 2.5rem);
}

@media (min-width: 768px) {
  /* スライダー不要（全カードが収まる）間は中央寄せ */
  .rec.series-rec:not(.rec_scrollable) .rec_list {
    justify-content: center;
    padding-left: 0;
    padding-right: 0;
  }

  .rec.series-rec.rec_scrollable .rec_list {
    justify-content: flex-start;
    padding-left: 1rem;
  }
}

@media (max-width: 767px) {
  .rec.series-rec {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    --rec-card-w: min(18rem, 100%);
  }

  .rec.series-rec .rec_view {
    max-width: 100%;
    box-sizing: border-box;
  }

  .rec.series-rec .rec_list {
    padding-left: 0;
  }
}

.rec.series-rec .rec_ctrl {
  margin-top: 0.25rem;
}

.rec_view {
  overflow: hidden;
  touch-action: pan-y pinch-zoom;
}

.rec_scrollable .rec_view {
  cursor: grab;
}

.rec_scrollable .rec_view.is-dragging {
  cursor: grabbing;
  user-select: none;
}

.rec_list {
  display: flex;
  gap: var(--rec-gap);
  padding-left: var(--rec-inset);
  padding-right: var(--rec-inset-end);
  /* rec_view の overflow:hidden で box-shadow が切れないよう下余白 */
  padding-bottom: 1.5rem;
  transition: transform 0.45s ease;
  will-change: transform;
}

.rec_list.is-dragging {
  transition: none;
}

.rec_item {
  flex: 0 0 var(--rec-card-w);
  width: var(--rec-card-w);
  max-width: var(--rec-card-w);
}

.rec_ctrl {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1.75rem;
}

.rec_scrollable .rec_ctrl {
  display: flex;
}

/* --- CTA banner --- */
.cta_card {
  width: 100%;
  max-width: none;
}

.cta_body {
  --cta-frame-inset: clamp(1.25rem, 2vw, 1.875rem);
  position: relative;
  width: 100%;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  grid-template-columns: 1fr;
  max-height: 480px;
  overflow: hidden;
}

.cta_body::after {
  content: "";
  position: absolute;
  inset: var(--cta-frame-inset);
  border: 1px solid var(--color_white);
  pointer-events: none;
  z-index: 10;
}

.cta_copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 4rem clamp(1.5rem, 4vw, 2.5rem) 2rem;
  background: #fcfaf2;
  text-align: center;
}

@media (min-width: 768px) {
  .cta_copy {
    padding: 4rem clamp(1.5rem, 4vw, 2.5rem);
  }
}

.cta_hd {
  margin: 0;
  font-size: clamp(1.375rem, 2.8vw, 1.75rem);
  font-weight: 500;
  line-height: 1.5;
  color: var(--color_text);
}

.cta_lead {
  margin: 0;
  font-size: clamp(0.875rem, 1.6vw, 1rem);
  font-weight: 500;
  line-height: 1.8;
  color: var(--color_text);
}

.cta_copy .m_btn {
  margin-top: 0.5rem;
}

.cta_visual {
  min-height: 0;
}

.cta_photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (min-width: 768px) {
  .cta_body {
    grid-template-rows: none;
    grid-template-columns: 1fr 1fr;
    max-height: 480px;
  }

  .cta_visual {
    height: 100%;
  }
}

/* --- footer --- */
.ft {
  background: #fff;
  color: var(--color_text);
}

.ft_main {
  padding: clamp(2.5rem, 6vw, 4rem) 1.5rem 2.5rem;
  text-align: center;
}

.ft_logo {
  margin: 0;
}

.ft_logo a {
  display: inline-block;
}

.ft_logo_img {
  display: block;
  width: min(100%, 12rem);
  height: auto;
  margin-inline: auto;
}

.ft_tagline {
  margin: 1rem 0 0;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.75;
}

.ft_name {
  margin: 0.25rem 0 0;
  font-size: 0.8125rem;
  font-weight: 500;
}

.ft_nav {
  margin-top: 1.5rem;
}

.ft_nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.5rem;
  font-size: 0.8125rem;
  font-weight: 500;
}

.ft_sns {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.ft_sns_link {
  display: block;
  line-height: 0;
}

.ft_sns_link img {
  display: block;
  width: 1.5rem;
  height: 1.5rem;
  object-fit: contain;
}

.ft_bar {
  border-top: 1px solid var(--color_border);
  padding-block: 1.25rem 1.5rem;
}

.ft_bar_inner {
  display: grid;
  gap: 1rem;
  align-items: center;
  text-align: center;
}

.ft_corp a {
  display: inline-block;
}

.ft_corp_img {
  display: block;
  width: auto;
  height: 1rem;
}

.ft_legal ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1rem;
  font-size: 0.75rem;
}

.ft_copy {
  font-size: 0.75rem;
  color: #88939a;
}

@media (min-width: 768px) {
  .ft_bar_inner {
    grid-template-columns: auto 1fr auto;
    text-align: left;
  }

  .ft_legal ul {
    justify-content: center;
  }

  .ft_copy {
    text-align: right;
  }
}

