/* styles.css */
:root {
  --primary: #efa89a;         /* Paler Coral/Pink */
  --primary-light: #f4cfc8;   
  --secondary: #fabd98;       /* Paler Orange/Peach */
  --secondary-hover: #f1a97d;
  --text-color: #594d4b;      /* Soft warm gray */
  --text-dark: #3a2e2d;
  --bg-color: #fffbf9;        /* Very pale warm white */
  --bg-light: #fff5f2;        /* Creamy peach */
  --bg-accent: #fdede7;       /* Light blush */
  --font-main: 'Noto Sans JP', sans-serif;
  --font-serif: 'Shippori Mincho', serif;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --radius: 12px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-main);
  color: var(--text-color);
  background-color: var(--bg-color);
  line-height: 1.8;
  font-size: 16px;
  overflow-x: hidden;
}

h1, h2, h3, h4, .font-serif {
  font-family: var(--font-serif);
  color: var(--text-dark);
}

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

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

.text-center { text-align: center; }
.text-white { color: #ffffff !important; }
.text-content p { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.bg-light { background-color: var(--bg-light); }
.bg-primary { background-color: var(--primary); }
.bg-primary h2 { color: #ffffff; }

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

.section {
  padding: 6rem 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

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

.section-title.text-left::after {
  left: 0;
  transform: none;
}

.section-subtitle {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  font-weight: 400;
}

.lead-text {
  font-size: 1.15rem;
  line-height: 1.8;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 251, 249, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 2rem;
}

.logo-img {
  height: 50px;
  object-fit: contain;
}
.sr-only { display: none; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-list a {
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 0.5rem 0;
  color: var(--text-dark);
}

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

.nav-list a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  z-index: 1001;
}

.menu-toggle .bar {
  width: 25px;
  height: 2.5px;
  background-color: var(--text-dark);
  transition: var(--transition);
  border-radius: 2px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 500;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

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

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

.btn-secondary {
  background-color: var(--secondary);
  color: #fff;
}

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

.btn-large {
  padding: 1rem 3rem;
  font-size: 1.1rem;
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 80px;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 251, 249, 0.9) 0%, rgba(255, 245, 242, 0.7) 100%);
  z-index: -1;
}

.hero-bg::before {
  content: '';
  position: absolute;
  right: -10%;
  top: -10%;
  width: 60%;
  height: 80%;
  background: radial-gradient(circle, rgba(250, 189, 152, 0.15) 0%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
  z-index: -1;
  animation: float 10s infinite ease-in-out alternate;
}

.hero-content {
  text-align: center;
  max-width: 800px;
  padding: 0 2rem;
  z-index: 1;
}

.hero-title {
  font-size: 4.5rem;
  line-height: 1.2;
  margin-bottom: 2rem;
  color: var(--text-dark);
}

.hero-title .highlight {
  color: var(--primary);
  font-size: 2.5rem;
  display: block;
  margin-bottom: 0.5rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 3rem;
  color: var(--text-color);
}

/* Layout Utilities */
.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -2rem;
}

.col-6 {
  flex: 0 0 50%;
  max-width: 50%;
  padding: 0 2rem;
}

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

/* Shared Elements */
.rounded-image {
  border-radius: var(--radius);
  overflow: hidden;
  width: 100%;
  object-fit: cover;
}

.shadow {
  box-shadow: var(--shadow-lg);
}

.text-lead {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

/* Grid & Cards (Engagement) */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}

.card {
  background: #fff;
  padding: 3rem 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: var(--transition);
  border-top: 4px solid transparent;
}

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

.card-highlight {
  border-top-color: var(--secondary);
  background-color: #fffbf9;
}

.card-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.card-title {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.quote-box {
  background: var(--primary);
  color: white;
  padding: 3rem;
  border-radius: var(--radius);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.quote-box::before {
  content: '”';
  position: absolute;
  top: -40px;
  left: 20px;
  font-size: 10rem;
  font-family: var(--font-serif);
  color: rgba(255,255,255,0.06);
  line-height: 1;
}

.quote-text {
  font-size: 1.4rem;
  font-weight: 500;
  font-family: var(--font-serif);
  position: relative;
  z-index: 1;
}

/* Features/Services */
.features-list {
  display: flex;
  flex-direction: column;
  gap: 6rem;
  margin-top: 4rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.feature-item.reverse {
  flex-direction: row-reverse;
}

.feature-content {
  flex: 1;
}

.feature-content h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
  font-family: var(--font-serif);
}

.feature-image {
  flex: 1;
  position: relative;
}

.check-list {
  list-style: none;
  margin-top: 1.5rem;
}

.check-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23fabd98"><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z"/></svg>') no-repeat left 4px;
  background-size: 20px;
}
.small-text li { font-size: 0.95rem; }

.service-steps {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.step {
  background: #fff;
  padding: 1.5rem 2rem;
  border-left: 5px solid var(--primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.step:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-md);
}

.step-title {
  color: var(--primary);
  margin-bottom: 0.5rem;
  font-size: 1.15rem;
}

.strengths-box {
  background: var(--bg-accent);
  padding: 4rem;
  border-radius: var(--radius);
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
}

.grid-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  list-style: none;
}

.grid-list li {
  position: relative;
  padding-left: 2.5rem;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23efa89a"><circle cx="12" cy="12" r="8"/></svg>') no-repeat left center;
  background-size: 16px;
  font-weight: 500;
  font-size: 1.05rem;
}

/* Profile */
.profile-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  max-width: 900px;
  margin: 0 auto;
}

.profile-header {
  background: var(--bg-accent);
  padding: 5rem 2rem 2rem;
  position: relative;
  border-radius: var(--radius) var(--radius) 0 0;
}

.profile-img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  object-position: top;
  border-radius: 50%;
  border: 4px solid #fff;
  box-shadow: var(--shadow-md);
  position: absolute;
  top: -90px;
  left: 50%;
  transform: translateX(-50%);
}

.profile-section {
  padding-top: 10rem;
}

.profile-name {
  font-size: 2.2rem;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

.profile-role {
  font-size: 1rem;
  color: var(--secondary);
  font-family: var(--font-main);
  margin-left: 1rem;
  letter-spacing: 1px;
}

.profile-titles {
  color: var(--text-light);
  font-weight: 500;
}

.profile-body {
  padding: 4rem;
}

.profile-body h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--bg-accent);
  padding-bottom: 0.5rem;
}

.profile-text p {
  margin-bottom: 1rem;
}

/* Footer */
.footer {
  background: var(--bg-light);
  color: var(--text-color);
  padding: 4rem 0 2rem;
}

.footer-logo-img {
  height: 50px;
  margin: 0 auto 2rem auto;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  color: var(--text-color);
  font-size: 0.9rem;
}

/* Animations */
@keyframes float {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-20px, 20px) scale(1.05); }
}

