/* ==========================================================================
   株式会社中山工業 - Corporate Website
   style.css
   ========================================================================== */

/* ==========================================================================
   1. CSS CUSTOM PROPERTIES (Variables)
   ========================================================================== */
:root {
  /* Colors */
  --color-navy:         #0D2137;
  --color-navy-dark:    #0A1F3C;
  --color-navy-mid:     #162d4a;
  --color-steel:        #1565C0;
  --color-steel-light:  #1976D2;
  --color-gold:         #B0902A;
  --color-silver:       #78909C;
  --color-text:         #1A1A2E;
  --color-text-mid:     #3a3a5c;
  --color-text-light:   #6b7280;
  --color-bg:           #FFFFFF;
  --color-bg-gray:      #F4F6F9;
  --color-bg-dark:      #0D2137;
  --color-border:       #D0D5DD;
  --color-border-light: #e8eaee;

  /* Fonts */
  --font-serif: 'Noto Serif JP', serif;
  --font-sans:  'Noto Sans JP', sans-serif;
  --font-en:    'Oswald', sans-serif;

  /* Layout */
  --container-width: 1200px;
  --container-pad: 0 40px;
  --section-pad: 100px 0;

  /* Transitions */
  --trans-base: 0.3s ease;
  --trans-slow: 0.6s ease;

  /* Header */
  --header-h: 80px;
}

/* ==========================================================================
   2. RESET & BASE
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

/* ==========================================================================
   3. TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4, h5 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.05em;
}

p {
  line-height: 1.9;
}

/* ==========================================================================
   4. LAYOUT UTILITIES
   ========================================================================== */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: var(--container-pad);
}

.section {
  padding: var(--section-pad);
}

.section--gray {
  background: var(--color-bg-gray);
}

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }

.grid-2--message { gap: 80px; align-items: center; }

.img-full { width: 100%; }

.page-content-wrap {
  max-width: 800px;
  margin: 0 auto;
}

/* ==========================================================================
   5. SECTION HEADER (COMMON)
   ========================================================================== */
.sec-head {
  text-align: center;
  margin-bottom: 70px;
}

.sec-head--left {
  text-align: left;
}

.sec-en {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: var(--color-gold);
  text-transform: uppercase;
  display: block;
  margin-bottom: 12px;
}

.sec-title {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 700;
  color: var(--color-navy);
  letter-spacing: 0.08em;
  margin-bottom: 20px;
  position: relative;
}


.sec-line {
  width: 60px;
  height: 3px;
  background: var(--color-gold);
  margin: 0 auto;
}

.sec-head--left .sec-line {
  margin: 0;
}

.sec-lead {
  margin-top: 24px;
  font-size: 15px;
  color: var(--color-text-mid);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* ==========================================================================
   6. HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-h);
  z-index: 1000;
  transition: background var(--trans-base), box-shadow var(--trans-base);
  background: transparent;
}

.site-header.scrolled {
  background: var(--color-navy);
  box-shadow: 0 2px 30px rgba(0, 0, 0, 0.35);
}

.site-header.page-header {
  background: var(--color-navy);
}

.header-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 40px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.header-logo a {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  height: 34px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}

.logo-name {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

/* Navigation */
.site-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-list > li > a {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.88);
  position: relative;
  padding-bottom: 4px;
  transition: color var(--trans-base);
}

.nav-list > li > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-gold);
  transition: width var(--trans-base);
}

.nav-list > li > a:hover {
  color: #fff;
}

.nav-list > li > a:hover::after,
.nav-list > li.current > a::after {
  width: 100%;
}

.nav-list > li.current > a {
  color: #fff;
}

/* Contact Nav Button */
.nav-list > li.nav-contact > a {
  background: var(--color-steel);
  color: #fff;
  padding: 10px 20px;
  font-size: 13px;
  letter-spacing: 0.08em;
  transition: background var(--trans-base);
}

.nav-list > li.nav-contact > a:hover {
  background: var(--color-steel-light);
}

.nav-list > li.nav-contact > a::after {
  display: none;
}

/* Hamburger (SP用) */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  transition: var(--trans-base);
}

/* ==========================================================================
   7. FOOTER
   ========================================================================== */
.site-footer {
  background: var(--color-navy-dark);
  color: rgba(255, 255, 255, 0.75);
}

