/* =============================================================
   LSP investment — Corporate Site
   Design system / shared stylesheet
   ============================================================= */

/* ---------- Design Tokens ---------- */
:root {
  /* Brand palette */
  --navy-900: #0c1438;
  --navy-800: #121c52;
  --navy-700: #1a2570;
  --blue-600: #0000a5;
  /* brand deep blue (header / footer / CTA bg) */
  --blue-500: #1414bd;
  --blue-400: #3a47e0;
  --green-500: #00b978;
  /* brand emerald accent */
  --green-400: #14cc8a;
  --green-300: #54dcb6;
  --orange: #f29323;
  /* logo "i" accent */

  --ink: #15182b;
  --ink-soft: #4a4f63;
  --line: #e4e7f0;
  --bg: #ffffff;
  --bg-soft: #f4f6fb;
  --bg-mute: #eef1f8;
  --white: #ffffff;

  /* Type */
  --font-jp: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --font-en: "Poppins", "Helvetica Neue", Arial, sans-serif;
  --font-display: "Zen Kaku Gothic Antique", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;

  /* Metrics */
  --container: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
  --header-h: 84px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: auto;
}

body {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.85;
  font-size: 18px;
  letter-spacing: 0.02em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

:where(section[id], .svc-row[id]) {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

::selection {
  background: var(--green-400);
  color: #fff;
}

/* Accessibility: visible keyboard focus (mouse clicks stay clean) */
:focus-visible {
  outline: 2px solid var(--green-500);
  outline-offset: 3px;
  border-radius: 2px;
}

a,
button,
input,
textarea,
[tabindex] {
  -webkit-tap-highlight-color: transparent;
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }

  [data-fade],
  .line-mask>span,
  .img-reveal__inner {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* When Lenis is active */
html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-stopped {
  overflow: clip;
}

/* ---------- Layout helpers ---------- */
.container {
  width: min(100% - var(--gutter) * 2, var(--container));
  margin-inline: auto;
}

.section {
  padding: clamp(72px, 11vw, 150px) 0;
  position: relative;
}

.eyebrow {
  font-family: var(--font-en);
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--green-500);
  font-size: 12px;
  text-transform: uppercase;
}

/* English giant section label */
.sec-label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: clamp(34px, 5vw, 60px);
}

.sec-label__en {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(32px, 5.6vw, 60px);
  line-height: 1;
  letter-spacing: 0.01em;
}

.sec-label__jp {
  font-size: 13px;
  font-weight: 700;
  color: var(--green-500);
  letter-spacing: 0.14em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.04em;
  padding: 18px 28px;
  border-radius: 0;
  position: relative;
  overflow: hidden;
  min-width: 230px;
  white-space: nowrap;
  transition: color .5s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
}

.btn span {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: 100%;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  transform: scaleX(1);
  transform-origin: left;
  transition: transform .55s var(--ease);
}

.btn:not(:disabled):hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 30px -14px rgba(18, 28, 82, .45);
}

.btn:active {
  transform: translateY(-1px);
  transition-duration: .1s;
}

.btn .arrow {
  flex: none;
  width: 46px;
  height: 1px;
  background: currentColor;
  position: relative;
  transition: width .4s var(--ease);
}

.btn .arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: -4px;
  width: 9px;
  height: 9px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
}

.btn:not(:disabled):hover .arrow {
  width: 56px;
}

.btn--green {
  color: #fff;
}

.btn--green::after {
  background: var(--green-500);
}

.btn--green:not(:disabled):hover {
  color: #fff;
}

.btn--green:not(:disabled):hover::after {
  background: var(--green-400);
}

.btn--blue {
  color: #fff;
}

.btn--blue::after {
  background: var(--blue-600);
}

.btn--gray {
  color: #fff;
}

.btn--gray::after {
  background: #909090;
}

.btn--gray:not(:disabled):hover::after {
  background: var(--green-500);
}

.viewmore {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.14em;
  color: var(--green-500);
}

.viewmore .line {
  width: 34px;
  height: 1px;
  background: var(--green-500);
  transition: width .4s var(--ease);
}

.viewmore:hover .line {
  width: 50px;
}

.topics__more {
  text-align: center;
  margin-top: clamp(36px, 5vw, 56px);
}

.viewmore--arrow {
  border-bottom: 1.5px solid var(--green-500);
  padding-bottom: 9px;
}

.viewmore--arrow .arrow {
  display: inline-block;
  width: 30px;
  height: 1px;
  background: var(--green-500);
  position: relative;
  margin-left: 4px;
}

.viewmore--arrow .arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: -4px;
  width: 8px;
  height: 8px;
  border-top: 1.5px solid var(--green-500);
  border-right: 1.5px solid var(--green-500);
  transform: rotate(45deg);
}

