@charset "UTF-8";

#main h2 {
    font-size: 165%;
}

.tab-002 {
    display: grid;
    flex-wrap: wrap;
	position: relative;
	margin-bottom: 50px;
}

.tab-002 > label {
    flex: 1 1;
    order: -1;
    cursor: pointer;
    padding: 2px 0 5px 245px;
    background: #ededed;
    width: calc(100% - 245px);
    border-radius: 0;
    margin-left: 20px;
}

.tab-002 > div {
    /*display: none;*/
	display: block;
    width: 100%;
    padding: 0;
    background-color: #fff;
}

.tab-002 label:has(:checked) {
    opacity: 1;
}

.tab-002 label:has(:checked) + div {
    display: block;
}

p.itemText {
    position: absolute;
    top: 0;
    height: 150px;
    background: #ededed;
    left: 20px;
    width: 25%;
    font-weight: bold;
    line-height: 150px;
    padding-left: 15px;
    margin: 0 0 0 0;
}

p.itemText span {
	position: absolute;
	right: 25px;
	top:50%;
	transform: translateY(-50%)
}

#main table {
    width: 100%;
    border: none;
    margin: 0 0 20px 20px;
	background: #ededed;
}

#main table th {
    background: none;
    font-weight: bold;
    border: none;
	width: 25%;
	position: relative;
}

#main table th span {
	position: absolute;
	right: 10px;
}

.tab-002 span {
    color: #fff;
    font-weight: normal;
    padding: 0 7px;
    font-size: 12px;
    line-height: 22px;
}

.tab-002 span.req {
	background: #be0000;
}

.tab-002 span.any {
	background: #a2a2a2;
}

tr.none {
    display: none;
}

label.pb20,p.pb20 {
    padding-bottom: 20px;
}

label.pt20 {
    padding-top: 20px;
}

#main input[type=text],#main input[type="email"],#main input[type="tel"] {
    display: inline-block;
    padding: 10px;
    font-size: 16px;
    margin: 0 0 2px 0;
    border: 1px solid #ededed;
	width: 80%;
}

#main input[type="tel"] {
	width: 50%;
}

#main textarea {
    width: 83%;
	padding: 10px;
}

.btnList {
    text-align: center;
}

.btnList p {
    margin: 0;
}

#main input[type="submit"],#main [type="reset"],#main input[type="button"],#main button {
    padding: 10px 20px;
    background-color: #be000f;
    margin: 0;
    font-size: 16px;
    color: #fff;
    border: 1px solid #be000f;
    letter-spacing: 2px;
	cursor: pointer;
	border-radius: 0;
}

address.bnr {
    margin-bottom: 50px;
}

p.error_messe {
    margin: 0;
}


/* --------------------------------------------------------------     スマホ */

@media screen and  (min-width: 320px) and (max-width: 768px) {
	
	#main h2 {
		font-size: 130%;
	}


	p.itemText {
		position: relative;
		width: 100%;
		line-height: unset;
		margin: 0 0 0 0;
		order: -1;
		left: 0;
		padding: 12px 15px;
		height: auto;
		box-sizing: border-box;
	}	

	.tab-002 > label {
		padding: 0 0 0 20px;
		width: 100%;
		margin-left: 0;
		box-sizing: border-box;
	}
	
	.tab-002 > label.pt20 {
		padding-top: 12px;
	}
	
	.tab-002 > label.pb20 {
		padding-bottom: 12px;
	}	
	
	
	#main table {
		margin: 0 0 20px 0;
	}	

	#main table th,#main table td {
		width: 100%;
		display: block;
		box-sizing: border-box;
	}	

	#main table th span {
		right: auto;
		margin-left: 10px;
	}	

	p.itemText span {
		right: auto;
		margin-left: 10px;
	}	
	
	
}

@media screen and  (min-width: 769px) {
	.tel {
		pointer-events: none;
	}
	
}