/* destyle.css for Forms */
/* ============================================ */

/**
 * Reset form fields to make them styleable.
 * 1. Make form elements stylable across systems iOS especially.
 * 2. Inherit text-transform from parent.
 */

button,
input,
optgroup,
select,
textarea {
  -webkit-appearance: none; /* 1 */
  appearance: none;
  vertical-align: middle;
  color: inherit;
  font: inherit;
  background: transparent;
  padding: 0;
  margin: 0;
  border-radius: 0;
  text-align: inherit;
  text-transform: inherit; /* 2 */
}

/**
  * Correct cursors for clickable elements.
  */

button,
[type="button"],
[type="reset"],
[type="submit"] {
  cursor: pointer;
}

button:disabled,
[type="button"]:disabled,
[type="reset"]:disabled,
[type="submit"]:disabled {
  cursor: default;
}

/**
  * Improve outlines for Firefox and unify style with input elements & buttons.
  */

:-moz-focusring {
  outline: auto;
}

select:disabled {
  opacity: inherit;
}

/**
  * Remove padding
  */

option {
  padding: 0;
}

/**
  * Reset to invisible
  */

fieldset {
  margin: 0;
  padding: 0;
  min-width: 0;
}

legend {
  padding: 0;
}

/**
  * Add the correct vertical alignment in Chrome, Firefox, and Opera.
  */

progress {
  vertical-align: baseline;
}

/**
  * Remove the default vertical scrollbar in IE 10+.
  */

textarea {
  overflow: auto;
}

/**
  * Correct the cursor style of increment and decrement buttons in Chrome.
  */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
  * Correct the outline style in Safari.
  */

[type="search"] {
  outline-offset: -2px; /* 1 */
}

/**
  * Remove the inner padding in Chrome and Safari on macOS.
  */

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
  * 1. Correct the inability to style clickable types in iOS and Safari.
  * 2. Fix font inheritance.
  */

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/**
  * Fix appearance for Firefox
  */
[type="number"] {
  -moz-appearance: textfield;
}

/**
  * Clickable labels
  */

label[for] {
  cursor: pointer;
}
/* base */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
*:last-child {
  margin-bottom: 0;
}
video,
img {
  width: 100%;
  height: auto;
  vertical-align: top;
}
input[type="text"],
input[type="email"],
textarea {
  width: 100%;
}
html {
  font-size: 3.125vw;
}
body {
  font-size: 1.2rem;
  line-height: 1.8;
  font-family: "FP-こぶりなゴシック StdN W3";
}
h2 {
  font-family: "FP-こぶりなゴシック StdN W6";
  font-size: 1.5em;
  margin-bottom: 1em;
  line-height: 1.5;
}
/************************* form *************************/
/* フォーム全体のスタイル */
.wpcf7-form {
  font-size: 1.2em;
}

/* ラベルのスタイル */
.wpcf7-form p label {
  display: block;
}

/* 入力フィールドのスタイル */
[type="text"],
[type="email"],
[type="tel"],
textarea,
select {
  background-color: #fff;
  width: 100%;
  border: solid 0.1rem rgba(255, 255, 255, 1);
  padding: 0.2em 0.7em;
  border-radius: 0.35em;
}
.post {
  width: 50%;
}
.post-result [type="text"] {
  border-color: transparent;
}
/* 入力フィールドの項目名 */
.form_ttl {
  font-size: 0.85em;
  margin-bottom: 0.3em;
}

/* ラジオボタン,チェックボックス共通 */
[type="checkbox"],
[type="radio"] {
  opacity: 0;
  visibility: hidden;
  position: absolute;
}
.wpcf7-list-item-label {
  position: relative;
  cursor: pointer;
  display: flex;
  align-items: center;
  line-height: 1.5;
}
.wpcf7-list-item-label::before,
.wpcf7-list-item-label::after {
  content: "";
  display: block;
}
.wpcf7-list-item-label::before {
  width: 2.3rem;
  height: 2.3rem;
  border: solid 0.1rem #e5a136;
  background-color: #fff;
  margin-right: 0.7em;
  flex-shrink: 0;
}
.wpcf7-list-item-label::after {
  display: none;
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
}
[type="checkbox"]:checked + .wpcf7-list-item-label::after,
[type="radio"]:checked + .wpcf7-list-item-label::after {
  display: block; /*ラジオボタンがチェックされたとき表示*/
}
/* ラジオボタン */
.wpcf7-radio .wpcf7-list-item-label::before,
.wpcf7-radio .wpcf7-list-item-label::after {
  border-radius: 50%;
}
.wpcf7-radio .wpcf7-list-item-label::after {
  width: calc(2.3rem * 0.65);
  height: calc(2.3rem * 0.65);
  left: calc(2.3rem / 2);
  transform: translateX(-50%);
  background-color: #e5a136;
}
/* チェックボックス */
.wpcf7-acceptance .wpcf7-list-item-label::before,
.wpcf7-checkbox .wpcf7-list-item-label::before {
  border-radius: 0.5rem;
}
.wpcf7-acceptance .wpcf7-list-item-label::after,
.wpcf7-checkbox .wpcf7-list-item-label::after {
  width: calc(2.3rem / 4);
  height: calc(2.3rem / 2);
  border: solid 0.2rem #e5a136;
  border-left: transparent;
  border-top: transparent;
  transform: translate(-50%, -15%) rotate(50deg);
  left: calc(2.3rem / 2);
}
.wpcf7-acceptance .wpcf7-list-item {
  margin-left: 0;
}
.wpcf7-acceptance a {
  text-decoration: underline;
}
/* セレクトボックス */
.select .wpcf7-form-control-wrap {
  display: block;
  position: relative;
}
.select .wpcf7-form-control-wrap::after {
  content: "";
  border-right: 0.7em solid transparent;
  border-left: 0.7em solid transparent;
  border-top: 0.7em solid #e5a136;
  border-bottom: 0;
  position: absolute;
  top: 1.1em;
  right: 1.1em;
  pointer-events: none;
}

