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

:root {
  --green-deep: #102e1f;     /* very dark forest green (hero bg) */
  --green: #1a4d33;          /* primary forest green (logo green) */
  --green-mid: #2d6647;      /* medium green (gradients, hover) */
  --green-soft: #4a8c69;     /* soft green */
  --gold: #b8924d;           /* primary accent — warm gold (logo gold) */
  --gold-light: #d4ae6c;     /* lighter gold */
  --gold-soft: #e8d4a8;      /* very soft gold (subtle bg) */
  --cream: #faf3e6;          /* warm cream matching logo bg */
  --cream-deep: #f0e6d0;     /* deeper cream */
  --gray-text: #555a5f;
  --gray-light: #ede4d0;     /* warm light gray */
  --white: #ffffff;

  /* Legacy aliases for backward compatibility */
  --navy: var(--green);
  --navy-light: var(--green-mid);
  --crimson: var(--green);
  --crimson-soft: var(--green-mid);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Helvetica Neue', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', 'Meiryo', sans-serif;
  color: var(--green);
  line-height: 1.7;
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--gold); text-decoration: none; transition: color .2s; }
a:hover { color: var(--green); }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ===== Language Toggle ===== */
html[data-lang="id"] .t-jp { display: none !important; }
html[data-lang="jp"] .t-id { display: none !important; }

.lang-switch {
  display: inline-flex;
  gap: 2px;
  border: 1px solid rgba(26,77,51,.18);
  border-radius: 100px;
  padding: 3px;
  background: var(--white);
  margin-left: 12px;
}
.lang-switch button {
  border: none;
  background: transparent;
  padding: 6px 14px;
  font-size: .8rem;
  font-weight: 700;
  color: var(--gray-text);
  border-radius: 100px;
  cursor: pointer;
  transition: all .2s;
  font-family: inherit;
  letter-spacing: .04em;
}
.lang-switch button.active {
  background: var(--green);
  color: var(--white);
}
.lang-switch button:hover:not(.active) {
  color: var(--green);
}

/* ===== Header ===== */
header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,243,230,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(26,77,51,.1);
}
.nav {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 0;
  gap: 16px;
}
.nav-right { display: flex; align-items: center; gap: 4px; }

.brand {
  display: inline-flex; align-items: center; gap: 14px;
  color: var(--green);
}
.brand img {
  height: 58px; width: auto; max-width: 200px;
  object-fit: contain;
}
.brand-sub {
  font-size: .68rem;
  color: var(--green);
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 600;
  padding-left: 14px;
  border-left: 1.5px solid rgba(184,146,77,.5);
  line-height: 1.4;
}

.menu { display: flex; gap: 4px; list-style: none; }
.menu a {
  display: block; padding: 10px 16px;
  color: var(--green); font-weight: 500; font-size: .94rem;
  border-radius: 6px; transition: all .2s;
}
.menu a:hover { background: var(--cream-deep); color: var(--gold); }
.menu a.active { color: var(--gold); background: rgba(184,146,77,.1); }

/* ===== Hero ===== */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--green-deep) 0%, var(--green) 100%);
  color: var(--white);
  padding: 96px 24px 110px;
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -50%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(184,146,77,.22) 0%, transparent 70%);
  border-radius: 50%;
}
.hero::after {
  content: ''; position: absolute; bottom: -200px; left: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(212,174,108,.16) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-inner { position: relative; max-width: 1180px; margin: 0 auto; }
.hero-tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(184,146,77,.18);
  border: 1px solid rgba(212,174,108,.45);
  border-radius: 100px;
  font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-light); margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(2.2rem, 4.4vw, 3.6rem);
  font-weight: 700; line-height: 1.2; letter-spacing: -.01em;
  margin-bottom: 20px; max-width: 820px;
  color: var(--white);
}
.hero h1 em { color: var(--gold-light); font-style: normal; }
.hero p {
  font-size: 1.1rem; max-width: 640px; opacity: .92; margin-bottom: 36px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 14px 30px;
  border-radius: 6px; font-weight: 600; font-size: .95rem;
  cursor: pointer; transition: all .25s; border: none;
  text-align: center;
}
.btn-primary { background: var(--gold); color: var(--white); }
.btn-primary:hover { background: var(--gold-light); color: var(--white); transform: translateY(-2px); }
.btn-ghost {
  background: transparent; color: var(--white);
  border: 1.5px solid rgba(255,255,255,.4);
}
.btn-ghost:hover { background: rgba(255,255,255,.1); color: var(--white); border-color: var(--gold-light); }

