/* ============================================================
   Sub Page Common Styles
   株式会社リード – サブページ共通スタイル
   ============================================================ */

/* ─── Page Hero ─────────────────────────────────────────── */
.page-hero {
  position: relative;
  background: #2c5a2f;
  color: #fff;
  padding: 80px 0 70px;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(168,197,160,0.15) 0%, transparent 60%);
}
.page-hero::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  border: 1px solid rgba(168,197,160,0.12);
}
.page-hero-inner {
  position: relative;
  z-index: 1;
}
.page-hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.page-hero-eyebrow .eyebrow-line {
  width: 40px;
  height: 1px;
  background: #A8C5A0;
}
.page-hero-eyebrow span {
  font-size: 11px;
  letter-spacing: 0.28em;
  color: #A8C5A0;
  text-transform: uppercase;
  font-weight: 400;
}
.page-hero-title {
  font-family: "Noto Serif JP", serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.04em;
  line-height: 1.4;
  margin-bottom: 16px;
}
.page-hero-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.06em;
  font-weight: 300;
  line-height: 1.8;
  max-width: 500px;
}

/* ─── Breadcrumb ─────────────────────────────────────────── */
.breadcrumb {
  background: #F2EFE9;
  border-bottom: 1px solid #E8E2D8;
  padding: 13px 0;
}
.breadcrumb-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #9A9A90;
  letter-spacing: 0.06em;
}
.breadcrumb-inner a {
  color: #6B8F5E;
  text-decoration: none;
  transition: color 0.2s;
}
.breadcrumb-inner a:hover { color: #2c5a2f; }
.breadcrumb-sep { color: #C8C4BC; }

/* ─── 経営理念バンド（テンプレート固定） ─────────────────── */
.philosophy-band {
  background: #2c5a2f;
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}
.philosophy-band::after {
  content: "";
  position: absolute;
  right: -100px;
  bottom: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  border: 1px solid rgba(168,197,160,0.1);
}
.philosophy-band-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
}
.philosophy-band-label {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}
.philosophy-band-label span {
  font-size: 11px;
  letter-spacing: 0.25em;
  color: #A8C5A0;
  text-transform: uppercase;
}
.philosophy-band-text {
  font-family: "Noto Serif JP", serif;
  font-size: clamp(18px, 2.5vw, 28px);
  font-weight: 600;
  color: #fff;
  line-height: 2;
  letter-spacing: 0.06em;
  margin-bottom: 24px;
}
.philosophy-band-text em {
  color: #D4B483;
  font-style: normal;
}
.philosophy-band-sub {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  line-height: 2;
  font-weight: 300;
  letter-spacing: 0.04em;
}

/* ─── アクセスセクション（テンプレート固定） ─────────────── */
.page-access {
  padding: 80px 0;
  background: #FAFAF8;
}
.access-map {
  width: 100%;
  aspect-ratio: 16 / 5;
  background: #E8E2D8;
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 24px;
}
@media (max-width: 600px) {
  .access-map { aspect-ratio: 4 / 3; }
}
.access-address {
  font-size: 13px;
  color: #5A5A54;
  line-height: 2;
  letter-spacing: 0.04em;
}

/* ─── CTAバンド（テンプレート固定） ─────────────────────── */
.page-cta-band {
  background: #F5F8F5;
  border-top: 1px solid #D4E8D0;
  border-bottom: 1px solid #D4E8D0;
  padding: 64px 0;
}
.page-cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.page-cta-band-title {
  font-family: "Noto Serif JP", serif;
  font-size: 22px;
  font-weight: 600;
  color: #2c5a2f;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.page-cta-band-sub {
  font-size: 13px;
  color: #7A7A72;
  letter-spacing: 0.04em;
}
.page-cta-band-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ─── Page Layout ─────────────────────────────────────────── */
.page-wrap {
  padding: 72px 0 80px;
}
@media (max-width: 600px) {
  .page-wrap { padding: 48px 0 60px; }
}

/* ─── Fixed page max-width ────────────────────────────────── */
.fixed-page-content {
  max-width: 840px;
}

/* ─── Content + Sidebar Grid ─────────────────────────────── */
.content-sidebar-wrap {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 64px;
  align-items: start;
}
@media (max-width: 960px) {
  .content-sidebar-wrap {
    grid-template-columns: 1fr;
    gap: 56px;
  }
}

/* ============================================================
   ENTRY CONTENT
   WordPress の the_content() / Gutenbergブロックが出力する
   標準HTMLタグをスタイリングする
   ============================================================ */
.entry-content {
  font-size: 15px;
  line-height: 2;
  color: #3A3A34;
  letter-spacing: 0.04em;
}

/* 見出し h2 */
.entry-content h2 {
  font-family: "Noto Serif JP", serif;
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 600;
  color: #2c5a2f;
  letter-spacing: 0.05em;
  line-height: 1.6;
  margin: 64px 0 28px;
  padding-bottom: 14px;
  border-bottom: 1px solid #D4E8D0;
  position: relative;
}
.entry-content h2::before {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 48px;
  height: 2px;
  background: #B8965A;
}
/* 最初のh2は上マージン不要 */
.entry-content h2:first-child {
  margin-top: 0;
}

/* 見出し h3 */
.entry-content h3 {
  font-family: "Noto Serif JP", serif;
  font-size: clamp(15px, 1.8vw, 18px);
  font-weight: 600;
  color: #1A1A18;
  letter-spacing: 0.04em;
  line-height: 1.65;
  margin: 48px 0 16px;
  padding-left: 14px;
  border-left: 3px solid #A8C5A0;
}

/* 段落 */
.entry-content p {
  margin-bottom: 24px;
}
.entry-content p:last-child {
  margin-bottom: 0;
}

/* リスト */
.entry-content ul,
.entry-content ol {
  margin: 0 0 28px 0;
  padding-left: 0;
  list-style: none;
}
.entry-content ul li,
.entry-content ol li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  line-height: 1.9;
}
.entry-content ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #A8C5A0;
}
.entry-content ol {
  counter-reset: ol-counter;
}
.entry-content ol li {
  counter-increment: ol-counter;
}
.entry-content ol li::before {
  content: counter(ol-counter);
  position: absolute;
  left: 0;
  top: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 14px;
  color: #B8965A;
  font-weight: 500;
}

