/* ============================================================
   InCape Corporate Site — Main CSS
   ============================================================ */

/* ---- 1. CSS Variables ---- */
:root {
  --navy:        #1B2E4B;
  --navy-dark:   #0F1E33;
  --navy-light:  #243d63;
  --gold:        #C9973A;
  --gold-light:  #DFB46A;
  --surface:     #F5F6F8;
  --white:       #FFFFFF;
  --text:        #1E1E1E;
  --text-muted:  #6B7280;
  --border:      #E2E4E8;

  --font-jp: 'Noto Sans JP', sans-serif;
  --font-en: 'Inter', sans-serif;

  --container: 1200px;
  --radius: 8px;
  --radius-lg: 16px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,.06);
  --shadow-md: 0 8px 24px rgba(0,0,0,.10);
  --shadow-lg: 0 20px 60px rgba(0,0,0,.14);

  --transition: .25s ease;
  --header-h: 72px;
}

/* ---- 2. Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-jp);
  color: var(--text);
  background: var(--white);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
address { font-style: normal; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

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

.section { padding: 96px 0; }
.section--surface { background: var(--surface); }
.section--navy { background: var(--navy); color: var(--white); }
.section--navy-dark { background: var(--navy-dark); color: var(--white); }

.section-header { text-align: center; margin-bottom: 64px; }
.section-header .en-label {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.section-header h2 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.4;
}
.section--navy .section-header h2,
.section--navy-dark .section-header h2 { color: var(--white); }
.section-header .section-desc {
  margin-top: 16px;
  font-size: 15px;
  color: var(--text-muted);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.section--navy .section-desc,
.section--navy-dark .section-desc { color: rgba(255,255,255,.65); }

/* ---- 4. Header ---- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: transparent;
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition);
}
.site-header.scrolled {
  background: var(--navy-dark);
  box-shadow: 0 2px 20px rgba(0,0,0,.25);
}
.site-header.page-header {
  background: var(--navy-dark);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.site-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.logo-en {
  font-family: var(--font-en);
  font-size: 22px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: .08em;
}
.logo-jp {
  font-size: 10px;
  font-weight: 300;
  color: rgba(255,255,255,.75);
  letter-spacing: .05em;
}

.global-nav ul {
  display: flex;
  align-items: center;
  gap: 36px;
}
.global-nav a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,.85);
  position: relative;
  padding-bottom: 4px;
  transition: color var(--transition);
}
.global-nav a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}
.global-nav a:hover,
.global-nav a[aria-current="page"] { color: var(--white); }
.global-nav a:hover::after,
.global-nav a[aria-current="page"]::after { width: 100%; }

.nav-cta-btn {
  padding: 9px 22px;
  border: 1.5px solid var(--gold);
  color: var(--gold) !important;
  border-radius: 4px;
  font-size: 13px !important;
  font-weight: 600 !important;
  transition: background var(--transition), color var(--transition) !important;
}
.nav-cta-btn::after { display: none !important; }
.nav-cta-btn:hover {
  background: var(--gold) !important;
  color: var(--white) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1100;
}
.nav-toggle .bar {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle.active .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active .bar:nth-child(2) { opacity: 0; }
.nav-toggle.active .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 900;
}
.nav-overlay.active { display: block; }

/* ---- 5. Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 600;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  box-shadow: 0 8px 24px rgba(201,151,58,.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,.1);
  border-color: var(--white);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-navy:hover {
  background: var(--navy-light);
  box-shadow: 0 8px 24px rgba(27,46,75,.3);
}

/* ---- 6. Page Banner (내부 페이지) ---- */
.page-banner {
  background: var(--navy-dark);
  padding: calc(var(--header-h) + 60px) 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1578575437130-527eed3abbec?w=1600&auto=format&fit=crop&q=60') center/cover no-repeat;
  opacity: .12;
}
.page-banner-inner { position: relative; z-index: 1; }
.page-banner .en-label {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.page-banner h1 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  color: var(--white);
  letter-spacing: .02em;
}
.page-banner .breadcrumb {
  margin-top: 16px;
  font-size: 13px;
  color: rgba(255,255,255,.5);
}
.page-banner .breadcrumb a {
  color: rgba(255,255,255,.5);
  transition: color var(--transition);
}
.page-banner .breadcrumb a:hover { color: var(--gold); }
.page-banner .breadcrumb span { margin: 0 8px; }