.footer-main {
  padding: 70px 0 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.4fr;
  gap: 50px;
}

.footer-brand .f-logo-ja {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.1em;
}

.footer-brand .f-logo-en {
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
  display: block;
}

.footer-brand p {
  margin-top: 20px;
  font-size: 13px;
  line-height: 1.9;
}

.footer-sns {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.fv-sns {
  margin-top: 56px;
}

.fv-sns .footer-sns-link {
  width: 80px;
  height: 80px;
}

.fv-sns .footer-sns-link svg {
  width: 36px;
  height: 36px;
}

.footer-sns-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s, border-color 0.2s, background-color 0.2s;
}

.footer-sns-link:hover {
  color: #fff;
  border-color: #fff;
  background-color: rgba(255, 255, 255, 0.1);
}

.footer-sns-link svg {
  width: 18px;
  height: 18px;
}

.footer-nav-title,
.footer-info-title {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--color-gold);
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer-nav li {
  margin-bottom: 10px;
}

.footer-nav li a {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  transition: color var(--trans-base);
}

.footer-nav li a:hover {
  color: #fff;
}

.footer-nav li a::before {
  content: '—';
  font-size: 10px;
  color: var(--color-gold);
}

.footer-info address {
  font-style: normal;
  font-size: 13px;
  line-height: 2;
}

.footer-info address p {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 4px;
}

.footer-info address .info-label {
  color: var(--color-gold);
  font-size: 11px;
  font-weight: 600;
  font-family: var(--font-en);
  letter-spacing: 0.1em;
  min-width: 36px;
  padding-top: 2px;
}

.footer-bottom {
  padding: 20px 0;
}

.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom small {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  transition: color var(--trans-base);
}

.footer-bottom-links a:hover {
  color: rgba(255,255,255,0.75);
}

/* ==========================================================================
   8. BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 14px 36px;
  cursor: pointer;
  transition: background var(--trans-base), color var(--trans-base), border-color var(--trans-base);
  border: none;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background var(--trans-base);
}

.btn:hover::after {
  background: rgba(255,255,255,0.07);
}

.btn-primary {
  background: var(--color-steel);
  color: #fff;
}

.btn-primary:hover {
  background: var(--color-steel-light);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.6);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
}

.btn-gold {
  background: var(--color-gold);
  color: #fff;
}

.btn-gold:hover {
  background: #c9a035;
}

.btn-sm {
  font-size: 13px;
  padding: 10px 24px;
}

.btn-lg {
  font-size: 15px;
  padding: 18px 48px;
}

/* More link */
.more-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--color-steel);
  text-transform: uppercase;
  border-bottom: 1px solid var(--color-steel);
  padding-bottom: 2px;
  transition: gap var(--trans-base), color var(--trans-base);
}

.more-link:hover {
  gap: 14px;
  color: var(--color-navy);
  border-color: var(--color-navy);
}

.more-link::after {
  content: '→';
}

/* ==========================================================================
   9. PAGE HERO (INNER PAGES)
   ========================================================================== */
.page-hero {
  background: var(--color-navy);
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(255,255,255,0.02) 0px,
      rgba(255,255,255,0.02) 1px,
      transparent 1px,
      transparent 80px
    ),
    repeating-linear-gradient(
      0deg,
      rgba(255,255,255,0.02) 0px,
      rgba(255,255,255,0.02) 1px,
      transparent 1px,
      transparent 80px
    );
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 60px;
  background: var(--color-bg);
  clip-path: polygon(0 100%, 100% 100%, 100% 0);
}

.page-hero--gray::after {
  background: var(--color-bg-gray);
}

.page-hero-inner {
  position: relative;
  z-index: 1;
}

.page-hero-en {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--color-gold);
  text-transform: uppercase;
  display: block;
  margin-bottom: 12px;
}

.page-hero h1 {
  font-family: var(--font-serif);
  font-size: 48px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-top: 20px;
}

.breadcrumb a {
  color: rgba(255,255,255,0.6);
  transition: color var(--trans-base);
}

.breadcrumb a:hover { color: #fff; }

.breadcrumb span { font-size: 10px; }

/* ==========================================================================
   10. FV / FIRST VIEW (HOMEPAGE)
========================================================================== */
.fv {
  position: relative;
  height: 100vh;
  min-height: 700px;
  overflow: hidden;
}

.fv-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.fv-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 31, 60, 0.88) 0%,
    rgba(13, 33, 55, 0.72) 60%,
    rgba(21, 101, 192, 0.45) 100%
  );
  z-index: 1;
}

