content01.scss 3.32 KB

header{
  position: static;
  padding: 10px 0 6px 0;
  .logo{
    text-align: center;
  }
}
main{
  @media only screen and (max-width: 767px){
    padding-left: 3%;
    padding-right: 3%;
  }
  .container{
    max-width: 970px;
  }
  h1{
    font-weight: normal;
    color: #62bcc3;
    font-size: 3.4rem;
    @media only screen and (max-width: 767px){
      font-size: 2.2rem;
    }
    p{
      border-bottom: 2px #62bcc3 solid;
      padding-bottom: 15px;
    }
    p.small{
      font-size: 2.8rem;
      margin-bottom: 8px;
      margin-top: 20px;
      @media only screen and (max-width: 767px){
        font-size: 1.8rem;
      }
    }
    p.big{
      margin-bottom: 20px;
    }
  }
  p.catch{
    font-size: 2.0rem;
    @media only screen and (max-width: 767px){
      font-size: 1.8rem;
      line-height: 1.7;
    }
  }
  p.writer{
    font-size: 1.2rem;
    text-align: right;
    @media only screen and (max-width: 767px){
      margin-top: 2.0rem;
    }
  }
  .block{
    margin-top: 4.0rem;
    h2{
      background-color: #62bcc3;
      color: #fff;
      padding: 8px;
      font-size: 2.2rem;
      margin-bottom: 20px;
    }
    p{
      font-weight: 300;
      line-height: 1.7;
    }
    p.note{
      font-size: 1.2rem;
    }
  }
  #firstSection{
    >div:nth-child(1){
      width: 26%;
      @media only screen and (max-width: 767px){
        width: 100%;
        order: 2;
      }
    }
    >div:nth-child(2){
      width: 71%;
      @media only screen and (max-width: 767px){
        width: 100%;
      }
    }
    .prof{
      margin-bottom: 30px;
      @media only screen and (max-width: 767px){
        figure{
          text-align: center;
        }
      }
      p{
        font-size: 1.3rem;
        line-height: 1.7;
      }
      p.name{
        font-size: 1.8rem;
      }
    }
    #healsio{
      >div:nth-child(1){
        width: 62%;
        @media only screen and (max-width: 767px){
          width: 100%;
        }
      }
      >div:nth-child(2){
        width: 35%;
        @media only screen and (max-width: 767px){
          width: 100%;
          margin-bottom: 20px;
          figure{
            text-align: center;
            margin-top: 20px;
          }
        }
      }
    }
  }
  #energy{
    margin-top: 40px;
    >div:nth-child(1){
      width: 35%;
      @media only screen and (max-width: 767px){
        width: 100%;
        margin-bottom: 20px;
      }
    }
    >div:nth-child(2){
      width: 62%;
      @media only screen and (max-width: 767px){
        width: 100%;
      }
    }
  }
  #comment{
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 40px;
    >div{
      width: 42.5%;
      @media only screen and (max-width: 767px){
        width: 100%;
      }
      img{
        margin-left: 30px;
      }
      p.remark{
        padding: 40px 20px 10px 20px;
        position: relative;
        &:before{
          content: "";
          display: block;
          border:2px #62bcc3 solid;
          width: 100%;
          height: 100%;
          position: absolute;
          left: 0;
          top: 20px;
        }
      }
    }
  }
  .contact{
    p{
      font-size: 1.4rem;
      line-height: 1.7;
      margin-top: 40px;
    }
  }
  .back{
    text-align: center;
    margin-top: 40px;
    @media only screen and (max-width: 767px){
      img{
        max-width: 100%;
      }
    }
  }
}