/* Header
   ========================================================================== */

#header a, #footer a {
	text-decoration-line: none;
}

#header {
	position: fixed;
	width: 100%;
	margin-top: 15px;
	z-index: 999;
}

/*#header.fixed {
	position: fixed;
	z-index: 999;
	top: 0;
	left: 0;
	margin-top: 0;
}
*/
.head_bar {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	background: rgba(255,255,255,0.95);
	padding: 5px 5px 5px 25px;
	border: solid 1px rgba(129,214,252,0.5);
	border-radius: 9999px;

	display: flex;
	justify-content: space-between;
	align-items: center;
	box-sizing: border-box;
}

.head_bar_sp {
	width: 100%;
	height: 50px;
	position:fixed;
	top: 0;
	left: 0;
	z-index: 999;
	background: #fff;
}

#header .logo {
	margin-left: 10px;
	line-height: 0;
}

#header .head_bar_sp .logo {
	margin-top: 2px;
}

#header .logo img {
	width: 100%;
	max-width: 186px;
}

#header .head_bar_sp .logo img {
	width: auto;
	max-height: 47px;
}



/*========= PC用のナビゲーション ===============*/

.head_bar nav > ul {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.head_bar nav > ul > li {
	text-align: center;
}

.head_bar nav ul ul {
	display: block;
}

.head_bar nav ul li {
	position: relative;
}

.head_bar nav ul li h3,
.head_bar nav ul li a {
	display: block;
	font-size: 100%;
	font-weight: normal;
	/*padding: 0 1.5vw;*/
	padding: 0 24px;
	transition:all .3s;
}

.head_bar nav ul li .title {
    position: relative;
    cursor: pointer;
    font-weight: normal;
}

.head_bar nav ul li li a {
	padding: 10px 1em;
}

/* 第2階層メニュー */
.head_bar nav li.has-child ul {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
		-webkit- transform: translateX(-50%);
	top: 58px;
	z-index: 4;
	background: #28BFE7;
	width: 16em;
	visibility: hidden;
	opacity: 0;
	transition: all .3s;
	font-size: 0.9em;
	text-align: left;
}

.head_bar nav li.has-child:hover > ul,
.head_bar nav li.has-child ul li:hover > ul,
.head_bar nav li.has-child:active > ul,
.head_bar nav li.has-child ul li:active > ul{
  visibility: visible;
  opacity: 1;
}

.head_bar nav li.has-child ul li a {
	color: #fff;
	border-bottom:solid 1px rgba(255,255,255,0.6);
}

.head_bar nav li.has-child ul li:last-child a {
	border-bottom:none;
}

.head_bar nav li.has-child ul li a:hover,
.head_bar nav li.has-child ul li a:active {
	background: #019ec8;
}

.head_bar nav li.has-child ul ul {
	top:0;
	left:182px;
	background:#66ADF5;
}

.head_bar nav li.has-child ul ul li a:hover,
.head_bar nav li.has-child ul ul li a:active {
	background:#448ED3;
}

/* 応募ボタン */
li.entry a {
	position: relative;
  	display: inline-block;
  	width: 80px;
	height: 80px;
	background: #ff7e0b;
	border-radius: 50px;
	color: #fff;
	font-size: 95% !important;
	margin-left: 2vw;
}

li.entry a span {
	 position: absolute;
	 display: inline-block;
	 left: 0;
	 top: 50%;
	 -webkit-transform: translateY(-50%);
	 transform: translateY(-50%);
	 width: 80px;
	 text-align:center;
}

div.entry {
	position:fixed;
	top: 0;
	right: 51px;
	z-index: 999;
	cursor: pointer;
    width: 100px;
    height: 50px;
}

div.entry a {
	position: relative;
  	display: inline-block;
  	width: 100%;
	height: 50px;
	background: #ff7e0b;
	border-radius: 0;
	color: #fff;
	font-size: 100%;
	line-height: 1.3;
}

div.entry a span {
  	position: absolute;
  	display: inline-block;
  	left: 0;
  	top: 50%;
  	-webkit-transform: translateY(-50%);
  	transform: translateY(-50%);
  	width: 100%;
  	text-align:center;
}


/*========= スマホ用のナビゲーション ===============*/

#g-nav.panelactive {
    position: fixed;
    z-index: 800;
	top: 50px;
	width: 100%;
    height: 100vh;
}

