/* ============================================================
   ブログトップモック（NLPナンパ研究所）
   - SWELL移植時はヘッダー部分を削除し、コンテンツ部分のみ流用
   - クラス名 prefix: nlp- で他テーマと衝突防止
============================================================ */

.nlp-mockup {
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
  font-weight: 400;
  color: #2a2a2a;
  background: #fff;
  line-height: 1.8;
}

.nlp-mockup *,
.nlp-mockup *::before,
.nlp-mockup *::after {
  box-sizing: border-box;
}

.nlp-mockup img {
  max-width: 100%;
  height: auto;
  display: block;
}

.nlp-mockup ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nlp-mockup a {
  color: inherit;
  text-decoration: none;
}

/* ============================================================
   プレミアム・モーション
   - イージングは減速系で統一: cubic-bezier(0.22, 1, 0.36, 1)
   - スクロールリビール（ブラーフェード）／stagger／数字カウントアップ
   - prefers-reduced-motion 時は一切動かさず即表示
============================================================ */

/* スクロールリビール: 控えめなフェード＋わずかなスライドアップ（単体要素）
   洗練＝繊細。ブラーは使わず、移動量も小さく、タイミングは crisp に */
.nlp-mockup .nlp-reveal {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.nlp-mockup .nlp-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* リスト/グリッド内の子要素を時間差で出す（stagger） */
.nlp-mockup .nlp-reveal--stagger > * {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.nlp-mockup .nlp-reveal--stagger.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

.nlp-mockup .nlp-reveal--stagger.is-visible > *:nth-child(1) { transition-delay: 0s; }
.nlp-mockup .nlp-reveal--stagger.is-visible > *:nth-child(2) { transition-delay: 0.06s; }
.nlp-mockup .nlp-reveal--stagger.is-visible > *:nth-child(3) { transition-delay: 0.12s; }
.nlp-mockup .nlp-reveal--stagger.is-visible > *:nth-child(4) { transition-delay: 0.18s; }
.nlp-mockup .nlp-reveal--stagger.is-visible > *:nth-child(5) { transition-delay: 0.24s; }
.nlp-mockup .nlp-reveal--stagger.is-visible > *:nth-child(6) { transition-delay: 0.30s; }
.nlp-mockup .nlp-reveal--stagger.is-visible > *:nth-child(n+7) { transition-delay: 0.36s; }

/* モーションを抑制するユーザーには一切のアニメを適用しない */
@media (prefers-reduced-motion: reduce) {
  .nlp-mockup .nlp-reveal,
  .nlp-mockup .nlp-reveal--stagger > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ========== Header（SWELL側に既存のため仮置き） ========== */
.nlp-header {
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
}

.nlp-header__tagline {
  text-align: center;
  font-size: 11px;
  color: #555;
  padding: 6px 16px;
  margin: 0;
  background: #fff;
}

.nlp-header__title-bar {
  text-align: center;
  padding: 14px 16px;
}

.nlp-header__title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 700;
  color: #1c1c1c;
}

.nlp-header__title-sub {
  font-size: 14px;
  font-weight: 500;
  color: #555;
}

.nlp-header__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #e63946, #f1a208);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  border-radius: 6px;
}

.nlp-header__nav {
  background: #1c1c1c;
}

.nlp-header__nav ul {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
}

.nlp-header__nav li {
  position: relative;
}

.nlp-header__nav li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-50%);
}

.nlp-header__nav a {
  display: inline-flex;
  align-items: center;
  padding: 14px 22px;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  transition: background 0.2s;
}

.nlp-header__nav a:hover,
.nlp-header__nav a.is-current {
  background: rgba(255, 255, 255, 0.08);
}

.nlp-header__search {
  padding: 14px 18px !important;
}

.nlp-header__cta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  background: linear-gradient(90deg, #e63946 0%, #ff6b6b 35%, #ff9568 65%, #ffb547 100%);
  color: #fff;
}

.nlp-header__cta-text {
  font-size: 15px;
  font-weight: 700;
}

.nlp-header__cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  background: #fff;
  color: #e63946;
  font-size: 13px;
  font-weight: 700;
  border-radius: 4px;
  white-space: nowrap;
}

.nlp-header__cta-btn::after {
  content: "›";
  font-size: 16px;
  line-height: 1;
}

/* ========== セクション共通の左右コンテナ（旧 .nlp-main の代わり） ========== */
.nlp-mockup .nlp-categories,
.nlp-mockup .nlp-trouble {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* PICKUPは画面幅いっぱい（100vwで親の幅制約を突き抜ける） */
.nlp-mockup .nlp-pickup {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 0;
  overflow: hidden;
}

.nlp-mockup .nlp-pickup .nlp-section-title {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}

.nlp-mockup .nlp-categories {
  padding-top: 48px;
}

/* ========== Section Title ========== */
.nlp-section-title {
  position: relative;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: #136db6;
  margin: 0 0 28px;
  letter-spacing: 0.02em;
}

.nlp-section-title::before,
.nlp-section-title::after {
  display: none;
}

.nlp-section-title--en {
  font-family: "Roboto", sans-serif;
  font-size: 18px;
  letter-spacing: 0.18em;
}

/* ========== 人気カテゴリー ========== */
.nlp-categories {
  margin-bottom: 56px;
}

.nlp-categories__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.nlp-mockup .nlp-categories__item {
  display: inline-block;
  padding: 4px 24px;
  background: #fdfdfd;
  border: 1px solid #0e3a73;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: #136db6;
  transition: background 0.45s cubic-bezier(0.22, 1, 0.36, 1), transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.nlp-mockup .nlp-categories__item:hover {
  background: #f0f5fb;
  transform: translateY(-2px);
}

/* ========== PICKUP ========== */
.nlp-pickup {
  margin-bottom: 56px;
}

.nlp-pickup__slider {
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 12px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.nlp-pickup__slider::-webkit-scrollbar {
  display: none;
}

.nlp-pickup__track {
  display: flex;
  flex-wrap: nowrap;
  width: max-content;
  gap: 16px;
  animation: nlp-pickup-marquee 90s linear infinite;
}

.nlp-pickup__track:hover,
.nlp-pickup__track:focus-within {
  animation-play-state: paused;
}

@keyframes nlp-pickup-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - 8px)); }
}

