@media (max-width: 1750px) {
  .inner-wide {
    padding: 0 30px;
  }
}
@media (max-width: 1600px) {
  .header-right nav a {
    padding: 8px 8px;
  }
  .header-right .tel {
    margin: 0 1.5rem 0 1rem;
  }

  .logo {
    padding: 1.5rem 0 0 2rem;
  }
}
@media (max-width: 1470px) {
  .sectionttl h2 {
    font-size: 30px;
  }

  .inner-narrow {
    padding: 0 30px;
  }
}
@media (max-width: 1400px) {
  .siteheader.fix .header-right nav a {
    padding: 7px;
  }

  .header-right nav a {
    padding: 7px;
  }
  .header-right > li {
    padding: 1rem 0.5rem;
  }
  .header-right .tel, .header-right .emailli {
    font-size: 20px;
  }
}
@media (max-width: 1280px) {
  .inner-wide,
  .inner-narrow {
    padding: 0 20px;
  }

  .siteheader.fix .logo .red {
    font-size: 16px;
  }
  .siteheader.fix .header-right .tel {
    margin: 0 1rem 0 1rem;
  }

  .logo .red {
    font-size: 16px;
  }

  .header-right nav li {
    margin: 0 5px;
  }
  .header-right span.ja {
    font-size: 12px;
  }
  .header-right span.en {
    font-size: 15px;
  }

  .siteheader.fix .header-right nav a {
    padding: 0 5px;
  }

  .header-right .tel {
    margin: 0 1rem 0 1rem;
  }
}
@media (max-width: 1150px) {
  .logo::before {
    display: none;
  }

  .l-anchor {
    right: 1.57143%;
  }

  .logo {
    padding: 0.5rem 0 0.5rem 2rem;
  }

  .perspective {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }

  .header-right {
    padding-right: 0;
  }
  .header-right .tel a {
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
  .header-right .tel span {
    margin-top: 10px;
  }
  .header-right .emailli a {
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    border: none;
  }
  .header-right .emailli span {
    margin-top: 10px;
  }
  .header-right nav {
    display: none;
  }
  .header-right > li a {
    padding: 0.5rem;
  }

  .siteheader {
    background: rgba(0, 0, 0, 0.8);
  }
}
@media (max-width: 1024px) {
  a.readmore {
    width: 180px;
  }
}
@media (max-width: 750px) {
  .sectionttl h4 {
    margin-bottom: 40px;
  }

  .header-right .emailli a.bg-red:hover {
    background: transparent;
  }

  .siteheader.fix .header-right .tel {
    margin: 0 1.2rem;
  }
  .siteheader.fix .header-right > li a {
    padding: 0;
  }

  .header-right > li {
    width: auto;
    min-width: auto;
  }
  .header-right > li a {
    padding: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
  .header-right > li svg {
    width: 1.9rem;
    height: 1.9rem;
  }

  .emailli a {
    height: 100%;
    background: transparent;
  }
  .emailli span {
    display: none !important;
  }

  .header-right .tel {
    margin: 0 1.2rem;
  }
  .header-right .tel img {
    margin-right: 0;
  }
  .header-right .tel span {
    display: none;
  }
  .header-right .tel div {
    display: none;
  }

  .footer-box .footerlogo {
    margin: 1.2rem 0;
  }

  .footer-box {
    padding: 10px 0;
  }
  .footer-box .footer-contact .tel {
    text-align: center;
    margin: 0;
  }
  .footer-box .footer-contact .tel a {
    margin: auto;
  }
  .footer-box .footer-contact .emailli {
    display: none;
  }
  .footer-box .footer-nav {
    display: none;
  }

  .homebanners .cols > div {
    height: auto;
  }

}
@media (max-width: 420px) {
  .logo span:first-child {
    font-size: 15px;
  }

  .logo span:last-child {
    font-size: 4vw;
}

  .ttlBar {
    height: 70px;
  }

  .logo {
    padding: 0.5rem 0 0.5rem 1.2rem !important;
    text-align: left;
}

  .sectionttl h2 {
    font-size: 25px;
  }
}
@media (max-width: 400px) {
    .logo {
    max-width: 160px;
}
    
  .perspective {
    width: 55px;
  }

  .perspective span, .perspective span::before, .perspective span::after {
    width: 28px;
  }
}
@media (max-height: 600px) {
  .drop-down-menu nav {
    height: 300px;
    overflow-y: auto;
  }
}
@media (max-height: 450px) {
  .drop-down-menu nav {
    height: 240px;
    overflow-y: auto;
  }
}
@media (max-height: 400px) {
  .drop-down-menu nav {
    height: 200px;
    overflow-y: auto;
  }
}
