/* ============================================================
   pompie.css
   合同会社ポンピエ TOPページ専用スタイル
   対象テンプレート: page-pompie.php
   ============================================================ */


/* ============================================================
   CSS Variables
   ============================================================ */
:root {
  --pompie-bg:       #F8F7F4;
  --pompie-alt-bg:   #F0EEE9;
  --pompie-text:     #333333;
  --pompie-subtle:   #555555;
  --pompie-muted:    #777777;
  --pompie-border:   #E0DED9;
  --pompie-red:      #E63946;
  --pompie-blue:     #457B9D;
  --pompie-yellow:   #F4C430;
  --pompie-green:    #2D6A4F;
}


/* ============================================================
   Base / Reset
   ============================================================ */
.pompie-page {
  background-color: var(--pompie-bg);
  color: var(--pompie-text);
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.pompie-page *,
.pompie-page *::before,
.pompie-page *::after {
  box-sizing: border-box;
}

.pompie-page h1,
.pompie-page h2,
.pompie-page h3,
.pompie-page p {
  margin: 0;
  padding: 0;
}

.pompie-page a {
  text-decoration: none;
}

.pompie-page button {
  font-family: inherit;
}


/* ============================================================
   Layout
   ============================================================ */
.pompie-container {
  max-width: 1152px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.pompie-container-sm {
  max-width: 768px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  width: 100%;
}

/* Section base */
.pompie-section {
  padding: 6rem 1.5rem;
}

@media (min-width: 768px) {
  .pompie-section {
    padding: 8rem 1.5rem;
  }
}

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


/* ============================================================
   Section Heading
   ============================================================ */
.pompie-section-heading {
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .pompie-section-heading {
    margin-bottom: 4rem;
  }
}

.pompie-section-heading__ja {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: #AAAAAA;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.pompie-section-heading__en {
  font-size: 1.875rem;
  font-weight: 900;
  color: var(--pompie-text);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .pompie-section-heading__en {
    font-size: 3rem;
  }
}

/* Accent underline bar */
.accent-line-wrapper {
  position: relative;
  display: inline-block;
}

.accent-underline-bar {
  margin-top: 0.5rem;
  height: 3px;
  width: 0;
  transition: width 0.7s ease;
}

.reveal.visible .accent-underline-bar {
  width: 3rem;
}


/* ============================================================
   Buttons
   ============================================================ */
.pompie-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  border-radius: 9999px;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
  border: 2px solid transparent;
}

.pompie-btn--dark {
  background-color: var(--pompie-text);
  color: var(--pompie-bg);
}

.pompie-btn--dark:hover {
  background-color: var(--pompie-red);
  color: #fff;
}

.pompie-btn--outline {
  background-color: transparent;
  color: var(--pompie-text);
  border-color: var(--pompie-text);
}

.pompie-btn--outline:hover {
  border-color: var(--pompie-red);
  color: var(--pompie-red);
}

.pompie-btn--line {
  background-color: #3AAB72;
  color: #fff;
  padding: 0.875rem 1.5rem;
}

.pompie-btn--line:hover {
  background-color: #2E9060;
  color: #fff;
}


/* ============================================================
   Scroll Reveal
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }


/* ============================================================
   Hero Entry Animations
   ============================================================ */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-line-1 { animation: fade-up 0.8s ease forwards; animation-delay: 0.2s; opacity: 0; }
.hero-line-2 { animation: fade-up 0.8s ease forwards; animation-delay: 0.4s; opacity: 0; }
.hero-line-3 { animation: fade-up 0.8s ease forwards; animation-delay: 0.6s; opacity: 0; }
.hero-line-4 { animation: fade-up 0.8s ease forwards; animation-delay: 0.8s; opacity: 0; }


/* ============================================================
   Floating Dot Animations
   ============================================================ */
@keyframes float-1 {
  0%, 100% { transform: translate(0, 0); }
  33%       { transform: translate(8px, -12px); }
  66%       { transform: translate(-6px, 6px); }
}
@keyframes float-2 {
  0%, 100% { transform: translate(0, 0); }
  40%      { transform: translate(-10px, 8px); }
  70%      { transform: translate(7px, -10px); }
}
@keyframes float-3 {
  0%, 100% { transform: translate(0, 0); }
  25%      { transform: translate(6px, 10px); }
  75%      { transform: translate(-8px, -6px); }
}
@keyframes float-4 {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(10px, -8px); }
}
@keyframes float-5 {
  0%, 100% { transform: translate(0, 0); }
  35%      { transform: translate(-12px, 5px); }
  65%      { transform: translate(5px, 12px); }
}
@keyframes float-6 {
  0%, 100% { transform: translate(0, 0); }
  45%      { transform: translate(9px, 9px); }
  80%      { transform: translate(-7px, -5px); }
}