@media (prefers-reduced-motion: reduce) {
  .nlp-mockup .nlp-pickup__track { animation: none; }
}

.nlp-pickup__card {
  flex: 0 0 300px;
  display: flex;
  flex-direction: column;
  background: #fff;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.nlp-pickup__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

.nlp-pickup__card-img {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: 0;
  background: #f2f2f2;
}

.nlp-pickup__card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.nlp-pickup__card:hover .nlp-pickup__card-img img {
  transform: scale(1.03);
}

.nlp-pickup__card-title {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  margin: 12px 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.nlp-pickup__card-date {
  font-size: 11px;
  color: #888;
  margin: 0;
}

/* ========== お悩みから探す ========== */
.nlp-trouble {
  margin-bottom: 56px;
}

.nlp-trouble .nlp-section-title {
  font-size: 24px;
  font-weight: 600;
  color: #181818;
  text-align: center;
  margin: 0 0 45px;
  letter-spacing: 0.05em;
}

.nlp-trouble__tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.nlp-trouble__tab {
  display: inline-block;
  padding: 10px 22px;
  background: #fff;
  border: 1px solid #c9d3e5;
  border-radius: 5px;
  font-size: 15px;
  font-weight: 500;
  color: #2a2a2a;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  font-family: inherit;
}

.nlp-trouble__tab:hover {
  border-color: #2a5fb8;
  color: #2a5fb8;
}

.nlp-trouble__tab.is-active {
  background: #2a3f6e;
  border-color: #2a3f6e;
  color: #fff;
}

.nlp-trouble__desc {
  text-align: center;
  font-size: 16px;
  color: #555;
  line-height: 1.9;
  margin: 0 0 28px;
}

/* タブパネル（タブ切替で表示／非表示） */
.nlp-trouble__panel {
  display: none;
}

.nlp-trouble__panel.is-active {
  display: block;
}

.nlp-trouble__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 28px;
}

/* 4枚目以降は通常非表示、「もっと詳しく見る」で6枚ずつ .is-shown が付き表示される */
/* .nlp-trouble__card と詳細度を揃えると後勝ちで上書きされるため、クラス2つで詳細度を上げる */
.nlp-trouble__card.nlp-trouble__card--extra {
  display: none;
}

.nlp-trouble__card.nlp-trouble__card--extra.is-shown {
  display: flex;
}

/* 4枚目以降のバッジは地味なデザインに */
.nlp-trouble__card--extra .nlp-trouble__card-badge {
  width: 32px;
  height: 32px;
  font-size: 13px;
  font-weight: 500;
  box-shadow: none;
}

.nlp-trouble__card {
  display: flex;
  flex-direction: column;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.nlp-trouble__card:hover {
  transform: translateY(-4px);
}

.nlp-trouble__card-img {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #f2f2f2;
}

.nlp-trouble__card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.nlp-trouble__card:hover .nlp-trouble__card-img img {
  transform: scale(1.03);
}

.nlp-trouble__card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.nlp-trouble__card-tag {
  position: absolute;
  top: 6px;
  right: 6px;
  display: inline-block;
  padding: 2px 7px;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  border-radius: 3px;
}

.nlp-trouble__card-title {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
  margin: 12px 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.nlp-trouble__card-date {
  font-size: 11px;
  color: #888;
  margin: 0;
}

.nlp-trouble__more {
  text-align: center;
  margin-top: 32px;
}

/* お悩みから探すセクションのボタンは小さめ */
.nlp-mockup .nlp-trouble__more .line-section__btn-2 {
  max-width: 260px;
}

/* ========== CTA Button（オレンジ・グラデ） ========== */
.nlp-btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 240px;
  padding: 14px 40px;
  background: linear-gradient(90deg, #ff7a3d 0%, #ff5c4d 100%);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(255, 92, 77, 0.35);
  transition: background 0.35s cubic-bezier(0.22, 1, 0.36, 1), color 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.nlp-btn-cta::after {
  content: "›";
  font-size: 18px;
  line-height: 1;
}

/* オレンジ系ボタンは浮き上がらせず、その場で色を反転 */
.nlp-btn-cta:hover {
  background: #fff;
  color: #ff5c4d;
  box-shadow: inset 0 0 0 2px #ff5c4d;
}

/* ========== Content Section（page-study.css と同等） ========== */
.nlp-mockup .content-section {
  padding: 60px 20px 80px;
  background: #fff;
}

.nlp-mockup .content-section__inner {
  max-width: 1100px;
  margin: 0 auto;
}

.nlp-mockup .content-section__lead {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 1.9;
  color: #2a2a2a;
  text-align: center;
  margin: 0px 0 50px;
}

.nlp-mockup .content-section__more {
  text-align: center;
  margin-top: 40px;
}

/* ========== Chapter Heading ========== */
.nlp-mockup .chapter-heading {
  font-size: 24px;
  font-weight: 600;
  color: #181818;
  text-align: center;
  margin: 0 0 45px;
  letter-spacing: 0.02em;
  scroll-margin-top: 80px;
}

.nlp-mockup .chapter-heading span {
  display: inline-block;
  padding-bottom: 14px;
  position: relative;
}

.nlp-mockup .chapter-heading span::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 45px;
  height: 2px;
  background: #136db6;
}

/* ========== Chapter List ========== */
.nlp-mockup .chapter-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.nlp-mockup .chapter-card {
  background: #fdfdfd;
  border: 1px solid #d7dde3;
  padding: 24px 22px 20px;
  display: flex;
  flex-direction: column;
}

/* リンク投稿が設定されている章はカード全体をクリック可能に（ストレッチドリンク） */
.nlp-mockup .chapter-card--linked {
  position: relative;
  cursor: pointer;
  transition: box-shadow 0.5s cubic-bezier(0.22, 1, 0.36, 1), transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.nlp-mockup .chapter-card--linked:hover {
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.nlp-mockup .chapter-card--linked .chapter-card__link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.nlp-mockup .chapter-card__body {
  flex: 1;
}

.nlp-mockup .chapter-card__title {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: #0a0a0a;
  line-height: 1.6;
  margin: 0 0 14px;
}

.nlp-mockup .chapter-card__desc {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  color: #181818;
  margin: 0 0 20px;
}

.nlp-mockup .chapter-card__link {
  align-self: flex-end;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #181818;
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: opacity 0.2s;
}

.nlp-mockup .chapter-card__link:hover {
  opacity: 0.7;
}

.nlp-mockup .chapter-card__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #1f2c4d;
  color: #fff;
}

/* ========== Pill Button ========== */
.nlp-mockup .content-section__pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 240px;
  padding: 6px 28px;
  background: #fff;
  color: #136db6;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.05em;
  border: 2px solid #69aad1;
  border-radius: 999px;
  justify-content: center;
  transition: background 0.45s cubic-bezier(0.22, 1, 0.36, 1), color 0.45s cubic-bezier(0.22, 1, 0.36, 1), transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.nlp-mockup .content-section__pill-btn:hover {
  background: #136db6;
  color: #fff;
  transform: translateY(-2px);
}

/* ========== Content Section --alt（YouTubeセクション） ========== */
.nlp-mockup .content-section--alt {
  background: #d9e4ee;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.nlp-mockup .content-section--alt .chapter-heading span {
  padding-bottom: 0;
  background: linear-gradient(135deg, #0e3a73, #126cb5);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.nlp-mockup .content-section--alt .chapter-heading span::after {
  display: none;
}

/* YouTubeセクションの吹き出し尻尾（セクション直前に配置・全幅対応） */
.nlp-mockup .content-youtube-tail {
  position: relative;
  height: 18px;
  margin-bottom: -1px;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.nlp-mockup .content-youtube-tail::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 42px solid transparent;
  border-right: 42px solid transparent;
  border-bottom: 38px solid #d9e4ee;
}

.nlp-mockup .chapter-heading__br-sp {
  display: none;
}

/* ========== YouTube ========== */
.nlp-mockup .youtube-marquee-wrap {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.nlp-mockup .youtube-marquee-wrap::-webkit-scrollbar {
  display: none;
}

.nlp-mockup .youtube-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: nowrap;
  width: max-content;
  gap: 28px;
  animation: nlp-youtube-marquee 60s linear infinite;
}

.nlp-mockup .youtube-list:hover,
.nlp-mockup .youtube-list:focus-within {
  animation-play-state: paused;
}

.nlp-mockup .youtube-card {
  flex: 0 0 360px;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.nlp-mockup .youtube-card:hover {
  transform: translateY(-4px);
}

@keyframes nlp-youtube-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.nlp-mockup .youtube-card__link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.nlp-mockup .youtube-card__thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  border-radius: 4px;
  overflow: hidden;
}

.nlp-mockup .youtube-card__thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.nlp-mockup .youtube-card__link:hover .youtube-card__thumb img {
  transform: scale(1.03);
}

.nlp-mockup .youtube-card__play {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 0, 0, 0.9);
  color: #fff;
  transition: transform 0.2s;
  z-index: 1;
}

.nlp-mockup .youtube-card__link:hover .youtube-card__play {
  transform: scale(1.1);
}

.nlp-mockup .youtube-card__title {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: #181818;
  margin: 0;
}

/* ========== Trainer Section（page-trainer.css と同等） ========== */
.nlp-mockup .trainer-section {
  padding: 60px 20px 80px;
}

.nlp-mockup .trainer-section__inner {
  max-width: 1100px;
  margin: 0 auto;
}

/* line-section__heading と同じデザインに差し替え */
.nlp-mockup .trainer-section__heading {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 23px;
  font-weight: 500;
  color: #fff;
  background: #1f2c4d;
  padding: 8px 22px;
  margin: 0 0 24px;
  letter-spacing: 0.05em;
  scroll-margin-top: 80px;
  text-align: left;
}

.nlp-mockup .trainer-profile {
  background: #fff;
  display: grid;
  grid-template-columns: 340px 1fr;
  column-gap: 40px;
  row-gap: 28px;
}

.nlp-mockup .trainer-profile__media {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.nlp-mockup .trainer-profile__photo img {
  display: block;
  width: 100%;
  height: auto;
}

.nlp-mockup .trainer-profile__sns {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 12px;
}

.nlp-mockup .trainer-profile__sns a {
  display: inline-flex;
  color: #1f2c4d;
  transition: opacity 0.2s;
}

.nlp-mockup .trainer-profile__sns a:hover {
  opacity: 0.7;
}

.nlp-mockup .trainer-profile__sns svg {
  display: block;
}

.nlp-mockup .trainer-profile__body {
  min-width: 0;
}

.nlp-mockup .trainer-profile__name {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: #1f2c4d;
  margin: 0 0 12px;
  letter-spacing: 0.05em;
}

.nlp-mockup .trainer-profile__titles {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  line-height: 1.8;
  color: #343434;
}

.nlp-mockup .trainer-profile__bio {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 13px;
  line-height: 2;
  color: #2a2a2a;
  margin: 0 0 22px;
  padding-top: 22px;
  border-top: 1px solid #e0e3eb;
}

.nlp-mockup .trainer-profile__bio p {
  margin: 0 0 14px;
}

.nlp-mockup .trainer-profile__bio p:last-child {
  margin-bottom: 0;
}

.nlp-mockup .trainer-profile__tags {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.nlp-mockup .trainer-profile__tags li {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: #ababab;
  border: 1px solid #cfcfcf;
  padding: 6px 10px;
  letter-spacing: 0.05em;
}

.nlp-mockup .trainer-profile__stats {
  grid-column: 1 / -1;
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  border-top: 1px solid #e0e3eb;
  border-bottom: 1px solid #e0e3eb;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  text-align: center;
}

.nlp-mockup .trainer-profile__stats li + li {
  border-left: 1px solid #e0e3eb;
}

.nlp-mockup .trainer-profile__stat-label {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #136db6;
  margin: 25px 0 10px;
}

.nlp-mockup .trainer-profile__stat-value {
  font-family: "Roboto", sans-serif;
  font-size: 25px;
  font-weight: 500;
  color: #343434;
  margin: 0 0 25px;
  line-height: 1;
}

.nlp-mockup .trainer-profile__stat-value span {
  font-size: 22px;
  margin-left: 2px;
  font-weight: 700;
}

.nlp-mockup .trainer-media {
  grid-column: 1 / -1;
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.nlp-mockup .trainer-media__item {
  background: linear-gradient(to bottom, #ffffff, #e8e7e7);
  border: 1px solid #e0e3eb;
  border-radius: 10px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  text-align: center;
}

/* trainer-media__item をリンク化するラッパ（レイアウトに影響させない） */
.nlp-mockup .trainer-media__link {
  display: contents;
  color: inherit;
  text-decoration: none;
}

.nlp-mockup .trainer-media__item:has(.trainer-media__link) {
  transition: box-shadow 0.5s cubic-bezier(0.22, 1, 0.36, 1), transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  cursor: pointer;
}

.nlp-mockup .trainer-media__item:has(.trainer-media__link):hover {
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
}

.nlp-mockup .trainer-media__image {
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 230px;
}

.nlp-mockup .trainer-media__image img {
  display: block;
  width: auto;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.nlp-mockup .trainer-media__title {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #343434;
  margin: 0 0 8px;
  line-height: 1.8;
}

.nlp-mockup .trainer-media__title span {
  color: #343434;
  margin-right: 2px;
}

.nlp-mockup .trainer-media__title em {
  color: #136db6;
  text-decoration: underline;
  font-style: normal;
  font-weight: 600;
}

.nlp-mockup .trainer-media__desc {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  line-height: 1.8;
  color: #343434;
  margin: 0;
}

.nlp-mockup .trainer-profile__more {
  grid-column: 1 / -1;
  margin-top: 24px;
  text-align: center;
}

.nlp-mockup .trainer-profile__more-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 240px;
  padding: 6px 28px;
  background: #fff;
  color: #136db6;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.05em;
  border: 2px solid #69aad1;
  border-radius: 999px;
  justify-content: center;
  transition: background 0.45s cubic-bezier(0.22, 1, 0.36, 1), color 0.45s cubic-bezier(0.22, 1, 0.36, 1), transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.nlp-mockup .trainer-profile__more-btn:hover {
  background: #136db6;
  color: #fff;
  transform: translateY(-2px);
}

/* ========== Content Section --line（page-study.css と同等） ========== */
.nlp-mockup .content-section--line {
  background: #fff;
}

/* LINE系セクションは内側の幅を絞ってLP風レイアウトに合わせる */
.nlp-mockup .content-section--line .content-section__inner {
  max-width: 1100px;
}

/* ========== Mailmag Checklist（公式メルマガセクション） ========== */
.nlp-mockup .mailmag-checklist {
  list-style: none;
  padding: 18px 24px;
  margin: 0 auto 28px;
  max-width: 720px;
  border: 2px solid #48c614;
  border-image: linear-gradient(to right, #48c614, #7ebd25) 1;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nlp-mockup .mailmag-checklist li {
  position: relative;
  padding-left: 28px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: #181818;
}

.nlp-mockup .mailmag-checklist li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.6em;
  width: 10px;
  height: 8px;
  border-left: 3px solid #fe2c55;
  border-bottom: 3px solid #fe2c55;
  transform: rotate(-45deg);
}

.nlp-mockup .mailmag-cta-text {
  display: none;
}

.nlp-mockup .mailmag-form {
  position: relative;
  max-width: 760px;
  margin: 28px auto 0;
  background: #dde2ea;
  border-radius: 10px;
  padding: 36px 56px 40px;
}

/* ========== ActiveCampaign フォームのカスタムスタイル ========== */
.nlp-mockup .mailmag-form #_form_13_,
.nlp-mockup .mailmag-form ._form_13 {
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  max-width: none !important;
  font-family: "Noto Sans JP", sans-serif !important;
}

.nlp-mockup .mailmag-form #_form_13_ ._form-content {
  margin: 0 !important;
  width: 100% !important;
}

.nlp-mockup .mailmag-form #_form_13_ ._form_element {
  margin: 0 0 18px !important;
  max-width: 100% !important;
  width: 100% !important;
}

.nlp-mockup .mailmag-form #_form_13_ ._form-label {
  display: none !important;
}

.nlp-mockup .mailmag-form #_form_13_ ._field-wrapper {
  width: 100%;
}

/* メールアドレス入力欄 */
.nlp-mockup .mailmag-form #_form_13_ input[type="text"],
.nlp-mockup .mailmag-form #_form_13_ #email {
  width: 100% !important;
  padding: 18px 24px !important;
  font-size: 15px !important;
  background: #fff !important;
  border: 1px solid #c9d0db !important;
  border-radius: 10px !important;
  color: #2a2a2a !important;
  font-family: "Noto Sans JP", sans-serif !important;
  height: auto !important;
  box-shadow: 0 1px 2px rgba(31, 33, 41, 0.04) !important;
}

.nlp-mockup .mailmag-form #_form_13_ input[type="text"]::placeholder,
.nlp-mockup .mailmag-form #_form_13_ #email::placeholder {
  color: #9aa3b0 !important;
}

.nlp-mockup .mailmag-form #_form_13_ input[type="text"]:focus,
.nlp-mockup .mailmag-form #_form_13_ #email:focus {
  outline: none !important;
  border-color: #1a1a1a !important;
}

/* 送信ボタンラッパー */
.nlp-mockup .mailmag-form #_form_13_ ._button-wrapper {
  text-align: center !important;
  max-width: 480px !important;
  margin: 0 auto !important;
}

/* 送信ボタン */
.nlp-mockup .mailmag-form #_form_13_ ._submit {
  position: relative;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  width: 100% !important;
  padding: 18px 22px !important;
  background: #141414 !important;
  color: #fff !important;
  font-family: "Noto Sans JP", sans-serif !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  letter-spacing: 0.05em !important;
  border-radius: 10px !important;
  cursor: pointer !important;
  transition: opacity 0.2s, transform 0.2s !important;
}

