/*
- Name: megamenu.js - style.css
- Version: 1.0
- Latest update: 29.01.2016.
- Author: Mario Loncarek
- Author web site: http://marioloncarek.com
*/


/* ––––––––––––––––––––––––––––––––––––––––––––––––––
Body - not related to megamenu
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.description {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
}


/* ––––––––––––––––––––––––––––––––––––––––––––––––––
megamenu.js STYLE STARTS HERE
–––––––––––––––––––––––––––––––––––––––––––––––––– */


/* ––––––––––––––––––––––––––––––––––––––––––––––––––
Screen style's
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.menu-container {
    width: 100%;
    margin: 0 0 0;
}

.menu-container * {
    box-sizing: border-box;
}

.menu-container a {
    color: #333;
}

.menu-mobile {
    display: none;
}

.menu-mobile:after {
    font-family: "Font Awesome 5 Free";
    content: "\f0c9";
    font-weight: 900;
    color: #333;
    padding: 0;
    font-size: 4rem;
    line-height: .9;
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 100000;
    -webkit-transition: all 1s;
         -o-transition: all 1s;
            transition: all 1s;
}

.menu-dropdown-icon:before {
    content: "\f489";
    font-family: "Ionicons";
    display: none;
    cursor: pointer;
    /* float: right; */
    position: absolute;
    top: 0;
    right: 0;
    padding: 14px 25px 12px;
    background: #162c85;
    color: #fff;
    font-size: 2.0rem;
    font-weight: bold;
    line-height: 1.5;
}

.menu > ul {
  /* display: flex; */
  margin: 0 auto;
  width: 100%;
  /* height: 38px; */
  /* overflow: hidden; */
  list-style: none;
  padding: 0 50px 0 10px;
  position: relative;
  /* IF .menu position=relative -> ul = container width, ELSE ul = 100% width */
  box-sizing: border-box;
}

.menu > ul > li {
  /* float: left;
  width: 14%; */
  padding: 5px 0 0;
  margin: 0 0 14px;
  list-style: none;
	position: relative;
  text-align: left;
	/* text-shadow: 0px 2px 0 rgba(255,255,255,1),
	             0px -2px 0 rgba(255,255,255,1),
	             2px 0px 0 rgba(255,255,255,1),
	             -2px 0px 0 rgba(255,255,255,1); */
}

.menu > ul > li a {
  display: inline-block;
	position: relative;
}

.menu > ul > li.navstyle a,
.single-post .menu > ul > li#menu-item-848 a {
  display: inline;
  background-image: linear-gradient(90deg, #f5da96, #f5da96); /* マーカーの色を指定 */
  background-repeat: no-repeat;
  background-position: left bottom; /* マーカーの発生位置を左下に設定 */
  background-size: 0 40%; /* マーカーの横幅 / 縦幅 */
  transition: all 0.3s ease; /* マーカーを引く速度 */
  cursor: pointer; /* ホバー時のカーソルをポインターにする */
	padding: 0 3px 0;
}

.menu > ul > li.navstyle a:hover,
.single-post .menu > ul > li#menu-item-848 a {
  background-size: 100% 40%; /* マーカーの横幅を100%にする */
}

/* .menu > ul > li.navstyle a::before {
  background: #cfd0e1;
  content: '';
  width: 100%;
  height: 1px;
  position: absolute;
  left: 0;
  bottom: 0;
  margin: auto;
  transform-origin: right top;
  transform: scale(0, 1);
  transition: transform .3s;
}

.menu > ul > li.navstyle a:hover::before {
  transform-origin: left top;
  transform: scale(1, 1);
} */


.menu > ul > li:last-child {
  padding: 33px 0 0;
}

.menu > ul > li:last-child a {
  display: inline-block;
	padding: 0 3px 0;
	font-size: 2.2rem;
	color: #1c1f5c;
	transition: .1s;
}

.menu > ul > li:last-child a:hover {
	transform: rotate(-15deg);
}