/* 引用 */
.entry-content blockquote {
  border-left: 3px solid #A8C5A0;
  background: #F5F8F5;
  padding: 24px 28px;
  margin: 32px 0;
  color: #5A5A54;
  font-size: 14px;
  line-height: 2;
}

/* 画像 */
.entry-content img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 2px;
  margin: 0 0 28px;
}

/* ─── テーブル（会社情報・沿革など） ────────────────────── */
/* Gutenbergのテーブルブロック・通常の table 両対応 */
.entry-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  letter-spacing: 0.04em;
  margin: 0 0 48px;
  line-height: 1.85;
}
.entry-content table th,
.entry-content table td {
  padding: 18px 24px;
  text-align: left;
  border-bottom: 1px solid #E8E2D8;
  vertical-align: top;
}
.entry-content table th {
  width: 200px;
  min-width: 120px;
  font-weight: 500;
  color: #2c5a2f;
  background: #F5F8F5;
  font-size: 13px;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.entry-content table td {
  color: #3A3A34;
}
/* ストライプテーブル（Gutenbergの is-style-stripes） */
.entry-content table.is-style-stripes tbody tr:nth-child(odd) td,
.entry-content table.is-style-stripes tbody tr:nth-child(odd) th {
  background: #F5F8F5;
}
.entry-content table.is-style-stripes tbody tr:nth-child(even) td,
.entry-content table.is-style-stripes tbody tr:nth-child(even) th {
  background: #fff;
}
/* 罫線スタイル */
.entry-content table thead th {
  background: #2c5a2f;
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.1em;
  border-bottom: 2px solid #2c5a2f;
}
@media (max-width: 600px) {
  .entry-content table,
  .entry-content table tbody,
  .entry-content table tr,
  .entry-content table th,
  .entry-content table td {
    display: block;
    width: 100%;
  }
  .entry-content table th {
    white-space: normal;
    padding-bottom: 6px;
    border-bottom: none;
    background: #F5F8F5;
  }
  .entry-content table td {
    padding-top: 8px;
  }
}

/* ─── Sidebar ─────────────────────────────────────────────── */
.sidebar {
  position: sticky;
  top: 90px;
}
@media (max-width: 960px) {
  .sidebar { position: static; }
}
.sidebar-widget {
  margin-bottom: 40px;
}
.sidebar-widget:last-child { margin-bottom: 0; }

.sidebar-widget-title {
  font-family: "Noto Serif JP", serif;
  font-size: 13px;
  font-weight: 600;
  color: #2c5a2f;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding-bottom: 12px;
  border-bottom: 1px solid #E8E2D8;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.sidebar-widget-title::before {
  content: "";
  display: block;
  width: 3px;
  height: 14px;
  background: #B8965A;
  border-radius: 2px;
  flex-shrink: 0;
}

/* カテゴリ */
.sidebar-cat-list { list-style: none; }
.sidebar-cat-list li { border-bottom: 1px solid #F0EDE7; }
.sidebar-cat-list li:last-child { border-bottom: none; }
.sidebar-cat-list li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  font-size: 13px;
  color: #5A5A54;
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.2s, padding-left 0.25s;
}
.sidebar-cat-list li a:hover {
  color: #2c5a2f;
  padding-left: 6px;
}
.sidebar-cat-list li a .cat-count {
  font-size: 11px;
  color: #A8C5A0;
  font-family: "Cormorant Garamond", serif;
}

/* 最新記事 */
.sidebar-recent-list { list-style: none; }
.sidebar-recent-list li {
  padding: 14px 0;
  border-bottom: 1px solid #F0EDE7;
}
.sidebar-recent-list li:last-child { border-bottom: none; }
.sidebar-recent-list li a {
  display: block;
  text-decoration: none;
  color: inherit;
}
.sidebar-recent-list li a:hover .recent-title { color: #2c5a2f; }
.recent-date {
  font-size: 11px;
  color: #B8965A;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
  font-family: "Cormorant Garamond", serif;
}
.recent-title {
  font-size: 13px;
  line-height: 1.6;
  color: #3A3A34;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}

/* CTAバナー（サイドバー内） */
.sidebar-banner {
  background: #2c5a2f;
  color: #fff;
  padding: 28px 24px;
  border-radius: 2px;
  text-decoration: none;
  display: block;
  transition: background 0.3s;
}
.sidebar-banner:hover { background: #3D6B40; }
.sidebar-banner-label {
  font-size: 10px;
  letter-spacing: 0.2em;
  color: #A8C5A0;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.sidebar-banner-title {
  font-family: "Noto Serif JP", serif;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.5;
}
.sidebar-banner-link {
  font-size: 12px;
  color: #D4B483;
  letter-spacing: 0.06em;
}

/* ─── Archive: News List ─────────────────────────────────── */
.news-list { list-style: none; }
.news-list-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 28px;
  padding: 32px 0;
  border-bottom: 1px solid #E8E2D8;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s;
}
.news-list-item:first-child { padding-top: 0; }
.news-list-item:hover { opacity: 0.75; }
@media (max-width: 600px) {
  .news-list-item {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}
.news-list-thumb {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #E8E2D8;
  border-radius: 2px;
}
.news-list-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.news-list-item:hover .news-list-thumb img { transform: scale(1.04); }
.news-list-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.news-list-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.news-list-date {
  font-size: 12px;
  color: #B8965A;
  letter-spacing: 0.08em;
  font-family: "Cormorant Garamond", serif;
}
.news-list-cat {
  font-size: 11px;
  background: #EEF5ED;
  color: #4A7A4D;
  padding: 3px 10px;
  letter-spacing: 0.06em;
  border-radius: 2px;
}
.news-list-title {
  font-family: "Noto Serif JP", serif;
  font-size: 17px;
  font-weight: 600;
  color: #1A1A18;
  line-height: 1.65;
  margin-bottom: 10px;
  letter-spacing: 0.03em;
}
.news-list-excerpt {
  font-size: 13px;
  color: #7A7A72;
  line-height: 1.8;
  letter-spacing: 0.03em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-list-more {
  font-size: 12px;
  color: #6B8F5E;
  letter-spacing: 0.06em;
  margin-top: 12px;
}

/* ─── Pagination ─────────────────────────────────────────── */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 56px;
}
.pager-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: #5A5A54;
  text-decoration: none;
  border: 1px solid #E8E2D8;
  border-radius: 2px;
  transition: all 0.2s;
}
.pager-btn:hover,
.pager-btn.is-current {
  background: #2c5a2f;
  border-color: #2c5a2f;
  color: #fff;
}
.pager-dots {
  color: #C0BDB6;
  font-size: 13px;
  padding: 0 4px;
}

/* ─── Single Article ─────────────────────────────────────── */
.article-header {
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid #E8E2D8;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.article-date {
  font-size: 12px;
  color: #B8965A;
  letter-spacing: 0.1em;
  font-family: "Cormorant Garamond", serif;
}
.article-cat {
  font-size: 11px;
  background: #EEF5ED;
  color: #4A7A4D;
  padding: 4px 12px;
  letter-spacing: 0.06em;
  border-radius: 2px;
}
.article-title {
  font-family: "Noto Serif JP", serif;
  font-size: clamp(20px, 3vw, 32px);
  font-weight: 600;
  color: #1A1A18;
  line-height: 1.6;
  letter-spacing: 0.04em;
}
.article-eyecatch {
  margin-bottom: 48px;
  border-radius: 2px;
  overflow: hidden;
}
.article-eyecatch img {
  width: 100%;
  display: block;
  aspect-ratio: 16/7;
  object-fit: cover;
}

/* 記事本文 = entry-content を適用
   .article-body は WordPress化後 .entry-content に統合 */
.article-body,
.entry-content {
  font-size: 15px;
  line-height: 2;
  color: #3A3A34;
  letter-spacing: 0.04em;
}

.article-footer {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid #E8E2D8;
}
.article-footer-nav {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}
@media (max-width: 600px) {
  .article-footer-nav { flex-direction: column; }
}
.article-nav-btn {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-decoration: none;
  flex: 1;
  padding: 20px 0;
}
.article-nav-btn.prev { align-items: flex-start; }
.article-nav-btn.next { align-items: flex-end; text-align: right; }
.article-nav-label {
  font-size: 11px;
  color: #A8C5A0;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.article-nav-title {
  font-size: 13px;
  color: #3A3A34;
  line-height: 1.6;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}
.article-nav-btn:hover .article-nav-title { color: #2c5a2f; }
.article-back-btn {
  text-align: center;
  margin-top: 40px;
}

/* ─── Related Articles ───────────────────────────────────── */
.related-section {
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid #E8E2D8;
}
.related-title {
  font-family: "Noto Serif JP", serif;
  font-size: 16px;
  font-weight: 600;
  color: #2c5a2f;
  letter-spacing: 0.08em;
  margin-bottom: 32px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 700px) {
  .related-grid { grid-template-columns: 1fr; gap: 20px; }
}
.related-card {
  text-decoration: none;
  display: block;
  color: inherit;
  transition: opacity 0.2s;
}
.related-card:hover { opacity: 0.75; }
.related-thumb {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #E8E2D8;
  margin-bottom: 12px;
  border-radius: 2px;
}
.related-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.related-card:hover .related-thumb img { transform: scale(1.05); }
.related-meta {
  font-size: 11px;
  color: #B8965A;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
  font-family: "Cormorant Garamond", serif;
}
.related-card-title {
  font-size: 13px;
  color: #1A1A18;
  line-height: 1.65;
  letter-spacing: 0.03em;
  font-weight: 500;
}

/* ─── Reveal Animation ───────────────────────────────────── */
.reveal.hidden {
  opacity: 0;
  transform: translateY(24px);
}
.reveal.animate-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.65s ease, transform 0.65s ease;
}

/* ─── アーカイブ カテゴリフィルター ──────────────────── */
.archive-cat-filter {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid #E8E2D8;
}
.cat-filter-btn {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: #5A5A54;
  border: 1px solid #E8E2D8;
  padding: 8px 18px;
  border-radius: 2px;
  text-decoration: none;
  transition: all 0.2s;
}
.cat-filter-btn:hover,
.cat-filter-btn.is-active {
  background: #2c5a2f;
  border-color: #2c5a2f;
  color: #fff;
}

/* ─── WP paginate_links のリスト形式に対応 ─────────── */
.pagination .page-numbers {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
}
.pagination .page-numbers li a,
.pagination .page-numbers li span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: #5A5A54;
  text-decoration: none;
  border: 1px solid #E8E2D8;
  border-radius: 2px;
  transition: all 0.2s;
}
.pagination .page-numbers li a:hover,
.pagination .page-numbers li span.current {
  background: #2c5a2f;
  border-color: #2c5a2f;
  color: #fff;
}
.pagination .page-numbers li span.dots {
  border: none;
  color: #C0BDB6;
  width: auto;
  padding: 0 4px;
}

/* =========================
   Contact Form 7 見やすいCSS
   ========================= */

.wpcf7 {
  max-width: 760px;
  margin: 0 auto;
}

.wpcf7 form {
  display: grid;
  gap: 20px;
}

.wpcf7 p {
  margin: 0;
}

.wpcf7 label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.7;
  color: #222;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 input[type="date"],
.wpcf7 input[type="number"],
.wpcf7 select,
.wpcf7 textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #d8d8d8;
  border-radius: 10px;
  background: #fff;
  font-size: 16px;
  line-height: 1.6;
  color: #222;
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  appearance: none;
}

.wpcf7 textarea {
  min-height: 180px;
  resize: vertical;
}

.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder {
  color: #999;
}

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 input[type="url"]:focus,
.wpcf7 input[type="date"]:focus,
.wpcf7 input[type="number"]:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
  outline: none;
  border-color: #222;
  box-shadow: 0 0 0 3px rgba(34, 34, 34, 0.08);
}

