body.page-contact main {
  background: #f2f2f2;
}

.check{
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 0.5rem;
		}
.check label {
  display: inline-flex;
  align-items: flex-start;
  cursor: pointer;
}
.check input[type="checkbox"] {
  margin-top: 0.25rem;
}
.check .fp {
  line-height: 1.6;
  font-size: calc(var(--text-base) * 0.85);
}
       .form-field {
      position: relative;
      margin: 32px 0;
   }

/* メールフォームのスタイル */
.contact-form {
max-width: 600px;
    margin: 3em 0em 3em 0em;
    padding: 0rem;
}

.contact-form h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 1.5rem;
}

.contact-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: calc(var(--text-base) * 0.95);
  line-height: 1.2;
}

.input-group-flex input {
    flex: 1; 
}
/* 入力フィールドとメッセージ欄を同じ横幅に設定 */

.contact-form input:not([type="checkbox"]),
.contact-form textarea {
  width: 100%;
  padding: 0.8rem;
  margin-bottom: 1rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-sizing: border-box; 
}
.contact-form input,
.contact-form textarea {
  font-size: var(--text-base);
}

/* テキストエリアのみ縦方向にリサイズ */
.contact-form textarea {
  resize: vertical;   
  min-height: 100px;    
  max-height: 300px;  
}

/* ボタン */

     .submit{
      display: inline-block;
      background-color: #000;
      color: #fff;
      font-family: Raleway, sans-serif;
      text-transform: uppercase;
      letter-spacing: 2px;
font-size: 1rem; 
      line-height: 24px;
      padding: 8px 16px;
      border: none;
      cursor: pointer;
          margin-bottom: 100px; 
            width: 30%;}
          

/* ===== abut ===== */
.content-center{
text-align: center;}

/* ライン */
.link_line {
    border-bottom: 1px dashed ;
  text-decoration-color: #000; 
  text-decoration-thickness: 1px;
  }