* {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
}

/* h1{
    font-family:'Montserrat', 'sans-serif';
    font-weight: 700;
} */

h2.title-font {
  font-family: "Montserrat", "sans-serif";
}

h1 {
  font-size: 48px;
}

h2 {
  font-size: 32px;
}

h3 {
  font-size: 24px;
}

h4 {
  font-size: 18px;
}

h5 {
  font-size: 14px;
}

p {
  font-size: 18px;
}

.mt-5 {
  margin-top: 5px;
}

.mt-10 {
  margin-top: 10px;
}

.mt-20 {
  margin-top: 20px;
}

.mt-30 {
  margin-top: 30px;
}

.mt-40 {
  margin-top: 40px;
}

.mt-50 {
  margin-top: 50px;
}

.mt-60 {
  margin-top: 60px;
}

.mt-70 {
  margin-top: 70px;
}

.mt-80 {
  margin-top: 80px;
}

.mt-90 {
  margin-top: 90px;
}

.mt-100 {
  margin-top: 100px;
}

.mb-5 {
  margin-bottom: 5px;
}

.mb-10 {
  margin-bottom: 10px;
}

.mb-20 {
  margin-bottom: 20px;
}

.mb-30 {
  margin-bottom: 30px;
}

.mb-40 {
  margin-bottom: 40px;
}

.mb-50 {
  margin-bottom: 50px;
}

.mb-60 {
  margin-bottom: 60px;
}

.mb-70 {
  margin-bottom: 70px;
}

.mb-80 {
  margin-bottom: 80px;
}

.mb-90 {
  margin-bottom: 90px;
}

.mb-100 {
  margin-bottom: 100px;
}

.ml-5 {
  margin-left: 5px;
}

.ml-10 {
  margin-left: 10px;
}

.ml-20 {
  margin-left: 20px;
}

.ml-30 {
  margin-left: 30px;
}

.ml-40 {
  margin-left: 40px;
}

.ml-50 {
  margin-left: 50px;
}

.ml-60 {
  margin-left: 60px;
}

.ml-70 {
  margin-left: 70px;
}

.ml-80 {
  margin-left: 80px;
}

.ml-90 {
  margin-left: 90px;
}

.ml-100 {
  margin-left: 100px;
}

.mr-5 {
  margin-right: 5px;
}

.mr-10 {
  margin-right: 10px;
}

.mr-20 {
  margin-right: 20px;
}

.mr-30 {
  margin-right: 30px;
}

.mr-40 {
  margin-right: 40px;
}

.mr-50 {
  margin-right: 50px;
}

.mr-60 {
  margin-right: 60px;
}

.mr-70 {
  margin-right: 70px;
}

.mr-80 {
  margin-right: 80px;
}

.mr-90 {
  margin-right: 90px;
}

.mr-100 {
  margin-right: 100px;
}

.pt-10 {
  padding-top: 10px;
}

.pt-20 {
  padding-top: 20px;
}

.pt-30 {
  padding-top: 30px;
}

.pt-40 {
  padding-top: 40px;
}

.pt-50 {
  padding-top: 50px;
}

.pt-60 {
  padding-top: 60px;
}

.pt-70 {
  padding-top: 70px;
}

.pt-80 {
  padding-top: 80px;
}

.pt-90 {
  padding-top: 90px;
}

.pt-100 {
  padding-top: 100px;
}

.pb-10 {
  padding-bottom: 10px;
}

.pb-20 {
  padding-bottom: 20px;
}

.pb-30 {
  padding-bottom: 30px;
}

.pb-40 {
  padding-bottom: 40px;
}

.pb-50 {
  padding-bottom: 50px;
}

.pb-60 {
  padding-bottom: 60px;
}

.pb-70 {
  padding-bottom: 70px;
}

.pb-80 {
  padding-bottom: 80px;
}

.pb-90 {
  padding-bottom: 90px;
}

.pb-100 {
  padding-bottom: 100px;
}

header {
  max-width: 100vw;
}

.gnav {
  position: fixed;
  width: 100vw;
  background-color: rgb(50 50 50 / 50%);
  display: flex;
  justify-content: space-between;
  z-index: 10;
  height: 50px;
}

.logo {
  text-align: center;
  display: flex;
}

.logo a {
  text-decoration: none;
  text-align: center;
  align-items: center;
  display: flex;
  color: white;
  padding-left: 15px;
  font-size: 12px;
  font-weight: 700;
}

@media (max-width: 330px) {
  .logo a {
    font-size: 11px;
  }
}

ul.gnav-list {
  /* background:black; */
  padding: 0;
  text-align: right;
}

ul.gnav-list li {
  display: inline-block;
}
ul.gnav-list li a {
  display: block;
  padding-right: 1.5em;
  padding-top: 1em;
  color: #fff;
  text-decoration: none;
  font-weight: 300;
}

ul.gnav-list a::first-line {
  font-size: 12px;
}

