/* Ludique Renewal Top v1
   Existing copy and existing Ludique banner are retained as much as possible.
*/

:root {
  --navy: #0e2d55;
  --navy-deep: #082342;
  --navy-soft: #345a83;
  --coral: #e77772;
  --coral-dark: #d45f5a;
  --ink: #1e2b39;
  --muted: #66717d;
  --line: #dfe5eb;
  --soft: #f6f8fa;
  --soft-warm: #fbf8f7;
  --white: #ffffff;
  --shadow: 0 12px 35px rgba(17, 42, 70, .08);
  --radius: 18px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family:
    "Yu Gothic",
    "Hiragino Kaku Gothic ProN",
    "Meiryo",
    sans-serif;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.skip-link {
  position: fixed;
  top: -100px;
  left: 12px;
  z-index: 9999;
  background: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.skip-link:focus {
  top: 12px;
}

.topbar {
  border-bottom: 1px solid #edf0f3;
  background: #fff;
}

.topbar__inner {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.topbar p {
  margin: 0;
  font-size: 13px;
}

.topbar__message {
  color: var(--navy);
  letter-spacing: .04em;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
}

.topbar__address {
  text-align: right;
  color: #4e5862;
  line-height: 1.55;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(220,226,232,.92);
}

.header__inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  gap: 38px;
}

.brand {
  flex: 0 0 auto;
}

.brand img {
  width: 190px;
}

.global-nav {
  margin-left: auto;
  display: flex;
  align-items: stretch;
  gap: 4px;
}

.global-nav a {
  min-height: 84px;
  padding: 16px 13px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  font-size: 14px;
  font-weight: 700;
  color: #273644;
}

.global-nav a span {
  margin-top: 2px;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .08em;
  color: #8a949e;
}

.global-nav a::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 0;
  height: 3px;
  border-radius: 4px 4px 0 0;
  background: transparent;
}

.global-nav a:hover,
.global-nav a.is-current {
  color: var(--navy);
}

.global-nav a.is-current::after {
  background: var(--coral);
}

.global-nav .nav-contact {
  color: var(--coral-dark);
}

.menu-button {
  display: none;
  border: 0;
  background: transparent;
  padding: 10px;
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 28px;
  height: 2px;
  margin: 6px 0;
  background: var(--navy);
  transition: .25s ease;
}

.hero {
  padding: 54px 0 72px;
  overflow: hidden;
  background:
    radial-gradient(circle at 96% 2%, rgba(231,119,114,.08), transparent 29%),
    linear-gradient(#fff, #fff);
}

.hero__lead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: end;
  margin-bottom: 30px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--coral-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
}

.hero h1,
.section-heading h2,
.contact-cta h2 {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
}

.hero h1 {
  margin: 0;
  max-width: 770px;
  color: var(--navy-deep);
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.45;
  letter-spacing: .035em;
}

.hero__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.button {
  min-height: 58px;
  padding: 0 24px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(16,45,80,.11);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(16,45,80,.16);
}

.button span {
  font-size: 26px;
  line-height: 1;
  font-weight: 400;
}

.button--navy {
  background: var(--navy);
  color: #fff;
}

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

.button--coral {
  background: var(--coral);
  color: #fff;
}

.button--coral:hover {
  background: var(--coral-dark);
}

.button--white {
  background: #fff;
  color: var(--navy);
  min-width: 300px;
}

.hero__visual {
  overflow: hidden;
  border: 1px solid #e6eaee;
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow);
}

.hero__visual img {
  width: 100%;
}

