@charset "UTF-8";

/*=========================================*/
/* INDEX */
/*=========================================*/

/* --COMMON-- */
#contents::before {
	display: none;
}

@media screen and (max-width: 1000px) {
#contents {
	margin-top: 40px;
}
}

@media screen and (max-width: 640px) {
#contents {
	margin-top: 50px;
}
}


/* ボックス内タイトル＋リンク */
.contents-title {
	position: relative;
}

.contents-title h3 {
	text-align: center;
	font-weight: normal;
	line-height: 1.0;
}

.contents-title a:link {
	display: inline-block;
	background-color: #2ba4e0;
	color: #fff;
	text-align: center;
	text-decoration: none;
}

.contents-title a:visited {
	display: inline-block;
	background-color: #2ba4e0;
	color: #fff;
	text-align: center;
	text-decoration: none;
}

.contents-title a:active, .contents-title a:hover {
	display: inline-block;
	background-color: #83c8ea;
	color: #fff;
	text-align: center;
	text-decoration: none;
}

@media screen and (min-width: 1201px) {
.contents-title {
	padding: 50px 0;
}

.contents-title h3 {
	font-size: 175%;
}

.contents-title a {
	position: absolute;
	top: 50%;
	left: 50%;
	margin: -25px 0 0 130px;
	display: inline-block;
	padding: 0 35px;
	border-radius: 20px;
	font-size: 110%;
	line-height: 40px;
}
}

@media screen and (max-width: 1200px) {
.contents-title {
	padding: 40px 0;
}

.contents-title h3 {
	font-size: 160%;
}

.contents-title a {
	position: absolute;
	top: 50%;
	left: 50%;
	margin: -20px 0 0 110px;
	display: inline-block;
	padding: 0 30px;
	border-radius: 20px;
	font-size: 100%;
	line-height: 40px;
}
}

@media screen and (max-width: 1000px) {
.contents-title {
	padding: 40px 0 30px;
}

.contents-title h3 {
	font-size: 150%;
}

.contents-title a {
	position: absolute;
	top: 50%;
	left: 50%;
	margin: -12px 0 0 80px;
	display: inline-block;
	padding: 0 20px;
	border-radius: 15px;
	font-size: 95%;
	line-height: 30px;
}
}

@media screen and (max-width: 640px) {
.contents-title {
	padding: 35px 0 25px;
}

.contents-title h3 {
	font-size: 135%;
}

.contents-title a {
	position: relative;
	top: 0;
	left: 50%;
	margin: 15px auto 0 -55px;
	display: inline-block;
	padding: 0 20px;
	border-radius: 15px;
	font-size: 85%;
	line-height: 30px;
	text-align: center;
}
}



/* --MAIN IMAGE-- */

/* --スライダー・背景画像-- */
#main-image {
	position: relative;
	display: block;
	width: 100%;
	overflow: hidden;
	background: linear-gradient(90deg, #2ba4e0, #4eccd1);
}

#main-image ul.slider li img {
	display: block;
	width: 100%;
	max-width: 1500px;
	height: auto;
	margin: auto;
}

@media screen and (min-width: 1501px) {
#main-image {
	height: 600px;
}
}

@media screen and (max-width: 1500px) {
#main-image {
	background: #fff;
}
}


/* 画像+リンク */
#main-image .links {
	position: absolute;
	bottom: 20px;
	z-index: 20;
	width: 100%;
}

@media screen and (min-width: 1201px) {
#main-image .links {
	bottom: 20px;
}
}

@media screen and (max-width: 1200px) {
#main-image .links {
	bottom: 15px;
}
}

@media screen and (max-width: 1000px) {
#main-image .links {
	position: relative;
	bottom: 0;
	padding: 15px 0px;
}
}

#main-image .links ul {
	margin: auto;
}

@media screen and (min-width: 1201px) {
#main-image .links ul {
	width: 1200px;
}
}

@media screen and (max-width: 1200px) {
#main-image .links ul {
	width: 95%;
}
}

@media screen and (max-width: 640px) {
#main-image .links ul {
	width: 90%;
}
}

#main-image .links ul li {
	position: relative;
}

#main-image .links ul li a {
	display: block;
	width: 100%;
	background: url("../images/top_mainimg_linkbg.gif") repeat-x;
	color: #073e67;
	text-align: center;
	text-decoration: none;
	transition: .3s all ease-out;
}

