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

:root {
  --primary: #1a56c4;
  --primary-dark: #0a2d7a;
  --primary-light: #e8f0fc;
  --accent: #00b4d8;
  --text: #1a1a1a;
  --text-muted: #555;
  --border: #e0e0e0;
  --bg-gray: #f7f8f6;
  --white: #ffffff;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 40px rgba(0,0,0,0.14);
  --font: 'Noto Sans JP', sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); line-height: 1.7; font-size: 16px; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section--gray { background: var(--bg-gray); }
.pc-only { display: inline; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px; border-radius: 8px; font-weight: 700;
  font-size: 15px; transition: all 0.2s; cursor: pointer; border: 2px solid transparent;
  font-family: var(--font);
}
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(26,107,60,0.3); }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary-light); }
.btn-outline-white { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline-white:hover { background: rgba(255,255,255,0.15); }
.btn-lg { padding: 18px 36px; font-size: 16px; }

/* ===== SECTION HEADER ===== */
.section-header { text-align: center; margin-bottom: 56px; }
.section-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.15em; color: var(--primary); text-transform: uppercase; margin-bottom: 12px; }
.section-title { font-size: clamp(26px, 4vw, 36px); font-weight: 900; margin-bottom: 16px; }
.section-desc { color: var(--text-muted); font-size: 16px; }

/* ===== HEADER / NAV ===== */
.header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white); border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.header .container { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: flex; align-items: center; }
.logo img { height: 40px; width: auto; display: block; }
.logo-main { font-size: 20px; font-weight: 900; color: var(--primary); }
.logo-sub { font-size: 10px; color: var(--text-muted); }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { font-size: 14px; font-weight: 500; color: var(--text); transition: color 0.2s; }
.nav a:hover { color: var(--primary); }
.nav-cta { background: var(--primary); color: var(--white) !important; padding: 9px 20px; border-radius: 6px; }
.nav-cta:hover { background: var(--primary-dark) !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: 0.3s; }