.fv-grid {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(255,255,255,0.025) 0px,
      rgba(255,255,255,0.025) 1px,
      transparent 1px,
      transparent 100px
    ),
    repeating-linear-gradient(
      0deg,
      rgba(255,255,255,0.025) 0px,
      rgba(255,255,255,0.025) 1px,
      transparent 1px,
      transparent 100px
    );
  z-index: 2;
}

.fv-content {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  padding: 0 40px;
  max-width: var(--container-width);
  margin: 0 auto;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
}

.fv-text {
  max-width: 720px;
}

.fv-label {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.35em;
  color: var(--color-gold);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.fv-label::before {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--color-gold);
}

.fv-catch {
  font-family: var(--font-serif);
  font-size: 54px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.fv-sub {
  font-family: var(--font-en);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.65);
  margin-bottom: 48px;
}

.fv-btns {
  display: flex;
  gap: 16px;
}

.fv-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.5);
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 0.2em;
}

.fv-scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* FV placeholder (動画がない場合) */
.fv-bg-placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0A1F3C 0%, #1565C0 100%);
  z-index: -1;
}

/* ==========================================================================
   10b. HOME - OMOI SECTION
   ========================================================================== */
.home-omoi {
  background-color: var(--color-bg);
  position: relative;
}

.omoi-inner {
  max-width: 960px;
  margin: 0 auto;
}

.omoi-catch {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 700;
  line-height: 1.6;
  color: var(--color-primary);
  text-align: center;
  margin-bottom: 40px;
}

.omoi-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.omoi-body p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--color-text);
}

/* ==========================================================================
   11. HOME - BUSINESS SECTION
   ========================================================================== */
.home-business {
  position: relative;
}

.business-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--color-border-light);
}

.biz-card {
  padding: 48px 32px;
  border-right: 1px solid var(--color-border-light);
  position: relative;
  overflow: hidden;
  transition: background var(--trans-base);
}

.biz-card:last-child {
  border-right: none;
}

.biz-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--color-steel);
  transition: width var(--trans-slow);
}

.biz-card:hover {
  background: var(--color-bg-gray);
}

.biz-card:hover::before {
  width: 100%;
}

.biz-icon {
  width: 56px;
  height: 56px;
  background: var(--color-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.biz-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--color-gold);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.biz-num {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--color-gold);
  margin-bottom: 10px;
}

.biz-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 14px;
  line-height: 1.4;
}

.biz-desc {
  font-size: 13px;
  color: var(--color-text-mid);
  line-height: 1.85;
}

.biz-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--color-steel);
  text-transform: uppercase;
  transition: gap var(--trans-base);
}

.biz-more:hover { gap: 12px; }
.biz-more::after { content: '→'; }

/* ==========================================================================
   12. HOME - NEWS SECTION
   ========================================================================== */

.news-list-home {
  margin-bottom: 48px;
}

.news-row {
  display: grid;
  grid-template-columns: 130px 100px 1fr;
  gap: 24px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--color-border-light);
  transition: background var(--trans-base);
}

.news-row:first-child {
  border-top: 1px solid var(--color-border-light);
}

.news-row:hover {
  padding-left: 12px;
  padding-right: 12px;
  background: var(--color-bg-gray);
}

.news-date {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--color-text-light);
}

.news-cat {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 3px 10px;
  background: var(--color-navy);
  color: #fff;
  text-align: center;
}

.news-cat--info    { background: var(--color-steel); }
.news-cat--product { background: var(--color-navy); }
.news-cat--recruit { background: var(--color-gold); }

.news-ttl {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
  transition: color var(--trans-base);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.news-row:hover .news-ttl {
  color: var(--color-steel);
}

.news-foot {
  text-align: center;
}

.news-empty {
  padding: 24px 0;
  color: var(--color-text-light);
}

/* ==========================================================================
   13. HOME - GALLERY PREVIEW
   ========================================================================== */

.gallery-grid-home {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 260px);
  gap: 3px;
  margin-bottom: 48px;
}

