/* ========== RESET & BASE ========== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", "Meiryo", sans-serif;
  color: #333;
  line-height: 1.8;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

a {
  color: #2B7A9E;
  text-decoration: none;
  transition: opacity 0.2s;
}

a:hover {
  opacity: 0.7;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

.sp-only {
  display: none;
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-block;
  padding: 16px 48px;
  border-radius: 50px;
  font-size: 1.125rem;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-decoration: none;
}

.btn-cta {
  background: #E87E35;
  color: #fff;
  box-shadow: 0 4px 16px rgba(232, 126, 53, 0.35);
}

.btn-cta:hover {
  background: #d46d28;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 126, 53, 0.45);
  opacity: 1;
}

.btn-submit {
  background: #E87E35;
  color: #fff;
  width: 100%;
  max-width: 400px;
  padding: 18px 48px;
  font-size: 1.2rem;
  box-shadow: 0 4px 16px rgba(232, 126, 53, 0.35);
  display: block;
  margin: 0 auto;
}

.btn-submit:hover {
  background: #d46d28;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 126, 53, 0.45);
  opacity: 1;
}

/* ========== HEADER ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  height: 72px;
}

.header-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  height: 36px;
  width: auto;
}

.logo-sub {
  font-size: 0.75rem;
  color: #666;
  white-space: nowrap;
}

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  background: linear-gradient(135deg, #1a5276 0%, #2B7A9E 40%, #3498a8 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(232, 126, 53, 0.1) 0%, transparent 40%);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
}

.hero-title {
  font-size: 2.75rem;
  font-weight: 900;
  line-height: 1.4;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.15);
}

.hero-sub {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 40px;
  opacity: 0.95;
}

.hero-sub strong {
  color: #FFD700;
  font-size: 1.4rem;
}

.hero-cta {
  font-size: 1.25rem;
  padding: 20px 64px;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(232, 126, 53, 0.35); }
  50% { box-shadow: 0 4px 32px rgba(232, 126, 53, 0.6); }
}

/* ========== SECTIONS ========== */
.section {
  padding: 80px 0;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 16px;
  line-height: 1.4;
  color: #222;
}

.section-title.white {
  color: #fff;
}

.section-lead {
  text-align: center;
  color: #666;
  font-size: 1.05rem;
  margin-bottom: 48px;
  line-height: 1.8;
}

.section-lead.white {
  color: rgba(255, 255, 255, 0.9);
}

.highlight {
  color: #E87E35;
}

.highlight-white {
  color: #FFD700;
}

/* ========== PAIN POINTS ========== */
.pain-points {
  background: #f8f9fa;
}

.pain-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.pain-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px 20px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s;
}

.pain-card:hover {
  transform: translateY(-4px);
}

.pain-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
}

.pain-icon svg {
  width: 100%;
  height: 100%;
}

.pain-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #444;
}

.pain-text strong {
  color: #E87E35;
}

/* ========== SOLUTION ========== */
.solution {
  background: #fff;
}

.solution-lead {
  text-align: center;
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 48px;
  line-height: 1.8;
}

.solution-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.solution-card {
  background: linear-gradient(135deg, #f0f9f4 0%, #e8f4f8 100%);
  border-radius: 16px;
  padding: 40px 28px;
  text-align: center;
  border: 1px solid rgba(43, 122, 158, 0.1);
}

.solution-num {
  font-size: 2.5rem;
  font-weight: 900;
  color: #E87E35;
  margin-bottom: 12px;
  line-height: 1;
}

.solution-card h3 {
  font-size: 1.2rem;
  color: #2B7A9E;
  margin-bottom: 12px;
}

.solution-card p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.7;
}

/* ========== PRODUCTS ========== */
.products {
  background: #f8f9fa;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.product-item {
  background: #fff;
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s, box-shadow 0.3s;
  border: 2px solid transparent;
  display: flex;
  flex-direction: column;
}

.product-item:hover {
  transform: translateY(-4px);
  border-color: #E87E35;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.product-category {
  display: inline-block;
  background: #e8f4f8;
  color: #2B7A9E;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
  align-self: flex-start;
}

.product-name {
  font-size: 1.3rem;
  color: #222;
  margin-bottom: 6px;
  font-weight: 800;
}

.product-maker {
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 12px;
}

.product-desc {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.7;
  margin-bottom: 20px;
  flex: 1;
}

.product-actions {
  display: flex;
  gap: 10px;
}

.btn-detail {
  flex: 1;
  padding: 10px 16px;
  border: 2px solid #2B7A9E;
  background: #fff;
  color: #2B7A9E;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.btn-detail:hover {
  background: #2B7A9E;
  color: #fff;
}

.btn-inquiry {
  flex: 1;
  padding: 10px 16px;
  background: #E87E35;
  color: #fff;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-inquiry:hover {
  background: #d46d28;
  opacity: 1;
}

/* ========== PRODUCT MODAL ========== */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 200;
  justify-content: center;
  align-items: center;
  padding: 24px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  background: #fff;
  border-radius: 20px;
  padding: 40px;
  max-width: 600px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
  animation: modalIn 0.3s ease;
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(20px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #999;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}

.modal-close:hover {
  color: #333;
}

.modal-content .product-category {
  margin-bottom: 16px;
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #222;
  margin-bottom: 8px;
}

.modal-maker {
  font-size: 0.9rem;
  color: #888;
  margin-bottom: 20px;
}

.modal-body {
  font-size: 1rem;
  color: #444;
  line-height: 1.9;
  margin-bottom: 32px;
}

.modal-cta {
  text-align: center;
}

.modal-cta .btn {
  padding: 14px 40px;
  font-size: 1rem;
}

/* ========== FLOW ========== */
.flow {
  background: #fff;
}

.flow-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 12px;
}