/* =============================================================
   HEADER
   ============================================================= */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 110;
  display: flex;
  align-items: center;
  background: transparent;
  transition: background .4s var(--ease), box-shadow .4s var(--ease);
}

body.nav-open .header {
  background: transparent !important;
  box-shadow: none !important;
}

.header__inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: var(--gutter);
}

/* Home: solid brand-blue bar */
body.is-home .header {
  background: var(--blue-600);
}

/* Scrolled: solid brand-blue bar on every page */
.header.is-scrolled {
  background: var(--blue-600);
  box-shadow: 0 2px 18px rgba(0, 0, 16, .18);
}

.logo {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #fff;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 25px;
  letter-spacing: -0.01em;
}

.logo__mark {
  width: auto;
  height: 30px;
  flex: none;
}

.logo__text {
  display: inline-flex;
  align-items: baseline;
}

.logo__text b {
  font-weight: 700;
}

.logo__i {
  font-style: normal;
  font-weight: 700;
  color: var(--orange);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.6vw, 40px);
}

.nav__list {
  display: flex;
  gap: clamp(18px, 2.4vw, 36px);
}

.nav__link {
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  position: relative;
  transition: color .4s var(--ease);
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: var(--green-500);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .4s var(--ease);
}

.nav__link:hover::after,
.nav__link.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav__cta {
  display: inline-block;
  padding: 0;
  background: transparent;
  font-weight: 700;
  font-size: 14px;
  border-radius: 0;
  perspective: 600px;
}

.nav__cta-flip {
  position: relative;
  display: block;
  transform-style: preserve-3d;
  transition: transform .5s var(--ease);
}

.nav__cta:hover .nav__cta-flip {
  transform: rotateX(180deg);
}

.nav__cta-face {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.nav__cta-face--front {
  background: #fff;
  color: var(--green-500);
}

.nav__cta-face--back {
  position: absolute;
  inset: 0;
  background: var(--green-500);
  color: #fff;
  transform: rotateX(180deg);
}

/* Mobile nav */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  position: relative;
  z-index: 110;
}

.nav-toggle span {
  position: absolute;
  left: 10px;
  width: 24px;
  height: 2px;
  background: #fff;
  transition: transform .4s var(--ease), opacity .3s var(--ease), background .4s var(--ease);
}

.nav-toggle span:nth-child(1) {
  top: 16px;
}

.nav-toggle span:nth-child(2) {
  top: 22px;
}

.nav-toggle span:nth-child(3) {
  top: 28px;
}

.header.is-scrolled .nav-toggle span {
  background: #fff;
}

body.nav-open .nav-toggle span {
  background: #fff;
}

body.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

body.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

body.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* =============================================================
   FOOTER + CONTACT BAND
   ============================================================= */
.contact-band {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: clamp(70px, 9vw, 120px) 0;
}

.contact-band__bg {
  position: absolute;
  inset: 0;
  opacity: 1 !important;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
}

.contact-band .container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.contact-band__title {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: clamp(40px, 7vw, 86px);
  line-height: .95;
  letter-spacing: -0.02em;
}

.contact-band__sub {
  font-size: 18px;
  letter-spacing: 0.2em;
  margin-top: 14px;
  opacity: .85;
}

.contact-band__right {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-band__tel {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: 0.01em;
  line-height: 1;
}

.contact-band__tel small {
  display: block;
  font-size: 18px;
  letter-spacing: 0.16em;
  opacity: .8;
  margin-top: 10px;
  font-weight: 500;
}

.contact-band .divider {
  width: 1px;
  align-self: stretch;
  background: rgba(255, 255, 255, .25);
}

.footer {
  background: var(--blue-600);
  color: #fff;
  padding: clamp(54px, 7vw, 80px) 0 40px;
}

.footer__grid {
  display: flex;
  justify-content: space-between;
  gap: clamp(40px, 6vw, 90px);
  flex-wrap: wrap;
}

.footer__brand {
  flex: 0 0 auto;
}

.footer__logo {
  margin-bottom: 26px;
  color: #fff;
  font-size: 27px;
}

.footer__logo .logo__mark {
  height: 32px;
}

.footer__addr {
  font-size: 16px;
  line-height: 1.9;
  opacity: .85;
}

.footer__nav {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: clamp(30px, 4vw, 64px);
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.footer__head {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.footer__col a {
  display: block;
  font-size: 18px;
  opacity: .85;
  transition: opacity .3s, transform .3s var(--ease);
}

.footer__col a.footer__head {
  opacity: 1;
}

.footer__col a:hover {
  opacity: 1;
  transform: translateX(3px);
}

.footer__copy {
  margin-top: clamp(40px, 6vw, 70px);
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: 0.06em;
  opacity: .65;
}

/* =============================================================
   ANIMATION PRIMITIVES (GSAP toggles)
   ============================================================= */
.reveal {
  opacity: 0;
  transform: translateY(38px);
}

[data-fade] {
  opacity: 0;
  transform: translateY(30px);
}

[data-clip] {
  clip-path: inset(0 0 100% 0);
}

/* Masked line reveal */
.line-mask {
  display: block;
  overflow: hidden;
}

.line-mask>span {
  display: block;
}

/* Image reveal wrapper */
.img-reveal {
  position: relative;
  overflow: hidden;
}

.img-reveal__inner {
  transform: scale(1.18);
  transition: none;
  will-change: transform;
}

.img-reveal::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--navy-800);
  transform: scaleY(1);
  transform-origin: bottom;
  z-index: 3;
  transition: transform 1.05s cubic-bezier(0.76, 0, 0.24, 1);
}

.img-reveal.wiping::after {
  transform: scaleY(0);
  transform-origin: top;
}

.no-js .img-reveal::after {
  display: none;
}

/* =============================================================
   PAGE HERO (interior pages)
   ============================================================= */
.page-hero {
  position: relative;
  height: clamp(320px, 26.4vw, 400px);
  overflow: hidden;
  color: #fff;
  background: #9fb3dc;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
}

/* Dot mesh mask over the hero image */
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: radial-gradient(rgba(9, 19, 46, 0.28) 0.9px, transparent 1px);
  background-size: 4px 4px;
}