/* ---- 7. Hero Section ---- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1494412651409-8963ce7935a7?w=1920&auto=format&fit=crop&q=80') center/cover no-repeat;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11,20,38,.9) 0%, rgba(27,46,75,.75) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}
.hero-en-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}
.hero-en-label::before {
  content: '';
  display: block;
  width: 40px; height: 1px;
  background: var(--gold);
}
.hero-title {
  font-size: clamp(32px, 4.5vw, 58px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.35;
  letter-spacing: .02em;
  margin-bottom: 24px;
}
.hero-title em {
  font-style: normal;
  color: var(--gold);
}
.hero-sub {
  font-size: clamp(14px, 1.5vw, 17px);
  color: rgba(255,255,255,.78);
  line-height: 1.9;
  margin-bottom: 48px;
  max-width: 560px;
}
.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.5);
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: .15em;
}
.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,.5), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%,100% { opacity: 1; transform: scaleY(1); transform-origin: top; }
  50% { opacity: .3; }
}

/* ---- 8. Business Areas (トップ) ---- */
.business-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.business-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  cursor: default;
}
.business-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}
.business-card-icon {
  width: 64px; height: 64px;
  margin: 0 auto 20px;
  background: rgba(201,151,58,.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.business-card-icon svg { color: var(--gold); }
.business-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.4;
}
.business-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ---- 9. Why Section ---- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.why-item {
  padding: 56px 48px;
  background: rgba(255,255,255,.04);
  border-left: 1px solid rgba(255,255,255,.08);
  position: relative;
}
.why-item:first-child { border-left: none; }
.why-number {
  font-family: var(--font-en);
  font-size: 64px;
  font-weight: 700;
  color: rgba(255,255,255,.06);
  position: absolute;
  top: 24px; right: 28px;
  line-height: 1;
}
.why-icon {
  width: 52px; height: 52px;
  background: rgba(201,151,58,.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.why-icon svg { color: var(--gold); }
.why-item h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.4;
}
.why-item p {
  font-size: 14px;
  color: rgba(255,255,255,.65);
  line-height: 1.9;
}

/* ---- 10. Products Teaser (トップ) ---- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.product-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
}
.product-card-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.product-card:hover .product-card-img { transform: scale(1.06); }
.product-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11,20,38,.85) 0%, rgba(11,20,38,.2) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px 24px;
  transition: background var(--transition);
}
.product-card:hover .product-card-overlay {
  background: linear-gradient(to top, rgba(11,20,38,.92) 0%, rgba(11,20,38,.4) 60%, transparent 100%);
}
.product-card-label {
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .2em;
  color: var(--gold);
  margin-bottom: 6px;
}
.product-card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.product-card-sub {
  font-size: 12px;
  color: rgba(255,255,255,.65);
  line-height: 1.6;
}
.product-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
  margin-top: 14px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--transition), transform var(--transition);
}
.product-card:hover .product-card-link { opacity: 1; transform: translateY(0); }

/* ---- 11. Company Bar (トップ) ---- */
.company-bar {
  background: var(--navy);
  padding: 48px 0;
}
.company-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.company-bar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 48px;
  border-right: 1px solid rgba(255,255,255,.15);
}
.company-bar-item:last-child { border-right: none; }
.company-bar-label {
  font-size: 11px;
  font-weight: 400;
  color: rgba(255,255,255,.5);
  letter-spacing: .1em;
  margin-bottom: 8px;
}
.company-bar-value {
  font-family: var(--font-en);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: .03em;
  line-height: 1;
}
.company-bar-value.jp {
  font-family: var(--font-jp);
  font-size: 16px;
  font-weight: 500;
}

/* ---- 12. CTA Section (トップ) ---- */
.cta-section {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  padding: 96px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(201,151,58,.08);
}
.cta-section::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(201,151,58,.05);
}
.cta-inner { position: relative; z-index: 1; }
.cta-section h2 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}
.cta-section p {
  font-size: 16px;
  color: rgba(255,255,255,.7);
  margin-bottom: 40px;
  line-height: 1.8;
}
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---- 13. Service Page ---- */
.service-section {
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}
.service-section:last-of-type { border-bottom: none; }
.service-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.service-layout.reverse { direction: rtl; }
.service-layout.reverse > * { direction: ltr; }

.service-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-lg);
}
.service-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.service-img:hover img { transform: scale(1.04); }

