@charset "UTF-8";
/* CSS Document */
html {
  font-size: 62.5%; /* 16px * 62.5% = 10px */
  width: 100%;
}
body {
  color: #333; /* RGB */
  font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", "メイリオ", sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  line-height: 2.4rem;
  text-align: center;
  display: flex;
  flex-flow: column;
  min-height: 100vh;
  position: relative;

}
/*
.wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 320px;
}
.wrapper img{
    width: 100%;
    height: 400px
}
*/
.mg_b40{
    margin-bottom: 40px;
}

.flex-wrap{
	font-size: 0.9rem;
}
.main{
  flex: 1;
}
section h2 {
  font-size: 2.4rem;
}
/*
a:hover {
  opacity: 0.5;
}
*/
*, *:before, *:after {
  box-sizing: border-box;
}
#g-nav{
  background-color: #381971;
  width: 100%;
}
nav{
	background:#333;
	color:#fff;
	text-align: center;

}
.border{
  padding: 90px 0;
  width: 100%;
  background-color:#f1f5f9;
}
/*ナビゲーションを横並びに*/
nav ul{
	list-style: none;
	display: flex;
	justify-content: center;
  max-width: 1200px;
  margin: 0 auto;

}
/*2階層目以降は横並びにしない*/
nav ul ul{
	display: block;
}

/*下の階層のulや矢印の基点にするためliにrelativeを指定*/
nav ul li{
	position: relative;
}

/*ナビゲーションのリンク設定*/
nav ul li a{
	display: block;
	text-decoration: none;
	color: #fff;
  font-weight: 600;
	padding:20px 15px;
	transition:all .3s;
    font-size: 14px;
}

nav ul li li a{
	padding:20px 20px;
}

nav ul li a:hover{
	color:#fff;	




  opacity: 0.5;
}
/*
#header h1 a:hover{
  opacity: 1;
}
*/
.point a{
/*      background-color: #ffb229;*/
    background-color: #bfdcf1;
/*    color: #fff;*/
    color: #381971;
}
.point a:hover{
  background-color:#FF7D29;
 color: #FEFFD2;
    opacity: 1;
}
/*== 2・3階層目の共通設定 */

/*下の階層を持っているulの指定*/
nav li.has-child ul{
    /*絶対配置で位置を指定*/
	position: absolute;
	left:0;
	top:55px;
	z-index: 4;
    /*形状を指定*/
	background:#FF7D29;
	width:180px;
    /*はじめは非表示*/
	visibility: hidden;
	opacity: 0;
    /*アニメーション設定*/
	transition: all .3s;
}
/*hoverしたら表示*/
nav li.has-child:hover > ul,
nav li.has-child ul li:hover > ul,
nav li.has-child:active > ul,
nav li.has-child ul li:active > ul{
  visibility: visible;
  opacity: 1;
}
/*ナビゲーションaタグの形状*/
nav li.has-child ul li a{
	color: #fff;
	border-bottom:solid 1px rgba(255,255,255,0.6);
}
nav li.has-child ul li:last-child a{
	border-bottom:none;
}
nav li.has-child ul li a:hover,
nav li.has-child ul li a:active{
	background:#92B4CD;
}
.header{
  height: 123px;
}
.header-wrap{
  max-width: 1080px;
  width: 100%;
  margin: 0 auto;
/*  padding: 20px 7px;*/
    padding: 14px 7px 14px 7px;
}
.header-wrap h1{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.header-wrap h1 img{
/*  max-width: 300px;*/
  width: 85%;
}
.head-btn a{
  display: block;
  color: #4A9E8F;
  background-color: #fff;
  border-radius: 50px;
  border: 1px solid #4A9E8F;
  text-decoration: none;
  padding: 5px 20px;
}
.head-btn a:hover{
  background-color: #4A9E8F;
  color: #fff;
  opacity: 1;
  transition: all .4s;
}

/*
.header-wrap h1{
  display: flex;
  justify-content: space-between;
  align-items: center;
}
*/
.head-btn-sp a{
  display: none;
  color: #4A9E8F;
  background-color: #fff;
  border-radius: 50px;
  border: 2px solid #4A9E8F;
  text-decoration: none;
  padding: 3px 20px;
}
.head-btn-sp a:hover{
  background-color: #4A9E8F;
  color: #fff;
  opacity: 1;
  transition: all .4s;
  text-decoration: none;
}

@media screen and (max-width:1080px){
  .head-btn{
    display: none;
  }
  .head-btn-sp a{
    display: block;
    max-width: 500px;
    margin: 0 auto 20px auto;
    padding: 10px 0;
  }
	nav{
		padding: 0;
	}
	
	nav ul{
		display: block;
	}
	
	nav li.has-child ul,
	nav li.has-child ul ul{
  	position: relative;
	left:0;
	top:0;
	width:100%;
	visibility:visible;/*JSで制御するため一旦表示*/
	opacity:1;/*JSで制御するため一旦表示*/
	display: none;/*JSのslidetoggleで表示させるため非表示に*/
	transition:none;/*JSで制御するためCSSのアニメーションを切る*/
}
	
nav ul li a{
	border-bottom:1px solid #ccc;
}

/*矢印の位置と向き*/

nav ul li.has-child::before{
	left:20px;	
}

nav ul ul li.has-child::before{
    transform: rotate(135deg);
	left:20px;
}
    
nav ul li.has-child.active::before{
    transform: rotate(-45deg);
}
}

#page-top a{
	display: flex;
	justify-content:center;
	align-items:center;
	background:#381971;
	border-radius: 50px;
	width: 60px;
	height: 60px;
	color: #fff;
	text-align: center;
	text-transform: uppercase; 
	text-decoration: none;
	font-size:0.6rem;
	transition:all 0.3s;
}

#page-top a:hover{
	background: #777;
}

/*リンクを右下に固定*/
#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);
  }
}

#footer{
background:#333;
}

#main-area{
/*  margin: 0 0 16px 0;*/
}
#main-area h2{

    text-align: center;
  font-size: 40px;
}



#footer{
  background-color: #381971;
  padding: 25px 30px;
}
.footer-wrap{
  max-width: 1080px;
  width: 100%;
  margin: 0 auto;
  color: #fff;
  text-align: left;
  line-height: 1.2rem;

}
.footer-left{
  padding-bottom: 38px;
  font-size: 0.8rem;
}
.footer-left span{
  padding-bottom: 16px;
  display: block;
}
footer a{
  text-decoration: none;
  color: #fff;
}
.copy{
  font-size: 0.8rem;
  display: block;
  text-align: right;
}
@media(max-width:767px){
  .header-wrap h1 img {
/*    max-width: 250px;*/
    width: 80%;
}
#main-area h2{
  font-size: 1.9rem;
}
}