@charset "utf-8";
/* CSS Document */

/* ===================================
PC表示
=================================== */
@media screen and (min-width: 751px) {
  /* ヘッダーロゴ */
  #headerContents h1 a {
    background: url(../img/logo.svg) no-repeat 0 0 / contain;
    margin: 10px 0 0 5px;
    width: 280px;
    height: 60px;
  }
  .headerTelBox .tel {
    position: relative;
  }
  .headerTelBox .tel::after {
    content: 'ニッセンレン宅建（日専連パシフィック不動産部）';
    position: absolute;
    top: -12px;
    right: -10px;
    width: 110%;
    font-size: 11px;
  }
  /* フッターロゴ */
  footer .logo a {
    background: url(../img/logo.svg) no-repeat 0 0 / contain;
    margin: 0px 0 14px 0px;
    width: 300px;
    height: 60px;
  }
  footer .contactBox {
    margin-top: 25px;
  }
  footer .contactBox .tel {
    position: relative;
  }
  footer .contactBox .tel::after {
    content: 'ニッセンレン宅建（日専連パシフィック不動産部）';
    position: absolute;
    top: -12px;
    left: 20px;
    font-size: 11px;
  }

  /* フッターナビメニュー */
  #fNav {
    padding-top: 20px;
  }
  #fNav ul {
    text-align: right;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
  }
}

@media screen and (max-width: 1340px) {
  /* ヒーロー画像 */
  #Wrap #hero li:nth-child(1) {
    background-image: none;
  }
}

/* ===================================
SP表示
=================================== */
@media screen and (max-width: 750px) {
  #headerContents h1 a {
    background: url(../img/logo.svg) no-repeat 0 0 / contain;
    width: 200px;
    height: 40px;
    text-indent: -9999px;
    display: block;
    float: left;
    margin: 11px 0 0;
  }
  footer .logo a {
    background: url(../img/logo.svg) no-repeat 0 0 / contain;
    margin: 30px 0 20px;
    width: 280px;
    height: 54px;
  }
  footer .contactBox {
    margin-top: 25px;
  }
  footer .contactBox .tel {
    position: relative;
  }
  footer .contactBox .tel::after {
    content: 'ニッセンレン宅建（日専連パシフィック不動産部）';
    position: absolute;
    top: -12px;
    left: 20px;
    width: 110%;
    font-size: 11px;
  }
  /* ヒーローエリア */
  #Wrap .txtArea .slogan {
    font-size: 5vw;
    font-size: min(40px, 7.5vw);
    line-height: 1.8;
    padding: 0 15px;
  }
  #Wrap .txtArea .slogan img {
    width: calc(100% - 1.3em);
    margin: 0 0.3em 0 0;
  }
}
