body{
  color:#333;
  font-family:Verbana,sans-serif;
  margin:0;
}

header{
  text-align:right;
  padding:10px;
  background-image: url(../img/hourensou.jpg);
  height: 150px;
  background-size: cover;
  background-position: 50% 50%;
  margin-bottom:60px;
}

header ul{
  margin:0;
  list-style-type: none;
  padding-left:0;
}

header li{
  display:inline-block;
  /* ↑左につめる配置にするとき */
  padding:4px 8px;
  font-size: 12px;
}

header li > a{
  text-decoration: none;
  color:inherit;
}
/* inheritで強制的に親要素（body）の設定を引き継ぐ */
/* header li > a は 、header内にあるすべてのli要素の直下にあるa要素ということ */
/* 半角空白で区切ると「header内のすべての要素」、不等号記号で区切るとこの要素の直下にあるa要素という意味 */

header li > a:hover{
  color:royalblue;
}
/* a:hoverとはaにマウスカーソルが乗ったとき */

.current{
  border-bottom: 4px solid royalblue;
}

section{
  text-align:center;
}

section h1{
  font-weight: normal;
  margin-bottom: 8px;
}

section p{
  margin-top: 0;
  font-size:14px;
}

.icon{
  border-radius: 50%;
  /* border-color: white;
  border-width: 5px;
  border-style: solid; */
  border: 5px solid white;
  /* box-shadow: x y blur color */
  /* box-shadow: 10px 10px 5px black; */
  box-shadow: 0 0 5px gray;
}

.works{
  width: 400px;
  /* margin-left: auto;
  margin-right: auto; */
  margin:60px auto;
  border-bottom: 1px solid gray;
}
/* marginこれは上下に60左右にauto */

.works > section{
  margin-bottom:40px;
}

/* .works h1,{
  text-align:left;
}

.works p{
  text-align:left;
} */

.works h1,
.works p{
  text-align:left;
}

footer{
  width: 400px;
  margin:0 auto 60px;
}

footer ul{
  margin:0;
  list-style-type: none;
  padding-left:0;
  float:left;
}
/* froatとは通常の要素より浮かせて配置するという意味 */

footer li{
  display:inline-block;
  /* ↑左につめる配置にするとき */
}


footer li > a:hover{
  opacity: 0.6;
}
/* a:hoverとはaにマウスカーソルが乗ったとき。これは画像の透明度60% */

footer p{
  color: lightgray;
  font-size: 14px;
  text-align: right;
}

.about{
  width: 400px;
  margin:0 auto 60px;
  border-bottom: 1px solid gray;
}

.about p {
  text-align: left;
}
