/*
Theme Name: DX Profile Theme
Theme URI: 
Author: Minato
Description: Regional DX support partner profile theme with a modern wood-tone IT feel.
Version: 1.0.0
*/
/* 
  Theme Colors & Base Variables
  Green (Nature/Growth), Beige/Wood (Warmth), Soft Text
*/
:root {
  --color-primary: #388E3C; /* Forest Green */
  --color-primary-light: #F1F8E9; /* Very light transparent green */
  --color-accent: #E86A33; /* Warm earthy amber for buttons */
  --color-accent-hover: #D05B28;
  --color-text-main: #3E3A39; /* Non-harsh dark grey for readability */
  --color-text-light: #6A6665;
  --color-bg-white: #FFFFFF;
  --color-bg-light: #FAFAFA;
  --color-bg-wood: #FDFBF7; /* Soft paper/wood tone */
  
  --font-base: 'Zen Kaku Gothic New', sans-serif;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  
  --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 8px 30px rgba(56, 142, 60, 0.15);
}

/* Reset & Global */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-base);
  color: var(--color-text-main);
  background-color: var(--color-bg-white);
  line-height: 2;
  letter-spacing: 0.05em;
  font-size: 15px;
}

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

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

ul {
  list-style: none;
}

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

.center { text-align: center; }
.mb-4 { margin-bottom: 24px; }
.mt-4 { margin-top: 24px; }

.bg-light-wood { background-color: var(--color-bg-wood); }
.bg-light-green { background-color: var(--color-primary-light); }
.highlight { 
  color: var(--color-primary); 
  font-weight: 700;
  background: linear-gradient(transparent 70%, #dcedc8 0%);
}

/* Section Common */
.section {
  padding: 100px 0;
}

.section-title {
  font-size: 1.8rem;
  font-weight: 500;
  margin-bottom: 48px;
  position: relative;
  display: inline-block;
  letter-spacing: 0.08em;
}

.section-title .en-title, .contact-title .en-title {
  display: block;
  font-size: 0.85rem;
  color: var(--color-primary);
  margin-bottom: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  font-family: 'Helvetica Neue', Arial, sans-serif;
}
.contact-title .en-title {
  color: rgba(255, 255, 255, 0.8);
}

.section-title.center {
  display: block;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 32px;
  border-radius: 50px;
  font-weight: 700;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: var(--color-accent);
  color: #fff;
  box-shadow: 0 4px 15px rgba(232, 106, 51, 0.3);
}

.btn-primary:hover {
  background-color: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 106, 51, 0.4);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-outline:hover {
  background-color: var(--color-primary);
  color: #fff;
}

.btn-large {
  padding: 16px 48px;
  font-size: 1.1rem;
}

.btn-header {
  background-color: var(--color-primary);
  color: #fff;
  padding: 10px 24px;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(5px);
  z-index: 100;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--color-primary);
}

.header-nav ul {
  display: flex;
  gap: 32px;
}

.header-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.3s;
}

.header-nav a:hover {
  color: var(--color-primary);
}

/* FV (Hero) */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  background-color: var(--color-bg-wood);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Modern business office with wood tones */
  background-image: url('https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&q=80&w=2000');
  background-size: cover;
  background-position: center;
  opacity: 0.25;
}

/* IT modern feel: subtle grid overlay */
.hero-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(56, 142, 60, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 142, 60, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 760px;
}

/* Glassmorphism card for modern IT feel */
.glass-card {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  padding: 56px 48px;
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 40px rgba(62, 58, 57, 0.06);
}

.hero-title {
  font-size: 3rem;
  line-height: 1.5;
  margin-bottom: 24px;
  color: var(--color-text-main);
  letter-spacing: 0.08em;
  font-weight: 500;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--color-text-light);
  margin-bottom: 40px;
}

.hero-note {
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin-top: 12px;
}

/* Concept */
.concept-wrapper {
  display: flex;
  align-items: center;
  gap: 60px;
}

.concept-text { flex: 1; }
.concept-image { 
  flex: 1; 
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.concept-desc {
  font-size: 1.1rem;
  margin-bottom: 40px;
}

.concept-steps li {
  display: flex;
  gap: 20px;
  margin-bottom: 24px;
}

.step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(56, 142, 60, 0.2);
}

.step-content h3 {
  font-size: 1.1rem;
  margin-bottom: 4px;
  color: var(--color-primary);
}

