@charset "UTF-8";

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 100%;
}
body {
  color: #383e45;
  font-size: 0.9rem;
}
a {
  text-decoration: none;
}
img {
  max-width: 100%;
}
li {
  list-style: none;
}

.wrapper {
  width: 100%;
  max-width: 960px;
  padding: 0 4%;
  margin: 0 auto;
}

.site-title {
  width: 120px;
  line-height: 1px;
  margin: 10px;
}

.site-title a {
  display: block;
}

.section-title {
  font-size: 2.2rem;
  font-weight: bold;
  border-bottom: 1px solid #383e45;
  display: inline-block;
  margin-bottom: 60px;
}

.fade {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}
.fade.active {
  opacity: 1;
  transform: translateY(0);
}

/*  -----
header 
-----*/

#header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#nav .nav-list {
  display: flex;
  gap: 30px;
}

#nav .nav-list a {
  color: #24292e;
  transition: opacity 0.5s;
}

#nav .nav-list a:hover {
  opacity: 0.5;
}

/*  -----
mainvisual
-----*/

#mainvisual {
  margin-bottom: 80px;
}

#mainvisual img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  object-position: center;
}

/*  -----
about
-----*/

#about {
  text-align: center;
  margin-bottom: 100px;
}

#about .content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
}

#about img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
}

#about .text {
  text-align: left;
  margin-bottom: 10px;
}

/*  -----
bicycle
-----*/

#bicycle {
  text-align: center;
  margin-bottom: 100px;
}

#bicycle .content-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 17px;
}

#bicycle .content-list img {
  margin-bottom: 10px;
}

#bicycle .content-title {
  margin-bottom: 10px;
}

.content-list li img {
  transition:
    transform 0.3s ease,
    opacity 0.3s;
}

.content-list li:hover img {
  transform: translateY(-10px);
  opacity: 0.8;
}

.content-list li .content-title,
.content-list li p {
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}
.content-list li:hover .content-title,
.content-list li:hover p {
  opacity: 1;
  transform: translateY(0);
}

/*  -----
footer
-----*/

#footer {
  text-align: center;
  margin: 10px auto;
}

#footer .copyright {
  font-size: 0.5rem;
}

/*  -----
SP
-----*/

@media screen and (max-width: 600px) {
  #about .content {
    flex-direction: column;
    gap: 10px;
  }

  #bicycle .content-list {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}
