@charset "utf-8";

/* Contact Form 7 共通リセット＋ベーススタイル（53サイト共通） */

/* ===== Reset CSS for form elements ===== */
input,
textarea,
select,
button {
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  color: inherit;
  box-sizing: border-box;
}

/* ===== Base Style ===== */
.wpcf7 {
  max-width: 960px;
  margin: 0 auto;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  line-height: 1.8;
}

.wpcf7-form label {
  display: block;
  /* margin: 1em 0 0.3em;
  font-weight: bold; */
  margin: 0;
}

.wpcf7-form .form-midashi {
  font-size: 1.1rem;
  font-weight: bold;
}

.red {
  color: #e60033;
  font-weight: bold;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="number"],
.wpcf7 textarea,
.wpcf7 select {
  width: 100%;
  padding: 0.6em;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #fff;
  /* font-size: 1rem; */
}

.wpcf7 textarea {
  height: 150px;
  resize: vertical;
}

.wpcf7 input[type="submit"],
.wpcf7 button {
  margin-top: 1.5em;
  padding: 0.5em 3em;
  background-color: #00afcc;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 1.5rem;
  cursor: pointer;
  display: block;
  margin: 1.5em auto;
}

.wpcf7 input[type="submit"]:hover {
  background-color: #00afcc;
  opacity: 0.5;
}

/* ラジオボタン・チェックボックス */
.wpcf7 input[type="radio"],
.wpcf7 input[type="checkbox"] {
  margin-right: 0.5em;
  transform: scale(1.2);
}

.wpcf7 .wpcf7-list-item-label {
  margin-right: 1em;
}

/* エラーメッセージ */
.wpcf7-not-valid-tip {
  color: #e60033;
  font-size: 0.9rem;
  margin-top: 0.2em;
}

.wpcf7-response-output {
  margin-top: 1em;
  padding: 1em;
  border: 1px solid #ccc;
  background-color: #f7f7f7;
  font-size: 0.95rem;
}

/* ===== Responsive ===== */
@media (max-width: 600px) {
  .wpcf7 {
    font-size: 15px;
  }
  .wpcf7 input[type="submit"],
  .wpcf7 button {
    width: 100%;
  }
}



.formFrame.last {
  border-bottom: 0.5px solid #aaa;
}

.wpcf7-list-item {
    display: inline-block;
    margin: 0 0 0 0.25em;
    width: 100%;
}

.formFrame p {
  margin-bottom: 0;
}


#Page-contact .index-top {
  max-width: 960px;
  margin: 0 auto;
}

#Page-contact .red {
  color: #00afcc;
  border-color: #00afcc;
}

input::placeholder,
textarea::placeholder,
text::placeholder,
select::placeholder {
  color: #ccc;
}