/* ============================================================
   MRT Corporation Website
   Design Reference: TCD105 (SEEED) - SaaS/Tech Corporate
   Color: Logo gradient Purple #6B3FA0 → Cyan #2DC8F0
   ============================================================ */

/* --- CSS Custom Properties --- */
:root {
  --main-color: #5B6ABF;
  --main-color-dark: #4A5AAE;
  --main-color-light: #eef0fa;
  --main-color-rgb: 91, 106, 191;
  --accent-purple: #6B3FA0;
  --accent-cyan: #2DC8F0;
  --gradient-brand: linear-gradient(135deg, #6B3FA0 0%, #5B6ABF 35%, #4A8FD4 65%, #2DC8F0 100%);
  --text-color: #333;
  --text-light: #777;
  --text-white: #fff;
  --bg-white: #fff;
  --bg-gray: #f4f4f4;
  --bg-dark: #1a1530;
  --bg-dark-lighter: #252040;
  --border-color: #e0e0e0;
  --overlay-dark: rgba(26, 21, 48, 0.75);

  --font-ja: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic Medium", "Yu Gothic", "Meiryo", sans-serif;
  --font-en: "Helvetica Neue", "Arial", sans-serif;
  --font-rich: "Palatino Linotype", "Georgia", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;

  --fs-hero: 46px;
  --fs-hero-tab: 36px;
  --fs-hero-sp: 26px;
  --fs-h1: 34px;
  --fs-h1-sp: 24px;
  --fs-h2: 30px;
  --fs-h2-sp: 22px;
  --fs-h3: 20px;
  --fs-body: 16px;
  --fs-small: 14px;
  --fs-caption: 12px;
  --fs-label: 11px;

  --section-py: 100px;
  --section-py-sp: 60px;
  --container-max: 1100px;
  --container-wide: 1200px;
  --gap: 40px;
  --gap-sp: 20px;

  --radius: 10px;
  --radius-sm: 6px;
  --radius-full: 70px;
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 6px 30px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 50px rgba(0, 0, 0, 0.15);
  --transition: 0.3s ease;
  --transition-slow: 0.5s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-ja);
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--text-color);
  background: var(--bg-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: var(--main-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--main-color-dark);
}

ul,
ol {
  list-style: none;
}

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

/* --- Layout --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

.container-wide {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: var(--section-py) 0;
}

.section--gray {
  background: var(--bg-gray);
}

.section--dark {
  background: var(--bg-dark);
  color: var(--text-white);
}

.section--main {
  background: var(--main-color);
  color: var(--text-white);
}

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

/* --- Section Header (SEEED style) --- */
.section__header {
  text-align: center;
  margin-bottom: 60px;
}

.section__label {
  font-family: var(--font-en);
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--main-color);
  display: block;
  margin-bottom: 10px;
}

.section--dark .section__label {
  color: rgba(255, 255, 255, 0.5);
}

.section__title {
  font-family: var(--font-rich);
  font-size: var(--fs-h2);
  font-weight: 600;
  color: var(--bg-dark);
  line-height: 1.7;
  margin-bottom: 16px;
}

.section--dark .section__title {
  color: var(--text-white);
}

.section__desc {
  font-size: var(--fs-body);
  color: var(--text-light);
  margin: 0 auto;
  line-height: 1.7;
}

.section--dark .section__desc {
  color: rgba(255, 255, 255, 0.6);
}