@keyframes scroll-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
  50%       { transform: translateX(-50%) translateY(6px); opacity: 0.4; }
}

.float-dot-1 { animation: float-1  9s ease-in-out infinite; }
.float-dot-2 { animation: float-2 11s ease-in-out infinite; }
.float-dot-3 { animation: float-3 13s ease-in-out infinite; }
.float-dot-4 { animation: float-4  8s ease-in-out infinite; }
.float-dot-5 { animation: float-5 15s ease-in-out infinite; }
.float-dot-6 { animation: float-6 10s ease-in-out infinite; }
.float-dot-7 { animation: float-1 12s ease-in-out infinite reverse; }
.float-dot-8 { animation: float-3  7s ease-in-out infinite reverse; }

.scroll-bounce {
  animation: scroll-bounce 1.6s ease-in-out infinite;
}


/* ============================================================
   Service Card Hover
   ============================================================ */
.service-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}


/* ============================================================
   HEADER
   ============================================================ */
.pompie-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: background-color 0.3s ease,
              backdrop-filter 0.3s ease,
              -webkit-backdrop-filter 0.3s ease,
              border-color 0.3s ease,
              box-shadow 0.3s ease;
}

.pompie-header.scrolled {
  background-color: rgba(248, 247, 244, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--pompie-border);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.pompie-header__inner {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.pompie-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.pompie-logo__img {
  display: block;
  height: 30px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  transition: opacity 0.2s;
}

.pompie-logo:hover .pompie-logo__img {
  opacity: 0.75;
}

/* Desktop nav */
.pompie-nav--desktop {
  display: none;
}

@media (min-width: 768px) {
  .pompie-nav--desktop {
    display: flex;
    align-items: center;
    gap: 2rem;
  }
}

.pompie-nav__link {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--pompie-muted);
  text-decoration: none;
  transition: color 0.2s;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

.pompie-nav__link:hover {
  color: var(--pompie-text);
}

/* Hamburger button */
.pompie-hamburger {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  cursor: pointer;
  background: none;
  border: none;
}

@media (min-width: 768px) {
  .pompie-hamburger {
    display: none;
  }
}

.pompie-hamburger__line {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--pompie-text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.pompie-hamburger.open .pompie-hamburger__line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.pompie-hamburger.open .pompie-hamburger__line:nth-child(2) {
  opacity: 0;
}

.pompie-hamburger.open .pompie-hamburger__line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile menu */
.pompie-nav--mobile {
  display: none;
  background-color: rgba(248, 247, 244, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--pompie-border);
  padding: 0.5rem 1.5rem 1.5rem;
  flex-direction: column;
  gap: 1rem;
}

.pompie-nav--mobile.open {
  display: flex;
}

.pompie-nav--mobile .pompie-nav__link {
  font-size: 0.875rem;
  text-align: left;
}


/* ============================================================
   HERO SECTION
   ============================================================ */
.pompie-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6rem 0 5rem;
  overflow: hidden;
}

.pompie-hero__dots {
  pointer-events: none;
  position: absolute;
  inset: 0;
}

.pompie-hero__dot {
  position: absolute;
  border-radius: 50%;
}

.pompie-hero__content {
  position: relative;
  z-index: 10;
}

.pompie-hero__eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--pompie-muted);
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.pompie-hero__heading {
  font-size: 2.25rem;
  font-weight: 900;
  line-height: 1.2;
  color: var(--pompie-text);
  letter-spacing: -0.01em;
  margin-bottom: 2rem !important;
  margin-top: 0 !important;
}

@media (min-width: 768px) {
  .pompie-hero__heading {
    font-size: 3.75rem;
    margin-bottom: 2.5rem !important;
  }
}

@media (min-width: 1024px) {
  .pompie-hero__heading {
    font-size: 4.5rem;
  }
}

.pompie-hero__sub {
  font-size: 1.125rem;
  color: #555555;
  line-height: 1.7;
  font-weight: 500;
  margin-bottom: 3.5rem !important;
  margin-top: 0 !important;
}

@media (min-width: 768px) {
  .pompie-hero__sub {
    font-size: 1.25rem;
  }
}

.pompie-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.pompie-hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.pompie-hero__scroll-label {
  font-size: 0.625rem;
  letter-spacing: 0.25em;
  color: #AAAAAA;
  text-transform: uppercase;
}


/* ============================================================
   CONCEPT SECTION
   ============================================================ */
.pompie-concept__grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 768px) {
  .pompie-concept__grid {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
  }
}

