@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;700;800&family=Noto+Sans+JP:wght@300;400;500;700&display=swap');

:root {
  --primary: #0f766e;
  --primary-light: #0d9488;
  --primary-dark: #115e59;
  --secondary: #d97706;
  --secondary-light: #f59e0b;
  --secondary-dark: #b45309;
  --text-dark: #1e293b;
  --text-light: #64748b;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --border-color: #e2e8f0;
  --max-width: 1200px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -1px rgba(0,0,0,0.03);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.05), 0 4px 6px -2px rgba(0,0,0,0.02);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Noto Sans JP', 'Montserrat', sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-white);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

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

/* Header & Navigation */
header {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo span {
  color: var(--secondary);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 25px;
  align-items: center;
}

.nav-link {
  font-weight: 500;
  font-size: 15px;
  color: var(--text-dark);
  padding: 5px 0;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.btn-nav-cta {
  background-color: var(--secondary);
  color: white;
  padding: 10px 20px;
  border-radius: 99px;
  font-weight: bold;
  font-size: 14px;
  box-shadow: var(--shadow-sm);
}

.btn-nav-cta:hover {
  background-color: var(--secondary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--text-dark);
  margin: 5px 0;
  transition: var(--transition);
}

/* Sections & Layout */
section {
  padding: 80px 20px;
}

.section-bg-light {
  background-color: var(--bg-light);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--secondary);
  border-radius: 99px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.95) 0%, rgba(17, 94, 89, 0.9) 100%), url('assets/hero_banner.png');
  background-size: cover;
  background-position: center;
  color: white;
  padding: 120px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-tagline {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--secondary-light);
  margin-bottom: 20px;
  text-transform: uppercase;
}

.hero-title {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 25px;
  letter-spacing: 1px;
}

.hero-desc {
  font-size: 18px;
  font-weight: 300;
  margin-bottom: 40px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
}

.hero-ctas {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 35px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 16px;
  box-shadow: var(--shadow-md);
  gap: 8px;
}

.btn-primary {
  background-color: var(--secondary);
  color: white;
}

.btn-primary:hover {
  background-color: var(--secondary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.15);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(5px);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

/* Floating CTA Box */
.quick-cta-bar {
  background-color: var(--primary-dark);
  color: white;
  padding: 20px;
  border-radius: 12px;
  margin-top: -40px;
  position: relative;
  z-index: 10;
  box-shadow: var(--shadow-lg);
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.quick-cta-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.quick-cta-icon {
  background-color: rgba(255, 255, 255, 0.1);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--secondary-light);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.quick-cta-text h4 {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

.quick-cta-text p {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.quick-cta-text p a:hover {
  color: var(--secondary-light);
}

/* Grid system for Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.feature-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--primary);
  transform: scaleX(0);
  transition: var(--transition);
  transform-origin: left;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  font-size: 36px;
  color: var(--primary);
  margin-bottom: 20px;
  display: inline-block;
}

.feature-card h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: var(--primary-dark);
}

.feature-card p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.6;
}

/* Step list for Workflow */
.steps-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.step-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 30px;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.step-number {
  position: absolute;
  top: -20px;
  left: 30px;
  background-color: var(--primary);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  box-shadow: var(--shadow-md);
  border: 3px solid white;
}

.step-card h3 {
  margin-top: 10px;
  font-size: 18px;
  margin-bottom: 15px;
  color: var(--primary-dark);
}

.step-card p {
  font-size: 14px;
  color: var(--text-light);
}

/* Categories page style */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
}

.cat-card {
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background-color: white;
}

.cat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.cat-image {
  height: 200px;
  background-color: #e2e8f0;
  position: relative;
  overflow: hidden;
}

.cat-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-dark) 100%);
  color: white;
  font-size: 48px;
}

.cat-body {
  padding: 25px;
}

.cat-body h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--primary-dark);
}

.cat-body p {
  font-size: 14.5px;
  color: var(--text-light);
  margin-bottom: 15px;
}

