/* CSS Document */
* {
  box-sizing: border-box;
}
body{margin: 0;}
/*body {
  margin: 0;
  font-family: "Hiragino Sans W3", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  background-color: #f0f8ff;
}*/

header {
  height: 60px;
  width: 100%;
  padding: 0px 15px;
  background-color: #000000;
  position: fixed;
  top: 0;
  z-index: 10;
  display: flex;
}

.logo img {
  height: 30px;         /* ヘッダー内で中央に見えるように高さを調整 */
  margin: 15px 10px;/* 上下マージン自動で縦中央に近づける */
  display: block;       /* 余計な余白を防ぐため */
}

nav {
  margin: 0 0 0 auto;
}

ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
}

header a {
  color: #ffffff;
  text-decoration: none;
  display: block;
  line-height: 50px;
  margin:8px 18px;
}

.sm {
  display: none;
}
.pc{color: #ED5355!important;}

/**********************************　
以下、ハンバーガーメニューの設定　
************************************/

@media screen and (max-width: 1220px) {

  .pc {
    display: none;
  }

  #hamburger {
    background-color: transparent;
    position: relative;
    cursor: pointer;
    margin: 0 0 0 auto;
    height: 60px;
    width: 60px;
  }

  .icon span {
    position: absolute;
    left: 15px;
    width: 30px;
    height: 4px;
    background-color: white;
    border-radius: 8px;
    transition: ease 0.75s;
  }

  .icon span:nth-of-type(1) {
    top: 16px;
  }
  .icon span:nth-of-type(2) {
    top: 28px;
  }
  .icon span:nth-of-type(3) {
    bottom: 16px;
  }

  .close span:nth-of-type(1) {
    transform: rotate(45deg);
    top: 28px;
  }

  .close span:nth-of-type(2) {
    opacity: 0;
  }

  .close span:nth-of-type(3) {
      transform: rotate(-45deg);
      top: 28px;
  }

  .sm {
      top: 60px;
      left: 0px;
      position: absolute;
      z-index: 10;
      width: 100%;
      background-color: rgba(34, 49, 52, 0.9);
  }

  ul {
    flex-direction: column;
  }

 header a {
    text-align: center; 
    border-top: solid 0.5px rgba(255, 255, 255, 0.6);
	margin: 0;
	 line-height: 70px;
  }
}
@media screen and (max-width: 600px) {
.logo img {
  height: auto;         /* ヘッダー内で中央に見えるように高さを調整 */
width:300px;
  margin: 17px 10px;/* 上下マージン自動で縦中央に近づける */

}
}


@media screen and (max-width: 410px) {
.logo img {
  height: auto;         /* ヘッダー内で中央に見えるように高さを調整 */
width:260px;
  margin: 19px 6px;/* 上下マージン自動で縦中央に近づける */

}
}
