@charset "utf-8";


/* ############################################################
   ## FOUNDATION — 基盤
   ############################################################ */

/* ============================================================
   CSS Variables
   ============================================================ */

:root {
  /* Colors — XDカンプ準拠 */
  --color-primary: #154A7D;
  /* メインブルー（濃紺） */
  --color-primary-dark: #0e3560;
  --color-primary-light: #0650BF;
  /* アクセントブルー（明るめ） */
  --color-accent: #FDE67C;
  /* イエロー（見出し装飾・アクセント） */
  --color-accent-dark: #f0d44a;
  --color-cta: #EB322D;
  /* CTA赤 */
  --color-cta-hover: #c9261f;
  --color-bg: #ffffff;
  /* 背景白ベース */
  --color-bg-white: #ffffff;
  --color-bg-white-90: rgba(255, 255, 255, .9);
  --color-bg-gray: #F5F5F5;
  --color-bg-darkgray: #CDD6DD;
  --color-bg-lightblue: #F0F5F9;
  --color-bg-blue: #0650BF;
  /* 青背景セクション用 */
  --color-text: #333333;
  --color-text-light: #666666;
  --color-text-white: #ffffff;
  --color-border: #BCBCBC;

  /* Layout */
  --site-max-width: 1100px;
  --site-max-width-l: 1600px;
  --site-max-width-ll: 1920px;
  --header-height-pc: 80px;
  --header-height-sp: 64px;

  /* title-clip */
  --title-clip: polygon(.5em 0%, 100% 0%, calc(100% - .5em) 100%, 0% 100%);

  /* Font */
  --font-base: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  --font-heading: "Noto Serif JP", "Hiragino Mincho ProN", serif;
  --font-round: "Zen Maru Gothic", "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;

  /* Font-size */
  --font-size-60: clamp(20px, 3.125vw, 60px);
  /*60→20*/
  --font-size-36: clamp(24px, 1.875vw, 36px);
  /*36→24*/
  --font-size-28: clamp(18px, 1.4583333333333333vw, 28px);
  /*28→18*/
  --font-size-26: clamp(18px, 1.3541666666666667vw, 26px);
  /*26→18*/
  --font-size-25: clamp(16px, 1.3020833333333335vw, 25px);
  /*25px→16px*/
  --font-size-20: clamp(13px, 1.0416666666666665vw, 20px);
  /*20px→13px*/
  --font-size-18: clamp(14px, 0.9375vw, 18px);
  /*18px→14px*/
  --font-size-18-base: clamp(16px, 0.9375vw, 18px);
  /*18px→16px*/

  /* Spacing */
  --section-padding-sp: 50px 0;
  --section-padding-pc: 100px 0;
  --section-padding-sp-page: 30px 0;
  --section-padding-pc-page: 60px 0;

  /* Transition */
  --transition: 0.3s ease;
}

/* ============================================================
   Base Reset
   ============================================================ */

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height-pc);
  font-size: 16px;
}

@media (max-width: 767px) {
  html {
    scroll-padding-top: var(--header-height-sp);
  }
}

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

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-base);
  font-size: var(--font-size-18-base);
  line-height: 1.8;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media (max-width:767px) {
  body {
    font-size: 14px;
  }
}

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

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition), opacity var(--transition);
}

a:hover {
  opacity: 0.7;
}

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

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-weight: 700;
  line-height: 1.4;
}

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

/* ============================================================
   Utility — PC/SP display toggle
   ============================================================ */

.header-sp {
  display: none;
}

.header-pc {
  display: block;
}

@media (max-width: 1300px) {
  .header-sp {
    display: block;
  }

  .header-pc {
    display: none;
  }
}

.u-only-sp {
  display: none;
}

.u-only-pc {
  display: block;
}

@media (max-width: 767px) {
  .u-only-sp {
    display: block;
  }

  .u-only-pc {
    display: none;
  }
}


/* ############################################################
   ## LAYOUT — レイアウト
   ############################################################ */

/* ============================================================
   Layout — Container
   ============================================================ */

.container {
  width: 90%;
  max-width: var(--site-max-width);
  margin: 0 auto;
}

body:not(.home) .container {
  width: 62%;
  max-width: var(--site-max-width);
  margin: 0 auto;
}

@media (max-width: 1023px) {
  body:not(.home) .container {
    width: 90%;
  }
}

/* ============================================================
   Section — 共通セクション
   ============================================================ */

.section {
  padding: var(--section-padding-pc);
}

body:not(.home) .section {
  padding: var(--section-padding-pc-page);
}

body:not(.home) .section--lightblue {
  background-color: var(--color-bg-lightblue);
  margin: var(--section-padding-sp-page);
}


.page-content {
  padding: var(--section-padding-pc-page);
  padding-top: 0;
  padding-left: 0;
  padding-right: 0;

}

@media (max-width: 767px) {
  .section {
    padding: var(--section-padding-sp);
  }

  body:not(.home) .section {
    padding: var(--section-padding-sp-page);
  }

  .page-content {
    padding: var(--section-padding-sp-page);
    padding-top: 0;
    padding-left: 0;
    padding-right: 0;

  }

}

.section__heading {
  font-family: var(--font-base);
  position: relative;
  margin-bottom: 1em;

}

/* 下層ページタイトル−１ */
.section__heading--yellow {
  text-decoration: underline;
  text-decoration-color: var(--color-accent);
  text-decoration-thickness: 6px;
  font-size: var(--font-size-36);
  margin-bottom: .4em;
}

/* 下層ページタイトル−２ */
.section__heading--blue {
  padding-left: 1.2em;
  font-size: var(--font-size-36);
}

.section__heading--blue::before {
  position: absolute;
  content: "";
  display: block;
  width: 1em;
  height: 1.5em;
  left: 0;
  top: -.1em;
  background-color: var(--color-primary-light);
  clip-path: var(--title-clip);
}

/* TOPページタイトル */
.section__heading--red {
  color: var(--color-cta);
  font-family: var(--font-base);
  font-size: clamp(24px, 2.9166666666666665vw, 56px);
  font-weight: 900;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
  padding-bottom: 0.5em;
  position: relative;
}

.section__heading--red::before {
  content: "";
  display: block;
  position: absolute;
  width: 150px;
  aspect-ratio: 1/1;
  left: calc(-150px - 1em);
  bottom: 0;
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: contain;
}

.section__heading--red::after {
  content: "";
  display: block;
  position: absolute;
  width: 150px;
  aspect-ratio: 1/1;
  right: calc(-150px - 1em);
  bottom: 0;
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: contain;
}

.top-pain .section__heading--red::before {
  background-image: url(../img/top-pain-01.svg);
}

.top-pain .section__heading--red::after {
  background-image: url(../img/top-pain-02.svg);
}

.top-reason .section__heading--red::after {
  background-image: url(../img/top-reason-01.svg);
}

.top-programs .section__heading--red::before {
  transform-origin: bottom right;
  transform: scale(.8);
  background-image: url(../img/top-program-01.svg);
}

.top-voice .section__heading--red::before {
  left: -150px;
  background-image: url(../img/top-voice-01.svg);
}

.top-voice .section__heading--red::after {
  background-image: url(../img/top-voice-02.svg);
}

.top-flow .section__heading--red::after {
  background-image: url(../img/top-flow-01.svg);
}

@media (max-width: 767px) {
  .section__heading--red::before {
    width: 88px;
    left: calc(-88px - .5em);
  }

  .section__heading--red::after {
    content: "";
    width: 88px;
    right: calc(-88px - .5em);
  }

  .top-reason .section__heading--red {
    padding-right: 3em;
  }

  .top-reason .section__heading--red::after {
    transform-origin: left bottom;
    transform: scale(1.1) translateX(-3em)
  }

  .top-programs .section__heading--red {
    padding-left: 2.5em;
  }

  .top-programs .section__heading--red::before {
    transform: scale(.75) translateX(3.5em)
  }

  .top-voice .section__heading--red::before {
    left: -88px;
    transform-origin: right bottom;
    transform: scale(.8);
  }

  .top-voice .section__heading--red::after {
    transform-origin: left bottom;
    transform: scale(.8);
  }

  .top-flow .section__heading--red {
    padding-right: 3em;
  }

  .top-flow .section__heading--red::after {
    transform-origin: left bottom;
    transform: scale(1.1) translateX(-3em)
  }

}

/* ============================================================
   Section Backgrounds — XDカンプ準拠
   ============================================================ */

.section--blue {
  background-color: var(--color-bg-blue);
}

.section--blue .section__heading {
  color: var(--color-text-white);
}

.section--blue a {
  color: var(--color-text-white);
}


/* ############################################################
   ## GLOBAL PARTS — 全ページ共通パーツ
   ############################################################ */

/* ============================================================
   SP Header
   ============================================================ */

.header-sp__spacer {
  height: var(--header-height-sp);
}

.header-sp__bar {
  position: fixed;
  top: 8px;
  left: 3%;
  width: 94%;
  height: var(--header-height-sp);
  background-color: var(--color-bg-white);
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 12px;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.header-sp__logo {
  display: flex;
  align-items: center;
}

.header-sp__logo img {
  height: 36px;
  width: auto;
}

.header-sp__right {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Hamburger */
.hamburger {
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background-color: var(--color-primary-light);
  position: fixed;
  top: calc(8px + (var(--header-height-sp) - 44px) / 2);
  right: calc(5% + 12px);
  z-index: 120;
}

.hamburger__line {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-bg-white);
  border-radius: 1px;
  transition: transform var(--transition), opacity var(--transition);
}

.hamburger.is-active .hamburger__line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.is-active .hamburger__line:nth-child(2) {
  opacity: 0;
}

.hamburger.is-active .hamburger__line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* SP Nav Overlay */
.sp-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  background-color: rgba(6, 80, 191, .9);
  z-index: 110;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transition: width .3s ease, height .3s ease;
}

.sp-nav.is-open {
  width: 80%;
  height: 100dvh;
}

.sp-nav__list {
  margin: 4em 0 2em;
}

.sp-nav__list li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.sp-nav__list a {
  display: block;
  padding: 14px 24px;
  color: var(--color-text-white);
  font-size: 0.9375rem;
  font-weight: 500;
}

.sp-nav__list a:hover {
  background-color: rgba(255, 255, 255, 0.1);
  opacity: 1;
}

