/* =============================================
   AZWork — Shared Stylesheet
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300&family=Noto+Sans+JP:wght@300;400;500&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

:root {
  --ink:    #0f0f0f;
  --ink2:   #3a3a3a;
  --muted:  #8a8a8a;
  --line:   #e8e8e8;
  --bg:     #ffffff;
  --bg-off: #f8f7f5;
  --accent: #1a6b4a;
  --f-en: 'DM Sans', sans-serif;
  --f-ja: 'Noto Sans JP', sans-serif;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-ja);
  font-weight: 300;
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 6%; height: 68px;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: border-color .3s;
}
.nav-logo {
  font-family: var(--f-en); font-weight: 500; font-size: 1.15rem;
  letter-spacing: .04em; color: var(--ink);
}
.nav-logo span { color: var(--accent); }
.nav-links {
  display: flex; gap: 2.5rem;
  font-family: var(--f-en); font-size: .78rem; font-weight: 400;
  letter-spacing: .06em; color: var(--muted);
}
.nav-links a { transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); }
.nav-menu-cta { display: none; }
.nav-btn {
  font-family: var(--f-en); font-size: .78rem; font-weight: 500;
  letter-spacing: .06em;
  border: 1px solid var(--ink); border-radius: 2px;
  padding: .45rem 1.2rem; color: var(--ink);
  transition: background .2s, color .2s;
}
.nav-btn:hover { background: var(--ink); color: #fff; }
.nav-toggle {
  display: none; width: 44px; height: 44px;
  border: 1px solid var(--ink); border-radius: 2px;
  background: transparent; cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: ''; display: block; width: 18px; height: 1px;
  background: var(--ink); transition: transform .25s ease, opacity .25s ease;
}
.nav-toggle span { position: relative; }
.nav-toggle span::before { position: absolute; top: -6px; left: 0; }
.nav-toggle span::after { position: absolute; top: 6px; left: 0; }
nav.open .nav-toggle span { background: transparent; }
nav.open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
nav.open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* ── SECTION BASE ── */
.sec { padding: 8rem 6%; border-bottom: 1px solid var(--line); }
.sec-off { background: var(--bg-off); }
.wrap { max-width: 1040px; margin: 0 auto; }

