@charset "UTF-8";


html {
  font-size: 62.5%; /* 1rem = 10px */
}

body {
  font-size: 1.6rem; /* 基本文字サイズ = 16px */
  font-family: 'Segoe UI', 'Meiryo', sans-serif;
  color: #333;
}

/* ================ */
/*   header用 css   */
/* ================ */

nav{
	margin-left: auto;
}


.header {
	background-color: transparent;
	width: 100%;
	height: 80px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	position: fixed;
	font-size: 62.5%;
	top: 0;
	left: 0;
	z-index: 100;
}


.header h1 {
	font-size: 4.0rem;
	font-weight: bold;
	margin-left: 40px;
}

.header a {
	text-decoration: none;
	color: #4b5564;
	font-size: 1.2rem;
	-webkit-transition: 0.5s;
	transition: 0.5s;
}


.header a:hover {
	color: #000;
}


.header p {
	font-size: 2.4rem;
	line-height: 1.6;
}


/* ヘッダーのナビ部分 */
/* -------------------- */
/* ▼メニューバーの装飾 */
/* -------------------- */
ul.ddmenu {
	margin: 10em 0.01%								/* メニューバー外側の余白(ゼロ) */
	padding: 0px 15px;								/* メニューバー内側の余白(左に15px) */
	background-color: rgba(255, 255, 255, 0.7);		/* バーの背景色(白) 透過50% */
	color: #888888;
	font-size: 1.4rem;
	display: flex;
	width: 100%;
	text-align: right;
}

/* -------------------------- */
/* ▼メインメニュー項目の装飾 */
/* -------------------------- */
ul.ddmenu li {
	max-width: 220px;				/* メニューブロックのサイズ最小90px～最大220px内で可変にする */
	min-width: 90px;
	display: inline-block;			/* ★横並びに配置する */
	list-style-type: none;			/* ★リストの先頭記号を消す */
	position: relative;				/* ★サブメニュー表示の基準位置にする */
}
ul.ddmenu a {
	color: #888888;					/* メニュー項目の文字色(薄いグレー) */
	line-height: 40px;				/* メニュー項目のリンクの高さ(40px) */
	text-align: center;				/* メインメニューの文字列の配置(中央寄せ) */
	text-decoration: none;			/* メニュー項目の装飾(下線を消す) */
	font-weight: bold;				/* 太字にする */
	display: block;					/* ★項目内全域をリンク可能にする */
}
ul.ddmenu a:hover {
	background-color: #888888; 				/* メニュー項目にマウスが載ったときの背景色(薄いグレー) */
	color: #ffffff;							/* メニュー項目にマウスが載ったときの文字色(白色) */
}

/* ---------------------------------- */
/* ▼サブメニューがある場合に開く処理 */	/* ※サブメニューが2階層以上ある場合の記述 */
/* ---------------------------------- */
ul.ddmenu li:hover > ul {
	display: block;							/* ★マウスポインタが載っている項目の内部にあるリストを表示する */
}

/* -------------------- */
/* ▼サブメニューの装飾 */
/* -------------------- */
ul.ddmenu ul {
	margin: 0px;					/* ★サブメニュー外側の余白(ゼロ) */
	padding: 0px;					/* ★サブメニュー内側の余白(ゼロ) */
	display: none;					/* ★標準では非表示にする */
	position: absolute;				/* ★絶対配置にする */
}

/* -------------------------------- */
/* ▼サブメニュー(以降の)項目の装飾 */
/* -------------------------------- */
ul.ddmenu ul li {
	width: 220px;					/* サブメニュー1項目の横幅(220px) */
}
ul.ddmenu ul li a {
	line-height: 35px;				/* サブメニュー1項目の高さ(35px) */
	text-align: left;				 /* 文字列の配置(左寄せ) */
	padding-left: 5px;				/* 文字列前方の余白(5px) */
	font-weight: normal; 			/* 太字にはしない */
}
ul.ddmenu ul li a:hover {
	background-color: #888888; 		/* メニュー項目にマウスが載ったときの背景色(薄いグレー) */
	color: #ffffff;					/* メニュー項目にマウスが載ったときの文字色(白色) */
}

