:root {
  --color-navy: #10253f;
  --color-navy-dark: #07182b;
  --color-blue: #176b93;
  --color-teal: #16a0a8;
  --color-cyan: #38c2d6;
  --color-bg: #f6f9fb;
  --color-white: #ffffff;
  --color-text: #1b2b3a;
  --color-muted: #607083;
  --color-border: #dbe5ec;
  --shadow-card: 0 24px 60px rgba(16, 37, 63, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --header-height: 78px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
  "Noto Sans JP",
  "Helvetica Neue",
  Arial,
  "Hiragino Kaku Gothic ProN",
  "Hiragino Sans",
  Meiryo,
  sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.75;
  font-feature-settings: "palt";
  letter-spacing: 0.02em;
}

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

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

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.sp-only {
  display: none;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  height: var(--header-height);
  background: rgba(246, 249, 251, 0.84);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(219, 229, 236, 0.8);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 30px rgba(16, 37, 63, 0.08);
}

.header-inner {
  width: min(1180px, calc(100% - 36px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.global-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14px;
  font-weight: 700;
}

.global-nav a {
  position: relative;
  color: var(--color-text);
}

.global-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  background: var(--color-teal);
  transition: width 0.25s ease;
}

.global-nav a:hover::after,
.global-nav a.is-active::after {
  width: 100%;
}

.nav-cta {
  padding: 10px 18px;
  color: var(--color-white) !important;
  background: var(--color-navy);
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(16, 37, 63, 0.18);
}

.menu-button {
  display: none;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 150px 0 90px;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 28%, rgba(56, 194, 214, 0.22), transparent 28%),
    radial-gradient(circle at 18% 22%, rgba(23, 107, 147, 0.16), transparent 24%),
    linear-gradient(135deg, #f7fbfd 0%, #edf5f8 100%);
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  opacity: 0.55;
  background-image:
    linear-gradient(rgba(16, 37, 63, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 37, 63, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, #000, transparent 86%);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 70px;
  align-items: center;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--color-teal);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  color: var(--color-navy-dark);
  font-size: clamp(44px, 6vw, 76px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.hero h1 span {
  display: inline-block;
  color: var(--color-teal);
}

.hero-lead {
  margin: 28px 0 0;
  max-width: 620px;
  color: var(--color-muted);
  font-size: 17px;
}

.hero-actions {
  margin-top: 36px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 800;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

.button:hover {
  transform: translateY(-3px);
}

.button.primary {
  color: var(--color-white);
  background: linear-gradient(135deg, var(--color-navy), var(--color-teal));
  box-shadow: 0 18px 34px rgba(16, 37, 63, 0.22);
}

.button.secondary {
  color: var(--color-navy);
  background: var(--color-white);
  border: 1px solid var(--color-border);
}

.button.large {
  min-height: 58px;
  padding: 0 34px;
}

.hero-tags {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-tags span {
  padding: 8px 14px;
  color: var(--color-navy);
  font-size: 13px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(219, 229, 236, 0.9);
  border-radius: 999px;
}

.hero-visual {
  position: relative;
  min-height: 560px;
}

.motion-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(219, 229, 236, 0.8);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(16px);
}

.main-card {
  top: 120px;
  right: 30px;
  z-index: 2;
  width: min(420px, 100%);
  padding: 42px;
  border-radius: var(--radius-lg);
}

.card-label {
  margin: 0 0 18px;
  color: var(--color-teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.main-card h2 {
  margin: 0;
  color: var(--color-navy);
  font-size: 42px;
  line-height: 1.22;
  letter-spacing: -0.04em;
}

.main-card p:last-child {
  margin: 22px 0 0;
  color: var(--color-muted);
}

.orbit {
  position: absolute;
  border-radius: 999px;
  border: 1px solid rgba(23, 107, 147, 0.18);
  pointer-events: none;
}

.orbit::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 50%;
  width: 14px;
  height: 14px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--color-teal), var(--color-cyan));
  box-shadow:
    0 0 0 6px rgba(56, 194, 214, 0.14),
    0 0 22px rgba(22, 160, 168, 0.55);
}

/* 円周の一部だけ明るくして、動きの向きを見せる */
.orbit::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: conic-gradient(
    from 20deg,
    transparent 0deg,
    transparent 250deg,
    rgba(56, 194, 214, 0.08) 270deg,
    rgba(56, 194, 214, 0.8) 300deg,
    rgba(22, 160, 168, 0.35) 330deg,
    transparent 360deg
  );
  mask: radial-gradient(
    farthest-side,
    transparent calc(100% - 3px),
    #000 calc(100% - 2px)
  );
  -webkit-mask: radial-gradient(
    farthest-side,
    transparent calc(100% - 3px),
    #000 calc(100% - 2px)
  );
}

.orbit-one {
  width: 430px;
  height: 430px;
  top: 88px;
  right: 0;
  animation: rotateSlow 16s linear infinite;
}

.orbit-two {
  width: 280px;
  height: 280px;
  top: 165px;
  right: 74px;
  animation: rotateSlow 10s linear infinite reverse;
}

.orbit-two::before {
  width: 10px;
  height: 10px;
  top: -5px;
  background: linear-gradient(135deg, var(--color-blue), var(--color-teal));
}

.mini-card {
  position: absolute;
  z-index: 3;
  display: grid;
  gap: 4px;
  min-width: 180px;
  padding: 18px 20px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  box-shadow: 0 18px 40px rgba(16, 37, 63, 0.13);
}

.mini-card strong {
  color: var(--color-navy);
  font-size: 18px;
}

.mini-card span {
  color: var(--color-muted);
  font-size: 13px;
}

.mini-card-01 {
  top: 50px;
  left: -10px;
}

.mini-card-02 {
  right: 0;
  bottom: 50px;
}

/* Common Section */
.section {
  padding: 110px 0;
}

.section-heading {
  max-width: 740px;
  margin: 0 auto 52px;
  text-align: center;
}

.section-heading h2,
.concept-text h2,
.strength-panel h2,
.message-text h2,
.contact-inner h2 {
  margin: 0;
  color: var(--color-navy);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.35;
  letter-spacing: -0.03em;
}

.section-heading p,
.concept-text p,
.strength-panel p,
.message-text p,
.contact-inner p {
  color: var(--color-muted);
}

/* Problems */
.problems {
  background: var(--color-white);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.problem-card {
  padding: 28px;
  background: #f7fafc;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.problem-card span {
  color: var(--color-teal);
  font-size: 13px;
  font-weight: 900;
}

.problem-card h3 {
  margin: 14px 0 12px;
  color: var(--color-navy);
  font-size: 18px;
  line-height: 1.5;
}

.problem-card p {
  margin: 0;
  color: var(--color-muted);
  font-size: 14px;
}

/* Concept */
.concept {
  background:
    linear-gradient(135deg, var(--color-navy-dark), var(--color-navy));
  color: var(--color-white);
}

.concept-inner {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
  align-items: center;
}

.concept-text h2,
.concept-text p {
  color: var(--color-white);
}

.concept-text p {
  opacity: 0.84;
}

.concept-steps {
  display: grid;
  gap: 18px;
}

.step-card {
  position: relative;
  padding: 26px 30px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.step-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: var(--color-cyan);
}

.step-card span {
  color: var(--color-cyan);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.step-card h3 {
  margin: 8px 0;
  font-size: 24px;
}

.step-card p {
  margin: 0;
  opacity: 0.82;
}

/* Services */
.services {
  background: var(--color-bg);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card {
  padding: 34px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 44px rgba(16, 37, 63, 0.07);
}

.service-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  color: var(--color-white);
  font-size: 15px;
  font-weight: 900;
  border-radius: 20px;
  background:
    linear-gradient(135deg, var(--color-blue), var(--color-teal));
}

.service-card h3 {
  margin: 0 0 14px;
  color: var(--color-navy);
  font-size: 24px;
}

.service-card p {
  color: var(--color-muted);
}

.service-card ul {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.service-card li {
  position: relative;
  padding-left: 24px;
  color: var(--color-text);
  font-weight: 700;
}

.service-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 9px;
  height: 9px;
  background: var(--color-teal);
  border-radius: 999px;
}

/* Strength */
.strength {
  background: var(--color-white);
}

.strength-inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 52px;
  align-items: center;
}

.strength-panel {
  padding: 42px;
  color: var(--color-white);
  background:
    radial-gradient(circle at top right, rgba(56, 194, 214, 0.38), transparent 36%),
    linear-gradient(135deg, var(--color-navy-dark), var(--color-navy));
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.strength-panel h2,
.strength-panel p {
  color: var(--color-white);
}

.strength-panel p {
  opacity: 0.86;
}

.strength-list {
  display: grid;
  gap: 14px;
}

.strength-item {
  display: grid;
  grid-template-columns: 58px 1fr;
  align-items: center;
  gap: 18px;
  padding: 20px 24px;
  background: #f7fafc;
  border: 1px solid var(--color-border);
  border-radius: 18px;
}

.strength-item span {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: var(--color-teal);
  font-weight: 900;
  background: var(--color-white);
  border-radius: 15px;
}

.strength-item p {
  margin: 0;
  color: var(--color-navy);
  font-weight: 800;
}

/* MVV */
.mvv {
  background: var(--color-bg);
}

.mvv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.mvv-card {
  padding: 32px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.mvv-card span {
  color: var(--color-teal);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mvv-card h3 {
  margin: 14px 0;
  color: var(--color-navy);
  font-size: 22px;
  line-height: 1.5;
}

.mvv-card p {
  margin: 0;
  color: var(--color-muted);
}

/* Flow */
.flow {
  background: var(--color-white);
}

.flow-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  counter-reset: flow;
}

.flow-item {
  position: relative;
  padding: 30px;
  background: #f7fafc;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.flow-item span {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--color-white);
  font-weight: 900;
  background: var(--color-navy);
  border-radius: 16px;
}

.flow-item h3 {
  margin: 20px 0 10px;
  color: var(--color-navy);
  font-size: 21px;
}

.flow-item p {
  margin: 0;
  color: var(--color-muted);
  font-size: 14px;
}

/* Message */
.message {
  background:
    linear-gradient(135deg, #eef6f8 0%, #f8fbfc 100%);
}

.message-inner {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 54px;
  align-items: center;
}

.message-photo {
  display: flex;
  justify-content: center;
}

.portrait {
  position: relative;
  width: min(340px, 100%);
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 20%, rgba(56, 194, 214, 0.34), transparent 26%),
    linear-gradient(135deg, var(--color-navy-dark), var(--color-blue));
  border-radius: 34px;
  box-shadow: var(--shadow-card);
}

.portrait-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
}

.portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to top,
      rgba(7, 24, 43, 0.68) 0%,
      rgba(7, 24, 43, 0.28) 34%,
      rgba(7, 24, 43, 0.02) 68%
    );
  pointer-events: none;
}

.portrait-caption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 22px;
  z-index: 2;
  display: grid;
  gap: 2px;
  color: var(--color-white);
}

.portrait-caption span {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.82;
}

.portrait-caption strong {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.portrait span {
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.message-text {
  padding: 10px 0;
}

.representative {
  margin-top: 26px;
  color: var(--color-navy) !important;
  font-weight: 900;
}

/* Contact */
.contact-cta {
  padding: 110px 0;
  color: var(--color-white);
  background:
    radial-gradient(circle at 78% 16%, rgba(56, 194, 214, 0.36), transparent 28%),
    linear-gradient(135deg, var(--color-navy-dark), var(--color-navy));
}

.contact-inner {
  max-width: 820px;
  text-align: center;
}

.contact-inner h2,
.contact-inner p {
  color: var(--color-white);
}

.contact-inner p {
  opacity: 0.86;
}

/* Footer */
.site-footer {
  padding: 46px 0;
  color: var(--color-white);
  background: var(--color-navy-dark);
}

.footer-inner {
  display: grid;
  gap: 8px;
  text-align: center;
}

.footer-logo {
  font-size: 22px;
  font-weight: 900;
}

.site-footer p,
.site-footer small {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
}

/* Animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

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

@keyframes rotateSlow {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* Responsive */
@media (max-width: 980px) {
  .menu-button {
    display: grid;
    gap: 5px;
    width: 44px;
    height: 44px;
    place-content: center;
    border: 0;
    background: var(--color-white);
    border-radius: 14px;
    box-shadow: 0 10px 24px rgba(16, 37, 63, 0.1);
    cursor: pointer;
  }

  .menu-button span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-navy);
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  .menu-button.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-button.is-open span:nth-child(2) {
    opacity: 0;
  }

  .menu-button.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .global-nav {
    position: fixed;
    top: var(--header-height);
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 18px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 22px;
    box-shadow: var(--shadow-card);
  }

  .global-nav.is-open {
    display: flex;
  }

  .global-nav a {
    padding: 14px 12px;
  }

  .nav-cta {
    margin-top: 8px;
    text-align: center;
  }

  .hero-inner,
  .concept-inner,
  .strength-inner,
  .message-inner {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 130px;
  }

  .hero-visual {
    min-height: 420px;
  }

  .main-card {
    left: 0;
    right: auto;
  }

  .problem-grid,
  .service-grid,
  .mvv-grid,
  .flow-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .sp-only {
    display: inline;
  }

  .logo-text span {
    font-size: 16px;
  }

  .logo-text small {
    font-size: 10px;
  }

  .hero {
    min-height: auto;
    padding: 120px 0 70px;
  }

  .hero-inner {
    gap: 40px;
  }

  .hero h1 {
    font-size: 44px;
  }

  .hero-lead {
    font-size: 15px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-visual {
    min-height: 430px;
  }

  .main-card {
    top: 96px;
    padding: 30px;
  }

  .main-card h2 {
    font-size: 34px;
  }

  .mini-card {
    min-width: 150px;
    padding: 15px;
  }

  .mini-card-01 {
    top: 20px;
    left: 0;
  }

  .mini-card-02 {
    right: 0;
    bottom: 18px;
  }

  .orbit-one {
    width: 320px;
    height: 320px;
    top: 70px;
    right: -20px;
  }

  .orbit-two {
    width: 220px;
    height: 220px;
    top: 120px;
    right: 36px;
  }

  .section {
    padding: 78px 0;
  }

  .section-heading {
    margin-bottom: 36px;
    text-align: left;
  }

  .problem-grid,
  .service-grid,
  .mvv-grid,
  .flow-list {
    grid-template-columns: 1fr;
  }

  .strength-panel,
  .service-card,
  .mvv-card {
    padding: 28px;
  }

  .strength-item {
    grid-template-columns: 48px 1fr;
    padding: 18px;
  }

  .contact-cta {
    padding: 78px 0;
  }

  .contact-inner {
    text-align: left;
  }

  .contact-inner .button {
    margin-top: 16px;
  }

  
  .site-logo-image {
    height: 42px;
    max-width: 210px;
  }

  .portrait {
    width: min(300px, 100%);
    border-radius: 28px;
  }

  .portrait-caption {
    left: 20px;
    right: 20px;
    bottom: 18px;
  }

  .portrait-caption strong {
    font-size: 18px;
  }

}

@media (max-width: 380px) {
  .site-logo-image {
    height: 38px;
    max-width: 180px;
  }
}

/* WordPress admin bar adjustment */
body.admin-bar .site-header {
  top: 32px;
}

@media (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}

/* WordPress default margin reset */
body {
  margin: 0;
}

/* Fixed header anchor adjustment */
section[id] {
  scroll-margin-top: 100px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 1;
}

.site-logo-image {
  display: block;
  width: auto;
  height: 52px;
  max-width: 280px;
  object-fit: contain;
}

/* Contact Modal */
body.contact-modal-is-open {
  overflow: hidden;
}

.contact-modal[hidden] {
  display: none;
}

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  place-items: center;
  padding: 24px;
}

.contact-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(7, 24, 43, 0.72);
  backdrop-filter: blur(8px);
}

.contact-modal-panel {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  max-height: min(86vh, 860px);
  overflow-y: auto;
  padding: 42px;
  background: var(--color-white);
  border: 1px solid rgba(219, 229, 236, 0.9);
  border-radius: 28px;
  box-shadow: 0 30px 90px rgba(7, 24, 43, 0.34);
  animation: contactModalIn 0.28s ease forwards;
}

.contact-modal-heading {
  margin-bottom: 28px;
}

.contact-modal-heading h2 {
  margin: 0;
  color: var(--color-navy);
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.35;
  letter-spacing: -0.03em;
}

.contact-modal-heading p {
  margin: 12px 0 0;
  color: var(--color-muted);
}

.contact-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: #f2f6f8;
  cursor: pointer;
}

.contact-modal-close span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 2px;
  background: var(--color-navy);
  transform-origin: center;
}

.contact-modal-close span:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}