/* 紙飛行機アイコン（送信ボタン左） */
.nlp-mockup .mailmag-form #_form_13_ ._submit::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 22px;
  margin-right: 4px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><line x1='22' y1='2' x2='11' y2='13'/><polygon points='22 2 15 22 11 13 2 9 22 2'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  vertical-align: middle;
}

.nlp-mockup .mailmag-form #_form_13_ ._submit:hover {
  opacity: 0.92 !important;
  transform: translateY(-1px) !important;
}

/* AC ブランディング非表示 */
.nlp-mockup .mailmag-form #_form_13_ ._form-branding {
  display: none !important;
}

/* クリック指（ボタン右端に被せる） */
.nlp-mockup .mailmag-form__finger {
  position: absolute;
  left: calc(50% + 200px);
  bottom: 14px;
  width: 56px;
  height: 56px;
  pointer-events: none;
  transform: rotate(4deg);
  animation: nlp-line-finger-pulse 1.4s ease-in-out infinite;
  transform-origin: center;
  z-index: 2;
}

.nlp-mockup .mailmag-form__finger img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media screen and (max-width: 768px) {
  .nlp-mockup .mailmag-form { padding: 24px 20px 28px; }
  .nlp-mockup .mailmag-form #_form_13_ input[type="text"],
  .nlp-mockup .mailmag-form #_form_13_ #email { font-size: 14px !important; padding: 14px 18px !important; }
  .nlp-mockup .mailmag-form #_form_13_ ._submit { font-size: 14px !important; padding: 16px !important; }
  .nlp-mockup .mailmag-form__finger { width: 44px; height: 44px; left: auto; right: 8px; bottom: 18px; }
}