/* ===== HERO ===== */
.hero { position: relative; background: linear-gradient(135deg, #0a2d7a 0%, #1a56c4 60%, #2e7de0 100%); min-height: 600px; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 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.04'%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; padding: 96px 0; }
.hero-eyebrow { color: rgba(255,255,255,0.75); font-size: 14px; font-weight: 500; margin-bottom: 20px; letter-spacing: 0.05em; }
.hero-title { font-size: clamp(36px, 6vw, 64px); font-weight: 900; color: var(--white); line-height: 1.2; margin-bottom: 24px; }
.hero-title .accent { color: var(--accent); }
.hero-desc { color: rgba(255,255,255,0.85); font-size: clamp(15px, 2vw, 17px); margin-bottom: 40px; line-height: 1.8; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

/* ===== STATS ===== */
.stats { background: var(--white); border-bottom: 1px solid var(--border); padding: 48px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat-item { text-align: center; padding: 24px; border-right: 1px solid var(--border); }
.stat-item:last-child { border-right: none; }
.stat-num { font-size: clamp(28px, 4vw, 44px); font-weight: 900; color: var(--primary); line-height: 1.1; }
.stat-unit { font-size: 0.5em; font-weight: 700; }
.stat-label { font-size: 13px; color: var(--text-muted); margin-top: 6px; }

/* ===== SERVICES ===== */
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.service-card {
  display: flex; flex-direction: column; padding: 36px;
  border: 2px solid var(--border); border-radius: var(--radius);
  background: var(--white); transition: all 0.25s; position: relative;
}
.service-card:hover { border-color: var(--primary); box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.service-card--featured { border-color: var(--primary); background: var(--primary-light); }
.service-badge { position: absolute; top: 20px; right: 20px; background: var(--primary); color: var(--white); font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 20px; }
.service-icon { font-size: 36px; margin-bottom: 16px; }
.service-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.service-card h3 small { font-size: 13px; font-weight: 500; color: var(--text-muted); display: block; }
.service-card p { color: var(--text-muted); font-size: 14px; line-height: 1.7; flex: 1; margin-bottom: 16px; }
.service-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.service-tags span { background: var(--bg-gray); color: var(--text-muted); font-size: 12px; padding: 4px 10px; border-radius: 20px; }
.service-card--featured .service-tags span { background: rgba(26,107,60,0.1); }
.card-link { font-size: 14px; font-weight: 700; color: var(--primary); margin-top: auto; }

/* ===== PROFILE TEASER ===== */
.profile-teaser-inner { display: grid; grid-template-columns: 300px 1fr; gap: 64px; align-items: center; }
.profile-img-placeholder { width: 280px; height: 360px; background: linear-gradient(135deg, #c8dcf5, #a8c4ee); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 14px; font-weight: 500; text-align: center; }
.profile-teaser-text h2 { font-size: 32px; font-weight: 900; margin-bottom: 4px; }
.name-en { display: block; font-size: 16px; font-weight: 400; color: var(--text-muted); margin-top: 4px; }
.profile-role { color: var(--primary); font-weight: 700; font-size: 15px; margin: 12px 0 20px; line-height: 1.6; }
.profile-bio { color: var(--text-muted); font-size: 15px; line-height: 1.8; margin-bottom: 24px; }
.profile-highlights { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.highlight-item { background: var(--white); border: 1px solid var(--border); border-radius: 6px; padding: 6px 14px; font-size: 13px; font-weight: 500; }

/* ===== ACHIEVEMENTS ===== */
.achievements-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 40px; }
.achievement-card { background: var(--white); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.achievement-category { font-size: 13px; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--primary-light); }
.achievement-card li { font-size: 14px; color: var(--text-muted); padding: 8px 0; border-bottom: 1px solid var(--border); padding-left: 16px; position: relative; }
.achievement-card li::before { content: '▶'; font-size: 8px; position: absolute; left: 0; top: 12px; color: var(--primary); }
.achievement-card li:last-child { border-bottom: none; }
.achievements-cta { text-align: center; }

/* ===== TESTIMONIALS ===== */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card { background: var(--white); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); position: relative; }
.testimonial-card::before { content: '"'; font-size: 80px; line-height: 0.8; color: var(--primary-light); font-family: Georgia, serif; position: absolute; top: 20px; left: 24px; }
.testimonial-text { font-size: 14px; line-height: 1.8; color: var(--text); padding-top: 32px; margin-bottom: 16px; }
.testimonial-from { font-size: 13px; font-weight: 700; color: var(--primary); }

/* ===== CTA SECTION ===== */
.cta-section { background: linear-gradient(135deg, #0a2d7a 0%, #1a56c4 100%); padding: 96px 0; text-align: center; color: var(--white); }
.cta-section h2 { font-size: clamp(24px, 4vw, 36px); font-weight: 900; margin-bottom: 16px; }
.cta-section p { font-size: 16px; opacity: 0.85; margin-bottom: 40px; line-height: 1.7; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===== FOOTER ===== */
.footer { background: #111; color: rgba(255,255,255,0.7); padding: 56px 0 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; padding-bottom: 48px; }
.footer .logo-main { color: var(--white); }
.footer-brand p { font-size: 13px; margin-top: 12px; color: rgba(255,255,255,0.5); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 20px 32px; }
.footer-nav a { font-size: 14px; color: rgba(255,255,255,0.6); transition: color 0.2s; }
.footer-nav a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 24px; text-align: center; font-size: 12px; color: rgba(255,255,255,0.35); }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero { background: linear-gradient(135deg, #0a2d7a 0%, #1a56c4 100%); padding: 80px 0; color: var(--white); }
.page-hero .section-eyebrow { color: rgba(255,255,255,0.7); }
.page-hero h1 { font-size: clamp(28px, 5vw, 48px); font-weight: 900; margin: 12px 0 16px; }
.page-hero p { font-size: 16px; opacity: 0.85; max-width: 640px; line-height: 1.8; }

/* ===== PRICING ===== */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pricing-card { background: var(--white); border: 2px solid var(--border); border-radius: var(--radius); padding: 36px; text-align: center; transition: all 0.25s; }
.pricing-card:hover { border-color: var(--primary); box-shadow: var(--shadow-hover); }
.pricing-card--featured { border-color: var(--primary); position: relative; }
.pricing-card--featured::before { content: 'おすすめ'; position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--primary); color: var(--white); font-size: 11px; font-weight: 700; padding: 4px 16px; border-radius: 20px; }
.pricing-name { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.pricing-price { font-size: 32px; font-weight: 900; color: var(--primary); margin: 16px 0 4px; }
.pricing-price span { font-size: 14px; font-weight: 400; color: var(--text-muted); }
.pricing-desc { font-size: 13px; color: var(--text-muted); margin-bottom: 24px; }
.pricing-features { text-align: left; margin-bottom: 28px; }
.pricing-features li { font-size: 14px; padding: 8px 0; border-bottom: 1px solid var(--border); padding-left: 20px; position: relative; color: var(--text-muted); }
.pricing-features li::before { content: '✓'; position: absolute; left: 0; color: var(--primary); font-weight: 700; }
.pricing-features li:last-child { border-bottom: none; }

/* ===== CONTENT SECTIONS ===== */
.content-section { padding: 72px 0; }
.content-section + .content-section { padding-top: 0; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.two-col--reverse { direction: rtl; }
.two-col--reverse > * { direction: ltr; }
.content-img-placeholder { height: 320px; background: linear-gradient(135deg, #c8dcf5, #a8c4ee); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 14px; }
.content-text h2 { font-size: 28px; font-weight: 900; margin-bottom: 16px; }
.content-text p { color: var(--text-muted); line-height: 1.8; margin-bottom: 16px; }
.content-text ul { margin: 16px 0 24px; }
.content-text ul li { padding: 8px 0 8px 20px; position: relative; color: var(--text-muted); font-size: 15px; border-bottom: 1px solid var(--border); }
.content-text ul li::before { content: '●'; font-size: 8px; position: absolute; left: 0; top: 14px; color: var(--primary); }
.content-text ul li:last-child { border-bottom: none; }

/* ===== CONTACT FORM ===== */
.contact-form { max-width: 680px; margin: 0 auto; }
.form-group { margin-bottom: 24px; }
.form-group label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.form-group label .required { color: #e53e3e; font-size: 11px; margin-left: 6px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 16px; border: 2px solid var(--border);
  border-radius: 8px; font-family: var(--font); font-size: 15px;
  transition: border-color 0.2s; color: var(--text);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--primary);
}
.form-group textarea { resize: vertical; min-height: 140px; }
.form-submit { text-align: center; margin-top: 32px; }
.form-note { font-size: 13px; color: var(--text-muted); text-align: center; margin-top: 16px; }

/* ===== BREADCRUMB ===== */
.breadcrumb { padding: 14px 0; font-size: 13px; color: var(--text-muted); }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { margin: 0 8px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .nav { display: none; }
  .hamburger { display: flex; }
  .nav.open { display: flex; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--border); padding: 24px; gap: 20px; box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
  .header { position: relative; }
  .header .container { flex-wrap: wrap; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-top: 1px solid var(--border); }
  .stat-item:nth-child(4) { border-top: 1px solid var(--border); border-right: none; }
  .services-grid { grid-template-columns: 1fr; }
  .profile-teaser-inner { grid-template-columns: 1fr; }
  .profile-img-placeholder { width: 100%; height: 240px; }
  .achievements-grid, .testimonials-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .two-col--reverse { direction: ltr; }
  .pc-only { display: none; }
  .footer-inner { flex-direction: column; }
}

@media (max-width: 600px) {
  .hero-ctas { flex-direction: column; }
  .cta-buttons { flex-direction: column; align-items: center; }
}
