/*製品紹介ページ*/
h3 {
  font-size: 16px;
  margin: 30px auto 10px auto;
  border-left: 3px solid #297;
  padding-left: 10px;
}

#logoTitleArea {
  max-width: 1100px;
  margin: 50px auto 0 auto;
  box-sizing: border-box;
}
#logoImgTitleTxt {
  display: flex;
  align-items: center; /* 垂直中央揃え */
}

#logoImg {
  float: left;
  padding: 0 30px 0 0;
  box-sizing: border-box;
}
#titleTxt {
  float: left;
  box-sizing: border-box;
}
#titleTxt h1 {
  font-size: 24px;
  color: #333;
}
#leadTxt {
  padding: 10px 20px;
  background-color: rgb(240, 255, 248);
  border: 3px #297 solid;
  border-top: none;
  border-bottom: none;
  font-size: 16px;
  color: #333;
}
#contentsArea {
  max-width: 1100px;
  margin: 40px auto 40px auto;
  box-sizing: border-box;
}

.flex{
  display: flex;
  flex-wrap: wrap;      /* ← これが “折り返し” 指定 */
  gap: 20px;
}

#visualBt {
    width: 100%;
    max-width: 540px;
  margin: 0 auto;
  padding: 0 50px 0px 0;
  box-sizing: border-box;
}
#visualArea {
  width: 100%;          /* レイアウト幅いっぱい */
  max-width: 550px;     /* ここで横幅を決める（今までの max-width を移動）*/
}

#visualImg {
  width: 100%;
  object-fit: contain;  /* 余白 OK → 全体表示 cover にすればトリミングで全画面表示 */                     
  min-height: 350px;
  object-position: center;
  border: 1px #ccc solid;
  box-sizing: border-box;
}
#thumbArea {
  display: flex;
  width: 100%;
  margin: 10px auto;
  justify-content: space-between;
  box-sizing: border-box;
}
.thumbImg {
  display: block;
  width: 30%;
  border: 1px #ccc solid;
  cursor: pointer;
  box-sizing: border-box;
}
.thumbImg:hover {
  filter: brightness(0.8);
}
#datasheetBt,
#contactusBt {
    display: flex;
  justify-content: center;   /* 横方向の中央揃え */
  align-items: center;       
  width: 450px;
  height: auto;
  margin: 20px auto;
  padding: 5px;
  border: 1px #297 solid;
  box-sizing: border-box;
}
#contactusBt {
  background-color: #cef2e5;
}

#datasheetBt a,
#contactusBt a {
  display: flex;
  justify-content: center;   /* 横方向の中央揃え */
  align-items: center;       
  text-decoration: none;
  gap: 20px; /* 画像とテキストの間隔 */
  color: #333;
  font-size: 16px;
  font-weight: bold;
}
#datasheetBt a img,
#contactusBt a img {
  margin-left: 10px;
  width: 9%;
  height: auto;
}
#datasheetBt a p,
#contactusBt a p {
  margin-right: 10px;
}

#datasheetBt:hover,
#contactusBt:hover {
  filter: brightness(0.8);
}

#spec {
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

#info{
    width: 100%;
    max-width: 540px;
  margin: 0 auto;
  box-sizing: border-box;
}
#basicInfo {
  width: 100%;
  margin: -20px auto 0 auto;
  box-sizing: border-box;
}
#basicInfo ul {
  list-style: none;
  margin-bottom: 32px;
  padding: 0;
  box-sizing: border-box;
}
#basicInfo ul li {
  font-size: 12px;
  box-sizing: border-box;
}
#basicInfo ul li h3 {
  margin-top: 0;
}

.hashTag {
  display: inline-block;
  margin: 0 5px 5px 0;
  padding: 3px 10px 3px 10px;
  background-color: #999;
  border-radius: 30px;
  color: #fff;
  font-size: 14px;
  text-align: center;
  box-sizing: border-box;
}
#detailInfo {
  width: 100%;
  box-sizing: border-box;
}
#detailInfo img {
  width: 100%;
}

.detailInfoBox {
  display: inline-block;
  margin: 0 5px 5px 0;
  padding: 5px 10px;
  background-color: #eee;
  border: 1px #ccc solid;
  border-radius: 20px;
  font-size: 14px;
  box-sizing: border-box;
}

