/* ============================================================
   WEBプラス - Modern redesign stylesheet
   ============================================================ */

/* --- Reset ------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body, h1, h2, h3, h4, h5, h6, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, picture, svg, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
a { color: inherit; text-decoration: none; }
input, textarea, select { font: inherit; color: inherit; }

/* --- Design tokens ---------------------------------------- */
/* ブランドカラー：ロゴのオレンジ（#E85D0E系）をベースに、
   テキストは温かみのあるダークグレーで統一し、ロゴ全体の印象に合わせている */
:root {
  --navy-900: #2A2520;
  --navy-800: #3D362E;
  --navy-700: #574E42;
  --ink: #2A2520;
  --ink-2: #4D4439;
  --muted: #8A8278;
  --line: #ECE5D8;
  --surface: #FFFFFF;
  --bg: #FBF7F0;
  --bg-alt: #F4EEDF;
  --accent: #E85D0E;
  --accent-2: #F8B560;
  --accent-soft: #FFEDD5;
  --success: #10B981;
  --warning: #F59E0B;
  --danger: #EF4444;
  --gradient-brand: linear-gradient(135deg, #B8400D 0%, #E85D0E 45%, #FF9248 100%);
  --gradient-soft: linear-gradient(135deg, #FFEDD5 0%, #FFF7ED 100%);
  --shadow-sm: 0 1px 2px rgba(40, 28, 18, 0.06), 0 1px 3px rgba(40, 28, 18, 0.04);
  --shadow-md: 0 6px 16px rgba(40, 28, 18, 0.08), 0 2px 6px rgba(40, 28, 18, 0.05);
  --shadow-lg: 0 16px 40px rgba(40, 28, 18, 0.10), 0 4px 10px rgba(40, 28, 18, 0.06);
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-full: 999px;
  --container: 1160px;
  --header-h: 76px;
  --font-jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", sans-serif;
  --font-en: "Inter", "Noto Sans JP", system-ui, -apple-system, Segoe UI, sans-serif;
}

html, body {
  font-family: var(--font-jp);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.75;
  letter-spacing: 0.02em;
  font-feature-settings: "palt" 1;
  -webkit-font-smoothing: antialiased;
}

/* --- Layout ----------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 32px);
}
.section { padding-block: clamp(60px, 9vw, 112px); }
.section-tight { padding-block: clamp(44px, 6vw, 72px); }
.grid { display: grid; gap: 24px; }

/* --- Buttons ---------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
  white-space: nowrap;
  cursor: pointer;
}
.btn-primary {
  color: #fff;
  background: var(--gradient-brand);
  box-shadow: 0 10px 24px rgba(232, 93, 14, 0.25);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(232, 93, 14, 0.32); }
.btn-ghost {
  color: var(--navy-900);
  background: #fff;
  border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-outline {
  color: #fff;
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
}
.btn-outline:hover { background: rgba(255, 255, 255, 0.12); }
.btn-lg { padding: 18px 36px; font-size: 1.05rem; }

/* --- Header ----------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid rgba(40, 28, 18, 0.06);
}
.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--header-h);
  flex-wrap: nowrap;
}
.brand { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; min-width: 0; }
.brand__logo { height: 40px; width: auto; flex-shrink: 0; }
.brand__tag {
  display: none;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--font-en);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  white-space: nowrap;
}
@media (min-width: 560px) { .brand__tag { display: inline-flex; } }

.nav { display: none; align-items: center; gap: 2px; flex-wrap: nowrap; }
.nav ul { display: flex; gap: 2px; flex-wrap: nowrap; }
.nav li { flex: 0 0 auto; }
.nav a {
  position: relative;
  display: inline-block;
  padding: 8px 12px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-2);
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease;
}
.nav a:hover,
.nav a[aria-current="page"] { color: var(--accent); background: var(--accent-soft); }

.header-cta { display: none; align-items: center; gap: 14px; flex: 0 0 auto; }
.header-tel {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.15;
  text-align: right;
  white-space: nowrap;
}
.header-tel__num {
  color: var(--navy-900);
  font-weight: 800;
  font-family: var(--font-en);
  font-size: 1.08rem;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.header-tel__num svg { flex-shrink: 0; }
.header-tel__label { font-size: 0.68rem; color: var(--muted); }

.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  width: 40px;
  height: 40px;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
}
.menu-toggle span { width: 18px; height: 2px; background: var(--navy-900); border-radius: 2px; transition: transform 0.2s ease, opacity 0.2s ease; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  padding: 20px 24px 32px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.mobile-nav.is-open { display: block; }
.mobile-nav ul { display: grid; gap: 2px; }
.mobile-nav a {
  display: block;
  padding: 14px 12px;
  border-radius: 10px;
  font-weight: 600;
  color: var(--navy-900);
}
.mobile-nav a:hover { background: var(--accent-soft); color: var(--accent); }
.mobile-nav .mn-tel {
  margin-top: 18px;
  padding: 18px;
  border-radius: 14px;
  background: var(--gradient-soft);
  text-align: center;
}
.mobile-nav .mn-tel strong { font-size: 1.4rem; color: var(--navy-900); font-family: var(--font-en); display: block; }
.mobile-nav .mn-tel span { font-size: 0.8rem; color: var(--muted); }

@media (min-width: 1100px) {
  .nav, .header-cta { display: flex; }
  .menu-toggle { display: none; }
}
@media (min-width: 1100px) and (max-width: 1240px) {
  .nav a { padding: 8px 10px; font-size: 0.84rem; }
  .header-tel__num { font-size: 1rem; }
  .btn { padding: 12px 22px; }
}

/* --- Hero ------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #FBF7F0 0%, #FFEDD5 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(800px 400px at 90% -10%, rgba(232, 93, 14, 0.12), transparent 60%),
    radial-gradient(600px 500px at -10% 30%, rgba(248, 181, 96, 0.10), transparent 60%);
  pointer-events: none;
}
.hero .inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  padding-block: clamp(56px, 8vw, 96px);
  align-items: center;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.12em;
  margin-bottom: 20px;
}
.hero__eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(232, 93, 14, 0.18); }
.hero__title {
  font-size: clamp(2rem, 4.8vw, 3.2rem);
  line-height: 1.3;
  font-weight: 800;
  color: var(--navy-900);
  letter-spacing: 0.01em;
}
.hero__title .accent { background: var(--gradient-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead {
  margin-top: 20px;
  color: var(--ink-2);
  font-size: clamp(0.96rem, 1.3vw, 1.05rem);
  max-width: 560px;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 40px;
  max-width: 560px;
}
.hero__stat {
  padding: 18px 16px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(6px);
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.hero__stat strong {
  display: block;
  font-weight: 800;
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  color: var(--navy-900);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.hero__stat span {
  font-size: clamp(0.7rem, 1.2vw, 0.78rem);
  color: var(--muted);
  font-weight: 600;
  white-space: nowrap;
}

.hero__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  /* バナー画像（横長・文字あり）の比率に合わせる。SP切替後は別比率を適用 */
  aspect-ratio: 27 / 10;
  background: #fff;
}
@media (max-width: 720px) {
  .hero__media { aspect-ratio: 5 / 3; }
}
.hero__media picture {
  position: absolute;
  inset: 0;
  display: block;
}
.hero__media img {
  width: 100%;
  height: 100%;
  /* containで全体表示。バナー画像の文字が切れないようにする */
  object-fit: contain;
  display: block;
  opacity: 0;
  transition: opacity 0.9s ease;
}
.hero__media img.is-active { opacity: 1; }

@media (min-width: 960px) {
  .hero .inner { grid-template-columns: 1.1fr 1fr; gap: 72px; }
}

/* --- Page head (non-home pages) --------------------------- */
.page-head {
  position: relative;
  padding: clamp(56px, 7vw, 96px) 0 clamp(40px, 5vw, 64px);
  background: var(--gradient-brand);
  color: #fff;
  overflow: hidden;
}
.page-head::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(500px 300px at 95% 0%, rgba(255, 255, 255, 0.18), transparent 70%),
    radial-gradient(400px 300px at 5% 100%, rgba(248, 181, 96, 0.35), transparent 60%);
}
.page-head > .container { position: relative; }
.page-head__en {
  font-family: var(--font-en);
  font-size: 0.82rem;
  letter-spacing: 0.32em;
  font-weight: 600;
  opacity: 0.85;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.page-head__en::before { content: ""; width: 28px; height: 2px; background: #fff; border-radius: 2px; }
.page-head__title {
  margin-top: 14px;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.04em;
}
.page-head__lead { margin-top: 12px; max-width: 640px; opacity: 0.9; }

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 22px;
}
.breadcrumbs a { text-decoration: underline; text-underline-offset: 3px; opacity: 0.9; }
.breadcrumbs a:hover { opacity: 1; }
.breadcrumbs span { opacity: 0.6; }

/* --- Section headings ------------------------------------- */
.section-head {
  display: grid;
  gap: 10px;
  margin-bottom: 48px;
  text-align: center;
}
.section-head__en {
  font-family: var(--font-en);
  font-size: 0.82rem;
  letter-spacing: 0.32em;
  font-weight: 700;
  color: var(--accent);
}
.section-head__title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--navy-900);
  letter-spacing: 0.03em;
}
.section-head__lead { color: var(--muted); max-width: 640px; margin-inline: auto; }
.section-head--left { text-align: left; }
.section-head--left .section-head__lead { margin-inline: 0; }

