@charset "UTF-8";
/*========================================
Re:vite
Date : 
Style : principal CSS "header" "footer" "nav"
Filename : principal.css
========================================*/

/*========================================
Header Contents
========================================*/
.global-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #aaa;
  z-index: 9998;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 40px;
  background-color: #fff;
}
.header-left {
  display: flex;
  align-items: center;
}
.header-logo {
  width: 100px;
  margin: 0 0 0 20px;
}
.user-info {
  display: flex;
  align-items: center;
  margin: 0 20px 0 0;
}
.user-info figure {
  width: 13px;
  margin: 0 5px 0 0;
}
.logout-btn a {
  display: block;
  margin: 0 0 0 10px;
  padding: 5px;
  background: #aaa;
  color: #fff;
  font-size: 0.9rem;
  border-radius: 2px;
}
@media (max-width: 450px) {
	.global-header {
		position: static;
		top: 0;
		left: 0;
		background: #fff;
		box-shadow: 0 5px 3px -3px #ddd;
	}
}
@media (max-width: 450px) {
  .header-logo {
    width: 70px;
    margin: 0 0 0 10px;
  }
  .user-info {
    margin: 0 10px 0 0;
  }
}
@media (max-width: 374px) {
}
/*========================================
side nav
========================================*/
.side-nav {
  display: none;
  max-height: calc(100vh - 40px);
  overflow: auto;
}
.humberger_ar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 40px;
}
.sp-humberger_ar {
  display: none;
}
.humberger_ar > div {
  position: relative;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  width: 40px;
  height: 100%;
}
.humberger span {
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: 0.2s;
}
.humberger span:first-of-type {
  transform: translateY(-4px);
}
.humberger span:last-of-type {
  transform: translateY(4px);
}
.main-category {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}
.main-category h4 {
  box-sizing: border-box;
  padding: 10px;
  background: #999;
  border: 1px solid #999;
  border-bottom: 1px solid #555;
  color: #fff;
}
.main-category h4 a {
  color: #fff;
}
.main-category h4:hover {
  cursor: pointer;
  background: #82bad8;
}
.sub-category {
  display: none;
}
.sub-category li a {
  box-sizing: border-box;
  display: block;
  padding: 10px 10px 10px 25px;
  background: #fff;
  border-right: 1px solid #aaa;
  border-bottom: 1px solid #aaa;
	color: #450676;
	font-size: 0.9rem;
}
.sub-category li a:hover {
  background: #82bad8;
  color: #fff;
}
@media (min-width: 451px) {
  .humberger:hover {
    cursor: pointer;
  }
  .humberger:hover span:first-of-type {
    position: absolute;
    top: 16px;
    left: 8px;
    width: 10px;
    transform: translateY(-50%) rotate(-45deg);
  }
  .humberger:hover span:last-of-type {
    position: absolute;
    top: 23px;
    left: 8px;
    width: 10px;
    transform: translateY(-50%) rotate(45deg);
  }
  .side-contents.active .humberger:hover span:first-of-type {
    position: absolute;
    top: 16px;
    left: auto;
    right: 8px;
    width: 10px;
    transform: translateY(-50%) rotate(45deg);
  }
  .side-contents.active .humberger:hover span:last-of-type {
    position: absolute;
    top: 23px;
    left: auto;
    right: 8px;
    width: 10px;
    transform: translateY(-50%) rotate(-45deg);
  }
}
@media (max-width: 450px) {
	.side-nav {
    display: block;
		max-height: calc(100vh - 40px);
		overflow: auto;
	}
  .sp-humberger_ar {
    display: block;
    width: 40px;
    height: 40px;
    background: #999;
  }
  .sp-humberger_ar > div {
    position: relative;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    width: 40px;
    height: 100%;
  }
  .side-contents .humberger span:first-of-type {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
  }
  .side-contents .humberger span:nth-of-type(2) {
    display: none;
  }
  .side-contents .humberger span:last-of-type {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
	}
	.sub-category {
		display: block;
	}
}
@media (max-width: 450px) {
}
@media (max-width: 374px) {
}
/*========================================
Breadcrumb
========================================*/
.breadcrumb ul {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin: 0 0 20px;
}
.breadcrumb ul li a {
  position: relative;
  display: inline-block;
  margin: 0 20px 0 0;
  color: #450676;
  font-size: 0.8rem;
  text-decoration: underline;
}
.breadcrumb ul li:not(:last-of-type) a:after {
  content: "＞";
  position: absolute;
  top: 50%;
  right: -15px;
  transform: translateY(-50%);
}
@media (max-width: 450px) {
}
@media (max-width: 450px) {
}
@media (max-width: 374px) {
}

/*========================================
footer
========================================*/
footer {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  background: #eee;
  color: #aaa;
  font-size: 0.7rem;
  text-align: center;
  line-height: 1.2;
}
@media (max-width: 450px) {
}
@media (max-width: 450px) {
  footer {
    font-size: 10px;
  }
}
@media (max-width: 374px) {
}
