@charset "utf-8";

:root {
  --red-color: #C30D23; /* ハンバーガーアイコンサイズ */
}

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

.contact_table input,
.contact_table optgroup,
.contact_table select,
.contact_table textarea,
.contact_table .confirm_txt {
  border: 1px solid #E5E5E5;
  background: #F8F8F8;
  padding: 1em;
  width: 100%;
  resize: none;
  line-height: initial;
  border-radius: 0.5em;
}
.contact_table .confirm_txt {
  background: none;
  border: none;
}
.contact_table .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;
}
ul.errors {
}
.error {
  color: var(--red-color);
}

ul.submit_btn {
  display: flex;
  align-items: top;
  justify-content: center;
  gap: 2rem;
  margin: 5rem auto;
  text-align: center;
  font-size: 2rem;
}
ul.submit_btn > li {
  width: 100%;
  max-width: 60%;
}

ul.submit_btn > li input[type="button"],
ul.submit_btn > li [type="submit"],
ul.submit_btn > li 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;
}
ul.submit_btn > li input[type="button"] {
  background: #fff;
  color: var(--red-color);
}
ul.submit_btn > li input[type="button"]:hover,
ul.submit_btn > li [type="submit"]:hover,
ul.submit_btn > li a:hover {
  opacity: 0.7;
}
.g-recaptcha {
  margin: 5rem auto;
  width: auto;
  display: table;
}
.contact_table input#tel,
.contact_table p#tel {
  max-width: 12em;
}
.contact_table input#post_code,
.contact_table p#post_code {
  max-width: 8em;
  display: inline-block;
  margin-left: 0.5em;
}
.contact_table input#post_code + br + input#home_address,
.contact_table p.confirm_txt + p.confirm_txt {
  margin-top: 1rem;
}
.contact_table ul.radio_list01 {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 1em 4em;
  flex-wrap: wrap;
}
.contact_table ul.radio_list01 > li {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 1em;
}
@media screen and (max-width: 768px) {/* SP用 */
  .contact_table ul.radio_list01 {
    display: block;
  }
  .contact_table ul.radio_list01 > li + li {
    margin-top: 1em;
  }
}
input[type="radio"] {
  display: none;
}
input[type="radio"] + label {
  position: relative;
  padding-left: 2em;
}
input[type="radio"] + label:before,
input[type="radio"]:checked + label:after {
  display: inline-block;
  content: "";
  border-radius: 50vmin;
  border: 1px solid;
  position: absolute;
  left: 0;
  top: calc(50% - 0.5em);
  width: 1em;
  height: 1em;
}
input[type="radio"]:checked + label:after {
  border: none;
  background: var(--red-color);
  transform: scale(0.6);
}
/* チェックボックスデザイン */
input[type=checkbox] {
  display: none;
}
label.checkbox01 {
  box-sizing: border-box;
  cursor: pointer;
  display: inline-block;
  padding: 0 2em 0 3em;
  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: 2em;
  height: 2em;
}
label.checkbox01::after {
  border-right: calc(2em / 5) solid var(--red-color);
  border-bottom: calc(2em / 5) solid var(--red-color);
  content: '';
  display: block;
  height: calc((2em / 3) * 2);
  left: calc(2em / 3);
  margin-top: calc((-2em / 5) * 2);
  opacity: 0;
  position: absolute;
  top: 50%;
  transform: rotate(45deg);
  width: calc((2em / 5) * 2);
}
input[type=checkbox]:checked + label.checkbox01::after {
  opacity: 1;
}

/* ＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
　▼▼　contact_step　▼▼
＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝ */
: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: #D22A37;
  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: #D22A37;
  color: #fff;
}
ul.contact_step > li.on + li:before {
  background: #D22A37;
}
ul.contact_step > li > p {
  position: relative;
  z-index: 1;
}
/* ▲ ul.contact_step ▲ */

