/*
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;
}
.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;
}



/*ファイルアップロード専用*/

.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;
}

/*20250826追加*/

.form-wrap {
    max-width: 1100px;
    text-align: center;
    margin: 0 auto;
}

.form-wrap h1{
  text-align: center;
  font-size: 3rem;
}

.form-imgtop {
    max-width: 300px;
    height: auto;
    margin-top: 50px;
}

.title-text {
  text-align: center;
  margin-top: 50px;
}

.bold {
  text-align: center;
  margin: 30px 0;
  font-weight: 700;
}

.form-news {
    margin-top: 50px;
    text-align: center;
}

.form-news p{
  text-align: center;
}

.domain {
  margin: 30px;
}

.form-apply {
    max-width: 800px;
    margin: 0 auto;
    margin-top: 50px;
}

.form-ul {
    text-align: left;
    list-style: disc;
    padding-left: 3em; 
    margin: 0 0 1em; 
}


.form-footer {
    margin-top: 50px;
  }

  .form-footer p,
  .form-footer a{
    text-align: center;
  }

  .form-footer a{
    margin-bottom: 20px;
  }
  
  @media (max-width: 768px) {
    body {
        max-width: 100%;
        width: auto;
        padding: 3%;
    }

    .domain {
        margin: 50px 0;
    }
    .form-img {
        max-width: 100%;
        height: auto;
    }

    .form-news,.title-text,.form-footer {
        text-align: left;
    }

    .bold,.domain {
        text-align: center;
    }
}

/* cf7 */

.form-row {
  display: flex;
  margin-bottom: 20px;
  align-items: flex-start;
  flex-wrap: wrap;
  width: 100%;
  justify-content: center;
}

.form-label {
  width: 35%;
  text-align: left;
  padding-top: 6px;
  font-weight: bold;
}

.form-field {
  width: 60%;
}

.form-field label {
  display: block;
  margin-bottom: 5px;
}

.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field input[type="date"],
.form-field textarea {
  width: 100%;
  padding: 6px 8px;
  box-sizing: border-box;
  font-size: 16px;
}

.file-input {
  display: block;
  margin-bottom: 10px;
}

.form-notes {
  font-size: 0.9em;
  color: #555;
  margin-bottom: 5px;
  padding-left: 20px;
}

.btn-submit {
  display: inline-block;
  padding: 10px 30px;
  background-color: #f7b731;
  color: #000;
  border: none;
  cursor: pointer;
}

/* ===== レスポンシブ ===== */
@media (max-width: 768px) {
  .form-row {
    flex-direction: column;
  }
  .form-label,
  .form-field {
    width: 100%;
  }
  .form-label {
    margin-bottom: 6px;
  }
}

.cf7-mamakoko ul.form-notes {
  list-style: disc;
  padding-left: 20px;
}

.form-row.full {
  display: block;
  text-align: center;
}

.form-row.full .form-field {
  width: 100%; 
  text-align: center;
  margin-top: 30px;
  padding-left: 70px;
}

.required {
  color: red;
}

.madoguchi {
  margin-bottom: 20px;
}

.copy {
  padding-bottom: 50px;
}

/* .form-wrap .required:after {
  display: none;
} */

.form-row .form-pl {
  padding-left: 7px;
}

.form-w300 .input-text,
.form-w300 .input-date{
  max-width: 300px;
}

.form-row .wpcf7-radio .wpcf7-list-item {
  width: 300px;
  margin: 0;
 }

.form-row .form-label .required:after {
  right: initial;
  position: initial;
  margin-left: 5px;
}

.red {
  color: red;
}

.form-row .form-field .checkbox .wpcf7-list-item-label {
  margin-left: 7px;
}

.form-add {
  margin: 50px 0;
}
.form-row .form-field .wpcf7-checkbox {
  flex-direction: initial;
}


.wpcf7-acceptance span label {
display:flex;
}
.wpcf7-acceptance span label input {
width:initial;
}
.wpcf7-acceptance span label span {
display:block;
margin-left:5px;
width:initial;
}
.form-row.full .form-field {
padding-left:initial;
}
.form_title {
margin-bottom:50px;
}


/*からっと用*/
.radio_vertical {
  display:block!important;
}
.radio_vertical label span {
  display:inline;
}
.check_vertical {
  display:flex!important;
  flex-wrap:wrap;
}
.check_vertical > span {
  width:initial;
}
.check_vertical  label span {
  display:inline;
}
.wpcf7-free-text,
.has-free-text {
  width:100%!important;
}
.mb10 {
  margin-bottom:10px
}
.mb20 {
  margin-bottom:20px
}
.mb30 {
  margin-bottom:30px
}
.mb40 {
  margin-bottom:40px
}
.mb50 {
  margin-bottom:50px
}