.gallery-item-home {
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.gallery-item-home:first-child {
  grid-row: span 2;
}

.gallery-item-home img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-item-home:hover img {
  transform: scale(1.05);
}

.gallery-item-home .gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,31,60,0);
  transition: background var(--trans-slow);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-item-home:hover .gallery-overlay {
  background: rgba(10,31,60,0.4);
}

.gallery-overlay-icon {
  opacity: 0;
  transform: scale(0.8);
  transition: opacity var(--trans-base), transform var(--trans-base);
  color: #fff;
  font-size: 32px;
}

.gallery-item-home:hover .gallery-overlay-icon {
  opacity: 1;
  transform: scale(1);
}

/* ==========================================================================
   14. HOME - RECRUIT BANNER
   ========================================================================== */
.home-recruit {
  background: var(--color-navy-mid);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.home-recruit::before {
  content: 'RECRUIT';
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-en);
  font-size: 180px;
  font-weight: 700;
  color: rgba(255,255,255,0.04);
  letter-spacing: 0.05em;
  white-space: nowrap;
  pointer-events: none;
}

.recruit-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.recruit-banner-text .sec-en { margin-bottom: 8px; }
.recruit-banner-text .sec-title { margin-bottom: 12px; color: #fff; }

.recruit-banner-text p {
  font-size: 15px;
  color: rgba(255,255,255,0.7);
  max-width: 480px;
}

/* ==========================================================================
   15. HOME - CONTACT CTA
   ========================================================================== */
.contact-cta-inner {
  text-align: center;
}

.contact-cta-inner .sec-title {
  font-size: 32px;
}

.contact-cta-inner p {
  font-size: 15px;
  color: var(--color-text-mid);
  margin: 16px 0 36px;
}

.contact-cta-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.contact-tel {
  font-family: var(--font-en);
  font-size: 36px;
  font-weight: 600;
  color: var(--color-navy);
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 4px;
}

.contact-tel-label {
  font-size: 12px;
  color: var(--color-text-light);
}

/* ==========================================================================
   16. BUSINESS PAGE
   ========================================================================== */
.biz-detail-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 80px 0;
  border-bottom: 1px solid var(--color-border-light);
}

.biz-detail-section:last-child {
  border-bottom: none;
}

.biz-detail-section.reverse {
  direction: rtl;
}

.biz-detail-section.reverse > * {
  direction: ltr;
}

.biz-detail-num {
  font-family: var(--font-en);
  font-size: 80px;
  font-weight: 700;
  color: var(--color-border-light);
  line-height: 1;
  margin-bottom: -20px;
  position: relative;
  z-index: 0;
}

.biz-detail-en {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: var(--color-gold);
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}

.biz-detail-title {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 700;
  color: var(--color-navy);
  margin: 8px 0 20px;
  line-height: 1.4;
}

.biz-detail-desc {
  font-size: 15px;
  color: var(--color-text-mid);
  line-height: 2;
  margin-bottom: 24px;
}

.biz-detail-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.biz-detail-list li {
  font-size: 14px;
  color: var(--color-text-mid);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.biz-detail-list li::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 1px;
  background: var(--color-gold);
  margin-top: 12px;
  flex-shrink: 0;
}

.biz-detail-img {
  position: relative;
}

.biz-detail-img img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.biz-detail-img::after {
  content: '';
  position: absolute;
  bottom: -12px;
  right: -12px;
  width: 60%;
  height: 60%;
  border: 2px solid var(--color-gold);
  z-index: -1;
}

/* ==========================================================================
   17. COMPANY PAGE
   ========================================================================== */
.company-table {
  width: 100%;
  border-collapse: collapse;
}

.company-table tr {
  border-bottom: 1px solid var(--color-border-light);
}

.company-table th {
  width: 220px;
  padding: 22px 24px;
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-navy);
  text-align: left;
  background: var(--color-bg-gray);
  vertical-align: top;
  border-right: 2px solid var(--color-steel);
}

.company-table td {
  padding: 22px 32px;
  font-size: 14px;
  color: var(--color-text-mid);
  line-height: 1.9;
  vertical-align: top;
}

.timeline {
  position: relative;
  padding-left: 40px;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--color-border);
}

.timeline-item {
  position: relative;
  padding-bottom: 36px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -45px;
  top: 6px;
  width: 10px;
  height: 10px;
  background: var(--color-gold);
  border: 2px solid var(--color-bg-gray);
}

