/* =========================================================
   PT Career — theme.css
   基準は 1440px幅・DPR2 のデザイン実測値。
   ブレークポイント: ≥1366 固定px / ≤1365 vw スケール / ≤768 SP
   ========================================================= */
:root {
  --black: #222;
  --white: #fff;
  --red: #ff0211;
  --accent: #ffb400;   /* アクセント（ボタン等） */
  --blue: var(--accent); /* 互換 */
  --gray: #cfd1d6;
  --light-gray: #f5f5f5;
  --dark-gray: #707684;
  --font-ja: "Noto Sans JP", "Noto Sans CJK JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  --font-en: "Inter", "Helvetica Neue", Arial, var(--font-ja), sans-serif;
  --font-logo: "Aptos", "Aptos Display", "Inter", "Helvetica Neue", Arial, sans-serif;
  --header-h: 81px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-ja);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, picture, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }
.sp-only { display: none; }
.pc-only { display: block; }

/* ---------- 共通コンテナ ---------- */
.l-wrap { max-width: 1200px; margin: 0 auto; }

/* ---------- 汎用ボタン ---------- */
.c-btn-blue {
  display: flex; justify-content: center; align-items: center;
  width: 100%; max-width: 302px; padding: 19px 0;
  font-size: 18px; font-weight: 700; line-height: 18px;
  color: var(--black); background: var(--blue); border-radius: 10px;
}
.c-btn-white {
  display: flex; justify-content: center; align-items: center;
  width: 100%; max-width: 302px; padding: 19px 0;
  font-size: 18px; font-weight: 700; line-height: 18px;
  color: var(--black); background: var(--white); border-radius: 10px;
}
.c-btn-black {
  display: inline-flex; justify-content: center; align-items: center;
  padding: 16px 24px; font-size: 16px; font-weight: 700; line-height: 20px;
  color: var(--white); background: var(--black); border-radius: 10px; text-align: center;
}
.c-btn-black .c-btn__icon { display: inline-block; width: 0; height: 20px; }

/* 検索ボックス */
.c-search { position: relative; width: 100%; max-width: 302px; }
.c-search__input {
  display: block; width: 100%; height: 57px; padding: 18px 24px;
  font-size: 16px; line-height: 16px; color: #000; background: var(--white);
  border: 1px solid var(--gray); border-radius: 10px; outline: none; -webkit-appearance: none;
}
.c-search__input::placeholder { color: var(--dark-gray); }
.c-search__btn { position: absolute; top: 50%; right: 24px; width: 21px; height: 21px; transform: translateY(-50%); }
.c-search__btn svg { width: 21px; height: 21px; display: block; }

/* カテゴリチップ */
.c-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.c-chips a {
  display: inline-flex; align-items: center; padding: 6px 8px;
  font-size: 10px; font-weight: 700; line-height: 10px;
  color: var(--dark-gray); border: 1px solid var(--dark-gray); border-radius: 4px; white-space: nowrap;
}

/* セクション見出し */
.c-heading { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; margin: 0 0 40px; }
.c-heading__title { font-size: 32px; font-weight: 700; line-height: 32px; }
.c-heading__sub { font-size: 16px; font-weight: 700; line-height: 16px; }

/* タイトルの下線アニメ風（インライン表示） */
.c-inline-title { display: inline; }

/* ---------- ヘッダー（白背景・スクロール方向で表示/非表示） ---------- */
.l-header-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--white);
  transition: transform .3s ease, box-shadow .3s ease;
}
.l-header-bar.is-scrolled { box-shadow: 0 1px 0 rgba(0, 0, 0, .06); }
.l-header-bar.is-hidden { transform: translateY(-100%); }
.l-header {
  position: relative;
  display: flex; justify-content: space-between; align-items: center;
  max-width: 1230px; height: var(--header-h); margin: 0 auto; padding: 0 20px;
}
.l-header__logo { display: block; }
/* ロゴ */
.c-logo { display: inline-flex; flex-direction: column; align-items: flex-start; line-height: 1; }
.c-logo__word {
  font-family: var(--font-logo); font-weight: 800; font-style: italic;
  font-size: 34px; line-height: 1; letter-spacing: -.02em; color: var(--red);
}
.c-logo__tag { margin-top: 6px; font-size: 10px; font-weight: 700; line-height: 1; letter-spacing: .04em; color: var(--black); }
.c-logo--footer .c-logo__word { font-size: 30px; color: var(--white); }
.l-header__menu { display: flex; align-items: center; }
.l-header__btn {
  display: inline-block; margin-right: 32px; padding: 11px 20px;
  font-size: 14px; font-weight: 700; line-height: 14px;
  color: var(--white); background: var(--black); border-radius: 10px; white-space: nowrap;
}
.l-header__nav { display: none; }
.l-header__nav li { position: relative; font-size: 14px; font-weight: 700; line-height: 14px; white-space: nowrap; }
.l-header__nav li.is-on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 3px; background: var(--red); }
.l-header__nav a { display: block; }
.c-hamburger { position: relative; width: 30px; height: 24px; }
.c-hamburger span { position: absolute; left: 0; width: 30px; height: 3px; background: var(--black); border-radius: 4px; transition: .25s; }
.c-hamburger span:nth-of-type(1) { top: 0; }
.c-hamburger span:nth-of-type(2) { top: 10.5px; }
.c-hamburger span:nth-of-type(3) { top: 21px; }
body.is-menu-open .c-hamburger span:nth-of-type(1) { top: 50%; left: 50%; width: 34px; transform: translate(-50%, -50%) rotate(-45deg); }
body.is-menu-open .c-hamburger span:nth-of-type(2) { opacity: 0; }
body.is-menu-open .c-hamburger span:nth-of-type(3) { top: 50%; left: 50%; width: 34px; transform: translate(-50%, -50%) rotate(45deg); }
body.is-menu-open .l-header-bar { transform: none; }

/* ---------- ハンバーガーメニュー（オーバーレイ） ---------- */
.l-menu {
  position: fixed; inset: 0; z-index: 900; display: flex; justify-content: center;
  padding: 110px 0 0; background: var(--black); color: var(--white);
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; overflow-y: auto;
}
body.is-menu-open .l-menu { opacity: 1; visibility: visible; }
body.is-menu-open { overflow: hidden; }
.l-menu__nav { display: flex; flex-direction: column; position: relative; width: 100%; max-width: 1230px; padding: 0 15px; }
.l-menu__container { flex: 1 1 0%; padding: 50px 0 40px; }
.l-menu__card { margin: 0 0 40px; padding: 64px; color: var(--black); background: var(--white); border-radius: 12px; }
.c-tags { display: flex; gap: 112px; }
.c-tags__heading { flex: 0 0 auto; font-size: 18px; font-weight: 700; line-height: 18px; }
.c-tags__lists { display: flex; gap: 56px; min-width: 0; }
.c-tags__h2 { margin: 0 0 32px; padding: 0 0 8px; font-size: 16px; font-weight: 700; line-height: 16px; border-bottom: 1px solid var(--gray); white-space: nowrap; }
.c-tags__list { display: flex; flex-direction: column; }
.c-tags__list li { min-height: 28px; }
.c-tags__list li a { font-size: 14px; font-weight: 700; line-height: 28px; color: var(--dark-gray); }
.c-tags__list li a::before { content: "-"; margin-right: 6px; font-weight: 500; }
.c-tags__sublists { display: flex; flex-wrap: wrap; gap: 32px 24px; }
.c-tags__sublists > div { flex: 0 0 calc(25% - 18px); min-width: 0; }
.c-tags__h3 { margin: 0 0 16px; font-size: 16px; font-weight: 700; line-height: 16px; }
.c-tags__h3::before { content: "⚫︎"; color: var(--gray); }
.l-menu__bottom { display: flex; justify-content: center; gap: 16px; padding: 0 0 60px; }
.l-menu__bottom .c-search__input { border: 1px solid var(--gray); }


