
/* ================================================================
   事例詳細ページ — header | footer
================================================================ */
.PageHeader {
  background: transparent !important;
  box-shadow: none !important;
}
.PageHeader__DrawerOpenButton {
  display: none !important;
}

.PageFooter {
  max-width: 100% !important;
}
/* ================================================================
   事例詳細ページ — EP LP テイスト完全統一版（黄×緑×黒）
================================================================ */

.ep-case *, .ep-case *::before, .ep-case *::after { box-sizing: border-box; }
.ep-case {
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic Medium', sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* --- LP カラー変数 ---
   LP から読み取ったカラー:
   背景  : #F9F9C0  (極薄い黄色 — LP のベース)
   緑    : #5DBB18  (LP の強調色・ボタン)
   黒    : #1A1A1A  (メインテキスト)
   グレー: #555555  (ボディテキスト)
   橙    : #E05520  (「無料」バッジ)
-------------------------------------------------*/
:root {
  --c-yellow:  #FFF7AE; /* LP ページ背景 */
  --c-yellow-d:#FFF3A0; /* 少し深い黄色（セクション区切り） */
  --c-green:   #49A81C; /* 一次アクセント */
  --c-green-d: #3A8A14; /* hover */
  --c-black:   #1A1A1A; /* 見出しテキスト */
  --c-body:    #444444; /* 本文テキスト */
  --c-muted:   #777777; /* ミュートテキスト */
  --c-orange:  #E05520; /* 「無料」バッジ */
  --c-white:   #FFFFFF;
  --c-border:  #E8E8E8; /* 緑み帯びた境界線 */
  --c-max:     1080px;
}

/* ================================================================
   KV — LP の明るい黄色ベース
   ================================================================ */
.ep-kv {
  background: var(--c-yellow);
  position: relative;
  overflow: hidden;
}
/* LP の波状グラデーション装飾 */
.ep-kv::before {
  content: '';
  position: absolute;
  bottom: 0; left: -10%;
  width: 55%; height: 75%;
  background: radial-gradient(ellipse at center, rgba(93,187,24,.09) 0%, transparent 70%);
  pointer-events: none;
}
.ep-kv__inner {
  max-width: var(--c-max); margin: 0 auto;
  padding: 90px 28px 52px;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 48px;
  align-items: center;
  position: relative; z-index: 1;
}
/* LP の "Customer Story" スタイルラベル */
/* ラベル削除 */
.ep-kv__label--hidden {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--c-green);
  margin-bottom: 20px;
}
.ep-kv__label::before {
  content: ''; width: 22px; height: 2px;
  background: var(--c-green); flex-shrink: 0;
}
/* メインタイトル — LP は極太ウェイト */
.ep-kv__title {
  font-size: clamp(35px, 4.8vw, 36px);
  font-weight: 900;
  color: var(--c-black);
  line-height: 1.28;
  margin: 0 0 8px;
  letter-spacing: -.03em;
}
/* LP の強調テキストは緑色 */
.ep-kv__title em {
  color: var(--c-green);
  font-style: normal;
}
/* LP の "即採用" ボックス風サブタイトル */
.ep-kv__sub {
  font-size: clamp(18px, 1.5vw, 20px);
  color: var(--c-body);
  line-height: 1.8;
  margin: 0 0 28px;
}
.ep-kv__meta {
  display: flex; flex-wrap: wrap;
  gap: 10px; align-items: center;
}
.ep-kv__company {
  font-size: 17px; color: var(--c-body);
  display: flex; flex-wrap: wrap; gap: 6px; align-items: center;
}
.ep-kv__company strong { color: var(--c-black); }
/* LP バッジ — 緑ボーダー */
.ep-kv__badge {
  padding: 4px 12px;
  background: rgba(93,187,24,.1);
  border: 1.5px solid rgba(93,187,24,.4);
  border-radius: 100px;
  font-size: 10.5px; font-weight: 700;
  color: var(--c-green);
}
/* 写真エリア */
.ep-kv__photo {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.14), 0 0 0 1.5px rgba(93,187,24,.18);
  position: relative;
}
.ep-kv__photo img {
  display: block; width: 100%;
  height: 280px; object-fit: cover; object-position: center top;
}
/* KV ボトム波（白セクションへ） */
.ep-kv__wave {
  display: block; width: 100%; height: 52px;
  fill: var(--c-white);
}

/* ================================================================
   数字ハイライト — 白背景でメトリクス
   ================================================================ */
