/* ============================================
   合同会社ビジョナリー - Corporate Website CSS
   ============================================ */

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', 'Meiryo', sans-serif;
  color: #111827;
  background: #ffffff;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

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

ul, ol {
  list-style: none;
}

/* ============================================
   Layout Utilities
   ============================================ */
.max-w-7xl {
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .max-w-7xl { padding-left: 1.5rem; padding-right: 1.5rem; }
}
@media (min-width: 1024px) {
  .max-w-7xl { padding-left: 2rem; padding-right: 2rem; }
}

.max-w-3xl {
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

.max-w-4xl {
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
}

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

/* ============================================
   Header
   ============================================ */
.site-header {
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-link h1 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
}

.nav-desktop {
  display: none;
  gap: 2rem;
}

@media (min-width: 768px) {
  .nav-desktop { display: flex; }
  .mobile-menu-btn { display: none !important; }
  .nav-mobile { display: none !important; }
}

.nav-desktop a {
  font-size: 1rem;
  color: #374151;
  transition: color 0.2s;
}

.nav-desktop a:hover,
.nav-desktop a.active {
  color: #2563eb;
  font-weight: 600;
}

/* Mobile Menu */
.mobile-menu-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: #374151;
  padding: 0.5rem;
}

.mobile-menu-btn:hover { color: #2563eb; }

.nav-mobile {
  padding-bottom: 1rem;
  display: none;
}

.nav-mobile.open {
  display: block;
}

.nav-mobile a {
  display: block;
  padding: 0.5rem 0;
  font-size: 1rem;
  color: #374151;
}

.nav-mobile a.active {
  color: #2563eb;
  font-weight: 600;
}

@media (min-width: 768px) {
  .nav-mobile { display: none !important; }
}

/* ============================================
   Hero Sections
   ============================================ */
.hero {
  position: relative;
  background: linear-gradient(to right, #2563eb, #1e40af);
  color: #ffffff;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(30,58,138,0.9), rgba(30,64,175,0.9));
}

.hero-content {
  position: relative;
  padding: 6rem 0;
}

.hero-content.hero-sub {
  padding: 5rem 0;
}

.hero h1 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .hero h1 { font-size: 3.75rem; }
  .hero-sub h1 { font-size: 3rem; }
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: #bfdbfe;
}

@media (min-width: 768px) {
  .hero p { font-size: 1.5rem; }
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}

.btn-white {
  background: #ffffff;
  color: #2563eb;
}

.btn-white:hover {
  background: #eff6ff;
}

.btn-blue {
  background: #2563eb;
  color: #ffffff;
}

.btn-blue:hover {
  background: #1d4ed8;
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* Arrow icon */
.icon-arrow {
  width: 1.25rem;
  height: 1.25rem;
}

.icon-sm {
  width: 1rem;
  height: 1rem;
}

/* ============================================
   Section Styles
   ============================================ */
.section {
  padding: 5rem 0;
}

.section-gray {
  background: #f9fafb;
}

.section-white {
  background: #ffffff;
}

.section-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .section-title { font-size: 2.25rem; }
}

.section-subtitle {
  font-size: 1.125rem;
  color: #4b5563;
}

/* ============================================
   Card Grid (Services on Home)
   ============================================ */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .card-grid-3 { grid-template-columns: repeat(3, 1fr); }
  .card-grid-2 { grid-template-columns: repeat(2, 1fr); }
  .card-grid-4 { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1024px) {
  .card-grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* Service Card */
.service-card {
  background: #ffffff;
  border-radius: 0.75rem;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: all 0.3s;
  display: block;
}

.service-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}

.service-card .card-image {
  height: 12rem;
  overflow: hidden;
}

.service-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.service-card:hover .card-image img {
  transform: scale(1.05);
}

.service-card .card-body {
  padding: 2rem;
}

.service-card .card-body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1rem;
  transition: color 0.2s;
}

.service-card:hover .card-body h3 {
  color: #2563eb;
}

.service-card .card-body p {
  color: #4b5563;
  margin-bottom: 1rem;
}

.card-link {
  color: #2563eb;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* Feature Card (service detail pages) */
.feature-card {
  background: #ffffff;
  border-radius: 0.75rem;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
  overflow: hidden;
}

.feature-card .card-image {
  height: 10rem;
  overflow: hidden;
}

.feature-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-card .card-body {
  padding: 1.5rem;
}

.feature-card .card-body h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.5rem;
}

.feature-card .card-body p {
  color: #4b5563;
  font-size: 0.875rem;
}

/* ============================================
   CTA Section
   ============================================ */
.cta-box {
  background: linear-gradient(to right, #2563eb, #1e40af);
  border-radius: 1rem;
  padding: 3rem;
  text-align: center;
  color: #ffffff;
}

.cta-box h2 {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .cta-box h2 { font-size: 2.25rem; }
}

.cta-box p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: #bfdbfe;
}

/* ============================================
   Company Info Page
   ============================================ */
.page-header {
  text-align: center;
  margin-bottom: 3rem;
}

.page-header h1 {
  font-size: 2.25rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1rem;
}

.page-header p {
  font-size: 1.125rem;
  color: #4b5563;
}

.info-card {
  background: #ffffff;
  border-radius: 0.75rem;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
  padding: 2rem 3rem;
  margin-bottom: 2rem;
}