#main-image .links ul li a:link,
#main-image .links ul li a:visited{
	filter: brightness(1.0);
}

#main-image .links ul li a:hover,
#main-image .links ul li a:active{
	filter: brightness(1.2)
}

@media screen and (min-width: 1201px) {
#main-image .links ul li {
	position: relative;
	float: left;
	width: 230px;
	padding-top: 130px;
}

#main-image .links ul li:not(:last-of-type) {
	margin: 0 12.5px 0 0;
}

#main-image .links ul li a {
	font-size: 125%;
	line-height: 90px;
	border: 2px solid #2ba4e0;
	border-radius: 10px;
}

.links-tokuyou{ background: url('../images/top_mainimg_link1.png') no-repeat center top; }
.links-short{ background: url('../images/top_mainimg_link2.png') no-repeat center top; }
.links-day{ background: url('../images/top_mainimg_link3.png') no-repeat center top; }
.links-care{ background: url('../images/top_mainimg_link4.png') no-repeat center top; }
.links-helper{ background: url('../images/top_mainimg_link5.png') no-repeat center top; }

}

@media screen and (max-width: 1200px) {
#main-image .links ul li {
	float: left;
	width: 20%;
	padding: 100px 5px 0px 5px;
	background-size: 170px auto;
}

#main-image .links ul li a {
	border: 2px solid #2ba4e0;
	border-radius: 10px;
	line-height: 80px;
}

.links-tokuyou{ background: url('../images/top_mainimg_link1.png') no-repeat center top; }
.links-short{ background: url('../images/top_mainimg_link2.png') no-repeat center top; }
.links-day{ background: url('../images/top_mainimg_link3.png') no-repeat center top; }
.links-care{ background: url('../images/top_mainimg_link4.png') no-repeat center top; }
.links-helper{ background: url('../images/top_mainimg_link5.png') no-repeat center top; }
}

@media screen and (max-width: 1000px) {
#main-image .links ul li {
	float: none;
	width: 100%;
	padding: 0;
}

#main-image .links ul li:not(:last-of-type) {
	border-bottom: 1px solid #fff;
}

#main-image .links ul li a {
	border: 0;
	border-radius: 0;
	height: auto;
	font-size: 95%;
	line-height: 40px;
	margin: auto;
	padding: 0;
}

.links-tokuyou{ background: none; }
.links-short{ background: none; }
.links-day{ background: none; }
.links-care{ background: none; }
.links-helper{ background: none; }
}

@media screen and (max-width: 640px) {
#main-image .links ul li a {
	font-size: 85%;
	line-height: 35px;
}
}



/* --NEWS ALBUM-- */

#update {
	background: url("../../images/bk_gry.jpg");
}

@media screen and (min-width: 1201px) {
#update {
	padding: 0 0 50px;
}
}

@media screen and (max-width: 1200px) {
#update {
	padding: 0 0 40px;
}
}

@media screen and (max-width: 1000px) {
#update {
	padding: 0 0 35px;
}
}

@media screen and (max-width: 1000px) {
#update {
	padding: 0 0 30px;
}
}


/* --ニュース-- */
#news {
	padding: 0 0 20px;
	background: url("../images/line.gif") repeat-x bottom;
}

.news-wrap {
	width: 100%;
	max-width: 1200px;
	margin: auto;
}

@media screen and (min-width: 1201px) {
.news-wrap {
	width: 100%;
}
}

@media screen and (max-width: 1200px) {
.news-wrap {
	width: 95%;
}
}

@media screen and (max-width: 640px) {
.news-wrap {
	width: 90%;
}
}

.news-area {
	display: flex;
	align-items: center;
}

@media screen and (min-width: 1001px) {
.news-area {
	padding: 20px 70px;
}
}

@media screen and (max-width: 1000px) {
.news-area {
	padding: 15px 20px;
}
}

@media screen and (max-width: 640px) {
.news-area {
	display: block;
	padding: 10px 20px;
}
}

@media screen and (max-width: 420px) {
.news-area {
	padding: 10px 0;
}
}

.news-area:not(:last-of-type) {
	border-bottom: 1px solid #D5D3D6;
}

.news-area__cat {
	font-size: 80%;
	width: 110px;
	text-align: center;
	line-height: 30px;
	margin: 0 30px;
	background-color: #D4EBF6;
	border-radius: 15px;
}

