@charset "UTF-8";
:root {
    --font-en: capitana, "Noto Sans", sans-serif;
    --font-ja: "Noto Sans", sans-serif;
    --color-navy: #26292C;
    --color-white: #EFEFEF;
    --color-yellow: #F2FF53;
}

* {
  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;
}
input {
    margin-bottom: 5px;
}
.form-item {
    margin-bottom: 30px;
}
.form-item dt {
    position: relative;
    align-items: center;
    font-size: 16px;
    margin-bottom: 5px;
    padding-right: 7rem;
}
@media screen and (max-width: 768px) {
  .form-item dt {
      padding-right: 0;
  }
}
.form-item dt small {
    font-size: .8em;
}
.form-item dt .need {
    position: absolute;
    right: 0;
    color: #db2525;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #C9C9C9;
  background-color: white;
  font-size: 1.6rem;
  padding: 15px;
  transition: all .3s;
}
@media screen and (max-width: 768px) {
  input,
  select,
  textarea {
    padding: 12px;
  }
  textarea {
    min-height: 150px;
  }
}

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

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

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


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


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

}
.form-item {
  width: 48.5%;
}
@media screen and (max-width: 768px) {
  .form-item {
    width: 100%;
  }
}
.form-item.size-full {
  width: 100%!important;
}

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: 40px;
  position: relative;
  font-size: 16px;
}
.privacy-checkbox label input {
  border-bottom: none;
  display: contents;
}
.privacy-checkbox label::before {
  content: "";
  display: block;
  position: absolute;
}
.privacy-checkbox label::after {
  content: "";
  display: block;
  position: absolute;
}
.privacy-checkbox label::before {
  background-color: none;
  border-radius: 0%;
  border: 1px solid #acacac;
  background-color: rgba(255, 255, 255, 0.5);
  width: 30px;
  height: 30px;
  transform: translateY(-50%);
  top: 50%;
  left: 0;
  cursor: pointer;
}
.privacy-checkbox label::after {
  border-bottom: .3rem solid #ff4400;
  border-left: .3rem solid #ff4400;
  opacity: 0;
  height: 1rem;
  width: 2rem;
  transform: translateY(-50%) rotate(-45deg);
  top: 45%;
  left: .5rem;
  z-index: 1;
}
@media screen and (max-width: 768px) {
  .privacy-checkbox label::after {
    left: .9rem;
  }
}
.privacy-checkbox input:checked + label::after {
  opacity: 1;
}
.privacy-checkbox:first-child {
  margin: 20px 0 30px;
}
.privacy-checkbox.on label::after {
  opacity: 1;
}

input[type="radio"] {
    position: absolute;
    opacity: 0;
}
.radio {
  display: inline-block;
  margin-right: 2rem;
  line-height: 1;
}
@media screen and (max-width: 768px) {
  .radio {
    margin-right: 5rem;
  }
}
.radio label {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  position: relative;
  line-height: 1;
}
.radio label input {
  width: 3rem;
}
.radio label::before {
    position: absolute;
    content: "";
    background: #fff;
    border-radius: 100%;
    border: 1px solid #888888;
    display: inline-block;
    width: 4rem;
    height: 4rem;
    position: relative;
    top: 0;
    left: 0;
    margin-right: 1rem;
    -webkit-transition: all 250ms ease;
    transition: all 250ms ease;
}
.radio label span::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(.75rem, -50%);
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--color-navy);
  opacity: 0;
  transition: all 0.2s ease;
}
.radio input[type="radio"]:checked + span::after {
  opacity: 1;
}

.submitBtn {
  width: 23rem;
  text-align: center;
  margin-top: 11rem;
}
.submitBtn input {
  cursor: pointer;
  background-color: var(--color-navy);
  color: var(--color-white);
  font-size: 1.8rem;
  font-weight: bold;
  letter-spacing: .5rem;
  border-radius: 999px;
  transition: all 0.5s;
  line-height: 1;
  width: 100%;
  height: 6rem;
}
  @media screen and (max-width: 768px) {
  .submitBtn input {
    font-size: 2rem;
  }
}
.submitBtn input:hover {
  opacity: .7;
}

.header_emesg {
  margin: 10px 0 30px 0;
  line-height: 1.5;
  font-size: .9em;
  color: #db2525;
  font-weight: bold;
}

.prl {
  padding: 10px;
}

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

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

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

.tab_item {
  text-align: center;
  background: #555;
  padding: 10px 00px;
  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.8750px;
    width: 100%;
    display: block;
    margin-bottom: 0.50px;
    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,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
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;
}

