@charset "utf-8";

/* ===========================
   共通：フォームの外枠/見出し
   =========================== */
div#mainImage {
  padding: 0 0 20px 0;
  background: url(../../images/index/mainBack.png) center 50px no-repeat;
  text-align: center;
}
div#contact h2 { margin: 0; padding: 0; }
div#contact h3 {
  margin: 0 auto 24px auto;
  padding: 0 0 0 22px;
  width: 838px;
  height: 52px;
  background: url(../../images/common/h3.gif) repeat-y;
  color: #53381e;
  font-size: 150%;
  line-height: 52px;
}
div#contact p#introduction {
  margin: 0 auto 30px auto;
  padding: 15px 20px;
  width: 816px;
  border: solid 2px #e2d5be;
  background: #fcfaf7;
}
div#contact p#introduction strong { display: block; }

/* ===========================
   フォーム本体（wpcf7/alpha両方）
   =========================== */
.wpcf7, #alpha {
  font-family: inherit;
  font-size: inherit;
  margin: 0 auto 30px auto;
  max-width: 900px;
  background: none;
  padding: 0;
}

.wpcf7-form table, #alpha table {
  margin: 0 auto;
  width: 820px;
  border-top: solid 2px #e1d3bb;
  border-bottom: solid 2px #e1d3bb;
  border-collapse: collapse;
  background: transparent;
}
.wpcf7-form th, #alpha table th {
  padding: 15px 20px;
  border-bottom: dotted 1px #999;
  background: #fcfaf7;
  text-align: left;
  white-space: nowrap;
}
.wpcf7-form th .required, #alpha table th .required {
  padding-right: 40px;
  background: url(../images/iconRequired.png) right center no-repeat;
  font-size: 120%;
}
.wpcf7-form th .note, #alpha table th .note {
  font-size: 90%;
  font-weight: 400;
  display: block;
}
.wpcf7-form td, #alpha table td {
  padding: 10px 30px;
  width: 100%;
  border-bottom: dotted 1px #999;
  background: transparent;
}
.wpcf7-form td label, #alpha table td label {
  margin: 0 1em 0 0;
  font-weight: 700;
}

/* インプット幅等 */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea,
.wpcf7-form select,
#alpha input[type="text"],
#alpha input[type="email"],
#alpha input[type="tel"],
#alpha textarea,
#alpha select {
  padding: 5px;
  font-size: 100%;
  border: 1px solid #ccc;
  border-radius: 2px;
  width: 60%;
  max-width: 480px;
  box-sizing: border-box;
}

/* 必要に応じて個別幅を調整 */
.wpcf7-form input#contactMail, #alpha input#contactMail { width: 80%; }
.wpcf7-form input#contactZip, #alpha input#contactZip { width: 8em; }
.wpcf7-form input#contactAddress01,
.wpcf7-form input#contactAddress02,
#alpha input#contactAddress01,
#alpha input#contactAddress02 { width: 80%; }
.wpcf7-form textarea, #alpha textarea {
  width: 90%;
  min-height: 10em;
}

/* 補足・注意書き */
.wpcf7-form .note, #alpha .note {
  font-size: 90%;
  display: block;
  color: #7b6643;
}

/* 送信ボタン */
.wpcf7-form input[type="submit"],
#alpha input[type="submit"] {
  background: #006C02;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 110%;
  padding: 20px 30px;
  margin: 20px 0 10px 0;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0,0,0,0.04);
  transition: background 0.2s;
	width: 500px;
}
.wpcf7-form input[type="submit"]:hover,
#alpha input[type="submit"]:hover {
  background: #a37936;
}

/* fieldset/legend 完全リセット（不要な枠＆タイトル消し） */
.wpcf7-form fieldset {
  border: none !important;
  margin: 0 !important;
  padding: 0 !important;
  min-width: 0 !important;
  display: contents !important;
}
.wpcf7-form fieldset legend {
  display: none !important;
}

/* エラーメッセージの例（ContactForm7用） */
span.wpcf7-not-valid-tip,
.wpcf7-form .wpcf7-response-output {
  color: #f00;
  background: none;
  border: none;
  font-size: 90%;
  padding: 3px 0 0 0;
  display: block;
}

div#formButton {
    width: 20%;
    justify-content: center;
    margin: 0 auto;
    display: flex;
}

/* ===========================
   レスポンシブ対応
   =========================== */
@media screen and (max-width: 767px) {
  div#contact h3 { width: 95%; font-size: 1.2em; }
  div#contact p#introduction { width: 85%; }
  .wpcf7, #alpha { max-width: 90vw; width: 90vw; }
  .wpcf7-form table, #alpha table { width: 90vw; }
  .wpcf7-form th, #alpha table th,
  .wpcf7-form td, #alpha table td {
    display: block;
    width: 85vw;
    padding: 8px 10px;
    font-size: 1em;
  }
  .wpcf7-form input,
  .wpcf7-form textarea,
  .wpcf7-form select,
  #alpha input,
  #alpha textarea,
  #alpha select {
    width: 85vw;
    max-width: 85vw;
  }
	
	div#mainImage img {
  padding: 0;
  background: url(../../images/index/mainBack.png) center 50px no-repeat;
  text-align: center;
		width: 100%;
}
		div#mainImage{
    width: 100%;
    max-width: 100vw;
    text-align: center;
    padding: 10px 0;
    box-sizing: border-box;
}
}

