.Form {
  margin-left: auto;
  margin-right: auto;
  max-width: 950px;
}

.Form label.error {
  display: block;
  margin: 0.3em 0 0 0;
  color: #ff0011;
}

/* Tel Block Styles */
.tel-block {
  margin-top: 20px; /* Adjust margin-top as needed */
}

.tel-block__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100px;
  margin-bottom: 30px;
  border: 2px solid #ccc; /* 枠線のスタイルを追加 */
  padding: 10px; /* 枠線と中のコンテンツの間隔を調整 */
  box-sizing: border-box; /* ボックスモデルの設定 */
  border-radius: 6px;
}

.tel-block__title {
  margin-right: 60px;
  font-size: 18px;
  color: #696969;
  font-family: "Noto Sans JP", sans-serif;
}

.tel-block__item {
  display: flex;
  align-items: center;
  position: relative; /* 親要素に対して相対位置を指定 */
}

.tel-block__item::before {
  content: "";
  display: inline-block;
  width: 2px; /* 縦線の幅 */
  height: 100%; /* 要素の高さに合わせる */
  background-color: #ccc; /* 縦線の色 */
  margin-right: 10px; /* 適切なマージンを設定 */
  position: absolute; /* 絶対位置に配置 */
  top: 0;
  bottom: 0;
  left: 0;
}

.tel-block__icon {
  margin-left: 60px; /* ここに適切な間隔を設定 */
}

.c-svg.c-svg--tel {
  fill: #696969; /* Adjust fill color as needed */
  width: 10px; /* Adjust width as needed */
  height: 20px; /* Adjust height as needed */
}

.tel-block__icon,
.tel-block__num {
  margin-right: 10px; /* 適切なマージンを設定 */
}

.tel-block__notes {
  margin-top: 10px; /* 適切なマージンを設定 */
}

.tel-block__icon {
  width: 30px; /* Adjust width as needed */
}

.tel-block__num a {
  color: #696969;
  text-decoration: none;
  font-weight: bold;
  font-size: 25px;
  font-family: "Noto Sans JP", sans-serif;
}

.tel-block__notes {
  color: #707070; /* Adjust color as needed */
  font-size: 14px; /* Adjust font-size as needed */
  font-family: "Noto Sans JP", sans-serif;
}

/* SVG Styling (assuming c-svg--tel class is used for styling) */
.c-svg.c-svg--tel {
  fill: #707070; /* Adjust fill color as needed */
  width: 100%;
  height: 100%;
}

@media screen and (max-width: 1000px) {
  .tel-block__inner {
    display: flex;
    align-items: center;
    justify-content: center; /* 横方向の中央配置 */
    padding-left: 20px;
    padding-right: 20px;
    flex-direction: column;
    white-space: nowrap;
  }

  .tel-block__title {
    border-bottom: 1px solid #ccc; /* 下側に2pxの横線を引く */
    color: #696969;
    font-size: 15px !important;
  }

  .tel-block__icon {
    margin: 0;
  }
  .c-svg.c-svg--tel {
    fill: #696969; /* Adjust fill color as needed */
    width: 20px; /* Adjust width as needed */
    height: 20px; /* Adjust height as needed */
  }
  .tel-block__num a {
    margin-right: 0;
    text-align: center;
    font-size: 15px !important;
  }

  .tel-block__notes {
    margin-top: 0;
  }

  .tel-block__item::before {
    display: none;
  }

  .tel-block__item {
    align-items: center; /* 中央に配置 */
  }
}

.Form-Item {
  display: flex;
  flex-direction: column; /* Flexboxの方向を縦に変更 */
  border-top: 1px solid #ddd;
  padding-top: 24px;
  padding-bottom: 24px;
  width: 100%;
  height: 130px;
  align-items: flex-start; /* アイテムを縦軸の始点に配置 */
}

@media screen and (max-width: 1000px) {
  .Form-Item {
    padding-left: 14px;
    padding-right: 14px;
    padding-top: 16px;
    padding-bottom: 16px;
    flex-wrap: wrap;
    height: 120px;
  }
}

.Form-Item1 {
  flex-direction: column; /* Flexboxの方向を縦に変更 */
  border-top: 1px solid #ddd;
  padding-top: 24px;
  padding-bottom: 24px;
  width: 100%;
  height: 130px;
  align-items: flex-start; /* アイテムを縦軸の始点に配置 */
}

@media screen and (max-width: 1000px) {
  .Form-Item1 {
    padding-left: 14px;
    padding-right: 14px;
    padding-top: 16px;
    padding-bottom: 16px;
    flex-wrap: wrap;
    height: 180px;
  }
}

.Form-Item-Msg {
  display: flex;
  flex-direction: column; /* Flexboxの方向を縦に変更 */
  border-top: 1px solid #ddd;
  padding-top: 24px;
  padding-bottom: 24px;
  width: 100%;
  height: 400px;
  align-items: flex-start; /* アイテムを縦軸の始点に配置 */
}

@media screen and (max-width: 1000px) {
  .Form-Item-Msg {
    padding-left: 14px;
    padding-right: 14px;
    padding-top: 16px;
    padding-bottom: 16px;
    flex-wrap: wrap;
  }
}
.Form-Item:nth-child(5) {
  border-bottom: 1px solid #ddd;
}

