@charset "utf-8";

#contents h1 ~ *{
	margin-left: 1em;
}

#contents h1 img{
	width: 100%;
	height: auto;
	margin-left: 0;
}

#contents section{
	margin-bottom: 10em;
}

#contents label{
	display: block;
	margin-bottom: 6px;
	
}

#contents .select {
	width: 20.5em;
	margin-bottom: 2em;
	padding: 0.5em;
	border: 1px solid #999;
	border-radius: 5px;
}

#contents button{
	min-width: 9em;
	padding: 0.7em 1em 0.7em 1.25em;
	border: 1px solid #BCBCBC;
	border-radius: 5px;
	background: url(/support/share/images/arrow_underline.gif) no-repeat;
	background-position: 0.5em 1em;
	background-color: #ffffff;
	color: #333333;
	cursor: pointer;
	line-height: 1.3;
	text-align: left;
	text-decoration: none;
	transition: 0.2s ease-in 0s;
}

#contents button:hover{
	background-color: #ffffff;
	color: #333333;
	text-decoration: none;
	opacity: 0.6;
}

/*** fade処理 ***/
#contents .list_hide {
	display: none;
	margin-top: 0;
	margin-left: 1em;
}

#contents .initial {
	display:block;
}

#contents ul.thumbnailList{
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	margin-left: 1em;
	padding-left: 0;
	padding-right: 1em;
	list-style-type: none;
}

#contents ul.thumbnailList::after{
  content:"";
  display: block;
  width:220px;
}

#contents ul.thumbnailList li{
	width: 220px;
	margin-left: 0;
    margin-bottom: 4em;
}

#contents ul.thumbnailList li:last-child{
	margin-right: 0;
	margin-bottom: 0;
}

#contents ul.thumbnailList li a{
	text-decoration: none;
	color: #000;
	display: inline-block;
}

#contents ul.thumbnailList li a span{
	width: 220px;
	display: block;
	margin-top: 10px;
}

@media (min-width: 641px) {
	#contents ul.thumbnailList li{
		margin-right: 3em;
	}
}

@media (max-width: 640px) {
	.s5-container {
		padding: 0 !important;
	}
	#contents h1 ~ *{
		margin-left: 0;
	}
	
	#contents .select {
		margin-bottom: 0;
	}
	
	#contents ul.thumbnailList{
		justify-content: space-around;
		margin-top: 3em;
		padding-right: 0;
		margin-left: 0;
	}
	
	#contents ul.thumbnailList li a span {
		width: 80%;
		display: block;
		text-align: left;
		margin: 10px auto;
	}
	
	#contents .select {
		width: 100%;
	}

	#contents button{
		margin-top: 1em;
		display: block;
		width: 100%;
	}

	#contents .list_hide{
		margin-left: 0;
	}
}

@media (max-width: 390px){
	#contents .select{
		font-size: 87.5%;
	}
	
}


/* 2025/04/17追記 */
#contents #default {
    margin-left: 0;
}

#contents ul.thumbnailList {
    margin-left: 0;
	padding-right: 0;
}

#contents ul.thumbnailList li {
	margin-right: 0.5em;
}

@media (max-width: 640px){
	#contents ul.thumbnailList {
		justify-content: start;
	}
	
	#contents ul.thumbnailList li {
		margin-right: 0;
		margin-bottom: 1em;
		width: auto;
	}
	
	#contents ul.thumbnailList li a {
		display: flex;
		justify-content: flex-start;
	}
	
	#contents ul.thumbnailList li a img {
		width: 45%;
    	height: auto;
	}

	#contents ul.thumbnailList li a span {
		margin: 0 0 0 0.5em;
	}
}



