:root {
  --yellow: #ffd314;
  --dark: #221f1b;
  --gray-bg: #f4f4f4;
  --text: #333333;
  --white: #ffffff;
  --font-body: "Noto Sans JP", sans-serif;
  --font-heading: "Roboto", sans-serif;
  --font-label: "Oswald", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.8;
  overflow-x: hidden;
}

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

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

ul { list-style: none; margin: 0; padding: 0; }

.section__inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 100px 40px;
}

.section--yellow { background: var(--yellow); }
.section--gray { background: var(--gray-bg); }
.section--dark { background: var(--dark); color: var(--white); }

.section__label {
  font-family: var(--font-label);
  font-size: 54px;
  font-weight: 500;
  color: var(--yellow);
  margin: 0 0 8px;
  text-align: center;
}
.section--yellow .section__label { color: var(--white); }

.section__heading {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 900;
  color: var(--dark);
  text-align: center;
  margin: 0 0 40px;
}
.section--dark .section__heading { color: var(--white); }

.section__intro {
  max-width: 760px;
  margin: 0 auto 60px;
  text-align: center;
}

.ours__body {
  max-width: 860px;
  margin: 0 auto;
}
.ours__body p { margin: 0 0 24px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.site-header__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.site-header__logo img { height: 44px; width: auto; }
.site-nav { display: flex; gap: 32px; flex: 1; justify-content: center; }
.site-nav a { font-size: 16px; font-weight: 500; white-space: nowrap; }

.btn {
  display: inline-block;
  background: var(--yellow);
  color: var(--dark);
  font-weight: 700;
  border-radius: 32px;
  padding: 14px 36px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  text-align: center;
}
.btn--header { font-size: 15px; padding: 16px 32px; }
.btn--lg { font-size: 18px; padding: 20px 52px; }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.hamburger span {
  display: block;
  height: 2px;
  background: var(--dark);
  width: 100%;
}

.sp-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--yellow);
  display: none;
  flex-direction: column;
  padding: 24px 32px;
  transform: translateX(100%);
  transition: transform .3s ease;
}
.sp-menu.is-open { transform: translateX(0); }
.sp-menu__close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  cursor: pointer;
}
.sp-menu__nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 40px;
  align-items: center;
}
.sp-menu__nav a { font-size: 20px; font-weight: 700; color: var(--dark); }
.sp-menu__nav a.btn--sp-menu { background: var(--dark); color: var(--yellow); margin-top: 16px; }

/* Hero */
.hero {
  position: relative;
  min-height: 720px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.55));
}
.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 1140px;
  margin: 0 auto;
  padding: 40px;
}
.hero__title {
  font-family: var(--font-heading);
  font-size: 52px;
  font-weight: 900;
  color: var(--white);
  line-height: 1.4;
  margin: 0 0 32px;
}
.hero__title .accent { color: var(--yellow); }
.hero__text {
  color: var(--white);
  font-size: 18px;
  margin: 0 0 40px;
}

/* Service cards */
.service-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px 40px;
}
.service-card__img { border-radius: 8px; overflow: hidden; margin-bottom: 24px; aspect-ratio: 4/3; }
.service-card__img img { width: 100%; height: 100%; object-fit: cover; }
.service-card__quote {
  color: var(--yellow);
  background: var(--dark);
  display: inline-block;
  padding: 6px 18px;
  font-size: 14px;
  font-weight: 700;
  border-radius: 4px;
  margin: 0 0 12px;
}
.service-card__title {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 900;
  margin: 0 0 16px;
}
.service-card__text { font-size: 15px; }

/* Strength grid */
.strength-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px 60px;
}
.strength-item h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--yellow);
  margin: 0 0 16px;
}
.strength-item p { font-size: 15px; color: #ddd; }

/* Legacy gallery */
.legacy-gallery {
  display: flex;
  align-items: stretch;
  gap: 16px;
  margin: 0 0 60px;
}
.legacy-gallery__item { flex: 1 1 0; border-radius: 4px; overflow: hidden; }
.legacy-gallery__item img { width: 100%; height: 100%; object-fit: cover; }
.legacy-gallery__item--big { aspect-ratio: 1/1; }
.legacy-gallery__pair {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.legacy-gallery__pair .legacy-gallery__item { aspect-ratio: 4/2.6; }

.legacy-lists {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.legacy-list h3 {
  background: var(--yellow);
  color: var(--dark);
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  padding: 14px;
  margin: 0 0 20px;
}
.legacy-list li {
  padding: 10px 4px;
  border-bottom: 1px solid #ddd;
  font-size: 14px;
}

/* Business table */
.business-table {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  border-collapse: collapse;
  background: var(--white);
}
.business-table th, .business-table td {
  text-align: left;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(0,0,0,.08);
  font-size: 15px;
  font-weight: 400;
  vertical-align: top;
}
.business-table th {
  background: var(--dark);
  color: var(--white);
  width: 200px;
  font-weight: 700;
}

/* Contact */
.contact-blocks {
  display: flex;
  justify-content: center;
  gap: 80px;
  flex-wrap: wrap;
}
.contact-block { text-align: center; }
.contact-block__label {
  display: block;
  font-size: 14px;
  color: var(--yellow);
  margin-bottom: 12px;
}
.contact-block__value {
  display: block;
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
}

/* Footer */
.site-footer { background: var(--yellow); }
.site-footer__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 28px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.site-footer__links { display: flex; align-items: center; gap: 24px; font-size: 13px; }
.site-footer__copy { margin: 0; font-size: 13px; }

/* ---------- SP (max-width 780px) ---------- */
@media (max-width: 780px) {
  .site-nav { display: none; }
  .btn--header { display: none; }
  .hamburger { display: flex; }
  .sp-menu { display: flex; }

  .site-header__inner { padding: 14px 20px; }
  .site-header__logo img { height: 34px; }

  .section__inner { padding: 60px 24px; }
  .section__label { font-size: 34px; }
  .section__heading { font-size: 26px; margin-bottom: 28px; }
  .section__intro { margin-bottom: 40px; }

  .hero { min-height: 560px; }
  .hero__title { font-size: 32px; margin-bottom: 24px; }
  .hero__text { font-size: 15px; margin-bottom: 28px; }
  .btn--lg { font-size: 15px; padding: 16px 36px; }

  .service-list { grid-template-columns: 1fr; gap: 48px; }
  .strength-list { grid-template-columns: 1fr; gap: 32px; }

  .legacy-gallery { flex-wrap: wrap; }
  .legacy-gallery__item--big { flex: 1 1 100%; aspect-ratio: 16/10; }
  .legacy-gallery__pair { flex: 1 1 100%; flex-direction: row; }

  .legacy-lists { grid-template-columns: 1fr; gap: 40px; }

  .business-table th { width: 120px; padding: 14px 12px; font-size: 13px; }
  .business-table td { padding: 14px 12px; font-size: 13px; }

  .contact-blocks { gap: 36px; }
  .contact-block__value { font-size: 20px; }

  .site-footer__inner { flex-direction: column; align-items: flex-start; padding: 24px 20px; }
}