/* --- Announce (information bar) --------------------------- */
.announce-wrap { display: grid; gap: 16px; max-width: 960px; margin-inline: auto; }
.announce {
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  padding: 24px 28px;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
}
.announce__icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  flex-shrink: 0;
}
.announce__title { font-weight: 800; color: var(--navy-900); font-size: 1.05rem; margin-bottom: 6px; }
.announce__body { color: var(--ink-2); font-size: 0.95rem; }
.announce__body p { margin-bottom: 6px; }
.announce--warning .announce__icon { background: #FEF3C7; color: #B45309; }

/* --- Service cards grid ----------------------------------- */
.service-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.service-card {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 14px;
  padding: 32px 28px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--gradient-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-card__icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
}
.service-card__title { font-size: 1.15rem; font-weight: 800; color: var(--navy-900); letter-spacing: 0.04em; }
.service-card__en { font-family: var(--font-en); font-size: 0.72rem; letter-spacing: 0.3em; color: var(--accent); display: block; margin-top: 4px; }
.service-card__body { color: var(--ink-2); font-size: 0.92rem; }
.service-card__arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.08em;
}
.service-card__arrow svg { transition: transform 0.25s ease; }
.service-card:hover .service-card__arrow svg { transform: translateX(3px); }

/* --- Philosophy section ----------------------------------- */
.philosophy {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 64px);
  box-shadow: var(--shadow-sm);
}
.philosophy__quote {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  font-weight: 700;
  color: var(--navy-900);
  line-height: 1.75;
  padding-left: 24px;
  border-left: 4px solid var(--accent);
}
.philosophy__body { margin-top: 24px; display: grid; gap: 18px; color: var(--ink-2); }

