@charset "utf-8";

@media only screen and (max-width: 768px) {
	main {
		padding: 0;
	}
	.message {
		padding: 32px 4% 80px;
	}
	.flow {
		position: relative;
		margin: 0 auto 30px;
		width: 90%;
	}
	.flow ol {
		margin: 0;
		overflow: hidden;
		display: flex;
		justify-content: space-between;
	}
	.flow ol:after {
		content: "";
		position: absolute;
		top: 20px;
		left: 20px;
		width: 90%;
		height: 1px;
		background-color: #ccc;
	}
	.flow ol li {
		width: 50px;
	}
	.flow ol li div.text {
		margin: 8px 0 0 0;
		font-size: 9px;
	}

	main .wrap  p.privacy-message {
		font-size: 12px;
		font-weight: normal;
		text-align: left;
		margin: 20px 24px 10px 24px;
		padding: 0;
	}
	main .privacy-box {
		box-sizing: border-box;
		width: 90%;
		margin: 0 auto 30px;
		height: 120px;
		padding: 10px;
	}
	main .privacy-box h3 {
		margin: 0;
		font-size: 13px;
	}

	div.registration-notice {
		padding: 0 12px;
		font-size: 12px;
	}
	main .wrap > p.require-message {
		margin: 4px 10px;
		padding: 4px;
	}
	
	/*invitation code*/
	.invitation-code {
		display: flex;
		flex-direction: column;
	}
	.invitation-code p {
		width: 90%;
		font-size: 14px;
	}
	.invitation-code input.textbox {
		width: 90%;
	}
	
	/* check-item */ 
	.enquete ul.check-list {
		display: block;
	}
	.enquete ul.check-list li {
		margin: 2px 0;
		flex-wrap: wrap;
	}
	.enquete ul.check-list li label:first-of-type {
		width: auto;
		max-width: 88%;
	}

	table.form {
		width: 95%;
		margin: 0 auto;
	}

	table.form tbody,
	table.form tr,
	table.form tr th,
	table.form tr td,
	table.enquete,
	table.enquete tr,
	table.enquete tr th,
	table.enquete tr td {
		display: block;
		width: 100%;
	}
	table.form,
	table.form tbody,
	table.form tr {
		border: none;
	}
	table.form tr th,
	table.enquete tr th {
		border: none;
		text-align: left;
		font-size: 14px;
		font-weight: normal;
		padding: 6px;
		background-color: #ddd;
	}
	table.form tr td,
	table.enquete tr td {
		border: none;
		/*margin-bottom: 8px;*/
		padding: 4px 5px;
		line-height: 1.75;
		font-size: 14px;
		display: flex;
        flex-wrap: wrap;
        align-items: flex-start;
        gap: 0 5px;
	}

	.confirm table.form tr td,
	.confirm table.enquete tr td {
		padding: 4px 4px;
	}

	table.form td input {
		width: 100%;
		font-size: 16px;
	}
	table.form td input#f_name,
	table.form td input#g_name,
	table.form td input#f_name_kana,
	table.form td input#g_name_kana {
		margin: 0;
		width: 49%;
	}
	table.form td input#data2 {
		width: 60%;
	}
	table.form td input#address_zip_1 {
		width: 40px!important;
		margin: 0 2%;
	}
	table.form td input#address_zip_2 {
		width: 52px!important;
		margin: 0 2%;
	}
	table.form td input#address_zip_1 {
		margin-left: 0;
	}
	table.form td input#tel_1,
	table.form td input#tel_2,
	table.form td input#tel_3 {
		margin: 0 2%;
		width: 20%!important;
	}
	table.form td input#tel_1 {
		margin-left: 0;
	}
	
	table.form tr td .container {
		display: flex;
		flex-direction: column;
		justify-content: center;
	}
	table.form tr td .container span {
		margin: 3px 0;
	}

	table.form tr td > span,
	table.enquete tr td > span {
		display: block;
		font-size: 13px;
		margin-bottom: 2px;
	}
	table.form tr td span.notice {
		font-size: 12px;
		margin: 4px 0 0 0;
	}
	table.form table.sub-item {
		display: table;
		width: 100%;
	}
	table.form table.sub-item tbody {
		display: table-row-group;
	}
	table.form table.sub-item tr {
		display: table-row;
	}
	table.form table.sub-item tr th,
	table.form table.sub-item tr td {
		display: table-cell;
		background-color: #fff;
	}
	table.form table.sub-item tr th {
		width: 28%;
		padding: 2px 0 2px 4px;
	}
	table.form table.sub-item tr td {
		padding: 2px 4px;
		width: 72%;
	}

	table.enquete {
		width: 95%;
		margin: 25px auto 20px;
	}
	table.enquete tbody{
		display: block;
		width: 100%;
	}
	table.enquete tr td {
		padding: 8px 4px;
	}
	table.enquete tr td .container {
		padding: 0 4px;
	}
	table.enquete tr td > br,
	table.enquete tr td .container > br {
		display: none;
	}
	table.enquete tr td .container > span {
		display: block;
		margin-bottom: 4px;
		font-size: 12px;
	}
	table.enquete tr td label {
		margin: 0 2px 0 6px;
	}
	table.enquete tr td .section {
		font-size: 16px;
		margin: 12px 0 4px -2px;
		border-bottom: 1px solid #efefef;
	}

	table.enquete td input#enq_1_ex,
	table.enquete td input#enq_12_ex,
	table.enquete td input#enq_13_ex {
		width: 40%;
	}
	table.enquete td span.special-text12 {
		display: block;
		padding-left: 20px;
	}
	table.enquete td input#enq_2_ex,
	table.enquete td input#enq_3_ex,
	table.enquete td input#enq_4_ex {
		width: 50%;
	}
	.require {
		color: #f00;
		padding: 0 0 0 2px;
	}

	table tr td input[type="text"],
	table tr td input[type="tel"],
	table tr td input[type="email"],
	select {
		font-size: 13px;
	}
	table tr td input[type="radio"] {
		margin-left: 5px;
		width: 16px !important;
		height: 16px !important;
		background-image:	url("../../images/responsive/registration/radiobutton_off.svg"),
							url("../../images/responsive/registration/radiobutton_on.svg");
		background-size: 16px, 0;
		background-position: center center, center center;
		background-repeat: no-repeat, no-repeat;
	}
	table tr td input[type="radio"]:checked {
		background-image: url("../../images/responsive/registration/radiobutton_on.svg");
	}

	table tr td input[type="checkbox"] {
		min-width: 16px;
		min-height: 16px;
		background-image:	url("../../images/responsive/registration/checkbox_off.svg"),
							url("../../images/responsive/registration/checkbox_on.svg");
		background-size: 16px, 0;
		background-position: center center, center center;
		background-repeat: no-repeat, no-repeat;
	}

	table tr td input[type="checkbox"]:checked {
		background-image: url("../../images/responsive/registration/checkbox_on.svg");
		background-size: cover;
	}

	table.session {
		width: 100%;
		margin-left: 2px;
	}

	table.session tr {
		border-bottom: 1px solid #ddd;
		padding: 10px 0 0 2px;
	}

	table.session tr td.time,
	table.session tr td.code {
		width: auto;
		display: inline-block;
		margin: 0;
		padding: 0;
	}
	table.session tr td.time {
		width: 100px;
	}

	table.session tr td.code span.code {
		border: 1px solid #333;
		padding: 1px 12px;
		line-height: 1.3;
		width: 52px;
		text-align: center;
	}
	table.session tr td.title {
		width: 100%;
		padding: 4px 0;
		margin-bottom: 8px;
		font-size: 13px;
	}

	.submit {
		margin: 0;
		padding: 40px 0 60px;
		overflow: hidden;
	}
	.submit li {
		margin: 0 10px;
		width: 120px;
		box-sizing: border-box;
		border-radius: 2px;
	}
	.submit li input {
		width: 100%;
		height: 48px;
		font-size: 16px;
		padding: 10px;
		z-index: 999;
		margin: 0;
	}
}