.cat-items {
  list-style: none;
  font-size: 13.5px;
  color: var(--text-dark);
}

.cat-items li {
  padding: 4px 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.cat-items li::before {
  content: '✓';
  color: var(--primary);
  font-weight: bold;
}

.attention-box {
  background-color: #fffbeb;
  border-left: 4px solid var(--secondary);
  border-radius: 4px;
  padding: 25px;
  margin-top: 60px;
}

.attention-box h3 {
  color: var(--secondary-dark);
  font-size: 18px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.attention-box ul {
  list-style: none;
  font-size: 14.5px;
  color: var(--text-dark);
}

.attention-box li {
  padding: 5px 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.attention-box li::before {
  content: '⚠️';
  font-size: 14px;
}

/* Cases Page style */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.case-card {
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  background-color: white;
  box-shadow: var(--shadow-sm);
}

.case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.case-header {
  padding: 15px 20px;
  background-color: var(--primary-dark);
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}

.case-body {
  padding: 20px;
}

.case-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 10px;
}

.case-meta {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  color: var(--text-light);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 10px;
  margin-bottom: 15px;
}

.case-price {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--bg-light);
  padding: 10px 15px;
  border-radius: 6px;
  font-weight: bold;
}

.case-price span {
  font-size: 20px;
  color: #e11d48;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 60px;
}

.review-card {
  background-color: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 30px;
}

.review-rating {
  color: var(--secondary);
  font-size: 18px;
  margin-bottom: 10px;
}

.review-text {
  font-size: 14.5px;
  color: var(--text-dark);
  margin-bottom: 15px;
  line-height: 1.6;
}

.review-author {
  font-size: 13px;
  color: var(--text-light);
  text-align: right;
}

/* About & Access style */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
}

.map-wrapper {
  height: 400px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 30px;
}

.about-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.8;
}

.about-table tr {
  border-bottom: 1px solid var(--border-color);
}

.about-table th {
  text-align: left;
  padding: 15px 10px;
  font-weight: 700;
  color: var(--primary-dark);
  width: 120px;
  vertical-align: top;
}

.about-table td {
  padding: 15px 10px;
  color: var(--text-dark);
}

/* Form Styles */
.form-progress {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-light);
  font-weight: 500;
}

.progress-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #cbd5e1;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.progress-step.active {
  color: var(--primary);
  font-weight: bold;
}

.progress-step.active .progress-num {
  background-color: var(--primary);
}

.progress-step.completed .progress-num {
  background-color: #10b981;
}

.progress-line {
  height: 2px;
  width: 60px;
  background-color: #cbd5e1;
}

.progress-line.active {
  background-color: var(--primary);
}

