@charset "UTF-8";

html {
  scroll-behavior: smooth;
}

/* ヘッダーcss */

body {
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  /* font-weight: normal; */
  font-style: normal;
  background-color: #F8F4E6;
  color: #4b4b4b;
}

header {
  position: relative;
  z-index: 1;
}

#top {
  display: flex;
  width: 100%;
  height: 60px;
  background: #DEB068;
}

.logo {
  width: 50px;
  padding-top: 8px;
  margin: 0 auto;
}


/*三本線実装部分のcss①
----------------------*/
.hamburger-menu {
  position: relative;

}

.menu-btn {
  position: absolute;
  top: 5px;
  right: 10px;
  display: flex;
  height: 50px;
  width: 50px;
  justify-content: center;
  align-items: center;
  z-index: 1;
  /* background-color: #4d941a; */
}

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

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

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

.menu-btn:hover span,
.menu-btn:hover span:before,
.menu-btn:hover span:after {
  background: #F7391E;
}



/*三本線を「×」にするcss②
----------------------*/
#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);
}




/*チェックボックスを隠すcss③
----------------------*/
#menu-btn-check {
  display: none;
}




/*ここからメニューの装飾ですcss④
-------------------------------*/
.menu-content {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 0;
  background-color: #DEB068;
}

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

.menu-content ul li {
  border-bottom: solid 1px #4b4b4b;
  margin-left: 5px;
  margin-bottom: 10px;
  list-style: none;
  transform: translate(100%);
}

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

.menu-content ul li a::after {
  float: right;
  content: "";
  width: 7px;
  height: 7px;
  border-top: solid 1px #4b4b4b;
  border-right: solid 1px #4b4b4b;
  transform: rotate(45deg);
  position: absolute;
  right: 10px;
  top: 16px;
  /* margin-top: 6px; */
}





/*メニュー部分タップするとメニューが開く⑤
-------------------------------*/
.menu-content {
  width: 100%;
  height: 70%;
  position: fixed;
  top: 0;
  left: 100%;
  z-index: 0;
  background-color: #DEB068;
  transition: all 0.4s;
  /*アニメーション設定*/
}

#menu-btn-check:checked~.menu-content {
  width: 60%;
  left: 40%;
}

#menu-btn-check:checked~.menu-content ul li:nth-of-type(1) {
  transform: translate(0%);
  transition: 0.4s;
}

#menu-btn-check:checked~.menu-content ul li:nth-of-type(2) {
  transform: translate(0%);
  transition: 0.5s;
}

#menu-btn-check:checked~.menu-content ul li:nth-of-type(3) {
  transform: translate(0%);
  transition: 0.6s;
}

#menu-btn-check:checked~.menu-content ul li:nth-of-type(4) {
  transform: translate(0%);
  transition: 0.7s;
}

#menu-btn-check:checked~.menu-content ul li:nth-of-type(5) {
  transform: translate(0%);
  transition: 0.8s;
}

#menu-btn-check:checked~.menu-content ul li:nth-of-type(6) {
  transform: translate(0%);
  transition: 0.9s;
}

#menu-btn-check:checked~.menu-content ul li:nth-of-type(7) {
  transform: translate(0%);
  transition: 1.0s;
}


/* フッターcss */
html,
body {
  height: 100%;
}

body>footer {
  position: sticky;
  top: 100vh;
}

footer {
  width: 100%;
  /* margin-top: 10px; */
  background: #DEB068;
}



/*SNS*/
.sns {
  display: flex;
  justify-content: center;
  align-items: center;
}

.sns li {
  width: 30px;
  padding: 10px 10px;
  list-style-type: none;
}

.sns a:hover {
  opacity: 0.7;
}

/*copyright*/
footer p {
  text-align: center;
}

footer p a {
  color: #4b4b4b;
  /* text-decoration: none; */
}

footer a:hover {
  opacity: 0.7;
}

footer p a:hover {
  color: #ffffff;
}

footer .copyright {
  padding-bottom: 10px;
}

/*pagetop*/
.pagetop {
  width: 45px;
  height: 45px;
  position: fixed;
  right: 10px;
  bottom: 60px;
}

.pagetop a {
  display: block;
  width: 45px;
  height: 45px;
  padding-top: 10px;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  text-decoration: none;
  text-align: center;
  font-size: 12px;
}

.pagetop a::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  margin: auto;
  border-top: 1px solid #4b4b4b;
  border-right: 1px solid #4b4b4b;
  transform: rotate(-45deg);
}

.pagetop a:hover {
  background: rgba(255, 255, 255, 0.8);
  color: #F7391E;
}

.pagetop a:hover:before {
  border-color: #F7391E;
}