@charset "UTF-8";

/* ======================================================================

  "Energyflex" Inquiry PC Styles

====================================================================== */
body { background: url(../common/images/inquiry_bg.png) repeat 0 0; }

/*
  WordPress Common Style Overwrite
====================================================================== */
.entry-header, .entry-footer { display: none; }
.entry-content, .post, .page { margin: 0; }

/*
  Contents
====================================================================== */
.l-contents .inner {
  height: 100%;
  padding: 80px 100px 130px;
  background-color: var(--white);
}

/*
  Inquiry
---------------------------------------------------------------------- */
.inquiry-unit { padding: 120px 140px 0; }
.inquiry-unit h2 {
  font-size: 36px;
  font-size: 3.6rem;
  letter-spacing: .05em;
  text-align: center;
  margin: 0 0 40px;
}
.inquiry-unit p {
  font-size: 16px;
  font-size: 1.6rem;
  letter-spacing: .05em;
  line-height: calc(36 / 16);
}
.inquiry-tel-num {
  display: flex;
  align-items: center;
  margin: 20px 0 70px;
}
.inquiry-tel-num img { width: 260px; }
.inquiry-tel-num p { margin: 0; }

.asterisk::after {
  content: "※";
  color: var(--d-red);
}

/* Form
---------------------------------------------------------------------- */
.inquiry-form {
  font-size: 16px;
  font-size: 1.6rem;
  letter-spacing: .05em;
  margin: 40px 0 0;
}
.inquiry-form > dl {
  display: flex;
  align-items: center;
  margin: 0 0 20px;
}

.inquiry-form.invalid > dl.pd { margin: 0 0 3em; }

.inquiry-form > dl dt {
  width: calc(200 / 720 * 100%);
  font-weight: 400;
}
.inquiry-form > dl dd { width: calc(520 / 720 * 100%); }

dl.gender {
  display: flex;
  align-items: center;
  margin: 0 0 20px;
}
dl.gender dt {
  width: calc(200 / 720 * 100%);
  font-weight: 400;
}
dl.gender dd { width: calc(520 / 720 * 100%); }

/* 確認画面 */
/*
.post-431 dl.gender { display: none; }
.post-431 dl.gender.is-visible {
  display: flex;
  align-items: center;
  margin: 0 0 20px;
}
*/

.inquiry-form [type="text"], .inquiry-form [type="email"], .inquiry-form [type="tel"] {
  width: 100%;
  height: 60px;
  border: solid 1px #c7c7c7;
  border-radius: 10px;
  padding: 0 .75em;
}
.inquiry-form [type="text"][name="zipcode"] { width: 40%; }
.postalcode-search {
  font-size: .85em;
  color: #000000 !important;
  display: inline-block;
  margin: 0 0 0 1em;
  transition: all .3s;
}
.postalcode-search:hover { text-decoration: none; }
.inquiry-form textarea {
  width: 100%;
  border: solid 1px #c7c7c7;
  border-radius: 10px;
  padding: .75em;
}
.select-wrap {
  width: 100%;
  height: 60px;
  border: solid 1px #c7c7c7;
  border-radius: 10px;
  padding: 0 .75em;
}
.select-wrap select {
  width: 100%;
  height: 60px;
}

