/*
Theme Name: 量産型問い合わせフォーム
Description: 量産型問い合わせフォーム
*/

@charset "utf-8";



/*box-sizingを全ブラウザに対応*/
*, *::before, *::after {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-o-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
	padding: 0;
	margin: 0;
}
a, button {
	cursor: revert;
}
a {
	vertical-align: baseline;
	background: transparent;
	text-decoration: none;
}
button {
	background-color: transparent;
	border: none;
	cursor: pointer;
	outline: none;
	padding: 0;
	appearance: none;
}
ol, ul, menu {
	list-style: none
}
img {
	max-width: 100%;
	vertical-align: bottom!important;
	font-size: 0;
	line-height: 0;
	image-rendering: -webkit-optimize-contrast;
}
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	vertical-align: baseline;
  text-align:justify;
  font-size:1.4rem;
}
@media (min-width: 769px) {
  html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
    font-size:1.5rem;
  }
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
	display: block;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after, q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

html {
	height: -webkit-fill-available;
  font-size: 62.5%;
}
body {
	font-family: "Noto Sans JP", "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
	font-size: 1.4rem;
  line-height: 1.5;
  height: 100%;
}
@media (min-width: 769px) {
  body {
    font-size: 1.5rem;
  }
}

/*link*/
a:link { /* リンク */
  color:#0085c2;
	text-decoration: none;
}
a:visited { /* 既に見たリンク */
  color:#0085c2;
	text-decoration: none
}
a:hover { /* クリック時のリンク */
  color:#e03a96;
	text-decoration: none
}
a:active { /* カーソルが上にある時のリンク */
  color:#0085c2;
	text-decoration: none
}

button:hover {
  cursor: pointer;
}



/*レスポンシブ改行*/
.pc_area {
	display: none !important;
}
.sp_area {
	display: block !important;
}
 @media (min-width: 769px) {
.pc_area {
	display: block !important;
}
.sp_area {
	display: none !important;
}
}

/*メイン幅*/
.main{
	width: 100%;
	margin: 0 auto;
	padding: 3em 0 4em 0;
	word-break: break-all;
}
.form_wrap input,
.form_wrap textarea {
  width:100%;
  font-size:16px;
  padding:10px;
}


.wpcf7-checkbox {
  display:flex;
  gap:10px;
  flex-direction:column;
}

.wpcf7-checkbox .wpcf7-list-item {
  display:block;
  margin:0;
  width:100%;
}
.wpcf7-checkbox .wpcf7-list-item label {
  display:flex;
  gap:10px;
}
.wpcf7-checkbox .wpcf7-list-item label input {
  width:25px;
}

.wpcf7-select {
  padding:10px;
}

.index,
.form_wrap {
  /*width:90%;*/
  margin:0 auto;
  position:relative;
  height:100%;
}
@media (min-width: 769px) {
  .index,
  .form_wrap {
    /*width:750px;*/
    margin:0 auto;
  }
}
.top_text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  text-align:center;
}
.form_title {
  text-align:center;
  margin-top:20px;
  margin-bottom:20px;
  font-weight:900;
  font-size:2.0rem;
}
@media (min-width: 769px) {
  .form_title {
    font-size:2.0rem;
  }
}

.form-flex {
  display:block;
  margin-bottom:20px;
  /*padding:10px 20px;*/
  background:#FFF;
  /*border-radius:10px;
  border:1px solid gray;*/
}
@media (min-width: 769px) {
  .form-flex {
    display:flex;
    gap:50px;
    align-items:center;
    margin-bottom:20px;
    /*padding:10px 20px;*/
  }
}

.form-h {
  font-weight:bold;
  width:100%;
  position:relative;
}
.form-right {
  width:100%;
}

@media (min-width: 769px) {
  .form-h {
    font-weight:bold;
    width:180px;
    position:relative;
  }
  .form-right {
    width:calc(100% - 50px - 180px);
  }
  
}
.form-h-p {
  font-weight:bold;
  display:inline-block;
  position:relative;
}


