@charset "UTF-8";
/* CSS Document */
html {
  font-size: 62.5%; /* 16px * 62.5% = 10px */
  width: 100%;
}
body {
  color: #333; /* RGB */
  font-family: 'Zen Maru Gothic', 'Mulish', 'Yu Mincho Light', 'YuMincho', 'Yu Mincho', '游明朝体', 'Times New Roman', sans-serif;
  font-weight: 500;
  font-size: 1.6rem;
  line-height: 1.6;
  text-align: center;
  background-color: #fff;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}
*, *::before, *::after {
  box-sizing: border-box;
}
/* 開くボタン */
/* モーダルウィンドウ */
.modal-window {
  display: none;
  position: fixed;
  top: 51%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 100vh;
  border-radius: 5px;
  z-index: 11;
}
/*ホバーすると色変わる　*/
.works_list p {
  display: inline-block;
  transition: all .3s ease 0s;
  text-decoration: none;
}
.works_list p:hover {
  cursor: pointer;
  color: #77a78f;
}
.discription-text1 {
  display: flex;
  justify-content: space-evenly;
  padding-bottom: 80px;
}
.discription-text2 {
  justify-content: space-evenly;
  padding-bottom: 80px;
}
.image-button {
  padding: 15px;
  width: 200px;
  background-color: #77a78f;
}
.image-button {
  color: #fff;
  transition: .3s cubic-bezier(0.5, 1, 0.89, 1);
}
.image-button:hover {
  background: #fff;
  color: #333;
  transform: scale(1.1);
  border: solid 1px #77a78f;
}
.image-button2 {
  display: block;
  padding: 15px;
  margin: 0 auto 20px;
  width: 200px;
  background-color: #77a78f;
}
.image-button2 {
  color: #fff;
  transition: .3s cubic-bezier(0.5, 1, 0.89, 1);
}
.image-button2:hover {
  background: #fff;
  color: #333;
  transform: scale(1.1);
  border: solid 1px #77a78f;
}
.image {
  overflow: scroll;
  height: 100vh;
}

/* 閉じるボタン */
.button-close {
  position: absolute;
  top: 25px;
  right: 0;
  transform: translate(0, -50%);
  padding: 1em;
  color: #333;
  cursor: pointer;
  font-size: 1.4rem;
}
/* オーバーレイ */
.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.5);
  width: 100%;
  height: 100%;
  z-index: 10;
}
/* 表示領域外へはスクロールさせない */
.no_scroll {
  overflow: hidden;
}

/* @media (max-width: 1500px){
//画面サイズが1500px以下になったら適用される
}
  @media (min-width: 750px){
//画面サイズが750px以上になったら適用
} */



