:root {
  --gradient-a: rgba(152, 149, 248, 1);
  --gradient-b: rgba(242, 169, 224, 1);
  --gradient-c: rgba(224, 102, 112, 1);
  --brand-grad-1: rgba(173, 39, 250, 1);
  --brand-grad-2: rgba(198, 31, 87, 1);
  --brand-grad-3: rgba(148, 23, 121, 1);
  --text: #000000;
  --bg: #ffffff;
  --input-bg: #d9d9d9;
  --btn-dark: #525252;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Roboto", system-ui, -apple-system, Segoe UI, Helvetica, Arial,
    "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  color: var(--text);
  background: var(--bg);
}

a {
  color: #000000;
  text-decoration: none;
}

/* .container {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: 16px;
} */

/* Navbar */
/* .navbar {
  background: #fff;
  height: 72px;
  display: flex;
  align-items: center;
} */
.nav-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  width: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  display: block;
  width: 171px;
  height: 43px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  justify-content: center;
}

.nav-links a {
  font-size: 16px;
  text-decoration: none;
  color: #000;
}

.nav-cta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 4px;
  text-decoration: none;
}

.btn-outline-gradient {
  padding: 8px 20px;
  border: 1px solid transparent;
  background: linear-gradient(90deg,
      var(--brand-grad-1) 0%,
      var(--brand-grad-2) 51%,
      var(--brand-grad-3) 100%) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  color: transparent;
  background-clip: padding-box, text;
  -webkit-background-clip: padding-box, text;
}

.btn-outline-gradient:hover {
  opacity: 0.9;
}

.btn-solid-dark {
  min-width: 200px;
  padding: 0;
  /* padding: 16px 0; */
  color: #fff;
  background: none;
  border: none;
  font-size: 18px;
  border-radius: 5px;
  cursor: pointer;
}

.btn-solid-dark:hover {
  filter: brightness(0.95);
}

.btn-primary.btn-alternate {
  background: #ffffff;
  color: #000000;
  border: 1px solid #ffffff;
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border: 1px solid #fff;
  width: 96px;
}

.btn-secondary:hover {
  background: #000000;
  color: #ffffff;
}

.btn-link {
  background: transparent;
  color: #fff;
  text-decoration: none;
  padding: 0;
  border: 1px solid #fff;
  border-radius: 4px;
  padding: 16px;
  font-weight: bold;
}

/* ヒーローセクション */
.hero-section {
  position: relative;
  overflow: hidden;
}

.hero-section video {
  display: block;
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 80px;
  text-align: center;
  margin: 0 auto;
}

.section-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
}

.tagline-wrapper {
  display: flex;
  align-items: center;
}

.tagline {
  font-family: "Roboto", sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  color: #333;
}

.content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
}

.heading {
  font-family: "Roboto", sans-serif;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  margin: 0;
}

.hero-section .heading {
  text-shadow: none;
}

.text {
  font-family: "Roboto", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  color: #333;
  max-width: 800px;
  margin: 0;
}

.hero-section .text {
  color: #333;
}

.actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.actions .btn-link {
  color: #333;
  border: 1px solid #333;
}

/* Contact Section */
.contact-section {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  padding: 100px 0;
  position: relative;
}

.contact-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  pointer-events: none;
}

.form-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

form {
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: 60px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1), 0 8px 16px rgba(0, 0, 0, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: grid;
  gap: 32px;
  position: relative;
  overflow: hidden;
}

form::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg,
      var(--brand-grad-1),
      var(--brand-grad-2),
      var(--brand-grad-3));
  border-radius: 24px 24px 0 0;
}

.form-field {
  display: grid;
  gap: 12px;
  position: relative;
}

.form-field label {
  font-size: 16px;
  font-weight: 600;
  color: #374151;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s ease;
}

.form-field:focus-within label {
  color: var(--brand-grad-1);
}

.req {
  color: #ef4444;
  margin-left: 2px;
  font-weight: 700;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  background: #f9fafb;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  padding: 20px 24px;
  font-size: 16px;
  font-family: inherit;
  transition: all 0.3s ease;
  position: relative;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--brand-grad-1);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(173, 39, 250, 0.1), 0 4px 12px rgba(0, 0, 0, 0.05);
  transform: translateY(-2px);
}

