/* Google Fonts Import */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Noto+Sans+JP:wght@300;400;500;600;700;800&display=swap");

/* リセット・基本スタイル */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", "Noto Sans JP", -apple-system, BlinkMacSystemFont,
    "Helvetica Neue", "Hiragino Kaku Gothic ProN", sans-serif;
  line-height: 1.6;
  color: #333;
  background: #f8fafc;
  -webkit-text-size-adjust: 100%;
  -webkit-overflow-scrolling: touch;
}

.container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 15px;
}

/* ナビゲーション */
.navbar {
  background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
  padding: 12px 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(30, 64, 175, 0.2);
  backdrop-filter: blur(10px);
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
  text-align: center;
  letter-spacing: -0.01em;
}

/* ヒーローセクション */
.hero {
  background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #60a5fa 100%);
  color: white;
  text-align: center;
  padding: 40px 0;
  margin-top: 60px;
}

.hero h1 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.cta-button {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: white;
  padding: 14px 30px;
  font-size: 1rem;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
  margin: 0 5px 10px;
  min-width: 200px;
  transition: all 0.3s;
  font-family: inherit;
}

.cta-button:hover,
.cta-button:active {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.cta-button.secondary {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.cta-button.secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}

.cta-button.matching {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  border: 2px solid rgba(255, 255, 255, 0.3);
}
.cta-button.matching:hover {
/*   background: #1d4ed8; */
}

.cta-button.full-plan {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: #1e40af;
  font-weight: 700;
}

.cta-button.full-plan:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(251, 191, 36, 0.4);
}

/* サービス扉セクション */
.service-portal {
  background: white;
  padding: 50px 0;
}

.portal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 2rem;
  /*追加CSS*/
  max-width: 1100px;
  margin: 0 auto;
}

.portal-card {
  background: white;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(30, 64, 175, 0.1);
  border: 2px solid #e2e8f0;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.portal-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(59, 130, 246, 0.1),
    transparent
  );
  transition: left 0.5s;
}

.portal-card:hover::before {
  left: 100%;
}

.portal-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(30, 64, 175, 0.15);
  border-color: #3b82f6;
}

.portal-icon {
  font-size: 3rem;
  margin-bottom: 15px;
  display: block;
}

.portal-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e40af;
  margin-bottom: 10px;
}

.portal-description {
  font-size: 0.9rem;
  color: #64748b;
  margin-bottom: 20px;
  line-height: 1.5;
}

.portal-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 25px;
}

.feature-item {
  background: #f1f5f9;
  color: #475569;
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 500;
}

.portal-button {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: white;
  padding: 12px 25px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s;
  display: inline-block;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.portal-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

/* セクション共通 */
.section {
  padding: 40px 0;
}

.section-title {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: #1e40af;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.section-subtitle {
  text-align: center;
  font-size: 0.95rem;
  color: #64748b;
  margin-bottom: 2rem;
  font-weight: 500;
}

/* 問題提起セクション */
.problems {
  background: #f8fafc;
}

.problems-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 1.5rem;
  /*追加CSS*/
  max-width: 1100px;
  margin: 0 auto;
}

.problem-card {
  background: white;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 3px 15px rgba(30, 64, 175, 0.08);
  text-align: center;
  border: 1px solid #e2e8f0;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: all 0.3s ease;
}

.problem-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(30, 64, 175, 0.12);
}

.problem-icon {
  font-size: 2rem;
  margin-bottom: 8px;
}

.problem-card h3 {
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: #1e40af;
  font-weight: 600;
}

.problem-card p {
  font-size: 0.75rem;
  line-height: 1.3;
  color: #64748b;
}

/* サービスセクション */
.services {
  background: white;
}

.service-card {
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(30, 64, 175, 0.08);
  margin-bottom: 15px;
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
  /*追加CSS*/
  max-width: 1100px;
  margin: 0 auto;
  margin-bottom: 50px;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(30, 64, 175, 0.12);
}

.service-icon {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.service-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #1e40af;
}

.service-features {
  list-style: none;
  margin-top: 10px;
}

.service-features li {
  padding: 4px 0;
  padding-left: 15px;
  position: relative;
  font-size: 0.85rem;
  color: #64748b;
}

.service-features li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #10b981;
  font-weight: bold;
}

/* サポートセクション */
.support {
  background: #f8fafc;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 1.5rem;
  /*追加CSS*/
  max-width: 1100px;
  margin: 0 auto;
}

.support-card {
  background: white;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 3px 15px rgba(30, 64, 175, 0.08);
  text-align: center;
  border: 1px solid #e2e8f0;
  min-height: 180px;
  transition: all 0.3s ease;
}

.support-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(30, 64, 175, 0.12);
}

.support-icon {
  font-size: 2rem;
  margin-bottom: 8px;
}