/* --- Buttons (SEEED pill style) --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: var(--fs-small);
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: var(--transition);
  cursor: pointer;
  text-decoration: none;
  letter-spacing: 0.5px;
  line-height: 1;
}

.btn--primary {
  height: 56px;
  min-width: 220px;
  padding: 0 32px;
  background: var(--main-color);
  color: var(--text-white);
  border: 2px solid var(--main-color);
}

.btn--primary:hover {
  background: var(--main-color-dark);
  border-color: var(--main-color-dark);
  color: var(--text-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--outline {
  height: 56px;
  min-width: 220px;
  padding: 0 32px;
  background: transparent;
  color: var(--main-color);
  border: 2px solid var(--main-color);
}

.btn--outline:hover {
  background: var(--main-color);
  color: var(--text-white);
  transform: translateY(-2px);
}

.btn--white {
  height: 56px;
  min-width: 220px;
  padding: 0 32px;
  background: var(--text-white);
  color: var(--main-color);
  border: 2px solid var(--text-white);
}

.btn--white:hover {
  background: transparent;
  color: var(--text-white);
  transform: translateY(-2px);
}

.btn--dark {
  height: 56px;
  min-width: 220px;
  padding: 0 32px;
  background: var(--bg-dark);
  color: var(--text-white);
  border: 2px solid var(--bg-dark);
}

.btn--dark:hover {
  background: var(--bg-dark-lighter);
  border-color: var(--bg-dark-lighter);
  color: var(--text-white);
  transform: translateY(-2px);
}

.btn--lg {
  height: 70px;
  min-width: 300px;
  padding: 0 40px;
  font-size: var(--fs-body);
}

.btn--sm {
  height: 44px;
  min-width: 160px;
  padding: 0 24px;
  font-size: 13px;
}

.btn__arrow {
  transition: transform var(--transition);
}

.btn:hover .btn__arrow {
  transform: translateX(4px);
}

/* ============================================================
   LOADING SCREEN (SEEED style)
   ============================================================ */
.loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.loading__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-dark);
  transition: opacity 0.6s ease 0.2s;
}

.loading__catch-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--main-color);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.loading.phase2 .loading__bg {
  opacity: 0;
}

.loading.phase2 .loading__catch-bg {
  opacity: 1;
}

.loading__logo {
  position: relative;
  z-index: 2;
  opacity: 0;
  animation: fadeIn 0.6s 0.3s forwards;
}

.loading__logo img {
  height: 72px;
  width: auto;
}

.loading__catch {
  position: relative;
  z-index: 2;
  font-family: var(--font-rich);
  font-size: 22px;
  font-weight: 400;
  color: var(--text-white);
  letter-spacing: 3px;
  margin-top: 20px;
  opacity: 0;
}

.loading.phase2 .loading__catch {
  animation: fadeIn 0.5s 0.1s forwards;
}

.loading__bar {
  position: relative;
  z-index: 2;
  width: 100px;
  height: 2px;
  margin-top: 30px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 2px;
  overflow: hidden;
}

.loading__bar-inner {
  height: 100%;
  width: 0;
  background: var(--text-white);
  animation: barProgress 1.5s 0.5s ease forwards;
}

.loading.is-hidden {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

@keyframes barProgress {
  to {
    width: 100%;
  }
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}

.header.is-scrolled {
  border-bottom-color: var(--border-color);
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 30px;
  height: 80px;
}

.header__logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.header__logo-img {
  height: 35px;
  width: auto;
  display: block;
}

/* Nav */
.header__nav {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.header__nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.header__nav-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 14px;
  text-decoration: none;
  transition: var(--transition);
}

.header__nav-link .ja {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-color);
}

.header__nav-link .en {
  font-family: var(--font-en);
  font-size: 9px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--main-color);
  margin-top: 1px;
}

.header__nav-link:hover .ja {
  color: var(--main-color);
}

/* Header CTA */
.header__cta {
  margin-left: 20px;
}

.header__cta .btn {
  height: 44px;
  min-width: 140px;
  font-size: 13px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 10px;
  z-index: 1100;
  cursor: pointer;
}

.hamburger__line {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--bg-dark);
  transition: var(--transition);
}

.hamburger.is-active .hamburger__line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.is-active .hamburger__line:nth-child(2) {
  opacity: 0;
}

.hamburger.is-active .hamburger__line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* Mobile Nav */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 400px;
  height: 100vh;
  background: var(--bg-white);
  z-index: 1050;
  transition: right 0.4s ease;
  padding: 100px 30px 40px;
  overflow-y: auto;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
}

.mobile-nav.is-open {
  right: 0;
}

.mobile-nav__item {
  border-bottom: 1px solid var(--border-color);
}

.mobile-nav__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-color);
  transition: var(--transition);
}

.mobile-nav__link .en {
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--main-color);
}

.mobile-nav__link:hover {
  color: var(--main-color);
}

.mobile-nav__cta {
  margin-top: 30px;
}

.mobile-nav__cta .btn {
  width: 100%;
}

.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.mobile-overlay.is-show {
  opacity: 1;
  visibility: visible;
}

/* ============================================================
   HERO (SEEED - full screen with catchphrase animation)
   ============================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  max-height: 960px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 80px;
}

.hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.hero__bg::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(26, 21, 48, 0.7) 0%, rgba(91, 106, 191, 0.4) 100%);
}

/* Video background hero */
.hero__video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
}

