@charset "UTF-8";

#contents {
	background: #FFF;
}

/*----------------------------------------------------*/
/* mainvisual
-----------------------------------------------------*/

#mainvisual {
	background:#f7f2dd url(/agefree/lib/img/top/vi_bg.png) center top repeat-x;
	padding: 30px 0 10px 0;
}

#mainvisual .photo_pc {
	margin: 0 auto;
	width: 1000px;
}

#mainvisual .photo_sp {
	display: none;
}

@media only screen and (max-width: 768px) {

#mainvisual {
	overflow: hidden;
	background:#f7f2dd url(/agefree/lib/img/top/vi_bg.png) center bottom 15px repeat-x;
	padding: 30px 0 10px 0;
}	
	
#mainvisual .photo_sp {
	display: block;
	margin: 0 auto;
	width: 100%;
	padding: 0 60px 0 15px;
	box-sizing: border-box;
}

#mainvisual .photo_pc {
	display: none;
}


}

/*----------------------------------------------------*/
/* usergateway
-----------------------------------------------------*/

#information {
	background: #f7f2dd;
	padding: 20px;
}

#information .box {
	max-width: 1000px;
	margin: 0 auto;
	border-radius: 15px;
	padding: 35px;
	position: relative;
	z-index: 0;
	background: #fff;
	box-sizing: border-box;
}

#information .box:before {
	position: absolute;
	display: block;
	content: "";
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	box-shadow: 
	  inset 0 0 5px #f7f2dd /* 背景色と同じ色 */,
	  inset 0 0 5px #f7f2dd,
	  inset 0 0 5px #f7f2dd,
	  inset 0 0 5px #f7f2dd;
	z-index: 1;
}

#information .box .border {
	background: url(/agefree/lib/img/top/info_bg3.png) repeat-y 0 0;
	z-index: 10;
	margin: 0 auto;
	padding: 65px 35px 25px 35px;
	position: relative;
	width: 930px;
	box-sizing: border-box;
}

#information .box .border:before {
	background:#FFF url(/agefree/lib/img/top/info_bg2.png) repeat 0 0;
	content: "";
	width: 100%;
	height: 20px;
	position: absolute;
	top: 0;
	left: 0;
}

#information .box .border:after {
	background:#FFF url(/agefree/lib/img/top/info_bg2.png) repeat bottom left;
	content: "";
	width: 100%;
	height: 20px;
	position: absolute;
	bottom: 0;
	left: 0;
}


#information .box .border h2 {
	position: absolute;
	top: 0px;
	left:50%;
	transform: translate(-50%,-30%);
}

#information .box .border ul.news li {
	overflow: hidden;
	margin-bottom: 8px;
}

#information .box .border ul.news li span {
	padding: 0 0 0 0;
	display: block;
}

#information .box .border ul.news li span.date {
	position: relative;
	float: left;
}

#information .box .border ul.news li span.title {
	display: -block;
	padding: 0 0 0 10em;
}

@media only screen and (max-width: 768px) {

#information {
	background: #f7f2dd;
	padding: 20px;
}

#information .box {
	max-width: 100%;
	margin: 0 auto;
	border-radius: 15px;
	padding: 35px 15px 15px 15px;
	position: relative;
	z-index: 0;
	background: #fff;
}

#information .box .border {
	background: none;
	border: 2px dashed #eea4bf;
	border-radius: 10px;
	z-index: 10;
	margin: 0 auto;
	padding: 35px 35px 5px 35px;
	position: relative;
	width: 100%;
	box-sizing: border-box;
}

#information .box .border:before,
#information .box .border:after {
	display: none;
}

#information .box .border h2 {
	position: absolute;
	top: 0px;
	left:50%;
	transform: translate(-50%,-40%);
}

#information .box .border ul.news li {
	overflow: hidden;
	margin-bottom: 10px;
}

#information .box .border ul.news li span {
	padding: 0;
	display: block;
}

#information .box .border ul.news li span.date {
	position: relative;
	float: none;
}

#information .box .border ul.news li span.title {
	display: block;
	padding: 0 0 0 0;
}
}
	
/*----------------------------------------------------*/
/* #about
-----------------------------------------------------*/

#about {
	padding:40px 0;
}
	
#about h2 {
	text-align: center;
	font-size: 2.4rem;
	color: #319b42;
	font-weight: bold;
	margin-bottom:30px;
}

#about p {
	text-align: center;
	margin-bottom:30px;
}

#about .fileDL {
	margin: 5rem auto 0;
	padding: 2rem;
	background: #f7f2dd;
	max-width: 581px;
}

#about .fileDL ul {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem 2rem;
}

#about .fileDL a.pdf {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	gap: 1rem;
	padding-left: 2rem;
}




#about .fileDL a {
	background: #FFF;
	padding: .5rem;
}


#about .fileDL a.pdf:before {
	content: "";
	width: 2.5rem;
	aspect-ratio: 1/1;
	background: url(/agefree/lib/img/cmn/icon_pdf.png) no-repeat 0 0 /contain;
	display: block;
}

@media only screen and (max-width: 768px) {

#about {
	padding:40px 10px;
}

#about .fileDL {
	padding: 2rem 1rem;
}

#about .fileDL ul {
	gap: 1rem 1rem;
}
	#about .fileDL a.pdf {
	padding-left: .5rem;
	gap: .5rem;
}
#about .fileDL a.pdf:before {
	content: "";
	width: 2rem;
	aspect-ratio: 1/1;
	background: url(/agefree/lib/img/cmn/icon_pdf.png) no-repeat 0 0 /contain;
	display: block;
}

}



/*----------------------------------------------------*/
/* #access
-----------------------------------------------------*/

#access {
	background: #f7f2dd;
	padding: 30px 0 30px;
}

#access .gmap {
	max-width: 1000px;
	margin: 0 auto;
}

@media only screen and (max-width: 768px) {

#access .gmap {
	max-width: auto;
	width: 100%;
	margin: 0 auto;
	padding: 0 15px;
	box-sizing: border-box;
}

}

