/* ASJ-inspired styles for Bunshin LLC */

:root {
  --asj-dark: #333333;
  --asj-red: #c20d22;
  --asj-blue: #002e73;
  --asj-gray: #5a5a5a;
  --header-h: 125px;
  --header-h-sm: 90px;
  /* 与首页 ABOUT US 文字左缘对齐（about-inner 居中 + padding） */
  --about-inner-max: calc(1400px + 360px);
  --content-align-left: max(1.5rem, calc((100vw - min(var(--about-inner-max), 100vw)) / 2 + 1.5rem));
  --logo-align-left: calc(var(--content-align-left) + 1.25rem);
}

body {
  font-family: "Noto Sans JP", "Noto Sans SC", sans-serif;
  color: var(--asj-dark);
  background: #fff;
}

.font-bebas {
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.02em;
}

/* Section title: ABOUT US / 私たちについて */
.section-title {
  text-align: center;
  color: var(--asj-dark);
}
.section-title .en {
  display: block;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  line-height: 1;
}
.section-title .jp {
  display: block;
  margin-top: 0.5em;
  font-size: 1rem;
  font-weight: 700;
}
.section-title.left {
  text-align: left;
}
.section-title.light {
  color: #fff;
}

/* ASJ btn_more */
.btn-asj {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  height: 50px;
  padding: 0 3em 0 1.5em;
  border: 1px solid var(--asj-dark);
  background: #fff;
  color: var(--asj-dark);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  transition: color 0.3s, border-color 0.3s;
  overflow: hidden;
}
.btn-asj::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--asj-dark);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
  z-index: 0;
}
.btn-asj::after {
  content: "→";
  position: absolute;
  right: 1em;
  z-index: 1;
  transition: color 0.3s;
}
.btn-asj span {
  position: relative;
  z-index: 1;
}
.btn-asj:hover {
  color: #fff;
  border-color: #fff;
  opacity: 1;
}
.btn-asj:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}
.btn-asj:hover::after {
  color: #fff;
}

.btn-asj-dark {
  background: var(--asj-dark);
  color: #fff;
  border-color: var(--asj-dark);
}
.btn-asj-dark::before {
  background: #fff;
}
.btn-asj-dark:hover {
  color: var(--asj-dark);
}

/* Header */
.asj-header {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.25s;
}
.asj-header.is-scrolled {
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
}
.asj-header.is-scrolled .asj-header-inner {
  height: var(--header-h-sm);
}
.asj-header.is-scrolled .asj-logo img {
  height: 56px;
}
.asj-header.is-scrolled .asj-reserve {
  height: var(--header-h-sm);
}
.asj-header.is-scrolled .asj-dropdown-menu {
  top: var(--header-h-sm);
}

.asj-header-inner {
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  width: 100%;
  height: var(--header-h);
  margin: 0;
  padding: 0;
  transition: height 0.25s ease;
}

.asj-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  padding: 0.75rem 0 0.75rem var(--logo-align-left);
}
.asj-logo img {
  height: 88px;
  width: auto;
  transition: height 0.25s ease;
}

/* 右侧整体贴边 — 对齐 ASJ right_content + reserve_btn */
.asj-header-right {
  display: flex;
  align-items: stretch;
  margin-left: auto;
  flex-shrink: 0;
}

.asj-nav-wrap {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 3rem 0 0;
}

.asj-lang-bar {
  display: flex;
  justify-content: flex-end;
  gap: 0;
  padding: 8px 0 6px;
}
.asj-lang-btn {
  padding: 2px 12px;
  font-size: 12px;
  font-weight: 500;
  color: var(--asj-gray);
  border: none;
  background: transparent;
  cursor: pointer;
  transition: color 0.2s;
  letter-spacing: 0.04em;
}
.asj-lang-btn + .asj-lang-btn {
  border-left: 1px solid #ddd;
}
.asj-lang-btn:hover {
  color: var(--asj-dark);
  opacity: 1;
}
.asj-lang-btn.active {
  color: var(--asj-dark);
  font-weight: 700;
}

.asj-nav ul {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}
.asj-nav li {
  position: relative;
}
.asj-nav li + li {
  margin-left: 3.5rem;
}
.asj-nav a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--asj-dark);
  position: relative;
  padding: 0 0 2rem;
  white-space: nowrap;
  letter-spacing: 0.06em;
  transition: color 0.2s;
}
.asj-nav a::after {
  content: "";
  position: absolute;
  bottom: 1.4rem;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 4px;
  background: var(--asj-dark);
  transition: width 0.4s ease;
}
.asj-nav a:hover::after,
.asj-nav a.active::after {
  width: 50px;
}
.asj-nav a:hover {
  opacity: 1;
  color: var(--asj-dark);
}
.asj-nav a.active {
  color: var(--asj-dark);
}
.asj-dropdown:hover > a::after,
.asj-dropdown > a.active::after {
  width: 50px;
}
.asj-nav .nav-chevron {
  width: 14px;
  height: 14px;
  transition: transform 0.25s;
}
.asj-dropdown:hover .nav-chevron {
  transform: rotate(180deg);
}

@media (min-width: 1280px) {
  .asj-nav li + li {
    margin-left: 4.5rem;
  }
  .asj-nav-wrap {
    padding-right: 4rem;
  }
}
@media (min-width: 1536px) {
  .asj-nav li + li {
    margin-left: 5.5rem;
  }
  .asj-nav a {
    font-size: 1.1875rem;
  }
}

