:root {
  --navy: #0f2a44;
  --navy-deep: #0a1d30;
  --accent: #e0852b;
  --accent-dark: #c26d17;
  --ink: #1d2733;
  --muted: #5b6878;
  --line: #e3e7ec;
  --bg: #ffffff;
  --bg-soft: #f5f7fa;
  --radius: 10px;
  --max: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.85;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.en {
  font-family: "Montserrat", sans-serif;
  letter-spacing: .14em;
  font-weight: 600;
}

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header .container { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-icon { height: 34px; width: auto; }
.logo-mark { font-family: "Montserrat", sans-serif; font-weight: 800; font-size: 26px; letter-spacing: .12em; color: var(--navy); }
.logo-mark span { color: var(--accent); }
.logo-sub { font-size: 11px; color: var(--muted); letter-spacing: .08em; }
.nav { display: flex; align-items: center; gap: 32px; font-size: 14px; font-weight: 500; }
.nav a { white-space: nowrap; }
.nav a:not(.btn) { position: relative; padding: 4px 0; }
.header .container { max-width: 1400px; }
@media (max-width: 1400px) { .nav { gap: 20px; font-size: 13px; } .nav .btn { padding: 10px 18px; } .logo-sub { display: none; } }
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px;
  background: var(--accent); transition: width .25s;
}
.nav a:not(.btn):hover::after { width: 100%; }
.menu-btn { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; }
.menu-btn span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px auto; transition: .25s; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 26px; border-radius: 999px; font-weight: 700; font-size: 14px;
  background: var(--accent); color: #fff; transition: background .2s, transform .2s;
}
.btn:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn-outline { background: transparent; border: 1.5px solid rgba(255,255,255,.7); }
.btn-outline:hover { background: rgba(255,255,255,.1); }
.btn-lg { padding: 18px 40px; font-size: 16px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 60%, #1a4166 100%);
  color: #fff; padding: 168px 0 0;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; opacity: .5; }
.hero .container { position: relative; }
.hero-label { color: var(--accent); font-size: 13px; margin-bottom: 20px; }
.hero h1 {
  font-size: clamp(32px, 5.2vw, 58px); line-height: 1.4; font-weight: 700; letter-spacing: .04em;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-lead { margin-top: 28px; max-width: 620px; color: rgba(255,255,255,.82); font-size: 16px; }
.hero-cta { margin-top: 40px; display: flex; gap: 16px; flex-wrap: wrap; }

.stats {
  position: relative; margin-top: 88px;
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; color: var(--ink);
  border-radius: var(--radius) var(--radius) 0 0;
  box-shadow: 0 -10px 40px rgba(0,0,0,.12);
}
.stat { padding: 34px 20px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat-num { font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 40px; color: var(--navy); line-height: 1.1; }
.stat-num small { font-size: 16px; margin-left: 2px; font-family: "Noto Sans JP", sans-serif; }
.stat-label { font-size: 13px; color: var(--muted); margin-top: 8px; }

/* ---------- Sections ---------- */
section { padding: 112px 0; }
.soft { background: var(--bg-soft); }
.sec-head { margin-bottom: 56px; }
.sec-head.center { text-align: center; }
.sec-en { color: var(--accent); font-size: 13px; }
.sec-title { font-size: clamp(26px, 3.4vw, 36px); font-weight: 700; letter-spacing: .04em; margin-top: 6px; line-height: 1.5; }
.sec-desc { color: var(--muted); margin-top: 16px; max-width: 720px; }
.sec-head.center .sec-desc { margin-left: auto; margin-right: auto; }

/* About */
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 72px; align-items: center; }
.about-text p + p { margin-top: 18px; }
.about-text .sign { margin-top: 28px; font-weight: 700; }
.about-text .sign small { display: block; font-weight: 400; color: var(--muted); font-size: 13px; }
.about-visual {
  position: relative; aspect-ratio: 1 / 1; border-radius: 16px; overflow: hidden;
  background: linear-gradient(160deg, var(--navy) 0%, #1f4a73 100%);
  display: grid; place-items: center; color: #fff;
}
.about-visual .big { font-family: "Montserrat", sans-serif; font-weight: 800; font-size: clamp(110px, 16vw, 180px); line-height: 1; letter-spacing: -.02em; }
.about-visual .big span { font-size: .3em; margin-left: 6px; letter-spacing: 0; }
.about-visual .cap { text-align: center; margin-top: 8px; font-size: 15px; color: rgba(255,255,255,.85); }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 36px 30px 32px; display: flex; flex-direction: column;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.service:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(15,42,68,.10); border-color: transparent; }
.service-icon {
  width: 56px; height: 56px; border-radius: 12px; background: rgba(224,133,43,.12);
  display: grid; place-items: center; color: var(--accent); margin-bottom: 22px;
}
.service-icon svg { width: 28px; height: 28px; }
.service-no { font-size: 12px; color: var(--muted); }
.service h3 { font-size: 19px; line-height: 1.5; margin: 4px 0 12px; }
.service p { font-size: 14px; color: var(--muted); flex: 1; }
.service .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.service .tags li { font-size: 12px; background: var(--bg-soft); color: var(--navy); padding: 3px 10px; border-radius: 4px; }
.service.featured { background: var(--navy); color: #fff; border-color: var(--navy); }
.service.featured p { color: rgba(255,255,255,.78); }
.service.featured .service-no { color: rgba(255,255,255,.6); }
.service.featured .tags li { background: rgba(255,255,255,.12); color: #fff; }

/* Strengths */
.strengths { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.strength { padding: 36px 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.strength:last-child { border-right: 0; }
.strength-no { font-family: "Montserrat", sans-serif; font-size: 44px; font-weight: 700; color: var(--line); line-height: 1; }
.strength h3 { font-size: 18px; margin: 16px 0 10px; }
.strength p { font-size: 14px; color: var(--muted); }

/* Flow */
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: flow; }
.flow li {
  position: relative; background: #fff; border-radius: var(--radius); padding: 28px 20px; text-align: center;
  border: 1px solid var(--line);
}
.flow li:not(:last-child)::after {
  content: ""; position: absolute; right: -13px; top: 50%; width: 10px; height: 10px;
  border-top: 2px solid var(--accent); border-right: 2px solid var(--accent);
  transform: translateY(-50%) rotate(45deg);
}
.flow-step { font-size: 12px; color: var(--accent); }
.flow h4 { font-size: 16px; margin: 6px 0 8px; }
.flow p { font-size: 13px; color: var(--muted); line-height: 1.7; }
.price-note {
  margin-top: 40px; background: #fff; border-radius: var(--radius); border-left: 4px solid var(--accent);
  padding: 28px 32px; display: grid; grid-template-columns: auto 1fr; gap: 12px 32px; align-items: start;
}
.price-note h4 { font-size: 15px; white-space: nowrap; }
.price-note ul { display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 14px; }
.price-note li strong { color: var(--navy); }
.price-note small { grid-column: 1 / -1; color: var(--muted); font-size: 12px; }

/* History */
.timeline { position: relative; max-width: 820px; margin: 0 auto; }
.timeline::before { content: ""; position: absolute; left: 110px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline li { display: grid; grid-template-columns: 110px 1fr; gap: 40px; padding: 14px 0; position: relative; }
.timeline li::before {
  content: ""; position: absolute; left: 105px; top: 24px; width: 12px; height: 12px; border-radius: 50%;
  background: #fff; border: 3px solid var(--accent);
}
.timeline time { font-family: "Montserrat", sans-serif; font-weight: 700; color: var(--navy); font-size: 18px; }
.timeline p { font-size: 15px; }

/* News */
.news-list { border-top: 1px solid var(--line); }
.news-list li { display: grid; grid-template-columns: 120px 110px 1fr; gap: 20px; align-items: baseline; padding: 22px 8px; border-bottom: 1px solid var(--line); }
.news-list time { font-family: "Montserrat", sans-serif; color: var(--muted); font-size: 14px; }
.news-cat { font-size: 12px; text-align: center; border: 1px solid var(--navy); color: var(--navy); border-radius: 4px; padding: 1px 8px; }
.news-list a { text-decoration: underline; text-underline-offset: 3px; color: var(--navy); }

/* Company */
.company-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; }
.company-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.company-table th, .company-table td { padding: 20px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.company-table th { width: 150px; font-weight: 700; color: var(--navy); }
.company-table tr:first-child th, .company-table tr:first-child td { border-top: 2px solid var(--navy); }
.company-table td ul li { position: relative; padding-left: 14px; }
.company-table td ul li::before { content: ""; position: absolute; left: 0; top: .8em; width: 6px; height: 6px; background: var(--accent); border-radius: 50%; }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 360px; }
.map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; }

/* Contact */
.contact { background: linear-gradient(135deg, var(--navy-deep), var(--navy)); color: #fff; text-align: center; }
.contact .sec-desc { color: rgba(255,255,255,.8); }
.contact-boxes { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 880px; margin: 0 auto; }
.contact-box { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); border-radius: 12px; padding: 40px 24px; }
.contact-box h3 { font-size: 15px; font-weight: 500; color: rgba(255,255,255,.8); }
.tel { display: block; font-family: "Montserrat", sans-serif; font-weight: 700; font-size: clamp(28px, 4vw, 38px); letter-spacing: .04em; margin: 10px 0 4px; }
.contact-box small { color: rgba(255,255,255,.7); font-size: 13px; }
.contact-box .btn { margin-top: 18px; }

/* Form */
.form { max-width: 760px; margin: 0 auto; }
.form-row { display: grid; grid-template-columns: 200px 1fr; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: start; }
.form-row label { font-weight: 700; font-size: 15px; padding-top: 10px; }
.req { font-size: 11px; background: var(--accent); color: #fff; border-radius: 3px; padding: 1px 6px; margin-left: 8px; vertical-align: 2px; }
.form input, .form select, .form textarea {
  width: 100%; font: inherit; padding: 12px 14px; border: 1px solid #cfd6de; border-radius: 6px; background: #fff;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid rgba(224,133,43,.35); border-color: var(--accent); }
.form textarea { min-height: 180px; resize: vertical; }
.form-agree { text-align: center; margin: 32px 0 24px; font-size: 14px; }
.form-agree a { text-decoration: underline; color: var(--navy); }
.form-submit { text-align: center; }
.form-submit .btn { border: 0; cursor: pointer; font-family: inherit; }

/* Message */
.message { position: relative; margin-top: 72px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 56px 64px; }
.message::before { content: "\201C"; position: absolute; top: 12px; left: 28px; font-family: Georgia, serif; font-size: 96px; line-height: 1; color: rgba(224,133,43,.25); }
.message h3 { font-size: 24px; letter-spacing: .04em; margin: 6px 0 24px; }
.message p + p { margin-top: 16px; }
.message-sign { margin-top: 32px; text-align: right; font-weight: 700; font-size: 18px; }
.message-sign small { display: block; font-size: 13px; font-weight: 400; color: var(--muted); }
@media (max-width: 640px) { .message { padding: 44px 22px 32px; margin-top: 48px; } .message::before { left: 16px; font-size: 72px; } }

/* Footer */
.footer { background: var(--navy-deep); color: rgba(255,255,255,.72); padding: 64px 0 28px; font-size: 13px; }
.footer-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer .logo-mark { color: #fff; }
.footer .logo-icon { display: inline-block; height: 28px; vertical-align: -6px; margin-right: 8px; }
.footer address { font-style: normal; margin-top: 16px; line-height: 1.9; }
.footer-nav { display: grid; grid-template-columns: repeat(2, auto); gap: 8px 48px; }
.footer-nav a:hover { color: #fff; }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* Sub page */
.page-hero { background: var(--navy); color: #fff; padding: 150px 0 64px; }
.page-hero h1 { font-size: clamp(26px, 3.4vw, 36px); margin-top: 6px; }
.prose { max-width: 820px; }
.prose h2 { font-size: 18px; color: var(--navy); margin: 40px 0 10px; padding-left: 14px; border-left: 4px solid var(--accent); line-height: 1.5; }
.prose p { color: var(--ink); }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .strengths { grid-template-columns: repeat(2, 1fr); }
  .strength:nth-child(2) { border-right: 0; }
  .flow { grid-template-columns: 1fr; }
  .flow li { text-align: left; display: grid; grid-template-columns: 90px 1fr; gap: 4px 16px; align-items: baseline; }
  .flow li p { grid-column: 2; }
  .flow li:not(:last-child)::after { right: auto; left: 50%; top: auto; bottom: -13px; transform: translateX(-50%) rotate(135deg); }
  .about-grid, .company-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-visual { aspect-ratio: 16 / 10; }
}
@media (max-width: 1080px) {
  .menu-btn { display: block; }
  .nav {
    position: fixed; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0; align-items: stretch;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 24px 24px;
    transform: translateY(-120%); transition: transform .3s; z-index: -1;
  }
  .nav a:not(.btn) { padding: 16px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 16px; }
  .header.open .nav { transform: none; }
  .header.open .menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .header.open .menu-btn span:nth-child(2) { opacity: 0; }
  .header.open .menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .logo-sub { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .container { padding: 0 16px; }
  section { padding: 80px 0; }
  .hero { padding-top: 128px; }
  .stats { grid-template-columns: 1fr 1fr; margin-top: 64px; }
  .stat { padding: 24px 12px; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .stat-num { font-size: 32px; }
  .services, .strengths, .contact-boxes { grid-template-columns: 1fr; }
  .strength { border-right: 0; }
  .news-list li { grid-template-columns: auto auto; gap: 6px 12px; }
  .news-list li p { grid-column: 1 / -1; }
  .timeline::before { left: 6px; }
  .timeline li { grid-template-columns: 1fr; gap: 2px; padding-left: 32px; }
  .timeline li::before { left: 1px; }
  .company-table th, .company-table td { display: block; width: 100%; padding: 12px 4px; }
  .company-table th { border-bottom: 0; padding-bottom: 0; }
  .company-table tr:first-child td { border-top: 0; }
  .form-row { grid-template-columns: 1fr; gap: 8px; }
  .form-row label { padding-top: 0; }
  .price-note { grid-template-columns: 1fr; padding: 24px 20px; }
}
