/* ===== CSS変数定義 ===== */
:root {
  --primary-color: #3b82f6;
  --primary-dark: #2563eb;
  --secondary-color: #8b5cf6;
  --accent-color: #10b981;
  --text-color: #1f2937;
  --text-light: #6b7280;
  --text-lighter: #9ca3af;
  --bg-white: #ffffff;
  --bg-gray-50: #f9fafb;
  --bg-gray-100: #f3f4f6;
  --border-color: #e5e7eb;
  --border-light: #f3f4f6;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --font-family: "Noto Sans JP", sans-serif;
  --container-width: 1200px;
  --header-height: 80px;
  --border-radius: 12px;
  --border-radius-lg: 20px;
}

/* ===== 基本設定 ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  color: var(--text-color);
  background-color: var(--bg-white);
  line-height: 1.7;
  overflow-x: hidden;
}

.bg-movie {
  position: fixed;
  z-index: -100;
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
  width: 100%;
  min-width: 1200px;
}

.container {
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section {
  padding: 6rem 0;
  position: relative;
}

/* ===== ボタンスタイル ===== */
.btn {
  background-color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border: none;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.btn-large {
  padding: 1.125rem 2.25rem;
  font-size: 1rem;
}

.btn-primary {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--primary-dark)
  );
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-outline:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
}

/* ===== ヘッダー ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  transition: all 0.3s ease;
  height: var(--header-height);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(255, 255, 255, 0.98);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--primary-color);
  text-decoration: none;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.header-r {
  display: flex;
  align-items: center;
}

.navbar {
  display: none;
}

@media (min-width: 1024px) {
  .navbar {
    display: flex;
    gap: 1.5rem; /* Reduced gap */
    padding-right: 3rem;
  }
}

.nav-link {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 600;
  position: relative;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
  font-size: 0.9rem;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  transition: width 0.3s ease;
  border-radius: 1px;
}

.nav-link:hover {
  color: var(--primary-color);
}

.nav-link:hover::after {
  width: 100%;
}

.header-btn {
  display: none;
}

@media (min-width: 1024px) {
  .header-btn {
    display: inline-flex;
  }
}

/* モバイルメニュー */
.mobile-menu-toggle {
  display: flex;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  gap: 0.375rem;
}

.mobile-menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--text-color);
  transition: all 0.3s ease;
  border-radius: 1px;
}

@media (min-width: 1024px) {
  .mobile-menu-toggle {
    display: none;
  }
}

.navbar.active {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: var(--header-height);
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
  gap: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* ===== ヒーローセクション ===== */
.topimg {
  width: 20%;
}
@media (max-width: 500px) {
  .topimg {
    width: 50%;
  }
}
.hero {
  padding: calc(6rem + var(--header-height)) 0 8rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.1),
    rgba(139, 92, 246, 0.1)
  );
  color: var(--primary-color);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 2rem;
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.hero-title {
  font-size: 3rem;
  font-weight: 900;
  color: var(--text-color);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.gradient-text {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  max-width: 700px;
  margin: 0 auto 3rem;
  font-size: 1.125rem;
  color: var(--text-light);
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
    justify-content: center;
    gap: 1.5rem;
  }
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 4rem;
  }
}

/* ===== セクション共通 ===== */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--text-color);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.section-subtitle {
  color: var(--text-light);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ===== 課題セクション ===== */
.trouble-section {
  background: var(--bg-gray-50);
}

.trouble-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .trouble-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (min-width: 1024px) {
  .trouble-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.trouble-item {
  padding: 2rem;
  border-radius: var(--border-radius-lg);
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.trouble-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.trouble-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
}

.trouble-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
}

.trouble-icon img {
  width: 28px;
  height: 28px;
  filter: brightness(0) invert(1);
}

.trouble-item h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 0.75rem;
}

.trouble-item p {
  color: var(--text-light);
  line-height: 1.6;
}

/* ===== マネージドサービスセクション ===== */
.about-section {
}

.about-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .about-content {
    grid-template-columns: 1fr 1.1fr;
    gap: 5rem;
  }
}

.about-visual {
  text-align: center;
}

.about-image {
  max-width: 80%;
  border-radius: var(--border-radius-lg);
}

.about-details {
  text-align: left;
}

