/* 強み・選ばれる理由 */
.strongpoint{
  padding: 60px 0;
}

.strongpoint .l-container{
  max-width: 850px;
}

.strongpoint h2{
  position: relative;
  padding: 5px 5px 5px 42px;
  background: #009245;
  font-size: 20px;
  color: white;
  margin-left: -33px;
  line-height: 1.3;
  z-index:-1;
}

.strongpoint h2 :before {
  position: absolute;
  content: '';
  left: -2px;
  top: -2px;
  border: none;
  border-left: solid 40px white;
  border-bottom: solid 79px transparent;
  z-index:-2
}

.strongpoint-text{
  padding: 20px 0;
}

/* 事業展開エリアと対応力 */
.service-area{
  padding-bottom: 60px;
}

.service-area .l-container{
  max-width: 850px;
}

.service-area h2{
  position: relative;
  padding: 5px 5px 5px 42px;
  background: #009245;
  font-size: 20px;
  color: white;
  margin-left: -33px;
  line-height: 1.3;
  z-index:-1;
}

.service-area h2 :before {
  position: absolute;
  content: '';
  left: -2px;
  top: -2px;
  border: none;
  border-left: solid 40px white;
  border-bottom: solid 79px transparent;
  z-index:-2
}

.service-area h3{
  font-size: 24px;
  margin-top: 10px;
}

.service-area-box {
  position: relative;
  border: 2px solid #ccc;
  padding: 20px;
  overflow: hidden;
  background-color: #fff;
  margin: 20px 0;
}

.service-area-triangle {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  border-left: 30px solid #009245;
  border-bottom: 30px solid transparent;
}


.service-area-content {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.service-area-image img {
  width: 150px;
  height: auto;
}

.service-area-text {
  flex: 1;
}

.service-area-text h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.service-area-text hr {
  border: none;
  border-top: 1px solid #ccc;
  margin-bottom: 10px;
}

.service-area-text p {
  font-size: 14px;
  line-height: 1.6;
}


/* 主な事業内容 */
.service-detail-container {
    display: flex;
    position: relative;
    gap: 40px;
    align-items: flex-start;
    max-width: 1120px;
    margin: 0 auto;
    padding-top: 60px;
  }
  
  .service-images {
    flex: 1;
  }
  
  .main-image img {
    width: 100%;
    height: auto;
  }
  
  .sub-images {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    width: 50%;
  }
  
  .sub-images img {
    width: calc(50% - 5px);
  }
  
  .service-text {
    flex: 1;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 40px;
    margin-top: 40px;
    position: relative;
    z-index: 2;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
  }

  .service-text {
    margin-left: -60px;
  }
  
  .service-text_left {
    flex: 1;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 40px;
    margin-top: 40px;
    position: relative;
    z-index: 2;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
    margin-right: -60px;
  }

  .service-detail h2{
    color: #222;
    font-size: 21px;
    letter-spacing: 0.08em;
  padding: 0.5em 0;
  border-top: solid 3px #333;
  border-bottom: solid 3px #333;
  }
  
.service-detail p{
  letter-spacing: 0.05rem;
  font-size: 16px;
  letter-spacing: 0.08em;
  line-height: 1.9;
}

/* モーダル */
.image-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.8);
}

.modal-content {
  display: block;
  margin: auto;
  max-width: 90%;
  max-height: 80%;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.modal-close {
  position: absolute;
  top: 30px;
  right: 50px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}


/* 販売実績 */
.sales-record{
  padding: 80px 0;
}

.sales-record .l-container{
  max-width: 1000px;
}

.sales-record h2 {
  color: #333;
  font-size: 36px;
  text-align: center;
  margin-bottom: 30px;
  position: relative;
  padding: 0 130px;
  display: block;
  margin: 0 auto 30px auto;
  width: fit-content;
}

.sales-record h2::before,
.sales-record h2::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 120px;
  height: 2px;
  background-color: #009245;
}

.sales-record h2::before {
  left: 0;
}

.sales-record h2::after {
  right: 0;
}

  .sales-items {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: space-between;
    margin-top: 20px;
  }
  
  .sales-item {
    width: calc(49% - 8px);
    text-align: center;
  }
  
  .sales-item img {
    width: 100%;
    height: auto;
  }
  
  .more-wrapper {
    display: flex;
    justify-content: center;
    padding-top: 60px;
  }
  
  .more-button {
    display: inline-block;
    padding: 10px 30px;
    font-size: 16px;
    background-color: #009245;
    color: white;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s;
  }
  
  .more-button:hover {
    background-color: #b2d98c;
  }
  
  .image-wrapper {
    position: relative;
    overflow: hidden;
  }
  
  .image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
  }
  
  .machine-name {
    position: absolute;
    bottom: 4px;
    right: 4px;
    background-color: #fff;
    color: #222;
    padding: 4px 16px;
    font-family: 'Noto Sans JP', "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, Arial, Verdana, "ＭＳ Ｐゴシック", sans-serif;
    font-size: 18px;
  }
  
  .sales-record h1{
    text-align: center;
  }