/* =============================================================
   TOP ページ — v3（P920・2026-09-28）
   共通は leapcom.css。ここは TOP だけの形。
   2026-10-17: セクションの並べ替え（01 進め方 → 02 3 本柱 → 03 最近のこと → 04 事例 → 05 数字 → 06 OUR STORY）に
   合わせて、ブロックの並びとコメントの番号だけ直した（規則の中身は変えていない）
   ============================================================= */

/* 短い文は文節で折り返す（leapcom.css の .lc-phrase と同じ） */
.top-hero__lead,
.top-pillnav__text,
.top-pillar__desc,
.top-pillar__list li,
.top-number__text,
.top-story__text,
.top-stance__quote p,
.top-news__title,
.lc-cta__text {
  word-break: auto-phrase;
  overflow-wrap: anywhere;
}

/* ---------- S1 ヒーロー（全幅） ---------- */
.top-hero {
  position: relative;
  height: clamp(560px, 78vh, 760px);
  overflow: hidden;
  background: var(--lc-navy-800);
  color: #fff;
}

/* 下端（手すりと二人）を切らないよう、切るのは空の上側 */
.top-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 100%;
}

.top-hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 33, 56, 0.6) 0%, rgba(11, 33, 56, 0.36) 34%, rgba(11, 33, 56, 0.08) 58%, rgba(11, 33, 56, 0) 72%),
    linear-gradient(180deg, rgba(11, 33, 56, 0.16) 0%, rgba(11, 33, 56, 0) 28%);
}

.top-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  height: 100%;
  padding-bottom: 24px;
}

.top-hero__copy {
  max-width: 660px;
}

.top-hero__eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  opacity: 0.92;
}

.top-hero__title {
  margin-top: 22px;
  font-size: var(--lc-fs-display);
  font-weight: 700;
  line-height: var(--lc-lh-tight);
  letter-spacing: 0.08em;
  text-shadow: 0 2px 28px rgba(11, 33, 56, 0.35);
}

.top-hero__lead {
  margin-top: 26px;
  font-size: clamp(1rem, 1.3vw, 1.125rem);
  font-weight: 500;
  line-height: 2.05;
  letter-spacing: 0.06em;
  text-shadow: 0 1px 16px rgba(11, 33, 56, 0.45);
}

.top-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

@media (max-width: 767px) {
  .top-hero {
    height: clamp(540px, 86svh, 720px);
  }

  .top-hero__img {
    object-position: 77% 50%;
  }

  .top-hero__shade {
    background: linear-gradient(180deg, rgba(11, 33, 56, 0.62) 0%, rgba(11, 33, 56, 0.34) 42%, rgba(11, 33, 56, 0) 66%);
  }

  .top-hero__inner {
    align-items: flex-start;
    padding-top: 44px;
    padding-bottom: 0;
  }

  .top-hero__title {
    margin-top: 16px;
  }

  .top-hero__lead {
    margin-top: 18px;
    font-size: 0.9375rem;
    line-height: 1.95;
  }

  .top-hero__actions {
    margin-top: 26px;
  }

  .top-hero__actions .lc-btn {
    min-height: 46px;
    padding: 10px 20px;
    font-size: 0.875rem;
  }
}

/* ---------- 3 本柱への入口（ヒーローのすぐ下の帯） ---------- */
.top-pillnav {
  position: relative;
  background: #fff;
  border-bottom: 1px solid var(--lc-steel-200);
}

.top-pillnav__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.top-pillnav__list > li + li {
  border-left: 1px solid var(--lc-steel-200);
}

.top-pillnav__card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "verb icon"
    "name icon"
    "text text"
    "more more";
  column-gap: 16px;
  height: 100%;
  padding: 28px 32px 22px;
  color: var(--lc-ink);
  text-decoration: none;
  transition: background-color 0.25s;
}

.top-pillnav__card:hover {
  background: var(--lc-blue-50);
  text-decoration: none;
}

.top-pillnav__verb {
  grid-area: verb;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--lc-blue-600);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.top-pillnav__verb .lc-en {
  color: var(--lc-steel-500);
  font-weight: 600;
  letter-spacing: 0.08em;
}

.top-pillnav__name {
  grid-area: name;
  margin-top: 4px;
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.06em;
}

.top-pillnav__text {
  grid-area: text;
  margin-top: 10px;
  font-size: 0.875rem;
  line-height: 1.85;
  color: var(--lc-steel-700);
}

.top-pillnav__icon {
  grid-area: icon;
  align-self: start;
}

.top-pillnav__more {
  grid-area: more;
  justify-self: end;
  position: relative;
  width: 30px;
  height: 1px;
  margin-top: 16px;
  background: var(--lc-blue-600);
  transition: width 0.25s var(--lc-ease);
}

.top-pillnav__more::after {
  content: "";
  position: absolute;
  right: 0;
  top: -3px;
  width: 7px;
  height: 7px;
  border-top: 1px solid var(--lc-blue-600);
  border-right: 1px solid var(--lc-blue-600);
  transform: rotate(45deg);
}

.top-pillnav__card:hover .top-pillnav__more {
  width: 40px;
}

