@charset "utf-8";
/* CSS Document */

.pankuzu a:link,
.contents-list a:link,
.pagetop a:link,
.pankuzu a:visited,
.contents-list a:visited,
.pagetop a:visited {
	color:#0c0052;
	text-decoration:none;
}

.topics a:link,
.topics a:visited,
.sample a:link,
.sample a:visited {
	color:#00C;
	text-decoration:none;
}

.main-contents a:hover{
	text-decoration:underline;
}

.text_box{
	overflow: hidden;
	margin: 30px 30px 150px;
}
.text_box p{
	font-size: 117%;
	line-height:1.8;
	margin-bottom: 20px;
}
.text_box .time{
	margin-bottom: 0px;
}
/* table
=========================================*/
main table {
  width: 100%;
  max-width: 720px;
  padding: 0 10px;
  border-collapse: collapse;
  margin-bottom: 20px;
}
main td {
  border: solid 2px #ccc;
  padding: 15px;
}
main td a,main td a:link,main td a:visited{
  color: #00C;
}

main th {
  font-weight: bold;
  background: #DDE9F7;
  font-size: 117%;
  padding: 10px 30px;
  text-align: center;
  border: solid 2px #ccc;
}
main td {
  font-size: 117%;
  padding: 10px 60px 10px 20px;
  font-weight: normal;
  text-align: left;
  border: solid 2px #ccc;
}

.guidance_img {
  width: 100%;
  max-width: 720px;
  margin: 32px 0 24px;
  & figure {margin: 0;}
  & a {
	display: inline-block;
	font-size: 117%;
	margin-top: 8px;
  }
}

span.tate {
	writing-mode: vertical-rl;
	-ms-writing-mode: tb-rl;
	padding: 7px 0 7px 120px;
}
a.dlurl {
  font-weight: normal;
  color: #00C;
}
a.dlurl:hover {
  text-decoration: none;
}

.sp_br {display: none;}
.img_flex {
	position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
	margin-bottom: 40px;
}
.img_flex p:first-child {
	position: relative;
}
.img_flex p:first-child::before {
	content: '';
	position: absolute;
	bottom: -2em;
    left: 0;
    font-size: 12px;
}

.img_flex {
	max-width: 500px;
	flex-wrap: wrap;
	margin: 0 0 40px;
		@media print, screen and (min-width: 768px) {
		figcaption {
			width: 100%;
			text-align: center;
			margin-top: -0.8em;
			font-size: 14px;
		}
	}
}

@media screen and (max-width: 767px) {
.sp_br {display: block;}
.img_flex {
	gap: 10px;
	margin-bottom: 20px;
}
.img_flex::before {
	content: '';
	position: absolute;
	bottom: 0em;
    left: 0;
    font-size: 12px;
}
.img_flex p:first-child::before {display: none;}

main th,main td{
	display: block;
	padding: 10px 20px 10px 20px;
	}
main table{
	border-top:solid 2px #ccc;
	}
main th{
	border-top: none;
	border-bottom: none;
}
.text_box {
    margin: 30px 0;
}

.guidance_img {
	& a {margin-top: 24px;}
}
}

@media screen and (max-width: 479px) {

.detail span {
	float: none;
	margin: 0px;
}

.contents-list li {
	margin-top: 10px;
}

.detail p {
	margin: 5px 0px 10px;
	padding-bottom: 10px;
	border-bottom: 1px dotted #CCC;
}

}

/*　トップへ戻る 
=========================================*/
#pagetop {
    position: fixed;
    bottom: 50px;
    right: 50px;
	border: none;
}