.circle-bg {
    position: fixed;
	z-index:3;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(255,255,255,0.95);
	transform: scale(0);
	right:-50px;
    top:-50px;
    transition: all .6s;
}

.circle-bg.circleactive{
	transform: scale(50);
}

/* ナビゲーションの縦スクロール */
#g-nav-list {
    display: none;
    position: fixed;
    z-index: 888; 
    width: 100%;
    height: 100vh;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

#g-nav.panelactive #g-nav-list{
     display: block;
}



/*========= スマホ用ボタン ===============*/

.openbtn {
	position:fixed;
	top: 0;
	right: 0;
	z-index: 999;
	cursor: pointer;
    width: 50px;
    height:50px;
    background: #00a0c7;
}

.openbtn span {
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 13px;
    height: 3px;
    border-radius: 2px;
	background-color: #fff;
  	width: 50%;
  }

.openbtn span:nth-of-type(1) {
	top:15px;	
}

.openbtn span:nth-of-type(2) {
	top:23px;
}

.openbtn span:nth-of-type(3) {
	top:31px;
}

.openbtn.active span:nth-of-type(1) {
    top: 18px;
    left: 13px;
    transform: translateY(6px) rotate(-45deg);
    width: 50%;
}

.openbtn.active span:nth-of-type(2) {
	opacity: 0;
}

.openbtn.active span:nth-of-type(3){
    top: 30px;
    left: 13px;
    transform: translateY(-6px) rotate(45deg);
    width: 50%;
}




/*========= スマホ用メニュー ===============*/

#header .accordion-area {
    list-style: none;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

#header .accordion-area li {
    margin: 0;
}

#header .accordion-area section > h3,
#header .accordion-area section > a {
	display: block;
	border-top: 1px solid #ccc;
    padding: 3%;
    transition: all .5s ease;
    font-size: calc(0.9rem + 0.2vw);
}

#header .accordion-area > li:last-child section {
	border-bottom: 1px solid #ccc;
}

#header .accordion-area .title {
    position: relative;
    cursor: pointer;
    font-weight: normal;
}

#header .accordion-area .title::before,
#header .accordion-area .title::after{
    position: absolute;
    content:'';
    width: 15px;
    height: 2px;
    background-color: #333;
    
}
#header .accordion-area .title::before{
    top: 48%;
    right: 15px;
    transform: rotate(0deg);
    
}
#header .accordion-area .title::after{    
    top: 48%;
    right: 15px;
    transform: rotate(90deg);

}

#header .accordion-area .title.close::before{
	transform: rotate(45deg);
}

#header .accordion-area .title.close::after{
	transform: rotate(-45deg);
}

/* 第2階層メニュー */
#header .accordion-area .box {
    display: none;
}

#header .accordion-area .box li a {
	display: block;
	background: #28BFE7;
	color: #fff;
	border-bottom: solid 1px rgba(255,255,255,0.6);
    padding: 3%;
    transition: all .5s ease;
    font-size: calc(0.85rem + 0.2vw);
}

#header .accordion-area .box li:last-child a {
	border-bottom: none;
}

#header .accordion-area .box li a:hover {
	background: #019ec8;
}






/* Footer
   ========================================================================== */

#footer {
	width: 100%;

	background-color: #fdea93;
	background-image: 
		url(/common/images/footer_bg_illust.gif),
		url(/common/images/footer_bg.gif);
	background-position: 
		center top,
		center top;
	background-repeat:
		repeat-x,
		repeat;
	background-size:
		auto, auto;

	padding-top: 180px;
}

.footer_inner {
	width: 100%;
	max-width: 900px;
	margin: 0 auto;	
}

@media screen and (max-width: 767.98px) {
	#footer {
		width: 100%;

		background-color: #fdea93;
		background-image: 
			url(/common/images/footer_bg_illust.gif),
			url(/common/images/footer_bg.gif);
		background-position: 
			center top,
			center top;
		background-repeat:
			repeat-x,
			repeat;
		background-size:
			200% auto, auto;

		margin-top: 30px;	
		padding-top: 25vw;
	}
}



