.hp {
  position: relative;
  z-index: -2;
}

main {
  background: url(../../img/hp/about-bg.jpg) center center/contain repeat-y;
  position: relative;
  z-index: -1;
}

.hp-fv {
  aspect-ratio: 1920 / 432;
  position: relative;
}

.hp-fv-bg {
  position: absolute;
  inset: 0;
  /* top: 0; right: 0; bottom: 0; left: 0 と同義 */
  background: url(../../img/hp/contact-fv.webp) center center / cover no-repeat;
  clip-path: inset(0 100% 0 0);
  /* 初期状態：右100%カット */
  animation: revealFromLeft 1s ease-out forwards;
}

@keyframes revealFromLeft {
  0% {
    clip-path: inset(0 100% 0 0);
  }

  100% {
    clip-path: inset(0 0 0 0);
  }
}

.hp-fv-title {
  position: absolute;
  top: 40%;
  left: 7%;
  color: #f27200;
  font-size: 40px;
  font-weight: 500;
  letter-spacing: 0.05em;
}

@media screen and (max-width: 768px) {
  .hp-fv {
    aspect-ratio: 750 / 334;
  }

  .hp-fv-bg {
    background: url(../../img/hp/contact-fv.webp) center left / cover no-repeat;
  }

  .hp-fv-title {
    bottom: 30%;
    font-size: 26px;
  }}

.hp-contact-list-container {
  padding: 5% 2.865%;
  background-color: #f3f9fc;
  max-width: 976px;
  width: 90%;
  margin: 0 auto 5.25%;
}

.documents-title {
  font-weight: bold;
  color: #fff;
  font-size: 2rem;
  text-align: center;
  letter-spacing: 0.05em;
  line-height: 1.5;
}

.documents-title span {
  font-size: 0.7rem;
  display: block;
  font-weight: 100;
  margin-bottom: 20px;
}

.documents-sec2 {
  border-radius: 50px 50px 0 0;
  padding: 60px 0;
  margin-top: -50px;
  background: #f8f8f8;
}

.single-document-title{
    color: #f27200;
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
    padding: 0 30px;
	    line-height: 1.5;
}


/* 資料一覧 */
a:hover,
.hp-voice-results-item:hover .hp-voice-results-item-img img,
.hp-voice-results-item:hover .hp-documents-a{
transition: all 0.5s ease;
}
.hp-voice-results-item {
  width: 30%;
  padding: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: box-shadow 0.3s ease;
  text-decoration-line: none;
  margin-bottom: 30px;
  background: #fffcf3;
  border-radius: 20px;
}


.hp-voice-results-item::before {
  top: 0;
  left: 0;
}

.hp-voice-results-item::after {
  bottom: 0;
  right: 0;
}

.hp-voice-results-item:hover {
  box-shadow: 0 4px 15px rgb(164 150 129 / 28%);
  opacity: 1;
}

.hp-voice-results-item:hover::before,
.hp-voice-results-item:hover::after {
  height: 100%;
}

.hp-voice-results-item-img {
  margin-bottom: 8.21%;
  position: relative;
}

.hp-voice-results-item:hover .hp-voice-results-item-img img {
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.1);
}

.hp-voice-results-item-img img {
  max-width: 100%;
}

.hp-voice-results-item-img::before {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #fff;
  padding: 3.913% 5.48%;
  position: absolute;
  top: 5.186%;
  left: 5.186%;
  border: 1px solid #fff;
}

.hp-voice-results-item-img::after {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #fff;
  padding: 3.913% 5.48%;
  position: absolute;
  bottom: 5.186%;
  right: 5.186%;
  background-color: #f17100;
  max-width: 90%;
}

.hp-documents-title {
  color: #f17100;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  line-height: 1.5;
}

.hp-documents-a {
  background: #ffdba4;
  display: block;
  margin-top: 15px;
  padding: 10px;
  text-align: center;
  color: #333;
  font-size: 15px;
}

.hp-voice-results-item:hover .hp-documents-a {
  background: #f19300;
  color: #fff;
}

@media (min-width: 0px) and (max-width: 480px) {
  .hp-voice-results-item {
    width: 100%;
    padding: 6% 4%;
    /*     border: 4px solid #f17100; */
    border-radius: 10px;
  }

  .hp-documents-a {
    background: #f19300;
    color: #fff;
  }

  .hp-voice-results-item:before,
  .hp-voice-results-item:after {
    content: none;
  }
}