.ep-nums {
  background: var(--c-white);
  border-bottom: 1px solid #EBEBEB;
}
.ep-nums__inner {
  max-width: var(--c-max); margin: 0 auto; padding: 0 28px;
  display: grid;
  grid-template-columns: repeat(2,1fr);
  border-left: 1px solid var(--c-border);
}
.ep-nums__inner:has(.ep-num[data-index="2"]) {
  grid-template-columns: repeat(3,1fr);
}
.ep-num {
  padding: 32px 20px 28px;
  text-align: center;
  border-right: 1px solid var(--c-border);
}
.ep-num__unit {
  font-size: 17px; font-weight: 700;
  color: var(--c-body); margin-bottom: 6px;
}
.ep-num__val {
  display: block;
  font-size: clamp(30px, 5.5vw, 36px);
  font-weight: 900;
  color: var(--c-black);
  line-height: 1;
  letter-spacing: -.04em;
  display: flex; align-items: baseline;
  justify-content: center; gap: 2px; flex-wrap: wrap;
  margin-bottom: 6px;
}
/* 数字の強調部分は緑 */
.ep-num__val em { color: var(--c-green); font-style: normal; }
.ep-num__note {
  display: block;
  font-size: 15px; color: var(--c-muted);
  margin-top: 6px; line-height: 1.5;
}

/* ================================================================
   本文エリア — 黄色ベース
   ================================================================ */
.ep-body {
  background: var(--c-white);
  padding: 60px 0 80px;
}
.ep-body__inner {
  max-width: var(--c-max); margin: 0 auto; padding: 0 28px;
  max-width: 760px;
}

/* 企業プロフィール */
.ep-profile {
  background: var(--c-white);
  border-radius: 8px;
  padding: 22px 26px 24px;
  margin-bottom: 44px;
  box-shadow: 0 2px 14px rgba(0,0,0,.07);
}
.ep-profile__image {
  margin-bottom: 16px;
}
.ep-profile__image img {
  max-height: 45px;
  width: auto;
  display: block;
}
.ep-profile__name {
  font-size: 23px; font-weight: 900;
  color: var(--c-black); margin: 0 0 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid #EBEBEB;
}
.ep-profile__person {
  font-size: 17px; color: var(--c-muted);
  margin: 0 0 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid #EBEBEB;
}
.ep-profile__desc {
  font-size: 18px; color: var(--c-body);
  line-height: 1.85; margin: 0 0 20px;
}
/* プロフィール内 会社情報テーブル */
.ep-profile__info {
  border-top: 1px solid #EBEBEB;
  margin-top: 4px;
}
.ep-profile__row {
  display: flex; align-items: baseline;
  gap: 16px; padding: 10px 0;
  border-bottom: 1px solid #F3F3F3;
}
.ep-profile__row:last-child { border-bottom: none; }
.ep-profile__row-label {
  font-size: 15px; font-weight: 700;
  color: var(--c-muted); white-space: nowrap;
  min-width: 88px;
}
.ep-profile__row-val {
  font-size: 17px; font-weight: 600;
  color: var(--c-black);
}
.ep-profile__row-val--accent {
  color: var(--c-green); font-weight: 800; font-size: 18px;
}
/* プロフィール内タグ */
.ep-profile__tags {
  display: flex; flex-wrap: wrap; gap: 6px;
  padding-top: 16px; margin-top: 4px;
  border-top: 1px solid #EBEBEB;
}
.ep-profile__tag {
  padding: 4px 11px; border-radius: 100px;
  background: rgba(73,168,28,.09);
  border: 1px solid rgba(73,168,28,.28);
  color: var(--c-green);
  font-size: 15px; font-weight: 700;
}

/* セクション見出し（LP スタイル: 英語ラベル + 日本語大見出し） */
.ep-sec-head { margin-bottom: 18px; }
.ep-sec-head__en {
  display: none;
  font-size: 15px; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--c-green);
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 8px;
}
.ep-sec-head__en::after {
  content: ''; flex: 1; height: 1.5px;
  background: #DEDEDE; max-width: 120px;
}
.ep-sec-head__ja {
  font-size: clamp(27px, 3.2vw, 30px);
  font-weight: 900; color: var(--c-black);
  line-height: 1.45; letter-spacing: -.02em; margin: 0;
}