.page-hero__watermark {
  position: absolute;
  right: clamp(10px, 2vw, 34px);
  bottom: -0.04em;
  z-index: 2;
  pointer-events: none;
  font-family: var(--font-en);
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  font-size: clamp(44px, 8.6vw, 117px);
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, .5);
  text-shadow: 0 2px 24px rgba(20, 30, 70, .18);
}

.breadcrumb-bar {
  background: #fff;
}

.breadcrumb-bar .container {
  padding-block: 20px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 700;
}

.breadcrumb a {
  color: var(--ink);
  transition: color .3s var(--ease);
}

.breadcrumb a:hover {
  color: var(--green-500);
}

.breadcrumb .sep {
  color: var(--green-500);
}

.breadcrumb .current {
  color: var(--green-500);
}

.page-intro {
  padding-top: clamp(28px, 3.5vw, 48px);
  overflow-x: clip;
}

/* Generic prose */
.prose p {
  margin-bottom: 1.4em;
  color: var(--ink-soft);
}

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

.prose h2 {
  font-size: clamp(19px, 2.4vw, 26px);
  font-weight: 700;
  color: var(--navy-800);
  margin: 1.6em 0 .7em;
  line-height: 1.5;
}

.prose h3 {
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 700;
  color: var(--blue-600);
  margin: 1.4em 0 .6em;
}

.prose ul,
.prose ol {
  margin: 0 0 1.4em 1.4em;
  color: var(--ink-soft);
}

.prose li {
  margin-bottom: .5em;
  line-height: 1.8;
}

.prose a {
  color: var(--green-500);
  text-decoration: underline;
}

.prose img {
  max-width: 26%;
  height: auto;
  border-radius: 8px;
}