/* Mega menu */
.asj-dropdown-menu {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: var(--asj-dark);
  padding: 2rem 0 2.375rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
  z-index: 40;
  pointer-events: none;
}
.asj-dropdown:hover .asj-dropdown-menu,
.asj-dropdown-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
/* Hover bridge */
.asj-dropdown-menu::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}
/* 尖角 — 位置由 JS 设置 --arrow-left */
.asj-dropdown:hover .asj-dropdown-menu::after {
  content: "";
  position: absolute;
  top: -11px;
  left: var(--arrow-left, 50%);
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 16px solid transparent;
  border-right: 16px solid transparent;
  border-bottom: 11px solid var(--asj-dark);
  pointer-events: none;
}
.asj-dropdown-menu-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding: 0 2rem;
}
.asj-dropdown-menu-title {
  flex-shrink: 0;
  margin: 0;
  padding-left: 0.25rem;
}
.asj-nav .asj-dropdown-menu .dropdown-title-link {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  color: #fff !important;
  font-size: 1.25rem;
  font-weight: 700;
  padding: 0;
  white-space: nowrap;
  letter-spacing: 0.04em;
  transition: opacity 0.2s;
}
.asj-nav .asj-dropdown-menu .dropdown-title-link::after {
  content: "";
  display: block;
  position: static;
  bottom: auto;
  left: auto;
  transform: none;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  background: transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M12 5l7 7-7 7'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  transition: transform 0.25s ease;
}
.asj-nav .asj-dropdown-menu .dropdown-title-link:hover::after {
  width: 22px;
  transform: translateX(3px);
}
.asj-nav .asj-dropdown-menu .dropdown-title-link:hover {
  opacity: 0.85;
}
.asj-dropdown-menu-links {
  --dropdown-col: 340px;
  --dropdown-gap-x: 1.25rem;
  --dropdown-gap-y: 1.375rem;
  border-left: 1px solid rgba(255, 255, 255, 0.35);
  padding: 0.5rem 0 0.5rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: var(--dropdown-gap-y);
  flex: 1;
}
.asj-dropdown-menu-row {
  display: flex;
  flex-wrap: nowrap;
  gap: var(--dropdown-gap-x);
  width: calc(3 * var(--dropdown-col) + 2 * var(--dropdown-gap-x));
}
.asj-dropdown-menu-row--center {
  justify-content: center;
}
.asj-nav .asj-dropdown-menu .dropdown-link {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  overflow: hidden;
  flex: 0 0 var(--dropdown-col);
  width: var(--dropdown-col);
  height: 40px;
  min-height: 40px;
  padding: 0 1.75rem 0 0.875rem;
  background-color: #fff;
  background-image: linear-gradient(to right, var(--asj-dark) 50%, #fff 50%);
  background-size: 200% 100%;
  background-position: 100% 0;
  color: var(--asj-dark) !important;
  border: 1px solid #e8e8e8;
  border-radius: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.02em;
  white-space: nowrap;
  gap: 0;
  text-align: left;
  transition: background-position 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.asj-nav .asj-dropdown-menu .dropdown-link::before {
  content: none;
}
.asj-nav .asj-dropdown-menu .dropdown-link::after {
  content: "";
  position: absolute;
  right: 0.5625rem;
  top: 50%;
  bottom: auto;
  left: auto;
  transform: translateY(-50%);
  width: 9px;
  height: 9px;
  background: transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M12 5l7 7-7 7'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  transition: background-image 0.3s ease, transform 0.2s ease;
}
.asj-nav .asj-dropdown-menu .dropdown-link:hover {
  background-position: 0 0;
  color: #fff !important;
  border-color: var(--asj-dark);
  opacity: 1;
}
.asj-nav .asj-dropdown-menu .dropdown-link:hover::after {
  width: 9px;
  transform: translateY(-50%) translateX(2px);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M12 5l7 7-7 7'/%3E%3C/svg%3E");
}
.dropdown-link span {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  height: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: left;
  line-height: 1;
  color: inherit;
  transition: color 0.3s ease;
}

/* Reserve buttons — 贴右边缘，对齐 ASJ */
.asj-reserve {
  display: flex;
  flex-direction: column;
  height: var(--header-h);
  flex-shrink: 0;
  transition: height 0.25s ease;
}
.asj-reserve a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  width: 220px;
  color: #fff;
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  transition: opacity 0.2s, filter 0.2s;
}
.asj-reserve a:hover {
  opacity: 1;
  filter: brightness(1.08);
}
.asj-reserve .tel-btn {
  background: var(--asj-dark);
}
.asj-reserve .contact-btn {
  background: var(--asj-red);
}
.asj-reserve i {
  font-size: 0.85rem;
}

.header-spacer {
  height: var(--header-h);
  transition: height 0.25s ease;
}
.asj-header.is-scrolled ~ .header-spacer {
  height: var(--header-h-sm);
}

/* Mobile toggle */
.asj-mobile-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  margin: auto 1rem auto auto;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 52;
}
.asj-mobile-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--asj-dark);
  margin: 5px 0;
  transition: transform 0.3s, opacity 0.3s;
  transform-origin: center;
}
.asj-mobile-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.asj-mobile-toggle.is-open span:nth-child(2) {
  opacity: 0;
}
.asj-mobile-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero */
.asj-hero {
  position: relative;
  height: calc(100vh - var(--header-h));
  min-height: 480px;
  overflow: hidden;
}
.hero-slide {
  position: absolute;
  inset: 0;
  transition: opacity 1s ease-in-out;
}
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-slide.active img {
  animation: heroZoom 7s linear forwards;
}
@keyframes heroZoom {
  from { transform: scale(1); }
  to { transform: scale(1.12); }
}
.asj-hero-catch {
  position: absolute;
  top: 28%;
  left: var(--content-align-left);
  z-index: 2;
  color: #fff;
  font-size: clamp(1.75rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.4;
  text-shadow: 2px 3px 6px rgba(0,0,0,0.45);
  max-width: 800px;
}
.asj-hero-catch .sub {
  display: block;
  font-size: clamp(1rem, 2vw, 1.75rem);
  font-weight: 700;
  margin-top: 0.5em;
}

/* About dark section */
.asj-about {
  position: relative;
  padding: 5rem 0;
  color: #fff;
  overflow: hidden;
}
.asj-about::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 55%;
  height: 100%;
  background: var(--asj-dark);
  z-index: 0;
}
.asj-about-inner {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 3rem;
  flex-direction: row-reverse;
}
.asj-about-text {
  flex: 0 0 360px;
}
.asj-about-ph {
  flex: 1;
  max-width: 900px;
}
.asj-about-ph-inner {
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.asj-about-ph img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}
body[data-page="home"] .asj-about {
  overflow: visible;
  margin-bottom: 5rem;
}
body[data-page="home"] .asj-about-inner {
  max-width: calc(1400px + 360px);
}
body[data-page="home"] .asj-about-ph {
  margin-left: 420px;
  max-width: calc(900px + 360px);
  height: 400px;
  overflow: visible;
}
body[data-page="home"] .asj-about-ph-inner {
  height: 440px;
  margin-top: -20px;
  overflow: hidden;
}
body[data-page="home"] .asj-about-ph img {
  height: 100%;
  opacity: 0;
  transform: scale(1.08) translateX(40px);
  will-change: transform, opacity;
}
body[data-page="home"] .asj-about-text > * {
  opacity: 0;
  transform: translateX(-40px);
  will-change: transform, opacity;
}
body[data-page="home"] .asj-about-inner.is-visible .asj-about-ph img {
  animation:
    aboutPhEnter 1s cubic-bezier(0.22, 1, 0.36, 1) forwards,
    aboutPhZoom 12s linear 1s forwards;
}
body[data-page="home"] .asj-about-inner.is-visible .asj-about-text > * {
  animation: aboutTextEnter 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
body[data-page="home"] .asj-about-inner.is-visible .asj-about-text > *:nth-child(1) {
  animation-delay: 0.05s;
}
body[data-page="home"] .asj-about-inner.is-visible .asj-about-text > *:nth-child(2) {
  animation-delay: 0.2s;
}
body[data-page="home"] .asj-about-inner.is-visible .asj-about-text > *:nth-child(3) {
  animation-delay: 0.35s;
}
@keyframes aboutPhEnter {
  from {
    opacity: 0;
    transform: scale(1.08) translateX(40px);
  }
  to {
    opacity: 1;
    transform: scale(1.05) translateX(0);
  }
}
@keyframes aboutPhZoom {
  from { transform: scale(1.05); }
  to { transform: scale(1.12); }
}
@keyframes aboutTextEnter {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Strength — left image, right text (mirror of about) */
.asj-strength {
  position: relative;
  padding: 5rem 0;
  color: #fff;
  overflow: hidden;
  background: #fff;
}
.asj-strength::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: auto;
  width: 55%;
  height: 100%;
  background: var(--asj-dark);
  z-index: 0;
}
.asj-strength-inner {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 3rem;
  flex-direction: row;
}
.asj-strength-ph {
  flex: 1;
  max-width: 900px;
  position: relative;
  z-index: 1;
}
.asj-strength-ph-inner {
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.asj-strength-ph img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}
.asj-strength-text {
  flex: 0 0 420px;
}
.asj-strength-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: 1.5rem;
  list-style: none;
  padding: 0;
}
.asj-strength-list li {
  border: 1px solid rgba(255, 255, 255, 0.65);
  padding: 0.875rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
}
body[data-page="home"] .asj-strength {
  overflow: visible;
  margin-top: 0;
}
body[data-page="home"] .asj-strength-inner {
  max-width: calc(1400px + 360px);
}
body[data-page="home"] .asj-strength-ph {
  flex: 0 0 calc(900px + 160px);
  width: calc(900px + 160px);
  max-width: calc(100% - 420px - 3rem);
  min-width: 280px;
  margin-right: 0;
  margin-left: 0;
  height: 400px;
  overflow: visible;
  transform: translateX(-200px);
}
body[data-page="home"] .asj-strength-ph-inner {
  width: 100%;
  height: 440px;
  margin-top: -20px;
  overflow: hidden;
}
body[data-page="home"] .asj-strength-ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  transform: scale(1.05);
}
body[data-page="home"] .asj-strength-text > * {
  opacity: 0;
  transform: translateX(40px);
  will-change: transform, opacity;
}
body[data-page="home"] .asj-strength-inner.is-visible .asj-strength-ph img {
  animation: aboutPhZoom 12s linear forwards;
}
body[data-page="home"] .asj-strength-inner.is-visible .asj-strength-text > * {
  animation: strengthTextEnter 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
body[data-page="home"] .asj-strength-inner.is-visible .asj-strength-text > *:nth-child(1) {
  animation-delay: 0.05s;
}
body[data-page="home"] .asj-strength-inner.is-visible .asj-strength-text > *:nth-child(2) {
  animation-delay: 0.2s;
}
body[data-page="home"] .asj-strength-inner.is-visible .asj-strength-text > *:nth-child(3) {
  animation-delay: 0.35s;
}
@keyframes strengthTextEnter {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Service blocks */
.asj-service-block {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 3rem;
  margin-top: 3.5rem;
}
.asj-service-block .ph {
  flex: 1;
}
.asj-service-block .ph img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}
.asj-service-block .text {
  flex: 0 0 360px;
}
.asj-service-block h3 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.asj-service-block p {
  line-height: 1.8;
  color: var(--asj-gray);
}

/* Services page — left image, right text */
.asj-services-page {
  padding: 4rem 0 5rem;
  background: #fff;
}
.asj-services-list {
  display: flex;
  flex-direction: column;
}
.asj-service-card {
  display: flex;
  align-items: stretch;
  gap: 2.5rem;
  padding: 3rem 0;
  border-bottom: 1px solid #e5e5e5;
}
.asj-service-card:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.asj-service-card:first-child {
  padding-top: 0;
}
.asj-service-card-ph {
  flex: 0 0 42%;
  max-width: 500px;
}
.asj-service-card-ph img {
  display: block;
  width: 100%;
  height: 300px;
  object-fit: cover;
}
.asj-service-card-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.asj-service-card-body h2 {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--asj-dark);
  margin-bottom: 1rem;
}
.asj-service-card-body p {
  font-size: 0.9375rem;
  line-height: 1.95;
  color: #5a5a5a;
  margin-bottom: 0;
  flex: 1;
}
.asj-service-card-action {
  margin-top: auto;
  padding-top: 1.75rem;
  flex-shrink: 0;
}
.asj-service-card-action .btn-asj {
  min-width: 0;
  height: auto;
  min-height: 50px;
  padding: 0.75rem 2.75rem 0.75rem 1.25rem;
  font-size: 0.875rem;
  line-height: 1.4;
  text-align: left;
}
@media (min-width: 768px) {
  .asj-service-card-body {
    min-height: 300px;
  }
}
@media (min-width: 1024px) {
  .asj-service-card {
    gap: 3.5rem;
  }
  .asj-service-card-ph img {
    height: 320px;
  }
  .asj-service-card-body {
    min-height: 320px;
  }
}
@media (max-width: 767px) {
  .asj-services-page {
    padding: 3rem 0 4rem;
  }
  .asj-service-card {
    flex-direction: column;
    gap: 1.25rem;
    padding: 2.5rem 0;
  }
  .asj-service-card-ph {
    flex: none;
    max-width: none;
    width: 100%;
  }
  .asj-service-card-ph img {
    height: 220px;
  }
  .asj-service-card-body {
    padding-top: 0;
    min-height: 0;
  }
  .asj-service-card-action {
    margin-top: 1.5rem;
    padding-top: 0;
  }
  .asj-service-card-action .btn-asj {
    width: 100%;
    max-width: 340px;
  }
}

