@charset "utf-8";
/* CSS Document */

#contents h1 img.pc {
	max-width: 1200px;
	width: 100%;
}

#contents h1 img.sp {
	display: none;
}

#contents h2 {
	margin: 2em 0 1em;
	padding: 0.8rem 0 0.5rem 0.5rem;
	border-top: 5px double #808080;
	border-bottom: 5px double #808080;
	background: #f5f5f5;
	font-size: 1.313rem;
	font-weight: bold;
}

#contents h3.grayline{
	margin: 1em 0;
	padding-left: 0.5em;
	border-left: 5px solid #808080;
	border-bottom: 2px solid #808080;
}

/* indexArea */
#contents .c5-indexArea {
	display: table;
    width: 100%;
	margin: 1em 0 2em;
}

#contents .c5-indexArea p.c5-left {
	background: #ccc;
	color: #000;
    padding: 0.5em;
    margin: 0;
    display: table-cell;
    vertical-align: middle;
    width: 1.5em;
	text-align: center;
	font-weight: bold;
}

#contents p.c5-tategaki {
    writing-mode: vertical-rl;
    letter-spacing: 0.5rem;
}

#contents .c5-indexArea ul {
	border: 1px solid #959595;
	padding: 1.5em 1em 1em 1.5em;
	list-style-type: none;
	margin: 0;
	width: 100%;
	box-sizing: border-box;
	height: 100%;
	background-color: #fff;
}

#contents .c5-indexArea ul li {
	padding-bottom: 0.3em;
}

#contents .c5-indexArea ul li:last-child {
	padding-bottom: 0;
}

#contents a.s5-linkV3.s5-linkV3--down:after {
	margin: 0 0.5em;
}

/* c5-flex */
.c5-flex {
	display: flex;
}

.c5-flex .txt {
	width: 64%;
}

/* c5-annotation */
p.c5-annotation {
    text-indent: -1.2em;
}

p.c5-annotation_no {
	text-indent: -1.8em;
	padding-left: 1.8em;
}

ul.c5-annotation {
	list-style: none;
	text-indent: -1.2em;
}

span.c5-annotation {
	display: block;
}

dl dt {
	margin-top: 1.5em;
	text-decoration: underline;
    text-decoration-skip-ink: none;
    padding-bottom: 0.3em;
}

.s5-nodisc {
	list-style: none;
    padding-left: 0;
}

/* c5-tableArea  */
.c5-tableArea {
    margin: 1.5em 0;
}

.c5-tableArea caption {
    text-align: left;
	font-weight: bold;
}

.c5-tableArea tbody th {
    background: #F2F2F2;
    padding: 0.5em 3em 0.5em 1em;
    border: #959595 1px solid;
}

.c5-tableArea tbody td {
    border: #959595 1px solid;
	padding: 0.5em 2em 0.5em 0.5em;
}

/* table */
dd.table {
    margin: 1em 0 2em;
}

dd.table caption {
    text-align: left;
	margin-bottom: 0.2em;
}

dd.table thead th {
    background: #D6D6D6;
    padding: 0.5em 2em 0.5em 2em;
	border: #959595 1px solid;
    text-align: center;    
}

dd.table tbody td {
    border: #959595 1px solid;
	padding: 0.5em;
	text-align: center;
}

dd.table tbody td.bg {
    background: #F2F2F2;
}

/* c5-link */
.c5-link {
	width: 30%;
}

a.btn {
	display: block;
	text-align: center;
	vertical-align: middle;
	text-decoration: none;
    font-size: 1rem;
    letter-spacing: 0.1em;
	padding: 0.5em 0;
    margin: 1em 0;
	font-weight: bold;
	border: 2px solid #2d75c7;
	background: #2d75c7;
	color: #fff;
	border-radius: 100vh;
	transition: 0.5s;
}

a.btn:hover {
	color: #fff;
	background: #34568e;
}

.c5-link p {
	width: 60%;
    text-align: center;
    background: #CB0030;
    color: #fff;
    font-weight: bold;
    padding: 0.3em 0;
    margin: 0 auto;
}

/* c5-procedure */
.c5-procedure {
	list-style: none;
	display: flex;
	padding-left: 0;
	margin: 2em 0 3em;
}

.c5-procedure li {
	position: relative;
	padding-right: 2em;
	width: 100%;
}

.c5-procedure li > div.c5-box {
	border-radius: 4px;
	padding: 0.5em;
	width: 100%;
	height: 100%;
	box-sizing: border-box;
	text-align: center;
	color: #000;
	border: 2px solid #ccc;
}

.c5-procedure li div.c5-title {
	font-weight: bold;
	margin-bottom: 0.5em;
	height: auto;
	font-size: 0.9rem;
}

.c5-procedure li div.c5-text {
	text-align: left;
	margin-top: 1em;
}

.c5-procedure li:last-child {
	padding-right: 0;
}

.c5-procedure li:not(:last-child)::after {
    content: "";
    border: 30px solid transparent;
    border-left: 20px solid #ccc;
    position: absolute;
    right: -1.3em;
    top: 40%;
}

.c5-procedure img {
	max-width: 100%;
}

@media screen and (max-width: 1029px){
	.c5-link {
		width: 100%;
	}
	
	.c5-procedure li div.c5-title {
		height: 2.5em;
	}
}

@media screen and (max-width: 820px){
	.c5-procedure {
		flex-direction: column;
	}
	
	.c5-procedure li {
		padding-right: 0;
		padding-bottom: 2em;
		width: 100%;
	}
	
	.c5-procedure li:last-child {
		padding-bottom: 0;
	}
	
	.c5-procedure li:not(:last-child)::after {
		border: 30px solid transparent;
		border-top: 20px solid #ccc;
		position: absolute;
		right: 45%;
		top: auto;
		bottom: -1.3em;
	}
	
	.c5-procedure li div.c5-title {
		height: auto;
		font-size: 1rem;
	}
}

@media screen and (max-width: 640px){
	#contents h1 img.pc {
		/* display: none; */
	}

	#contents h1 img.sp {
		display: block;
		max-width: 676px;
		width: 100%;
	}
	
	.c5-flex {
		flex-direction: column;
    	align-items: center;
	}

	.c5-flex .txt {
		width: 100%;
	}
	
	.c5-flex img {
		width: 100%;
		max-width: 175px;
	}
	
	.c5-tableArea tbody th,
	dd.table thead th,
	.c5-tableArea tbody td {
		padding: 0.5em;
	}
	
	.c5-procedure li {
		padding-bottom: 2.5em;
	}
	
	.c5-procedure li:not(:last-child)::after {
		top: 99%;
		left: 50%;
		transform: translate(-50%, -50%);
	}
	
	.c5-procedure img {
		max-width: 130px;
	}
}