.timeline-year {
  font-family: var(--font-en);
  font-size: 20px;
  font-weight: 600;
  color: var(--color-navy);
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.timeline-text {
  font-size: 14px;
  color: var(--color-text-mid);
  line-height: 1.8;
}

.access-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.access-map {
  height: 400px;
  background: var(--color-bg-gray);
  position: relative;
}

.access-map iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(20%);
}

.access-info-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.access-info-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--color-border-light);
}

.access-info-item:last-child {
  border-bottom: none;
}

.access-label {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--color-gold);
  text-transform: uppercase;
  padding-top: 2px;
}

.access-value {
  font-size: 14px;
  color: var(--color-text-mid);
  line-height: 1.8;
}

.access-tel-link {
  color: var(--color-steel);
  font-family: var(--font-en);
  font-size: 20px;
}

.access-tel-hours {
  font-size: 12px;
  color: var(--color-text-light);
}

.company-table a { color: var(--color-steel); }

.president-name {
  font-family: var(--font-serif);
  font-size: 26px;
  color: var(--color-navy);
  margin-bottom: 8px;
}

.president-title {
  font-size: 13px;
  color: var(--color-text-light);
  margin-bottom: 32px;
}

.president-quote {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--color-steel);
  line-height: 2;
  margin-bottom: 10px;
}

.president-body {
  font-size: 15px;
  color: var(--color-text-mid);
  line-height: 2;
}

.president-body--gap { margin-bottom: 10px; }
.president-block .en-eyebrow { margin-bottom: 12px; }

/* ==========================================================================
   18. GALLERY PAGE
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,31,60,0);
  transition: background var(--trans-slow);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-item:hover .gallery-item-overlay {
  background: rgba(10,31,60,0.45);
}

.gallery-overlay-icon {
  font-size: 32px;
  color: #fff;
  opacity: 0;
  transition: opacity var(--trans-base);
  line-height: 1;
}

.gallery-item:hover .gallery-overlay-icon {
  opacity: 1;
}

/* ==========================================================================
   19. NEWS LIST PAGE
   ========================================================================== */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-top: 60px;
}

.page-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-size: 14px;
  font-family: var(--font-en);
  color: var(--color-text-mid);
  border: 1px solid var(--color-border);
  transition: background var(--trans-base), color var(--trans-base), border-color var(--trans-base);
}

.page-num.active,
.page-num:hover {
  background: var(--color-navy);
  color: #fff;
  border-color: var(--color-navy);
}

/* ==========================================================================
   20. NEWS SINGLE
   ========================================================================== */
.news-single-inner {
  max-width: 800px;
  margin: 0 auto;
}

.news-single-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.news-single-date {
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--color-text-light);
}

.news-single-title {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.5;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--color-border-light);
}

.news-single-eyecatch {
  margin-bottom: 40px;
}

.news-single-eyecatch img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
}

.news-single-body {
  font-size: 15px;
  line-height: 2;
  color: var(--color-text-mid);
  margin-bottom: 60px;
}

.news-single-body p { margin-bottom: 1.6em; }
.news-single-body h2 {
  font-size: 22px;
  color: var(--color-navy);
  margin: 2em 0 1em;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-border-light);
}

.news-single-body h3 {
  font-size: 18px;
  color: var(--color-navy);
  margin: 1.8em 0 0.8em;
}

.news-pager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  border-top: 1px solid var(--color-border-light);
  padding-top: 40px;
}

.pager-item {
  padding: 24px;
  background: var(--color-bg-gray);
  transition: background var(--trans-base);
}

.pager-item:hover {
  background: var(--color-border-light);
}

.pager-dir {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--color-gold);
  display: block;
  margin-bottom: 6px;
}

.pager-ttl {
  font-size: 14px;
  color: var(--color-text);
}

.pager-item.pager-next {
  text-align: right;
}

.news-detail-heading {
  font-size: 28px;
  line-height: 1.5;
}

.pager-item--disabled { opacity: 0.3; }

/* ==========================================================================
   21. RECRUIT PAGE
   ========================================================================== */
.recruit-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.recruit-intro-img img {
  width: 100%;
  height: 460px;
  object-fit: cover;
}

.recruit-point-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.recruit-point-card {
  background: var(--color-bg);
  padding: 40px 28px;
  border-bottom: 3px solid var(--color-steel);
}