.asj-service-col2 {
  max-width: 1400px;
  margin: 6rem auto 0;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
}
.asj-service-box a {
  display: block;
  border-bottom: 1px solid var(--asj-dark);
}
.asj-service-box .ph {
  overflow: hidden;
}
.asj-service-box .ph img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s, opacity 0.3s;
}
.asj-service-box:hover .ph img {
  transform: scale(1.08);
  opacity: 0.85;
}
.asj-service-box h3 {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.45;
  margin: 1.25em 0 1em;
  padding-bottom: 0.35em;
}
.asj-service-box h3::after {
  content: "→";
  font-size: 1.2rem;
  transition: transform 0.2s;
}
.asj-service-box:hover h3::after {
  transform: translateX(4px);
}
.asj-service-box p {
  color: var(--asj-gray);
  font-size: 0.8125rem;
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

@media (max-width: 1200px) {
  .asj-service-col2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem 2.5rem;
  }
  .asj-service-box h3 {
    font-size: 1.0625rem;
  }
  .asj-service-box p {
    font-size: 0.875rem;
  }
}

/* Certifications */
.asj-certs {
  padding: 5rem 0;
  background: #fff;
}
.asj-certs--home {
  background: #f7f7f7;
}
.asj-certs--page {
  padding: 4rem 0 5rem;
  background: #fff;
}
.asj-certs--home .asj-certs-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  gap: 3.5rem;
}
.asj-certs--home .asj-certs-text {
  flex: 0 0 340px;
}
.asj-certs-intro {
  margin-top: 1.5rem;
  color: var(--asj-gray);
  font-size: 0.9375rem;
  line-height: 1.85;
}
.asj-certs-scroll-wrap {
  flex: 1;
  min-width: 0;
  position: relative;
  -webkit-mask-image: linear-gradient(to right, #000 0%, #000 82%, transparent 100%);
  mask-image: linear-gradient(to right, #000 0%, #000 82%, transparent 100%);
}
.asj-certs-scroll-track {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  scroll-padding-right: 2rem;
  padding: 0.5rem 3rem 0.5rem 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.asj-certs-scroll-track::-webkit-scrollbar {
  display: none;
}
.asj-certs-grid {
  display: grid;
}
.asj-certs-grid--wall {
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.asj-cert-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
  cursor: pointer;
}
.asj-cert-card--strip {
  flex: 0 0 182px;
  scroll-snap-align: start;
  border: none;
  background: transparent;
  box-shadow: none;
}
.asj-cert-card--strip:hover {
  box-shadow: none;
  transform: translateY(-3px);
}
.asj-cert-card--strip:hover .asj-cert-card-media {
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
  border-color: #ccc;
}
.asj-cert-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}
.asj-cert-card-media {
  background: #f5f5f5;
  border-bottom: 1px solid #e8e8e8;
  padding: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.asj-cert-card--strip .asj-cert-card-media {
  width: 182px;
  height: 112px;
  padding: 0.375rem;
  border: 1px solid #e4e4e4;
  border-radius: 10px;
  border-bottom: 1px solid #e4e4e4;
  background: #fff;
  overflow: hidden;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.asj-cert-card-media img {
  width: 100%;
  height: 140px;
  object-fit: contain;
  object-position: center;
}
.asj-cert-card--strip .asj-cert-card-media img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 6px;
}
/* 双证叠放图：裁切只显示上半张 */
.asj-cert-card-media.is-stacked {
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
}
.asj-cert-card--strip .asj-cert-card-media.is-stacked img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: top center;
}
.asj-certs-grid--wall .asj-cert-card-media.is-stacked {
  overflow: hidden;
  align-items: flex-start;
  max-height: calc(160px + 1.5rem);
}
.asj-certs-grid--wall .asj-cert-card-media.is-stacked img {
  height: auto;
  max-height: none;
  width: 100%;
  object-fit: contain;
  object-position: top center;
}
.asj-certs-grid--wall .asj-cert-card-media img {
  height: 160px;
}
.asj-cert-card-body {
  padding: 1rem 1rem 1.125rem;
  min-height: 4.5rem;
}
.asj-cert-card-title {
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--asj-dark);
}
.asj-cert-card-org {
  margin-top: 0.375rem;
  font-size: 0.75rem;
  line-height: 1.45;
  color: var(--asj-gray);
}
body[data-page="home"] .asj-certs-text > * {
  opacity: 0;
  transform: translateX(-32px);
}
body[data-page="home"] .asj-certs-inner.is-visible .asj-certs-text > * {
  animation: aboutTextEnter 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
body[data-page="home"] .asj-certs-inner.is-visible .asj-certs-text > *:nth-child(1) {
  animation-delay: 0.05s;
}
body[data-page="home"] .asj-certs-inner.is-visible .asj-certs-text > *:nth-child(2) {
  animation-delay: 0.18s;
}
body[data-page="home"] .asj-certs-inner.is-visible .asj-certs-text > *:nth-child(3) {
  animation-delay: 0.3s;
}
body[data-page="home"] .asj-certs-scroll-track .asj-cert-card--strip {
  opacity: 0;
  transform: translateX(28px);
}
body[data-page="home"] .asj-certs-inner.is-visible .asj-certs-scroll-track .asj-cert-card--strip {
  animation: strengthTextEnter 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
body[data-page="home"] .asj-certs-inner.is-visible .asj-certs-scroll-track .asj-cert-card--strip:nth-child(1) {
  animation-delay: 0.08s;
}
body[data-page="home"] .asj-certs-inner.is-visible .asj-certs-scroll-track .asj-cert-card--strip:nth-child(2) {
  animation-delay: 0.16s;
}
body[data-page="home"] .asj-certs-inner.is-visible .asj-certs-scroll-track .asj-cert-card--strip:nth-child(3) {
  animation-delay: 0.24s;
}
body[data-page="home"] .asj-certs-inner.is-visible .asj-certs-scroll-track .asj-cert-card--strip:nth-child(4) {
  animation-delay: 0.32s;
}
body[data-page="home"] .asj-certs-inner.is-visible .asj-certs-scroll-track .asj-cert-card--strip:nth-child(5) {
  animation-delay: 0.4s;
}
body[data-page="home"] .asj-certs-inner.is-visible .asj-certs-scroll-track .asj-cert-card--strip:nth-child(6) {
  animation-delay: 0.48s;
}
@media (max-width: 1200px) {
  .asj-certs-grid--wall {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 900px) {
  .asj-certs-grid--wall {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Contact CTA - red gradient */
.asj-contact-cta {
  display: block;
  position: relative;
  height: 320px;
  overflow: hidden;
  color: #fff;
}
.asj-contact-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgb(194,13,34) 0%, rgba(194,13,34,0.82) 30%, rgba(194,13,34,0.7) 50%, rgba(194,13,34,0.82) 70%, rgb(194,13,34) 100%),
    url('https://images.unsplash.com/photo-1423666639041-f56000c27a9a?w=1920&q=80') center/cover;
  transition: transform 0.3s;
}
.asj-contact-cta:hover::before {
  transform: scale(1.05);
}
.asj-contact-cta-inner {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}
.asj-contact-cta h2 {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  line-height: 1;
}
.asj-contact-cta p {
  margin-top: 1em;
  font-size: 1rem;
}
.asj-contact-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  margin-top: 1.5rem;
  min-width: 280px;
  height: 50px;
  padding: 0 1.75rem;
  background: #fff;
  color: var(--asj-dark);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, filter 0.2s;
}
.asj-contact-cta-btn i {
  font-size: 0.9rem;
  color: var(--asj-red);
}
.asj-contact-cta-btn:hover {
  opacity: 1;
  background: var(--asj-dark);
  color: #fff;
  filter: brightness(1.05);
}
.asj-contact-cta-btn:hover i {
  color: #fff;
}

/* Footer */
.asj-footer {
  background: var(--asj-dark);
  color: #fff;
  padding: 4rem 0 0;
}
.asj-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
.asj-footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr);
  gap: 3rem 4rem;
  padding-bottom: 3rem;
}
.asj-footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.asj-footer-logo {
  display: inline-block;
}
.asj-footer-logo img {
  height: 52px;
  filter: brightness(0) invert(1);
}
.asj-footer-name {
  margin-top: 1.25rem;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.asj-footer-address {
  margin-top: 0.875rem;
  font-size: 0.9rem;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.82);
}
.asj-footer-tel {
  margin-top: 0.75rem;
  font-size: 0.95rem;
}
.asj-footer-tel a {
  color: #fff;
  text-decoration: none;
  transition: opacity 0.2s;
}
.asj-footer-tel a:hover {
  opacity: 0.75;
}
.asj-footer-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem 3rem;
}
.asj-footer-nav-heading {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 1rem;
}
.asj-footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.asj-footer-nav a {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.9rem;
  line-height: 1.5;
  text-decoration: none;
  transition: color 0.2s;
}
.asj-footer-nav a:hover {
  color: #fff;
  opacity: 1;
}
.asj-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.25rem 0 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.asj-footer-copy {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
}
.asj-footer-powered {
  margin: 0;
  font-size: 0.8rem;
  flex-shrink: 0;
}
.asj-footer-powered a {
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  transition: color 0.2s;
}
.asj-footer-powered a:hover {
  color: rgba(255, 255, 255, 0.7);
  opacity: 1;
}
@media (max-width: 900px) {
  .asj-footer {
    padding-top: 3rem;
  }
  .asj-footer-inner {
    padding: 0 1.5rem;
  }
  .asj-footer-main {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-bottom: 2rem;
  }
  .asj-footer-brand {
    align-items: center;
    text-align: center;
  }
  .asj-footer-nav {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .asj-footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
  }
}
@media (max-width: 560px) {
  .asj-footer-nav {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

/* Page hero (subpages) */
.asj-page-content {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
#contact {
  scroll-margin-top: calc(var(--header-h) + 1rem);
}
#svc1,
#svc2,
#svc3,
#svc4,
#svc5 {
  scroll-margin-top: calc(var(--header-h) + 1rem);
}
.asj-page-hero {
  background: var(--asj-dark);
  color: #fff;
  padding: 4rem 0;
  margin-top: 0;
  overflow: hidden;
}
.asj-page-hero .en {
  font-family: "Bebas Neue", sans-serif;
  font-size: 3rem;
  line-height: 1;
}
.asj-page-hero h1 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 0.5em;
}
body[data-page="about"] .asj-page-hero-inner > *,
body[data-page="services"] .asj-page-hero-inner > *,
body[data-page="certifications"] .asj-page-hero-inner > *,
body[data-page="privacy"] .asj-page-hero-inner > *,
body[data-page="contact"] .asj-page-hero-inner > * {
  opacity: 0;
  animation: aboutTextEnter 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
body[data-page="about"] .asj-page-hero-inner > *:nth-child(2),
body[data-page="services"] .asj-page-hero-inner > *:nth-child(2),
body[data-page="certifications"] .asj-page-hero-inner > *:nth-child(2),
body[data-page="privacy"] .asj-page-hero-inner > *:nth-child(2),
body[data-page="contact"] .asj-page-hero-inner > *:nth-child(2) {
  animation-delay: 0.15s;
}
body[data-page="about"] .asj-page-hero-inner > *:nth-child(3),
body[data-page="services"] .asj-page-hero-inner > *:nth-child(3),
body[data-page="certifications"] .asj-page-hero-inner > *:nth-child(3),
body[data-page="privacy"] .asj-page-hero-inner > *:nth-child(3),
body[data-page="contact"] .asj-page-hero-inner > *:nth-child(3) {
  animation-delay: 0.3s;
}

/* Privacy page */
.asj-privacy {
  padding: 4rem 0 5rem;
  background: #fff;
}
.asj-privacy-intro {
  max-width: 52rem;
  margin-bottom: 3rem;
  font-size: 0.9375rem;
  line-height: 2;
  color: #5a5a5a;
}
.asj-privacy-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 52rem;
}
.asj-privacy-item {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 1rem 1.5rem;
  padding: 2rem 0;
  border-bottom: 1px solid #e8e8e8;
}
.asj-privacy-item:first-child {
  border-top: 1px solid #e8e8e8;
}
.asj-privacy-num {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--asj-red);
  padding-top: 0.15rem;
}
.asj-privacy-item h2 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--asj-dark);
  margin-bottom: 0.75rem;
}
.asj-privacy-item p {
  font-size: 0.875rem;
  line-height: 1.95;
  color: #5a5a5a;
}
body[data-page="privacy"] .asj-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}
body[data-page="privacy"] .asj-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (min-width: 768px) {
  .asj-privacy {
    padding: 5rem 0 6rem;
  }
  .asj-privacy-item {
    grid-template-columns: 4.5rem 1fr;
    gap: 1rem 2rem;
    padding: 2.25rem 0;
  }
  .asj-privacy-num {
    font-size: 2rem;
  }
}

