/* ////////////////////////////////////////////////////////////

お問合わせ

/////////////////////////////////////////////////////////////*/

body.form {
  background: var(--light-gray);
}
body.form .contents_wrap {
  padding: 5rem 0;
}
body.form footer .contents_wrap {
  padding: 5rem 0 3rem;
}
ul.contact_list {
  margin: 0 auto;
  width: fit-content;
  font-weight: bold;
}
img.form_center {
  margin: 0 auto;
}
.form_white_wrap {
  padding: 0 186px;
}
@media(max-width:960px) {
  body.form .contents_wrap {
    padding: 3.5rem 0;
  }
  body.form footer .contents_wrap {
    padding: 3.5rem 0 2.5rem;
  }
  body.form h2.center {
    margin-bottom: .5rem;
  }
  .form_white_wrap {
    padding: 0;
  }
}
@media(max-width:430px) {
  img.form_center {
    width: 80%;
  }
}

/* ////////////////////////////////////////////////////////////

送信完了（サンクス）

/////////////////////////////////////////////////////////////*/

table.thanks {
  table-layout: fixed;
  width: 100%;
  margin-bottom: 3rem;
}
table.thanks th,
table.thanks td {
  padding: 1rem;
  vertical-align: middle;
  text-align: center;
}
table.thanks tr:first-of-type th:nth-of-type(1) {
  width: 30%;
}
table.thanks tr th {
  color: var(--main-blue);
  background: var(--light-blue);
  text-align: center;
  vertical-align: middle;
  border-bottom: 1px solid var(--main-white);
}
table.thanks tr:last-of-type th {
  border-bottom: 1px solid var(--light-blue);
}
table.thanks tr td {
  background: var(--light-gray);
  text-align: left;
  border-bottom: 1px solid var(--light-blue);
  padding: 1rem 2rem;
}
table.thanks a {
  text-decoration: underline!important;
}
@media (any-hover: hover) {
  table.thanks a:hover {
    text-decoration: none;
  }
}
@media(max-width:960px) {
  table.thanks tr th {
    display: block;
  }
  table.thanks tr td {
    display: block;
    text-align: center;
  }
  table.thanks tr:first-of-type th:nth-of-type(1) {
    width: 100%;
  }
  table.thanks th,
  table.thanks td {
    font-size: 14px;
    padding: 1rem;
  }
  table.thanks tr th {
    border-bottom: none;
  }
  table.thanks tr:last-of-type th {
    border-bottom: none;
  }
  table.thanks tr td {
    border-bottom: 1px solid var(--main-white);
    padding: 1rem 0;
  }
}

/**/

/* ///////////////////////////////////////////////////////////

フォームの基礎

//////////////////////////////////////////////////////////// */
label {
cursor: pointer;
margin: 0 10px 0 0;
}
label input{
margin-right: 5px;
border-radius: 8px;
border: 1px solid #666;
}
input[type="checkbox"] {
border: 1px solid #666;
}
input[type="checkbox"] {
margin-right: 10px;
}
select{
padding: 10px 16px;
border: 1px solid #666;
width: 100%;
position: relative;
appearance: auto;
transition: .2s ease-in-out;
font-size: 16px;
background: #fff;
border-radius: 5px;
}
optgroup{
font-weight: normal;
}
/*=== 入力ボックスのhoverとfocus ===*/
input:hover, select:hover, textarea:hover {/*:focusより上に*/
}
input:focus, select:focus, textarea:focus {/*:hoverより下に*/
border-color: rgba(77,110,165,1);
background-color: rgba(131,177,252,.1);
}
input {
width: 100%;
padding: 10px 16px;
border: 1px solid var(--light-blue);
-webkit-transition: .2s ease-in-out;
transition: .2s ease-in-out;
font-size: 16px;
background: var(--light-gray);
border-radius: 5px;
}
textarea {
width: 100%;
/*height: 100px;*/
height: 92px;
padding: 10px 16px;
margin: 0;
resize: none;
overflow: auto;
border: 2px solid var(--light-blue);
-webkit-transition: .2s ease-in-out;
transition: .2s ease-in-out;
font-size: 16px;
background: var(--light-gray);
border-radius: 5px;
}
input::placeholder,
textarea::placeholder {
  color: #999;
}
@media(max-width:960px) {
  textarea {
    height: 116px;
  }
}