/* ---------- トップ：FV スライダー ---------- */
.p-fv { position: relative; max-width: 1366px; margin: 0 auto 48px; padding: 104px 83px 0 0; }
.p-fv__track { position: relative; overflow: hidden; }
.p-fv__list { display: grid; }
.p-fv__slide {
  grid-area: 1 / 1; display: flex; justify-content: space-between; gap: 104px;
  width: 100%; transition: opacity .6s; opacity: 0; pointer-events: none;
}
.p-fv__slide.is-active { opacity: 1; z-index: 1; pointer-events: auto; }
.p-fv__img { flex: 0 1 700px; border-radius: 12px; overflow: hidden; }
.p-fv__img img { width: 700px; height: 467px; object-fit: cover; }
.p-fv__content { flex: 0 1 479px; padding: 88px 0 45px; }
.p-fv__link { display: inline; }
.p-fv__date { margin: 0 0 20px; font-size: 14px; font-weight: 400; line-height: 1.2; }
.p-fv__title-wrap { margin: 0 0 20px; }
.p-fv__title {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden;
  font-size: 32px; font-weight: 700; line-height: 1.6;
}
.p-fv__pagination {
  position: absolute; left: 0; right: 0; bottom: 42px; z-index: 2; display: flex; align-items: center; gap: 104px;
  padding: 0 83px 0 0; height: 5px;
}
.p-fv__pagination-spacer { flex: 0 1 700px; }
.p-fv__dots { display: flex; align-items: center; gap: 8px; flex: 0 1 479px; }
.p-fv__dot { width: 32px; height: 5px; background: var(--dark-gray); border-radius: 727px; }
.p-fv__dot.is-active { background: var(--red); }

/* ---------- トップ：本文エリア ---------- */
.p-top { padding: 120px 0; background: var(--light-gray); }
.p-top__wrap { max-width: 1200px; margin: 0 auto; }
.p-top__two { display: flex; justify-content: space-between; gap: 104px; }
.p-top__main { flex: 0 1 786px; min-width: 0; }

/* 特集 */
.p-feature { margin: 0 0 60px; }
.p-feature__list { display: flex; flex-wrap: wrap; gap: 40px 24px; }
.p-feature__item { flex: 0 0 calc((100% - 48px) / 3); min-width: 0; }
.p-feature__img { margin: 0 0 24px; border-radius: 12px; overflow: hidden; }
.p-feature__img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.p-feature__title { display: inline; font-size: 16px; font-weight: 700; line-height: 1.6; }

/* タグから探す */
.p-keyword { margin: 0 0 60px; }
.p-keyword__box { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 24px; background: var(--white); border-radius: 12px; }
.p-keyword__box li { line-height: 23px; }
.p-keyword__box a { font-size: 14px; font-weight: 700; line-height: 21px; color: var(--black); }
.p-keyword__box a::before { content: "#"; }

/* 記事カード（おすすめ・カテゴリ・関連） */
.c-cards { display: flex; flex-wrap: wrap; gap: 32px; }
.c-card {
  display: flex; flex-direction: column; justify-content: space-between;
  width: 377px; background: var(--white); border-radius: 12px; overflow: hidden;
}
.c-card__link { display: block; }
.c-card__img { margin: 0 0 32px; overflow: hidden; }
.c-card__img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.c-card__title-wrap { margin: 0 0 12px; padding: 0 31px; }
.c-card__title { display: inline; font-size: 18px; font-weight: 700; line-height: 1.56; }
.c-card__chips { margin: 0 0 32px; padding: 0 32px; }

/* おすすめ */
.p-recommend { margin: 0 0 60px; }

/* 新着 */
.p-recent__list { display: flex; flex-direction: column; gap: 24px; margin: 0 0 42px; }
.p-recent__item { position: relative; }
.p-recent__item a { display: flex; background: var(--white); border-radius: 12px; overflow: hidden; }
.p-recent__img { flex: 0 0 269px; overflow: hidden; }
.p-recent__img img { width: 269px; height: 179px; object-fit: cover; }
.p-recent__body { padding: 32px; min-width: 0; }
.p-recent__title-wrap { margin: 0 0 12px; }
.p-recent__title {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden;
  font-size: 18px; font-weight: 700; line-height: 1.5;
}
.p-recent__date { font-size: 14px; font-weight: 400; line-height: 14px; }
.p-recent__item.is-new::after {
  content: "NEW"; position: absolute; top: 12px; left: 12px; z-index: 2;
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px 6px 10px;
  font-family: var(--font-en); font-size: 11px; font-weight: 800; line-height: 1; letter-spacing: .1em; color: var(--white);
  background: var(--red); border-radius: 999px; box-shadow: 0 4px 12px rgba(255, 2, 17, .35);
}
.p-recent__item.is-new::before {
  content: ""; position: absolute; top: 12px; left: 12px; z-index: 3; width: 6px; height: 6px; margin: 9px 0 0 10px;
  background: var(--white); border-radius: 50%; animation: ptcm-pulse 1.6s ease-in-out infinite;
}
.p-recent__item.is-new::after { padding-left: 22px; }
@keyframes ptcm-pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .55; transform: scale(.75); } }
.p-recent__more { text-align: right; }