/* About page */
.asj-about-page {
  background: #fff;
}
.asj-about-section-title {
  text-align: left;
  color: var(--asj-dark);
}
.asj-about-section-title .en {
  display: block;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(2.5rem, 4vw, 3.75rem);
  line-height: 1;
}
.asj-about-section-title .jp {
  display: block;
  margin-top: 0.5em;
  font-size: 1rem;
  font-weight: 700;
}
.asj-about-section-title.light {
  color: #fff;
}
.asj-about-message {
  padding: 5rem 0;
  background: #f7f7f7;
}
.asj-about-message-grid {
  display: grid;
  grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  gap: 3rem 4rem;
  align-items: start;
}
.asj-about-message-lead {
  margin-top: 1.5rem;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.75;
  color: var(--asj-dark);
}
.asj-about-message-text {
  color: var(--asj-gray);
  font-size: 0.9375rem;
  line-height: 2;
}
.asj-about-message-sign {
  margin-top: 2.5rem;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.8;
  color: var(--asj-dark);
}
.asj-about-vision {
  padding: 5rem 0;
  background: var(--asj-dark);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.asj-about-vision::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(194, 13, 34, 0.15) 0%, transparent 50%);
  pointer-events: none;
}
.asj-about-vision > .asj-page-content {
  position: relative;
  z-index: 1;
}
.asj-about-vision-text {
  margin-top: 1.5rem;
  max-width: 42rem;
  font-size: 0.9375rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.82);
}
.asj-about-vision-keys {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
}
.asj-about-vision-keys li {
  padding: 1.5rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.45);
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.5;
}
.asj-about-inset-img {
  width: 100%;
  overflow: hidden;
}
.asj-about-inset-img img {
  display: block;
  width: 100%;
  height: clamp(220px, 32vw, 420px);
  object-fit: cover;
}
.asj-about-info {
  padding: 5rem 0;
}
.asj-about-info-table {
  margin: 2.5rem 0 0;
  border-top: 1px solid #e5e5e5;
}
.asj-about-info-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.375rem;
  padding: 1rem 0;
  border-bottom: 1px solid #e5e5e5;
}
.asj-about-info-row dt,
.asj-about-info-row dd {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.75;
}
.asj-about-info-row dt {
  font-weight: 700;
  color: var(--asj-dark);
}
.asj-about-info-row dd {
  font-weight: 500;
  color: var(--asj-gray);
  word-break: break-word;
}
.asj-about-info-row dd a {
  color: var(--asj-blue);
  text-decoration: none;
}
.asj-about-info-row dd a:hover {
  color: var(--asj-red);
}
.asj-about-info-links {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}
.asj-about-info-links a + a::before {
  content: "/";
  margin-right: 0.5rem;
  color: #888;
  pointer-events: none;
}
@media (min-width: 768px) {
  .asj-about-info-row {
    grid-template-columns: 200px 1fr;
    gap: 2rem;
    align-items: start;
    padding: 1.25rem 0;
  }
  .asj-about-info-row dt {
    padding-top: 0.125rem;
  }
}
.asj-about-access {
  padding: 0 0 5rem;
}
.asj-about-access-grid {
  display: grid;
  grid-template-columns: 1fr;
  margin-top: 2.5rem;
  border: 1px solid #e5e5e5;
  background: #fff;
}
.asj-about-access-info {
  padding: 1.5rem;
  border-bottom: 1px solid #e5e5e5;
}
.asj-about-access-list {
  margin: 0;
}
.asj-about-access-list dt {
  margin-bottom: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--asj-gray);
}
.asj-about-access-list dd {
  margin: 0 0 1.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.9;
  color: var(--asj-dark);
}
.asj-about-access-map {
  min-height: 280px;
  background: #f5f5f5;
}
.asj-about-access-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 280px;
  border: 0;
}
@media (min-width: 1024px) {
  .asj-about-access-grid {
    grid-template-columns: 280px 1fr;
  }
  .asj-about-access-info {
    padding: 2.5rem;
    border-bottom: none;
    border-right: 1px solid #e5e5e5;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .asj-about-access-map {
    min-height: 360px;
  }
  .asj-about-access-map iframe {
    min-height: 360px;
  }
}
body[data-page="about"] .asj-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}
body[data-page="about"] .asj-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
body[data-page="about"] .asj-about-vision-keys li {
  opacity: 0;
  transform: translateY(16px);
}
body[data-page="about"] .asj-about-vision.is-visible .asj-about-vision-keys li {
  animation: strengthTextEnter 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
body[data-page="about"] .asj-about-vision.is-visible .asj-about-vision-keys li:nth-child(1) { animation-delay: 0.1s; }
body[data-page="about"] .asj-about-vision.is-visible .asj-about-vision-keys li:nth-child(2) { animation-delay: 0.2s; }
body[data-page="about"] .asj-about-vision.is-visible .asj-about-vision-keys li:nth-child(3) { animation-delay: 0.3s; }
body[data-page="about"] .asj-about-vision.is-visible .asj-about-vision-keys li:nth-child(4) { animation-delay: 0.4s; }

/* Mobile */
@media (max-width: 1024px) {
  :root { --header-h: 70px; --header-h-sm: 70px; }
  .asj-header-right,
  .asj-nav-wrap,
  .asj-reserve {
    display: none !important;
  }
  .asj-mobile-toggle {
    display: flex;
  }
  .asj-logo img { height: 52px; }
  .asj-header.is-scrolled .asj-logo img { height: 48px; }
  .asj-about-inner,
  .asj-strength-inner,
  .asj-service-block { flex-direction: column; }
  .asj-about::after { width: 100%; height: 60%; top: auto; bottom: 0; }
  .asj-strength::after { width: 100%; height: 60%; top: auto; bottom: 0; right: 0; }
  .asj-about-text,
  .asj-strength-text,
  .asj-service-block .text { flex: none; width: 100%; }
  body[data-page="home"] .asj-about { overflow: hidden; margin-bottom: 0; }
  body[data-page="home"] .asj-about-inner { max-width: 1400px; }
  body[data-page="home"] .asj-about-ph {
    margin-left: 0;
    max-width: 900px;
    height: auto;
    overflow: visible;
  }
  body[data-page="home"] .asj-about-ph-inner {
    height: auto;
    margin-top: 0;
  }
  body[data-page="home"] .asj-about-ph img {
    height: 400px;
    opacity: 1;
    transform: none;
    animation: none;
  }
  body[data-page="home"] .asj-about-text > * {
    opacity: 1;
    transform: none;
    animation: none;
  }
  body[data-page="home"] .asj-strength { overflow: hidden; }
  body[data-page="home"] .asj-strength-inner { max-width: 1400px; }
  body[data-page="home"] .asj-strength-ph {
    flex: none;
    margin-right: 0;
    margin-left: 0;
    transform: none;
    max-width: 900px;
    min-width: 0;
    height: auto;
    overflow: visible;
  }
  body[data-page="home"] .asj-strength-ph-inner {
    height: auto;
    margin-top: 0;
  }
  body[data-page="home"] .asj-strength-ph img {
    height: 400px;
    opacity: 1;
    transform: none;
    animation: none;
  }
  body[data-page="home"] .asj-strength-text > * {
    opacity: 1;
    transform: none;
    animation: none;
  }
  .asj-certs--home .asj-certs-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 2.5rem;
  }
  .asj-certs--home .asj-certs-text {
    flex: none;
    width: 100%;
  }
  .asj-certs-scroll-wrap {
    -webkit-mask-image: none;
    mask-image: none;
  }
  .asj-certs-scroll-track {
    padding-right: 0;
  }
  body[data-page="home"] .asj-certs-text > *,
  body[data-page="home"] .asj-certs-scroll-track .asj-cert-card--strip {
    opacity: 1;
    transform: none;
    animation: none;
  }
  .asj-certs-grid--wall {
    grid-template-columns: repeat(2, 1fr);
  }
  .asj-service-col2 { grid-template-columns: 1fr; gap: 2.5rem; }
  .asj-dropdown-menu { display: none !important; }
  .asj-contact-cta {
    height: auto;
    min-height: 300px;
  }
  .asj-contact-cta-btn {
    min-width: 0;
    width: 100%;
    max-width: 340px;
    font-size: 0.875rem;
    padding: 0 1rem;
  }
  .asj-about-message-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .asj-about-vision-keys {
    grid-template-columns: repeat(2, 1fr);
  }
  .asj-about-access-map,
  .asj-about-access-map iframe {
    min-height: 240px;
  }
}