.pompie-concept__main {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  color: var(--pompie-subtle);
  font-size: 1rem;
  line-height: 1.9;
}

@media (min-width: 768px) {
  .pompie-concept__main {
    font-size: 1.125rem;
  }
}

.pompie-concept__lead {
  font-weight: 600;
  color: var(--pompie-text);
  font-size: 1.125rem;
  line-height: 1.7;
}

@media (min-width: 768px) {
  .pompie-concept__lead {
    font-size: 1.25rem;
  }
}

.pompie-concept__quote {
  color: var(--pompie-muted);
  font-style: italic;
  border-left: 2px solid var(--pompie-border);
  padding-left: 1rem;
}

.pompie-concept__closing {
  font-weight: 500;
  color: var(--pompie-text);
}

.pompie-concept__quote-mark {
  font-size: 7.5rem;
  line-height: 1;
  font-weight: 900;
  color: #F0EEE9;
  user-select: none;
  margin-bottom: -2rem;
  margin-left: -0.5rem;
}

.pompie-concept__card {
  background-color: #F0EEE9;
  border-radius: 1rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  color: var(--pompie-subtle);
  font-size: 1rem;
  line-height: 1.9;
}

@media (min-width: 768px) {
  .pompie-concept__card {
    padding: 2.5rem;
  }
}

.pompie-concept__card-title {
  font-weight: 600;
  color: var(--pompie-text);
  font-size: 1.125rem;
}

.pompie-concept__card-sig {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 0.5rem;
}

.pompie-concept__card-line {
  width: 2rem;
  height: 1px;
  background-color: var(--pompie-red);
  display: block;
  flex-shrink: 0;
}

.pompie-concept__card-company {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: #AAAAAA;
  text-transform: uppercase;
  font-weight: 600;
}


/* ============================================================
   STANCE SECTION
   ============================================================ */
.pompie-stance__grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .pompie-stance__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

.pompie-stance__card {
  position: relative;
  background-color: var(--pompie-bg);
  border-radius: 1rem;
  padding: 2rem;
  overflow: hidden;
}

@media (min-width: 768px) {
  .pompie-stance__card {
    padding: 2.5rem;
  }
}

.pompie-stance__bg-num {
  position: absolute;
  top: -1rem;
  left: -0.5rem;
  font-size: 7rem;
  font-weight: 900;
  line-height: 1;
  user-select: none;
  pointer-events: none;
  opacity: 0.08;
}

@media (min-width: 768px) {
  .pompie-stance__bg-num {
    font-size: 9rem;
  }
}

.pompie-stance__card-inner {
  position: relative;
  z-index: 10;
}

.pompie-stance__num-row {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.pompie-stance__num {
  font-size: 1.875rem;
  font-weight: 900;
  line-height: 1;
}

@media (min-width: 768px) {
  .pompie-stance__num {
    font-size: 2.25rem;
  }
}

.pompie-stance__num-line {
  display: block;
  width: 1.5rem;
  height: 1px;
}

.pompie-stance__title {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--pompie-text);
  margin-bottom: 1rem;
  line-height: 1.3;
}

@media (min-width: 768px) {
  .pompie-stance__title {
    font-size: 1.5rem;
  }
}

.pompie-stance__body {
  color: #666666;
  font-size: 1rem;
  line-height: 1.9;
}


/* ============================================================
   SERVICE SECTION
   ============================================================ */
.pompie-service__grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .pompie-service__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .pompie-service__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.pompie-service__card {
  background-color: var(--pompie-bg);
  border: 1px solid var(--pompie-border);
  border-radius: 1rem;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.pompie-service__icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pompie-service__title-ja {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--pompie-text);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.pompie-service__title-en {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.pompie-service__divider {
  height: 1px;
  width: 2rem;
}

.pompie-service__desc {
  color: #666666;
  font-size: 0.875rem;
  line-height: 1.7;
  flex: 1;
}


/* ============================================================
   PROFILE SECTION
   ============================================================ */
.pompie-profile__grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .pompie-profile__grid {
    grid-template-columns: 280px 1fr;
    gap: 4rem;
    align-items: start;
  }
}

@media (min-width: 1024px) {
  .pompie-profile__grid {
    grid-template-columns: 320px 1fr;
  }
}

.pompie-profile__photo-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 768px) {
  .pompie-profile__photo-col {
    align-items: flex-start;
  }
}