/* SP accordion toggle icon (+/−) */
.sp-nav__list>.menu-item-has-children>a {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sp-nav__list>.menu-item-has-children>a::after {
  content: "";
  display: block;
  width: 14px;
  height: 14px;
  position: relative;
  flex-shrink: 0;
}

/* 横棒 */
.sp-nav__list>.menu-item-has-children>a::after {
  background:
    linear-gradient(var(--color-text-white), var(--color-text-white)) center / 14px 2px no-repeat,
    linear-gradient(var(--color-text-white), var(--color-text-white)) center / 2px 14px no-repeat;
  transition: background var(--transition);
}

/* 開いた状態: 縦棒を消して − に */
.sp-nav__list>.menu-item-has-children.is-open>a::after {
  background:
    linear-gradient(var(--color-text-white), var(--color-text-white)) center / 14px 2px no-repeat;
}

/* ============================================================
   PC Header
   ============================================================ */

.header-pc {
  position: fixed;
  top: 10px;
  left: 5%;
  width: 90%;
  height: var(--header-height-pc);
  background-color: var(--color-bg-white);
  z-index: 100;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.header-pc__spacer {
  display: block;
  height: var(--header-height-pc);
}

@media (max-width: 767px) {
  .header-pc__spacer {
    display: none;
  }
}

.header-pc__inner {
  padding: 0 20px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-pc__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.header-pc__logo img {
  height: 40px;
  width: auto;
}

/* Global Nav */
.gnav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.gnav__list {
  display: flex;
  align-items: center;
  gap: 0;
}

.gnav__list>li {
  list-style: none;
}

.gnav__list>li>a {
  display: block;
  padding: 8px 12px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text);
  white-space: nowrap;
  position: relative;
  transition: color var(--transition);
}

.gnav__list>li>a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background-color: var(--color-primary-light);
  transition: width var(--transition);
}

.gnav__list>li>a:hover {
  color: var(--color-primary-light);
  opacity: 1;
}

.gnav__list>li>a:hover::after {
  width: 80%;
}

.gnav__list>li.current-menu-item>a {
  color: var(--color-primary-light);
}

.gnav__list>li.current-menu-item>a::after {
  width: 80%;
}

/* 子メニューを持つ項目: リンク無効化 */
.gnav__list>li.menu-item-has-children>a {
  pointer-events: none;
  cursor: default;
}

.gnav__list>li.menu-item-has-children {
  cursor: pointer;
}

/* PC Sub Menu (dropdown) */
.gnav__list>li {
  position: relative;
}

.gnav__list>li>.sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--color-bg-white);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  border-radius: 0 0 6px 6px;
  padding: 16px 0;
  z-index: 110;
  white-space: nowrap;
}

.gnav__list>li:hover>.sub-menu {
  display: flex;
  gap: 0;
}

/* Level2: カテゴリ見出し（オープンセミナー / 企業内） */
.gnav__list>li>.sub-menu>li {
  list-style: none;
  padding: 0 20px;
  border-right: 1px solid var(--color-border);
}

.gnav__list>li>.sub-menu>li:last-child {
  border-right: none;
}

.gnav__list>li>.sub-menu>li>a {
  display: block;
  padding: 4px 0 8px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-primary-light);
  letter-spacing: 0.05em;
  pointer-events: none;
  cursor: default;
  border-bottom: 2px solid var(--color-primary-light);
  margin-bottom: 4px;
}

/* Level3: 研修ページリンク */
.gnav__list .sub-menu .sub-menu {
  display: block;
  position: static;
  background: none;
  box-shadow: none;
  padding: 0;
  margin: 0;
}

.gnav__list .sub-menu .sub-menu li {
  list-style: none;
}

.gnav__list .sub-menu .sub-menu a {
  display: block;
  padding: 6px 0;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-text);
  transition: color var(--transition);
}

.gnav__list .sub-menu .sub-menu a:hover {
  color: var(--color-primary-light);
  opacity: 1;
}

/* 外部リンクアイコン（target="_blank" のメニュー項目用 / PC・SP共通） */
.gnav__list a[target="_blank"]::after,
.sp-nav__list a[target="_blank"]::after {
  content: "";
  display: inline-block;
  width: 0.85em;
  height: 0.85em;
  margin-left: 0.35em;
  vertical-align: -0.1em;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><path d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/><polyline points='15 3 21 3 21 9'/><line x1='10' y1='14' x2='21' y2='3'/></svg>") no-repeat center / contain;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><path d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/><polyline points='15 3 21 3 21 9'/><line x1='10' y1='14' x2='21' y2='3'/></svg>") no-repeat center / contain;
}

/* SP Sub Menu (accordion) */
.sp-nav__list .sub-menu {
  display: none;
  padding-left: 0;
  background-color: rgba(0, 0, 0, 0.15);
}

.sp-nav__list .menu-item-has-children.is-open>.sub-menu {
  display: block;
}

.sp-nav__list .sub-menu a {
  padding: 10px 24px;
  font-size: 0.875rem;
}

/* SP Level2 カテゴリ見出し */
.sp-nav__list .sub-menu>.menu-item-has-children>a {
  font-size: 0.75rem;
  font-weight: 700;
  opacity: 0.7;
  padding: 8px 24px 4px;
}

.sp-nav__list .sub-menu .sub-menu {
  display: block;
  background: none;
  padding-left: 12px;
}

/* CTA Buttons (Header) */
.gnav__cta-group {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 16px;
}

.gnav__cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 7px;
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  transform: translateY(0);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.gnav__cta-btn:hover {
  opacity: 1;
}

/* Arrow (2-sided chevron) */
.gnav__cta-arrow {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* Red — 無料コンサル */
.gnav__cta-btn--red {
  background-color: var(--color-cta);
  color: var(--color-text-white);
  box-shadow: 0 1.5px 0 #742B29;
}

.gnav__cta-btn--red:hover {
  transform: translateY(1px);
  box-shadow: 0 0.5px 0 #742B29;
}

/* Blue — 資料請求 */
.gnav__cta-btn--blue {
  background-color: var(--color-primary-light);
  color: var(--color-text-white);
  box-shadow: 0 1.5px 0 #26354B;
}

.gnav__cta-btn--blue:hover {
  transform: translateY(1px);
  box-shadow: 0 0.5px 0 #26354B;
}

/* White — お問い合わせ */
.gnav__cta-btn--white {
  background-color: var(--color-bg-white);
  color: var(--color-text);
  border: 1px solid var(--color-border);
  box-shadow: 0 1.5px 0 var(--color-text);
}

.gnav__cta-btn--white:hover {
  transform: translateY(1px);
  box-shadow: 0 0.5px 0 var(--color-text);
}

/* ============================================================
   wp_nav_menu() Reset — WPメニュー出力のリセット
   ============================================================ */

.gnav__list,
.footer__nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.gnav__list li,
.sp-nav__list li,
.footer__nav-list li {
  list-style: none;
}

.gnav__list .sub-menu,
.sp-nav__list .sub-menu,
.footer__nav-list .sub-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* ============================================================
   Footer
   ============================================================ */

.footer__top {
  background-color: var(--color-primary);
  padding: 2.5rem 0;
}

/* Footer Nav */
.footer__nav {
  margin: 0 auto;
}

.footer__nav-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2em;
}

.footer__nav-list li {
  margin-bottom: 0;
}

.footer__nav-list a {
  color: var(--color-text-white);
  font-size: var(--font-size-18);
  transition: opacity var(--transition);
}

.footer__nav-list a:hover {
  opacity: 1;
}

@media (max-width:767px) {
  .footer__top {
    padding: 2rem 0;
  }

  .footer__nav-list {
    gap: .5em 2em;
  }


}

/* Footer Bottom */
.footer__middle {
  background-color: var(--color-bg-gray);
  padding: 1.5em 0;
}

.footer__middle .logo__img {
  width: 80%;
  margin: 0 auto;
  max-width: 460px;
}

.footer__bottom {
  padding: 2em 0;
  text-align: center;
}

.footer__copyright {
  font-size: 0.75rem;
  color: var(--color-text-light);
}

@media (max-width:767px) {
  .footer__middle .logo__img {
    max-width: 222px;
  }
}

/* ============================================================
   CTA Section — 写真背景のCTAブロック
   ============================================================ */

.cta-section {
  position: relative;
  z-index: 1;
  padding: 80px 0;
}

.cta-section::before {
  position: absolute;
  display: block;
  content: "";
  width: 100%;
  height: 100%;
  background-image: url(../img/footer-bg.jpg);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: -2;
  top: 0;
  left: 0;
}

.cta-section::after {
  position: absolute;
  display: block;
  content: "";
  width: 100%;
  height: 100%;
  background-color: var(--color-text);
  opacity: .5;
  z-index: -1;
  left: 0;
  top: 0;
}

.cta-section__inner {
  display: flex;
  align-items: flex-end;
  background-color: var(--color-bg-white);
  border: 10px solid var(--color-primary-light);
  border-radius: 14px;
  padding: 2em 1em 0 1em;
  gap: 1em;
}

.cta-section__body {
  flex: 1;
  text-align: center;
}

.cta-section__image {
  flex-shrink: 0;
  width: 27%;
  min-width: 200px;
}

.cta-section__image img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 767px) {

  .cta-section {
    padding: 40px 0;
  }

  .cta-section__inner {
    flex-direction: column;
    gap: 2em;
    border: 5px solid var(--color-primary-light);
  }

  .cta-section__body {
    text-align: center;
  }

  .cta-section__text {
    width: 62%;
    text-align: left;
  }

  .cta-section__image {
    position: absolute;
    width: 30%;
    right: 2em;
    top: 29%;
    min-width: auto;

  }
}

.cta-section__heading {
  font-size: clamp(21px, 2.34375vw, 45px);
  margin-bottom: 1em;
  color: var(--color-primary-light);
}

.cta-section__text {
  font-size: clamp(14px, 1.1979166666666667vw, 23px);
  margin-bottom: 2em;
  text-decoration: underline;
  text-decoration-color: var(--color-accent);
  text-decoration-thickness: 6px;
}

.cta-section__buttons {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 1em;
  align-items: center;
  padding-bottom: 2em;
}

@media (max-width: 767px) {
  .cta-section__buttons {
    flex-direction: column;
    gap: 12px;
    justify-content: flex-start;
  }
}

/* ============================================================
   Page Top Button
   ============================================================ */

.pagetop {
  position: fixed;
  z-index: 50;
  bottom: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background-color: var(--color-bg-darkgray);
  color: var(--color-text-white);
  display: none;
  align-items: center;
  justify-content: center;
  transition: opacity var(--transition);
}

.pagetop:hover {
  opacity: 0.8;
}

.pagetop.is-visible {
  display: flex;
}