.credibility {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.credibility__item {
  padding: 16px 18px;
  border: 1px solid #e4e8ed;
  border-radius: 12px;
  background: #fff;
  color: #263d55;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
}

.check {
  color: var(--navy);
  font-size: 22px;
  font-weight: 900;
  line-height: 1.1;
}

.section {
  padding: 88px 0;
}

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

.section-heading {
  max-width: 880px;
  margin: 0 auto 44px;
  text-align: center;
}

.section-heading--compact {
  margin-bottom: 36px;
}

.section-heading h2 {
  margin: 0;
  color: var(--navy-deep);
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.45;
}

.section-heading p:not(.eyebrow) {
  margin: 20px 0 0;
  color: #566473;
  font-size: 16px;
}

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

.feature-card {
  padding: 30px;
  border: 1px solid #e2e7ec;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 8px 30px rgba(20,45,70,.05);
}

.feature-card__icon {
  width: 56px;
  height: 56px;
  margin-bottom: 18px;
}

.feature-card__icon svg {
  width: 100%;
  height: 100%;
  fill: var(--navy);
}

.feature-card__icon .icon-line {
  fill: none;
  stroke: #fff;
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card__icon--coral svg {
  fill: var(--coral);
}

.feature-card h3 {
  margin: 0 0 10px;
  color: var(--navy-deep);
  font-size: 20px;
  line-height: 1.5;
}

.feature-card p {
  margin: 0;
  color: #667380;
  font-size: 14px;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.program-card {
  min-height: 280px;
  padding: 26px 20px;
  border: 1px solid #dfe5eb;
  border-radius: 15px;
  background:
    linear-gradient(180deg, rgba(14,45,85,.04), rgba(14,45,85,0) 110px),
    #fff;
  position: relative;
  overflow: hidden;
}

.program-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--navy);
}

.program-card__number {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
}

.program-card h3 {
  margin: 0 0 16px;
  color: var(--navy-deep);
  font-size: 18px;
  line-height: 1.55;
}

.program-card p {
  margin: 0;
  color: #677481;
  font-size: 14px;
}

.program-note {
  margin: 30px auto 0;
  text-align: center;
  color: #405163;
  font-weight: 700;
}

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

.text-link {
  color: var(--navy);
  font-weight: 800;
  border-bottom: 1px solid rgba(14,45,85,.28);
}

.text-link span {
  margin-left: 6px;
}

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

.topics-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 60px;
  align-items: start;
}

.topics-heading {
  position: sticky;
  top: 122px;
}

.topics-heading h2 {
  margin: 0 0 8px;
  color: var(--navy-deep);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 42px;
}

.topics-heading > p:not(.eyebrow) {
  margin: 0 0 18px;
  color: #6b7782;
}

.topic-list {
  border-top: 1px solid #d8dee4;
}

.topic-item {
  padding: 22px 0;
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 24px;
  border-bottom: 1px solid #d8dee4;
}

.topic-item time {
  color: var(--navy);
  font-weight: 800;
  font-size: 14px;
}

.topic-item p {
  margin: 0;
  color: #344454;
}

.topic-item a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-cta {
  padding: 0 0 88px;
  background: var(--soft-warm);
}

.contact-cta__inner {
  padding: 38px 44px;
  border-radius: 22px;
  background:
    linear-gradient(120deg, var(--navy-deep), #0e3b6d);
  color: #fff;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: center;
  box-shadow: 0 18px 40px rgba(7,35,67,.16);
}

.eyebrow--light {
  color: #f2b6b3;
}

.contact-cta h2 {
  margin: 0;
  font-size: 31px;
}

.contact-cta p:not(.eyebrow) {
  margin: 8px 0 0;
  color: rgba(255,255,255,.82);
}

.site-footer {
  background: #fff;
  border-top: 1px solid #e1e6eb;
}

.footer__main {
  padding: 46px 0;
  display: grid;
  grid-template-columns: 220px 1fr 250px;
  gap: 40px;
  align-items: start;
}

.footer__brand img {
  width: 190px;
}

.footer__company,
.footer__contact {
  font-size: 13px;
  color: #596673;
}

.footer__company p,
.footer__contact p {
  margin: 0 0 10px;
}

.footer__contact a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer__note {
  display: inline-block;
  background: #fff4d7;
  padding: 3px 8px;
}

.footer__bottom {
  background: var(--navy-deep);
  color: rgba(255,255,255,.76);
  font-size: 12px;
}

.footer__bottom-inner {
  min-height: 58px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}

.footer__bottom a {
  margin-right: 22px;
}

.footer__bottom p {
  margin: 0;
}

.page-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  box-shadow: 0 8px 24px rgba(8,35,66,.24);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: .2s ease;
}