.recruit-point-num {
  font-family: var(--font-en);
  font-size: 48px;
  font-weight: 700;
  color: var(--color-border-light);
  line-height: 1;
  margin-bottom: 12px;
}

.recruit-point-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 12px;
}

.recruit-point-desc {
  font-size: 13px;
  color: var(--color-text-mid);
  line-height: 1.9;
}

.job-card {
  border: 1px solid var(--color-border);
  margin-bottom: 24px;
}

.job-card-head {
  background: var(--color-navy);
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.job-card-title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.05em;
}

.job-badge {
  font-size: 12px;
  font-weight: 500;
  padding: 5px 14px;
  background: var(--color-gold);
  color: #fff;
}

.job-table {
  width: 100%;
  border-collapse: collapse;
}

.job-table tr {
  border-bottom: 1px solid var(--color-border-light);
}

.job-table tr:last-child { border-bottom: none; }

.job-table th {
  width: 160px;
  padding: 16px 24px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-navy);
  background: var(--color-bg-gray);
  text-align: left;
  vertical-align: top;
}

.job-table td {
  padding: 16px 24px;
  font-size: 14px;
  color: var(--color-text-mid);
  line-height: 1.8;
}

.flow-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
}

.flow-steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 10%;
  width: 80%;
  height: 1px;
  background: var(--color-border);
  z-index: 0;
}

.flow-step {
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 0 16px;
}

.flow-step-num {
  width: 72px;
  height: 72px;
  background: var(--color-navy);
  color: #fff;
  font-family: var(--font-en);
  font-size: 22px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.flow-step-title {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 8px;
}

.flow-step-desc {
  font-size: 12px;
  color: var(--color-text-light);
  line-height: 1.7;
}

.recruit-entry {
  padding: 80px 0;
  background: var(--color-steel);
  text-align: center;
}

.recruit-entry h2 {
  font-family: var(--font-serif);
  font-size: 32px;
  color: #fff;
  margin-bottom: 12px;
}

.recruit-entry p {
  font-size: 15px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 32px;
}

.recruit-intro-heading {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 24px;
  line-height: 1.5;
}

.recruit-intro-text {
  font-size: 15px;
  color: var(--color-text-mid);
  line-height: 2;
}

.recruit-intro-text--gap { margin-bottom: 20px; }
.recruit-intro-grid .en-eyebrow { margin-bottom: 16px; }
.job-badge--new { background: var(--color-steel); }

/* ==========================================================================
   22. CONTACT PAGE
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-form-area label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 8px;
  letter-spacing: 0.03em;
}

.contact-form-area label .required {
  color: #c0392b;
  margin-left: 6px;
  font-size: 11px;
}

.form-group {
  margin-bottom: 28px;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--color-text);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  outline: none;
  transition: border-color var(--trans-base), box-shadow var(--trans-base);
  border-radius: 0;
  appearance: none;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--color-steel);
  box-shadow: 0 0 0 3px rgba(21,101,192,0.12);
}

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

.form-error {
  color: #c0392b;
  font-size: 12px;
  margin-top: 6px;
  display: block;
  min-height: 18px;
}

.form-note {
  font-size: 12px;
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: 28px;
}

.form-privacy {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 32px;
  font-size: 13px;
  color: var(--color-text-mid);
  cursor: pointer;
}

.form-privacy input[type="checkbox"] {
  margin-top: 2px;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.form-submit {
  text-align: center;
  margin-top: 32px;
}

.contact-info-side {
  background: var(--color-bg-gray);
  padding: 40px 32px;
}

.contact-info-side h3 {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--color-navy);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--color-border-light);
}

.contact-info-item {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--color-border-light);
}

.contact-info-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.contact-info-label {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--color-gold);
  text-transform: uppercase;
  display: block;
  margin-bottom: 6px;
}

.contact-info-val {
  font-size: 14px;
  color: var(--color-text-mid);
  line-height: 1.8;
}

.contact-info-tel {
  font-family: var(--font-en);
  font-size: 28px;
  font-weight: 600;
  color: var(--color-navy);
  letter-spacing: 0.05em;
}

.contact-info-hours {
  font-size: 12px;
  color: var(--color-text-light);
  margin-top: 4px;
}

#form-success {
  display: none;
  background: var(--color-bg-gray);
  border-left: 4px solid var(--color-steel);
  padding: 40px;
  text-align: center;
}

#form-success h3 {
  font-family: var(--font-serif);
  font-size: 24px;
  color: var(--color-navy);
  margin-bottom: 16px;
}

#form-success p {
  font-size: 15px;
  color: var(--color-text-mid);
}

.form-note a,
.form-privacy a {
  color: var(--color-steel);
}

.contact-info-val--fax {
  font-family: var(--font-en);
  font-size: 18px;
  letter-spacing: 0.05em;
  color: var(--color-navy);
}

.contact-info-email {
  color: var(--color-steel);
  word-break: break-all;
}

.contact-info-note {
  font-size: 13px;
  color: var(--color-text-light);
  line-height: 1.8;
}

/* ==========================================================================
   23. PRIVACY PAGE
   ========================================================================== */
.privacy-inner {
  max-width: 800px;
  margin: 0 auto;
}

.privacy-intro {
  font-size: 15px;
  color: var(--color-text-mid);
  line-height: 2;
  margin-bottom: 60px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--color-border-light);
}