/* 任意項目・必須項目の見やすさ */
.wpcf7 .required,
.wpcf7 .must {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #e60012;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  vertical-align: middle;
}

.wpcf7 .optional {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #f1f1f1;
  color: #666;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  vertical-align: middle;
}

/* チェックボックス・ラジオ */
.wpcf7 .wpcf7-list-item {
  display: block;
  margin: 0 0 10px 0;
}

.wpcf7 .wpcf7-list-item label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 0;
  font-weight: 400;
  cursor: pointer;
}

.wpcf7 input[type="checkbox"],
.wpcf7 input[type="radio"] {
  margin-top: 3px;
}

/* 送信ボタン */
.wpcf7 input[type="submit"],
.wpcf7 button,
.wpcf7 .wpcf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  padding: 16px 24px;
  border: none;
  border-radius: 999px;
  background: #222;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.wpcf7 input[type="submit"]:hover,
.wpcf7 button:hover,
.wpcf7 .wpcf7-submit:hover {
  opacity: 0.9;
}

.wpcf7 input[type="submit"]:active,
.wpcf7 button:active,
.wpcf7 .wpcf7-submit:active {
  transform: translateY(1px);
}

.wpcf7 .wpcf7-spinner {
  margin: 12px 0 0 10px;
}

/* エラーメッセージ */
.wpcf7-not-valid-tip {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.6;
  color: #d93025;
}

