/* final-fixes.css
   Consolidated targeted fixes from v124, v125, and v126.
   Purpose:
   - fixed headers on top/about pages
   - improved mobile top-page layout
   - unified floating CTA behavior
   - fixed mobile Why rokana cards
   - fixed mobile organization section
*/

/* ===== v124-fixes.css ===== */
/* v124 targeted fixes
   - fixed About header behavior
   - unified floating CTA styling across top/about pages
   - strengthened mobile layout for top pages
*/

.about-page .site-header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  inset: 0 0 auto 0 !important;
  z-index: 100 !important;
  width: 100% !important;
}

.about-page {
  padding-top: 0;
}

.floating-cta {
  position: fixed !important;
  right: 24px !important;
  bottom: calc(24px + env(safe-area-inset-bottom)) !important;
  z-index: 90 !important;
  display: block !important;
  transform: translateY(calc(100% + 48px)) !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transition: transform .3s ease, opacity .3s ease !important;
}

.floating-cta.show {
  transform: none !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

.floating-cta > a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  min-height: 48px !important;
  padding: 0 22px !important;
  border-radius: 999px !important;
  background: var(--navy, var(--text)) !important;
  color: #fff !important;
  box-shadow: 0 16px 40px rgba(23,49,79,.22) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  letter-spacing: .08em !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}

.floating-cta > a::after {
  content: "→" !important;
  font-weight: 400 !important;
  font-size: 13px !important;
  transform: translateY(-1px) !important;
}

.floating-cta > a:hover {
  background: var(--teal, var(--accent)) !important;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

.problem-svg {
  max-width: 100%;
  height: auto;
}

@media (max-width: 760px) {
  body:not(.about-page) .site-header .inner {
    width: 100% !important;
    max-width: none !important;
    height: 60px !important;
    padding-left: 18px !important;
    padding-right: 18px !important;
    gap: 10px !important;
  }

  body:not(.about-page) .brand-logo img {
    width: 104px !important;
    max-width: 104px !important;
    height: auto !important;
  }

  body:not(.about-page) .site-nav {
    display: none !important;
  }

  body:not(.about-page) .header-cta {
    margin-left: auto !important;
    padding: 8px 12px !important;
    font-size: 12px !important;
    letter-spacing: .04em !important;
    white-space: nowrap !important;
  }

  body:not(.about-page) .header-lang {
    display: inline-flex !important;
    font-size: 12px !important;
    white-space: nowrap !important;
  }

  body:not(.about-page) .hero {
    padding-top: 84px !important;
    padding-bottom: 76px !important;
  }

  body:not(.about-page) .hero-grid,
  body:not(.about-page) .problem-grid,
  body:not(.about-page) .consult-box {
    display: grid !important;
    grid-template-columns: 1fr !important;
    width: min(calc(100% - 36px), var(--maxw, 1120px)) !important;
    max-width: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
    gap: 32px !important;
  }

  body:not(.about-page) .container,
  body:not(.about-page) .site-footer .inner {
    width: min(calc(100% - 36px), var(--maxw, 1120px)) !important;
    max-width: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  body:not(.about-page) .hero-copy {
    max-width: 100% !important;
    font-size: clamp(26px, 8vw, 36px) !important;
    line-height: 1.65 !important;
    overflow-wrap: anywhere !important;
  }

  body:not(.about-page) .problem-svg-wrap {
    width: 100% !important;
    max-width: 420px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  body:not(.about-page) .problem-svg {
    width: 100% !important;
    height: auto !important;
  }

  body:not(.about-page) .exp-cards,
  body:not(.about-page) .aud-grid,
  body:not(.about-page) .outcome-grid,
  body:not(.about-page) .form-grid {
    grid-template-columns: 1fr !important;
  }

  body:not(.about-page) .session-step {
    grid-template-columns: 1fr !important;
  }

  .floating-cta {
    right: 16px !important;
    bottom: calc(16px + env(safe-area-inset-bottom)) !important;
  }

  .floating-cta > a {
    min-height: 46px !important;
    padding: 0 18px !important;
    font-size: 13px !important;
  }
}

@media (max-width: 760px) {
  .about-page .header-inner {
    width: min(calc(100% - 36px), var(--max, 1120px)) !important;
    min-height: 60px !important;
    gap: 14px !important;
  }

  .about-page .logo img {
    height: 34px !important;
  }

  .about-page .nav {
    gap: 12px !important;
    font-size: 12px !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
  }

  .about-page .nav::-webkit-scrollbar {
    display: none !important;
  }

  .about-page .nav-button {
    padding: 7px 11px !important;
    min-height: 32px !important;
  }
}

/* ===== v125-fixes.css ===== */
/* v125 targeted fixes
   - fixed top-page header as fixed, not sticky
   - fixed mobile Why rokana card layout
   - unified floating CTA size/arrow behavior
*/

.site-header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  inset: 0 0 auto 0 !important;
  z-index: 100 !important;
  width: 100% !important;
}

/* Prevent double arrows when About uses the same floating CTA shell */
.floating-cta::after {
  content: none !important;
  display: none !important;
}

.floating-cta {
  left: auto !important;
  width: auto !important;
  max-width: calc(100vw - 32px) !important;
}

.floating-cta > a {
  width: auto !important;
  max-width: 100% !important;
}

@media (max-width: 760px) {
  /* Keep floating CTA as the same compact right-bottom button on every page */
  .floating-cta {
    left: auto !important;
    right: 16px !important;
    bottom: calc(16px + env(safe-area-inset-bottom)) !important;
    width: auto !important;
    max-width: calc(100vw - 32px) !important;
  }

  .floating-cta > a {
    width: auto !important;
    min-width: 0 !important;
    min-height: 46px !important;
    padding: 0 18px !important;
    font-size: 13px !important;
    border-radius: 999px !important;
  }

  /* Why rokana: show cards one by one, not three narrow columns */
  body:not(.about-page) #why-rokana .exp-cards {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    width: 100% !important;
  }

  body:not(.about-page) #why-rokana .exp-card {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    min-height: 0 !important;
    padding: 28px 22px !important;
    text-align: center !important;
  }

  body:not(.about-page) #why-rokana .exp-card .e-icon-circle {
    display: flex !important;
    width: 74px !important;
    height: 74px !important;
    margin: 0 auto 18px !important;
    align-items: center !important;
    justify-content: center !important;
  }

  body:not(.about-page) #why-rokana .exp-card h3 {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    min-height: 0 !important;
    margin: 0 0 14px !important;
    text-align: center !important;
    font-size: 20px !important;
    line-height: 1.65 !important;
    letter-spacing: .04em !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
  }

  body:not(.about-page) #why-rokana .exp-card p {
    display: block !important;
    width: 100% !important;
    max-width: 32em !important;
    margin: 0 auto !important;
    text-align: left !important;
    font-size: 14px !important;
    line-height: 2 !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
  }

  body:not(.about-page) #why-rokana .exp-card svg {
    margin: 0 auto !important;
  }
}