/*========= フッター用メニュー ===============*/

#footer .accordion-area {
	list-style: none;
	width: 100%;
	max-width: 1000px;
	margin: 0 auto;

	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}

#footer .accordion-area > li.home {
	width: 100%;
	border-bottom: solid 1px rgba(255,255,255,0.8);
	padding-bottom: 1em;
	margin-bottom: 2em;
}

#footer .accordion-area > li {
	margin: 0;
}

#footer .accordion-area section > h3,
#footer .accordion-area section > a {
	font-size: 0.9rem;
	font-weight: bold;
	display: block;
}

.mt2 {
	margin-top: 2em;
}

@media screen and (max-width: 767.98px) {
	#footer .accordion-area > li.home {
		width: 100%;
		border-bottom: none;
		padding-bottom: 0;
		margin-bottom: 0;
	} 
	.mt2 {
		margin-top: 0;
	}
}

/* 第2階層メニュー */
#footer .accordion-area .box li {
	margin: 5px 0;
	line-height: 1.1;
	text-indent: -0.7em;
	margin-left: 0.7em;
	margin-top: 0.75em;
}

#footer .accordion-area .box li::before {
	content:'-';
	padding-right: 5px;
}

#footer .accordion-area .box li a {
	font-size: 0.8rem;
}

#footer .accordion-area .box li a:hover {
	color: #444;
}

@media screen and (max-width: 767.98px) {
	#footer .accordion-area {
	    list-style: none;
	    width: 100%;
	    max-width: 900px;
	    margin: 0 auto;
	    display: block;
	}

	#footer .accordion-area li {
	    margin: 0;
	}

	#footer .accordion-area section > h3,
	#footer .accordion-area section > a {
		display: block;
		border-top: 1px solid #fff;
	    padding: 2% 5%;
	    transition: all .5s ease;
	    font-size: calc(0.8rem + 0.2vw);
	    font-weight: normal;
	}

	#footer .accordion-area > li:last-child section {
		border-bottom: 1px solid #fff;
	}

	#footer .accordion-area .title {
	    position: relative;
	    cursor: pointer;
	}

	#footer .accordion-area .title::before,
	#footer .accordion-area .title::after {
	    position: absolute;
	    content:'';
	    width: 15px;
	    height: 2px;
	    background-color: #333;
	}

	#footer .accordion-area .title::before {
	    top: 48%;
	    right: 15px;
	    transform: rotate(0deg);
	    
	}
	#footer .accordion-area .title::after {    
	    top: 48%;
	    right: 15px;
	    transform: rotate(90deg);

	}

	#footer .accordion-area .title.close::before {
		transform: rotate(45deg);
	}

	#footer .accordion-area .title.close::after {
		transform: rotate(-45deg);
	}

	/* 第2階層メニュー */
	#footer .accordion-area .box {
	    display: none;
	}

	#footer .accordion-area .box li {
		margin: 0;
	}

	#footer .accordion-area .box li::before {
		content:'';
		padding: 0;
	}

	#footer .accordion-area .box li a {
		display: block;
		background: rgba(255,255,255,0.5);
		border-bottom:solid 1px #fde264;
	    padding: 2% 5%;
	    transition: all .5s ease;
	    font-size: calc(0.7rem + 0.2vw);
	}

	#footer .accordion-area .box li:last-child a {
		border-bottom: none;
	}

	#footer .accordion-area .box li a:hover {
		background: rgba(255,255,255,0.2);
		color: #444;
	}
}

.side_menu {
	margin-top: 20px;	
	padding: 20px 10px;
	font-size: 0.8rem;
	border-top: solid 1px rgba(255,255,255,0.8);
	border-bottom: solid 1px rgba(255,255,255,0.8);
}

.side_menu a {
	display: inline-block;
	padding: 0 2em 0 0;
}


@media (max-width: 767.98px) {
	.side_menu {
		margin-top: 0;	
		padding: 2% 10px;
		font-size: calc(0.7rem + 0.2vw);
		border-top: none;
		border-bottom: solid 1px rgba(255,255,255,0.8);
	}

	.side_menu a {
		display: block;
		padding: 0.5em 1em;
	}
}

