/* ==========================================================================
   ShineLink Global — TOP page design (loaded only on index pages)
   ========================================================================== */
.home-num {
  font-family: "Inter", sans-serif;
  font-weight: 300;
  font-size: 40px;
  line-height: 1;
  color: #d9a406;
  letter-spacing: -0.02em;
}
.btn-ghost {
  background: #fff;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-ghost:hover { background: var(--navy); color: #fff; }

/* ---------- Hero ---------- */
.home-hero {
  position: relative;
  background: #fff;
  overflow: hidden;
  min-height: 560px;
}
.home-hero-scene {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 72%;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 38%);
  mask-image: linear-gradient(to right, transparent 0, #000 38%);
}
.home-hero-scene svg { width: 100%; height: 100%; display: block; }
.home-hero-inner {
  position: relative;
  z-index: 2;
  min-height: 560px;
  display: flex;
  align-items: center;
}
.home-hero-copy { padding: 44px 0 52px; max-width: 640px; }
.home-hero-title { font-family: "Inter", sans-serif; font-weight: 800; line-height: 0.9; letter-spacing: -0.035em; font-size: clamp(54px, 8.2vw, 108px); margin-bottom: 22px; }
.home-hero-title span {
  display: block;
  width: fit-content;
  background: linear-gradient(95deg, #142b52 0%, #1c3868 42%, #2f5aa3 78%, #f2b705 135%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.home-hero-h1 { font-size: clamp(20px, 2.3vw, 28px); font-weight: 800; color: var(--navy); line-height: 1.45; }
.home-hero-lead { margin-top: 14px; font-size: 15px; color: var(--text); line-height: 1.9; font-weight: 500; }
.home-hero-actions { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 14px; }
.home-hero-actions .btn { padding: 13px 26px; }
.home-hero-side {
  position: absolute;
  top: 34px; right: 24px;
  z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.16em; color: var(--navy);
  background: rgba(255, 255, 255, 0.55);
  padding: 8px 10px;
  border-radius: 8px;
}
.home-hero-side i { font-style: normal; font-weight: 400; font-size: 11px; }
.home-hero-caption {
  position: absolute;
  right: 24px; bottom: 26px;
  z-index: 3;
  text-align: right;
  font-size: 11px; letter-spacing: 0.22em; line-height: 1.9;
  color: #fff;
  text-shadow: 0 1px 8px rgba(12, 28, 56, 0.6);
}

/* ---------- Section heads ---------- */
.home-block { padding: 34px 0 10px; background: #fff; }
.home-block-tight { padding-top: 22px; padding-bottom: 36px; }
.home-sec-head { display: flex; align-items: baseline; gap: 18px; margin-bottom: 18px; }
.home-sec-head h2 { font-family: "Inter", sans-serif; font-weight: 800; font-size: 24px; letter-spacing: -0.01em; color: var(--navy); white-space: nowrap; }
.home-sec-sub { font-size: 13px; color: var(--muted); font-weight: 500; white-space: nowrap; }
.home-sec-line { flex: 1; height: 1px; background: var(--line); align-self: center; }
.home-sec-more { font-size: 12.5px; font-weight: 700; color: var(--navy-3); white-space: nowrap; }
.home-sec-more:hover { color: var(--navy); }

/* ---------- Strengths ---------- */
.home-strengths-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.home-strength { display: flex; gap: 16px; align-items: center; padding: 6px 22px; border-right: 1px solid var(--line); }
.home-strength:first-child { padding-left: 0; }
.home-strength:last-child { border-right: none; padding-right: 0; }
.home-strength-thumb { flex: 0 0 150px; height: 108px; border-radius: 6px; overflow: hidden; box-shadow: var(--shadow); }
.home-strength-thumb svg { width: 100%; height: 100%; display: block; }
.home-strength-txt { display: flex; gap: 12px; align-items: flex-start; min-width: 0; }
.home-strength-txt h3 { font-size: 16px; color: var(--navy); line-height: 1.45; margin-bottom: 6px; }
.home-strength-txt p { font-size: 12.5px; color: var(--muted); line-height: 1.75; }

/* ---------- Services ---------- */
.home-svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.home-svc {
  position: relative;
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  transition: 0.25s;
}
.home-svc:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(242, 183, 5, 0.6); }
.home-svc-img { height: 150px; overflow: hidden; }
.home-svc-img svg { width: 100%; height: 100%; display: block; transition: transform 0.5s; }
.home-svc:hover .home-svc-img svg { transform: scale(1.05); }
.home-svc-body { position: relative; padding: 14px 54px 18px 16px; display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: baseline; }
.home-svc-body .home-num { font-size: 28px; grid-row: 1; }
.home-svc-body h3 { font-size: 15.5px; color: var(--navy); line-height: 1.4; }
.home-svc-body p { grid-column: 1 / -1; margin-top: 8px; font-size: 12.5px; color: var(--muted); line-height: 1.7; }
.home-svc-go {
  position: absolute; right: 14px; bottom: 16px;
  width: 30px; height: 30px; border-radius: 50%;
  border: 1.5px solid var(--navy-3); color: var(--navy-3);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; transition: 0.2s;
}
.home-svc:hover .home-svc-go { background: var(--navy-3); color: #fff; }

/* ---------- Numbers strip ---------- */
.home-numbers {
  background: linear-gradient(180deg, #eef4fc 0%, #dfeafa 100%);
  border-top: 1px solid #d3e2f6;
  padding: 26px 0;
}
.home-numbers-inner { display: flex; align-items: center; gap: 36px; }
.home-numbers h2 { font-size: 19px; color: var(--navy); white-space: nowrap; }
.home-stat-list { flex: 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.home-stat { display: flex; align-items: center; gap: 12px; padding: 4px 18px; border-left: 1px solid #c3d6ef; }
.home-stat-icon { flex: 0 0 38px; height: 38px; color: var(--navy-3); }
.home-stat-icon svg { width: 100%; height: 100%; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.home-stat strong { display: block; font-family: "Inter", "Noto Sans JP", "Noto Sans SC", sans-serif; font-size: 20px; font-weight: 800; color: var(--navy); line-height: 1.2; }
.home-stat span { display: block; font-size: 12px; color: var(--muted); line-height: 1.5; }

/* ---------- CTA banner ---------- */
.home-cta { position: relative; overflow: hidden; min-height: 250px; background: #16305f; }
.home-cta-scene { position: absolute; inset: 0; }
.home-cta-scene svg { width: 100%; height: 100%; display: block; }
.home-cta::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12, 28, 56, 0.72) 0%, rgba(12, 28, 56, 0.25) 55%, rgba(12, 28, 56, 0) 100%); }
.home-cta-inner { position: relative; z-index: 2; min-height: 250px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.home-cta-copy { padding: 36px 0; }
.home-cta-copy h2 { color: #fff; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.45; }
.home-cta-copy p { margin-top: 10px; color: rgba(255, 255, 255, 0.88); font-size: 14px; }
.home-cta .btn-dark { background: var(--navy); border-color: var(--navy); }
.home-cta .btn-dark:hover { background: var(--navy-3); }
.home-cta-logo { flex-shrink: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .home-strengths-grid { grid-template-columns: 1fr; gap: 14px; }
  .home-strength, .home-strength:first-child, .home-strength:last-child { padding: 12px 0; border-right: none; border-bottom: 1px solid var(--line); }
  .home-svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-numbers-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .home-stat-list { width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 14px; }
  .home-stat:nth-child(odd) { border-left: none; padding-left: 0; }
}
@media (max-width: 760px) {
  .home-hero { min-height: 0; }
  .home-hero-scene { position: relative; width: 100%; height: 230px; -webkit-mask-image: linear-gradient(to bottom, #000 62%, transparent 100%); mask-image: linear-gradient(to bottom, #000 62%, transparent 100%); }
  .home-hero-inner { min-height: 0; display: block; }
  .home-hero-copy { padding: 6px 0 34px; }
  .home-hero-side, .home-hero-caption { display: none; }
  .home-sec-sub, .home-sec-line { display: none; }
  .home-sec-head { justify-content: space-between; }
  .home-svc-grid { grid-template-columns: 1fr; }
  .home-strength-thumb { flex-basis: 120px; height: 90px; }
  .home-cta-inner { flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px; padding-bottom: 28px; }
  .home-cta::after { background: rgba(12, 28, 56, 0.6); }
  .home-cta-logo { align-self: flex-end; }
}

/* photo slots (assets/images/photos/*) */
.home-hero-scene img, .home-strength-thumb img, .home-svc-img img, .home-cta-scene img { width: 100%; height: 100%; object-fit: cover; display: block; }