.service-number {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .2em;
  color: var(--gold);
  margin-bottom: 16px;
}
.service-body h2 {
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.4;
  margin-bottom: 20px;
}
.service-body .service-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 28px;
}
.service-points {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.service-point {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--text);
}
.service-point::before {
  content: '';
  flex-shrink: 0;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  margin-top: 8px;
}

/* ---- 14. Products Page ---- */
.products-category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.product-category-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}
.product-category-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.product-category-img {
  height: 240px;
  overflow: hidden;
  position: relative;
}
.product-category-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.product-category-card:hover .product-category-img img { transform: scale(1.06); }

.product-category-body {
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: none;
}
.product-category-body h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}
.product-category-body p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 20px;
}
.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.product-tag {
  padding: 4px 12px;
  background: var(--surface);
  border-radius: 20px;
  font-size: 12px;
  color: var(--navy);
  font-weight: 500;
}

.flow-section { padding: 80px 0; background: var(--surface); }
.flow-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
}
.flow-steps::before {
  content: '';
  position: absolute;
  top: 36px; left: calc(100%/6);
  width: calc(100%*2/3);
  height: 2px;
  background: var(--border);
  z-index: 0;
}
.flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}
.flow-step-num {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-en);
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  box-shadow: 0 4px 16px rgba(27,46,75,.3);
}
.flow-step h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.flow-step p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ---- 15. About Page ---- */
.message-section {
  padding: 80px 0;
}
.message-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 64px;
  align-items: start;
}
.message-img-wrap {
  text-align: center;
}
.message-img {
  width: 200px; height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 20px;
  border: 4px solid var(--gold);
  box-shadow: var(--shadow-md);
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
}
.message-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
}
.message-title-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}
.message-body h2 {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.5;
  margin-bottom: 24px;
}
.message-body p {
  font-size: 15px;
  color: var(--text);
  line-height: 2;
  margin-bottom: 16px;
}
.message-body p:last-child { margin-bottom: 0; }
.message-signature {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-muted);
}
.message-signature strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-top: 6px;
}

.company-profile-section {
  padding: 80px 0;
  background: var(--surface);
}
.company-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.company-table tr { border-bottom: 1px solid var(--border); }
.company-table tr:last-child { border-bottom: none; }
.company-table th {
  width: 200px;
  padding: 20px 28px;
  text-align: left;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  background: rgba(27,46,75,.03);
  vertical-align: top;
  white-space: nowrap;
}
.company-table td {
  padding: 20px 28px;
  font-size: 15px;
  color: var(--text);
  line-height: 1.8;
  vertical-align: top;
}

.access-section { padding: 80px 0; }
.access-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.access-info h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 20px;
}
.access-info address {
  font-size: 15px;
  line-height: 2;
  color: var(--text);
  margin-bottom: 24px;
}
.access-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.access-map iframe {
  width: 100%;
  height: 360px;
  border: none;
  display: block;
}

/* ---- 16. Contact Page ---- */
.contact-info-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}
.contact-info-item {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  border: 1px solid var(--border);
}
.contact-info-icon {
  width: 52px; height: 52px;
  background: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.contact-info-icon svg { color: var(--gold); }
.contact-info-item h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.contact-info-item p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
}

.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 56px;
  box-shadow: var(--shadow-sm);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.form-group {
  margin-bottom: 28px;
}
.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}
.form-group label .required {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  background: var(--gold);
  padding: 2px 6px;
  border-radius: 3px;
  margin-left: 6px;
  vertical-align: middle;
}
.form-group label .optional {
  display: inline-block;
  font-size: 11px;
  color: var(--text-muted);
  margin-left: 6px;
  vertical-align: middle;
}
.form-control {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-jp);
  font-size: 15px;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  appearance: none;
}
.form-control:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,151,58,.15);
}
.form-control::placeholder { color: #aab0ba; }
textarea.form-control {
  resize: vertical;
  min-height: 160px;
  line-height: 1.7;
}
select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B7280' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-privacy {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 32px;
}
.form-privacy input[type="checkbox"] {
  width: 18px; height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--gold);
  cursor: pointer;
}
.form-privacy label {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
  cursor: pointer;
}
.form-privacy a { color: var(--gold); text-decoration: underline; }

.form-submit { text-align: center; }
.form-submit .btn { padding: 16px 56px; font-size: 16px; }