@media (max-width:767px) {
  .pagetop {
    width: 38px;
    height: 38px;
    bottom: 95px;
  }
}


/* ############################################################
   ## COMPONENTS — 汎用コンポーネント
   ############################################################ */

/* ============================================================
   Social List — SNSアイコン横並び
   YouTube/note/Facebook 各規約準拠（最低30px下限、40pxで余裕）
   ============================================================ */

.social-list {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 1em;
  list-style: none;
  padding: 0;
  margin: 1.5em 0 0;
}

.social-list__link {
  display: block;
  width: 35px;
  height: 35px;
}

.social-list__link img {
  width: 100%;
  height: 100%;
  display: block;
}

.social-list__link--youtube {
  transform: scale(1.3);
  transform-origin: center center;
}

.social-list__link--note {
  background-color: var(--color-bg-white);
  border: 1px solid var(--color-bg-gray);
  border-radius: 3px;
}

.social-list__link--facebook {
  transform: scale(0.9);
  transform-origin: center center;
}

/* テキスト版（top profile セクション用）— 画像版スタイルを無効化 */
.social-list--text {
  justify-content: flex-start;
  margin-top: 0.5em;
}

.social-list--text .social-list__link,
.social-list--text .social-list__link--youtube,
.social-list--text .social-list__link--note,
.social-list--text .social-list__link--facebook {
  width: auto;
  height: auto;
  background-color: transparent;
  border: none;
  border-radius: 0;
  transform: none;
  color: var(--color-text-light);
  text-decoration: none;
}

/* ============================================================
   About Profile — 講師紹介プロフィール（about/book/fasting等で共通）
   ============================================================ */

.about-profile {
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-start;
  gap: 48px;
}

.about-profile__image {
  text-align: center;
  flex-shrink: 0;
  width: 280px;
}

.about-profile__image img {
  border-radius: 8px;
  width: 100%;
  max-width: 200px;
}

.about-profile__body {
  flex: 1;
}

.about-profile__name {
  font-weight: 700;
  margin-bottom: .5em;
}

.about-profile__desc {
  line-height: 1.8;
}

.about-profile__role__item {
  display: flex;
  margin-bottom: 0.5em;
  gap: 1em;
}

.about-profile__role__item dt {
  font-weight: 700;
  width: 40px;
}

.about-profile__role__item dd {
  margin: 0;
  width: calc(100% - 1em - 40px);
}

@media (max-width: 767px) {
  .about-profile {
    flex-direction: column;
    align-items: stretch;
    gap: 30px;
  }

  .about-profile__image {
    width: auto;
  }
}

/* ============================================================
   Buttons — 共通
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  max-width: 335px;
  padding: 7px 32px;
  font-size: var(--font-size-26);
  font-weight: 700;
  border-radius: 44px;
  text-align: center;
  text-decoration: none;
  transition: background-color var(--transition), color var(--transition), border-color var(--transition), transform 0.15s ease, box-shadow 0.15s ease;
  cursor: pointer;
  border: 2px solid transparent;
  transform: translateY(0);
}

.btn::after {
  content: '';
  display: inline-block;
  width: 0.6em;
  height: 0.6em;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* 既存HTMLの <span class="btn__arrow"> は ::after と重複するため非表示 */
.btn__arrow {
  display: none;
}

.btn--primary {
  background-color: var(--color-cta);
  color: var(--color-text-white);
  border-color: var(--color-cta);
  box-shadow: 0 3px 0 #742B29;
}

section.top-news .btn--outline {
  width: 9em;
  margin: 2em auto 0;
  font-size: var(--font-size-18-base);
}

section.top-voice .btn--primary,
section.top-profile .btn--primary,
section.top-flow .btn--primary {
  display: flex;
  max-width: 335px;
  margin: 2em auto 0;
}

.btn--primary:hover {
  background-color: var(--color-cta-hover);
  border-color: var(--color-cta-hover);
  opacity: 1;
  transform: translateY(2px);
  box-shadow: 0 1px 0 #742B29;
}

.btn--outline {
  background-color: transparent;
  color: var(--color-primary-light);
  border-color: var(--color-primary-light);
  box-shadow: 0 3px 0 var(--color-primary-light);
}

.btn--outline:hover {
  background-color: var(--color-primary);
  color: var(--color-text-white);
  border-color: var(--color-primary);
  opacity: 1;
  transform: translateY(2px);
  box-shadow: 0 1px 0 var(--color-primary);
}

.btn--blue {
  background-color: var(--color-primary-light);
  color: var(--color-text-white);
  border-color: var(--color-primary-light);
  box-shadow: 0 3px 0 #26354B;
}

.btn--blue:hover {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  opacity: 1;
  transform: translateY(2px);
  box-shadow: 0 1px 0 #26354B;
}

@media (max-width:767px) {

  section.top-voice .btn--primary,
  section.top-profile .btn--primary,
  section.top-flow .btn--primary {
    display: flex;
    max-width: 238px;
    margin: 1.5em auto 0;
  }

  section.top-news .btn--outline {
    position: absolute;
    bottom: -1em;
    left: calc(50% - 68.5px);
  }


}

/* ============================================================
   Number Bar — 実績数字（4カラム）
   ============================================================ */

.number-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

@media (max-width: 767px) {
  .number-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

.number-bar__item {
  padding: 16px 8px;
  background-color: var(--color-bg-white);
  border-radius: 8px;
}

.number-bar__num {
  font-size: clamp(28px, 1.875vw, 36px);
  font-weight: 900;
  color: var(--color-primary);
  line-height: 1.2;
}

.number-bar__label {
  font-size: 0.8125rem;
  color: var(--color-text-light);
  margin-top: 4px;
}

/* ============================================================
   Number Bar — バリエーション（他ページ用: label赤背景）
   ============================================================ */

.number-bar--label-red .number-bar__item {
  background-color: var(--color-bg-gray);
}

.number-bar--label-red .number-bar__num {
  color: var(--color-primary-light);
}

.number-bar--label-red .number-bar__label {
  background-color: var(--color-cta);
  color: var(--color-text-white);
  padding: .1em .5em;
  border-radius: 15px;
  font-size: var(--font-size-18);
  margin-top: 6px;
  text-align: center;
}

/* ============================================================
   Card — 汎用カードレイアウト
   ============================================================ */

.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.card-grid--col2 {
  grid-template-columns: repeat(2, 1fr);
}

.card-grid--col3 {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 767px) {

  .card-grid--col2,
  .card-grid--col3 {
    grid-template-columns: 1fr;
  }
}

.card {
  background-color: var(--color-bg-white);
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  padding: 24px;
  transition: box-shadow var(--transition);
}

.card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

body.page-achievement #interviews .card,
body.page-achievement #interviews .card:hover {
  background-color: transparent;
  box-shadow: none;
  padding: 0;
}

/* ============================================================
   Voice — お客様の声
   ============================================================ */

.voice {
  background-color: var(--color-bg-white);
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  padding: 24px;
  position: relative;
}

.voice__text {
  font-size: 0.9375rem;
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 12px;
}

.voice__author {
  font-weight: 700;
  color: var(--color-primary-light);
  margin-bottom: 8px;
}

/* ============================================================
   Tag
   ============================================================ */

ul.tag-list {
  display: flex;
  justify-content: flex-start;
  gap: .5em;
  flex-wrap: wrap;
}

ul.tag-list .tag {
  display: block;
  font-size: var(--font-size-20);
  font-weight: 600;
  color: var(--color-text-white);
  background-color: var(--color-cta);
  border-radius: 15px;
  text-align: center;
  padding: .5em 2em;
  line-height: 1;
}

/* ============================================================
   Program Tags
   ============================================================ */

/* Program Tags */
.program-tags__list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.program-tags__list>li {
  background-color: transparent;
  color: var(--color-text);
  padding: 0;
  display: flex;
  align-items: center;
}

.program-tags__list>li:not(:last-child)::after {
  content: "/";
  margin-left: 6px;
  color: var(--color-text);
}

/* ============================================================
   FAQ Accordion
   ============================================================ */

/* FAQ Accordion */
.faq {
  margin-left: 0;
}

.faq__item+.faq__item {
  margin-top: 0.5em;
}

.faq__q {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 16px 1em;
  background-color: var(--color-bg-lightblue);
  border-radius: 5px;
  font-weight: 700;
  color: var(--color-text);
  cursor: pointer;
}

.faq__q::before {
  content: "Q";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--color-primary-light);
  color: var(--color-bg-white);
  font-weight: 900;
  line-height: 1;
  padding-bottom: 2px;
  margin-right: 8px;
  flex-shrink: 0;
}

.faq__q::after {
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  margin-left: auto;
  background:
    linear-gradient(var(--color-text), var(--color-text)) center / 12px 2px no-repeat,
    linear-gradient(var(--color-text), var(--color-text)) center / 2px 12px no-repeat;
  transition: background var(--transition);
}

.faq__item.is-open .faq__q::after {
  background:
    linear-gradient(var(--color-text), var(--color-text)) center / 12px 2px no-repeat;
}

.faq__a {
  display: flex;
  align-items: flex-start;
  max-height: 0;
  overflow: hidden;
  padding: 0 1em;
  opacity: 0;
  line-height: 1.8;
  transition: max-height 0.3s linear, opacity 0.3s linear, padding 0.3s linear;
}

.faq__a::before {
  content: "A";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--color-cta);
  color: var(--color-bg-white);
  font-weight: 900;
  line-height: 1;
  padding-bottom: 2px;
  margin-right: 8px;
  flex-shrink: 0;
}

.faq__item.is-open .faq__a {
  max-height: 1000px;
  padding: 16px 1em;
  opacity: 1;
}

@media (max-width: 767px) {

  .faq__q,
  .faq__a {
    font-size: 14px;
  }
}

/* ============================================================
   stack-list
   ============================================================ */

/* 縦並びリスト（複数ページで使い回し可。ul.stack-list > li.stack-list__item） */
.stack-list {
  list-style: none;
  margin: 1.5em 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2em;
}

.stack-list h3 {
  font-size: var(--font-size-25);
}

/* ============================================================
   stack-list-num
   ============================================================ */

/* 番号付き縦並びリスト（stack-list と同じ基本構造 + 連番バッジ。stack-list の li 内にネスト可） */
.stack-list-num {
  list-style: none;
  margin: 1.5em 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2em;
  counter-reset: stack-list-num;
}

.stack-list-num__item {
  position: relative;
  padding-left: 3.3em;
  counter-increment: stack-list-num;
}

