@charset "UTF-8";
/* WordPress 化にともなって必要になった分だけを足すスタイル。
   デモサイトから引き継いだ既存CSSは変更せず、ここで補う。 */

/* ── お知らせ記事 ───────────────────────────── */
.news-article-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  color: var(--ink-light);
  margin-bottom: 10px;
}
.news-article-meta time { font-variant-numeric: tabular-nums; }
.news-article-meta .cat {
  background: var(--red);
  color: #fff;
  font-size: 11.5px;
  padding: 3px 10px;
  border-radius: 4px;
}
.news-article-title {
  font-size: clamp(22px, 3.2vw, 30px);
  line-height: 1.55;
  margin: 0 0 24px;
}
.news-article-thumb { margin: 0 0 28px; }
.news-article-thumb img { width: 100%; height: auto; border-radius: var(--radius); }

.news-article-body { line-height: 2; }
.news-article-body > * + * { margin-top: 1.4em; }
.news-article-body h2 {
  font-size: 22px;
  margin-top: 2em;
  padding-left: 14px;
  border-left: 4px solid var(--red);
  line-height: 1.6;
}
.news-article-body h3 { font-size: 19px; margin-top: 1.8em; }
.news-article-body img { max-width: 100%; height: auto; border-radius: var(--radius); }
.news-article-body ul,
.news-article-body ol { padding-left: 1.4em; }
.news-article-body li + li { margin-top: .5em; }
.news-article-body blockquote {
  border-left: 3px solid #ddd;
  padding: 4px 0 4px 18px;
  color: var(--ink-light);
}
.news-article-body a { color: var(--red); }
.news-article-body table { width: 100%; border-collapse: collapse; }
.news-article-body th,
.news-article-body td { border: 1px solid #e6e0dc; padding: 10px 14px; }

.news-article-nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 44px;
  font-size: 14.5px;
}
.news-article-nav .next { margin-left: auto; text-align: right; }
.news-article-nav a { color: var(--ink); text-decoration: none; }
.news-article-nav a:hover { color: var(--red); }

/* ── ページ送り ───────────────────────────── */
.pagination,
.nav-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 40px;
}
.nav-links .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid #e0d9d4;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  font-size: 14.5px;
}
.nav-links .page-numbers:hover { border-color: var(--red); color: var(--red); }
.nav-links .page-numbers.current {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

/* ── お問い合わせフォーム ─────────────────────
   LINE 導線の .counsel-entry と同じ枠に収め、入力欄だけ左寄せにする。 */
.contact-form-entry {
  max-width: 960px;
  margin: 32px auto 70px;
  background: #fff;
  border: 1px solid #e4ded3;
  padding: 48px;
  text-align: center;
}
.contact-form-entry h2 {
  font-size: clamp(23px, 3vw, 32px);
  font-weight: 500;
  margin: 18px 0;
}
.contact-form-entry > p {
  font-size: 15px;
  color: #626c70;
  margin-bottom: 25px;
}
.contact-form-entry .form-box {
  text-align: left;
  max-width: 640px;
  padding: 0;
  box-shadow: none;
  border-radius: 0;
}
@media (max-width: 860px) {
  .contact-form-entry { padding: 32px 24px; }
}
@media (max-width: 560px) {
  .contact-form-entry { padding: 30px 20px; }
  .contact-form-entry > p { font-size: 14px; }
}

/* Contact Form 7 を既存の .form-row デザインに合わせる */
.wpcf7 .wpcf7-form-control-wrap { display: block; }
.wpcf7 input[type=text],
.wpcf7 input[type=email],
.wpcf7 input[type=tel],
.wpcf7 select,
.wpcf7 textarea { font-family: inherit; }

.form-row .wpcf7-radio,
.form-row .wpcf7-checkbox {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.form-row .wpcf7-list-item { margin: 0; }
.form-row .wpcf7-list-item label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  font-weight: 600;
  cursor: pointer;
}
.form-row .wpcf7-list-item input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--red);
}

.wpcf7 .wpcf7-not-valid-tip {
  color: var(--red);
  font-size: 13.5px;
  margin-top: 6px;
}
.wpcf7 .wpcf7-response-output {
  margin: 24px 0 0;
  padding: 14px 18px;
  border-radius: 8px;
  border: 1px solid #e0d9d4;
  font-size: 14.5px;
  line-height: 1.8;
  text-align: left;
}
.wpcf7 form.sent .wpcf7-response-output { border-color: #5d9c6a; background: #f2f9f3; }
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output { border-color: var(--red); background: #fdf3f3; }
.wpcf7-spinner { display: block; margin: 14px auto 0; }

.form-submit input[type=submit],
.form-submit button[type=submit] {
  width: 100%;
  max-width: 380px;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

/* プライバシーポリシー同意は1行で中央に */
.form-consent { text-align: center; margin-top: 28px; }
.form-consent .wpcf7-list-item label { justify-content: center; align-items: center; }

/* ── 管理バー表示時にヘッダーが隠れないように ─────
   .header と .page-menu はどちらも position: sticky。 */
body.admin-bar .header { top: 32px; }
body.admin-bar .page-menu { top: 108px; }
@media screen and (max-width: 782px) {
  body.admin-bar .header { top: 46px; }
  body.admin-bar .page-menu { top: 122px; }
}
