@charset "UTF-8";

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

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

------------------------------------------------- */
/* ハンバーガーアイコン（位置）
================================================== */
.hamburger-overlay,
.nav-overlay {
	display: none;
}
@media screen and (max-width: 898px)  {
.hamburger-overlay {
  position: fixed;
  top: 10px;
  right: 2%;
  z-index: 1000;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
		display: block;
}
.hamburger-overlay__line {
  position: absolute;
  left: 0;
  width: 40px;
  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: 898px)  {
.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) {
	top: 37px;
	font-weight:500 !important;
	font-size: 0.8em !important;
	height: 0;
	color: #333333;
	text-align: center;
}
}
@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: 898px)  {
.hamburger-overlay.active .hamburger-overlay__line:nth-of-type(1) {
  transform: translateY(9px) 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(-9px) rotate(45deg);
}
.hamburger-overlay.active .hamburger-overlay__line:nth-of-type(4) { display: none; }
}

/* メニュー外枠
================================================== */
@media screen and (max-width: 898px)  {
.nav-overlay {
 display: block;
}
.nav-overlay {
  position: fixed;
  top: 0;
  right: 0;
  max-width: 700px;
  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: 898px)  {
.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: 898px)  {
.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: 898px)  {
.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: 898px)  {
.nav-overlay__list {
	display: flex;
	justify-content:space-between;
}
.nav-overlay__list_Box {
	display: flex;
	justify-content:space-between;
}
.nav-overlay__list_Left {
	flex-basis: 48%;
	margin-right: 50px;
}
.nav-overlay__list_Right {
	flex-basis: calc(100% - 48%);
}
}
@media screen and (max-width: 568px)  {
.nav-overlay__list {
	flex-direction: column;
}	
.nav-overlay__list_Box {
	flex-direction: column;
}

.nav-overlay__list_Left {
	flex-basis: 100%;
	margin-right: 0px;
}
.nav-overlay__list_Right {
	flex-basis: 100%;
}
}


@media screen and (max-width: 898px)  {
.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: 898px)  {
.nav-overlay.active .nav-overlay__item:nth-child(1) { transition-delay: 0.1s; }
.nav-overlay.active .nav-overlay__item:nth-child(2) { transition-delay: 0.2s; }
.nav-overlay.active .nav-overlay__item:nth-child(3) { transition-delay: 0.3s; }
.nav-overlay.active .nav-overlay__item:nth-child(4) { transition-delay: 0.4s; }
}
@media screen and (max-width: 568px)  {
.nav-overlay.active .nav-overlay__item:nth-child(1) { transition-delay: 0s; }
.nav-overlay.active .nav-overlay__item:nth-child(2) { transition-delay: 0s; }
.nav-overlay.active .nav-overlay__item:nth-child(3) { transition-delay: 0s; }
.nav-overlay.active .nav-overlay__item:nth-child(4) { transition-delay: 0s; }
}*/

@media screen and (max-width: 898px)  {
.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;
}
}	

/* アコーディオンメニュー
================================================== */
@media screen and (max-width: 898px)  {
.nav-accordion details {
 overflow: hidden;
}
.nav-accordion summary {
 border-bottom: 1px solid #dddddd;
	font-size: 1.8rem;
 padding: 15px;
 cursor: pointer;
 position: relative;
 display: flex;
 justify-content: space-between;
 align-items: center;
}}
@media screen and (max-width: 568px)  {
.nav-accordion summary {
	font-size: 1.6rem;
 padding: 10px 15px;
}
}
.nav-accordion summary::-webkit-details-marker {
  display: none;
}

/* +-アイコン
================================================== */
.nav-accordion .icon {
  width: 16px;
  height: 16px;
  position: relative;
}

.nav-accordion .icon::before,
.nav-accordion .icon::after {
  content: '';
  position: absolute;
  background-color: #C50018;
  transition: transform 0.3s ease;
}

.nav-accordion .icon::before {
  width: 2px;
  height: 16px;
  top: 0;
  left: 7px;
  transform-origin: center;
}

.nav-accordion .icon::after {
  width: 16px;
  height: 2px;
  top: 7px;
  left: 0;
}

.nav-accordion .icon.open::before {
  transform: scaleY(0);
}

/* 開閉内のリンク
================================================== */
@media screen and (max-width: 898px)  {
	.nav-accordion .content {
  padding: 15px 5px 15px 15px;
}
.nav-accordion .content li {
  padding: 5px 0;
		position: relative;
}
.nav-accordion .content li a {
		padding: 5px 0;
		position: relative;
}
.nav-accordion .content li a::before {
  content: "";
  width: 5px;
  height: 1px;
	 background-color: #333333;
		position: absolute;
	 top: 50%;
		left: -12px;
}
.nav-accordion .content li a:hover {
 color:#C50018;
 text-decoration: underline;
	transition: .3s;  
}
}
@media screen and (max-width: 568px)  {
.nav-accordion .content {
 padding: 10px 15px;
}
.nav-accordion .content li {
 padding: 3px 0;
 font-size: 1.4rem;
}
}