@media (max-width: 1023px) {
  .top-pillnav__list {
    grid-template-columns: 1fr;
  }

  .top-pillnav__list > li + li {
    border-left: none;
    border-top: 1px solid var(--lc-steel-200);
  }

  .top-pillnav__card {
    grid-template-areas:
      "verb icon"
      "name icon"
      "text text";
    padding: 20px 4px;
  }

  .top-pillnav__more {
    display: none;
  }

  .top-pillnav__name {
    font-size: 1.25rem;
  }

  .top-pillnav__text {
    margin-top: 6px;
  }
}

@media (max-width: 767px) {
  .top-pillnav__icon {
    width: 40px;
    height: 40px;
  }
}

/* ---------- S2 一緒に作ります ---------- */

/* ---------- S3 3 本柱 ---------- */
.top-pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.top-pillar {
  display: flex;
  flex-direction: column;
  padding: 34px 30px 30px;
  background: #fff;
  border: 1px solid var(--lc-steel-200);
  border-radius: var(--lc-radius-m);
}

.top-pillar__head {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "icon verb"
    "icon name";
  align-items: center;
  column-gap: 16px;
}

.top-pillar__head .lc-icon {
  grid-area: icon;
  width: 56px;
  height: 56px;
}

.top-pillar__verb {
  grid-area: verb;
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--lc-blue-600);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.4;
}

.top-pillar__verb .lc-en {
  color: var(--lc-steel-500);
  font-weight: 600;
  letter-spacing: 0.08em;
}

.top-pillar__name {
  grid-area: name;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.06em;
}

.top-pillar__desc {
  margin-top: 20px;
  font-size: 0.9375rem;
  line-height: 1.95;
  color: var(--lc-steel-700);
}

.top-pillar__when {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px dashed var(--lc-steel-300);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--lc-navy-800);
}

.top-pillar__list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.top-pillar__list li {
  position: relative;
  padding: 11px 14px 11px 38px;
  border-radius: var(--lc-radius-s);
  background: var(--lc-blue-50);
  font-size: 0.9063rem;
  font-weight: 500;
  line-height: 1.7;
}

.top-pillar__list li::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 16px;
  width: 12px;
  height: 12px;
  border: 1.5px solid var(--lc-blue-600);
  border-radius: 2px;
  background: #fff;
}

.top-pillar__product {
  display: block;
  margin-top: 2px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--lc-steel-500);
}

.top-pillar__product::before {
  content: "→ ";
}

.top-pillar__link {
  margin-top: auto;
  padding-top: 24px;
}

@media (max-width: 1023px) {
  .top-pillars {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .top-pillar {
    padding: 26px 22px 24px;
  }
}

/* ---------- S4 最近のこと（2026-10-17 に 3 本柱のすぐ下へ） ---------- */
.top-news {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 56px;
  align-items: start;
}

.top-news__links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-top: 28px;
}

.top-news__list {
  border-top: 1px solid var(--lc-steel-200);
}

.top-news__item {
  display: grid;
  grid-template-columns: 108px auto minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  padding: 24px 8px;
  border-bottom: 1px solid var(--lc-steel-200);
  color: var(--lc-ink);
  text-decoration: none;
}

.top-news__item:hover {
  text-decoration: none;
}

.top-news__item:hover .top-news__title {
  color: var(--lc-blue-600);
}

.top-news__date {
  font-size: 0.875rem;
  color: var(--lc-steel-500);
}

.top-news__title {
  font-weight: 500;
  line-height: 1.7;
}

.top-news__item--placeholder .top-news__title {
  font-weight: 400;
  color: var(--lc-steel-500);
}

@media (max-width: 1023px) {
  .top-news {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .top-news__links {
    flex-direction: row;
    gap: 24px;
    margin-top: 20px;
  }
}

@media (max-width: 767px) {
  .top-news__item {
    grid-template-columns: auto 1fr;
    gap: 8px 12px;
    padding: 18px 4px;
  }

  /* 札（「ブログ」など）は文字の幅に。2 列目いっぱいに伸ばさない（2026-09-29） */
  .top-news__item .lc-tag {
    justify-self: start;
  }

  .top-news__title {
    grid-column: 1 / -1;
  }
}

/* ---------- S6 数字で見る ---------- */
.top-numbers {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  border-top: 1px solid var(--lc-steel-200);
  border-bottom: 1px solid var(--lc-steel-200);
}

.top-number {
  display: flex;
  flex-direction: column;
  padding: 34px 26px 36px;
}

.top-number + .top-number {
  border-left: 1px solid var(--lc-steel-200);
}

.top-number__label {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--lc-steel-500);
}

.top-number__value {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 16px 0 0;
  color: var(--lc-navy-800);
}