.copyright {
	padding: 30px 10px;
	text-align: center;
	font-size: 11px;
}

@media (max-width: 767.98px) {
	.copyright {
		font-size: calc(0.7rem + 0.2vw);
	}
}



/*========= SNS ===============*/

.sns-area {
	text-align: center;
	padding: 3em 0 0;
}

.sns-area .basic-lead {
	font-size: 140%;
	color: #333;
}

.sns-logo {
	margin: 2em auto 1em;
}

.sns-logo img {
	width: 40px;
	height: 40px;
}

.sns-logo a {
	margin-right: 80px;
}

.sns-logo a:last-child {
	margin-right: 0;
}

@media (max-width: 767.98px) {
	.sns-area {
		padding: 1em 0 0;
	}

	.sns-area .basic-lead {
		font-size: calc(0.7rem + 0.3vw);
	}

	.sns-logo {
		margin: 1em auto;
	}

	.sns-logo a {
		margin-right: 40px;
	}
}



/*========= CHAT BOT ===============*/

.chat-link {
  position: fixed;
  display: block;
  bottom: 0;
  right: 100px;
  width: 100%;
  height: 145px;
  box-sizing: border-box;
  overflow: hidden;
}

.chat-link.static {
	position: static;
	padding-right: 100px;
}

.chat-link-box {
	position: relative;
	display: flex;
	flex-direction: column-reverse;
	height: 145px;
	box-sizing: border-box;
}

.chat-btn-area {
	text-align: right;
	box-sizing: border-box;
}

.chat-btn-area img {
	width: 253px;
}

.chat-close-box {
	position: absolute;
	top: 16px;
	right: 0;
	width: 18px;
	height: 18px;
	overflow: hidden;
}

.chat-close {
	display: block;
	text-indent: 100%;
	background: url(/common/images/chat-banner-close-s.png) no-repeat;
	width: 18px;
	height: 18px;
	opacity: 0.9;
	overflow: hidden;
}

@media (max-width: 767.98px) {
	.chat-link {
		right: 0;
		height: auto;
	}

	.chat-link.static {
		position: static;
		padding: 50px 0 0;
	}
	
	.chat-link-box {
		padding: 0;
		height: auto;
	}
	
	.chat-btn-area {
		padding: 0;
		text-align: center;
	}

	.chat-btn-area img {
		width: 50%;
		max-width: 506px;
	}
	
	.chat-close-box {
		padding: 0 24vw;
		top: 0;
		height: 25px;
		width: 25px;
	}
	
	.chat-close {
		background: url(/common/images/chat-banner-close-l.png) no-repeat;
		background-size: contain;
		width: 25px;
		height: 25px;
		top: 0px;
		opacity: 0.8;
	}
}



/*========= ページトップへ戻る ===============*/
#page-top a {
	display: flex;
	justify-content: center;
	align-items: center;
	background: rgba(1,158,200,0.9);
	border-radius: 50px;
	width: 70px;
	height: 70px;
	color: #fff;
	text-align: center;
	text-transform: uppercase; 
	text-decoration: none;
	font-size: 0.6rem;
	transition:all 0.3s;
}

@media screen and (max-width: 639.98px) {
	#page-top a {
		width: 55px;
		height: 55px;
		font-size: 0.5rem;
	}
}

#page-top a:hover{
	background: rgba(1,158,200,0.6);
}

#page-top {
	position: fixed;
	right: 10px;
	z-index: 2;
	opacity: 0;
	transform: translateY(100px);
}

/*　上に上がる動き　*/
#page-top.UpMove{
	animation: UpAnime 0.5s forwards;
}
@keyframes UpAnime{
  from {
    opacity: 0;
	transform: translateY(100px);
  }
  to {
    opacity: 1;
	transform: translateY(0);
  }
}

/*　下に下がる動き　*/
#page-top.DownMove{
	animation: DownAnime 0.5s forwards;
}
@keyframes DownAnime{
  from {
  	opacity: 1;
	transform: translateY(0);
  }
  to {
  	opacity: 1;
	transform: translateY(100px);
  }
}