/* ========== LINE Section ========== */
.nlp-mockup .line-section__heading {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 23px;
  font-weight: 500;
  color: #fff;
  background: #1f2c4d;
  padding: 8px 22px;
  margin: 0 0 24px;
  letter-spacing: 0.05em;
  scroll-margin-top: 80px;
}

.nlp-mockup .line-section__lead {
  margin: 0 0 28px;
  padding: 0 6px;
}

.nlp-mockup .line-section__lead-em {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #181818;
  line-height: 1.9;
  margin-bottom: 3px;
}

.nlp-mockup .line-section__lead-em-strong {
  color: #fe2c55;
  font-weight: 600;
}

.nlp-mockup .line-section__lead-text {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 1.9;
  color: #181818;
  margin: 0;
}

.nlp-mockup .line-section__lead-text-em {
  color: #136db6;
  font-weight: 600;
}

/* インラインリンク（コーラル系） */
.nlp-mockup .line-section__lead-link {
  color: #136db6;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
  transition: opacity 0.2s;
}

.nlp-mockup .line-section__lead-link:hover {
  opacity: 0.75;
}

/* 強調テキスト */
.nlp-mockup .line-section__lead-strong {
  color: #fe2c55;
  font-weight: 600;
}

.nlp-mockup .line-section__lead p + p {
  margin-top: 1.4em;
}

