:root {
  --navy: #1b2a4a;
  --green: #1e4620;
  --red: #b8322a;
  --ink: #2d2d2d;
  --paper: #fbfaf7;
  --line: #d9d5cc;
  --white: #fff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans JP", "Yu Gothic", sans-serif;
  line-height: 1.9;
  letter-spacing: .03em;
}
a { color: inherit; text-decoration: none; }
.wrap { width: min(1120px, calc(100% - 40px)); margin: auto; }

/* Header styles are intentionally not defined here.
   The existing header remains controlled by commonstyle.css. */

.hero {
  position: relative;
  min-height: 660px;
  display: grid;
  align-items: center;
  background: url("../images/ヘッダー画像.png") center / cover no-repeat;
  color: var(--white);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(27,42,74,.98) 0%, rgba(27,42,74,.86) 18%, rgba(27,42,74,.48) 38%, rgba(27,42,74,.14) 58%, rgba(27,42,74,0) 76%);
}
.hero-inner { position: relative; z-index: 1; max-width: 1120px; padding: 90px 0; }
.hero h1 {
  margin: 0 0 24px;
  font-family: "Noto Serif JP", "Yu Mincho", serif;
  font-size: clamp(2.8rem, 7vw, 5.9rem);
  line-height: 1.2;
}
.hero-lead {
  margin: 0 0 28px;
  font-family: "Noto Serif JP", "Yu Mincho", serif;
  font-size: clamp(1.05rem, 2vw, 1.45rem);
}
.hero-description { max-width: 740px; margin: 0 0 34px; color: #eef1f6; }
.btn-primary {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 2px;
  background: var(--red);
  color: var(--white);
  font-weight: 700;
}
.btn-primary:hover, .btn-secondary:hover { opacity: .88; }

.section { padding: 98px 0; }
.section-white { background: var(--white); }
.section-head {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 35px;
  margin-bottom: 48px;
}
.kicker {
  margin: 0;
  color: var(--red);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .14em;
}
.section h2, .contact-section h2 {
  margin: 0;
  color: var(--navy);
  font-family: "Noto Serif JP", "Yu Mincho", serif;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.45;
}
.statement { max-width: 820px; margin: 0; font-size: 1.08rem; }

.strengths-head { display: block; margin-bottom: 44px; text-align: center; }
.strengths-head .kicker { margin-bottom: 8px; color: var(--green); font-size: 1.05rem; }
.strengths-head h2 { font-size: clamp(2rem, 4vw, 3.15rem); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }
.card {
  min-height: 430px;
  padding: 40px 52px 48px;
  background: #f4f2ec;
}
.num { color: #7a0000; font-size: 1.05rem; font-weight: 700; }
.card h3 {
  margin: 8px 0 18px;
  color: var(--navy);
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  line-height: 1.35;
}
.card p { margin: 0; font-size: 1rem; line-height: 1.9; }

.services { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
.service {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 28px 12px;
  border-bottom: 1px solid var(--line);
}
.service span {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
}
.service strong { color: var(--navy); font-size: 1.08rem; }
.service small { display: block; color: var(--ink); font-weight: 400; }

.contact-section { background: var(--green); color: var(--white); text-align: center; }
.contact-section .kicker { color: #d8e5d7; }
.contact-section h2 { color: var(--white); }
.contact-section p:not(.kicker) { max-width: 720px; margin: 20px auto 30px; }
.btn-secondary {
  display: inline-block;
  padding: 15px 42px;
  border-radius: 2px;
  background: var(--red);
  color: var(--white);
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(184, 50, 42, 0.25);
  transition: all 0.3s ease;transition: all 0.3s ease;
}
.btn-secondary:hover {
  background: #96251f;  
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(184, 50, 42, 0.35);
}

.site-footer { padding: 38px 0; background: #101a2d; color: #dfe3ea; font-size: .85rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

@media (max-width: 800px) {
  .hero { min-height: 590px; }
  .hero-inner { padding: 72px 0; }
  .section { padding: 72px 0; }
  .section-head { grid-template-columns: 1fr; gap: 10px; }
  .strengths-head { text-align: left; }
  .cards, .services { grid-template-columns: 1fr; }
  .card { min-height: 0; padding: 32px 28px; }
}

@media (max-width: 600px) {
  .wrap { width: min(100% - 32px, 1120px); }
  .hero { background-position: 62% center; }
  .hero-overlay { background: rgba(27, 42, 74, .76); }
  .hero h1 { font-size: 2.65rem; }
  .section { padding: 60px 0; }
  .footer-inner { flex-direction: column; }
}
