@charset "UTF-8";

/* body
--------------------------------*/

.header-sec {
  width: 100%;
  background: #fff;
  height: 161px;
  padding: 0;
  display: flex;
  border-bottom: 1px solid #ccc;
  letter-spacing:0.2em;
}

.header-ul {
  display: flex;
  list-style: none;
  max-width: 720px;
  border: 1px solid #ccc;
}

.header-ul li {
  flex: 1;
  font-size: 1.1rem;
  font-weight: 700;
  display: inline-flex;
  height: 60px;
  align-items: center;
  justify-content: center;
  border-right: 1px solid #ccc;
}

.header-ul li:last-child {
  border-right: none;
}

.header-ul li:hover {
  padding-top: 5px;
  border-bottom: 5px solid #32b919;
}

.header-ul li a {
  display: block;
  color: #000;
}

.header-ul li a:hover {
  color: #999;
  text-decoration: none;
  transition: 0.3s;
}

.header-ul li:last-child {
  margin-right: 0;
}

.drawer {
  display: none;
}

/* ハンバーガーメニュー　input */
.checkbox-hidden {
  display: none;
}

label.hamburger {
  position: fixed;
  top: 22px;
  right: 10px;
  width: 20px;
  height: 16px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.hamburger {
  z-index: 100;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #333;
  position: absolute;
  transition: transform 0.5s, opacity 0.5s, width 0.3s;
}

.hamburger span:nth-child(1) {
  top: 0;
}

.hamburger span:nth-child(2) {
  top: 0;
  bottom: 0;
  margin: auto;
}

.hamburger span:nth-child(3) {
  bottom: 0;
}

#navTgl:checked + .hamburger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  background-color: #333;
}

#navTgl:checked + .hamburger span:nth-child(2) {
  top: 0;
  bottom: 0;
  margin: auto;
  width: 0px;
  opacity: 0;
  background-color: #333;
}

#navTgl:checked + .hamburger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  background-color: #333;
}

.menu {
  width: 100%;
  height: calc(100% + 1px);
  position: fixed;
  overscroll-behavior-y: contain;
  overflow-y: auto;
  top: 0;
  left: 100%;
  opacity: 0;
  z-index: 99;
  background: rgba(255, 255, 255, 1);
  transition: 0.5s ease-in-out;
}

nav.accordion {
  margin: 60px 40px;
  font-size: 1.3rem;
  color: #333;
}

label.acc {
  width: 100%;
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  border-bottom: 1px solid #333;
  padding-bottom: 15px;
}

label.acc::after {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  content: "＞";
  transform: rotate(90deg) scale(0.6, 1);
  font-weight: 900;
}

.accordion ul {
	list-style: none;
	margin:0;
  padding-inline-start: 30px;
}

.accordion h2 {
  font-size: 1.6rem;
  font-weight: 700;
  width: 100%;
  margin-bottom: 20px;
  border-bottom: 2px solid #333;
  padding-bottom: 15px;
}

.accordion li, .accordion p {
  width: 100%;
  margin-bottom: 20px;
  border-bottom: 1px solid #333;
  padding-bottom: 15px;
}

.toggle{
	display: none;
}

.toggle + ul {
	max-height: 0;
	overflow: hidden;
	transition: all .5s ease;
}

.toggle:checked + ul {
	max-height: fit-content;
	transition: all 1s ease-in;
}

#navTgl:checked ~ .menu {
  left: 0;
  opacity: 1;
}

#navTgl:checked ~ .menu li {
  transform: translateX(0px);
}

.inner {
  position: relative;
  width: 100%;
  margin: 0 auto;
  padding: 0;
}

@media only screen and (max-width: 480px) {
  /* body
--------------------------------*/
  .inner {
  position: relative;
  margin: 0 auto;
  padding: 0;
  }

  .header-sec {
  height: 90px;
  padding: 0 5px;
  border-bottom: none;
  }

  .drawer {
  display: block;
  }

}