.contact-modal-close span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* Contact Form 7 form styling */
.contact-form-area .wpcf7 {
  margin: 0;
}

.contact-form-area p {
  margin: 0 0 18px;
}

.contact-form-area label {
  display: grid;
  gap: 8px;
  color: var(--color-navy);
  font-weight: 800;
}

.contact-form-area input[type="text"],
.contact-form-area input[type="email"],
.contact-form-area input[type="tel"],
.contact-form-area input[type="url"],
.contact-form-area textarea,
.contact-form-area select {
  width: 100%;
  padding: 14px 16px;
  color: var(--color-text);
  font: inherit;
  background: #f7fafc;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.contact-form-area textarea {
  min-height: 160px;
  resize: vertical;
}

.contact-form-area input:focus,
.contact-form-area textarea:focus,
.contact-form-area select:focus {
  background: var(--color-white);
  border-color: var(--color-teal);
  box-shadow: 0 0 0 4px rgba(22, 160, 168, 0.12);
}

.contact-form-area input[type="submit"],
.contact-form-area .wpcf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 30px;
  color: var(--color-white);
  font: inherit;
  font-weight: 900;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--color-navy), var(--color-teal));
  box-shadow: 0 18px 34px rgba(16, 37, 63, 0.22);
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-form-area input[type="submit"]:hover,
.contact-form-area .wpcf7-submit:hover {
  transform: translateY(-3px);
}