.page-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .header__inner {
    min-height: 76px;
  }

  .global-nav a {
    padding-inline: 9px;
    font-size: 12px;
    min-height: 76px;
  }

  .global-nav a span {
    display: none;
  }

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

  .hero__actions {
    justify-content: flex-start;
  }

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

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

  .desktop-only {
    display: none;
  }

  .topbar__inner {
    min-height: auto;
    padding: 10px 0;
    display: block;
  }

  .topbar__address {
    display: none;
  }

  .topbar__message {
    text-align: center;
    font-size: 11px !important;
  }

  .header__inner {
    min-height: 70px;
  }

  .brand img {
    width: 165px;
  }

  .menu-button {
    display: block;
    margin-left: auto;
  }

  .menu-button.is-open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .menu-button.is-open span:nth-child(2) {
    opacity: 0;
  }

  .menu-button.is-open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .global-nav {
    position: fixed;
    inset: 112px 0 auto 0;
    max-height: calc(100vh - 112px);
    overflow-y: auto;
    padding: 12px 20px 22px;
    display: none;
    background: #fff;
    border-bottom: 1px solid #dce2e8;
    box-shadow: 0 18px 34px rgba(12,40,67,.12);
  }

  .global-nav.is-open {
    display: block;
  }

  .global-nav a {
    min-height: auto;
    padding: 15px 6px;
    display: flex;
    align-items: flex-start;
    border-bottom: 1px solid #edf0f3;
  }

  .global-nav a span {
    display: block;
  }

  .global-nav a::after {
    display: none;
  }

  .hero {
    padding: 34px 0 52px;
  }

  .hero h1 {
    font-size: clamp(26px, 8vw, 38px);
  }

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

  .button {
    width: 100%;
  }

  .hero__visual {
    border-radius: 14px;
  }

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

  .section {
    padding: 64px 0;
  }

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

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

  .program-card {
    min-height: 0;
  }

  .topics-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .topics-heading {
    position: static;
  }

  .topic-item {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .contact-cta {
    padding-bottom: 64px;
  }

  .contact-cta__inner {
    padding: 30px 24px;
    grid-template-columns: 1fr;
  }

  .contact-cta h2 {
    font-size: 26px;
  }

  .button--white {
    min-width: 0;
  }

  .footer__main {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .footer__bottom-inner {
    padding: 18px 0;
    display: block;
  }

  .footer__bottom p {
    margin-top: 12px;
  }
}

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

  .hero h1 br {
    display: none;
  }

  .hero__visual img {
    width: 100%;
    min-height: 220px;
    object-fit: cover;
    object-position: center;
  }

  .section-heading h2 {
    font-size: 27px;
  }

  .feature-card {
    padding: 24px;
  }
}


/* ===== v2 adjustments ===== */

/* Keep the main top message at two lines on desktop. */
.hero__title {
  max-width: none;
  font-size: clamp(29px, 2.35vw, 38px) !important;
  line-height: 1.55 !important;
  letter-spacing: .025em !important;
}

.hero__title-line {
  display: block;
  white-space: nowrap;
}

/* Topics */
.topics-header {
  margin-bottom: 28px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}

.topics-header h2 {
  margin: 0;
  color: var(--navy-deep);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 42px;
  line-height: 1.25;
}

.topics-header p:not(.eyebrow) {
  margin: 7px 0 0;
  color: #6b7782;
}

.topics-panel {
  overflow: hidden;
  border: 1px solid #e2e5e8;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(20,45,70,.05);
}

.topics-panel .topic-list {
  border-top: 0;
}

.topics-panel .topic-item {
  padding: 21px 28px;
  grid-template-columns: 150px minmax(0, 1fr);
  align-items: start;
  border-bottom: 1px solid #e6eaee;
}

.topics-panel .topic-item:last-child {
  border-bottom: 0;
}

.topics-panel .topic-item time {
  padding-top: 2px;
  color: var(--navy);
  font-size: 13px;
  letter-spacing: .02em;
}

.topics-panel .topic-item p {
  line-height: 1.75;
}

.topics-panel .topic-item a {
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(14,45,85,.22);
}

.topics-panel .topic-item a:hover {
  color: var(--coral-dark);
  border-bottom-color: var(--coral);
}

.topic-item__body > p {
  margin-top: 0;
}

.topic-product {
  width: fit-content;
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  border-bottom: 0 !important;
}

.topic-product img {
  width: 94px;
  height: 118px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #e2e6ea;
}

.topic-product span {
  color: var(--navy);
  font-weight: 800;
}

@media (max-width: 820px) {
  .hero__title {
    font-size: clamp(26px, 7vw, 35px) !important;
  }

  .hero__title-line {
    white-space: normal;
  }

  .topics-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .topics-header h2 {
    font-size: 36px;
  }

  .topics-panel .topic-item {
    padding: 20px;
    grid-template-columns: 1fr;
    gap: 6px;
  }
}


/* ===== v3 hero overlap fix ===== */

