/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif; color: #333; line-height: 1.8; background: #fff; }
a { text-decoration: none; color: inherit; transition: opacity .3s; }
a:hover { opacity: .7; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* ===== Color Variables ===== */
:root {
  --navy: #2c3e50;
  --dark: #32373c;
  --red: #c0392b;
  --red-bright: #e74c3c;
  --light-bg: #eef2f7;
  --white: #fff;
  --gray: #999;
  --border: #ddd;
  --ai-blue: #1a73e8;
  --ai-gradient-start: #667eea;
  --ai-gradient-end: #764ba2;
}

/* ===== Header ===== */
.header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.08); }
.header-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; }
.logo { display: flex; align-items: center; gap: 16px; }
.logo svg { height: 50px; width: auto; }
.logo-text { font-size: 13px; color: #555; line-height: 1.5; }
.nav { display: flex; gap: 0; }
.nav-item { position: relative; }
.nav-link { display: flex; align-items: center; gap: 6px; padding: 10px 20px; font-size: 14px; font-weight: 600; color: var(--dark); letter-spacing: .05em; }
.nav-link .arrow { font-size: 10px; }
.nav-item:hover .sub-nav { display: block; }
.sub-nav { display: none; position: absolute; top: 100%; left: 0; background: #fff; box-shadow: 0 4px 12px rgba(0,0,0,.1); min-width: 200px; z-index: 100; }
.sub-nav a { display: block; padding: 12px 20px; font-size: 13px; border-bottom: 1px solid #f0f0f0; }
.sub-nav a:hover { background: var(--light-bg); }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 10px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--dark); transition: .3s; }
.mobile-nav { display: none; }

/* ===== Hero ===== */
.hero { margin-top: 74px; position: relative; height: 600px; overflow: hidden; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #1a2a3a 0%, #2c3e50 50%, #34495e 100%); }
.hero-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.35); z-index: 1; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-content { position: relative; z-index: 2; text-align: center; color: #fff; padding: 0 20px; }
.hero-catch { font-size: 18px; letter-spacing: .3em; margin-bottom: 16px; font-weight: 400; }
.hero-main { font-size: 42px; font-weight: 700; line-height: 1.4; margin-bottom: 12px; letter-spacing: .05em; }
.hero-main .accent { color: var(--red-bright); }
.hero-sub { font-size: 16px; font-weight: 400; letter-spacing: .1em; opacity: .9; }
.hero-logo-large { font-size: 80px; font-weight: 700; letter-spacing: .05em; margin-top: 20px; }
.hero-logo-large .dot { color: var(--red-bright); }

/* ===== Section Common ===== */
.section { padding: 80px 20px; }
.section-light { background: var(--light-bg); }
.section-dark { background: var(--dark); color: #fff; }
.section-inner { max-width: 1000px; margin: 0 auto; }
.section-title { text-align: center; font-size: 28px; font-weight: 700; letter-spacing: .15em; margin-bottom: 16px; color: var(--dark); }
.section-title-en { text-align: center; font-size: 13px; color: var(--gray); letter-spacing: .2em; margin-bottom: 40px; }
.section-title-bar { width: 50px; height: 3px; background: var(--dark); margin: 0 auto 40px; }
.section-lead { text-align: center; font-size: 22px; line-height: 1.8; margin-bottom: 24px; font-weight: 500; }
.section-lead .em { color: var(--red); font-style: italic; font-weight: 700; }
.section-body { text-align: center; font-size: 15px; line-height: 2; color: #555; max-width: 720px; margin: 0 auto; }

/* ===== Point Cards (Top) ===== */
.point-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px; margin-top: 60px; }
.point-card { text-align: center; padding: 40px 24px; background: #fff; border-radius: 8px; box-shadow: 0 4px 20px rgba(0,0,0,.06); }
.point-num { font-size: 12px; letter-spacing: .2em; color: var(--gray); margin-bottom: 8px; }
.point-vol { font-size: 64px; font-weight: 200; color: rgba(44,62,80,.1); position: absolute; top: -10px; right: 20px; }
.point-card h3 { font-size: 20px; margin-bottom: 16px; color: var(--dark); }
.point-card p { font-size: 14px; line-height: 1.9; color: #666; }
.point-icon { width: 80px; height: 80px; margin: 0 auto 20px; display: flex; align-items: center; justify-content: center; }

/* ===== Vol Cards (Service) ===== */
.vol-section { display: flex; align-items: center; gap: 60px; padding: 80px 0; }
.vol-section:nth-child(even) { flex-direction: row-reverse; }
.vol-illust { flex: 0 0 400px; text-align: center; }
.vol-illust svg { width: 100%; max-width: 360px; }
.vol-content { flex: 1; position: relative; }
.vol-label { font-size: 14px; letter-spacing: .15em; color: var(--gray); margin-bottom: 4px; }
.vol-number { font-size: 120px; font-weight: 200; color: rgba(44,62,80,.06); position: absolute; top: -40px; right: 0; line-height: 1; }
.vol-content h3 { font-size: 24px; margin-bottom: 16px; color: var(--dark); }
.vol-content p { font-size: 15px; line-height: 1.9; color: #555; }

/* ===== CTA Button ===== */
.btn { display: inline-flex; align-items: center; gap: 12px; padding: 16px 40px; font-size: 15px; font-weight: 600; letter-spacing: .1em; border: none; cursor: pointer; transition: all .3s; }
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: #1a252f; opacity: 1; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: #a93226; opacity: 1; }
.btn-outline { background: transparent; border: 2px solid var(--dark); color: var(--dark); }
.btn-outline:hover { background: var(--dark); color: #fff; opacity: 1; }
.btn-ai { background: linear-gradient(135deg, var(--ai-gradient-start), var(--ai-gradient-end)); color: #fff; }
.btn-ai:hover { opacity: .9; }
.btn .arrow-r { font-size: 18px; }

/* ===== Challenge Section ===== */
.challenge-section { position: relative; padding: 80px 20px; color: #fff; text-align: center; background: linear-gradient(rgba(0,0,0,.6), rgba(0,0,0,.6)), url('') center/cover; background-color: #2c3e50; }
.challenge-title { font-size: 26px; letter-spacing: .15em; margin-bottom: 40px; }
.challenge-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 32px; margin-bottom: 50px; }
.challenge-list li { font-size: 16px; display: flex; align-items: center; gap: 8px; }
.challenge-list li::before { content: ""; width: 10px; height: 10px; background: var(--red-bright); border-radius: 50%; flex-shrink: 0; }

/* ===== Philosophy ===== */
.philosophy { display: flex; gap: 60px; align-items: flex-start; }
.philosophy-text { flex: 1; }
.philosophy-text p { font-size: 15px; line-height: 2.2; margin-bottom: 16px; }
.philosophy-img { flex: 0 0 380px; }
.philosophy-img img { border-radius: 4px; }
.philosophy-name { margin-top: 32px; }
.philosophy-name .title { font-size: 13px; color: #888; }
.philosophy-name .name { font-size: 28px; font-weight: 700; margin-top: 4px; }
.philosophy-name .name-en { font-size: 14px; color: #888; margin-left: 12px; }

/* ===== Company Info ===== */
.company-table { width: 100%; border-collapse: collapse; }
.company-table tr:nth-child(odd) { background: var(--light-bg); }
.company-table th, .company-table td { padding: 20px 30px; text-align: left; font-size: 15px; }
.company-table th { width: 160px; font-weight: 700; color: var(--dark); }

/* ===== Sub Page Header ===== */
.page-header { margin-top: 74px; padding: 60px 20px; background: var(--light-bg); text-align: center; }
.page-header h1 { font-size: 30px; letter-spacing: .1em; color: var(--dark); }
.page-header .en { font-size: 13px; color: var(--gray); letter-spacing: .2em; margin-top: 8px; }
.breadcrumb { max-width: 1000px; margin: 0 auto; padding: 12px 20px; font-size: 13px; color: #888; }
.breadcrumb a { color: var(--dark); }

/* ===== Flow Steps ===== */
.flow-steps { display: flex; flex-direction: column; gap: 40px; margin: 40px 0; }
.flow-step { display: flex; gap: 30px; align-items: flex-start; }
.flow-step-num { flex: 0 0 80px; height: 80px; background: var(--dark); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 4px; }
.flow-step-num .label { font-size: 10px; letter-spacing: .1em; }
.flow-step-num .num { font-size: 28px; font-weight: 700; }
.flow-step-body h3 { font-size: 18px; margin-bottom: 8px; color: var(--dark); }
.flow-step-body p { font-size: 14px; line-height: 1.9; color: #555; }

/* ===== Proposals ===== */
.proposal-list { counter-reset: proposal; margin: 40px 0; }
.proposal-item { padding: 20px 20px 20px 60px; position: relative; border-bottom: 1px solid var(--border); font-size: 15px; line-height: 1.8; }
.proposal-item::before { counter-increment: proposal; content: counter(proposal); position: absolute; left: 16px; top: 20px; font-size: 18px; font-weight: 700; color: var(--dark); }

/* ===== Training Types ===== */
.training-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin: 40px 0; }
.training-card { background: var(--light-bg); padding: 24px; border-radius: 6px; text-align: center; font-size: 15px; font-weight: 600; color: var(--dark); }

/* ===== to 2nd (Recruitment) ===== */
.recruitment-hero { margin-top: 74px; background: linear-gradient(135deg, #1a2a3a, #2c3e50); color: #fff; padding: 80px 20px; text-align: center; }
.recruitment-hero h1 { font-size: 36px; line-height: 1.6; letter-spacing: .1em; margin-bottom: 16px; }
.recruitment-hero .service-name { font-size: 48px; font-weight: 700; letter-spacing: .05em; }
.step-flow { display: flex; gap: 0; margin: 40px 0; flex-wrap: wrap; }
.step-item { flex: 1; min-width: 180px; text-align: center; padding: 30px 16px; position: relative; }
.step-item:not(:last-child)::after { content: ""; position: absolute; right: -8px; top: 50%; transform: translateY(-50%); width: 0; height: 0; border-left: 16px solid var(--light-bg); border-top: 16px solid transparent; border-bottom: 16px solid transparent; z-index: 1; }
.step-item:nth-child(odd) { background: var(--light-bg); }
.step-item:nth-child(even) { background: #e2e8f0; }
.step-num { font-size: 11px; letter-spacing: .15em; color: var(--gray); }
.step-num-val { font-size: 28px; font-weight: 700; color: var(--dark); }
.step-item h4 { font-size: 16px; margin: 8px 0; color: var(--dark); }
.step-item p { font-size: 13px; color: #666; line-height: 1.7; }

/* ===== Performance ===== */
.perf-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.perf-card { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 4px 16px rgba(0,0,0,.06); }
.perf-card-header { background: var(--dark); color: #fff; padding: 16px 24px; display: flex; align-items: center; gap: 12px; }
.perf-card-header .vol { font-size: 12px; letter-spacing: .15em; opacity: .7; }
.perf-card-header h3 { font-size: 15px; }
.perf-card-body { padding: 20px 24px; }
.perf-card-body li { font-size: 14px; line-height: 1.8; padding: 4px 0; color: #555; }

/* ===== Blog ===== */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.blog-card { background: #fff; border-radius: 6px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,.06); transition: transform .3s; }
.blog-card:hover { transform: translateY(-4px); }
.blog-card-body { padding: 20px; }
.blog-card-meta { font-size: 12px; color: var(--gray); display: flex; gap: 12px; margin-bottom: 8px; }
.blog-card-meta .cat { color: var(--red); font-weight: 600; }
.blog-card h3 { font-size: 16px; color: var(--dark); }

/* ===== Contact Form ===== */
.form-group { margin-bottom: 24px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; color: var(--dark); }
.form-group label .req { color: var(--red); font-size: 12px; margin-left: 8px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px 16px; border: 1px solid var(--border); border-radius: 4px; font-size: 15px; font-family: inherit; }
.form-group textarea { height: 160px; resize: vertical; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--navy); }

/* ===== AI Service Page ===== */
.ai-hero { margin-top: 74px; background: linear-gradient(135deg, #0f0c29, #302b63, #24243e); color: #fff; padding: 100px 20px; text-align: center; position: relative; overflow: hidden; }
.ai-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 30% 50%, rgba(102,126,234,.3) 0%, transparent 50%), radial-gradient(circle at 70% 50%, rgba(118,75,162,.3) 0%, transparent 50%); }
.ai-hero-content { position: relative; z-index: 1; }
.ai-hero .tag { display: inline-block; padding: 6px 20px; border: 1px solid rgba(255,255,255,.4); border-radius: 20px; font-size: 13px; letter-spacing: .15em; margin-bottom: 24px; }
.ai-hero h1 { font-size: 38px; line-height: 1.5; letter-spacing: .05em; margin-bottom: 20px; }
.ai-hero .lead { font-size: 16px; line-height: 1.9; opacity: .85; max-width: 700px; margin: 0 auto; }

.ai-problem { padding: 80px 20px; background: #fff; }
.ai-problem-inner { max-width: 900px; margin: 0 auto; }
.problem-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin: 40px 0; }
.problem-card { padding: 32px; border-radius: 12px; border: 1px solid var(--border); }
.problem-card h3 { font-size: 18px; margin-bottom: 12px; color: var(--dark); display: flex; align-items: center; gap: 8px; }
.problem-card p { font-size: 14px; line-height: 1.9; color: #555; }
.problem-card.left { border-left: 4px solid var(--ai-blue); }
.problem-card.right { border-left: 4px solid var(--red); }

.ai-solution { padding: 80px 20px; background: var(--light-bg); }
.ai-solution-inner { max-width: 1000px; margin: 0 auto; }
.solution-diagram { margin: 50px 0; text-align: center; }
.solution-flow { display: flex; align-items: stretch; gap: 0; justify-content: center; flex-wrap: wrap; }
.solution-pillar { flex: 0 0 260px; padding: 32px 24px; border-radius: 12px; text-align: center; position: relative; }
.solution-pillar.keiei { background: linear-gradient(180deg, #e8f4fd, #d1ecf9); border: 2px solid #a8d8ea; }
.solution-pillar.ai { background: linear-gradient(180deg, #f0e6ff, #e0d0ff); border: 2px solid #c4a8ff; flex: 0 0 200px; display: flex; flex-direction: column; align-items: center; justify-content: center; margin: 0 -20px; z-index: 2; border-radius: 50%; aspect-ratio: 1; }
.solution-pillar.gyomu { background: linear-gradient(180deg, #fef3e2, #fce4c0); border: 2px solid #f5c77e; }
.solution-pillar h4 { font-size: 18px; font-weight: 700; margin-bottom: 12px; }
.solution-pillar p { font-size: 13px; line-height: 1.7; color: #555; }
.solution-connector { display: flex; align-items: center; font-size: 28px; color: var(--gray); padding: 0 8px; }

.ai-approach { padding: 80px 20px; background: #fff; }
.approach-steps { max-width: 900px; margin: 40px auto; display: flex; flex-direction: column; gap: 0; }
.approach-step { display: flex; gap: 30px; padding: 32px 0; border-bottom: 1px solid #eee; }
.approach-step-num { flex: 0 0 60px; height: 60px; background: linear-gradient(135deg, var(--ai-gradient-start), var(--ai-gradient-end)); color: #fff; display: flex; align-items: center; justify-content: center; border-radius: 50%; font-size: 22px; font-weight: 700; }
.approach-step-body h3 { font-size: 18px; margin-bottom: 8px; color: var(--dark); }
.approach-step-body p { font-size: 14px; line-height: 1.9; color: #555; }

.ai-partner { padding: 80px 20px; background: linear-gradient(135deg, #0f0c29, #302b63); color: #fff; text-align: center; }
.ai-partner-inner { max-width: 800px; margin: 0 auto; }
.ai-partner h2 { font-size: 26px; letter-spacing: .1em; margin-bottom: 20px; }
.ai-partner p { font-size: 15px; line-height: 2; opacity: .85; margin-bottom: 16px; }
.partner-logo { display: flex; align-items: center; justify-content: center; gap: 40px; margin: 40px 0; flex-wrap: wrap; }
.partner-logo-item { padding: 16px 32px; background: rgba(255,255,255,.1); border-radius: 8px; font-size: 16px; font-weight: 600; letter-spacing: .05em; }

/* ===== Footer ===== */
.footer { background: var(--dark); color: #ccc; padding: 60px 20px 30px; }
.footer-inner { max-width: 1000px; margin: 0 auto; display: flex; gap: 60px; }
.footer-info { flex: 1; }
.footer-info .company-name { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 16px; }
.footer-info p { font-size: 13px; line-height: 2; }
.footer-nav { flex: 1; }
.footer-nav-title { font-size: 14px; font-weight: 600; color: #fff; margin-bottom: 12px; }
.footer-nav a { display: block; font-size: 13px; padding: 4px 0; color: #aaa; }
.footer-nav a:hover { color: #fff; }
.footer-bottom { max-width: 1000px; margin: 40px auto 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); text-align: center; font-size: 12px; color: #888; }

/* ===== Page Top ===== */
.page-top { position: fixed; bottom: 30px; right: 30px; width: 50px; height: 50px; background: var(--dark); color: #fff; display: flex; align-items: center; justify-content: center; border-radius: 50%; font-size: 20px; z-index: 999; opacity: 0; transition: opacity .3s; cursor: pointer; }
.page-top.visible { opacity: 1; }

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .nav { display: none; }
  .hamburger { display: flex; }
  .mobile-nav.open { display: block; position: absolute; top: 74px; left: 0; width: 100%; background: #fff; box-shadow: 0 4px 12px rgba(0,0,0,.1); }
  .mobile-nav a { display: block; padding: 14px 24px; border-bottom: 1px solid #f0f0f0; font-size: 14px; }
  .hero { height: 400px; }
  .hero-main { font-size: 26px; }
  .hero-logo-large { font-size: 48px; }
  .section { padding: 60px 16px; }
  .section-title { font-size: 22px; }
  .vol-section { flex-direction: column !important; gap: 30px; }
  .vol-illust { flex: 0 0 auto; }
  .philosophy { flex-direction: column; }
  .philosophy-img { flex: 0 0 auto; text-align: center; }
  .footer-inner { flex-direction: column; gap: 30px; }
  .problem-cards { grid-template-columns: 1fr; }
  .solution-flow { flex-direction: column; align-items: center; }
  .solution-pillar.ai { margin: -20px 0; border-radius: 50%; width: 200px; }
  .step-flow { flex-direction: column; }
  .step-item:not(:last-child)::after { display: none; }
  .ai-hero h1 { font-size: 26px; }
}
