/* ==========================================
   基本設定
   ========================================== */

/*------------　フォーム　------------*/

.page-contact p{
   margin-bottom: 1rem;
}

.page-contact small{
   color: #ff0000;
}

.page-contact dl>div{
   display: flex;
}

.page-contact dl>div dt{
   width: 16rem;
   flex-shrink: 0;
   padding: 16px;
   text-align: left;
    
    background-color: #d7f2ff;
    border-bottom: 2px solid #fff;
}

.page-contact dl>div dd{

   flex-grow: 1;
   padding: 16px;
   text-align: left;
    
    border-right-width: 1px;
    border-right-style: none;
    border-right-color: #808080;
    border-bottom-width: 1px;
    border-bottom-style: none;
    border-bottom-color: #808080;
}

.page-contact input[type="text"],
.page-contact input[type="tel"],
.page-contact input[type="email"],
.page-contact textarea {
  border: 1px solid #000;
  outline: none; /* フォーカス時のデフォルト枠線の重複を防ぐ */
  padding: 8px;
  width: 100%;
}

.page-contact dd label{
   display: block;
   margin-bottom: 16px;
}

/* ボタンの親囲み */
.form-btn-group {
  display: flex;
  justify-content: space-around;
  margin-top: 32px;
}

.form-btn-group input{
   background-color: #ccc;
   display: inline-flex;
   align-items: center;
   justify-content: center;
   width: 204px;
   min-height: 60px;
   font-size: 1.25rem;
   font-weight: bold;
   text-decoration: none;
   color: #333;
   font-weight: normal;
   border-radius: 4px;
   cursor: pointer;
   transition: background-color 0.2s ease;
}

.form-btn-group input:hover, .form-btn-group input:focus-visible {
    background-color: #555;
    color: #ffffff;
    border-color: #555;
}


/* ==========================================
   タブレットサイズ以上 (1024px ~)
   ========================================== */

@media (min-width: 1024px) {

}

/* ==========================================
   モバイルサイズ以上 / Desktop Small (768px ~)
   ========================================== */

@media (min-width: 768px) {

}

/* ==========================================
   タブレットサイズ以下 (1024px ~)
   ========================================== */

@media (max-width: 1023px) {

}

/* ==========================================
   モバイルサイズ以下 (1024px ~)
   ========================================== */

@media (max-width: 767px) {

   .page-contact dl>div{
      flex-wrap: wrap;
   }

   .page-contact dl>div dt{
      width: 100%;
   }
   
   .page-contact dl>div dd{
      width: 100%;
   }

   .page-contact input[type="text"],
   .page-contact input[type="tel"],
   .page-contact input[type="email"],
   .page-contact textarea {
    
      width: 100%;

   }

   .form-btn-group input{
      width: auto;
      padding: 16px;
   }


}