.form-field input:hover,
.form-field textarea:hover,
.form-field select:hover {
  border-color: #d1d5db;
  background: #ffffff;
}

.form-field input {
  height: 60px;
}

.form-field textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.6;
}

.form-field select {
  cursor: pointer;
  appearance: none;
  /* background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e"); */
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
  padding-right: 48px;
}

.form-field select:focus {
  /* background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23ad27fa' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e"); */
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #9ca3af;
  font-style: italic;
}

.form-agree {
  display: flex;
  justify-content: center;
  padding: 16px 0;
}

.checkbox {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  color: #374151;
  cursor: pointer;
  padding: 16px 24px;
  background: #f9fafb;
  border-radius: 12px;
  border: 2px solid #e5e7eb;
  transition: all 0.3s ease;
}

.checkbox:hover {
  background: #ffffff;
  border-color: var(--brand-grad-1);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.checkbox input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--brand-grad-1);
  cursor: pointer;
}

.form-actions {
  display: flex;
  justify-content: center;
  padding: 24px 0;
}

.btn-solid-dark input[type="submit"] {
  min-width: 240px;
  padding: 20px 40px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-grad-1), var(--brand-grad-2));
  border: none;
  font-size: 18px;
  font-weight: 600;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(173, 39, 250, 0.3), 0 4px 12px rgba(0, 0, 0, 0.1);
}

.wpcf7-spinner {
  display: none;
}

.btn-solid-dark::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.2),
      transparent);
  transition: left 0.5s ease;
}

.btn-solid-dark input[type="submit"]:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(173, 39, 250, 0.4),
    0 8px 16px rgba(0, 0, 0, 0.15);
}

.btn-solid-dark:hover::before {
  left: 100%;
}

.btn-solid-dark:active {
  transform: translateY(-2px);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {

  .hero-content,
  .feature-content,
  .services-content {
    padding: 0 20px;

  }

  .contact-section {
    padding: 60px 0;
  }

  .contact-form {
    padding: 40px 24px;
    /* margin: 0 16px; */
    border-radius: 20px;
  }

  .form-field input,
  .form-field textarea,
  .form-field select {
    padding: 16px 20px;
  }

  .btn-solid-dark {
    min-width: 200px;
    padding: 18px 32px;
    font-size: 16px;
  }
}

@media (max-width: 520px) {
  .nav-links {
    display: none;
  }

  .heading {
    font-size: 24px;
  }

  .contact-form {
    padding: 32px 20px;
    gap: 24px;
  }

  .form-field label {
    font-size: 14px;
  }

  .form-field input,
  .form-field textarea,
  .form-field select {
    font-size: 14px;
    padding: 14px 16px;
  }

  .btn-solid-dark {
    min-width: 180px;
    padding: 16px 24px;
    font-size: 15px;
  }
}

/* Footer */
.site-footer {
  background: #fff;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  padding: 80px 64px;
}

.footer-col.footer-brand {
  display: grid;
  align-content: start;
  gap: 32px;
}

.footer-brand img {
  width: 219px;
  height: 55px;
  display: block;
}

.footer-info {
  display: grid;
  gap: 24px;
}

.info-row {
  display: grid;
  gap: 4px;
}

.info-term {
  font-size: 14px;
  font-weight: 600;
}

.info-desc {
  font-size: 14px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.icon-24 {
  width: 24px;
  height: 24px;
  display: inline-flex;
  background: #000;
  border-radius: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  clip: rect(0 0 0 0);
  overflow: hidden;
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 64px;
}

.footer-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.footer-links a {
  color: #000;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

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

.divider {
  border: none;
  border-top: 1px solid #000;
  margin: 0 0 32px;
}

.credits {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

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

.footer-mini-links a {
  color: #000;
  text-decoration: none;
  font-size: 14px;
}

/* Responsive tweaks */
@media (max-width: 1024px) {
  .nav-inner {
    grid-template-columns: auto 1fr;
  }

  .nav-cta {
    display: none;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }
}