/* Article detail (news / topic) */
.article-head {
  border-bottom: 1px solid var(--line);
  padding-bottom: 28px;
  margin-bottom: 36px;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.article-title {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  color: var(--navy-800);
  line-height: 1.6;
}

.article-banner {
  margin-bottom: 40px;
  border-radius: 8px;
  overflow: hidden;
}

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

@media (max-width: 900px) {
  .footer__grid {
    gap: 36px;
  }

  .footer__nav {
    grid-template-columns: repeat(2, auto);
    gap: 30px 50px;
  }
}

@media (max-width: 768px) {

  .nav__list,
  .header .nav__cta {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .mobile-menu {
    position: fixed;
    inset: 0;
    background: linear-gradient(160deg, var(--navy-900), var(--blue-600));
    z-index: 105;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--gutter);
    transform: translateY(-100%);
    transition: transform .6s var(--ease);
  }

  body.nav-open .mobile-menu {
    transform: translateY(0);
  }

  .mobile-menu a {
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .mobile-menu a .en {
    font-family: var(--font-en);
    font-size: 11px;
    opacity: .6;
    font-weight: 600;
  }

  .contact-band .divider {
    display: none;
  }
}

.mobile-menu {
  display: none;
}

@media (max-width: 768px) {
  .mobile-menu {
    display: flex;
  }
}

/* =============================================================
   HOME — HERO
   ============================================================= */
.hero {
  position: relative;
  margin-top: var(--header-h);
  min-height: calc(100svh - var(--header-h));
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* Dot mesh mask over the hero video/image */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: radial-gradient(rgba(9, 19, 46, 0.28) 0.9px, transparent 1px);
  background-size: 4px 4px;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(110deg, rgba(12, 20, 56, .72) 0%, rgba(18, 28, 82, .42) 45%, rgba(18, 28, 82, .15) 100%);
}

.hero__inner {
  position: relative;
  z-index: 3;
  width: 100%;
}

.hero__catch {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(29px, 5.6vw, 64px);
  line-height: 1.4;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 30px rgba(0, 0, 0, .3);
}

.hero__catch .em {
  color: var(--green-400);
  font-style: normal;
}

.hero__lead {
  margin-top: 26px;
  font-size: clamp(13px, 1.5vw, 19px);
  line-height: 2;
  max-width: 30em;
  opacity: .94;
  font-weight: 500;
}

.hero__lead .strong {
  display: block;
  font-weight: 700;
  font-size: 1.08em;
  margin-top: 4px;
}

.hero__cta {
  margin-top: 40px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Smartphone-only line break inside the hero lead */
.br-sp {
  display: none;
}

@media (max-width: 768px) {
  .br-sp {
    display: inline;
  }

  /* Make both hero buttons equal width on smartphone */
  .hero__cta {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__cta .btn {
    width: 100%;
    min-width: 0;
  }
}

@keyframes scrolldrop {
  0% {
    transform: translateY(-100%);
  }

  50% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(100%);
  }
}

/* =============================================================
   HOME — NEWS (split)
   ============================================================= */
.news {
  background: var(--bg);
}

.news__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: clamp(28px, 4vw, 46px);
  flex-wrap: wrap;
}

.news__layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(30px, 5vw, 64px);
  align-items: start;
}

.news__photo {
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 4/4.3;
  background: var(--bg-mute);
}

.news__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .9s var(--ease);
}

.news__photo:hover img {
  transform: scale(1.05);
}

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

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

.news__link {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  padding: clamp(20px, 2.4vw, 28px) 8px;
  transition: background .4s var(--ease), padding-left .4s var(--ease);
}

.news__link:hover {
  background: var(--bg-soft);
  padding-left: 20px;
}

.news__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.news__date {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
  letter-spacing: 0.04em;
}

.news__title {
  font-size: 18px;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.6;
}

.news__ext {
  color: var(--green-500);
}

.news__arrow {
  flex: none;
  color: var(--navy-800);
  display: grid;
  place-items: center;
  transition: transform .4s var(--ease), color .4s var(--ease);
}

.news__arrow svg {
  width: 22px;
}

.news__link:hover .news__arrow {
  transform: translateX(4px);
  color: var(--green-500);
}

/* =============================================================
   HOME — SERVICE
   ============================================================= */
.service {
  background: var(--bg-soft);
}

.service__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.service__lead {
  font-size: clamp(18px, 2.3vw, 26px);
  font-weight: 700;
  line-height: 1.65;
  color: var(--blue-600);
}

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

.scard {
  display: block;
  color: inherit;
  text-decoration: none;
  background: #fff;
  border-radius: 10px;
  padding: 24px 24px 30px;
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}

.scard::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 3px;
  background: var(--green-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease);
}

.scard:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px -28px rgba(18, 28, 82, .35);
}

.scard:hover::before {
  transform: scaleX(1);
}

.scard__icon {
  width: 62px;
  height: 62px;
  margin-bottom: 22px;
  color: var(--blue-600);
}

.scard__icon-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 279 / 150;
  object-fit: contain;
  margin-bottom: 22px;
}

.scard__no {
  position: absolute;
  right: 24px;
  top: 20px;
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 13px;
  color: var(--bg-mute);
}

.scard h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--navy-800);
}

.scard p {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.85;
}

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

/* =============================================================
   HOME — OUR STRENGTH
   ============================================================= */
.strength {
  background: #fff;
  color: var(--ink);
  overflow: hidden;
}

.strength__center {
  max-width: 880px;
  margin: clamp(40px, 6vw, 70px) auto 0;
}

.strength__copy {
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: clamp(24px, 3.6vw, 44px);
  line-height: 1.5;
  color: var(--navy-800);
  margin-bottom: clamp(40px, 6vw, 72px);
}

.strength__copy .tag {
  display: inline-block;
  padding: .06em .3em;
  border-radius: 4px;
  color: #fff;
}

.strength__copy .tag--green {
  background: linear-gradient(90deg, var(--blue-600) 0%, var(--green-500) 100%);
}

.strength__copy .line-mask:nth-child(2) {
  margin-left: clamp(40px, 11vw, 170px);
  margin-top: clamp(14px, 2.2vw, 30px);
}

.strength__list {
  display: flex;
  flex-direction: column;
}

.sitem {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 30px);
  padding: clamp(18px, 2.4vw, 26px) 4px;
  border-bottom: 1px solid var(--line);
}