.flow-step {
  flex: 1;
  max-width: 280px;
  text-align: center;
  padding: 24px 16px;
}

.flow-num {
  display: inline-block;
  background: #2B7A9E;
  color: #fff;
  padding: 6px 20px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.flow-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
}

.flow-icon svg {
  width: 100%;
  height: 100%;
}

.flow-step h3 {
  font-size: 1.05rem;
  color: #333;
  margin-bottom: 8px;
}

.flow-step p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.6;
}

.flow-arrow {
  display: flex;
  align-items: center;
  padding-top: 80px;
}

.flow-arrow svg {
  width: 32px;
  height: 32px;
}

.flow-cta {
  text-align: center;
  margin-top: 40px;
}

/* ========== FAQ ========== */
.faq {
  background: #f8f9fa;
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  background: #fff;
  border-radius: 12px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

.faq-question {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 600;
  color: #333;
  list-style: none;
  transition: background 0.2s;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: '';
  display: block;
  width: 12px;
  height: 12px;
  border-right: 2px solid #999;
  border-bottom: 2px solid #999;
  transform: rotate(45deg);
  transition: transform 0.3s;
  margin-left: auto;
  flex-shrink: 0;
}

.faq-item[open] .faq-question::after {
  transform: rotate(-135deg);
}

.faq-question:hover {
  background: #f8f9fa;
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #E87E35;
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
}

.faq-answer {
  display: flex;
  gap: 16px;
  padding: 0 24px 20px;
  font-size: 0.95rem;
  color: #555;
  line-height: 1.8;
}

.faq-a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #2B7A9E;
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
}

/* ========== CONTACT FORM ========== */
.contact {
  background: linear-gradient(135deg, #1a5276 0%, #2B7A9E 40%, #3498a8 100%);
  padding: 80px 0;
}

.contact-form {
  max-width: 640px;
  margin: 0 auto;
  background: #fff;
  border-radius: 20px;
  padding: 48px 40px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.form-label.required::after {
  content: ' *';
  color: #e74c3c;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  color: #333;
  background: #fff;
  transition: border-color 0.2s;
  appearance: none;
  -webkit-appearance: none;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #2B7A9E;
  box-shadow: 0 0 0 3px rgba(43, 122, 158, 0.1);
}

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23666' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

textarea {
  resize: vertical;
  min-height: 120px;
}

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

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
  font-size: 0.95rem;
}

.checkbox-label:hover {
  background: #f5f5f5;
}

.checkbox-label input[type="checkbox"] {
  width: 20px;
  height: 20px;
  border: 2px solid #ccc;
  border-radius: 4px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  flex-shrink: 0;
}

.checkbox-label input[type="checkbox"]:checked {
  background: #2B7A9E;
  border-color: #2B7A9E;
}

.checkbox-label input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 6px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.form-agree {
  text-align: center;
  margin-bottom: 32px;
}

.agree-label {
  justify-content: center;
}

.agree-label a {
  color: #2B7A9E;
  text-decoration: underline;
}

/* ========== FOOTER ========== */
.footer {
  background: #1a2332;
  color: #ccc;
  padding: 48px 0 24px;
  text-align: center;
}

.footer-info {
  margin-bottom: 24px;
}

.footer-company {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.footer-address {
  font-size: 0.85rem;
  margin-bottom: 4px;
}

.footer-tel {
  font-size: 0.9rem;
}

.footer-tel a {
  color: #ccc;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 24px;
}

.footer-links a {
  color: #aaa;
  font-size: 0.85rem;
}

.footer-links a:hover {
  color: #fff;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
}

.footer-social a {
  color: #aaa;
  transition: color 0.2s;
}

.footer-social a:hover {
  color: #fff;
  opacity: 1;
}

.footer-copy {
  font-size: 0.75rem;
  color: #777;
  margin-top: 16px;
}

/* ========== MOBILE FIXED CTA ========== */
.mobile-cta {
  display: none;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .sp-only {
    display: inline;
  }

  .header {
    height: 60px;
  }

  .header-inner {
    padding: 0 16px;
  }

  .logo-img {
    height: 22px;
    width: auto;
    max-width: none;
  }

  .logo-sub {
    display: none;
  }

  .hero {
    min-height: 500px;
    padding: 100px 20px 60px;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .hero-sub {
    font-size: 1rem;
  }

  .hero-sub strong {
    font-size: 1.15rem;
  }

  .hero-cta {
    font-size: 1.1rem;
    padding: 16px 48px;
  }

  .section {
    padding: 56px 0;
  }

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

  .section-lead {
    font-size: 0.95rem;
    margin-bottom: 32px;
  }

  .pain-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .solution-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .solution-card {
    padding: 28px 24px;
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .product-name {
    font-size: 1.1rem;
  }

  .product-actions {
    flex-direction: column;
    gap: 8px;
  }

  .modal-content {
    padding: 28px 20px;
    border-radius: 16px;
    max-height: 90vh;
  }

  .modal-title {
    font-size: 1.25rem;
  }

  .flow-steps {
    flex-direction: column;
    align-items: center;
  }

  .flow-step {
    max-width: 100%;
    width: 100%;
  }

  .flow-arrow {
    padding-top: 0;
    transform: rotate(90deg);
  }

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

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .checkbox-group {
    grid-template-columns: 1fr;
  }

  .btn-submit {
    max-width: 100%;
  }

  /* Mobile fixed CTA */
  .mobile-cta {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(100%);
    transition: transform 0.3s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  .mobile-cta.visible {
    transform: translateY(0);
  }

  .mobile-cta-btn {
    display: block;
    width: 100%;
    padding: 14px;
    font-size: 1.1rem;
  }

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

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.5rem;
  }

  .pain-cards {
    grid-template-columns: 1fr;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }
}
