@charset 'utf-8';

/*=====全体の設定=====*/
html {
  font-size: 62.5%;
}

body {
  width: 100%;
  margin: 0 auto;
  max-width: 1000px;
  color: #252424;
  line-height: 1.7;
  font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

a {
  text-decoration: none;
  color: #252424;
}

.all {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

/*=====ナビの設定=====*/
.pcNav ul {
  font-size: 1.6rem;
  line-height: 1.2;
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  margin: 9% 0 6.5%;
  text-align: center;
}

.pcNav ul .smallTxt {
  font-size: 1.0rem;
}

.pcNav ul li a {
  display: block;
  padding-bottom: 5px;
}

.pcNav ul li a:after {
  border-bottom: solid 2px #ebd9b9;
  bottom: 0;
  content: "";
  display: block;
  transition: all .3s ease;
  width: 0;
}

.pcNav ul li a:hover::after {
  width: 100%;
}

.spNav {
  display: none;
}


/*=====スマホナビの設定=====*/
@media (max-width:768px) {
  .pcNav {
    display: none;
  }

  .spNav {
    display: block;
  }

  .logo {
    text-align: center;
    padding: 4%;
    margin-bottom: 5%;
  }

  /*=====ハンバガーメニューテスト=====*/

  .menu-btn {
/*    position: fixed;*/
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    height: 60px;
    width: 60px;
    justify-content: center;
    align-items: center;
    z-index: 90;
  }

  .menu-btn span,
  .menu-btn span:before,
  .menu-btn span:after {
    content: '';
    display: block;
    height: 3px;
    width: 25px;
    border-radius: 3px;
    background-color: #252424;
    position: absolute;
  }

  .menu-btn span:before {
    bottom: 8px;
  }

  .menu-btn span:after {
    top: 8px;
  }

  #menu-btn-check:checked ~ .menu-btn span {
    background-color: rgba(255, 255, 255, 0);
    /*メニューオープン時は真ん中の線を透明にする*/
  }

  #menu-btn-check:checked ~ .menu-btn span::before {
    bottom: 0;
    transform: rotate(45deg);
  }

  #menu-btn-check:checked ~ .menu-btn span::after {
    top: 0;
    transform: rotate(-45deg);
  }

  #menu-btn-check {
    display: none;
  }

  .menu-content {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 80;
    background-color: #ebd9b9;
  }

  .menu-content ul {
    padding: 70px 10px 0;
  }

  .menu-content ul li {
    border-bottom: solid 1px #252424;
    list-style: none;
  }

  .menu-content ul li a {
    display: block;
    width: 100%;
    font-size: 15px;
    box-sizing: border-box;
    color: #252424;
    text-decoration: none;
    padding: 9px 15px 10px 0;
    position: relative;
  }

  .menu-content ul li a::before {
    content: "";
    width: 7px;
    height: 7px;
    border-top: solid 2px #252424;
    border-right: solid 2px #252424;
    transform: rotate(45deg);
    position: absolute;
    right: 11px;
    top: 16px;
  }

  .menu-content {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 100%;
    /*leftの値を変更してメニューを画面外へ*/
    z-index: 80;
    background-color: #ebd9b9;
    transition: all 0.5s;
    /*アニメーション設定*/
  }

  #menu-btn-check:checked ~ .menu-content {
    left: 0;
    /*メニューを画面内へ*/
  }
}