/* Put CTA buttons below the two-line heading so they never overlap. */
.hero__lead {
  grid-template-columns: 1fr !important;
  gap: 22px !important;
  align-items: start !important;
}

.hero__lead > div:first-child {
  min-width: 0;
}

.hero__title {
  width: 100%;
  max-width: 980px;
  font-size: clamp(28px, 2.15vw, 36px) !important;
  line-height: 1.58 !important;
}

.hero__title-line {
  display: block;
  white-space: nowrap;
}

.hero__actions {
  width: 100%;
  justify-content: flex-start !important;
  gap: 14px;
}

.hero__actions .button {
  min-width: 250px;
}

@media (max-width: 980px) {
  .hero__title {
    font-size: clamp(26px, 3.2vw, 34px) !important;
  }

  .hero__title-line {
    white-space: normal;
  }
}

@media (max-width: 820px) {
  .hero__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero__actions .button {
    min-width: 0;
  }
}


/* ===== v4 banner size adjustment ===== */
/* Match the original Ludique site's banner scale more closely. */
.hero__visual {
  width: 100%;
  max-width: 957px;
  margin-left: auto;
  margin-right: auto;
}

.hero__visual img {
  width: 100%;
  height: auto;
}

@media (max-width: 820px) {
  .hero__visual {
    max-width: none;
  }
}


/* ===== v5 mobile banner fix ===== */
/* On phones, show the entire original banner without cropping. */
@media (max-width: 520px) {
  .hero__visual {
    width: 100%;
    max-width: none;
    overflow: hidden;
  }

  .hero__visual img {
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    object-fit: contain !important;
    object-position: center center !important;
  }
}


/* ===== v6 hero centering adjustment ===== */
/* Center the lead message and CTAs for a more balanced first view. */
.hero__lead {
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 30px;
  text-align: center;
}

.hero__lead > div:first-child {
  width: 100%;
}

.hero__lead .eyebrow {
  text-align: center;
}

.hero__title {
  width: 100%;
  max-width: 1040px;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center;
}

.hero__title-line {
  text-align: center;
}

.hero__actions {
  justify-content: center !important;
  align-items: center;
}

@media (max-width: 820px) {
  .hero__lead {
    max-width: none;
    text-align: center;
  }

  .hero__lead .eyebrow,
  .hero__title,
  .hero__title-line {
    text-align: center;
  }

  .hero__actions {
    justify-content: center !important;
  }
}


/* ===== v7 first-view balance adjustment ===== */

/* Narrow the lead block so the headline sits more naturally in the visual center. */
.hero__lead {
  max-width: 900px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.hero__lead > div:first-child {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.hero__lead .eyebrow {
  width: 100%;
  text-align: center !important;
}

.hero__title {
  width: 100%;
  max-width: 900px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
  font-size: clamp(27px, 2vw, 34px) !important;
  line-height: 1.62 !important;
}

.hero__title-line {
  display: block;
  width: 100%;
  text-align: center !important;
}

/* Keep both call-to-action buttons centered under the headline. */
.hero__actions {
  width: 100%;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  justify-content: center !important;
}

/* Make the existing Ludique banner another step smaller on desktop. */
.hero__visual {
  width: 100%;
  max-width: 860px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

@media (max-width: 980px) {
  .hero__lead,
  .hero__lead > div:first-child,
  .hero__title,
  .hero__actions {
    max-width: 100% !important;
  }

  .hero__visual {
    max-width: 860px !important;
  }
}

@media (max-width: 820px) {
  .hero__lead {
    max-width: none !important;
  }

  .hero__title {
    max-width: none !important;
    font-size: clamp(25px, 6.6vw, 34px) !important;
  }

  .hero__visual {
    max-width: none !important;
  }
}


/* ===== v9 mobile hero title: one sentence per line ===== */
@media (max-width: 520px) {
  .hero__title {
    width: 100%;
    max-width: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
    font-size: clamp(17px, 4.55vw, 20px) !important;
    line-height: 1.75 !important;
    letter-spacing: 0 !important;
    text-align: center !important;
  }

  .hero__title-line {
    display: block !important;
    width: 100%;
    white-space: nowrap !important;
    text-align: center !important;
  }
}


/* ===== v10 mobile program-card title: one line ===== */
@media (max-width: 520px) {
  .program-card {
    padding: 22px 14px;
  }

  .program-card h3 {
    margin-bottom: 14px;
    font-size: 12.5px !important;
    line-height: 1.5 !important;
    letter-spacing: 0 !important;
    white-space: nowrap !important;
  }

  .program-card__number {
    width: 44px;
    height: 44px;
    margin-bottom: 16px;
    font-size: 15px;
  }

  .program-card p {
    font-size: 13px;
  }
}


/* ===== v11 mobile one-line section headings ===== */
@media (max-width: 520px) {
  /* TRAINING: 危機に強い組織をつくるための研修 */
  #training .section-heading h2 {
    font-size: 16.5px !important;
    line-height: 1.5 !important;
    letter-spacing: 0 !important;
    white-space: nowrap !important;
  }

  /* Feature-card headings such as 防災・危機管理を「机上」で終わらせない */
  #training .feature-card h3 {
    font-size: 13.5px !important;
    line-height: 1.5 !important;
    letter-spacing: 0 !important;
    white-space: nowrap !important;
  }

  /* PROGRAMS: このような研修・講演のご依頼をいただいています */
  #programs .section-heading h2 {
    font-size: 13.5px !important;
    line-height: 1.5 !important;
    letter-spacing: 0 !important;
    white-space: nowrap !important;
  }

  /* Give headings enough horizontal room on phones. */
  #training .section-heading,
  #programs .section-heading {
    width: 100%;
    max-width: none !important;
  }
}


