@charset "Shift_JIS";

/*======================================================
	PCサイズ（641px以上）ここから
======================================================*/

@media screen and (min-width:641px), print{
	.wrapper {
		margin-bottom: 30px;
	}
	#boshu #form form dl {
		border-bottom: 1px dotted #cfcfcf;
        margin: 10px 0;
        padding: 10px 10px 20px;
        box-sizing: border-box;
	}
	#boshu #form form dl#tel .ex {
		display: block;
	}
	#boshu #form form dl dd {
		width: calc(100% - 240px);
	}
	#boshu #form form dl dd p {
		margin-bottom: 0;
	}
	#boshu #form form input[type="text"] {
        width: 100%;
        max-width: 450px;
	}
	#boshu #form form dl#free18 dd input[type="text"] {
        width: 100px;
    }
	#boshu #form form dl dd label {
		display: block;
		width: 100%;
		margin: 10px 0;
	}
	#boshu #form form dl:not(#free21) dd label:last-of-type {
		width: 15%;
	}
	#boshu #form form dl#free12 dd,
	#boshu #form form dl#free14 dd,
	#boshu #form form dl#free22 dd {
		display: flex;
		flex-wrap: wrap;
	} 
	#boshu #form form dl dd div#free13,
	#boshu #form form dl dd div#free15,
	#boshu #form form dl dd div#free24 {
		width: 85%;
		margin: 0;
	}

	/* 確認画面 */
	#form > p {
		width: 850px;
		margin: 0 auto 20px;
	}
	#boshu #form form #transmission {
		border-top: none;
	}
	#boshu #form form dl dd span {
		display: inline-block;
		padding-left: 1em;
	}
}
/*======================================================
	SPサイズ（640px以下）ここから
======================================================*/

@media screen and (max-width: 640px){

	.wrapper {
		margin-bottom: 30px;
	}
	#boshu #form form dl {
		border-bottom: 1px dotted #cfcfcf;
        margin: 10px 0;
        padding: 10px 10px 20px;
        box-sizing: border-box;
	}
	#boshu #form form dl dd p {
		margin-bottom: 0;
	}
	#boshu #form form input[type="text"] {
        width: 100%;
        max-width: 450px;
	}
	#boshu #form form dl#free18 dd input[type="text"] {
        width: 5em;
    }
	#boshu #form form dl dd label {
		display: block;
		width: 100%;
		margin: 10px 0;
	}
	#boshu #form form dl dd div#free13,
	#boshu #form form dl dd div#free15,
	#boshu #form form dl dd div#free24 {
		margin: 0;
		box-sizing: border-box;
        padding-left: 20px;
	}
	#boshu #form form #consent label::after {
        content: "必須";
        display: inline-block;
        font-size: 80%;
        vertical-align: 10%;
        margin-left: 12px;
        color: #CC0000;
        border: 1px solid #CC0000;
        border-radius: 4px;
        padding: 0 4px;
        font-weight: bold;
    }
	
	/* 確認画面 */
	#form > p {
		width: 95%;
		margin: 0 auto 20px;
	}
	#boshu #form form #transmission {
		border-top: none;
	}
	#boshu #form form dl dd span {
		display: inline-block;
		padding-left: 1em;
	}
}
