:root {
  /* J.Elma ブランドカラー（brand-guidelines.md 準拠） */
  --navy: #1b3a5c;
  --navy-deep: #14304c;
  --navy-soft: #2c557d;
  --pearl: #faf7f2;
  --pearl-2: #f3ede3;
  --white: #ffffff;
  --sumi: #1a1a1a;
  --text: #2b2722;
  --muted: #7b736a;
  --stone: #c9bba3;
  --stone-soft: #e6ddcd;
  --hairline: #ece4d7;
  /* ロゴ由来アクセント（1ビュー2色ルール） */
  --pink: #e94976;
  --yellow: #f2c744;
  --cyan: #3fb6d9;
  --cyan-deep: #2f99b8;
  /* elevation は最小限（Quiet Authority） */
  --shadow-sm: 0 2px 8px rgba(27, 58, 92, 0.06);
  --shadow-md: 0 14px 32px rgba(27, 58, 92, 0.08);
  --container: 1200px;
  --font-display: "Shippori Mincho B1", "Noto Serif JP", "Yu Mincho", serif;
  --font-en: "Cormorant Garamond", "Inter", serif;
  --font-body: "Noto Sans JP", "Yu Gothic", "Hiragino Sans", sans-serif;
  --font-num: "Inter", "Manrope", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--sumi);
  background: var(--pearl);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid rgba(63, 182, 217, 0.5);
  outline-offset: 3px;
}

.container {
  width: min(100% - 48px, var(--container));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.svg-sprite {
  position: absolute;
}

/* セクション間余白 80〜120px（brand: 静かな格式の呼吸） */
.section {
  padding: clamp(64px, 8vw, 112px) 0;
}

.section-soft {
  background: var(--pearl);
}

.section-title {
  margin: 0 0 48px;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.45;
  text-align: center;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* 日本語の折り返し: 見出しは単語・文節の途中で改行しない（あふれる時のみ最終手段で分割） */
h1,
h2,
h3,
.trust-headline,
.trust-note,
.trust-stat p,
.formula-circle p {
  word-break: keep-all;
  overflow-wrap: anywhere;
  line-break: strict;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan-deep);
  font-family: var(--font-en);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.button,
.mini-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  border-radius: 4px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.3;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.button:hover,
.mini-button:hover {
  transform: translateY(-1px);
}

.button span,
.mini-button span {
  font-size: 18px;
  line-height: 1;
  transition: transform 0.18s ease;
}

.button:hover span,
.mini-button:hover span {
  transform: translateX(3px);
}

.button {
  min-width: 224px;
  padding: 15px 26px;
  border: 1px solid transparent;
}

.button-primary {
  color: var(--white);
  background: var(--navy);
  box-shadow: 0 10px 22px rgba(27, 58, 92, 0.18);
}

.button-primary:hover {
  background: var(--navy-deep);
}

.button-secondary {
  color: var(--navy);
  background: var(--white);
  border-color: var(--stone);
}

.button-secondary:hover {
  color: var(--white);
  background: var(--navy);
  border-color: var(--navy);
}

.button-pink {
  color: var(--white);
  background: var(--pink);
}

.button-pink:hover {
  background: #d63968;
}

.button-light {
  color: var(--navy);
  background: var(--white);
}

.mini-button {
  min-height: 36px;
  min-width: 0;
  margin-top: auto;
  align-self: flex-start;
  padding: 9px 18px;
  color: var(--navy);
  background: transparent;
  border: 1px solid var(--stone);
  border-radius: 999px;
  font-size: 13px;
}

.mini-button:hover {
  color: var(--white);
  background: var(--navy);
  border-color: var(--navy);
}

/* ヘッダー */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 242, 0.86);
  border-bottom: 1px solid rgba(201, 187, 163, 0.4);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 92px;
  transition: min-height 0.2s ease;
}

.site-header.is-scrolled .header-inner {
  min-height: 64px;
}

.mobile-topic-nav {
  display: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand-logo {
  display: block;
  width: min(360px, calc(100vw - 116px));
  height: auto;
  max-height: 54px;
  object-fit: contain;
}

/* ヘッダーロゴは約1.5倍に拡大（フッターの .brand-logo は据え置き） */
.site-header .brand-logo {
  max-height: 80px;
  width: min(540px, calc(100vw - 116px));
}

.global-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  width: 100%;
  margin-left: auto;
  color: var(--sumi);
  font-size: 13px;
  font-weight: 700;
}

