/*
Theme Name: TM Consulting
Description: TMコンサルティング 中小企業診断士事務所 公式サイト
Version: 1.0
Author: TM Consulting
*/

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700&display=swap');

/* ===================================
   CSS Variables
=================================== */
:root {
  --navy:        #1e3a5f;
  --navy-dark:   #132540;
  --navy-light:  #2a4d7a;
  --gold:        #c8950a;
  --gold-light:  #e8b422;
  --gray-light:  #f5f7fa;
  --gray-mid:    #e2e8f0;
  --text:        #2d3748;
  --text-light:  #718096;
  --white:       #ffffff;
  --shadow:      0 2px 20px rgba(0,0,0,0.08);
  --shadow-hover:0 8px 30px rgba(0,0,0,0.14);
  --radius:      8px;
  --trans:       0.3s ease;
}

/* ===================================
   Reset & Base
=================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans JP', 'Yu Gothic', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
  color: var(--text);
  line-height: 1.8;
  background: var(--white);
  font-size: 16px;
}
a { color: var(--navy); text-decoration: none; transition: color var(--trans); }
a:hover { color: var(--gold); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
h1,h2,h3,h4 { line-height: 1.4; }

/* ===================================
   Layout Helpers
=================================== */
.container  { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 820px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 80px 0; }
.section--gray { background: var(--gray-light); }
.section--navy { background: var(--navy); }
.section--dark { background: var(--navy-dark); }

/* ===================================
   Section Header
=================================== */
.section-header { text-align: center; margin-bottom: 56px; }
.section-header--left { text-align: left; }
.section-header__label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.section-header__title {
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
}
.section--navy .section-header__title,
.section--dark .section-header__title { color: var(--white); }
.section-header__title::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--gold);
  margin: 14px auto 0;
}
.section-header--left .section-header__title::after { margin-left: 0; }
.section-header__desc {
  font-size: 0.95rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}
.section--navy .section-header__desc,
.section--dark .section-header__desc { color: rgba(255,255,255,0.72); }

/* ===================================
   Site Header / Navigation
=================================== */
.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.site-logo { display: flex; flex-direction: column; }
.site-logo__name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.1em;
}
.site-logo__sub {
  font-size: 0.62rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.06em;
  margin-top: 1px;
}
.site-nav ul { display: flex; gap: 28px; align-items: center; }
.site-nav a {
  color: rgba(255,255,255,0.8);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: all var(--trans);
}
.site-nav a:hover { color: var(--gold-light); border-bottom-color: var(--gold); }
.site-nav a.is-active { color: var(--gold-light); border-bottom-color: var(--gold); }
.site-nav .nav-cta {
  background: var(--gold);
  color: var(--white) !important;
  padding: 8px 20px !important;
  border-radius: 4px;
  border-bottom: none !important;
}
.site-nav .nav-cta:hover { background: var(--gold-light); }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--trans);
}

