/* =========================
   基本設定
========================= */

:root {
  --main-green: #4a7c59;
  --dark-green: #2f4f3f;
  --soft-green: #f4f8f4;
  --line-green: #d8e2d8;
  --text-color: #222;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  /*padding-top: var(--header-height);*/
  padding-top: 0;
  font-family:
    "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  color: var(--text-color);
  line-height: 1.8;
  background: #fff;
}

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

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

p {
  margin: 0 0 1em;
}

.container {
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
}

/* =========================
   共通見出し
========================= */

.section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.9rem;
  color: var(--dark-green);
  margin: 0 0 30px;
  line-height: 1.3;
}

.section-title::before {
  content: "";
  width: 4px;
  height: 30px;
  background: var(--main-green);
  border-radius: 2px;
  flex-shrink: 0;
  transform: translateY(2px);
}

.sub-title {
  font-size: 1.35rem;
  color: var(--dark-green);
  margin: 0 0 18px;
  line-height: 1.4;
}

.lead-text {
  font-size: 1.05rem;
  line-height: 2;
  color: #222;
}

/* =========================
   共通ボタン
========================= */

.btn-primary {
  display: inline-block;
  background: var(--main-green);
  color: #fff;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 700;
  text-align: center;
  transition: 0.2s ease;
}

.btn-primary:hover {
  background: #3d684a;
  transform: translateY(-1px);
}

.btn-outline {
  display: inline-block;
  padding: 10px 18px;
  border: 2px solid #4a7c59;
  color: #4a7c59;
  background: #fff;
  text-decoration: none;
  font-weight: 600;
  border-radius: 6px; /* ←ここ重要 */
  transition: 0.2s;
}

.btn-outline:hover {
  background: #4a7c59;
  color: #fff;
}
/* =========================
   共通CTA
========================= */

.cta-section {
  padding: 70px 0;
  background: var(--soft-green);
  text-align: center;
}

.cta-section .section-title {
  justify-content: center;
}

.cta-section p {
  margin-bottom: 26px;
}

/* =========================
   スマホ共通
========================= 

@media (max-width: 900px) {
  :root {
    --header-height: 72px;
  }

  .container {
    width: min(100% - 28px, 1100px);
  }

  .section-title {
    font-size: 1.55rem;
  }

  .section-title::before {
    height: 26px;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 0.95rem;
  }

  .section-title {
    font-size: 1.35rem;
    gap: 10px;
  }

  .section-title::before {
    height: 24px;
  }

  .btn-primary {
    width: 100%;
    max-width: 320px;
  }
}
*/
/* =========================
   下層ページ Hero 共通
========================= */

.page-hero {
  min-height: 410px;
  margin-top: 0;
  padding: 70px 0 50px;

  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
}

.page-hero .container {
  transform: translateY(35px);
}

.page-hero h1 {
  margin-top: 0;
  margin-bottom: 20px;
}

.page-hero p {
  margin-bottom: 0;
}

/* =========================
   当社の考え方ページ
========================= */
.concept-hero {
  background:
    linear-gradient(
      to right,
      rgba(255, 255, 255, 0.96) 0%,
      rgba(255, 255, 255, 0.8) 45%,
      rgba(255, 255, 255, 0.48) 70%,
      rgba(255, 255, 255, 0.25) 100%
    ),
    url("../images/hero/concept-hero.jpg") center 68% / cover no-repeat;
}

.concept-intro,
.concept-problems,
.concept-solution,
.concept-difference,
.concept-services,
.concept-group {
  padding: 50px 0;
}

.concept-intro {
  background: #fff;
}

.concept-intro p,
.concept-solution p,
.concept-difference p,
.concept-group p {
  max-width: 900px;
  line-height: 1.85;
  margin-bottom: 14px;
  font-size: 1rem;
  color: #333;
}

.concept-problems,
.concept-services {
  background: #f7faf7;
}

.problem-list,
.service-list {
  max-width: 900px;
  margin: 28px 0 0; /* autoをやめる */
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.problem-list li,
.service-list li {
  background: #fff;
  border-left: 5px solid #4a7c59;
  padding: 18px 20px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  font-weight: 600;
  color: #24452d;
}

.concept-solution {
  background: #fff;
}

.concept-difference {
  background: #eef6ef;
}

.concept-group {
  background: #fff;
}

.concept-group .container {
  border: 1px solid #d8e2d8;
  border-radius: 10px;
  padding: 45px 50px;
  background: #fbfdfb;
}

.cta-section {
  background: #4a7c59;
  color: #fff;
  text-align: center;
  padding: 70px 0;
}

.cta-section .section-title {
  color: #fff;
}

.cta-section p {
  line-height: 1.9;
  margin-bottom: 28px;
}

.cta-section .btn-primary {
  background: #fff;
  color: #4a7c59;
}

.cta-section .btn-primary:hover {
  background: #eef6ef;
  color: #24452d;
}

/* =========================
   ご相談の流れページ
========================= */
/* hero */
.flow-hero {
  background:
    linear-gradient(
      to right,
      rgba(255, 255, 255, 0.96) 0%,
      rgba(255, 255, 255, 0.8) 45%,
      rgba(255, 255, 255, 0.48) 70%,
      rgba(255, 255, 255, 0.25) 100%
    ),
    url("../images/hero/flow-hero.jpg") center / cover no-repeat;
}

.flow-section,
.flow-note-section {
  padding: 60px 0;
}

.flow-section {
  background: #fff;
}

.flow-list {
  max-width: 900px;
  margin: 35px 0 0;
  margin-left: 0;
}

.flow-item {
  background: #fff;
  border: 1px solid #d8e2d8;
  border-left: 6px solid #4a7c59;
  border-radius: 8px;
  padding: 24px 28px;
  margin-bottom: 22px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  transition: 0.2s ease;
}

.flow-step {
  display: inline-block;
  background: #eef6ef;
  color: #4a7c59;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 8px;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.03em;
}

.flow-item h3 {
  margin: 0 0 10px;
  color: #24452d;
  font-size: 1.18rem;
}

.flow-item p {
  margin: 0;
  line-height: 1.9;
}

.flow-note-section {
  background: #f7faf7;
}

.flow-note-box {
  max-width: 900px;
  margin: 30px 0 0;
  background: #fff;
  border: 1px solid #d8e2d8;
  border-radius: 10px;
  padding: 28px 32px;
}

.flow-note-box p {
  margin: 0 0 14px;
  line-height: 1.9;
}

.flow-note-box p:last-child {
  margin-bottom: 0;
}