.stack-list-num__item::before {
  content: counter(stack-list-num);
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2em;
  height: 2em;
  padding-bottom: .1em;
  padding-right: .05em;
  border-radius: 50%;
  background-color: var(--color-primary-light);
  color: var(--color-text-white);
  font-weight: 700;
  font-size: var(--font-size-25);
}

.stack-list-num h3 {
  font-size: var(--font-size-25);
}

/* ============================================================
   table-1
   ============================================================ */

/* 共通テーブル（key-value型表組み）— .company-table / .career-table と併用 */
.table-1 {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--color-border);
}

.table-1 th,
.table-1 td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
  font-size: 0.9375rem;
  vertical-align: top;
}

.table-1 td {
  background-color: var(--color-bg-white);
}

.table-1 th:not(:last-child),
.table-1 td:not(:last-child) {
  border-right: 1px solid var(--color-border);
}

.table-1 th {
  width: 140px;
  font-weight: 700;
  color: var(--color-text-white);
  background-color: var(--color-primary-light);
  white-space: nowrap;
  text-align: center;
  vertical-align: middle;
}

.table-1__title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.table-1__text {
  font-size: 0.875rem;
  color: var(--color-text-light);
  line-height: 1.7;
}

@media (max-width: 767px) {
  .table-1 th {
    width: 100px;
    font-size: 0.8125rem;
  }

  .table-1 td {
    font-size: 0.8125rem;
  }
}

/* price-table: 費用テーブル（プラン名を th に表示するため折り返し許可・幅拡張） */
.price-table th {
  width: 16em;
  white-space: normal;
  line-height: 1.6;
}

.price-table .table-1__title {
  font-weight: 400;
}

@media (max-width: 767px) {

  /* SP では th をブロック化して td の上に積む */
  .price-table tr {
    display: block;
  }

  .price-table th,
  .price-table td {
    display: block;
    width: 100%;
  }
}


/* ============================================================
   table-2
   ============================================================ */

/* 共通テーブル（ヘッダー行型表組み）— プログラム概要などで使用 */
.table-2 {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--color-border);
}

.table-2 th,
.table-2 td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
  font-size: 0.9375rem;
  vertical-align: top;
}

.table-2 th:not(:last-child),
.table-2 td:not(:last-child) {
  border-right: 1px solid var(--color-border);
}

.table-2 thead th {
  font-weight: 700;
  color: var(--color-text-white);
  background-color: var(--color-primary-light);
  text-align: center;
  vertical-align: middle;
}

@media (max-width: 767px) {

  .table-2 th,
  .table-2 td {
    font-size: 0.8125rem;
  }
}

/* ============================================================
   table-3
   ============================================================ */

/* 共通テーブル（ビフォーアフター型表組み）— 受講者の変化などで使用 */
.table-3 {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  border: 1px solid var(--color-border);
  background-color: var(--color-bg-white);
  margin: 1em auto;
}

.table-3 th,
.table-3 td {
  width: 50%;
  padding: 14px 16px;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
  vertical-align: top;
}

.table-3 th {
  font-weight: 700;
  font-size: var(--font-size-25);
  text-align: center;
  vertical-align: middle;
}

.table-3 th:nth-child(1),
.table-3 td:nth-child(1) {
  border-right: 1px solid var(--color-border);
}

.table-3 th:nth-child(1) {
  color: var(--color-primary-light);
}

.table-3 th:nth-child(2) {
  color: var(--color-cta);
}

.table-3 td:nth-child(1)::before {
  content: "✕";
  color: var(--color-primary-light);
  font-weight: 700;
  margin-right: 8px;
}

.table-3 td:nth-child(2)::before {
  content: "○";
  color: var(--color-cta);
  font-weight: 700;
  margin-right: 8px;
}

/* ============================================================
   受講料/費用リスト
   ============================================================ */

/* 受講料/費用リスト */
.price-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  grid-template-rows: auto 1fr;
  column-gap: 1em;
  margin: 0;
  padding: 0;
}

.price-list__item {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 2;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.09);
  background-color: var(--color-bg-white);
}

.price-list__item dt {
  padding: 14px 16px;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: var(--color-primary-light);
  color: var(--color-text-white);
  font-weight: 700;
}

.price-list__item dd {
  padding: 14px 16px;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

@media (max-width: 767px) {
  .price-list {
    display: flex;
    flex-direction: column;
    gap: 1em;
  }

  .price-list__item {
    display: flex;
    flex-direction: column;
  }
}


/* ============================================================
   Tabs
   ============================================================ */

/* Tabs */
.tabs__nav-item {
  padding: 8px 20px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-text-light);
  background-color: var(--color-bg-gray);
  border: none;
  border-radius: 4px 4px 0 0;
  cursor: pointer;
  transition: background-color var(--transition), color var(--transition);
}

.tabs__nav-item.is-active {
  background-color: var(--color-primary);
  color: var(--color-text-white);
}

.tabs__panel {
  display: none;
}

.tabs__panel.is-active {
  display: block;
}

/* ============================================================
   Clients Logos — 導入企業リスト（TOP以外で共通利用）
   ============================================================ */

.clients-logos {
  text-align: center;
}

.clients-logos__title {
  font-weight: 700;
  padding-bottom: 0.2em;
  margin-bottom: .4em;
  color: var(--color-primary-light);
  text-align: left;
  border-bottom: 1px solid var(--color-primary-light);
}

.clients-logos__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0 .5em;
  list-style: none;
  padding: 0;
  margin: 0;
}

.clients-logos__item {
  color: var(--color-text);
  line-height: 1.8;
}

.clients-logos__item:not(:last-child)::after {
  content: "/";
  margin-left: .5em;
}

/* ロゴ画像グリッド（5列 / SP 2列） */
.clients-logos__imglist {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1em;
  list-style: none;
  padding: 0;
  margin: 0 0 1.5em;
}

.clients-logos__imglist li {
  display: flex;
  align-items: center;
  justify-content: center;
}

.clients-logos__imglist li img {
  max-width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 767px) {
  .clients-logos__imglist {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================================
   Page Nav — 固定目次
   ============================================================ */

.page-nav {
  margin-bottom: 0;
  position: fixed;
  top: 110px;
  right: 2%;
  width: 18%;
  max-width: 200px;
  z-index: 50;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}

.page-nav.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

@media (max-width: 1023px) {
  .page-nav {
    /* position: static;
    top: auto;
    right: auto;
    width: auto;
    z-index: auto;
    margin-bottom: 24px;
    box-shadow: none; */
    display: none;
  }
}

.page-nav__title {
  font-size: var(--font-size-26);
  font-weight: 700;
  color: var(--color-bg-white);
  background-color: var(--color-primary-light);
  margin-bottom: 10px;
  clip-path: var(--title-clip);
  text-align: center;
  line-height: 1;
  padding: .2em 0 .3em;
}

.page-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-nav__list li {
  margin-bottom: 0;
}

.page-nav__list a {
  display: block;
  font-size: clamp(14px, 0.8333333333333334vw, 16px);
  padding: 6px 0 6px 2em;
  color: var(--color-text);
  transition: color var(--transition);
  position: relative;
}

.page-nav__list a::before {
  position: absolute;
  content: "";
  display: block;
  width: 1em;
  aspect-ratio: 1/1;
  background-image: url(../img/icon-arrow.svg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
  left: 0;
  top: .9em;
}

.page-nav__list a:hover {
  color: var(--color-primary);
  opacity: 1;
}

/* Page Header — 背景画像 */
.page-header {
  background-image: url(../img/header-base.jpg);
  background-size: cover;
  background-position: center;
  position: relative;
}

body.page-about .page-header {
  background-image: url(../img/header-about.jpg);
}

body.page-achievement .page-header {
  background-image: url(../img/header-achievement.jpg);
}

body.page-flow-faq .page-header {
  background-image: url(../img/header-flow-faq.jpg);
}

body.page-freeconsulting .page-header {
  background-image: url(../img/header-freeconsulting.jpg);
}

body.page-download .page-header {
  background-image: url(../img/header-download.jpg);
}

body.page-book .page-header {
  background-image: url(../img/header-book.jpg);
}

body.page-motivation .page-header,
body.page-new-employee .page-header,
body.page-employee .page-header,
body.page-management .page-header,
body.page-sales .page-header,
body.page-compliance .page-header,
body.page-flipped .page-header,
body.page-fasting .page-header {
  background-image: url(../img/header-program.jpg);
}

.page-header__title-wrap {
  position: absolute;
  min-width: 396px;
  bottom: var(--header-height-sp);
  left: 5%;
  z-index: 1;
}

.page-header__title-wrap::before {
  position: absolute;
  content: "";
  display: block;
  width: 28%;
  aspect-ratio: 237/31;
  clip-path: polygon(.5rem 0%, 100% 0%, calc(100% - .5rem) 100%, 0% 100%);
  background-color: var(--color-cta);
  top: -.8em;
  left: 1.2em;
  z-index: 2;
}

.page-header__title-wrap::after {
  position: absolute;
  content: "";
  display: block;
  width: 28%;
  aspect-ratio: 237/31;
  clip-path: polygon(.5rem 0%, 100% 0%, calc(100% - .5rem) 100%, 0% 100%);
  background-color: var(--color-primary-light);
  bottom: -.8em;
  right: 1.2em;
  z-index: 2;
}

.page-header__title {
  font-size: clamp(18px, 1.875vw, 36px);
  font-weight: 700;
  background-color: var(--color-bg-white-90);
  color: var(--color-primary-light);
  margin: 0;
  padding: .5em 1em;
  clip-path: polygon(1rem 0%, 100% 0%, calc(100% - 1rem) 100%, 0% 100%);
}

@media (max-width: 767px) {
  .page-header__title-wrap {
    width: 90%;
    min-width: auto;
  }

  .page-header__title-wrap::before {
    top: -.4em;
    left: 1.2em;
  }

  .page-header__title-wrap::after {
    bottom: -.4em;
    right: 1.2em;
  }

}

/* ============================================================
   Page FV — 各固定ページ共通ファーストビュー
   ============================================================ */

.page-fv__inner {
  display: grid;
  grid-template-columns: 3fr 2fr;
  grid-template-areas:
    "title image"
    "text  image"
    "stats stats";
  gap: 1em;
  align-items: start;
}

.page-fv__title {
  grid-area: title;
}

body.page-management .page-fv__title,
body.page-new-employee .page-fv__title {
  font-size: clamp(24px, 1.875vw, 34px);
}

.page-fv__image {
  grid-area: image;
}

.page-fv__image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px 0 20px 0;
}

.page-fv__text {
  grid-area: text;
}

.page-fv__inner>.number-bar {
  grid-area: stats;
  margin-top: 1em;
}

@media (max-width: 767px) {
  .page-fv__inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "title"
      "image"
      "text"
      "stats";
    gap: 20px;
  }

  .page-fv__inner>.number-bar {
    margin-top: 0;
  }

  #book-fv .page-fv__image img {
    max-width: 200px;
    margin: 2em auto 0;
  }

  #book-fv .btn--primary {
    display: block;
    margin: 0 auto;
  }

}

