@charset "utf-8";
.inquiryForm {
  width: 40%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 80vh;
}


.formItem {
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
}

.formLabel {
  margin-bottom: 0.5rem;
  font-weight: bold;
  font-size: 0.95rem;
  display: block;
  color: #333;
}

.inputControl {
  display: block;
  width: 100%;
  height: 30px;
  padding: 4px 6px;
  font-size: 1rem;
  background: white;
  border: none;
  border-bottom: 1px solid #ced4da;
  outline: none;
}

.focusLine {
  width: 100%;
  height: 1px;
  background: #00A99D;
  position: relative;
  top: -1px;
  transform-origin: center;
  transform: scaleX(0);
}

.inputControl:focus+.focusLine {
  transform: scaleX(1);
  transition: transform 0.25s ease-out;
  -webkit-transform: scaleX(1);
  -webkit-transition: transform 0.5s ease-out;
}

.formCheckBox {
  display: inline-block;
  padding-left: 1.5em;
  margin-right: 1rem;
}

.labelCheckBox {
  padding-top: 2px;
}

.inputCheckBoxControl {
  border-radius: 0.25em;
}

.textarea {
  width: 100%;
  height: 150px;
  padding: 6px;
  font-size: 1rem;
  font-family: 'Meiryo UI', sans-serif;
  border: none;
  border-bottom: 1px solid #ced4da;
  outline: none;
  resize: vertical;
}

.btn {
  padding: 5px 20px;
  font-size: 1rem;
  border-radius: 0.25rem;
  transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
  background-color: transparent;
  border: 1px solid transparent;
  color: white;
  background: #00A99D;
  cursor: pointer;
}

.btn:hover {
  background-color: #00897B;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}


.submit {
  text-align: right;
}

.radioGroup {
  display: flex;
  gap: 20px;
  align-items: center;
}

.labelRadio {
  display: flex;
  align-items: center;
  font-size: 1rem;
  cursor: pointer;
}

.inputRadio {
  margin-right: 6px;
  width: 16px;
  height: 16px;
  accent-color: #00A99D;
  /* チェック色 */
}

.customSelect {
  position: relative;
  width: 100%;
  cursor: pointer;
}

.customSelect .selected {
  padding: 6px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #fff;
}

.customSelect .options {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  max-height: 200px;
  overflow-y: auto;
  z-index: 10;
}

.customSelect .options li {
  padding: 6px;
}

.customSelect .options li:hover {
  background: #f0f0f0;
}

@media screen and (max-width: 928px) {
  .inquiryForm {
    width: 85%;
  }
}
/* ヘッダーをフォームやセクションより前面に */
#header-placeholder {
  position: relative;
  z-index: 9999;
}

/* スマホメニュー */
.nav-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #fff;
  z-index: 9999;
}
.nav-menu.open {
  display: block;
}

/* メニューボタン */
.menu-button {
  position: relative;
  z-index: 10000; /* 念のためさらに上 */
  cursor: pointer;
}