.menu > ul > li.navstyle.current a,
.single-post .menu > ul > li#menu-item-848 a {
	display: inline;
  background-image: linear-gradient(90deg, #f5da96, #f5da96); /* マーカーの色を指定 */
  background-repeat: no-repeat;
  background-position: left bottom; /* マーカーの発生位置を左下に設定 */
  background-size: 100% 40%; /* マーカーの横幅 / 縦幅 */
  transition: all 0.3s ease; /* マーカーを引く速度 */
  cursor: pointer; /* ホバー時のカーソルをポインターにする */
	padding: 0 3px 0;
}




/* ––––––––––––––––––––––––––––––––––––––––––––––––––
Mobile style's（）
–––––––––––––––––––––––––––––––––––––––––––––––––– */

@media screen and (max-width : 767px) {
	.header_logo_area {
		position: static;
		z-index: 0;
		background-color: none;
		width: 100%;
		height: auto;
		padding: 0;
		
	}

	#nav-toggle {
		position: fixed;
		top: 25px;
		right: 25px;
		height: 32px;
		cursor: pointer;
	}

	#nav-toggle > div {
		position: relative;
		width: 36px;
	}

	#nav-toggle > div span {
		width: 100%;
		height: 2px;
		left: 0;
		display: block;
		background: #333;
		position: absolute;
		transition: transform .6s ease-in-out, top .5s ease;
	}

	#nav-toggle > div span:nth-child(1) {
		top: 0;
	}

	#nav-toggle > div span:nth-child(2) {
		top: 14px;
	}

	#nav-toggle > div span:nth-child(3) {
		top: 28px;
	}

	#nav-toggle > div span:hover span:nth-child(1) {
		top: 4px;
	}

	#nav-toggle > div span:hover span:nth-child(3) {
		top: 23px;
	}



	.open #nav-toggle span {
		background: #333;
	}

	.open #nav-toggle span:nth-child(1) {
		top: 15px;
		transform: rotate(45deg);
	}

	.open #nav-toggle span:nth-child(2) {
		top: 15px;
		width: 0;
		left: 50%;
	}

	.open #nav-toggle span:nth-child(3) {
		top: 15px;
		transform: rotate(-45deg);
	}


	/* z-index */
	#nav-toggle {
		z-index: 1000;
	}

	/* #container {
		z-index: 900;
	} */

	#gloval-nav {
		background: rgba(255, 255, 255, 0.95);
		color: #fff;
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 990;
		text-align: center;
		display: flex;
		visibility: hidden;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		font-size: 2.4rem;
		opacity: 0;
		padding: 0 0 40%;
		transition: opacity .6s ease, visibility .6s ease;
	}

	#gloval-nav a {
		display: block;
		color: #333;
		text-decoration: none;
		padding: 10px 0;
		transition: color .6s ease;
	}

	#gloval-nav a:hover {
		color: #666;
	}

	#gloval-nav ul {
		list-style: none;
		padding: 5.5em 0 0;
	}

	#gloval-nav ul li {
		opacity: 0;
		list-style: none;
		transform: translateX(200px);
		transition:  transform .6s ease, opacity .2s ease;
		margin-bottom: 23px;
	}

	#gloval-nav ul li:nth-child(2) {
		transition-delay: .1s;
	}

	#gloval-nav ul li:nth-child(3) {
		transition-delay: .25s;
	}

	#gloval-nav ul li:nth-child(4) {
		transition-delay: .4s;
	}

	#gloval-nav ul li:nth-child(5) {
		transition-delay: .55s;
	}

	#gloval-nav ul li:nth-child(6) {
		transition-delay: .7s;
	}

	#gloval-nav ul li:nth-child(7) {
		transition-delay: .85s;
	}

	#gloval-nav ul li:last-child a {
		color: #1c1f5c;
	}

	#gloval-nav ul li.navstyle a {
		display: inline;
		background-image: linear-gradient(90deg, #f5da96, #f5da96); /* マーカーの色を指定 */
		background-repeat: no-repeat;
		background-position: left bottom; /* マーカーの発生位置を左下に設定 */
		background-size: 0 35%; /* マーカーの横幅 / 縦幅 */
		transition: all 0.3s ease; /* マーカーを引く速度 */
		cursor: pointer; /* ホバー時のカーソルをポインターにする */
		padding: 0 3px 0;
	}
	
	#gloval-nav ul li.navstyle a:hover {
		background-size: 100% 35%; /* マーカーの横幅を100%にする */
	}

	#gloval-nav ul li.navstyle.current a {
		display: inline;
		background-image: linear-gradient(90deg, #f5da96, #f5da96); /* マーカーの色を指定 */
		background-repeat: no-repeat;
		background-position: left bottom; /* マーカーの発生位置を左下に設定 */
		background-size: 100% 35%; /* マーカーの横幅 / 縦幅 */
		transition: all 0.3s ease; /* マーカーを引く速度 */
		cursor: pointer; /* ホバー時のカーソルをポインターにする */
		padding: 0 3px 0;
	}


	/* open */
	.open {
		overflow: hidden;
	}

	.open #gloval-nav {
		visibility: visible;
		opacity: 1;
	}

	.open #gloval-nav li {
		opacity: 1;
		transform: translateX(0);
		transition:  transform 1s ease, opacity .9s ease;
	}
}




