/* =========================================================
   ZEN Corporate Site - styles
   ========================================================= */

/* ---------- Reset / Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: 'Noto Sans JP', 'Inter', sans-serif;
  font-weight: 400;
  color: #1A1A1A;
  background: #FFFFFF;
  line-height: 1.8;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4 {
  margin: 0;
  line-height: 1.4;
  font-weight: 500;
}

p {
  margin: 0;
}

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

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.section {
  padding: 120px 0;
  scroll-margin-top: 80px;
}

section[id] {
  scroll-margin-top: 80px;
}

/* ---------- Common Type ---------- */
.eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.25em;
  color: #6B7280;
  margin: 0 0 24px;
  text-transform: uppercase;
}

.eyebrow--light {
  color: rgba(255,255,255,0.85);
}

.eyebrow--muted {
  color: rgba(255,255,255,0.6);
}

.section-title {
  font-size: 40px;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.4;
  color: #1A1A1A;
  margin: 0 0 32px;
}

.section-title--light {
  color: #FFFFFF;
}

.section-head--center {
  text-align: center;
  margin-bottom: 64px;
}

.section-head--center .section-title {
  margin-bottom: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 18px 40px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-align: center;
  border-radius: 4px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 1px solid transparent;
  min-width: 220px;
}

.btn--outline-white {
  background: transparent;
  color: #FFFFFF;
  border-color: #FFFFFF;
}

.btn--outline-white:hover {
  background: #FFFFFF;
  color: #1A2332;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.btn--white {
  background: #FFFFFF;
  color: #1A2332;
  border-color: #FFFFFF;
}

.btn--white:hover {
  background: #f5f5f5;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  z-index: 1000;
  background: transparent;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(255,255,255,0.95);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 #E5E7EB, 0 4px 20px rgba(0,0,0,0.04);
}

.header-inner {
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: #FFFFFF;
  transition: color 0.3s ease;
}

.site-header.is-scrolled .logo {
  color: #1A1A1A;
}

.global-nav .nav-list {
  display: flex;
  gap: 40px;
}

.global-nav a {
  position: relative;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: #FFFFFF;
  padding: 8px 0;
  transition: color 0.3s ease;
}

.site-header.is-scrolled .global-nav a {
  color: #1A1A1A;
}

.global-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.35s ease;
}

.global-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left center;
}

/* Hamburger */
.hamburger {
  display: none;
  width: 32px;
  height: 32px;
  position: relative;
  z-index: 1100;
}

.hamburger span {
  position: absolute;
  left: 4px;
  right: 4px;
  height: 1.5px;
  background: #FFFFFF;
  transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease;
}

.site-header.is-scrolled .hamburger span {
  background: #1A1A1A;
}

.hamburger span:nth-child(1) { top: 9px; }
.hamburger span:nth-child(2) { top: 15px; }
.hamburger span:nth-child(3) { top: 21px; }

.hamburger.is-active span {
  background: #1A1A1A;
}

.hamburger.is-active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.hamburger.is-active span:nth-child(2) {
  opacity: 0;
}
.hamburger.is-active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Mobile nav */
.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: #FFFFFF;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.77,0,0.175,1);
  z-index: 1050;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-nav.is-open {
  transform: translateX(0);
}

.mobile-nav ul {
  display: flex;
  flex-direction: column;
  gap: 28px;
  text-align: center;
}

.mobile-nav a {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: #1A1A1A;
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  background: url('../images/hero.jpg') center center / cover no-repeat;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding-top: 80px;
  padding-bottom: 80px;
}

.hero-title {
  font-size: 64px;
  line-height: 1.3;
  font-weight: 500;
  color: #FFFFFF;
  margin: 0 0 32px;
  letter-spacing: 0.02em;
}

.hero-lead {
  color: #FFFFFF;
  font-size: 16px;
  line-height: 1.9;
  max-width: 600px;
  margin: 0 0 48px;
}

.scroll-indicator {
  position: absolute;
  right: 32px;
  bottom: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 1;
  color: #FFFFFF;
}

