/* =========================
   Base
========================= */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Yu Gothic", "YuGothic", "Meiryo", sans-serif;
  color: #333;
  line-height: 1.8;
  background: #fff;
}

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

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

/* =========================
   Layout
========================= */
.container {
  width: min(1100px, 90%);
  margin: 0 auto;
}

main {
  padding-top: 0;
}

/* =========================
   Hero
========================= */
.hero {
  min-height: 520px;
  display: flex;
  align-items: center;
  background:
  linear-gradient(
  to right,
  rgba(255,255,255,0.55),  /*左*/
  rgba(255,255,255,0.45),
  rgba(255,255,255,0.15)),
  url("../images/hero/top-hero.jpg") center right / cover no-repeat;
}

.hero-inner {
  width: min(1100px, 90%);
  margin: 0 auto;
}

.hero-label {
  color: #3f8f58;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.hero h1 {
  font-size: 42px;
  line-height: 1.45;
  margin: 0 0 22px;
  color: #1f2f26;
}

.hero-text {
  max-width: 620px;
  font-size: 17px;
  margin-bottom: 28px;
  font-weight: 600;      /* 太字 */
  color: #1f2f46;        /* 濃いめの紺 */
}

/* =========================
   Section
========================= */
.top-section {
  padding: 80px 0;
}

.top-section h2 {
  font-size: 30px;
  color: #26382d;
  margin: 0 0 22px;
  text-align: center;
}

.top-section p {
  max-width: 820px;
  margin: 0 auto 28px;
  font-size: 16px;
}

.bg-light {
  background: #f4f8f5;
}

/* =========================
   Button
========================= */
.hero-buttons {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
  display: inline-block;
  min-width: 180px;
  padding: 12px 24px;
  text-align: center;
  font-weight: 700;
  border-radius: 4px;
  transition: 0.2s;
}

.btn-primary {
  background: #6f8f79;
  color: #fff;
  border: 2px solid #6f8f79;
}

.btn-primary:hover {
  background: #567261;
  border-color: #567261;
}

.btn-secondary {
  background: #fff;
  color: #6f8f79;
  border: 2px solid #6f8f79;
}

.btn-secondary:hover {
  background: #eef5f0;
}

/*TOPの横並び設定*/
/* カード全体 */
.cards {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}

/* 各カード */
.card {
  flex: 1;
  background: #fff;
  border: 1px solid #ddd;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/* 見出し */
.card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

/* リンク */
.card h3 a {
  color: #1f2f46;
  text-decoration: none;
}

.card h3 a:hover {
  text-decoration: underline;
}