.nlp-mockup .line-section__banner {
  text-align: center;
  margin: 0 0 20px;
}

.nlp-mockup .line-section__banner span {
  display: inline-block;
  position: relative;
  padding: 0 20px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 19px;
  font-weight: 400;
  color: #181818;
  line-height: 1.6;
}

.nlp-mockup .line-section__banner span::before,
.nlp-mockup .line-section__banner span::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 22px;
  height: 1.5px;
  background: #181818;
  transform-origin: center;
}

.nlp-mockup .line-section__banner span::before {
  left: 0;
  transform: translateY(-50%) rotate(60deg);
}

.nlp-mockup .line-section__banner span::after {
  right: 0;
  transform: translateY(-50%) rotate(-60deg);
}

.nlp-mockup .line-section__promo {
  max-width: 840px;
  margin: 0 auto 24px;
}

.nlp-mockup .line-section__promo img {
  display: block;
  width: 100%;
  height: auto;
}

/* 動画キャプション（line-section__banner と同等） */
.nlp-mockup .line-section__promo-caption {
  text-align: center;
  margin: 0 0 20px;
}

.nlp-mockup .line-section__promo-caption span {
  display: inline-block;
  position: relative;
  padding: 0 20px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 19px;
  font-weight: 400;
  color: #181818;
  line-height: 1.6;
}

