@charset "UTF-8";
/* CSS Document */
.pc {
  display: block;
}
.sp {
  display: none;
}
body {
  font-family: sans-serif;
  margin: 0;
  padding: 0;
  background: #fff;
  color: #333;
}
.container {
  max-width: 700px;
  margin: 0 auto;
  padding: 20px;
}
h1 {
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 30px;
}
.description {
  font-size: 0.9rem;
  margin-bottom: 20px;
}
.note {
  font-size: 0.9rem;
  margin-bottom: 20px;
}
.red {
  color: #f00;
}
.blue {
  color: #1e73be;
  ;
}
.back{
  text-align: right;
}
/*.back-link {
  display: inline-block;
  font-family: Arial, sans-serif;
  font-size: 12px;
  color: #000;
  text-decoration: none;
  border: 1px solid #ccc;
  padding: 2px 6px;
  border-radius: 3px;
  background-color: #f5f5f5;
}*/
.back-link {
  display: inline-block;
  font-family: Arial, sans-serif;
  font-size: 14px;
  color: #000;
  text-decoration: none;
  border: 1px solid #ccc;
  padding: 8px 14px;
  border-radius: 4px;
  background-color: #f5f5f5;
}
.back-link:hover {
  background-color: #ddd;
}
form label {
  font-weight: bold;
  display: block;
  margin-top: 20px;
}
.required:after {
  content: "（必須）";
  color: #f00;
  margin-left: 4px;
}
input[type="text"], input[type="email"], textarea {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  background: #f5f5f5;
}

#inquiry-type {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  background: #f5f5f5;
  color: #333;
  font: inherit;
}

textarea {
  resize: vertical;
}
.radio-group {
  display: flex;
  gap: 15px;
  margin-top: 5px;
}
.radio-group label {
  margin-top: 5px;
}
.button-group {
  margin-top: 20px;
  text-align: right;
}
input[type="submit"], input[type="reset"] {
  padding: 10px 20px;
  margin-left: 10px;
  border: none;
  background-color: #057DBB;
  color: #fff;
  border-radius: 4px;
  cursor: pointer;
}
input[type="submit"]:hover, input[type="reset"]:hover {
  opacity: 0.8;
}

#submitBtn:disabled {
  background-color: #ccc;
  color: #777;
  cursor: not-allowed;
  opacity: 1;
}

@media screen and (max-width: 820px) {
  h1 {
    font-size: 1.2rem;
  }
  .radio-group {
    flex-direction: column;
    gap: 5px;
  }
  input[type="submit"], input[type="reset"] {
    width: 100%;
    margin: 10px 0 0 0;
  }
  .button-group {
    text-align: center;
  }
}
/* 送信完了ページ用 */
.thankyou-container {
  max-width: 700px;
  margin: 40px auto;
  padding: 20px;
  font-family: sans-serif;
  color: #333;
  background: #fff;
  box-sizing: border-box;
}
.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.header-text p {
  font-size: 14px;
  font-weight: normal;
  margin: 0;
  color: #000;
}
.thankyou-message {
  font-size: 1.1rem;
  text-align: center;
  margin: 30px 0;
}
.thankyou-message .red {
  color: #f00;
  margin-top: 10px;
  font-size: 0.9rem;
}
hr {
  border: none;
  border-top: 1px solid #ccc;
  margin: 20px 0;
}
footer {
  text-align: center;
  font-size: 14px;
  margin-top: 40px;
  color: #555;
}
footer a {
  color: #057DBB;
  text-decoration: none;
}
footer a:hover {
  text-decoration: underline;
}
/* スマホ対応 */
@media screen and (max-width: 820px) {
  .pc {
    display: none;
  }
  .sp {
    display: block;
  }
  .header-flex {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
  .thankyou-container {
    padding: 15px;
    margin: 20px auto;
  }
  .thankyou-message {
    font-size: 1rem;
  }
}