/* ===== v126-fixes.css ===== */
/* v126 targeted mobile fixes
   - fixed organization section mobile layout
   - kept icon above text for readability
   - reduced bottom overlap with floating CTA
*/

@media (max-width: 760px) {
  body:not(.about-page) #for-organizations {
    padding: 72px 0 110px !important;
  }

  body:not(.about-page) #for-organizations .company-card {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    padding: 34px 22px 38px !important;
    text-align: left !important;
  }

  body:not(.about-page) #for-organizations .company-card > svg {
    display: block !important;
    width: 78px !important;
    height: 78px !important;
    margin: 0 auto 24px !important;
  }

  body:not(.about-page) #for-organizations .company-card h3 {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 0 18px !important;
    text-align: center !important;
    font-size: 21px !important;
    line-height: 1.7 !important;
    letter-spacing: .03em !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
  }

  body:not(.about-page) #for-organizations .company-card p {
    display: block !important;
    width: 100% !important;
    max-width: 34em !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: left !important;
    font-size: 14px !important;
    line-height: 2.05 !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
  }

  body:not(.about-page) #for-organizations .company-card p + p {
    margin-top: 1.1em !important;
  }
}

/* v131: readable copy lists */
.copy-list {
  list-style: none;
  max-width: 760px;
  margin: 24px auto 28px;
  display: grid;
  gap: 10px;
  padding: 0;
}

.copy-list li {
  position: relative;
  padding-left: 28px;
  color: var(--ink-soft, #55636d);
  font-size: 15px;
  line-height: 1.95;
}

.copy-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: .95em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal, #5f9ea0);
}

.issue-copy-list {
  margin-top: 18px;
  margin-bottom: 28px;
}

@media (max-width: 760px) {
  .copy-list {
    margin: 20px 0 24px;
    gap: 8px;
  }

  .copy-list li {
    font-size: 14px;
    line-height: 1.9;
  }
}


/* ===== v141 B2B LP refinements =====
   - What We Do: remove connector lines and separate step cards
   - Why rokana: place icon/image area above copy for clearer card hierarchy
*/
#what-we-do .session-path {
  gap: 24px !important;
  max-width: 900px !important;
}

#what-we-do .session-step {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 16px !important;
  padding: 30px 32px 32px !important;
  position: relative !important;
}

#what-we-do .session-step::after {
  content: none !important;
  display: none !important;
}

#what-we-do .session-no {
  position: static !important;
  margin: 0 0 2px !important;
  width: 54px !important;
  height: 54px !important;
  flex: 0 0 auto !important;
}

#what-we-do .session-content h3 {
  margin-top: 0 !important;
  margin-bottom: 10px !important;
}

#what-we-do .session-content p {
  max-width: 760px !important;
}

#why-rokana .exp-cards {
  gap: 26px !important;
  align-items: stretch !important;
}

#why-rokana .exp-card {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 0 !important;
  padding: 34px 28px 32px !important;
  text-align: center !important;
  min-height: 100% !important;
}

#why-rokana .exp-card .e-icon-circle,
#why-rokana .e-icon-circle {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 72px !important;
  height: 72px !important;
  margin: 0 auto 24px !important;
  grid-column: auto !important;
  grid-row: auto !important;
  align-self: center !important;
  flex: 0 0 auto !important;
}

#why-rokana .exp-card .e-icon-circle svg,
#why-rokana .e-icon-circle svg {
  width: 32px !important;
  height: 32px !important;
}

#why-rokana .exp-card h3,
#why-rokana h3 {
  display: block !important;
  width: 100% !important;
  min-height: 3.25em !important;
  margin: 0 0 16px !important;
  text-align: center !important;
  line-height: 1.62 !important;
  align-self: auto !important;
  grid-column: auto !important;
  grid-row: auto !important;
}

#why-rokana .exp-card > p {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  text-align: left !important;
  line-height: 1.95 !important;
  grid-column: auto !important;
  grid-row: auto !important;
}