.scroll-text {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.3em;
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

.scroll-line {
  width: 1px;
  height: 80px;
  background: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: "";
  position: absolute;
  top: -50%;
  left: 0;
  width: 100%;
  height: 50%;
  background: rgba(255,255,255,0.4);
  animation: scrollLine 2.2s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { top: -50%; }
  100% { top: 100%; }
}

/* =========================================================
   ABOUT
   ========================================================= */
.about {
  background: #FFFFFF;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-body p + p {
  margin-top: 28px;
}

.about-body p {
  color: #1A1A1A;
  font-size: 15px;
  line-height: 1.95;
}

/* =========================================================
   VALUES
   ========================================================= */
.values {
  background: #FFFFFF;
  border-top: 1px solid #E5E7EB;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.value-card {
  padding: 36px 28px 32px;
  background: #FAFAFA;
  border-radius: 8px;
  border: 1px solid #E5E7EB;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.06);
  border-color: transparent;
}

.value-card__number {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 28px;
  font-weight: 300;
  color: #1A2332;
  letter-spacing: 0.05em;
  margin-bottom: 18px;
}

.value-card__title {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #1A1A1A;
  margin: 0 0 14px;
  line-height: 1.5;
}

.value-card__desc {
  font-size: 13.5px;
  line-height: 1.85;
  color: #6B7280;
}

/* =========================================================
   SERVICE
   ========================================================= */
.service {
  background: #FAFAFA;
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.service-card {
  background: #FFFFFF;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.08), 0 2px 10px rgba(0,0,0,0.05);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.12), 0 6px 16px rgba(0,0,0,0.06);
}

.service-card__image {
  height: 200px;
  overflow: hidden;
}

.service-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.service-card__body {
  padding: 32px 28px 36px;
}

.service-card__number {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 36px;
  font-weight: 300;
  color: #E5E7EB;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.service-card__title {
  margin: 0 0 18px;
}

.service-card__title .en {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: #6B7280;
  margin-bottom: 6px;
}

.service-card__title .ja {
  display: block;
  font-size: 20px;
  font-weight: 500;
  color: #1A1A1A;
  letter-spacing: 0.02em;
}

.service-card__desc {
  font-size: 14px;
  line-height: 1.9;
  color: #6B7280;
}

/* Service detail blocks */
.service-details {
  margin-top: 80px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.service-detail-block {
  background: #FFFFFF;
  border-radius: 8px;
  padding: 40px 40px 36px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.service-detail-block__head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding-bottom: 24px;
  margin-bottom: 28px;
  border-bottom: 1px solid #E5E7EB;
}

.service-detail-block__no {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: #1A2332;
}

.service-detail-block__title {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #1A1A1A;
  margin: 0;
}

.sub-services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.sub-service {
  padding: 4px 0;
}

.sub-service__name {
  font-size: 16px;
  font-weight: 500;
  color: #1A1A1A;
  margin: 0 0 10px;
  letter-spacing: 0.03em;
}

.sub-service__price {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: #1A2332;
  letter-spacing: 0.02em;
  margin: 0 0 14px;
}

.sub-service__price span {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: #6B7280;
  margin-left: 4px;
}

.sub-service__desc {
  font-size: 13.5px;
  line-height: 1.85;
  color: #6B7280;
}

/* =========================================================
   CTA BANNER
   ========================================================= */
.cta-banner {
  position: relative;
  min-height: 360px;
  background: url('../images/cta.jpg') center center / cover no-repeat;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.cta-banner__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}

.cta-banner__inner {
  position: relative;
  z-index: 1;
  padding: 80px 32px;
}

.cta-banner__title {
  font-size: 28px;
  color: #FFFFFF;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.5;
  margin: 0 0 20px;
}

.cta-banner__text {
  color: #FFFFFF;
  font-size: 15px;
  line-height: 1.9;
  margin: 0 0 36px;
}

/* =========================================================
   COMPANY
   ========================================================= */
.company {
  background: #FFFFFF;
}

.company-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: start;
}

.company-table {
  margin: 0;
}

.company-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid #E5E7EB;
}

.company-row:first-child {
  border-top: 1px solid #E5E7EB;
}

.company-row dt {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: #6B7280;
}

.company-row dd {
  margin: 0;
  font-size: 15px;
  color: #1A1A1A;
  line-height: 1.85;
}

.company-services li {
  position: relative;
  padding-left: 16px;
}

.company-services li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 6px;
  height: 1px;
  background: #6B7280;
}

/* Profile card */
.profile-card {
  background: #FAFAFA;
  padding: 48px 40px;
  border-radius: 8px;
}

.profile-card .eyebrow {
  margin-bottom: 20px;
}

.profile-card__name {
  margin: 0 0 24px;
}

.profile-card__jp {
  display: block;
  font-size: 26px;
  font-weight: 500;
  color: #1A1A1A;
  letter-spacing: 0.02em;
  margin-bottom: 6px;
}