.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--text-white);
  padding: 0 20px;
  max-width: 860px;
}

.hero__catch {
  font-family: var(--font-rich);
  font-size: var(--fs-hero);
  font-weight: 600;
  line-height: 1.7;
  letter-spacing: 3px;
  margin-bottom: 24px;
}

.hero__catch .typewriter {
  border-right: 2px solid var(--text-white);
  padding-right: 4px;
}

.hero__sub {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
}

.hero__btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  text-align: center;
}

.hero__scroll-text {
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.5);
  display: block;
  margin-bottom: 10px;
}

.hero__scroll-line {
  display: block;
  width: 1px;
  height: 50px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.3);
  animation: scrollPulse 2s ease infinite;
}

@keyframes scrollPulse {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }

  50% {
    transform: scaleY(1);
    transform-origin: top;
  }

  51% {
    transform-origin: bottom;
  }

  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

/* ============================================================
   NEWS TICKER (SEEED style)
   ============================================================ */
.ticker {
  background: var(--bg-dark);
  padding: 14px 0;
  overflow: hidden;
}

.ticker__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 30px;
}

.ticker__label {
  font-family: var(--font-en);
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--main-color);
  white-space: nowrap;
  flex-shrink: 0;
  padding: 4px 14px;
  border: 1px solid var(--main-color);
  border-radius: 2px;
}

.ticker__track {
  overflow: hidden;
  flex: 1;
}

.ticker__list {
  display: flex;
  gap: 50px;
  white-space: nowrap;
}

.ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.ticker__date {
  font-family: var(--font-en);
  font-size: var(--fs-caption);
  color: rgba(255, 255, 255, 0.35);
}

.ticker__tag {
  font-size: 10px;
  font-weight: 600;
  color: var(--main-color);
  background: rgba(var(--main-color-rgb), 0.1);
  padding: 2px 8px;
  border-radius: 2px;
}

.ticker__text {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

.ticker__item:hover .ticker__text {
  color: var(--main-color);
}

/* ============================================================
   COUNTER (SEEED style)
   ============================================================ */
.counter-section {
  padding: 80px 0;
  background: var(--bg-gray);
}

.counter__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
  text-align: center;
}

.counter__item {
  padding: 20px;
}

.counter__icon {
  color: var(--main-color);
  margin-bottom: 12px;
}

.counter__value {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  margin-bottom: 6px;
}

.counter__number {
  font-family: var(--font-en);
  font-size: 52px;
  font-weight: 700;
  color: var(--bg-dark);
  line-height: 1;
}

.counter__suffix {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-light);
}

.counter__label {
  font-size: var(--fs-small);
  color: var(--text-light);
}

/* ============================================================
   MESSAGE / ABOUT (image + text grid)
   ============================================================ */
.message__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.message__image {
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.message__image img,
.message__image-placeholder {
  width: 100%;
  height: 460px;
  object-fit: cover;
  display: flex;
  align-items: center;
  justify-content: center;
}

.message__label {
  font-family: var(--font-en);
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--main-color);
  margin-bottom: 14px;
  display: block;
}

.message__heading {
  font-family: var(--font-rich);
  font-size: 26px;
  font-weight: 600;
  color: var(--bg-dark);
  line-height: 1.7;
  margin-bottom: 20px;
}

.message__text p {
  font-size: var(--fs-body);
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 16px;
}

/* --- ABOUT Overlap Layout (AIDER TCD115 style) --- */
.about-overlap {
  padding: var(--section-py) 0;
}

/* intro uses shared .section__header / .section__title / .section__desc */
.about-overlap__visual {
  position: relative;
  max-width: var(--container-wide);
  margin: 0 auto;
  min-height: 520px;
}

/* Right image */
.about-overlap__image {
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 420px;
  overflow: hidden;
}

.about-overlap__image img,
.about-overlap__image-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Left text block overlapping */
.about-overlap__content {
  position: relative;
  z-index: 2;
  top: 80px;
  left: 0;
  width: 50%;
  background: var(--bg-dark);
  color: var(--text-white);
  padding: 60px 50px;
}

.about-overlap__heading {
  font-family: var(--font-rich);
  font-size: 28px;
  font-weight: 600;
  line-height: 1.7;
  margin-bottom: 24px;
  color: var(--text-white);
}

