@charset "UTF-8";
.cm-dbf {
  background-color: #F15023;
  padding: 20px 15px 40px;
  border-radius: 8px;
  overflow: hidden;
  font-family: "Noto Sans JP", sans-serif;
  width: min(100%, 400px);
}
@media screen and (min-width: 960px) {
  .cm-dbf {
    padding: min(1.5625vw, 20px);
    border-radius: 12px;
    width: min(54.0625vw, 692px);
  }
}

.cm-dbf__banner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.cm-dbf__label {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: #F15023;
  text-align: center;
  line-height: 1.4;
  letter-spacing: 0.08em;
  padding: 1px 20px 1px;
  background-color: #fff;
  color: #F15023;
  border-radius: 100px;
}
@media screen and (min-width: 960px) {
  .cm-dbf__label {
    font-size: min(1.25vw, 16px);
    padding: 1px 24px 1px;
  }
}

.cm-dbf__title {
  display: inline-block;
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  line-height: 1.1;
  letter-spacing: 0.08em;
  margin-top: 14px;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
@media screen and (min-width: 960px) {
  .cm-dbf__title {
    font-size: min(2.34375vw, 30px);
    margin-top: min(1.25vw, 16px);
  }
}

.cm-dbf__description {
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  line-height: 1.1;
  letter-spacing: 0.05em;
  margin-top: 12px;
}
@media screen and (min-width: 960px) {
  .cm-dbf__description {
    font-size: min(0.859375vw, 11px);
    margin-top: min(0.9375vw, 12px);
  }
}

.cm-dbf__thumbnail {
  display: block;
  width: min(100%, 360px);
  margin: 0 auto;
  margin-top: 20px;
}
@media screen and (min-width: 960px) {
  .cm-dbf__thumbnail {
    width: min(100%, 510px);
    margin-top: min(1.640625vw, 21px);
  }
}

.cm-dbf__thumbnail img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  background-color: transparent;
}

.cm-dbf__steps-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  position: relative;
  margin-top: 28px;
}
@media screen and (min-width: 960px) {
  .cm-dbf__steps-dots {
    gap: min(1.25vw, 16px);
    margin-top: min(2.5vw, 32px);
  }
}

.cm-dbf__steps-dots:before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  height: 1px;
  width: 1000px;
  background-color: #fff;
  z-index: 0;
  pointer-events: none;
}

.cm-dbf__steps-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #fff;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}
@media screen and (min-width: 960px) {
  .cm-dbf__steps-dot {
    width: min(0.9375vw, 12px);
    height: min(0.9375vw, 12px);
  }
}

.cm-dbf__steps-dots:after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 25px;
  height: 25px;
  border-radius: 50%;
  border: 1px solid #fff;
  transition: left 0.3s ease;
}
@media screen and (min-width: 960px) {
  .cm-dbf__steps-dots:after {
    width: min(1.875vw, 24px);
    height: min(1.875vw, 24px);
  }
}

.cm-dbf__steps-dots[data-step="1"]:after {
  left: -6px;
}
@media screen and (min-width: 960px) {
  .cm-dbf__steps-dots[data-step="1"]:after {
    left: max(-0.46875vw, -6px);
  }
}

.cm-dbf__steps-dots[data-step="2"]:after {
  left: -6px;
}
@media screen and (min-width: 960px) {
  .cm-dbf__steps-dots[data-step="2"]:after {
    left: min(1.71875vw, 22px);
  }
}

.cm-dbf__steps-dots[data-step="3"]:after {
  left: -6px;
}
@media screen and (min-width: 960px) {
  .cm-dbf__steps-dots[data-step="3"]:after {
    left: min(3.90625vw, 50px);
  }
}

.cm-dbf__steps-dots[data-step="4"]:after {
  left: -6px;
}
@media screen and (min-width: 960px) {
  .cm-dbf__steps-dots[data-step="4"]:after {
    left: min(6.09375vw, 78px);
  }
}

.cm-dbf__form {
  padding: 18px 0px;
}
@media screen and (min-width: 960px) {
  .cm-dbf__form {
    padding: min(1.40625vw, 18px) min(2.03125vw, 26px);
  }
}

.cm-dbf__steps {
  overflow: hidden;
  position: relative;
  margin-bottom: 24px;
}
@media screen and (min-width: 960px) {
  .cm-dbf__steps {
    margin-bottom: 28px;
  }
}

.cm-dbf__steps-slider {
  display: flex;
  width: 400%;
  /* 4ステップ分 */
  transition: transform 0.55s 0.15s ease;
  will-change: transform;
}

.cm-dbf__step {
  flex: 0 0 25%;
  /* スライダー幅の 1/4 = コンテナ幅の 100% */
  width: 25%;
  min-width: 0;
  box-sizing: border-box;
}

.cm-dbf.is-ready .cm-dbf__step {
  transition: opacity 0.75s 0s ease;
}