/* Privacy Poricy */
.inquiry-form > dl + p {
  line-height: 1.8;
  margin: 0 0 20px;
}
.privacy-unit {
  height: 330px;
  overflow-y: scroll;
  border: solid 1px #dadbda;
  padding: 40px 25px 0 25px;
  margin: 0 0 30px;
}
.privacy-unit h3 {
  font-size: 16px;
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: .05em;
  text-align: center;
  margin: 0 0 25px;
}
.privacy-unit p {
  font-size: 15px;
  font-size: 1.5rem;
  letter-spacing: .05em;
  line-height: calc(24 / 15);
  margin: 0 0 1em;
}
.privacy-unit dl {
  font-size: 15px;
  font-size: 1.5rem;
  letter-spacing: .05em;
  line-height: calc(24 / 15);
  width: 100%;
  display: block;
  margin: 0 0 2em;
}
.privacy-unit dl dt { margin: 0 0 .25em; }
.privacy-unit dl dt:first-of-type:before { content: "1."; }
.privacy-unit dl dt:nth-of-type(2):before { content: "2."; }
.privacy-unit dl dt:nth-of-type(3):before { content: "3."; }
.privacy-unit dl dt:nth-of-type(4):before { content: "4."; }
.privacy-unit dl dt:last-of-type:before { content: "5."; }
.privacy-unit dl dd {
  padding: 0 0 0 1em;
  margin: 0 0 1em;
}
.privacy-unit dl dd ol { margin: 1em 0; }
.privacy-unit dl dd ol li {
  text-indent: -1.6em;
  padding: 0 0 0 1.6em;
  margin: 0 0 .5em;
}
.privacy-unit dl dd ol li:first-of-type::before { content: "1）"; }
.privacy-unit dl dd ol li:nth-of-type(2)::before { content: "2）"; }
.privacy-unit dl dd ol li:nth-of-type(3)::before { content: "3）"; }
.privacy-unit dl dd ol li:nth-of-type(4)::before { content: "4）"; }
.privacy-unit dl dd ol li:last-of-type::before { content: "5）"; }

/* Agreement */
.agreement {
  font-size: 16px;
  font-size: 1.6rem;
  letter-spacing: .05em;
  text-align: center;
}
.agreement label {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.agreement label input[type="checkbox"] { display: none; }
.agreement label span { position: relative; }
.agreement label span::before {
  content: "";
  position: absolute;
  left: -55px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: solid 1px #d3d3d3;
  cursor: pointer;
}
.agreement label input[type="checkbox"]:checked + span::after {
  content: "";
  position: absolute;
  left: -55px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: url(../images/inquiry/icon_checked.svg) no-repeat 0 0;
  background-size: cover;
  cursor: pointer;
}
.agreement + p {
  text-align: center;
  margin: 80px 0 35px;
}

/* Button
---------------------------------------------------------------------- */
.inquiry-btn-unit {
  max-width: 720px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.inquiry-btn-unit button,
.inquiry-btn-unit .reset-btn {
  position: relative;
  width: 330px;
  line-height: 60px;
  margin: auto;
  border-radius: calc( (60 / 2) / 330 * 100vw );
  box-shadow: 3px 3px 0 0 var(--black);
  border: solid 2px var(--black);
  font-size: 18px;
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: .05em;
  display: block;
  cursor: pointer;
  transition: all .3s;
}

/* Submit Button */
.submit-btn {
  color: var(--yellow);
  background-color: var(--d-green);
}
.submit-btn::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 15px;
  width: 12.5px;
  height: 15px;
  display: inline-block;
  background: url(../common/images/triangle_yellow.svg) no-repeat 50% 50%;
  background-size: 100%;
}
.submit-btn:hover { background-color: var(--l-green); }
.return-btn, .reset-btn {
  color: var(--black);
  background-color: var(--l-gray);
}
.return-btn::before, .reset-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%) rotate(180deg);
  left: 15px;
  width: 12.5px;
  height: 15px;
  display: inline-block;
  background: url(../common/images/triangle_yellow.svg) no-repeat 50% 50%;
  background-size: 100%;
}
.return-btn:hover, .reset-btn:hover { background-color: var(--d-gray); }

/* Confirm
---------------------------------------------------------------------- */
.page-id-431 .inquiry-unit p,
.confirm .inquiry-unit p { text-align: center; }
.page-id-431 .inquiry-form > dl,
.confirm .inquiry-form > dl {
  flex-direction: column;
  margin: 0;
}
.page-id-431 .inquiry-form > dl dt,
.confirm .inquiry-form > dl dt {
  width: 100%;
  border-bottom: solid 1px #e3e3e3;
  padding: 0 0 .5em;
  margin: 0 0 .5em;
}
.page-id-431 .inquiry-form > dl dd,
.confirm .inquiry-form > dl dd {
  width: 100%;
  margin: 0 0 50px;
}
.page-id-431 .inquiry-btn-unit,
.confirm .inquiry-btn-unit { justify-content: space-between; }

