<section class="s-4">
    <div class="container">
      <header id="head4" class="inner">
        <div class="h-wrapper4">
          <h1 class="logo4">
            <a href="index.html">
              <img src="#" alt="ロゴ画像">
            </a>
          </h1>
          <nav class="nav-wrapper4">
            <ul class="nav-lists4">
              <li><a href="#news">NEWS</a></li>
              <li><a href="#about">ABOUT</a></li>
              <li><a href="#business">BUSINESS</a></li>
              <li><a href="#company">COMPANY</a></li>
              <li class="contact-btn"><a href="#">お問い合わせ</a></li>
            </ul>
          </nav>
        </div>
      </header>
    </div>
  </section>
*{
  box-sizing: border-box;
}

h1,h2,h3,h4,h5,h6,p{
  margin: 0;
  padding: 0;
  font-size: 100%;
  font-weight: 400;
}

li {
  list-style: none;
}

ul,ol{
  margin: 0;
  padding: 0;
  list-style-type: none;
}

a {
  text-decoration: none;
  color: rgb(0, 0, 0);
  transition: 0.6s;
  -webkit-transition: 0.6s;
  -moz-transition: 0.6s;
  -ms-transition: 0.6s;
  -o-transition: 0.6s;
}

html,body{
  width: 100%;
  margin: 0 auto;
  padding: 0;
  text-align: center;
  font-size: calc((100vw - 770px) / 325 + 14px);
  font-family: 'Noto Sans JP', sans-serif;
}

@media screen and (min-width:768px) {
.sp{
  display: none;
}
}

@media screen and (max-width:767px) {
.pc{
  display: none;
}
}

.container{
  max-width: 1500px;
  margin: 0 auto;
}

@media screen and (max-width:767px) {
    section{
        padding: 20px 0 0 0;
    }
}

.header-wrap {
  width: 100%;
}
  
  #head4 {
  height: 80px;
  background-color: rgb(247, 241, 241);
}

.h-wrapper4 {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo4 {
  width: 180px;
  padding-left: 20px;
    /* 画像入れたら削除でOK */
    height: 50px;
    background-color: rgb(158, 155, 155);
}

.logo4 img {
  display: block;
  width: 100%;
  object-fit: cover;
}

.nav-lists4 {
  display: flex;
  text-align: center;
  justify-content: space-between;
}

.nav-lists4 li a{
  display: block;
  line-height: 80px;
  padding: 0 20px;
}

.nav-lists4 li a:not(.contact-btn a):hover::before {
  content: "";
  width: 60%;
  height: 3px;
  background-color: rgb(37 162 228);
  position: absolute;
  bottom: 22%;
  left: 50%;
  transform: translateX(-50%);
}

.nav-lists4 li a:hover {
  transform: scale(1.1, 1.1);
}

.contact-btn {
  border-radius: 5px;
  background-color: rgb(0, 0, 0);
  text-align: center;
  margin-left: 5px;
}

.contact-btn a {
  height: 80px;
  line-height: 80px;
  color: rgb(255, 255, 255);
  font-size: 1rem;
  display: block;
}

.contact:hover {
  background-color: rgb(51, 51, 51);
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.