.privacy-article {
  margin-bottom: 48px;
}

.privacy-article h2 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.privacy-article h2::before {
  content: '';
  display: block;
  width: 4px;
  height: 20px;
  background: var(--color-steel);
  flex-shrink: 0;
}

.privacy-article p {
  font-size: 14px;
  color: var(--color-text-mid);
  line-height: 2;
  margin-bottom: 1em;
}

.privacy-article ul {
  padding-left: 24px;
  margin-bottom: 1em;
}

.privacy-article ul li {
  font-size: 14px;
  color: var(--color-text-mid);
  line-height: 1.9;
  list-style: disc;
  margin-bottom: 6px;
}

.privacy-updated {
  text-align: right;
  font-size: 13px;
  color: var(--color-text-light);
  margin-top: 60px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border-light);
}

.privacy-contact-box {
  margin-top: 16px;
  padding: 24px;
  background: var(--color-bg);
  border-left: 3px solid var(--color-steel);
}

.privacy-contact-box p {
  font-size: 14px;
  line-height: 2;
  color: var(--color-text-mid);
}

.privacy-contact-box strong { color: var(--color-navy); }
.privacy-contact-box a { color: var(--color-steel); }

/* ==========================================================================
   24. ANIMATIONS / INTERSECTION OBSERVER
   ========================================================================== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in {
  opacity: 0;
  transition: opacity 0.8s ease;
}

.fade-in.is-visible {
  opacity: 1;
}

/* Stagger delay */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

/* ==========================================================================
   25. UTILITIES
   ========================================================================== */
.text-center { text-align: center; }
.text-right  { text-align: right; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mt-60 { margin-top: 60px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.mb-60 { margin-bottom: 60px; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

.archive-empty {
  padding: 60px 0;
  text-align: center;
  color: var(--color-text-light);
}

.posts-empty {
  padding: 40px 0;
  text-align: center;
  color: var(--color-text-light);
}

.en-eyebrow {
  font-size: 13px;
  color: var(--color-gold);
  font-family: var(--font-en);
  letter-spacing: 0.2em;
}

/* ==========================================================================
   26. CONTACT FORM 7 スタイル上書き
   ========================================================================== */

/* ラッパー */
.wpcf7 {
  width: 100%;
  text-align: left;
}

.wpcf7 form {
  margin: 0;
  text-align: left;
}

/* 全要素を左揃えにリセット（親の text-align:center 継承を防ぐ） */
.wpcf7 p,
.wpcf7 label,
.wpcf7-form-control-wrap,
.wpcf7-form-control {
  text-align: left;
}

/* CF7がデフォルトで挿入する <p> タグをform-groupとして扱う */
.wpcf7 form p {
  margin-bottom: 28px;
}

/* form-group内の <p> はマージンなし */
.form-group .wpcf7-form-control-wrap {
  display: block;
  margin-top: 0;
}

/* ===== 入力フィールド共通 ===== */
.wpcf7-form-control.wpcf7-text,
.wpcf7-form-control.wpcf7-email,
.wpcf7-form-control.wpcf7-tel,
.wpcf7-form-control.wpcf7-number,
.wpcf7-form-control.wpcf7-url,
.wpcf7-form-control.wpcf7-date,
.wpcf7-form-control.wpcf7-select,
.wpcf7-form-control.wpcf7-textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--color-text);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 0;
  outline: none;
  transition: border-color var(--trans-base), box-shadow var(--trans-base);
  appearance: none;
  -webkit-appearance: none;
  line-height: 1.6;
}

.wpcf7-form-control.wpcf7-text:focus,
.wpcf7-form-control.wpcf7-email:focus,
.wpcf7-form-control.wpcf7-tel:focus,
.wpcf7-form-control.wpcf7-number:focus,
.wpcf7-form-control.wpcf7-url:focus,
.wpcf7-form-control.wpcf7-date:focus,
.wpcf7-form-control.wpcf7-select:focus,
.wpcf7-form-control.wpcf7-textarea:focus {
  border-color: var(--color-steel);
  box-shadow: 0 0 0 3px rgba(21, 101, 192, 0.12);
}

/* テキストエリア */
.wpcf7-form-control.wpcf7-textarea {
  min-height: 180px;
  resize: vertical;
}

/* セレクトボックス */
.wpcf7-form-control.wpcf7-select {
  cursor: pointer;
  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 d='M1 1l5 5 5-5' stroke='%231A1A2E' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

/* ===== バリデーションエラー ===== */
.wpcf7-form-control.wpcf7-not-valid {
  border-color: #c0392b;
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.1);
}

.wpcf7-not-valid-tip {
  display: block;
  color: #c0392b;
  font-size: 12px;
  margin-top: 6px;
  line-height: 1.5;
}

/* ===== ラベル ===== */
.wpcf7 label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: -27px;
  letter-spacing: 0.03em;
}