/* ===== Page header (sub pages) ===== */
.page-head {
  background: linear-gradient(135deg, var(--green-deep) 0%, var(--green) 100%);
  color: var(--white);
  padding: 80px 24px 60px;
  text-align: center;
}
.page-head h1 {
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  font-weight: 700; margin-bottom: 12px;
  color: var(--white);
}
.page-head p { opacity: .88; font-size: 1.05rem; }

/* ===== Sections ===== */
section { padding: 80px 0; }
.section-head { text-align: center; margin-bottom: 56px; }
.eyebrow {
  display: inline-block; font-size: .76rem;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold); font-weight: 700; margin-bottom: 14px;
}
.section-head h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700; color: var(--green);
}
.section-head p {
  max-width: 680px; margin: 16px auto 0; color: var(--gray-text);
}

/* ===== About grid ===== */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}
.about-text h3 {
  font-size: 1.6rem; margin-bottom: 18px; color: var(--green);
  line-height: 1.4;
}
.about-text p { color: var(--gray-text); margin-bottom: 14px; }
.about-text strong { color: var(--green); }

.about-visual {
  background: linear-gradient(135deg, var(--cream) 0%, var(--cream-deep) 100%);
  border-radius: 14px;
  padding: 56px 32px; text-align: center;
  border: 1px solid rgba(184,146,77,.18);
}
.about-visual img {
  margin: 0 auto;
  max-width: 320px;
  width: 100%;
}
.about-visual .quote {
  margin-top: 24px; font-style: italic; color: var(--green);
  font-size: 1.15rem; font-weight: 600;
}
.about-visual .quote-by {
  font-size: .85rem; color: var(--gray-text); margin-top: 6px;
}

/* ===== Cards ===== */
.cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.card {
  background: var(--white);
  border-radius: 12px; padding: 32px 28px;
  border: 1px solid rgba(26,77,51,.08);
  transition: all .3s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(26,77,51,.1);
  border-color: rgba(184,146,77,.3);
}
.card-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--white);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; font-weight: 700;
  margin-bottom: 20px;
}
.card h3 {
  font-size: 1.2rem; color: var(--green); margin-bottom: 10px;
}
.card p { color: var(--gray-text); font-size: .95rem; }

/* ===== Service blocks ===== */
.service-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}
.service {
  background: var(--white);
  border-radius: 14px;
  padding: 36px 32px;
  border-top: 4px solid var(--green);
  transition: all .3s;
}
.service:nth-child(2) { border-top-color: var(--gold); }
.service:nth-child(3) { border-top-color: var(--green-mid); }
.service:nth-child(4) { border-top-color: var(--gold-light); }
.service:nth-child(5) { border-top-color: var(--green-soft); }
.service:nth-child(6) { border-top-color: var(--green-deep); }
.service:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(26,77,51,.12);
}
.service-label {
  font-size: .7rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--gold);
  font-weight: 700; margin-bottom: 8px;
}
.service h3 {
  font-size: 1.35rem; color: var(--green); margin-bottom: 14px;
}
.service p { color: var(--gray-text); }
.service ul {
  margin-top: 14px; padding-left: 18px;
  color: var(--gray-text); font-size: .92rem;
}
.service ul li { margin-bottom: 6px; }
.service ul li::marker { color: var(--gold); }

/* ===== Values strip ===== */
.values {
  background: var(--white);
  padding: 64px 0;
}
.values-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px; text-align: center;
}
.value-item h4 {
  color: var(--gold); font-size: 1rem;
  letter-spacing: .14em; margin-bottom: 8px;
  font-weight: 700;
}
.value-item p { font-size: .92rem; color: var(--gray-text); }

/* ===== Process timeline ===== */
.process {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
  counter-reset: step;
}
.process-step {
  background: var(--white);
  padding: 28px 22px;
  border-radius: 10px;
  border: 1px solid rgba(26,77,51,.08);
  position: relative;
}
.process-step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-size: 1.6rem; font-weight: 700;
  color: var(--gold); display: block; margin-bottom: 10px;
}
.process-step h4 {
  font-size: 1rem; color: var(--green); margin-bottom: 6px;
}
.process-step p { font-size: .88rem; color: var(--gray-text); }