/* ===== v12 desktop hero title size adjustment ===== */
@media (min-width: 981px) {
  .hero__lead {
    max-width: 1040px !important;
  }

  .hero__lead > div:first-child,
  .hero__title,
  .hero__actions {
    max-width: 1040px !important;
  }

  .hero__title {
    font-size: clamp(32px, 2.15vw, 39px) !important;
    line-height: 1.55 !important;
    letter-spacing: .02em !important;
  }

  .hero__title-line {
    white-space: nowrap !important;
  }
}


/* ==========================================================
   Ludique Renewal Site v13 - shared sub-page design
   ========================================================== */
.sub-hero {
  padding: 72px 0 58px;
  text-align: center;
  background:
    radial-gradient(circle at 92% 8%, rgba(231,119,114,.09), transparent 30%),
    linear-gradient(180deg,#fff,#fbfcfd);
  border-bottom: 1px solid #edf0f3;
}
.sub-hero h1 {
  margin: 0;
  color: var(--navy-deep);
  font-family: "Yu Mincho","Hiragino Mincho ProN",serif;
  font-size: clamp(36px,5vw,56px);
  line-height: 1.35;
}
.sub-hero__intro {
  max-width: 820px;
  margin: 17px auto 0;
  color: #65727f;
}
.page-section {
  padding: 72px 0;
}
.legacy-modern {
  max-width: 1020px;
  margin: 0 auto;
  color: #4f5f6d;
}
.legacy-modern h2,
.legacy-modern h3,
.legacy-modern h4 {
  color: var(--navy-deep);
  font-family: "Yu Mincho","Hiragino Mincho ProN",serif;
  line-height: 1.45;
}
.legacy-modern h2 {
  margin: 52px 0 22px;
  padding-bottom: 12px;
  font-size: 32px;
  border-bottom: 2px solid var(--navy);
}
.legacy-modern h3 {
  margin: 44px 0 18px;
  padding: 12px 18px;
  border-left: 5px solid var(--coral);
  background: #f7f9fb;
  font-size: 25px;
}
.legacy-modern h4 {
  margin: 34px 0 16px;
  font-size: 21px;
}
.legacy-modern p,
.legacy-modern blockquote {
  line-height: 1.9;
}
.legacy-modern blockquote {
  margin: 24px 0;
  padding: 30px;
  border: 1px solid #e1e6eb;
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(14,45,85,.04);
}
.legacy-modern ul,
.legacy-modern ol {
  padding-left: 24px;
}
.legacy-modern li {
  margin: 8px 0;
  line-height: 1.75;
}
.legacy-modern a {
  color: var(--navy);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legacy-modern strong {
  color: var(--navy-deep);
}
.legacy-modern img {
  max-width: 100%;
  height: auto;
  border-radius: 14px;
}
.legacy-modern table {
  width: 100%;
  margin: 26px 0;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border: 1px solid #e0e5ea;
  border-radius: 16px;
  background: #fff;
}
.legacy-modern td,
.legacy-modern th {
  padding: 16px;
  vertical-align: top;
  border-bottom: 1px solid #e8ecef;
}
.legacy-modern tr:last-child td {
  border-bottom: 0;
}
.legacy-modern hr {
  border: 0;
  border-top: 1px solid #e1e6eb;
  margin: 34px 0;
}
.legacy-modern ul li::marker {
  color: var(--coral);
}

/* Achievement page year headings */
.legacy-modern > p:has(+ ul) {
  margin-top: 40px;
  padding: 10px 16px;
  background: var(--navy);
  color: #fff;
  font-size: 24px;
  font-weight: 800;
  border-radius: 10px;
}
.legacy-modern > ul {
  list-style: none;
  padding: 0;
}
.legacy-modern > ul > li {
  padding: 18px 8px 18px 20px;
  border-bottom: 1px solid #e4e8ec;
}

/* Contact */
.contact-page-card {
  max-width: 900px;
  margin: 0 auto;
  padding: 36px;
  display: grid;
  grid-template-columns: 72px minmax(0,1fr) auto;
  gap: 24px;
  align-items: center;
  border-radius: 20px;
  background: var(--navy-deep);
  color: #fff;
}
.contact-page-card__icon {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.45);
  font-size: 28px;
}
.contact-page-card h2 {
  margin: 0 0 6px;
  color: #fff;
  font-size: 25px;
}
.contact-page-card p {
  margin: 4px 0;
  color: rgba(255,255,255,.78);
}
.contact-info-grid {
  max-width: 900px;
  margin: 22px auto 0;
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 12px;
}
.contact-info-grid article {
  padding: 22px;
  border: 1px solid #e1e6eb;
  border-radius: 14px;
  background: #fff;
}
.contact-info-grid span {
  display: block;
  margin-bottom: 8px;
  color: var(--coral-dark);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
}
.contact-info-grid strong {
  color: var(--navy);
  font-size: 13px;
}

/* Empty / preparing pages */
.coming-soon {
  max-width: 720px;
  margin: 0 auto;
  padding: 70px 30px;
  text-align: center;
  border: 1px solid #e0e5ea;
  border-radius: 20px;
  background: #fff;
}

@media (max-width: 820px) {
  .sub-hero {
    padding: 48px 0 42px;
  }
  .sub-hero h1 {
    font-size: 34px;
  }
  .page-section {
    padding: 52px 0;
  }
  .legacy-modern h2 {
    font-size: 27px;
  }
  .legacy-modern h3 {
    font-size: 22px;
  }
  .legacy-modern blockquote {
    padding: 22px 18px;
  }
  .legacy-modern table,
  .legacy-modern tbody,
  .legacy-modern tr,
  .legacy-modern td,
  .legacy-modern th {
    display: block;
    width: 100% !important;
  }
  .legacy-modern td,
  .legacy-modern th {
    border-right: 0 !important;
  }
  .contact-page-card {
    padding: 28px 22px;
    grid-template-columns: 1fr;
    text-align: center;
  }
  .contact-page-card__icon {
    margin: 0 auto;
  }
  .contact-info-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .sub-hero h1 {
    font-size: 30px;
  }
  .sub-hero__intro {
    font-size: 14px;
  }
  .legacy-modern {
    font-size: 14px;
  }
  .legacy-modern h2 {
    font-size: 24px;
  }
  .legacy-modern h3 {
    font-size: 20px;
  }
}


/* ==========================================================
   v14 - Profile page balance
   ========================================================== */

.profile-summary {
  max-width: 820px;
  margin: 0 auto 46px;
  padding: 30px 38px;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 54px;
  align-items: center;
  border: 1px solid #dfe5ea;
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(231,119,114,.055), rgba(255,255,255,0) 55%),
    #fff;
  box-shadow: 0 12px 34px rgba(14,45,85,.06);
}