.form-card {
  max-width: 700px;
  margin: 0 auto;
  background-color: white;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

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

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

label {
  display: block;
  font-weight: 700;
  font-size: 14.5px;
  margin-bottom: 8px;
  color: var(--primary-dark);
}

label span.required {
  color: #ef4444;
  margin-left: 4px;
}

.form-control {
  width: 100%;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 15px;
  color: var(--text-dark);
  transition: var(--transition);
  background-color: var(--bg-light);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background-color: white;
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23475569'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
  padding-right: 40px;
}

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

.file-upload-wrapper {
  position: relative;
  border: 2px dashed var(--border-color);
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  background-color: var(--bg-light);
  cursor: pointer;
  transition: var(--transition);
}

.file-upload-wrapper:hover {
  border-color: var(--primary);
  background-color: rgba(13, 148, 136, 0.02);
}

.file-upload-icon {
  font-size: 32px;
  color: var(--text-light);
  margin-bottom: 10px;
}

.file-upload-text {
  font-size: 14px;
  color: var(--text-light);
}

.file-upload-text span {
  color: var(--primary);
  font-weight: 700;
}

.file-upload-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.image-preview {
  margin-top: 15px;
  display: none;
  justify-content: center;
}

.image-preview img {
  max-height: 180px;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.form-actions {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 35px;
}

.btn-form {
  border: none;
  padding: 12px 30px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-form-prev {
  background-color: #cbd5e1;
  color: #475569;
}

.btn-form-prev:hover {
  background-color: #94a3b8;
  color: white;
}

.btn-form-next {
  background-color: var(--primary);
  color: white;
  margin-left: auto;
}

.btn-form-next:hover {
  background-color: var(--primary-dark);
}

.btn-form-submit {
  background-color: var(--secondary);
  color: white;
  margin-left: auto;
}

.btn-form-submit:hover {
  background-color: var(--secondary-dark);
}

/* Confirmation preview screen */
.confirm-preview {
  border-top: 1px solid var(--border-color);
  margin-top: 10px;
}

.confirm-row {
  display: grid;
  grid-template-columns: 1fr 2.5fr;
  padding: 15px 0;
  border-bottom: 1px solid var(--border-color);
  font-size: 14.5px;
}

.confirm-label {
  font-weight: bold;
  color: var(--primary-dark);
}

.confirm-val {
  color: var(--text-dark);
  white-space: pre-wrap;
}

/* Form success page */
.success-screen {
  text-align: center;
  padding: 30px 10px;
}

.success-icon {
  font-size: 64px;
  color: #10b981;
  margin-bottom: 25px;
  animation: scaleUp 0.5s ease;
}

.success-screen h3 {
  font-size: 24px;
  color: var(--primary-dark);
  margin-bottom: 15px;
}

.success-screen p {
  font-size: 15px;
  color: var(--text-light);
  margin-bottom: 30px;
}

/* Footer Section */
footer {
  background-color: #1e293b;
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 20px 20px 20px;
  border-top: 5px solid var(--primary);
}

.footer-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-logo {
  font-family: 'Montserrat', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: white;
  margin-bottom: 20px;
}

.footer-logo span {
  color: var(--secondary-light);
}

.footer-about p {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.6);
}

.footer-links h4,
.footer-contact h4 {
  color: white;
  font-size: 16px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
}

.footer-links h4::after,
.footer-contact h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--secondary-light);
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 14.5px;
}

.footer-links a:hover {
  color: white;
  padding-left: 5px;
}

.footer-contact-info {
  list-style: none;
  font-size: 14px;
}

.footer-contact-info li {
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  flex-wrap: wrap;
  gap: 10px;
}

/* Media Queries / Responsive */
@media (max-width: 1024px) {
  .features-grid,
  .cat-grid,
  .cases-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  header {
    position: relative;
  }
  .menu-toggle {
    display: block;
  }
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: white;
    border-bottom: 1px solid var(--border-color);
    flex-direction: column;
    padding: 20px;
    gap: 15px;
    box-shadow: var(--shadow-md);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
  }
  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
  }
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
  }
  
  .hero-title {
    font-size: 32px;
  }
  .hero-desc {
    font-size: 15px;
  }
  .quick-cta-bar {
    flex-direction: column;
    align-items: flex-start;
    padding: 25px;
  }
  
  .features-grid,
  .steps-container,
  .cat-grid,
  .cases-grid,
  .reviews-grid,
  .footer-grid,
  .split-grid {
    grid-template-columns: 1fr;
  }
  .split-grid {
    gap: 20px;
  }
  section {
    padding: 40px 15px;
  }
  .hero {
    padding: 60px 15px 80px 15px !important;
  }
  .about-table tr {
    display: flex;
    flex-direction: column;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
  }
  .about-table th {
    width: 100%;
    padding: 5px 0 !important;
  }
  .about-table td {
    width: 100%;
    padding: 5px 0 10px 0 !important;
  }
  .form-card {
    padding: 20px;
  }
  .form-group.row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

@media (max-width: 480px) {
  .hero-ctas {
    flex-direction: column;
    width: 100%;
  }
  .hero-ctas .btn {
    width: 100%;
  }
}

@keyframes scaleUp {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
