@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@300;400;500;700&family=Noto+Sans+JP:wght@300;400;500;700&display=swap');

:root {
  --navy: #1a2a4a;
  --navy-light: #2c3e6b;
  --gold: #c8a96e;
  --gold-light: #e8d4a8;
  --cream: #f8f5ef;
  --white: #ffffff;
  --text-dark: #1a1a1a;
  --text-mid: #4a4a4a;
  --text-light: #888;
  --border: #ddd8cf;
  --font-serif: 'Noto Serif JP', serif;
  --font-sans: 'Noto Sans JP', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.8;
  font-size: 15px;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* ===================== HEADER ===================== */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-main {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.08em;
}

.logo-sub {
  font-size: 10px;
  color: var(--text-light);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

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

nav a {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-mid);
  letter-spacing: 0.05em;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

nav a:hover, nav a.active {
  color: var(--navy);
  border-bottom-color: var(--gold);
}

.header-tel {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.header-tel a {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.05em;
}

.header-tel span {
  font-size: 10px;
  color: var(--text-light);
  letter-spacing: 0.1em;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  transition: 0.3s;
}

/* ===================== HERO ===================== */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 60%, #3a5280 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 70px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60"><rect width="60" height="60" fill="none"/><line x1="0" y1="60" x2="60" y2="0" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></svg>') repeat;
}

.hero::after {
  content: '';
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 45%;
  background: rgba(200,169,110,0.08);
  clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 6rem 2rem;
  position: relative;
  z-index: 1;
}

.hero-label {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-light);
  border: 1px solid rgba(200,169,110,0.4);
  padding: 6px 14px;
  margin-bottom: 2rem;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.5;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}

.hero h1 strong {
  font-weight: 700;
  color: var(--gold-light);
}

.hero-desc {
  font-size: 15px;
  color: rgba(255,255,255,0.75);
  max-width: 500px;
  line-height: 2;
  margin-bottom: 3rem;
}

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

.btn-primary {
  background: var(--gold);
  color: var(--navy);
  padding: 14px 32px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.1em;
  border: 2px solid var(--gold);
  cursor: pointer;
  transition: 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  padding: 14px 32px;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.1em;
  border: 1px solid rgba(255,255,255,0.4);
  cursor: pointer;
  transition: 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.05);
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.5);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  z-index: 1;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
  0%, 100% { transform: scaleY(1); opacity: 0.5; }
  50% { transform: scaleY(0.5); opacity: 1; }
}

/* ===================== SECTIONS ===================== */
.section {
  padding: 6rem 2rem;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

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

.section-en {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 500;
  color: var(--navy);
  letter-spacing: 0.08em;
}

.section-lead {
  margin-top: 1rem;
  color: var(--text-mid);
  max-width: 600px;
  line-height: 2;
}

/* ===================== ABOUT ===================== */
.about-bg {
  background: var(--cream);
}

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

.about-image-wrap {
  position: relative;
}

.about-image-frame {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--navy);
  overflow: hidden;
  position: relative;
}

.about-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}

.about-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--gold);
  color: var(--navy);
  padding: 1.5rem;
  text-align: center;
}

.about-badge .num {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  display: block;
}

.about-badge .label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  display: block;
  margin-top: 4px;
}

.about-content h2 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.about-content p {
  color: var(--text-mid);
  line-height: 2.2;
  margin-bottom: 1.5rem;
}

.about-content .cta-tel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  margin-top: 1rem;
}

/* ===================== SERVICES ===================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2px;
  background: var(--border);
}

.service-card {
  background: var(--white);
  padding: 3rem 2.5rem;
  position: relative;
  transition: transform 0.2s;
}

.service-card:hover {
  z-index: 1;
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(26,42,74,0.12);
}

.service-num {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 1rem;
}

.service-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.5rem;
  color: var(--navy);
}

.service-card h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}

.service-card p {
  font-size: 13.5px;
  color: var(--text-mid);
  line-height: 2;
}

/* ===================== INDUSTRIES ===================== */
.industries-bg {
  background: var(--navy);
  color: var(--white);
}

.industries-bg .section-title { color: var(--white); }
.industries-bg .section-lead { color: rgba(255,255,255,0.65); }

.industries-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1px;
  background: rgba(255,255,255,0.1);
  margin-top: 3rem;
}

.industry-item {
  background: rgba(255,255,255,0.03);
  padding: 1.8rem;
  text-align: center;
  transition: background 0.2s;
  cursor: default;
}