@media (min-width:769px) {
  .wrapper {
    max-width: 960px;
    margin: 0 auto;
  }
  /*　ここからヘッダー*/
  .header {
    font-family: 'Mulish';
    position: absolute;
    width: 100%;
    z-index: 2;
    padding: 0 30px;
  }
  .header_top {
    display: flex;
    margin: 0 auto;
    padding-top: 10px;
    align-items: center;
    justify-content: space-between;
  }
  .header h1 {
    font-size: 3.5rem;
    font-weight: 600;
    position: relative;
  }
  .nav {
    width: 50%;
  }
  .header_list {
    font-size: 2.4rem;
    font-weight: 600;
  }
  .header_list ul {
    display: flex;
    justify-content: flex-end;
  }
  .header_list ul li {
    margin-left: 10%;
  }
  .header_list ul li:last-child {
    border-bottom: 2px solid;
    width: 130px;
  }
  /* ここからfooter　*/
  .footer {
    font-family: 'Mulish';
    margin-top: 150px;
    height: 460px;
    background-color: #77a790;
    position: relative;
  }
  .footer_site-map {
    max-width: 960px;
    margin: 0 auto;
  }
  .footer h2 {
    padding-top: 60px;
    font-size: 4.8rem;
    text-align: left;
  }
  .footer_list ul {
    padding-top: 75px;
    display: flex;
    justify-content: flex-start;
  }
  .footer_list ul li {
    margin-right: 100px;
  }
  .footer_list ul li:last-child {
    border-bottom: 2px solid;
    width: 95px;
  }
  .footer-conteiner {
    display: flex;
  }
  .kinoko {
    text-align: right;
  }
  .kinoko img {
    width: 60%;
  }
  .footer small {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: block;
    text-align: center;
    bottom: 20px;
  }
  /*　ホバーの動き ヘッダー　*/
  .hover {
    color: #18272F;
    position: relative;
    text-decoration: none;
  }
  .hover::before {
    content: '';
    position: absolute;
    width: 115%;
    height: 2px;
    border-radius: 4px;
    background-color: #18272F;
    top: 32px;
    left: -7px;
    transform-origin: right;
    transform: scaleX(0);
    transition: transform .3s ease-in-out;
  }
  .hover:hover::before {
    transform-origin: left;
    transform: scaleX(1);
  }
  .hover-box {
    box-shadow: inset 0 0 0 0 #77a78f;
    color: #77a78f;
    padding: 12.5px;
    margin: 0 -.25rem;
    transition: color .3s ease-in-out, box-shadow .3s ease-in-out;
  }
  .hover-box:hover {
    color: #fff;
    box-shadow: inset 200px 0 0 0 #333;
    ;
  }
  .ahover-box {
    color: #77a78f;
  }
  /*　ホバーの動き　下　*/
  .hover-footer {
    color: #18272F;
    position: relative;
    text-decoration: none;
  }
  .hover-footer::before {
    content: '';
    position: absolute;
    width: 115%;
    height: 2px;
    border-radius: 4px;
    background-color: #18272F;
    top: 23px;
    left: -5px;
    transform-origin: right;
    transform: scaleX(0);
    transition: transform .3s ease-in-out;
  }
  .hover-footer:hover::before {
    transform-origin: left;
    transform: scaleX(1);
  }
  .hover-box_footer {
    box-shadow: inset 0 0 0 0 #333;
    color: #333;
    padding: 12.5px;
    margin: 0 -.25rem;
    transition: color .3s ease-in-out, box-shadow .3s ease-in-out;
  }
  .hover-box_footer:hover {
    color: #fff;
    box-shadow: inset 200px 0 0 0 #333;
    ;
  }
  .hover-box_footer {
    color: #333;
  }
}
/*　ここからスマホ　*/
@media (max-width: 768px) {
  .image-button {
  padding: 10px;
  width: 170px;
}
  .header {
    font-family: 'Mulish';
    width: 100%;
    padding: 0 32px;
  }
  .header h1 {
    font-size: 1.8rem;
    z-index: 10000;
    position: relative;
  }
  .header_top {
    text-align: left;
    padding-top: 10px;
  }
  .header_top nav {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
  }
  nav.active {
    z-index: 9999;
  }
  .header_list {
    transform: translateX(-500%);
    transition: all 1s ease-in-out;
    display: block;
  }
  .header_list.active {
    max-width: 100%;
    padding: 20px 45px 50px;
    text-align: left;
    background-color: rgba(224, 224, 224, 0.95);
    transform: translateX(0);
    transition: all 1s ease-in-out;
  }
  .header_list ul li {
    display: block;
    margin-top: 15px;
  }
  .header_list ul li:last-child {
    border-bottom: 2px solid;
    width: 80px;
  }
  /* ここからfooter　*/
  .footer {
    font-family: 'Mulish';
    margin-top: 80px;
    background-color: #77a790;
  }
  .footer_site-map {
    padding-left: 30px;
  }
  .footer h2 {
    padding-top: 30px;
    font-size: 2.4rem;
    text-align: left;
  }
  .footer_list {
    font-size: 1.2rem;
  }
  .footer_list ul {
    padding-top: 20px;
    text-align: left;
  }
  .footer_list ul li {
    margin-bottom: 15px;
  }
  .footer_list ul li:last-child {
    border-bottom: 2px solid;
    width: 65px;
  }
  .footer-conteiner {
    display: flex;
  }
  .kinoko {
    padding-top: 45px;
  }
  .kinoko img {
    width: 60%;
  }
  .footer small {
    display: block;
    font-size: 1.2rem;
  }
  /*==================================================
　5-2-3 3本線が1本線に
===================================*/
  /*ボタン外側※レイアウトによってpositionや形状は適宜変更してください*/
  .openbtn {
    /*ボタン内側の基点となるためrelativeを指定。
追従するナビゲーションの場合はfixed＋top、rightといった位置をセットで指定*/
    position: fixed;
    cursor: pointer;
    width: 50px;
    /*height: 50px;*/
    border-radius: 5px;
    z-index: 10000;
    right: 0px;
    top: 0px;
  }
  /*ボタン内側*/
  .openbtn span {
    display: inline-block;
    transition: all .4s; /*アニメーションの設定*/
    position: absolute;
    /*left: 14px;*/
    height: 3px;
    border-radius: 2px;
    background: #333;
    width: 45%;
  }
  .openbtn span:nth-of-type(1) {
    top: 15px;
  }
  .openbtn span:nth-of-type(2) {
    top: 23px;
  }
  .openbtn span:nth-of-type(3) {
    top: 31px;
  }
  /*activeクラスが付与されると1・3番目の要素が2番目の要素と同じ位置になり一本線に*/
  .openbtn.active span:nth-of-type(1), .openbtn.active span:nth-of-type(3) {
    top: 23px;
  }
}