.sitem:first-child {
  border-top: 1px solid var(--line);
}

.sitem__no {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 3px;
  border: 2px solid var(--green-500);
  background: #fff;
  color: var(--green-500);
  display: grid;
  place-items: center;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 21px;
}

.sitem__txt {
  font-size: clamp(16px, 2.05vw, 22px);
  font-weight: 700;
  color: var(--navy-800);
  line-height: 1.6;
}

/* Smartphone: keep each strength copy line on one line (avoid orphan を。) */
@media (max-width: 768px) {

  /* Display the copy at the maximum width that fits the viewport */
  .strength__copy {
    font-size: clamp(16px, 5vw, 26px);
  }

  .strength__copy .line-mask>span {
    white-space: nowrap;
  }

  .strength__copy .line-mask:nth-child(2) {
    margin-left: 1.2em;
  }
}

/* =============================================================
   HOME — FLOW
   ============================================================= */
.flow {
  background: var(--bg);
}

.flow__grid {
  display: flex;
  border-radius: 14px;
  overflow: hidden;
}

.fcard {
  flex: 1 1 0;
  position: relative;
  overflow: hidden;
  padding: clamp(30px, 3.4vw, 46px) clamp(42px, 3.6vw, 56px) clamp(30px, 3.4vw, 46px) clamp(48px, 4.2vw, 66px);
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 50%, calc(100% - 28px) 100%, 0 100%, 28px 50%);
  margin-right: -28px;
}

.fcard:first-child {
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 50%, calc(100% - 28px) 100%, 0 100%);
  padding-left: clamp(30px, 3vw, 44px);
}

.fcard:last-child {
  margin-right: 0;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 28px 50%);
}

.fcard:nth-child(1) {
  background: #e8f6ef;
}

.fcard:nth-child(2) {
  background: #d0eede;
}

.fcard:nth-child(3) {
  background: #b4e1cb;
}

.fcard__ghost {
  position: absolute;
  right: clamp(20px, 3vw, 44px);
  bottom: -0.04em;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(110px, 12vw, 158px);
  line-height: 1;
  color: rgba(255, 255, 255, .6);
  z-index: 0;
  pointer-events: none;
}

.fcard__step {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 25px;
  letter-spacing: 0.08em;
  color: var(--green-500);
  position: relative;
  z-index: 1;
  margin-bottom: 16px;
  padding-right: 14px;
}

.fcard__step::after {
  content: "";
  width: 1px;
  height: 15px;
  background: currentColor;
  opacity: .45;
  margin-left: 14px;
}

.fcard h3 {
  font-family: var(--font-display);
  font-size: clamp(19px, 2.2vw, 24px);
  font-weight: 700;
  position: relative;
  z-index: 1;
  margin-bottom: 14px;
  line-height: 1.45;
}

.fcard h3 small {
  display: block;
  font-size: clamp(19px, 2.2vw, 24px);
  font-weight: 500;
  margin-top: 4px;
}

.fcard p {
  font-size: 13px;
  position: relative;
  z-index: 1;
  line-height: 1.85;
}

/* =============================================================
   HOME — VOICE
   ============================================================= */
.voice {
  background: var(--bg-soft);
}

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

.vcard {
  background: #fff;
  border-radius: 10px;
  padding: 36px 28px 32px;
  border: 1px solid var(--line);
  text-align: center;
  display: flex;
  flex-direction: column;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}

.vcard__top {
  order: 1;
}

.vcard__cat {
  order: 2;
}

.vcard__tags {
  order: 3;
}

.vcard__text {
  order: 4;
}

.vcard:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 46px -30px rgba(18, 28, 82, .4);
}

.vcard__top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.vcard__avatar {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: linear-gradient(160deg, #e2f5ee, #cdeede);
  display: grid;
  place-items: center;
  color: var(--navy-800);
  flex: none;
}

.vcard__meta {
  font-size: 14px;
  color: var(--ink-soft);
  letter-spacing: .04em;
}

.vcard__cat {
  font-size: 17px;
  font-weight: 700;
  color: var(--blue-600);
  margin-bottom: 14px;
  line-height: 1.5;
}

.vcard__text {
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.9;
  margin-bottom: 18px;
  text-align: left;
}

.vcard__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 16px;
}

.vcard__tags span {
  font-size: 14px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--blue-600);
  font-weight: 600;
}

/* =============================================================
   HOME — TOPICS
   ============================================================= */
.topics {
  background: var(--bg);
}

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

.tcard {
  display: block;
}

.tcard__thumb {
  aspect-ratio: 16/11;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 16px;
  background: var(--bg-mute);
  position: relative;
}

.tcard__thumb .ph {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #cdd6ec, #e8ecf6);
}