@media (max-width: 760px) {
  #what-we-do .session-path {
    gap: 18px !important;
  }

  #what-we-do .session-step {
    padding: 26px 22px 28px !important;
    gap: 14px !important;
  }

  #why-rokana .exp-cards {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  #why-rokana .exp-card {
    padding: 28px 22px !important;
  }

  #why-rokana .exp-card .e-icon-circle,
  #why-rokana .e-icon-circle {
    width: 74px !important;
    height: 74px !important;
    margin-bottom: 18px !important;
  }

  #why-rokana .exp-card h3,
  #why-rokana h3 {
    min-height: 0 !important;
    margin-bottom: 14px !important;
    font-size: 20px !important;
    line-height: 1.65 !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
  }

  #why-rokana .exp-card > p {
    max-width: 32em !important;
    margin-left: auto !important;
    margin-right: auto !important;
    font-size: 14px !important;
    line-height: 2 !important;
  }
}


/* ===== v142 content and card refinements =====
   - FAQ answers now contain multiple paragraphs
   - Why rokana headings use intentional line breaks
*/
.faq-a p {
  margin: 0;
}

.faq-a p + p {
  margin-top: 0.95em;
}

#why-rokana .exp-card h3 br {
  display: block;
}

@media (max-width: 760px) {
  .faq-a p + p {
    margin-top: 0.85em;
  }
}


/* ===== v143: floating CTA wording/size normalization =====
   Keep the floating CTA identical on top/about pages.
   About pages previously styled the wrapper itself, making the button larger.
*/
.floating-cta {
  padding: 0 !important;
  min-height: 0 !important;
  gap: 0 !important;
  background: transparent !important;
  color: inherit !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  letter-spacing: normal !important;
  box-sizing: border-box !important;
}

.floating-cta:hover {
  transform: none !important;
  background: transparent !important;
  box-shadow: none !important;
}

.floating-cta.show:hover {
  transform: none !important;
}

.floating-cta > a {
  box-sizing: border-box !important;
  min-height: 48px !important;
  padding: 0 22px !important;
}

@media (max-width: 760px) {
  .floating-cta > a {
    min-height: 46px !important;
    padding: 0 18px !important;
  }
}


/* ===== v144: B2C-first floating CTA wording support =====
   JP uses 「相談する」 and EN uses "Talk with us"; keep both compact and identical across pages. */
.floating-cta > a {
  white-space: nowrap !important;
}


/* ===== v146: softer lines and broader B2C target wording =====
   Make decorative outlines/card borders recede into the background.
*/
.hero::before {
  opacity: 0.46 !important;
  background: linear-gradient(135deg, rgba(44,110,106,.052), rgba(23,49,79,.020)) !important;
  border-color: rgba(44,110,106,.048) !important;
}

.hero::after {
  opacity: 0.48 !important;
  border-color: rgba(23,49,79,.040) !important;
  background: radial-gradient(circle at 42% 42%, rgba(255,255,255,.58), transparent 58%) !important;
}

#why-rokana .exp-card {
  border-color: rgba(23,49,79,.060) !important;
  box-shadow: 0 18px 48px rgba(23,49,79,.045) !important;
}

#why-rokana .exp-card .e-icon-circle,
#why-rokana .e-icon-circle {
  border-color: rgba(23,49,79,.060) !important;
  background: rgba(248,250,251,.62) !important;
}

@media (min-width: 761px) {
  .hero h1 {
    max-width: 760px !important;
  }
}

@media (max-width: 760px) {
  .hero h1 {
    font-size: clamp(30px, 8.2vw, 42px) !important;
    line-height: 1.22 !important;
  }
}

/* ===== v147: restore About page section boundaries =====
   v146 softened decorative lines on the top page, but About still needs
   visible section separation. Scope this only to .about-page so Hero/Why
   line adjustments remain unchanged.
*/
.about-page main {
  background: var(--white) !important;
}

.about-page .philosophy {
  background: var(--white) !important;
}

.about-page .perspective {
  position: relative !important;
  background: linear-gradient(180deg, #f7faf9 0%, #f1f7f8 100%) !important;
  border-top: 1px solid rgba(231, 236, 236, 0.95) !important;
  border-bottom: 1px solid rgba(215, 226, 228, 0.95) !important;
}

.about-page .founder {
  position: relative !important;
  background: var(--white) !important;
  border-top: 1px solid rgba(231, 236, 236, 0.9) !important;
}

.about-page .founder::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 50% !important;
  width: min(1120px, calc(100% - 48px)) !important;
  height: 1px !important;
  transform: translateX(-50%) !important;
  background: linear-gradient(90deg, transparent 0%, rgba(216, 199, 163, 0.72) 18%, rgba(216, 199, 163, 0.72) 82%, transparent 100%) !important;
}

.about-page .profile {
  background: linear-gradient(180deg, #fafaf7 0%, #f4f8f8 100%) !important;
  border-top: 1px solid rgba(231, 236, 236, 0.92) !important;
}

.about-page .profile-card {
  box-shadow: 0 24px 70px rgba(47, 63, 70, 0.06) !important;
}

@media (max-width: 720px) {
  .about-page .founder::before {
    width: min(100% - 32px, 1120px) !important;
  }
}

/* ===== v148: soften About page section separators =====
   Keep the About page boundaries visible, but reduce their visual weight so
   they feel consistent with the quieter line treatment on the index page. */
.about-page .perspective {
  border-top-color: rgba(231, 236, 236, 0.42) !important;
  border-bottom-color: rgba(215, 226, 228, 0.42) !important;
}

.about-page .founder {
  border-top-color: rgba(231, 236, 236, 0.34) !important;
}

.about-page .founder::before {
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(216, 199, 163, 0.22) 22%,
    rgba(216, 199, 163, 0.22) 78%,
    transparent 100%) !important;
}