.nlp-mockup .line-section__promo-caption span::before,
.nlp-mockup .line-section__promo-caption span::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 22px;
  height: 1.5px;
  background: #181818;
  transform-origin: center;
}

.nlp-mockup .line-section__promo-caption span::before {
  left: 0;
  transform: translateY(-50%) rotate(60deg);
}

.nlp-mockup .line-section__promo-caption span::after {
  right: 0;
  transform: translateY(-50%) rotate(-60deg);
}

@media screen and (max-width: 768px) {
  .nlp-mockup .line-section__promo-caption span { font-size: 14px; padding: 0 24px; }
}

/* Vimeo 動画プロモ（16:9 レスポンシブ・最大840px・中央寄せ） */
.nlp-mockup .line-section__promo--video {
  position: relative;
  width: 100%;
  max-width: 840px;
  margin-left: auto;
  margin-right: auto;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}

.nlp-mockup .line-section__promo--video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.nlp-mockup .line-section__cta-wrap {
  text-align: center;
  margin: 0 0 40px;
  padding: 0 34px;
}

.nlp-mockup .line-section__btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  max-width: 580px;
  padding: 8px 22px;
  background: linear-gradient(to right, #48c614, #7ebd25);
  color: #fff;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 18px;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 0.05em;
  border-radius: 8px;
  transition: opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1), transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.nlp-mockup .line-section__btn:hover {
  opacity: 0.95;
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(72, 198, 20, 0.3);
}

.nlp-mockup .line-section__btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
}

.nlp-mockup .line-section__btn-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nlp-mockup .line-section__btn-text {
  text-align: center;
}

.nlp-mockup .line-section__btn-br--sm {
  display: none;
}

@media screen and (max-width: 530px) {
  .nlp-mockup .line-section__btn-br--sm {
    display: inline;
  }
}

.nlp-mockup .line-section__btn-finger {
  position: absolute;
  right: -18px;
  bottom: -10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  pointer-events: none;
  transform: rotate(4deg);
  animation: nlp-line-finger-pulse 1.4s ease-in-out infinite;
  transform-origin: center;
}

.nlp-mockup .line-section__btn-finger img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@keyframes nlp-line-finger-pulse {
  0%, 100% { transform: rotate(4deg) scale(1); }
  50% { transform: rotate(4deg) scale(1.18); }
}

@media (prefers-reduced-motion: reduce) {
  .nlp-mockup .line-section__btn-finger {
    animation: none;
  }
}

/* ========== CTA Wrap 複製版（line-section__cta-wrap-2） ========== */
.nlp-mockup .line-section__cta-wrap-2 {
  text-align: center;
  margin: 0 0 40px;
  padding: 0 34px;
}

.nlp-mockup .line-section__btn-2 {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  max-width: 400px;
  padding: 8px 22px;
  background: linear-gradient(to right, #ff2e00, #ff8600);
  color: #fff;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 18px;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 0.05em;
  border-radius: 999px;
  transition: background 0.35s cubic-bezier(0.22, 1, 0.36, 1), color 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

/* オレンジ系ボタンは浮き上がらせず、その場で色を反転 */
.nlp-mockup .line-section__btn-2:hover {
  background: #fff;
  color: #ff5500;
  box-shadow: inset 0 0 0 2px #ff5500;
}

.nlp-mockup .line-section__btn-text-2 {
  text-align: center;
}

.nlp-mockup .line-section__btn-br--sm-2 {
  display: none;
}

@media screen and (max-width: 530px) {
  .nlp-mockup .line-section__btn-br--sm-2 {
    display: inline;
  }
}

.nlp-mockup .line-section__btn-finger-2 {
  position: absolute;
  right: -18px;
  bottom: -10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  pointer-events: none;
  transform: rotate(4deg);
  animation: nlp-line-finger-pulse 1.4s ease-in-out infinite;
  transform-origin: center;
}

.nlp-mockup .line-section__btn-finger-2 img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (prefers-reduced-motion: reduce) {
  .nlp-mockup .line-section__btn-finger-2 {
    animation: none;
  }
}

/* ========== LINE Voice 複製版（line-voice-2 / フルブリード） ========== */
.nlp-mockup .line-voice-2 {
  position: relative;
  background: #faf6ec;
  padding: 28px 0px 32px;
  border-radius: 0;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.nlp-mockup .line-voice-2__heading {
  text-align: center;
  margin: 0 0 18px;
}

.nlp-mockup .line-voice-2__heading span {
  display: inline-block;
  position: relative;
  padding: 0 20px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 19px;
  font-weight: 600;
  color: #895e25;
}

.nlp-mockup .line-voice-2__heading span::before,
.nlp-mockup .line-voice-2__heading span::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 18px;
  height: 1.5px;
  background: #895e25;
}

.nlp-mockup .line-voice-2__heading span::before {
  left: 0;
  transform: translateY(-50%) rotate(60deg);
}

.nlp-mockup .line-voice-2__heading span::after {
  right: 0;
  transform: translateY(-50%) rotate(-60deg);
}

/* 自動スクロール（マーキー）スライダー */
.nlp-mockup .line-voice-2__slider {
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px 0 12px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.nlp-mockup .line-voice-2__slider::-webkit-scrollbar {
  display: none;
}

.nlp-mockup .line-voice-2__track {
  display: flex;
  flex-wrap: nowrap;
  width: max-content;
  gap: 16px;
  animation: nlp-voice-marquee 80s linear infinite;
}

.nlp-mockup .line-voice-2__track:hover,
.nlp-mockup .line-voice-2__track:focus-within {
  animation-play-state: paused;
}

@keyframes nlp-voice-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - 8px)); }
}

