@charset "UTF-8";
@font-face {
  font-family: "Avenir";
  src: url("../font/Avenir.woff") format("truetype");
}
:root {
  --color-white:#fff;
  --color-gray:#F5F5F5;
  --color-blue:#00BAB3;
  --color-red:#802E20;
}

:root {
  --color-white:#fff;
  --color-gray:#F5F5F5;
  --color-blue:#00BAB3;
  --color-orange:#de6d1c;
  --font-en: "Italiana", sans-serif;
  --font-gothic: "Zen Kaku Gothic New";
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 初期リセット */
input, textarea {
  margin: 0;
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.form-item,
.select-item {
  margin-bottom: 3rem;
}
.form-item dt,
.select-item dt {
  position: relative;
  display: flex;
  align-items: end;
  font-size: 0.9em;
  margin-bottom: 1rem;
  color: #333333;
  line-height: 1;
}
@media screen and (max-width: 768px) {
  .form-item dt,
  .select-item dt {
    flex-direction: column;
    align-items: start;
    line-height: 1.5;
  }
}

@media screen and (max-width: 768px) {
  .form-item dt {
    padding-right: 0;
  }
}
.form-item dt .small {
  font-size: 0.8em;
}
.form-item dt .need {
  position: absolute;
  right: 0;
  color: var(--color-red);
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #333333;
  background-color: white;
  font-size: 0.9em;
  padding: 0.7rem;
  transition: all 0.3s;
  color: #222222;
}

@media screen and (max-width: 768px) {
  input, select {
    padding: 12px;
  }
  textarea {
    padding: 12px;
    min-height: 150px;
  }
}
.select-item {
  width: 100%;
}
.select-item .dataselect_area .select {
  width: 33%;
  float: left;
}
.select-item .dataselect_area .select.select-1, .select-item .dataselect_area .select.select-2 {
  margin-right: 0.5%;
}

input:focus, select:focus, textarea:focus {
  background-color: rgb(255, 255, 255);
}

input::placeholder, select::placeholder, textarea::placeholder {
  color: dimgray;
}

select.is-empty, select:invalid {
  color: dimgray;
}

.select {
  position: relative;
}
.select::after {
  position: absolute;
  content: "";
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  right: 1.5rem;
  width: 0.7rem;
  height: 0.7rem;
  border-right: 1px solid #333;
  border-bottom: 1px solid #333;
  color: var(--color-navy);
  pointer-events: none;
}

.form__inner {
  width: 100%;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.form-item {
  width: 100%;
}
.form-item.size-full {
  width: 100% !important;
}

@media screen and (max-width: 768px) {
  .form-item {
    width: 100%;
  }
}
input[type=checkbox] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: none;
  border: none;
  margin: 0;
  padding: 0;
  width: 0;
  height: 0;
  position: absolute;
  opacity: 0;
}

.privacy-checkbox label {
  cursor: pointer;
  padding-left: 5rem;
  position: relative;
  font-size: 1.1em;
}
.privacy-checkbox label input {
  border-bottom: none;
  display: contents;
}
.privacy-checkbox label::before, .privacy-checkbox label::after {
  content: "";
  display: block;
  position: absolute;
}
.privacy-checkbox label::before {
  background-color: none;
  border-radius: 0%;
  border: 1px solid #333333;
  width: 3.5rem;
  height: 3.5rem;
  transform: translateY(-50%);
  top: 50%;
  left: 0;
  cursor: pointer;
}
.privacy-checkbox label::after {
  border-bottom: 3px solid var(--color-red);
  border-left: 3px solid var(--color-red);
  opacity: 0;
  height: 1.1rem;
  width: 2rem;
  transform: translateY(-50%) rotate(-45deg);
  top: 40%;
  left: 0.85rem;
  z-index: 1;
}
.privacy-checkbox input:checked + label::after {
  opacity: 1;
}
.privacy-checkbox:first-child {
  margin: 20px 0 30px;
}
.privacy-checkbox.on label::after {
  opacity: 1;
}

.notice-text {
  font-size: 0.9em;
  line-height: 1.7 !important;
}
.notice-text a {
  border-bottom: 1px solid #333;
  transition: all 0.5s;
}
.notice-text a:hover {
  opacity: 0.7;
  border-bottom: 1px solid rgba(0, 0, 0, 0.7);
}

.submitBtn {
  width: 80%;
  max-width: 34rem;
  text-align: center;
  margin-top: 5rem;
}
.submitBtn input {
  cursor: pointer;
  background-color: var(--color-red);
  color: var(--color-white);
  border: none;
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: 0.2rem;
  transition: all 0.5s;
  line-height: 1;
  width: 100%;
  padding: 1.5rem 0;
  border-radius: 0;
}
.submitBtn input:hover {
  opacity: 0.7;
}

.header_emesg {
  margin: 10px 0 30px 0;
  line-height: 1.5;
  font-size: 0.9em;
  color: #802e20;
  font-weight: 500;
}

.prl {
  padding: 10px;
}

.msg {
  display: inline-block;
  line-height: 1;
  font-size: 0.8em;
  color: #802e20;
  font-weight: 500;
  padding-bottom: 2rem;
}

.need {
  display: inline-block;
  font-size: 0.8em;
  margin-left: 0.5px;
}

/*チェックボックスデザイン　リセット */
.checklist-list-block {
  margin-bottom: 3.5rem;
}
.checklist-list-block .checkbox-list {
  display: flex;
  align-items: center;
}
.checklist-list-block .checkbox-list .checkbox label {
  cursor: pointer;
  position: relative;
  padding-left: 4rem;
}
.checklist-list-block .checkbox-list .checkbox label::before, .checklist-list-block .checkbox-list .checkbox label::after {
  content: "";
  position: absolute;
  display: block;
}
.checklist-list-block .checkbox-list .checkbox label::before {
  border: 1px solid #333333;
  width: 3rem;
  height: 3rem;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}
.checklist-list-block .checkbox-list .checkbox label::after {
  border-bottom: 3px solid var(--color-red);
  border-left: 3px solid var(--color-red);
  width: 2rem;
  height: 1.1rem;
  top: 40%;
  left: 0.6rem;
  transform: translateY(-50%) rotate(-45deg);
  opacity: 0;
}
.checklist-list-block .checkbox-list .checkbox label:has(input:checked)::after {
  opacity: 1;
}
.checklist-list-block .checkbox-list .checkbox label input {
  position: absolute;
  opacity: 0;
  inset: 0 0 0 0;
  width: 0;
  height: 0;
}
.checklist-list-block .checkbox-list .checkbox:first-child {
  margin-right: 4rem;
}

/*ラジオボタンを全て消す*/
input[name=tab_item] {
  display: none;
}

.tab_item {
  text-align: center;
  background: #555;
  padding: 10px 0px;
  color: #f2f2f2;
  cursor: pointer;
  width: 24.49%;
  display: inline-block;
  border: 2px solid #f2f2f2;
  font-weight: 500;
}

@media (max-width: 1024px) {
  .tab_item {
    width: 24.44%;
  }
}
@media (max-width: 768px) {
  .tab_item {
    font-size: 0.875px;
    width: 100%;
    display: block;
    margin-bottom: 0.5px;
    text-align: center;
  }
}
/*タブ切り替えの中身のスタイル*/
.tab_content {
  display: none;
  padding: 50px 0 0 0;
  clear: both;
  overflow: hidden;
}

/*選択されているタブのコンテンツのみを表示*/
#tab01:checked ~ #tab01_content, #tab02:checked ~ #tab02_content, #tab03:checked ~ #tab03_content, #tab04:checked ~ #tab04_content {
  display: block;
}

/*選択されているタブのスタイルを変える*/
.tabs input:checked + .tab_item {
  background: #000000;
}

/*フィールド入力時の自動背景色付与をなくす*/
input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0px 1000px white inset !important;
  box-shadow: 0 0 0px 1000px white inset !important;
  -webkit-text-fill-color: #000 !important;
}
input:-webkit-autofill:hover, input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0px 1000px white inset !important;
  box-shadow: 0 0 0px 1000px white inset !important;
  -webkit-text-fill-color: #000 !important;
}