.about-page .profile {
  border-top-color: rgba(231, 236, 236, 0.36) !important;
}

.about-page .profile-card {
  border-color: rgba(231, 236, 236, 0.52) !important;
  box-shadow: 0 22px 60px rgba(47, 63, 70, 0.045) !important;
}


/* ===== v150: mobile readability + mobile navigation =====
   Fix oversized/cut headings on smartphones and add a compact mobile menu. */
.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(23,49,79,.18);
  background: rgba(255,255,255,.86);
  color: var(--navy, #17314F);
  border-radius: 999px;
  min-height: 38px;
  padding: 0 13px;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  cursor: pointer;
  white-space: nowrap;
}

.menu-toggle-bars,
.menu-toggle-bars::before,
.menu-toggle-bars::after {
  display: block;
  width: 15px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}

.menu-toggle-bars {
  position: relative;
}

.menu-toggle-bars::before,
.menu-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle-bars::before { top: -5px; }
.menu-toggle-bars::after { top: 5px; }

.menu-toggle[aria-expanded="true"] .menu-toggle-bars {
  background: transparent;
}
.menu-toggle[aria-expanded="true"] .menu-toggle-bars::before {
  transform: translateY(5px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] .menu-toggle-bars::after {
  transform: translateY(-5px) rotate(-45deg);
}

@media (max-width: 760px) {
  /* Typography: prevent Japanese headings from overflowing the viewport. */
  body:not(.about-page) .hero h1 {
    max-width: 100% !important;
    font-size: clamp(25px, 6.6vw, 31px) !important;
    line-height: 1.48 !important;
    letter-spacing: .035em !important;
    word-break: normal !important;
    overflow-wrap: anywhere !important;
    white-space: normal !important;
  }

  body:not(.about-page) .section-copy h2,
  body:not(.about-page) .company-card h2,
  body:not(.about-page) #issue h2,
  body:not(.about-page) #what-we-do h2 {
    max-width: 100% !important;
    font-size: clamp(24px, 6.4vw, 29px) !important;
    line-height: 1.68 !important;
    letter-spacing: .02em !important;
    word-break: normal !important;
    overflow-wrap: anywhere !important;
    white-space: normal !important;
  }

  body:not(.about-page) .section-copy h2 br,
  body:not(.about-page) #issue h2 br,
  body:not(.about-page) #what-we-do h2 br {
    display: none !important;
  }

  body:not(.about-page) .hero-copy {
    font-size: clamp(30px, 7.8vw, 35px) !important;
    line-height: 1.62 !important;
    letter-spacing: .025em !important;
  }

  body:not(.about-page) .hero-body,
  body:not(.about-page) .lead,
  body:not(.about-page) .copy-list li,
  body:not(.about-page) .session-content p,
  body:not(.about-page) .aud-card p,
  body:not(.about-page) .faq-a {
    word-break: normal !important;
    overflow-wrap: anywhere !important;
  }

  body:not(.about-page) .section {
    padding-top: 88px !important;
    padding-bottom: 88px !important;
  }

  body:not(.about-page) .hero {
    padding-top: 92px !important;
  }

  /* Mobile header navigation */
  .site-header,
  .site-header .inner,
  .site-header .header-inner {
    overflow: visible !important;
  }

  body:not(.about-page) .site-header .inner {
    position: relative !important;
    height: 62px !important;
    gap: 8px !important;
  }

  .about-page .header-inner {
    position: relative !important;
  }

  .menu-toggle {
    display: inline-flex !important;
    flex: 0 0 auto !important;
  }

  .menu-toggle-text {
    display: none !important;
  }

  body:not(.about-page) .site-nav,
  .about-page .site-header .nav {
    display: none !important;
  }

  body.menu-open:not(.about-page) .site-nav,
  .about-page.menu-open .site-header .nav {
    display: grid !important;
    position: absolute !important;
    left: 18px !important;
    right: 18px !important;
    top: calc(100% + 10px) !important;
    z-index: 140 !important;
    gap: 4px !important;
    padding: 14px !important;
    margin: 0 !important;
    border: 1px solid rgba(23,49,79,.10) !important;
    border-radius: 18px !important;
    background: rgba(255,255,255,.98) !important;
    box-shadow: 0 18px 48px rgba(23,49,79,.14) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    overflow: visible !important;
    white-space: normal !important;
  }

  body.menu-open:not(.about-page) .site-nav a,
  .about-page.menu-open .site-header .nav a {
    display: block !important;
    width: 100% !important;
    padding: 10px 12px !important;
    border-radius: 12px !important;
    color: var(--navy, #17314F) !important;
    font-size: 14px !important;
    line-height: 1.45 !important;
    letter-spacing: .04em !important;
    text-align: left !important;
    background: transparent !important;
    border: 0 !important;
  }

  body.menu-open:not(.about-page) .site-nav a:hover,
  .about-page.menu-open .site-header .nav a:hover,
  body.menu-open:not(.about-page) .site-nav a.current,
  .about-page.menu-open .site-header .nav a.current {
    background: rgba(44,110,106,.07) !important;
    color: var(--navy, #17314F) !important;
  }

  body.menu-open:not(.about-page) .nav-link.current::after,
  .about-page.menu-open .site-header .nav a.current::after {
    display: none !important;
  }

  body:not(.about-page) .header-cta {
    margin-left: auto !important;
    padding: 8px 12px !important;
    min-height: 38px !important;
  }

  body:not(.about-page) .header-lang {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 38px !important;
    padding: 0 2px !important;
  }

  .about-page .logo img {
    height: 34px !important;
    width: auto !important;
  }

  .about-page .header-inner {
    min-height: 62px !important;
    gap: 10px !important;
  }
}

@media (max-width: 390px) {
  body:not(.about-page) .brand-logo img {
    width: 98px !important;
    max-width: 98px !important;
  }
  body:not(.about-page) .header-cta {
    font-size: 11px !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
}

/* ===== v151: make the mobile hero descriptor compact =====
   The line "海外で働く人・海外事業に携わる方のためのコーチング" is a descriptor,
   not the main hero message, so it should not compete with the main copy on mobile. */
@media (max-width: 760px) {
  body:not(.about-page) .hero h1 {
    font-size: clamp(15px, 4.2vw, 18px) !important;
    line-height: 1.8 !important;
    letter-spacing: .055em !important;
    font-weight: 600 !important;
    color: var(--ink-soft, #5d6875) !important;
    margin-bottom: 22px !important;
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
  }
}

@media (max-width: 390px) {
  body:not(.about-page) .hero h1 {
    font-size: clamp(14px, 3.9vw, 16px) !important;
    line-height: 1.85 !important;
    letter-spacing: .045em !important;
  }
}


/* ===== v152: mobile hero polish + section heading consistency =====
   - keep the hero descriptor compact and clean on mobile
   - keep the main hero message on intentional two lines
   - unify mobile section heading sizes from Problem onward */
.nowrap {
  white-space: nowrap;
}

@media (max-width: 760px) {
  body:not(.about-page) .hero h1 {
    max-width: 22em !important;
    font-size: clamp(14px, 3.9vw, 16px) !important;
    line-height: 1.75 !important;
    letter-spacing: .045em !important;
    margin-bottom: 18px !important;
    overflow-wrap: normal !important;
    word-break: keep-all !important;
    line-break: strict !important;
  }

  body:not(.about-page) .hero-copy {
    font-size: clamp(25px, 7.4vw, 31px) !important;
    line-height: 1.48 !important;
    letter-spacing: .01em !important;
    margin-bottom: 28px !important;
    max-width: 100% !important;
  }

  body:not(.about-page) .hero-copy .hero-line {
    display: block !important;
    white-space: nowrap !important;
  }

  body:not(.about-page) .section-copy h2,
  body:not(.about-page) .problem-copy h2 {
    max-width: 100% !important;
    font-size: clamp(25px, 7vw, 29px) !important;
    line-height: 1.52 !important;
    letter-spacing: .015em !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: keep-all !important;
  }

  body:not(.about-page) .section-copy h2 br,
  body:not(.about-page) .problem-copy h2 br {
    display: block !important;
  }
}

@media (max-width: 390px) {
  body:not(.about-page) .hero h1 {
    font-size: 14px !important;
    line-height: 1.72 !important;
  }

  body:not(.about-page) .hero-copy {
    font-size: clamp(24px, 7.1vw, 29px) !important;
    line-height: 1.46 !important;
  }

  body:not(.about-page) .section-copy h2,
  body:not(.about-page) .problem-copy h2 {
    font-size: clamp(24px, 6.8vw, 27px) !important;
    line-height: 1.5 !important;
  }
}


/* ===== v153: mobile typography downsize and CTA consistency =====
   Align CTAs to the smaller mobile size and reduce oversized mobile headings,
   especially the organization introduction section. */
@media (max-width: 760px) {
  /* CTA text: align to the smaller size used by the compact header/floating CTA */
  body:not(.about-page) .btn-cta,
  body:not(.about-page) .header-cta,
  body:not(.about-page) .floating-cta > a,
  .about-page .nav-button,
  .about-page .floating-cta > a {
    font-size: 12px !important;
    line-height: 1 !important;
    letter-spacing: .045em !important;
  }

  body:not(.about-page) .btn-cta {
    min-height: 44px !important;
    padding: 0 22px !important;
    gap: 9px !important;
  }

  body:not(.about-page) .floating-cta > a,
  .about-page .floating-cta > a {
    min-height: 44px !important;
    padding: 0 16px !important;
  }

  /* Hero: reduce the visual weight on smartphones */
  body:not(.about-page) .hero-copy {
    font-size: clamp(23px, 6.5vw, 28px) !important;
    line-height: 1.5 !important;
    letter-spacing: .006em !important;
    margin-bottom: 24px !important;
  }

  body:not(.about-page) .hero h1 {
    font-size: clamp(13px, 3.6vw, 15px) !important;
    line-height: 1.7 !important;
    margin-bottom: 16px !important;
  }

  body:not(.about-page) .hero-body,
  body:not(.about-page) .lead,
  body:not(.about-page) .lead p,
  body:not(.about-page) .section-copy p,
  body:not(.about-page) .session-content p,
  body:not(.about-page) .aud-card p,
  body:not(.about-page) .outcome-list li,
  body:not(.about-page) .faq-a,
  body:not(.about-page) .copy-list li {
    font-size: 14px !important;
    line-height: 1.9 !important;
  }

  /* Mobile section headings: keep hierarchy but reduce overall scale */
  body:not(.about-page) .section-copy h2,
  body:not(.about-page) .problem-copy h2 {
    font-size: clamp(22px, 6.1vw, 26px) !important;
    line-height: 1.52 !important;
    letter-spacing: .01em !important;
  }

  body:not(.about-page) .session-content h3,
  body:not(.about-page) .aud-card h3,
  body:not(.about-page) .outcome-card h3,
  body:not(.about-page) #why-rokana .exp-card h3,
  body:not(.about-page) #for-organizations .company-card h3 {
    font-size: 18px !important;
    line-height: 1.65 !important;
  }

  body:not(.about-page) .eyebrow,
  body:not(.about-page) .hero-label {
    font-size: 12px !important;
    letter-spacing: .24em !important;
  }

  /* Organization introduction section: was too large on mobile */
  body:not(.about-page) #for-organizations .company-card,
  body:not(.about-page) .company-card {
    padding: 28px 20px 32px !important;
  }

  body:not(.about-page) #for-organizations h2,
  body:not(.about-page) #for-organizations .section-copy h2,
  body:not(.about-page) #for-organizations .company-card h2,
  body:not(.about-page) .company-card h2 {
    font-size: clamp(21px, 5.8vw, 25px) !important;
    line-height: 1.55 !important;
    letter-spacing: .01em !important;
  }

  body:not(.about-page) #for-organizations .company-card p,
  body:not(.about-page) .company-card p {
    font-size: 14px !important;
    line-height: 1.9 !important;
  }
}

@media (max-width: 390px) {
  body:not(.about-page) .hero-copy {
    font-size: clamp(22px, 6.2vw, 26px) !important;
    line-height: 1.48 !important;
  }

  body:not(.about-page) .section-copy h2,
  body:not(.about-page) .problem-copy h2 {
    font-size: clamp(21px, 5.8vw, 24px) !important;
  }

  body:not(.about-page) #for-organizations h2,
  body:not(.about-page) #for-organizations .section-copy h2,
  body:not(.about-page) #for-organizations .company-card h2,
  body:not(.about-page) .company-card h2 {
    font-size: clamp(20px, 5.6vw, 23px) !important;
  }
}


/* ===== v154: align all mobile section h2 to the Problem heading =====
   Problem heading is the visual baseline. Apply the same mobile h2 scale
   to every top-page section, including organization and contact sections. */
@media (max-width: 760px) {
  body:not(.about-page) section h2,
  body:not(.about-page) .section-copy h2,
  body:not(.about-page) .problem-copy h2,
  body:not(.about-page) .company-card h2,
  body:not(.about-page) #problem h2,
  body:not(.about-page) #issue h2,
  body:not(.about-page) #coaching-role h2,
  body:not(.about-page) #what-we-do h2,
  body:not(.about-page) #outcomes h2,
  body:not(.about-page) #why-rokana h2,
  body:not(.about-page) #about-the-coach h2,
  body:not(.about-page) #for-whom h2,
  body:not(.about-page) #faq h2,
  body:not(.about-page) #for-organizations h2,
  body:not(.about-page) #contact h2 {
    font-size: clamp(22px, 6.1vw, 26px) !important;
    line-height: 1.52 !important;
    letter-spacing: .01em !important;
    font-weight: 600 !important;
    max-width: 100% !important;
    margin-bottom: 28px !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: anywhere !important;
    color: var(--navy, #17314F) !important;
  }

  body:not(.about-page) section h2 br,
  body:not(.about-page) .section-copy h2 br,
  body:not(.about-page) .problem-copy h2 br,
  body:not(.about-page) .company-card h2 br {
    display: block !important;
  }
}

@media (max-width: 390px) {
  body:not(.about-page) section h2,
  body:not(.about-page) .section-copy h2,
  body:not(.about-page) .problem-copy h2,
  body:not(.about-page) .company-card h2,
  body:not(.about-page) #problem h2,
  body:not(.about-page) #issue h2,
  body:not(.about-page) #coaching-role h2,
  body:not(.about-page) #what-we-do h2,
  body:not(.about-page) #outcomes h2,
  body:not(.about-page) #why-rokana h2,
  body:not(.about-page) #about-the-coach h2,
  body:not(.about-page) #for-whom h2,
  body:not(.about-page) #faq h2,
  body:not(.about-page) #for-organizations h2,
  body:not(.about-page) #contact h2 {
    font-size: clamp(21px, 5.8vw, 24px) !important;
    line-height: 1.52 !important;
  }
}


/* ===== v155: make all mobile top-page section headings one step smaller =====
   Keep the unified heading system from v154, but reduce the scale across
   all smartphone section h2 headings. */
@media (max-width: 760px) {
  body:not(.about-page) section h2,
  body:not(.about-page) .section-copy h2,
  body:not(.about-page) .problem-copy h2,
  body:not(.about-page) .company-card h2,
  body:not(.about-page) #problem h2,
  body:not(.about-page) #issue h2,
  body:not(.about-page) #coaching-role h2,
  body:not(.about-page) #what-we-do h2,
  body:not(.about-page) #outcomes h2,
  body:not(.about-page) #why-rokana h2,
  body:not(.about-page) #about-the-coach h2,
  body:not(.about-page) #for-whom h2,
  body:not(.about-page) #faq h2,
  body:not(.about-page) #for-organizations h2,
  body:not(.about-page) #contact h2 {
    font-size: clamp(20px, 5.5vw, 23px) !important;
    line-height: 1.55 !important;
    letter-spacing: .008em !important;
    margin-bottom: 24px !important;
  }
}