/* ===================================
   Buttons
=================================== */
.btn {
  display: inline-block;
  padding: 13px 30px;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all var(--trans);
  border: 2px solid transparent;
  text-align: center;
  text-decoration: none;
}
.btn--primary {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn--primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200,149,10,0.35);
}
.btn--outline-white {
  border-color: rgba(255,255,255,0.8);
  color: var(--white);
  background: transparent;
}
.btn--outline-white:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}
.btn--navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn--navy:hover {
  background: var(--navy-dark);
  border-color: var(--navy-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(30,58,95,0.3);
}
.btn--white {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
  font-weight: 700;
}
.btn--white:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

/* ===================================
   Hero Section
=================================== */
.hero {
  background: linear-gradient(140deg, var(--navy-dark) 0%, var(--navy) 55%, var(--navy-light) 100%);
  color: var(--white);
  padding: 96px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero__deco1, .hero__deco2 {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero__deco1 {
  width: 560px; height: 560px;
  border: 1.5px solid rgba(200,149,10,0.12);
  top: -140px; right: -120px;
}
.hero__deco2 {
  width: 360px; height: 360px;
  border: 1px solid rgba(255,255,255,0.05);
  bottom: -100px; left: -60px;
}
.hero__inner { position: relative; z-index: 1; text-align: center; }
.hero__badge {
  display: inline-block;
  background: rgba(200,149,10,0.14);
  border: 1px solid rgba(200,149,10,0.4);
  color: var(--gold-light);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  padding: 6px 22px;
  border-radius: 100px;
  margin-bottom: 28px;
}
.hero__title {
  font-size: clamp(1.9rem, 4.5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.55;
  margin-bottom: 24px;
  letter-spacing: 0.04em;
}
.hero__title em {
  font-style: normal;
  color: var(--gold-light);
}
.hero__desc {
  font-size: clamp(0.9rem, 1.4vw, 1.05rem);
  color: rgba(255,255,255,0.78);
  max-width: 580px;
  margin: 0 auto 40px;
  line-height: 2;
}
.hero__buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero__stats {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.hero__stat {
  text-align: center;
  padding: 0 36px;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.hero__stat:last-child { border-right: none; }
.hero__stat-num {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 6px;
}
.hero__stat-label {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
}

/* ===================================
   Service Cards
=================================== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  transition: transform var(--trans), box-shadow var(--trans);
  border-top: 4px solid var(--gold);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.card__icon {
  width: 58px; height: 58px;
  background: rgba(30,58,95,0.07);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
}
.card__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}
.card__desc { font-size: 0.875rem; color: var(--text-light); line-height: 1.85; }

/* ===================================
   About Section (Top Page)
=================================== */
.about-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 64px;
  align-items: center;
}
.about__photo {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--gray-mid);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.about__photo-placeholder {
  text-align: center;
  color: #aaa;
}
.about__photo-placeholder .icon { font-size: 4rem; display: block; margin-bottom: 8px; }
.about__photo-placeholder span { font-size: 0.75rem; }
.about__name {
  font-size: 2rem; font-weight: 700;
  color: var(--navy); margin-bottom: 2px;
}
.about__name-en {
  font-size: 0.85rem; color: var(--text-light);
  letter-spacing: 0.12em; margin-bottom: 20px;
}
.about__badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.about__badge {
  background: var(--navy);
  color: var(--white);
  font-size: 0.72rem;
  padding: 4px 12px;
  border-radius: 100px;
}
.about__desc { font-size: 0.9rem; color: var(--text); line-height: 1.95; margin-bottom: 12px; }

/* ===================================
   Credentials Bar
=================================== */
.credentials-bar { background: var(--navy); padding: 48px 0; }
.credentials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.credential-item {
  text-align: center;
  padding: 12px 20px;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.credential-item:last-child { border-right: none; }
.credential-item__icon { font-size: 1.6rem; margin-bottom: 10px; display: block; }
.credential-item__label { font-size: 0.7rem; color: rgba(255,255,255,0.55); display: block; margin-bottom: 4px; }
.credential-item__value { font-size: 0.875rem; color: var(--white); font-weight: 500; }

/* ===================================
   Contact CTA
=================================== */
.contact-cta {
  background: linear-gradient(135deg, var(--gold) 0%, #e8a500 100%);
  padding: 72px 0;
  text-align: center;
}
.contact-cta__title {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}
.contact-cta__desc { color: rgba(255,255,255,0.88); margin-bottom: 32px; font-size: 0.95rem; }

/* ===================================
   Footer
=================================== */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.65);
  padding: 56px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand__name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.footer-brand__desc { font-size: 0.8rem; line-height: 1.9; }
.footer-heading {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--trans);
}
.footer-links a:hover { color: var(--gold-light); }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; font-size: 0.82rem; }
.footer-contact-item a { color: rgba(255,255,255,0.6); }
.footer-contact-item a:hover { color: var(--gold-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
}

/* ===================================
   Page Hero (inner pages)
=================================== */
.page-hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  padding: 64px 0;
  text-align: center;
  color: var(--white);
}
.page-hero__label {
  font-size: 0.72rem;
  color: var(--gold-light);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}
.page-hero__title { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 700; }

/* ===================================
   Profile Page
=================================== */
.profile-photo {
  width: 180px; height: 180px;
  border-radius: 50%;
  background: var(--gray-mid);
  margin: 0 auto 20px;
  overflow: hidden;
  border: 4px solid var(--white);
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
  display: flex; align-items: center; justify-content: center;
}
.profile-name { text-align: center; font-size: 2rem; font-weight: 700; color: var(--navy); margin-bottom: 2px; }
.profile-name-en { text-align: center; font-size: 0.85rem; color: var(--text-light); letter-spacing: 0.12em; margin-bottom: 24px; }
.profile-badges { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 44px; }
.badge {
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 500;
}
.badge--navy { background: var(--navy); color: var(--white); }
.badge--outline { border: 1.5px solid var(--navy); color: var(--navy); }
.badge--gold { background: var(--gold); color: var(--white); }

/* Data Table */
.data-table { width: 100%; border-collapse: collapse; margin-bottom: 16px; font-size: 0.9rem; }
.data-table th, .data-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--gray-mid);
  text-align: left;
  vertical-align: top;
}
.data-table th {
  width: 180px;
  color: var(--navy);
  font-weight: 600;
  background: var(--gray-light);
  white-space: nowrap;
}
.data-table td { color: var(--text); }

/* Timeline */
.timeline { position: relative; padding-left: 28px; margin-bottom: 16px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 7px; top: 10px; bottom: 10px;
  width: 2px;
  background: var(--gray-mid);
}
.timeline-item { position: relative; margin-bottom: 32px; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -24px; top: 8px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--gold);
  border: 2.5px solid var(--white);
  box-shadow: 0 0 0 2px var(--gold);
}
.timeline-item__category {
  font-size: 0.7rem;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.timeline-item__title { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.timeline-item__desc { font-size: 0.875rem; color: var(--text-light); line-height: 1.8; }

/* Sub-section heading */
.sub-heading {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gold);
  margin-top: 52px;
}

/* ===================================
   Services Page
=================================== */
.service-item {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 28px;
  align-items: start;
  padding: 36px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 28px;
  transition: box-shadow var(--trans);
  border-left: 4px solid var(--gold);
}
.service-item:hover { box-shadow: var(--shadow-hover); }
.service-item__icon {
  width: 88px; height: 88px;
  background: rgba(30,58,95,0.06);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  flex-shrink: 0;
}
.service-item__num {
  font-size: 0.7rem;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.service-item__title { font-size: 1.2rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.service-item__sub { font-size: 0.8rem; color: var(--text-light); margin-bottom: 14px; font-style: italic; }
.service-item__desc { font-size: 0.875rem; color: var(--text); line-height: 1.85; margin-bottom: 14px; }
.service-item__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.tag { background: var(--gray-light); color: var(--navy); font-size: 0.72rem; padding: 4px 10px; border-radius: 4px; font-weight: 500; }

/* ===================================
   Contact Page
=================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}
.contact-info-item__icon {
  width: 46px; height: 46px;
  background: var(--navy);
  color: var(--white);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}
.contact-info-item__label { font-size: 0.72rem; color: var(--text-light); margin-bottom: 3px; }
.contact-info-item__value { font-size: 0.95rem; color: var(--text); font-weight: 500; }
.contact-info-item__value a { color: var(--navy); }
.contact-info-item__value a:hover { color: var(--gold); }
.contact-box {
  background: var(--gray-light);
  border-radius: var(--radius);
  padding: 36px;
}
.contact-box__title { font-size: 1.1rem; font-weight: 700; color: var(--navy); margin-bottom: 16px; }
.contact-box__desc { font-size: 0.875rem; color: var(--text-light); line-height: 1.9; margin-bottom: 24px; }
.contact-box__note {
  font-size: 0.8rem;
  color: var(--text-light);
  background: var(--white);
  padding: 16px;
  border-radius: 6px;
  border-left: 3px solid var(--gold);
  margin-top: 20px;
  line-height: 1.8;
}

/* ===================================
   Utility
=================================== */
.text-center { text-align: center; }
.mt-4  { margin-top: 16px; }
.mt-8  { margin-top: 32px; }
.mt-12 { margin-top: 48px; }
.mb-4  { margin-bottom: 16px; }
.mb-8  { margin-bottom: 32px; }

/* ===================================
   Responsive
=================================== */
@media (max-width: 1024px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .credentials-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 220px 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .cards-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; text-align: center; }
  .about__photo { max-width: 200px; margin: 0 auto 32px; }
  .about__badges { justify-content: center; }
  .hero__stats { flex-wrap: wrap; gap: 24px; border-top: none; padding-top: 20px; }
  .hero__stat { border-right: none; padding: 8px 24px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .credentials-grid { grid-template-columns: repeat(2, 1fr); }
  .service-item { grid-template-columns: 1fr; }
  .service-item__icon { width: 60px; height: 60px; font-size: 1.6rem; }
  .data-table th { width: 120px; font-size: 0.82rem; }
  .site-nav { display: none; }
  .nav-toggle { display: flex; }
  .site-nav.is-open {
    display: block;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--navy-dark);
    padding: 20px 24px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  }
  .site-nav.is-open ul { flex-direction: column; gap: 16px; }
  .site-nav.is-open .nav-cta { display: inline-block; margin-top: 8px; }
  .hero__title { font-size: 1.7rem; }
}

/* ===================================
   Contact Form 7 カスタムスタイル
=================================== */

/* 全体ラッパー */
.wpcf7 { width: 100%; }
#tm-contact-form { width: 100%; }

/* 各ラベル */
.wpcf7 label,
#tm-contact-form label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 6px;
  margin-top: 20px;
}
.wpcf7 label:first-child { margin-top: 0; }

.wpcf7 label .required,
#tm-contact-form label .required {
  color: #e53e3e;
  font-size: 0.78rem;
  margin-left: 4px;
}

/* テキスト・メール・電話 入力 */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 select,
.wpcf7 textarea,
#tm-contact-form input[type="text"],
#tm-contact-form input[type="email"],
#tm-contact-form input[type="tel"],
#tm-contact-form select,
#tm-contact-form textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--gray-mid);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--text);
  background: #fafafa;
  transition: border-color var(--trans), box-shadow var(--trans);
  appearance: none;
  -webkit-appearance: none;
}

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus,
#tm-contact-form input[type="text"]:focus,
#tm-contact-form input[type="email"]:focus,
#tm-contact-form input[type="tel"]:focus,
#tm-contact-form select:focus,
#tm-contact-form textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(30,58,95,0.1);
  background: var(--white);
}