/* Thanks
---------------------------------------------------------------------- */
.page-id-411 .inquiry-unit h2,
.thanks .inquiry-unit h2 { margin: 0 0 30px; }
.page-id-411  .inquiry-unit p,
.thanks .inquiry-unit p {
  text-align: center;
  margin: 20px 0 40px;
}
.page-id-411 .inquiry-unit figure,
.thanks .inquiry-unit figure {
  width: 278px;
  height: auto;
  margin: auto;
  overflow: hidden;
}
.page-id-411 .inquiry-unit figure img,
.thanks .inquiry-unit figure img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.page-id-411 .submit-btn a,
.thanks .submit-btn a {
  color: var(--yellow);
  text-decoration: none;
}

/*
  WordPress "Contact Form 7" Styles
====================================================================== */
.wpcf7-spinner {
  display: none !important;
  margin: 24px auto 0 !important;
}

/* Button
---------------------------------------------------------------------- */

/* Submit Button */
.submit-btn.wp {
  position: relative;
  height: 60px;
  border-radius: calc( (60 / 2) / 330 * 100vw );
  margin: auto;
  background: none;
}
.submit-btn.wp input[type="submit"] {
  width: 330px;
  height: 60px;
  border-radius: calc( (60 / 2) / 330 * 100vw );
  box-shadow: 3px 3px 0 0 var(--black);
  border: solid 2px var(--black);
  color: var(--yellow);
  background-color: var(--d-green);
  font-size: 18px;
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: .05em;
  display: block;
  transition: all .3s;
}
.submit-btn.wp input[type="submit"][disabled] {
  background: rgba(0,154,62, .6);
  pointer-events: none;
}
.submit-btn.wp::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 15px;
  width: 12.5px;
  height: 15px;
  display: inline-block;
  background: url(../common/images/triangle_yellow.svg) no-repeat 50% 50%;
  background-size: 100%;
}
.submit-btn.wp input[type="submit"]:hover { background-color: var(--l-green); }
.submit-btn.wp input[type="submit"][disabled]:hover { background: rgba(0,154,62, .6); }

/* Return Button */
.return-btn.wp {
  position: relative;
  height: 60px;
  border-radius: calc( (60 / 2) / 330 * 100vw );
  margin: auto;
  background: none;
}
.return-btn.wp input[type="button"],
.return-btn.wp .reset-btn {
  width: 330px;
  height: 60px;
  border-radius: calc( (60 / 2) / 330 * 100vw );
  box-shadow: 3px 3px 0 0 var(--black);
  border: solid 2px var(--black);
  color: var(--black);
  background-color: var(--l-gray);
  font-size: 18px;
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: .05em;
  display: block;
  cursor: pointer;
  transition: all .3s;
}
.return-btn.wp::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 50%;
  transform: translateY(-50%) rotate(180deg);
  left: 15px;
  width: 12.5px;
  height: 15px;
  display: inline-block;
  background: url(../common/images/triangle_yellow.svg) no-repeat 50% 50%;
  background-size: 100%;
}
.return-btn.wp input[type="button"]:hover,
.return-btn.wp .reset-btn:hover { background-color: var(--d-gray); }

/* Confirm
---------------------------------------------------------------------- */
.page-id-431 .agreement, .post-408 .agreement, .post-431 .agreement { margin: 80px 0 35px; }
.page-id-431 .inquiry-btn-unit, .post-408 .inquiry-btn-unit, .post-431 .inquiry-btn-unit { justify-content: space-between; }

/* Thanks
---------------------------------------------------------------------- */
.page-id-411 .inquiry-unit h2,
.post-411 .inquiry-unit h2 { margin: 0 0 30px; }
.page-id-411 .inquiry-unit p,
.post-411 .inquiry-unit p {
  text-align: center;
  margin: 20px 0 40px;
}
.page-id-411 .inquiry-unit figure,
.post-411 .inquiry-unit figure {
  width: 278px;
  height: auto;
  margin: auto;
  overflow: hidden;
}
.page-id-411 .inquiry-unit figure img,
.post-411 .inquiry-unit figure img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.page-id-411 .submit-btn a,
.post-411 .submit-btn a {
  color: var(--yellow);
  text-decoration: none;
}