:root {
  --primary-color: #001E8C;
  --secondary-color: #0077CC;
  --accent-color: #FFE600;
  --bg-color: #F5F7FA;
  --text-main: #231815;
  --text-muted: #6B7A8D;
  --glass-bg: rgba(255, 255, 255, 0.82);
  --glass-border: rgba(255, 255, 255, 0.6);
  --glass-shadow: 0 8px 32px 0 rgba(0, 30, 140, 0.08);
}

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

body {
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  color: var(--text-main);
  background-color: var(--bg-color);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.3;
  font-weight: 700;
}

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

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

/* Header */
header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1rem 0;
  z-index: 100;
  transition: all 0.3s ease;
  background: transparent;
}

header.scrolled {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

/* Ensure nav overlay always appears on top when menu is open.
   backdrop-filter creates a containing block for position:fixed children,
   so we must remove it when the menu is open to let the nav cover the full viewport. */
header.menu-open {
  z-index: 9999;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: opacity 0.2s;
  border-radius: 8px;
}

.logo:hover { opacity: 0.82; }

.logo-img {
  height: 44px;
  width: auto;
  display: block;
}

/* Footer tate logo */
.footer-logo-box {
  display: inline-block;
  margin-bottom: 1.4rem;
}

.footer-logo-box img {
  height: 72px;
  width: auto;
  filter: brightness(0) invert(1);
  display: block;
}

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

/* Hamburger button */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 300;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav overlay */
@media (max-width: 768px) {
  .nav-cta { display: none; }

  .nav-toggle { display: flex; }

  nav {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 200;
  }

  nav.open {
    opacity: 1;
    pointer-events: all;
  }

  nav ul {
    flex-direction: column;
    align-items: center;
    gap: 2.4rem;
  }

  nav a {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-main);
  }

  nav a::after { display: none; }
}

nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-main);
  transition: color 0.3s ease;
}

nav a:hover {
  color: var(--secondary-color);
}

.btn-primary {
  background: var(--primary-color);
  color: #fff !important;
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
  box-shadow: 0 4px 15px rgba(12, 26, 46, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(12, 26, 46, 0.3);
  background: #1a2a40;
}

.btn-secondary {
  background: var(--secondary-color);
  color: #fff !important;
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
  box-shadow: 0 4px 15px rgba(0, 119, 204, 0.3);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 119, 204, 0.45);
  background: #0066BB;
}