@keyframes pulse-shadow {
  0% { box-shadow: 0 0 0 0 rgba(250, 189, 152, 0.4); }
  70% { box-shadow: 0 0 0 15px rgba(250, 189, 152, 0); }
  100% { box-shadow: 0 0 0 0 rgba(250, 189, 152, 0); }
}

.pulse {
  animation: pulse-shadow 2s infinite;
}

.fade-in {
  opacity: 0;
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in.visible {
  opacity: 1;
}

.slide-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.slide-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.card.slide-up {
  transition-delay: calc(var(--delay) * 0.1s);
}

/* Company Info Table */
.company-section {
  padding: 5rem 0;
}

.company-table {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.company-table th, .company-table td {
  padding: 1.5rem;
  border-bottom: 1px solid var(--bg-accent);
  text-align: left;
}

.company-table th {
  width: 30%;
  font-weight: 500;
  color: var(--primary);
  background: var(--bg-light);
}

.company-table td {
  width: 70%;
  color: var(--text-color);
}

.company-table tr:last-child th,
.company-table tr:last-child td {
  border-bottom: none;
}

/* Topics Section */
.topics-section {
  padding: 5rem 0 3rem;
}

.topics-container {
  max-width: 800px;
  margin: 0 auto;
  border-top: 3px solid var(--primary);
  background: #fff;
  padding: 0 1rem;
}

.topics-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.topic-item {
  display: flex;
  align-items: flex-start;
  padding: 1.5rem 1rem;
  border-bottom: 1px dashed #cbd5e1;
  transition: var(--transition);
}

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

.topic-item:hover {
  background-color: var(--bg-accent);
}

.topic-date {
  font-weight: 500;
  color: var(--primary);
  min-width: 140px;
  font-family: var(--font-main);
  letter-spacing: 0.5px;
}

.topic-title {
  flex: 1;
  color: var(--text-color);
  line-height: 1.6;
}

.topic-link {
  flex: 1;
  color: inherit;
  text-decoration: none;
}

.topic-link .topic-title {
  transition: var(--transition);
}

.topic-link:hover .topic-title {
  color: var(--secondary);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Media Queries */
@media (max-width: 992px) {
  .hero-title { font-size: 3.5rem; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .col-6 { flex: 0 0 100%; max-width: 100%; }
  .row { gap: 4rem; }
  .feature-item, .feature-item.reverse { flex-direction: column; gap: 3rem; }
  .strengths-box { padding: 3rem; }
}

@media (max-width: 768px) {
  .section { padding: 4rem 0; }
  .card-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 2.8rem; }
  .hero-title .highlight { font-size: 2rem; }
  .hero-subtitle { font-size: 1.1rem; }
  .grid-list { grid-template-columns: 1fr; gap: 1rem; }
  .section-title { font-size: 2rem; }
  
  .header-container { padding: 1rem; }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: #fff;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
    transition: right 0.4s ease;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    width: 100%;
    text-align: center;
    margin-bottom: 2rem;
  }
  
  .nav-list a { font-size: 1.25rem; }

  .menu-toggle {
    display: flex;
  }

  .menu-toggle.active .bar:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
  }

  .menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
  }

  .profile-body { padding: 2rem 1.5rem; }
  .profile-name { font-size: 1.8rem; }
  
  /* Topics Responsive */
  .topic-item { flex-direction: column; padding: 1.25rem 1rem; }
  .topic-date { margin-bottom: 0.5rem; font-size: 0.95rem; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.2rem; }
  .hero-title .highlight { font-size: 1.5rem; }
  .btn-large { padding: 0.8rem 2rem; font-size: 1rem; }
  .quote-box { padding: 2rem 1.5rem; }
  .quote-text { font-size: 1.15rem; }
}
