@charset "utf-8";

:root {
  --red-color: #C30D23;
}
:root {
  --check-box-size: 1.5em; /* チェックボックスの大きさ */
}
/* ＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
　▼▼　お問い合わせテーブルレイアウト　▼▼
＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝ */
.contact_table {
  margin: auto;
  width: 100%;
}

.contact_table th,
.contact_table td {
  text-align: left;
  vertical-align: top;
  position: relative;
  font-weight: normal;
  display: block;
  padding: 0.5em 0;
}
.contact_table th {
  font-weight: bold;
}

.contact_table th > p,
.contact_table td > p {
  min-height: calc(1.8em + 2px);
}

/* ＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
　▼▼　form　▼▼
＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝ */
input,
optgroup,
select,
textarea,
.confirm_txt {
  border: 1px solid #E5E5E5;
  background: #F8F8F8;
  padding: 1em;
  width: 100%;
  resize: none;
  /* line-height: initial; */
  /* border-radius: 0.5em; */
}
.confirm_txt {
  background: none;
  border: none;
}
.required_label {
  width: 100%;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
}

.required_txt {
  background: var(--red-color);
  color: #fff;
  font-size: 80%;
  padding: 0 0.5em;
  border-radius: 0.2em;
  display: inline-block;
  margin-left: 0.5em;
  margin-right: 0.5em;
  line-height: 1.5;
}

.error {
  color: var(--red-color);
}

.g-recaptcha {
  margin: 5rem auto;
  width: auto;
  display: table;
}
input#tel,
p#tel {
  max-width: 12em;
}
input#post_code,
p#post_code {
  max-width: 8em;
  display: inline-block;
  margin-left: 0.5em;
}
input#post_code + br + input#home_address,
p.confirm_txt + p.confirm_txt {
  margin-top: 1rem;
}

/* ＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
　▼▼　ラジオボタン　▼▼
＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝ */
.radio_list01 {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 1em 2em;
}

.radio_list01 label {
  display: flex;
  align-items: center;
}

input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 1em;
  height: 1em;
  border: 2px solid #999;
  border-radius: 50%;
  margin-right: .5em;
  position: relative;
  cursor: pointer;
  transition: border-color 0.2s ease;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

input[type="radio"]:checked::before {
  content: '';
  width: .5em;
  height: .5em;
  background-color: #333;
  border-radius: 50%;
}

input[type="radio"]:hover {
  border-color: #666;
}

.radio_list01 label {
  cursor: pointer;
  user-select: none;
}

/* ＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
　▼▼　チェックボックス　▼▼
＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝ */
input[type=checkbox] {
  display: none;
}
label.checkbox01 {
  box-sizing: border-box;
  cursor: pointer;
  display: inline-block;
  padding: 0 0 0 calc(var(--check-box-size) + 0.5em);
  position: relative;
  width: auto;
}
label.checkbox01::before {
  background: #fff;
  border: 2px solid #333;
  content: '';
  display: block;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  position: absolute;
  width: var(--check-box-size);
  height: var(--check-box-size);
}
label.checkbox01::after {
  border-right: calc(var(--check-box-size) / 5) solid var(--red-color);
  border-bottom: calc(var(--check-box-size) / 5) solid var(--red-color);
  content: '';
  display: block;
  width: calc((var(--check-box-size) / 5) * 2);
  height: calc((var(--check-box-size) / 3) * 2);
  top: calc((var(--check-box-size) / 5) * 1.5);
  left: calc((var(--check-box-size) / 5) * 1.5);
  opacity: 0;
  position: absolute;
  transform: rotate(45deg);
}
input[type=checkbox]:checked + label.checkbox01::after {
  opacity: 1;
}

/* ＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
　▼▼　進捗グラフ　▼▼
＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝ */
:root {
  --contact_step-line_height: 1em; /* line-height */
  --contact_step-padding: 1em; /* 余白 */
  --contact_step-border_size: 0.5em; /* 矢印のサイズ */
}
/* ul.contact_step */
ul.contact_step {
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  gap: 0;
  text-align: center;
  overflow: hidden;
}
ul.contact_step > li {
  background: #F6D4D7;
  color: var(--red-color);
  padding: var(--contact_step-padding);
  position: relative;
  line-height: var(--contact_step-line_height);
  flex: 1;
}
ul.contact_step > li:first-child {
  flex: inherit;
  width: calc((100% / 3) - ((var(--contact_step-line_height) + (var(--contact_step-padding) * 2)) / 2));
}
ul.contact_step > li:last-child {
  flex: inherit;
  width: calc((100% / 3) + ((var(--contact_step-line_height) + (var(--contact_step-padding) * 2)) / 2));
}
ul.contact_step > li:not(:first-child) {
  padding-left: calc(var(--contact_step-line_height) + (var(--contact_step-padding) * 2));
}
ul.contact_step > li:not(:first-child):before,
ul.contact_step > li:not(:first-child):after {
  content: "";
  width: calc((var(--contact_step-line_height) + (var(--contact_step-padding) * 2) - (var(--contact_step-border_size) * 2)) * 1.063);
  height: calc((var(--contact_step-line_height) + (var(--contact_step-padding) * 2) - (var(--contact_step-border_size) * 2)) * 1.063);
  display: table;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(-50%, -50%) rotate(45deg);
  pointer-events: none;
  box-sizing: content-box;
}
ul.contact_step > li:not(:first-child):before {
  background: #F6D4D7;
}
ul.contact_step > li:not(:first-child):after {
  border: var(--contact_step-border_size) solid transparent;
  border-top-color: #FBF8F3;/* 矢印色指定 */
  border-right-color: #FBF8F3;/* 矢印色指定 */
}
ul.contact_step > li.on {
  background: var(--red-color);
  color: #fff;
}
ul.contact_step > li.on + li:before {
  background: var(--red-color);
}
ul.contact_step > li > p {
  position: relative;
  z-index: 1;
}
/* ▲ ul.contact_step ▲ */


/* ＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
　▼▼　確認ボタン　▼▼
＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝ */
.submit_btn {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 1em;
  margin: 5rem auto;
  text-align: center;
}
.submit_btn > * {
  flex: 1;
  max-width: 50%;
}

input[type="button"],
[type="submit"],
.submit_btn > * a {
  width: 100%;
  padding: 1em;
  text-align: center;
  vertical-align: middle;
  display: block;
  border: 1px solid;
  background: var(--red-color);
  color: #fff;
  cursor: pointer;
  transition: 1s all;
}
input[type="button"],
.back_btn {
  background: #fff;
  color: var(--red-color);
}
input[type="button"]:hover,
[type="submit"]:hover,
.submit_btn > * a:hover {
  opacity: 0.7;
}