/* セレクトボックス用矢印 */
.wpcf7 select,
#tm-contact-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%231e3a5f' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

/* テキストエリア */
.wpcf7 textarea,
#tm-contact-form textarea { min-height: 140px; resize: vertical; }

/* Web3Forms 送信ボタン */
.tm-submit-btn {
  display: block;
  width: 100%;
  margin-top: 28px;
  padding: 14px 32px;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: background var(--trans), transform var(--trans);
}
.tm-submit-btn:hover { background: var(--navy-light); transform: translateY(-1px); }
.tm-submit-btn:disabled { background: #a0aec0; cursor: not-allowed; transform: none; }

/* 送信ボタン */
.wpcf7 input[type="submit"] {
  display: block;
  width: 100%;
  margin-top: 28px;
  padding: 14px 32px;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: background var(--trans), transform var(--trans);
}
.wpcf7 input[type="submit"]:hover {
  background: var(--navy-light);
  transform: translateY(-1px);
}

/* バリデーションメッセージ */
.wpcf7-not-valid-tip {
  font-size: 0.8rem;
  color: #e53e3e;
  margin-top: 4px;
  display: block;
}
.wpcf7-response-output {
  margin-top: 20px;
  padding: 12px 18px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  border: none !important;
}
/* 送信成功 */
.wpcf7-mail-sent-ok.wpcf7-response-output {
  background: #f0fff4;
  color: #276749;
  border-left: 4px solid #48bb78 !important;
}
/* 送信エラー */
.wpcf7-mail-sent-ng.wpcf7-response-output,
.wpcf7-validation-errors.wpcf7-response-output {
  background: #fff5f5;
  color: #c53030;
  border-left: 4px solid #e53e3e !important;
}
/* スパムエラー */
.wpcf7-spam-blocked.wpcf7-response-output {
  background: #fffbeb;
  color: #744210;
  border-left: 4px solid #f6ad55 !important;
}
