.form-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; 
    margin-bottom: 15px;
    gap: 10px; /* 項目間のスペース */
    padding: 30px 0;
    border-bottom: 1px solid #ccc; /* ← 下線を追加 */
}

.form-row:first-of-type {
  border-top: 1px solid #ccc;     /* ← 上に線を追加 */
}

.form-row label {
  width: 30%;
  font-weight: bold;
  display: flex;
  align-items: center;   /* ← ここで中央揃え */
  min-height: 40px;       /* ← 高さ合わせ */
}

.form-row input,
.form-row select {
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
}

.form-input-area {
  width: 65%;
  display: flex;
  flex-direction: column; /* ← エラー文を下に出す */
}

.form-row textarea {
    /* width: 65%; */
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    min-height: 250px;
}

.form-container {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 100%;
    /* max-width: 600px; */
}

.agreement-row {
    justify-content: flex-start; /* 左寄せ */
    gap: 5px;
}


.contact-container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.button-send {
    width: 100%;
    padding: 10px;
    background: #007BFF;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
}

.button-send:hover {
    background: #0056b3;
}

#formMessage {
    text-align: center;
    margin-top: 20px;
    color: green;
}

.contact-container .contact-col{
    margin-bottom: 40px;
}

.contact-container .contact-col h2 {
    font-size: 40px;
    font-weight: 500;
    color:#F0434C;
}

.contact-container .contact-col .contact-heading {
    font-size: 14px;
    font-weight: 400;
}

.contact-container .contact-col .question {
    margin-top: 50px;
    line-height: 2;
}

.privacy-row {
    margin-top: 50px;
    text-align: center;
}
.privacy-row .privacy-text {
    display: inline-block;
    text-align: center;
}

.send-button {
    text-align: center;
}

.contact-button {
    margin-top: 30px;
    background-color: #007BFF; /* ボタンの背景色 */
    color: white; /* ボタンの文字色 */
    border: none; /* ボーダーをなくす */
    padding: 10px 20px; /* パディングを追加 */
    font-size: 16px; /* フォントサイズを設定 */
    border-radius: 5px; /* 角を丸くする */
    cursor: pointer; /* カーソルをポインターにする */
    transition: background-color 0.3s ease; /* ホバー時のトランジションを追加 */
}

.contact-button:hover {
    background-color: #0056b3; /* ホバー時の背景色 */
}


.privacy-text {
    text-align: center;
}

.external-link {
    position: relative;
    color: #007BFF; /* リンクの色 */
    text-decoration: none; /* 下線を消す */
    padding-right: 20px; /* アイコンのスペースを確保 */
}

.external-link::after {
    content: '\f35d'; /* Font Awesomeの外部リンクアイコン */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px; /* アイコンのサイズ */
    color: #007BFF; /* アイコンの色 */
}

.external-link:hover {
    text-decoration: underline; /* ホバー時に下線を表示 */
}

.p-form-step　{
    margin-bottom: 30px;
}

.p-form-step ul {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 50px 0px;
    list-style: none;
    padding: 0;
  }
  
  .p-form-step li {
    position: relative;
    display: flex;
    align-items: center;
  }
  
  .p-form-step li div {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #1f53b5;
    font-size: 18px;
    background: #fff;
  }
  
  .p-form-step li.is-current div {
    background: #1f53b5;
    color: #fff;
    border: none;
  }
  
  /* 矢印 */
  .p-form-step li:not(:last-child)::after {
    content: '→';
    margin: 0 20px;
    color: #1f53b5;
    font-size: 24px;
  }


  .p-form-table {
    margin-top: 40px;
  }
  
  .p-form-table__item {
    display: flex;
    align-items: stretch;
    border-top: 1px solid #ddd;
    padding: 30px 0;
  }
  
  .p-form-table__item:last-child {
    border-bottom: 1px solid #ddd;
  }
  
  .p-form-table__head {
    width: 266px;
    font-weight: bold;
    padding-left: 32px;
    padding-right: 16px;
    display: flex;
    align-items: center;
  }
  
  .p-form-table__body {
    display: flex;
    align-items: center;
    width: calc(100% - 266px);
    padding-right: 32px;
  }
  
  .p-form-table__body-inner {
    word-break: break-word;
  }

  
  .p-form-btns {
    display: flex;
    justify-content: center;
    gap: 20px; /* ボタン間の余白 */
    margin-top: 40px;
  }
  
  .p-form-btns__item button {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: bold;
    border-radius: 50px;
    padding: 16px 32px;
    border: 2px solid #0056cc;
    background: #fff;
    color: #0056cc;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
  }
  
  .p-form-btns__item button .c-ico-arrow {
    margin-left: 8px;
  }
  
  .p-form-btns__item button .c-ico-arrow--left {
    margin-right: 8px;
    margin-left: 0;
  }
  
  /* 送信ボタン（青背景） */
  .c-btn-blue {
    background: #0056cc;
    color: #fff;
    border: 2px solid #0056cc;
  }
  
  /* アイコンの見た目を簡単に */
  .c-ico-arrow,
  .c-ico-arrow--left {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: rotate(45deg);
  }
  
  /* 左向き矢印 */
  .c-ico-arrow--left {
    transform: rotate(-135deg);
  }

  
  .p-form-complete {
    background: #f5f5f5;
    border-radius: 8px;
    padding: 40px 32px;
    max-width: 800px;
    margin: 40px auto;
  }
  
  .p-form-complete p {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    letter-spacing: 0.05em;
    text-align: center;
  }
  
  .p-form-btns__item a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: bold;
    border-radius: 50px;
    padding: 16px 32px;
    border: 2px solid #0056cc;
    color: #0056cc;
    background: #fff;
    text-decoration: none;
    transition: background 0.3s, color 0.3s;
  }
  
  .p-form-btns__item a:hover {
    background: #0056cc;
    color: #fff;
  }
  

  .inquiry-form-table__error-txt {
    color: red; /* エラー色 */
    margin-top: 4px;
    margin-left: 0; /* 左寄せ */
    font-size: 0.9em;
    display: block;
}

.required {
  display: inline-block;
  font-size: 12px;
  font-weight: bold;
  color: #fff;
  background-color: #0056cc;
  border-radius: 4px;
  padding: 2px 6px;
  margin-right: 6px;
}

@media (max-width: 768px) {
  .contact-container {
    width: 90%;
    max-width: 900px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .external-link::after {
    position: static;
    transform: none;
    margin-left: 0.4em;
  }
}