.asj-mobile-menu {
  display: none;
}
@media (max-width: 1024px) {
  .asj-mobile-menu.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: #fff;
    z-index: 49;
    overflow-y: auto;
    animation: menuSlideIn 0.3s ease;
  }
  @keyframes menuSlideIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .asj-mobile-menu-inner {
    flex: 1;
    padding: 1.25rem 1.5rem 2rem;
    overflow-y: auto;
  }
  .asj-mobile-lang {
    display: flex;
    gap: 0;
    margin-bottom: 1.25rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
  }
  .asj-mobile-lang button {
    flex: 1;
    padding: 0.625rem 0.5rem;
    font-size: 0.8125rem;
    font-weight: 500;
    background: #fff;
    color: var(--asj-gray);
    border: none;
    cursor: pointer;
  }
  .asj-mobile-lang button + button {
    border-left: 1px solid #ddd;
  }
  .asj-mobile-lang button.active {
    background: var(--asj-dark);
    color: #fff;
  }
  .asj-mobile-nav a {
    display: block;
    padding: 0.875rem 0;
    font-size: 1rem;
    font-weight: 700;
    color: var(--asj-dark);
    border-bottom: 1px solid #eee;
  }
  .asj-mobile-nav a.active {
    color: var(--asj-red);
  }
  .asj-mobile-sub {
    padding: 0.5rem 0 0.5rem 1rem;
    border-left: 2px solid var(--asj-dark);
    margin: 0.25rem 0 0.75rem 0.5rem;
  }
  .asj-mobile-sub a {
    font-size: 0.8125rem !important;
    font-weight: 400 !important;
    padding: 0.5rem 0 !important;
    border-bottom: none !important;
    color: var(--asj-gray) !important;
  }
  .asj-mobile-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-top: 1px solid #eee;
    flex-shrink: 0;
  }
  .asj-mobile-actions a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #fff;
  }
  .asj-mobile-actions .tel-btn { background: var(--asj-dark); }
  .asj-mobile-actions .contact-btn { background: var(--asj-red); }
}

body.menu-open {
  overflow: hidden;
}