@media (prefers-reduced-motion: reduce) {
  .nlp-mockup .line-voice-2__track { animation: none; }
}

.nlp-mockup .line-voice-2__card {
  position: relative;
  scroll-snap-align: start;
  flex: 0 0 300px;
  background: #fff;
  border-radius: 8px;
  padding: 26px 22px 20px;
  box-shadow: 0 4px 14px rgba(31, 23, 8, 0.06), 0 1px 3px rgba(31, 23, 8, 0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}

/* 右上の VOICE インデックス（カウンタで自動採番） */
.nlp-mockup .line-voice-2__track { counter-reset: voice; }

.nlp-mockup .line-voice-2__card::after {
  counter-increment: voice;
  content: "VOICE " counter(voice, decimal-leading-zero);
  position: absolute;
  top: 12px;
  right: 14px;
  font-family: "Roboto", sans-serif;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: rgba(137, 94, 37, 0.55);
  pointer-events: none;
  z-index: 0;
}

/* 中身は装飾の上に */
.nlp-mockup .line-voice-2__card > * {
  position: relative;
  z-index: 1;
}

.nlp-mockup .line-voice-2__card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin-bottom: 14px;
  flex-shrink: 0;
  overflow: hidden;
}

.nlp-mockup .line-voice-2__card-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nlp-mockup .line-voice-2__card-text {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 13px;
  line-height: 1.7;
  color: #2a2a2a;
  margin: 0;
  text-align: left;
}

/* A: Klee One（手書き感 × 高い可読性） */
.nlp-mockup .line-voice-2__slider.is-font-klee .line-voice-2__card-text {
  font-family: "Klee One", "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: 0.02em;
  color: #333;
  font-weight: 600;
}

/* B: Yusei Magic（より情緒的な手書き） */
.nlp-mockup .line-voice-2__slider.is-font-yusei .line-voice-2__card-text {
  font-family: "Yusei Magic", "Noto Sans JP", sans-serif;
  font-size: 14px;
  line-height: 1.95;
  letter-spacing: 0.02em;
  color: #333;
}



/* ========== LINE Voice (口コミ) ========== */
.nlp-mockup .line-voice {
  background: #faf6ec;
  padding: 28px 32px 32px;
  border-radius: 6px;
  max-width: 840px;
  margin-left: auto;
  margin-right: auto;
}

.nlp-mockup .line-voice__heading {
  text-align: center;
  margin: 0 0 18px;
}

.nlp-mockup .line-voice__heading span {
  display: inline-block;
  position: relative;
  padding: 0 20px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 19px;
  font-weight: 400;
  color: #181818;
}

.nlp-mockup .line-voice__heading span::before,
.nlp-mockup .line-voice__heading span::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 18px;
  height: 1.5px;
  background: #181818;
}

.nlp-mockup .line-voice__heading span::before {
  left: 0;
  transform: translateY(-50%) rotate(60deg);
}

.nlp-mockup .line-voice__heading span::after {
  right: 0;
  transform: translateY(-50%) rotate(-60deg);
}

.nlp-mockup .line-voice__list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 720px;
}

.nlp-mockup .line-voice__list li {
  position: relative;
  padding-left: 28px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 1.9;
  color: #181818;
}

.nlp-mockup .line-voice__list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.6em;
  width: 10px;
  height: 8px;
  border-left: 3px solid #026eb3;
  border-bottom: 3px solid #026eb3;
  transform: rotate(-45deg);
}

