@charset "UTF-8";

:root {
  --accent: #c6531d;
  --accent-dark: #8f3511;
  --ink: #222;
  --muted: #6f6b67;
  --paper: #fff;
  --warm: #f5f1eb;
  --line: #d9d4cf;
  --max: 1180px;
  --font-number: "DIN Alternate", Bahnschrift, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background: var(--paper);
  font-family: "Yu Gothic Medium", YuGothic, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-feature-settings: "palt" 1;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
p { margin: 0; line-height: 1.9; letter-spacing: .07em; }
h1, h2, h3 { margin: 0; font-weight: 700; }

.site-header {
  position: relative;
  height: 150px;
  background: #fff;
  z-index: 50;
}
.header-inner {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: flex-end;
  width: 100%;
  height: 150px;
  padding: 34px 0 33px 48px;
  border-radius: 0;
  background: #fff;
}
.brand {
  position: relative;
  display: block;
  width: 320px;
  min-width: 320px;
  height: 88px;
}
.brand-area {
  position: absolute;
  top: 2px;
  left: 0;
  font-size: 11px;
  letter-spacing: .2em;
}
.brand-name {
  position: absolute;
  left: 0;
  bottom: 16px;
  font-size: 29px;
  font-weight: 800;
  letter-spacing: .03em;
}
.brand-company {
  position: absolute;
  left: 1px;
  bottom: -1px;
  color: var(--accent);
  font-size: 11px;
  letter-spacing: .15em;
}
.brand-mark {
  position: absolute;
  right: 0;
  top: 0;
  width: 82px;
  height: 82px;
}
.brand-mark img { width: 100%; height: 100%; object-fit: contain; }

.desktop-nav {
  display: flex;
  justify-content: flex-end;
  gap: clamp(21px, 2.8vw, 48px);
  width: 100%;
  padding: 0 32px 8px 4.5vw;
}
.desktop-nav a { text-align: center; white-space: nowrap; }
.desktop-nav strong { display: block; font-size: 13px; letter-spacing: .08em; }
.desktop-nav span {
  display: block;
  margin-top: 12px;
  color: var(--accent);
  font-family: Georgia, serif;
  font-size: 11px;
  letter-spacing: .07em;
}
.desktop-nav a:hover strong { color: var(--accent); }

.header-phone { display: none; }
.menu-button, .mobile-menu { display: none; }

.hero {
  position: relative;
  width: 100%;
  max-width: 1800px;
  min-height: 720px;
  margin: 0 auto 160px;
  padding-top: 142px;
}
.hero-sub {
  position: absolute;
  top: 48px;
  left: 4.7%;
  width: 25%;
  aspect-ratio: 1 / 1.04;
}
.hero-main-wrap { position: relative; margin: 0 5% 0 35%; }
.hero-main { width: 100%; min-height: 492px; aspect-ratio: 1.75 / 1; }
.hero-copy {
  position: absolute;
  left: 5.4%;
  bottom: 0;
  width: 30%;
}
.eyebrow {
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
}
.hero h1 {
  margin-bottom: 25px;
  font-size: clamp(34px, 3.15vw, 50px);
  line-height: 1.42;
  letter-spacing: .12em;
}
.hero-copy > p:last-child { width: 90%; font-size: 14px; text-align: justify; }

.photo-placeholder {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, transparent calc(50% - .5px), rgba(198,83,29,.22) 50%, transparent calc(50% + .5px)),
    linear-gradient(45deg, transparent calc(50% - .5px), rgba(198,83,29,.14) 50%, transparent calc(50% + .5px)),
    #ece9e4;
  border: 1px solid #c9c3bc;
}
.photo-placeholder::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(198,83,29,.22);
}
.photo-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--accent);
  font-family: Georgia, serif;
  font-size: 13px;
  line-height: 1.8;
  letter-spacing: .16em;
  text-align: center;
  white-space: nowrap;
}
.photo-label small { color: #77716a; font-family: inherit; font-size: 10px; }

.photo-frame {
  position: relative;
  overflow: hidden;
  background: #e9e3dc;
}
.photo-frame > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-sub > img { object-position: 48% center; }
.hero-main > img { object-position: 55% center; }
.about-wide-photo > img { object-position: center 55%; }
.about-side-photo > img { object-position: 53% center; }
.trouble-photo > img { object-position: center 57%; }
.trouble-figure > img { object-position: 50% center; }
.service-card:nth-child(1) .service-photo > img { object-position: 58% center; }
.service-card:nth-child(2) .service-photo > img { object-position: 57% center; }
.service-card:nth-child(3) .service-photo > img { object-position: center 60%; }

/* Keep the smaller hero image out of document flow. The shared placeholder
   treatment above supplies its internal positioning context. */
.hero .hero-sub { position: absolute; }

.section-width { width: min(var(--max), calc(100% - 80px)); margin-inline: auto; }
.about { margin-bottom: 140px; }
.about-wide-photo { width: 100%; aspect-ratio: 2.42 / 1; margin-bottom: 76px; }
.about-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 68px;
  padding: 0 35px;
}
.about-copy { padding-top: 5px; }
.section-en {
  margin-bottom: 14px;
  color: var(--accent);
  font-family: Georgia, serif;
  font-size: 20px;
  letter-spacing: .04em;
}
.about h2 {
  margin-bottom: 25px;
  font-size: 28px;
  line-height: 1.58;
  letter-spacing: .08em;
}
.about-copy > p:not(.section-en) { max-width: 590px; margin-top: 11px; font-size: 14px; }
.about-service-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(410px, 100%);
  min-height: 62px;
  margin-top: 34px;
  padding: 0 22px 0 28px;
  border-radius: 999px;
  color: #fff;
  background: var(--accent);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .08em;
  transition: background .25s ease, transform .25s ease;
}
.about-service-link i { font-family: Georgia, serif; font-size: 20px; font-style: normal; transition: transform .25s ease; }
.about-service-link:hover { background: var(--accent-dark); transform: translateY(-2px); }
.about-service-link:hover i { transform: translateX(5px); }
.about-side-photo { width: 100%; aspect-ratio: .92 / 1; }
.trouble { position: relative; margin-bottom: 130px; }
.trouble-backdrop {
  position: absolute;
  top: 13%;
  right: 0;
  bottom: 0;
  width: 86%;
  background: var(--accent);
  z-index: -1;
}
.trouble-photo { width: 80%; max-width: 1440px; aspect-ratio: 2.7 / 1; }
.trouble-inner {
  position: relative;
  width: min(1080px, calc(100% - 100px));
  margin: 70px auto 0;
  padding: 0 0 78px 80px;
  color: #fff;
}
.vertical-en {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--accent);
  font-family: Georgia, serif;
  font-size: 18px;
  letter-spacing: .07em;
  writing-mode: vertical-rl;
}
.trouble-intro { display: grid; grid-template-columns: 330px 1fr; gap: 62px; align-items: start; margin-bottom: 62px; }
.trouble-figure { width: 330px; height: 440px; }
.trouble-copy { padding-top: 4px; }
.section-en.light { color: #fff; opacity: .75; font-size: 15px; }
.trouble h2 { margin-bottom: 25px; font-size: 30px; line-height: 1.62; letter-spacing: .09em; }
.trouble-copy > p:last-child { max-width: 540px; font-size: 13px; opacity: .88; }
.trouble-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; width: 100%; }
.trouble-card { position: relative; padding: 29px 18px 18px; border: 1px solid rgba(255,255,255,.55); background: rgba(255,255,255,.08); }
.trouble-check {
  position: absolute;
  top: -19px;
  left: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 4px solid var(--accent);
  border-radius: 50%;
  color: var(--accent);
  background: #fff;
  font-size: 20px;
  font-weight: 800;
  transform: translateX(-50%);
}
.trouble-card h3 {
  min-height: 64px;
  margin-bottom: 6px;
  padding: 8px 5px 16px;
  border-bottom: 1px dashed rgba(255,255,255,.65);
  color: #fff;
  font-size: 18px;
  line-height: 1.45;
  letter-spacing: .06em;
  text-align: center;
}
.trouble-card ul { margin: 4px 0 0; padding: 0; list-style: none; }
.trouble-card li { position: relative; padding: 12px 5px 12px 23px; border-bottom: 1px dashed rgba(255,255,255,.38); font-size: 13px; letter-spacing: .04em; }
.trouble-card li::before { content: ""; position: absolute; top: 18px; left: 7px; width: 6px; height: 6px; border-radius: 50%; background: #fff; }
.trouble-closing { margin-top: 54px; text-align: center; }
.trouble-closing > p { margin-bottom: 0; font-size: 17px; opacity: .86; }
.trouble-closing h3 { margin-bottom: 25px; font-size: 27px; font-weight: 500; letter-spacing: .06em; }
.trouble-closing h3 strong { display: inline-block; margin-right: 7px; padding-bottom: 2px; border-bottom: 2px solid #fff; color: #fff; font-size: 35px; }
.trouble-closing > a {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  min-height: 70px;
  padding: 0 30px;
  border-radius: 999px;
  color: var(--accent);
  background: #fff;
  transition: background .25s ease, transform .25s ease;
}
.trouble-closing > a:hover { background: var(--warm); transform: translateY(-2px); }
.trouble-closing > a span { font-size: 14px; font-weight: 700; letter-spacing: .08em; }
.trouble-closing > a strong { padding-left: 22px; border-left: 1px solid rgba(198,83,29,.28); font-family: Georgia, serif; font-size: 28px; font-weight: 500; letter-spacing: .03em; }
.trouble-closing small { display: block; margin-top: 12px; font-size: 11px; letter-spacing: .05em; opacity: .8; }

.service {
  position: relative;
  margin-bottom: 150px;
  padding: 84px 40px 80px;
  background: var(--accent);
}
.section-heading h2 { font-size: 31px; line-height: 1.45; letter-spacing: .1em; }
.section-heading > p { margin-bottom: 12px; color: var(--accent); font-family: Georgia, serif; font-size: 19px; letter-spacing: .05em; }
.section-heading.centered { text-align: center; color: #fff; }
.section-heading.centered h2 { margin-bottom: 10px; }
.section-heading.centered > p { color: #fff; opacity: .82; }
.service-panel {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 42px 28px;
  width: min(1200px, 100%);
  margin: 45px auto 0;
  padding: 64px 56px;
  border-radius: 32px;
  background: #fff;
}
.service-card { grid-column: span 2; }
.service-card-small { grid-column: span 3; padding: 30px; border: 1px dashed #c9c3bc; }
.service-photo { width: 100%; aspect-ratio: 1.38 / 1; margin-bottom: 25px; }
.service-card-body { position: relative; }
.service-number { position: absolute; top: 2px; right: 2px; color: var(--accent); font-family: Georgia, serif; font-size: 13px; }
.service-card h3 { padding-right: 35px; font-size: 21px; letter-spacing: .08em; }
.service-en { margin: 6px 0 17px; color: var(--accent); font-family: Georgia, serif; font-size: 12px; line-height: 1.3; letter-spacing: .04em; }
.service-card-body > p:last-child { font-size: 13px; line-height: 1.82; }

.price { margin-bottom: 150px; }
.price-heading-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 70px;
  margin-bottom: 50px;
}
.price-heading-wrap > p { padding-bottom: 4px; font-size: 13px; }
.price-list { border-top: 2px solid var(--ink); }
.price-row {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  align-items: center;
  min-height: 122px;
  border-bottom: 1px solid var(--line);
}
.price-icon { width: 78px; height: 78px; color: var(--accent); }
.price-icon img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.price-row h3 { margin-bottom: 6px; font-size: 19px; letter-spacing: .08em; }
.price-row p { color: var(--accent); font-family: Georgia, serif; font-size: 11px; line-height: 1.3; }
.price-row > strong { color: var(--accent); font-family: Georgia, serif; font-size: 34px; font-weight: 500; letter-spacing: .02em; }
.price-row > strong span { margin-right: 13px; color: var(--ink); font-family: inherit; font-size: 10px; }
.price-row > strong small { margin-left: 4px; color: var(--ink); font-family: inherit; font-size: 14px; }
.price-extra {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
  margin-top: 35px;
  padding: 27px 35px;
  background: var(--warm);
}
.price-extra > div { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; }
.price-extra span { font-size: 14px; font-weight: 700; }
.price-extra strong { color: var(--accent); font-family: Georgia, serif; font-size: 28px; font-weight: 500; }
.price-extra strong small { font-size: 13px; }
.price-extra > p { font-size: 11px; line-height: 1.75; }
.price-group-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 22px;
}
.price-group-heading > div > span {
  display: block;
  margin-bottom: 5px;
  color: var(--accent);
  font-family: Georgia, serif;
  font-size: 12px;
  letter-spacing: .07em;
}
.price-group-heading h3 { font-size: 23px; letter-spacing: .08em; }
.price-group-heading > small {
  flex: 0 0 auto;
  padding: 7px 13px;
  border: 1px solid var(--accent);
  border-radius: 100px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
}
.price-reference { margin-top: 85px; }
.price-card-grid { display: grid; gap: 24px; }
.repair-price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.maintenance-price-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.price-card {
  overflow: hidden;
  padding: 27px 29px 25px;
  border: 1px solid #e1dad2;
  border-radius: 22px;
  background: var(--warm);
}
.price-card header { display: flex; align-items: flex-start; gap: 16px; min-height: 58px; margin-bottom: 22px; }
.price-card header > span {
  flex: 0 0 auto;
  padding-top: 3px;
  color: var(--accent);
  font-family: var(--font-number);
  font-size: 12px;
  font-weight: 700;
}
.price-card h4 { margin: 0 0 5px; font-size: 17px; line-height: 1.45; letter-spacing: .06em; }
.price-card header p { color: var(--muted); font-size: 10px; line-height: 1.55; }
.price-card dl { margin: 0; border-top: 1px solid #d8d0c7; }
.price-card dl > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 0;
  border-bottom: 1px solid #d8d0c7;
}
.price-card dt { font-size: 12px; font-weight: 700; line-height: 1.5; }
.price-card dd {
  flex: 0 0 auto;
  margin: 0;
  color: var(--accent);
  font-family: var(--font-number);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: .01em;
  white-space: nowrap;
}
.price-card dd small { margin-left: 3px; color: var(--ink); font-family: inherit; font-size: 11px; }
.maintenance-price-grid .price-card { padding-inline: 24px; }
.maintenance-price-grid .price-card dl > div { gap: 12px; }
.maintenance-price-grid .price-card dt { font-size: 11px; }
.maintenance-price-grid .price-card dd { font-size: 19px; }
.price-notes {
  display: grid;
  grid-template-columns: 145px 1fr;
  gap: 28px;
  margin-top: 35px;
  padding: 26px 30px;
  border-left: 4px solid var(--accent);
  background: #fff7f1;
}
.price-notes > strong { color: var(--accent); font-size: 13px; letter-spacing: .08em; }
.price-notes ul { margin: 0; padding-left: 1.3em; }
.price-notes li { margin-bottom: 6px; font-size: 11px; line-height: 1.75; }
.price-notes li:last-child { margin-bottom: 0; }

.staff-photo {
  width: min(1240px, calc(100% - 80px));
  aspect-ratio: 2.58 / 1;
  margin: 0 auto 280px;
  border-radius: 100px 100px 0 0;
}

.flow { margin-bottom: 130px; padding: 80px 0 85px; background: var(--accent); }
.section-heading.dark { color: #fff; }
.section-heading.dark > p { color: #fff; opacity: .78; }
.flow-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 80px;
  margin: 55px 0 60px;
  padding: 0;
  list-style: none;
}
.flow-list li {
  position: relative;
  min-height: 306px;
  padding: 32px 28px 30px;
  border: 1px solid rgba(72, 58, 45, .08);
  border-radius: 28px;
  background: #eee8df;
  box-shadow: 0 18px 40px rgba(91, 43, 16, .16);
  text-align: center;
}
.flow-list li:not(:last-child)::after { content: ""; position: absolute; top: 50%; right: -55px; width: 30px; height: 12px; border-top: 2px solid rgba(255,255,255,.82); border-right: 2px solid rgba(255,255,255,.82); transform: translateY(-50%) skewX(35deg); }
.flow-number { position: absolute; top: 24px; left: 26px; color: var(--accent); font-family: Georgia, serif; font-size: 13px; }
.flow-icon { width: 132px; height: 132px; margin: 0 auto 18px; }
.flow-icon img { width: 100%; height: 100%; object-fit: contain; }
.flow-list h3 { margin-bottom: 12px; font-size: 18px; letter-spacing: .08em; }
.flow-list p { color: #59524b; font-size: 12px; }
.flow-phone { text-align: center; }
.flow-phone > p { margin-bottom: 10px; color: #fff; font-size: 13px; font-weight: 700; }
.flow-phone a { display: inline-flex; align-items: center; gap: 18px; color: #fff; }
.flow-phone a span { padding: 7px 13px; border: 1px solid rgba(255,255,255,.8); border-radius: 100px; font-size: 12px; }
.flow-phone a strong { font-family: Georgia, serif; font-size: 38px; font-weight: 500; letter-spacing: .03em; }
.flow-phone small { display: block; margin-top: 7px; color: rgba(255,255,255,.78); font-size: 11px; }

.company {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 85px;
  margin-bottom: 120px;
}
.company dl { margin: 35px 0 0; border-top: 2px solid var(--ink); }
.company dl div { display: grid; grid-template-columns: 105px 1fr; padding: 18px 0; border-bottom: 1px solid var(--line); }
.company dt { font-size: 12px; font-weight: 700; letter-spacing: .07em; }
.company dd { margin: 0; font-size: 13px; line-height: 1.7; }
.company dd a { color: var(--accent); font-family: Georgia, serif; font-size: 17px; }
.company-visual { padding-top: 54px; }
.map-embed { position: relative; overflow: hidden; height: 390px; background: var(--warm); border: 1px solid var(--line); }
.map-embed iframe { display: block; width: 100%; height: 100%; border: 0; filter: saturate(.78) contrast(.96); }
.map-open-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  padding: 14px 18px;
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
}
.map-open-link i { font-family: Georgia, serif; font-size: 17px; font-style: normal; transition: transform .2s ease; }
.map-open-link:hover i { transform: translate(3px, -3px); }
.company-visual > p { margin-top: 20px; font-size: 13px; }
.company-visual small { font-size: 10px; }

.site-footer { position: relative; overflow: hidden; padding: 80px 6% 28px; color: #fff; background: var(--accent); }
.site-footer::after { content: ""; position: absolute; right: -70px; bottom: -180px; width: 440px; height: 440px; border: 1px solid rgba(255,255,255,.24); border-radius: 50%; box-shadow: 0 0 0 50px rgba(255,255,255,.04), 0 0 0 100px rgba(255,255,255,.03); }
.footer-inner { position: relative; z-index: 2; display: flex; justify-content: space-between; gap: 50px; width: min(var(--max), 100%); margin: 0 auto 75px; }
.footer-brand p { margin-bottom: 19px; font-size: 12px; letter-spacing: .18em; }
.footer-brand strong { display: block; margin-bottom: 8px; font-size: 31px; letter-spacing: .06em; }
.footer-brand span { font-size: 11px; letter-spacing: .16em; }
.footer-contact { text-align: right; }
.footer-contact a { display: block; margin-bottom: 8px; font-family: Georgia, serif; font-size: 35px; letter-spacing: .04em; }
.footer-contact p, .footer-contact address { font-size: 11px; font-style: normal; line-height: 1.8; letter-spacing: .08em; }
.copyright { position: relative; z-index: 2; width: min(var(--max), 100%); margin: 0 auto; font-family: Georgia, serif; font-size: 9px; letter-spacing: .12em; opacity: .7; }

.floating-phone {
  position: fixed;
  right: 32px;
  bottom: 25px;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 168px;
  height: 168px;
  padding-top: 8px;
  color: #fff;
  background: var(--accent);
  border: 7px solid #fff;
  border-radius: 50%;
  box-shadow: 0 5px 22px rgba(0,0,0,.22);
  transition: transform .2s ease, background .2s ease;
}
.floating-phone:hover { background: var(--accent-dark); transform: translateY(-4px); }
.floating-phone::before { content: ""; position: absolute; inset: 7px; border: 1px dashed rgba(255,255,255,.65); border-radius: 50%; }
.floating-phone svg { width: 36px; height: 36px; margin: 2px 0 4px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.floating-eyebrow { font-size: 9px; letter-spacing: .08em; }
.floating-label { font-size: 17px; letter-spacing: .08em; }
.floating-number { margin-top: 4px; font-family: Georgia, serif; font-size: 12px; letter-spacing: .03em; }

.trouble-closing > a strong,
.service-number,
.price-row > strong,
.price-extra strong,
.flow-number,
.flow-phone a strong,
.company dd a,
.footer-contact a,
.floating-number {
  font-family: var(--font-number);
  font-variant-numeric: lining-nums tabular-nums;
}
.service-number,
.flow-number { font-weight: 600; }

/* Motion system ----------------------------------------------------------
   Timings follow the public animation sequence used by the design reference:
   sub image at .6s, main image at .9s, copy at 1.2s and fixed CTA at 1.4s. */
.js .hero-copy,
.js .floating-phone {
  opacity: 0;
}

.js .hero-copy { transform: translateX(-40px); }
.js .floating-phone { transform: translateY(60px); }

.js .hero-sub::after,
.js .hero-main::after,
.js .reveal-mask::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  background: #fff;
  transform: scaleX(1);
  transform-origin: right center;
  pointer-events: none;
}

.js body.is-ready .brand-mark { animation: logoSpring .9s .55s cubic-bezier(.34,1.56,.64,1) both; }
.js body.is-ready .hero-sub::after { animation: wipeOpen .8s .6s cubic-bezier(.76,0,.24,1) forwards; }
.js body.is-ready .hero-main::after { animation: wipeOpen .8s .9s cubic-bezier(.76,0,.24,1) forwards; }
.js body.is-ready .hero-copy { animation: copySlide .7s 1.2s cubic-bezier(.22,1,.36,1) forwards; }
.js body.is-ready .floating-phone {
  animation:
    phoneEnter .6s 1.4s cubic-bezier(.76,0,.24,1) forwards,
    phoneNudge 4.5s 2.8s ease-in-out infinite;
}

.js .reveal {
  --reveal-delay: 0ms;
  opacity: 0;
  will-change: transform, opacity;
}
.js .reveal-left { transform: translateX(-42px); }
.js .reveal-up { transform: translateY(58px); }
.js .reveal-pop { transform: translateY(35px) scale(.76); }
.js .reveal-row { transform: translateX(-34px); }
.js .reveal-mask { opacity: 1; }

.js .reveal-left.is-visible,
.js .reveal-up.is-visible,
.js .reveal-row.is-visible {
  animation: revealMove .85s var(--reveal-delay) cubic-bezier(.22,1,.36,1) forwards;
}
.js .reveal-pop.is-visible {
  animation: revealPop .85s var(--reveal-delay) cubic-bezier(.34,1.56,.64,1) forwards;
}
.js .reveal-mask.is-visible::after {
  animation: wipeOpen 1s var(--reveal-delay) cubic-bezier(.76,0,.24,1) forwards;
}
.js .reveal-mask.is-visible { opacity: 1; }

.js .trouble-photo.reveal-mask::after,
.js .staff-photo.reveal-mask::after { background: #fff; }

@keyframes logoSpring {
  0% { transform: rotate(-6deg) scale(.82); }
  55% { transform: rotate(3deg) scale(1.08); }
  100% { transform: rotate(0) scale(1); }
}
@keyframes copyRise {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes copySlide {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes briefRise {
  0% { opacity: 0; transform: translateY(25px) scale(.97); }
  70% { opacity: 1; transform: translateY(-3px) scale(1.01); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes wipeOpen {
  from { transform: scaleX(1); }
  to { transform: scaleX(0); }
}
@keyframes revealMove {
  from { opacity: 0; }
  to { opacity: 1; transform: translate(0, 0); }
}
@keyframes revealPop {
  0% { opacity: 0; }
  65% { opacity: 1; transform: translateY(-5px) scale(1.05); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes phoneEnter {
  from { opacity: 0; transform: translateY(60px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes phoneNudge {
  0%, 84%, 100% { transform: translateY(0) scale(1); }
  88% { transform: translateY(4px) scale(1.02,.95); }
  92% { transform: translateY(-7px) scale(.97,1.06); }
  96% { transform: translateY(0) scale(1); }
}

@media (max-width: 1320px) {
  .header-inner { width: 100%; padding-left: 35px; }
  .brand { width: 286px; min-width: 286px; }
  .brand-name { font-size: 26px; }
  .brand-mark { width: 72px; height: 72px; }
  .desktop-nav { gap: 22px; padding-left: 3vw; }
  .desktop-nav strong { font-size: 12px; }
  .hero { min-height: 660px; }
}

@media (max-width: 1050px) {
  .site-header { height: 120px; }
  .header-inner { width: 100%; height: 120px; padding: 24px 0 22px 25px; }
  .brand { width: 270px; min-width: 270px; height: 72px; }
  .brand-name { font-size: 24px; }
  .brand-company { font-size: 10px; }
  .brand-mark { width: 66px; height: 66px; }
  .desktop-nav { gap: 18px; padding-right: 15px; }
  .hero { min-height: 610px; padding-top: 120px; }
  .hero-main { min-height: 430px; }
  .about-grid { gap: 45px; }
  .trouble-inner { grid-template-columns: 290px 1fr; gap: 45px; padding-left: 50px; }
  .trouble-figure { width: 290px; height: 400px; }
  .service-panel { padding: 50px 38px; gap: 35px 22px; }
}

@media (min-width: 801px) and (max-width: 860px) {
  .desktop-nav a:nth-child(4) { display: none; }
}

@media (max-width: 800px) {
  body { padding-bottom: 76px; }
  .site-header { height: 86px; }
  .header-inner { align-items: center; width: 100%; height: 86px; padding: 10px 17px; border-radius: 0; }
  .brand { width: 270px; min-width: 270px; height: 64px; }
  .brand-area { top: 2px; font-size: 9px; }
  .brand-name { bottom: 13px; font-size: 23px; }
  .brand-company { font-size: 10px; }
  .brand-mark { right: 1px; width: 64px; height: 64px; }
  .desktop-nav { display: none; }
  .menu-button {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 48px;
    height: 48px;
    margin-left: auto;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: var(--accent);
    -webkit-tap-highlight-color: transparent;
  }
  .menu-button:focus { outline: none; }
  .menu-button:focus-visible {
    outline: 3px solid rgba(198, 83, 29, .22);
    outline-offset: 3px;
  }
  .menu-button span {
    display: block;
    width: 25px;
    height: 3px;
    border-radius: 999px;
    background: #fff;
    transform-origin: center;
    transition: transform .25s ease, opacity .18s ease;
  }
  .menu-button[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-button[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0;
    padding: 110px 35px 90px;
    color: #fff;
    background: var(--accent);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity .25s, visibility .25s, transform .25s;
  }
  .mobile-menu.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .mobile-menu a { display: flex; justify-content: space-between; align-items: baseline; padding: 18px 4px; border-bottom: 1px dashed rgba(255,255,255,.5); font-size: 17px; letter-spacing: .09em; }
  .mobile-menu span { font-family: Georgia, serif; font-size: 11px; opacity: .75; }

  .hero { min-height: 700px; margin-bottom: 110px; padding-top: 60px; }
  .hero-main-wrap { margin: 0 0 0 21%; }
  .hero-main { min-height: 0; aspect-ratio: .97 / 1; }
  .hero-sub { top: 32px; left: 5%; width: 36%; z-index: 2; }
  .hero-copy { left: 7%; bottom: 0; width: 83%; padding: 27px 24px 0 0; background: #fff; }
  .eyebrow { margin-bottom: 13px; font-size: 12px; }
  .hero h1 { margin-bottom: 18px; font-size: clamp(31px, 9vw, 42px); line-height: 1.45; }
  .hero-copy > p:last-child { width: 100%; font-size: 13px; }
  .photo-label { font-size: 11px; }
  .photo-label small { font-size: 8px; }

  .section-width { width: calc(100% - 40px); }
  .about { margin-bottom: 110px; }
  .about-wide-photo { width: calc(100% + 20px); aspect-ratio: 1.45 / 1; margin: 0 0 50px -20px; }
  .about-grid { display: flex; flex-direction: column; gap: 35px; padding: 0; }
  .section-en { font-size: 17px; }
  .about h2 { font-size: 23px; }
  .about-copy > p:not(.section-en) { font-size: 13px; }
  .about-service-link { min-height: 58px; margin-top: 28px; padding: 0 19px 0 22px; font-size: 13px; }
  .about-side-photo { width: 76%; margin-left: auto; aspect-ratio: 1 / 1.12; }
  .trouble { margin-bottom: 105px; }
  .trouble-backdrop { top: 9%; width: 92%; }
  .trouble-photo { width: 90%; aspect-ratio: 1.55 / 1; }
  .trouble-inner { width: calc(100% - 40px); margin-top: 45px; padding: 0 0 60px 38px; }
  .vertical-en { left: 2px; font-size: 14px; }
  .trouble-intro { display: flex; flex-direction: column; gap: 36px; margin-bottom: 52px; }
  .trouble-figure { width: 67%; height: auto; aspect-ratio: .82 / 1; }
  .trouble-copy { padding: 0; }
  .trouble h2 { font-size: 24px; }
  .trouble-copy > p:last-child { font-size: 12px; }
  .trouble-grid { display: block; }
  .trouble-card { width: 100%; margin: 0 auto 46px; padding: 29px 17px 17px; }
  .trouble-card:last-child { margin-bottom: 0; }
  .trouble-card h3 { min-height: 58px; font-size: 18px; }
  .trouble-card li { font-size: 13px; }
  .trouble-closing { margin-top: 48px; }
  .trouble-closing > p { font-size: 15px; }
  .trouble-closing h3 { margin-bottom: 24px; font-size: 20px; line-height: 1.6; }
  .trouble-closing h3 strong { display: block; width: fit-content; margin: 0 auto 2px; font-size: 27px; }
  .trouble-closing > a { flex-direction: column; gap: 2px; width: 100%; min-height: 76px; padding: 10px 20px; }
  .trouble-closing > a span { font-size: 11px; }
  .trouble-closing > a strong { padding: 0; border-left: 0; font-size: 25px; }

  .service { margin-bottom: 105px; padding: 74px 20px 35px; }
  .section-heading h2 { font-size: 24px; }
  .service-panel { display: block; margin-top: 33px; padding: 35px 24px; border-radius: 22px; }
  .service-card { margin-bottom: 45px; }
  .service-card-small { margin-bottom: 20px; padding: 24px 20px; }
  .service-card:last-child { margin-bottom: 0; }
  .service-photo { margin-bottom: 20px; }

  .price { margin-bottom: 105px; }
  .price-heading-wrap { display: block; margin-bottom: 35px; }
  .price-heading-wrap > p { margin-top: 20px; font-size: 12px; }
  .price-row { grid-template-columns: 62px 1fr; min-height: 120px; padding: 14px 0; }
  .price-icon { grid-row: 1; width: 55px; height: 55px; }
  .price-row > div:nth-child(2) { grid-row: 1; }
  .price-row > strong { grid-column: 2; margin-top: 10px; font-size: 29px; }
  .price-extra { display: block; padding: 22px 20px; }
  .price-extra > div { margin-bottom: 15px; }
  .price-extra strong { font-size: 24px; }
  .price-group-heading { align-items: center; gap: 15px; margin-bottom: 18px; }
  .price-group-heading h3 { font-size: 19px; }
  .price-group-heading > small { padding: 6px 10px; font-size: 9px; }
  .price-reference { margin-top: 65px; }
  .price-card-grid { display: block; }
  .price-card { margin-bottom: 16px; padding: 24px 20px 21px; border-radius: 18px; }
  .price-card:last-child { margin-bottom: 0; }
  .price-card header { min-height: 0; margin-bottom: 18px; }
  .price-card h4 { font-size: 16px; }
  .price-card dl > div { gap: 12px; padding: 13px 0; }
  .price-card dd { font-size: 19px; }
  .maintenance-price-grid .price-card { padding-inline: 20px; }
  .price-notes { display: block; margin-top: 25px; padding: 22px 20px; }
  .price-notes > strong { display: block; margin-bottom: 12px; }
  .staff-photo { width: calc(100% - 20px); aspect-ratio: 1.45 / 1; margin-bottom: 170px; border-radius: 55px 55px 0 0; }

  .flow { margin-bottom: 100px; padding: 65px 0; }
  .flow-list { display: block; margin: 45px 0; }
  .flow-list li { width: 85%; min-height: 0; margin: 0 auto 65px; padding: 32px 24px 30px; }
  .flow-list li:not(:last-child)::after { top: auto; right: 50%; bottom: -38px; width: 12px; height: 26px; transform: translateX(50%) skewY(35deg); border-top: 0; border-right: 2px solid rgba(255,255,255,.82); border-bottom: 2px solid rgba(255,255,255,.82); }
  .flow-number { left: 24px; }
  .flow-phone a strong { font-size: 29px; }
  .flow-phone a span { display: none; }

  .company { display: block; margin-bottom: 80px; }
  .company-visual { padding-top: 50px; }
  .map-embed { height: 300px; }
  .company dl div { grid-template-columns: 85px 1fr; }

  .site-footer { padding: 60px 22px 25px; }
  .footer-inner { display: block; margin-bottom: 60px; }
  .footer-brand strong { font-size: 26px; }
  .footer-contact { margin-top: 45px; text-align: left; }
  .footer-contact a { font-size: 30px; }

  .floating-phone {
    right: 0;
    bottom: 0;
    left: 0;
    overflow: hidden;
    isolation: isolate;
    flex-direction: row;
    width: 100%;
    height: 76px;
    padding: 0 18px;
    border: 0;
    border-radius: 0;
    box-shadow: 0 -4px 20px rgba(0,0,0,.15);
    transform-origin: center bottom;
  }
  .floating-phone::before, .floating-eyebrow { display: none; }
  .floating-phone::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -34%;
    z-index: 0;
    width: 22%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.28), transparent);
    transform: skewX(-18deg);
    pointer-events: none;
  }
  .floating-phone > * { position: relative; z-index: 1; }
  .floating-phone svg { width: 28px; height: 28px; margin: 0 13px 0 0; }
  .floating-label { font-size: 16px; }
  .floating-number { margin: 0 0 0 17px; padding-left: 17px; border-left: 1px solid rgba(255,255,255,.55); font-size: 18px; }

  .js body.is-ready .floating-phone {
    animation:
      phoneBarEnter .55s 1.25s cubic-bezier(.76,0,.24,1) forwards,
      phoneBarNudge 4.5s 2.7s ease-in-out infinite;
  }
  .js body.is-ready .floating-phone::after { animation: phoneBarShine 4.5s 3s ease-in-out infinite; }
  .js body.is-ready .floating-phone svg { animation: phoneIconRing 4.5s 2.7s ease-in-out infinite; }
}

@media (max-width: 380px) {
  .brand { width: 250px; min-width: 250px; }
  .brand-name { font-size: 21px; }
  .brand-company { font-size: 9px; }
  .brand-mark { width: 60px; height: 60px; }
  .hero { min-height: 680px; }
  .floating-number { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
  .js .brand,
  .js .hero-copy,
  .js .floating-phone,
  .js .reveal { opacity: 1 !important; transform: none !important; }
  .js .hero-sub::after,
  .js .hero-main::after,
  .js .reveal-mask::after { display: none !important; }
}

section[id] { scroll-margin-top: 30px; }
#about { scroll-margin-top: 45px; }

@keyframes phoneBarEnter {
  from { opacity: 0; transform: translateY(100%); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes phoneBarNudge {
  0%, 80%, 100% { transform: scaleY(1); }
  84% { transform: scaleY(.96); }
  88% { transform: scaleY(1.075); }
  92% { transform: scaleY(.99); }
  96% { transform: scaleY(1.025); }
}

@keyframes phoneBarShine {
  0%, 78% { left: -34%; opacity: 0; }
  81% { opacity: 1; }
  91% { left: 112%; opacity: 1; }
  94%, 100% { left: 112%; opacity: 0; }
}

@keyframes phoneIconRing {
  0%, 80%, 100% { transform: rotate(0) scale(1); }
  84% { transform: rotate(-9deg) scale(1.05); }
  88% { transform: rotate(9deg) scale(1.12); }
  92% { transform: rotate(-5deg) scale(1.06); }
  96% { transform: rotate(0) scale(1); }
}

