/* ===== CHEST labo corporate site ===== */
:root {
  --navy: #10233f;
  --navy-light: #1c3b66;
  --orange: #ea7a2c;
  --orange-dark: #d4661c;
  --black: #1a1a1a;
  --white: #ffffff;
  --gray-bg: #f6f7f9;
  --gray-border: #e2e5ea;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  color: var(--black);
  background: var(--white);
  line-height: 1.8;
  font-size: 16px;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

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

.section-label {
  display: inline-block;
  color: var(--orange);
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  margin-bottom: 12px;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.section-desc {
  color: #444;
  max-width: 680px;
}

.section-head {
  text-align: center;
  margin-bottom: 56px;
}
.section-head .section-desc {
  margin: 0 auto;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--gray-border);
  backdrop-filter: blur(6px);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.site-logo img {
  height: 40px;
  width: auto;
  border-radius: 4px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.site-nav a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--navy);
  position: relative;
}

.site-nav a:hover {
  color: var(--orange);
}

.nav-cta {
  background: var(--orange);
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: background 0.2s ease;
}

.nav-cta:hover {
  background: var(--orange-dark);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--navy);
  display: block;
}

/* ---------- Photo hero ---------- */
.photo-hero {
  position: relative;
  margin-top: 72px;
  height: 460px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}

.photo-hero-logo {
  position: absolute;
  top: 24px;
  left: 24px;
  height: 34px;
  width: auto;
  z-index: 2;
  border-radius: 4px;
}

.photo-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(16, 35, 63, 0.94) 0%, rgba(16, 35, 63, 0.8) 38%, rgba(16, 35, 63, 0.35) 68%, rgba(16, 35, 63, 0.08) 100%);
}

.photo-hero-inner {
  position: relative;
  z-index: 1;
}

.photo-hero h1 {
  color: var(--white);
  font-size: 2.3rem;
  font-weight: 700;
  line-height: 1.65;
  max-width: 720px;
}

/* ---------- Hero ---------- */
.hero {
  padding: 96px 0;
  background: linear-gradient(180deg, #ffffff 0%, var(--gray-bg) 100%);
}

.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-block;
  color: var(--orange);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
}

.hero h2 {
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.5;
  margin-bottom: 24px;
}

.hero h2 .accent {
  color: var(--orange);
}

.hero-lead {
  color: #444;
  margin-bottom: 36px;
  font-size: 1.02rem;
}

.hero-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

.hero-pillar {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-top: 3px solid var(--orange);
  border-radius: 10px;
  padding: 18px 14px;
  text-align: center;
  font-weight: 700;
  color: var(--navy);
  font-size: 0.92rem;
  box-shadow: 0 6px 16px rgba(16, 35, 63, 0.05);
}

.hero-buttons {
  display: flex;
  gap: 16px;
}

.btn {
  display: inline-block;
  padding: 15px 34px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
}

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

.hero-image {
  position: relative;
}

.hero-image img {
  border-radius: 16px;
  box-shadow: 0 24px 48px rgba(16, 35, 63, 0.18);
}

.hero-image::before {
  content: "";
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100%;
  height: 100%;
  border: 3px solid var(--orange);
  border-radius: 16px;
  z-index: -1;
}

/* ---------- Concept ---------- */
.concept {
  padding: 100px 0;
}

.concept-pillars {
  max-width: 720px;
  margin: 0 auto;
  margin-bottom: 0;
}

/* ---------- Services ---------- */
.services {
  padding: 100px 0;
}

.service-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 96px;
}

.service-card:last-child {
  margin-bottom: 0;
}

.service-card.reverse .service-media {
  order: 2;
}
.service-card.reverse .service-text {
  order: 1;
}

.service-media img {
  border-radius: 14px;
  box-shadow: 0 16px 32px rgba(16, 35, 63, 0.12);
}

.service-number {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 0.1em;
  margin-bottom: 10px;
  display: block;
}

.service-text h3 {
  font-size: 1.5rem;
  color: var(--navy);
  font-weight: 700;
  margin-bottom: 14px;
}

.service-text p.lead {
  color: #333;
  margin-bottom: 20px;
}

.service-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  color: #444;
  font-size: 0.96rem;
}

.service-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 10px;
  height: 10px;
  background: var(--orange);
  border-radius: 50%;
}

/* ---------- Contact ---------- */
.contact {
  padding: 100px 0;
  background: var(--gray-bg);
}

.contact-wrap {
  display: flex;
  justify-content: center;
}

.contact-form {
  width: 100%;
  max-width: 640px;
  background: var(--white);
  border-radius: 16px;
  padding: 40px 36px;
  box-shadow: 0 12px 32px rgba(16, 35, 63, 0.08);
}

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

.form-row label {
  display: block;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  font-size: 0.92rem;
}

.form-row .required {
  color: var(--orange);
  font-size: 0.75rem;
  margin-left: 6px;
  font-weight: 700;
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--gray-border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.96rem;
  background: var(--white);
  color: var(--black);
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--orange);
}

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

.form-submit {
  border: none;
  cursor: pointer;
  width: 100%;
  font-size: 1rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: var(--white);
  padding: 56px 0 28px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  margin-bottom: 24px;
}

.footer-logo img {
  height: 34px;
  border-radius: 4px;
  margin-bottom: 14px;
}

.footer-info p {
  color: #cfd8e6;
  font-size: 0.92rem;
  margin-bottom: 6px;
}

.footer-bottom {
  text-align: center;
  color: #8ea0bd;
  font-size: 0.82rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .photo-hero {
    height: 360px;
  }
  .photo-hero h1 {
    font-size: 1.7rem;
  }
  .hero .container {
    grid-template-columns: 1fr;
  }
  .hero-image {
    order: -1;
  }
  .service-card,
  .service-card.reverse {
    grid-template-columns: 1fr;
  }
  .service-card.reverse .service-media,
  .service-card.reverse .service-text {
    order: initial;
  }
  .site-nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    border-bottom: 1px solid var(--gray-border);
    display: none;
    gap: 20px;
  }
  .site-nav.open {
    display: flex;
  }
  .nav-toggle {
    display: flex;
  }
  .hero-pillars {
    grid-template-columns: 1fr;
  }
  .footer-top {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .photo-hero {
    height: 300px;
  }
  .photo-hero-logo {
    height: 26px;
    top: 16px;
    left: 16px;
  }
  .photo-hero h1 {
    font-size: 1.4rem;
  }
  .hero h2 {
    font-size: 1.9rem;
  }
  .section-title {
    font-size: 1.6rem;
  }
  .hero-buttons {
    flex-direction: column;
  }
  .btn {
    text-align: center;
  }
  .contact-form {
    padding: 28px 22px;
  }
}