.safetyMarkPage {
  display: inline-block;
  height: 50px;
  box-sizing: border-box;
}
#specTable {
  width: 100%;
  box-sizing: border-box;
}
#specTable table {
  width: 100%;
  font-size: 12px;
  box-sizing: border-box;
  border-spacing: 0px 5px;
}
#specTable table thead th {
  padding: 0.5em 0em;
  background-color: #666;
  color: #fff;
  font-size: 14px;
  text-align: center;
  box-sizing: border-box;
  border-right: 1px solid #fff;
}

#specTable table tbody th {
  padding: 0.5em 0.3em;
  text-align: center;
  box-sizing: border-box;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  border-left: 1px solid #ccc;
  white-space: nowrap;
}

#specTable table tbody td {
  padding: 0.5em 0.75em;
  text-align: left;
  box-sizing: border-box;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
}

#specTable table tbody td:last-child {
  border-right: 1px solid #ccc;
}

#specTable th {
  padding: 10px;
  background-color: #fff;
  text-align: left;
  vertical-align: top;
  font-weight: 900;
  box-sizing: border-box;
}
#specTable td {
  padding: 10px;
  background-color: #fff;
  text-align: left;
  vertical-align: top;
  box-sizing: border-box;
}
#relatedProducts {
  display: flex;
  width: 100%;
  box-sizing: border-box;
}

