/*====================
  header
====================*/
/*===== PC・SP =====*/
#benesse-header {
  width: 100%;
  height: 60px;
  line-height: 43px;
  border-bottom: 1px solid #cdcdcd;
}
#benesse-header .benesse-header-inner {
  max-width: 960px;
  width: 100%;
  box-sizing: border-box;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
}
#benesse-header .benesse-header-inner .benesse-header-logo a {
  background: url(/zemi/homestudy/assets/img/logo_benesse.svg) no-repeat center center/contain;
  display: block;
  color: transparent;
}
/*===== PC =====*/
@media only screen and (min-width: 769px), print, tv {
  #benesse-header .benesse-header-inner .benesse-header-logo a {
    width: 100px;
    height: 23px;
    margin-top: 20px;
  }
  #benesse-header .benesse-header-inner .benesse-header-navigation ul {
    display: flex;
  }
  #benesse-header .benesse-header-inner .benesse-header-navigation ul .list-header {
    margin-right: 22px;
  }
  #benesse-header .benesse-header-inner .benesse-header-navigation ul .list-header:last-of-type {
    margin-right: 0;
  }
  .grade__content__video + .grade__content__text {
      margin-top:60px;
      font-size:14px;
      width:420px;
      line-height:1.7
  }
}
/*===== SP =====*/
@media only screen and (max-width: 768px) {
  #benesse-header {
    width: 100%;
    line-height: 0;
    height: 10.6vw;
  }
  #benesse-header .benesse-header-inner {
    padding: 10px;
  }
  #benesse-header .benesse-header-inner .benesse-header-logo a {
    width: 26.26667vw;
    height: 6.26667vw;
    margin: 0 auto;
  }
  .grade__content__video + .grade__content__text {
      margin-top:60px;
      font-size:14px;
      line-height:1.7
  }
}
/*====================
  footer
====================*/
/*===== PC・SP =====*/
#footer .footerInner .logo {
  background: url(/zemi/homestudy/assets/img/logo_benesse.svg) no-repeat center center/contain;
  display: block;
  color: transparent;
}
#footer .footerInner .logo img {
  width: 100%;
  height: 100%;
}
#footer .footerInner .footerNav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
#footer .footerInner .footerNav .item + .item:before {
  content: '｜';
}
#footer .footerInner .footerNav .item a {
  color: #666666;
  text-decoration: none;
}
#footer .footerInner .copyright {
  display: block;
  color: #666666;
  line-height: 1;
}
/*===== PC =====*/
@media only screen and (min-width: 769px), print, tv {
  #footer .footerInner {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
    font-size: 12px;
    line-height: 14px;
    width: 960px;
    margin: 0 auto;
    padding: 30px 0 45px;
  }
  #footer .footerInner .logo {
    width: 143px;
    height: 33px;
    position: relative;
    top: 5px;
    margin-right: 40px;
  }
  #footer .footerInner .footerNav {
    -webkit-box-ordinal-group: 4;
    -ms-flex-order: 3;
    order: 3;
  }
  #footer .footerInner .copyright {
    margin-right: auto;
  }
}
/*===== SP =====*/
@media only screen and (max-width: 768px) {
  #footer .footerInner {
    padding: 8vw 2.66667vw;
    text-align: center;
  }
  #footer .footerInner .logo {
    width: 26.26667vw;
    height: 6.26667vw;
    margin: 0 auto;
  }
  #footer .footerInner .footerNav {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin-top: 8vw;
    font-size: 2.66667vw;
  }
  #footer .footerInner .copyright {
    margin-top: 4vw;
    font-size: 2.4vw;
  }
}

/* font */
@import url('https://fonts.googleapis.com/css?family=Noto+Sans+JP:400,700&display=swap&subset=japanese');

body {
  font-family: "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Hiragino Sans", "ヒラギノ角ゴ ProN W3", "Arial", "メイリオ", "Meiryo", sans-serif;
  font-weight: 400;
}

/* body */
.wrap {
  max-width: 970px;
  margin: 0 auto;
  overflow: hidden;
}


/* -----pc/sp only----- */
@media print, screen and (max-width: 768px) {
  .c-sp-hidden {
    display: none !important;
  }
  .pc-only {
    display: none !important;
  }
  .pc {
    display: none !important;
  }
}
@media print, screen and (min-width: 769px) {
  .c-pc-hidden {
    display: none !important;
  }
  .sp-only {
    display: none !important;
  }
  .sp {
    display: none !important;
  }
}