.profile-summary__photo {
  width: 280px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 18px;
  background: #f8f5f4;
}

.profile-summary__photo img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
}

.profile-summary__meta {
  min-width: 0;
  padding: 12px 0;
  text-align: left;
}

.profile-summary__label {
  margin: 0;
  color: var(--navy);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.85;
  letter-spacing: .025em;
}

.profile-summary__line {
  width: 56px;
  height: 2px;
  margin: 24px 0 20px;
  background: var(--coral);
}

.profile-summary__name {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  color: var(--navy-deep) !important;
  font-family: "Yu Mincho","Hiragino Mincho ProN",serif !important;
  font-size: 38px !important;
  font-weight: 600;
  line-height: 1.35 !important;
  letter-spacing: .08em;
}

/* Remaining legacy table becomes normal one-column content. */
.profile-summary + table {
  border: 0;
  box-shadow: none;
  background: transparent;
}

.profile-summary + table td,
.profile-summary + table th {
  display: block;
  width: 100% !important;
  padding-left: 0;
  padding-right: 0;
  border: 0;
}

@media (max-width: 820px) {
  .profile-summary {
    max-width: 520px;
    padding: 26px 24px 30px;
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }

  .profile-summary__photo {
    width: min(240px, 74vw);
  }

  .profile-summary__meta {
    text-align: center;
  }

  .profile-summary__label {
    font-size: 15px;
  }

  .profile-summary__line {
    margin: 20px auto 18px;
  }

  .profile-summary__name {
    font-size: 32px !important;
  }
}