.global-nav a {
  padding: 8px 0;
  letter-spacing: 0.02em;
}

.global-nav a:not(.nav-cta):hover {
  color: var(--cyan-deep);
}

.global-nav .nav-cta {
  padding: 12px 30px;
  color: var(--white);
  background: var(--navy);
  border-radius: 4px;
  white-space: nowrap;
}

.nav-cta:hover {
  background: var(--navy-deep);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  border: 1px solid var(--stone);
  border-radius: 6px;
  background:
    linear-gradient(var(--navy), var(--navy)) center 14px / 20px 2px no-repeat,
    linear-gradient(var(--navy), var(--navy)) center 21px / 20px 2px no-repeat,
    linear-gradient(var(--navy), var(--navy)) center 28px / 20px 2px no-repeat,
    var(--white);
}

.menu-button[aria-expanded="true"] {
  background:
    linear-gradient(45deg, transparent 46%, var(--navy) 48%, var(--navy) 52%, transparent 54%) center / 22px 22px no-repeat,
    linear-gradient(-45deg, transparent 46%, var(--navy) 48%, var(--navy) 52%, transparent 54%) center / 22px 22px no-repeat,
    var(--white);
}

/* ヒーロー */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--pearl);
}

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

.hero-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
  max-width: 600px;
  padding: 44px 0 40px;
}

.hero h1 {
  margin: 0;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: clamp(24px, 4vw, 46px);
  font-weight: 800;
  line-height: 1.55;
  letter-spacing: 0.01em;
}

.hero-lead {
  margin: 26px 0 0;
  color: var(--navy-soft);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.95;
}

.hero-body {
  max-width: 560px;
  margin: 18px 0 32px;
  color: var(--text);
  font-weight: 500;
}

/* ヒーロー画像: 全幅で背面に敷く（モバイル/タブレットも背景として表示。横長のため後日スマホ用画像に差し替え予定） */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  will-change: opacity;
}

.hero-bg-image-team {
  animation: hero-dissolve-secondary 14s ease-in-out infinite;
  object-position: 76% 30%;
}

.hero-bg-image-akagi {
  animation: hero-dissolve-primary 14s ease-in-out infinite;
  object-position: 78% 30%;
}