.cm-dbf__step.is-current {
  opacity: 1;
  transition-delay: 0.2s !important;
}

.cm-dbf__step:not(.is-current) {
  opacity: 0;
}

.cm-dbf__step-header {
  display: flex;
  align-items: center;
  gap: 15px;
}
@media screen and (min-width: 960px) {
  .cm-dbf__step-header {
    gap: 15px;
  }
}

.cm-dbf__step-title {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  text-align: left;
  line-height: 1.1;
  letter-spacing: 0.08em;
}
@media screen and (min-width: 960px) {
  .cm-dbf__step-title {
    font-size: min(1.25vw, 16px);
  }
}

.cm-dbf__sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.cm-dbf__step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: #F15023;
  text-align: center;
  line-height: 1.1;
  letter-spacing: 0.07em;
  background-color: #fff;
  padding: 2px 10px 3px;
  border-radius: 4px;
}
@media screen and (min-width: 960px) {
  .cm-dbf__step-badge {
    padding: 2px 10px 3px;
    font-size: min(1.25vw, 16px);
    border-radius: 6px;
  }
}

.cm-dbf__step .c-form-input dt,
.cm-dbf__step .c-form-input dt span {
  color: #fff !important;
}

.cm-dbf__step .c-form-input ._required {
  color: rgba(255, 255, 255, 0.9) !important;
}

.cm-dbf__step .download-form__input {
  font-size: 16px;
  font-weight: 700;
  color: #000;
  text-align: left;
  line-height: 1.1;
  letter-spacing: 0.1em;
  background-color: #E8E8E8 !important;
  border-radius: 7px !important;
  height: 56px !important;
  padding: 10px 16px 10px !important;
}
@media screen and (min-width: 960px) {
  .cm-dbf__step .download-form__input {
    height: min(4.6875vw, 60px) !important;
    border-radius: 7px !important;
    padding: min(0.78125vw, 10px) min(1.25vw, 16px) min(0.78125vw, 10px) !important;
  }
}

.cm-dbf__step .download-form__input::-moz-placeholder {
  color: #BAB6B6 !important;
  font-size: 16px !important;
}

.cm-dbf__step .download-form__input::placeholder {
  color: #BAB6B6 !important;
  font-size: 16px !important;
}

.cm-dbf__step .c-form-input {
  padding: 0;
  height: 60px;
  margin-top: 10px;
}
@media screen and (min-width: 960px) {
  .cm-dbf__step .c-form-input {
    margin-top: min(0.78125vw, 10px);
  }
}

.cm-dbf__step .c-form-input dt {
  margin-bottom: 10px;
}
@media screen and (min-width: 960px) {
  .cm-dbf__step .c-form-input dt {
    margin-bottom: 12px;
  }
}

.cm-dbf__step .c-form-input dd {
  margin: 0;
}

.cm-dbf .wpcf7-not-valid-tip,
.cm-dbf .wpcf7-response-output {
  display: none !important;
}

.cm-dbf__step-error {
  display: block;
  font-size: 13px;
  color: #fff;
  font-weight: 500;
  line-height: 1.4;
  margin-top: 10px;
  margin-left: 5px;
}
.cm-dbf__step-error[hidden] {
  display: none !important;
}
@media screen and (min-width: 960px) {
  .cm-dbf__step-error {
    font-size: 14px;
    margin-top: min(0.78125vw, 10px);
  }
}

.cm-dbf__step-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 24px;
  position: relative;
}
@media screen and (min-width: 960px) {
  .cm-dbf__step-nav {
    margin-top: 32px;
    gap: 20px;
  }
}

.cm-dbf__step-back {
  position: absolute;
  top: 120%;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: opacity 0.2s;
}
.cm-dbf__step-back:hover {
  opacity: 0.85;
}
@media screen and (min-width: 960px) {
  .cm-dbf__step-back {
    top: 50%;
    left: 5px;
    transform: translateY(-50%);
    font-size: min(1.125vw, 18px);
    gap: 8px;
  }
}

.cm-dbf__step-back-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 0.55rem;
  height: 0.55rem;
  flex-shrink: 0;
  -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
          clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  transform: rotate(225deg); /* 180deg（左向き）+ 45deg（時計回り） */
}
@media screen and (min-width: 960px) {
  .cm-dbf__step-back-arrow {
    width: 0.75rem;
    height: 0.75rem;
  }
}
.cm-dbf__step-back-arrow svg {
  width: 100%;
  height: auto;
  fill: currentColor;
}

