@charset "UTF-8";

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

  /* PCcss */
  body {
    min-width: 1000px;
    background-image: url(../img/tree-haikei.JPG);
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
  }

  .container {
    width: 100%;
    margin: 0 auto;
  }

  nav {
    display: none;
  }

  /* ヘッダー */
  .header {
    width: 100%;
    height: 90px;
    display: flex;
    justify-content: space-between;
    position: fixed;
    top: 0;
    left: 0;
    /*余白が入らないように*/
    margin: 0%;
    z-index: 1000;
  }

  .header1 {
    background-color: #f5f5f5;
    width: 60%;
    text-align: left;
  }

  .header1 img {
    height: 100%;
    object-fit: cover;

  }

  .header2 {
    background-color: #000;
    width: 40%;
    align-items: center;
  }

  .header2 ul {
    width: 100%;
    height: 90px;
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    margin: auto;
    font-size: 30px;
    list-style: none;
    font-family: "Passion One", sans-serif;
    font-weight: 400;
    font-style: normal;

  }

  .header2 a {
    color: #ffffff;
    text-decoration: none;
  }

  .header2 li {
    width: 100%;
    text-align: center;
    text-decoration: none;
  }
  .header2 img {
    width: 30%;
  }

  .top {
    background-color: rgba(242, 238, 236, 0.6);
    width: 65%;
    text-align: center;
    margin: 0 auto;
    margin-bottom: 10%;
    border: 8px solid #000;
    margin-top: 150px;
    border-top-left-radius: 30px 30px;
    border-top-right-radius: 30px 30px;
  }

  /* ----portfolio文字---- */

  #typewriter {
    margin: auto;
    font-size: 60px;
    width: 55%;
    text-align: center;
    padding-bottom: 0%;
    border-bottom: 8px solid lightcoral;
    margin-top: 0%;
    margin-bottom: 0%;
    font-family: "Noto Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 900;
    font-style: normal;
    font-variation-settings: "wdth" 100;
  }

  #typewriter::after {
    content: "|";
    animation-name: blink;
    animation-duration: 1s;
    animation-iteration-count: infinite;
  }

  @keyframes blink {
    from {
      opacity: 0;
    }

    to {
      opacity: 1;
    }
  }

  .top h2 {
    margin: auto;
    font-size: 30px;
    width: 90%;
    text-align: center;
    margin-top: 20%;
    font-weight: lighter;
  }

  .top h3 {
    margin: auto;
    margin-top: 2%;
    font-size: 30px;
    width: 90%;
    text-align: center;
    margin-bottom: 20%;
    font-weight: lighter;
  }

  .top img {
    width: 90%;
  }

  .works h2 {
    background-color: #8090c0;
    width: 65%;
    text-align: center;
    margin: auto;
    font-size: 45px;
    font-family: "Passion One", sans-serif;
    font-weight: 400;
    font-style: normal;
    border-width: 4px 4px 1px 4px;
    border-style: solid;
    border-top-left-radius: 30px 30px;
    border-top-right-radius: 30px 30px;
    padding-top: 2%;

  }

  .section {
    background-color: lightcoral;
    width: 100%;
    display: flex;
    justify-content: space-around;
  }

  /*=======slick=======*/

  html,
  body {
    margin: 0;
    padding: 0;
  }

  * {
    box-sizing: border-box;
  }

  .sliderArea {
    background-color: #f29b8f;
    max-width: 65%;
    margin: 0 auto;
    padding: 20px 25px;
    margin-bottom: 3%;
    border-width: 1px 4px 4px 4px;
    border-style: solid;
    padding-top: 5%;
    padding-bottom: 0;
  }

  .sliderArea.w300 {
    max-width: 300px;
  }

  .slick-slide {
    margin: 0 5px;
  }

  .slick-slide img {
    width: 100%;
    height: auto;
  }

  .slick-prev,
  .slick-next {
    z-index: 1;
  }

  .slick-prev:before,
  .slick-next:before {
    color: #000;
  }

  .slick-slide {
    transition: all ease-in-out .3s;
    opacity: .2;
  }

  .slick-active {
    opacity: 1;
  }

  .slick-current {
    opacity: 1;
  }

  .thumb {
    margin: 20px 0 0;
  }

  .thumb .slick-slide {
    cursor: pointer;
  }

  .thumb .slick-slide:hover {
    opacity: .7;
  }

  /* --------ここまで------- */
  .touchimg {
    width: 100%;
    text-align: right;
    margin-top: 0;
  }

  .touchimg img {
    width: 15%;
  }

  .content img {
    width: 100%;
    text-align: center;
  }

  .content1 {
    background-color: mediumpurple;
    width: 30%;
  }

  .content2 {
    background-color: aliceblue;
    width: 30%;
  }

  .content3 {
    background-color: mediumpurple;
    width: 30%;
  }

  .about1 {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 3%;
  }

  .about h2 {
    background-color: #f4a460;
    width: 65%;
    text-align: center;
    margin: auto;
    font-size: 45px;
    font-family: "Passion One", sans-serif;
    font-weight: 400;
    font-style: normal;
    border-width: 4px 4px 1px 4px;
    border-style: solid;
    padding-top: 2%;
  }

  .name {
    background-color: #abdad1;
    width: 25%;
    text-align: center;
    border-width: 1px 1px 4px 4px;
    border-style: solid;
  }

  .name h4 {
    background-color: #ccdc43;
    width: 70%;
    margin-top: 10%;
    font-size: 50px;
    font-family: "Caveat", cursive;
    font-optical-sizing: auto;
    font-style: normal;
    border-width: 2px 2px 2px 0px;
    border-style: solid;
  }


  .name img {
    background-color: peru;
    width: 60%;
    text-align: center;
    border: solid #000;

  }

  .history {
    background-color: #ffe4c4;
    width: 40%;
    text-align: center;
    padding-top: 3%;
    border-width: 1px 4px 4px 1px;
    border-style: solid;
  }

  /* ----------HELLO!!文字 ----------*/
  .history img {
    width: 65%;
  }

  .history p {
    padding-left: 3%;
    margin-top: 10%;
    margin-bottom: 10%;
    text-align: left;
    font-size: 18px;
    font-family: "Zen Maru Gothic", serif;
    font-weight: 400;
    font-style: normal;
  }

  .service h2 {
    background-color: #f29b8f;
    width: 65%;
    text-align: center;
    margin: auto;
    font-size: 45px;
    font-family: "Passion One", sans-serif;
    font-weight: 400;
    font-style: normal;
    border-width: 4px 4px 1px 4px;
    border-style: solid;
    padding-top: 2%;

  }

  .service1 {
    background-color: bisque;
    width: 65%;
    margin: auto;
    margin-bottom: 3%;
    border-width: 1px 4px 4px 4px;
    border-style: solid;
  }

  .service2 {
    width: 80%;
    display: flex;
    justify-content: space-between;
    margin: auto;

  }

  .service2 img {
    width: 25%;
    margin-top: 5%;
    transform: translateX(-200px);
    transition: 6s ease;
  }

  @keyframes slideinLeft {
    0% {
      transform: translateX(-180px);
    }

    100% {
      transform: translateX(0);
    }
  }

  .service3 {
    width: 80%;
    text-align: center;
    margin: auto;
    font-size: 18px;
  }

  .service4 {
    width: 80%;
    margin-left: 10%;
    font-size: 16px;
  }

  .service4 h3 {
    margin-top: 10%;
    margin-bottom: 0;
    font-size: 21px;
  }

  .service4 h4 {
    margin-top: 0;
    margin-bottom: 3%;
    font-size: 20px;
  }

  .contact {
    background-color: bisque;
    width: 65%;
    text-align: center;
    margin: auto;
    margin-bottom: 10%;
    border: solid 4px #000;
    border-bottom-left-radius: 30px 30px;
    border-bottom-right-radius: 30px 30px;
    padding-bottom: 3%;
  }

  .contact h4 {
    font-size: 25px;
    justify-content: center;
    margin-bottom: 0%;
    font-family: "Zen Maru Gothic", serif;
    font-weight: 400;
    font-style: normal;
  }

  .service3 p {
    margin-top: 10%;
    font-family: "Zen Maru Gothic", serif;
    font-weight: 400;
    font-style: normal;

  }

  /* お問合せボタン */
  .btn {

    *,
    *:before,
    *:after {
      -webkit-box-sizing: inherit;
      box-sizing: inherit;
    }

    html {
      -webkit-box-sizing: border-box;
      box-sizing: border-box;
      font-size: 62.5%;
      /*rem算出をしやすくするために*/
    }

    .btn,
    a.btn,
    button.btn {
      /* font-size: 1.6rem; */
      font-weight: 700;
      line-height: 1.5;
      position: relative;
      display: inline-block;
      padding: 1rem 4rem;
      cursor: pointer;
      -webkit-user-select: none;
      -moz-user-select: none;
      -ms-user-select: none;
      user-select: none;
      -webkit-transition: all 0.3s;
      transition: all 0.3s;
      text-align: center;
      vertical-align: middle;
      text-decoration: none;
      letter-spacing: 0.1em;
      color: #212529;
      border-radius: 0.5rem;
    }

    *,
    *:before,
    *:after {
      -webkit-box-sizing: inherit;
      box-sizing: inherit;
    }

    html {
      -webkit-box-sizing: border-box;
      box-sizing: border-box;
      font-size: 62.5%;
    }

    .btn,
    a.btn,
    button.btn {
      font-size: 1.6rem;
      font-weight: 700;
      line-height: 1.5;
      position: relative;
      display: inline-block;
      padding: 1rem 4rem;
      cursor: pointer;
      -webkit-user-select: none;
      -moz-user-select: none;
      -ms-user-select: none;
      user-select: none;
      -webkit-transition: all 0.3s;
      transition: all 0.3s;
      text-align: center;
      vertical-align: middle;
      text-decoration: none;
      letter-spacing: 0.1em;
      color: #212529;
      border-radius: 0.5rem;
    }

    a.btn-custom01 {
      margin-bottom: 0.5rem;
      padding: 0;
      border-radius: 0.75rem;
    }

    a.btn-custom01:before {
      position: absolute;
      top: 0;
      right: 0;
      bottom: 0;
      left: 0;

      width: 100%;
      height: 100%;

      content: "";
      -webkit-transition: all 0.3s;
      transition: all 0.3s;
      -webkit-transform: translate3d(0, 0.75rem, -1rem);
      transform: translate3d(0, 0.75rem, -1rem);

      border: 2px solid #000;
      border-radius: inherit;
      background: #ccc100;
      -webkit-box-shadow: 0 0.6rem 0 0 rgba(0, 0, 0, 0.2);
      box-shadow: 0 0.6rem 0 0 rgba(0, 0, 0, 0.2);
    }

    a.btn-custom01:after {
      font-family: "Font Awesome 5 Free";
      font-size: 2rem;
      font-weight: normal;
      line-height: 1;
      position: absolute;
      top: calc(50% - 1rem);
      left: 1.5rem;
      margin: 0;
      padding: 0;
      content: "\f0e0";
    }

    .btn-custom01-front {
      position: relative;
      display: block;
      padding: 1.5rem 5rem 1.5rem 5rem;

      -webkit-transition: all 0.3s;
      transition: all 0.3s;
      border: 2px solid #000;
      border-radius: inherit;
      background: #fff100;
      font-family: "Passion One", sans-serif;
      font-weight: 400;
      font-style: normal;
      font-size: 30px;
    }

    .fa-position-left {
      position: absolute;
      top: calc(50% - 0.5em);
      left: 1rem;
    }

    .fa-position-right {
      position: absolute;
      top: calc(50% - 0.5em);
      right: 1rem;
    }

    a.btn-custom01:hover {
      -webkit-transform: translate(0, 0.25rem);
      transform: translate(0, 0.25rem);
      background: #fff100;
    }

    a.btn-custom01:hover:before {
      -webkit-transform: translate3d(0, 0.5rem, -1rem);
      transform: translate3d(0, 0.5rem, -1rem);
      -webkit-box-shadow: 0 0.35rem 0 0 rgba(0, 0, 0, 0.2);
      box-shadow: 0 0.35rem 0 0 rgba(0, 0, 0, 0.2);
    }

    a.btn-custom01:hover:after {
      content: "\f2b6";
    }

    a.btn-custom01:active {
      -webkit-transform: translate(0rem, 0.75rem);
      transform: translate(0rem, 0.75rem);
    }

    a.btn-custom01:active:before {
      -webkit-transform: translate3d(0, 0, -1rem);
      transform: translate3d(0, 0, -1rem);
      -webkit-box-shadow: 0 0.35rem 0 0 rgba(0, 0, 0, 0.2);
      box-shadow: 0 0.35rem 0 0 rgba(0, 0, 0, 0.2);
    }

    a.btn-custom01:active:after {
      content: "\f2b6";
    }
  }

  /* ------topに戻るボタン------ */
  #pagetop {
    /* レイアウト */
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    /* 見た目 */
    width: 60px;
    aspect-ratio: 1/1;
    background-color: #000;
    border-radius: 50%;
    cursor: pointer;
    color: #fff;
    transition: 0.3s;

    /* デフォルトは非表示 */
    opacity: 0;
    visibility: hidden;
    transition: 0.2s;
  }

  /* 矢印 */
  .pagetop-arrow {
    height: 15px;
    width: 15px;
    border-top: 4px solid #ffffff;
    border-right: 4px solid #ffffff;
    transform: translateY(20%) rotate(-45deg);
  }

  /* スクロールされたときに適用されるCSS */
  #pagetop.visible {
    opacity: 1;
    visibility: visible;
  }
}



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

  body {
    min-width: 600px;
    max-width: 999px;
    background-image: url(../img/tree-haikei.JPG);
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
  }

  .container {
    /* background-color: #fff462; */
    width: 100%;
    margin: 0 auto;
  }

  nav {
    display: none;
  }

  /* ヘッダー */
  .header {
    width: 100%;
    height: 70px;
    display: flex;
    justify-content: space-between;
    position: fixed;
    top: 0;
    left: 0;
    /*余白が入らないように*/
    margin: 0%;
    z-index: 1000;
  }

  .header1 {
    background-color: #f5f5f5;
    width: 50%;
    text-align: left;
  }

  .header1 img {
    height: 100%;
    object-fit: cover;

  }

  .header2 {
    background-color: #000;
    width: 50%;
    align-items: center;
  }

  .header2 ul {
    width: 100%;
    height: 70px;
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    margin: auto;
    font-size: 30px;
    list-style: none;
    font-family: "Passion One", sans-serif;
    font-weight: 400;
    font-style: normal;

  }

  .header2 a {
    color: #ffffff;
    text-decoration: none;
  }

  .header2 li {
    width: 100%;
    text-align: center;
    text-decoration: none;
    margin-right: 4%;
  }

  .header2 img {
    width: 35%;

  }

  .top {
    background-color: rgba(242, 238, 236, 0.6);
    width: 80%;
    text-align: center;
    margin: 0 auto;
    margin-bottom: 10%;
    border: 8px solid #000;
    margin-top: 150px;
    border-top-left-radius: 30px 30px;
    border-top-right-radius: 30px 30px;
  }

  /* ----portfolio文字---- */

  #typewriter {
    margin: auto;
    font-size: 50px;
    width: 55%;
    text-align: center;
    padding-bottom: 0%;
    border-bottom: 4px solid lightcoral;
    margin-top: 0%;
    margin-bottom: 0%;
    font-family: "Noto Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 900;
    font-style: normal;
    font-variation-settings: "wdth" 100;

  }

  #typewriter::after {
    content: "|";
    animation-name: blink;
    animation-duration: 1s;
    animation-iteration-count: infinite;
  }

  @keyframes blink {
    from {
      opacity: 0;
    }

    to {
      opacity: 1;
    }
  }

  .top h2 {
    margin: auto;
    font-size: 20px;
    width: 90%;
    text-align: center;
    margin-top: 20%;
    font-weight: lighter;
  }

  .top h3 {
    margin: auto;
    margin-top: 2%;
    font-size: 20px;
    width: 90%;
    text-align: center;
    margin-bottom: 20%;
    font-weight: lighter;
  }

  .top img {
    width: 90%;
  }

  .works h2 {
    background-color: #8090c0;
    width: 80%;
    text-align: center;
    margin: auto;
    font-size: 35px;
    font-family: "Passion One", sans-serif;
    font-weight: 400;
    font-style: normal;
    border-width: 4px 4px 1px 4px;
    border-style: solid;
    border-top-left-radius: 30px 30px;
    border-top-right-radius: 30px 30px;
    padding-top: 2%;

  }

  .section {
    background-color: lightcoral;
    width: 100%;
    display: flex;
    justify-content: space-around;
  }

  /*===== slick=====*/

  html,
  body {
    margin: 0;
    padding: 0;
  }

  * {
    box-sizing: border-box;
  }

  .sliderArea {
    background-color: #f29b8f;
    max-width: 80%;
    margin: 0 auto;
    padding: 20px 25px;
    margin-bottom: 3%;
    border-width: 1px 4px 4px 4px;
    border-style: solid;
    padding-top: 5%;
    padding-bottom: 0;
  }

  .sliderArea.w300 {
    max-width: 300px;
  }

  .slick-slide {
    margin: 0 5px;
  }

  .slick-slide img {
    width: 100%;
    height: auto;
  }

  .slick-prev,
  .slick-next {
    z-index: 1;
  }

  .slick-prev:before,
  .slick-next:before {
    color: #000;
  }

  .slick-slide {
    transition: all ease-in-out .3s;
    opacity: .2;
  }

  .slick-active {
    opacity: 1;
  }

  .slick-current {
    opacity: 1;
  }

  .thumb {
    margin: 20px 0 0;
  }

  .thumb .slick-slide {
    cursor: pointer;
  }

  .thumb .slick-slide:hover {
    opacity: .7;
  }

  /* --------ここまで-------- */
  .touchimg {
    width: 100%;
    text-align: right;
    margin-top: 0;
  }

  .touchimg img {
    width: 15%;
  }

  .content img {
    width: 100%;
    text-align: center;
  }

  .content1 {
    background-color: mediumpurple;
    width: 30%;
  }

  .content2 {
    background-color: aliceblue;
    width: 30%;
  }

  .content3 {
    background-color: mediumpurple;
    width: 30%;
  }

  .about1 {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 3%;
  }

  .about h2 {
    background-color: #f4a460;
    width: 80%;
    text-align: center;
    margin: auto;
    font-size: 35px;
    font-family: "Passion One", sans-serif;
    font-weight: 400;
    font-style: normal;
    border-width: 4px 4px 1px 4px;
    border-style: solid;
    padding-top: 2%;
  }

  .name {
    background-color: #abdad1;
    width: 40%;
    text-align: center;
    border-width: 1px 1px 4px 4px;
    border-style: solid;
  }

  .name h4 {
    background-color: #ccdc43;
    width: 80%;
    margin-top: 20%;
    font-size: 35px;
    font-family: "Caveat", cursive;
    font-optical-sizing: auto;
    font-style: normal;
    border-width: 2px 2px 2px 0px;
    border-style: solid;
  }


  .name img {
    width: 80%;
    margin-bottom: 10%;
    text-align: center;
    border: solid #000;

  }

  .history {
    background-color: #ffe4c4;
    width: 40%;
    text-align: center;
    padding-top: 3%;
    border-width: 1px 4px 4px 1px;
    border-style: solid;
  }

  /* ----------HELLO!!文字 ----------*/
  .history img {
    width: 70%;
  }

  .history p {
    padding-left: 3%;
    margin-top: 10%;
    margin-bottom: 10%;
    text-align: left;
    font-size: 15px;
    font-family: "Zen Maru Gothic", serif;
    font-weight: 400;
    font-style: normal;
  }

  .service h2 {
    background-color: #f29b8f;
    width: 80%;
    text-align: center;
    margin: auto;
    font-size: 35px;
    font-family: "Passion One", sans-serif;
    font-weight: 400;
    font-style: normal;
    border-width: 4px 4px 1px 4px;
    border-style: solid;
    padding-top: 2%;

  }

  .service1 {
    background-color: bisque;
    width: 80%;
    margin: auto;
    margin-bottom: 3%;
    border-width: 1px 4px 4px 4px;
    border-style: solid;
  }

  .service2 {
    width: 80%;
    display: flex;
    justify-content: space-between;
    margin: auto;

  }

  .service2 img {
    width: 30%;
    margin-top: 5%;
    transform: translateX(-200px);
    transition: 6s ease;
  }

  @keyframes slideinLeft {
    0% {
      transform: translateX(-180px);
    }

    100% {
      transform: translateX(0);
    }
  }

  .service3 {
    width: 80%;
    text-align: center;
    margin: auto;
    font-size: 18px;
  }

  .service4 {
    width: 80%;
    margin-left: 10%;
    font-size: 16px;
  }

  .service4 h3 {
    margin-top: 10%;
    margin-bottom: 0;
    font-size: 15px;
  }

  .service4 h4 {
    margin-top: 0;
    margin-bottom: 3%;
    font-size: 15px;
  }

  .contact {
    background-color: bisque;
    width: 80%;
    text-align: center;
    margin: auto;
    margin-bottom: 10%;
    border: solid 4px #000;
    border-bottom-left-radius: 30px 30px;
    border-bottom-right-radius: 30px 30px;
    padding-bottom: 3%;
  }

  .contact h4 {
    font-size: 20px;
    justify-content: center;
    margin-bottom: 0%;
    font-family: "Zen Maru Gothic", serif;
    font-weight: 400;
    font-style: normal;
  }

  .service3 p {
    margin-top: 10%;
    font-family: "Zen Maru Gothic", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 15px
  }

  /* お問合せボタン */

  .btn {

    *,
    *:before,
    *:after {
      -webkit-box-sizing: inherit;
      box-sizing: inherit;
    }

    html {
      -webkit-box-sizing: border-box;
      box-sizing: border-box;
      font-size: 62.5%;
      /*rem算出をしやすくするために*/
    }

    .btn,
    a.btn,
    button.btn {
      /* font-size: 1.6rem; */
      font-weight: 700;
      line-height: 1.5;
      position: relative;
      display: inline-block;
      padding: 1rem 4rem;
      cursor: pointer;
      -webkit-user-select: none;
      -moz-user-select: none;
      -ms-user-select: none;
      user-select: none;
      -webkit-transition: all 0.3s;
      transition: all 0.3s;
      text-align: center;
      vertical-align: middle;
      text-decoration: none;
      letter-spacing: 0.1em;
      color: #212529;
      border-radius: 0.5rem;
    }

    *,
    *:before,
    *:after {
      -webkit-box-sizing: inherit;
      box-sizing: inherit;
    }

    html {
      -webkit-box-sizing: border-box;
      box-sizing: border-box;
      font-size: 62.5%;
    }

    .btn,
    a.btn,
    button.btn {
      font-size: 1.6rem;
      font-weight: 700;
      line-height: 1.5;
      position: relative;
      display: inline-block;
      padding: 1rem 4rem;
      cursor: pointer;
      -webkit-user-select: none;
      -moz-user-select: none;
      -ms-user-select: none;
      user-select: none;
      -webkit-transition: all 0.3s;
      transition: all 0.3s;
      text-align: center;
      vertical-align: middle;
      text-decoration: none;
      letter-spacing: 0.1em;
      color: #212529;
      border-radius: 0.5rem;
    }

    a.btn-custom01 {
      margin-bottom: 0.5rem;
      padding: 0;
      border-radius: 0.75rem;
    }

    a.btn-custom01:before {
      position: absolute;
      top: 0;
      right: 0;
      bottom: 0;
      left: 0;

      width: 100%;
      height: 100%;

      content: "";
      -webkit-transition: all 0.3s;
      transition: all 0.3s;
      -webkit-transform: translate3d(0, 0.75rem, -1rem);
      transform: translate3d(0, 0.75rem, -1rem);

      border: 2px solid #000;
      border-radius: inherit;
      background: #ccc100;
      -webkit-box-shadow: 0 0.6rem 0 0 rgba(0, 0, 0, 0.2);
      box-shadow: 0 0.6rem 0 0 rgba(0, 0, 0, 0.2);
    }

    a.btn-custom01:after {
      font-family: "Font Awesome 5 Free";
      font-size: 2rem;
      font-weight: normal;
      line-height: 1;
      position: absolute;
      top: calc(50% - 1rem);
      left: 1.5rem;
      margin: 0;
      padding: 0;
      content: "\f0e0";
    }

    .btn-custom01-front {
      position: relative;
      display: block;
      padding: 1rem 4rem 1rem 4rem;

      -webkit-transition: all 0.3s;
      transition: all 0.3s;
      border: 2px solid #000;
      border-radius: inherit;
      background: #fff100;
      font-family: "Passion One", sans-serif;
      font-weight: 400;
      font-style: normal;
      font-size: 30px;
    }

    .fa-position-left {
      position: absolute;
      top: calc(50% - 0.5em);
      left: 1rem;
    }

    .fa-position-right {
      position: absolute;
      top: calc(50% - 0.5em);
      right: 1rem;
    }

    a.btn-custom01:hover {
      -webkit-transform: translate(0, 0.25rem);
      transform: translate(0, 0.25rem);
      background: #fff100;
    }

    a.btn-custom01:hover:before {
      -webkit-transform: translate3d(0, 0.5rem, -1rem);
      transform: translate3d(0, 0.5rem, -1rem);
      -webkit-box-shadow: 0 0.35rem 0 0 rgba(0, 0, 0, 0.2);
      box-shadow: 0 0.35rem 0 0 rgba(0, 0, 0, 0.2);
    }

    a.btn-custom01:hover:after {
      content: "\f2b6";
    }

    a.btn-custom01:active {
      -webkit-transform: translate(0rem, 0.75rem);
      transform: translate(0rem, 0.75rem);
    }

    a.btn-custom01:active:before {
      -webkit-transform: translate3d(0, 0, -1rem);
      transform: translate3d(0, 0, -1rem);
      -webkit-box-shadow: 0 0.35rem 0 0 rgba(0, 0, 0, 0.2);
      box-shadow: 0 0.35rem 0 0 rgba(0, 0, 0, 0.2);
    }

    a.btn-custom01:active:after {
      content: "\f2b6";
    }
  }

  /* ------topに戻るボタン------ */
  #pagetop {
    /* レイアウト */
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    /* 見た目 */
    width: 60px;
    aspect-ratio: 1/1;
    background-color: #000;
    border-radius: 50%;
    cursor: pointer;
    color: #fff;
    transition: 0.3s;

    /* デフォルトは非表示 */
    opacity: 0;
    visibility: hidden;
    transition: 0.2s;
  }

  /* 矢印 */
  .pagetop-arrow {
    height: 15px;
    width: 15px;
    border-top: 4px solid #ffffff;
    border-right: 4px solid #ffffff;
    transform: translateY(20%) rotate(-45deg);
  }

  /* スクロールされたときに適用されるCSS */
  #pagetop.visible {
    opacity: 1;
    visibility: visible;
  }
}



