/* お問い合わせh3の装飾 */
h3.trouble-discount {
  margin-top: 2.2em;
  margin-bottom: 2.2em;
  padding-bottom: 0.4em;
  border-bottom: 2px solid #1976d2;
  text-align: center;
  font-weight: bold;
}
@media (min-width: 801px) {
  .form-area {
    background-color: #f8f8f8aa !important;
    border: 1px solid #e0e0e0ae !important;
  }
  .input-text, .select-box, textarea.message {
    background: #fff !important;
    background-color: #fff !important;
    color: #222 !important;
    border: 1px solid #e0e0e0 !important;
  }
  .submit-button {
    background-color: #f4dd64 !important;
    color: #222 !important;
    border: none !important;
    font-size: 1.35rem !important;
    padding: 18px 0 !important;
    width: 100% !important;
    max-width: 340px !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 18px rgba(220,180,20,0.10);
    font-weight: bold;
    letter-spacing: 0.04em;
    margin: 32px auto 0 auto !important;
    display: block;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  }
  .submit-button:hover {
    background-color: #d8b500 !important;
    color: #fff !important;
  }
}

@media (min-width: 801px) {
  .contact {
    max-width: 930px !important;
    margin: 60px auto 40px auto !important;
    padding: 0 40px !important;
  }
  .form-area {
    display: flex !important;
    flex-wrap: wrap !important;
    background: #f8f8f8a1 !important;
    border-radius: 12px !important;
    padding: 40px !important;
    gap: 0 !important;
  }
  .form-area dt {
    width: 200px !important;
    font-size: 16px !important;
    font-weight: bold !important;
    padding: 18px 0 !important;
    text-align: right !important;
  }
  .form-area dd {
    width: calc(100% - 200px) !important;
    padding: 18px 0 !important;
    text-align: left !important;
  }
  .input-text, .select-box, textarea.message {
    max-width: 400px !important;
    font-size: 16px !important;
  }
  input[type="file"] {
    max-width: 400px !important;
    margin-bottom: 12px !important;
  }
}
@charset "utf-8";
body { margin: 0; }/* style.cssの.messageクラスの影響を完全に打ち消す */
/* --- textarea.messageの最終リセット --- */
textarea.message {
  all: unset;
  display: block;
  width: 100% !important;
  height: 260px !important;
  padding: 10px !important;
  margin: 0 !important;
  background: #fff !important;
  background-color: #fff !important;
  border: 1px solid #fff !important;
  color: #222 !important;
  box-sizing: border-box !important;
  border-radius: 8px !important;
  font-size: 16px !important;
  line-height: 1.5 !important;
  box-shadow: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  resize: vertical !important;
}


/* --- textarea.messageの最終強制上書き --- */
textarea.message {
  width: 100% !important;
  height: 260px !important;
  padding: 10px !important;
  margin: 0 !important;
  background: #fff !important;
  background-color: #fff !important;
  border: 1px solid #fff !important;
  color: #222 !important;
  box-sizing: border-box !important;
  border-radius: 8px !important;
  font-size: 16px !important;
  line-height: 1.5 !important;
  box-shadow: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
}
/* 画像2枚を並べて表示するimage-pairクラス */
.image-pair {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: flex-start;
  margin: 24px 0;
  flex-wrap: wrap;
}
.image-pair img {
  max-width: 48%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
@media (max-width: 800px) {
  .image-pair {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }
  .image-pair img {
    max-width: 96vw;
  }
  


.title h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 32px;
  font-weight: bold;
  margin-top: 50px;
}

.title p {
  font-size: 14px;
  margin-top: 50px;
}

.main h2 {
  font-size: 22px;
  font-weight: bold;
  line-height: 30px;
  margin-top: 50px;
}

.main h2::after {
  content: '';
  display: block;
  width: 36px;
  height: 3px;
  background-color: #979393a7;
  margin-top: 50px;
}

.map {
  width: 930px;
  max-width: 90%;
  margin-top: 75px;
  margin-left: auto;
  margin-right: auto;
}

.map iframe {
  display: block;
  width: 100%;
  height: 320px;
  margin-top: 25px;
}

.contact {
  width: 930px;
  max-width: 90%;
  margin-top: 75px;
  margin-left: auto;
  margin-right: auto;
}

.form-area {
  background-color: #cbc5c5a3;
  border: 1px solid #ffffff;
  margin-top: 25px;
  padding: 30px;
  display: flex;
  flex-wrap: wrap;
}

.form-area dt {
  width: 200px;
  padding: 15px 0;
  font-size: 15px;
  font-weight: bold;
  line-height: 24px;
}

.form-area dt .required::after {
  content: '必須';
  font-size: 11px;
  color: #eb4f32;
  margin-left: 10px;
  background-color: #f4dd64;
}

.form-area dd {
  width: calc(100% - 200px);
  padding: 15px 0;
}

.input-text {
  width: 100%;
  max-width: 280px;
  height: 40px;
  padding-left: 10px;
  padding-right: 10px;
 background-color: #ffffff;
}

.select-box {
  width: 200px;
  height: 40px;
  background-color: #ffffff;
}

.radio-button {
  display: block;
  margin-top: 20px;
}

.radio-button:first-child {
  margin-top: 0;
}

.radio-button input {
  margin-right: 8px;
}


.confirm-text {
  font-size: 14px;
  line-height: 22px;
  margin-top: 30px;
}

.submit-button {
  background-color: #f4dd64;
  display: inline-block;
  min-width: 180px;
  line-height: 48px;
  border-radius: 24px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  text-align: center;
  margin-top: 20px;
  cursor: pointer;
  border: none;
}

.submit-button:hover {
  background-color: #d8b500;
}



@media (max-width: 800px) {
  .map,
  .contact {
    width: 500px;
    margin-top: 45px;
    margin-bottom: 40px;
  }

  .form-area dt,
  .form-area dd {
    width: 100%;
  }

  .form-area dt {
    padding-bottom: 0;
  }

  .submit-button {
    width: 100%;
  }
}
/*foter
----------*/
.footer {
  background-color: #07a5ee;
}
.nav3 {
  background: #07a5ee;
  border-bottom: 5px solid #010205;
}
.nav3 ul {
  list-style: none;
  display: flex;
  justify-content: space-between;
  margin: 50px 100px 0 100px;
  padding: 20px 10px 0 10px;
}
.nav3 a {
  display: block;
  padding: 10px 20px;
  text-decoration: none;
  font-size: 23px;
  color: #ffffff;  
}
.nav3 li a:hover{
  background: #010303;
  border-radius: 10px 10px 0 0;
}


