/* =============================================================
   お問い合わせページ用CSS
   aun/reset → aun/top → aun/contact の順で読み込まれる
   ============================================================= */

/* ページレイアウト */
.apply-head {
  padding: 4rem 0;
  background: #F8F8F8;
}

.apply-head__title {
  font-size: 2.6rem;
  font-weight: bold;
  border-left: 4px solid #346AD0;
  padding-left: 2rem;
  box-sizing: border-box;
  line-height: 1;
  margin-bottom: 4rem;
}

@media (max-width: 768px) {
  .apply-head__title {
    font-size: 2rem;
  }
}

.apply-contents {
  padding-bottom: 9rem;
  background: #F8F8F8;
}

/* フォーム共通スタイル（layout.cssから必要な部分を抽出） */
.apply-set {
  width: 90%;
  margin: 0 auto;
}

.apply-inner {
  width: 90%;
  margin: 0 auto;
}

.apply-set__wrap {
  display: flex;
}
@media (max-width: 768px) {
  .apply-set__wrap {
    display: block;
  }
}

.apply-set__detail {
  width: 49%;
  margin-right: 1rem;
  margin-bottom: 3rem;
}
@media (max-width: 768px) {
  .apply-set__detail {
    width: 100%;
  }
}

.apply-set__detail--long {
  width: 100%;
}

.apply-set__detail:last-child {
  margin-right: 0;
}

.apply-set__detail--label {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: .8rem;
}

.apply-set__detail--icon {
  background: #A81D2C;
  margin: 0 0 0 1rem;
  color: #fff;
  font-size: 1.4rem;
  padding: .3rem .4rem;
  font-weight: normal;
}

.apply-set__detail--icon-nini {
  background: #A8A8A8;
}

.apply-set__detail--input {
  padding: 1.5rem 1rem;
  box-sizing: border-box;
  border: 1px solid #BFBFBF;
  border-radius: 4px;
  width: 100%;
  font-size: 1.6rem;
  margin-bottom: .5rem;
}

.apply-set__detail--min {
  font-size: 1.4rem;
  color: #e53e3e;
  margin-top: 0.4rem;
}

.apply-set__detail--textarea {
  padding: 1.5rem 1rem;
  box-sizing: border-box;
  border: 1px solid #BFBFBF;
  border-radius: 4px;
  width: 100%;
  font-size: 1.6rem;
  margin-bottom: .5rem;
  height: 160px;
}

/* セレクトボックス */
.apply-set__detail--select-wrap {
  position: relative;
  width: 100%;
  margin-bottom: .5rem;
}

.apply-set__detail--select {
  -webkit-appearance: none;
  appearance: none;
  padding: 1.5rem 1rem;
  box-sizing: border-box;
  border: 1px solid #BFBFBF;
  border-radius: 4px;
  width: 100%;
  font-size: 1.6rem;
  background: #fff;
  color: #474747;
  cursor: pointer;
}

.apply-set__detail--select-wrap::before {
  content: "";
  position: absolute;
  right: 15px;
  top: 20px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 7px 5px 0 5px;
  border-color: #BFBFBF transparent transparent transparent;
  pointer-events: none;
}

/* ボタン */
.apply-set__detail--btnbox {
  box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.1);
  width: 90%;
  margin: 2rem auto 0;
  max-width: 370px;
  position: relative;
}

@media (max-width: 768px) {
  .apply-set__detail--btnbox {
    width: 100%;
  }
}

.apply-set__detail--btn {
  background: #346AD0;
  color: #fff;
  padding: 1.5rem 0;
  border-radius: 4px;
  display: block;
  width: 100%;
  border: none;
  font-size: 1.6rem;
  font-weight: bold;
  cursor: pointer;
  border: 1px solid transparent;
}

.apply-set__detail--btn:hover {
  opacity: 0.8;
}

/* Thanks ページ */
.apply-set__thanks {
  text-align: center;
  font-size: 2.6rem;
  font-weight: bold;
  margin-bottom: 3rem;
}

.apply-set__thanks--text {
  text-align: center;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .apply-set__thanks--text {
    font-size: 1.5rem;
  }
}

/* Thanksページのボタン */
.apply-btn {
  margin-top: 3rem;
}

.apply-btn__send {
  display: inline-block;
  background: #346AD0;
  color: #fff;
  padding: 1.5rem 3rem;
  border-radius: 4px;
  font-size: 1.6rem;
  font-weight: bold;
  text-decoration: none;
  transition: opacity 0.3s;
}

.apply-btn__send:hover {
  opacity: 0.8;
}

/* エラー表示 */
.form-errors {
  background-color: #fee;
  padding: 1rem;
  margin-bottom: 1.5rem;
  border-radius: 4px;
}

.form-errors p {
  color: #c00;
}

/* お問い合わせページ固有のスタイル */
.contact-page {
  padding: 4rem 0 6rem;
  background: #f8f9fa;
}

@media (max-width: 768px) {
  .contact-page {
    padding: 2rem 0 4rem;
  }
}

.contact-title {
  text-align: center;
  font-size: 3.2rem;
  font-weight: bold;
  margin-bottom: 2rem;
  color: #346AD0;
}

@media (max-width: 768px) {
  .contact-title {
    font-size: 2.4rem;
  }
}

.contact-form-wrap {
  background: #fff;
  padding: 3rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  max-width: 800px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .contact-form-wrap {
    padding: 2rem 1rem;
  }
}

/* 規約リンク */
.contact-terms {
  text-align: center;
  padding: 1.5rem 0;
  font-size: 0.875rem;
  color: #666;
}

.contact-terms a {
  color: #0066cc;
  text-decoration: underline;
}

.contact-terms a:hover {
  text-decoration: none;
}
