/* ═══════════════════════════════════════
   Strength Page — Figma Design A/B
   ═══════════════════════════════════════ */

/* ─── 内部ページヘッダー ─── */
.l-header__inner {
  filter: none !important;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   ページKV（Hero）
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.st-kv {
  position: relative;
  background: #fff;
  padding: 80px 0 40px;
}
.st-kv__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
}
.st-kv__en {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(3.5rem, 9vw, 7.5rem);
  font-weight: 900;
  color: #111;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.st-kv__ja {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: 700;
  color: #555;
  padding-left: 15px;
}
.st-kv__char {
  display: inline-block;
  color: var(--c);
  opacity: 0;
  transform: translateY(40px) scale(0.85);
  animation:
    kvCharPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards,
    kvCharColor 0.6s ease forwards;
  animation-delay:
    calc(var(--i) * 0.065s + 0.3s),
    calc(var(--i) * 0.065s + 1s);
}
@keyframes kvCharPop {
  0% { opacity: 0; transform: translateY(40px) scale(0.85); }
  60% { opacity: 1; transform: translateY(-6px) scale(1.04); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes kvCharColor {
  to { color: var(--final, #111); }
}
.st-kv__ja {
  opacity: 0;
  animation: kvJaFade 0.5s ease 1s forwards;
}
@keyframes kvJaFade {
  to { opacity: 1; }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   Quality & Technology — wireframe
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.st-quality-section {
  padding: 40px 0 60px;
}
.st-quality-section__bg-img { display: none; }
.st-quality-section__content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}
.st-quality-section__heading {
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  font-weight: 700;
  line-height: 1.8;
  color: #4a9fd9;
  margin-bottom: 20px;
}
.st-quality-section__body {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #555;
  max-width: 40%;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   Three Pillars — wireframe
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.st-pillars-section {
  padding: 0;
}
.st-pillars-section__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 60px 40px;
}
.st-pillars-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: clamp(48px, 6vw, 80px);
}
.st-pillars-header__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.st-pillars-header__accents {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}
.st-pillars-header__accent {
  display: block;
}
.st-pillars-header__accent--blue {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #0056b3;
}
.st-pillars-header__accent--orange {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: #ff5733;
  align-self: flex-end;
}
.st-pillars-header__text {
  font-size: 14px;
  line-height: 1.8;
  color: #777;
  text-align: right;
}
.st-pillars-section .cp-vision-header {
  display: flex;
  flex-direction: column;
}
.st-pillars-section .cp-vision-header__en {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 900;
  color: #4a9fd9;
  letter-spacing: 0.02em;
}
.st-pillars-section .cp-vision-header__sub {
  font-size: clamp(0.85rem, 1.1vw, 1rem);
  color: #555;
  white-space: nowrap;
  margin-top: 8px;
}
.st-pillars-header__dots {
  font-size: 1.5rem;
  color: #4a9fd9;
  letter-spacing: 0.3em;
  margin-top: 8px;
  display: block;
}
.st-pillar-cards {
  display: flex;
  gap: 32px;
}
.st-pillar-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}
.st-pillar-card__visual {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.st-pillar-card__visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.st-pillars-memo {
  max-width: 1200px;
  margin: 0 auto 24px;
  padding: 16px 24px;
  border: 2px dashed #dc2626;
  background: #fef2f2;
  color: #dc2626;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.6;
  border-radius: 8px;
}
.st-pillars-memo__label {
  display: inline-block;
  background: #dc2626;
  color: #fff;
  padding: 2px 10px;
  border-radius: 4px;
  margin-right: 10px;
  font-size: 0.85rem;
}
/* ── Card 01: Royal Blue ── */
.st-pillar-card--blue .st-pillar-card__visual { background: #e6f0fa; }
.st-pillar-card--blue .st-pillar-card__step { color: #0056b3; }
.st-pillar-card--blue .st-pillar-card__title { color: #0056b3; }
/* ── Card 02: Orange ── */
.st-pillar-card--orange .st-pillar-card__visual { background: #fff0ec; }
.st-pillar-card--orange .st-pillar-card__step { color: #ff5733; }
.st-pillar-card--orange .st-pillar-card__title { color: #ff5733; }
/* ── Card 03: Green ── */
.st-pillar-card--green .st-pillar-card__visual { background: #f0fdf4; }
.st-pillar-card--green .st-pillar-card__step { color: #22c55e; }
.st-pillar-card--green .st-pillar-card__title { color: #22c55e; }
/* ── Step label ── */
.st-pillar-card__step {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(3rem, 5vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-top: 20px;
  margin-bottom: 0;
}
.st-pillar-card__title {
  font-size: 18px;
  font-weight: 700;
  margin-top: 4px;
  margin-bottom: 0;
}
.st-pillar-card__text {
  font-size: 14px;
  line-height: 1.8;
  color: #555;
  margin-top: 12px;
  margin-bottom: 0;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   5S Philosophy — wireframe
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
/* ── 5S Philosophy (B-pattern replica) ── */
.st-5s {
  padding: 100px 0 60px;
  background: linear-gradient(
    to bottom,
    #ffffff 0%,
    #f8f8f8 120px,
    #f8f8f8 calc(100% - 120px),
    #ffffff 100%
  );
  overflow: visible;
}
.st-5s__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}
.st-5s-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: clamp(48px, 6vw, 80px);
}
.st-5s-top__left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.st-5s-top__accents {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}
.st-5s-top__accent {
  display: block;
}
.st-5s-top__accent--blue {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #0056b3;
}
.st-5s-top__accent--orange {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: #ff5733;
  align-self: flex-end;
}
.st-5s-top__text {
  font-size: 14px;
  line-height: 1.8;
  color: #777;
  text-align: left;
}
.st-5s-top__right {
  text-align: right;
  flex-shrink: 0;
}
.st-5s-top__en {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 900;
  color: #4a9fd9;
  letter-spacing: 0.02em;
}
.st-5s-top__sub {
  font-size: clamp(0.85rem, 1.1vw, 1rem);
  color: #555;
  white-space: nowrap;
  margin-top: 8px;
  display: block;
}
.st-5s__area {
  position: relative;
  height: 620px;
}
/* Wave decorations */
.st-5s__nami1,
.st-5s__nami2 {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  left: 0;
  width: 100%;
}
.st-5s__nami2 {
  top: 40%;
  transform: rotate(-10deg);
  opacity: 0.6;
}
.st-5s__nami1 {
  bottom: 10%;
  opacity: 0.5;
}
/* Bubble circles */
.st-5s__bubble {
  position: absolute;
  width: 270px;
  height: 270px;
  border-radius: 50%;
  background: linear-gradient(180deg, #a5cfec 0%, #6d9af7 100%);
  box-shadow: 0 4px 10px rgba(168,216,234,0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px 24px;
  color: #fff;
  text-align: center;
  letter-spacing: 0.887px;
  z-index: 1;
}
.st-5s__bubble-title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
}
.st-5s__bubble-sub {
  font-size: 13px;
  font-weight: 700;
  margin-top: 4px;
}
.st-5s__bubble-desc {
  font-size: 13px;
  font-weight: 350;
  line-height: 1.8;
  margin-top: 10px;
}
/* Bubble positions — zigzag */
.st-5s__bubble--seiri    { left: 3%;   top: 48%; }
.st-5s__bubble--seiton   { left: 20%;  top: 5%; }
.st-5s__bubble--seiso    { left: 38%;  top: 48%; }
.st-5s__bubble--seiketsu { left: 55%;  top: 0%; }
.st-5s__bubble--shitsuke { left: 72%;  top: 43%; }
/* Bubble pop-in animation */
.st-5s__bubble {
  opacity: 0;
  transform: scale(0);
}
.st-5s__area.is-animated .st-5s__bubble {
  animation: bubblePop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.st-5s__area.is-animated .st-5s__bubble--seiri    { animation-delay: 0.15s; }
.st-5s__area.is-animated .st-5s__bubble--seiton   { animation-delay: 0.4s; }
.st-5s__area.is-animated .st-5s__bubble--seiso    { animation-delay: 0.65s; }
.st-5s__area.is-animated .st-5s__bubble--seiketsu { animation-delay: 0.9s; }
.st-5s__area.is-animated .st-5s__bubble--shitsuke { animation-delay: 1.15s; }
@keyframes bubblePop {
  0% { opacity: 0; transform: scale(0); }
  100% { opacity: 1; transform: scale(1); }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   Manufacturing Process (B-pattern replica)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.st-process {
  padding: 120px 0 100px;
  background: #fff;
}
.st-process__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}
.st-process-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: clamp(48px, 6vw, 80px);
}
.st-process-top__left {
  flex-shrink: 0;
}
.st-process-top__en {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 900;
  color: #4a9fd9;
  letter-spacing: 0.02em;
}
.st-process-top__sub {
  font-size: clamp(0.85rem, 1.1vw, 1rem);
  color: #555;
  white-space: nowrap;
  margin-top: 8px;
  display: block;
}
.st-process-top__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.st-process-top__accents {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}
.st-process-top__accent {
  display: block;
}
.st-process-top__accent--blue {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #0056b3;
}
.st-process-top__accent--orange {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: #ff5733;
  align-self: flex-end;
}
.st-process-top__text {
  font-size: 14px;
  line-height: 1.8;
  color: #777;
  text-align: right;
}
/* Process flow bar */
.st-flow-bar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 60px;
}
.st-flow-bar__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.st-flow-bar__card {
  width: 145px;
  height: 145px;
  border: 2px solid #4a9fd9;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  padding: 12px 8px;
  gap: 10px;
  cursor: pointer;
  transition: background 0.25s, box-shadow 0.25s, transform 0.25s;
}
.st-flow-bar__card:hover {
  background: rgba(74,159,217,0.08);
  box-shadow: 0 4px 12px rgba(74,159,217,0.25);
  transform: translateY(-3px);
}
.st-flow-bar__icon {
  width: auto;
  height: 60px;
  max-width: 100px;
  object-fit: contain;
  filter: brightness(0.75) saturate(1.8);
}
.st-flow-bar__icon--wide {
  width: auto;
}
.st-flow-bar__label {
  font-size: 17px;
  font-weight: 600;
  color: #4a9fd9;
  text-align: center;
  letter-spacing: 0.02em;
  line-height: 1.3;
  white-space: nowrap;
}
.st-flow-bar__arrow {
  width: 40px;
  flex: 0 0 40px;
  height: 6px;
  background: #4a9fd9;
  border-radius: 3px;
  position: relative;
  margin: 0 10px;
}
.st-flow-bar__arrow::after {
  content: "";
  position: absolute;
  right: -4px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 12px solid #4a9fd9;
}
/* Flow bar down arrow between rows — same bar+tip style as horizontal arrows */
.st-flow-bar__down-arrow {
  display: flex;
  justify-content: flex-end;
  padding-right: 60px;
  margin: 8px 0;
}
.st-flow-bar__down-arrow .st-down-arrow__tri {
  position: relative;
  width: 6px !important;
  height: 40px !important;
  background: #4a9fd9 !important;
  border: none !important;
  border-radius: 3px;
}
.st-flow-bar__down-arrow .st-down-arrow__tri::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -4px;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 12px solid #4a9fd9;
}
/* Reverse row (right to left) */
.st-flow-bar__row--reverse {
  flex-direction: row-reverse;
}
/* Left-pointing arrows: exact mirror of the right-pointing arrow tip */
.st-flow-bar__arrow--left::after {
  right: auto;
  left: -4px;
  border-left: 0;
  border-right: 12px solid #4a9fd9;
  transform: translateY(-50%);
}
/* Flow bar animation */
.st-flow-bar .st-flow-bar__card,
.st-flow-bar .st-flow-bar__arrow {
  opacity: 0;
}
.st-flow-bar.is-animated .st-flow-bar__card {
  animation: flowCardPop 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.st-flow-bar.is-animated .st-flow-bar__arrow {
  animation: flowArrowSlide 0.35s ease-out both;
}
.st-flow-bar.is-animated .st-flow-bar__row:nth-child(1) > :nth-child(1) { animation-delay: 0.1s; }
.st-flow-bar.is-animated .st-flow-bar__row:nth-child(1) > :nth-child(2) { animation-delay: 0.25s; }
.st-flow-bar.is-animated .st-flow-bar__row:nth-child(1) > :nth-child(3) { animation-delay: 0.4s; }
.st-flow-bar.is-animated .st-flow-bar__row:nth-child(1) > :nth-child(4) { animation-delay: 0.55s; }
.st-flow-bar.is-animated .st-flow-bar__row:nth-child(1) > :nth-child(5) { animation-delay: 0.7s; }
.st-flow-bar.is-animated .st-flow-bar__row:nth-child(1) > :nth-child(6) { animation-delay: 0.85s; }
.st-flow-bar.is-animated .st-flow-bar__row:nth-child(1) > :nth-child(7) { animation-delay: 1.0s; }
.st-flow-bar.is-animated .st-flow-bar__row:nth-child(2) > :nth-child(1) { animation-delay: 1.15s; }
.st-flow-bar.is-animated .st-flow-bar__row:nth-child(2) > :nth-child(2) { animation-delay: 1.3s; }
.st-flow-bar.is-animated .st-flow-bar__row:nth-child(2) > :nth-child(3) { animation-delay: 1.45s; }
.st-flow-bar.is-animated .st-flow-bar__row:nth-child(2) > :nth-child(4) { animation-delay: 1.6s; }
.st-flow-bar.is-animated .st-flow-bar__row:nth-child(2) > :nth-child(5) { animation-delay: 1.75s; }
.st-flow-bar.is-animated .st-flow-bar__row:nth-child(2) > :nth-child(6) { animation-delay: 1.9s; }
.st-flow-bar.is-animated .st-flow-bar__row:nth-child(2) > :nth-child(7) { animation-delay: 2.05s; }
@keyframes flowCardPop {
  0% { opacity: 0; transform: scale(0.3) translateY(20px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes flowArrowSlide {
  0% { opacity: 0; transform: translateX(-20px); }
  100% { opacity: 1; transform: translateX(0); }
}
.st-flow-bar.is-animated .st-flow-bar__arrow:not(.st-flow-bar__arrow--left)::after {
  animation: arrowPulse 1.2s ease-in-out infinite;
}
.st-flow-bar.is-animated .st-flow-bar__arrow--left::after {
  animation: arrowPulseLeft 1.2s ease-in-out infinite;
}
@keyframes arrowPulse {
  0%, 100% { transform: translateY(-50%) translateX(0); }
  50% { transform: translateY(-50%) translateX(5px); }
}
@keyframes arrowPulseLeft {
  0%, 100% { transform: translateY(-50%) translateX(0); }
  50% { transform: translateY(-50%) translateX(-5px); }
}
.st-flow-bar.is-animated .st-flow-bar__down-arrow .st-down-arrow__tri::after {
  animation: arrowPulseDown 1.2s ease-in-out infinite;
}
@keyframes arrowPulseDown {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(5px); }
}
/* Process Flow subtitle */
.st-process-flow__title {
  font-family: 'Montserrat', sans-serif;
  font-size: 24px;
  font-weight: 500;
  color: #4a9fd9;
  margin-bottom: 48px;
  letter-spacing: 0.043em;
  text-align: center;
}
/* Process card */
.st-card {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  padding: 30px 28px;
  display: flex;
  gap: 28px;
  align-items: flex-start;
}
.st-card--bordered {
  background: #fff;
  border: 1px solid #c0c0c0;
}
.st-card--blue {
  background: #e8eef6;
  border: none;
}
.st-card--gray {
  background: #f8f8f8;
  border: none;
}
.st-card__text {
  flex: 1;
  color: #555;
  letter-spacing: 0.054em;
}
.st-card__title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.8;
  margin-bottom: 12px;
}
.st-card__desc {
  font-size: 15px;
  font-weight: 350;
  line-height: 1.8;
}
.st-card__img {
  width: 350px;
  height: 233px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}
/* Down arrow */
.st-down-arrow {
  display: flex;
  justify-content: center;
  padding: 24px 0;
}
.st-down-arrow__tri {
  width: 0;
  height: 0;
  border-left: 19.5px solid transparent;
  border-right: 19.5px solid transparent;
  border-top: 33px solid #c5ddf0;
}
/* Branch tabs */
.st-branch-tabs {
  display: flex;
  gap: 16px;
  margin-bottom: 64px;
  position: relative;
}
.st-branch-tab {
  flex: 1;
  padding: 22px 88px 22px 56px;
  border: 2px solid #c0c0c0;
  border-radius: 16px;
  background: #fff;
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  color: #555;
  letter-spacing: 0.043em;
  line-height: 1.6;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
  position: relative;
  box-shadow: 0 2px 6px rgba(15, 48, 104, 0.06);
}
.st-branch-tab::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border: 2px solid #b8b8b8;
  border-radius: 50%;
  background: #fff;
  transition: all 0.25s ease;
  box-sizing: border-box;
}
.st-branch-tab::after {
  content: "Click";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: #b8b8b8;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border: 1px solid #d8d8d8;
  border-radius: 999px;
  transition: all 0.25s ease;
}
.st-branch-tab:hover {
  border-color: #4a9fd9;
  color: #4a9fd9;
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(74, 159, 217, 0.2);
}
.st-branch-tab:hover::before {
  border-color: #4a9fd9;
}
.st-branch-tab:hover::after {
  color: #4a9fd9;
  border-color: #4a9fd9;
  background: rgba(74, 159, 217, 0.08);
}
.st-branch-tab.is-active {
  background: #4a9fd9;
  border-color: #4a9fd9;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(74, 159, 217, 0.42);
}
.st-branch-tab.is-active::before {
  background: #fff;
  border-color: #fff;
  box-shadow: inset 0 0 0 5px #4a9fd9;
}
.st-branch-tab.is-active::after {
  content: "選択中";
  color: #4a9fd9;
  background: #fff;
  border-color: #fff;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
}
.st-branch-content {
  display: none;
}
.st-branch-content.is-active {
  display: block;
  animation: tabFadeIn 0.5s ease;
}
@keyframes tabFadeIn {
  0% { opacity: 0; transform: translateY(16px); }
  100% { opacity: 1; transform: translateY(0); }
}
/* Branch card */
.st-branch-card {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  padding: 30px 50px 50px;
}
.st-branch-card--blue { background: #e8eef6; }
.st-branch-card--gray { background: #f8f8f8; }
.st-branch-card__title {
  font-size: 20px;
  font-weight: 700;
  color: #555;
  letter-spacing: 0.054em;
  line-height: 1.8;
  margin-bottom: 20px;
}
.st-branch-card__title span { font-weight: 400; }
.st-branch-card__img-wrap {
  position: relative;
  width: 100%;
  height: calc(100vh - 400px);
  max-height: calc(100vw * 9 / 16);
  min-height: 220px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e8eef6;
  margin-bottom: 20px;
  background: #fff !important;
  box-shadow: 0 4px 14px rgba(15, 48, 104, 0.06);
}
@media (max-width: 1280px) {
  .st-branch-card__img-wrap {
    height: auto;
    aspect-ratio: 16 / 9;
    max-height: none;
    margin-bottom: 32px;
  }
  /* Video & labels inside container — capped at 880px and centered (white margin around) */
  .st-branch-card__img-wrap video {
    top: 0 !important;
    bottom: 0 !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    width: 100% !important;
    max-width: 880px !important;
    height: 100% !important;
  }
  .st-branch-card__stages {
    inset: auto !important;
    top: 0 !important;
    bottom: 0 !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    width: 100% !important;
    max-width: 880px !important;
  }
  .st-branch-card { padding: 32px 60px 48px; }
}
@media (max-width: 900px) {
  .st-branch-card { padding: 28px 32px 40px; }
  .st-branch-card__img-wrap video,
  .st-branch-card__stages {
    max-width: 100%;
  }
}
.st-branch-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.st-branch-card__img-wrap video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: opacity 0.4s ease;
  background: #fff !important;
}
.st-branch-card__img-wrap.is-fading video {
  opacity: 0;
}
.st-branch-card__img-wrap.is-cropped video {
  transition: opacity 0.5s ease;
}
.st-branch-card__sub {
  transition: opacity 0.3s ease;
}
/* Crop caption overlay */
.st-branch-card__crop-caption {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  padding: 6px 24px;
  border-radius: 20px;
  letter-spacing: 0.06em;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: 5;
  white-space: nowrap;
}
.st-branch-card__img-wrap.is-cropped .st-branch-card__crop-caption {
  opacity: 1;
}
/* Close hint */
.st-branch-card__crop-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 32px;
  height: 32px;
  background: rgba(0,0,0,0.45);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: 5;
  cursor: pointer;
}
.st-branch-card__crop-close::before,
.st-branch-card__crop-close::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 2px;
  background: #fff;
  border-radius: 1px;
}
.st-branch-card__crop-close::before { transform: rotate(45deg); }
.st-branch-card__crop-close::after { transform: rotate(-45deg); }
.st-branch-card__img-wrap.is-cropped .st-branch-card__crop-close {
  opacity: 1;
  pointer-events: auto;
}
.st-branch-card__label {
  position: absolute;
  border: 2px solid #4a9fd9;
  border-radius: 20px;
  padding: 6px 20px;
  font-size: 20px;
  font-weight: 700;
  color: #4a9fd9;
  background: rgba(255,255,255,0.85);
  white-space: nowrap;
  letter-spacing: 0.044em;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s, opacity 0.4s ease;
  z-index: 2;
}
.st-branch-card__label,
.st-branch-card__crop-caption,
.st-branch-card__crop-close {
  display: none;
}
.st-branch-card__img-wrap.is-fading .st-branch-card__label,
.st-branch-card__img-wrap.is-cropped .st-branch-card__label {
  opacity: 0;
  pointer-events: none;
}
.st-branch-card__subs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 20px;
}
.st-branch-card--gray .st-branch-card__subs {
  grid-template-columns: repeat(3, 1fr);
}
.st-branch-card__sub {
  background: #fff;
  border-radius: 20px;
  padding: 24px 29px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}
.st-branch-card__sub-text {
  flex: 1;
  color: #555;
  letter-spacing: 0.054em;
}
.st-branch-card__sub-num {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #4a9fd9;
  background: rgba(74, 159, 217, 0.12);
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.05em;
  margin-right: 12px;
  vertical-align: middle;
  line-height: 1;
}
.st-branch-card__sub-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.8;
  margin-bottom: 12px;
}
.st-branch-card__sub-desc {
  font-size: 15px;
  font-weight: 350;
  line-height: 1.8;
}
.st-branch-card__sub-img {
  width: 100%;
  height: 180px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}
/* Scroll animation */
.js-anim_elm {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.js-anim_elm.is-animated {
  opacity: 1;
  transform: translateY(0);
}
.st-flow-bar.is-animated {
  opacity: 1;
  transform: translateY(0);
}
/* Movie section */
.st-process-movie {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.st-process-movie__item {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.st-process-movie__video {
  flex: 0 0 60%;
  overflow: hidden;
}
.st-process-movie__video video {
  display: block;
  width: 100%;
  height: auto;
}
.st-process-movie__body { flex: 1; min-width: 0; }
.st-process-movie__title {
  font-size: 16px;
  font-weight: 500;
  color: #333;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid #ddd;
}
.st-process-movie__desc {
  font-size: 14px;
  line-height: 1.7;
  color: #555;
}

/* rc-section: index.php の page-index.css から読み込み */

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   Responsive
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* Optional sub-step (e.g. シュリンク カット — sometimes skipped) */
.st-branch-card__sub.st-branch-card__sub--optional {
  border: 2px dashed #ff8a3d;
  background: rgba(255, 245, 235, 0.4);
  position: relative;
}
.st-branch-card__sub.st-branch-card__sub--optional::before {
  content: "※製品により省略";
  position: absolute;
  top: -12px;
  left: 20px;
  background: #ff8a3d;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  font-family: 'Noto Sans JP', sans-serif;
  z-index: 2;
}


/* Stage labels overlay on top of process video (e.g. シュリンク) */
.st-branch-card__stages {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
}
.st-branch-card__stage {
  position: absolute;
  background: #fff;
  color: #1e4681;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  font-weight: 700;
  padding: 8px 22px;
  border: 1.5px solid #a3c9e0;
  border-radius: 999px;
  text-align: center;
  letter-spacing: 0.04em;
  box-shadow: 0 3px 10px rgba(74, 159, 217, 0.15);
  white-space: nowrap;
}
@media (max-width: 768px) {
  .st-branch-card__stage { font-size: 11px; padding: 6px 12px; }
}

@media (max-width: 768px) {
  .st-kv {
    padding: 80px 0 32px;
  }
  .st-pillar-cards {
    flex-direction: column;
    gap: 40px;
  }
  .st-pillars-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .st-pillars-header__right {
    align-items: flex-start;
  }
  .st-pillars-header__text {
    text-align: left;
  }
  .st-pillar-card__visual {
    max-width: 300px;
  }
  .st-5s-top {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 16px;
  }
  .st-5s-top__right {
    text-align: left;
  }
  .st-5s { padding: 60px 0 40px; }
  .st-5s__inner { padding: 0 20px; }
  .st-5s__area { height: auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; padding: 20px 0; }
  .st-5s__bubble { position: static; width: 200px; height: 200px; padding: 20px 18px; opacity: 1; transform: scale(1); }
  .st-5s__bubble-title { font-size: 20px; }
  .st-5s__bubble-sub { font-size: 11px; }
  .st-5s__bubble-desc { font-size: 11px; margin-top: 6px; }
  .st-5s__nami1, .st-5s__nami2 { display: none; }
  .st-process-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .st-process-top__right {
    align-items: flex-start;
  }
  .st-process-top__text {
    text-align: left;
  }
  .st-process { padding: 80px 0 60px; }
  .st-process__inner { padding: 0 20px; }
  .st-flow-bar { flex-wrap: wrap; justify-content: center; gap: 8px; }
  .st-flow-bar__row--reverse { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .st-flow-bar__card { width: 90px; height: 100px; padding: 8px 3px; }
  .st-flow-bar__icon { width: auto; height: 40px; max-width: 66px; }
  .st-flow-bar__label { font-size: 11px; }
  .st-flow-bar__arrow { display: none; }
  .st-flow-bar__down-arrow { justify-content: center; padding-right: 0; }
  .st-card { flex-direction: column; padding: 24px 20px; }
  .st-card__img { width: 100%; height: auto; }
  .st-branch-tabs { flex-direction: column; gap: 12px; }
  .st-branch-tab { font-size: 16px; padding: 16px 12px; }
  .st-branch-card { padding: 20px; }
  .st-branch-card__subs { grid-template-columns: 1fr; }
  .st-branch-card__sub { flex-direction: column; }
  .st-branch-card__img-wrap { height: auto; aspect-ratio: 16 / 9; min-height: 200px; }
  .st-branch-card__sub-img { width: 100%; height: auto; }
  .st-process-flow__title { font-size: 18px; }
  .st-process-movie__item {
    flex-direction: column;
  }
  .st-process-movie__video {
    flex: none;
    width: 100%;
  }
}
