/*
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;
}
@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!important;
  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:100%;
  margin:0 auto;
  position:relative;
  padding-bottom:30px;
}
@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_title_description {
  margin-bottom:20px;
}


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

/* 郵便番号入力欄のplaceholderのフォントサイズを変更 */
#zip::placeholder {
    font-size: 13px;
}

.wpcf7-not-valid-tip {
  font-size:12px!important;
}
.telnum {
  display:flex;
  align-items:center;
  padding: 10px 0;
}
.telnumbox {
  width:calc((100% - 40px)/3)
}
.telnum_hyphen {
  width:20px;
  text-align: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;
}




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


.madoguchi {
  margin-bottom: 20px;
}

.copy {
  padding-bottom: 50px;
}

footer {
  background:black;
  color:white;
  padding:30px 0;
  text-align:center;
}

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

.confirim-text {
  text-align:center;
  font-weight:bold;
  margin-bottom: 20px;
}


/*確認画面に進むボタン*/
#to-confirm-btn {
  background: #007bff;
  color: white;
  border: none;
  padding: 12px 32px;
  font-size: 1.5rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  width:170px;
  margin:0 auto;
  display:block
}

#to-confirm-btn:hover {
  background: #0056b3;
  transform: translateY(-2px);
}
#to-confirm-btn:active {
  transform: translateY(0);
}


#submit_or_previous {
  display:flex;
  gap:20px;
  justify-content: center;
  position: relative;
}

/*入力画面に戻るボタン*/
#to-input-btn {
  background: #5a5a5a;
  color: white;
  border: none;
  padding: 12px 32px;
  font-size: 1.5rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  width:170px;
  display:block
}

#to-input-btn:hover {
  background: #2c2c2c;
  transform: translateY(-2px);
}
#to-input-btn:active {
  transform: translateY(0);
}


/*送信するボタン*/
.wpcf7-submit {
  background: #007bff;
  color: white;
  border: none;
  padding: 12px 32px;
  font-size: 1.5rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  width:170px!important;
  display:block
}

/* スピナーをボタンの下に「宙に浮かせて」配置する */
.wpcf7-spinner {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%); 
  
  /* ▼ ここを変更！左右の余白を0にして、上だけ10px空ける */
  margin: 10px 0 0 0 !important; 

  width: 24px !important;
  height: 24px !important;
  display: block !important;
}
.wpcf7-submit:hover {
  background: #0056b3;
  transform: translateY(-2px);
}
.wpcf7-submit:active {
  transform: translateY(0);
}




#cf7-input-step,
#cf7-confirm-step {
  padding-bottom:30px;
}

/* Turnstile */
.cf7-cf-turnstile,
.cf-turnstile {
 width: 100%;
 display:flex;
 justify-content:center;
}

.cf7-cf-turnstile {
 margin-bottom:20px!important;
}