.hp-voice-results-container {
  width: 95%;
  max-width: 930px;
  margin: 50px auto;
}

.hp-voice-results-inner {
  display: flex;
  justify-content: flex-start;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 3%;
  row-gap: 34px;
}

@media screen and (max-width:768px) {

  .hp-voice-results-item {
    width: 48%;
  }

  .hp-voice-results-item {
    padding: 5%;
  }

  .hp-voice-results-item::before {
    height: 86%;
  }

  .hp-voice-results-item::after {
    height: 86%;
  }

  .hp-voice-results-item-img {
    margin-bottom: 8.12%;
  }

}

@media screen and (max-width:660px) {
  .hp-voice-results-item {
    width: 100%;
    margin-bottom: 30px;
  }
}

/* thanks page */
.hp-documents-thanks {
  padding: 5% 2.865%;
  max-width: 976px;
  width: 90%;
  margin: 0 auto 5.25%;
  text-align: center;
}

.hp-documents-thanks .title {
  font-size: 24px;
  margin: 0 0 60px;
  line-height: 1.6;
}

.hp-documents-thanks .text {
  line-height: 2;
}

.hp-documents-thanks .text a.tel-link {
  font-size: 24px;
  color: #f19300;
  margin: 30px 0 5px;
  line-height: 1;
  letter-spacing: 1px;
}

.hp-documents-thanks .text a.tel-link span {
  font-size: 18px;
  margin-right: 2px;
}

.hp-documents-thanks .text a.top-link {
  display: inline-block;
  color: #f19300;
  margin: 40px 0 0;
  text-decoration: underline;
}


/* single page */
#ContentsWrapper {
  width: calc(100% - 60px);
  max-width: 900px;
  margin: 50px auto;
}

.Download__ContentIMG {
  margin-bottom: 50px;
  padding: 50px;
  text-align: center;
  overflow: hidden;
  transform-style: preserve-3d;
  perspective: 500px;
  display: flex;
  justify-content: center;
}

.Download__ContentIMG.book_buy {
  background: #f5f2ef;
}

.Download__ContentIMG .post-thumbnail {
  transform: rotateX(5deg) rotateY(345deg);
  position: relative;
  width: 250px;
  margin: 0 0 0 -20px;
}

.Download__ContentIMG .post-thumbnail::before {
  position: absolute;
  content: ' ';
  background-color: f19300;
  top: 20px;
  left: 55px;
  width: 45px;
  height: calc(100% - 40px);
  transform: translateX(172px) rotateY(290deg);
  background: linear-gradient(90deg, #fff 0%, #f9f9f9 5%, #fff 10%, #f9f9f9 15%, #fff 20%, #f9f9f9 25%, #fff 30%, #f9f9f9 35%, #fff 40%, #f9f9f9 45%, #fff 50%, #f9f9f9 55%, #fff 60%, #f9f9f9 65%, #fff 70%, #f9f9f9 75%, #fff 80%, #f9f9f9 85%, #fff 90%, #f9f9f9 95%, #fff 100%);
  z-index: -1;
}

.Download__ContentIMG .post-thumbnail img {
  box-shadow: 75px 60px 120px rgba(0, 0, 0, 0.05), 25px 20px 70px rgba(0, 0, 0, 0.08), 8px 8px 30px rgba(0, 0, 0, 0.15), 2px 2px 8px rgba(0, 0, 0, 0.15);
  display: block;
  width: 100%;
  height: auto;
}

#ContentsWrapper p {
  font-size: 14px;
  font-weight: 400;
  line-height: 2;
  color: #333;
}

.wp-block-heading {
  font-size: 20px;
  font-weight: 900;
  line-height: 1.65;
  position: relative;
  padding-bottom: 1.6%;
  margin-top: 30px;
  margin-bottom: 3%;
}

.wp-block-heading::after {
  content: "";
  background-color: #f17100;
  width: 60px;
  height: 2px;
  position: absolute;
  bottom: 0;
  left: 0;
}

.document>.wp-block-list {
  width: 95%;
  margin: 0 auto 50px;
  list-style: none;
  counter-reset: item;
  padding-left: 1.5em;
}

.document>.wp-block-list>li {
  border-bottom: 1px solid #DDD;
  margin: 0 0 5px;
  padding: 5px 0 10px;
  line-height: 1.5;
  counter-increment: item;
  position: relative;
  padding-left: 1.5em;
  font-size: 14px;
}