@keyframes hero-dissolve-primary {
  0%,
  42% {
    opacity: 1;
  }

  50%,
  92% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes hero-dissolve-secondary {
  0%,
  42% {
    opacity: 0;
  }

  50%,
  92% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  /* モバイル/タブレット: 文字が読めるよう全体に淡いパールのベール（画像は背景として薄く映す） */
  background: linear-gradient(
    to bottom,
    rgba(250, 247, 242, 0.85) 0%,
    rgba(250, 247, 242, 0.78) 100%
  );
}

/* PC: 画像を背面に敷き、左に白(パール)グラデーションを重ねる */
@media (min-width: 1061px) {
  .hero-copy {
    max-width: 620px;
    min-height: 540px;
    padding: 76px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  /* PC幅では「根源は「感情」にあります。」を1行に固定する */
  .hero-h1-last {
    white-space: nowrap;
  }

  .hero-bg {
    position: absolute;
    inset: 0;
    width: auto;
    min-height: 0;
  }

  .hero-bg-image {
    min-height: 0;
  }

  .hero-bg-image-team {
    object-position: 70% 28%;
  }

  .hero-bg-image-akagi {
    object-position: center 28%;
  }

  .hero-bg::after {
    background: linear-gradient(
      to right,
      rgba(250, 247, 242, 0.9) 0%,
      rgba(250, 247, 242, 0.82) 30%,
      rgba(250, 247, 242, 0.5) 42%,
      rgba(250, 247, 242, 0.15) 52%,
      rgba(250, 247, 242, 0) 62%
    );
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg-image {
    animation: none;
  }

  .hero-bg-image-team {
    opacity: 0;
  }

  .hero-bg-image-akagi {
    opacity: 1;
  }
}

/* 問題提起 */
.problem-section {
  background: var(--white);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 940px;
  margin: 0 auto;
}

.problem-card {
  position: relative;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 20px;
  align-items: center;
  min-height: 116px;
  padding: 24px 26px;
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}

.card-number {
  position: absolute;
  top: -12px;
  left: 24px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: var(--white);
  background: var(--navy);
  border-radius: 999px;
  font-family: var(--font-num);
  font-size: 14px;
  font-weight: 700;
}

.line-icon {
  width: 64px;
  height: 64px;
  padding: 13px;
  color: var(--navy);
  background: var(--pearl);
  border: 1px solid var(--stone-soft);
  border-radius: 999px;
  overflow: visible;
}

.problem-card h3 {
  margin: 0 0 6px;
  color: var(--sumi);
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.5;
}

.problem-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.insight-box {
  max-width: 820px;
  margin: 44px auto 0;
  padding: 0 8px;
  color: var(--navy);
  text-align: center;
  font-weight: 700;
  line-height: 1.95;
}

/* 協会について */
.about-section {
  background: var(--pearl);
}

.about-section .section-title {
  margin-bottom: 18px;
}

.about-lead {
  max-width: 780px;
  margin: 0 auto 60px;
  color: var(--text);
  text-align: center;
  font-weight: 500;
  line-height: 1.95;
}

/* 感情労働マネジメントの構成（3円のフォーミュラ） */
.formula {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.formula-circle {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 240px;
  height: 240px;
  padding: 26px;
  border: 2px solid currentColor;
  border-radius: 50%;
  background: color-mix(in srgb, currentColor 10%, white);
  text-align: center;
}

.formula-circle h3 {
  margin: 0 0 12px;
  color: currentColor;
  font-family: var(--font-display);
  font-size: 21px;
  line-height: 1.45;
}

.formula-circle p {
  margin: 0;
  color: var(--text);
  font-size: 14px;
  line-height: 1.8;
  font-weight: 500;
}

.formula-plus {
  flex: 0 0 auto;
  color: var(--stone);
  font-family: var(--font-num);
  font-size: 30px;
  font-weight: 400;
  line-height: 1;
}

.formula-pink {
  color: var(--pink);
}

.formula-yellow {
  color: var(--yellow);
}

.formula-yellow h3 {
  color: #c79a16;
}

.formula-blue {
  color: var(--cyan);
}

.formula-blue h3 {
  color: var(--cyan-deep);
}

/* 5つの効果 */
.effects-section {
  background: var(--white);
}

.effects-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.effect-card {
  min-height: 196px;
  padding: 24px 18px;
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}

.effect-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 16px;
  padding: 12px;
  color: currentColor;
  background: color-mix(in srgb, currentColor 11%, white);
  border-radius: 999px;
}

.effect-card h3 {
  margin: 0 0 12px;
  color: currentColor;
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.45;
}

.effect-card p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.effect-card em {
  display: inline-flex;
  padding: 5px 12px;
  border-radius: 999px;
  background: color-mix(in srgb, currentColor 12%, white);
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
}

.effect-blue {
  color: var(--cyan-deep);
}

.effect-cyan {
  color: var(--cyan);
}

.effect-pink {
  color: var(--pink);
}

.effect-yellow {
  color: #c79a16;
}

.effect-orange {
  color: #cf7d36;
}

/* 信頼の拠りどころ（商標登録のクレデンシャル帯） */
.trust-section {
  background: var(--pearl);
}

.trust-band {
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(40px, 5vw, 60px);
  text-align: center;
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
}

.trust-eyebrow {
  margin: 0 0 14px;
  color: var(--cyan-deep);
  font-family: var(--font-en);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.trust-headline {
  margin: 0 auto;
  max-width: 620px;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  line-height: 1.55;
}

.trust-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.8;
}

.trust-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 0 28px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--hairline);
}

.trust-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 4px 16px;
}

.trust-stat + .trust-stat {
  border-left: 1px solid var(--hairline);
}

.trust-stat-icon {
  width: 46px;
  height: 46px;
  color: var(--navy);
}

.trust-stat p {
  margin: 0;
  color: var(--text);
  font-size: 13px;
  line-height: 1.7;
  font-weight: 500;
}

.trust-stat strong {
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
}

/* 代表メッセージ */
.message-section {
  overflow: hidden;
  padding: 0;
  background: var(--white);
}

.message-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 56px;
  align-items: center;
  min-height: 420px;
}

.message-photo {
  position: relative;
  align-self: stretch;
  display: grid;
  align-items: end;
}

.message-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--pearl);
}

.message-photo img {
  position: relative;
  width: 300px;
  height: 100%;
  max-height: 460px;
  object-fit: cover;
  object-position: center top;
}

.message-copy {
  padding: 48px 0;
}