.btn-accent {
  background: var(--accent-color);
  color: var(--text-main) !important;
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  font-weight: 700;
  transition: all 0.3s ease;
  display: inline-block;
  box-shadow: 0 4px 15px rgba(255, 230, 0, 0.35);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 230, 0, 0.5);
  background: #FFDD00;
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: #e8f0fb url('assets/abstract-05.jpg') center top/cover no-repeat;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(
    to right,
    rgba(248, 250, 252, 0.97) 0%,
    rgba(248, 250, 252, 0.93) 40%,
    rgba(248, 250, 252, 0.45) 65%,
    rgba(248, 250, 252, 0.05) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s forwards 0.5s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-tag {
  display: inline-block;
  background: rgba(0, 119, 204, 0.12);
  color: var(--secondary-color);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: 4rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  line-height: 1.2;
  letter-spacing: -1px;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

/* Section Common */
section {
  padding: 6rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-tag {
  display: inline-block;
  color: var(--secondary-color);
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.section-title {
  font-size: 2.5rem;
  color: var(--primary-color);
}

/* Philosophy */
.philosophy {
  background: #fff;
  position: relative;
}

.philosophy-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4rem;
  align-items: center;
}

.philosophy-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.philosophy-text p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.highlight-box {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: var(--glass-shadow);
  border-left: 5px solid var(--secondary-color);
}

.highlight-box h3 {
  color: var(--primary-color);
  margin-bottom: 0.8rem;
  font-size: 1.3rem;
}

.highlight-box::before {
  content: '';
  display: block;
  width: 32px;
  height: 4px;
  background: var(--accent-color);
  border-radius: 2px;
  margin-bottom: 1rem;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.service-card {
  background: #fff;
  padding: 2.5rem 2rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: all 0.4s ease;
  border: 1px solid rgba(0,0,0,0.02);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  border-color: rgba(15, 139, 141, 0.2);
}

.service-icon {
  width: 60px;
  height: 60px;
  background: rgba(0, 119, 204, 0.1);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--secondary-color);
  font-size: 1.5rem;
}

.service-card:hover .service-icon {
  background: rgba(0, 119, 204, 0.18);
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Numbers / Proof */
.proof {
  background: var(--primary-color);
  color: #fff;
  padding: 5rem 0;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}

.proof-item h3 {
  font-size: 4rem;
  font-weight: 800;
  color: var(--accent-color);
  margin-bottom: 0.5rem;
}

.proof-item p {
  font-size: 1.1rem;
  opacity: 0.8;
}

/* Culture & Careers */
.culture-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.culture-img-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.culture-img-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

.culture-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.stat-box {
  background: #fff;
  padding: 1.5rem;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.stat-box h4 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 0.3rem;
}

.stat-box p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Footer */
footer {
  background: #050d1a;
  color: #fff;
  padding: 4rem 0 2rem;
}

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

.footer-brand h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
}

.footer-links h4 {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--accent-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.4);
  font-size: 0.8rem;
}

.social-links {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.25rem;
}
.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.social-link:hover {
  background: rgba(255,255,255,0.22);
  color: #fff;
}
.social-link-note {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Page Hero (sub-pages) */
.page-hero {
  padding: 10rem 0 6rem;
  background-color: var(--primary-color);
  background-image: url('assets/abstract-03.jpg');
  background-size: cover;
  background-position: center top;
  background-blend-mode: multiply;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 20, 100, 0.55) 0%,
    rgba(0, 10, 60, 0.35) 100%
  );
  pointer-events: none;
}

.page-hero-content {
  position: relative;
  z-index: 1;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s forwards 0.3s;
}

.page-hero .section-tag {
  color: var(--secondary-color);
}

.page-hero h1 {
  font-size: 3.5rem;
  color: #fff;
  margin: 0.5rem 0 1rem;
  letter-spacing: -1px;
}

.page-hero p {
  color: rgba(255,255,255,0.65);
  font-size: 1.15rem;
  max-width: 600px;
}

/* Page nav (dark hero background) — always white band */
.page-nav {
  background: #fff;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
}

.page-nav nav a { color: var(--text-main); }
.page-nav nav a:hover { color: var(--secondary-color); }

.page-nav .btn-primary {
  background: var(--primary-color);
  border: none;
  color: #fff !important;
}

/* After scroll: same white, slightly stronger shadow */
.page-nav.scrolled {
  background: #fff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.12);
  border-bottom: none;
}
.page-nav.scrolled nav a { color: var(--text-main); }
.page-nav.scrolled nav a:hover { color: var(--secondary-color); }
.page-nav.scrolled .btn-primary {
  background: var(--primary-color);
  border: none;
  color: #fff !important;
}

/* Works / Cases section */
.works { background: #fff; }

.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.work-card {
  background: var(--bg-color);
  border-radius: 20px;
  padding: 2rem;
  border-left: 4px solid var(--secondary-color);
  transition: all 0.3s ease;
}

.work-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,30,140,0.1);
}

.work-label {
  display: inline-block;
  background: rgba(0,119,204,0.1);
  color: var(--secondary-color);
  padding: 0.3rem 0.9rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.work-card h3 {
  font-size: 1.05rem;
  color: var(--primary-color);
  margin-bottom: 0.8rem;
  line-height: 1.5;
}

.work-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
  line-height: 1.7;
}