/* 送信ボタンのスタイル */
.wpcf7-form input[type="submit"] {
}

.wpcf7-form input[type="submit"]:hover {
}

/* conditional fields */
.wpcf7cf_multistep .wpcf7cf_steps-dots {
  display: none; /* ステップ表示を使用しない */
}
.wpcf7cf_step_controls {
  position: relative;
  flex-direction: column-reverse;
}
.wpcf7-spinner {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  margin: auto;
}

/* button */
.wpcf7cf_step_controls {
  margin-top: 1.7em;
}
.wpcf7cf_prev-container,
.wpcf7cf_next-container {
  display: block;
  width: 100%;
}
.wpcf7cf_prev-container {
  margin-top: 1rem;
}
[data-current_step="1"] .wpcf7cf_prev-container {
  display: none;
}

.wpcf7cf_prev,
.wpcf7-submit,
.wpcf7cf_next {
  border: 0;

  display: block;
  width: 100%;
  height: 2.6em;
  margin: 0 auto;

  background-color: #000;
  color: #fff;
  text-align: center;

  font-size: 0.85em;
}

/* 確認画面 */
.wpcf7cf-summary {
  line-height: 1.5;
}
.wpcf7cf-summary dl > div {
  margin-bottom: 1em;
}
.wpcf7cf-summary dt {
  letter-spacing: 0;
  font-size: 0.8em;
  margin-bottom: 0.3em;
}

/* 2列の項目 */
.form_item_flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.form_item_flex .form_ttl {
  display: inline-block;
  width: 100%;
}
.form_item_flex label {
  display: block;
  width: 48.5%;
}

/* 必須,任意 */
.hissu,
.any {
  font-size: 0.85em;
  display: inline-block;
  margin-left: 0.5em;
}
.hissu {
  color: #ff0000;
}
.hissu::before {
  content: "※";
}
.any {
  color: #808080;
}
/* プレースホルダー */
::placeholder {
  color: #d8d8d8;
}

/* インテグレーション */
.wpcf7-form .wpcf7-not-valid-tip {
  color: #ff0000;
  font-size: 0.8em;
  margin: 0.2em 0 -1em;
}
/* form - サイト独自 */
.wpcf7-form p {
  font-size: 1em;
  margin-bottom: 1.1em;
}
.wpcf7-form p:last-child {
  margin-bottom: 0;
}
.wpcf7cf_next::after {
  content: "▶︎";
  display: inline-block;
  margin-left: 0.7em;
  margin-right: -1.35em;
}
/* recapctha */
.grecaptcha-badge {
  visibility: hidden;
}
.recaptcha-message {
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: 0;
  padding: 0.5em 1em;
  color: #aaa;
}
.recaptcha-message a {
  text-decoration: underline;
  color: #aaa;
}

.pdf .ttl,
.pdf_btn a {
  font-family: "FP-こぶりなゴシック StdN W6";
}

.pdf {
  margin: 0 auto;
  background-color: #079ef0;
  color: #fff;
  padding: 15% 0;
}
.pdf .inner {
  width: 87.5%;
  margin: 0 auto;
}
.pdf .ttl {
  font-size: 1.5em;
  margin-bottom: 0.7em;
  line-height: 1.6;
  text-align: center;
}
.pdf .desc {
  margin-bottom: 1.5em;
}
.pdf_btn {
  font-size: 1em;
}

.pdf_btn a {
  text-decoration: none;
  display: block;
  height: 2.6em;
  line-height: 2.6em;
  text-align: center;
  position: relative;
  background-color: #fff;
  color: #000;
  text-align: center;
}
.pdf_btn a::after {
  content: "▶︎";
  display: inline-block;
  margin-left: 0.7em;
  margin-right: -1.35em;
}