/* --- CTA band --------------------------------------------- */
.cta-band {
  position: relative;
  padding: clamp(44px, 6vw, 72px) clamp(24px, 4vw, 56px);
  border-radius: var(--radius-lg);
  background: var(--gradient-brand);
  color: #fff;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(255, 255, 255, 0.2), transparent 70%),
    radial-gradient(500px 300px at 0% 100%, rgba(248, 181, 96, 0.4), transparent 60%);
  pointer-events: none;
}
.cta-band__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}
.cta-band__title { font-size: clamp(1.4rem, 2.4vw, 1.8rem); font-weight: 800; letter-spacing: 0.04em; }
.cta-band__text { margin-top: 8px; opacity: 0.92; }
.cta-band__actions { display: grid; gap: 14px; }
.cta-band__tel {
  display: inline-flex;
  flex-direction: column;
  padding: 18px 24px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius);
  backdrop-filter: blur(6px);
}
.cta-band__tel-num {
  font-family: var(--font-en);
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.cta-band__tel-label { font-size: 0.82rem; opacity: 0.9; }

@media (min-width: 800px) {
  .cta-band__inner { grid-template-columns: 1.3fr auto; gap: 48px; }
  .cta-band__actions { grid-template-columns: auto auto; align-items: center; }
}

/* --- Footer ----------------------------------------------- */
.site-footer {
  background: var(--navy-900);
  color: #CBD5E1;
  padding: 64px 0 32px;
}
.site-footer .inner {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
}
.foot-brand { color: #fff; }
.foot-brand__name { font-size: 1.2rem; font-weight: 800; letter-spacing: 0.04em; }
.foot-brand__desc { margin-top: 10px; color: #94A3B8; font-size: 0.9rem; line-height: 1.8; }
.foot-brand__tel {
  margin-top: 20px;
  display: inline-flex;
  flex-direction: column;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
}
.foot-brand__tel strong { font-family: var(--font-en); font-size: 1.25rem; color: #fff; font-weight: 700; }
.foot-brand__tel span { color: #94A3B8; font-size: 0.76rem; }
.foot-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.foot-cols h5 { color: #fff; font-size: 0.85rem; letter-spacing: 0.12em; font-weight: 700; margin-bottom: 14px; }
.foot-cols ul { display: grid; gap: 10px; }
.foot-cols a { color: #CBD5E1; font-size: 0.9rem; transition: color 0.2s ease; }
.foot-cols a:hover { color: var(--accent-2); }
.foot-bottom {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  color: #8A8278;
  font-size: 0.8rem;
}
.foot-bottom a { color: #94A3B8; }
.foot-bottom a:hover { color: #fff; }

@media (min-width: 860px) {
  .site-footer .inner { grid-template-columns: 1.2fr 2fr; gap: 72px; }
  .foot-cols { grid-template-columns: repeat(3, 1fr); }
}

/* --- Generic article content ------------------------------ */
.prose { color: var(--ink-2); font-size: 1rem; line-height: 1.95; }
.prose > * + * { margin-top: 20px; }
.prose h2 { margin-top: 56px; font-size: 1.4rem; font-weight: 800; color: var(--navy-900); letter-spacing: 0.04em; display: flex; align-items: center; gap: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.prose h2::before { content: ""; width: 6px; height: 26px; border-radius: 3px; background: var(--gradient-brand); }
.prose h3 { margin-top: 40px; font-size: 1.12rem; font-weight: 800; color: var(--navy-900); letter-spacing: 0.04em; }
.prose ul, .prose ol { padding-left: 1.5em; list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: 8px; }
.prose strong { color: var(--navy-900); font-weight: 700; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--navy-900); }

.checklist { padding: 0 !important; list-style: none !important; display: grid; gap: 12px; }
.checklist li {
  padding: 16px 20px 16px 56px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  position: relative;
  color: var(--ink-2);
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  background: var(--gradient-brand);
  border-radius: 50%;
  background-image:
    linear-gradient(135deg, #B8400D 0%, #E85D0E 45%, #FF9248 100%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path fill='white' d='M7.9 13.4 4.3 9.8 5.7 8.4 7.9 10.6 14.3 4.2 15.7 5.6Z'/></svg>");
}

/* --- Feature block (point page etc.) --------------------- */
.feature-block {
  display: grid;
  gap: 24px;
  padding: 28px;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.feature-block__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  font-weight: 800;
  font-family: var(--font-en);
  font-size: 0.84rem;
  letter-spacing: 0.2em;
}
.feature-block__badge::before {
  content: "";
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--gradient-brand);
}
.feature-block h3 { margin: 0; font-size: 1.25rem; font-weight: 800; color: var(--navy-900); }
.feature-block p { color: var(--ink-2); line-height: 1.95; }

/* --- Process steps ---------------------------------------- */
.steps { display: grid; gap: 20px; counter-reset: step; }
.step {
  position: relative;
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 24px;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  counter-increment: step;
}
.step::before {
  content: counter(step, decimal-leading-zero);
  display: grid; place-items: center;
  width: 72px; height: 72px;
  border-radius: 20px;
  background: var(--gradient-brand);
  color: #fff;
  font-family: var(--font-en);
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.step h3 { margin: 0 0 8px; font-size: 1.1rem; font-weight: 800; color: var(--navy-900); }
.step p { color: var(--ink-2); }

/* --- Pricing table --------------------------------------- */
.plan-card {
  position: relative;
  padding: clamp(28px, 4vw, 48px);
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.plan-card__ribbon {
  position: absolute;
  top: 22px;
  right: -46px;
  padding: 6px 56px;
  background: var(--gradient-brand);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  transform: rotate(35deg);
}
.plan-card__title {
  font-size: clamp(1.35rem, 2.4vw, 1.65rem);
  font-weight: 800;
  color: var(--navy-900);
  letter-spacing: 0.04em;
}
.plan-card__en { font-family: var(--font-en); font-size: 0.78rem; letter-spacing: 0.28em; color: var(--accent); margin-bottom: 6px; font-weight: 600; display: block; }
.plan-card__bullets { display: grid; gap: 12px; margin-top: 28px; }
.plan-card__bullets li {
  padding: 14px 16px 14px 48px;
  background: var(--bg);
  border-radius: var(--radius-sm);
  position: relative;
  color: var(--ink);
  font-weight: 600;
}
.plan-card__bullets li::before {
  content: "";
  position: absolute;
  top: 50%; left: 14px;
  width: 22px; height: 22px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: var(--gradient-brand);
  background-image:
    linear-gradient(135deg, #B8400D 0%, #E85D0E 45%, #FF9248 100%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path fill='white' d='M7.9 13.4 4.3 9.8 5.7 8.4 7.9 10.6 14.3 4.2 15.7 5.6Z'/></svg>");
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  background: #fff;
}
.pricing-table th,
.pricing-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}
.pricing-table th { background: var(--bg-alt); font-weight: 700; color: var(--navy-900); width: 45%; }
.pricing-table td { color: var(--ink-2); }
.pricing-table tr:last-child th,
.pricing-table tr:last-child td { border-bottom: none; }
.pricing-table .pt-free { color: var(--success); font-weight: 700; }

/* --- FAQ -------------------------------------------------- */
.faq { display: grid; gap: 14px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.faq-item[open] { border-color: var(--accent); box-shadow: var(--shadow-sm); }
.faq-item > summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px 20px 66px;
  font-weight: 700;
  color: var(--navy-900);
  font-size: 1rem;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary::before {
  content: "Q";
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: #fff;
  font-family: var(--font-en);
  font-weight: 800;
  display: grid; place-items: center;
  font-size: 0.92rem;
}
.faq-item > summary .toggle {
  width: 22px; height: 22px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  display: grid; place-items: center;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}
.faq-item[open] > summary .toggle { transform: rotate(45deg); background: var(--accent); border-color: var(--accent); color: #fff; }
.faq-item > summary .toggle::before,
.faq-item > summary .toggle::after {
  content: "";
  position: absolute;
  width: 10px; height: 2px;
  background: currentColor;
  border-radius: 2px;
}
.faq-item > summary .toggle::after { transform: rotate(90deg); }
.faq-item__body {
  padding: 4px 24px 24px 66px;
  color: var(--ink-2);
  position: relative;
  line-height: 1.9;
}
.faq-item__body::before {
  content: "A";
  position: absolute;
  left: 20px;
  top: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--font-en);
  font-weight: 800;
  display: grid; place-items: center;
  font-size: 0.92rem;
}
.faq-item__body p + p, .faq-item__body p + div, .faq-item__body div + p { margin-top: 10px; }

/* --- Portfolio grid --------------------------------------- */
.portfolio { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.portfolio-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: block;
}
.portfolio-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.portfolio-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-alt);
}
.portfolio-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.portfolio-card:hover .portfolio-card__media img { transform: scale(1.05); }
.portfolio-card__body { padding: 24px; display: grid; gap: 12px; }
.portfolio-card__title { font-size: 1.1rem; font-weight: 800; color: var(--navy-900); letter-spacing: 0.02em; }
.portfolio-card__meta { display: flex; flex-wrap: wrap; gap: 8px; }
.portfolio-card__tag {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.portfolio-card__desc { color: var(--ink-2); font-size: 0.92rem; }
.portfolio-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

/* --- Contact form ----------------------------------------- */
.form {
  display: grid;
  gap: 22px;
  padding: clamp(28px, 4vw, 48px);
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.field label {
  display: block;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 10px;
  font-size: 0.95rem;
}
.field label .req { color: var(--danger); margin-left: 6px; font-size: 0.8em; }
.field label .opt { color: var(--muted); margin-left: 6px; font-size: 0.78em; font-weight: 500; }
.field input,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--bg);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(232, 93, 14, 0.15);
}
.field textarea { min-height: 160px; resize: vertical; line-height: 1.7; }
.form__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
.form__note { color: var(--muted); font-size: 0.85rem; }

/* --- Contact info card ------------------------------------ */
.contact-info {
  display: grid;
  gap: 24px;
  padding: clamp(24px, 4vw, 36px);
  background: var(--gradient-soft);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(232, 93, 14, 0.12);
}
.contact-info__group { display: grid; gap: 6px; }
.contact-info__label { font-size: 0.76rem; font-weight: 700; color: var(--accent); letter-spacing: 0.18em; }
.contact-info__value { color: var(--navy-900); font-weight: 700; }
.contact-info__value--tel { font-family: var(--font-en); font-size: 1.6rem; letter-spacing: 0.02em; }

/* --- Profile table ---------------------------------------- */
.profile-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.profile-table th, .profile-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  font-size: 0.95rem;
}
.profile-table th {
  width: 28%;
  background: var(--bg-alt);
  color: var(--navy-900);
  font-weight: 700;
  letter-spacing: 0.04em;
}
.profile-table td { color: var(--ink-2); }
.profile-table tr:last-child th,
.profile-table tr:last-child td { border-bottom: none; }

.branch-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.branch-card {
  padding: 24px;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.branch-card h3 { font-size: 1.05rem; font-weight: 800; color: var(--navy-900); letter-spacing: 0.04em; }
.branch-card dl { display: grid; gap: 4px; font-size: 0.92rem; color: var(--ink-2); margin-top: 12px; }
.branch-card dt { font-weight: 700; color: var(--muted); font-size: 0.76rem; letter-spacing: 0.12em; }
.branch-card dd { margin: 0 0 6px; }

/* --- Legal (caution) -------------------------------------- */
.legal { background: #fff; border-radius: var(--radius-lg); padding: clamp(28px, 5vw, 56px); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.legal h2 { margin-top: 48px; font-size: 1.2rem; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { margin-top: 28px; font-size: 1rem; color: var(--navy-900); font-weight: 800; }
.legal p, .legal li { font-size: 0.93rem; line-height: 1.95; }
.legal .legal__addendum { margin-top: 40px; padding: 16px; background: var(--bg-alt); border-radius: var(--radius-sm); font-size: 0.88rem; color: var(--muted); }

/* --- Helpers ---------------------------------------------- */
.bg-white { background: #fff; }
.bg-alt { background: var(--bg-alt); }
.text-center { text-align: center; }
.mt-sm { margin-top: 16px; }
.mt-md { margin-top: 28px; }
.mt-lg { margin-top: 48px; }
.mb-sm { margin-bottom: 16px; }
.mb-md { margin-bottom: 28px; }
.stack { display: grid; gap: 24px; }
.two-col { display: grid; gap: 32px; }
@media (min-width: 860px) { .two-col { grid-template-columns: 1fr 1fr; } .two-col--wide-left { grid-template-columns: 1.4fr 1fr; } }

/* --- Subtle fade-in on load ------------------------------ */
@keyframes rise-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.js .reveal { animation: rise-in 0.7s ease both; }
@media (prefers-reduced-motion: reduce) { .js .reveal { animation: none; } }

/* --- Accessibility ---------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
