.page-template-page-contact-confirm .Hero-Sub-Breadcrumb-Item:nth-child(2),
.page-template-page-thanks .Hero-Sub-Breadcrumb-Item:nth-child(2) {
  position: relative;
  padding-right: 18px;
}
.page-template-page-contact-confirm .Hero-Sub-Breadcrumb-Item:nth-child(2)::after,
.page-template-page-thanks .Hero-Sub-Breadcrumb-Item:nth-child(2)::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  background-image: url("../images/breadcrumb-arrow.svg");
  background-size: contain;
  background-repeat: no-repeat;
  width: 9px;
  height: 9px;
  display: inline-block;
}
/* ---------------------------- */
/* --- ContactSection --- */
/* ---------------------------- */
.ContactSection {
  margin-top: 80px;
  padding-left: 80px;
  padding-right: 80px;
  padding-bottom: 103px;
}
@media screen and (max-width: 768px) {
  .ContactSection {
    padding-left: 24px;
    padding-right: 24px;
  }
}
@media screen and (max-width: 480px) {
  .ContactSection {
    margin-top: 36px;
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 56px;
  }
}
.Contact-Inner {
  border: 2px solid #71a5ca;
  margin-left: auto;
  margin-right: auto;
  padding-top: 74px;
  padding-left: 56px;
  padding-right: 56px;
  padding-bottom: 60px;
  width: 100%;
  max-width: 944px;
}
@media screen and (max-width: 768px) {
  .Contact-Inner {
    padding-left: 16px;
    padding-right: 16px;
  }
}
@media screen and (max-width: 480px) {
  .Contact-Inner {
    border: none;
    padding-top: 0;
    padding-bottom: 0;
  }
}
.Contact-Inner-ThanksText {
  margin-top: 40px;
  line-height: 1.8;
  letter-spacing: 0.1em;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
}
@media screen and (max-width: 480px) {
  .Contact-Inner-ThanksText {
    font-size: 14px;
  }
}
.Contact-Inner-ThanksText .BrSp {
  display: none;
}
@media screen and (max-width: 480px) {
  .Contact-Inner-ThanksText .BrSp {
    display: block;
  }
}
.Contact-Inner-Progress {
  margin-left: auto;
  margin-right: auto;
  width: 378px;
  display: flex;
  justify-content: space-between;
}
@media screen and (max-width: 480px) {
  .Contact-Inner-Progress {
    position: relative;
    width: 100%;
  }
  .Contact-Inner-Progress::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 100%;
    height: 2px;
    background: #71a5ca;
    display: block;
  }
}
.Contact-Inner-Progress-Item {
  position: relative;
  border-radius: 9999px;
  width: 80px;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #c4c4c4;
  letter-spacing: 0.1em;
  color: #fff;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 16px;
}
.Contact-Inner-Progress-Item.isActive {
  background: #71a5ca;
}
.Contact-Inner-Progress-Item:nth-child(2)::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -69px;
  transform: translateY(-50%);
  width: 69px;
  height: 2px;
  background: #71a5ca;
  display: block;
}
@media screen and (max-width: 480px) {
  .Contact-Inner-Progress-Item:nth-child(2)::before {
    display: none;
  }
}
.Contact-Inner-Progress-Item:nth-child(2)::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -69px;
  transform: translateY(-50%);
  width: 69px;
  height: 2px;
  background: #71a5ca;
  display: block;
}
@media screen and (max-width: 480px) {
  .Contact-Inner-Progress-Item:nth-child(2)::after {
    display: none;
  }
}
.Contact-Inner-Text {
  margin-top: 40px;
  line-height: 1.8;
  letter-spacing: 0.1em;
  color: #111;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
}
@media screen and (max-width: 480px) {
  .Contact-Inner-Text {
    margin-top: 36px;
    font-size: 14px;
  }
}
.Contact-Inner-SubText {
  margin-top: 16px;
  line-height: 1.8;
  letter-spacing: 0.1em;
  color: #111;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
}
@media screen and (max-width: 480px) {
  .Contact-Inner-SubText {
    margin-top: 24px;
    font-size: 14px;
  }
}
.Contact-Inner-SubText span {
  color: #d30000;
  font-weight: bold;
}
@media screen and (max-width: 480px) {
  .Contact-Inner-SubText span {
    font-size: 12px;
  }
}
.Contact-Inner-Form {
  margin-top: 28px;
}
@media screen and (max-width: 480px) {
  .Contact-Inner-Form {
    margin-top: 30px;
  }
}
.Contact-Inner-Form-Group {
  margin-top: 20px;
  width: 100%;
  display: flex;
  justify-content: space-between;
}
@media screen and (max-width: 480px) {
  .Contact-Inner-Form-Group {
    justify-content: inherit;
    flex-wrap: wrap;
  }
}
.Contact-Inner-Form-Group-Item {
  width: calc((100% - 20px) / 2);
  display: flex;
  flex-wrap: wrap;
}
@media screen and (max-width: 480px) {
  .Contact-Inner-Form-Group-Item {
    width: 100%;
  }
}
@media screen and (max-width: 480px) {
  .Contact-Inner-Form-Group-Item:nth-child(2) {
    margin-top: 20px;
  }
}
.Contact-Inner-Form-Group-Item-Label {
  position: relative;
  width: 100%;
  letter-spacing: 0.1em;
  color: #111;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: bold;
  font-size: 16px;
}
.Contact-Inner-Form-Group-Item-Label::after {
  content: '＊';
  position: absolute;
  top: -5px;
  color: #d30000;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: bold;
  font-size: 12px;
}
.Contact-Inner-Form-Group-Item-Input {
  border: none;
  margin-top: 8px;
  padding-left: 1em;
  padding-right: 1em;
  width: 100%;
  height: 36px;
  background: #f5f3f0;
  color: #111;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
}
.Contact-Inner-Form-Group-Item-Input.wpcf7-not-valid {
  border: 1px solid #d30000;
}
@media screen and (max-width: 480px) {
  .Contact-Inner-Form-Group-Item-Input {
    height: 48px;
  }
}
.Contact-Inner-Form-Item {
  margin-top: 20px;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
}
.Contact-Inner-Form-Item:first-child {
  margin-top: 0;
}
.Contact-Inner-Form-Item.isTextarea {
  align-items: flex-start;
}
.Contact-Inner-Form-Item-Label {
  position: relative;
  width: 100%;
  color: #111;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: bold;
  font-size: 16px;
}
.Contact-Inner-Form-Item-Label.isTextarea {
  padding-top: 6px;
}
@media screen and (max-width: 480px) {
  .Contact-Inner-Form-Item-Label.isTextarea {
    padding-top: 0;
  }
}
.Contact-Inner-Form-Item-Label::after {
  content: '＊';
  position: absolute;
  top: -5px;
  color: #d30000;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: bold;
  font-size: 12px;
}
.Contact-Inner-Form-Item-Input {
  border: none;
  margin-top: 8px;
  padding-left: 1em;
  padding-right: 1em;
  width: 100%;
  height: 36px;
  background: #f5f3f0;
  color: #111;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
}
@media screen and (max-width: 480px) {
  .Contact-Inner-Form-Item-Input {
    height: 50px;
  }
}
.Contact-Inner-Form-Item-Textarea {
  border: none;
  margin-top: 8px;
  padding-top: 20px;
  padding-left: 1em;
  padding-right: 1em;
  width: 100%;
  height: 240px;
  background: #f5f3f0;
  color: #111;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
}
@media screen and (max-width: 480px) {
  .Contact-Inner-Form-Item-Textarea {
    padding-top: 16px;
    height: 200px;
  }
}
.Contact-Inner-Form-Item-Textarea.wpcf7-not-valid {
  border: 1px solid #d30000;
}
.Contact-Inner-Box {
  margin-top: 42px;
}
@media screen and (max-width: 480px) {
  .Contact-Inner-Box {
    margin-top: 54px;
  }
}
.Contact-Inner-Box-Btn {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  text-align: center;
  letter-spacing: 0.05em;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: #fff;
}
@media screen and (max-width: 480px) {
  .Contact-Inner-Box-Btn {
    font-size: 16px;
  }
}
.isName + p {
  width: 100%;
}
.isEmail + p {
  width: 100%;
}
.isTel + p {
  width: 100%;
}
.isTextarea + p {
  width: 100%;
}
.wpcf7-form-control-wrap.your-name,
.wpcf7-form-control-wrap.your-kana,
.wpcf7-form-control-wrap.your-tel,
.wpcf7-form-control-wrap.your-email,
.wpcf7-form-control-wrap.your-msg {
  width: 100%;
}
.Contact-Inner-Box p {
  position: relative;
  margin-left: auto;
  margin-right: auto;
  width: 314px;
  height: 78px;
  border: 1px solid #ca9671;
  background: #ca9671;
  transition: all 0.3s;
}
@media screen and (max-width: 480px) {
  .Contact-Inner-Box p {
    width: 100%;
    height: 78px;
  }
}
.Contact-Inner-Box p::before {
  content: "";
  position: absolute;
  top: 1px;
  right: 1px;
  bottom: 1px;
  left: 1px;
  z-index: 1;
  margin: auto;
  background: #fff;
  transition: transform 0.3s cubic-bezier(0.8, 0, 0.2, 1) 0s;
  transform: scale(0, 1);
  transform-origin: right top;
}
.Contact-Inner-Box-Decoration {
  position: absolute;
  top: 0;
  right: 20px;
  bottom: 0;
  z-index: 2;
  margin: auto;
  display: block;
  width: 24px;
  height: 7px;
}
@media screen and (max-width: 768px) {
  .Contact-Inner-Box-Decoration {
    right: 29px;
  }
}
.Contact-Inner-Box-Decoration-Path01 {
  stroke-dasharray: 50;
  stroke-dashoffset: 100;
  stroke: #fff;
  animation: HoverEnd 0.8s ease-in-out 0s 1 normal forwards;
}
.Contact-Inner-Box-Decoration-Path02 {
  stroke-dasharray: 50;
  stroke-dashoffset: 100;
  stroke: #fff;
  animation: HoverEnd 0.8s ease-in-out 0s 1 normal forwards;
}
.Contact-Inner-Box-Decoration-Path02.HoverStart {
  stroke: #ca9671;
  animation: HoverStart 0.8s ease-in-out 0s 1 normal forwards;
}
.Contact-Inner-Box p:hover::before {
  transform-origin: left top;
  transform: scale(1, 1);
}
.Contact-Inner-Box p:hover .Contact-Inner-Box-Btn {
  color: #ca9671;
}
.Contact-Inner-Box p:hover .Contact-Inner-Box-Decoration-Path01 {
  stroke: #ca9671;
  animation: HoverStart 0.8s ease-in-out 0s 1 normal forwards;
}
.Contact-Inner-Box.isBack p .Contact-Inner-Box-Decoration {
  right: inherit;
  left: 32px;
  transform: translateY(-50%) scaleX(-1);
}
span.wpcf7-not-valid-tip,
div.wpcf7-response-output {
  margin-top: 4px;
  padding-left: 16px;
  color: #d30000;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 12px;
}
::place-holder {
  color: #848484;
}
/* ---------------------------- */
/* --- 承諾確認のUIカスタマイズ --- */
/* ---------------------------- */
input[type="checkbox"] {
  position: absolute;
  opacity: 0;
}
span.wpcf7-list-item {
  position: relative;
}
.wpcf7-list-item-label:before {
  content: '';
  border: 2px solid #111;
  margin-right: 14px;
  width: 25px;
  height: 25px;
  display: inline-block;
  position: relative;
  top: -2px;
  vertical-align: middle;
  cursor: pointer;
  text-align: center;
}
input[type="checkbox"]:checked + .wpcf7-list-item-label:after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 25px;
  height: 25px;
  background: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9ImN1cnJlbnRDb2xvciIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIGNsYXNzPSJmZWF0aGVyIGZlYXRoZXItY2hlY2siPjxwb2x5bGluZSBwb2ludHM9IjIwIDYgOSAxNyA0IDEyIj48L3BvbHlsaW5lPjwvc3ZnPg==") no-repeat center;
  background-size: contain;
}
.Contact-Inner-Form + p {
  margin-top: 14px;
}
@media screen and (max-width: 480px) {
  .Contact-Inner-Form + p {
    margin-top: 8px;
  }
}
.wpcf7-form-control.wpcf7-acceptance {
  letter-spacing: 0.1em;
  color: #111;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: normal;
  font-size: 16px;
}
.wpcf7-acceptance .wpcf7-list-item {
  margin: 0;
}
.wpcf7-form-control.wpcf7-acceptance label {
  cursor: pointer;
}
.wpcf7-acceptance a {
  text-decoration: underline;
}
.wpcf7-acceptance a:hover {
  opacity: 0.7;
}
@media screen and (max-width: 480px) {
  .wpcf7-form-control.wpcf7-acceptance .wpcf7-list-item-label {
    position: relative;
  }
}
@media screen and (max-width: 480px) {
  .SpAbsolute {
    position: absolute;
    top: 28px;
    left: 37px;
  }
}
/* ---------------------------- */
/* --- 確認画面のUI --- */
/* ---------------------------- */
.page-template-page-contact-confirm .Contact-Inner-Form-Group-Item-Label + p,
.page-template-page-contact-confirm .Contact-Inner-Form-Item-Label + p {
  margin-top: 8px;
  padding-top: 8px;
  padding-left: 1em;
  padding-right: 8px;
  padding-bottom: 8px;
  width: 100%;
  height: 36px;
  color: #111;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
}
.Contact-Inner-Form-Item-Label.isTextarea + p {
  height: auto;
  white-space: pre-wrap;
}
.page-template-page-contact-confirm .Contact-Inner-Form-Group-Item-Label::after,
.page-template-page-contact-confirm .Contact-Inner-Form-Item-Label::after {
  display: none;
}
/* ---------------------------- */
/* --- サンクスページのボタン --- */
/* ---------------------------- */
.TopBack-Link {
  position: relative;
  margin-top: 56px;
  margin-right: auto;
  margin-left: auto;
  border: 1px solid #ca9671;
  display: block;
  width: 314px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.05em;
  color: #fff;
  text-align: center;
  background-color: #ca9671;
}
@media screen and (max-width: 480px) {
  .TopBack-Link {
    margin-top: 36px;
    width: 100%;
    font-size: 16px;
  }
}
.TopBack-Link:hover {
  color: #ca9671;
}
.TopBack-Link::before {
  content: "";
  position: absolute;
  top: 1px;
  right: 1px;
  bottom: 1px;
  left: 1px;
  margin: auto;
  background-color: #fff;
  transition: transform 0.3s cubic-bezier(0.8, 0, 0.2, 1) 0s;
  transform: scale(0, 1);
  transform-origin: right top;
}
.TopBack-Link:hover.TopBack-Link::before {
  transform-origin: left top;
  transform: scale(1, 1);
}
@media screen and (max-width: 768px) {
  .TopBack-Link:hover.TopBack-Link::before {
    transform: scale(0, 1);
    transform-origin: right top;
  }
}
.TopBack-Link__Contents {
  position: relative;
  z-index: 1;
  padding-top: 30px;
  padding-bottom: 30px;
  display: block;
  width: 100%;
  height: 100%;
}
@media screen and (max-width: 480px) {
  .TopBack-Link__Contents {
    padding-top: 29px;
    padding-bottom: 29px;
  }
}
.TopBack-Link-Decoration {
  position: absolute;
  top: 0;
  right: 32px;
  bottom: 0;
  margin: auto;
  display: block;
  width: 32px;
  height: 9px;
}
@media screen and (max-width: 480px) {
  .TopBack-Link-Decoration {
    right: 19px;
  }
}
.TopBack-Link-Decoration-Path01 {
  stroke-dasharray: 50;
  stroke-dashoffset: 100;
  stroke: #fff;
  animation: HoverEnd 0.8s ease-in-out 0s 1 normal forwards;
}
@media screen and (max-width: 768px) {
  .TopBack-Link-Decoration-Path01 {
    animation: initial;
  }
}
.TopBack-Link-Decoration-Path01.HoverStart {
  stroke: #ca9671;
  animation: HoverStart 0.8s ease-in-out 0s 1 normal forwards;
}
@-moz-keyframes HoverStart {
  from {
    stroke-dasharray: 50;
  }
  to {
    stroke-dashoffset: 0;
  }
}
@-webkit-keyframes HoverStart {
  from {
    stroke-dasharray: 50;
  }
  to {
    stroke-dashoffset: 0;
  }
}
@-o-keyframes HoverStart {
  from {
    stroke-dasharray: 50;
  }
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes HoverStart {
  from {
    stroke-dasharray: 50;
  }
  to {
    stroke-dashoffset: 0;
  }
}
@-moz-keyframes HoverEnd {
  from {
    stroke-dasharray: 50;
  }
  to {
    stroke-dashoffset: 0;
  }
}
@-webkit-keyframes HoverEnd {
  from {
    stroke-dasharray: 50;
  }
  to {
    stroke-dashoffset: 0;
  }
}
@-o-keyframes HoverEnd {
  from {
    stroke-dasharray: 50;
  }
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes HoverEnd {
  from {
    stroke-dasharray: 50;
  }
  to {
    stroke-dashoffset: 0;
  }
}
@-moz-keyframes HoverStart {
  from {
    stroke-dasharray: 50;
  }
  to {
    stroke-dashoffset: 0;
  }
}
@-webkit-keyframes HoverStart {
  from {
    stroke-dasharray: 50;
  }
  to {
    stroke-dashoffset: 0;
  }
}
@-o-keyframes HoverStart {
  from {
    stroke-dasharray: 50;
  }
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes HoverStart {
  from {
    stroke-dasharray: 50;
  }
  to {
    stroke-dashoffset: 0;
  }
}
@-moz-keyframes HoverEnd {
  from {
    stroke-dasharray: 50;
  }
  to {
    stroke-dashoffset: 0;
  }
}
@-webkit-keyframes HoverEnd {
  from {
    stroke-dasharray: 50;
  }
  to {
    stroke-dashoffset: 0;
  }
}
@-o-keyframes HoverEnd {
  from {
    stroke-dasharray: 50;
  }
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes HoverEnd {
  from {
    stroke-dasharray: 50;
  }
  to {
    stroke-dashoffset: 0;
  }
}