/* Q&A */
.ep-qa { margin-bottom: 36px; }
.ep-qa__q {
  display: flex; gap: 12px; margin-bottom: 14px;
  align-items: center;
}
.ep-qa__q-icon {
  flex-shrink: 0;
  width: 30px; height: 30px;
  background: var(--c-green);
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 900; color: var(--c-white);
  margin-top: 2px;
}
.ep-qa__q-text {
  font-size: 19px; font-weight: 800;
  color: var(--c-black); line-height: 1.55; flex: 1;
}
.ep-qa__a { padding-left: 42px; }
.ep-qa__a p {
  font-size: 18px; color: var(--c-body);
  line-height: 1.9; margin: 0 0 14px;
}
.ep-qa__a p:last-child { margin-bottom: 0; }
.ep-qa__a strong { color: var(--c-black); font-weight: 800; }

/* 引用ブロック */
.ep-quote {
  position: relative;
  background: #FFFDF0;
  border-left: 4px solid var(--c-green);
  border-radius: 8px;
  padding: 26px 28px 22px 34px;
  margin: 28px 0;
  box-shadow: 0 4px 18px rgba(0,0,0,.06);
}
.ep-quote::before {
  content: '“';
  position: absolute;
  top: 2px; left: 14px;
  font-size: 56px; line-height: 1;
  color: rgba(73,168,28,.3);
  font-family: Georgia, 'Times New Roman', serif;
  pointer-events: none;
}
.ep-quote p {
  font-size: 21px; font-weight: 800;
  color: var(--c-black); line-height: 1.72; margin: 0;
  letter-spacing: -.01em;
}
.ep-quote cite {
  font-size: 15px; color: var(--c-muted);
  font-style: normal; display: block;
  margin-top: 10px; text-align: right;
}

/* ================================================================
   ボタン — 指定CSS完全適用
   ================================================================ */