textarea:-webkit-autofill {
  -webkit-box-shadow: 0 0 0px 1000px white inset !important;
  box-shadow: 0 0 0px 1000px white inset !important;
  -webkit-text-fill-color: #000 !important;
}
textarea:-webkit-autofill:hover, textarea:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0px 1000px white inset !important;
  box-shadow: 0 0 0px 1000px white inset !important;
  -webkit-text-fill-color: #000 !important;
}

select:-webkit-autofill {
  -webkit-box-shadow: 0 0 0px 1000px white inset !important;
  box-shadow: 0 0 0px 1000px white inset !important;
  -webkit-text-fill-color: #000 !important;
}
select:-webkit-autofill:hover, select:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0px 1000px white inset !important;
  box-shadow: 0 0 0px 1000px white inset !important;
  -webkit-text-fill-color: #000 !important;
}

.cp-textbox {
  position: relative;
  background-color: #F5F4F0;
  border: 2px solid var(--color-red);
  margin-bottom: 3rem;
  padding: 4rem 2rem 1.5rem;
  line-height: 1.6;
}
@media screen and (max-width: 768px) {
  .cp-textbox {
    padding: 4.5rem 1rem 1.5rem;
  }
}
.cp-textbox .title {
  position: absolute;
  top: 0;
  left: 0;
  display: inline-block;
  font-size: 1.2em;
  font-weight: bold;
  background-color: var(--color-red);
  color: #F5F4F0;
  line-height: 1;
  letter-spacing: 0.2rem;
  padding: 0.5rem 1rem 0.5rem;
  margin-bottom: 1rem;
}
@media screen and (max-width: 768px) {
  .cp-textbox .title {
    line-height: 1.3;
    font-size: 1.1em;
  }
}