.pompie-profile__photo-wrap {
  width: 12rem;
  height: 12rem;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--pompie-bg);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {
  .pompie-profile__photo-wrap {
    width: 16rem;
    height: 16rem;
  }
}

.pompie-profile__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pompie-profile__name-block {
  text-align: center;
}

@media (min-width: 768px) {
  .pompie-profile__name-block {
    text-align: left;
  }
}

.pompie-profile__name {
  font-size: 1.125rem;
  font-weight: 900;
  color: var(--pompie-text);
  line-height: 1;
}

.pompie-profile__name-kana {
  font-size: 0.75rem;
  color: var(--pompie-muted);
  margin-top: 0.25rem;
  letter-spacing: 0.1em;
}

.pompie-profile__title-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--pompie-blue);
  letter-spacing: 0.1em;
  margin-top: 0.5rem;
  text-transform: uppercase;
}

.pompie-profile__bio {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.pompie-profile__bio-text {
  color: var(--pompie-subtle);
  font-size: 1rem;
  line-height: 1.9;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 768px) {
  .pompie-profile__bio-text {
    font-size: 1.125rem;
  }
}

.pompie-profile__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pompie-profile__tag {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
  background-color: var(--pompie-bg);
  color: var(--pompie-muted);
  border: 1px solid var(--pompie-border);
}

.pompie-profile__note {
  background-color: var(--pompie-bg);
  border-radius: 1rem;
  padding: 1.5rem;
  border-left: 4px solid var(--pompie-blue);
}

@media (min-width: 768px) {
  .pompie-profile__note {
    padding: 2rem;
  }
}

.pompie-profile__note p {
  color: #666666;
  font-size: 0.875rem;
  line-height: 1.9;
  font-style: italic;
}

@media (min-width: 768px) {
  .pompie-profile__note p {
    font-size: 1rem;
  }
}


/* ============================================================
   CONTACT SECTION
   ============================================================ */
.pompie-contact__grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 768px) {
  .pompie-contact__grid {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
  }
}

.pompie-contact__lead {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.pompie-contact__lead-text {
  color: var(--pompie-subtle);
  font-size: 1.125rem;
  line-height: 1.9;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.pompie-contact__lead-main {
  font-weight: 600;
  color: var(--pompie-text);
  font-size: 1.25rem;
}

.pompie-contact__line-wrap {
  padding-top: 1rem;
}

.pompie-contact__note {
  font-size: 0.75rem;
  color: #AAAAAA;
  margin-top: 0.75rem;
}

.pompie-contact__dots {
  display: flex;
  gap: 0.5rem;
  padding-top: 1.5rem;
}

.pompie-contact__dots span {
  display: block;
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 50%;
  opacity: 0.5;
}

/* Contact Form 7 styling */
.pompie-contact__form .wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.pompie-contact__form .wpcf7-form p {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.pompie-contact__form label,
.pompie-contact__form .wpcf7 label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--pompie-muted);
  margin-bottom: 0.375rem;
}

.pompie-contact__form input[type="text"],
.pompie-contact__form input[type="email"],
.pompie-contact__form textarea,
.pompie-contact__form .wpcf7 input[type="text"],
.pompie-contact__form .wpcf7 input[type="email"],
.pompie-contact__form .wpcf7 textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid var(--pompie-border);
  background-color: var(--pompie-bg);
  color: var(--pompie-text);
  font-size: 0.875rem;
  font-family: inherit;
  outline: none;
  transition: box-shadow 0.2s, border-color 0.2s;
  box-sizing: border-box;
}

.pompie-contact__form input[type="text"]:focus,
.pompie-contact__form input[type="email"]:focus,
.pompie-contact__form textarea:focus,
.pompie-contact__form .wpcf7 input[type="text"]:focus,
.pompie-contact__form .wpcf7 input[type="email"]:focus,
.pompie-contact__form .wpcf7 textarea:focus {
  border-color: transparent;
  box-shadow: 0 0 0 2px var(--pompie-blue);
}

.pompie-contact__form textarea,
.pompie-contact__form .wpcf7 textarea {
  resize: none;
  height: 8rem;
}

.pompie-contact__form input[type="submit"],
.pompie-contact__form .wpcf7 input[type="submit"] {
  width: 100%;
  padding: 0.875rem;
  background-color: var(--pompie-text);
  color: var(--pompie-bg);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
  font-family: inherit;
}