/* サイドバー */
.l-side { display: flex; flex-direction: column; gap: 48px; flex: 0 1 302px; min-width: 0; }
.l-side__buttons { display: flex; flex-direction: column; gap: 16px; }
.l-side__menu { display: flex; flex-direction: column; gap: 32px; }
.l-side__h3 { font-size: 20px; font-weight: 700; line-height: 20px; }
.l-side__h4 { margin: 0 0 16px; padding: 0 0 10px; font-size: 18px; font-weight: 700; line-height: 18px; border-bottom: 1px solid var(--dark-gray); }
.l-side__list li { height: 28px; }
.l-side__list li a { font-size: 14px; font-weight: 700; line-height: 28px; color: var(--dark-gray); }
.l-side__list li a::before { content: "-"; margin-right: 6px; font-weight: 500; }
.l-side__h5 { margin: 0 0 16px; font-size: 16px; font-weight: 700; line-height: 16px; }
.l-side__h5::before { content: "⚫︎"; color: var(--gray); }
.l-side__group + .l-side__group { margin-top: 32px; }
.l-side__sub + .l-side__sub { margin-top: 16px; }
.l-side__links { display: flex; flex-direction: column; gap: 32px; }
.c-sns { display: flex; justify-content: center; align-items: center; gap: 24px; }
.c-sns a { display: flex; justify-content: center; align-items: center; }
.c-sns a svg { display: block; }
.c-sns__x { width: 28px; height: 28px; }
.c-sns__ig { width: 32px; height: 32px; }
.c-sns__yt { width: 30px; height: 30px; }
.l-side__banner-label { margin: 0 0 12px; font-size: 14px; font-weight: 700; line-height: 14px; }
.l-side__banner { display: block; width: 302px; height: 159px; border-radius: 12px; overflow: hidden; }
.c-banner {
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 8px;
  width: 100%; height: 100%; text-align: center;
  background: linear-gradient(135deg, #ffb400 0%, #ffe3a0 40%, #ffe4e6 75%, #ffb3b8 100%);
}
.c-banner__title { font-family: var(--font-logo); font-size: 24px; font-weight: 800; font-style: italic; letter-spacing: -.02em; }
.c-banner__sub { font-size: 12px; font-weight: 700; }

/* ---------- CTA ---------- */
.p-cta {
  position: relative; display: flex; justify-content: center; align-items: center;
  height: 35.1391vw; overflow: hidden; text-align: center; color: var(--white);
}
.p-cta::before { content: ""; position: absolute; inset: 0; background: var(--cta-bg, url("../img/cta-bg.jpg")) center / cover no-repeat; }
.p-cta::after { content: ""; position: absolute; inset: 0; background: var(--black); opacity: .5; }
.p-cta__wrap { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; max-width: 800px; }
.p-cta__title { margin: 0 0 32px; font-family: var(--font-en); font-size: 52px; font-weight: 800; line-height: 52px; letter-spacing: -.02em; }
.p-cta__desc { margin: 0 0 32px; font-size: 24px; font-weight: 700; line-height: 1.6; }
.p-cta__btn {
  display: inline-flex; align-items: center; justify-content: center; min-width: 240px; padding: 16px 28px;
  font-size: 18px; font-weight: 700; line-height: 18px;
  color: var(--white); background: var(--red); border-radius: 10px;
}

/* ---------- フッター ---------- */
.l-footer { padding: 120px 0; color: var(--white); background: var(--black); }
.l-footer__inner { max-width: 1230px; margin: 0 auto; padding: 0 20px; }
.l-footer__logo { line-height: 1; }
.l-footer__menus { display: flex; justify-content: space-between; margin: 60px 0 0; }
.l-footer__col { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.l-footer dt { font-size: 16px; font-weight: 700; line-height: 23px; }
.l-footer dd { margin: 20px 0 0; font-size: 12px; line-height: 12px; }
.l-footer dd a { color: var(--white); }
.l-footer__bottom { margin: 60px 0 0; text-align: right; }
.l-footer__bottom small { font-size: 10px; line-height: 10px; }

/* ---------- 記事ページ ---------- */
.p-article { padding: 120px 20px; background: var(--light-gray); }
.p-article__inner { max-width: 1200px; margin: 0 auto; }
.p-article__top { display: flex; margin: 0 0 40px; background: var(--white); border-radius: 12px; overflow: hidden; }
.p-article__top-img { flex: 0 1 700px; min-width: 0; overflow: hidden; }
.p-article__top-img img { width: 100%; height: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.p-article__top-body { flex: 0 1 500px; min-width: 0; margin: auto 56px 32px; padding-top: 32px; }
.p-article__date { margin: 0 0 20px; font-size: 14px; font-weight: 400; line-height: 1.2; }
.p-article__title { margin: 0 0 20px; font-size: 24px; font-weight: 700; line-height: 1.6; }
.p-article__chips { margin: 0 0 20px; }
.p-article__share { display: flex; justify-content: flex-end; align-items: center; gap: 16px; }
.p-article__share p { font-family: var(--font-en); font-size: 14px; font-weight: 900; line-height: 14px; }
.p-article__share ul { display: flex; align-items: center; gap: 16px; }
.p-article__share a { display: flex; justify-content: center; align-items: center; }
.p-article__share .c-sns__x { width: 20px; height: 20px; }
.p-article__share .c-sns__fb { width: 24px; height: 24px; }
.p-article__share .c-sns__line { width: 20px; height: 20px; }
.p-article__tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 40px; padding: 24px; background: var(--white); border-radius: 12px; }
.p-article__tags a { font-size: 16px; font-weight: 500; }
.p-article__tags a::before { content: "#"; }
.p-article__content { margin: 0 0 40px; padding: 60px; background: var(--white); border-radius: 12px; }
.p-article__content-inner { max-width: 880px; margin: 0 auto; }
.p-article__sns { display: flex; justify-content: flex-end; align-items: center; gap: 16px; margin: 0 0 120px; }
.p-article__related-wrap { display: flex; flex-direction: column; gap: 120px; }
.p-related__list { display: flex; flex-wrap: wrap; gap: 30px; }
.p-related__list .c-card { width: 380px; }

/* 本文タイポグラフィ（WordPress本文） */
.s-content { font-size: 18px; font-weight: 400; line-height: 1.45; }
.s-content > *:first-child { margin-top: 0 !important; }
.s-content p { margin: 40px 0 0; }
.s-content h2 { margin: 50px 0 0; font-size: 36px; font-weight: 700; line-height: 1.7; }
.s-content h3 { margin: 45px 0 0; font-size: 26px; font-weight: 700; line-height: 1.7; }
.s-content h4 { margin: 40px 0 0; font-size: 20px; font-weight: 700; line-height: 1.7; }
.s-content ul, .s-content ol { margin: 60px 0 0; padding: 0 0 0 40px; }
.s-content ul { list-style: disc; }
.s-content ol { list-style: decimal; }
.s-content li { font-weight: 500; }
.s-content li + li { margin-top: 8px; }
.s-content figure { margin: 60px 0 0; }
.s-content figure img, .s-content > img { margin: 0; width: 100%; height: auto; border-radius: 0; }
.s-content figcaption { margin: 12px 0 0; font-size: 14px; color: var(--dark-gray); text-align: center; }
.s-content a { color: var(--red); text-decoration: underline; }
.s-content strong { font-weight: 700; }
.s-content blockquote { margin: 40px 0 0; padding: 30px; background: var(--light-gray); border-radius: 12px; }
.s-content table { width: 100%; margin: 40px 0 0; border-collapse: collapse; font-size: 16px; }
.s-content th, .s-content td { padding: 12px 16px; border: 1px solid var(--gray); text-align: left; vertical-align: top; }
.s-content th { background: var(--light-gray); font-weight: 700; }
.s-content .wp-block-table { overflow-x: auto; }
.s-content iframe { max-width: 100%; }
.s-content hr { margin: 60px 0 0; border: 0; border-top: 1px solid var(--gray); }
/* 目次（[custom_toc] 互換） */
.s-content .ptc-toc, .s-content .custom-toc { margin: 40px 0 0; padding: 30px; border: 1px solid var(--black); border-radius: 10px; font-size: 16px; }
.s-content .ptc-toc__title, .s-content .custom-toc-title { margin: 0 0 16px; font-size: 20px; font-weight: 700; }
.s-content .ptc-toc ol, .s-content .custom-toc ol { margin: 0; padding-left: 24px; }
.s-content .ptc-toc a, .s-content .custom-toc a { color: var(--black); text-decoration: none; }
/* 関連記事ボックス（simple_blog_card 互換） */
.c-related-box {
  display: grid; grid-template-columns: 1fr 231px; grid-template-rows: auto auto; column-gap: 0;
  margin: 60px 0 0; padding: 30px; border: 1px solid var(--black); border-radius: 10px; font-weight: 700; font-size: 16px;
}
.c-related-box__label { position: relative; grid-column: 1 / 2; margin: 0 0 25px; font-size: 20px; font-weight: 400; line-height: 30px; }
.c-related-box__label::after { content: ""; position: absolute; left: 0; bottom: -4px; width: 70px; height: 3px; background: var(--red); }
.c-related-box__desc { grid-column: 1 / 2; grid-row: 2; line-height: 24px; }
.c-related-box__img { grid-column: 2 / 3; grid-row: 2 / 4; padding: 0 0 0 30px; }
.c-related-box__img img { width: 192px; max-width: 192px; height: 128px; object-fit: cover; border-radius: 10px; }
.c-related-box__link { grid-column: 1 / 2; grid-row: 3; justify-self: end; align-self: end; margin: 10px 0 0; font-size: 12px; line-height: 12px; color: var(--red); text-decoration: underline; }
/* 執筆者・登場人物 */
.c-profile { margin: 40px 0 0; padding: 60px 30px; background: var(--light-gray); border-radius: 12px; }
.c-profile__heading { margin: 0 0 20px; font-size: 26px; font-weight: 700; line-height: 26px; }
.c-profile__list { display: flex; flex-direction: column; gap: 30px; font-size: 18px; }
.c-profile__item { display: flex; }
.c-profile__figure { flex: 0 0 135px; text-align: center; }
.c-profile__figure img { width: 135px; height: 135px; border-radius: 50%; object-fit: cover; }
.c-profile__name { margin: 8px 0 0; font-size: 14px; font-weight: 400; line-height: 1.6; }
.c-profile__desc { flex: 1 1 auto; margin: 0 0 0 30px; font-weight: 400; line-height: 1.6; }
.c-profile__desc a { color: var(--red); text-decoration: underline; }
/* FAQ・吹き出し等の旧ショートコード互換 */
.s-content .ptc-faq { margin: 40px 0 0; }

/* ---------- 一覧ページ（カテゴリ／タグ／記事一覧／検索） ---------- */
.p-page { padding: 170px 20px 120px; background: var(--light-gray); }
.p-page__wrap { max-width: 1200px; margin: 0 auto; }
.p-page__two { display: flex; justify-content: space-between; gap: 104px; }
.p-page__main { flex: 0 1 786px; min-width: 0; }
.p-page__grid { margin: 0 0 60px; }
.p-page__empty { padding: 40px; background: var(--white); border-radius: 12px; }
.c-pagination { display: flex; justify-content: center; margin: 0 0 60px; }
.c-pagination__items { display: flex; align-items: center; gap: 24px; }
.c-pagination__items li { width: 43px; height: 43px; }
.c-pagination__items li a, .c-pagination__items li span {
  display: flex; justify-content: center; align-items: center; width: 43px; height: 43px;
  font-size: 16px; font-weight: 500; color: var(--dark-gray); background: var(--white); border-radius: 727px;
}
.c-pagination__items li span.is-current { color: var(--white); background: var(--black); }
.c-pagination__items li.c-pagination__arrow { width: 23px; }
.c-pagination__items li.c-pagination__arrow a { width: 23px; height: 23px; background: none; }
.c-pagination__items li.c-pagination__arrow svg { width: 23px; height: 16px; display: block; }

/* ---------- 固定ページ（汎用） ---------- */
.p-single-page { padding: 170px 20px 120px; background: var(--light-gray); }
.p-single-page__wrap { max-width: 1200px; margin: 0 auto; }
.p-single-page__head { margin: 0 0 40px; }
.p-single-page__title { font-size: 32px; font-weight: 700; line-height: 1.3; }
.p-single-page__body { margin: 0 0 40px; padding: 60px; background: var(--white); border-radius: 12px; }
.p-single-page__body-inner { max-width: 880px; margin: 0 auto; }
.p-single-page--wide .p-single-page__body-inner { max-width: none; }
.p-single-page .s-content { font-size: 16px; }
.p-single-page .s-content p { margin: 24px 0 0; }
.p-single-page .s-content h2 { margin: 48px 0 0; font-size: 26px; }
.p-single-page .s-content h3 { margin: 36px 0 0; font-size: 20px; }
.p-single-page .s-content ul, .p-single-page .s-content ol { margin: 24px 0 0; }
.c-breadcrumb { margin: 0 0 16px; font-size: 12px; color: var(--dark-gray); }
.c-breadcrumb a { color: var(--dark-gray); }
.c-breadcrumb span + span::before { content: "/"; margin: 0 8px; }

/* 研修会カード（旧テーマ互換：ptc_sem_card） */
.ptc-sem-card { padding: 24px; background: var(--white); border-radius: 12px; }
.ptc-sem-card + .ptc-sem-card { margin-top: 16px; }

/* ---------- タブレット（≤1365）: vw スケール ---------- */
@media screen and (max-width: 1365px) {
  .p-top { padding: 120px 20px; }
  .p-top__two { gap: 20px; }
  .p-page__two { gap: 20px; }
  .p-fv { margin: 0 auto 3.51391vw; padding: 104px 6.07613vw 0 0; }
  .p-fv__slide { gap: 7.61347vw; }
  .p-fv__img { flex: 0 1 51.2445vw; }
  .p-fv__img img { width: 100%; height: auto; aspect-ratio: 700 / 467; }
  .p-fv__content { flex: 0 1 35.0659vw; padding: 6.44217vw 0 3.29429vw; }
  .p-fv__date { font-size: 1.02489vw; }
  .p-fv__title { margin: 0 0 1.46413vw; font-size: 2.34261vw; }
  .p-fv__pagination { bottom: 3.07467vw; padding: 0 6.07613vw 0 0; gap: 7.61347vw; }
  .p-fv__pagination-spacer { flex: 0 1 51.2445vw; }
  .p-fv__dots { gap: .585652vw; flex: 0 1 35.0659vw; }
  .p-fv__dot { width: 2.34261vw; height: .366032vw; }
  .c-card { width: calc(50% - 16px); }
  .p-related__list .c-card { width: calc(33.333% - 20px); }
  .p-recent__img { flex: 0 0 34%; }
  .p-recent__img img { width: 100%; height: auto; aspect-ratio: 3 / 2; }
  .l-side { flex: 0 0 302px; }
  .l-side__banner { width: 100%; }
}

/* ---------- SP（≤768） ---------- */
@media screen and (max-width: 768px) {
  :root { --header-h: 12.5333vw; }
  .sp-only { display: block; }
  .pc-only { display: none; }
  br.sp-only { display: inline; }

  .l-header { padding: 0 20px; height: 12.5333vw; }
  .c-logo__word { font-size: 5.6vw; }
  .c-logo__tag { margin-top: 1.06667vw; font-size: 2.13333vw; }
  .l-header__btn { display: none; }
  .l-header__nav { margin: 0 6.4vw 0 0; gap: 6.4vw; }
  .l-header__nav li { font-size: 3.2vw; line-height: 1; }
  .l-header__nav li.is-on::after { bottom: -2.13333vw; height: .8vw; }
  .c-hamburger { width: 8.53333vw; height: 5.86667vw; }
  .c-hamburger span { width: 8.53333vw; height: .533333vw; }
  .c-hamburger span:nth-of-type(2) { top: 2.66667vw; }
  .c-hamburger span:nth-of-type(3) { top: 5.33333vw; }
  body.is-menu-open .c-hamburger span:nth-of-type(1),
  body.is-menu-open .c-hamburger span:nth-of-type(3) { width: 9.06667vw; }

  .l-menu { padding: 13.3333vw 0 0; }
  .l-menu__nav { padding: 0 20px; }
  .l-menu__container { display: block; padding: 8.53333vw 0; }
  .l-menu__card { padding: 28px 24px; }
  .c-tags { flex-direction: column; gap: 32px; }
  .c-tags__heading { font-size: 20px; }
  .c-tags__lists { flex-direction: column; gap: 32px; overflow-x: visible; }
  .c-tags__h2 { margin: 0 0 16px; font-size: 18px; }
  .c-tags__h3 { margin: 0 0 16px; }
  .c-tags__list { margin-top: 4.26667vw; }
  .c-tags__sublists { flex-direction: column; gap: 32px; }
  .l-menu__bottom { flex-direction: column; align-items: stretch; gap: 16px; padding: 0 0 160px; }
  .c-btn-blue, .c-btn-white, .c-search { max-width: 100%; }

  .p-fv { margin: 0 0 30px; padding: calc(20px + 12.5333vw) 0 0; }
  .p-fv__slide { flex-direction: column; align-items: flex-start; gap: 20px; }
  .p-fv__img { flex: 1 1 auto; width: 100%; border-radius: 0; }
  .p-fv__img img { width: 100%; height: auto; aspect-ratio: 375 / 257; }
  .p-fv__content { flex: 1 1 auto; width: 100%; padding: 10px 20px 0; }
  .p-fv__date { margin: 0 0 8px; font-size: 14px; }
  .p-fv__title-wrap { margin: 0 0 8px; }
  .p-fv__title { margin: 0 0 8px; font-size: 22px; }
  .p-fv .c-chips { margin: 0 0 32px; }
  .p-fv__pagination { left: 20px; right: auto; bottom: 0; padding: 0; gap: 0; }
  .p-fv__pagination-spacer { display: none; }
  .p-fv__dots { gap: 8px; flex: none; }
  .p-fv__dot { width: 32px; height: 5px; }

  .c-heading { flex-direction: column; align-items: flex-start; margin: 0 0 20px; }
  .c-heading__title { font-size: 24px; line-height: 1.2; }
  .c-heading__sub { font-size: 12px; }

  .p-top { padding: 56px 20px; }
  .p-top__two { flex-direction: column; }
  .p-feature { margin: 0 0 56px; }
  .p-feature__list { flex-direction: column; gap: 32px; }
  .p-feature__item { width: 100%; flex: none; }
  .p-feature__img { margin: 0 0 14px; }
  .p-feature__img img { aspect-ratio: 335 / 223; }
  .p-keyword { margin: 0 0 56px; }
  .p-keyword__box { gap: 20px; }
  .p-recommend { margin: 0 0 56px; }
  .c-cards { gap: 16px; }
  .c-card { width: 100%; }
  .c-card__img { margin: 0 0 20px; }
  .c-card__img img { aspect-ratio: 335 / 223; }
  .c-card__title-wrap { margin: 0 0 10px; padding: 0 20px; }
  .c-card__title { font-size: 16px; }
  .c-card__chips { margin: 0 0 20px; padding: 0 20px; }
  .p-recent { margin: 0 0 56px; }
  .p-recent__list { gap: 8px; margin: 0 0 20px; }
  .p-recent__item.is-new::after, .p-recent__item.is-new::before { display: none; }
  .p-recent__img { flex: 0 0 140px; }
  .p-recent__img img { width: 140px; height: auto; aspect-ratio: 3 / 2; }
  .p-recent__body { padding: 10px; }
  .p-recent__title-wrap { margin: 0 0 4px; }
  .p-recent__title { font-size: 12px; }
  .p-recent__date { font-size: 10px; line-height: 1; }
  .p-recent__item.is-new .p-recent__date::after { content: "NEW"; padding: 0 0 0 6px; color: var(--red); font-family: var(--font-en); font-weight: 900; }
  .p-recent__more { text-align: center; }
  .l-side { flex: none; width: 100%; }
  .l-side__banner-wrap { display: none; }
  .c-sns { gap: 40px; }
  .c-sns__x { width: 32px; height: 32px; }
  .c-sns__ig { width: 34px; height: 34px; }
  .c-sns__yt { width: 32px; height: 32px; }

  .p-cta { height: 128vw; text-align: left; }
  .p-cta::before { background-size: cover; background-position: center; }
  .p-cta__wrap { align-items: flex-start; padding: 0 20px; max-width: none; width: 100%; }
  .p-cta__title { margin: 0 auto 8.53333vw; font-size: 12.2667vw; line-height: 1.15; }
  .p-cta__desc { margin: 0 auto 8.53333vw; font-size: 4.26667vw; line-height: 1.8; }
  .p-cta__btn { min-width: 0; width: auto; padding: 4.26667vw 6vw; font-size: 4.26667vw; }

  .l-footer { padding: 10.6667vw 5.33333vw; }
  .l-footer__inner { max-width: 100%; padding: 0; }
  .c-logo--footer .c-logo__word { font-size: 6.4vw; }
  .l-footer__menus { flex-direction: column; margin-top: 8vw; }
  .l-footer__col { gap: 0; }
  .l-footer dl { width: 100%; }
  .l-footer dt { padding: 5.33333vw 0; font-size: 3.73333vw; line-height: 1; border-top: 1px solid var(--white); }
  .l-footer dd { margin-top: 0; padding: 5.33333vw 3.73333vw; font-size: 3.2vw; line-height: 1; border-top: 1px solid var(--dark-gray); }
  .l-footer dd:last-of-type { border-bottom: 1px solid var(--white); }
  .l-footer__bottom { margin: 10.6667vw auto 0; text-align: center; }
  .l-footer__bottom small { font-size: 2.66667vw; }

  .p-article { padding: calc(20px + 12.5333vw) 20px 56px; }
  .p-article__top { flex-direction: column; gap: 30px; }
  .p-article__top-img { flex: 1 1 auto; }
  .p-article__top-img img { aspect-ratio: 335 / 230; }
  .p-article__top-body { flex: 1 1 auto; margin: 0 20px 20px; padding-top: 0; }
  .p-article__date { margin: 0 0 8px; }
  .p-article__title { margin: 0 0 8px; font-size: 20px; }
  .p-article__chips { margin: 0 0 32px; }
  .p-article__content { padding: 32px 20px; }
  .p-article__sns { margin: 0 0 56px; }
  .p-article__related-wrap { gap: 56px; }
  .p-related__list { gap: 16px; }
  .p-related__list .c-card { width: 100%; }
  .s-content { font-size: 16px; }
  .s-content h2 { font-size: 24px; }
  .s-content h3 { font-size: 20px; }
  .s-content ul, .s-content ol { padding-left: 24px; }
  .c-profile { padding: 40px 20px; }
  .c-profile__heading { font-size: 22px; line-height: 1.2; }
  .c-profile__item { flex-direction: column; text-align: center; }
  .c-profile__figure img { margin: 0 auto; }
  .c-profile__desc { margin: 16px 0 0; text-align: left; }
  .c-related-box { grid-template-columns: 1fr; white-space: normal; }
  .c-related-box__label { grid-column: 1; }
  .c-related-box__img { grid-column: 1; grid-row: 2; padding: 0; }
  .c-related-box__img img { width: 100%; max-width: 100%; height: auto; margin-top: 4vw; }
  .c-related-box__desc { grid-column: 1; grid-row: 3; margin: 20px 0 0; }
  .c-related-box__link { grid-column: 1; grid-row: 4; }

  .p-page { padding: calc(20px + 12.5333vw) 20px 56px; }
  .p-page__two { flex-direction: column; }
  .p-single-page { padding: calc(20px + 12.5333vw) 20px 56px; }
  .p-single-page__body { padding: 32px 20px; }
  .p-single-page__title { font-size: 24px; }
}

/* プレースホルダー画像（アイキャッチ未設定時） */
img.c-placeholder { width: 100%; height: 100%; object-fit: cover; background: var(--light-gray); }

/* ---------- お問い合わせ ---------- */
.p-contact { display: flex; gap: 32px; align-items: flex-start; }
.p-contact__main { flex: 1 1 auto; min-width: 0; margin: 0; }
.p-contact__side { flex: 0 0 302px; display: flex; flex-direction: column; gap: 16px; }
.p-contact__card { padding: 24px; background: var(--white); border-radius: 12px; font-size: 14px; line-height: 1.7; }
.p-contact__card-title { margin: 0 0 8px; font-size: 16px; font-weight: 700; }
.p-contact__card .c-btn-black { margin-top: 12px; font-size: 14px; padding: 12px 20px; }
.p-contact__card p a { color: var(--red); text-decoration: underline; }
.p-contact__card .c-btn-black { color: var(--white); text-decoration: none; }
.p-contact__lead { margin: 0 0 32px; font-size: 16px; line-height: 1.8; }
.p-contact__form > p:empty, .p-contact__form .fz-14px { display: none; }
.p-contact__form > p { margin-top: 0; }
/* Contact Form 7 */
.wpcf7 p { margin: 20px 0 0; font-size: 14px; font-weight: 700; }
.wpcf7 label { display: block; }
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], .wpcf7 input[type="url"], .wpcf7 textarea, .wpcf7 select {
  display: block; width: 100%; margin-top: 8px; padding: 14px 16px; font-size: 16px; font-weight: 400; line-height: 1.5;
  color: var(--black); background: var(--white); border: 1px solid var(--gray); border-radius: 10px; outline: none; -webkit-appearance: none;
}
.wpcf7 textarea { min-height: 180px; }
.wpcf7 input:focus, .wpcf7 textarea:focus, .wpcf7 select:focus { border-color: var(--black); }
.wpcf7 input[type="submit"] {
  display: inline-flex; justify-content: center; align-items: center; min-width: 240px; margin-top: 8px; padding: 18px 32px;
  font-size: 16px; font-weight: 700; color: var(--white); background: var(--black); border: 0; border-radius: 10px; cursor: pointer;
}
.wpcf7 input[type="submit"]:hover { opacity: .85; }
.wpcf7 .wpcf7-list-item { display: block; margin: 8px 0 0; font-weight: 400; }
.wpcf7 .wpcf7-not-valid-tip { display: block; margin-top: 6px; font-size: 12px; font-weight: 400; color: var(--red); }
.wpcf7 .wpcf7-response-output { margin: 24px 0 0; padding: 16px 20px; font-size: 14px; border: 1px solid var(--gray); border-radius: 10px; }
.wpcf7 .wpcf7-spinner { display: block; margin: 8px auto 0; }

/* ---------- 事業者・法人向け ---------- */
.p-b2b__lead { margin: 16px 0 0; font-size: 16px; line-height: 1.8; }
.p-b2b__section { margin: 0 0 60px; }
.p-b2b__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.p-b2b__card { padding: 32px; background: var(--white); border-radius: 12px; }
.p-b2b__num { display: inline-block; font-family: var(--font-en); font-size: 12px; font-weight: 800; color: var(--red); letter-spacing: .08em; }
.p-b2b__card h3 { margin: 8px 0 12px; font-size: 20px; font-weight: 700; }
.p-b2b__card p { font-size: 15px; line-height: 1.8; }
.p-b2b__card small { display: block; margin-top: 16px; font-size: 12px; color: var(--dark-gray); }
.p-b2b__list li { display: flex; gap: 16px; align-items: baseline; padding: 16px 0; font-size: 16px; font-weight: 700; border-bottom: 1px solid var(--gray); }
.p-b2b__list li:last-child { border-bottom: 0; }
.p-b2b__list li span { flex: 0 0 auto; font-family: var(--font-en); font-size: 12px; font-weight: 800; color: var(--red); }
.p-b2b__steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.p-b2b__steps li { padding: 28px 24px; background: var(--white); border-radius: 12px; }
.p-b2b__steps strong { display: block; margin: 8px 0 8px; font-size: 18px; }
.p-b2b__steps p { font-size: 14px; line-height: 1.8; }
.p-b2b__faq details { padding: 16px 0; border-bottom: 1px solid var(--gray); }
.p-b2b__faq details:last-child { border-bottom: 0; }
.p-b2b__faq summary { cursor: pointer; font-size: 16px; font-weight: 700; list-style: none; position: relative; padding-right: 32px; }
.p-b2b__faq summary::after { content: "+"; position: absolute; right: 4px; top: 0; font-family: var(--font-en); font-weight: 800; color: var(--red); }
.p-b2b__faq details[open] summary::after { content: "−"; }
.p-b2b__faq details p { margin: 12px 0 0; font-size: 15px; line-height: 1.8; }
.p-b2b__cta { padding: 60px 40px; text-align: center; color: var(--white); background: var(--black); border-radius: 12px; }
.p-b2b__cta h2 { font-size: 28px; font-weight: 700; line-height: 1.4; }
.p-b2b__cta p { margin: 16px 0 28px; font-size: 15px; }
.p-b2b__cta .c-btn-black { color: var(--black); background: var(--white); }

/* ---------- 研修会一覧（旧テーマのカードUIを新デザインに合わせて上書き） ---------- */
.p-sem__filter { margin: 0 0 32px; padding: 24px; background: var(--white); border-radius: 12px; }
.p-sem__list { display: flex; flex-direction: column; gap: 16px; }
.p-sem__list .ptc-sem-card { display: flex; margin: 0; padding: 0; background: var(--white); border: 0; border-radius: 12px; overflow: hidden; box-shadow: none; }
.p-sem__list .ptc-sc-accent { flex: 0 0 120px; display: flex; align-items: center; justify-content: center; padding: 16px; color: var(--white); background: var(--black); font-size: 13px; font-weight: 700; text-align: center; }
.p-sem__list .is-ended .ptc-sc-accent { background: var(--dark-gray); }
.p-sem__list .ptc-sc-body { flex: 1 1 auto; min-width: 0; padding: 24px 28px; }
.p-sem__list .ptc-sc-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 0 0 8px; font-size: 12px; color: var(--dark-gray); }
.p-sem__list .ptc-sc-badge { display: inline-block; margin-left: 6px; padding: 4px 8px; font-size: 10px; font-weight: 700; border-radius: 4px; color: var(--white); background: var(--dark-gray); }
.p-sem__list .ptc-sc-badge.is-new { background: var(--red); }
.p-sem__list .ptc-sc-badge.is-soon { background: var(--accent); color: var(--black); }
.p-sem__list .ptc-sc-title { display: block; margin: 0 0 12px; font-size: 18px; font-weight: 700; line-height: 1.5; color: var(--black); }
.p-sem__list .ptc-sc-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.p-sem__list .ptc-sc-tag { display: inline-block; padding: 6px 8px; font-size: 10px; font-weight: 700; line-height: 1; color: var(--dark-gray); border: 1px solid var(--dark-gray); border-radius: 4px; background: none; }
.p-sem__list .ptc-sc-info { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 24px; margin: 0 0 16px; font-size: 14px; }
.p-sem__list .ptc-sc-row { display: flex; gap: 12px; }
.p-sem__list .ptc-sc-row dt { flex: 0 0 4em; color: var(--dark-gray); font-weight: 700; }
.p-sem__list .ptc-sc-btn { display: inline-flex; align-items: center; gap: 6px; padding: 12px 20px; font-size: 14px; font-weight: 700; color: var(--white); background: var(--black); border-radius: 10px; }
.ptc-fb { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.ptc-fb-count { font-size: 14px; } .ptc-fb-count strong { margin: 0 4px; font-size: 24px; font-weight: 700; }
.ptc-fb-btn { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; font-size: 14px; font-weight: 700; color: var(--white); background: var(--black); border-radius: 10px; }
.ptc-fb-chips { display: flex; flex-wrap: wrap; gap: 8px; width: 100%; }
.ptc-fb-chip { padding: 6px 10px; font-size: 12px; font-weight: 700; border: 1px solid var(--dark-gray); border-radius: 4px; color: var(--dark-gray); }
.ptc-fb-clear { font-size: 12px; color: var(--red); text-decoration: underline; }

@media screen and (max-width: 768px) {
  .p-contact { flex-direction: column; }
  .p-contact__side { flex: none; width: 100%; }
  .p-b2b__grid, .p-b2b__steps { grid-template-columns: 1fr; gap: 16px; }
  .p-b2b__cta { padding: 40px 20px; } .p-b2b__cta h2 { font-size: 22px; }
  .p-sem__list .ptc-sem-card { flex-direction: column; }
  .p-sem__list .ptc-sc-accent { flex: none; padding: 10px; }
  .p-sem__list .ptc-sc-body { padding: 20px; }
  .p-sem__list .ptc-sc-info { grid-template-columns: 1fr; }
}

/* 業界ニュース記事の部品（記事キュー由来） */
.s-content .ptcm-lead { font-size: 18px; font-weight: 500; }
.s-content .view { margin: 60px 0 0; padding: 30px; background: var(--light-gray); border-radius: 12px; }
.s-content .view .label { display: block; margin: 0 0 12px; font-size: 12px; font-weight: 700; color: var(--red); letter-spacing: .08em; }
.s-content .view p { margin: 16px 0 0; }
.s-content .view p:first-of-type { margin-top: 0; }
.s-content .ptcm-sources { font-size: 14px; }
.s-content .ptcm-sources li + li { margin-top: 6px; }


/* ---------- キャリアロードマップ ---------- */
.c-btn-red { display: inline-flex; justify-content: center; align-items: center; min-width: 200px; padding: 18px 32px; font-size: 16px; font-weight: 700; line-height: 1; color: var(--white); background: var(--red); border-radius: 999px; transition: transform .15s, box-shadow .15s; box-shadow: 0 8px 24px rgba(255, 2, 17, .25); }
.c-btn-red:hover { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(255, 2, 17, .32); }
.c-btn-disabled { display: inline-flex; justify-content: center; align-items: center; min-width: 200px; padding: 18px 32px; font-size: 16px; font-weight: 700; line-height: 1; color: var(--dark-gray); background: var(--white); border: 1px solid var(--gray); border-radius: 999px; cursor: default; }
.p-rm { padding: var(--header-h) 0 0; background: var(--light-gray); }
.p-rm__wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px 120px; }
.p-rm__section { margin: 0 0 96px; }
.p-rm__h2 { margin: 0 0 32px; font-size: 32px; font-weight: 700; line-height: 1.3; letter-spacing: -.01em; }