.contact-form-area .wpcf7-spinner {
  margin-left: 12px;
}

.contact-form-area .wpcf7-not-valid-tip {
  margin-top: 6px;
  color: #c0392b;
  font-size: 13px;
  font-weight: 700;
}

.contact-form-area .wpcf7-response-output {
  margin: 20px 0 0;
  padding: 14px 16px;
  border-radius: 14px;
  font-weight: 700;
}

@keyframes contactModalIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 640px) {
  .contact-modal {
    padding: 14px;
  }

  .contact-modal-panel {
    max-height: 88vh;
    padding: 34px 22px 26px;
    border-radius: 22px;
  }

  .contact-modal-close {
    top: 12px;
    right: 12px;
  }

  .contact-form-area input[type="submit"],
  .contact-form-area .wpcf7-submit {
    width: 100%;
  }
}

h1,
h2,
h3,
.hero h1,
.main-card h2,
.section-heading h2,
.concept-text h2,
.strength-panel h2,
.message-text h2,
.contact-inner h2,
.service-card h3,
.mvv-card h3,
.flow-item h3,
.problem-card h3 {
  font-family:
    "Zen Kaku Gothic New",
    "Noto Sans JP",
    "Helvetica Neue",
    Arial,
    sans-serif;
  font-weight: 700;
}