.pompie-contact__form input[type="submit"]:hover,
.pompie-contact__form .wpcf7 input[type="submit"]:hover {
  background-color: var(--pompie-red);
}

.pompie-contact__form .wpcf7-not-valid-tip {
  font-size: 0.75rem;
  color: var(--pompie-red);
  margin-top: 0.25rem;
}

.pompie-contact__form .wpcf7-response-output {
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  margin-top: 0.5rem;
}

/* CF7 テーブルレイアウト */
.pompie-contact__form .CF7_table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.pompie-contact__form .CF7_table tr {
  border-bottom: 1px solid var(--pompie-border);
}

.pompie-contact__form .CF7_table tr:first-child {
  border-top: 1px solid var(--pompie-border);
}

.pompie-contact__form .CF7_table th {
  padding: 1rem 0.75rem 1rem 0;
  vertical-align: top;
  text-align: left;
  font-weight: 600;
  color: var(--pompie-text);
  font-size: 0.8125rem;
  line-height: 1.6;
  white-space: nowrap;
  width: 10em;
}

.pompie-contact__form .CF7_table td {
  padding: 0.875rem 0 0.875rem 0.75rem;
  vertical-align: top;
}

@media (max-width: 640px) {
  .pompie-contact__form .CF7_table,
  .pompie-contact__form .CF7_table tbody,
  .pompie-contact__form .CF7_table tr,
  .pompie-contact__form .CF7_table th,
  .pompie-contact__form .CF7_table td {
    display: block;
    width: 100%;
  }
  .pompie-contact__form .CF7_table th {
    padding: 0.875rem 0 0.25rem;
    white-space: normal;
    border-bottom: none;
  }
  .pompie-contact__form .CF7_table td {
    padding: 0 0 0.875rem;
  }
  .pompie-contact__form .CF7_table tr {
    padding: 0;
  }
}

/* 必須・任意バッジ */
.pompie-contact__form .CF7_req,
.pompie-contact__form .CF7_unreq {
  display: inline-block;
  font-size: 0.625rem;
  font-weight: 700;
  padding: 0.15em 0.5em;
  border-radius: 3px;
  margin-right: 0.4em;
  vertical-align: middle;
  letter-spacing: 0.05em;
}

.pompie-contact__form .CF7_req {
  background-color: #D97A70;
  color: #fff;
}

.pompie-contact__form .CF7_unreq {
  background-color: var(--pompie-border);
  color: var(--pompie-muted);
}

/* チェックボックス */
.pompie-contact__form .wpcf7-checkbox .wpcf7-list-item {
  display: inline-flex;
  align-items: center;
  margin-right: 1rem;
  margin-bottom: 0.25rem;
}

.pompie-contact__form .wpcf7-checkbox .wpcf7-list-item label {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
  color: var(--pompie-text);
  cursor: pointer;
  margin-bottom: 0;
}

.pompie-contact__form .wpcf7-checkbox input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  accent-color: var(--pompie-blue);
  cursor: pointer;
  flex-shrink: 0;
}

/* 送信ボタン行 */
.pompie-contact__form .CF7_btn {
  margin-top: 1.25rem;
  margin-bottom: 0;
}

.pompie-contact__form .CF7_btn input[type="submit"] {
  width: 100%;
  padding: 0.875rem;
  background-color: var(--pompie-text);
  color: var(--pompie-bg);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
  font-family: inherit;
}

.pompie-contact__form .CF7_btn input[type="submit"]:hover {
  background-color: var(--pompie-red);
}

/* メッセージ欄の高さ */
.pompie-contact__form .message-100 textarea {
  height: 8rem;
}


/* ============================================================
   FOOTER
   ============================================================ */
.pompie-footer {
  background-color: #333333;
  color: var(--pompie-bg);
  padding: 2.5rem 1.5rem;
}

.pompie-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 768px) {
  .pompie-footer__inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.pompie-footer__logo {
  display: flex;
  align-items: center;
}

.pompie-footer__logo-img {
  display: block;
  height: 36px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  /* ロゴが暗色の場合は白く反転して表示 */
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.pompie-footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
}

.pompie-footer__nav-link {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: #999999;
  text-decoration: none;
  transition: color 0.2s;
}

.pompie-footer__nav-link:hover {
  color: var(--pompie-bg);
}

.pompie-footer__copy {
  font-size: 0.6875rem;
  color: #666666;
  text-align: center;
}

@media (min-width: 768px) {
  .pompie-footer__copy {
    text-align: right;
  }
}