/*change mobile*/
@media (max-width: 1080px) {
  /*tag*/
  section {
    width: 100%;
    margin: 50px auto 0 auto;
  }
  h1 {
    width: 100%;
  }
  h2 {
    width: 100%;
    margin-top: 50px;
  }

  h4 {
    width: 100%;
    margin: 0;
    padding: 3px 3px 5px 3px;
    font-size: 16px;
    font-weight: 900;
    box-sizing: border-box;
  }
  main {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN",
      "Hiragino Sans", Meiryo, sans-serif;
    color: #333;
  }
  /*id-class*/

  #makerTopTitleArea {
    width: 100%;
    margin: 50px auto 0 auto;
    box-sizing: border-box;
  }
  #makerTopTitleLogo {
    font-size: 18px;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN",
      "Hiragino Sans", Meiryo, sans-serif;
    font-weight: 900;
    box-sizing: border-box;
  }
  #makerTopTitleLogo img {
    display: block;
    float: left;
    margin: 0 32px 0 0;
    box-sizing: border-box;
  }
  #makerTopTitleLogo span {
    display: block;
    float: left;
    margin: -5px 32px 0 0;
    box-sizing: border-box;
  }
  #makerTopTitleTxt {
    width: 100%;
    margin: 20px 0 0 0;
    font-size: 14px;
    font-weight: 100;
    text-align: left;
    color: #333;
    box-sizing: border-box;
  }
  #contentsAreaDsTop {
    width: 100%;
    box-sizing: border-box;
  }
  #contentsArea {
    width: 100%;
    overflow: hidden;
    box-sizing: border-box;
  }

  #contentsArea h2 {
    width: 100%;
    margin: 80px 0 30px 0;
    font-size: 16px;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN",
      "Hiragino Sans", Meiryo, sans-serif;
    font-weight: 900;
    box-sizing: border-box;
  }
  .paragrap {
    width: 100%;
    margin: 0 0 50px 0;
    padding: 0;
    box-sizing: border-box;
  }
  .dsPickupWrap {
    display: block;
  }
  .listType {
    width: 260px;
    margin: 0 10px;
    padding: 0;
    list-style: none;
    background-color: #eee;
    box-shadow: #986 0px 1px 3px;
    box-sizing: border-box;
  }
  .listType:nth-last-child(1) {
    margin-right: 1px;
    box-sizing: border-box;
  }
  .listTypeHead {
    padding: 3% 3% 0.5% 3%;
    background-color: #eee;
    text-align: center;
    font-size: 14px;
    line-height: 18px;
    color: #333;
    box-sizing: border-box;
  }
  .listTypeHead:hover {
    filter: brightness(0.8);
  }
  .listTypeHead a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: #333;
  }

  .listType img {
    width: 106%;
    margin: -3% 3% 3% -3%;
    padding: 0;
  }
  .listTypeModel {
    float: left;
    width: 50%;
    padding: 7px 0 6px 0;
    text-align: center;
    border: 1px #ccc solid;
    border-bottom: none;
    box-sizing: border-box;
  }
  .listTypeModel:nth-of-type(even) {
    border-left: none;
  }
  .listTypeModel:nth-of-type(odd) {
    border-left: none;
    border-right: none;
  }
  .listTypeModel a {
    display: block;
    width: 100%;
    display: block;
    width: 100%;
    font-size: 16px;
    text-decoration: none;
    color: #333;
    box-sizing: border-box;
  }
  .listTypeModel:hover {
    background-color: #ddd;
  }
  .fakeBt {
    width: 150px;
    margin: 10px auto;
    padding: 5px;
    border: 1px #999 solid;
    border-radius: 20px;
    font-family: initial;
    color: #333;
    font-size: 12px;
    box-sizing: border-box;
  }
  /*製品紹介ページ*/
  #logoTitleArea {
    width: 100%;
    margin: 20px auto 0 auto;
    box-sizing: border-box;
  }
  #logoImg {
    padding: 10px 30px 10px 0;
    box-sizing: border-box;
  }
  #titleTxt {
    box-sizing: border-box;
  }
  #titleTxt h1 {
    font-size: 18px;
    color: #333;
  }
  #leadTxt {
    padding: 10px 20px;
    background-color: rgb(240, 255, 248);
    border: 3px #297 solid;
    border-top: none;
    border-bottom: none;
    font-size: 14px;
    color: #333;
  }

  #visualBt {
    width: 100%;
    margin: 10px auto 0 auto;
    padding: 0 0 10px 0;
    box-sizing: border-box;
  }
  #visualArea {
    box-sizing: border-box;
  }

  #visualImg {
    display: block;
    min-height: auto;
    margin: 10px auto;
    border: 1px #ccc solid;
    box-sizing: border-box;
  }
  #thumbArea {
    display: flex;
    width: 100%;
    margin: 10px auto;
    justify-content: space-between;
    box-sizing: border-box;
  }
  .thumbImg {
    display: block;
    width: 30%;
    border: 1px #ccc solid;
    cursor: pointer;
    box-sizing: border-box;
  }
  .thumbImg:hover {
    filter: brightness(0.8);
  }

  #datasheetBt{
  margin: 20px auto 0 auto;
    background-color: #ffffff;
    border: 1px #297 solid;
    cursor: pointer;
    box-sizing: border-box;
  }

  #datasheetBt a,
  #contactusBt a {
    font-size: 14px;
  }
  #datasheetBt:hover {
    filter: brightness(0.8);
  }

  #contactusBt {
      margin: 0px auto 20px auto;
    padding-right: 20px;
    background-color: #cef2e5;
    border: 1px #297 solid;
    cursor: pointer;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    font-weight: 900;
    box-sizing: border-box;
  }
  #contactusBt:hover {
    filter: brightness(0.8);
  }

  #spec {
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
  }

  #info {
    width: 100%;
  }
  #basicInfo {
    width: 100%;
    margin: -20px auto 0 auto;
    box-sizing: border-box;
  }
  #basicInfo ul {
    list-style: none;
    margin-bottom: 32px;
    box-sizing: border-box;
  }
  #basicInfo ul li {
    font-size: 12px;
    box-sizing: border-box;
  }

  .hashTag {
    display: inline-block;
    margin: 0 5px 5px 0;
    padding: 3px 10px 3px 10px;
    background-color: #999;
    border-radius: 30px;
    color: #fff;
    font-size: 14px;
    text-align: center;
    box-sizing: border-box;
  }
  #detailInfo {
    width: 100%;
    box-sizing: border-box;
  }
  #detailInfo img {
    width: 100%;
  }

  .detailInfoBox {
    display: inline-block;
    margin: 0 5px 5px 0;
    padding: 5px 10px;
    background-color: #eee;
    border: 1px #ccc solid;
    border-radius: 20px;
    font-size: 14px;
    box-sizing: border-box;
  }
  .safetyMarkPage {
    display: inline-block;
    height: 50px;
    box-sizing: border-box;
  }
  #specTable {
    width: 100%;
    box-sizing: border-box;
  }
  #specTable table {
    width: 100%;
    font-size: 12px;
    box-sizing: border-box;
  }
  #specTable th {
    padding: 10px;
    background-color: #fff;
    text-align: left;
    vertical-align: top;
    font-weight: 900;
    box-sizing: border-box;
  }
  #specTable td {
    padding: 10px;
    background-color: #fff;
    text-align: left;
    vertical-align: top;
    box-sizing: border-box;
  }
  #relatedProducts {
    display: none;
    width: 100%;
    box-sizing: border-box;
  }
}
