.contact h2{
	background: #f7f8f9;
	text-align: center;
	padding:2rem 0;
	font-size:1.4rem;
	font-weight: bold;
}
.contact iframe{
	border:none;
}
#tayori-form {
    max-width: 760px;
    margin: 2rem auto 0 auto;
    background: #fff;
	padding:2rem 20px;
}
span.required{display: inline-block;
    margin-left: .25em;
    color: red;
}
.form-parts {
    margin-bottom: 24px
}

.form-parts .label {
    word-wrap: break-word;
    display: block;
    margin-top: 1em;
    margin-bottom: .3em;
    font-size: 16px;
    font-weight: bold;
    line-height: 2;
    overflow-wrap: anywhere
}

.form-parts .label span {
    display: inline-block;
    margin-left: .25em;
    color: red;
    background: none;
    padding:0;
}

.form-parts .select {
    position: relative
}

.form-parts .select::before {
    position: absolute;
    top: 28px;
    right: 10px;
    width: 0;
    height: 0;
    margin: -4px 0 0 0;
    border: 5px solid rgba(0,0,0,0);
    border-top: 5px solid #2e3231;
    content: "";
    pointer-events: none
}

.form-parts select {
    display: block;
    width: 100%;
    min-height: 50px;
    margin: 0;
    padding: 0;
    padding: .75em .85em;
    border: none;
    border: 1px solid rgba(0,0,0,.15);
    border-radius: 4px;
    outline: none;
    background-clip: border-box;
    background-color: rgba(0,0,0,0);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    transition: border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;
    -webkit-transition: border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;
    
}
.select-box{
	width:49%;
	    cursor: pointer;
	display: block;
	position: relative;
}
.select-box::before{
    position: absolute;
    top: 28px;
    right: 10px;
    width: 0;
    height: 0;
    margin: -4px 0 0 0;
    border: 5px solid transparent;
    border-top: 5px solid #000;
    content: "";
    pointer-events: none;
}
.form-parts .label-name {
    -webkit-box-pack: justify;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-pack: justify;
    justify-content: space-between
}

.form-parts .label-name__right,.form-parts .label-name__left {
    width: calc((100% - 198px)/12*6 + 90px)
}

.form-parts input {
    display: block;
    width: 100%;
    min-height: 50px;
    margin: 0;
    padding: 0;
    padding: .75em .85em;
    border: none;
    border: 1px solid rgba(0,0,0,.15);
    border-radius: 4px;
    background-clip: border-box;
    background-color: rgba(0,0,0,0);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    transition: border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;
    -webkit-transition: border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;
 
}

.form-parts .label-tel {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center
}

.form-parts .label-tel input {
    max-width: 120px
}

.form-parts input[type=radio] {
    display: none
}

.form-parts .radio-answers {
    display: flex;
    align-items: center;
	line-height: 2;
    padding-left: 30px;
    position: relative;
    width: 130px
}

.form-parts .checkbox-answers {
    width: auto;
    padding-left: 20px
}

.form-parts .checkbox {
    display: flex;
    align-items: center;
    height: 30px;
        margin-top:10px;
}

.form-parts .radio-answers::before {
    display: inline-block;
    position: absolute;
    left: 2px;
    width: 14px;
    height: 14px;
    border-radius: 100%;
    box-shadow:0 0 0 2px #ccc;
    content: ""
}

.form-parts .label-radio input:checked+label::before {
    border: solid 3px #fff;
    background: #0075ff;
    opacity: 1;
    -webkit-box-shadow: 0 0 0 2px #0075ff;
    box-shadow: 0 0 0 2px #0075ff
}

.form-parts input[type=radio]:checked+.radio-answers::after {
    opacity: 1
}

.form-parts input[type=checkbox] {
    width: 16px
}

.form-parts input[type=checkbox]:checked+.checkbox::after {
    opacity: 1
}

.form-parts textarea {
    display: block;
    width: 100%;
    min-height: 120px;
    margin: 0;
    padding: 0;
    padding: .75em .85em;
    border: none;
    border: 1px solid rgba(0,0,0,.15);
    border-radius: 4px;
    outline: none;
    background-clip: border-box;
    background-color: rgba(0,0,0,0);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    transition: border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;
    -webkit-transition: border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;
    
}

.form-parts .sentence div {
    font-size: 12px;
    overflow: scroll;
    padding: 15px;
    height: 200px;
    border: 1px solid rgba(0,0,0,.15)
}
.description{
	word-wrap: break-word;
    margin-top: -5px;
    padding-top: 12px;
    padding-left: 0;
    font-size: 12px;
    line-height: 18px;
    overflow-wrap: anywhere;
    opacity: .6;
}

.submit {
    -webkit-appearance: none;
    display: block;
    -moz-appearance: none;
    margin: 0 auto;
    appearance: none;
    min-width: 190px;
    padding: 0;
    padding: 15px 20px;
    border-radius: 200px;
    background-color: #13a9b1;
    color: #fff;
    font-size: 14px;
    text-align: center
}

.submit:hover {
    opacity: .8
}

.error-message {
    font-size: 11px;
    color: red;
    padding-top: 5px;
    width: 100%
}

.container-thanks {
    text-align: center;
	margin:40px auto;
}

.container-thanks h2 {
    font-size: 20px;
    margin-bottom: 25px
}

.container-thanks .small {
    font-size: 12px;
    margin: 25px auto
}

.container-thanks .small a {
    display: block;
    color: #1e5b97;
    text-decoration: underline;
    margin: 15px 0px
}

.container-thanks .small a:hover {
    opacity: .6;
    transition: .3s
}

@media screen and (max-width: 559px){
	.select-box{
	width:100%;
}
}
  /* エラーバー（初期状態は非表示） */
        #error-message-summary {
            display: none;
            background-color: #ffcccc;
            color: #cc0000;
            padding: 15px;
            margin-bottom: 20px;
            border: 1px solid #cc0000;
            font-weight: bold;
        }

