@layer custom {
  .page-section {
    padding-block: 40px;
  }
  @media (min-width: 768px) {
    .page-section {
      padding-block: 100px;
    }
  }

  .page-section-title-wrapper {
    text-align: center;
  }

  .page-section-title-underline {
    font-size: clamp(1.25rem, 0.609rem + 3.4188vw, 2.25rem);
    font-weight: 700;
    display: inline-block;
    border-bottom: 2px solid var(--red-01);
    padding-bottom: 12px;
  }

  .page-transfer-hero {
    position: relative;
    padding-block: 60px;
    text-align: center;
    color: #fff;
    background: url("../image/img-transfer-hero.jpg") center / cover no-repeat;
  }
  @media (min-width: 768px) {
    .page-transfer-hero {
      padding-block: 80px;
    }
  }
  .page-transfer-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
  }
  .page-transfer-hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
  }
  @media (min-width: 768px) {
    .page-transfer-hero-inner {
      gap: 30px;
    }
  }

  .page-transfer-hero-label {
    background: var(--red-01);
    color: #fff;
    font-size: clamp(0.875rem, 0.1667rem + 3.3333vw, 1rem);
    font-weight: 500;
    padding: 8px 16px;
    text-align: left;
  }
  @media (min-width: 340px) {
    .page-transfer-hero-label .only-sp {
      display: none;
    }
  }
  .page-transfer-hero-title {
    font-size: clamp(1.25rem, 0.9295rem + 1.7094vw, 1.75rem);
    font-weight: 700;
    line-height: 1.6;
    text-align: left;
  }
  @media (min-width: 768px) {
    .page-transfer-hero-title {
      font-size: clamp(1.875rem, 0rem + 3.9063vw, 2.5rem);
      text-align: center;
    }
  }
  .page-transfer-hero-text {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-transfer-hero-cta {
    padding: 16px 10px;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
    align-self: center;
    max-width: unset;
    width: 100%;
    max-width: 430px;
    font-size: clamp(0.875rem, 0.4674rem + 1.6304vw, 1.25rem);
  }
  @media (min-width: 768px) {
    .page-transfer-hero-cta {
      font-size: 24px;
      padding-block: 20px;
    }
  }

  .page-transfer-reasons {
    padding-bottom: 0;
    background: linear-gradient(169deg, rgba(241, 245, 249, 0) 8%, rgba(241, 245, 249, 0) 71%, #fff 71%);
  }
  .page-transfer-reasons-grid {
    display: grid;
    gap: 30px;
  }
  @media (min-width: 768px) {
    .page-transfer-reasons-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 40px;
    }
  }

  .page-transfer-reason-card {
    background: #fafafa;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
  }

  .page-transfer-reason-image {
    max-height: 256px;
  }
  .page-transfer-reason-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
  }
  .page-transfer-reason-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  @media (min-width: 768px) {
    .page-transfer-reason-body {
      padding: 30px;
    }
  }

  .page-transfer-reason-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--red-01);
  }
  .page-transfer-reason-text {
    font-size: 16px;
    line-height: 1.6;
    color: #324055;
  }
  .page-transfer-reasons-note {
    font-size: 12px;
    line-height: 1.6;
    color: #1f2937;
  }

  .page-transfer-cases {
    padding-bottom: 0;
  }
  .page-transfer-cases-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .page-transfer-case {
    display: grid;
    grid-template-columns: 1fr;
    border: 1px solid #d8d8d8;
    background: #f1f5f9;
  }
  .page-transfer-case-label {
    background: var(--red-01);
    color: #fff;
    font-weight: 500;
    padding: 12px 16px;
    text-align: center;
    font-size: var(--text-xl);
  }
  .page-transfer-case-meta {
    background: #efefef;
    border-top: 1px solid #d8d8d8;
    text-align: center;
    padding: 12px 16px;
    font-size: var(--text-md);
    color: #000;
  }
  .page-transfer-case-result {
    background: #fff;
    border-top: 1px solid #d8d8d8;
    padding: 16px;
    color: var(--red-01);
    font-size: var(--text-md);
    font-weight: 500;
    text-align: left;
  }
  @media (min-width: 768px) {
    .page-transfer-case {
      grid-template-columns: 230px 240px 130px 1fr;
      align-items: stretch;
    }
    .page-transfer-case-meta,
    .page-transfer-case-result {
      border-top: none;
      border-left: 1px solid #d8d8d8;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }
    .page-transfer-case-label {
      display: flex;
      align-items: center;
      justify-content: center;
    }
  }
  
  .page-transfer-cta-form {
    margin: 0 auto;
    font-size: var(--text-xl);
    max-width: 680px;
    width: 100%;
  }
  .page-transfer-cta-form-link {
    padding-block: 25px;
  }

  .page-transfer-flow {
    background: linear-gradient(177deg, rgba(241, 245, 249, 0) 8%, rgba(241, 245, 249, 0) 71%, #fff 71%);
  }
  .page-transfer-flow-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  @media (min-width: 768px) {
    .page-transfer-flow-steps {
      flex-direction: row;
      align-items: center;
      gap: 40px;
    }
  }

  .page-transfer-flow-step {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  @media (min-width: 768px) {
    .page-transfer-flow-step {
      text-align: center;
    }
  }

  .page-transfer-flow-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #1f2937;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin: 0 auto;
  }
  .page-transfer-flow-label {
    font-size: 20px;
    color: var(--red-01);
  }
  .page-transfer-flow-text {
    font-size: 16px;
    line-height: 1.6;
    color: #1f2937;
    text-align: left;
  }
  @media (min-width: 768px) {
    .page-transfer-flow-arrow {
      width: 60px;
      height: 2px;
      background: #d8d8d8;
      margin: 0 auto;
      flex-shrink: 0;
    }
  }

  
}