/* ===== Contact ===== */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.contact-info {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-mid) 100%);
  color: var(--white);
  padding: 44px 36px; border-radius: 14px;
}
.contact-info h3 { font-size: 1.4rem; margin-bottom: 22px; color: var(--white); }
.contact-info .info-row {
  display: flex; gap: 14px; margin-bottom: 18px;
  align-items: flex-start;
}
.contact-info .info-row .label {
  font-size: .7rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--gold-light);
  font-weight: 700; margin-bottom: 4px;
}
.contact-info .info-row .val { font-size: .98rem; opacity: .96; }

.contact-form {
  background: var(--white);
  padding: 44px 36px; border-radius: 14px;
  border: 1px solid rgba(184,146,77,.2);
}
.contact-form h3 { font-size: 1.4rem; margin-bottom: 22px; color: var(--green); }
.field { margin-bottom: 18px; }
.field label {
  display: block; font-size: .85rem; font-weight: 600;
  color: var(--green); margin-bottom: 6px;
}
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px;
  border: 1px solid rgba(26,77,51,.18);
  border-radius: 6px; font-size: .95rem;
  font-family: inherit; color: var(--green);
  background: var(--cream);
  transition: border-color .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold);
  background: var(--white);
}
.field textarea { resize: vertical; min-height: 110px; }

/* ===== Requirements ===== */
.requirements {
  background: var(--white);
  padding: 40px 36px;
  border-radius: 14px;
  border: 1px solid rgba(184,146,77,.18);
}
.requirements h3 { color: var(--green); margin-bottom: 18px; font-size: 1.3rem; }
.req-list { list-style: none; }
.req-list li {
  padding: 12px 0 12px 28px;
  position: relative;
  border-bottom: 1px solid rgba(26,77,51,.06);
  color: var(--gray-text);
}
.req-list li:last-child { border-bottom: none; }
.req-list li::before {
  content: '✓';
  position: absolute; left: 0; top: 12px;
  color: var(--gold); font-weight: 700;
}

/* ===== CTA banner ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-mid) 100%);
  color: var(--white);
  padding: 64px 24px; text-align: center;
  border-radius: 14px;
  margin: 0 24px;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(184,146,77,.25) 0%, transparent 70%);
  border-radius: 50%;
}
.cta-banner h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  margin-bottom: 12px;
  position: relative;
  color: var(--white);
}
.cta-banner p {
  opacity: .95; margin-bottom: 26px;
  max-width: 560px; margin-inline: auto;
  position: relative;
}
.cta-banner .btn-primary {
  background: var(--gold); color: var(--white);
  position: relative;
}
.cta-banner .btn-primary:hover { background: var(--gold-light); color: var(--white); }

/* ===== Footer ===== */
footer {
  background: var(--green-deep);
  color: rgba(255,255,255,.72);
  padding: 56px 24px 24px;
  margin-top: 80px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  max-width: 1180px; margin: 0 auto;
}
.footer-brand {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 16px;
}
.footer-brand img {
  height: 54px; width: auto; max-width: 180px;
  border-radius: 6px;
  object-fit: contain;
}
.footer-brand .name {
  color: var(--gold-light); font-weight: 700;
  font-size: 1rem;
  letter-spacing: .04em;
}
.footer-col h5 {
  color: var(--gold-light); font-size: .78rem;
  letter-spacing: .16em; text-transform: uppercase;
  margin-bottom: 14px;
  font-weight: 700;
}
.footer-col a, .footer-col p {
  display: block; color: rgba(255,255,255,.7);
  font-size: .92rem; margin-bottom: 8px;
}
.footer-col a:hover { color: var(--gold-light); }
.copy {
  max-width: 1180px; margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: .85rem; text-align: center;
  color: rgba(255,255,255,.55);
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .brand img { height: 48px; }
  .brand-sub { display: none; }
}
@media (max-width: 820px) {
  .nav { flex-wrap: wrap; gap: 8px; padding: 10px 0; }
  .menu { gap: 0; }
  .menu a { padding: 8px 12px; font-size: .88rem; }
  .lang-switch { margin-left: 4px; }
  .lang-switch button { padding: 5px 10px; font-size: .72rem; }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .contact-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  section { padding: 56px 0; }
  .hero { padding: 64px 24px 80px; }
}
