.contents-banner {
  background-color: #d9eff9;
}
.contents-block {
  padding-bottom: 2em;
  background-color: #d9eff9;
  color: #000;
}

.device-color-btn.color3 {
  background-color: #3da3a5;
}
.device-color-btn.color2 {
  background-color: #2E2E2E;
}
.device-color-btn.color1 {
  background-color: #eee9e6;
  color: #000;
}

.page-head [class*="btn-"] {
  flex-flow: column;
  width: 8rem;
  align-items: center;
  justify-content: center;
}

.prev-txt, .next-txt {
  font-size: 1.3rem;
  margin-top: 3px;
}

.device-color .comment{
  text-align: right;
  margin-top: 1rem;
  margin-right: 1.5rem;
}
.device-color .comment{
  text-align: right;
  margin-top: 1rem;
  margin-right: 1.5rem;
}
.device-color-btn {
    position: relative;
    overflow: hidden;
}
.device-color-btn.current::before {
    background: none;
}
.device-color-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}
.black{
  color: #000!important;
}
.main-text {
  font-size: 1.4rem;
}
.comment-box {
  color: #000;
  margin: 0 2rem;
}
.comment {
  margin-top: 1rem;
}
.contents-menu li {
    width: calc((100% - 4rem) / 3);
  }

@media screen and (max-width:768px) {
.page-head [class*="btn-"] {
    width: 5rem;
}

.page-head .page-title .title-text {
    max-width: 26rem;
    margin: auto;
}

.contents-menu li {
  display: flex;
  width: calc((100% - 2rem) / 2);
}
}

@media screen and (min-width:640px) {
.main-text {
  font-size: 1.6rem;
}
.comment-box {
  margin: 0 2rem 1em;
}
}
@media screen and (min-width:960px) {
.contents-block {
  padding-right: 5rem;
  padding-left: 5rem;
}
.comment-box {
  margin: 0;
}
}
