body {
  margin: 0;
}

#contents {
  width: 100%;
  margin: 0;
  padding: 0;
}
header,
#header,
#footer_Wrap,
#topicsPathArea,
.pageTop,
.header-bnr-area,
footer,
#footer {
  display: none;
}

ul,
li {
  list-style: none;
}
ul,
ol,
li,
h2,
h3,
h4,
p {
  padding: 0;
  margin: 0;
  line-height: 1.7;
}

#mainContainer {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  background: #f7f7f7;
  color: #222;
  word-break: break-all;
}

#mainContainer h2,
#mainContainer h3,
#mainContainer h4,
#mainContainer h5 {
  font-weight: bold;
}
#mainContainer .kv {
  width: 100%;
  max-width: 1000px;
  margin: auto;
  display: flex;
}
#mainContainer .kv img {
  width: 100%;
}
#mainContainer article {
  font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro";
  background: #fff;
  margin: auto;
  width: 100%;
  max-width: 1000px;
  color: #333;
  padding: 0 40px 100px;
  box-sizing: border-box;
}
#mainContainer article img {
  max-width: 100%;
}
#mainContainer article > h2 {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 35px;
  padding: 70px 0 30px;
  margin: 0;
  color: #0f360f;

  /* background: linear-gradient(to right, #0a290a, #2a7b3a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; */
}
#mainContainer article > h2 img {
  width: 45px;
  height: 45px;
  object-fit: contain;
}
#mainContainer article > h2:has(img) {
  gap: 10px;
}
#mainContainer article > h2:has(img)::before {
  content: none;
}
#mainContainer article > h2::before {
  content: "";
  display: block;
  width: 10px;
  height: 50px;
  background: #0f360f;
}
#mainContainer article > h3 {
  display: flex;
  align-items: center;
  font-size: 28px;
  font-weight: bold;
  color: #0f360f;
  padding: 20px 0 10px;
  margin: 0;
}
#mainContainer article > h3::before {
  content: "■";
  display: inline-block;
  transform: rotate(45deg);
  font-size: 20px;
  margin-right: 10px;
}
#mainContainer article > p {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
}
#mainContainer article > p a {
  color: inherit;
}
#mainContainer article b:not(.no-b) {
  background: linear-gradient(transparent 60%, #fff176 60%);
  display: inline;
}
#mainContainer article table {
  margin-top: 50px;
  border-collapse: inherit;
  border-spacing: 1px;
}
#mainContainer article table thead {
  background: #d7e4d7;
}
#mainContainer article table thead th {
  padding: 6px;
  color: #0f360f;
  text-align: center;
}
#mainContainer article table tbody td {
  font-size: 16px;
  padding: 10px;
  background: #f7f7f7;
  text-align: center;
  color: #0f360f;
}
#mainContainer article .alert {
  margin-top: 50px;
}
#mainContainer article .alert h3 {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  background: #e51937;
  margin: 0;
  padding: 5px;
  font-size: 24px;
  color: #fff;
}
#mainContainer article .alert h3 img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}
#mainContainer article .alert > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f7f7f7;
}
#mainContainer article .alert > div > p {
  margin: 0;
  padding: 20px;
  width: 100%;
  font-weight: bold;
  box-sizing: border-box;
}
#mainContainer article .alert > div > p .band {
  display: block;
  background: #e8890d;
  width: fit-content;
  color: #fff;
  padding: 0 6px;
  margin-top: 6px;
}
#mainContainer article .alert img {
  width: 30%;
  height: 184px;
  object-fit: cover;
}
#mainContainer article .ac {
  margin-top: 50px;
}
#mainContainer article .ac-ttl {
  background: #d7e4d7;
  color: #0f360f;
  text-align: center;
  padding: 8px 12px;
  font-size: 20px;
  font-weight: bold;
}
#mainContainer article .ac-con {
  background: #f7f7f7;
  padding: 40px;
}
#mainContainer article .ac-con p {
  margin: 0;
}
#mainContainer article .ac-con p a {
  color: inherit;
}
#mainContainer article .merit {
  position: relative;
  margin-top: 60px;
  padding-top: 60px;
  padding-bottom: 100px;
}
#mainContainer article .merit::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 110%;
  height: 100%;
  max-width: 1000px;
  background-image: url("/contents/include/page/a_ups_battery/img/merit-bg.jpg");
}
#mainContainer article .merit::after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 110%;
  height: 100%;
  max-width: 1000px;
  background: #000;
  opacity: 0.3;
}
#mainContainer article .merit h2 {
  position: relative;
  z-index: 3;
  color: #fff;
  text-align: center;
  position: relative;
  font-size: 35px;
}
#mainContainer article .merit ul {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  padding: 0;
  max-width: 800px;
  margin: auto;
  margin-top: 60px;
}
#mainContainer article .merit ul li {
  position: relative;
  border: 4px solid #d7e4d7;
  list-style: none;
  padding: 0;
  background: #fff;
}
#mainContainer article .merit ul li .ttl {
  margin: 0;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  background: #d7e4d7;
  color: #0f360f;
  padding: 4px 20px;
  text-align: center;
}
#mainContainer article .merit ul li .con {
  display: flex;
  align-items: center;
  padding: 10px;
  font-size: 16px;
  font-weight: bold;
}
#mainContainer .products {
  background: linear-gradient(to right, #0a290a, #2a7b3a);
  width: 100%;
  max-width: 1000px;
  margin: auto;
  padding: 60px 40px;
  box-sizing: border-box;
}
#mainContainer .products h2 {
  text-align: center;
  margin: 0;
  font-size: 40px;
  font-weight: bold;
  color: #fff;
}
#mainContainer .products h3 {
  display: flex;
  align-items: center;
  gap: 15px;
  color: #fff;
  font-size: 24px;
  margin-top: 60px;
}
#mainContainer .products h3::before {
  content: "";
  display: block;
  width: 6px;
  height: 40px;
  background: #fff;
}
#mainContainer .products ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 0;
  margin-top: 30px;
}
#mainContainer .products ul li {
  list-style: none;
  color: #fff;
}
#mainContainer .products ul li a {
  color: inherit;
}
#mainContainer .products ul li p {
  margin: 0;
  margin-top: 10px;
  font-size: 14px;
}
#mainContainer .products ul img {
  width: 100%;
}

