@charset "utf-8";

html, body {
  margin: 0;
  height: 100%;
}

.works {
  background: #fff;
  margin: 0 auto;
    border: 2px solid #000;
    border-radius: 10px;
}

.works h2 {
  font-weight: bold;
  margin-bottom: 30px;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 24px;
}

.works-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
}

.works-item .title {
  font-weight: bold;
  margin-top: 10px;
     font-size: 16px;
}

.works-item .category {
  font-size: 14px;
  color: #666;
}

/* cate1 */
.cate1 {
  flex-direction: column;
  gap: clamp(30px, 5vw, 60px);
}



/* 各取り組みボックス */
.cate1 .cate-item {
  gap: clamp(20px, 4vw, 40px);
    align-items: stretch;
}

/* ボックス内画像 */
.cate1 .cate-item img {
width: clamp(280px, 35vw, 450px);
  height: auto;
  object-fit: cover;
  border-radius: 4px;
}

/* テキスト部分 */
.cate1 .cate-text {
  flex: 1;
    max-width: 600px;
}

/* 小見出し */
.cate1 .txt-s{
  font-size: clamp(18px, 3vw, 36px);
}

/* 説明文 */
.cate1 .cate-desc {
  line-height: 2.5;
font-weight: bold;
}

/* cate1 */
.flow{
padding-bottom: clamp(150px, 20vw, 230px);
}
 .flow-wrapper {
  max-width: 880px;
  margin: 0 auto;
  padding: 60px 20px;
}

.flowbox-wrap{
  justify-content: flex-start;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 48px;
    
}

.flowbox-wrap::before {
  content: "";
  position: absolute;
  top: 80px;
  bottom: 0px;
  left: 30px;
  width: 1.5px;
  background: repeating-linear-gradient(
    to bottom,
    #999,
    #999 1px,
    transparent 2px,
    transparent 4px
  );
  z-index: 0;
}


.flow-box {
  display: flex;
  align-items: flex-start;
gap: clamp(15px, 2vw, 60px);
}

.step-circle {
  width: 60px;
  height: 60px;
  background: #000;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
      z-index: 2;
}



.step-label {
  font-size: 11px;
  margin: 0;
  line-height: 1;
}

.step-number {
  font-size: 16px;
  margin: 0;
  line-height: 1.2;
  font-weight: bold;
}

.step-content {
     flex: 1;
    background: #fff;
      border-radius: 6px;
      padding: 20px 24px;
      width: 100%; 
     min-width: 0;
}
.step-content .description{
    line-height: 2;
}
.step-title {
  font-weight: bold;
  position: relative;
  padding-left: 1.2em;
  margin-top: 0;
  margin-bottom: 20px;
}

.step-title::before {
  content: "●";
  color: #000;
  position: absolute;
  left: 0;
  top: 0;
}

 
  /* ---------- main ---------- */
  /* ---------- more ---------- */
  /* ---------- IEのみ ---------- */
  @media all and (-ms-high-contrast: none) {}
  /* ---------- 1280px ~ ---------- */
  @media screen and (max-width: 1280px) {


  }
  /* ---------- 1080px ~ ---------- */
  @media screen and (max-width: 1080px) {
    .product-area .link-button {
      right: 0px;
    }
  }
  /* ---------- 768px ~ ---------- */
  @media screen and (max-width: 768px) {
      .cate1 .cate-item {

    gap: clamp(20px, 4vw, 40px);
          flex-direction: column;
          align-items: center;
          max-width: 600px;
} 
.cate1 .cate-item img {
width:100%;
border-radius: 4px;
}
   .works-item img {
    max-height: 300px;
    object-fit: cover;
  }
 .step-circle {
    width: 42px;
    height: 42px;
  }

  .step-label {
    font-size: 9px;
  }

  .step-number {
    font-size: 13px;
  }

  .step-content {
    padding: 16px 16px;
  }

  .step-title {
    font-size: 15px;
    padding-left: 1em;
  }

  .step-title::before {
    font-size: 12px;
    top: 2px;
  }
.flowbox-wrap::before {
    left: 20px;
}
  }
  /* ---------- 576px ~ ---------- */
  @media screen and (max-width: 576px) {

.step-content {
    padding: 20px 15px;
}
}
  /* ---------- 350px ~ ---------- */
  @media screen and (max-width: 350px) {}