.wpcf7 .wpcf7-not-valid {
  border-color: #d93025;
  background: #fff8f8;
}

/* 送信結果メッセージ */
.wpcf7 form .wpcf7-response-output {
  margin: 0;
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.7;
}

.wpcf7 form.sent .wpcf7-response-output {
  border: 1px solid #b7dfc6;
  background: #f3fbf6;
  color: #1f6b3b;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
  border: 1px solid #f1c2c2;
  background: #fff7f7;
  color: #b42318;
}

/* 確認事項などの囲み */
.wpcf7 .form-note {
  padding: 16px;
  border-radius: 10px;
  background: #f8f8f8;
  font-size: 14px;
  line-height: 1.8;
  color: #555;
}

/* 2カラムにしたい時用 */
.wpcf7 .form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* スマホ対応 */
@media (max-width: 767px) {
  .wpcf7 label {
    font-size: 14px;
  }

  .wpcf7 input[type="text"],
  .wpcf7 input[type="email"],
  .wpcf7 input[type="tel"],
  .wpcf7 input[type="url"],
  .wpcf7 input[type="date"],
  .wpcf7 input[type="number"],
  .wpcf7 select,
  .wpcf7 textarea {
    padding: 13px 14px;
    font-size: 16px;
  }

  .wpcf7 .form-grid-2 {
    grid-template-columns: 1fr;
  }

  .wpcf7 input[type="submit"],
  .wpcf7 button,
  .wpcf7 .wpcf7-submit {
    width: 100%;
    min-width: 0;
  }
}