.other-article {
  width: 100%;
  max-width: 1000px;
  margin: auto;
  background: #fff;
  padding: 0 40px 100px;
  box-sizing: border-box;
}

.other-article > h2 {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 35px;
  padding: 70px 0 30px;
  margin: 0;
  color: #0f360f;
}

.other-article > h2::before {
  content: "";
  display: block;
  width: 10px;
  height: 50px;
  background: #0f360f;
}
.other-article a:hover {
  opacity: 0.6;
}

.other-article > #articles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 15px;
}

.other-article > #articles > a {
  text-decoration: none;
  color: unset;
}
.other-article > #articles > a:hover {
  opacity: 0.6;
}

.other-article > #articles > a > img {
  width: 100%;
  height: 200px;
  object-fit: contain;
}
.other-article > #articles > a > p {
  margin-top: 10px;
  font-size: 14px;
}

@media screen and (max-width: 768px) {
  #mainContainer article {
    padding: 0 16px 50px;
  }

  #mainContainer article > h2 {
    gap: 3px;
    font-size: 18px;
    padding: 35px 0 15px;
  }
  #mainContainer article > h2 img {
    width: 25px;
    height: 25px;
  }
  #mainContainer article > h2:has(img) {
    gap: 5px;
  }

  /* #mainContainer article > h3 {
    display: flex;
    align-items: center;
    font-size: 28px;
    font-weight: bold;
    color: #0f360f;
    padding: 20px 0 10px;
    margin: 0;
  } */
  /* #mainContainer article > h3::before {
    content: "■";
    display: inline-block;
    transform: rotate(45deg);
    font-size: 20px;
    margin-right: 10px;
  } */
  #mainContainer article > p {
    font-size: 14px;
  }
  #mainContainer article table {
    margin-top: 30px;
    min-width: 100%;
  }

  #mainContainer article table thead th {
    padding: 6px;
    font-size: 14px;
  }
  #mainContainer article table tbody td {
    font-size: 14px;
    padding: 6px;
  }
  #mainContainer article .alert {
    margin-top: 30px;
  }
  #mainContainer article .alert h3 {
    gap: 5px;
    padding: 5px;
    font-size: 18px;
  }
  #mainContainer article .alert h3 img {
    width: 25px;
    height: 25px;
    object-fit: contain;
  }
  #mainContainer article .alert > div {
    flex-direction: column;
  }
  #mainContainer article .alert > div > p {
    margin: 0;
    padding: 10px;
    font-size: 14px;
  }

  #mainContainer article .alert img {
    width: 100%;
    height: auto;
  }
  #mainContainer article .ac {
    margin-top: 30px;
  }
  #mainContainer article .ac-ttl {
    padding: 6px 10px;
    font-size: 16px;
  }
  #mainContainer article .ac-con {
    padding: 15px;
    font-size: 14px;
  }

  #mainContainer article .merit {
    margin-top: 30px;
    padding-top: 30px;
    padding-bottom: 50px;
  }
  #mainContainer article .merit::before {
    width: 110%;
    height: 100%;
    max-width: 100vw;
  }
  #mainContainer article .merit::after {
    max-width: 100vw;
  }
  #mainContainer article .merit h2 {
    font-size: 20px;
  }
  #mainContainer article .merit ul {
    grid-template-columns: repeat(1, 1fr);
    margin: auto;
    margin-top: 30px;
  }
  #mainContainer article .merit ul li {
    border: 2px solid #d7e4d7;
  }
  #mainContainer article .merit ul li .ttl {
    font-size: 14px;
    padding: 4px 10px;
  }
  #mainContainer article .merit ul li .con {
    padding: 6px;
    font-size: 14px;
  }
  #mainContainer .products {
    padding: 30px 16px;
  }
  #mainContainer .products h2 {
    font-size: 24px;
  }
  #mainContainer .products h3 {
    gap: 6px;
    font-size: 16px;
    margin-top: 30px;
  }
  #mainContainer .products h3::before {
    width: 3px;
    height: 20px;
  }
  #mainContainer .products ul {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 15px;
  }

  #mainContainer .products ul li p {
    margin-top: 8px;
    font-size: 12px;
  }
  .other-article {
    padding: 0 16px 50px;
  }

  .other-article > h2 {
    gap: 10px;
    font-size: 20px;
    padding: 35px 0 15px;
  }

  .other-article > h2::before {
    width: 3px;
    height: 30px;
  }
  .other-article > #articles {
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 8px;
  }

  .other-article > #articles > a > img {
    height: auto;
    aspect-ratio: 3/2;
  }
  .other-article > #articles > a > p {
    margin-top: 10px;
    font-size: 12px;
  }
}