.tcard__thumb img,
.tcard__thumb .ph {
  transition: transform .8s var(--ease);
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tcard:hover .tcard__thumb img,
.tcard:hover .tcard__thumb .ph {
  transform: scale(1.06);
}

.tcard__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.tcard__cat {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: var(--green-500);
  padding: 3px 10px;
  border-radius: 3px;
}

.tcard__date {
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
}

.tcard__title {
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink);
}

/* =============================================================
   Pagination
   ============================================================= */
.pager {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 56px;
}

.pager a,
.pager span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 15px;
  color: var(--green-500);
  transition: all .3s var(--ease);
}

.pager a:hover {
  background: rgba(0, 185, 120, .1);
}

.pager .is-current {
  background: var(--green-500);
  color: #fff;
}

.pager .nav-arrow {
  color: var(--green-500);
}

.pager .nav-arrow:not(a) {
  opacity: .35;
}

@media (max-width: 980px) {

  .service__grid,
  .strength__list,
  .voice__grid,
  .topics__grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .news__head {
    position: static;
  }

  .flow__grid {
    display: block;
  }

  .fcard,
  .fcard:first-child,
  .fcard:last-child {
    clip-path: none;
    margin-right: 0;
    padding: clamp(26px, 5vw, 36px) clamp(26px, 5vw, 38px);
  }

  .fcard__ghost {
    font-size: clamp(96px, 22vw, 150px);
  }
}

@media (max-width: 620px) {

  .service__grid,
  .strength__list,
  .voice__grid,
  .topics__grid {
    grid-template-columns: 1fr;
  }
}

/* =============================================================
   INTERIOR — COMPANY
   ============================================================= */
.philosophy {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: clamp(30px, 5vw, 80px);
  align-items: start;
}

.philosophy__mark {
  text-align: left;
}

.philosophy__loop {
  width: 230px;
  height: auto;
  margin: 0 0 22px;
  display: block;
}

.philosophy__jp {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy-800);
}

.philosophy__txt p {
  font-size: 18px;
  line-height: 2.15;
  color: var(--ink-soft);
}

.bigword {
  width: 100vw;
  margin-left: 50%;
  transform: translateX(-50%);
  margin-top: clamp(10px, 2vw, 30px);
  overflow: hidden;
}

.bigword__track {
  display: inline-flex;
  white-space: nowrap;
  will-change: transform;
  animation: bigword-marquee 26s linear infinite;
}

.bigword__item {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: min(8.4vw, 132px);
  line-height: 1;
  color: rgba(0, 185, 120, .14);
  letter-spacing: -0.01em;
  padding-right: 0.4em;
}

/* Smartphone: larger "Endless possibilities" marquee */
@media (max-width: 768px) {
  .bigword__item {
    font-size: 18vw;
  }
}

@keyframes bigword-marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

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

.company-block {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: clamp(30px, 5vw, 60px);
  align-items: start;
}

.company-block .sec-label {
  margin-bottom: 0;
}

.outline-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid rgba(0, 176, 130, .28);
}

.outline-table tr {
  border-bottom: 1px solid rgba(0, 176, 130, .28);
}

.outline-table th,
.outline-table td {
  text-align: left;
  padding: 20px 10px;
  vertical-align: top;
  font-size: 18px;
}

.outline-table th {
  width: 150px;
  color: var(--navy-800);
  font-weight: 700;
}

.outline-table td {
  color: var(--ink);
  line-height: 1.9;
}

.access__map {
  width: 100%;
  aspect-ratio: 16/8;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-mute);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--ink-soft);
  position: relative;
}

.access__map iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.access__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.access__routes h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--green-500);
  margin: 22px 0 8px;
}

.access__routes p {
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.7;
}

.access__addr {
  font-size: 18px;
  margin: 16px 0;
}

/* =============================================================
   INTERIOR — MESSAGE
   ============================================================= */
.msg-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 64px);
  align-items: center;
}

.msg-hero__logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
}

.msg-hero__logo img {
  max-width: 220px;
  height: auto;
}

.msg-hero__en {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: clamp(22px, 2.6vw, 30px);
  color: var(--blue-600);
  margin-top: 6px;
}

.msg-hero__jp {
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 700;
  color: var(--blue-600);
  letter-spacing: 0.08em;
}

/* In the two-column hero, scale the intro text to the narrower column so each
   sentence stays on a single line instead of dropping the last character. */
@media (min-width: 861px) {
  .msg-hero .prose p {
    font-size: clamp(12px, 1.3vw, 17px);
    letter-spacing: 0;
  }
}

.msg-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
  margin-top: clamp(40px, 6vw, 80px);
}

.msg-body.rev {
  direction: rtl;
}

.msg-body.rev>* {
  direction: ltr;
}

