@charset "UTF-8";

/* --------------------------------
 * base
 * -------------------------------- */
html {
  font-size: 62.5%;
}
body {
  padding: 30px;
  background-color: #f6f7fb;
  color: #333;
  font-size: 1.2rem;
  font-family: "Hiragino Kaku Gothic ProN",  Meiryo,  sans-serif;
}
*, *::before, *::after {
  box-sizing: border-box;
}
a:link, a:visited, a:hover, a:active {
  color: #7C5119;
  text-decoration: none;
}


/* --------------------------------
 * item
 * -------------------------------- */
.item {
  width: 180px;
  margin-bottom: 4px;
  padding: 8px;
  border-bottom: 3px solid;
  border-radius: 5px;
  background-color: #fff;
}
.item .image {
  display: block;
  width: 100%;
  height: 109px;
}
.item .category {
  margin: 15px 9px 10px;
  color: #aaa;
  letter-spacing: 1px;
  font-family: "Trebuchet MS", "Hiragino Kaku Gothic ProN",  Meiryo,  sans-serif;
}
.item .category::before {
  content: '';
  display: inline-block;
  width: 19px;
  height: 19px;
  margin-right: 5px;
  border: 2px solid;
  border-radius: 50%;
  vertical-align: -5px;
}
.item .description {
  margin: 10px;
  line-height: 1.5;
}
.item > a {
  display: block;
  margin: -8px -8px -11px;
  padding: 8px 8px 11px;
  border-radius: inherit;
  color: #777;
  transition: all 0.3s;
}
.item > a:hover {
  box-shadow: 0 0 6px -1px rgba(0, 0, 0, 0.3);
  opacity: 0.8;
}
.item-pink,
.item-pink .category::before {
  border-color: #FFC0CB;
}
.item-green,
.item-green .category::before {
  border-color: #76C047;
}
.item-yellow,
.item-yellow .category::before {
  border-color: #FFF100;
}
.item-blue,
.item-blue .category::before {
  border-color: #C1EFFF;
}
.item-m {
  width: 364px;
}
.item-m .image {
  height: 146px;
}
.item-l {
  width: 732px;
}
.item-l .image {
  height: 403px;
}


/* --------------------------------
 * header
 * -------------------------------- */
.header {
  padding: 25px 0;
  border-bottom: none;
  text-align: center;
}
.logo {
  width: 136px;
  height: 136px;
  transition: -webkit-transform 0.3s;
  transition: transform 0.3s;
}
.logo:hover {
  -webkit-transform: rotate(360deg);
  transform: rotate(360deg);
}
.nav {
  margin: 35px auto 10px;
}
.nav-item {
  margin-top: 20px;
  text-align: center;
  letter-spacing: 1px;
  font-weight: bold;
  font-size: 1.3rem;
}
.nav-item a {
  display: inline-block;
}
.nav-item a::after {
  content: '';
  display: block;
  width: 0;
  margin: 6px auto 0;
  border-bottom: 1px solid #7C5119;
  transition: width 0.3s ease-in-out;
}
.nav-item a:hover::after {
  width: 100%;
}


/* --------------------------------
 * challenge
 * -------------------------------- */
/*
.item {
  overflow: hidden;
}
.item > a::before {
  content: '';
  position: absolute;
  top: 8px;
  right: 8px;
  left: 8px;
  display: block;
  height: 109px;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.3s linear;
}
.item-m > a::before {
  height: 146px;
}
.item-l > a::before {
  height: 403px;
}
.item > a:hover::before {
  opacity: 1;
}
.item > a::after {
  content: 'MORE';
  position: absolute;
  top: 43.5px;
  left: 150%;
  display: block;
  width: 100px;
  margin-left: -50px;
  padding: 8px;
  border: 3px solid #fff;
  color: #fff;
  text-align: center;
  letter-spacing: 3px;
  font-size: 1.6rem;
  font-family: "Trebuchet MS", "Hiragino Kaku Gothic ProN",  Meiryo,  sans-serif;
  opacity: 0;
  transition: all 0.3s ease-in-out;
}
.item-m > a::after {
  top: 62px;
}
.item-l > a::after {
  top: 190.5px;
}
.item > a:hover::after {
  left: 50%;
  opacity: 1;
}
*/