/* ========== Responsive ========== */
@media (max-width: 768px) {
  .nlp-header__nav ul {
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
  }
  .nlp-header__nav a { padding: 12px 16px; font-size: 12px; white-space: nowrap; }
  .nlp-header__cta { flex-direction: column; gap: 8px; padding: 10px 12px; }
  .nlp-header__cta-text { font-size: 13px; text-align: center; }
  .nlp-main { padding: 36px 0px 60px; }
  .nlp-section-title { font-size: 18px; }
  .nlp-section-title--en { font-size: 24px; }
  .nlp-pickup__track { grid-auto-columns: minmax(180px, 1fr); }
  .nlp-pickup__card-title { font-size: 13px; }
  .nlp-trouble__cards { grid-template-columns: 1fr; gap: 18px; }
  .nlp-trouble__tab { padding: 8px 16px; font-size: 12px; }
  .nlp-trouble__desc { font-size: 14px; }
  .nlp-btn-cta { min-width: 200px; padding: 12px 30px; font-size: 13px; }
  .nlp-mockup .content-section { padding: 40px 0px 56px; }
  .nlp-mockup .chapter-heading { font-size: 18px; }
  .nlp-mockup .content-section__lead { font-size: 13px; text-align: left; }
  .nlp-mockup .chapter-list { grid-template-columns: 1fr; gap: 20px; }
  .nlp-mockup .chapter-card { padding: 20px 18px 16px; }
  .nlp-mockup .youtube-list { gap: 16px; animation-duration: 40s; }
  .nlp-mockup .youtube-card { flex: 0 0 70vw; max-width: 280px; }
  .nlp-mockup .chapter-heading__br-sp { display: inline; }
  .nlp-mockup .trainer-section { padding: 40px 0px 56px; }
  .nlp-mockup .nlp-categories { padding-top: 36px; }
  .nlp-mockup .nlp-categories,
  .nlp-mockup .nlp-trouble { padding-left: 0; padding-right: 0; }

  /* 人気カテゴリー: スマホは横スクロール1行（app的な上質な見せ方） */
  .nlp-categories__list {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 4px 24px;
    /* 既定（中間スクロール位置）: 両端フェード。JSが位置に応じてクラスを付け替える */
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
    mask-image: linear-gradient(to right, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
  }
  /* 先頭（初期位置）: 左フェードなし → ピル端がモヤッとしない */
  .nlp-categories__list.is-scroll-start {
    -webkit-mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 24px), transparent 100%);
    mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 24px), transparent 100%);
  }
  /* 末尾: 右フェードなし */
  .nlp-categories__list.is-scroll-end {
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 24px, #000 100%);
    mask-image: linear-gradient(to right, transparent 0, #000 24px, #000 100%);
  }
  /* スクロール不要（全部収まる）: フェードなし */
  .nlp-categories__list.is-scroll-start.is-scroll-end {
    -webkit-mask-image: none;
    mask-image: none;
  }
  .nlp-categories__list::-webkit-scrollbar {
    display: none;
  }
  .nlp-mockup .nlp-categories__item {
    flex: 0 0 auto;
    white-space: nowrap;
    scroll-snap-align: start;
  }
  .nlp-mockup .trainer-section__heading { font-size: 15px; padding: 12px 16px; }
  .nlp-mockup .trainer-profile { grid-template-columns: 1fr; column-gap: 0; row-gap: 0; }
  .nlp-mockup .trainer-profile__media { position: relative; }
  .nlp-mockup .trainer-profile__sns { position: absolute; left: 0; right: 0; bottom: 0; justify-content: flex-end; padding-right: 12px; z-index: 2; }
  .nlp-mockup .trainer-profile__sns a { background: rgba(0, 0, 0, 0.2); color: #fff; border-radius: 50%; opacity: 0.8; }
  .nlp-mockup .trainer-profile__name { font-size: 20px; margin-top: 8px; }
  .nlp-mockup .trainer-profile__stats { margin-bottom: 20px; }
  .nlp-mockup .trainer-profile__stat-value { font-size: 21px; }
  .nlp-mockup .trainer-media { grid-template-columns: 1fr; }
  .nlp-mockup .line-section__heading { font-size: 15px; padding: 12px 16px; }
  .nlp-mockup .line-section__lead-em { font-size: 14px; }
  .nlp-mockup .line-section__lead-text { font-size: 13px; }
  .nlp-mockup .line-section__banner span { font-size: 14px; padding: 0 24px; }
  .nlp-mockup .line-section__btn { padding: 16px; font-size: 13px; }
  .nlp-mockup .line-section__btn-2 { padding: 16px; font-size: 13px; }
  .nlp-mockup .line-voice { padding: 24px 18px; }
  .nlp-mockup .line-voice__heading span { font-size: 14px; padding: 0 22px; }
  .nlp-mockup .line-voice__list li { font-size: 13px; padding-left: 24px; }
  .nlp-mockup .mailmag-checklist { padding: 16px 18px; }
  .nlp-mockup .mailmag-checklist li { font-size: 13px; padding-left: 24px; }
  .nlp-mockup .mailmag-cta-text { font-size: 14px; }
  .nlp-mockup .line-voice-2 { padding: 24px 0px; }
  .nlp-mockup .line-voice-2__heading span { font-size: 14px; padding: 0 22px; }
  .nlp-mockup .line-voice-2__card { flex: 0 0 80vw; max-width: 300px; }
}

/* ==========================================================
 * 固定追尾フッターバナー（custom_html-2 を表示）
 * - 画面下部に常時追尾
 * - スクロール量が一定を超えたら表示、上部に戻ったら非表示
 * - 閉じるボタンで当セッションは非表示にできる
 * ========================================================== */
.fixed-footer-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9990;
  background: transparent;
  /* 透明背景なのでドロップシャドウも消去（中身のバナー画像だけが浮き出る） */
  box-shadow: none;
  transform: translateY(110%);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
  padding: 8px 0;
}
.fixed-footer-banner.is-visible {
  transform: translateY(0);
  pointer-events: auto;
}
.fixed-footer-banner.is-dismissed {
  display: none;
}

.fixed-footer-banner__inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 14px;
}
.fixed-footer-banner__inner img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}
.fixed-footer-banner__inner a {
  display: block;
  line-height: 0;          /* 画像下の余白除去 */
}

.fixed-footer-banner__close {
  position: absolute;
  top: -28px;
  right: 12px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #fff;
  color: #333;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  transition: background 0.2s, transform 0.2s;
  padding: 0;
}
.fixed-footer-banner__close:hover {
  background: #f5f5f5;
  transform: scale(1.05);
}

/* 本文下部がバナーに隠れないように余白を確保
   ※ 必要なら有効化してください。現在は不要なためコメントアウト中 */
.page-template-page-nlp-top {
  /* padding-bottom: 100px; */
}

@media screen and (max-width: 640px) {
  .fixed-footer-banner { padding: 6px 0; }
  .fixed-footer-banner__inner { padding: 0 10px; }
  .fixed-footer-banner__close { width: 26px; height: 26px; top: -26px; right: 10px; }
  .page-template-page-nlp-top { /* padding-bottom: 84px; */ }
}

/* ==========================================================
 * NLP TOP テンプレート専用：背景を白に強制
 * - SWELL はテンプレートクラスを <body> ではなく <div id="body_wrap"> 側に付与する。
 *   そのため `body.page-template-...` ではマッチしないので、body プレフィックスを外す。
 * ========================================================== */
.page-template-page-nlp-top,
.page-template-page-nlp-top #body_wrap,
.page-template-page-nlp-top #content,
.page-template-page-nlp-top .l-content {
  background: #fff !important;
}

.page-template-page-nlp-top #content {
  margin-bottom: 0 !important;
}
