@charset "utf-8";

#mainImg {
    background-image: url("../legal_seminar/img/bg_main.png?ts=2501");
}

#contents div.box{
	padding: 0 60px;
}

#contents ul.attention li{
	text-indent: -1em;
	margin-left: 1em;
}

#contents .btn_other{
	color: #fff;
	display: inline-block;
	text-align: center;
	text-indent: 0;
	text-decoration: none;
	background: #FF2F05;
	outline: 1px solid #FF2F05;
	border: 2px solid #fff;
	padding: 10px;
	margin-block: .5em;
}
#contents .btn_other:hover{
	color: #FF2F05;
	background: #fff;
	outline: 1px solid #fff;
	border: 2px solid #FF2F05;
}

#contents .detail > dl > dt{
	color: var(--color-white);
	font-size: max(16pt, 1.0vw);
	font-weight: normal;
	background-color: var(--main-color);
	padding: .5em 1em;
	margin-top: 3em;
	margin-bottom: .5em;
}

#contents .detail > dl > dd{
	margin-bottom: 40px;
}
#contents .detail > dl > dd ol {
	list-style-position: inside;
}

#contents .detail .guidance {
	line-height: 1.8;
}

#contents .detail .guidance dd ul.att > li:not(:first-child) {
	margin-top: 1em;
}

#contents .date > div{
	margin-bottom: 2em;
}

#contents .date table{
	width: 100%;
	border: 1px solid #999;
	border-collapse: collapse;
}

#contents .date table caption {
	text-align: left;
	font-size: 105%;
}

#contents .date table colgroup col:nth-child(1){ width: 10%; }
#contents .date table colgroup col:nth-child(2){ width: 45%; }

#contents .date table th,
#contents .date table td{
	padding: 10px;
	border: 1px solid #999;
	vertical-align: middle;
}
#contents .date table th{
	font-weight: bold;
	text-align: center;
	background: #ccc;
}

#contents .request > dl > div:not(:first-child) {
	margin-top: 1em;
}

#contents .request ul.att > li {
	margin-top: 0 !important;
}

#contents .request > table{
	width: 100%;
	border: 1px solid #999;
	border-collapse: collapse;
}
#contents .request > table th,
#contents .request > table td{
	padding: 10px;
	border: 1px solid #999;
	vertical-align: middle;
}
#contents .request > table th{
	font-weight: bold;
	text-align: center;
	background: #ccc;
}

#contents .request .btn_link{
	margin: 2em auto;
	width: 75%;
	color: #fff;
	display: block;
	padding: 10px;
	text-align: center;
	background: #FF2F05;
	outline: 1px solid #ff2f05;
	border: 2px solid #fff;
	text-decoration: none;
}
#contents .request .btn_link:hover{
	color: #FF2F05;
	background: #fff;
	outline: 1px solid #fff;
	border: 2px solid #FF2F05;
}


#contents .bringing > table{
	width: 100%;
	border: 1px solid #999;
	border-collapse: collapse;
	margin-bottom: 2em;
}

#contents .bringing > table colgroup col:nth-child(1){ width: 5%; }
#contents .bringing > table colgroup col:nth-child(2){ width: 30%; }

#contents .bringing > table th,
#contents .bringing > table td{
	padding: 10px;
	border: 1px solid #999;
}
#contents .bringing > table th{
	font-weight: bold;
	text-align: center;
	background: #ccc;
}

#contents .bringing ul.att > li {
	margin-top: 0 !important;
}

#contents td li{
	text-indent: -1em;
	margin-left: 1em;
}

#contents .underline{
	text-decoration: underline;
}



#contents td.check{
	color: #0000FF;
}

#contents .btn{
	margin: 20px 0;
	text-align: center;
}

#contents .form > dl > div {
    display: flex;
    gap: 1em;
    margin-bottom: 1.8em;
}
#contents .form > dl > div dt {
    width: 19em;
    padding-top: 10px;
}
#contents .form > dl > div dd {
    flex: 1;
}

#contents form .btnBox .btn {
    font-size: 110%;
    padding: 10px 1.5em;
}
#contents form .btnBox .btn.back {
    border-color: #999;
    background-color: #999;
}
#contents form .btnBox .btn.back:hover {
    color: #999;
    background-color: #fff;
}

#check #contents .form > dl > div dt {
    padding-top: 0;
}


@media screen and (max-width: 430px){
	#mainImg {
		background-image: url("../legal_seminar/img/bg_main_sp.png");
	}

	#contents .date table tr th:first-child,
	#contents .date table tr td:first-child{
		display: none;
	}
	#contents .date table colgroup col:nth-child(1){ width: 45%; }

	#contents .date table th,
	#contents .date table td{
		padding: 4px;
	}

	#contents .bringing > table colgroup col { width: auto !important; }

	#contents .bringing > table tr {
		display: grid;
		grid-template-columns: auto 1fr;
		grid-template-rows: auto auto;
		grid-column-gap: 0px;
		grid-row-gap: 0px;
	}
	#contents .bringing > table.use tr {
		grid-template-columns: 1fr 2fr;
	}
	#contents .bringing > table:not(.use) th {
		display: none;
	}
	#contents .bringing > table tr > td:nth-child(1) { grid-area: 1 / 1 / 2 / 2; }
	#contents .bringing > table tr > td:nth-child(2) { grid-area: 1 / 2 / 2 / 3; }
	#contents .bringing > table tr > td:nth-child(3) { grid-area: 2 / 1 / 3 / 3; }

	#contents #form .form {
        padding-inline: 10px;
    }
    #contents .form dl > div {
        flex-direction: column;
        gap: .5em;
        margin-bottom: 1em;
    }

    #contents .form .btnBox dd {
        text-align: center;
    }
    #contents .form .btnBox dd button {
        margin-bottom: 1.5em;
    }
    #contents .form .btnBox .btn {
        width: 100%;
    }
    #contents .form input,
    #contents .form select,
    #contents .form textarea
    {
        font-size: 95%;
    }
}