@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@400;600;700&family=Noto+Sans+JP:wght@400;500;700&display=swap');

:root {
  --color-main: #142b57;
  --color-secondary: #a69891;
  --color-black: #000000;
  --color-white: #ffffff;
  --color-shade1: #d1d3ca;
  --color-shade2: #424f8f;
  --font-headline: "Noto Serif JP", serif;
  --font-copy: "Noto Sans JP", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-copy);
  color: var(--color-black);
  line-height: 1.9;
  background: var(--color-white);
}

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

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

h1, h2, h3 {
  font-family: var(--font-headline);
  font-weight: 600;
  line-height: 1.5;
}

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

/* Header / Navigation */
.site-header {
  background: var(--color-main);
  color: var(--color-white);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding-top: 18px;
  padding-bottom: 18px;
  gap: 12px;
}

.site-logo {
  font-family: var(--font-headline);
  font-size: 18px;
  font-weight: 600;
  color: var(--color-white);
}

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.site-nav a {
  font-size: 15px;
  letter-spacing: 0.02em;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  border-color: var(--color-secondary);
}

/* Hero */
.hero {
  position: relative;
  color: var(--color-white);
  background-color: var(--color-black);
  background-size: cover;
  background-position: center;
  min-height: 64vh;
  display: flex;
  align-items: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

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

.hero h1 {
  font-size: 44px;
  margin-bottom: 16px;
}

.hero p {
  font-size: 18px;
  margin-bottom: 32px;
}

/* Page header (non-home pages) */
.page-hero {
  background: var(--color-main);
  color: var(--color-white);
  padding: 64px 0;
  text-align: center;
}

.page-hero h1 {
  font-size: 32px;
}

.page-hero.with-image {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 96px 0;
}

.page-hero.with-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.page-hero.with-image .container {
  position: relative;
  z-index: 1;
}

/* Buttons */
.btn {
  display: inline-block;
  background: var(--color-white);
  color: var(--color-main);
  border-radius: 5px;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 700;
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-white);
}

/* Sections */
section {
  padding: 72px 0;
}

.section-dark {
  background: var(--color-black);
  color: var(--color-white);
}

.section-shade {
  background: var(--color-shade1);
}

.section-title {
  font-size: 30px;
  text-align: center;
  margin-bottom: 32px;
}

.lead-text {
  font-size: 19px;
  text-align: center;
  max-width: 760px;
  margin: 0 auto 32px;
}

.center {
  text-align: center;
}

/* Vision block with background image */
.vision {
  position: relative;
  color: var(--color-white);
  background-size: cover;
  background-position: center;
  padding: 96px 0;
}

.vision::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.vision .container {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.vision h2 {
  text-align: center;
  margin-bottom: 24px;
}

.vision p {
  text-align: center;
  font-size: 16px;
}

/* Company info table */
.info-table {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  border-collapse: collapse;
}

.info-table th,
.info-table td {
  text-align: left;
  padding: 18px 16px;
  border-bottom: 1px solid var(--color-shade1);
  font-size: 16px;
}

.info-table th {
  width: 30%;
  color: var(--color-main);
  font-weight: 700;
  white-space: nowrap;
}

/* Contact */
.contact-box {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  background: var(--color-shade1);
  border-radius: 8px;
  padding: 48px 32px;
}

.contact-box .btn {
  background: var(--color-main);
  color: var(--color-white);
  margin-top: 16px;
}

/* Content page (privacy etc.) */
.prose h2 {
  font-size: 22px;
  margin: 40px 0 12px;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p {
  margin-bottom: 16px;
  font-size: 15px;
}

/* Footer */
.site-footer {
  background: var(--color-black);
  color: var(--color-shade1);
  padding: 40px 0;
  text-align: center;
}

.site-footer .footer-links {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.site-footer a:hover {
  color: var(--color-white);
}

.site-footer .copyright {
  font-size: 13px;
  opacity: 0.7;
}

@media (max-width: 800px) {
  .hero h1 {
    font-size: 32px;
  }
  .site-header .container {
    flex-direction: column;
    align-items: flex-start;
  }
  .info-table th,
  .info-table td {
    display: block;
    width: 100%;
  }
  .info-table th {
    padding-bottom: 4px;
    border-bottom: none;
  }
  .info-table td {
    padding-top: 0;
  }
}