@media (max-width: 520px) {
  .profile-summary {
    margin-bottom: 34px;
    padding: 22px 18px 26px;
  }

  .profile-summary__photo {
    width: min(210px, 68vw);
  }

  .profile-summary__label {
    font-size: 13.5px;
    line-height: 1.75;
  }

  .profile-summary__name {
    font-size: 28px !important;
  }
}


/* ===== v16 page-top button reset ===== */
#page-top-anchor {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

button.page-top {
  border: 0;
  padding: 0;
  font: inherit;
  cursor: pointer;
}


/* ==========================================================
   v17 - Profile "研修で大切にしていること" alignment fix
   ========================================================== */

.profile-principles {
  width: 100%;
  max-width: 900px;
  margin: 38px auto 44px;
  padding: 30px 34px;
  border: 1px solid #e1e6eb;
  border-radius: 18px;
  background: #f7f9fb;
  box-shadow: 0 8px 26px rgba(14,45,85,.04);
}

.profile-principles h3 {
  margin: 0 0 22px !important;
  padding: 0 0 14px 18px !important;
  border-left: 4px solid var(--coral) !important;
  border-bottom: 1px solid #dfe5ea;
  background: transparent !important;
  color: var(--navy-deep) !important;
  font-family: "Yu Mincho","Hiragino Mincho ProN",serif !important;
  font-size: 25px !important;
  line-height: 1.45 !important;
}

.profile-principles ul {
  margin: 0;
  padding-left: 24px;
}

.profile-principles li {
  margin: 13px 0;
  line-height: 1.8;
}

.profile-principles li::marker {
  color: var(--coral);
}

.profile-principles p {
  margin: 22px 0 0;
  line-height: 1.9;
}

@media (max-width: 820px) {
  .profile-principles {
    max-width: 100%;
    margin: 30px auto 36px;
    padding: 25px 22px;
  }

  .profile-principles h3 {
    font-size: 22px !important;
  }
}

@media (max-width: 520px) {
  .profile-principles {
    padding: 22px 18px;
  }

  .profile-principles h3 {
    padding-left: 13px !important;
    font-size: 19px !important;
  }
}


/* ==========================================================
   v18 - Flatten "研修で大切にしていること"
   Match the visual rhythm of "実績（組織向け）" and neighboring sections.
   ========================================================== */