.work-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  border-top: 1px solid rgba(0,0,0,0.07);
  padding-top: 0.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}

.work-tag-item {
  background: rgba(0,30,140,0.06);
  color: var(--primary-color);
  padding: 0.15rem 0.6rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 500;
}

/* News section */
.news-section { background: var(--bg-color); }

.news-list { list-style: none; max-width: 800px; margin: 0 auto; }

.news-item {
  display: grid;
  grid-template-columns: 110px auto 1fr;
  gap: 1.2rem;
  align-items: center;
  padding: 1.1rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.07);
}

.news-item:first-child { border-top: 1px solid rgba(0,0,0,0.07); }

.news-date {
  color: var(--text-muted);
  font-size: 0.875rem;
  font-family: 'Inter', sans-serif;
  white-space: nowrap;
}

.news-cat {
  background: rgba(0,119,204,0.1);
  color: var(--secondary-color);
  padding: 0.2rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

.news-title {
  color: var(--text-main);
  font-size: 0.93rem;
  line-height: 1.5;
}

/* Recruit form */
.recruit-form-wrap {
  max-width: 680px;
  margin: 0 auto;
}

.recruit-form {
  background: #fff;
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1.6rem;
}

.form-row label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.req {
  background: var(--primary-color);
  color: #fff;
  font-size: 0.7rem;
  padding: 0.1rem 0.5rem;
  border-radius: 4px;
  font-weight: 500;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text-main);
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(0,119,204,0.12);
}

.form-row textarea { resize: vertical; }

.form-submit {
  text-align: center;
  margin-top: 2rem;
}

.recruit-errors {
  background: #fff0f0;
  border: 1px solid #f5c0c0;
  border-radius: 8px;
  padding: 1rem 1.5rem;
  margin-bottom: 1.5rem;
}

.recruit-errors ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.recruit-errors li {
  color: #c0392b;
  font-size: 0.9rem;
  padding: 0.2rem 0;
}

.recruit-errors li::before {
  content: '⚠ ';
}

.recruit-thanks {
  background: #fff;
  border-radius: 16px;
  padding: 3rem 2.5rem;
  text-align: center;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

.recruit-thanks-icon {
  font-size: 3rem;
  color: var(--secondary-color);
  margin-bottom: 1.2rem;
}

.recruit-thanks h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.recruit-thanks p {
  color: var(--text-muted);
  line-height: 1.8;
}

.recruit-thanks a {
  color: var(--secondary-color);
}

/* Contact form */
.contact-form-wrapper {
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

/* Qualifications grid */
.qualifications-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.qual-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.6rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  border-left: 3px solid var(--accent-color);
}

.qual-icon {
  color: var(--primary-color);
  font-size: 1rem;
  opacity: 0.5;
}

.qual-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.4;
}

.qual-abbr {
  font-size: 0.8rem;
  color: var(--text-muted);
}

@media (max-width: 1024px) {
  .qualifications-grid { grid-template-columns: repeat(2, 1fr); }
}

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

/* Partners grid */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.partner-card {
  background: #fff;
  border-radius: 14px;
  padding: 1.8rem 1.6rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  border-top: 3px solid var(--primary-color);
  transition: box-shadow 0.2s, transform 0.2s;
}

.partner-card:hover {
  box-shadow: 0 6px 24px rgba(0,0,80,0.1);
  transform: translateY(-3px);
}

.partner-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.75rem;
}

.partner-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
}

@media (max-width: 1024px) {
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
}

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

/* Company overview table */
.company-table {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  border-collapse: collapse;
  font-size: 0.97rem;
  line-height: 1.8;
}

.company-table tr {
  border-bottom: 1px solid rgba(0,0,0,0.07);
}

.company-table tr:first-child {
  border-top: 1px solid rgba(0,0,0,0.07);
}

