/********** ニュースリスト **********/
#news-list {
	margin: 20px auto;
}

#news-list a {
	display: flex;
	padding: 10px;

	justify-content: flex-start;
	align-items: flex-start;

	color: #333;
	text-decoration: none;

	border-bottom: dashed 1px #CCCCCC;
}

#news-list a p:first-child {
	width: 300px;
	min-height: 150px;
	overflow: hidden;
	position: relative;
}

#news-list a p:first-child img {
	position: absolute;
	width: 100%;
}

#news-list a p:last-child {
	flex: 1;
	margin: 5px 20px;

	text-align: 1.5em;
}

#news-list a p:last-child span {
	display: block;
}

#news-list a p:last-child span.title {
	margin: 10px 0px;
}

#news-list a:hover p:last-child span.title {
	color: #D80000;
	text-decoration: underline;
}

#news-list a p:last-child span.date,
#news-list a p:last-child span.content {
	font-size: 12px;
}

#news-list p.more {
	display: flex;
	padding: 10px;

	justify-content: flex-end;
	align-items: center;
}

#news-list p.more a {
	color: #333;
	text-decoration: none;

	border-bottom: none;
}

#news-list p.more a:hover {
	color: #D80000;
	text-decoration: underline;
}

#news-list p.pagination {
	display: flex;
	padding: 10px;
}

#news-list p.pagination a {
	display: flex;
	flex: 1;

	color: #333;
	text-decoration: none;

	border-bottom: none;
}

#news-list p.pagination a:hover {
	color: #D80000;
	text-decoration: underline;
}

#news-list p.pagination a.prev {
	justify-content: flex-start;
	align-items: center;
}

#news-list p.pagination a.next {
	justify-content: flex-end;
	align-items: center;
}

/* スマホ用 */
@media (max-width: 800px) {
	#news-list {
		margin-top: 0px;
	}

	#news-list a {
		display: block;
	}

	#news-list a p:first-child {
		display: flex;
		width: auto;

		justify-content: center;
	}

	#news-list a p:last-child span {
		padding-top: 10px;
	}
}


/********** ニュース詳細 **********/
#news-detail {
	margin: 30px auto;
}

#news-detail .title {
	padding: 0px 5px;
	font-size: 30px;
	border-bottom: solid 1px #D80000;
}

#news-detail .date {
	padding: 5px;
	font-size: 14px;
	text-align: right;
}

#news-detail .content {
	padding: 30px 5px 0px;
	line-height: 2.0em;
	border-bottom: dashed 1px #CCCCCC;
}

#news-detail .error {
	padding: 30px 5px;
	
	font-size: 20px;
	line-height: 2.0em;
	text-align: center;

	border-bottom: dashed 1px #CCCCCC;
}

#news-detail .error span {
	font-size: 32px;
}

#news-detail .link {
	padding: 10px;
	padding-top: 20px;
}

#news-detail .link a {
	color: #333;
	text-decoration: none;
}

#news-detail .link a:hover {
	color: #D80000;
	text-decoration: underline;
}

/* スマホ用 */
@media (max-width: 800px) {
	#news-detail .title {
		padding: 0px 5px;
		font-size: 24px;
		border-bottom: solid 1px #D80000;
	}
}


/********** アプリリスト **********/
#apps-list {
	margin: 20px auto;
}

#apps-list ul {
	display: flex;

	justify-content: flex-start;
	align-items: flex-start;

	color: #333;
}

#apps-list ul li {
	flex: 1;
	margin: 15px;
}

#apps-list ul li p.title {
	padding: 0px 5px;
	font-weight: bold;
	border-left: solid 5px #D80000;
}

#apps-list ul li p.content {
	display: flex;
	margin: 10px 0px;
}

#apps-list ul li p.content span:last-child {
	padding-left: 5px;
	font-size: 14px;
}

#apps-list ul li p.link {
	margin-top: 15px;
	text-align: right;
}

#apps-list ul li p.link a,
#apps-list ul li p.link span {
	display: inline-block;
}

#apps-list ul li p.link a img,
#apps-list ul li p.link span img {
	height: 38px;
}

#apps-list p.more {
	display: flex;
	padding: 10px;

	justify-content: flex-end;
	align-items: center;

	border-top: dashed 1px #CCCCCC;
}

#apps-list p.more a:last-child {
	color: #333;
	text-decoration: none;
}

#apps-list p.more a:last-child:hover {
	color: #D80000;
	text-decoration: underline;
}