.support-title {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #1e40af;
}

.support-card p {
  font-size: 0.75rem;
  color: #64748b;
  margin-bottom: 8px;
}

.support-card ul {
  text-align: left;
  list-style: none;
  font-size: 0.7rem;
}

.support-card li {
  padding: 2px 0;
  padding-left: 10px;
  position: relative;
  color: #64748b;
}

.support-card li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: #3b82f6;
}

/* 料金プランセクション */
.pricing {
  background: white;
  text-align: center;
}

.pricing-card {
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(30, 64, 175, 0.08);
  border: 1px solid #e2e8f0;
  margin-bottom: 15px;
  transition: all 0.3s ease;
  position: relative;
  /*追加CSS*/
  max-width: 700px;
  margin: 0 auto;
  margin-bottom: 50px;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(30, 64, 175, 0.12);
}

.pricing-card.featured {
  background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
  color: white;
  border: none;
  transform: scale(1.02);
}

.plan-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: #fbbf24;
  color: #92400e;
  padding: 5px 15px;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
}

.plan-name {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.price {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 5px;
}

.price-period {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-bottom: 15px;
}

.pricing-features {
  list-style: none;
  margin: 15px 0;
  text-align: left;
}

.pricing-features li {
  padding: 4px 0;
  padding-left: 15px;
  position: relative;
  font-size: 0.85rem;
}

.pricing-features li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #10b981;
  font-weight: bold;
}

.pricing-card.featured .pricing-features li:before {
  color: #fbbf24;
}

.restrictions {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 8px;
  padding: 12px;
  margin: 15px 0;
  text-align: left;
}

.restrictions h4 {
  color: #dc2626;
  font-size: 0.9rem;
  margin-bottom: 8px;
  font-weight: 600;
}

.restrictions ul {
  list-style: none;
}

.restrictions li {
  padding: 2px 0;
  padding-left: 15px;
  position: relative;
  font-size: 0.8rem;
  color: #991b1b;
}

.restrictions li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: #dc2626;
}

/* プラン比較セクション */
.comparison {
  background: #f8fafc;
}

.comparison-table-wrapper {
  overflow-x: auto;
  margin-top: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(30, 64, 175, 0.08);
}

.comparison-table {
  width: 100%;
  background: white;
  border-collapse: collapse;
  border-radius: 12px;
  overflow: hidden;
  /*追加CSS*/
  max-width: 1100px;
  margin: 0 auto;
  margin-bottom: 50px;
}

.comparison-table th,
.comparison-table td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid #e2e8f0;
}

.comparison-table th {
  background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
}

.comparison-table td {
  font-size: 0.85rem;
}

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

.comparison-table .check {
  color: #10b981;
  font-weight: bold;
}

.comparison-table .cross {
  color: #ef4444;
  font-weight: bold;
}

.comparison-table .limited {
  color: #f59e0b;
  font-weight: bold;
}

/* 専門家チーム */
.team {
  background: white;
  text-align: center;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 1.5rem;
  max-width: 300px;
  margin-left: auto;
  margin-right: auto;
}

.team-item {
  padding: 15px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 3px 15px rgba(30, 64, 175, 0.08);
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
}

.team-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(30, 64, 175, 0.12);
}

.team-icon {
  font-size: 2rem;
  margin-bottom: 5px;
}

.team-role {
  font-size: 0.8rem;
  font-weight: 600;
  color: #1e40af;
}

.team-message {
  text-align: center;
  margin-top: 20px;
}

.team-message h3 {
  color: #1e40af;
  font-size: 1.1rem;
  margin-bottom: 5px;
  font-weight: 700;
}

.team-message p {
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.4;
}

/* お問い合わせセクション */
.contact {
  background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
  color: white;
  text-align: center;
}

.contact .section-title {
  color: white;
}

/* 会社情報リスト */
.company-list {
  max-width: 600px;
  margin: 2rem auto 0;
}

.company-info-list {
  list-style: none;
  padding: 0;
  margin: 0;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
  overflow: hidden;
}

.company-info-item {
  display: flex;
  padding: 20px 25px;
  border-bottom: 1px solid #f1f5f9;
  transition: background-color 0.3s ease;
}

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

.company-info-item:hover {
  background-color: #f8fafc;
}

.info-label {
  font-weight: 600;
  color: #475569;
  min-width: 120px;
  margin-right: 20px;
  font-size: 0.95rem;
}

.info-value {
  color: #1e293b;
  font-weight: 500;
  flex: 1;
  font-size: 1rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 1.5rem;
  /*追加CSS*/
  max-width: 1100px;
  margin: 0 auto;
}

.contact-item {
  padding: 15px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.contact-item:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.15);
}

.contact-icon {
  font-size: 1.5rem;
  margin-bottom: 5px;
}

