@charset "utf-8";
/* CSS Document */

#lower-image {
	background: url(../../../images/main_image.jpg) center -150px;
	background-size: cover;
}

#lower-contents #main-contents h3 {
	margin-bottom: 0;
}

#main-contents #news-box {
	height: auto;
	line-height: 0;
	padding: 20px;
	overflow: hidden;
	border: 1px solid #ccc;
	background-color: #f5f5f5;
	box-shadow: inset 0px 1px 2px rgba(0,0,0,0.1);
	border-radius: 5px;
	box-sizing: border-box;
	transition: all 0.25s ease;
}

#news-box .accordion-item {
	margin-bottom: 20px;
	padding-bottom: 20px;
	border-bottom: 1px solid #ccc;
}

#news-box .accordion-item:last-of-type {
	margin-bottom: 0;
	padding-bottom: 0;
}

#news-box .accordion-item:last-child {
	margin-bottom: 0;
	border: none;
}

#news-box .accordion-toggle {
	font-size: 1.5rem;
	font-weight: bold;
}

#news-box .accordion-toggle a {
	display: flex;
	justify-content: space-between;
	line-height: 1.5;
	cursor: pointer;
}

#news-box .accordion-toggle .button {
	position: relative;
	display: inline-flex;
	align-content: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	line-height: 20;
	border-radius: 5px;
	border: 1px solid #ccc;
	transition: all 0.15s ease-in-out;
}

#news-box .accordion-toggle a:hover .button {
	border: 1px solid #666;
	background-color: rgba(255,255,255,0.5);
}

#news-box .accordion-toggle .button:before {
	content: "+";
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 1.4rem;
	font-weight: bold;
	transition: transform 0.3s ease-in-out;
}

#news-box .-accordion-show .toggle-button .button:before {
	transform: rotate(45deg);
	transform-origin: center center;
}

#news-box .accordion-toggle .ttl {
	width: calc(100% - 30px);
}

#news-box .accordion-contents {
	height: 0;
	opacity: 0;
	overflow: hidden;
	transition: 0.3s ease-in-out;
	transition-property: opacity, height;
}

#news-box .-accordion-show .accordion-contents {
	opacity: 1;
}

#news-box .accordion-item p {
	line-height: 1.8;
}

#news-box .accordion-item p:first-child {
	margin-top: 20px;
}

#news-box .accordion-item p a {
	display: inline-block;
	color: var(--color-link);
	font-weight: bold;
	text-decoration: underline;
}

#news-box .accordion-item p a:hover {
	text-decoration: none;
}

#lower-contents #main-contents .attention {
	font-size: 1.4rem;
	color: #F05C9E;
}

#lower-contents #main-contents .page-link {
	margin-top: 0;
}

#lower-contents #main-contents .attention + #contact-box {
	margin-top: 40px;
}

#main-contents section td a {
	font-weight: bold;
	color: var(--color-link);
	text-decoration: underline;
}

#main-contents section td a:hover {
	text-decoration: none;
}

#lower-contents #main-contents section td ol li {
	margin-bottom: 10px;
	line-height: 22px;
	line-height: 2.2rem;
}

#main-contents table {
	min-width: 600px;
}

#main-contents th:first-child,
#main-contents td:first-child {
	width: 120px;
	box-sizing: border-box;
}

#main-contents section .disc-list {
	margin-top: 1em;
}

#main-contents #contact-box #form-link {
	margin-top: 0;
}

#main-contents .other-link {
	padding-bottom: 0;
}


#main-contents .other-link,
#main-contents .other-link ul,
#main-contents .other-link li {
	margin-bottom: 0;
}


@media screen and (min-width: 768px) {
	#main-contents th:first-child,
	#main-contents td:first-child {
		width: 180px;
	}
}

@media screen and (min-width: 1280px) {
	#news-box  .accordion-toggle {
		font-size: 1.6rem;
	}

	#main-contents th:first-child,
	#main-contents td:first-child {
		width: auto;
	}
}