@charset "UTF-8";
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
ul{
  list-style: none;
}
a{
  text-decoration: none;
}
img{
  vertical-align: bottom;
}
.g-nav>ul{
  display: flex;
  justify-content: center;
  background-color: #174f5e;
  color: #ffffff;
  position: fixed;
  top: 0;
  left: 0; 
  width: 100%;
  height: 60px;
  z-index: 1000;
}
.g-nav>ul>li{
  margin: 10px;
  padding: 10px;
  flex: 1;
  text-align: center;
  color: #ffffff;
}
.g-nav>ul>li>a{
  display: flex;
  justify-content: center;
  display: inline-block;
  padding: 9px 25px;
  color: #ffffff;
}
a:hover{
  border-bottom: 2px solid #26999f;
}

.main-visual  {
  width: 100%;
  height: 800px;
  background-image: url(../img/dog.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.main-visual h1 {
  display: inline-block;
  color: #154552;
  padding: 30px;
  font-size: 40px;
  background-color: #ffffff7c;
}
.main-visual p{
  color: #ffffff;
  padding: 10px;
  font-size: 20px;
  font-weight: bold;
}
.main-visual header {
  position: relative;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
}

ul {
  display: flex;
}
li {
  margin: 10px;
  padding: 10px;

}
h2 {
  text-align: center;
  color: #154552;
  font-size: 40px;
  margin: 20px 0;
  font-weight: bold;
  background-color: #5257637c;
  padding: 20px;
  margin-bottom: 20px;

}
h3 {
  color: #000000;
  font-size: 30px;
  margin: 10px 0;
  display: inline-block;
  border-bottom: #154552 3px solid;
  padding: 5px;
  border-left: 15px solid #154552;
}
img {
  width: 640px;
  height: 430px;
  object-fit: cover;
  border-radius: 10px;
  text-align: center;
  margin: 0 auto;
  display: block;
}
p {
  color: #000000;
  font-size: 20px;
  margin: 10px 0;
  line-height: 1.5;
  padding: 10px;
}
footer {
  background-color: #174f5e;
  color: #ffffff;
  text-align: center;
  padding: 10px;
}