.company-table th {
  width: 160px;
  padding: 1.2rem 1.5rem 1.2rem 0;
  vertical-align: top;
  color: var(--text-muted);
  font-weight: 500;
  white-space: nowrap;
  text-align: left;
}

.company-table td {
  padding: 1.2rem 0;
  color: var(--text-main);
  vertical-align: top;
}

/* Service detail page */
.service-detail {
  padding: 6rem 0;
}

.service-detail:nth-child(even) {
  background: #fff;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.service-detail-grid.reverse {
  direction: rtl;
}

.service-detail-grid.reverse > * {
  direction: ltr;
}

.service-detail-icon {
  width: 80px; height: 80px;
  background: rgba(0,119,204,0.1);
  border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
}

.service-detail-content h2 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.service-detail-content p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 1rem;
  line-height: 1.8;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.service-tag-item {
  background: rgba(0,119,204,0.08);
  color: var(--secondary-color);
  border: 1px solid rgba(0,119,204,0.2);
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
}

.service-visual {
  background: linear-gradient(135deg, var(--primary-color) 0%, #0044BB 100%);
  border-radius: 24px;
  padding: 3rem;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  color: rgba(15,139,141,0.6);
  box-shadow: 0 20px 50px rgba(12,26,46,0.2);
}

.service-visual.has-image {
  padding: 0;
  background: none;
  aspect-ratio: auto;
  overflow: hidden;
}

.service-visual.has-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 24px;
}

/* Careers page */
.careers-values {
  background: #fff;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.value-card {
  background: var(--bg-color);
  padding: 2.5rem 2rem;
  border-radius: 20px;
  text-align: center;
  border-top: 4px solid var(--secondary-color);
}

.value-card .icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.value-card h3 {
  color: var(--primary-color);
  margin-bottom: 0.8rem;
  font-size: 1.15rem;
}

.value-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.jobs-section {
  background: var(--bg-color);
}

.job-card {
  background: #fff;
  border-radius: 20px;
  padding: 2.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  border: 1px solid rgba(0,0,0,0.04);
  transition: all 0.3s ease;
}

.job-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.1);
  border-color: rgba(15,139,141,0.2);
}

.job-card h3 {
  font-size: 1.25rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.job-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.job-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.job-tag {
  background: rgba(0,119,204,0.08);
  color: var(--secondary-color);
  padding: 0.25rem 0.8rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
}

.job-type {
  background: var(--primary-color);
  color: #fff;
  padding: 0.25rem 0.8rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.benefit-item {
  background: #fff;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.benefit-item .icon {
  width: 44px; height: 44px;
  background: rgba(0,119,204,0.1);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--secondary-color);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.benefit-item h4 {
  font-size: 0.95rem;
  color: var(--primary-color);
  margin-bottom: 0.3rem;
}

.benefit-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 700px;
  margin: 0 auto;
}

.process-step {
  display: flex;
  gap: 2rem;
  position: relative;
}

.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 24px;
  top: 52px;
  width: 2px;
  height: calc(100% - 20px);
  background: linear-gradient(to bottom, var(--secondary-color), rgba(15,139,141,0.1));
}

.step-num {
  width: 50px; height: 50px;
  background: var(--primary-color);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
  z-index: 1;
}

.step-content {
  padding-bottom: 2.5rem;
}

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

.step-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-color), #1a3a5c);
  color: #fff;
  text-align: center;
  padding: 6rem 0;
}

.cta-banner h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-banner p {
  color: rgba(255,255,255,0.7);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* Privacy Policy */
.privacy-content {
  padding: 5rem 0;
  background: #fff;
}

.privacy-body {
  max-width: 800px;
  margin: 0 auto;
}

.privacy-body h2 {
  font-size: 1.4rem;
  color: var(--primary-color);
  margin: 3rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--bg-color);
}

.privacy-body h2:first-child {
  margin-top: 0;
}

.privacy-body p {
  color: var(--text-muted);
  font-size: 0.97rem;
  line-height: 1.9;
  margin-bottom: 1rem;
}