.form-success {
  background: #f0fdf4;
  border: 1.5px solid #86efac;
  border-radius: var(--radius);
  padding: 24px 32px;
  text-align: center;
  margin-bottom: 32px;
}
.form-success p { color: #166534; font-weight: 500; font-size: 15px; }
.form-error-msg {
  background: #fef2f2;
  border: 1.5px solid #fca5a5;
  border-radius: var(--radius);
  padding: 16px 24px;
  margin-bottom: 24px;
  color: #991b1b;
  font-size: 14px;
}

/* ---- 17. Scroll Animations ---- */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in-delay-1 { transition-delay: .1s; }
.fade-in-delay-2 { transition-delay: .2s; }
.fade-in-delay-3 { transition-delay: .3s; }
.fade-in-delay-4 { transition-delay: .4s; }

/* ---- 18. Responsive ---- */
@media (max-width: 1024px) {
  .business-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .why-item { border-left: none; border-top: 1px solid rgba(255,255,255,.08); }
  .why-item:first-child { border-top: none; }
  .service-layout { grid-template-columns: 1fr; gap: 40px; }
  .service-layout.reverse { direction: ltr; }
  .message-layout { grid-template-columns: 1fr; }
  .message-img-wrap { display: flex; align-items: center; gap: 24px; text-align: left; }
  .message-img { margin: 0; }
  .access-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --header-h: 60px; }
  .section { padding: 64px 0; }
  .section-header { margin-bottom: 40px; }

  .nav-toggle { display: flex; }
  .global-nav {
    position: fixed;
    top: 0; right: -100%;
    width: 80%; max-width: 320px;
    height: 100vh;
    background: var(--navy-dark);
    padding: calc(var(--header-h) + 24px) 32px 40px;
    transition: right .35s ease;
    z-index: 1000;
    overflow-y: auto;
  }
  .global-nav.open { right: 0; }
  .global-nav ul { flex-direction: column; gap: 0; align-items: stretch; }
  .global-nav a {
    display: block;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
    font-size: 16px;
  }
  .nav-cta-wrap { margin-top: 24px; }
  .nav-cta-btn { display: block; text-align: center; padding: 14px !important; }

  .hero-cta { flex-direction: column; }
  .hero-cta .btn { text-align: center; justify-content: center; }

  .business-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .business-card { padding: 28px 20px; }

  .products-grid { grid-template-columns: 1fr 1fr; gap: 12px; }

  .company-bar-inner { gap: 0; }
  .company-bar-item { padding: 16px 24px; }
  .company-bar-value { font-size: 18px; }

  .products-category-grid { grid-template-columns: 1fr; }

  .flow-steps { grid-template-columns: 1fr; gap: 32px; }
  .flow-steps::before { display: none; }

  .company-table th { width: 120px; white-space: normal; }

  .contact-info-bar { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; }

  .message-img-wrap { flex-direction: column; text-align: center; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 480px) {
  .business-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .company-bar-inner { flex-direction: column; }
  .company-bar-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.1); width: 100%; text-align: center; }
  .company-bar-item:last-child { border-bottom: none; }
}

/* ---- 19. Footer ---- */
.site-footer {
  background: var(--navy-dark);
  color: var(--white);
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding: 72px 0 56px;
}
.footer-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  margin-bottom: 20px;
  display: inline-flex;
}
.footer-logo-en {
  font-family: var(--font-en);
  font-size: 24px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: .08em;
}
.footer-logo-jp {
  font-size: 11px;
  font-weight: 300;
  color: rgba(255,255,255,.6);
  letter-spacing: .05em;
  margin-top: 4px;
}
.footer-tagline {
  font-size: 13px;
  color: rgba(255,255,255,.5);
  line-height: 1.8;
  margin-top: 16px;
}
.footer-nav-heading {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer-nav-list li { margin-bottom: 10px; }
.footer-nav-list a {
  font-size: 14px;
  color: rgba(255,255,255,.6);
  transition: color var(--transition);
}
.footer-nav-list a:hover { color: var(--white); }
.footer-address {
  font-size: 13px;
  color: rgba(255,255,255,.55);
  line-height: 2;
  margin-bottom: 20px;
}
.footer-contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: 1px solid rgba(201,151,58,.5);
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
  color: var(--gold);
  transition: background var(--transition), border-color var(--transition);
}
.footer-contact-btn:hover {
  background: rgba(201,151,58,.1);
  border-color: var(--gold);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
  text-align: center;
}
.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,.35);
}

/* ---- 20. Misc ---- */
.main-content { padding-top: var(--header-h); }
.text-gold { color: var(--gold); }
.text-navy { color: var(--navy); }