/* ///////////////////////////////////////////////////////////

フォームのデザイン

//////////////////////////////////////////////////////////// */

.formBox{}
.formCon{
  display: flex;
  margin: 1em 0;
  flex-direction: column;
}
@media(max-width:960px) {
  .formCon{
    margin: 0;
  }
}
.formTit{
  height: auto;
  padding: 0;
  font-size: 1em;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  column-gap: 8px;
  font-weight: bold;
}
@media(max-width:960px) {
  .formTit{
    height: auto;
    width: 100%;
    margin-top: 1rem;
  }
}
.req{
background: var(--main-pink);
color: #fff;
font-size: 14px;
border-radius: 2px;
height: 20px;
padding: 0 3px;
display: flex;
align-items: center;
font-weight: normal;
}
.formImp{
position: relative;
display: flex;
flex-direction: column;
flex: 1;
margin: .5rem 0 1rem;
}
.formmicro{
font-size: .7em;
margin-top: 5px;
}
.formBtn{
  margin: 1em auto 0;
  text-align: center;
  width: fit-content;
  min-width: 356px;
  background: var(--main-blue);
  color: var(--main-white) !important;
  border-radius: 5px;
  position: relative;
  font-weight: bold;
  overflow: hidden;
  transition: background 0.4s ease;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  max-height: 80px;
}

.formBtn input {
  background: none;
  border: none;
  height: 100%;
}
.formBtn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--grad-blue);
  transition: opacity 0.4s ease;
  opacity: 0;
  z-index: -1;
}
.formBtn::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 7%;
  transform: translateY(-50%) rotate(45deg);
  width: 8px;
  height: 8px;
  border-top: solid 2px var(--main-white);
  border-right: solid 2px var(--main-white);
  z-index: 1;
}
@media (any-hover: hover) {
  .formBtn:hover {
  }
  .formBtn:hover::before {
    opacity: 1;
  }
}
.formBtn.back {
  margin: 1.5em auto;
  text-align: center;
  width: fit-content;
  min-width: 356px;
  background: var(--dark-gray);
  color: var(--main-white) !important;
  border-radius: 5px;
  position: relative;
  font-weight: bold;
  overflow: hidden;
  transition: opacity 0.4s ease;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  max-height: 80px;
}
.formBtn.back::before {
  content: none;
}
.formBtn.back::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 7%;
  transform: translateY(-50%) rotate(-135deg);
  width: 8px;
  height: 8px;
  border-top: solid 2px var(--main-white);
  border-right: solid 2px var(--main-white);
  z-index: 1;
}
@media (any-hover: hover) {
  .formBtn.back:hover {
    opacity: .7;
  }
}
@media(max-width:960px) {
  .formBtn,
  .formBtn.back {
     min-width: 85%;
  }
  .formBtn input,
  .formBtn.back input {
     font-size: 15px;
  }
}
.formImp select{
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-size: 20px, 100%;
  background: linear-gradient(180deg, #FFFFFF 0%, #F7FAFC 89.77%);
  border: 1px solid var(--light-blue);
}
.formImp label{
  display: flex;
  justify-content:flex-start;
  align-items: center;
  margin: 10px 0;
}
.formImp label input{
  width: auto;
}
.postal{
  display: flex;
  align-items: center;
  margin-bottom: 5px;
}
input.postal{
  width: 40%;
}
input.file{
  width: auto;
  padding: 0;
  border: none;
  background: none;
  border-radius: 0;
}
.check{
  margin: 2.5em auto;
  padding: 1em 1.5em;
  border: 2px solid var(--light-blue);
  font-size: 14px;
  letter-spacing: 0;
  flex-direction: column;
  position: relative;
  align-items: center;
}
.checkB{
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 10px auto;
  position: relative;
  column-gap: .5rem;
}
input.checkbox{
  width: auto;
}
.checkB div.form_error{
  position: absolute;
  color: var(--main-pink);
  background: var(--light-pink);
  font-size: 1em;
  font-weight: bold;
  text-align: center;
  padding: 4px 0px;
  bottom: -22px;
  line-height: 1.1;
}
/*エラー時*/
.formImp div.form_error{
  background: var(--light-pink);
  color: var(--main-pink);
  font-size: 1em;
  font-weight: bold;
  text-align: center;
  padding: 4px 0px;
  margin-bottom: 5px;
  order: -1;
  width: 100%;
}
.formImp select.form_error{
  border: 1px solid var(--main-pink);
}
.formImp input.form_error{
  border: 1px solid var(--main-pink);
  background: rgba(255, 242, 244, .3)
}
.labelerror{
  margin-top: 20px;
}
.formImp.labelerror div.form_error{
  position: absolute;
  top: 0px;
  pointer-events: none;
}
.formImp_checkbox {
  width: 100%;
}
.formImp_checkbox label {
  width: 50%;
  display:inline-flex;
  align-items: center;
  padding: 10px 16px;
  margin: 2px 0;
}
@media (any-hover: hover) {
  .formImp_checkbox label:hover {
    background: var(--light-blue);
  }
}
.formImp_checkbox label input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  background: var(--main-white);
  border: 1px solid var(--light-gray2);
  border-radius: 0;
  margin-right: 10px;
  cursor: pointer;
  position: relative;
}
.formImp_checkbox label input[type="checkbox"]:checked {
  background-color: var(--main-blue);
  border-color: var(--main-blue);
}
.formImp_checkbox label input[type="checkbox"]:checked::before {
  content: '';
   position: absolute;
   top: 45%;
   left: 50%;
   width: 7px;
   height: 14px;
   border: solid white;
   border-width: 0 2px 2px 0;
   transform: translate(-45%, -50%) rotate(45deg);
 }