.about-heading {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 1rem;
  line-height: 1.4;
}

.about-description {
  color: var(--text-light);
  margin-bottom: 2.5rem;
}

.about-pillars {
  display: grid;
  gap: 1.5rem;
}

.pillar-card {
  background-color: #fff;
  padding: 1.5rem;
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  transition: all 0.3s ease;
}

.pillar-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.pillar-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.pillar-icon svg {
  width: 24px;
  height: 24px;
}

.pillar-card h4 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 0.25rem;
}

.pillar-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ===== 特長セクション ===== */
.features-section {
  background: var(--bg-gray-50);
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  padding: 2.5rem;
  border-radius: var(--border-radius-lg);
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  color: white;
}

.feature-icon svg {
  width: 36px;
  height: 36px;
}

.feature-card h3 {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 1rem;
}

.feature-card p {
  color: var(--text-light);
  line-height: 1.7;
}

/* ===== 料金プランセクション ===== */
.plans-section {
}

.plans-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: stretch;
}

@media (min-width: 768px) {
  .plans-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .plans-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.plan-card {
  background-color: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.plan-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.plan-card.featured {
  border-color: var(--primary-color);
  border-width: 2px;
  transform: scale(1.05);
}

.plan-badge {
  position: absolute;
  top: 1.5rem;
  right: -40px;
  background: var(--primary-color);
  color: white;
  padding: 0.25rem 3rem;
  font-size: 0.8rem;
  font-weight: 700;
  transform: rotate(45deg);
}

.plan-header {
  margin-bottom: 1.5rem;
}

.plan-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.plan-header p {
  color: var(--text-light);
  font-size: 0.9rem;
}

.plan-price {
  margin-bottom: 2rem;
}

.price-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--primary-color);
}

.price-unit {
  color: var(--text-light);
  font-weight: 600;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
  text-align: left;
  flex-grow: 1;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.check-icon {
  width: 20px;
  height: 20px;
  color: var(--accent-color);
  flex-shrink: 0;
}

.plan-card.custom-plan {
  background: var(--bg-gray-50);
  border-style: dashed;
}

.plan-card.custom-plan .price-number {
  font-size: 2rem;
}

/* ===== 導入の流れセクション ===== */
.flow-section {
  background: var(--bg-gray-50);
}

.flow-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .flow-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .flow-steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

.flow-step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 900;
  margin: 0 auto 1.5rem;
  box-shadow: var(--shadow-md);
}

.step-icon {
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.step-icon svg {
  width: 60px;
  height: 60px;
  opacity: 0.7;
}

.step-content h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 0.75rem;
}

.step-content p {
  color: var(--text-light);
  line-height: 1.6;
}

/* ===== 会社概要セクション ===== */
.company-section {
}

.company-info-card {
  background-color: #fff;
  border-radius: var(--border-radius-lg);
  padding: 3rem;
  margin: 0 auto;
  max-width: 900px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}

.company-info-list {
  display: grid;
  gap: 1.5rem;
}

.company-info-list .info-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.company-info-list .info-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

@media (min-width: 768px) {
  .company-info-list .info-row {
    grid-template-columns: 150px 1fr;
    gap: 2rem;
    align-items: flex-start;
  }
}

.company-info-list dt {
  font-weight: 700;
  color: var(--text-color);
  font-size: 1rem;
}

.company-info-list dd {
  color: var(--text-light);
  line-height: 1.7;
  word-break: break-word;
}

/* ===== よくある質問セクション ===== */
.faq-section {
  background: var(--bg-gray-50);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-radius: var(--border-radius-lg);
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  overflow: hidden;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--text-color);
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background: var(--bg-gray-50);
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-icon {
  width: 24px;
  height: 24px;
  color: var(--text-light);
  transition: transform 0.3s ease;
}

details[open] > summary .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 1.5rem 2rem 1.5rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ===== プライバシーポリシーセクション ===== */
.privacy-section {
  background: var(--bg-gray-50);
}

.privacy-container {
  max-width: 800px;
  margin: 0 auto;
}

.privacy-accordion {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  overflow: hidden;
}

.privacy-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--text-color);
  transition: background-color 0.3s ease;
}

.privacy-question:hover {
  background: var(--bg-gray-50);
}