.document>.wp-block-list>li::before {
  content: counter(item) ". ";
  position: absolute;
  left: 0;
  color: #f19300;
  font-weight: bold;
}

.document>.wp-block-list>li>.wp-block-list>li {
  margin: 5px 2%;
  width: 96%;
}

.NONE {
  display: none;
}

.contactTable {
  width: 95%;
  border-collapse: collapse;
  margin: 0 auto 30px;
  font-family: "Segoe UI", sans-serif;
}

.contactTable th,
.contactTable td {
  padding: 16px 12px;
  vertical-align: top;
  font-size: 14px;
  display: block;
}

.contactTable th {
  font-weight: bold;
  padding: 16px 12px 0;
}

.contactTable th p {
  text-align: left;
}

.contactTable .required {
  background: #e60033;
  color: white;
  padding: 3px 7px;
  border-radius: 4px;
  font-size: 12px;
  margin-right: 5px;
  display: inline-block;
}

.contactTable input[type="text"],
.contactTable input[type="email"],
.contactTable input[type="tel"],
.contactTable textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #fff;
  font-size: 14px;
  box-sizing: border-box;
  transition: border-color 0.3s;
}

.contactTable input:focus,
.contactTable textarea:focus {
  border-color: #e60033;
  outline: none;
}

.contactTable .error {
  border-color: #e60033 !important;
}

.contactBtn {
  text-align: center;
}

.contactBtn input[type="submit"] {
  background: #f17100;
  color: #fff;
  padding: 12px 30px;
  border: none;
  border-radius: 30px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s;
  width: 250px;
}

.contactBtn input[type="submit"]:hover {
  background: #f19300;
}

.wpcf7-not-valid-tip {
  color: #dc3232;
  font-size: 1em;
  display: block;
  font-weight: bold;
  margin-top: 5px;
}

.wpcf7-spinner {
  display: none !important;
}

.contacta {
  margin: 10px auto;
  text-align: center;
  display: block;
  font-size: 9pt;
  line-height: 1.5;
}

.contacta a {
  text-decoration: underline;
}

.PDF_Download {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto 40px;
}

.PDF_Download li {
  list-style: none;
}

.PDF_Download li a {
  border: 1px solid #DDD;
  border-radius: 3px;
  background: #FFF;
  padding: 5px 25px 5px 5px;
  margin: 0 0 20px;
  width: 100%;
  display: flex;
  align-items: center;
  text-decoration: none;
  opacity: 1;
  -webkit-transition: all .2s;
  transition: all .2s;
}

.PDFDL_Photo {
  width: 20%;
  margin: 0 3% 0 0;
}

.PDFDL_Photo img {
  width: 100%;
  height: auto;
}

.PDFDL_Txt {
  width: 70%;
}

#ContentsWrapper .PDF_Download h4 {
  font-size: 20px;
  font-weight: 900;
  line-height: 1.65;
  padding: 0 0 5px;
  margin: 10px 0 5px;
  border-bottom: 1px solid #DDD;
  background: url(none);
  border-top: none;
  color: #333;
}

.PDFDL_Txt p {
  font-size: 14px;
  font-weight: 400;
  line-height: 2;
  text-align: left;
}

.PDFDL_Txt h4 {
  text-align: left !important;
}

.PDFDL_ICON {
  margin-left: auto;
}

.PDFDL_ICON i {
  color: #DDD;
  font-size: 2.8rem;
  -webkit-transition: all .2s;
  transition: all .2s;
}

.PDF_Download a:hover {
  border: 1px solid #f19300;
  background: #fbfbfb;
  opacity: 1;
  -webkit-transition: all .2s;
  transition: all .2s;
}

.PDF_Download a:hover .PDFDL_ICON i {
  color: #f19300;
  -webkit-transition: all .2s;
  transition: all .2s;
}


@media screen and (max-width:768px) {
  .Download__ContentIMG .post-thumbnail::before {
    content: none;
  }

  .document>.wp-block-list {
    width: 100%;
    margin: 0 auto;
    list-style: none;
    counter-reset: item;
    padding-left: 0;
  }
}

@media screen and (max-width:660px) {
  .PDF_Download li a {
    flex-direction: column;
    padding: 10px;
    margin: 0 0 20px;
  }

  .PDFDL_Photo {
    width: 100%;
    margin: 0;
  }

  .PDFDL_Txt {
    width: 100%;
  }

}
