:root {
  --ink: #233431;
  --muted: #64736f;
  --brand: #315f58;
  --brand-dark: #234b45;
  --accent: #b7cfc5;
  --tint: #f3f7f5;
  --line: #dce5e1;
  --white: #fff;
  --warm: #f7f5f0;
  --max: 1120px;
  --shadow: 0 18px 50px rgba(35, 52, 49, .09);
  --shadow-soft: 0 10px 30px rgba(35, 52, 49, .055);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { color: var(--brand-dark); }
img { max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { letter-spacing: .035em; line-height: 1.45; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
.container { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }
.narrow { max-width: 880px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 100; top: 8px; left: 8px; padding: 8px 16px; background: var(--ink); color: #fff; transform: translateY(-160%); }
.skip-link:focus { transform: none; }

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid rgba(220, 229, 225, .8);
  backdrop-filter: blur(10px);
}
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); font-size: 1.05rem; font-weight: 700; letter-spacing: .04em; text-decoration: none; }
.brand-mark { display: grid; width: 34px; height: 34px; place-items: center; color: white; background: var(--brand); border-radius: 10px 10px 16px 10px; font-family: Georgia, serif; font-size: 1.15rem; }
.global-nav { display: flex; align-items: center; gap: 36px; }
.global-nav a { position: relative; color: var(--ink); font-size: .92rem; text-decoration: none; }
.global-nav a::after { content: ""; position: absolute; right: 0; bottom: -8px; left: 0; height: 1px; background: var(--brand); transform: scaleX(0); transition: transform .2s; }
.global-nav a:hover::after, .global-nav a.active::after { transform: scaleX(1); }
.nav-toggle { display: none; }

.hero { position: relative; min-height: 720px; display: grid; align-items: center; overflow: hidden; background: linear-gradient(135deg, #fff 25%, #f7faf8 64%, #edf5f1 100%); }
.hero::before { content: ""; position: absolute; top: -180px; left: 42%; width: 520px; height: 520px; border: 1px solid rgba(49, 95, 88, .08); border-radius: 50%; }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 60px; padding-block: 76px; }
.eyebrow, .section-label { margin-bottom: 16px; color: var(--brand); font-size: .76rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.hero h1 { margin-bottom: 8px; font-size: clamp(3.2rem, 7vw, 5.35rem); font-weight: 600; letter-spacing: .065em; line-height: 1.22; }
.hero-en { margin-bottom: 25px; color: var(--brand); font-family: Georgia, "Times New Roman", serif; font-size: 1.25rem; letter-spacing: .08em; }
.hero-lead { max-width: 620px; margin-bottom: 12px; color: #52615d; font-size: 1.02rem; }
.hero-business { max-width: 640px; margin-bottom: 0; padding-left: 16px; color: var(--ink); border-left: 2px solid var(--accent); font-size: .94rem; font-weight: 600; line-height: 1.8; }
.hero-actions { display: flex; gap: 14px; margin-top: 28px; }
.button { display: inline-flex; min-height: 54px; align-items: center; justify-content: center; padding: 12px 27px; border: 1px solid var(--brand); border-radius: 4px; font-weight: 600; letter-spacing: .025em; text-decoration: none; transition: .2s ease; }
.button.primary { color: #fff; background: var(--brand); }
.button.primary:hover { background: var(--brand-dark); transform: translateY(-2px); }
.button.secondary { color: var(--brand); background: transparent; }
.button.secondary:hover { background: #fff; transform: translateY(-2px); }
.hero-visual { position: relative; min-height: 410px; }
.visual-circle { position: absolute; border-radius: 50%; }
.circle-large { top: 5%; right: -10%; width: 380px; height: 380px; background: #dfece7; }
.circle-small { bottom: 0; left: 2%; width: 130px; height: 130px; border: 25px solid #bed4cb; }
.visual-card { position: absolute; z-index: 2; top: 18%; left: 8%; width: 300px; height: 245px; padding: 45px 38px; background: rgba(255,255,255,.92); border: 1px solid rgba(49,95,88,.1); border-radius: 6px; box-shadow: var(--shadow); transform: rotate(-2deg); }
.visual-line { display: block; width: 90%; height: 8px; margin-bottom: 14px; background: #d5e3dd; border-radius: 4px; }
.visual-line.short { width: 58%; }
.visual-flow { display: flex; align-items: center; margin-top: 35px; }
.visual-flow i { width: 22px; height: 22px; background: var(--brand); border-radius: 50%; }
.visual-flow b { width: 35px; height: 2px; background: var(--accent); }
.visual-check { position: absolute; right: 28px; bottom: 24px; display: grid; width: 46px; height: 46px; place-items: center; color: #fff; background: var(--brand); border-radius: 50%; font-size: 1.3rem; }
.hero-schedule { display: flex; gap: 0; margin: 28px 0 0; }
.hero-schedule div { min-width: 165px; padding: 11px 20px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hero-schedule div:first-child { padding-left: 0; }
.hero-schedule div + div { border-left: 1px solid var(--line); }
.hero-schedule dt { color: var(--muted); font-size: .72rem; line-height: 1.5; }
.hero-schedule dd { margin: 2px 0 0; color: var(--brand-dark); font-size: .88rem; font-weight: 700; line-height: 1.5; }

.section { padding-block: 105px; }
.section-tint { background: linear-gradient(180deg, #f5f8f7, var(--tint)); border-top: 1px solid #edf2f0; border-bottom: 1px solid #edf2f0; }
.intro-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; }
.intro-grid h2 { margin: 0; }
.intro-text { padding-top: 38px; color: var(--muted); font-size: 1.02rem; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 48px; }
.section-heading h2 { margin-bottom: 0; }
.section-intro { max-width: 680px; margin: 14px 0 0; color: var(--muted); font-size: .94rem; line-height: 1.8; }
.text-link { font-weight: 600; text-decoration: none; }
.text-link span { display: inline-block; margin-left: 8px; transition: transform .2s; }
.text-link:hover span { transform: translateX(5px); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card { position: relative; min-height: 370px; padding: 34px 32px 38px; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 6px; box-shadow: var(--shadow-soft); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.service-card::after { content: ""; position: absolute; right: -35px; bottom: -55px; width: 130px; height: 130px; background: #f0f6f3; border-radius: 50%; }
.service-card:hover { border-color: #c7d8d1; box-shadow: var(--shadow); transform: translateY(-3px); }
.service-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 33px; }
.service-number { color: var(--brand); font-family: Georgia, serif; font-size: .88rem; }
.service-card h3 { min-height: 76px; margin-bottom: 24px; font-size: 1.22rem; }
.service-card p { margin-bottom: 0; color: var(--muted); font-size: .93rem; }
.service-icon { position: relative; display: grid; width: 50px; height: 50px; place-items: center; background: var(--tint); border: 1px solid #dce9e4; border-radius: 50%; }
.icon-project { display: flex; align-items: center; justify-content: center; }
.icon-project i { width: 7px; height: 7px; background: var(--brand); border-radius: 50%; }
.icon-project i + i { margin-left: 7px; }
.icon-project::before { content: ""; position: absolute; width: 28px; height: 1px; background: var(--accent); }
.icon-tool i { position: absolute; left: 13px; width: 24px; height: 2px; background: var(--brand); }
.icon-tool i:nth-child(1) { top: 15px; }
.icon-tool i:nth-child(2) { top: 23px; width: 17px; }
.icon-tool i:nth-child(3) { top: 31px; width: 21px; }
.icon-app i { position: absolute; width: 9px; height: 9px; background: var(--brand); border-radius: 2px; }
.icon-app i:nth-child(1) { top: 13px; left: 13px; }
.icon-app i:nth-child(2) { top: 13px; right: 13px; }
.icon-app i:nth-child(3) { right: 13px; bottom: 13px; }
.icon-app::after { content: ""; position: absolute; bottom: 13px; left: 13px; width: 9px; height: 9px; border: 1px solid var(--brand); border-radius: 2px; }
.contact-panel { display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.contact-panel h2 { margin-bottom: 12px; }
.contact-panel p:last-child { margin-bottom: 0; color: var(--muted); }
.contact-panel .button { flex: 0 0 auto; min-width: 220px; }

.page-hero { position: relative; padding-block: 90px 80px; overflow: hidden; background: linear-gradient(120deg, #f2f7f4, #fff); border-bottom: 1px solid var(--line); }
.page-hero::after { content: ""; position: absolute; top: -100px; right: 7%; width: 270px; height: 270px; border: 1px solid rgba(49, 95, 88, .09); border-radius: 50%; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero-small { padding-block: 72px 65px; }
.page-hero .section-label { margin-bottom: 10px; }
.page-hero h1 { margin-bottom: 10px; font-size: clamp(2.3rem, 5vw, 3.8rem); font-weight: 600; }
.page-hero p:last-child { margin-bottom: 0; color: var(--muted); }
.statement { padding: 50px 58px; background: linear-gradient(135deg, var(--tint), #fbfcfb); border: 1px solid var(--line); border-left: 3px solid var(--brand); box-shadow: var(--shadow-soft); }
.statement h2 { margin-bottom: 4px; }
.statement-en { margin-bottom: 25px; color: var(--brand); font-family: Georgia, serif; letter-spacing: .07em; }
.statement p:last-child { max-width: 700px; margin-bottom: 0; color: var(--muted); }
.content-block { margin-top: 90px; }
.company-status { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: -14px 0 30px; }
.company-status > div { display: flex; align-items: center; gap: 16px; padding: 18px 22px; background: var(--warm); border: 1px solid #e8e3d8; border-radius: 5px; }
.company-status > div > span { display: grid; width: 32px; height: 32px; flex: 0 0 auto; place-items: center; color: var(--brand); background: #fff; border: 1px solid #ddd8cc; border-radius: 50%; font-family: Georgia, serif; font-size: .78rem; }
.company-status p { margin: 0; }
.company-status small, .company-status strong { display: block; line-height: 1.5; }
.company-status small { color: var(--muted); font-size: .73rem; }
.company-status strong { margin-top: 2px; font-size: .95rem; }
.company-table { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 5px; box-shadow: var(--shadow-soft); }
.company-table > div { display: grid; grid-template-columns: 220px 1fr; background: #fff; border-bottom: 1px solid var(--line); }
.company-table > div:last-child { border-bottom: 0; }
.company-table dt, .company-table dd { margin: 0; padding: 23px 22px; }
.company-table dt { font-size: .92rem; font-weight: 600; background: #f7faf8; border-right: 1px solid var(--line); }
.company-table dd { color: #3e4e4a; }
.company-table dd small { display: inline-block; margin-top: 4px; color: var(--muted); line-height: 1.65; }
.status-label { display: inline-block; padding: 3px 11px; color: #4d5e59; background: #f0f4f2; border: 1px solid #dde7e3; border-radius: 3px; font-size: .87rem; }
.notice { margin-top: 24px; padding: 17px 20px; color: #55645f; background: #f7f8f7; border: 1px solid var(--line); border-left: 3px solid var(--accent); font-size: .9rem; }
.page-intro { max-width: 760px; margin-bottom: 80px; color: var(--muted); font-size: 1.05rem; }
.service-detail-list { border-top: 1px solid var(--line); }
.service-detail { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; padding: 65px 28px; border-bottom: 1px solid var(--line); }
.service-detail:nth-child(even) { background: #fafcfb; }
.service-detail-head span { color: var(--brand); font-family: Georgia, serif; }
.service-detail-head h2 { margin-top: 14px; font-size: 1.7rem; }
.service-detail > div:last-child > p { color: var(--muted); }
.check-list { margin: 24px 0 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding: 8px 0 8px 28px; border-bottom: 1px dotted var(--line); }
.check-list li::before { content: ""; position: absolute; top: 20px; left: 4px; width: 8px; height: 8px; background: var(--accent); border-radius: 50%; }
.contact-content { display: grid; grid-template-columns: 1.35fr .65fr; gap: 90px; }
.contact-content h2 { font-size: 1.8rem; }
.email-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px; margin: 38px 0 20px; padding: 24px; color: var(--ink); border: 1px solid var(--line); text-decoration: none; transition: .2s; }
.email-card:hover { color: var(--ink); border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-2px); }
.email-icon { display: grid; width: 48px; height: 48px; place-items: center; color: white; background: var(--brand); border-radius: 50%; font-weight: 700; }
.email-card small, .email-card strong { display: block; }
.email-card small { color: var(--muted); font-size: .72rem; text-transform: uppercase; }
.email-card strong { font-size: 1.05rem; }
.contact-note { color: var(--muted); font-size: .88rem; }
.contact-aside { padding: 32px; background: var(--tint); border: 1px solid var(--line); border-radius: 5px; }
.contact-aside h3 { margin-bottom: 16px; }
.contact-aside p, .contact-aside li { color: var(--muted); font-size: .9rem; }
.contact-aside ul { padding-left: 1.4em; }
.legal-content { max-width: 820px; }
.legal-content > p:first-child { margin-bottom: 55px; color: var(--muted); }
.legal-content h2 { margin: 50px 0 15px; font-size: 1.25rem; }
.legal-content p, .legal-content li { color: #4f5d59; }
.legal-content ul { padding-left: 1.4em; }
.revision { margin-top: 65px; text-align: right; font-size: .9rem; }
.legal-notice { margin: 0 0 45px; }
.legal-table + .revision { margin-top: 35px; }

.site-footer { padding-top: 68px; color: #dce7e3; background: var(--ink); }
.footer-main { display: flex; justify-content: space-between; gap: 80px; padding-bottom: 60px; }
.footer-brand { margin-bottom: 20px; color: #fff; }
.footer-brand .brand-mark { color: var(--ink); background: #dce7e3; }
.footer-main p { color: #afbfba; font-size: .88rem; line-height: 1.7; }
.footer-email { display: inline-block; margin-top: 8px; color: #dce7e3; font-size: .88rem; text-decoration: none; }
.footer-email::before { content: "Email"; margin-right: 12px; color: #82958f; font-size: .67rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.footer-email:hover { color: #fff; }
.footer-nav { display: grid; grid-template-columns: repeat(2, minmax(150px, 1fr)); gap: 10px 45px; }
.footer-nav a { color: #dce7e3; font-size: .85rem; text-decoration: none; }
.footer-nav a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; padding-block: 20px; border-top: 1px solid #3c4d49; }
.footer-bottom p { margin: 0; color: #8fa19b; font-size: .75rem; }

@media (max-width: 800px) {
  .container { width: min(calc(100% - 36px), var(--max)); }
  .header-inner { min-height: 68px; }
  .nav-toggle { display: grid; width: 42px; height: 42px; padding: 9px; place-content: center; gap: 5px; background: transparent; border: 0; cursor: pointer; }
  .nav-toggle > span:not(.sr-only) { display: block; width: 22px; height: 2px; background: var(--ink); transition: .2s; }
  .nav-toggle[aria-expanded="true"] > span:nth-of-type(2) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] > span:nth-of-type(3) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] > span:nth-of-type(4) { transform: translateY(-7px) rotate(-45deg); }
  .global-nav { position: absolute; top: 68px; right: 0; left: 0; display: none; align-items: stretch; gap: 0; padding: 10px 18px 20px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 12px 22px rgba(35,52,49,.08); }
  .global-nav.open { display: grid; }
  .global-nav a { padding: 13px 8px; border-bottom: 1px solid var(--line); }
  .global-nav a::after { display: none; }
  .hero { min-height: auto; }
  .hero::before { top: -210px; left: 30%; }
  .hero-inner { grid-template-columns: 1fr; padding-block: 62px 58px; }
  .hero h1 { font-size: clamp(2.7rem, 12.5vw, 4.2rem); }
  .hero-visual { display: none; }
  .section { padding-block: 72px; }
  .intro-grid, .service-grid, .service-detail, .contact-content { grid-template-columns: 1fr; }
  .intro-grid { gap: 20px; }
  .intro-text { padding-top: 0; }
  .service-grid { gap: 16px; }
  .service-card { min-height: 0; }
  .service-card h3 { min-height: 0; }
  .contact-panel { align-items: flex-start; flex-direction: column; gap: 30px; }
  .page-hero { padding-block: 65px 58px; }
  .statement { padding: 35px 28px; }
  .content-block { margin-top: 70px; }
  .company-table > div { grid-template-columns: 150px 1fr; }
  .company-table dt, .company-table dd { padding: 20px 16px; }
  .company-status { margin-top: -8px; }
  .service-detail { gap: 20px; padding-block: 48px; }
  .page-intro { margin-bottom: 45px; }
  .contact-content { gap: 50px; }
  .footer-main { flex-direction: column; gap: 35px; }
}

@media (max-width: 520px) {
  body { font-size: 15px; }
  .container { width: min(calc(100% - 28px), var(--max)); }
  .brand { font-size: .95rem; }
  .brand-mark { width: 32px; height: 32px; }
  .hero-inner { padding-block: 58px 60px; }
  .hero-en { margin-bottom: 20px; }
  .hero-lead br { display: none; }
  .hero-business { padding-left: 13px; font-size: .9rem; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-schedule { display: grid; grid-template-columns: 1fr 1fr; margin-top: 24px; }
  .hero-schedule div { min-width: 0; padding: 10px 13px; }
  .hero-schedule div:first-child { padding-left: 0; }
  .hero-schedule dd { font-size: .82rem; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .section-intro { font-size: .9rem; }
  .service-card { padding: 28px 25px 31px; }
  .service-card-top { margin-bottom: 25px; }
  .company-status { grid-template-columns: 1fr; gap: 10px; }
  .company-table > div { grid-template-columns: 1fr; }
  .company-table dt { padding-bottom: 7px; border-right: 0; }
  .company-table dd { padding-top: 7px; }
  .desktop-only { display: none; }
  .email-card { grid-template-columns: auto 1fr; gap: 14px; padding: 18px; }
  .email-card > span:last-child { display: none; }
  .email-card strong { overflow-wrap: anywhere; font-size: .93rem; }
  .footer-nav { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 5px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
