@charset "UTF-8";

#contact .inner{
	max-width: 840px;
}
#contact h1{
    font-size: 30px;
    font-family: 'Noto Serif JP', serif;
    letter-spacing: .2em;
    color: #39b49e;
    text-align: center;
    font-weight: normal;
    margin-bottom: 35px;
}
#contact h2{
    font-size: 25px;
    font-family: 'Noto Serif JP', serif;
    letter-spacing: .2em;
    color: #39b49e;
    text-align: center;
    font-weight: normal;
    margin-bottom: 35px;
}
#contact h1 svg{
    margin-right: .3em;
    font-size: 110%;
}
#contact #contactHead {
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top: 1px solid #39b49e;
    border-bottom: 1px solid #39b49e;
    padding: 30px 0;
    margin-bottom: 50px;
}

#contact #form > p {
    margin-bottom: 20px;
    font-size: 16px;
    text-align: center;
    line-height: 1.7;
}
#contact #contactHead table th {
    color: #39b49e;
    text-align: left;
    font-weight: normal;
    width: 3em;
}
#contact #form form {
    border: 1px solid #39b49e;
    padding: 30px;
}
#contact #form th,
#contact #form td {
    padding: 10px;
    font-size: 16px;
}
#contact #form th {
    color: #39b49e;
    vertical-align: middle;
    text-align: left;
    width: 26%;
    letter-spacing: .1em;
}
#contact #form th:after {
    content: "";
    transition: .3s;
    display: inline-block;
    margin-left: .5em;
    color: #f00;
    opacity: 0;
}
#contact #form th.required:after {
    content: "*";
    opacity: 1;
}
#contact #form tr:last-of-type th {
    vertical-align: top;
}
input[type=text],
textarea,
select {
    font-size: 18px;
    padding: 10px 5px;
    outline: none;
    border: none;
    transition: background .8s;
    box-sizing: border-box;
    width: 100%;
}
input[type=text] {
    border-bottom: 1px solid #39b49e;
}
textarea {
    border: 1px solid #39b49e;
    resize: vertical;
    min-height: 4em;
}
input[type="text"]:hover,
textarea:hover{
	background: rgba(57, 180, 158, 0.1);
}
input[type="text"]:focus,
textarea:focus{
	background: rgba(57, 180, 158, 0.1);
}
.radioWrap {
    display: flex;
    justify-content: space-between;
}
input[type="radio"] , input[type="checkbox"] {
  /* display: none; */
  width: 0;
  /* height: 0; */
  opacity: 0;
  position: absolute;
}
label.radio , label.checkbox {
  position: relative;
  margin: 5px 0;
  padding: 8px 8px 8px 40px;
  cursor: pointer;
  border: #ccc 1px solid;
  border-radius: 8px;
  width: 32%;
  box-sizing: border-box;
}
label.radio::before {
    position: absolute;
    content: '';
    top: 0;
    bottom: 0;
    margin: auto;
    left: 8px;
    width: 16px;
    height: 16px;
    background: #fff;
    border: 1px solid #39b49e;
    border-radius: 100%;
    box-sizing: border-box;
}
input[type="radio"]:checked + label {
    background: rgba(57, 180, 158, 0.1);
    border: 1px solid #39b49e;
}
input[type="radio"]:checked + label::after {
    position: absolute;
    content: '';
    top: 0;
    bottom: 0;
    margin: auto;
    left: 12px;
    width: 8px;
    height: 8px;
    background: #39b49e;
    border-radius: 100%;
}
label.checkbox::before {
    position: absolute;
    content: '';
    top: 0;
    bottom: 0;
    margin: auto;
    left: 8px;
    width: 15px;
    height: 16px;
    background: #eee;
    border: 1px solid #bebebe;
    border-radius: 2px;
}
input[type="checkbox"]:checked + label {
    background: #edf4ff;
    border: 1px solid #4881d9;
}
input[type="checkbox"]:checked + label::after {
    position: absolute;
    top: 50%;
    left: 13px;
    display: block;
    margin-top: -5px;
    width: 5px;
    height: 9px;
    border-right: 3px solid #3498db;
    border-bottom: 3px solid #3498db;
    content: '';
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}
.submitWrap {
    display: flex;
    justify-content: space-around;
    max-width: 600px;
    margin: 30px auto 0 auto;
}
.submitWrap input[type="submit"],
.submitWrap input[type="reset"],
.submitWrap input[type="button"] {
    font-family: Roboto, "Helvetica Neue", Arial, "Noto Sans JP", 游ゴシック, YuGothic, "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", Meiryo, メイリオ, "ＭＳ ゴシック", sans-serif;
    border: 1px solid #39b49e;
    font-size: 18px;
    padding: 10px 5px;
    outline: none;
    transition: opacity .3s;
    box-sizing: border-box;
    display: inline-block;
    width: 260px;
    cursor: pointer;
}
.submitWrap input[type="submit"],
.submitWrap input[type="button"]{
    background: #39b49e;
    color: #fff;
}
.submitWrap input[type="reset"]{
    background: #fff;
    color: #39b49e;
}
.submitWrap input[type="submit"]:hover,
.submitWrap input[type="reset"]:hover,
.submitWrap input[type="button"]:hover {
    opacity:.7;
}