/* ==========================================================================
   DCアライフ / 廣川社会保険労務士事務所 LP
   Design tokens
   ========================================================================== */
:root {
  /* Colors sampled directly from the company logo (DCアライフ) so the
     site palette matches the mark exactly rather than an approximation. */
  --navy: #182a47;
  --navy-deep: #0e1829;
  --blue: #294c88;
  --blue-light: #97afd8;
  --blue-tint: #f3f5f9;
  --blue-tint-2: #e8ecf3;
  --orange: #a14b06;
  --orange-dark: #7a3905;
  --bg: #f7f8fa;
  --surface: #ffffff;
  --border: #d7dce4;
  --ink: #1b2537;
  --ink-soft: #4e5c74;
  --ink-faint: #7e899a;

  --font-jp: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;

  --content-width: 1120px;
  --radius-s: 8px;
  --radius-m: 14px;
  --radius-l: 22px;

  --shadow-card: 0 2px 10px rgba(24, 42, 71, 0.07), 0 12px 28px rgba(24, 42, 71, 0.06);
  --shadow-card-hover: 0 6px 18px rgba(24, 42, 71, 0.1), 0 20px 40px rgba(24, 42, 71, 0.09);
}

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

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-jp);
  font-weight: 400;
  line-height: 1.8;
  font-feature-settings: "palt";
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; }

a { color: inherit; }

.icon {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.wrap {
  width: 100%;
  max-width: var(--content-width);
  margin-inline: auto;
  padding-inline: 24px;
}

/* ---- Typography scale --------------------------------------------------- */
h1, h2, h3, h4 { margin: 0; text-wrap: balance; color: var(--navy); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--blue);
  margin: 0 0 14px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--orange);
  border-radius: 2px;
}

.section-title {
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem);
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 16px;
}

.section-lead {
  color: var(--ink-soft);
  font-size: 1rem;
  max-width: 62ch;
  line-height: 1.9;
}

.section-head {
  margin-bottom: 40px;
}
.section-head.center {
  text-align: center;
  margin-inline: auto;
}
.section-head.center .section-lead { margin-inline: auto; }
.section-head.center .eyebrow::before { display: none; }

/* ---- Layout bands -------------------------------------------------------- */
.section {
  padding: clamp(48px, 5vw + 16px, 88px) 0;
  scroll-margin-top: 76px;
}
.section--alt { background: var(--blue-tint); }

/* ---- Header --------------------------------------------------------------*/
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(247, 248, 250, 0.88);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 12px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  min-width: 0;
}
.brand-mark {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex-shrink: 0;
}
.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
  min-width: 0;
}
.brand-name strong {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.brand-name span {
  font-size: 0.7rem;
  color: var(--ink-faint);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.site-nav a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  white-space: nowrap;
}
.site-nav a:hover { color: var(--navy); }

/* ---- Buttons ---------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-cta {
  background: var(--orange);
  color: #fff;
  padding: 13px 26px;
  box-shadow: 0 10px 24px rgba(161, 75, 6, 0.32);
}
.btn-cta:hover { background: var(--orange-dark); transform: translateY(-1px); }
.btn-cta:active { transform: translateY(0); }
.btn-cta .icon { width: 1.05em; height: 1.05em; }

.btn-cta--sm { padding: 9px 18px; font-size: 0.82rem; }

.btn-cta:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

/* ---- Hero ---------------------------------------------------------------*/
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 9vw, 128px) 0 clamp(56px, 7vw, 96px);
  background: var(--navy);
  color: #fff;
}
.hero-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.9;
}
.hero-logo-watermark {
  position: absolute;
  z-index: 1;
  right: -12%;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(380px, 48vw, 620px);
  opacity: 0.09;
  pointer-events: none;
  user-select: none;
}
.hero .wrap {
  position: relative;
  z-index: 2;
}
.hero-copy { max-width: 620px; }
.hero-copy .eyebrow { color: var(--blue-light); }
.hero-copy .eyebrow::before { background: var(--orange); }
.hero-copy h1 {
  color: #fff;
  font-size: clamp(1.9rem, 1.35rem + 2.4vw, 3.1rem);
  font-weight: 900;
  line-height: 1.45;
  letter-spacing: 0.01em;
}
.hero-copy .sub {
  margin-top: 22px;
  font-size: clamp(1rem, 0.9rem + 0.4vw, 1.2rem);
  color: #c8d4ea;
  font-weight: 500;
}

/* ---- Solutions: plan cards --------------------------------------------- */
.grid-2-plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 56px;
}
.plan-card {
  position: relative;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius-l);
  padding: 38px 34px;
  box-shadow: var(--shadow-card-hover);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.plan-card:hover { transform: translateY(-2px); }
.plan-card--corp { background: linear-gradient(180deg, var(--blue-tint) 0%, var(--surface) 40%); border-color: #c3ceda; border-top: 5px solid var(--navy); }
.plan-card--ideco { background: linear-gradient(180deg, var(--blue-tint) 0%, var(--surface) 40%); border-color: #b9c9e0; border-top: 5px solid var(--blue); }
.plan-card .plan-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--navy);
  background: var(--blue-tint-2);
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 18px;
}
.plan-card .plan-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-bottom: 20px;
  box-shadow: 0 8px 18px rgba(24, 42, 71, 0.22);
}
.plan-card .plan-icon .icon { width: 29px; height: 29px; }
.plan-card--corp .plan-icon { background: var(--navy); }
.plan-card--ideco .plan-icon { background: var(--blue); }
.plan-card h3 {
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 12px;
}
.plan-card p {
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.8;
}
.plan-points {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.plan-points li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.92rem;
  line-height: 1.6;
}
.plan-points .icon {
  width: 16px;
  height: 16px;
  color: var(--blue);
  margin-top: 3px;
  flex-shrink: 0;
}
.plan-price {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.plan-price .value {
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}
.plan-price .value small {
  font-weight: 500;
  font-size: 0.78rem;
  color: var(--ink-faint);
  margin-left: 4px;
}
.plan-price a {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--blue);
  text-decoration: none;
  white-space: nowrap;
}
.plan-price a:hover { text-decoration: underline; }


