@media screen and (max-width: 1023px){
header {
padding-top: 60px;
}
.hamburger-menu {
position: fixed;
width: 100%;
top: 0;
left: 0;
margin-bottom: 60px;
height: 60px;
background-color: #fff;
width: 100%;
z-index: 80;
border-bottom: 1px #ccc solid;
}
.hamberger-menu:after {
clear: both;
content: "";
display: block;
}
.site-name {
display: inline;
position: relative;
width: 100%;
}
.site-logo {
padding-left: 46px;
height: 72px;
background-image: url('/image/logo15.svg');
background-size: 28px 28px;
background-repeat: no-repeat;
background-position: 12px 16px;
}
.site-name img {
margin-top: 15px;
max-width:75%;
height: 45%;
}
/* 
hamburger(ハンバーガーアイコン)
=================================== */
.hamburger {
  position: absolute;
  right: 12px;
  top: 10px;
  width: 36px;
  height: 40px;
  cursor: pointer;
  z-index: 300;
  
}

.hamburger__line {
  position: absolute;
  width: 28px;
  height: 3px;
  right: 0;
  background-color: #555;
  cursor: pointer;
  transition: all 0.5s;
}

.hamburger__line--1 {
  top: 9px;
}

.hamburger__line--2 {
  top: 18px;
}

.hamburger__line--3 {
  top: 27px;
}

/*ハンバーガーがクリックされたら*/
.open .hamburger__line--1 {
  transform: rotate(-45deg);
  top: 11px;
  background-color: #fff;
}

.open .hamburger__line--2 {
  opacity: 0;
  background-color: #fff;
}

.open .hamburger__line--3 {
  transform: rotate(45deg);
  top: 11px;
  background-color: #fff;
}

/* 
sp-nav(ナビ)
=================================== */
.sp-nav {
  position: fixed;
  right: -100%; /*ハンバーガーがクリックされる前はWindow右側に隠す*/
  top: 0;
  width: 70%; /* 出てくるスライドメニューの幅 */
  height: 100vh;
  background-color: #333;
  transition: all 0.5s;
  z-index: 200;
  overflow-y: auto; /* メニューが多くなったらスクロールできるように */
}
.sp-nav a {
display: block;
    width: 100%;
    font-size: 15px;
    box-sizing: border-box;
    color:#ffffff;
    text-decoration: none;
    padding: 9px 15px 10px 0;
    position: relative;
}

/*ハンバーガーがクリックされたら右からスライド*/
.open .sp-nav {
  right: 0;
}


/* 
black-bg(ハンバーガーメニュー解除用bg)
=================================== */
.black-bg {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  opacity: 0.3;
  background-color: #333;
  visibility: hidden;
  transition: all 0.5s;
  cursor: pointer;
  z-index: 100;
}

/*ハンバーガーメニューが開いたら表示*/
.open .black-bg {
  opacity: 0.3;
  visibility: visible;
  }
.head-search {
width: 100%;
color: #fff;
margin-top:60px;
position: relative;
}

.head-search form {
padding: 0 10px;
width: 100%;
}
.head-query {
border: solid 1px #fff;
border-radius: 5px;
height: 32px;
line-height: 32px;
padding-left: 4px;
font-size: 16px;
border: 0;
box-shadow: none;
width: 100%;
}
.head-query:focus {
  outline: none;
}
.head-search button[type="submit"] {
position: absolute;
top: 7px;
right: 20px;
height: 18px;
width: 18px;
background: url('../image/glass.svg');
background-size: 16px 16px;
border: 0;
background-repeat: no-repeat;
}
.menu-content ul {
    padding: 12px 10px 0;
}
.menu-content ul li {
    border-bottom: solid 1px #ffffff;
    list-style: none;
    
}
.menu-content ul li a {
    display: block;
    width: 100%;
    font-size: 16px;
    box-sizing: border-box;
    color:#ffffff;
    text-decoration: none;
    padding: 9px 15px 10px 0;
    position: relative;
}
.menu-content ul li a::before {
    content: "";
    width: 7px;
    height: 7px;
    border-top: solid 2px #ffffff;
    border-right: solid 2px #ffffff;
    transform: rotate(45deg);
    position: absolute;
    right: 11px;
    top: 16px;
}
#menu-btn-check:checked ~ .menu-content {
    left: 0%;/*メニューを画面内へ*/
    
}
}
@media screen and (min-width: 1024px) {
header {
padding-top:0px;
}
.hamburger-menu {
position: relative;
top: 0;
left: 0;
margin-left: auto;
margin-right: auto;
height: 118px;
}
.site-name {
display: inline;
position: relative;

}
.site-logo {
padding-left: 48px;
height: 70px;
background-image: url('/image/logo15.svg');
background-size: 28px 28px;
background-repeat: no-repeat;
background-position: 12px 22px;
margin-left: 7%;
}
.site-name img {
margin-top: 19px;
height: 50%;
}
.head-search form {
position: absolute;
top: 17px;
right: 0px;
width: 270px;
display: inline;
margin-right: 7%;
}
.head-query {
position: relative;
background-color: #fff;
padding: 0 8px;
font-size: 16px;
border: 1px solid #adadad;
height: 36px;
box-shadow: none;
border-radius: 5px;
width: 100%;
}
.head-query:focus {
  outline: none;
}

button {
position: absolute;
width: 18px;
height: 18px;
right: 16px;
top:9px;
border: 0;
background: url('../image/glass.svg');
background-size: 18px 18px;
}
#menu-btn-check {
display: none;
}
.menu-content {
background: #555;
}
.menu-content ul {
padding-left: 8px;
margin: 0 auto;
height: 43px;
position: relative;
width: 86%;
max-width: 1400px;
display: flex;
}
.menu-content li {
text-align: center;
line-height: 43px;
border-left: 1px #ccc solid;
}
.menu-content li:last-child {
border-right: 1px #ccc solid;
}
.menu-content a {
padding: 0 10px;
color: #fff;
letter-spacing: 1px;
display:block;
width: 100%;
height: 100%;
}
.menu-content a:hover {
background: #4c8855;
}

}