@media screen and (max-width: 640px) {
.news-area__data {
	display: inline;
	padding: 0 10px 0 0;
}
.news-area__cat {
	display: inline;
	padding: 0 10px;
	margin: 0;
	border-radius: 5px;
}
.news-area__title {
	display: block;
}
}


/* --アルバム-- */

/* 記事スライダー箇所 */
#album ul.slider {
	position: relative;
}

#album ul.slider li {
	position: relative;
	width: 100%;
}

#album ul.slider li a:hover{
	text-decoration: none;
}

#album ul.slider li .image {
	position: relative;
	overflow: hidden;
	transition: .2s ease-in all;
}

#album ul.slider li .image:hover {
	opacity: .8;
}

#album ul.slider li .image::before {
	display: block;
	content: '';
	padding-top: 65.78%;
}

#album ul.slider li .image img {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

#album ul.slider li .title {
	display: block;
	text-align: center;
}


@media screen and (min-width: 1201px) {
#album ul.slider li {
	width: 100%;
	max-width: 380px;
	margin: 0 2.5px;
}

#album ul.slider li .image {
	border-radius: 10px;
	margin: 0 0 15px;
}
}

@media screen and (max-width: 1200px) {
#album ul.slider li {
	width: 100%;
	margin: 0 2.5px;
}

#album ul.slider li .image {
	border-radius: 10px;
	margin: 0 0 15px;
}
}

@media screen and (max-width: 1000px) {
#album ul.slider li {
	width: 100%;
	margin: 0 5px;
}

#album ul.slider li .image {
	border-radius: 5px;
	margin: 0 0 10px;
}
}


/* スライド矢印 */
.prev-arrow, .next-arrow{
	background-size: contain;
}

.prev-arrow{
	background-image: url('../images/top_album_prev.png');
}

.next-arrow{
	background-image: url('../images/top_album_next.png');
}

.slide-arrow {
	position: absolute;
	z-index: 20;
	transition: .2s ease-in all;
}

.slide-arrow:hover {
	opacity: .8;
	cursor: pointer;
}

@media screen and (min-width: 1501px) {
.slide-arrow {
	top: 100px;
	width: 60px;
	height: 60px;
}

.prev-arrow {
	left: 125px;
}

.next-arrow {
	right: 125px;
}
}

@media screen and (max-width: 1500px) {
.slide-arrow {
	top: 100px;
	width: 60px;
	height: 60px;
}

.prev-arrow {
	left: 125px;
}

.next-arrow {
	right: 125px;
}
}

@media screen and (max-width: 1200px) {
.slide-arrow {
	top: 50%;
	margin-top: -45px;
	width: 55px;
	height: 55px;
}

.prev-arrow {
	left: 100px;
}

.next-arrow {
	right: 100px;
}
}

@media screen and (max-width: 1000px) {
.slide-arrow {
	margin-top: -40px;
	width: 50px;
	height: 50px;
}

.prev-arrow {
	left: 5%;
}

.next-arrow {
	right: 5%;
}
}


/* --下部バナー-- */
#banner-area ul li {
	transition: .2s ease-in all;
}

#banner-area ul li:hover {
	opacity: .8;
}

@media screen and (min-width: 1201px) {
#banner-area {
	padding: 60px 0 0;
}

#banner-area ul li {
	position: relative;
	width: 48%;
	max-width: 580px;
}

#banner-area ul li img {
	display: block;
	width: 100%;
	height: auto;
}

#banner-area ul li:first-of-type {
	float: left;
}

#banner-area ul li:last-of-type {
	float: right;
}
}

@media screen and (max-width: 1200px) {
#banner-area {
	padding: 50px 0 0;
}

#banner-area ul li {
	position: relative;
	width: 49%;
	max-width: initial;
}

#banner-area ul li img {
	display: block;
	width: 100%;
	height: auto;
}

#banner-area ul li:first-of-type {
	float: left;
}

#banner-area ul li:last-of-type {
	float: right;
}
}

@media screen and (max-width: 1000px) {
#banner-area {
	padding: 40px 0 0;
}

#banner-area ul li {
	position: relative;
	width: 100%;
	max-width: 580px;
}

#banner-area ul li:first-of-type {
	float: none;
	margin: 0 auto 20px;
}

#banner-area ul li:last-of-type {
	float: none;
	margin: auto;
}
}

@media screen and (max-width: 640px) {
#banner-area {
	padding: 30px 0 0;
}

#banner-area ul li:first-of-type {
	float: none;
	margin: 0 auto 15px;
}
}