/* ----------spサイズレスポンシブ -----------*/

@media(min-width:0px) and (max-width:599px) {

  body {
    min-width: 300px;
    max-width: 599px;
    background-image: url(../img/tree-haikei.JPG);
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
  }

  .container {
    width: 100%;
    margin: 0 auto;
  }

  /*========= ナビゲーションのためのCSS ===============*/

#g-nav{
  /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
  position:fixed;
  z-index: 999;
  /*ナビのスタート位置と形状*/
top:-120%;
  left:0;
width:100%;
  height: 100vh;/*ナビの高さ*/
background:#abdad1;
  /*動き*/
transition: all 0.6s;
}

/*アクティブクラスがついたら位置を0に*/
#g-nav.panelactive{
  top: 0;
}

/*ナビゲーションの縦スクロール*/
#g-nav.panelactive #g-nav-list{
  /*ナビの数が増えた場合縦スクロール*/
  position: fixed;
  z-index: 999; 
  width: 100%;
  height: 100vh;/*表示する高さ*/
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

/*ナビゲーション*/
#g-nav ul {
  /*ナビゲーション天地中央揃え*/
  position: absolute;
  z-index: 999;
  top:50%;
  left:50%;
  transform: translate(-50%,-50%);
}

/*リストのレイアウト設定*/