.msg-photo {
  aspect-ratio: 4/5;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(160deg, #2c3c6b, #101c40);
  position: relative;
}

.msg-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.msg-photo--team {
  aspect-ratio: 4/3;
}

.msg-sign {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  text-align: right;
}

.msg-sign__company {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 20px;
  color: var(--navy-900);
}

.msg-sign__name {
  display: inline-flex;
  align-items: flex-end;
  gap: 8px;
  line-height: 1;
  margin-top: 5px;
}

.msg-sign__name strong {
  font-weight: 900;
  font-size: 32px;
}

.msg-sign small {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 17px;
  color: var(--ink-soft);
}

/* Higher specificity than `.prose img` so the signature keeps its size.
   Width matches the company line above (`LSP investment 株式会社`, ~230px);
   height is auto to preserve the calligraphy aspect ratio. The 代表取締役
   label sits inline before the right-aligned image, so it protrudes left. */
.prose .msg-sign__img {
  display: block;
  width: 230px;
  max-width: 100%;
  height: auto;
  border-radius: 0;
}

/* =============================================================
   INTERIOR — SERVICE DETAIL
   ============================================================= */
.svc-intro {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
  margin-bottom: clamp(50px, 7vw, 90px);
}

.svc-intro__visual img {
  width: 100%;
  height: auto;
}

.svc-intro h2 {
  font-family: var(--font-jp);
  font-size: clamp(21px, 2.5vw, 30px);
  font-weight: 700;
  color: var(--blue-600);
  line-height: 1.55;
  margin-bottom: 24px;
  letter-spacing: 0;
}

.svc-intro p {
  color: var(--ink);
  line-height: 1.9;
  font-size: 18px;
}

.svc-intro__foot {
  margin-top: 26px;
}

.svc-pills {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
  max-width: 520px;
}

.svc-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 22px;
  border: 1.5px solid var(--green-500);
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  color: var(--green-500);
  transition: background .3s var(--ease), color .3s var(--ease);
}

.svc-pill::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px);
}

.svc-pill:hover {
  background: var(--green-500);
  color: #fff;
}

.svc-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
  padding: clamp(36px, 5vw, 64px) 0;
}

.svc-row.rev .svc-row__visual {
  order: -1;
}