#book-fv .book-fv__subtitle
{
  position: absolute;
  font-size: var(--font-size-25);
  display:block;
  text-decoration-color: transparent;
  padding: .5em 0;
}

/* ============================================================
   Page CTA — 各固定ページの末尾CTA（白背景・赤枠カード）
   ============================================================ */

.page-cta {
  background-color: var(--color-bg-white);
}

.page-cta .container {
  border: 7px solid var(--color-cta);
  border-radius: 35px;
  padding: 1em 2em;
}

.page-cta__inner {
  display: grid;
  grid-template-columns: 1fr 4fr;
  grid-template-areas:
    "image title"
    "image text";
  gap: 1em;
  align-items: center;
}

.page-cta__image {
  grid-area: image;
}

.page-cta__image img {
  width: 100%;
  max-width: 77px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.page-cta__title {
  grid-area: title;
  margin-bottom: 0;
  font-size: var(--font-size-36);
}

.page-cta__text {
  grid-area: text;
}

@media (max-width: 767px) {

  .page-cta .container {
    padding: 1em;
  }

  .page-cta__inner {
    grid-template-columns: 1fr 4fr;
    grid-template-areas:
      "title title"
      "image text";
  }

  .page-cta__title {
    text-align: center;
  }

}

/* ============================================================
   CF7 Form Styles
   ============================================================ */

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: .5em;
  color: var(--color-text);
}

.form-group .required {
  display: inline-block;
  padding: 2px 6px 4px;
  margin-left: .4em;
  color: var(--color-text-white);
  background-color: var(--color-cta);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  border-radius: 3px;
  vertical-align: middle;
}

.form-group .form-note {
  font-size: 0.8125rem;
  color: var(--color-text-light);
  margin-bottom: 6px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  background-color: #F4F5F6;
  font-size: 0.9375rem;
  font-family: var(--font-base);
  transition: border-color var(--transition);
}

.form-group select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 36px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%23154A7D' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px 8px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #868686;
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

/* チェックボックス: 縦並び */
.form-group .wpcf7-checkbox .wpcf7-list-item {
  display: block;
  margin: 0 0 8px;
}

/* ラジオボタン: 横並び */
.form-group .wpcf7-radio .wpcf7-list-item {
  display: inline-block;
  margin: 0 20px 0 0;
}

/* CF7送信ボタン */
.wpcf7-form .btn {
  display: flex;
  margin: 12px auto 0;
  padding-top: .5em;
  padding-bottom: .5em;
  width: 60%;
  max-width: none;
  line-height: 1.5;
  position: relative;
}

.wpcf7-form .btn::after {
  position: absolute;
  right: 1.5em;
  top: calc(50% - 14px);
  width: 28px;
  height: 28px;
  border: none;
  background-image: url('../img/icon-arrow2.svg');
  background-size: contain;
  background-repeat: no-repeat;
  transform: none;
}

@media (max-width: 767px) {
  .wpcf7-form .btn {
    width: 100%;
    max-width: none;
  }
}

/* CF7バリデーションエラー */
.wpcf7-not-valid-tip {
  color: var(--color-cta);
  font-size: 0.8125rem;
  margin-top: 4px;
}

.wpcf7-response-output {
  border: none !important;
  padding: 16px !important;
  margin: 20px 0 0 !important;
  border-radius: 6px;
  font-size: 0.875rem;
  text-align: center;
}

.wpcf7-mail-sent-ok {
  background-color: #e8f5e9;
  color: #2e7d32;
}

.wpcf7 form.sent .wpcf7-response-output {
  background-color: #e8f5e9;
  color: #2e7d32;
}

/* セミナー申込みフォームセクション */
.page-form__lead {
  text-align: center;
  margin-bottom: 32px;
}

/* ============================================================
   タイトル 小見出し
   ============================================================ */

/* 黄下線 */
.highlight-yellow {
  text-decoration: underline;
  text-decoration-color: var(--color-accent);
  text-decoration-thickness: 4px;
}

/* 青背景・白文字・斜め */
.highlight-blue {
  width: fit-content;
  padding: 0.3em 1em;
  clip-path: var(--title-clip);
  margin-bottom: .4em;
  color: var(--color-bg-white);
  background-color: var(--color-primary-light);
}

/* 赤背景・白文字・角丸 */
.highlight-red {
  width: fit-content;
  padding: 0.5em 1em;
  margin: 1.5em 0;
  color: var(--color-bg-white);
  background-color: var(--color-cta);
  border-radius: 22px;
  font-size: clamp(16px, 1.0416666666666665vw, 20px);
}

.highlight-blue-voice {
  position: relative;
  width: fit-content;
  margin-bottom: .4em;
  margin-left: 2.5em;
}

.highlight-blue-voice__inner {
  display: inline-block;
  padding: 0.3em 1em;
  clip-path: var(--title-clip);
  color: var(--color-bg-white);
  background-color: var(--color-primary-light);
}

.highlight-blue-voice::before {
  content: "";
  position: absolute;
  display: block;
  width: 2.2em;
  aspect-ratio: 1/1;
  background-color: var(--color-cta);
  mask-image: url(../img/icon-voice.svg);
  mask-size: contain;
  mask-repeat: no-repeat;
  left: -2.5em;
  top: 50%;
  transform: translateY(-50%);
}

/* dot List */
ul.dot-list {
  list-style: none;
  padding: 0;
  margin-left: 0;
}

.dot-list li {
  padding: .3em 0 .3em 1.5em;
  position: relative;
}

.dot-list li::before {
  content: "・";
  position: absolute;
  left: 0;
  color: var(--color-primary-light);
  font-weight: 700;
}

/* ============================================================
   Banner Link — 画像バナーリンク（hover時に黒オーバーレイ）
   ============================================================ */

.banner-link {
  position: relative;
  display: inline-block;
  overflow: hidden;
}

.banner-link:hover {
  opacity: 1;
}

.banner-link::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.2);
  transform: scaleX(0);
  transform-origin: top left;
  transition: transform 0.4s ease-out;
  pointer-events: none;
}

.banner-link:hover::after {
  transform: scaleX(1);
}


/* ############################################################
   ## TEMPLATES — テンプレート別
   ############################################################ */

/* ============================================================
   Main Content Area — page.php
   ============================================================ */

.page-main {
  min-height: 50vh;
}

.page-header {
  background-color: var(--color-primary);
  color: var(--color-text-white);
  text-align: center;
  height: 26vw;
  min-height: 300px;
}

/* Breadcrumb */
.breadcrumb {
  max-width: var(--site-max-width-ll);
  margin: 0 auto;
  padding: .5em 5%;
}

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  font-size: 12px;
}

.breadcrumb__item {
  display: flex;
  align-items: center;
}

.breadcrumb__item::after {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  border-top: 1px solid var(--color-text-light);
  border-right: 1px solid var(--color-text-light);
  transform: rotate(45deg);
  margin: 0 10px;
}

.breadcrumb__item:last-child::after {
  display: none;
}

.breadcrumb__item a {
  color: var(--color-text-light);
  transition: color var(--transition);
}

.breadcrumb__item a:hover {
  color: var(--color-primary);
  opacity: 1;
}

.breadcrumb__item--current {
  color: var(--color-text);
}

/* ============================================================
   Archive — Category Nav
   ============================================================ */

.archive-category-nav {
  margin-bottom: 40px;
}

.archive-category-nav__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.archive-category-nav__list li a {
  display: inline-block;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-text);
  background-color: var(--color-bg-gray);
  border-radius: 20px;
  transition: background-color var(--transition), color var(--transition);
}

.archive-category-nav__list li a:hover {
  background-color: var(--color-primary);
  color: var(--color-text-white);
  opacity: 1;
}

.archive-category-nav__list li.is-active a {
  background-color: var(--color-primary);
  color: var(--color-text-white);
}

/* ============================================================
   Archive — Post List
   ============================================================ */

.post-list {
  border-top: 1px solid var(--color-border);
}

.post-list__item {
  border-bottom: 1px solid var(--color-border);
}

.post-list__link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  color: var(--color-text);
  text-decoration: none;
  transition: opacity var(--transition);
}

.post-list__link:hover {
  opacity: 0.7;
}

@media (max-width: 767px) {
  .post-list__link {
    flex-wrap: wrap;
    gap: 8px;
  }
}

.post-list__date {
  font-size: 14px;
  flex-shrink: 0;
  width: 5.5em;
  letter-spacing: .03em;
}

/* カテゴリーバッジは色分けせず全て明るい青で統一（top-news__catと同じ固定幅・中央寄せ） */
.post-list__cat {
  display: block;
  text-align: center;
  padding: 2px 0;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 3px;
  flex-shrink: 0;
  background-color: var(--color-primary-light);
  color: var(--color-text-white);
  width: 7.5em;
}

.post-list__title {
  font-size: 0.9375rem;
  font-weight: 500;
}

@media (max-width: 767px) {
  .post-list__title {
    width: 100%;
  }
}

/* ============================================================
   Pagination
   ============================================================ */

.pagination {
  margin-top: 40px;
  text-align: center;
}

.pagination .nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
}

.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-size: 0.875rem;
  color: var(--color-text);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  text-decoration: none;
  transition: background-color var(--transition), color var(--transition);
}

.pagination .page-numbers:hover {
  background-color: var(--color-primary);
  color: var(--color-text-white);
  border-color: var(--color-primary);
  opacity: 1;
}

.pagination .page-numbers.current {
  background-color: var(--color-primary-light);
  color: var(--color-text-white);
  border-color: var(--color-primary-light);
}

/* ============================================================
   Single Post — 投稿ページ（Gutenberg）
   ============================================================ */

.single-content {
  overflow: hidden;
  min-height: 350px;
}

.single-content h2 {
  width: fit-content;
  padding: 0.3em 1em;
  clip-path: var(--title-clip);
  margin-bottom: 1em;
  color: var(--color-bg-white);
  background-color: var(--color-primary-light);
  font-size: var(--font-size-25);
}

