body{
	font-family:"MS Pゴシック",sans-serif;
}

.contact {
    width: 960px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact h3 {
    width: 95%;
    box-sizing: border-box;
    padding: 10px 30px;
    margin-top: 0;
    margin-bottom: 0;
    border-left: 5px solid #000;
    background: #99ccff;
}

h4 {
    position: relative;
    padding-left: 25px;
    width: 115px;
    margin-right: 20px;
}

h4:before {
    position: absolute;
    content: '';
    bottom: -3px;
    left: 0;
    width: 0;
    height: 0;
    border: none;
    border-left: solid 15px transparent;
    border-bottom: solid 15px rgb(119, 195, 223);
}

h4:after {
    position: absolute;
    content: '';
    bottom: -3px;
    left: 5px;
    width: 100%;
    border-bottom: solid 3px rgb(119, 195, 223);
}

.contact-group {
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact__section {
    width: 120px;
    padding: 10px 20px 2px 20px;
}

.contact__input {
    width: 300px;
    padding: 10px 20px 2px 20px;
}

.contact__input input {
    width: 250px;
}

.req,
.vali {
    text-align: right;
    color: #ff3311;
}

.btn {
    padding: 10px 20px;
    font-size: 18px;
    background-color: #0099ff;
    color: #ffffff;
    border-radius: 8px;
	margin: 0 auto 0 auto;
	cursor: pointer;
}

form{
	width: 90%;
}

.tel-fax-table{
	width: 100%;
    border-collapse: collapse;
}

.tel-fax-table tr {
    border-bottom: solid 2px white;
}

.tel-fax-table tr:last-child {
    border-bottom: none;
}

.tel-fax-table th {
    position: relative;
    text-align: left;
    width: 30%;
    background-color: #0099ff;
    color: white;
    text-align: center;
    padding: 20px 0;
}

.tel-fax-table th:after {
    display: block;
    content: "";
    width: 0px;
    height: 0px;
    position: absolute;
    top: calc(50% - 10px);
    right: -10px;
    border-left: 10px solid #0099ff;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
}

.tel-fax-table td {
    width: 70%;
    text-align: center;
    background-color: #eee;
    padding: 10px 20px;
}

.contact-type {
    width: 100%;
    border-collapse: collapse;
}

.contact-type tr {
    border-bottom: solid 2px white;
}

.contact-type tr:last-child {
    border-bottom: none;
}

.contact-type th {
    position: relative;
    text-align: left;
    width: 30%;
    background-color: #0099ff;
    color: white;
    text-align: center;
    padding: 20px 0;
}

.contact-type th:after {
    display: block;
    content: "";
    width: 0px;
    height: 0px;
    position: absolute;
    top: calc(50% - 10px);
    right: -10px;
    border-left: 10px solid #0099ff;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
}

.contact-type td {
    width: 70%;
    text-align: center;
    background-color: #eee;
    padding: 10px 20px;
}

.input {
    width: 90%;
    height: 35px;
    border: none;
    padding-left: 15px;
    font-size: 16px;
}

.ra {
    text-align: left;
}

.input-area {
    resize: none;
    width: 85%;
    padding: 20px 20px;
    font-size: 16px;
    height: 250px;
    border: none;
}

.line {
    margin: 10px 0 20px 0;
    border: 1px solid #888888;
    width: 90%;
}

@media(max-width:500px){
	.tel-fax-table,
	.contact-type{
		font-size: 14px;
	}
	.input{
		font-size: 14px;
	}
	.input-area{
		font-size: 14px;
	}
	.btn{
		font-size: 16px;
	}
    .little-section p{
        font-size: 14px;
    }
}