.Form-Item-Label {
  width: 100%;
  max-width: 400px;
  letter-spacing: 0.05em;
  font-weight: bold;
  font-size: 18px;
  font-family: "Noto Sans JP", sans-serif;
  color: #696969;
}

@media screen and (max-width: 1000px) {
  .Form-Item-Label {
    max-width: inherit;
    display: flex;
    align-items: center;
    font-size: 15px;
    font-family: "Noto Sans JP", sans-serif;
  }
}

.Form-Item select {
  border: 1px solid #ddd;
  border-radius: 6px;
  margin-top: 10px;
  padding: 12px;
  width: 100%;
  max-width: 400px;
  background: #eaedf2;
  font-size: 18px;
  font-family: "Noto Sans JP", sans-serif;
  color: #696969;
}

@media screen and (max-width: 1000px) {
  .Form-Item {
    padding: 16px;
    height: auto;
  }

  .Form-Item select {
    margin-top: 10px;
    font-size: 15px;
    font-family: "Noto Sans JP", sans-serif;
  }
}

.Form-Item-Label.isMsg {
  margin-top: 8px;
  margin-bottom: 10px;
}

@media screen and (max-width: 1000px) {
  .Form-Item-Label.isMsg {
    margin-top: 0;
  }
}

.Form-Item-Label-Required {
  margin-left: 30px;
  width: 48px;
  display: inline-block;
  text-align: center;
  color: red;
  font-size: 18px;
  vertical-align: middle;
  font-family: "Noto Sans JP", sans-serif;
}

@media screen and (max-width: 1000px) {
  .Form-Item-Label-Required {
    width: 32px;
    font-size: 15px;
    margin-left: 20px;
    font-family: "Noto Sans JP", sans-serif;
  }
}

.Form-Item-Input {
  border: 1px solid #ddd;
  border-radius: 6px;
  margin-top: 10px;
  padding-left: 1em;
  padding-right: 1em;
  height: 60px;
  flex: 1;
  width: 100%;
  max-width: 910px;
  background: #eaedf2;
  font-size: 18px;
  font-family: "Noto Sans JP", sans-serif;
}

@media screen and (max-width: 1000px) {
  .Form-Item-Input {
    margin-top: 18px;
    margin-top: 5px;
    height: 40px;
    flex: inherit;
    font-size: 15px;
    font-family: "Noto Sans JP", sans-serif;
  }
}

.Form-Item-Input::placeholder {
  color: #c0c0c0;
}

.Form-Item1 input[type="checkbox"] {
  display: none;
  margin-right: 8px; /* チェックボックス間の間隔を設定 */
}

.Form-Item1 .checkbox-container {
  display: flex;
  flex-wrap: wrap; /* 要素が一行に収まらない場合に折り返す */
}

.checkbox03 {
  box-sizing: border-box;
  cursor: pointer;
  display: inline-block;
  padding: 5px 30px;
  position: relative;
  width: auto;
  margin-bottom: 10px;
  margin-right: 10px;
}

.checkbox03::before {
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 3px;
  content: "";
  display: block;
  height: 16px;
  left: 5px;
  margin-top: -8px;
  position: absolute;
  top: 50%;
  width: 16px;
}

.checkbox03::after {
  border-right: 6px solid red;
  border-bottom: 3px solid red;
  content: "";
  display: block;
  height: 20px;
  left: 7px;
  margin-top: -16px;
  opacity: 0;
  position: absolute;
  top: 50%;
  transform: rotate(45deg) translate3d(0, 2px, 0) scale3d(0.7, 0.7, 1);
  transition: transform 0.2s ease-in-out, opacity 0.2s ease-in-out;
  width: 9px;
}

input[type="checkbox"]:checked + .checkbox03::before {
  border-color: #666;
}

input[type="checkbox"]:checked + .checkbox03::after {
  opacity: 1;
  transform: rotate(45deg) scale3d(1, 1, 1);
}

@media screen and (max-width: 1000px) {
  .Form-Item1 input[type="checkbox"] {
    margin-right: 8px;
  }

  .Form-Item1 .checkbox-container {
    margin-top: 10px;
    padding-bottom: 10px;
  }

  .checkbox03 {
    margin-right: 4px;
    font-size: 13px;
    font-family: "Noto Sans JP", sans-serif;
  }
}

.Form-Item-Textarea {
  border: 1px solid #ddd;
  border-radius: 6px;
  padding-left: 1em;
  padding-right: 1em;
  height: 300px;
  flex: 1;
  width: 100%;
  max-width: 910px;
  background: #eaedf2;
  font-size: 18px;
  font-family: "Noto Sans JP", sans-serif;
}

@media screen and (max-width: 1000px) {
  .Form-Item-Textarea {
    margin-left: 0;
    /* height: 200px; */
    flex: inherit;
    font-size: 15px;
    font-family: "Noto Sans JP", sans-serif;
  }
}

.Form-Btn {
  border-radius: 6px;
  margin-top: 32px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 32px;
  padding-top: 20px;
  padding-bottom: 20px;
  width: 280px;
  display: block;
  letter-spacing: 0.05em;
  background: #00008b;
  color: #fff;
  font-weight: bold;
  font-size: 20px;
  font-family: "Noto Sans JP", sans-serif;
  border: none;
}

.Form-Btn:hover {
  transform: scale(1.1);
}

@media screen and (max-width: 1000px) {
  .Form-Btn {
    width: 200px;
    font-size: 15px;
    font-family: "Noto Sans JP", sans-serif;
  }
}