/* Problems & Cards */
.problem-cards, .case-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.card {
  background: white;
  padding: 32px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s, box-shadow 0.3s;
}

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

.problem-card .icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.problem-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  border-bottom: 2px solid var(--color-primary-light);
  padding-bottom: 8px;
}

/* Solutions */
.solution-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.solution-item {
  background: white;
  padding: 32px;
  border-radius: var(--radius-md);
  border-left: 6px solid var(--color-primary);
  box-shadow: var(--shadow-soft);
}

.solution-item h3 {
  font-size: 1.25rem;
  color: var(--color-primary);
  margin-bottom: 12px;
}

/* Benefits (Before/After) */
.before-after-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.ba-card {
  flex: 1;
  background: white;
  padding: 40px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  position: relative;
}

.ba-card.before {
  border-top: 4px solid #9E9E9E;
}

.ba-card.after {
  border-top: 4px solid var(--color-primary);
  background-color: var(--color-primary-light);
}

.ba-badge {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 16px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 0.9rem;
  background: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.ba-card.before .ba-badge { color: #757575; }
.ba-card.after .ba-badge { color: var(--color-primary); }

.ba-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 16px;
}

.ba-list li::before {
  content: "・";
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: bold;
}

.ba-arrow {
  width: 40px;
  height: 40px;
  color: var(--color-primary);
  flex-shrink: 0;
}

/* Cases */
.case-card { position: relative; }
.case-tag {
  position: absolute;
  top: -12px;
  left: 16px;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: bold;
  color: white;
}
.case-tag.tourism { background-color: #0288D1; }
.case-tag.manufacturing { background-color: #F57D00; }
.case-card h3 {
  margin-top: 16px;
  margin-bottom: 16px;
  font-size: 1.2rem;
}

/* Profile */
.profile-wrapper {
  display: flex;
  align-items: center;
  gap: 60px;
  max-width: 900px;
  margin: 0 auto;
}

.profile-circle {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  overflow: hidden;
  border: 8px solid var(--color-primary-light);
}

.profile-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-name {
  margin-top: 32px;
  font-size: 1.1rem;
  font-weight: bold;
  text-align: right;
  border-top: 1px solid #eee;
  padding-top: 16px;
}
.profile-name span { font-size: 1.5rem; color: var(--color-primary); margin-left: 8px; }

/* Flow */
.flow-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.flow-step {
  background: white;
  padding: 32px;
  border-radius: var(--radius-md);
  text-align: center;
  position: relative;
}

.flow-num {
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-primary-light);
  line-height: 1;
  margin-bottom: 16px;
}

.flow-content h3 { margin-bottom: 12px; font-size: 1.1rem; }
.flow-content p { font-size: 0.95rem; text-align: left; }

/* Contact */
.contact-section {
  background: linear-gradient(135deg, var(--color-primary) 0%, #2E7D32 100%);
  color: white;
}

.contact-title {
  font-size: 2.2rem;
  margin-bottom: 24px;
  line-height: 1.5;
}

.contact-desc {
  font-size: 1.1rem;
  margin-bottom: 40px;
  opacity: 0.9;
}

.contact-actions {
  display: flex;
  gap: 24px;
  justify-content: center;
}

.contact-actions .btn-outline {
  border-color: white;
  color: white;
}
.contact-actions .btn-outline:hover {
  background-color: white;
  color: var(--color-primary);
}

/* Footer */
.footer {
  background: var(--color-text-main);
  color: white;
  padding: 60px 0 24px;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 16px;
}

.footer-address {
  color: #aaa;
  margin-bottom: 40px;
}

.copyright {
  font-size: 0.85rem;
  color: #777;
  border-top: 1px solid #555;
  padding-top: 24px;
}

/* Animations using JS class */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

/* Responsive */
@media (max-width: 768px) {
  .header-nav { display: none; } /* Could add hamburger menu later */
  
  .hero-title { font-size: 2.2rem; }
  .hero-bg { width: 100%; opacity: 0.1; }
  
  .concept-wrapper, .profile-wrapper { flex-direction: column; }
  .before-after-wrapper { flex-direction: column; }
  .ba-arrow { transform: rotate(90deg); margin: 16px 0; }
  
  .contact-actions { flex-direction: column; width: 100%; max-width: 300px; margin: 0 auto; }
}