.formImp.harf select,
.formImp.harf input {
  width: 100%;
}
.formImp.select {
  position: relative;
}
.formImp.select::after {
  content: '';
  position: absolute;
  top: 50%;
  right:calc(0% + 3%);
  transform: translateY(-50%) rotate(135deg);
  width: 8px;
  height: 8px;
  border-top: solid 2px var(--main-blue);
  border-right: solid 2px var(--main-blue);
  z-index: 1;
  margin-top: -1px;
}
.optional {
  background: var(--dark-gray);
  color: #fff;
  font-size: 14px;
  border-radius: 2px;
  height: 20px;
  padding: 0 3px;
  display: flex;
  align-items: center;
  font-weight: normal;
}
.multiple_allowed {
  background: var(--main-white);
  color: var(--dark-gray);
  border: 1px solid var(--dark-gray);
  font-size: 14px;
  border-radius: 2px;
  height: 20px;
  padding: 0 3px;
  display: flex;
  align-items: center;
  font-weight: normal;
}
@media(max-width:960px) {
  .formImp{
    margin-bottom: 0;
  }
  .check{
    padding: 1em;
    font-size: 12px;
  }
  .checkB {
    margin: 5px auto;
    column-gap: 0;
  }
  .formImp_checkbox label {
    width: 100%;
    padding: 6px 16px;
  }
  .formImp.harf select,
  .formImp.harf input {
    width: 100%;
  }
  .formImp.select::after {
    right: 5%;
  }
}
.formCon.confirmation {
}
.formCon.confirmation > .formTit {
  color: var(--main-blue);
}
.formCon.confirmation > .formImp {
  border-bottom: 1px solid var(--light-blue);
  padding-bottom: 5px;
}
@media(max-width:960px) {
  .formCon.confirmation > .formTit {
  }
}

/* ///////////////////////////////////////////////////////////

サンクスページ

//////////////////////////////////////////////////////////// */
.form #allwrap {
  background-image: unset;
}
#form_Entry.formBox_last {
  padding: 12rem 0 0;
  width: 1100px;
  max-width: 90%;
  margin: 0 auto;
}
.form .widthwrap a.link_box_blue {
  margin: 1rem auto 6rem;
}
@media(max-width:960px) {
  #form_Entry.formBox_last {
    padding: 6rem 0 0;
  }
  .form .widthwrap a.link_box_blue {
    margin: 1rem auto 4rem;
  }
}