@media screen and (min-width: 961px) {

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

    --font-size-16: calc(16 * var(--scale));
    --font-size-18: calc(18 * var(--scale));
    --font-size-20: calc(20 * var(--scale));
    --font-size-32: calc(32 * var(--scale));
  }
  @media screen and (min-width: 1440px) {
    :root {
      --base-width: 1455;
      --scale: calc(100vw / var(--base-width));
      --font-scale: calc(100vw / 1600);
      
      --font-size-16: calc(16 * var(--font-scale));
      --font-size-18: calc(18 * var(--font-scale));
      --font-size-20: calc(20 * var(--font-scale));
      --font-size-32: calc(32 * var(--font-scale));
    }
  }

  body {
    /* background-color: #dddddd;
    color: #000000; */
    margin-right: auto;
    margin-left: auto;
  }

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

  .PC.PC {
    width: 100%;
    max-width: 100%;
    background-color: white;
    position: relative;
    width: calc(1440 * var(--scale));
    background-color: #ffffff;
    overflow: hidden;
  }

  .container {
    display: flex;
    /* フレックスボックスを使用 */
    flex-direction: column;
    /* 子要素を縦方向に並べる */
    width: 100%;
    /* コンテナの幅を全体に広げる */
    min-height: 100vh;
    /* overflow-y: auto;  */
  }


  .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: calc(513 * var(--scale));
    height: calc(573 * var(--scale));
    left: calc(850 * var(--scale));
    position: absolute;
    width: calc(513 * var(--scale));
    margin-top: calc(95 * var(--scale));
    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: calc(120 * var(--scale));
    letter-spacing: 1.20px;
    line-height: calc(64 * var(--scale));
    margin-top: calc(237 * var(--scale));
    white-space: nowrap;
    width: calc(153 * var(--scale));
  }

  .title-jp {
    position: relative;
    width: calc(360 * var(--scale));
    margin-top: calc(21 * var(--scale));
    left: calc(121 * var(--scale));
    font-family: "Noto Sans JP", Helvetica;
    font-weight: 700;
    color: var(--vendix-black);
    font-size: calc(46 * var(--scale));
    letter-spacing: 10%;
    line-height: calc(64 * var(--scale));
  }

  .title-bar {
    background: var(--color-kirakira-bar);
    height: 2px;
    left: calc(120 * var(--scale));
    position: relative;
    width: calc(85 * var(--scale));
  }

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

  .input-section {
    /* background-color: #e2e2e2; */
    width: 100%;
    /* 必須 */
    margin: 0 auto;
    /* 横方向の中央揃え */
    padding: 20px;
    margin-top: calc(52 * var(--scale));
    margin-left: calc(204 * var(--scale));
    /* flex-grow: 1; */
    position: relative;
    /* display: block; 
    height:auto; */
    z-index: 3;
  }

  .form-group {
    display: flex;
    align-items: center;
    margin-bottom: calc(30 * var(--scale));
    width: calc(1090 * var(--scale));
    position: relative;
  }

  #zipcode {
    width: clamp(0, calc(220 * var(--scale)), 220px);
  }

  .form-group label {
    font-size: var(--font-size-18);
    font-family: "Noto Sans JP", Helvetica;
    color: var(--east-bay);
    font-weight: 700;
    width: calc(250 * var(--scale));
  }

  .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;
    gap: 10px;
    /* padding: 8px 20px; */
    position: relative;
    width: calc(740 * var(--scale));
    height: clamp(40px, calc(46 * var(--scale)), 46px);
    margin-left: calc(20 * var(--scale));
    padding-left: 10px;
    font-size: var(--font-size-18);
    font-family: "Noto Sans JP", Helvetica;
    letter-spacing: 1.20px;
    outline: none;
  }

  .error-message {
    margin-left: calc(20 * var(--scale));
  }

  .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: calc(5 * var(--scale)) calc(13 * var(--scale));
    position: relative;
    width: calc(56 * var(--scale));
    height: calc(24 * var(--scale));
  }

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

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

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

  .submit-btn {
    display: inline-block;
    width: calc(220 * var(--scale));
    height: calc(56 * var(--scale));
    /* 画像の高さ */
    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: calc(50 * var(--scale));
    margin-bottom: calc(100 * var(--scale));
    margin-left: calc(240 * var(--scale));
  }

  .top-btn {
    display: inline-block;
    width: calc(220 * var(--scale));
    /* 画像の幅 */
    height: calc(50 * var(--scale));
    width: 220px;
    height: 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: calc(50 * var(--scale));
    /* margin-left: calc(400 * var(--scale)), 400px); */
    margin-bottom: calc(100 * var(--scale));
    text-align: center;

  }

  .confirm-text {
    align-items: center;
    align-self: stretch;
    display: flex;
    gap: 10px;
    position: relative;
    width: calc(740 * var(--scale));
    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;
    margin-left: 20px; /* 追加 */
  }

  .completed-section {
    width: 100%;
    margin: 0 auto;
    margin-top: calc(-30 * var(--scale));
    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
  }
}