@charset "utf-8";

html {
  font-size: 100%;
}
body {
  color: #383e45;
  font-size: 0.9rem;
  font-family: Lato, sans-serif;
}
a {
  text-decoration: none;
  color: #383e45;
}
img {
  max-width: 100%;
}
li {
  list-style: none;
}
.site-title {
  width: 120px;
  line-height: 1px;
  padding: 10px 0;
}
.site-title a {
  display: block;
}
.section-title {
  display: inline-block;
  font-size: 2rem;
  margin-bottom: 60px;
  border-bottom: solid 1px #383e45;
}
.content-title {
  font-size: 1rem;
  margin: 10px 0;
}
.wrapper {
  max-width: 960px;
  margin: 0 auto 100px;
  padding: 0 4%;
  text-align: center;
}

/* header */
#header {
  display: flex;
  justify-content: space-between;
  height: 200px;
  margin: 0 auto;
}
#header .site-title {
  display: flex;
  width: 250px;
  margin-top: 40px;
}
#header .site-title .storename {
  font-size: 36px;
  margin: 45px 0 0 5px;
}
#header ul {
  display: flex;
  padding: 10px 0;
  margin-top: 150px;
}
#header li {
  margin-left: 45px;
}
#header li a {
  color: #24292e;
}
#header li a:hover {
  opacity: 0.7;
}

/* mainvisual */
#mainvisual {
  margin-bottom: 80px;
}
#mainvisual img {
  width: 100%;
  max-width: 1920px;
  height: 500px;
  object-fit: cover;
}

/* news */
#news dl {
  display: flex;
  flex-wrap: wrap;
  border-top: solid 1px #c8c8c8;
  margin-bottom: 20px;
}
#news dt {
  width: 20%;
  border-bottom: solid 1px #c8c8c8;
  padding: 15px;
}
#news dd {
  width: 80%;
  border-bottom: solid 1px #c8c8c8;
  padding: 15px;
  text-align: left;
}


/* service */
#service {
  background-color: #fff;
  padding-bottom: 80px;
}
#service .link {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}
#service .link .item {
  width: 30%;
  border: solid 1px #121212;
  display: block;
  font-size: 0.875rem;
  position: relative;
  padding: 50px 0;
  text-align: center;
  transition: 0.1s;
}
#service .link .item::before {
  content: "";
  border-top: 20px solid transparent;
  border-right: 20px solid #121212;
  position: absolute;
  right: 4px;
  bottom: 4px;
}
#service .link .item:hover {
  outline: solid 3px #121212;
}
#service .link .item {
  font-size: 18px;
  line-height: 0.9;
}
#service .link .item .text {
  font-size: 12px;
}
#service .link .item img {
  margin-bottom: 5px;
}

/* bicycle */
#bicycle {
  max-width: 1240px;
  padding: 100px 16px 50px 16px;
  margin: -50px auto 10px auto;
}
#bicycle .grid {
  display: grid;
  gap: 26px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
#bicycle .grid .item {
  transition: all  0.3s ease;
  box-shadow: 0 0 8px 4px #ccc;
}
#bicycle .grid img {
  vertical-align: top;
  height: 300px;
}
#bicycle .grid .item-content {
  padding: 30px;
}
#bicycle .grid .item-cat {
  font-weight: bold;
  margin-bottom: 20px;
}
#bicycle .grid .item-text {
  font-size: 0.7rem;
  margin-bottom: 20px;
}

/* access */
#access {
  margin-top: 20px;
}
#access .location-img {
  background-image: url(../img/location.jpg);
  position: relative;
}
#access .item-map {
  filter: grayscale(1);
  margin-bottom: 20px;
}
#access .item-map iframe {
  width: 100%;
  height: 400px;
  border: 0;
}
#access .item-info {
  text-align: left;
}
#access .item-info p {
  margin-bottom: 10px;
}


/* footer */
#footer {
  background-color: #121212;
  color: #fff;
  padding: 20px 0;
}
#footer .menu {
  display: flex;
  justify-content: center;
  margin: 30px 0 60px 0;
}
#footer .menu li {
  border-right: solid 1px #fff;
  font-size: 0.875rem;
  padding: 0 20px;
}
#footer .menu li:last-child {
  border-right: none;
}
#footer .menu li a {
  color: #fff;
}
#footer .copyright {
  font-size: 0.75rem;
  text-align: center;
}
#to-top {
  width: 40px;
  height: 40px;
  background-color: #121212;
  border: solid 1px #fff;
  border-radius: 50%;
  position: fixed;
  right: 25px;
  bottom: 25px;
}
#to-top::after {
  content: "";
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 7px solid #fff;
  position: relative;
  left: 12px;
  bottom: 5px;
}


/* sp */
@media screen and (max-width: 680px) {

/* header */
#header {
  max-width: 100%;
  height: auto;
  flex-direction: column;
}
#header .site-title {
  text-align: center;
  margin: 10px auto 0;
  font-size: 20px;
}
#header nav {
  margin: 0 auto;
}
#header ul {
  margin-top: 0;
}
#header li {
  font-size: 0.8rem;
  margin-left: 20px;
}
#header li:first-child {
  margin-left: 0;
}
  

/* mainvisual */
  #mainvisual img {
    height: calc(100vh - 60px);
  }
/* news */
  #news dl {
    flex-direction: column;
  }
  #news dt {
    width: 100%;
    border-bottom: none;
    padding-bottom: 0;
  }
  #news dd {
    width: 100%;
    padding-top: 0;
  }
/* service */
  #service {
  padding-bottom: 60px;
  }
  #service .link {
  flex-direction: column;
  align-items: center;
  margin-top: 30px;
  }
  #service .link .item {
  width: 60%;
  margin: 20px 0 0 0;
  }
  #service .link .item:first-child {
  margin-top: 0;
  }
  /* bicycle */
  #bicycle {
    padding: 80px 16px;
  }
  #bicycle .grid .item-content {
    padding: 16px;
  }
  /* footer */
  #footer .menu {
    flex-wrap: wrap;
  }
  #footer .menu li {
    margin-bottom: 10px;
  }
}