.privacy-body ol,
.privacy-body ul {
  padding-left: 1.5rem;
  color: var(--text-muted);
  font-size: 0.97rem;
  line-height: 1.9;
  margin-bottom: 1rem;
}

.privacy-body li {
  margin-bottom: 0.4rem;
}

.privacy-info-box {
  background: var(--bg-color);
  border-left: 4px solid var(--secondary-color);
  padding: 1.5rem 2rem;
  border-radius: 0 12px 12px 0;
  margin-top: 3rem;
}

.privacy-info-box p {
  margin-bottom: 0.3rem;
}

.privacy-info-box strong {
  color: var(--primary-color);
}

/* =============================================
   Reports / Insights
   ============================================= */

/* Listing page filter */
.reports-filter {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 3.5rem;
}

.filter-btn {
  background: none;
  border: 1px solid rgba(0,30,140,0.2);
  color: var(--text-muted);
  padding: 0.45rem 1.2rem;
  border-radius: 50px;
  cursor: pointer;
  font-size: 0.85rem;
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  font-weight: 500;
  transition: all 0.2s;
}

.filter-btn:hover { border-color: var(--secondary-color); color: var(--secondary-color); }
.filter-btn.active { background: var(--primary-color); color: #fff; border-color: var(--primary-color); }

/* Featured report */
.report-featured {
  background: var(--primary-color);
  border-radius: 24px;
  padding: 3.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.report-featured:hover { transform: translateY(-4px); }

.report-featured::after {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 450px; height: 450px;
  background: radial-gradient(circle, rgba(0,119,204,0.25) 0%, transparent 60%);
  pointer-events: none;
}

.report-featured .report-cat { color: var(--accent-color); margin-bottom: 0.75rem; }
.report-featured h2 { color: #fff; font-size: 1.85rem; line-height: 1.4; margin-bottom: 1rem; }
.report-featured p { color: rgba(255,255,255,0.72); font-size: 1rem; line-height: 1.8; margin-bottom: 1.5rem; }

.report-featured-meta {
  display: flex;
  gap: 1.5rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.82rem;
}

.report-featured-visual {
  border-radius: 16px;
  height: 240px;
  overflow: hidden;
  position: relative;
  z-index: 1;
  background-size: cover;
  background-position: center;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}

/* Reports grid */
.reports-section { background: var(--bg-color); }

.reports-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.report-card-wrapper { display: contents; }

.report-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.report-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0,30,140,0.12);
}

.report-card-img {
  height: 160px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s ease;
}

.report-card:hover .report-card-img {
  transform: scale(1.04);
}

.report-card-body {
  padding: 1.6rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.report-cat {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--secondary-color);
  margin-bottom: 0.6rem;
}

.report-card h3 {
  font-size: 1rem;
  color: var(--primary-color);
  margin-bottom: 0.75rem;
  line-height: 1.55;
  flex: 1;
}

.report-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.report-meta {
  display: flex;
  gap: 1.2rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  padding-top: 1rem;
  border-top: 1px solid rgba(0,0,0,0.07);
  margin-top: auto;
}

.report-meta i { margin-right: 0.25rem; }

/* Article hero */
.article-hero {
  padding: 9rem 0 5rem;
  background: var(--primary-color);
  position: relative;
  overflow: hidden;
}

.article-hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,119,204,0.2) 0%, transparent 60%);
  pointer-events: none;
}

.article-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.article-breadcrumb {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  color: rgba(255,255,255,0.55);
  font-size: 0.82rem;
  margin-bottom: 1.75rem;
}

.article-breadcrumb a { color: rgba(255,255,255,0.65); transition: color 0.2s; }
.article-breadcrumb a:hover { color: var(--accent-color); }

.article-cat {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-color);
  margin-bottom: 0.8rem;
}