@media (max-width: 400px) {
  .logo {
    font-size: 10px;
    width: 70vw;
  }
  ul.gnav-list {
    height: 50px;
    text-align: right;
    margin-right: 15px;
  }
  ul.gnav-list li a {
    padding: 0;
    line-height: 14px;
  }
}

.MainVisual {
  height: 100vh;
  width: 100vw;
  position: relative;
  display: flex;
  align-items: center;
  background-image: url(img/explain-top.png);
  background-attachment: fixed;
  background-size: cover;
  padding-left: 10vw;
  padding-left: 10vw;
  color: rgb(107, 107, 107);
}

.mv-text p {
  margin-top: 100px;
  color: rgb(107, 107, 107);
}

.why-section {
  height: auto;
  width: 100vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 10vw;
  padding-right: 10vw;
  padding-top: 50px;
  padding-bottom: 100px;
  background-size: cover;
  background-color: gray;
  color: #fff;
  text-align: center;
}

.why-section h2 {
  text-align: center;
}

.why-section h2::after {
  content: "";
  display: block;
  height: 3px;
  width: 40px;
  background: #fd0;
  margin: 8px 0 20px 0;
  margin-left: auto;
  margin-right: auto;
}

.why-part {
  border-top: white solid 1px;
  align-items: center;
  text-align: center;
}

.b-bottom {
  border-bottom: white solid 1px;
}

.why-content {
  text-align: left;
  margin-left: 100px;
  margin-right: 100px;
}

.why-content p {
  font-size: 0.9rem;
}

.example-section {
  height: 150px;
  padding-left: 10vw;
  padding-right: 10vw;
  background-color: #00501d;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.example-section h2::after {
  content: "";
  display: block;
  height: 3px;
  width: 40px;
  background: #fd0;
  margin: 8px 0 20px 0;
  margin-left: auto;
  margin-right: auto;
}

.ex-box {
  width: 100vw;
  height: auto;
  color: white;
}
.ex-box h2 {
  text-align: center;
  padding-top: 30px;
  padding-bottom: 5px;
}
.ex-1 {
  background-color: #6d8861;
}

.ex-2 {
  background-color: #618188;
}

.ex-3 {
  background-color: #888461;
}

.ex-part {
  margin-top: 10px;
  display: flex;
  flex-direction: row;
  width: 100%;
  justify-content: center;
}

.ex-part-img1 {
  height: 300px;
  width: 450px;
  background-image: url(img/explain-appeal-house.jpg);
  background-size: cover;
  margin: 50px;
}

.ex-part-img2 {
  height: 300px;
  width: 450px;
  background-image: url(img/explain-appeal-river.jpg);
  background-size: cover;
  margin: 50px;
}
.ex-part-img3 {
  height: 300px;
  width: 450px;
  background-image: url(img/explain-appeal-run.jpg);
  background-size: cover;
  margin: 50px;
}

.ex-part-text {
  display: flex;
  flex-direction: column;
  width: 700px;
  justify-content: center;
}

.ex-part-text p {
  font-size: 0.9rem;
}

/* WORKS  */
.works {
  align-items: center;
  align-content: center;
  padding-top: 100px;
  padding-bottom: 150px;
  padding-left: 200px;
  padding-right: 200px;
  background-attachment: fixed;
  /* background-position: top; */
  background-position: 70% -150%;
  background-image: url(img/explain-works-background.png);
  background-size: cover;
  color: black;
  /* background-color: rgb(226, 226, 226); */
}

@media (max-width: 1090px) {
  .works {
    padding-left: 50px;
    padding-right: 50px;
  }
}

@media (max-width: 487px) {
  .works {
    padding-left: 20px;
    padding-right: 20px;
  }
}

.work-title {
  text-align: center;
}

.work-title h2::after {
  content: "";
  display: block;
  height: 3px;
  width: 40px;
  background: #fd0;
  margin: 8px 0 20px 0;
  margin-left: auto;
  margin-right: auto;
}

.work-sample {
  margin-top: 50px;
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
}

.work-sample a {
  text-decoration: none;
  color: black;
}

.work-sample a.btn:hover {
  border: solid 2px #fd0;
}