.info-card h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #2563eb;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .info-grid { grid-template-columns: repeat(2, 1fr); }
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  border-radius: 0.5rem;
  transition: background 0.2s;
}

.info-item:hover {
  background: #f9fafb;
}

.info-icon {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  background: #dbeafe;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2563eb;
}

.info-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #6b7280;
  margin-bottom: 0.25rem;
}

.info-value {
  font-size: 1rem;
  color: #111827;
}

/* Purpose list */
.purpose-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  border-radius: 0.5rem;
  transition: background 0.2s;
}

.purpose-item:hover {
  background: #f9fafb;
}

.purpose-item + .purpose-item {
  margin-top: 1rem;
}

.purpose-number {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  background: #2563eb;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.875rem;
}

.purpose-text {
  font-size: 1rem;
  color: #111827;
  padding-top: 0.25rem;
}

/* Contact info box at bottom of company page */
.contact-info-box {
  margin-top: 2rem;
  background: linear-gradient(to right, #2563eb, #1e40af);
  border-radius: 0.75rem;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
  padding: 2rem 3rem;
  color: #ffffff;
}

.contact-info-box h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .contact-info-grid { grid-template-columns: repeat(2, 1fr); }
}

.contact-info-box h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.contact-info-box p {
  color: #bfdbfe;
  line-height: 1.8;
}

/* ============================================
   Contact Page
   ============================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .contact-layout { grid-template-columns: 1fr 2fr; }
}

.contact-sidebar .sidebar-card {
  background: #ffffff;
  border-radius: 0.75rem;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-item + .contact-item {
  margin-top: 1.5rem;
}

.contact-item-icon {
  width: 3rem;
  height: 3rem;
  background: #dbeafe;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2563eb;
  flex-shrink: 0;
}

.contact-item h3 {
  font-weight: 600;
  color: #111827;
  margin-bottom: 0.5rem;
}

.contact-item p {
  font-size: 0.875rem;
  color: #4b5563;
  line-height: 1.6;
}

.hours-card {
  background: #eff6ff;
  border-radius: 0.75rem;
  padding: 1.5rem;
}

.hours-card h3 {
  font-weight: 600;
  color: #111827;
  margin-bottom: 0.75rem;
}

.hours-card p {
  font-size: 0.875rem;
  color: #4b5563;
  line-height: 1.8;
}

/* Form */
.form-card {
  background: #ffffff;
  border-radius: 0.75rem;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
  padding: 2rem;
}

.form-card h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.5rem;
}

.form-group .required {
  color: #ef4444;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  font-size: 1rem;
  outline: none;
  transition: all 0.2s;
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: transparent;
  box-shadow: 0 0 0 2px #3b82f6;
}

.form-group textarea {
  resize: none;
  min-height: 9rem;
}

/* Success message */
.success-message {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 0.5rem;
  padding: 1.5rem;
  text-align: center;
}

.success-icon {
  width: 4rem;
  height: 4rem;
  background: #dcfce7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.success-icon svg {
  width: 2rem;
  height: 2rem;
  color: #16a34a;
}

.success-message h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #14532d;
  margin-bottom: 0.5rem;
}

.success-message p {
  color: #15803d;
}

/* ============================================
   Service Detail Pages
   ============================================ */
.intro-text {
  font-size: 1.125rem;
  color: #4b5563;
  line-height: 1.8;
}

/* Check list items */
.check-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 768px) {
  .check-list-2col { grid-template-columns: repeat(2, 1fr); }
}

.check-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  background: #f9fafb;
  border-radius: 0.5rem;
}

.check-item-white {
  background: #ffffff;
}

.check-icon {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  color: #2563eb;
  margin-top: 0.125rem;
}

.check-item span {
  color: #111827;
  font-size: 0.875rem;
}

/* Step circles (process flow) */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .steps-grid-4col { grid-template-columns: repeat(4, 1fr); }
}

.step-item {
  text-align: center;
}

.step-circle {
  width: 4rem;
  height: 4rem;
  background: #2563eb;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 auto 1rem;
}

.step-item h3 {
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.5rem;
}

.step-item p {
  font-size: 0.875rem;
  color: #4b5563;
}

/* Consulting approach (vertical steps) */
.approach-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.5rem;
  background: #f9fafb;
  border-radius: 0.75rem;
}

.approach-item + .approach-item {
  margin-top: 1.5rem;
}

.approach-circle {
  flex-shrink: 0;
  width: 4rem;
  height: 4rem;
  background: #2563eb;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
}

.approach-item h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.5rem;
}

.approach-item p {
  color: #4b5563;
}

/* Consulting area cards */
.area-card {
  background: #f9fafb;
  padding: 1.5rem;
  border-radius: 0.75rem;
}

.area-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.75rem;
}

.area-card p {
  color: #4b5563;
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
  background: #111827;
  color: #ffffff;
}

.footer-inner {
  padding: 3rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
}

.footer-grid h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-grid p,
.footer-grid div {
  color: #9ca3af;
  font-size: 0.875rem;
  line-height: 1.8;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #1f2937;
  text-align: center;
  color: #9ca3af;
  font-size: 0.875rem;
}

/* ============================================
   SVG Icons (inline)
   ============================================ */
.icon-svg {
  display: inline-block;
  vertical-align: middle;
}
