/* ============================================================
   style.css  ―  A-ZER Bilingual Site
   Faithfully reproduces the original www.a-zer.com/home/ design
   ============================================================ */

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans JP', 'Hiragino Sans', 'Yu Gothic', 'Meiryo', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #333;
  background: #fff;
}

img { display: block; max-width: 100%; }
a   { text-decoration: none; color: inherit; }

/* ---------- Container ---------- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
}

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

/* Logo area */
.site-logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-logo-img {
  height: 38px;
  width: auto;
}

.site-title {
  font-size: 0.9rem;
  font-weight: 500;
  color: #333;
  white-space: nowrap;
}

/* ---------- Language Switcher ---------- */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
}

.lang-btn {
  background: none;
  border: 1px solid #ccc;
  border-radius: 3px;
  cursor: pointer;
  font-size: 0.82rem;
  font-family: inherit;
  padding: 4px 12px;
  color: #777;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  letter-spacing: 0.02em;
}

.lang-btn.is-active {
  background: #333;
  color: #fff;
  border-color: #333;
}

.lang-btn:hover:not(.is-active) {
  border-color: #999;
  color: #444;
}

.lang-divider {
  color: #bbb;
  font-size: 0.8rem;
  user-select: none;
}

/* ============================================================
   HERO IMAGE  — full width, no text
   ============================================================ */
.hero-section {
  width: 100%;
  line-height: 0;
}

.hero-img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* ============================================================
   HERO COPY  — centered text block below hero image
   ============================================================ */
.hero-copy {
  padding: 70px 0 60px;
  text-align: center;
}

.hero-heading {
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  font-weight: 500;
  line-height: 1.55;
  color: #222;
  letter-spacing: 0.05em;
  margin-bottom: 1.4rem;
}

.hero-sub {
  font-size: 0.93rem;
  color: #555;
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.85;
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services-section {
  padding: 20px 0 80px;
}

.section-lead {
  font-size: clamp(1.25rem, 2.5vw, 1.7rem);
  font-weight: 500;
  color: #222;
  margin-bottom: 36px;
  letter-spacing: 0.02em;
}

/* 2-column grid */
.service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: #e8e8e8;
  border: 2px solid #e8e8e8;
}

.service-card {
  background: #fff;
  display: flex;
  align-items: flex-start;
  gap: 0;
  padding: 28px 24px;
}

.service-thumb {
  width: 140px;
  height: 100px;
  object-fit: cover;
  flex-shrink: 0;
  border-radius: 2px;
}

.service-text {
  padding: 4px 0 0 20px;
  flex: 1;
}

.service-title {
  font-size: 1rem;
  font-weight: 500;
  color: #222;
  margin-bottom: 8px;
  line-height: 1.5;
}

.service-desc {
  font-size: 0.875rem;
  color: #555;
  line-height: 1.8;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-section {
  padding: 70px 0 80px;
  text-align: center;
}

.about-heading {
  font-size: 2rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 28px;
  letter-spacing: 0.04em;
}

.about-inner {
  text-align: left;
  max-width: 720px;
  margin: 0 auto;
}

.about-role {
  font-size: 0.93rem;
  color: #444;
  margin-bottom: 16px;
}

.about-body {
  display: flex;
  gap: 28px;
  align-items: flex-start;
}

.about-photo {
  width: 150px;
  height: auto;
  flex-shrink: 0;
  border-radius: 2px;
}

.about-bio p {
  font-size: 0.88rem;
  color: #444;
  line-height: 1.9;
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-section {
  padding: 60px 0 80px;
  background: #fafafa;
}

.contact-heading {
  font-size: 1.8rem;
  font-weight: 500;
  color: #222;
  margin-bottom: 36px;
  letter-spacing: 0.04em;
}

.contact-form {
  max-width: 580px;
}

.form-status {
  max-width: 580px;
  margin: 0 0 20px;
  padding: 12px 14px;
  border-radius: 3px;
  font-size: 0.9rem;
  display: none;
}

.form-status.is-success {
  display: block;
  background: #eef7ee;
  border: 1px solid #b9d7b9;
  color: #2f5f2f;
}

.form-status.is-error {
  display: block;
  background: #fff3f3;
  border: 1px solid #e3b8b8;
  color: #9c2f2f;
}

.form-row {
  margin-bottom: 22px;
}

.form-row-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-row label {
  display: block;
  font-size: 0.88rem;
  color: #444;
  margin-bottom: 6px;
}

.required {
  color: #c00;
  margin-left: 2px;
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 10px 14px;
  font-size: 0.93rem;
  font-family: inherit;
  border: 1px solid #ccc;
  border-radius: 3px;
  background: #fff;
  color: #333;
  transition: border-color 0.2s;
  outline: none;
}

.form-row input:focus,
.form-row textarea:focus {
  border-color: #888;
}

.form-row textarea {
  resize: vertical;
  min-height: 130px;
}

.form-submit {
  margin-top: 10px;
}

.submit-btn {
  display: inline-block;
  padding: 12px 48px;
  background: #333;
  color: #fff;
  font-size: 0.93rem;
  font-family: inherit;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  letter-spacing: 0.08em;
  transition: background 0.2s;
}

.submit-btn:hover { background: #555; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #fff;
  border-top: 1px solid #e8e8e8;
  text-align: center;
  padding: 22px 16px;
  font-size: 0.8rem;
  color: #999;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 860px) {
  .hero-img { height: 300px; }
  .service-grid { grid-template-columns: 1fr; }
  .about-body { flex-direction: column; align-items: center; text-align: left; }
  .about-photo { width: 130px; }
}

@media (max-width: 560px) {
  .container { padding: 0 16px; }
  .header-inner { padding: 0 16px; }
  .hero-img { height: 220px; }
  .hero-copy { padding: 48px 0 40px; }
  .hero-heading { font-size: 1.5rem; }
  .service-card { flex-direction: column; }
  .service-thumb { width: 100%; height: 160px; }
  .service-text { padding: 12px 0 0; }
  .about-body { gap: 18px; }
  .contact-form { max-width: 100%; }
}