.sec-head {
  display: flex; justify-content: space-between; align-items: baseline;
  flex-wrap: wrap; gap: 1rem;
  margin-bottom: 5rem;
  padding-bottom: 2rem; border-bottom: 1px solid var(--line);
}
.sec-en {
  font-family: var(--f-en); font-size: .7rem; font-weight: 400;
  letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.sec-title {
  font-family: var(--f-en); font-weight: 300;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  letter-spacing: -.02em; line-height: 1.15; color: var(--ink);
}
.sec-title .ja {
  display: block; font-family: var(--f-ja); font-weight: 300;
  font-size: clamp(.9rem, 1.6vw, 1.15rem);
  letter-spacing: .02em; color: var(--ink2); margin-top: .5rem;
}
.sec-link {
  font-family: var(--f-en); font-size: .75rem; font-weight: 400;
  letter-spacing: .08em; color: var(--muted);
  border-bottom: 1px solid var(--line); padding-bottom: 2px;
  transition: color .2s, border-color .2s; white-space: nowrap;
}
.sec-link:hover { color: var(--accent); border-color: var(--accent); }

/* ── BUTTONS ── */
.btn-dark {
  font-family: var(--f-en); font-size: .8rem; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase;
  background: var(--ink); color: #fff;
  padding: .85rem 2rem; border-radius: 2px;
  transition: opacity .2s; display: inline-block;
}
.btn-dark:hover { opacity: .75; }
.btn-outline {
  font-family: var(--f-en); font-size: .8rem; font-weight: 400;
  letter-spacing: .06em;
  border: 1px solid var(--ink); border-radius: 2px;
  padding: .85rem 2rem; color: var(--ink);
  transition: background .2s, color .2s; display: inline-block;
}
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-light {
  font-family: var(--f-en); font-size: .8rem; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase;
  background: #fff; color: var(--ink);
  padding: .9rem 2.2rem; border-radius: 2px;
  transition: opacity .2s; display: inline-block;
}
.btn-light:hover { opacity: .85; }
.btn-ghost-w {
  font-family: var(--f-en); font-size: .8rem; font-weight: 400;
  letter-spacing: .06em;
  border: 1px solid rgba(255,255,255,.2); border-radius: 2px;
  padding: .9rem 2.2rem; color: rgba(255,255,255,.7);
  transition: border-color .2s, color .2s; display: inline-block;
}
.btn-ghost-w:hover { border-color: rgba(255,255,255,.6); color: #fff; }

/* ── REVEAL ── */
.rv { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.rv.in { opacity: 1; transform: none; }

/* ── CTA SECTION ── */
.cta-sec {
  background: var(--ink); padding: 8rem 6%; border-bottom: none;
}
.cta-inner {
  max-width: 1040px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: flex-end;
  flex-wrap: wrap; gap: 3rem;
}
.cta-left h2 {
  font-family: var(--f-en); font-weight: 300;
  font-size: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: -.02em; line-height: 1.1; color: #fff; margin-bottom: .75rem;
}
.cta-left h2 em { font-style: italic; color: #6fcca4; }
.cta-left p { font-size: .875rem; color: rgba(255,255,255,.45); max-width: 380px; line-height: 1.85; }
.cta-right { display: flex; flex-direction: column; gap: 1rem; align-items: flex-end; }
.cta-note { font-size: .72rem; color: rgba(255,255,255,.3); }

/* ── FOOTER ── */
footer {
  background: var(--ink); padding: 3rem 6%;
  border-top: 1px solid rgba(255,255,255,.08);
}
.footer-inner {
  max-width: 1040px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1.5rem;
}
.footer-logo { font-family: var(--f-en); font-weight: 500; font-size: 1rem; letter-spacing: .04em; color: #fff; }
.footer-logo span { color: #6fcca4; }
.footer-links { display: flex; gap: 2rem; font-family: var(--f-en); font-size: .72rem; letter-spacing: .06em; color: rgba(255,255,255,.35); flex-wrap: wrap; }
.footer-links a:hover { color: rgba(255,255,255,.7); transition: color .2s; }
.footer-copy { font-size: .7rem; color: rgba(255,255,255,.25); }

/* ── SERVICE DETAIL (shared) ── */
.svc-hero {
  min-height: 60vh; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 6% 7vh; border-bottom: 1px solid var(--line);
}
.svc-hero-breadcrumb {
  font-family: var(--f-en); font-size: .7rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted);
  margin-bottom: 2.5rem;
  display: flex; align-items: center; gap: .75rem;
}
.svc-hero-breadcrumb a:hover { color: var(--accent); transition: color .2s; }
.svc-hero-breadcrumb::before { content: ''; width: 24px; height: 1px; background: var(--muted); display: block; }
.svc-hero-tag {
  font-family: var(--f-en); font-size: .65rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 1rem;
}
.svc-hero h1 {
  font-family: var(--f-en); font-weight: 300;
  font-size: clamp(2.8rem, 6vw, 6rem);
  line-height: 1.0; letter-spacing: -.02em; color: var(--ink);
  margin-bottom: 1rem;
}
.svc-hero h1 em { font-style: italic; color: var(--accent); }
.svc-hero .svc-hero-ja {
  font-family: var(--f-ja); font-weight: 300;
  font-size: clamp(1rem, 2vw, 1.5rem);
  color: var(--ink2); letter-spacing: .02em; margin-bottom: 3rem;
}
.svc-hero-bottom {
  display: flex; justify-content: space-between; align-items: flex-end;
  flex-wrap: wrap; gap: 2rem;
}
.svc-hero-desc { max-width: 480px; font-size: .9rem; color: var(--muted); line-height: 1.9; }

.detail-lead {
  padding: 6rem 6%; border-bottom: 1px solid var(--line);
}
.detail-lead-inner {
  max-width: 1040px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.6fr; gap: 5rem; align-items: start;
}
.detail-lead-left h2 {
  font-family: var(--f-en); font-weight: 300;
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  letter-spacing: -.02em; line-height: 1.2; color: var(--ink); margin-bottom: 1rem;
}
.detail-lead-left h2 em { font-style: italic; color: var(--accent); }
.detail-lead-left .en-sub {
  font-family: var(--f-en); font-size: .68rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 1.5rem;
}
.detail-lead-right p { font-size: .9rem; color: var(--ink2); line-height: 1.95; margin-bottom: 1.25rem; }
.detail-lead-right p:last-child { margin-bottom: 0; }

.detail-menu {
  list-style: none; display: flex; flex-direction: column;
  margin-top: 2rem;
}
.detail-menu li { border-bottom: 1px solid var(--line); }
.detail-menu li:first-child { border-top: 1px solid var(--line); }
.detail-menu li a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1rem 0; font-size: .875rem; color: var(--ink2);
  transition: color .2s;
}
.detail-menu li a::after { content: '↓'; font-family: var(--f-en); font-size: .75rem; color: var(--muted); transition: transform .2s; }
.detail-menu li a:hover { color: var(--accent); }
.detail-menu li a:hover::after { transform: translateY(3px); }

.detail-features { padding: 6rem 6%; border-bottom: 1px solid var(--line); }
.detail-features .wrap {}
.feature-list { display: flex; flex-direction: column; }
.feature-item {
  display: grid; grid-template-columns: 2.5rem 1fr 1.6fr;
  gap: 0 3rem; align-items: baseline;
  padding: 2.5rem 0; border-bottom: 1px solid var(--line);
}
.feature-item:first-child { border-top: 1px solid var(--line); }
.feature-num {
  font-family: var(--f-en); font-size: .7rem; letter-spacing: .08em; color: var(--muted);
}
.feature-name { font-weight: 500; font-size: 1rem; color: var(--ink); }
.feature-desc { font-size: .855rem; color: var(--muted); line-height: 1.85; }

.detail-price { padding: 6rem 6%; border-bottom: 1px solid var(--line); background: var(--bg-off); }
.price-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  border-top: 1px solid var(--line); margin-top: 5rem;
}
.price-item {
  padding: 2.5rem 3rem 2.5rem 0;
  border-right: 1px solid var(--line);
}
.price-item:last-child { border-right: none; padding-right: 0; }
.price-plan {
  font-family: var(--f-en); font-size: .68rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 1rem;
}
.price-amount {
  font-family: var(--f-en); font-weight: 300;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  letter-spacing: -.02em; color: var(--ink); line-height: 1; margin-bottom: .5rem;
}
.price-amount small { font-size: .7em; color: var(--muted); }
.price-note { font-size: .78rem; color: var(--muted); margin-bottom: 1.5rem; }
.price-includes { list-style: none; display: flex; flex-direction: column; gap: .6rem; }
.price-includes li { font-size: .8rem; color: var(--ink2); display: flex; align-items: baseline; gap: .6rem; }
.price-includes li::before { content: '—'; font-family: var(--f-en); color: var(--accent); font-size: .75rem; flex-shrink: 0; }

.detail-faq { padding: 6rem 6%; border-bottom: 1px solid var(--line); }
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-q {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 1.5rem 0; font-weight: 500; font-size: .95rem; cursor: pointer;
  user-select: none; transition: color .2s;
}
.faq-q:hover { color: var(--accent); }
.faq-q-mark { font-family: var(--f-en); font-size: .75rem; color: var(--muted); transition: transform .3s; }
.faq-q-mark.open { transform: rotate(45deg); }
.faq-a {
  font-size: .855rem; color: var(--muted); line-height: 1.85;
  max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .35s ease;
}
.faq-a.open { max-height: 300px; padding-bottom: 1.5rem; }

/* ── RESPONSIVE ── */
@media (max-width: 860px) {
  nav { height: 68px; }
  .nav-links {
    position: absolute; top: 68px; left: 0; right: 0;
    display: flex; flex-direction: column; gap: 0;
    padding: 1rem 6% 1.25rem;
    background: rgba(255,255,255,.98);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px rgba(15,15,15,.06);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  }
  nav.open .nav-links {
    opacity: 1; visibility: visible; transform: none; pointer-events: auto;
  }
  .nav-links a {
    display: flex; align-items: center; justify-content: space-between;
    min-height: 48px; border-bottom: 1px solid var(--line);
    color: var(--ink); font-size: .85rem;
  }
  .nav-links a::after { content: '→'; color: var(--muted); font-size: .75rem; }
  .nav-menu-cta {
    display: flex !important; justify-content: center !important;
    margin-top: 1rem; min-height: 46px !important;
    border: 1px solid var(--ink) !important;
    background: var(--ink); color: #fff !important;
  }
  .nav-menu-cta::after { content: none !important; }
  .nav-btn { display: none; }
  .nav-toggle { display: flex; }
  .detail-lead-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .feature-item { grid-template-columns: 2.5rem 1fr; gap: 0 1.5rem; }
  .feature-desc { grid-column: 2; margin-top: .4rem; }
  .price-grid { grid-template-columns: 1fr; }
  .price-item { border-right: none; border-bottom: 1px solid var(--line); padding-right: 0; }
  .price-item:last-child { border-bottom: none; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .cta-right { align-items: flex-start; }
}
