:root {
  --oz-primary: #1e56a0;
  --oz-primary-light: #4f81c7;
  --oz-primary-soft: #e9f1fb;
  --oz-dark: #1b1f2a;
  --oz-text: #333333;
  --oz-muted: #777777;
  --oz-border: #e0e0e0;
  --oz-radius: 0.75rem;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

/* ---- Base ---- */
body {
  display: flex;
  flex-direction: column;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "YuGothic", "Yu Gothic", "游ゴシック体", "Meiryo", sans-serif;
  color: var(--oz-text);
  line-height: 1.7;
}


footer {
  margin-top: auto;
}


/* ---- Buttons ---- */
.btn-primary {
  background-color: var(--oz-primary);
  border-color: var(--oz-primary);
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--oz-primary-light);
  border-color: var(--oz-primary-light);
}



/* Links */
a {
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ---- Navbar ---- */
.navbar-brand {
  letter-spacing: 0.03em;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 550;
  padding-left: 0.9rem !important;
  padding-right: 0.9rem !important;
  color: #1b1f2a !important;
}

.nav-link.active {
  color: var(--oz-primary) !important;
  font-weight: 600;
}

.oz-logo {
  height: 36px;   /* adjust if needed */
  width: auto;
}

.navbar-brand {
  padding-top: 0;
  padding-bottom: 0;
}

@media (max-width: 767.98px) {
  .oz-logo {
    height: 28px;  /* smaller on mobile */
  }
}

.navbar {
  background: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(6px);
}



/* ---- Sections ---- */
.section-padding {
  padding: 4rem 0;
}

.section-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--oz-dark);
}

.section-title.small-title {
  font-size: 1.3rem;
}

.section-lead {
  color: var(--oz-muted);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* ---- Hero ---- */
.hero-section {
  position: relative;
  padding: 5rem 0 4.5rem; /* adjust height if needed */
  background: url('../img/hero-home.jpg') center/cover no-repeat;
  color: #fff; /* default text color */
}



.hero-title {
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff; /* white text on hero */
}

.hero-subtitle {
  color: #e4e8f5; /* softer white for readability */
}


.hero-section .btn-outline-primary {
  color: #ffffff;
  border-color: #ffffff;
}

.hero-section .btn-outline-primary:hover {
  background-color: #ffffff;
  color: var(--oz-primary);
}


/* Hero visual (ダミー用) */
.hero-visual {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 2px solid var(--oz-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1.5rem auto 0;
  font-size: 1.5rem;
  color: var(--oz-primary);
  background: white;
}

/* ---- Feature cards ---- */
.feature-card {
  background-color: #ffffff;
  border-radius: var(--oz-radius);
  padding: 1.8rem 1.6rem;
  border: 1px solid var(--oz-border);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.feature-title {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
  color: var(--oz-dark);
}

.feature-text {
  font-size: 0.95rem;
  color: var(--oz-muted);
}

/* ---- Info box ---- */
.info-box {
  border-radius: var(--oz-radius);
  border: 1px solid var(--oz-border);
  padding: 1.5rem 1.6rem;
  background-color: #fff;
}

.info-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.info-label {
  font-weight: 600;
}

/* ---- CTA ---- */
.cta-section {
  padding: 3.5rem 0;
  background: var(--oz-primary);
  color: #ffffff;
}

.cta-section .section-title {
  color: #ffffff;
}

/* ---- Page header ---- */
.page-header {
  padding: 3rem 0 2rem;
  background-color: #f7f7fb;
  border-bottom: 1px solid #ebedf2;
}

.page-title {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--oz-dark);
}

.page-subtitle {
  margin-top: 0.5rem;
  color: var(--oz-muted);
}

/* ---- Page header variations ---- */

/* image hero version (used on services.html) */
.page-header--image {
  position: relative;
  background: url('../img/blue-abstract.jpg') center/cover no-repeat;
  padding: 4rem 0;           /* override base padding */
  color: #fff;
  border-bottom: none;       /* remove gray border for hero-style header */
}

.page-header--image .page-title {
  color: #ffffff;
}

.page-header--image .page-subtitle {
  color: #e4e8f5;
}

/* dark overlay for readability */
.page-header-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
}

.page-header--image .container {
  position: relative;
  z-index: 2;
}


/* ---- Service cards ---- */
.service-card {
  padding: 1.8rem 1.6rem;
  border-radius: var(--oz-radius);
  border: 1px solid var(--oz-border);
  background-color: #ffffff;
}

.service-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.service-lead {
  font-size: 0.96rem;
  color: var(--oz-muted);
  margin-bottom: 0.8rem;
}

/* ---- Company table ---- */
.company-table dl {
  margin: 0;
}

.company-row {
  display: flex;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--oz-border);
}

.company-row dt {
  width: 30%;
  min-width: 110px;
  font-weight: 600;
  color: var(--oz-dark);
}

.company-row dd {
  margin: 0;
  width: 70%;
}

/* ---- Company message ---- */
.company-message {
  border-radius: var(--oz-radius);
  border: 1px solid var(--oz-border);
  padding: 1.8rem 1.6rem;
  background-color: #ffffff;
}

/* ---- Contact form ---- */
.contact-form .form-control,
.contact-form .form-select {
  border-radius: 0.5rem;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
  border-color: var(--oz-primary-light);
  box-shadow: 0 0 0 0.15rem rgba(30, 86, 160, 0.15);
}

/* ---- Footer ---- */
footer {
  font-size: 0.9rem;
}

/* ---- Responsive tweaks ---- */
@media (max-width: 767.98px) {
  .hero-section {
    text-align: center;
  }

  .hero-title {
    font-size: 1.6rem;
  }

  .section-padding {
    padding: 3rem 0;
  }

  .company-row {
    flex-direction: column;
  }

  .company-row dt {
    width: 100%;
    margin-bottom: 0.2rem;
  }

  .company-row dd {
    width: 100%;
  }
}