.contact-label {
  font-weight: 600;
  margin-bottom: 3px;
  font-size: 0.8rem;
}

.contact-info {
  font-size: 0.75rem;
  opacity: 0.9;
}

.contact-buttons {
  margin-top: 20px;
}

/* フッター */
.footer {
  background: #1e293b;
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  padding: 20px 0;
  font-size: 0.8rem;
}

/* 動画プレイヤー */
.video-player {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 320px;
  height: 220px;
  background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(30, 64, 175, 0.2);
  z-index: 999;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
  cursor: grab;
  display: none;
}

.video-player:active {
  cursor: grabbing;
}

.video-player.minimized {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  cursor: pointer;
}

.video-player.hidden {
  display: none;
}

.video-player.dragging {
  transition: none;
  z-index: 1001;
  box-shadow: 0 15px 35px rgba(30, 64, 175, 0.3);
  transform: scale(1.02);
}

.video-header {
  background: rgba(0, 0, 0, 0.2);
  padding: 8px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: grab;
  user-select: none;
}

.video-header:active {
  cursor: grabbing;
}

.video-controls {
  display: flex;
  gap: 4px;
}

.video-btn {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  cursor: pointer;
  font-size: 0.8rem;
  padding: 4px 6px;
  border-radius: 4px;
  transition: all 0.3s;
  min-width: 24px;
}

.video-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.video-content {
  height: calc(100% - 32px);
  position: relative;
}

.video-content.minimized {
  display: none;
}

.actual-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
  opacity: 1;
  transition: all 0.3s;
  backdrop-filter: blur(2px);
}

.video-overlay.playing {
  opacity: 0;
  pointer-events: none;
}

.video-play-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  margin-bottom: 10px;
  transition: all 0.3s;
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-play-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.video-title {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.video-subtitle {
  font-size: 0.75rem;
  opacity: 0.8;
}

.video-volume-btn {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.4);
  border: none;
  color: white;
  cursor: pointer;
  font-size: 0.9rem;
  padding: 6px;
  border-radius: 50%;
  transition: all 0.3s;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-volume-btn:hover {
  background: rgba(0, 0, 0, 0.6);
}

.minimized-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.8rem;
  color: white;
  display: none;
  cursor: pointer;
}

.video-player.minimized .minimized-icon {
  display: block;
}

.video-player.minimized .video-header,
.video-player.minimized .video-content {
  display: none;
}

.drag-helper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.7rem;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
  white-space: nowrap;
}

.video-player:hover .drag-helper {
  opacity: 1;
}

/* スマートフォン特化 (480px以下) */
@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.5rem;
  }

  .hero .subtitle {
    font-size: 0.9rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .portal-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .portal-card {
    padding: 20px;
  }

  .problems-grid,
  .support-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .problem-card,
  .support-card {
    min-height: 120px;
    padding: 12px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .cta-button {
    min-width: 140px !important;
    padding: 12px 15px;
    font-size: 0.9rem;
  }

  .video-player {
    width: 260px;
    height: 180px;
    bottom: 10px;
    right: 10px;
  }

  .video-player.minimized {
    width: 60px;
    height: 60px;
  }

  .comparison-table-wrapper {
    font-size: 0.8rem;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 8px 10px;
    font-size: 0.75rem;
  }
}

/* タブレット (768px以下) */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 1.6rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .video-player {
    width: 280px;
    height: 190px;
  }

  .portal-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .company-list {
    max-width: 100%;
    margin: 1.5rem auto 0;
  }

  .company-info-item {
    flex-direction: column;
    padding: 15px 20px;
  }

  .info-label {
    min-width: auto;
    margin-right: 0;
    margin-bottom: 5px;
    font-size: 0.9rem;
  }

  .info-value {
    font-size: 0.95rem;
  }
}

/* アニメーション */
.fade-in {
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.5s ease;
}

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

/* タッチ対応 */
.cta-button,
.problem-card,
.service-card,
.support-card,
.pricing-card,
.team-item,
.contact-item,
.video-btn,
.video-play-btn,
.portal-button,
.portal-card {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

/* スクロール */
html {
  scroll-behavior: smooth;
}

/* 高DPI対応 */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2dppx) {
  .video-player {
    border: 0.5px solid rgba(255, 255, 255, 0.2);
  }
}

.logo img {
  width: 220px;   /* 横幅 */
  height: auto;  /* 縦横比を維持 */
  margin-left: 8px; /* 文字との余白 */
  vertical-align: middle; /* テキストと縦位置を揃える */
}

.wpforms-field-label {
  color: white !important;
}
.wpforms-field-medium {
    display: block !important;
    margin: 0 auto !important;
  max-width: 60%;
}


.hero .subtitle {
  font-size: 1rem;
  margin-bottom: 2rem;
  opacity: 0.95;
  line-height: 1.4;
  font-weight: 500;
}
