/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
@layer components {
  .contact-mv {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding-block: 48px 28px;
  }
  @media screen and (width >= 768px) {
    .contact-mv {
      flex-direction: row;
      align-items: flex-start;
      justify-content: space-between;
      padding-block: 50px 30px;
    }
  }
  .contact-mv-heading {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  @media screen and (width >= 768px) {
    .contact-mv-heading {
      flex: 0 1 500px;
    }
  }
  .contact-mv-image {
    align-self: center;
    border-radius: var(--radius-xl);
  }
  @media screen and (width >= 768px) {
    .contact-mv-image {
      align-self: flex-start;
      flex-shrink: 0;
      width: clamp(320px, 74px + 32.0313vw, 484px);
    }
  }
  .contact-card {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 24px 16px;
    border-radius: var(--radius-2xl);
    background-color: var(--background-base-default);
  }
  @media screen and (width >= 768px) {
    .contact-card {
      gap: 40px;
      padding: 40px;
    }
  }
  .contact-step-list {
    --contact-step-gap: 8px;
    counter-reset: step;
    display: flex;
    gap: var(--contact-step-gap);
    margin: -5px -16px;
    padding: 5px 16px;
    overflow-x: auto;
    scroll-padding-inline: 16px;
  }
  @media screen and (width >= 768px) {
    .contact-step-list {
      --contact-step-gap: clamp(24px, -19.5px + 5.6641vw, 53px);
      justify-content: center;
      margin: 0;
      padding: 0;
      overflow-x: visible;
    }
    .contact-step-list-3 {
      --contact-step-gap: clamp(24px, -52.5px + 9.9609vw, 75px);
    }
  }
  .contact-step-list > li {
    counter-increment: step;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 226px;
    font-family: var(--sans-w6);
    font-weight: var(--font-weight-bold);
    line-height: 1.3;
    text-align: center;
  }
  @media screen and (width >= 768px) {
    .contact-step-list > li {
      width: clamp(108px, 3px + 13.6719vw, 178px);
      font-size: clamp(0.8125rem, 0.53125rem + 0.5859vw, 1rem);
    }
  }
  .contact-step-media {
    position: relative;
    border-radius: var(--radius-lg);
  }
  @media screen and (width >= 768px) {
    .contact-step-media {
      border-radius: var(--radius-md);
    }
  }
  .contact-step-media > img {
    border-radius: inherit;
  }
  .contact-step-media::before {
    position: absolute;
    top: 0;
    left: 0;
    content: counter(step);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-start-start-radius: var(--radius-lg);
    border-end-end-radius: var(--radius-lg);
    background-color: var(--background-primary-default);
    color: var(--text-primary-on-primary);
    font-family: var(--font-inter);
  }
  @media screen and (width >= 768px) {
    .contact-step-media::before {
      content: none;
    }
    .contact-step-list > li + li > .contact-step-media::after {
      position: absolute;
      top: 50%;
      left: calc(var(--contact-step-gap) / -2);
      content: "";
      width: 23px;
      height: 26px;
      background: url(/service/contact/img/arrow-step.svg) no-repeat center / contain;
      transform: translate(-50%, -50%);
    }
  }
  .contact-step-label {
    margin-block: -0.2875em;
  }
  .contact-step-note {
    font-family: var(--font-sans);
    font-weight: var(--font-weight-normal);
    font-size: 0.75rem;
    text-align: left;
  }
  .contact-consult-cta {
    display: flex;
    flex-direction: column;
    overflow: clip;
    border-radius: var(--radius-2xl);
    background-color: var(--background-primary-default);
    color: var(--text-primary-on-primary);
  }
  @media screen and (width >= 834px) {
    .contact-consult-cta {
      flex-direction: row;
    }
  }
  .contact-consult-cta-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 24px;
  }
  @media screen and (width >= 834px) {
    .contact-consult-cta-body {
      flex: 1;
      align-items: flex-start;
      justify-content: center;
      gap: 16px;
      padding-block: 16px;
      padding-inline: clamp(24px, -80px + 10.1563vw, 50px);
    }
    .contact-consult-cta-body .button-conversion {
      margin-top: 8px;
    }
  }
  @media screen and (width >= 1024px) {
    .contact-consult-cta-body {
      padding-block: 24px;
    }
  }
  @media screen and (width >= 768px) and (width < 1024px) {
    .contact-consult-cta-body .button-conversion {
      gap: 8px;
      min-height: 48px;
      padding-left: 23px;
      border-width: 1px;
      border-radius: var(--radius-lg);
      font-size: 1rem;
    }
    .contact-consult-cta-body .button-conversion.button-icon-right {
      padding-right: 19px;
    }
    .contact-consult-cta-body .button-conversion:focus-visible {
      outline-width: var(--border-width-lg);
    }
    .contact-consult-cta-body .button-conversion .button-icon-circle {
      width: 28px;
      height: 28px;
    }
    .contact-consult-cta-body .button-conversion svg {
      width: 24px;
    }
  }
  .contact-consult-cta-title {
    font-family: var(--sans-w6);
    font-weight: var(--font-weight-bold);
    text-align: center;
  }
  @media screen and (width >= 834px) {
    .contact-consult-cta-title {
      font-size: clamp(1.125rem, 0.42375rem + 1.3453vw, 1.5rem);
      line-height: 1.6;
      text-align: left;
    }
  }
  .contact-consult-cta-image {
    order: -1;
    width: 100%;
    aspect-ratio: 310 / 190;
    object-fit: cover;
  }
  @media screen and (width >= 834px) {
    .contact-consult-cta-image {
      order: 0;
      width: clamp(376px, -42.9px + 50.2242vw, 600px);
      aspect-ratio: auto;
    }
  }
  .contact-online-banner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    width: 100%;
    padding: 23px 19px;
    border: 1px solid var(--border-base-default);
    border-radius: var(--radius-xl);
    background-color: var(--background-primary-secondary);
  }
  @media screen and (width >= 768px) {
    .contact-online-banner {
      flex-direction: row-reverse;
      justify-content: center;
      width: fit-content;
      padding: 23px 39px;
    }
  }
  .contact-online-banner-media {
    flex-shrink: 0;
  }
  .contact-online-banner-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
  @media screen and (width >= 768px) {
    .contact-online-banner-text {
      align-items: flex-start;
    }
  }
  .contact-online-banner-title {
    font-family: var(--sans-w6);
    font-weight: var(--font-weight-bold);
    font-size: 1.125rem;
    text-align: center;
  }
  @media screen and (width >= 768px) {
    .contact-online-banner-title {
      text-align: left;
    }
  }
  .contact-mypage-list {
    display: grid;
    gap: 24px;
  }
  @media screen and (width >= 768px) {
    .contact-mypage-list {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }
  }
  .contact-mypage-list > li {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    font-family: var(--sans-w6);
    font-weight: var(--font-weight-bold);
    text-align: center;
  }
}
