/* --- カラーパレット --- */
:root {
  --main-green: #24B36B;
  --dark-gray: #333;
  --light-gray: #f9f9f9;
  --accent: #e6f4ef;
  --black: #000;
}

/* --- 初期設定 --- */
body {
  margin: 0;
  font-family: 'Noto Sans JP', sans-serif;
  background: #fff;
  color: var(--dark-gray);
  line-height: 1.7;
}

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

.h2-title{ 
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.5;
  text-align: center;
  margin-top: 50px;
}





/* --- ヒーローセクション --- */
.hero-section {
  position: relative;
  overflow: hidden;
  height: 300px;
}

.hero-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(70%);
}

.hero-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 2.5rem;
  font-weight: bold;
  letter-spacing: 0.1em;
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
}

.seo-intro img {
  display: block;
  margin: 0 auto;
  /* width: 50%; */
}


/* Gridに関連するプロパティのみ抜粋 */
.seo-intro {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  padding: 60px 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.card {
  background: #f8f8f8;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card .catch {
  font-weight: bold;
  font-size: 1.2rem;
  color: var(--main-green, #24B36B);
  text-align: center;
}

/* -----------------------------------
   SEO対策セクション
----------------------------------- */
.company-intro {
  max-width: 1080px;
  margin: 0 auto;
  padding: 80px 20px;
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.company-intro .intro-images {
  flex: 1;
  min-width: 300px;
}

.company-intro .intro-images img {
  border-radius: 8px;
}

.company-intro .intro-text {
  flex: 1;
  min-width: 300px;
}

.company-intro h2 {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.5;
}

.company-intro p {
  font-size: 1rem;
  color: #444;
  font-weight: normal;
}

/* SEO紹介文 */
.seo-what {
  display: flex;
  flex-wrap: nowrap; /* 折り返さない */
  flex-direction: row-reverse; /* 画像を右に */
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 20px;
  background: #f9f9f9;
  border-radius: 12px;
}

.inner-images {
  flex: 0 0 45%; /* 固定幅として扱う */
  max-width: 45%;
}

.inner-images img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.inner-text {
  flex: 1;
  max-width: 50%;
}

.inner-text h3.section-subtitle {
  font-size: 1.6rem;
  color: #24B36B;
  border-left: 6px solid #24B36B;
  padding-left: 12px;
  margin-bottom: 20px;
}

.inner-text p {
  font-size: 1rem;
  color: #444;
  line-height: 1.8;
  margin-bottom: 1em;
  font-weight: normal;
}

@media screen and (max-width: 768px) {
  .seo-what {
    flex-direction: column;
  }
  .inner-images {
    max-width: 100%;
  }
  .inner-text {
    max-width: 100%;
  }
}
/* --- 特徴カード（アイコン付き）--- */
.feature-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.feature-card {
  background: #fff;
  border: 1px solid #ddd;
  /* border-left: 6px solid var(--main-green); */
  border-radius: 6px;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.feature-card-title {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.feature-card-title img {
  width: 28px;
  height: 28px;
  margin-right: 10px;
}

.feature-card h4 {
  font-size: 1.1rem;
  margin: 0;
  color: var(--main-green);
}

.feature-card p {
  font-size: 0.95rem;
  color: #444;
  font-weight: normal;
}




/* セクション全体 */
section {
  padding: 80px 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.section-title,
.section-subtitle {
  color: var(--main-green);
  font-weight: bold;
  margin-bottom: 40px;
}

.section-title {
  font-size: 2.2rem;
  text-align: center;
}

.section-subtitle {
  font-size: 1.4rem;
  /* border-left: 6px solid var(--main-green); */
  padding-left: 14px;
}

/* 見出し付きボックス */
.box {
  background: var(--gray);
  border-left: 5px solid var(--main-green);
  padding: 20px;
  margin-bottom: 40px;
}

/* 2カラムリスト */
.feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 60px;
}

.feature-list li {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.04);
}

.feature-list h4 {
  color: var(--main-green);
  font-weight: bold;
  margin-bottom: 10px;
}

/* 納品までの流れ */
.flow {
  background-color: #f9f9f9;
  margin-bottom: 120px;
  padding: 80px 20px;
  max-width: 1100px;
  margin: 0 auto;
  margin-bottom: 70px;
}

.stepbar {
  margin: 0 auto;
  width: 80%;
}


.stepbarwrap {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  position: relative;
}


.steptextwrap {
  flex: 1;
  position: relative; /* steplineを基準にする */
}


.stepbarwrap img {
  max-width: 300px;
  height: auto;
  flex-shrink: 0;
  margin-top: 10px;
  margin-bottom: 10px; /* 画像同士の間隔を確保 */
}

.stepbarwrap {
  display: flex;
  justify-content: space-around;
  gap: 10px;
}

/* .steptextwrap {
  flex: 1;
  display: flex;
  flex-direction: column;
} */

.steptitle {
  width: 40%;
  margin-bottom: 0.5em;
}

.stepcircle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--main-green);
  color: white;
  font-weight: bold;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stepcircle span {
  line-height: 1;
  position: static; /* top指定はやめる */
}

.title {
  margin-left: 12px;
  font-size: 1.2rem;
  font-weight: bold;
  white-space: nowrap;
}

.steptxt {
  padding-left: 60px;
  font-size: 0.95rem;
  color: #333;
  line-height: 1.7;
  text-align: left;
  font-weight: normal;
}


 .stepline {
    content: "";
    position: absolute;
    top: 48px;
    left: 105px;
    width: 2px;
    height: 180px;
    background-color: var(--main-green);
    z-index: 0;
}

.stepbarwrap:last-of-type .stepline:last-of-type {
  display: none;
}

@media screen and (max-width: 768px) {
  .steptitle {
    width: 100%;
  }
  .steptxt {
    padding-left: 35px;
}
  .stepbarwrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .stepbarwrap img {
    width: 80%;
    margin: 0 auto;
  }

   .stepline {
    left: 23px;
    height: 307px;
}

.h2-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.5;
    text-align: center;
    margin-top: 50px;
}





}

@media screen and (max-width: 960px) {
  .stepbar {
    width: 90%;
  }
}




/* グラデ背景 + 全体配置 */
.catch-section {
  padding: 80px 40px;
  background: linear-gradient(135deg, #28a745, #b2f7c0); /* 緑〜黄緑グラデーション */
  color: #fff;
  position: relative;
  max-width: none;
}

/* コンテナ：2カラム */
.catch-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  max-width: 1080px;
  margin: 0 auto;
  gap: 40px;
}

/* 左カラム */
.catch-left {
  flex: 1;
  min-width: 300px;
}

.catch-left .section-title {
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 20px;
  line-height: 1.6;
  text-align: left;
}

.catch-left .lead-text p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 10px;
  color: #f8f8f8;
}

/* 右カラム */
.catch-right {
  flex: 1;
  min-width: 300px;
  position: relative;
}

.catch-img-wrapper {
  position: relative;
  display: inline-block;
}

.catch-img {
  width: 100%;
  border-radius: 10px;
}

/* リストが画像右下に重なるよう配置 */
.catch-list {
  position: absolute;
  bottom: 10px;
  right: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 280px;
}

.catch-list li {
  background:#FFF8F2;
  color: #333;
  padding: 10px 16px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
}

.catch-list .highlight {
  color: #e74c3c;
  font-weight: bold;
}

/* モバイル対応 */
@media (max-width: 768px) {
  .catch-container {
    flex-direction: column;
    text-align: center;
  }

  .catch-left,
  .catch-right {
    flex: 1 1 100%;
  }

  .catch-list {
    position: static;
    margin-top: 20px;
  }

  .catch-list li {
    justify-content: center;
    gap: 10px;
  }
}