.message-copy h2 {
  margin: 0 0 18px;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: clamp(22px, 2.6vw, 28px);
  line-height: 1.5;
}

.message-copy p {
  max-width: 760px;
  margin: 0 0 12px;
  color: var(--text);
  font-weight: 500;
}

.signature {
  margin-top: 24px;
  color: var(--muted);
  font-size: 14px;
  text-align: right;
}

.signature strong {
  display: inline-block;
  margin-top: 4px;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 22px;
}

/* サービス */
.services-section {
  background: var(--pearl);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-inline: auto;
}

.service-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.service-card-link {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 100%;
  color: inherit;
  text-decoration: none;
}

.service-card-link:focus-visible {
  outline: 3px solid rgba(43, 159, 232, 0.45);
  outline-offset: 4px;
}

.service-card-link:hover .mini-button,
.service-card-link:focus-visible .mini-button {
  color: var(--white);
  background: var(--navy);
  border-color: var(--navy);
}

.service-card-link:hover .mini-button span,
.service-card-link:focus-visible .mini-button span {
  transform: translateX(3px);
}

.service-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}

.service-card div {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
  padding: 22px 20px;
}

.service-card h3 {
  margin: 0;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.45;
}

.service-card p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

/* にじつなカード公式ページバナー */
.nijitsuna-official-section {
  padding-top: 0;
  background: var(--pearl);
}

.nijitsuna-official-banner {
  display: block;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nijitsuna-official-banner:hover,
.nijitsuna-official-banner:focus-visible {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.nijitsuna-official-banner img {
  width: 100%;
  height: auto;
}

/* 無料リソース帯 */
.resource-band {
  padding: 0 0 clamp(64px, 8vw, 112px);
  background: var(--pearl);
}

.resource-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  background: var(--navy);
  border-radius: 10px;
}

.resource-card {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 20px;
  align-items: center;
  min-height: 124px;
  padding: 26px 30px;
  color: var(--white);
  transition: background-color 0.2s ease;
}

.resource-card:hover {
  background: var(--navy-deep);
}

.resource-card + .resource-card {
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.resource-card svg {
  width: 48px;
  height: 48px;
  color: var(--cyan);
}

.resource-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 23px;
  line-height: 1.3;
}

.resource-card small {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 500;
}

.resource-card em {
  display: inline-flex;
  justify-content: center;
  min-width: 168px;
  padding: 10px 18px;
  color: var(--navy);
  background: var(--white);
  border-radius: 999px;
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
}

/* コラム（アイコンカード） */
.columns-section {
  background: var(--pearl);
}

.columns-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.column-card {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 20px;
  align-items: start;
  min-height: 168px;
  padding: 28px 26px;
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.column-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* コラムカードをリンク(a)化したため、下線・リンク色を打ち消す */
a.column-card {
  text-decoration: none;
  color: inherit;
}

.column-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  color: var(--navy);
  background: var(--pearl);
  border: 1px solid var(--stone-soft);
  border-radius: 999px;
}

.column-icon svg {
  width: 34px;
  height: 34px;
  overflow: visible;
}

.column-tag {
  display: inline-flex;
  margin: 0 0 10px;
  padding: 4px 12px;
  color: var(--cyan-deep);
  background: color-mix(in srgb, var(--cyan) 12%, white);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.column-card h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.5;
}

.column-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.note-banner-wrap {
  margin-top: 32px;
}

.note-banner {
  display: block;
  overflow: hidden;
  border: 1px solid var(--hairline);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.note-banner:hover,
.note-banner:focus-visible {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.note-banner img {
  display: block;
  width: 100%;
  height: auto;
}

/* 最終CTA */
.final-cta {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 8vw, 104px) 0;
  color: var(--white);
  background: var(--navy);
}

.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 22px);
  pointer-events: none;
}

.final-cta-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 28px;
  justify-items: center;
  text-align: center;
}

.final-cta h2 {
  margin: 0;
  max-width: 760px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(24px, 3.2vw, 34px);
  line-height: 1.55;
}

/* フッター */
.site-footer {
  padding: 64px 0 28px;
  color: var(--white);
  background: var(--navy-deep);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.8fr 1.1fr;
  gap: 44px;
}

.site-footer .brand {
  display: inline-flex;
  padding: 0;
  background: none;
  border-radius: 0;
}

.footer-brand p {
  max-width: 280px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  line-height: 1.8;
}