.single-content h3 {
  padding: 0 5px .5em;
  font-size: clamp(18px, 1.0416666666666665vw, 20px);
  border-bottom: solid 3px var(--color-primary-light);
  color: var(--color-primary-light);
  font-weight: 700;
  margin-bottom: .5em;
}

.single-content h4,
.single-content h5 {
  padding: 0 5px;
  font-size: var(--font-size-18-base);
  color: var(--color-primary-light);
  font-weight: 700;
  margin-bottom: .2em;
}

.single-content h6 {
  font-size: 1rem;
}

.single-content ul {
  list-style: none;
  padding: 0;
  margin-bottom: 1em;
}

.single-content ul li {
  padding-left: 1.5em;
  position: relative;
}

.single-content ul li::before {
  content: "・";
  position: absolute;
  left: 0;
  color: var(--color-primary-light);
  font-weight: 700;
}

.single-content ol {
  counter-reset: num;
  margin-bottom: 1em;
}

.single-content ol li {
  counter-increment: num;
  position: relative;
  padding-left: 1.5em;
}

.single-content ol li::before {
  content: counter(num) ".";
  position: absolute;
  left: 0;
  color: var(--color-primary-light);
  font-weight: 500;
}

.single-content table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--color-border);
}

.single-content .wp-block-table thead,
.single-content .wp-block-table tbody {
  border: 0;
}

.single-content table th,
.single-content table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
  font-size: 0.9375rem;
  vertical-align: top;
}

.single-content table th:not(:last-child),
.single-content table td:not(:last-child) {
  border-right: 1px solid var(--color-border);
}

.single-content table thead th {
  font-weight: 700;
  color: var(--color-text-white);
  background-color: var(--color-primary-light);
  text-align: center;
  vertical-align: middle;
}

@media (max-width: 767px) {

  .single-content table th,
  .single-content table td {
    font-size: 0.8125rem;
  }
}


.single-content blockquote {
  margin: 15px 0;
  padding: 20px;
  background: var(--color-bg-gray);
  border-left: 4px solid var(--color-accent);
  font-style: italic;
}

.single-content img {
  margin-bottom: 15px;
}

/* ############################################################
   ## PAGE-SPECIFIC — 固定ページ個別
   ############################################################ */

/* ============================================================
   PAGE — about 講師紹介
   ============================================================ */

.about-book {
  display: flex;
  flex-direction: row-reverse;
  align-items: stretch;
  gap: 40px;
  position: relative;
}



@media (max-width: 767px) {
  .about-book {
    gap: 24px;
  }
}

.about-book__image {
  flex-shrink: 0;
  text-align: center;
  width: 30%;
  max-width: 200px;
  min-width: 124px;
}

.about-book__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.2em 0;
}

@media (max-width:767px) {
  .about-book__body {
    padding: 0;
  }
}

.about-book__title {
  font-size: var(--font-size-25);
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 12px;
}


.about-book__desc {
  margin: 0;
}

@media (max-width:767px) {
  .about-book__author {
    position: absolute;
    right: 0;
    bottom: 0;
  }
}

/* ============================================================
   PAGE — fasting ファスティング・食育研修
   ============================================================ */
.page-fasting #steps .stack-list-num__item::before {
  background-color: var(--color-cta);
}

.page-fasting #steps .stack-list-num__item p span {
  font-weight: 700;
}

/* #price 2カラム（h3 | 料金+説明） */
.page-fasting #price .stack-list__item {
  display: grid;
  grid-template-columns: minmax(0, 280px) 1fr;
  column-gap: 32px;
  row-gap: 8px;
  align-items: stretch;
}

.page-fasting #price .stack-list__item>h3 {
  grid-row: 1 / span 2;
  margin: 0;
  background-color: var(--color-primary-light);
  color: var(--color-text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: .5em 1em;
}

.page-fasting #price .stack-list__item>p {
  margin: 0;
}

@media (max-width: 767px) {
  .page-fasting #price .stack-list__item {
    grid-template-columns: 1fr;
  }

  .page-fasting #price .stack-list__item>h3 {
    grid-row: auto;
  }
}

/* ============================================================
   PAGE — achievement 研修実積
   ============================================================ */

.page-achievement #interviews .clients-logos {
  margin-top: 1em;
}

.page-achievement #interviews .clients-logos .clients-logos__title {
  font-size: 18px;
  border-bottom: 0;
  padding-left: 1.5em;
  position: relative;
  padding-bottom: 0;
}

.page-achievement #interviews .clients-logos .clients-logos__title::before {
  content: "";
  position: absolute;
  display: block;
  width: .5em;
  aspect-ratio: 1/1;
  background-color: var(--color-primary-light);
  border-radius: 50%;
  left: .5em;
  top: .5em;
}

@media (max-width:767px) {
  .page-achievement #interviews .clients-logos .clients-logos__title {
    font-size: 16px;
  }
}

.page-achievement #interviews .clients-logos .clients-logos__list {
  padding-left: 1.5em;
}

/* ============================================================
   PAGE — book 書籍紹介
   ============================================================ */

.about-book__lead {
  margin: 1em 0;
  font-weight: 700;
}

.about-book__role__item {
  display: flex;
  margin-bottom: 0.5em;
  gap: 1em;
}

.about-book__role__item dt {
  font-weight: 700;
  width: 40px;
}

.about-book__role__item dd {
  margin: 0;
  width: calc(100% - 1em - 40px);
}


/* レビューの星評価 */
.star {
  color: var(--color-accent-dark);
  margin-left: 0.3em;
  font-size: 1.1em;
}

/* YouTube動画埋め込み（コンテナ幅いっぱい・16:9） */
.yt-video iframe {
  display: block;
  width: 80%;
  height: auto;
  aspect-ratio: 16 / 9;
  margin: 0 auto;
}

@media (max-width: 767px) {
  .yt-video iframe {
    width: 100%;
  }
}

/* ============================================================
   PAGE — freeconsulting 無料コンサル
   ============================================================ */

.page-freeconsulting #flow .stack-list-num__item::before {
  background-color: var(--color-cta);
}

/* ============================================================
   PAGE — contact お問い合わせ
   ============================================================ */
.page-contact .info-body {
  font-style: normal;
  border: 7px solid var(--color-primary-light);
  border-radius: 26px;
  padding: 1em;
  max-width: 600px;
  margin: 2em auto 0;
  text-align: center;
}

.page-contact .info-body__title {
  font-size: var(--font-size-25);
}

.page-contact .info-body__num a {
  font-size: var(--font-size-36);
  color: var(--color-primary-light);
  font-weight: 700;
  margin: .5em auto;
  display: block;
  position: relative;
  width: fit-content;
  padding-left: 1em;
}

.page-contact .info-body__num a::before {
  content: "";
  display: block;
  position: absolute;
  width: .8em;
  height: .8em;
  top: calc(50% - .3em);
  left: 0;
  background-image: url(../img/icon-phone.svg);
  background-size: contain;
}





/* ============================================================
   PAGE — privacy プライバシーポリシー
   ============================================================ */

.privacy-article {
  font-size: 16px;
}

.privacy-article h3 {
  font-size: clamp(20px, 1.3020833333333335vw, 25px);
  font-weight: 700;
  margin-bottom: 0.5em;
}

.privacy-article h4 {
  font-size: 16px;
  font-weight: 400;
  margin: 0.5em;
}

.privacy-article address {
  font-weight: 700;
  font-style: normal;
}

.privacy-section {
  margin-bottom: 2.5em;
}

.privacy-section p {
  margin-bottom: 1em;
}

.privacy-section ol {
  counter-reset: num;
  margin-bottom: 1em;
}

.privacy-section ol li {
  counter-increment: num;
  position: relative;
  padding-left: 1.5em;
}

.privacy-section ol li::before {
  content: counter(num) ".";
  position: absolute;
  left: 0;
}

.privacy-section ul {
  counter-reset: num;
  margin-bottom: 1em;
}

.privacy-section ul li {
  padding-left: 1.5em;
  position: relative;
}

.privacy-section ul li::before {
  content: "・";
  position: absolute;
  left: 0;
}

@media (max-width:767px) {

  .privacy-article,
  .privacy-article h4 {
    font-size: 14px;
  }
}

/* ############################################################
   ## TOP PAGE — トップページ
   ############################################################ */

/* ============================================================
   TOP — FV (First View)
   ============================================================ */

.fv {
  position: relative;
  background-image: url(../img/header-top.jpg);
  background-size: cover;
  background-position: left top;
  display: flex;
  align-items: center;
}

@media (max-width:767px) {
  .fv {
    overflow: hidden;
  }
}

