@charset "utf-8";

.title {
  height: 310px;
  background-image: url(../img/selfcheck-bg.jpg);
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #ffff;
  text-shadow: 1px 1px 10px #242424;
}
.title h1 {
  font-family: 'Montserrat',sans-serif;
  font-size: 1.8rem;
  font-weight: bold;
}
.title p {
  font-size: 14px;
  margin-top: 15px;
}
.color-text h2 {
  font-size: 32px;
}
.color-contents {
  width: 1080px;
  max-width: 90%;
  margin-top: 75px;
  margin-left: auto;
  margin-right: auto;
}

.color-text {
  flex-grow: 1;
  max-width: 950px;
  padding-top: -100px;
  padding-top: 100px;
}
.color-text h2 {
  font-size: 40px;
  font-weight: bold;
  line-height: 10px;
  margin-top: 30px;
}
.color-text h2::after {
  content: '';
  display: block;
  width: 36px;
  height: 3px;
  background-color: #242424;
  margin-top: 30px;
}
.color-area {
  margin-top: 25px;
  display: flex;
}

.color-area img {
  width: 50%;
  max-width: 300px;
}
.about-color {
  margin-left: 30px;
}
.about-color {
  font-size: 1.3rem;
  line-height: 2rem;
}

/* メディア */
@media (max-width: 800px){
  .color-area {
    display: block;
    max-width: 100%;
    margin-top: 60px;
  }
  .color-text{
    min-width: 540px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
  }
  .color-area {
    display: block;
  }
  .color-area img {
    width: 100%;
    max-width: 100%;
  }
  .footer {
    margin-top: 0;
  }


}