.site-footer nav {
  display: grid;
  align-content: start;
  gap: 10px;
}

.site-footer h2 {
  margin: 0 0 10px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 15px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

.site-footer a:hover {
  color: var(--white);
}

.footer-search {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin-bottom: 8px;
}

.footer-search input {
  min-width: 0;
  height: 40px;
  padding: 0 12px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 4px;
}

.footer-search input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.footer-search button {
  height: 40px;
  padding: 0 16px;
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 4px;
}

.footer-search button:hover {
  background: rgba(255, 255, 255, 0.1);
}

.sns-links {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.sns-links a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.sns-links a:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
}

.sns-links svg {
  width: 17px;
  height: 17px;
}

.copyright {
  margin: 44px auto 0;
  padding-top: 20px;
  color: rgba(255, 255, 255, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  text-align: center;
  font-size: 12px;
}

/* レスポンシブ */
@media (max-width: 1060px) {
  .global-nav {
    gap: 14px;
    font-size: 12px;
  }

  .effects-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .formula {
    flex-direction: column;
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 640px;
  }

  .services-grid .service-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc((100% - 18px) / 2);
  }

  .resource-grid {
    grid-template-columns: 1fr;
  }

  .resource-card + .resource-card {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    border-left: 0;
  }

  .columns-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .container {
    width: min(100% - 32px, var(--container));
  }

  .header-inner {
    gap: 12px;
    min-height: 78px;
  }

  .brand {
    flex: 1 1 auto;
    max-width: calc(100% - 56px);
  }

  .brand-logo {
    width: 100%;
    max-width: 300px;
    max-height: 44px;
  }

  .site-header .brand-logo {
    width: 100%;
    max-height: 56px;
  }

  .menu-button {
    display: block;
    flex: 0 0 auto;
  }

  .global-nav {
    position: fixed;
    inset: 116px 0 auto;
    display: grid;
    justify-content: stretch;
    gap: 0;
    padding: 12px 24px 28px;
    background: var(--white);
    border-bottom: 1px solid var(--hairline);
    box-shadow: var(--shadow-md);
    transform: translateY(-120%);
    visibility: hidden;
    transition: transform 0.22s ease, visibility 0.22s ease;
  }

  body.menu-open .global-nav {
    transform: translateY(0);
    visibility: visible;
  }

  .global-nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--hairline);
    font-size: 15px;
  }

  .global-nav .nav-cta {
    margin-top: 14px;
    padding: 14px 16px;
    text-align: center;
    border-bottom: 0;
  }

  .mobile-topic-nav {
    display: block;
    border-top: 1px solid rgba(201, 187, 163, 0.32);
    background: rgba(255, 255, 255, 0.72);
  }

  .mobile-topic-nav .container {
    display: flex;
    justify-content: center;
  }

  .mobile-topic-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    min-height: 38px;
    color: var(--navy);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.04em;
  }

  .hero-bg-image-team {
    object-position: 82% 30%;
  }

  .hero-bg-image-akagi {
    object-position: 76% 30%;
  }

  .hero-copy {
    padding: 44px 0 40px;
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-body {
    max-width: 100%;
  }

  .button {
    width: 100%;
  }

  .trust-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-stat {
    padding: 18px 6px;
  }

  .trust-stat p {
    font-size: 12px;
  }

  .trust-stat strong {
    font-size: 17px;
  }

  .trust-stat:nth-child(odd) {
    border-left: 0;
  }

  .trust-stat:nth-child(n + 3) {
    border-top: 1px solid var(--hairline);
  }

  .problem-grid,
  .message-grid {
    grid-template-columns: 1fr;
  }

  .effects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .message-grid {
    gap: 0;
  }

  .message-photo {
    justify-self: center;
    padding-top: 40px;
  }

  .message-photo img {
    height: 360px;
  }

  .message-copy {
    padding: 32px 0 48px;
  }

  .signature {
    text-align: left;
  }

  .resource-card {
    grid-template-columns: 44px 1fr;
  }

  .resource-card em {
    grid-column: 1 / -1;
    width: 100%;
  }
}

