
#mailform {margin-top: 2em;}
#mailform * {
  box-sizing: border-box;
}
#mailform form > dl {display: flex}
#mailform form > dl:nth-of-type(2n+1) {
  background: #FF990030;
  border-radius: 0.5em;
}
#mailform form > dl > dt,
#mailform form > dl > dd {
  padding: 1em;
}
#mailform form > dl > dt {
  width: 12em;
  display: flex;
  align-items: center;
  justify-content: center;
}
#mailform form > dl > dd {  
  width: calc(100% - 12em);
}

#mailform dl.zip {
  display: flex;
  align-items: center;
  margin-bottom: 0.5em;
}
#mailform dl.zip input {margin-left: 5px;}
#mailform #hantei {
  padding-left: 0.5em;
  color: #cc0000;
  font-weight: bold;
}

#mailform .tyuui {
  display: block;
  color:#980002;
  font-size: 1rem;
  margin-bottom: 0.5em;
}
#mailform .tyuui a {
  color:#980002;
  text-decoration: underline;
  font-weight: bold;
  font-size: 1rem;
}


#mailform .privacy_box{
  background: #f0f0f0;
  border-radius: 0.5em;
  padding: 1em 1.5em;
  margin: 1em 0;
}
#mailform .privacy_box p {text-align:center;}
#mailform .privacy_box label {justify-content: center}
#mailform .privacy_box a {
  font-weight:bold;
  text-decoration: underline;
  color:blue;
}

#mailform .privacy_box .iframe {
  width: 100%;
  border: solid 1px #999;
  background: #FFFFFF;
  height: 10em;
  padding: 0.5em;
  margin: 0;
}



/*********スマホサイズ 幅430未満の時*********/
@media screen and (max-width: 430px) {
  #mailform form > dl {flex-direction: column}
  #mailform form > dl > dt,#mailform form > dl > dd {width: 100%}
  #mailform form > dl > dt {
    font-weight: bold;
    padding-bottom: 0;
  }
}





/*　ここからフォームアイテム
**************************************************/
#mailform label {
  display: flex;
  align-items: center;
  line-height: 2;
}
#mailform label input[type="checkbox"] {
	width:			16px;
	height:			16px;
	-moz-transform:		scale(1.1);
	-webkit-transform:	scale(1.1);
	transform:		scale(1.1);
  margin-right: 5px;
}
#mailform label input[type="radio"],
#mailform label input[type="checkbox"] {
  box-shadow: none;
  border: 5px solid #ccc;
}

#mailform input[type="text"] {
  border: solid 1px #999;
  background: #FFF;
  padding: 0.5em;
  width: 100%;
}

#mailform textarea {
  border: solid 1px #999;
  width: 100%;
  height: 120px;
  background: #FFF;
  resize: vertical;
  padding: 0.5em;
  margin-top: 0.5em;
}

#mailform input[type="text"]:focus,
#mailform textarea:focus {
  background: #D8FEFF;
}


#mailform input[id="郵便番号"] {width: 6em}




input[type=submit],input[type=button] {
  font-family: inherit;
  background: none;
  border-radius: 8px;
  border: none;
  color: #fff;
  cursor: pointer;
  display: block;
  width: 8em;
  font-size: 1.25em;
  text-align: center;
  padding: 0.75em 0;
  margin: 0 auto;
}
input[type=submit] { background-color:#5d3fff; }
input[type=button] { background-color:#888888; }
input[type=submit]:hover {
  opacity: 0.5;
}




/*
**********************************************/
#confirmation .confirmation {
  color: #FF0000;
  margin:0 0 1em;
  text-align: center;
}
#confirmation form > dl {
  display: flex;
  align-items: center;
  border-bottom: dotted 1px #666;
}
#confirmation form > dl:first-of-type {border-top: dotted 1px #666;}
#confirmation form > dl dt {
  width: 15em;
}
#confirmation form > dl dt,
#confirmation form > dl dd {padding: 0.5em}

#confirmation .err {color: #FF0000;}
#confirmation .submit_area {
  display: flex;
  justify-content: space-around;
  margin: 2em 0 1em;
}
#confirmation.send p {margin-bottom: 1em; line-height: 1.7}
/*********スマホサイズ 幅430未満の時*********/
@media screen and (max-width: 430px) {
  #confirmation form > dl {flex-direction: column}
  #confirmation form > dl dt,
  #confirmation form > dl dd {width: 100%;}
  #confirmation form > dl dt {
    font-weight: bold;
    padding-bottom: 0;
    text-align: center;
  }
  #confirmation form > dl p {text-align: center}
}