.top-number__value .lc-en {
  font-size: clamp(2.75rem, 4.6vw, 3.75rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.01em;
}

.top-number__ja {
  font-size: clamp(2.25rem, 3.6vw, 3rem);
  font-weight: 500;
  line-height: 1;
}

.top-number__unit {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.top-number__text {
  margin: 16px 0 0;
  font-size: 0.875rem;
  line-height: 1.85;
  color: var(--lc-steel-700);
}

@media (max-width: 1023px) {
  .top-numbers {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .top-number:nth-child(3) {
    border-left: none;
  }

  .top-number:nth-child(n + 3) {
    border-top: 1px solid var(--lc-steel-200);
  }
}

/* スマホ: 1 列。数字を左、説明を右に */
@media (max-width: 767px) {
  .top-numbers {
    grid-template-columns: 1fr;
  }

  .top-number {
    display: grid;
    grid-template-columns: 116px 1fr;
    grid-template-areas:
      "label label"
      "value text";
    column-gap: 16px;
    align-items: start;
    padding: 20px 4px 22px;
  }

  .top-number + .top-number {
    border-left: none;
    border-top: 1px solid var(--lc-steel-200);
  }

  .top-number__label {
    grid-area: label;
  }

  .top-number__value {
    grid-area: value;
    margin-top: 10px;
  }

  .top-number__value .lc-en {
    font-size: 2.5rem;
  }

  .top-number__ja {
    font-size: 2rem;
  }

  .top-number__text {
    grid-area: text;
    margin-top: 10px;
    font-size: 0.8125rem;
  }
}

/* ---------- S7 OUR STORY ---------- */
.top-story {
  margin-top: 8px;
}

/* 定規: 1990 年代 → 2011 → これから。ゴールの先は点線（未来） */
.top-story__ruler {
  position: relative;
  height: 28px;
  margin-bottom: 30px;
}

.top-story__ruler::before {
  content: "";
  position: absolute;
  left: 0;
  width: calc(66.666% + 8px);
  bottom: 0;
  height: 18px;
  border-bottom: 2px solid var(--lc-navy-800);
  background:
    repeating-linear-gradient(to right, var(--lc-steel-500) 0 1px, transparent 1px 60px) left bottom / 100% 18px no-repeat,
    repeating-linear-gradient(to right, var(--lc-steel-300) 0 1px, transparent 1px 12px) left bottom / 100% 9px no-repeat;
}

.top-story__ruler::after {
  content: "";
  position: absolute;
  left: calc(66.666% + 8px);
  right: 0;
  bottom: 0;
  border-bottom: 2px dashed var(--lc-steel-300);
}

.top-story__mark {
  position: absolute;
  bottom: -8px;
  z-index: 1;
  width: 18px;
  height: 18px;
  border: 2px solid var(--lc-navy-800);
  border-radius: 50%;
  background: #fff;
}

.top-story__mark--1 {
  left: 0;
}

.top-story__mark--2 {
  left: calc(33.333% + 4px);
}

.top-story__mark--3 {
  left: calc(66.666% + 8px);
  width: 20px;
  height: 20px;
  bottom: -9px;
  border: none;
  background: var(--lc-red);
  box-shadow: 0 0 0 6px var(--lc-red-soft);
}

.top-story__steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.top-story__step {
  padding-right: 28px;
}

.top-story__year {
  display: flex;
  align-items: baseline;
  gap: 4px;
  color: var(--lc-navy-800);
}

.top-story__year .lc-en {
  font-size: clamp(2.5rem, 4vw, 3.25rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.01em;
}

.top-story__suffix {
  font-size: 1rem;
  font-weight: 700;
}

.top-story__year--ja {
  font-size: clamp(1.875rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.06em;
}

.top-story__label {
  margin-top: 16px;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.04em;
}

.top-story__text {
  margin-top: 10px;
  font-size: 0.9375rem;
  line-height: 1.95;
  color: var(--lc-steel-700);
}

@media (max-width: 767px) {
  .top-story__ruler {
    display: none;
  }

  .top-story__steps {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .top-story__step {
    position: relative;
    padding: 0 0 32px 30px;
    border-left: 2px solid var(--lc-navy-800);
    margin-left: 8px;
  }

  .top-story__step--goal {
    border-left: 2px dashed var(--lc-steel-300);
    padding-bottom: 8px;
  }

  .top-story__step::before {
    content: "";
    position: absolute;
    left: -10px;
    top: 4px;
    width: 18px;
    height: 18px;
    border: 2px solid var(--lc-navy-800);
    border-radius: 50%;
    background: #fff;
  }

  .top-story__step--goal::before {
    border: none;
    background: var(--lc-red);
    box-shadow: 0 0 0 6px var(--lc-red-soft);
  }
}

/* 私たちの姿勢 */
.top-stance {
  margin-top: clamp(56px, 7vw, 88px);
  text-align: center;
}

.top-stance__quote p {
  font-size: clamp(1.0625rem, 1.8vw, 1.3125rem);
  font-weight: 500;
  line-height: 2.1;
  letter-spacing: 0.06em;
  color: var(--lc-navy-800);
}

.top-stance__caption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 24px;
  font-size: var(--lc-fs-label);
  font-weight: 600;
  letter-spacing: var(--lc-ls-label);
  color: var(--lc-steel-500);
}

@media (max-width: 767px) {
  .top-stance {
    text-align: left;
  }

  .top-stance__caption {
    justify-content: space-between;
  }
}