/* ---- Services ----------------------------------------------------------*/
.services-lead {
  max-width: 70ch;
  color: var(--ink-soft);
  margin-bottom: 44px;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  padding: 28px 26px;
  box-shadow: var(--shadow-card);
}
.service-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--blue-tint-2);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.service-icon .icon { width: 22px; height: 22px; }
.service-card h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}
.service-card p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.8;
}


/* ---- Pricing -------------------------------------------------------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}
.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  padding: 26px 24px;
  box-shadow: var(--shadow-card);
}
.price-plan {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  border-radius: 999px;
  padding: 3px 11px;
  margin: 0 0 14px;
}
.price-plan--corp { color: var(--navy); background: var(--blue-tint-2); }
.price-plan--ideco { color: #fff; background: var(--blue); }
.price-plan--option { color: #fff; background: var(--orange); }
.price-card .price-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink-soft);
  margin-bottom: 10px;
}
.price-card .price-value {
  font-variant-numeric: tabular-nums;
  color: var(--navy);
  font-weight: 900;
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  line-height: 1.3;
}
.price-card .price-value small {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
}
.price-card .price-sub {
  margin-top: 8px;
  font-size: 0.88rem;
  color: var(--ink-faint);
  font-variant-numeric: tabular-nums;
}
.price-note {
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.9;
}

.option-lead {
  margin: 36px 0 16px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink-soft);
  letter-spacing: 0.03em;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.option-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}
.option-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  padding: 20px 20px;
}
.option-title {
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 6px;
}
.option-detail {
  margin: 0 0 10px;
  color: var(--ink-faint);
  font-size: 0.82rem;
  line-height: 1.6;
}
.option-value {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

/* ---- Profile ---------------------------------------------------------- */
.profile-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 44px;
  align-items: start;
}
.profile-portrait {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  text-align: left;
}
.profile-avatar {
  width: 100%;
  max-width: 220px;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-m);
  overflow: hidden;
  display: block;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
  flex-shrink: 0;
}
.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 15%;
  display: block;
}
.profile-portrait-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.profile-portrait .name-jp {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
}
.profile-portrait .name-en {
  font-size: 0.82rem;
  color: var(--ink-faint);
  letter-spacing: 0.03em;
}
.profile-role {
  font-size: 0.85rem;
  color: var(--ink-soft);
  line-height: 1.6;
}
.profile-text p {
  margin: 0 0 20px;
  color: var(--ink);
  line-height: 1.95;
}
.profile-text p:last-of-type { margin-bottom: 28px; }
.profile-disclaimer {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--blue-tint);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  padding: 18px 20px;
  margin-bottom: 28px;
  color: var(--navy);
  font-weight: 500;
}
.profile-disclaimer .icon { color: var(--blue); margin-top: 3px; }
.credentials {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  background: var(--surface);
  padding: 24px 28px;
}
.credential-group-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink-faint);
  letter-spacing: 0.06em;
  margin: 0 0 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.credential-plain-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.credential-plain-list li {
  padding: 9px 0;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--navy);
  border-bottom: 1px dashed var(--border);
}
.credential-plain-list li:last-child { border-bottom: none; padding-bottom: 0; }
.credential-plain-list li:first-child { padding-top: 0; }

/* ---- FAQ ---------------------------------------------------------------*/
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  font-weight: 700;
  color: var(--navy);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .q-mark {
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 8px;
  background: var(--blue-tint-2);
  color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}
.faq-item summary .q-text { flex: 1; }
.faq-item summary .chevron {
  color: var(--ink-faint);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.faq-item[open] summary .chevron { transform: rotate(180deg); }
.faq-answer {
  display: flex;
  gap: 16px;
  padding: 0 24px 22px 24px;
  color: var(--ink-soft);
  line-height: 1.85;
}
.faq-answer .a-mark {
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 8px;
  background: var(--orange);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}

/* ---- Final CTA -----------------------------------------------------------*/
.cta-section {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff;
  text-align: center;
}
.cta-section .eyebrow { color: var(--blue-light); justify-content: center; }
.cta-section .eyebrow::before { display: none; }
.cta-section h2 {
  color: #fff;
  font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem);
  margin-bottom: 32px;
}
.cta-section .btn-cta {
  font-size: 1.05rem;
  padding: 16px 34px;
}

/* ---- Footer --------------------------------------------------------------*/
.site-footer {
  background: var(--navy-deep);
  color: #a4b2cc;
  padding: 40px 0 28px;
  font-size: 0.85rem;
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.footer-info { display: flex; flex-direction: column; gap: 6px; }
.site-footer strong { color: #fff; font-weight: 700; }
.footer-address { color: #7887a1; font-size: 0.82rem; }

/* ---- Future section placeholder note (kept invisible in production) ---- */
.future-section-hook { display: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 960px) {
  .site-nav { display: none; }
  .hero-logo-watermark { width: clamp(300px, 60vw, 460px); right: -18%; opacity: 0.08; }
  .grid-2-plans { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .profile-layout { grid-template-columns: 1fr; }
  .profile-avatar { max-width: 160px; }
}

@media (max-width: 600px) {
  .wrap { padding-inline: 18px; }
  .why-grid { grid-template-columns: 1fr; }
  .brand-name span { display: none; }
  .btn-cta--sm { display: none; }
  .credentials { grid-template-columns: 1fr; padding: 22px 20px; gap: 20px; }
}