@media (max-width: 560px) {
  .section-title {
    margin-bottom: 32px;
    text-align: left;
  }

  .hero h1 {
    line-height: 1.6;
  }

  .problem-card {
    grid-template-columns: 56px 1fr;
    gap: 16px;
    padding: 22px 20px;
  }

  .line-icon {
    width: 56px;
    height: 56px;
    padding: 12px;
  }

  .insight-box {
    text-align: left;
  }

  .effects-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
    max-width: none;
  }

  .services-grid .service-card:last-child:nth-child(odd) {
    grid-column: auto;
    width: 100%;
  }

  .nijitsuna-official-banner img {
    height: 178px;
    object-fit: cover;
    object-position: left center;
  }

  .column-card {
    grid-template-columns: 56px 1fr;
    gap: 16px;
    padding: 24px 20px;
  }

  .note-banner img {
    height: 178px;
    object-fit: cover;
    object-position: left center;
  }

  .final-cta h2 {
    text-align: center;
  }

  .brand-logo {
    width: min(310px, calc(100vw - 96px));
  }
}

/* フッター下部の規約・お問い合わせリンク（PCで1行・｜区切り。.site-footer nav の縦並びを上書き） */
.site-footer .footer-legal {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 1.6rem 0 .9rem;
}
.footer-legal a {
  color: rgba(255, 255, 255, .82);
  font-size: .82rem;
  text-decoration: none;
}
.footer-legal a + a::before {
  content: "｜";
  margin: 0 .55em;
  color: rgba(255, 255, 255, .4);
}
.footer-legal a:hover {
  color: #fff;
  text-decoration: underline;
}

/* =========================================================
   受講者の声 ティーザー（トップページ内、/voices/ への導線）
   ========================================================= */
.voices-teaser {
  background: var(--white);
}

.voices-teaser .eyebrow {
  text-align: center;
}

.voices-teaser .section-title {
  margin-bottom: 16px;
}

.voices-teaser-lead {
  max-width: 680px;
  margin: 0 auto 44px;
  color: var(--text);
  text-align: center;
  font-weight: 500;
  line-height: 1.95;
}

.voices-teaser-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  max-width: 960px;
  margin: 0 auto;
}

.voice-mini {
  margin: 0;
  padding: 24px 22px;
  background: #fbf7ee;
  border: 1px solid var(--stone-soft);
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
}

.voice-mini blockquote {
  margin: 0;
  color: var(--text);
  font-size: 14px;
  line-height: 1.9;
  font-weight: 500;
}

.voices-teaser-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 40px;
  margin: 36px auto 0;
}

.voices-teaser-stats span {
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
}

.voices-teaser-stats strong {
  color: var(--navy);
  font-family: var(--font-num);
  font-size: 26px;
  margin-right: 4px;
}

.voices-teaser-stats small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.voices-teaser-cta {
  justify-content: center;
  margin-top: 36px;
}

@media (max-width: 820px) {
  .voices-teaser-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
  }
  .voices-teaser-stats {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
}

/* =========================================================
   Jelmaリトリート ティーザー（トップページ内、/retreat/ への導線）
   ========================================================= */
.retreat-teaser {
  background: var(--pearl);
}

.retreat-teaser-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}

.retreat-teaser-copy .eyebrow {
  margin: 0 0 18px;
}

.retreat-teaser-copy h2 {
  margin: 0 0 24px;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  line-height: 1.55;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.retreat-teaser-lead {
  margin: 0 0 28px;
  color: var(--text);
  font-weight: 500;
  line-height: 2;
}

/* 受講者の声ティーザーの直後に置くJelmaリトリート導線。
   メイン写真＋サブ写真の重ねレイアウトでスクロールを止める。 */
.retreat-teaser-points {
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.retreat-teaser-points li {
  position: relative;
  padding-left: 20px;
  color: var(--text);
  font-size: 14px;
  line-height: 1.85;
}

.retreat-teaser-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 8px;
  background: var(--cyan);
  border-radius: 999px;
}

.retreat-teaser-visual {
  position: relative;
  aspect-ratio: 5 / 4;
}

.retreat-teaser-visual-main {
  position: absolute;
  inset: 0 20% 12% 0;
  margin: 0;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
}

.retreat-teaser-visual-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.retreat-teaser-grid:hover .retreat-teaser-visual-main img {
  transform: scale(1.03);
}

.retreat-teaser-visual-sub {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 56%;
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 14px;
  border: 6px solid var(--pearl);
  box-shadow: 0 18px 36px rgba(27, 58, 92, 0.16);
}

.retreat-teaser-visual-sub img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 820px) {
  .retreat-teaser-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .retreat-teaser-visual {
    aspect-ratio: 16 / 11;
  }
}