/* ===== 必須マーク ===== */
.wpcf7 .required,
.wpcf7 abbr[title] {
  color: #c0392b;
  margin-left: 6px;
  font-size: 11px;
  text-decoration: none;
}

/* ===== 送信ボタン ===== */
.wpcf7-form-control.wpcf7-submit {
  display: inline-block;
  text-align: center;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.12em;
  padding: 20px 64px;
  background: var(--color-navy);
  color: #fff;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: background var(--trans-base), box-shadow var(--trans-base);
  min-width: 240px;
  box-shadow: 0 4px 16px rgba(13, 33, 55, 0.25);
}

.wpcf7-form-control.wpcf7-submit:hover {
  background: var(--color-steel);
  box-shadow: 0 6px 24px rgba(21, 101, 192, 0.35);
}

/* btn クラスが付いている場合も対応 */
.wpcf7-form-control.wpcf7-submit.btn {
  border-radius: 0;
}

/* ===== 送信中スピナー ===== */
.wpcf7-spinner {
  display: inline-block;
  margin-left: 12px;
  vertical-align: middle;
}

/* ===== 送信結果メッセージ ===== */
.wpcf7-response-output {
  margin: 24px 0 0;
  padding: 16px 20px;
  font-size: 14px;
  border-radius: 0;
  border-width: 1px;
  border-style: solid;
}

/* 送信成功 */
.wpcf7 form.sent .wpcf7-response-output {
  background: #f0faf0;
  border-color: #2e7d32;
  color: #1b5e20;
}

/* バリデーションエラー・送信失敗 */
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
  background: #fff8f8;
  border-color: #c0392b;
  color: #7f0000;
}

/* スパム検知 */
.wpcf7 form.spam .wpcf7-response-output {
  background: #fffbf0;
  border-color: #f59e0b;
  color: #78350f;
}

/* ===== チェックボックス・ラジオボタン ===== */
.wpcf7-list-item {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  margin: 4px 0;
  cursor: pointer;
  font-size: 13px;
  color: var(--color-text-mid);
}

.wpcf7-list-item input[type="checkbox"],
.wpcf7-list-item input[type="radio"] {
  margin-top: 2px;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  cursor: pointer;
  accent-color: var(--color-steel);
}

/* 同意チェックボックス（acceptance） */
.wpcf7-acceptance .wpcf7-list-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--color-text-mid);
  line-height: 1.7;
}

/* ===== フォーム送信エリア ===== */
.wpcf7 .form-submit,
.wpcf7 p:last-child {
  text-align: center;
  margin-top: 48px;
}

/* ===== CF7デフォルトの枠線リセット ===== */
.wpcf7 form.init .wpcf7-response-output,
.wpcf7 form.resetting .wpcf7-response-output,
.wpcf7 form.submitting .wpcf7-response-output {
  display: none;
}
