@charset "UTF-8";
html {
  scroll-behavior: smooth; /* スムーススクロール */
}

body {
  font-family: Arial, sans-serif;
  background-color: #f5f5f5;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.form_wrapper {
  margin: 10px auto;
  max-width: 600px;
}

.form_wrapper_2 {
  margin: 0 auto 10px auto;
}

.contact-form {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  max-width: 600px;
  margin-bottom: 30px;
}

.contact-form_2 {
  background: #000;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  width: 100%;
  margin-bottom: 15px;
  text-align: center;
}

label {
  font-weight: bold;
  display: block;
  margin-top: 10px;
}

input {
  width: 95%;
  padding: 1rem;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
}
@media screen and (max-width: 600px) {
  input {
    width: 90%;
  }
}

.select_wrapper {
  position: relative;
}

.select_wrapper::after {
  content: "";
  position: absolute;
  top: 18px;
  right: 16px;
  width: 12px;
  height: 12px;
  border-right: 2px solid #333;
  border-bottom: 2px solid #333;
  transform: rotate(45deg);
}

select {
  -webkit-appearance: none;
  appearance: none;
}

.select_wrapper::after {
  pointer-events: none;
}

select {
  width: 101%;
  padding: 1rem;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
}
@media screen and (max-width: 600px) {
  select {
    width: 98%;
  }
}
@media screen and (max-width: 500px) {
  select {
    width: 100%;
  }
}

.name-fields,
.kana-fields,
.zipcode-fields {
  display: flex;
  gap: 10px;
}

.zip-btn,
.submit-btn2 {
  background: #007BFF;
  color: rgb(0, 0, 0);
  border: 1px solid #000;
  padding: 10px 10px 10px 1.7rem;
  letter-spacing: 1rem;
  border-radius: 10px;
  cursor: pointer;
  white-space: nowrap;
  width: 200px;
}

.zip-btn:hover, .submit-btn:hover {
  background: #0056b3;
}

.example {
  font-size: 0.85em;
  color: #666;
  margin-top: 0px;
}

@media (min-width: 768px) {
  .contact-form {
    display: grid;
    grid-column-gap: 10px;
    grid-row-gap: 10px;
  }
  .form-group {
    display: contents;
  }
  .form-group label {
    align-self: center;
  }
}
.required,
.any {
  color: white;
  padding: 2px 5px;
  font-size: 14px;
  border-radius: 3px;
  margin-left: 5px;
}

.required {
  background-color: #ff3366;
}

.any {
  background-color: #000;
}

.submit-container {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.gra_line {
  height: 5px;
  margin: auto;
  width: 100%;
  background-image: linear-gradient(90deg, rgb(255, 62, 98), rgb(144, 100, 252) 50%, rgb(145, 98, 252) 51%, rgb(87, 255, 247));
}