/*共通(ここから)*/
section {
  padding-top: 12px;
  padding-bottom: 12px;
}
/*共通(ここまで)*/
/*ページヘッダー(ここから)*/
.top-page-header {
  background-color: #000000;
  padding-top: 21px;
  padding-bottom: 21px;
  border: solid 1px white;
}
.top-page-header-img {
  max-width: 990px;
  width: 90%;
  display: block;
  margin: 0 auto;
  border: solid white 1px;
}
/*ページヘッダー(ここまで)*/
/*メイン(ここから)*/
/*概要(ここから)*/
.about-container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}
.about-item2 img {
  display: block;
  margin: 12px auto;
}
.about {
  background-color: gray;
  padding: 12px;
}
.about-item1 h3 {
  border-bottom: solid 1.5px;
  width: 100%;
  color: white;
}
.about-item1 p {
  color: white;
}
.about-item2 img {
  max-width: 420px;
  width: 90%;
  border: solid 1.5px;
}
/*概要(ここまで)*/
/*サービス案内(ここから)*/
.service {
  display: flex;
  /*border: solid 1.5px;*/
  justify-content: space-around;
  flex-wrap: wrap;
}
.service-text {
  display: block;
  margin: 0 12px;
}
.service-text h3 {
  border-bottom: solid 1px;
  width: 100%;
}
.service-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}
.service-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  border: solid 1px;
  width: 180px;
  border-radius: 10px;
  margin: 12px;
  transition: transform 0.3s ease;
}
.service-item:hover {
  transform: scale(1.1);
}
.service-item img {
  max-width: 150px;
  width: 100%;
}
/*サービス(案内(ここまで)*/
/*納品までの流れ(ここから)*/
.flow {
  background-color: rgb(27, 64, 115);
}
.flow-text h3 {
  color: white;
}
.flow-text p {
  color: white;
}
.flow-text {
  display: block;
  margin-left: 21px;
  margin-right: 21px;
}
.flow-text h3 {
  border-bottom: solid 1px;
  width: 100%;
}
.flow-item {
  background-color: white;
}
.flow-item h4 {
  font-size: 15px;
}
.flow-item p {
  font-size: 12px;
}
.flow-container {
  display: grid;
  grid-gap: 21px;
  grid-template-columns: repeat(4,2fr);
  justify-items: center;
  padding: 12px;
}
.flow-item {
  border: solid 1px ;
  max-width: 210px;
  text-align: center;
  border-radius: 21px;
}
.flow-item h4 {
  border-bottom: solid 1px;
}
.flow-item img {
  max-width: 180px;
  width: 81%;
}
/*納品までの流れ(ここまで)*/
/*メイン(ここまで)*/
/*スマホ表示(ここから)*/
@media screen and (max-width: 780px){
  .flow-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 横に2列 */
    /*grid-template-rows: repeat(4, 1fr);    /* 縦に4行 */
    gap: 12px; /* アイテム間のスペースを調整する場合 */
    justify-items: center; /* アイテムを中央揃え */
    align-items: center;   /* 垂直方向に中央揃え */
  }
  .flow-item {
    width: 165px;
  }
}
/*スマホ表示(ここまで)*/