#g-nav li{
list-style: none;
  text-align: center; 
}

#g-nav li a{
color: #333;
text-decoration: none;
padding:10px;
display: block;
text-transform: uppercase;
letter-spacing: 0.1em;
font-weight: bold;
}

/*========= ボタンのためのCSS ===============*/
.openbtn{
  position: fixed;
        z-index: 9999;
        /*ボタンを最前面に*/
        top: 10px;
        right: 10px;
        cursor: pointer;
        width: 50px;
        height: 50px;
}

/*×に変化*/	
/*ボタン内側*/
.openbtn span{
  display: inline-block;
  transition: all .4s;/*アニメーションの設定*/
  position: absolute;
}

.openbtn span:nth-of-type(1),
.openbtn span:nth-of-type(3) {
  height: 2px;
background: #666;
  width: 62%;
  left: 10px;
}

.openbtn span:nth-of-type(1) {
top:13px;	
}

.openbtn span:nth-of-type(2) {
top:19px;
left:11px;
font-size:0.6rem;
text-transform: uppercase;
color: #666f;
}

.openbtn span:nth-of-type(3) {
top:36px;
}

/*activeクラスが付与されると線が回転して×になり、Menu表記をしている2つ目の要素が透過して消える*/
.openbtn.active span:nth-of-type(1) {
  top: 18px;
  left: 18px;
  transform: translateY(6px) rotate(-45deg);
  width: 30%;
}