.profile-card__en {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: #6B7280;
}

.profile-card__text {
  font-size: 14px;
  line-height: 1.95;
  color: #1A1A1A;
  margin: 0;
}

.profile-card__text + .profile-card__text {
  margin-top: 18px;
}

/* Business scope */
.business-scope {
  margin-top: 80px;
}

.business-scope__inner {
  background: #FAFAFA;
  border-left: 3px solid #1A2332;
  padding: 28px 32px;
  border-radius: 0 8px 8px 0;
}

.business-scope__title {
  margin: 0 0 12px;
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
}

.business-scope__title .en {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.25em;
  color: #6B7280;
  text-transform: uppercase;
}

.business-scope__title .ja {
  font-size: 16px;
  font-weight: 500;
  color: #1A1A1A;
  letter-spacing: 0.04em;
}

.business-scope__text {
  font-size: 13.5px;
  line-height: 1.9;
  color: #1A1A1A;
  margin: 0;
}

/* =========================================================
   CONTACT
   ========================================================= */
.contact {
  background: #1A2332;
  color: #FFFFFF;
}

.contact-lead {
  text-align: center;
  font-size: 15px;
  color: rgba(255,255,255,0.8);
  margin: 0 0 56px;
}

.contact-info {
  text-align: center;
  margin: 0 auto 56px;
  max-width: 560px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-line {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.contact-label {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.25em;
  color: rgba(255,255,255,0.5);
}

.contact-value {
  font-family: 'Inter', sans-serif;
  font-size: 26px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: #FFFFFF;
  position: relative;
  transition: opacity 0.3s ease;
}

.contact-value:hover {
  opacity: 0.7;
}

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

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: #0F1722;
  color: rgba(255,255,255,0.7);
  padding: 56px 0 32px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo {
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: #FFFFFF;
  margin: 0 0 6px;
}

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

.footer-nav ul {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.footer-nav a {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.7);
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: #FFFFFF;
}

.footer-copy {
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.5);
  margin-top: 32px;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

/* ---------- 1024px and below (tablet) ---------- */
@media (max-width: 1024px) {
  .container { padding: 0 28px; }

  .section { padding: 100px 0; }

  .hero-title { font-size: 52px; }

  .section-title { font-size: 34px; }

  .about-grid { gap: 56px; }

  .service-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .company-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

/* ---------- 768px and below (large mobile) ---------- */
@media (max-width: 768px) {
  .container { padding: 0 20px; }

  .section { padding: 60px 0; }

  /* hide desktop nav, show hamburger */
  .global-nav { display: none; }
  .hamburger { display: block; }

  /* hero — disable parallax on mobile */
  .hero {
    background-attachment: scroll;
    min-height: 100vh;
  }

  .hero-title {
    font-size: 36px;
    line-height: 1.4;
  }

  .hero-lead {
    font-size: 14px;
  }

  .scroll-indicator { display: none; }

  .section-title { font-size: 26px; }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

  .values-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .value-card {
    padding: 28px 24px;
  }

  .service-details {
    margin-top: 48px;
    gap: 24px;
  }

  .service-detail-block {
    padding: 28px 24px 24px;
  }

  .service-detail-block__head {
    padding-bottom: 18px;
    margin-bottom: 22px;
  }

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

  .business-scope {
    margin-top: 48px;
  }

  .business-scope__inner {
    padding: 22px 24px;
  }

  .cta-banner {
    background-attachment: scroll;
    min-height: 280px;
  }

  .cta-banner__title { font-size: 22px; }

  .company-row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 18px 0;
  }

  .profile-card { padding: 32px 24px; }

  .contact-value { font-size: 22px; }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }

  .footer-nav ul { gap: 20px; }
}

/* ---------- 480px and below (small mobile) ---------- */
@media (max-width: 480px) {
  .container { padding: 0 16px; }

  .hero-title { font-size: 30px; }

  .section-title { font-size: 22px; }

  .btn {
    min-width: 0;
    width: 100%;
    padding: 16px 24px;
  }

  .cta-banner__title { font-size: 19px; }

  .contact-value { font-size: 18px; }

  .contact-line {
    flex-direction: column;
    gap: 6px;
  }
}

/* =========================================================
   prefers-reduced-motion
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .hero,
  .cta-banner {
    background-attachment: scroll;
  }

  [data-aos] {
    opacity: 1 !important;
    transform: none !important;
  }
}