/* ––––––––––––––––––––––––––––––––––––––––––––––––––
Mobile style's（Mega Menu）
–––––––––––––––––––––––––––––––––––––––––––––––––– */

/* @media screen and (min-width: 1024px) and ( max-width: 1024px) {
  .menu > ul > li a span.menu_ttl_txt {
  		font-size: 1.8rem;
      line-height: 1.5;
  }
}

@media only screen and (max-width: 1023px) {
    .header_logo_area {
      position: relative;
      z-index: 0;
      background-color: none;
      width: 100%;
      height: auto;
      padding: 0;
      
    }

    .mobile_header {
      position: fixed;
			top: 10px;
			right: 10px;
    }
    .menu-container {
        width: 100%;
    }
    .menu-mobile {
        display: block;
    }
    .menu-dropdown-icon:before {
        display: block;
    }
    .menu > ul {
        display: none;
        padding: 0;
    }
    .menu > ul > li {
        width: 100%;
        float: none;
        display: block;
        position: relative;
        font-size: 1.8rem;
        background: #fffce8;
        border-bottom: 1px dotted #ccc;
    }
    .menu > ul > li:last-child {
        display: none;
    }
		.archive .menu > ul > li#menu-item-848 a::after,
		.single .menu > ul > li#menu-item-848 a::after,
		.menu > ul > li a:hover::after,
		.menu > ul > li.current a::after {
			bottom: 10px;
			left: 49.5%;
		}
    .menu > ul > li a {
        padding: 2.5vh 0;
        width: 100%;
        display: block;
    }
    .menu > ul > li a span {
        text-decoration: none;
        color: #fff;
        padding: 0;
        display: block;
        font-size: 2rem;
        text-align: center;
        line-height: 1.3;
    }
    .menu > ul > li a span.menu_ttl {
        padding: 5px 0 0;
        color: #111;
    }
    .menu > ul > li a span.menu_ttl_txt {
        margin-top: 0;
        padding: 0 0 5px;
        font-size: 2.2rem;
    }
    .menu > ul > li a:hover span.menu_ttl_txt {
        margin-top: 0;
    }
    .menu .show-on-mobile {
        display: block;
        background: rgba(0, 0, 0, 0.7);
        position: fixed;
        top: 65px;
        left: 0;
        z-index: 9999;
        overflow-y: scroll;
        width: 100%;
        height: 100%;
        max-height: 100%;

        max-height: calc(100% - 60px);
    }
}

@media screen and (max-width: 320px) {
	.mobile_header .mobile_nav {
      top: 60px;
  }
} */



/*--------------------------------------------------------------
  ページ遷移アニメーション
--------------------------------------------------------------*/