/* ヒーロー */
.p-rm__hero { position: relative; background: var(--white) var(--rm-hero) center 30% / cover no-repeat; }
.p-rm__hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.92) 45%, rgba(255,255,255,.55) 100%); }
.p-rm__hero-inner { position: relative; }
.p-rm__hero-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; max-width: 1200px; min-height: 560px; margin: 0 auto; padding: 60px 20px; }
.p-rm__hero-copy { flex: 0 1 600px; }
.p-rm__eyebrow { margin: 0 0 16px; font-family: var(--font-en); font-size: 12px; font-weight: 800; letter-spacing: .16em; color: var(--red); }
.p-rm__title { font-size: 60px; font-weight: 900; line-height: 1.15; letter-spacing: -.02em; white-space: nowrap; }
.p-rm__lead { margin: 24px 0 0; font-size: 18px; font-weight: 500; line-height: 1.8; color: var(--dark-gray); }
.p-rm__hero-cta { display: flex; align-items: center; gap: 20px; margin: 36px 0 0; }
.p-rm__hero-price { font-family: var(--font-en); font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.p-rm__hero-price small { display: block; font-family: var(--font-ja); font-size: 11px; font-weight: 700; color: var(--dark-gray); letter-spacing: 0; }
.p-rm__hero-visual { position: relative; flex: 0 0 520px; height: 420px; }
.p-rm__hero-visual .p-rm__cover { position: absolute; left: 50%; top: 50%; width: 200px; height: 280px; margin: -140px 0 0 -100px; box-shadow: 0 20px 50px rgba(0,0,0,.18); transition: transform .3s; }
.p-rm__stack-0 { transform: translateX(-190px) rotate(-14deg) scale(.86); opacity: .9; }
.p-rm__stack-1 { transform: translateX(-100px) rotate(-7deg) scale(.92); }
.p-rm__stack-2 { transform: translateX(100px) rotate(7deg) scale(.92); }
.p-rm__stack-3 { transform: translateX(190px) rotate(14deg) scale(.86); opacity: .9; }
.p-rm__stack-4 { transform: translateY(-8px) scale(1.04); z-index: 2; }

/* 表紙（CONCEPT.md の表紙仕様を同倍率で再現。A4=210mm幅基準: 1pt ≒ 0.168cqw） */
.p-rm__cover { position: relative; display: flex; flex-direction: column; aspect-ratio: 210 / 297; background: var(--white); border-radius: 6px; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); container-type: inline-size; font-family: var(--font-ja); }
.p-rm__cover-face { position: relative; flex: 0 0 63.3%; display: flex; flex-direction: column; justify-content: flex-end; padding: 9% 9% 5%; color: var(--black); text-align: left; }
.p-rm__cover-no { position: absolute; top: 6%; right: 9%; font-family: var(--font-en); font-size: 8cqw; font-weight: 800; color: #d9dbe0; letter-spacing: .04em; }
.p-rm__cover-kicker { display: block; margin: 0 0 4%; padding-left: 3%; font-size: 1.7cqw; font-weight: 700; line-height: 1.3; border-left: .6cqw solid var(--rm-color); }
.p-rm__cover-catch { display: block; margin: 0 0 5%; font-size: 6.05cqw; font-weight: 700; line-height: 1.3; color: var(--rm-color); }
.p-rm__cover-title { display: block; line-height: 1; }
.p-rm__cover-title em { position: relative; display: inline-block; font-style: normal; font-size: 14.4cqw; font-weight: 900; letter-spacing: -.02em; line-height: 1.05; }
.p-rm__cover-title em::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4%; z-index: -1; height: 30%; background: var(--rm-color); opacity: .22; }
.p-rm__cover-title small { display: block; margin-top: 2%; font-size: 7.7cqw; font-weight: 900; line-height: 1.1; letter-spacing: .02em; }
.p-rm__cover-sub { display: block; margin-top: 4%; font-size: 2.3cqw; font-weight: 700; line-height: 1.4; color: var(--black); }
.p-rm__cover-band { flex: 0 0 36.7%; display: flex; flex-direction: column; justify-content: space-between; padding: 6% 9% 5%; color: var(--white); background: var(--rm-color); text-align: left; }
.p-rm__cover-band-text { font-size: 6.7cqw; font-weight: 700; line-height: 1.3; }
.p-rm__cover-steps { font-size: 2cqw; font-weight: 700; line-height: 1.4; opacity: .95; }
.p-rm__cover-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 4%; padding-top: 3%; border-top: 1px solid rgba(255,255,255,.7); font-size: 1.4cqw; line-height: 1.3; }
.p-rm__cover-brand { font-family: var(--font-logo); font-style: italic; font-size: 3.4cqw; font-weight: 800; white-space: nowrap; }

