@charset "UTF-8";

/* -------------------------------------------------

ハンバーガーメニュー（overlay-styles.css）

------------------------------------------------- */
/* ハンバーガーアイコン（位置）
================================================== */
.hamburger-overlay,
.nav-overlay {
	display: none;
}
@media screen and (max-width: 980px)  {
.hamburger-overlay {
  position: fixed;
  top: 8px;
  right: 2%;
  z-index: 1000;
  width: 60px;
  height: 60px;
  border: none;
  background: transparent;
  cursor: pointer;
		display: block;
		border-radius: 50%;
		background-color:#ffffff;
}
.hamburger-overlay__line {
  position: absolute;
  /*left: 0;*/
		top: 7px;
  left: 15px;
  /*transform: translate(-50%, -50%);*/
  width: 30px;
  height: 2px;
  background-color: #333333;
  transition: all .6s;
}
}
@media screen and (max-width: 768px)  {
.hamburger-overlay {
 /*top: 11px;*/
}
}
@media print {
.hamburger-overlay {
	position:absolute;
}
}


/* ハンバーガーアイコン（横線）
================================================== */
@media screen and (max-width: 980px)  {
.hamburger-overlay__line:nth-of-type(1) { top: 14px; }
.hamburger-overlay__line:nth-of-type(2) { top: 22px; }
.hamburger-overlay__line:nth-of-type(3) { top: 30px; }
.hamburger-overlay__line:nth-of-type(4) {
	top: 35px;
	font-weight:500 !important;
	font-size: 0.6em !important;
	height: 0;
	color: #333333;
	text-align: center;
}
.hamburger-overlay__line:nth-of-type(4)::after {
	content: "MENU";
}
}
@media screen and (max-width: 768px)  {
/*.hamburger-overlay__line:nth-of-type(1) { top: 14px; }
.hamburger-overlay__line:nth-of-type(2) { top: 23px; }
.hamburger-overlay__line:nth-of-type(3) { top: 32px; }
.hamburger-overlay__line:nth-of-type(4) {
	font-size: 0.6em !important;
}*/
}

@media screen and (max-width: 980px)  {
.hamburger-overlay.active .hamburger-overlay__line:nth-of-type(1) {
  transform: translateY(8px) rotate(-45deg);
}
.hamburger-overlay.active .hamburger-overlay__line:nth-of-type(2) {
  opacity: 0;
}
.hamburger-overlay.active .hamburger-overlay__line:nth-of-type(3) {
  transform: translateY(-8px) rotate(45deg);
}
.hamburger-overlay.active .hamburger-overlay__line:nth-of-type(4)::after {
	content: "CLOSE";
}

/*.hamburger-overlay.active .hamburger-overlay__line:nth-of-type(4) { display: none; }*/
}


/* メニュー外枠
================================================== */
@media screen and (max-width: 980px)  {
.nav-overlay {
 display: block;
}
.nav-overlay {
  position: fixed;
  top: 0;
  right: 0;
  max-width: 400px;		/*  横幅  */
  width: 100%;
  height: 100vh;
		background-color: #ffffff;
  visibility: hidden;
  opacity: 0;
  transition: all .6s;
  z-index: 900;
}
.nav-overlay.active {
  visibility: visible;
  opacity: 1;
		overflow: auto;
}
}

@media screen and (max-width:480px)  {
.nav-overlay {
  max-width: 100%;		/*  横幅  */
}
}


/* 背景色（全体）
================================================== */
@media screen and (max-width: 980px)  {
.nav-overlay__mask {
 background: rgba(0, 0, 0, 0.5);
 position: fixed;
 top: 0;
 bottom: 0;
 right: 0;
 left: 0;
 z-index: 10;
 opacity: 0;
	pointer-events: none;
	visibility: hidden;
}
.nav-overlay__mask.active {
 opacity: 1;
	visibility: visible;
	pointer-events: auto;
}
}


/* ボタン
================================================== */
@media screen and (max-width: 980px)  {
.nav-overlay__btn {
	margin: 30px 50px;
	display: flex;
	justify-content:space-between;
	align-items: center;
}
}
@media screen and (max-width: 568px)  {
.nav-overlay__btn {
	flex-direction: column;
	align-items:center;
	margin: 30px 0px;
	padding: 0 5%;
}
}

/* メニュー内枠
================================================== */
@media screen and (max-width: 980px)  {
.nav-overlay__content {
	width: 100%;
	margin: 50px auto 0;
	padding: 0 8%;
}
}
@media screen and (max-width: 568px)  {
.nav-overlay__content {
	padding: 0 5%;
}
}

/* メニュー項目
================================================== */
@media screen and (max-width: 980px)  {
.nav-overlay__item {
 opacity: 0;
 transform: translateY(20px);
 transition: all .6s;
	margin-bottom: 5px;
}
.nav-overlay.active .nav-overlay__item {
 opacity: 1;
 transform: translateY(0);
}
	}
@media screen and (max-width: 568px)  {
.nav-overlay__item {
	margin-bottom: 0px;
}
}

@media screen and (max-width: 980px)  {
.nav-overlay__link {
 border-bottom: 1px solid #dddddd;
	font-size: 1.8rem;
 padding: 15px;
 text-decoration: none;
 transition: color .3s;
	display: block;
}
.nav-overlay__link:hover {
 color:#C50018;
}
}	

@media screen and (max-width: 568px)  {
.nav-overlay__link {
	font-size: 1.6rem;
 padding: 10px 15px;
}
}	