.ep-btn {
  display: block;
  padding: 4px 10px 10px;
  border-radius: 4px;
  background: #49A81C;
  box-sizing: border-box;
  border: 2px solid #49A81C;
  color: #FFF;
  text-align: center;
  font-size: 23px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  text-decoration: none;
  font-family: inherit;
  cursor: pointer;
  transition: opacity .18s;
  position: relative;
  margin-bottom: 10px;
}
.ep-btn:hover { opacity: .87; }
/* サブラベル（\オンライン/） */
.ep-btn__sub {
  font-size: 14px; font-weight: 700;
  display: block;
  color: #FFF;
  opacity: .85;
  margin-bottom: 0;
}
/* メインコピー */
.ep-btn__main {
  font-size: 21px; font-weight: 700;
  display: block; color: #FFF;
}
/* 「無料」バッジ（オレンジ） */
.ep-btn__badge {
  position: absolute;
  top: -10px; right: -6px;
  background: var(--c-orange);
  color: var(--c-white);
  font-size: 13px; font-weight: 900;
  padding: 3px 8px;
  border-radius: 4px;
  line-height: 1;
  white-space: nowrap;
}
/* セカンダリ：白地・緑枠・緑文字 */
.ep-btn--secondary {
  background: var(--c-white);
  color: #49A81C;
  border: 2px solid #49A81C;
}
.ep-btn--secondary .ep-btn__sub  { color: #49A81C; }
.ep-btn--secondary .ep-btn__main { color: #49A81C; }

/* ================================================================
   フッター CTA
   ================================================================ */
.ep-footer-cta {
  background: var(--c-yellow);
  background-image: linear-gradient(180deg, var(--c-yellow) 0%, #FFF7AE 100%);
  padding: 72px 0 68px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.ep-footer-cta::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 0%, rgba(93,187,24,.07) 0%, transparent 70%);
  pointer-events: none;
}
.ep-footer-cta__inner {
  position: relative; z-index: 1;
  max-width: 720px; margin: 0 auto; padding: 0 28px;
}
.ep-footer-cta__label {
  display: none;
  font-size: 15px; font-weight: 700;
  letter-spacing: .24em; text-transform: uppercase;
  color: var(--c-green); display: block; margin-bottom: 16px;
}
.ep-footer-cta__title {
  font-size: clamp(29px, 3.8vw, 41px);
  font-weight: 900; color: var(--c-black);
  margin: 0 0 12px; letter-spacing: -.025em; line-height: 1.35;
}
.ep-footer-cta__title em { color: var(--c-green); font-style: normal; }
.ep-footer-cta__sub {
  font-size: 19px; color: var(--c-body);
  margin: 0 0 40px; line-height: 1.8;
}
.ep-footer-cta__btns {
  display: flex; gap: 16px;
  justify-content: center; flex-wrap: wrap;
}
.ep-footer-cta__btns .ep-btn {
  padding: 15px 28px; min-width: 230px;
}
.ep-footer-cta__btns .ep-btn__main { font-size: 18px; }

/* 戻るリンク */
.ep-back {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 16px; font-weight: 700;
  color: var(--c-muted); text-decoration: none;
  margin-bottom: 32px; transition: color .15s;
}
.ep-back::before { content: '←'; transition: transform .15s; }
.ep-back:hover { color: var(--c-green); }
.ep-back:hover::before { transform: translateX(-3px); }

/* ================================================================
   レスポンシブ
   ================================================================ */
@media (max-width: 860px) {
  .ep-kv__inner {
    grid-template-columns: 1fr;
    gap: 32px; 
    padding-top: 100px; 
    padding-bottom: 40px;
  }
  .ep-kv__photo img { height: 220px; }
  .ep-nums__inner { grid-template-columns: 1fr; }
  .ep-nums__inner:has(.ep-num[data-index="2"]) { grid-template-columns: 1fr; }
  .ep-body__inner { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 560px) {
  .ep-kv__photo img { height: 180px; }
  .ep-talk { padding: 22px 18px; }
  .ep-footer-cta__btns { flex-direction: column; align-items: center; }
  .ep-footer-cta__btns .ep-btn { width: 100%; max-width: 320px; }
}

/* ================================================================
   インタビュー本文（原文どおり）
   ================================================================ */
.ep-talk {
  background: #F6F6F6;
  border-radius: 10px;
  padding: 30px 32px;
  margin-bottom: 48px;
}
.ep-content-text {
  margin-bottom: 48px;
}
.ep-talk__speaker {
  font-size: 16px; font-weight: 800;
  color: var(--c-green); margin: 0 0 12px;
}
.ep-content-text p,
.ep-talk p {
  font-size: 18px; color: var(--c-body);
  line-height: 1.95; margin: 0 0 18px;
}
.ep-content-text p:last-child,
.ep-talk p:last-child { margin-bottom: 0; }
.ep-content-text strong,
.ep-talk strong { color: var(--c-black); font-weight: 800; }
/* 黄色マーカー（PDF同様のハイライト） */
.ep-content-text .ep-hl ,
.ep-talk .ep-hl {
  background-image: linear-gradient(
    transparent 16%,
    rgba(255,235,59,.72) 16%,
    rgba(255,235,59,.72) 92%,
    transparent 92%
  );
  -webkit-box-decoration-break: clone;
          box-decoration-break: clone;
  padding: 0 1px;
}
.ep-note {
  font-size: 14px; color: var(--c-muted);
  margin-top: 36px; padding-top: 18px;
  border-top: 1px solid #EBEBEB; line-height: 1.7;
}

/* 本文中の画像 */
.ep-body__inner img { max-width: 100%; height: auto; display: block; }
.ep-figure { margin: 8px 0 44px; }
.ep-figure img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(0,0,0,.12);
}
.ep-figure figcaption {
  font-size: 14px; color: var(--c-muted);
  margin-top: 12px; line-height: 1.6; text-align: center;
}
.ep-content-image-wrap + .ep-content-text {
  margin-top: 35px;
}

/* ================================================================
   可変本文ブロック
   ================================================================ */
.ep-content-heading {
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.5;
  color: var(--c-black);
  font-weight: 900;
  margin: 0 0 18px;
}
.ep-content-text {
  color: var(--c-body);
  line-height: 1.9;
  font-size: 18px;
}
.ep-content-text p {
  margin: 0 0 14px;
}
.ep-content-text p:last-child {
  margin-bottom: 0;
}
.ep-content-text--gray {
  background: #f6f6f6;
  border-radius: 10px;
  padding: 26px 28px;
}
.ep-content-image-wrap {
  margin: 0 auto;
  text-align: center;
}
.ep-content-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}
.ep-content-spacer {
  width: 100%;
}

/* YouTube iframe block */
.ep-content-youtube {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  margin: 0 auto 24px;
}
.ep-content-youtube iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 12px;
}
.ep-content-builder:has(.ep-talk + .ep-content-spacer) .ep-talk {
  margin-bottom: 0;
}
.ep-content-builder:has(.ep-content-heading + .ep-content-spacer) .ep-content-heading {
  margin-bottom: 0;
}
.ep-content-builder:has(.ep-content-text + .ep-content-spacer) .ep-content-text {
  margin-bottom: 0;
}
.ep-content-builder:has(.ep-content-youtube + .ep-content-spacer) .ep-content-youtube {
  margin-bottom: 0;
}
.ep-content-builder:has(.ep-figure + .ep-content-spacer) .ep-figure {
  margin-bottom: 0;
}

.ep-content-builder figure:last-child ,
.ep-content-builder div:last-child {
  margin-bottom: 0;
}