.fv__inner {
  width: 100%;
  max-width: var(--site-max-width-ll);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.fv__heading {
  font-family: var(--font-heading);
  font-weight: 900;
  line-height: 1.5;
  color: var(--color-text);
  margin-bottom: 1rem;
  margin-top: 3.5em;
  font-size: var(--font-size-60);

}

.fv__heading span {
  display: block;
  width: fit-content;
  background-color: rgba(255, 255, 255, .8);
  padding: 0 .8em;
  margin-bottom: .5em;
  clip-path: polygon(0 0%, 100% 0%, calc(100% - .5em) 100%, 0% 100%);
}

.fv__heading.pc-none {
  display: none;
}

.fv__heading.sp-none {
  display: block;
}

@media (max-width: 767px) {

  .fv__heading.pc-none {
    display: block;
    margin-top: 5.5em;
  }

  .fv__heading.sp-none {
    display: none;
  }

}

.fv__heading em {
  font-style: normal;
  font-size: clamp(32px, 4.166666666666666vw, 80px);
  color: var(--color-cta);
}

.fv__image {
  width: 34%;
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.fv__image::after {
  content: "";
  display: block;
  position: absolute;
  width: 140%;
  aspect-ratio: 287/150;
  background-image: url(../img/slant.svg);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  right: 0;
  bottom: 0;
  z-index: -1;
  bottom: -10%;
}

@media (max-width: 767px) {
  .fv__image {
    width: 65%;
    right: -10%;
    bottom: 67px;
  }

  .fv__image::after {
    bottom: -26%;
    width: 160%;
  }

}

.fv__buttons {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-bottom: 2em;
  background-color: var(--color-bg-white-90);
  margin-left: 5%;
  padding: 1em 1.5em;
  border-radius: 20px;
  width: 55%;
  z-index: 2;
}

.fv__buttons a {
  max-width: none;
  font-size: clamp(14px, 1.3541666666666667vw, 26px);
}

@media (max-width: 767px) {
  .fv__buttons {
    position: absolute;
    gap: .5em;
    width: 100%;
    margin-left: 0;
    padding: 1em .5em;
    border-radius: 6px;
  }

  .fv__buttons a {
    padding: .5em 0;
    font-size: 11px;
  }

  .fv__inner {
    padding-bottom: calc(67px + 2em);
  }
}

/* FV Number Bar */
.fv__numbers {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  width: 60%;
  padding-left: 5%;
  margin-top: 2rem;
  padding-bottom: 2em;
}

.fv__numbers__image {
  width: calc((100% - 6rem) / 4);
}

@media (max-width: 767px) {
  .fv__numbers {
    width: 52%;
    gap: .5rem;
    padding-bottom: 2rem;
    padding-left: 3%;

  }

  .fv__numbers__image {
    width: calc((100% - .5rem) / 2);
  }
}

/* ============================================================
   TOP — Section: News (お知らせ)
   ============================================================ */

.top-news {
  padding-top: 120px;
  position: relative;
}

@media (max-width: 767px) {
  .top-news {
    padding-top: 80px;
    margin-bottom: 40px;
  }
}

.top-news .container {
  max-width: 900px;
}

.top-news__inner {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 48px;
}

@media (max-width: 1023px) {
  .top-news__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 30px;
  }
}

.top-news__left {
  text-align: center;
  flex-shrink: 0;
  width: 200px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@media (max-width: 1023px) {
  .top-news__left {
    width: auto;
  }
}

.top-news__illust {
  width: 130px;
  height: auto;
  margin-bottom: 16px;
}

@media (max-width: 767px) {
  .top-news__illust {
    width: 88px;
  }
}

.top-news__heading {
  font-size: var(--font-size-36);
  color: var(--color-primary-light);
  margin-bottom: 0;
}

.top-news__right {
  flex: 1;
  min-width: 0;
}

.top-news__list {
  border-top: 1px solid var(--color-border);
}

.top-news__item {
  border-bottom: 1px solid var(--color-border);
}

.top-news__item-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  color: var(--color-text);
  text-decoration: none;
  transition: opacity var(--transition);
}

.top-news__item-link:hover {
  opacity: 0.7;
}

@media (max-width: 1023px) {
  .top-news__item-link {
    flex-wrap: wrap;
    gap: 8px;
  }
}

.top-news__date {
  font-size: 14px;
  flex-shrink: 0;
  width: 5.5em;
  letter-spacing: .03em;
}

.top-news__cat {
  display: block;
  text-align: center;
  padding: 2px 0;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 3px;
  flex-shrink: 0;
  background-color: var(--color-primary-light);
  color: var(--color-text-white);
  width: 7.5em;
}

.top-news__title {
  font-size: 0.9375rem;
  font-weight: 500;
}

@media (max-width: 1023px) {
  .top-news__title {
    width: 100%;
  }
}

/* ============================================================
   TOP — Section: Pain Points (悩み)
   ============================================================ */

.top-pain {
  text-align: center;
  overflow: hidden;
}

.top-pain__inner {
  position: relative;
  padding: 40px 0 0;
  z-index: 1;
}

.top-pain__inner::before,
.top-pain__inner::after {
  content: "";
  position: absolute;
  display: block;
  height: 90%;
  max-height: 600px;
  aspect-ratio: 2.5/1;
  background-color: var(--color-bg-gray);
  clip-path: polygon(0 55%, 100% 0, 100% 55%, 0% 100%);
  z-index: -1;
  top: 0;
  right: 30%;
}

.top-pain__inner::after {
  background-color: var(--color-bg-blue);
  z-index: -2;
  right: auto;
  left: 30%;
}

.top-pain__image {
  position: absolute;
  width: 180px;
  left: 0;
  bottom: 0;
}

.top-pain__cards {
  width: 80%;
  display: grid;
  gap: 24px;
  margin-bottom: 24px;
  margin-right: 0;
  margin-left: auto;
  list-style: none;
}

@media (max-width: 767px) {
  .top-pain__cards {
    gap: 20px;
  }

  .top-pain__inner::before {
    right: 5%;
  }

  .top-pain__inner::after {
    left: 5%;
  }

  .top-pain__image {
    display: none;
  }

  .top-pain__cards {
    width: 100%;
  }
}

.top-pain__card {
  background-color: var(--color-bg-white-90);
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  padding: 28px 24px;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 20px;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.top-pain__card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.top-pain__card:nth-child(2) {
  transition-delay: 0.15s;
}

.top-pain__card:nth-child(3) {
  transition-delay: 0.3s;
}

.top-pain__card-num {
  flex-shrink: 0;
  font-size: clamp(26px, 3.958333333333333vw, 76px);
  font-weight: 900;
  color: var(--color-primary-light);
  line-height: 1;
  margin: 0;
}

.top-pain__card-body {
  flex: 1;
}

.top-pain__card-title {
  font-size: var(--font-size-28);
  font-weight: 700;
  color: var(--color-primary-light);
  margin-bottom: 12px;
  line-height: 1.5;
}

.top-pain__card-text {
  color: var(--color-text-light);
  line-height: 1.7;
}

/* ============================================================
   TOP — Section: Reasons (選ばれる理由)
   ============================================================ */

.top-reason {
  overflow: hidden;
}

.top-reasons__item {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 2em;
  margin-bottom: 3em;
  position: relative;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.top-reasons__item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
}

.top-reasons__item:nth-child(odd) {
  transform: translateX(-60px);
}

.top-reasons__item:nth-child(even) {
  flex-direction: row-reverse;
  transform: translateX(60px);
}

.top-reasons__item.is-visible {
  opacity: 1;
}

.top-reasons__item:nth-child(odd).is-visible {
  transform: translateX(5%);
}

.top-reasons__item:nth-child(even).is-visible {
  transform: translateX(-5%);
}

@media (max-width: 1023px) {
  .top-reasons__item:nth-child(odd).is-visible {
    transform: translateX(3%);
  }

  .top-reasons__item:nth-child(even).is-visible {
    transform: translateX(-3%);
  }
}

.top-reasons__item::before {
  position: absolute;
  content: "";
  display: block;
  width: 45%;
  aspect-ratio: 292/10;
  background-color: var(--color-primary-light);
  clip-path: polygon(2% 0%, 100% 0%, 98% 100%, 0% 100%);
  top: 1em;
  left: -50%;
  z-index: 2;
}

.top-reasons__item:nth-child(even)::before {
  left: auto;
  right: -50%;
}

@media (max-width: 767px) {
  .top-reasons__item {
    flex-direction: column;
  }

  .top-reasons__item:nth-child(odd) {
    transform: translateX(-40px);
  }

  .top-reasons__item:nth-child(even) {
    flex-direction: column;
    transform: translateX(40px);
  }

  .top-reasons__item:nth-child(odd).is-visible,
  .top-reasons__item:nth-child(even).is-visible {
    transform: none;
  }

  .top-reasons__item::before {
    left: -40%;
    top: 2em;
  }

  .top-reasons__item:nth-child(even)::before {
    left: -40%;
    right: auto;
    top: 2em;
  }

}

.top-reasons__text {
  flex: 1;
}

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

@media (max-width: 767px) {
  .top-reasons__header {
    padding-left: 2em;
  }

}

.top-reasons__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  padding-bottom: 6px;
  border-radius: 50%;
  background-color: var(--color-primary-light);
  color: #fff;
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1;
  margin: 0;
  flex-shrink: 0;
}

.top-reasons__title {
  font-size: var(--font-size-28);
  font-weight: 700;
  color: var(--color-primary-light);
  margin: 0;
  line-height: 1.5;
}

.top-reasons__desc {
  background-color: #f5f5f5;
  padding: 20px 24px;
  border-radius: 8px;
  line-height: 1.8;
  width: 87%;
  margin: 1em 0 0 auto;
}

.top-reasons__image {
  position: relative;
  flex-shrink: 0;
  text-align: center;
  width: 44%;
}

.top-reasons__image img {
  border-radius: 8px;
}

@media (max-width: 767px) {

  .top-reasons__desc {
    width: 100%;
  }

  .top-reasons__image {
    width: auto;
  }

  .top-reasons__image img {
    width: 90%;
  }

}

.top-reasons__badge {
  position: absolute;
  top: -1.2em;
  right: -1em;
  margin: 0;
  padding: .2em 1em;
  background-color: var(--color-cta);
  color: #fff;
  font-size: clamp(14px, 1.0416666666666665vw, 20px);
  font-weight: 700;
  white-space: nowrap;
}

.top-reasons__item:nth-child(even) .top-reasons__badge {
  right: auto;
  left: -1em;
}

@media (max-width: 767px) {
  .top-reasons__badge {
    right: 0;
  }

  .top-reasons__item:nth-child(even) .top-reasons__badge {
    left: 0;
  }

}

/* ============================================================
   TOP — Section: Programs (研修プログラム)
   ============================================================ */

section.top-programs {
  overflow: hidden;
}

section.top-programs .section--blue {
  padding: 2em 0;
}

section.top-programs .container {
  position: relative;
  z-index: 1;
}

.top-programs__image {
  position: absolute;
  width: 290px;
  right: -5%;
  top: -15%;
  z-index: -1;
}

.top-programs__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  width: 80%;
  margin: 0 auto;
}

.top-programs__item--wide {
  grid-column: 1 / -1;
}

.top-programs__item {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.top-programs__item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 767px) {
  .top-programs__grid {
    grid-template-columns: 1fr;
    width: 100%;
    gap: 20px;
  }

  .top-programs__image {
    display: none;
  }
}

.top-programs__card {
  background-color: var(--color-bg-white);
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition), background var(--transition);
  text-decoration: none;
  color: var(--color-text);
  display: flex;
  flex-direction: column;
  height: 100%;
  ;
}

.top-programs__card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
  opacity: 1;
  background-color: var(--color-bg-gray);
}

.top-programs__card-body {
  padding: 1.5em 1.5em 2.3em;
  position: relative;
  height: 100%;
}

.top-programs__card-body::after {
  content: "";
  display: block;
  position: absolute;
  width: 1.5em;
  aspect-ratio: 1/1;
  background-color: var(--color-cta);
  mask-image: url(../img/icon-arrow.svg);
  mask-repeat: no-repeat;
  mask-size: contain;
  mask-position: center center;
  transform: rotate(-90deg);
  bottom: .8em;
  right: 1em;
}