.profile-principles-flat {
  width: 100%;
  max-width: none;
  margin: 34px 0 42px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.profile-principles-flat h3 {
  margin: 44px 0 18px !important;
  padding: 12px 18px !important;
  border-left: 5px solid var(--coral) !important;
  border-bottom: 0 !important;
  background: #f7f9fb !important;
  color: var(--navy-deep) !important;
  font-family: "Yu Mincho","Hiragino Mincho ProN",serif !important;
  font-size: 25px !important;
  line-height: 1.45 !important;
}

.profile-principles-flat ul {
  margin: 0;
  padding-left: 24px;
}

.profile-principles-flat li {
  margin: 8px 0;
  line-height: 1.75;
}

.profile-principles-flat li::marker {
  color: var(--coral);
}

.profile-principles-flat p {
  margin: 20px 0 0;
  line-height: 1.9;
}

/* Neutralize the old floating-card rules from v17. */
.profile-principles {
  display: contents !important;
}

@media (max-width: 820px) {
  .profile-principles-flat {
    margin: 28px 0 36px;
  }

  .profile-principles-flat h3 {
    font-size: 22px !important;
  }
}

@media (max-width: 520px) {
  .profile-principles-flat h3 {
    padding-left: 14px !important;
    font-size: 20px !important;
  }
}


/* ==========================================================
   v19 - Profile principles content/alignment correction
   ========================================================== */

.profile-principles-flat {
  margin-top: 34px;
}

.profile-principles-flat ul {
  margin: 0;
  padding-left: 24px;
}

.profile-principles-flat li {
  margin: 10px 0;
  padding: 0;
}

.profile-principles-flat li p {
  margin: 0;
  padding: 0;
  line-height: 1.8;
}

.profile-principles-flat__note {
  margin: 22px 0 0 !important;
  padding: 0 !important;
  line-height: 1.9 !important;
}

.profile-principles-flat__note strong {
  color: var(--navy-deep);
  font-weight: 800;
}


/* ==========================================================
   v20 - Navigation: remove Course / add Privacy Policy
   ========================================================== */
.global-nav {
  gap: 2px;
}

.global-nav a {
  padding-left: 11px;
  padding-right: 11px;
}

.global-nav a[href="privacypolicy.html"] {
  min-width: 138px;
}

.global-nav a[href="privacypolicy.html"] span {
  white-space: nowrap;
}

.removed-course-link {
  color: inherit;
  text-decoration: none;
}

@media (max-width: 1100px) {
  .global-nav a[href="privacypolicy.html"] {
    min-width: auto;
  }
}

@media (max-width: 820px) {
  .global-nav a[href="privacypolicy.html"] {
    min-width: 0;
  }
}


/* ==========================================================
   v21 - Corporate training fee section alignment
   ========================================================== */

.training-fee {
  margin: 8px 0 52px;
}

.training-fee__intro {
  margin: 0 0 22px !important;
  color: #596775;
  line-height: 1.9;
}

.training-fee__table {
  max-width: 760px;
  margin: 0 0 18px;
  overflow: hidden;
  border: 1px solid #dfe5ea;
  border-radius: 14px;
  background: #fff;
}

.training-fee__row {
  min-height: 66px;
  padding: 14px 22px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 24px;
  align-items: center;
  border-bottom: 1px solid #e5e9ed;
}

.training-fee__row:last-child {
  border-bottom: 0;
}

.training-fee__label {
  color: var(--navy-deep);
  font-size: 16px;
}

.training-fee__label strong {
  color: var(--navy-deep);
  font-size: 17px;
}

.training-fee__label span {
  margin-left: 7px;
  color: #667482;
}

.training-fee__price {
  color: var(--navy);
  font-size: 18px;
  font-weight: 800;
  text-align: right;
  white-space: nowrap;
}

.training-fee__notes {
  margin: 16px 0 34px;
}

.training-fee__notes p {
  margin: 5px 0 !important;
  color: #6b7782;
  font-size: 13px;
  line-height: 1.75;
}

.training-fee__regional {
  max-width: 900px;
  margin-top: 32px;
  padding: 26px 30px;
  border-left: 4px solid var(--coral);
  background: #f7f9fb;
}

.training-fee__regional h4 {
  margin: 0 0 14px !important;
  color: var(--navy-deep) !important;
  font-family: "Yu Mincho","Hiragino Mincho ProN",serif !important;
  font-size: 21px !important;
  line-height: 1.45 !important;
}

.training-fee__regional p {
  margin: 8px 0 !important;
  color: #4f5f6d;
  line-height: 1.85;
}

.training-fee__regional strong {
  color: var(--navy-deep);
  font-weight: 800;
}

@media (max-width: 820px) {
  .training-fee__table {
    max-width: 100%;
  }

  .training-fee__row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 15px 18px;
  }

  .training-fee__price {
    text-align: left;
  }

  .training-fee__regional {
    max-width: 100%;
    padding: 22px 20px;
  }
}

@media (max-width: 520px) {
  .training-fee__label strong,
  .training-fee__price {
    font-size: 16px;
  }

  .training-fee__label span {
    display: inline;
    margin-left: 5px;
    font-size: 13px;
  }

  .training-fee__regional h4 {
    font-size: 19px !important;
  }
}


/* ===== v23 contact AREA two-line layout ===== */
.contact-info-grid article strong {
  line-height: 1.9;
}


/* ===== v27 introduction page note ===== */
.sub-hero__note {
  margin: 8px auto 0;
  color: #7a858f;
  font-size: 13px;
  line-height: 1.7;
  text-align: center;
}

@media (max-width: 520px) {
  .sub-hero__note {
    font-size: 12px;
    padding: 0 8px;
  }
}