.sample {
  width: 40%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sample a {
  margin-bottom: 15px;
  display: block;
  font-weight: 500;
  font-size: 14px;
}

@media (min-width: 601px) and(max-width:900px) {
  .sample {
    width: 45%;
    justify-content: space-between;
  }
  .sample a {
    font-size: 14px;
  }
}

.sample-frame {
  width: 100%;
}

.sample-frame img:hover {
  border: 2px solid #ed7b51;
}

.sample-frame img {
  width: 100%;
}
.sample-frame a:hover {
  border: none;
}

a.btn {
  color: white;
  width: 200px;
  margin-top: 15px;
  border-radius: 5px;
  font-weight: 400;
  background-color: #ed7b51;
  padding-top: 5px;
  padding-bottom: 5px;
  padding-left: 30px;
  padding-right: 30px;
  display: flex;
  justify-content: center;
  font-size: 14px;
}

/*　ContactのCSS */

.contact {
  display: flex;
  flex-direction: column;
  text-align: center;
  align-items: center;
  height: 350px;
  background-color: lightgray;
  color: white;
  background-image: url(img/explain-contact-gray.png);
  background-size: cover;
}

.ctt-title {
  text-align: center;
  margin-top: 50px;
}

.ctt-title h2::after {
  content: "";
  display: block;
  height: 3px;
  width: 40px;
  background: #fd0;
  margin: 8px 0 20px 0;
  margin-left: auto;
  margin-right: auto;
}

a.btn-2 {
  color: white;
  width: 200px;
  margin-top: 100px;
  border-radius: 5px;
  font-weight: 400;
  background-color: #ed7b51;
  padding-top: 5px;
  padding-bottom: 5px;
  padding-left: 30px;
  padding-right: 30px;
  display: flex;
  justify-content: center;
  font-size: 14px;
  text-decoration: none;
}

a.btn-2:hover {
  border: solid 2px #fd0;
}

/*　FooterのCSS */

#container {
  background-color: rgb(1, 1, 1);
  padding-top: 60px;
  padding-bottom: 30px;
  text-align: center;
}

@media (min-width: 700px) {
  #container {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
  }
}

@media (min-width: 500px) and (max-width: 699px) {
  #container {
    display: flex;
    justify-content: center;
  }
}

@media (max-width: 499px) {
  #container {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

#container p {
  color: #939393;
}

.ft-box {
  margin-bottom: 20px;
  width: 200px;
}

.ft-box a {
  text-decoration: none;
  color: #939393 !important;
}

.copyright {
  background-color: black;
  color: gray;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  height: 60px;
  font-size: 12px;
}

br.bp-519 {
  display: none;
}

/*520px-960px */
@media screen and (min-width: 520px) and (max-width: 960px) {
  body {
    letter-spacing: 0.05em;
  }
  h3 {
    font-size: 23px;
  }
  .why-content {
    margin: 50px 0;
  }
  .why-content > h3 {
    margin: 20px 0;
  }
  .ex-box {
    padding-right: 10vw;
    padding-left: 10vw;
  }
  .ex-box h2 {
    padding-top: 50px;
  }
  .ex-part {
    display: inline-block;
  }
  .ex-part-img1,
  .ex-part-img2,
  .ex-part-img3 {
    width: 100%;
    height: 350px;
    margin: 10px auto 50px auto;
  }
  .ex-part-text {
    width: 100%;
    margin: auto;
  }
  .ex-part-text .mt-100 {
    margin-top: 50px;
  }
  .tb-none {
    display: none;
  }
  .MainVisual {
    background-position-x: -230px;
  }
}

/*  max-width:520pxまで */
@media (max-width: 519px) {
  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 24px;
  }
  h3 {
    font-size: 20px;
  }

  .MainVisual {
    padding-left: 10px;
    padding-right: 10px;
    height: 100vh;
    background-size: auto;
    background-position-x: 45%;
    background-position-y: 35%;
  }

  .MainVisual h1 {
    font-size: 32px;
    padding-left: 10px;
  }
  .MainVisual p {
    font-size: 14px;
    font-weight: 600;
    padding-left: 10px;
  }

  .MainVisual p br {
    display: none;
  }

  .mv-text p {
    margin-top: 50px;
  }

  .why-content {
    margin-left: 0;
    margin-right: 0;
  }

  .ex-part {
    flex-direction: column;
    align-items: center;
  }

  .ex-part-img1 {
    width: 280px;
    height: 280px;
    margin: 0;
  }
  .ex-part-img2 {
    width: 280px;
    height: 280px;
    margin: 0;
  }
  .ex-part-img3 {
    width: 280px;
    height: 280px;
    margin: 0;
    background-position-x: -100px;
  }
  .ex-part-text {
    width: 300px;
    padding-left: 10px;
    padding-right: 10px;
  }
  .ex-part-text .mt-30 {
    display: block;
  }
  .ex-part-text .mt-100 {
    margin-top: 30px;
  }
  .ex-part-text .mt-80 {
    margin-top: 30px;
  }
  .works {
    padding-bottom: 0px;
  }
  .work-sample {
    flex-direction: column;
    align-items: center;
  }
  .work-sample .ml-50 {
    margin-left: 0px;
  }
  .work-sample .mr-50 {
    margin-right: 0px;
  }

  .sample {
    width: 90%;
    margin-bottom: 75px;
  }
  .sample a {
    margin-bottom: 0px;
  }

  br.bp-519 {
    display: block;
  }
}

.pc-only {
  display: block;
}
.sp-only {
  display: none;
}
@media (max-width: 400px) {
  .pc-only {
    display: none;
  }
  .sp-only {
    display: block;
  }

  .gnavi-sp-list {
    display: flex;
    font-size: 10px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .gnavi-sp-list-item {
    padding: 0 5px;
  }
  .gnavi-sp-list a {
    text-decoration: none;
    color: #fff;
  }
}