/* ラインナップ */
.p-rm__lineup { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.p-rm__item { display: flex; flex-direction: column; background: var(--white); border-radius: 12px; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.p-rm__item:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,.08); }
.p-rm__item .p-rm__cover { margin: 20px 20px 0; }
.p-rm__item-body { display: flex; flex-direction: column; flex: 1 1 auto; padding: 16px 20px 20px; }
.p-rm__badge { display: inline-block; align-self: flex-start; padding: 5px 9px; font-size: 10px; font-weight: 700; line-height: 1; letter-spacing: .04em; color: var(--dark-gray); border: 1px solid var(--gray); border-radius: 999px; }
.is-onsale .p-rm__badge { color: var(--white); background: var(--red); border-color: var(--red); }
.is-coming .p-rm__badge { color: var(--black); background: var(--accent); border-color: var(--accent); }
.p-rm__badge--light { color: var(--white); border-color: rgba(255,255,255,.5); }
.p-rm__item-name { margin: 10px 0 4px; font-size: 16px; font-weight: 700; line-height: 1.4; }
.p-rm__item-tag { font-size: 12px; line-height: 1.6; color: var(--dark-gray); }
.p-rm__item-foot { display: flex; flex-direction: column; gap: 10px; margin: auto 0 0; padding-top: 16px; }
.p-rm__item-price { font-family: var(--font-en); font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.p-rm__item-price s { margin-right: 6px; font-size: 13px; font-weight: 600; color: var(--dark-gray); }
.p-rm__item-price strong { font-weight: 800; }
.is-onsale .p-rm__item-price strong { color: var(--red); }
.p-rm__item-btn { width: 100%; min-width: 0; padding: 14px 12px; font-size: 14px; box-shadow: none; }
/* セット販売 */
.p-rm__set { display: flex; align-items: center; gap: 40px; margin: 40px 0 0; padding: 40px 48px; background: var(--white); border-radius: 12px; box-shadow: 0 0 0 1px var(--gray) inset; }
.p-rm__set-visual { position: relative; flex: 0 0 300px; height: 230px; }
.p-rm__set-visual .p-rm__cover { position: absolute; left: 50%; top: 50%; width: 118px; margin: -84px 0 0 -59px; box-shadow: 0 10px 24px rgba(0,0,0,.14); }
.p-rm__set-c0 { transform: translateX(-104px) rotate(-12deg) scale(.86); }
.p-rm__set-c1 { transform: translateX(-56px) rotate(-6deg) scale(.93); }
.p-rm__set-c2 { transform: translateX(56px) rotate(6deg) scale(.93); }
.p-rm__set-c3 { transform: translateX(104px) rotate(12deg) scale(.86); }
.p-rm__set-c4 { transform: translateY(-4px) scale(1.02); z-index: 2; }
.p-rm__set-body { flex: 1 1 auto; min-width: 0; }
.p-rm__set-label { display: inline-block; padding: 5px 9px; font-family: var(--font-en); font-size: 10px; font-weight: 800; letter-spacing: .1em; color: var(--white); background: var(--black); border-radius: 999px; }
.p-rm__set-title { margin: 12px 0 20px; font-size: 26px; font-weight: 700; line-height: 1.35; }
.p-rm__set-plans { display: grid; grid-template-columns: 1.15fr 1fr; gap: 16px; }
.p-rm__set-plan { display: flex; flex-direction: column; gap: 6px; padding: 20px; background: var(--light-gray); border-radius: 12px; }
.p-rm__set-plan.is-main { background: var(--black); color: var(--white); }
.p-rm__set-name { font-size: 14px; font-weight: 700; }
.p-rm__set-name small { margin-left: 6px; font-size: 11px; font-weight: 500; opacity: .7; }
.p-rm__set-price { font-family: var(--font-en); font-size: 32px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.p-rm__set-price s { display: block; margin: 0 0 2px; font-size: 13px; font-weight: 600; opacity: .55; }
.p-rm__set-save { align-self: flex-start; padding: 4px 8px; font-size: 11px; font-weight: 800; line-height: 1; color: var(--black); background: var(--accent); border-radius: 999px; }
.p-rm__set-btn { width: 100%; min-width: 0; margin-top: 10px; padding: 14px 12px; font-size: 14px; box-shadow: none; }
.p-rm__set-plan:not(.is-main) .c-btn-disabled { background: var(--white); }
.p-rm__set-plan.is-main .c-btn-disabled { background: transparent; color: rgba(255,255,255,.75); border-color: rgba(255,255,255,.35); }

/* タイムライン */
.p-rm__h2-sub { margin: -20px 0 32px; font-size: 15px; color: var(--dark-gray); }
.p-rm__timeline { position: relative; padding: 0; }
.p-rm__tl-line { position: absolute; left: 8%; right: 8%; top: 6px; height: 4px; background: var(--gray); border-radius: 2px; overflow: hidden; }
.p-rm__tl-progress { display: block; width: 100%; height: 100%; background: linear-gradient(90deg, var(--red) 0%, var(--accent) 100%); transform-origin: left; transform: scaleX(0); animation: ptcm-tl 1.6s cubic-bezier(.2,.8,.2,1) .2s forwards; }
@keyframes ptcm-tl { to { transform: scaleX(1); } }
.p-rm__tl { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin: 0; }
.p-rm__tl--5 { grid-template-columns: repeat(5, 1fr); gap: 12px; }
.p-rm__tl-day--blank { visibility: hidden; }
.p-rm__tl-loop { display: flex; justify-content: center; align-items: center; gap: 4px; margin: 10px 0 0; }
.p-rm__tl-loop + .p-rm__tl-desc { margin-top: 8px; }
.p-rm__tl-loop i { font-style: normal; font-size: 11px; font-weight: 700; line-height: 1; padding: 6px 8px; color: var(--black); background: var(--white); border: 1px solid var(--gray); border-radius: 999px; white-space: nowrap; }
.p-rm__tl-loop i + i::before { content: "›"; position: absolute; margin-left: -9px; color: var(--dark-gray); }
.p-rm__tl-loop i:nth-child(2) { color: var(--white); background: var(--red); border-color: var(--red); }
.p-rm__h2--center { text-align: center; }
.p-rm__tl-item { position: relative; padding: 40px 12px 0; text-align: center; }
.p-rm__tl-dot { position: absolute; left: 50%; top: 0; width: 16px; height: 16px; margin-left: -8px; background: var(--white); border: 4px solid var(--red); border-radius: 50%; box-shadow: 0 0 0 4px var(--light-gray); }
.p-rm__tl-item.is-goal .p-rm__tl-dot { width: 24px; height: 24px; top: -4px; margin-left: -12px; background: var(--red); border-color: var(--red); }
.p-rm__tl-day { display: block; margin: 0 0 8px; font-family: var(--font-en); font-size: 12px; font-weight: 800; letter-spacing: .12em; color: var(--red); }
.p-rm__tl-item strong { display: block; font-size: 22px; font-weight: 900; line-height: 1.3; }
.p-rm__tl-item.is-goal strong { font-size: 26px; }
.p-rm__tl-desc { display: block; margin: 10px auto 0; max-width: 200px; font-size: 13px; line-height: 1.7; color: var(--dark-gray); }

/* FAQ */
.p-rm__section--faq { max-width: 800px; margin-left: auto; margin-right: auto; }
.p-rm__faq { padding: 8px 32px; background: var(--white); border-radius: 12px; }
.p-rm__legal { margin: 24px 0 0; font-size: 12px; text-align: center; }
.p-rm__legal a { color: var(--dark-gray); text-decoration: underline; }

/* SP固定CTA */
.p-rm__sticky { display: none; }

@media screen and (max-width: 1100px) {
  .p-rm__lineup { grid-template-columns: repeat(3, 1fr); }
  .p-rm__hero-visual { flex-basis: 420px; }
}
@media screen and (max-width: 768px) {
  .p-rm__wrap { padding-bottom: 56px; }
  .p-rm__section { margin-bottom: 56px; }
  .p-rm__h2 { margin-bottom: 20px; font-size: 24px; }
  .p-rm__hero-inner { flex-direction: column-reverse; min-height: 0; padding: 32px 20px 40px; gap: 24px; }
  .p-rm__hero-copy { flex: none; width: 100%; text-align: center; }
  .p-rm__title { font-size: 36px; white-space: normal; }
  .p-rm__lead { font-size: 15px; }
  .p-rm__hero-cta { flex-direction: column; gap: 12px; margin-top: 24px; }
  .p-rm__hero-cta .c-btn-red { width: 100%; }
  .p-rm__hero-visual { flex: none; width: 100%; height: 240px; }
  .p-rm__hero-visual .p-rm__cover { width: 120px; height: 168px; margin: -84px 0 0 -60px; }
  .p-rm__stack-0 { transform: translateX(-120px) rotate(-14deg) scale(.86); }
  .p-rm__stack-1 { transform: translateX(-62px) rotate(-7deg) scale(.92); }
  .p-rm__stack-2 { transform: translateX(62px) rotate(7deg) scale(.92); }
  .p-rm__stack-3 { transform: translateX(120px) rotate(14deg) scale(.86); }
  .p-rm__hero::before { background: linear-gradient(180deg, rgba(255,255,255,.6) 0%, rgba(255,255,255,.96) 55%); }
  .p-rm__lineup { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .p-rm__set { flex-direction: column; gap: 8px; margin-top: 24px; padding: 24px 12px; }
  .p-rm__set-visual { flex: none; width: 100%; height: 190px; }
  .p-rm__set-visual .p-rm__cover { width: 96px; margin: -68px 0 0 -48px; }
  .p-rm__set-c0 { transform: translateX(-84px) rotate(-12deg) scale(.86); }
  .p-rm__set-c1 { transform: translateX(-46px) rotate(-6deg) scale(.93); }
  .p-rm__set-c2 { transform: translateX(46px) rotate(6deg) scale(.93); }
  .p-rm__set-c3 { transform: translateX(84px) rotate(12deg) scale(.86); }
  .p-rm__set-title { font-size: 20px; text-align: center; }
  .p-rm__set-body { text-align: center; }
  .p-rm__set-body { width: 100%; }
  .p-rm__set-plans { grid-template-columns: 1fr; gap: 12px; }
  .p-rm__set-plan { width: 100%; padding: 20px 16px; text-align: left; }
  .p-rm__item .p-rm__cover { margin: 12px 12px 0; }
  .p-rm__item-body { padding: 12px; }
  .p-rm__item-tag { display: none; }
  .p-rm__h2-sub { margin: -8px 0 24px; font-size: 13px; }
  .p-rm__timeline { padding: 0 0 0 28px; }
  .p-rm__tl-line { left: 6px; right: auto; top: 8px; bottom: 8px; width: 4px; height: auto; }
  .p-rm__tl-progress { transform-origin: top; transform: scaleY(0); animation-name: ptcm-tl-v; }
  @keyframes ptcm-tl-v { to { transform: scaleY(1); } }
  .p-rm__tl { grid-template-columns: 1fr; gap: 0; margin: 0; }
  .p-rm__tl-item { padding: 0 0 28px 12px; text-align: left; }
  .p-rm__tl-item:last-child { padding-bottom: 0; }
  .p-rm__tl-dot { left: -28px; top: 4px; margin-left: 0; }
  .p-rm__tl-item.is-goal .p-rm__tl-dot { left: -32px; top: 0; margin-left: 0; }
  .p-rm__tl-item strong { font-size: 22px; }
  .p-rm__tl-item.is-goal strong { font-size: 26px; }
  .p-rm__tl-desc { margin: 4px 0 0; max-width: none; }
  .p-rm__tl--5 { grid-template-columns: 1fr; gap: 0; }
  .p-rm__tl-day--blank { display: none; }
  .p-rm__tl-loop { justify-content: flex-start; margin-top: 8px; }
  .p-rm__tl-item strong { white-space: normal; }
  .p-rm__faq { padding: 4px 20px; }
  .p-rm__sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 800; display: flex; align-items: center; gap: 12px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); border-top: 1px solid var(--gray); backdrop-filter: blur(8px); }
  .p-rm__sticky-price { flex: 0 0 auto; font-family: var(--font-en); font-size: 20px; font-weight: 800; }
  .p-rm__sticky-price small { display: block; font-family: var(--font-ja); font-size: 10px; color: var(--dark-gray); }
  .p-rm__sticky .c-btn-red { flex: 1 1 auto; min-width: 0; padding: 14px 12px; font-size: 14px; box-shadow: none; }
  body.ptcm-roadmap .l-footer { padding-bottom: calc(10.6667vw + 72px); }
}