.privacy-question::-webkit-details-marker {
  display: none;
}

.privacy-icon {
  width: 24px;
  height: 24px;
  color: var(--text-light);
  transition: transform 0.3s ease;
}

.privacy-accordion[open] > summary .privacy-icon {
  transform: rotate(180deg);
}

.privacy-answer {
  padding: 2rem 2rem 2rem;
  color: var(--text-light);
  line-height: 1.7;
}

.privacy-answer h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-color);
  margin-top: 2rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-color);
}

.privacy-answer h3:first-of-type {
  margin-top: 1rem;
}

.privacy-answer p,
.privacy-answer li {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.privacy-answer ol {
  padding-left: 2rem;
}

.privacy-answer ol ol {
  padding-left: 1.5rem;
}

.privacy-answer address {
  font-style: normal;
  background: var(--bg-gray-50);
  padding: 1rem;
  border-radius: var(--border-radius);
  margin-top: 2rem;
  font-size: 0.9rem;
}

.policy-date {
  text-align: right;
  margin-top: 2rem;
  font-size: 0.9rem;
  color: var(--text-lighter);
}

/* ===== CTAセクション ===== */
.cta-section {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  padding: 6rem 0;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 1rem;
}

.cta-description {
  max-width: 600px;
  margin: 0 auto 3rem;
  opacity: 0.9;
  font-size: 1.125rem;
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

@media (min-width: 640px) {
  .cta-buttons {
    flex-direction: row;
    justify-content: center;
    gap: 1.5rem;
  }
}

.cta-section .btn-primary {
  background: white;
  color: var(--primary-color);
}

.cta-section .btn-primary:hover {
  background: var(--bg-gray-50);
}

.cta-section .btn-outline {
  border-color: white;
  color: white;
}

.cta-section .btn-outline:hover {
  background: white;
  color: var(--primary-color);
}

/* ===== フッター ===== */
.footer {
  background: var(--text-color);
  color: #d1d5db;
  padding: 2rem 0;
}

.footer-bottom {
  text-align: center;
}

.copyright {
  color: #9ca3af;
  font-size: 0.875rem;
}

/* ===== アニメーション ===== */
.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

.fade-in-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== レスポンシブ調整 ===== */
@media (max-width: 1023px) {
  .plan-card.featured {
    transform: scale(1);
  }
}

@media (max-width: 767px) {
  .plans-grid {
    grid-template-columns: 1fr;
  }
  .company-info-list .info-row {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
  .company-info-card,
  .privacy-accordion {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 640px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .trouble-item,
  .feature-card,
  .plan-card {
    padding: 1.5rem;
  }

  .about-highlight {
    padding: 1.5rem;
  }

  .visual-card {
    padding: 2rem 1.5rem;
  }

  .faq-question,
  .privacy-question {
    padding: 1.25rem 1.5rem;
  }

  .faq-answer,
  .privacy-answer {
    padding: 0 1.5rem 1.25rem;
  }

  .cta-title {
    font-size: 2rem;
  }
}

/* ===== フォーカス状態 ===== */
.btn:focus,
.nav-link:focus,
.faq-question:focus,
.privacy-question:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* ===== スムーススクロール調整 ===== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .fade-in-up {
    opacity: 1;
    transform: translateY(0);
    transition: none;
  }
}

/* ===== 問い合わせフォーム ===== */
.company-info-list input,
.company-info-list textarea,
.company-info-list select {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  background-color: #f9f9f9;
  color: var(--text-color);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.company-info-list input:focus,
.company-info-list textarea:focus,
.company-info-list select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1); /* アクセントカラーに調整可 */
  background-color: #fff;
}

.required-mark {
  color: red;
  font-size: 0.75em;
  vertical-align: super;
  margin-left: 0.2em;
}

.privacy-check {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-size: 0.95rem;
  color: var(--text-color);
  text-align: center;
}

.agree-row dd {
  display: flex;
  justify-content: center;
  margin-top: 2rem; 
}

.privacy-check input[type="checkbox"] {
  transform: scale(1.2);
  accent-color: var(--primary-color);
  cursor: pointer;
}

.privacy-check a {
  color: var(--primary-color);
  text-decoration: underline;
}