.openbtn.active span:nth-of-type(2) {
opacity: 0;
}

.openbtn.active span:nth-of-type(3){
  top: 30px;
  left: 18px;
  transform: translateY(-6px) rotate(45deg);
  width: 30%;
}
nav img{
  width: 30%;
}
  /* ヘッダー */
  .header {
    width: 100%;
    height: 70px;
    display: flex;
    justify-content: space-between;
    position: fixed;
    top: 0;
    left: 0;
    /*余白が入らないように*/
    margin: 0%;
    z-index: 1000;
  }

  .header1 {
    background-color: #f5f5f5;
    width: 100%;
    text-align: left;
    border-bottom: #000 solid 4px;
  }

  .header1 img {
    height: 100%;
    object-fit: cover;

  }

  .header2 {
    display: none;
  }

  .top {
    background-color: rgba(242, 238, 236, 0.6);
    width: 80%;
    text-align: center;
    margin: 0 auto;
    margin-bottom: 10%;
    border: 7px solid #000;
    margin-top: 150px;
  }

  /* -----portfolio文字----- */

  #typewriter {
    margin: auto;
    font-size: 40px;
    width: 55%;
    text-align: center;
    padding-bottom: 0%;
    border-bottom: 4px solid lightcoral;
    margin-top: 0%;
    margin-bottom: 0%;
    font-family: "Noto Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 900;
    font-style: normal;
    font-variation-settings: "wdth" 100;
  }

  #typewriter::after {
    content: "|";
    animation-name: blink;
    animation-duration: 1s;
    animation-iteration-count: infinite;
  }

  @keyframes blink {
    from {
      opacity: 0;
    }

    to {
      opacity: 1;
    }
  }

  .top h2 {
    margin: auto;
    font-size: 20px;
    width: 90%;
    text-align: center;
    margin-top: 20%;
    font-weight: lighter;
  }

  .top h3 {
    margin: auto;
    margin-top: 2%;
    font-size: 20px;
    width: 90%;
    text-align: center;
    margin-bottom: 20%;
    font-weight: lighter;
  }

  .top img {
    width: 90%;
  }

  .works h2 {
    background-color: #8090c0;
    width: 80%;
    text-align: center;
    margin: auto;
    font-size: 35px;
    font-family: "Passion One", sans-serif;
    font-weight: 400;
    font-style: normal;
    border-width: 4px 4px 1px 4px;
    border-style: solid;
    border-top-left-radius: 30px 30px;
    border-top-right-radius: 30px 30px;
    padding-top: 2%;
  }

  .section {
    background-color: lightcoral;
    width: 100%;
    display: flex;
    justify-content: space-around;
  }

  /*=========slick========*/

  html,
  body {
    margin: 0;
    padding: 0;
  }

  * {
    box-sizing: border-box;
  }

  .sliderArea {
    background-color: #f29b8f;
    max-width: 80%;
    margin: 0 auto;
    padding: 20px 25px;
    margin-bottom: 5%;
    border-width: 1px 4px 4px 4px;
    border-style: solid;
    padding-top: 5%;
    padding-bottom: 0;
  }

  .sliderArea.w300 {
    max-width: 300px;
  }

  .slick-slide {
    margin: 0 5px;
  }

  .slick-slide img {
    width: 100%;
    height: auto;
  }

  .slick-prev,
  .slick-next {
    z-index: 1;
  }

  .slick-prev:before,
  .slick-next:before {
    color: #000;
  }

  .slick-slide {
    transition: all ease-in-out .3s;
    opacity: .2;
  }

  .slick-active {
    opacity: 1;
  }

  .slick-current {
    opacity: 1;
  }

  .thumb {
    margin: 20px 0 0;
  }

  .thumb .slick-slide {
    cursor: pointer;
  }

  .thumb .slick-slide:hover {
    opacity: .7;
  }

  /* --------ここまで------- */
  .touchimg {
    width: 100%;
    text-align: right;
    margin-top: 0;
  }

  .touchimg img {
    width: 15%;
  }

  .content img {
    width: 100%;
    text-align: center;
  }

  .content1 {
    background-color: mediumpurple;
    width: 30%;
  }

  .content2 {
    background-color: aliceblue;
    width: 30%;
  }

  .content3 {
    background-color: mediumpurple;
    width: 30%;
  }

  .about1 {
    width: 80%;
    margin-bottom: 3%;
    margin: auto;
  }

  .about h2 {
    background-color: #f4a460;
    width: 80%;
    text-align: center;
    margin: auto;
    font-size: 35px;
    font-family: "Passion One", sans-serif;
    font-weight: 400;
    font-style: normal;
    border-width: 4px 4px 1px 4px;
    border-style: solid;
    padding-top: 2%;
  }

  .name {
    background-color: #abdad1;
    width: 100%;
    text-align: center;
    border-width: 1px 4px 1px 4px;
    border-style: solid;
  }

  .name h4 {
    background-color: #ccdc43;
    width: 80%;
    margin-top: 20%;
    margin-bottom: 10%;
    font-size: 35px;
    font-family: "Caveat", cursive;
    font-optical-sizing: auto;
    font-style: normal;
    border-width: 2px 2px 2px 0px;
    border-style: solid;
  }


  .name img {
    background-color: peru;
    width: 80%;
    text-align: center;
    margin-bottom: 5%;
    border: solid #000;

  }

  .history {
    background-color: #ffe4c4;
    width: 100%;
    text-align: center;
    margin-bottom: 5%;
    border-width: 1px 4px 4px 4px;
    border-style: solid;
  }

  /* ----------HELLO!!文字 ----------*/
  .history img {
    width: 70%;
    margin-top: 4%;
  }

  .history p {
    padding: 5%;
    text-align: left;
    font-size: 15px;
    font-family: "Zen Maru Gothic", serif;
    font-weight: 400;
    font-style: normal;
  }

  .service h2 {
    background-color: #f29b8f;
    width: 80%;
    text-align: center;
    margin: auto;
    font-size: 35px;
    font-family: "Passion One", sans-serif;
    font-weight: 400;
    font-style: normal;
    border-width: 4px 4px 1px 4px;
    border-style: solid;
    padding-top: 2%;

  }

  .service1 {
    background-color: bisque;
    width: 80%;
    margin: auto;
    margin-bottom: 5%;
    border-width: 1px 4px 4px 4px;
    border-style: solid;
  }

  .service2 {
    width: 80%;
    display: flex;
    justify-content: space-between;
    margin: auto;

  }

  .service2 img {
    width: 30%;
    margin-top: 5%;
    transform: translateX(-200px);
    transition: 6s ease;
  }

  @keyframes slideinLeft {
    0% {
      transform: translateX(-180px);
    }

    100% {
      transform: translateX(0);
    }
  }


  .service3 {
    width: 80%;
    text-align: center;
    margin: auto;
    font-size: 18px;
  }

  .service4 {
    width: 80%;
    margin-left: 10%;
    font-size: 16px;
  }

  .service4 h3 {
    margin-top: 10%;
    margin-bottom: 0;
    font-size: 15px;
  }

  .service4 h4 {
    margin-top: 0;
    margin-bottom: 3%;
    font-size: 15px;
  }

  .contact {
    background-color: bisque;
    width: 80%;
    text-align: center;
    margin: auto;
    margin-bottom: 10%;
    border: solid 4px #000;
    border-bottom-left-radius: 30px 30px;
    border-bottom-right-radius: 30px 30px;
    padding-bottom: 3%;
  }

  .contact h4 {
    font-size: 20px;
    justify-content: center;
    margin-bottom: 0%;
    font-family: "Zen Maru Gothic", serif;
    font-weight: 400;
    font-style: normal;
  }

  .service3 p {
    margin-top: 10%;
    font-family: "Zen Maru Gothic", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 15px
  }

  /* お問合せボタン */

  .btn {

    *,
    *:before,
    *:after {
      -webkit-box-sizing: inherit;
      box-sizing: inherit;
    }

    html {
      -webkit-box-sizing: border-box;
      box-sizing: border-box;
      font-size: 62.5%;
      /*rem算出をしやすくするために*/
    }

    .btn,
    a.btn,
    button.btn {
      font-weight: 700;
      line-height: 1.5;
      position: relative;
      display: inline-block;
      padding: 1rem 4rem;
      cursor: pointer;
      -webkit-user-select: none;
      -moz-user-select: none;
      -ms-user-select: none;
      user-select: none;
      -webkit-transition: all 0.3s;
      transition: all 0.3s;
      text-align: center;
      vertical-align: middle;
      text-decoration: none;
      letter-spacing: 0.1em;
      color: #212529;
      border-radius: 0.5rem;
    }

    *,
    *:before,
    *:after {
      -webkit-box-sizing: inherit;
      box-sizing: inherit;
    }

    html {
      -webkit-box-sizing: border-box;
      box-sizing: border-box;
      font-size: 62.5%;
    }

    .btn,
    a.btn,
    button.btn {
      font-size: 1.6rem;
      font-weight: 700;
      line-height: 1.5;
      position: relative;
      display: inline-block;
      padding: 1rem 4rem;
      cursor: pointer;
      -webkit-user-select: none;
      -moz-user-select: none;
      -ms-user-select: none;
      user-select: none;
      -webkit-transition: all 0.3s;
      transition: all 0.3s;
      text-align: center;
      vertical-align: middle;
      text-decoration: none;
      letter-spacing: 0.1em;
      color: #212529;
      border-radius: 0.5rem;
    }

    a.btn-custom01 {
      margin-bottom: 0.5rem;
      padding: 0;
      border-radius: 0.75rem;
    }

    a.btn-custom01:before {
      position: absolute;
      top: 0;
      right: 0;
      bottom: 0;
      left: 0;

      width: 100%;
      height: 100%;

      content: "";
      -webkit-transition: all 0.3s;
      transition: all 0.3s;
      -webkit-transform: translate3d(0, 0.75rem, -1rem);
      transform: translate3d(0, 0.75rem, -1rem);

      border: 2px solid #000;
      border-radius: inherit;
      background: #ccc100;
      -webkit-box-shadow: 0 0.6rem 0 0 rgba(0, 0, 0, 0.2);
      box-shadow: 0 0.6rem 0 0 rgba(0, 0, 0, 0.2);
    }

    a.btn-custom01:after {
      font-family: "Font Awesome 5 Free";
      font-size: 1.5rem;
      font-weight: normal;
      line-height: 1;
      position: absolute;
      top: calc(50% - 1rem);
      left: 1rem;
      margin: 0;
      padding: 0;
      content: "\f0e0";
    }

    .btn-custom01-front {
      position: relative;
      display: block;
      padding: 1rem 3rem 1rem 3rem;

      -webkit-transition: all 0.3s;
      transition: all 0.3s;
      border: 2px solid #000;
      border-radius: inherit;
      background: #fff100;
      font-family: "Passion One", sans-serif;
      font-weight: 400;
      font-style: normal;
      font-size: 20px;
    }

    .fa-position-left {
      position: absolute;
      top: calc(50% - 0.5em);
      left: 1rem;
    }

    .fa-position-right {
      position: absolute;
      top: calc(50% - 0.5em);
      right: 1rem;
    }

    a.btn-custom01:hover {
      -webkit-transform: translate(0, 0.25rem);
      transform: translate(0, 0.25rem);
      background: #fff100;
    }

    a.btn-custom01:hover:before {
      -webkit-transform: translate3d(0, 0.5rem, -1rem);
      transform: translate3d(0, 0.5rem, -1rem);
      -webkit-box-shadow: 0 0.35rem 0 0 rgba(0, 0, 0, 0.2);
      box-shadow: 0 0.35rem 0 0 rgba(0, 0, 0, 0.2);
    }

    a.btn-custom01:hover:after {
      content: "\f2b6";
    }

    a.btn-custom01:active {
      -webkit-transform: translate(0rem, 0.75rem);
      transform: translate(0rem, 0.75rem);
    }

    a.btn-custom01:active:before {
      -webkit-transform: translate3d(0, 0, -1rem);
      transform: translate3d(0, 0, -1rem);
      -webkit-box-shadow: 0 0.35rem 0 0 rgba(0, 0, 0, 0.2);
      box-shadow: 0 0.35rem 0 0 rgba(0, 0, 0, 0.2);
    }

    a.btn-custom01:active:after {
      content: "\f2b6";
    }
  }

  /* ------topに戻るボタン------ */
  #pagetop {
    /* レイアウト */
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    /* 見た目 */
    width: 40px;
    aspect-ratio: 1/1;
    background-color: #000;
    border-radius: 50%;
    cursor: pointer;
    color: #fff;
    transition: 0.3s;

    /* デフォルトは非表示 */
    opacity: 0;
    visibility: hidden;
    transition: 0.2s;
  }

  /* 矢印 */
  .pagetop-arrow {
    height: 15px;
    width: 15px;
    border-top: 4px solid #ffffff;
    border-right: 4px solid #ffffff;
    transform: translateY(20%) rotate(-45deg);
  }

  /* スクロールされたときに適用されるCSS */
  #pagetop.visible {
    opacity: 1;
    visibility: visible;
  }
}