@media (max-width: 390px) {
  body:not(.about-page) section h2,
  body:not(.about-page) .section-copy h2,
  body:not(.about-page) .problem-copy h2,
  body:not(.about-page) .company-card h2,
  body:not(.about-page) #problem h2,
  body:not(.about-page) #issue h2,
  body:not(.about-page) #coaching-role h2,
  body:not(.about-page) #what-we-do h2,
  body:not(.about-page) #outcomes h2,
  body:not(.about-page) #why-rokana h2,
  body:not(.about-page) #about-the-coach h2,
  body:not(.about-page) #for-whom h2,
  body:not(.about-page) #faq h2,
  body:not(.about-page) #for-organizations h2,
  body:not(.about-page) #contact h2 {
    font-size: clamp(19px, 5.3vw, 22px) !important;
    line-height: 1.55 !important;
  }
}


/* ===== v156: make only the organization section heading more modest on mobile =====
   The organization introduction is a secondary pathway, so its heading can be
   visually quieter than the main narrative section headings. */
@media (max-width: 760px) {
  body:not(.about-page) #for-organizations h2,
  body:not(.about-page) #for-organizations .section-copy h2,
  body:not(.about-page) #for-organizations .company-card h2 {
    font-size: clamp(18px, 5.0vw, 21px) !important;
    line-height: 1.55 !important;
    letter-spacing: .006em !important;
    margin-bottom: 20px !important;
  }
}