@media (hover: hover) {
  .cm-dbf__step-back:hover .cm-dbf__step-back-arrow {
    animation: btnArrowClip 0.5s cubic-bezier(0.39, 0.575, 0.565, 1) forwards;
  }
  .cm-dbf__step-back:hover .cm-dbf__step-back-arrow svg {
    animation: btnArrow 0.5s cubic-bezier(0.39, 0.575, 0.565, 1) forwards;
  }
}
.cm-dbf__step-next,
.cm-dbf__step-next--submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  position: relative;
  width: min(100%, 270px);
  height: 60px;
  font-size: 16px;
  font-weight: 700;
  color: #F15023;
  text-align: center;
  line-height: 1.1;
  letter-spacing: 0.1em;
  border-radius: 100px;
  cursor: pointer;
  padding-right: 10px;
}
@media screen and (min-width: 960px) {
  .cm-dbf__step-next,
  .cm-dbf__step-next--submit {
    font-size: min(1.25vw, 16px);
    width: min(21.09375vw, 270px);
    height: min(4.6875vw, 60px);
    padding-right: min(0.78125vw, 10px);
  }
}

.cm-dbf__step-next-txt {
  display: inline-flex;
  position: relative;
  overflow: hidden;
}

.cm-dbf__step-next-txt span {
  display: inline-flex;
  transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  will-change: transform, opacity;
}

.cm-dbf__step-next-txt span:nth-child(1) {
  transform: translate3d(0, 0, 0);
}

.cm-dbf__step-next-txt span:nth-child(2) {
  position: absolute;
  left: 0;
  top: 0;
  transform: translate3d(0, 80%, 0);
  opacity: 0;
}

@media (hover: hover) {
  .cm-dbf__step-next:not(.cm-dbf__step-next--submit):hover .cm-dbf__step-next-txt span:nth-child(1) {
    transform: translate3d(0, -80%, 0);
    opacity: 0;
  }
  .cm-dbf__step-next:not(.cm-dbf__step-next--submit):hover .cm-dbf__step-next-txt span:nth-child(2) {
    transition-delay: 0.1s;
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }
}
.cm-dbf__step-next-arrow {
  position: absolute;
  top: 50%;
  right: 18px;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #F15023;
}
@media screen and (min-width: 960px) {
  .cm-dbf__step-next-arrow {
    width: min(3.125vw, 40px);
    height: min(3.125vw, 40px);
  }
}

.cm-dbf__step-next-arrow-char {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transform: rotate(45deg); /* 時計回り45deg */
}
.cm-dbf__step-next-arrow-char svg {
  width: 100%;
  height: auto;
  fill: currentColor;
}

@keyframes cm-dbf-arrow-hover {
  0% {
    transform: translate3d(0, 0, 0) rotate(45deg);
  }
  30% {
    transform: translate3d(100%, 0, 0) rotate(45deg);
  }
  30.1% {
    transform: translate3d(-100%, 0, 0) rotate(45deg);
  }
  100% {
    transform: translate3d(0, 0, 0) rotate(45deg);
  }
}
@media (hover: hover) {
  .cm-dbf__step-next:not(.cm-dbf__step-next--submit):hover .cm-dbf__step-next-arrow-char {
    animation: cm-dbf-arrow-hover 0.5s cubic-bezier(0.39, 0.575, 0.565, 1) forwards;
  }
}
.cm-dbf__step-next-arrow {
  overflow: hidden;
}

.cm-dbf__step-next-arrow-char {
  width: 13px;
  height: 13px;
}
@media screen and (min-width: 960px) {
  .cm-dbf__step-next-arrow-char {
    width: 14px;
    height: 14px;
  }
}

.cm-dbf__step-next--submit {
  overflow: hidden;
  padding-right: 30px;
  width: min(100%, 300px);
}
@media screen and (min-width: 960px) {
  .cm-dbf__step-next--submit {
    padding-right: min(3.125vw, 40px);
    width: min(23.4375vw, 300px);
  }
}
.cm-dbf__step-next--submit::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  bottom: 0;
  pointer-events: none;
  background-color: #F15023;
  transform: scale(1, 0);
  transform-origin: top;
  transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  will-change: transform;
}

@media (hover: hover) {
  .cm-dbf__step-next--submit:hover {
    color: #fff;
    border: 1px solid #fff;
  }
  .cm-dbf__step-next--submit:hover .cm-dbf__step-next-txt {
    color: #fff;
  }
  .cm-dbf__step-next--submit:hover .cm-dbf__step-next-arrow {
    background-color: #fff;
  }
  .cm-dbf__step-next--submit:hover .cm-dbf__step-next-arrow-char {
    color: #F15023;
  }
  .cm-dbf__step-next--submit:hover::before {
    transform: scale(1, 1);
    transform-origin: bottom;
  }
}
.cm-dbf__step-next--submit .cm-dbf__step-next-txt,
.cm-dbf__step-next--submit .cm-dbf__step-next-arrow {
  z-index: 1;
}

.cm-dbf__step-back {
  transition: opacity 0.3s ease;
}

.cm-dbf__step-back[aria-hidden=true] {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.cm-dbf__step-next[aria-hidden=true] {
  visibility: hidden;
  pointer-events: none;
}

.cm-dbf__step-next--submit {
  display: none;
}

.cm-dbf.is-ready .cm-dbf__step-next--submit[aria-hidden=false] {
  display: inline-flex;
}