/* スマホ用 */
@media (max-width: 800px) {
	#apps-list ul {
		display: block;
	}

	#apps-list ul li {
		border-bottom: dashed 1px #CCCCCC;
	}

	#apps-list ul li p.content {
		margin-bottom: 0px;
	}
	
	#apps-list ul li p.link {
		margin-top: 0px;
	}
	
	#apps-list p.more {
		border-top: none;
	}
}


/********** サービスリスト **********/
#others-list {
	margin: 20px auto;
}

#others-list ul {
	padding: 15px;

	justify-content: flex-start;
	align-items: flex-start;

	color: #333;
	text-decoration: none;

	border-bottom: dashed 1px #CCCCCC;
}

#others-list ul li.title {
	padding: 0px 5px;
	font-weight: bold;
	border-left: solid 5px #D80000;
}

#others-list ul li.content {
	display: flex;

	margin-top: 15px;
}

#others-list ul li.content p img {
	width: 300px;
}

#others-list ul li.content p:last-child {
	flex: 1;
	padding-left: 15px;

	position: relative;
}

#others-list ul li.content p:last-child span:last-child {
	display: flex;
	
	position: absolute;
	right: 0;
	bottom: 0;
}

#others-list ul li.content p:last-child span:last-child a {
	position: relative;
	width: 105px;
	padding-right: 10px;

	text-align: center;
	line-height: 40px;

	background: #000;
	border-radius: 8px;

	color: #fff;
	text-decoration: none;
}

#others-list ul li.content p:last-child span:last-child a::before {
	position: absolute;
	right: 8px;

	font-size: 16px;

    font-family: 'Material Symbols Rounded';
    content: '\e89e';
}

#others-list ul li.content p:last-child span:last-child a:hover{
	opacity: 0.5;
}

#others-list p.more {
	display: flex;
	padding: 10px;

	justify-content: flex-end;
	align-items: center;
}

#others-list p.more a:last-child {
	color: #333;
	text-decoration: none;
}

#others-list p.more a:last-child:hover {
	color: #D80000;
	text-decoration: underline;
}

/* スマホ用 */
@media (max-width: 800px) {
	#others-list ul li.content {
		display: block;
	}

	#others-list ul li.content p img {
		width: 100%;
	}

	#others-list ul li.content p:last-child {
		padding-left: 0px;
	}
	
	#others-list ul li.content p:last-child span:first-child {
		display: block;
		padding: 10px 0px;
	}

	#others-list ul li.content p:last-child span:last-child {
		display: flex;
		flex: 1;

		justify-content: flex-end;
		position: static;
	}
}


/********** サブコンテンツ **********/
#subcontent-list {
	margin: 20px auto;
}

#subcontent-list ul {
	display: flex;
	padding: 15px;

	justify-content: flex-start;
	align-items: flex-start;

	color: #333;
	text-decoration: none;

	border-bottom: dashed 1px #CCCCCC;
}

form#subcontent-list ul:last-child {
	border-bottom: none;
}

#subcontent-list ul li.title {
	flex: 0.35;
	padding: 0px 5px;
	font-weight: bold;
	border-left: solid 5px #D80000;
}

#subcontent-list ul li.title span {
	font-size: 12px;
	font-weight: normal;
	color: #D80000;
}

#subcontent-list ul li.content {
	flex: 1;
}

#subcontent-list ul li.content input[type="text"] {
	width: 100%;
	height: 28px;
	font-size: 16px;
	padding: 0px 5px;
	box-sizing: border-box;
	border: solid 1px #999;
}

#subcontent-list ul li.content p {
	display: none;
	padding: 5px 5px 0px;
	color: #D80000;
}

#subcontent-list ul li.content textarea {
	width: 100%;
	height: 300px;
	font-size: 16px;
	padding: 5px;
	box-sizing: border-box;
	border: solid 1px #999;
}

#subcontent-list ul li.submit {
	display: flex;
	flex: 1;
	justify-content: flex-end;
}

#subcontent-list ul li.submit input{
	padding: 8px 25px;

	font-size: 18px;
	color: #333;

	background: #eee;
	box-sizing: border-box;
	border: solid 1px #999;
}

#subcontent-list ul li.caution {
	padding: 50px 10px;
	line-height: 2.0em;
}



/* スマホ用 */
@media (max-width: 800px) {
	#subcontent-list ul {
		display: block;
	}

	#subcontent-list ul li.content {
		padding: 10px 10px 0px;
	}

	#subcontent-list ul li.submit {
		justify-content: center;
	}
}