.about-overlap__text {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-white);
}

@media (max-width: 1024px) {
  .about-overlap__image {
    width: 60%;
    height: 360px;
  }

  .about-overlap__content {
    width: 55%;
    top: 60px;
    padding: 40px 36px;
  }

  .about-overlap__heading {
    font-size: 24px;
  }
}

@media (max-width: 768px) {
  .about-overlap__visual {
    min-height: auto;
  }

  .about-overlap__image {
    position: relative;
    width: 100%;
    height: 260px;
    right: auto;
  }

  .about-overlap__content {
    position: relative;
    width: 100%;
    top: -30px;
    margin: 0 auto;
    padding: 36px 24px;
  }

  .about-overlap__heading {
    font-size: 22px;
  }
}

/* ============================================================
   GALLERY (SEEED infinite scroll)
   ============================================================ */
.gallery {
  padding: 0;
  overflow: hidden;
}

.gallery__track {
  display: flex;
  gap: 4px;
  animation: galleryScroll 40s linear infinite;
}

.gallery__track img {
  width: 260px;
  height: 180px;
  object-fit: cover;
  flex-shrink: 0;
}

@keyframes galleryScroll {
  0% {
    transform: translateX(0);
  }

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

/* ============================================================
   SERVICE CARDS (3-column grid)
   ============================================================ */
.service__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--bg-white);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.service-card__image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.service-card:hover .service-card__image img {
  transform: scale(1.06);
}

.service-card__image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card__image-icon {
  color: rgba(255, 255, 255, 0.6);
}

.service-card__body {
  padding: 24px;
}

.service-card__num {
  font-family: var(--font-en);
  font-size: 32px;
  font-weight: 800;
  color: var(--main-color);
  opacity: 0.15;
  line-height: 1;
  margin-bottom: 6px;
}

.service-card__title {
  font-size: var(--fs-h3);
  font-weight: 600;
  color: var(--bg-dark);
  margin-bottom: 10px;
}

.service-card__text {
  font-size: var(--fs-small);
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 16px;
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--main-color);
  text-decoration: none;
  transition: var(--transition);
}

.service-card__link:hover {
  color: var(--main-color-dark);
}

.service-card__link svg {
  transition: transform var(--transition);
}

.service-card__link:hover svg {
  transform: translateX(4px);
}

/* ============================================================
   SELLING POINTS (3-column)
   ============================================================ */
.points__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

.point {
  text-align: center;
  padding: 40px 24px;
  background: var(--bg-white);
  border-radius: var(--radius);
  transition: var(--transition);
  box-shadow: 0 4px 24px rgba(107, 63, 160, 0.08), 0 1px 4px rgba(0, 0, 0, 0.04);
}

.point:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(107, 63, 160, 0.15), 0 4px 12px rgba(0, 0, 0, 0.06);
}

.point__num {
  font-family: var(--font-en);
  font-size: 40px;
  font-weight: 800;
  color: var(--main-color);
  opacity: 0.15;
  line-height: 1;
  margin-bottom: 12px;
}

.point__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--text-white);
}

.point__title {
  font-size: 17px;
  font-weight: 600;
  color: var(--bg-dark);
  margin-bottom: 10px;
  line-height: 1.7;
}

.point__text {
  font-size: var(--fs-small);
  color: var(--text-light);
  line-height: 1.7;
}

/* ============================================================
   FEATURE ALT (image-text alternating rows)
   ============================================================ */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}

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

.feature-row.is-reverse {
  direction: rtl;
}

.feature-row.is-reverse>* {
  direction: ltr;
}

.feature-row__image {
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.feature-row__image img,
.feature-row__image-placeholder {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-row__label {
  font-family: var(--font-en);
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--main-color);
  margin-bottom: 12px;
  display: block;
}

.feature-row__title {
  font-size: 22px;
  font-weight: 600;
  color: var(--bg-dark);
  margin-bottom: 14px;
  line-height: 1.7;
}

.feature-row__text {
  font-size: var(--fs-small);
  color: var(--text-light);
  line-height: 1.7;
}

/* ============================================================
   FAQ ACCORDION (SEEED style)
   ============================================================ */
.faq__tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.faq__tab {
  padding: 10px 24px;
  font-size: 13px;
  font-weight: 600;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-full);
  color: var(--text-light);
  cursor: pointer;
  transition: var(--transition);
}