.article-hero h1 {
  font-size: 2.4rem;
  color: #fff;
  margin-bottom: 1.75rem;
  line-height: 1.45;
  letter-spacing: -0.5px;
}

.article-meta-bar {
  display: flex;
  gap: 2rem;
  color: rgba(255,255,255,0.55);
  font-size: 0.82rem;
}

.article-meta-bar i { margin-right: 0.3rem; }

/* Article body */
.article-body {
  padding: 5rem 0;
  background: #fff;
}

.article-inner {
  max-width: 780px;
  margin: 0 auto;
}

.article-inner .lead {
  font-size: 1.18rem;
  color: var(--text-main);
  line-height: 2;
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--bg-color);
}

.article-inner h2 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin: 3.5rem 0 1.2rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--bg-color);
}

.article-inner h3 {
  font-size: 1.1rem;
  color: var(--text-main);
  margin: 2rem 0 0.8rem;
}

.article-inner p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.95;
  margin-bottom: 1.2rem;
}

.article-inner ul, .article-inner ol {
  padding-left: 1.5rem;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.95;
  margin-bottom: 1.5rem;
}

.article-inner li { margin-bottom: 0.5rem; }

.key-takeaway {
  background: rgba(0,30,140,0.04);
  border-left: 4px solid var(--primary-color);
  border-radius: 0 12px 12px 0;
  padding: 1.5rem 2rem;
  margin: 2.5rem 0;
}

.key-takeaway h4 {
  color: var(--primary-color);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 0.75rem;
}

.key-takeaway ul { margin: 0; padding-left: 1.2rem; }

.pull-quote {
  padding: 2.5rem;
  margin: 3rem 0;
  background: var(--bg-color);
  border-radius: 16px;
  position: relative;
}

.pull-quote::before {
  content: '"';
  font-size: 5rem;
  color: var(--accent-color);
  position: absolute;
  top: -0.5rem; left: 1.5rem;
  line-height: 1;
  font-family: Georgia, serif;
}

.pull-quote p {
  font-size: 1.2rem;
  color: var(--primary-color) !important;
  font-weight: 600;
  line-height: 1.65;
  margin: 0 !important;
  padding-top: 1.5rem;
}

.article-author {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 2px solid var(--bg-color);
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.author-avatar {
  width: 58px; height: 58px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-color);
  font-size: 1.4rem;
  flex-shrink: 0;
}

.author-info h4 { font-size: 0.95rem; color: var(--primary-color); margin-bottom: 0.2rem; }
.author-info p { font-size: 0.85rem; color: var(--text-muted); margin: 0; line-height: 1.5; }

.related-reports {
  background: var(--bg-color);
  padding: 5rem 0;
}

/* =============================================
   Responsive
   ============================================= */

@media (max-width: 1024px) {
  .reports-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hero::before {
    background: linear-gradient(
      to bottom,
      rgba(248, 250, 252, 0.97) 0%,
      rgba(248, 250, 252, 0.88) 70%,
      rgba(248, 250, 252, 0.6) 100%
    );
  }
  .hero h1 { font-size: 2.5rem; }
  .philosophy-grid, .culture-grid, .proof-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .page-hero h1 { font-size: 2.2rem; }
  .service-detail-grid { grid-template-columns: 1fr; }
  .service-detail-grid.reverse { direction: ltr; }
  .values-grid { grid-template-columns: 1fr; }
  .job-card { grid-template-columns: 1fr; }
  .cta-banner h2 { font-size: 1.8rem; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .report-featured { grid-template-columns: 1fr; padding: 2.5rem; }
  .report-featured-visual { display: none; }
  .reports-grid { grid-template-columns: 1fr; }
  .article-hero h1 { font-size: 1.8rem; }
  .article-meta-bar { flex-wrap: wrap; gap: 0.75rem; }
  .article-inner .lead { font-size: 1rem; }
  .news-item { grid-template-columns: 1fr; gap: 0.3rem; }
}
