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

  :root {
    --base-width: 375;
    --scale: calc(100vw / var(--base-width));
  }


  :root {
    --font-size-16: max(calc(16 * var(--scale)), 16px);
    --font-size-18: max(calc(18 * var(--scale)), 18px);
    --font-size-20: max(calc(20 * var(--scale)), 20px);
    --font-size-32: max(calc(32 * var(--scale)), 32px);
    --font-size-38: max(calc(38 * var(--scale)), 38px);
  }

  body {
    margin: 0;
    /* 余白をなくす */
    display: flex;
    justify-content: center;
    /* 水平方向に中央寄せ */
    min-height: 100vh;
    /* 画面全体の高さ */
    background-color: #f0f0f0;
    /* 背景色の例 */
    margin-right: auto;
    margin-left: auto;
  }

  .SP.SP {
    position: relative;
    /* width: max(calc(375 * var(--scale)), 375px); */
    background-color: #ffffff;
    overflow: hidden;
    width: 100%;
    /* コンテンツの幅 */
    max-width: 100%;
    /* 最大幅を指定 */
    background-color: white;
  }

  .intro-section {
    width: 100%;
    margin: 0 auto;
    /* 横方向の中央揃え */
    position: relative;
  }

  .relative-wrapper {
    display: grid;
    /* グリッドレイアウトを使用 */
    position: relative;
    width: 100%;
  }

  .rectangle-90,
  .rectangle-91 {
    grid-area: 1 / 1;
    /* 全体を覆うように配置 */
    position: absolute;
    /* 絶対位置のまま */
    width: 100%;
  }

  .rectangle-90 {
    height: 737px;
    /* 必要なら高さを調整 */
    background: linear-gradient(180deg, rgb(192, 205, 221) 0%, rgb(255, 255, 255) 100%);
  }

  .rectangle-91 {
    height: 737px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgb(255, 255, 255) 100%);
  }

  .vx-image {
    grid-area: 1 / 1;
    /* 全体を覆うように配置 */
    position: absolute;
    /* 絶対位置のまま */
    width: 100%;
    height: max(calc(292 * var(--scale)), 292px);
    left: max(calc(150 * var(--scale)), 150px);
    position: absolute;
    /* padding: min(calc(10 * var(--scale)), 10x); */
    width: max(calc(261 * var(--scale)), 261px);
    margin-top: 90px;
    z-index: 2;
  }

  .title-en {
    position: relative;
    color: var(--east-bay);
    font-family: "Century Gothic-Bold", Helvetica;
    font-size: var(--font-size-20);
    font-weight: bold;
    left: max(calc(20 * var(--scale)), 20px);
    letter-spacing: 1.20px;
    line-height: 100%;
    margin-top: max(calc(171 * var(--scale)), 171px);
    white-space: nowrap;
    width: max(calc(153 * var(--scale)), 153px);
  }

  .title-jp {
    position: relative;
    width: max(calc(271 * var(--scale)), 271px);
    margin-top: max(calc(21 * var(--scale)), 21px);
    left: max(calc(20 * var(--scale)), 20px);
    font-family: "Noto Sans JP", Helvetica;
    font-weight: bold;
    color: var(--vendix-black);
    font-size: var(--font-size-32);
    letter-spacing: 10%;
    line-height: 100%;
  }

  .title-bar {
    background: var(--color-kirakira-bar);
    height: 2px;
    left: max(calc(20 * var(--scale)), 20px);
    position: relative;
    margin-top: max(calc(10 * var(--scale)), 10px);
    width: max(calc(85 * var(--scale)), 85px);
  }

  .intro-section-bar {
    background: var(--color-kirakira-bar);
    height: 2px;
    left: max(calc(10 * var(--scale)), 10px);
    position: relative;
    margin-top: max(calc(62 * var(--scale)), 62px);
    width: max(calc(355 * var(--scale)), 355px);
  }

  .input-section {
    /* background-color: #e2e2e2; */
    width: 100%;
    /* 必須 */
    margin: 0 auto;
    /* 横方向の中央揃え */
    padding: max(calc(20 * var(--scale)), 20px);
    margin-top: max(calc(62 * var(--scale)), 62px);
    position: relative;
    z-index: 3;
  }

  .form-group {
    position: relative;
    display: flex;
    flex-direction: column; /* 縦に並べる */
    margin-bottom: 30px; /* 下に余白 */
    width: max(calc(335 * var(--scale)), 335px);
  }

  .form-group label {
    font-size: var(--font-size-18);
    font-family: "Noto Sans JP", Helvetica;
    color: var(--east-bay);
    font-weight: bold;
    /* width: max(calc(220 * var(--scale)), 220px); */
    margin-bottom: 16px;
  }

  .form-group input,
  .form-group textarea {
    align-items: center;
    align-self: stretch;
    background-color: var(--catskill-white);
    border: 1px solid;
    border-color: var(--botticelli);
    border-radius: 10px;
    display: flex;
    /* padding: 8px 20px; */
    position: relative;
    /* width: max(calc(335 * var(--scale)), 335px); */
    height: max(calc(40 * var(--scale)), 40px);
    padding-left: 10px;
    font-size: var(--font-size-18);
    font-family: "Noto Sans JP", Helvetica;
    letter-spacing: 1.20px;
    outline: none;
  }

  .form-group textarea {
    height: 200px;
    padding-top: 10px;
  }

  input::placeholder,
  textarea::placeholder {
    font-size: var(--font-size-16);
    font-family: "Noto Sans JP", Helvetica;
    color: var(--east-bay);
    opacity: 0.5;
  }

  input:focus {
    border-color: #4a90e2;
    /* フォーカス時の枠線の色 */
    box-shadow: 0 0 5px rgba(74, 144, 226, 0.5);
    /* フォーカス時の影 */
  }

  .input-wrapper {
    display: flex;
    flex-direction: column;
    /* 縦方向に並べる */
  }

  .frame-180 {
    align-items: center;
    background-color: var(--east-bay);
    border-radius: 999px;
    display: inline-flex;
    flex: 0 0 auto;
    flex-direction: column;
    justify-content: center;
    padding: 5px 13px;
    position: relative;
    width: max(calc(56 * var(--scale)), 56px);
    height: max(calc(24 * var(--scale)), 24px);
  }

  .required-image {
    width: max(calc(30 * var(--scale)), 30px);
    height: max(calc(14 * var(--scale)), 14px);
  }
  

  .confirm-btn {
    display: inline-block;
    width: max(calc(220 * var(--scale)), 220px);
    /* 画像の幅 */
    height: max(calc(56 * var(--scale)), 56px);
    /* 画像の高さ */
    background-color: #ffffff;
    /* ボタン画像のパス */
    background-size: contain;
    /* 画像をボタン全体に調整 */
    background-repeat: no-repeat;
    /* 画像の繰り返しを防止 */
    border: none;
    /* ボーダーを削除 */
    cursor: pointer;
    /* カーソルをポインターに */
    text-indent: -9999px;
    /* テキストを非表示に */
    overflow: hidden;
    /* テキストが表示されないように */
    background-image: url(../images/contact/confirm-btn.png);
    margin-top: max(calc(20 * var(--scale)), 20px);
    margin-bottom: max(calc(70 * var(--scale)), 70px);
    margin-left: max(calc(58 * var(--scale)), 58px);
  }


  .back-btn {
    display: inline-block;
    width: max(calc(220 * var(--scale)), 220px);
    /* 画像の幅 */
    height: max(calc(56 * var(--scale)), 56px);
    /* 画像の高さ */
    background-color: #ffffff;
    /* ボタン画像のパス */
    background-size: contain;
    /* 画像をボタン全体に調整 */
    background-repeat: no-repeat;
    /* 画像の繰り返しを防止 */
    border: none;
    /* ボーダーを削除 */
    cursor: pointer;
    /* カーソルをポインターに */
    text-indent: -9999px;
    /* テキストを非表示に */
    overflow: hidden;
    /* テキストが表示されないように */
    background-image: url(../images/contact/back-btn.png);
    margin-top: max(calc(20 * var(--scale)), 20px);
    margin-bottom: max(calc(70 * var(--scale)), 70px);
    margin-left: max(calc(58 * var(--scale)), 58px);
  }

  .submit-btn {
    display: inline-block;
    width: max(calc(220 * var(--scale)), 220px);
    /* 画像の幅 */
    height: max(calc(56 * var(--scale)), 56px);
    /* 画像の高さ */
    background-color: #ffffff;
    /* ボタン画像のパス */
    background-size: cover;
    /* 画像をボタン全体に調整 */
    background-repeat: no-repeat;
    /* 画像の繰り返しを防止 */
    border: none;
    /* ボーダーを削除 */
    cursor: pointer;
    /* カーソルをポインターに */
    text-indent: -9999px;
    /* テキストを非表示に */
    overflow: hidden;
    /* テキストが表示されないように */
    background-image: url(../images/contact/submit-btn.png);
    margin-top: max(calc(30 * var(--scale)), 30px);
    margin-bottom: max(calc(20 * var(--scale)), 20px);
    margin-left: max(calc(58 * var(--scale)), 58px);
  }

  .top-btn {
    display: inline-block;
    width: max(calc(220 * var(--scale)), 220px);
    /* 画像の幅 */
    height: max(calc(56 * var(--scale)), 56px);
    /* 画像の高さ */
    background-color: #ffffff;
    /* ボタン画像のパス */
    background-size: cover;
    /* 画像をボタン全体に調整 */
    background-repeat: no-repeat;
    /* 画像の繰り返しを防止 */
    border: none;
    /* ボーダーを削除 */
    cursor: pointer;
    /* カーソルをポインターに */
    text-indent: -9999px;
    /* テキストを非表示に */
    overflow: hidden;
    /* テキストが表示されないように */
    background-image: url(../images/contact/top-btn.png);
    margin-top: min(calc(30 * var(--scale)), 30px);
    /* margin-left: min(calc(400 * var(--scale)), 400px); */
    margin-bottom: min(calc(20 * var(--scale)), 20px);
    text-align: center;

  }

  .confirm-text {
    align-items: center;
    align-self: stretch;
    display: flex;
    gap: 10px;
    position: relative;
    width: max(calc(760 * var(--scale)), 760px);
    height: clamp(40px, calc(46 * var(--scale)), 46px);
    padding-left: 10px;
    font-size: var(--font-size-18);
    font-family: "Noto Sans JP", Helvetica;
    letter-spacing: 10%;
    color: #819BBD;
    white-space: normal;
    word-wrap: break-word;
    word-break: break-word;
  }

  .completed-section {
    width: 100%;
    margin: 0 auto;
    margin-top: min(calc(-30 * var(--scale)), -30px);
    padding-left: min(calc(20 * var(--scale)), 20px);
    padding-right: min(calc(20 * var(--scale)), 20px);
    position: relative;
    z-index: 3;
  }

  .thank-you-container {
    text-align: center;
  }

  .thank-you-title {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 16px;
    font-weight: bold;
    color: #000;
    font-family: "Noto Sans JP", Helvetica;
    font-size: var(--font-size-32);
    letter-spacing: 2px;
    line-height: 140%;
  }

  .note {
    margin-top: 12px;
    margin-bottom: 32px;
    color: #555;
    font-family: "Noto Sans JP", Helvetica;
    font-size: var(--font-size-16);
    letter-spacing: 10%;
    line-height: 160%;
  }

  .link {
    color: #007bff;
    text-decoration: none;
  }

  .link:hover {
    text-decoration: underline;
  }

  .description {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.8;
    font-family: "Noto Sans JP", Helvetica;
    font-size: var(--font-size-16);
    letter-spacing: 10%;
    line-height: 160%;
    margin-bottom: 80px
  }


}