.faq__tab.is-active,
.faq__tab:hover {
  border-color: var(--main-color);
  color: var(--main-color);
  background: var(--main-color-light);
}

.faq__list {
  max-width: 800px;
  margin: 0 auto;
}

.faq__item {
  border-bottom: 1px solid var(--border-color);
}

.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  cursor: pointer;
  font-size: var(--fs-body);
  font-weight: 600;
  color: var(--bg-dark);
  transition: var(--transition);
}

.faq__q:hover {
  color: var(--main-color);
}

.faq__icon {
  width: 20px;
  height: 20px;
  position: relative;
  flex-shrink: 0;
  margin-left: 20px;
}

.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  background: var(--main-color);
  transition: var(--transition);
}

.faq__icon::before {
  width: 14px;
  height: 2px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq__icon::after {
  width: 2px;
  height: 14px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq__item.is-active .faq__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq__a-inner {
  padding: 0 0 22px;
  font-size: var(--fs-small);
  color: var(--text-light);
  line-height: 1.7;
}

/* ============================================================
   COMPANY TABLE
   ============================================================ */
.company-table {
  width: 100%;
  border-collapse: collapse;
}

.company-table tr {
  border-bottom: 1px solid var(--border-color);
}

.company-table th {
  width: 200px;
  padding: 20px 24px;
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--bg-dark);
  text-align: left;
  vertical-align: top;
  background: var(--bg-gray);
}

.company-table td {
  padding: 20px 24px;
  font-size: var(--fs-small);
  color: var(--text-color);
  line-height: 1.7;
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.form {
  max-width: 700px;
  margin: 0 auto;
}

.form__group {
  margin-bottom: 24px;
}

.form__label {
  display: block;
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--bg-dark);
  margin-bottom: 8px;
}

.form__required {
  font-size: 11px;
  color: #d9534f;
  margin-left: 6px;
  font-weight: 400;
}

.form__input,
.form__textarea,
.form__select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: var(--fs-body);
  font-family: var(--font-ja);
  transition: var(--transition);
  background: var(--bg-white);
}

.form__input:focus,
.form__textarea:focus,
.form__select:focus {
  outline: none;
  border-color: var(--main-color);
  box-shadow: 0 0 0 3px rgba(var(--main-color-rgb), 0.1);
}

.form__textarea {
  height: 180px;
  resize: vertical;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta {
  position: relative;
  padding: 80px 0;
  text-align: center;
  overflow: hidden;
}

.cta__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.cta__bg::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--overlay-dark);
}

.cta .container {
  position: relative;
  z-index: 2;
}

.cta__label {
  font-family: var(--font-en);
  font-size: var(--fs-label);
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 14px;
  display: block;
}

.cta__title {
  font-family: var(--font-rich);
  font-size: var(--fs-h2);
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 16px;
  line-height: 1.7;
}

.cta__text {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
  margin-bottom: 36px;
}

.cta__btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   PAGE HEADER (sub pages)
   ============================================================ */
.page-header {
  position: relative;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 80px;
  overflow: hidden;
}

.page-header__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.page-header__bg::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(26, 21, 48, 0.75) 0%, rgba(91, 106, 191, 0.5) 100%);
}

.page-header__content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--text-white);
}

.page-header__label {
  font-family: var(--font-en);
  font-size: var(--fs-label);
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 10px;
  display: block;
}

.page-header__title {
  font-family: var(--font-rich);
  font-size: var(--fs-h1);
  font-weight: 600;
  letter-spacing: 2px;
}

.page-header__sub {
  font-family: var(--font-en);
  font-size: var(--fs-small);
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 12px;
}

/* --- Page Header Video Variant --- */
.page-header--video {
  height: 420px;
}

.page-header__video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
}

.page-header__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1;
}

.page-header--video .page-header__content {
  z-index: 2;
}

.page-header--video .page-header__title {
  font-size: var(--fs-hero-tab);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.page-header--video .page-header__label {
  color: rgba(255, 255, 255, 0.7);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
  .page-header--video {
    height: 360px;
  }
  .page-header--video .page-header__title {
    font-size: var(--fs-h1-sp);
  }
}

/* Breadcrumb */
.breadcrumb {
  padding: 14px 0;
  font-size: var(--fs-caption);
  color: var(--text-light);
  border-bottom: 1px solid var(--border-color);
}

.breadcrumb a {
  color: var(--text-light);
}

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

.breadcrumb__sep {
  margin: 0 8px;
  color: var(--border-color);
}

/* ============================================================
   FOOTER (SEEED style)
   ============================================================ */
.footer {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, 0.6);
}