@media (max-width: 390px) {
  body:not(.about-page) #for-organizations h2,
  body:not(.about-page) #for-organizations .section-copy h2,
  body:not(.about-page) #for-organizations .company-card h2 {
    font-size: clamp(18px, 4.8vw, 20px) !important;
    line-height: 1.55 !important;
  }
}


/* ===== v158: contact form disclaimer =====
   Clarify that form submission is for initial contact only, not a paid-service application. */
.form-disclaimer {
  margin: 18px 0 18px;
  padding: 16px 18px;
  border: 1px solid rgba(23,49,79,.10);
  border-radius: 16px;
  background: rgba(248,250,251,.72);
  color: var(--ink-soft, #5d6875);
  font-size: 13px;
  line-height: 1.85;
}

.form-disclaimer p {
  margin: 0;
}

.form-disclaimer p + p {
  margin-top: .65em;
}

@media (max-width: 760px) {
  .form-disclaimer {
    margin: 16px 0 16px;
    padding: 14px 15px;
    font-size: 12.5px !important;
    line-height: 1.8 !important;
  }
}


/* ===== v159: integrate contact disclaimer into the post-submit note =====
   The legal/contract clarification sits below the submit button as a quiet note,
   not as a prominent box above the CTA. */
.form-disclaimer {
  display: none !important;
}

.contact-form .form-note {
  margin-top: 16px !important;
  color: rgba(85, 99, 109, .88) !important;
  font-size: 12.5px !important;
  line-height: 1.85 !important;
}

.contact-form .form-note span {
  display: block !important;
}

.contact-form .form-note span + span {
  margin-top: 4px !important;
}

@media (max-width: 760px) {
  .contact-form .form-note {
    margin-top: 14px !important;
    font-size: 12px !important;
    line-height: 1.8 !important;
  }
}


/* ===== v163: Outcome wording + mobile header CTA vertical centering =====
   Header CTA text was visually top-aligned on smartphones. Force flex centering
   and use a compact fixed height for Japanese and English headers. */
.site-header .header-cta,
.about-page .site-header .nav-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  line-height: 1 !important;
  box-sizing: border-box !important;
}

