@charset "UTF-8";
/* CSS Document */
html {
  font-size: 62.5%; /* 16px * 62.5% = 10px */
  width: 100%;
  box-sizing: border-box;
}
body {
  color: #333; /* RGB */
  font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", "メイリオ", sans-serif;
  font-weight: 500;
  font-size: 2.1em;
  line-height: 3.5rem;
  text-align: center;
}
section h2 {
  font-size: 2.4rem;
}
a:hover {
  opacity: 0.5; /* opacity 透明度 */
}
*, *:before, *:after { /*　*は全ての要素に影響を与える。beforeとafterは擬似要素　*/
  box-sizing: border-box;
}
.none {
  display: none;
}
.header {
  height: 55px;
  background-color: #FFFFFF;
  position: relative;
}
.header h1 {
  font-saze: 1.3rem;
  color: #333;
  position: absolute;
  left: 24px;
  top: 10px;
  text-decoration: none;
	z-index: 999;
}
.header h1 a{
	text-decoration: none;
	color: inherit;
	
}
.header img {
  padding-top: 25px;
  height: 75%;
  width: 75%;
}
.header__navigation {
  display: none;
 
}
@media(max-width: 900px) {
  #nav-drawer { /* ハンバーガーアイコン idをセレクタにする時は#を使う */
    padding: 10px 24px 0 0;
    text-align: right;
    position: relative;
    margin-bottom: 15px
  }
  #nav-open {
    display: inline-block;
    vertical-align: middle;
    width: 25px;
    height: 22px;
  }
  #nav-open span, #nav-open span:before, #nav-open span:after {
    position: absolute;
    height: 3px;
    width: 25px;
    background-color: #777;
    display: block;
    content: "";
  }
  #nav-open span:before {
    bottom: -8px;
  }
  #nav-open span:after {
    bottom: -16px;
  }
  #nav-close {
    z-index: 999; /* 大きな数字をいれただけで数字の意味はない */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    opacity: 0;
  }
  #nav-content {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999; /* 大きな数字をいれただけで数字の意味はない */
    width: 70%;
    height: 100%;
    background-color: #969696;
    text-align: left;
    padding: 15px 0 0 24px;
    transform: translateX(-105%);
    transition: 0.3s ease-in-out;
  }
  .nav-drawer__title {
    display: block;
    font-size: 1.2rem;
    font-weight: 600; /* 500が普通の太さ。600だと太字。このサイトで使用しているフォントではそのようになる */
    color: #FFF;
    margin-bottom: 46px;
  }
  .nav-drawer__link-top {
    display: block;
  }
  #nav-content ul li {
    margin-bottom: 36px;
  }
  #nav-content ul li a {
    text-decoration: none;
    font-size: 1.6rem;
    font-weight: 600;
    color: #FFF;
  }
  #nav-input:checked ~ #nav-close { /* nav-input:checked tapすると黒いエリアが発動する　~同じ階層にあるこのを選ぶことができる　*/
    display: block;
  }
  #nav-input:checked ~ #nav-content {
    transform: translateX(0%);
    box-shadow: 5px 0 25px rgba(0, 0, 0, 0.55);
  }
}
@media(min-width: 900px) { /* レスポンシブ対応のための記述.最小の幅などを設定している*/
  .header {
    max-width: 1200px;
    margin: 0 auto;
    min-height: 100px;
    padding: 50px;
    box-sizing: border-box;
  }
  .header h1 {
    font-size: 2rem;
    top: 50%;
	  text-decoration: none;
  }
  .header__navigation {
    display: block;
    text-align: right;
  }
  .header__navigation ul li {
    display: inline-block;
    margin-left: 20px;
  }
  .header__navigation ul li a {
    text-decoration: none;
    font-size: 2rem;
    font-weight: 600;
    color: #333;
  }
}
#scroll-top {
  background-color: #eee;
  opacity: 0.6;
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 10px; 
}
#scroll-top a {
  text-decoration: none;
  color: #333;
}