@charset "utf-8";

/* --- header --- */
header {
	position: relative;
	background: #fff;
	z-index:2;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
#header_l {
	margin: 30px 10px;
	width: calc(100% - 330px);
	max-width: 900px;
}
#header_r {
	width: 300px;
	display: flex;
	flex-direction: column;
	margin-right: 10px;
}
#searchbox {
}

#headermenu {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	margin-bottom: 5px;
	gap: 15px;
}
#headermenu div {
	margin-top: 5px;
}
#headermenu div img {
	width: 48px;
	height: auto;
}
#headermenu div.bn img {
	width: auto;
	height: auto;
}

@media print {
  #searchbox,
	#headermenu,
	#sp_title {
    display: none;
  }
}

/* --- container --- */
#container {
	max-width: 1400px;
	margin: 0 auto;
	box-sizing: border-box;
}

/* --- wrapper --- */
#wrapper {
	background-color: #FFFCEA;
  background-image: linear-gradient(0deg, rgba(255, 255, 255, 0.30), rgba(255,242,65,0.30));
}
#wrapper.home {
	background-color: #FFF;
	background-image: none;
	margin-top: 20%;
}

/* --- contents --- */
#contents {
	clear: both;
	overflow: hidden;
	position: relative;
	background: #fff;
	padding: 3%;
	margin: 0 1%  0px;
}
#contents.home {
	margin-right: 0;
	margin-left: 0;
}
#contents section + section {
	margin-top: 40px;
}

#contents_flex {
	display: flex;
	
}
#contents_flex .main {
	width: 70%;
}
#contents_flex .sub {
	width: 25%;
}

/* --- footer --- */
footer {
	clear: both;
	text-align: center;
	font-size: 80%;
	background: #83BE1F;
  background: linear-gradient(to right, rgba(193,216,78,1.00), rgba(139,194,47,1.00), rgba(7,183,231,1.00), rgba(105,196,197,1.00));
	color: #FFF;
	padding: 5px;
}


/* --- page-top --- */
#page-top01 {
  width: 80px;
  height: 80px;
  position: fixed;
  right: 10px;
  bottom: 40px;
  background: #4d4d4d;
  opacity: 0.6;
	z-index: 9999;
}

  /* Font Awesome */
  #page-top01::before {
    font-family: 'Font Awesome 6 Pro';
    font-weight: 900;
    content: '\f0d8';
    font-size: 5.0rem;
    color: #fff;
    position: absolute;
    width: 30px;
    height: 35px;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    text-align: center;
  }
  #page-top01::after {
    content: 'PAGE TOP';
    font-size: 1.3rem;
    color: #fff;
    position: absolute;
    top: 20px;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    text-align: center;
  }
	#page-top01:hover {
		opacity: 0.7;
		filter: alpha(opacity=80);
		-ms-filter: "alpha(opacity=80)";
		text-decoration: none;
		cursor: pointer;
	}

/* 表示領域が1399.98px以下の場合に適用するスタイル
---------------------------------------------------------------------------*/
@media screen and (max-width:1399.98px){
	#wrapper.home {
		margin-top: 19%;
	}
}

/* 表示領域が991.98px以下の場合に適用するスタイル
---------------------------------------------------------------------------*/
@media screen and (max-width:991.98px){
	header {
		box-sizing:border-box;
		width:100%;
		border-bottom: 1px solid #f1f1f1;
		flex-direction: column;
		justify-content: flex-start;
		align-items: flex-start
	}
	#header_l {
		width: calc(100% - 160px);
		margin: 20px 10px 0;
	}
	#header_r {
		flex-direction: row;
		width:100%;
		justify-content: flex-end;
		align-items: center;
	}

	#searchbox {
		width: 300px;
		margin-left: 10px;
	}
	#headermenu {
		margin-right: 10px;
		gap: 0;
	}
	#headermenu div {
		margin-left: 10px;
	}
	#wrapper.home {
		margin-top: 27%;
	}
}

/* 表示領域が767.98px以下の場合に適用するスタイル
---------------------------------------------------------------------------*/
@media screen and (max-width:767.98px){
	#header_l {
		width: calc(100% - 70px);
		max-width: 485px;
		margin: 15px 10px 0;
	}

	#headermenu div {
		margin-left: 5px;
	}
	#headermenu div img {
		width: 40px;
	}

	#headermenu div.bn img {
		max-height: 40px;
	}

	#contents {
		margin: 0 0 20px;
		padding: 3% 0;
	}
	#page-top01 {
		width: 40px;
		height: 40px;
		bottom: 10px;
		right: 10px;
	}
	#page-top01::before {
    font-size: 3.0rem;
    width: 30px;
    height: 30px;
	}
  #page-top01::after {
		top: 2px;
		content: 'TOP';
		font-size: 1.2rem;
	}
}