@charset "utf-8";
/*共通部分
---------------------------*/
html,body {
  margin: 0;
  padding: 0;
  font-family: sans-serif;
  font-weight: 400;
  font-style: normal;
  width: 100%;
  overflow-x: hidden;
}
p,h1,h2,h3,h4,a {
  margin: 0;
  color: #fff;
}
h2,h3,h4,a {
  font-family: "DM Serif Text", serif;
}
p {
  font-family: "Zen Old Mincho", serif;
}
a {
  text-decoration: none;
  list-style: none;
}
#container {
  font-size: 100%;
}
h2 {
  font-size: 4rem;
  text-align: center;
  padding-top: 30px;
}
.wrapper {
  margin: 0;
  padding: 0 4%;
 
}
/*HEADER
----------------------------------*/
.header {
  display: flex;
  justify-content: space-between;
  background-color: black;
}
.logo {
  width: 170px;
  margin-top: 12px;
}
.nav-list {
  display: flex;
  font-size: 1.15rem;
  margin-top: 17px;
  list-style: none;
}
.nav-list li {
  margin-left: 36px;
}
.nav-list a:hover {
  color: #0bd;
}
/*MAIN
-------------------------------*/
#main {
  background-image: url(../images/mainーbg.jpg);
  min-height: 100dvh;
}
.main-bg {
  background-size: cover;
  background-position: center top;
}
/*TOP
-------------------------------*/
.title {
  font-size: 6rem;
  text-align: center;
  margin-top: 20%;
}
/*ABOUT
-----------------------------*/
#about {
  background-color: #025101;
  padding: 0 60px;
  padding-bottom: 30px;
}
#about h3 {
  font-size: 2rem;
}
.about-flex {
  display: flex;
  justify-content: space-between;
}
#about p {
  margin-bottom: 24px;
  text-align: center;
}
.about-img-area {
  width: 40%;
}
.about-img-area img {
  width: 100%;
  height: 400px;
  object-fit: contain;
}
.about-text-area {
  width: 60%;
  text-align: center;
  margin-left: 20px;
  margin-top: 50px;
}
.about-text-area p {
  line-height: 33px;
  margin-top: 20px;
}
.fa-brands {
  float: right;
  padding: 50px;
  color: black;
}
/*SERVICE
------------------------------*/
#service {
   background-image: url(../images/service-bg.jpg);
}
service-bg {
  background-size: cover;
  background-position: center top;
}
#service p {
  margin-bottom: 24px;
  text-align: center;
}
.service-list {
  width: 100%;
  padding-top: 30px;
  padding-bottom: 30px;
 display: flex;
 text-align: center;
}
.service-content {
  margin: 10px;
}
.service-content img {
  width: 100%;
}
.service-content p {
  line-height: 33px;
  color: black;
  background-color: #dbeade;
}
/*WORKS
-----------------------------*/
#works {
  background-color: #025101;
  padding: 0 60px;
  padding-bottom: 30px;
}
#works p {
  margin-bottom: 24px;
  text-align: center;
}
.work-list {
  text-align: center;
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr 1fr 1fr;
}
.work-content {
  width: 100%;
}
.work-content img {
  width: 100%;
  margin-bottom: 10px;
}
/*CONTACT
---------------------------------*/
#contact {
  background-image: url(../images/contactーbg.jpg);
  padding: 0 30px;
  padding-bottom: 30px;
}
#contact p {
  margin-bottom: 24px;
  text-align: center;
}
/*FOOTER*/
.footer {
  background-color: black;
  text-align: center;
  padding: 10px 0;
}
.footer-nav {
  display: inline-block;
  border-bottom: 1.5px solid #fff;
}
.footer-nav ul {
  display: flex;
  padding: 0 20px;
}
.footer-nav li {
  list-style-type: none;
  padding: 0 20px;
}
.footer-nav a:hover {
  color: #0bd;
}
.copy {
  padding: 10px 0;
}
/*モバイル版
-----------------------------*/
@media (max-width: 767px) {
  /*共通部分*/
  h2 {
    font-size: 2rem;
  }
  /*HEADER*/
  .header {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 10px;
  }
  .nav-list {
    display: flex;
    justify-content: center;
    font-size: 1rem;
    margin-top: 10px;
    padding: 0;
    width: 100%;
  }
  .nav-list li {
    margin: 0 10px;
  }
  /*TOP*/
  .title {
    font-size: 3rem;
    margin-top: 50%;
  }
  /*ABOUT*/
  .about-flex {
    flex-wrap: wrap;
  }
  .about-text-area {
    width: 100%;
    margin-top: 20px;
  }
  
  .about-img-area {
    width: 100%;
    margin: 0 auto;
  }
  #about h3 {
    font-size: 1.5rem;
  }
  .fa-brands {
    padding: 20px;
  }
  /*SERVICE*/
  .service-list {
    width: 100%;
    margin: 0 auto;
    font-size: 15px;
    text-align: center;
    display: grid;
    grid-template-columns: 1fr;
  }
  /*WORKS*/

  .work-list {
    text-align: center;
    display: grid;
    gap: 10px;
    grid-template-columns: 1fr;
  }
  /*CONTACT*/
  #contact {
    padding: 0 10px;
  }
  /*FOOTER*/
  .footer-nav li {
    padding: 0 10px;
  }
}