/* =============================================
   Contact Form 7 スタイル（既存デザインに合わせる）
   ============================================= */

   p{
     margin-bottom: 40px;
   }

   .wpcf7-form label #text{
     margin-bottom: 8px;
   }

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ccc;
  background: #f5f5f5;
  font-size: 14px;
  transition: border-color 0.3s;
}

.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form textarea:focus {
  outline: none;
  border-color: #000;
}

.wpcf7-form .wpcf7-checkbox .wpcf7-list-item {
  display: inline-block;
  margin-right: 24px;
}

.wpcf7-list-item label{
  margin-right: 16px;
} 

span.wpcf7-list-item-label{
  margin-left: 6px;
}

.wpcf7-form input[type="submit"] {
  display: inline-block;
  padding: 14px 48px;
  background: #dddddd;
  color: #4e0000;
  border: none;
  font-size: 14px;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: 0.7s;
  border: solid 1px #4e0000;
}

.wpcf7-form input[type="submit"]:hover { 
  color: #fff;
  background-color: #4e0000;
}

.wpcf7-not-valid-tip {
   color: #e00; 
   font-size: 12px; 
   margin-top: 4px; 
   display: block; 
  }

.wpcf7-mail-sent-ok { 
  border-color: #000; 
  color: #000; 
}

.wpcf7-mail-sent-ng, .wpcf7-aborted { 
  border-color: #e00; 
  color: #e00; 
}


/* =============================================
   ニュース一覧
   ============================================= */
.news-list-wrap { 
  max-width: 900px; 
  margin: 0 auto; 
  padding: 60px 24px; 
}

.news-list { 
  list-style: none; 
  padding: 0; 
  margin: 0; 
}

.news-item { 
  border-bottom: 1px solid #e0e0e0; 
}

.news-item a {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
  color: inherit;
  text-decoration: none;
  transition: opacity 0.3s;
}
.news-item a:hover { 
  opacity: 0.6; 
}

.news-date { 
  font-size: 13px; 
  color: #999; 
  white-space: nowrap; 
  min-width: 80px; 
}

.news-cat { 
  font-size: 11px; 
  border: 1px solid #000; 
  padding: 2px 8px; 
  white-space: nowrap; 
  letter-spacing: 0.05em; 
}

.news-title { 
  font-size: 15px; 
  line-height: 1.6; 
}

.no-posts { text-align: center; padding: 60px 0; color: #999; }

/* ページネーション */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 48px; }
.pagination .page-numbers {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid #000;
  color: #000;
  font-size: 13px;
  transition: all 0.3s;
}
.pagination .page-numbers.current,
.pagination .page-numbers:hover { background: #000; color: #fff; }

/* =============================================
   ニュース詳細
   ============================================= */
.news-single-wrap { max-width: 900px; margin: 0 auto; padding: 60px 24px; }
.news-article-header { margin-bottom: 40px; }
.news-article-title { font-size: clamp(20px, 3vw, 28px); line-height: 1.5; margin: 16px 0; }
.news-thumbnail { margin-bottom: 40px; }
.news-thumbnail img { width: 100%; height: auto; }
.news-article-content { line-height: 2; font-size: 15px; }
.news-article-content p { margin-bottom: 24px; }
.news-article-content img { max-width: 100%; height: auto; }

/* 前後ナビ */
.news-post-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid #e0e0e0;
  gap: 16px;
}
.news-post-nav a { font-size: 13px; color: #000; text-decoration: none; transition: opacity 0.3s; }
.news-post-nav a:hover { opacity: 0.6; }
.back-to-list { padding: 10px 32px; border: 1px solid #000; white-space: nowrap; }

/* レスポンシブ */
@media (max-width: 768px) {
  .news-item a { flex-wrap: wrap; gap: 8px; }
  .news-post-nav { flex-direction: column; text-align: center; }
}