/* Footer gallery carousel */
.footer__gallery {
  overflow: hidden;
  padding: 0;
}

.footer__gallery-track {
  display: flex;
  gap: 4px;
  animation: galleryScroll 50s linear infinite;
}

.footer__gallery-track img {
  width: 200px;
  height: 140px;
  object-fit: cover;
  flex-shrink: 0;
  opacity: 0.6;
  transition: opacity var(--transition);
}

.footer__gallery-track img:hover {
  opacity: 1;
}

.footer__main {
  padding: 50px 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--gap);
}

.footer__brand {}

.footer__logo {
  margin-bottom: 14px;
}

.footer__logo img {
  height: 32px;
  width: auto;
}

.footer__brand-text {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 16px;
}

.footer__social {
  display: flex;
  gap: 10px;
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  transition: var(--transition);
}

.footer__social-link:hover {
  background: var(--main-color);
  color: var(--text-white);
}

.footer__nav-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.footer__nav-list li {
  margin-bottom: 8px;
}

.footer__nav-list a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  transition: var(--transition);
}

.footer__nav-list a:hover {
  color: var(--main-color);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 18px 0;
  text-align: center;
}

.footer__copyright {
  font-family: var(--font-en);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.25);
  letter-spacing: 0.5px;
}

/* ============================================================
   SCROLL ANIMATIONS (SEEED Intersection Observer)
   ============================================================ */
.inview {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.inview.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.inview--d1 {
  transition-delay: 0.1s;
}

.inview--d2 {
  transition-delay: 0.2s;
}

.inview--d3 {
  transition-delay: 0.3s;
}

.inview--d4 {
  transition-delay: 0.4s;
}

.inview--d5 {
  transition-delay: 0.5s;
}

.inview--d6 {
  transition-delay: 0.6s;
}

/* Page Top */
.page-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: var(--main-color);
  color: var(--text-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
}

.page-top.is-visible {
  opacity: 1;
  visibility: visible;
}

.page-top:hover {
  background: var(--main-color-dark);
  color: var(--text-white);
  transform: translateY(-3px);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .header__nav {
    display: none;
  }

  .header__cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero__catch {
    font-size: var(--fs-hero-tab);
  }

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

  .points__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .message__grid,
  .feature-row {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .feature-row.is-reverse {
    direction: ltr;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-py: 60px;
  }

  .section__header {
    margin-bottom: 40px;
  }

  .section__title {
    font-size: var(--fs-h2-sp);
  }

  .hero {
    min-height: 480px;
    max-height: 700px;
    margin-top: 70px;
  }

  .hero__catch {
    font-size: var(--fs-hero-sp);
  }

  .hero__sub {
    font-size: 14px;
  }

  .service__grid,
  .points__grid {
    grid-template-columns: 1fr;
  }

  .counter__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .counter__number {
    font-size: 40px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .page-header {
    height: 240px;
    margin-top: 70px;
  }

  .page-header__title {
    font-size: var(--fs-h1-sp);
  }

  .header__inner {
    height: 70px;
    padding: 0 16px;
  }

  .company-table th,
  .company-table td {
    display: block;
    width: 100%;
    padding: 12px 16px;
  }

  .company-table th {
    border-bottom: none;
  }

  .btn--lg {
    height: 56px;
    min-width: 240px;
    font-size: var(--fs-small);
  }

  .cta__title {
    font-size: var(--fs-h2-sp);
  }

  .faq__tabs {
    gap: 4px;
  }

  .faq__tab {
    padding: 8px 16px;
    font-size: 12px;
  }

  .philosophy__row,
  .philosophy__values {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 480px) {
  .hero__btns {
    flex-direction: column;
    align-items: center;
  }

  .btn--primary,
  .btn--outline,
  .btn--white,
  .btn--dark {
    min-width: 100%;
  }

  .btn--lg {
    min-width: 100%;
  }

  .cta__btns {
    flex-direction: column;
    align-items: center;
  }
}