.svc-row h3 {
  font-family: var(--font-jp);
  font-size: clamp(21px, 2.6vw, 30px);
  font-weight: 700;
  color: var(--blue-600);
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

.svc-row p {
  color: var(--ink);
  line-height: 1.9;
  font-size: 18px;
  margin-bottom: 1.4em;
}

.svc-row p:last-child {
  margin-bottom: 0;
}

.svc-row__visual img {
  width: 100%;
  height: auto;
}

/* =============================================================
   INTERIOR — CONTACT FORM
   ============================================================= */
.form-wrap {
  max-width: 1040px;
  margin: 0 auto;
}

.form-note {
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 20px;
}

.field {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 24px;
  align-items: center;
  padding: 26px 4px;
  border-bottom: 1px solid var(--line);
}

.field:first-of-type {
  border-top: 1px solid var(--line);
}

.field:has(textarea) {
  align-items: start;
}

.field__label {
  font-weight: 700;
  font-size: 15px;
  color: var(--navy-800);
  display: flex;
  align-items: center;
  gap: 10px;
}

.field__label .req {
  font-size: 10px;
  color: #fff;
  background: var(--green-500);
  padding: 2px 8px;
  border-radius: 3px;
  font-weight: 700;
}

.field input,
.field textarea {
  width: 100%;
  max-width: 360px;
  border: none;
  background: #ededed;
  border-radius: 0;
  padding: 15px 16px;
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
  transition: box-shadow .3s var(--ease);
}

.field textarea {
  max-width: 620px;
  min-height: 200px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  box-shadow: 0 0 0 2px var(--green-400);
}

.privacy-box {
  background: var(--bg-soft);
  border-radius: 8px;
  padding: 26px;
  font-size: 12.5px;
  color: var(--ink-soft);
  line-height: 1.9;
  margin: 36px 0 24px;
}

.consent {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  margin-bottom: 36px;
  cursor: pointer;
  font-size: 14px;
}

.consent input {
  width: 20px;
  height: 20px;
  accent-color: var(--green-500);
}

.form-submit {
  text-align: center;
}

.form-submit .btn {
  padding: 18px 60px;
}

@media (max-width: 860px) {

  .philosophy,
  .access__grid,
  .msg-hero,
  .msg-body,
  .svc-row,
  .company-block,
  .svc-intro {
    grid-template-columns: 1fr;
  }

  .msg-body.rev {
    direction: ltr;
  }

  .svc-row.rev .svc-row__visual {
    order: 0;
  }

  .field {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .field__label {
    padding-top: 0;
  }
}

/* =========================================================
   Privacy Policy
   ========================================================= */
.policy {
  padding: 84px 0 100px;
  font-family: var(--font-jp);
  font-size: 16px;
  line-height: 1.9;
}

.policy .section-head {
  margin-bottom: 46px;
}

.policy .section-head .en {
  display: block;
  font-family: var(--font-en);
  color: var(--green-500);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.14em;
  margin-bottom: 6px;
}

.policy .section-head h1 {
  margin: 0;
  font-size: clamp(1.7rem, 4.4vw, 2.5rem);
  color: var(--navy-800);
  font-weight: 900;
  letter-spacing: 0.04em;
}

.policy__lead {
  max-width: 880px;
  color: var(--ink);
  margin: 0 0 54px;
}

.policy__item {
  padding: 30px 0;
  border-top: 1px solid var(--line);
}

.policy__item:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.policy__item h2 {
  position: relative;
  margin: 0 0 14px;
  padding-left: 16px;
  font-size: 1.16rem;
  color: var(--navy-800);
  font-weight: 700;
  letter-spacing: 0.03em;
}

.policy__item h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2em;
  bottom: 0.2em;
  width: 4px;
  border-radius: 2px;
  background: var(--green-500);
}

.policy__item p {
  margin: 0 0 14px;
  line-height: 1.9;
}

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

.policy__item a {
  color: var(--blue-600);
  text-decoration: underline;
  text-underline-offset: 3px;
  word-break: break-word;
}

.policy__item a:hover {
  color: var(--green-500);
}

.policy__list {
  margin: 6px 0 0;
  padding-left: 1.2em;
}

.policy__list li {
  margin-bottom: 8px;
}

.policy__note {
  margin-top: 40px;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

@media (max-width: 560px) {
  .policy {
    padding: 56px 0 72px;
  }

  /* Service intro pills: one per row, full width on smartphones */
  .svc-pills {
    grid-template-columns: 1fr;
    max-width: none;
  }
}


/* Customer css */
.field__label.--rq {gap: 15px;}
.field__label.--rq:after {
  content: "必須";
  display: inline-block;
  padding: 2px 15px;
  border-radius: 999px;
  background-color: var(--green-500);
  color: var(--white);
  font-size: 12px;
  font-weight: 400;
}


.d-none {display: none !important;}
.d-block {display: block !important;}
.fw-bold {font-weight: bold !important;}

@media only screen and (min-width: 768.999px) {
  .d-md-none {display: none !important;}
  .d-md-block {display: block !important;}

  .field__label.--rq:after {margin-left: auto;}
}


@media screen and (max-width: 768px) {
  div.outline-table > div {border-bottom: 1px solid rgba(0, 176, 130, .28); padding: 10px 0;}
  div.outline-table > div p {font-size: 16px; line-height: 1.4;}
  div.outline-table > div p.fw-bold {margin-bottom: 10px;}
}

.preview-note { font-size: 12px; color: #8a90a6; text-align: center; padding: 24px 16px 0; }
/* =====================================================
    HISTORY（沿革）
    ※ OUTLINE と ACCESS の間に配置
    ※ 既存の OUTLINE 用クラス（見出し・余白）があれば置き換えてください
    ===================================================== */
.p-history {
  --history-ink: #1a1f3a;
  --history-accent: #8cd4c4;
  --history-line: #d3eee4;
  --history-sub: #8a90a6;
}
.p-history__inner {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 270px 1fr;
  align-items: start;
}

/* 見出し（OUTLINE / ACCESS と同じ英日併記） */
.p-history__title { margin: 0; }
.p-history__title-en {
  display: block;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 40px;
  line-height: 1.1;
  letter-spacing: .01em;
  color: var(--history-ink);
}
.p-history__title-ja {
  display: block;
  margin-top: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--history-accent);
}

/* タイムライン */
.p-history__list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--history-line);
}
.p-history__item {
  position: relative;
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 0 24px;
  padding: 26px 8px 26px 8px;
  border-bottom: 1px solid var(--history-line);
}
.p-history__date {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 18px;
  font-weight: 700;
  color: var(--history-ink);
  font-feature-settings: "palt";
}
.p-history__date small {
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--history-accent);
}
.p-history__text {
  position: relative;
  margin: 0;
  padding-left: 22px;
  font-size: 18px;
  line-height: 1.9;
  color: var(--history-ink);
}
/* 項目頭のドット */
.p-history__text::before {
  content: "";
  position: absolute;
  left: 0;
  top: .7em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--history-accent);
}

/* SP */
@media (max-width: 767px) {
  .p-history__inner { grid-template-columns: 1fr; gap: 32px; }
  .p-history__title-en { font-size: 32px; }
  .p-history__item { grid-template-columns: 1fr; gap: 8px; padding: 20px 4px; }
  .p-history__date, .p-history__text { font-size: 16px; }
  .p-history__date small {font-size: 12px;}
}