.form-p {
  display:block;
  font-weight:bold;
  padding:10px 0;
  word-wrap: break-word;
  margin-bottom:10px;
}
@media (min-width: 769px) {
.form-p {
  padding:0;
}
}
.form-p-p {
  margin-bottom:10px;
  position:relative;
}

.required:after {
  content:"必須";
  display:inline-block;
  padding:3px 5px;
  text-align:center;
  color:#FFF;
  border-radius:3px;
  background:#d43115;
  position:absolute;
  right:-40px;
  font-size:1.0rem;
}

.any:after {
  content:"任意";
  display:inline-block;
  padding:3px 5px;
  text-align:center;
  color:#FFF;
  border-radius:3px;
  background:#42403f;
  position:absolute;
  right:-40px;
  font-size:1.0rem;
}



.m-text {
  width:100%;
}
.s-text {
  width:30%!important;
  padding:10px;
}

.telnum {
  display:flex;
  gap:20px;
  align-items:center;
}

#autozip {
  display:none!important;
}

.wpcf7-radio {
  display:flex;
  align-items:center;
}
.wpcf7-radio .wpcf7-list-item {
 width:calc(100% / 3);
 margin:0;
}
.wpcf7-radio label {
  display:flex;
  gap:10px;
  align-items:center;
}
.wpcf7-radio label input {
  width:25px;
}

#zip {
  width:100px!important;
}
input::placeholder {
  font-size: 13px;
}
/*ファイルアップロード専用*/

.codedropz-upload-handler {
  border:initial;
  border-radius:initial;
  margin-bottom:initial;
  position:initial;
}
.codedropz-upload-container {
  padding:initial;
}
.codedropz-upload-container .codedropz-upload-inner > div:first-child {
  display: none;
}
.codedropz-upload-inner > span {
  display:none;
}
.dnd-upload-counter {
  display:none;
}
.codedropz-upload-inner .codedropz-btn-wrap a.cd-upload-btn {
  background:#7a7369;
  color:#FFF;
  text-align:center;
  padding:3px 5px;
  border-radius:5px;
  display:inline-block;
}
/*input[type="submit"] {
  display: block;
  width: 100%;
  border-radius: 5px;
  padding: 10px 20px;
  font-size:1.7rem;
  font-weight:600;
  border:1px solid #000;
  background:#FFF;
}
  */


.confirm:hover {
  background:#7a7369;
  color:#FFF;
}
.confirm_button {
  width:200px;
  text-align:center;
  margin:30px auto;
}

.end_flex {
  display:flex;
  gap:50px;
  justify-content: center;
}
@media (min-width: 769px) {
  .end_flex {
    width:300px;
    margin:0 auto;
  }
}
.end_flex div {
  width:calc((100% - 50px)/2);
}

.end_flex div input {
  background:#FFF;
  border-radius:5px;
  text-align:center;
  color:#000;
}

.wpcf7-response-output {
  background:#d43115;
  border-color:#d43115!important;
  color:#FFF;
}

.confirm_before_text {
  text-align:center;
  margin-bottom:20px;
}

.craft_wrap {
  display:block;
  margin-bottom:20px;
  padding:10px 20px;
  background:#FFF;
  border-radius:10px;
  border:1px solid gray; 
}
.craft-h {
  padding:10px 20px;
  font-weight:600;
  background:#b1b1a9;
  color:#000;
  text-align:center;
  border-radius:50px;
}

.craft-p {
  padding:15px;
}

.craft-ul li {
  text-indent: -1em;
  padding-left: 1em;
}

.requirements {
  font-size:2.0rem;
  text-align:center;
  color:#db542b;
  font-weight:900;
  padding:20px 0;
}

.end {
  text-align:left;
	margin-bottom:30px;
}
@media (min-width: 769px) {
.end {
  text-align:center;
}
}

.end_info {
  margin-bottom:50px;
}