@charset "utf-8";

/* PCサイズレスポンシブ */
@media(min-width:1000px) {
  body {
    min-width: 1000px;
    margin: 0;
  }

  .container {
    width: 100%;
    font-family: 'Libre Bodoni', serif;
    color: #4d5156;
  }

.header {
  width: 100%;
  height: 100%;
  margin: 0;
  background-color: rgb(255, 102, 0);
  position: static;
}

.navi {
  width: 100%;
}

.navi ul {
  width: 35%;
  padding: 30px 0;
  margin: 0 0 0 65%;
  /* padding-top: 25px; */
  font-size: 30px;
  display: flex;
  justify-content: right;
  align-items: center;
}

li, a {
  color: white;
  list-style: none;
  text-decoration: none;
  text-align: right;
  margin: 0 9px;
  
}

.leaf1 {
  position: absolute;
  top: -5px;
  left: -25px;
  opacity: 0.85;
}

.menu {
  display: none;
}

.main {
  width: 90%;
  margin: 0 auto;
  margin-top: 100px;
}

.main h1 {
  text-align: center;
  font-size: 55px;
  font-weight: normal;
}

.main h2 {
  text-align: center;
  font-size: 30px;
  padding: 0.5%;
  border-bottom: solid 5px;
  margin-top: 50px;
  background: linear-gradient(to bottom, #FFC778, #FFF);
}

.works {
  width: 100%;
  margin: 8% 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-evenly;
}

.works p {
  font-size: 23px;
  margin-bottom: 30%;
}

.work {
  width: 33%;
  height: 33%;
  text-align: center;
}

.work img {
  width: 80%;
  height: 100%;
}

.photo {
  border-radius: 10px;
}
 
.contact {
  text-align: center;
  padding: 25px 0 50px 0;
}

/* ボタンホバーの傾き */
.contact a {
  display: inline-block;
  transition: .3s;
}
.contact a:hover {
  transform: rotate(-10deg);
}

.contact img {
  border-radius: 10px;
}

  /* Topに戻るボタン */
  .pagetop {
    position: fixed;
    bottom: 60px;
    right: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 40%;
    transition: .3s;
    background: rgb(255, 113, 18);
    opacity: 0;
    font-size: 14px;
  }

  .pagetop:hover {
    box-shadow: 0 0 10px #00A6C4;
  }

.footer {
  background-color: rgb(255, 102, 0);
  padding: 15px 0;
  text-align: center;
  font-size: 20px;
  color: white;
}

.footer p {
  margin: 0;
}

}


/*ipadサイズレスポンシブ*/
@media(min-width:600px) and (max-width:999px) {
  body {
      min-width: 600px;
      max-width: 999px;
      margin: 0;
  }

  .container {
      width: 100%;
      font-family: 'Libre Bodoni', serif;
      color: #4d5156;
  }

  .header {
    width: 100%;
    height: 100%;
    margin: 0;
    background-color: rgb(255, 102, 0);
    position: static;
  }
  
  .navi {
    width: 100%;
  }
  
  .navi ul {
    width: 35%;
    padding: 30px 0;
    margin: 0 0 0 65%;
    /* padding-top: 25px; */
    font-size: 30px;
    display: flex;
    justify-content: right;
    align-items: center;
  }
  
  li, a {
    color: white;
    list-style: none;
    text-decoration: none;
    text-align: right;
    margin: 0 9px;
  }
  
  .menu {
    display: none;
  } 
  
  .leaf1 {
    position: absolute;
    top: -5px;
    left: -25px;
    opacity: 0.85;
  }

  .leaf1 img {
    width: 250px;
  }

  .main {
    width: 100%;
    margin: 0 auto;
    margin-top: 100px;
  }
  
  .main h1 {
    text-align: center;
    font-size: 55px;
    font-weight: normal;
  }

  .main h2 {
    text-align: center;
    font-size: 30px;
    padding: 0.5%;
    border-bottom: solid 5px;
    margin: 50px 2% 10px 2%;
    background: linear-gradient(to bottom, #FFC778, #FFF);
  }  
  
  .works {
    width: 100%;
    margin: 8% 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-evenly;
  }
  
  .works p {
    margin-bottom: 30%;
  }
  
  .work {
    width: 34%;
    text-align: center;
  }
  
  .work img {
    width: 100%;
  }
  
  .photo {
    border-radius: 10px;
  }

  .contact {
    text-align: center;
    padding: 25px 0 50px 0;
  }

  /* ボタンホバーの傾き */
  .contact a {
    display: inline-block;
    transition: .3s;
  }
  .contact a:hover {
    transform: rotate(-10deg);
  }  
  
  .contact img {
    width: 100%;
    border-radius: 10px;
  }

  /* Topに戻るボタン */
  .pagetop {
    position: fixed;
    bottom: 60px;
    right: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 40%;
    transition: .3s;
    background: rgb(255, 113, 18);
    opacity: 0;
    font-size: 14px;
  }

  .pagetop:hover {
    box-shadow: 0 0 10px #00A6C4;
  }  
  
  .footer {
    background-color: rgb(255, 102, 0);
    padding: 15px 0;
    text-align: center;
    font-size: 20px;
    color: white;
  }

  .footer p {
    margin: 0;
  }

}


/*SPサイズレスポンシブ*/
@media(max-width:599px) {
  body {
      max-width: 599px;
      margin: 0;
  }

  .container {
      width: 100%;
      font-family: 'Libre Bodoni', serif;
      color: #4d5156;
  }

  .header {
    width: 100%;
    height: 100%;
    margin: 0;
    background-color: rgb(255, 102, 0);
    position: static;
  }
  
  .navi {
    width: 100%;
    display: none;
  }
  
  .navi ul {
    width: 35%;
    padding: 30px 0;
    margin: 0 0 0 65%;
    /* padding-top: 25px; */
    font-size: 30px;
    display: flex;
    justify-content: right;
    align-items: center;
  }
  
  .menu li, a {
    color: white;
    list-style: none;
    text-decoration: none;
    text-align: center;
    padding: 5%; 
    font-size: 20px;
  }

  .menu {
    padding:10px;
    /* background: #ccc; */
  }

    /* ハンバーガーメニューホバーデザイン */
    .menu a {
      padding: 0.1em 0.3em;
      position: relative;
      display: inline-block;
      transition: 0.3s;
    }
  
    .menu a::after, .menu a::before {
      position: absolute;
      content: '';
      width: 0;
      height: 1px;
      background-color: white;
      transition: 0.3s;
    }
  
    .menu a::before {
      top: 0;
      bottom: 0;
    }
  
    .menu a::after {
      bottom: 0;
      right: 0;
    }
  
    .menu a:hover::after, .menu a:hover::before {
      width: 100%;
    }
  
    .menu a:hover {
      color: white;
    }
    /* ホバーデザイン終わり */
  
  #nav-drawer {
    position: relative;
  }
  
   /*チェックボックス等は非表示に*/
   .nav-unshown {
    display:none;
  }
  
  /*アイコンのスペース*/
  #nav-open {
    display: inline-block;
    width: 30px;
    height: 22px;
    vertical-align: middle;
  }
  
  /*ハンバーガーの形をCSSで表現*/
  #nav-open span, #nav-open span:before, #nav-open span:after {
    position: absolute;
    height: 3px;/*線の太さ*/
    width: 25px;/*長さ*/
    border-radius: 3px;
    background: white;
    display: block;
    content: '';
    cursor: pointer;
  }
  #nav-open span:before {
    bottom: -8px;
  }
  #nav-open span:after {
    bottom: -16px;
  }
  
  /*閉じる用の薄黒箇所*/
  #nav-close {
    display: none;
    position: fixed;
    z-index: 99;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: black;
    opacity: 0;
    transition: .3s ease-in-out;
  }
  
  /*メニューの中身*/
  #nav-content {
    overflow: auto;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    width: 90%;
    /* max-width: 150px;最大幅（お好みで調整を） */
    height: 40%;
    background: rgb(255, 102, 0);
    transition: .3s ease-in-out;
    -webkit-transform: translateX(-105%);
    transform: translateX(-105%);
  }
  
  /*チェックがついたら表示させる*/
  #nav-input:checked ~ #nav-close {
    display: block;
    opacity: .5;
  }
  
  #nav-input:checked ~ #nav-content {
    -webkit-transform: translateX(0%);
    transform: translateX(0%);
    box-shadow: 6px 0 25px rgba(0,0,0,.15);
  }
  
  .header-logo-menu{
   display: flex;
   display: -moz-flex;
   display: -o-flex;
   display: -webkit-flex;
   display: -ms-flex;
   flex-direction: row-reverse;
  }
  
  /*ロゴやサイトタイトルをセンタリング*/
  .logo-area{text-align:center;margin:auto;}
  
  .leaf1 {
    position: absolute;
    top: 0px;
    left: -8px;
    opacity: 0.85;
  }

  .leaf1 img {
    width: 150px;
  }

  .main {
    width: 100%;
    margin: 0 auto;
    margin-top: 100px;
  }
  
  .main h1 {
    text-align: center;
    font-size: 55px;
    font-weight: normal;
  }

  .main h2 {
    text-align: center;
    font-size: 30px;
    padding: 0.5%;
    border-bottom: solid 5px;
    margin: 50px 2% 10px 2%;
    background: linear-gradient(to bottom, #FFC778, #FFF);
  }  
  
  .works {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;

  }
  
  .works p {
    margin-top: 30%;
  }
  
  .work {
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column-reverse;
  }
  
  .work img {
    width: 80%;
    padding: 0 10%;
  } 

  .contact {
    text-align: center;
    padding: 25px 0 50px 0;
    margin-top: 50px;
  }

  /* ボタンホバーの傾き */
  .contact a {
    display: inline-block;
    transition: .3s;
  }
  .contact a:hover {
    transform: rotate(-10deg);
  }  
  
  .contact img {
    width: 100%;
    border-radius: 10px;
  }

  /* Topに戻るボタン */
  .pagetop {
    position: fixed;
    bottom: 60px;
    right: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 40%;
    transition: .3s;
    background: rgb(255, 113, 18);
    opacity: 0;
    font-size: 14px;
  }

  .pagetop:hover {
    box-shadow: 0 0 10px #00A6C4;
  }  
  
  .footer {
    background-color: rgb(255, 102, 0);
    padding: 15px 0;
    text-align: center;
    font-size: 20px;
    color: white;
  }

  .footer p {
    margin: 0;
  }
  
}  