.top-programs__card:hover .top-programs__card-body::after {
  background-color: var(--color-cta-hover);
}


.top-programs__card-tag {
  font-size: var(--font-size-20);
  font-weight: 700;
  color: var(--color-bg-white);
  background-color: var(--color-cta);
  padding: 2px 10px;
  margin-bottom: 1em;
  position: relative;
  display: block;
  width: fit-content;
}

.top-programs__card-tag::after {
  content: "";
  position: absolute;
  display: block;
  width: .8em;
  aspect-ratio: 1/1;
  background-color: var(--color-cta);
  clip-path: polygon(50% 80%, 0 0, 100% 0);
  bottom: -.8em;
  left: 1em;
}

.top-programs__card-title {
  font-size: var(--font-size-28);
  font-weight: 700;
  color: var(--color-primary-light);
  margin-bottom: 8px;
  line-height: 1.4;
}

.top-programs__card-desc {
  color: var(--color-text-light);
  line-height: 1.6;
}

/* ============================================================
   TOP — Section: Voice (お客様の声)
   ============================================================ */

section.top-voice {
  overflow: hidden;
}

section.top-voice .section--blue-wrapper {
  padding: 2em 0;
  position: relative;
  z-index: 1;
}

section.top-voice .section--blue-wrapper::after {
  position: absolute;
  content: "";
  display: block;
  width: 100%;
  height: 80%;
  background-color: var(--color-bg-blue);
  bottom: 0;
  left: 0;
  z-index: -1;
}

.top-voice__grid {
  width: 90%;
  max-width: var(--site-max-width-l);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 0 auto 2em;
}

@media (max-width: 767px) {

  section.top-voice .section--blue-wrapper::after {
    height: 100%;
  }

  .top-voice__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.top-voice__grid .voice {
  padding-top: 2em;
}

.top-voice__author {
  font-size: var(--font-size-28);
  font-weight: 700;
  color: var(--color-primary-light);
  text-align: center;
  margin-bottom: 8px;
}

@media (max-width: 767px) {
  .top-voice__author {
    text-align: left;
  }
}

.top-voice__tag {
  font-size: var(--font-size-20);
  font-weight: 700;
  color: var(--color-bg-white);
  background-color: var(--color-cta);
  padding: 2px 10px;
  margin: 0 0 .2em 3.5em;
  position: relative;
}

.top-voice__tag::before {
  content: "";
  position: absolute;
  right: calc(100% + 8px);
  /* top: 50%;
  transform: translateY(-50%); */
  bottom: 0;
  width: 3.5em;
  aspect-ratio: 1/1;
  background-color: var(--color-primary-light);
  -webkit-mask: url(../img/icon-voice.svg) center / contain no-repeat;
  mask: url(../img/icon-voice.svg) center / contain no-repeat;
}

.top-voice .clients-logos {
  background-color: var(--color-bg-white);
  padding: 1em 2em;
}

@media (max-width: 767px) {
  .top-voice .clients-logos {
    display: none;
  }
}

.top-voice .clients-logos__list {
  justify-content: center;
}

.top-voice .clients-logos__title {
  text-align: center;
  border-bottom: none;
  font-size: var(--font-size-25);
}

/* ============================================================
   TOP — Section: Profile (講師紹介)
   ============================================================ */

.top-profile {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.top-profile .section__heading--red {
  margin-bottom: 2em;
}

@media (max-width: 767px) {
  .top-profile .section__heading--red {
    margin-bottom: 1.2em;
  }
}

.top-profile-container {
  position: relative;
  z-index: 1;
}

.top-profile-container::before,
.top-profile-container::after {
  content: "";
  position: absolute;
  display: block;
  height: 120%;
  max-height: 800px;
  aspect-ratio: 2.5/1;
  background-color: var(--color-bg-gray);
  clip-path: polygon(0 55%, 100% 0, 100% 55%, 0% 100%);
  z-index: -1;
  top: -10%;
  right: 0;
}

.top-profile-container::after {
  background-color: var(--color-bg-blue);
  z-index: -2;
  right: auto;
  left: 25%;
  top: -18%;
}

.top-profile-container .top-profile__bg {
  position: absolute;
  display: block;
  width: 80%;
  aspect-ratio: 1223/473;
  background-image: url(../img/tmr-eiji.svg);
  background-size: contain;
  left: -8%;
  top: -13%;
  transform: rotate(3deg);
  z-index: -2;
}

@media (max-width: 767px) {

  .top-profile-container::before,
  .top-profile-container::after {
    max-height: 360px;
  }

  .top-profile-container::before {
    top: 0;
    right: 5%;
  }

  .top-profile-container::after {
    top: 0;
    left: 5%;
  }

  .top-profile-container {
    flex-direction: column;
    align-items: stretch;
    gap: 30px;
  }

  .top-profile-container .top-profile__bg {
    width: 98%;
    left: -3%;
    top: -3.8%;
    z-index: -2;
  }

}

.top-profile__image {
  position: absolute;
  left: -5%;
  top: 0;
  width: 35%;

}

.top-profile__image img {
  clip-path: polygon(0 0, 100% 0, 100% 87%, -16% 100%);
}

@media (max-width: 767px) {
  .top-profile__image {
    position: static;
    width: 240px;
    margin: 0 auto;
  }
}

.top-profile__body {
  width: 63%;
  margin-right: 0;
  margin-left: auto;
  padding-right: 2em;
}

@media (max-width: 767px) {
  .top-profile__body {
    width: auto;
    padding: 0;
  }
}

.top-profile__name {
  position: absolute;
  font-size: var(--font-size-60);
  font-weight: 700;
  margin-bottom: 4px;
  padding-right: 2em;
  right: 0;
  bottom: -1em;
}

.top-profile__role {
  font-size: var(--font-size-28);
  color: var(--color-text);
  font-weight: 700;
  margin-bottom: 16px;
}

@media (max-width: 767px) {

  .top-profile__name {
    display: none;
  }


  .top-profile__role {
    padding: 0 1em;
    margin-top: 1rem;
  }

  .top-profile__role br {
    display: none;
  }
}

.top-profile__desc {
  line-height: 1.8;
  margin-bottom: 0;
}

.top-profile__body .fv__numbers {
  width: 100%;
  padding: 0;
  align-items: flex-end;
}

.top-profile__body .fv__numbers .fv__numbers__image {
  width: calc((100% - 4rem) / 3);
  max-width: 192px;
  position: relative;
  z-index: 1;
}

.top-profile__body .fv__numbers .fv__numbers__image:not(:last-child)::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.16);
  left: 0;
  bottom: -2px;
}

.top-profile__body .fv__numbers .fv__numbers__image:last-child {
  transform-origin: left center;
  transform: scale(1.3);
}


@media (max-width: 767px) {

  .top-profile__body .fv__numbers {
    justify-content: center;
  }

  .top-profile__body .fv__numbers .fv__numbers__image:not(:last-child) {
    display: none;
  }

  .top-profile__body .fv__numbers .fv__numbers__image:last-child {
    width: 200px;
    transform: scale(1);
  }

}

/* ============================================================
   TOP — Section: Flow (導入の流れ)
   ============================================================ */

section.top-flow {
  overflow: hidden;
}

section.top-flow .section--blue {
  padding: 2em 0 calc(2em + 140px);
  position: relative;
  z-index: 1;
  /* width: 60%; */
  max-width: var(--site-max-width);
  margin: 0 auto;
}

/* ol */
.top-flow__steps {
  width: 90%;
  margin: 0 auto;
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
  counter-reset: flow-step;
}

/* li */
.top-flow__step {
  position: relative;
  z-index: 1;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.top-flow__step.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.top-flow__step:nth-child(2) {
  transition-delay: 0.15s;
}

.top-flow__step:nth-child(3) {
  transition-delay: 0.3s;
}

.top-flow__step:nth-child(4) {
  transition-delay: 0.45s;
}

/* タイムライン */
.top-flow__step:not(:last-child)::before {
  position: absolute;
  content: "";
  display: block;
  width: 1.5%;
  height: calc(100% + 3%);
  background-color: #fff;
  top: calc(50% - -7%);
  left: calc(50% - .75%);
}

/* 🔴 */
.top-flow__step::after {
  position: absolute;
  content: "";
  display: block;
  width: 3%;
  aspect-ratio: 1/1;
  background-color: var(--color-cta);
  border-radius: 50%;
  left: calc(50% - 1.5%);
  top: calc(50% - 1.5%);
  z-index: 3;
}

section.top-flow .section--blue::after {
  position: absolute;
  content: "";
  width: 102%;
  display: block;
  height: 140px;
  background-color: #fff;
  clip-path: polygon(50% 99%, 100% 0, 100% 100%, 0 100%, 0 0);
  z-index: 2;
  bottom: -1px;
  left: -1%;
}

@media (max-width: 1023px) {
  section.top-flow .section--blue {
    width: 100%;
    padding: 2em 0 calc(2em + 70px);
  }

  section.top-flow .section--blue::after {
    height: 70px;
  }

}

@media (max-width: 767px) {


  .top-flow__steps {
    gap: 16px;
  }

  .top-flow__step:not(:last-child)::before {
    width: 12px;
    height: calc(100% + 24px);
    top: 50px;
    left: 6px;
  }


  .top-flow__step::after {
    width: 24px;
    aspect-ratio: 1/1;
    background-color: var(--color-cta);
    border-radius: 50%;
    left: 0;
    top: 48px;
  }

}

.top-flow__step {
  padding: 24px 20px;
  counter-increment: flow-step;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5em;
  align-items: center;
  color: var(--color-text-white);

}

@media (max-width: 767px) {

  .top-flow__step {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 24px 0 24px 40px;

  }
}

.top-flow__step:nth-child(even) .top-flow__step-body {
  order: 2;
}

.top-flow__step:nth-child(even) .top-flow__step-image {
  order: 1;
}

@media (max-width: 767px) {

  .top-flow__step:nth-child(even) .top-flow__step-body,
  .top-flow__step:nth-child(even) .top-flow__step-image {
    order: 0;
  }
}

.top-flow__step-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

.top-flow__step-header {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  margin-bottom: 8px;
}

.top-flow__step-num {
  color: var(--color-text-white);
  font-size: clamp(30px, 3.0208333333333335vw, 58px);
  font-weight: 900;
  line-height: 1;
  flex-shrink: 0;
}

.top-flow__step-title {
  font-size: var(--font-size-28);
  font-weight: 700;
  color: var(--color-text-white);
}

.top-flow__step-text {
  color: var(--color-text-white);
  line-height: 1.6;
}