@charset "UTF-8";
/* CSS Document */
.main {
  background-color: #f6f8f9;
  margin-left: 280px; /* ← header の幅 */
}

/* === メインビジュアル === */
.section-main__image {
  position: relative;
  width: 100%;
  height: 40vh;
  background-image: url("../images/portfolio/portfolio_main_image.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.section-main__image-filter {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.10);
}

.section-main__image-message {
  font-family: "cherry-blossoms-regular", sans-serif;
  font-style: normal;
  color: #fff;
  font-weight: 60;
  width: 100%;
}

.section-main__image-message h2 {
  padding-bottom: 20px;
  border-bottom: #fff solid 2px;
  width: 15%;
  margin: 0 auto;
  line-height: 40px;
  font-size: 4rem;
}

/* === メインビジュアル（スマホ） === */
@media (max-width: 768px) {
  .section-main__image-message h2 {
    width: 50%;
    font-size: 3rem;
  }
}

/* === 商品セクション === */
#sec1 {
  padding: 60px 50px;
  background-color: #f6f8f9;
  text-align: left;
}

#sec1 h2 {
  margin-bottom: 30px;
}
/* === badge共通 === */
.badge {
  display: inline-block;
  padding: 8px 14px;
  background: linear-gradient(90deg, #7E7D63 0%, #FCF9C6 95%, #fff 100%);
  color: #333;
  font-weight: 500;
  font-family: "游ゴシック", sans-serif;
  font-size: 2.2rem;
  margin-left: 0; /* ← PC時は左寄せ */
  text-align: left;
}

/* タイトル */
.section-title {
  font-size: 2.4rem;
  color: #333;
  margin: 20px 0 40px;
  font-family: "游ゴシック", "Yu Gothic", sans-serif;
  font-weight: 600;
  text-align: center; /* 👈 タイトル中央揃え */
}

/* 各施工実績ブロック */
.work-item {
  margin-bottom: 60px;
  text-align: center; /* 👈 ブロック内も中央揃え */
}

/* 画像 */
.work-item img {
  width: 80%;
  max-width: 600px;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  margin: 0 auto; /* 👈 中央寄せ */
  display: block;
}

/* 説明文 */
.work-description {
  margin-top: 20px;
  font-size: 1.5rem;
  color: #333;
  line-height: 1.8;
  font-family: "游ゴシック", "Yu Gothic", sans-serif;
  text-align: center; /* 👈 説明文も中央揃え */
}

/* === 📱 スマホ対応 === */
@media (max-width: 768px) {
    #sec1 {
    padding: 40px 20px;
  }
  .work-item img {
    width: 100%;
  }
  .section-title {
    font-size: 2rem;
  }
  .work-description {
    font-size: 1.4rem;
  }
  .badge {
    display: block;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  .main {
    margin-left: 0;
  }

  .main-wrapper {
    width: 100vw;
    margin: 0;
    padding: 0;
  }
}