@media (max-width: 760px) {
  body:not(.about-page) .site-header .header-cta,
  .about-page .site-header .nav-button {
    min-height: 40px !important;
    height: 40px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    line-height: 1 !important;
    align-items: center !important;
  }

  body:not(.about-page) .site-header .header-cta {
    display: inline-flex !important;
    transform: none !important;
  }
}

/* ===== v164: leadership positioning as self-orientation =====
   Slightly tighten mobile hero body after adding one paragraph. */
@media (max-width: 760px) {
  body:not(.about-page) .hero-body {
    line-height: 1.88 !important;
  }
}

/* ===== v166: sharper copy review fixes ===== */

/* ===== v167: FAQ refinement ===== */

/* ===== v168: About page business information ===== */
.business-info-section {
  padding-top: 48px !important;
}

.business-info-card {
  max-width: 860px;
  margin: 0 auto;
  padding: 0;
}

.business-info-card h2 {
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  letter-spacing: .02em;
  margin-bottom: 28px;
}

.business-info-table {
  border: 1px solid rgba(23, 49, 79, .14);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, .74);
}

.business-info-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  border-top: 1px solid rgba(23, 49, 79, .12);
}

.business-info-row:first-child {
  border-top: none;
}

.business-info-row > div {
  padding: 18px 22px;
  font-size: .95rem;
  line-height: 1.8;
}

.business-info-row > div:first-child {
  background: rgba(238, 243, 248, .72);
  color: var(--slate);
  font-weight: 600;
}

.business-info-row > div:last-child {
  color: var(--ink);
}

@media (max-width: 640px) {
  .business-info-section {
    padding-top: 32px !important;
  }

  .business-info-row {
    grid-template-columns: 1fr;
  }

  .business-info-row > div {
    padding: 13px 16px;
  }

  .business-info-row > div:first-child {
    padding-bottom: 6px;
  }

  .business-info-row > div:last-child {
    padding-top: 6px;
  }
}

/* ===== v169: Light business information block ===== */
.business-info-section {
  padding-top: 36px !important;
  padding-bottom: 72px !important;
}

.business-info-card {
  max-width: 780px;
  margin: 0 auto;
  padding-top: 34px;
  border-top: 1px solid rgba(23, 49, 79, .14);
}