.industry-item:hover {
  background: rgba(200,169,110,0.12);
}

.industry-item svg {
  width: 36px;
  height: 36px;
  margin: 0 auto 0.8rem;
  color: var(--gold);
}

.industry-item span {
  font-size: 13px;
  color: rgba(255,255,255,0.8);
  display: block;
}

/* ===================== FAQ ===================== */
.faq-bg { background: var(--cream); }

.faq-list {
  max-width: 780px;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.5rem 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-q-text {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 500;
  color: var(--navy);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.faq-q-text::before {
  content: 'Q';
  font-size: 1.1rem;
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.faq-toggle {
  width: 24px;
  height: 24px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--navy);
  font-size: 16px;
  transition: transform 0.3s, background 0.2s;
}

.faq-item.open .faq-toggle {
  transform: rotate(45deg);
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer-inner {
  padding: 0 0 1.5rem 2.5rem;
  color: var(--text-mid);
  line-height: 2.2;
  font-size: 14px;
  display: flex;
  gap: 1rem;
}

.faq-answer-inner::before {
  content: 'A';
  color: var(--navy);
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ===================== CONTACT ===================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: start;
}

.contact-info h2 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 1.5rem;
}

.contact-info p {
  color: var(--text-mid);
  line-height: 2.2;
  margin-bottom: 2rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-row-icon {
  width: 36px;
  height: 36px;
  background: var(--navy);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-row-icon svg {
  width: 18px; height: 18px;
}

.contact-row-label {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-light);
  display: block;
  margin-bottom: 2px;
}

.contact-row-value {
  font-size: 15px;
  color: var(--text-dark);
  font-weight: 500;
}

.contact-tel-big {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
}

.contact-map {
  width: 100%;
  height: 380px;
  background: var(--cream);
  border: 1px solid var(--border);
  overflow: hidden;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ===================== FOOTER ===================== */
footer {
  background: var(--navy);
  color: var(--white);
  padding: 4rem 2rem 2rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .logo-main { color: var(--white); }
.footer-brand .logo-sub { color: rgba(255,255,255,0.5); }

.footer-brand p {
  margin-top: 1rem;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  line-height: 2;
}

.footer-nav h4, .footer-contact-col h4 {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}

.footer-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-nav a {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
}

.footer-nav a:hover { color: var(--white); }

.footer-contact-col p {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  line-height: 2;
}

.footer-tel {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.3rem;
}

.footer-bottom {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom p {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}

/* ===================== PAGE HEADER ===================== */
.page-header {
  padding: 10rem 2rem 5rem;
  background: var(--navy);
  text-align: center;
}

.page-header h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 300;
  color: var(--white);
  letter-spacing: 0.15em;
  margin-bottom: 0.5rem;
}

.page-header .page-en {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ===================== OVERVIEW TABLE ===================== */
.overview-table {
  width: 100%;
  border-collapse: collapse;
}

.overview-table tr {
  border-bottom: 1px solid var(--border);
}

.overview-table th {
  width: 180px;
  padding: 1.2rem 1.5rem;
  background: var(--cream);
  font-size: 13px;
  font-weight: 500;
  color: var(--navy);
  text-align: left;
  vertical-align: top;
  letter-spacing: 0.05em;
}

.overview-table td {
  padding: 1.2rem 1.5rem;
  font-size: 14px;
  color: var(--text-mid);
  line-height: 2;
}

/* ===================== MOBILE ===================== */
@media (max-width: 768px) {
  nav, .header-tel { display: none; }

  .hamburger { display: flex; }

  .mobile-menu {
    display: none;
    position: fixed;
    inset: 70px 0 0;
    background: var(--white);
    z-index: 999;
    padding: 2rem;
    flex-direction: column;
    gap: 0;
  }

  .mobile-menu.open { display: flex; }

  .mobile-menu a {
    display: block;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 16px;
    color: var(--text-dark);
    font-weight: 500;
  }

  .mobile-tel {
    margin-top: 2rem;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy);
    text-align: center;
  }

  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 3rem; }

  .footer-top { grid-template-columns: 1fr; gap: 2rem; }

  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }

  .hero-inner { padding: 3rem 1.5rem 5rem; }

  .section { padding: 4rem 1.5rem; }

  .about-badge { bottom: -1rem; right: -0.5rem; padding: 1rem; }
  .about-badge .num { font-size: 1.8rem; }

  .overview-table th { width: 120px; }
}
