top.scss 4.4 KB
// compileCompressed: ./$1.css

@import "../common/css/mixin_style";

#hero{
  .container{
    padding-top: 9em;
    background: url(/img/top/hero.jpg) no-repeat top right;
    min-height: 600px;
    max-width: 1170px;
    @media only screen and (max-width: 1180px){
      max-width: none;
      width: 100%;
    }
    @media only screen and (max-width: 1110px){
      background: url(/img/top/hero.jpg) no-repeat top right -20%;
    }
    @media only screen and (max-width: 767px){
      position: relative;
      background-position: top center;
      &:before{
        content: "";
        display: block;
        width: 100%;
        height: 100%;
        background-color: rgba(255,255,255,0.70);
        position: absolute;
        left: 0;
        top: 0;
        z-index: 0;
      }
    }
  }
  h1{
    text-align: center;
    display: table;
    z-index: 2;
    position: relative;
    @media only screen and (max-width: 1180px){
      padding-left: 5%;
    }
    @media only screen and (max-width: 767px){
      display: block;
    }
    img{
      margin-bottom: 1em;
      width: 140.5px;
    }
    p{
      font-size: 1.3rem;
      @include transformFont();
      line-height: 180%;
    }
    p.catch{
      font-size: 2.2rem;
      color: #62bcc3;
      margin-bottom: 20px;
    }
  }
}

section#what_is_life_up,
section#life{
  h2{
    margin-bottom: 2.2em;
  }
  >.flex{
    align-items: center;
    >div{
      @media only screen and (max-width: 767px){
        img{
          max-width: 100%;
        }
      }
    }
    >div:nth-child(1){
      width: 55%;
      @media only screen and (max-width: 767px){
        width: 100%;
        text-align: center;
      }
    }
    >div:nth-child(2){
      width: 45%;
      padding-left: 4em;
      @media only screen and (max-width: 767px){
        width: 100%;
        padding-left: 0;
        text-align: center;
        margin-top: 1em;
      }
    }
  }
}

#news{
  margin-top: 4.0em;
  @media only screen and (max-width: 1060px){
    padding-left: 3%;
    padding-right: 3%;
  }
  h2{
    background-color: #62bcc3;
    color: #fff;
    font-size: 1.2rem;
    letter-spacing: 1px;
    line-height: 150%;
    padding: 14px 10px 9px 10px;
    text-align: center;
    width: 14%;
    border-top-left-radius:24px;
    border-bottom-left-radius: 24px;
    span{
      display: block;
      @include transformFont();
    }
    @media only screen and (max-width: 767px){
      border-bottom-left-radius: 0;
      border-top-right-radius:24px;
      width: 100%;
    }
  }
  dl{
    background-color: #f4f4f4;
    padding: 12px 30px;
    width: 86%;
    border-top-right-radius:24px;
    border-bottom-right-radius: 24px;
    @media only screen and (max-width: 767px){
      width: 100%;
      border-top-right-radius:0;
      border-bottom-left-radius: 24px;
    }
    dt{
      padding-right: 30px;
      font-family: 'Roboto Condensed', sans-serif;
      font-weight: bold;
    }
    dt,dd{
      font-size: 1.3rem;
    }
  }
}

#what_is_life_up{
  margin-top: 5.0em;
  @media only screen and (max-width: 1060px){
    padding-left: 3%;
    padding-right: 3%;
  }
  @media only screen and (max-width: 767px){
    margin-top: 5em;
  }
  h2{
    img{
      @media only screen and (max-width: 767px){
        width: 300px;
      }
    }
  }
}

#life{
  margin-top: 3.0em;
  @media only screen and (max-width: 1060px){
    padding-left: 3%;
    padding-right: 3%;
  }
  @media only screen and (max-width: 767px){
    margin-top: 5em;
  }
  >.flex{
    >div:nth-child(2){
      padding-left: 0;
    }
  }
  h2{
    img{
      @media only screen and (max-width: 767px){
        width: 220px;
      }
    }
  }
}

#interview{
  position: relative;
  padding-top: 70px;
  margin-top: 3.0em;
  @media only screen and (max-width: 767px){
    padding-top: 35px;
  }
  h2{
    position: absolute;
    top: 0;
    left: 2em;
    img{
      @media only screen and (max-width: 767px){
        width: 99.5px;
      }
    }
  }
  .bg{
    background-color: #f4f4f4;
    color: #8d8d8d;
    font-size: 3.6rem;
    font-family: 'Roboto Condensed', sans-serif;
    text-align: center;
    padding: 4.2em 0;
    font-weight: bold;
  }
}

#ft_img{
  text-align: center;
  margin-top: 20px;
  background: url(/img/top/ft_img.jpg) no-repeat top center;
  overflow-x:hidden;
  @media only screen and (max-width: 767px){
    background: none;
  }
  img{
    opacity: 0;
    max-width: 100%;
    @media only screen and (max-width: 767px){
      opacity: 1;
    }
  }
}