.business-info-card h2 {
  font-size: clamp(1.2rem, 1.7vw, 1.55rem);
  letter-spacing: .03em;
  margin-bottom: 22px;
}

.business-info-list {
  display: grid;
  gap: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.business-info-line {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 24px;
  padding: 10px 0;
  border-top: 1px solid rgba(23, 49, 79, .08);
}

.business-info-line:first-child {
  border-top: 0;
}

.business-info-line span {
  color: var(--slate);
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.8;
}

.business-info-line p {
  margin: 0;
  color: var(--ink);
  font-size: .94rem;
  line-height: 1.8;
}

@media (max-width: 640px) {
  .business-info-section {
    padding-top: 26px !important;
    padding-bottom: 58px !important;
  }

  .business-info-card {
    padding-top: 28px;
  }

  .business-info-line {
    grid-template-columns: 1fr;
    gap: 2px;
    padding: 12px 0;
  }

  .business-info-line span,
  .business-info-line p {
    font-size: .92rem;
  }
}

/* ===== v170: About page coaching pathway ===== */
.about-coaching-cta-section {
  padding-top: 44px !important;
  padding-bottom: 36px !important;
}

.about-coaching-cta {
  max-width: 860px;
  margin: 0 auto;
  padding: 42px 46px;
  border-radius: 22px;
  border: 1px solid rgba(23, 49, 79, .12);
  background:
    radial-gradient(circle at 88% 16%, rgba(195, 215, 230, .22), transparent 28%),
    rgba(255, 255, 255, .64);
  box-shadow: 0 18px 42px rgba(23, 49, 79, .06);
}

.about-coaching-cta h2 {
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  letter-spacing: .03em;
  margin: 0 0 20px;
}

.about-coaching-cta p {
  max-width: 720px;
  margin: 0 0 12px;
  color: var(--muted);
  font-size: .98rem;
  line-height: 2;
}

.about-coaching-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.about-cta-primary,
.about-cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 20px;
  border-radius: 999px;
  font-size: .95rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.about-cta-primary {
  color: #fff;
  background: var(--ink);
  box-shadow: 0 12px 26px rgba(23, 49, 79, .16);
}

.about-cta-secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(23, 49, 79, .16);
}

.about-cta-primary:hover,
.about-cta-secondary:hover {
  transform: translateY(-1px);
}

@media (max-width: 640px) {
  .about-coaching-cta-section {
    padding-top: 32px !important;
    padding-bottom: 28px !important;
  }

  .about-coaching-cta {
    padding: 30px 22px;
    border-radius: 18px;
  }

  .about-coaching-cta p {
    font-size: .94rem;
    line-height: 1.9;
  }

  .about-coaching-cta-actions {
    display: grid;
    gap: 10px;
  }

  .about-cta-primary,
  .about-cta-secondary {
    width: 100%;
  }
}

/* ===== v171: Refine About coaching link block ===== */
.about-coaching-cta-section,
.about-coaching-cta,
.about-coaching-cta-actions,
.about-cta-primary,
.about-cta-secondary {
  all: unset;
}

.about-coaching-link-section {
  padding-top: 34px !important;
  padding-bottom: 30px !important;
}

.about-coaching-link {
  max-width: 780px;
  margin: 0 auto;
  padding-top: 34px;
  border-top: 1px solid rgba(23, 49, 79, .14);
}

.about-coaching-link h2 {
  font-size: clamp(1.2rem, 1.7vw, 1.55rem);
  letter-spacing: .03em;
  margin: 0 0 18px;
}

.about-coaching-link p {
  max-width: 720px;
  margin: 0 0 10px;
  color: var(--muted);
  font-size: .96rem;
  line-height: 1.95;
}

.about-coaching-text-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 20px;
}

.about-coaching-text-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  font-size: .94rem;
  font-weight: 700;
  text-decoration: none;
}

.about-coaching-text-links a::after {
  content: "→";
  margin-left: 8px;
  font-size: .95em;
  transform: translateY(-1px);
}

.about-coaching-text-links a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

@media (max-width: 640px) {
  .about-coaching-link-section {
    padding-top: 26px !important;
    padding-bottom: 24px !important;
  }

  .about-coaching-link {
    padding-top: 28px;
  }

  .about-coaching-link p {
    font-size: .92rem;
    line-height: 1.9;
  }

  .about-coaching-text-links {
    display: grid;
    gap: 10px;
  }
}

/* ===== v172: About CTA wording unified ===== */

/* ===== v173: Profile narrative and subtle JOURNEY LENS link ===== */
.profile-card a.profile-inline-link {
  color: var(--ink);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.profile-card a.profile-inline-link:hover {
  text-decoration-thickness: 1.5px;
}

/* ===== v174: Compact profile paragraph spacing ===== */
.profile-card > p {
  margin-top: 0;
  margin-bottom: 14px;
  line-height: 1.9;
}

.profile-card > p:last-child {
  margin-bottom: 0;
}

@media (max-width: 640px) {
  .profile-card > p {
    margin-bottom: 13px;
    line-height: 1.85;
  }
}

/* ===== v175: Profile structured by career phase and leadership learning ===== */

/* ===== v176: Subtle JOURNEY LENS profile link ===== */
.profile-card a.profile-inline-link {
  font-weight: 400 !important;
  text-decoration-thickness: 1px;
  color: inherit;
}

/* ===== v177: Copy tone fixes for issue and perspective wording ===== */

/* ===== v180: Refined profile copy ===== */

/* ===== v181: Profile learning paragraph merged ===== */
