/* Common */
body {
  background-color: #fff;
  color: #505050;
  font-family: 'Lato', 'Noto Sans JP', '游ゴシック Medium', '游ゴシック体', 'Yu Gothic Medium', YuGothic, 'ヒラギノ角ゴ ProN', 'Hiragino Kaku Gothic ProN', 'メイリオ', Meiryo, 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
  font-size: 16px;
  font-weight: normal;
  line-height: 2.0;
  margin: 0;
}
a, a:hover {
  text-decoration: none;
  color: #505050;
}
p {
  margin-bottom: 0;
}
h1 {
  font-size: 4rem;
  font-weight: 700;
  text-align: center;
}
h2 {
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
}
h2.heading small {
  font-size: 1rem;
  font-weight: 400;  
}
h5.card-title {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
}
.btn-outline-alegria {
  color: #eb2800;
  border-color: #eb2800;
}
.btn-outline-alegria:hover {
  color: #fff;
  background-color: #eb2800;
  border-color: #eb2800;
}
#news, #service, #about {
  border-top: 1px solid #eb2800;
}
@media (max-width: 768px) {
  h1 {
    font-size: 3rem;
  }
  .btn-sp-block {
    display: block;
    width: 100%;
  }
}
@media (min-width: 768px) {
  .py-md-10 {
    padding-top: 10rem!important;
    padding-bottom: 10rem!important;
  }
}

/* Navbar */
#navbar {
  border-bottom: 1px solid #eb2800;
}
.navbar {
  padding: 0.5rem 0;
}
.navbar-light .navbar-nav .nav-link:hover {
  color: #eb2800;
}

/* Top */
#top {
  background: no-repeat center url("/img/alegria_website_background-min.jpg");
}
#top p {
  color: #646464;
}
@media (max-width: 576px) {
  #top {
    background: no-repeat center url("/img/alegria_website_background_sp-min.jpg");
  }
}

/* News */
.card-body {
  padding-bottom: 0;
}
.card-footer {
  padding: 0 1.25rem 0.75rem;
  background: #fff;
  border-top: none;
}

/* Service */
.terter.card-footer {
  background: #006062;
  height: 1.5rem;
}
.berolin.card-footer {
  background: #182f60;
  height: 1.5rem;
}

/* About */
table.table {
  color: #505050;
  font-size: 1rem;
  margin-bottom: 0;
}
table.table th {
  width: 7rem;
}

/* Footer */
#footer {
  background-color: #f5f5f5;
  font-size: 0.8rem;
  text-align: right;
}