/* ----------------------------------- */
/* ▼3階層目以降(孫メニュー以降)の装飾 */	/* ※下ではなく右に表示 */
/* ----------------------------------- */
ul.ddmenu ul ul {
	margin: 0px;							/* ★サブメニュー外側の余白(ゼロ) */
	padding: 0px;							/* ★サブメニュー内側の余白(ゼロ) */
	display: none;							/* ★標準では非表示にする */
	position: absolute;						/* ★絶対配置にする */
	top: -1px;								/* 1pxだけ上方向にずらす(※上に1pxの枠線を引いている場合) */
	left: 100%;								/* ★基準位置からの距離を親ボックスの幅100％にする */
}
ul.ddmenu ul ul li {
	width: 220px;					/* サブメニュー1項目の横幅(220px) */
}



/* =================================== */
/*    ハト飛んでページトップまで移動   */
/*    タグは、footer.htmlに記載        */
/* =================================== */
/* ハトは右下に固定Ver.       */
#page-top {
	position: fixed;
	right: 10px;
	bottom:30px;
	z-index: 2;
    /*はじめは非表示*/
	opacity: 0;
	transform: translateY(150px);
}

/*　上に上がる動き　*/
#page-top.UpMove{
	animation: UpAnime 0.5s forwards;
}

@keyframes UpAnime{
  from {
    opacity: 0;
	transform: translateY(150px);
  }
  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(150px);
  }
}

/*画像の切り替えと動き*/
#page-top a {
    /*aタグの形状*/
	display: block;
	width: 70px;
	height: 40px;
	color: #333;
	text-align: center;
	text-transform: uppercase; 
	text-decoration: none;
	font-size:0.6rem;
    /*背景画像の指定*/
	background: url("/test_top/images/maple_icon/stay_top.png") no-repeat center;
	background-size: contain;
}

#page-top.floatAnime a{
	width: 80px;
	height: 70px;
    /*背景画像の指定*/
	background: url("/test_top/images/maple_icon/go_top.png") no-repeat center;
	background-size: contain;
    /*アニメーションの指定*/
	animation: floatAnime 2s linear infinite;
	opacity: 0;
}

@keyframes floatAnime {
  0% { transform: translateX(0); opacity: 0; }
  25% { transform: translateX(-6px);opacity: 1; }
  50% { transform: translateX(0) }
  100% { transform: translateX(6px);opacity: 1; }
}

/*Page Topと書かれたテキストの位置*/
#page-top span{
    position: absolute;
    bottom: -20px;
    right: 10px;
	color: #666;
}



/* ================ */
/*   footer用 css   */
/* ================ */
/*   footerの基本形状  */
 
.footer {
	color: #808080;
	background: #e5e5e5;
	padding: 30px;
}

.footer a {
	color: #808080;
	font-size: 1.2rem;
	text-decoration: none;
}

.footer li a:hover {
	text-decoration: underline;
}


.footer .wrap {
    width: 100%;
    max-width: 1000px; /* 必要に応じて最大幅を設定 */
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0 20px; /* 左右に少し余白を持たせる場合 */
    box-sizing: border-box;
}

.footer .wrap h3 {
	margin: 0 0 10px 0;
	padding: 0;
	border-bottom: 1px #c4c4c4 solid;
}

.footer .wrap p {
	margin: 0;
	padding: 0 0 20px 0;
}

.footer .wrap .box01 {
	width: 8%;
}

.footer .wrap .box02 {
	width: 28%;
}

.footer .wrap .box03 {
	width: 22%;
}

.footer .wrap .box03 ul {
	margin: 0;
	padding: 0 0 20px 0;
	list-style: none;
}

.footer .wrap .copyright {
	width: 100%;
	padding: 20px 0 0 0;
	line-height: 1;
	font-size: 12px;
	color: #4b5564;
	text-align: center;
}

@media only screen and (max-width: 599px) {
.footer .wrap {
	width: 100%;
	padding: 0 20px;
	box-sizing: border-box;
	}

.footer .wrap h3 {
	border: none;
	}

.footer .wrap .box {
	width: 100%;
	}

.footer .wrap .box ul {
	border-top: 1px #c4c4c4 solid;
	}

.footer .wrap .box ul li a {
	display: block;
	padding: 5px 15px;
	border-bottom: 1px #c4c4c4 solid;
	}
}