:root {
  --navy: #0c2337;
  --navy-2: #102f48;
  --ink: #17212a;
  --muted: #68737d;
  --orange: #f5a623;
  --orange-dark: #de8912;
  --cream: #f7f5f0;
  --line: #dce1e4;
  --white: #fff;
  --max: 1180px;
  --shadow: 0 18px 50px rgba(10, 34, 53, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.8;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

svg {
  display: block;
}

.sp-only {
  display: none;
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  height: 82px;
  align-items: center;
  padding: 0 3vw;
  color: var(--white);
  transition: 0.3s ease;
}

.site-header.scrolled {
  height: 70px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 4px 24px rgba(14, 35, 53, 0.1);
  backdrop-filter: blur(10px);
}

.brand {
  display: inline-flex;
  min-width: 210px;
  align-items: center;
  gap: 11px;
  line-height: 1.15;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--navy);
  background: var(--orange);
  transform: skew(-7deg);
}

.brand-mark svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
  transform: skew(7deg);
}

.brand strong {
  display: block;
  font-size: 1.28rem;
  letter-spacing: 0.08em;
}

.brand small {
  display: block;
  margin-top: 4px;
  font-family: "Oswald", sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  opacity: 0.7;
}

.site-header nav {
  display: flex;
  margin: 0 auto;
  gap: clamp(20px, 3vw, 46px);
}

.site-header nav a {
  position: relative;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.site-header nav a::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--orange);
  transform: scaleX(0);
  transition: 0.2s;
}

.site-header nav a:hover::after {
  transform: scaleX(1);
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Oswald", sans-serif;
  font-size: 1.15rem;
  letter-spacing: 0.05em;
}

.header-phone svg {
  width: 21px;
  fill: var(--orange);
}

.header-phone small {
  display: block;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  opacity: 0.75;
}

.hero {
  position: relative;
  min-height: 790px;
  height: 94svh;
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
}

.hero-image {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 20, 32, 0.96) 0%, rgba(6, 24, 38, 0.84) 36%, rgba(8, 26, 40, 0.26) 66%, rgba(8, 26, 40, 0.08) 100%),
    linear-gradient(0deg, rgba(5, 20, 32, 0.5), transparent 45%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  width: min(92%, var(--max));
  height: 100%;
  margin: 0 auto;
  flex-direction: column;
  justify-content: center;
  padding-top: 72px;
}

.eyebrow,
.section-label {
  margin: 0 0 22px;
  color: var(--orange);
  font-family: "Oswald", sans-serif;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.22em;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
}

.eyebrow span {
  width: 36px;
  height: 2px;
  background: var(--orange);
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.9rem, 5.3vw, 5.1rem);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0.025em;
}

.hero h1 em {
  font-style: normal;
}

.hero-copy {
  margin: 26px 0 34px;
  font-size: clamp(1rem, 1.25vw, 1.16rem);
  font-weight: 500;
  line-height: 2;
  letter-spacing: 0.04em;
}

.hero-actions,
.contact-actions {
  display: flex;
  align-items: stretch;
  gap: 14px;
}

.button {
  display: inline-flex;
  min-height: 64px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 10px 25px;
  font-size: 0.91rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition:
    transform 0.2s,
    background 0.2s;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  min-width: 260px;
  color: var(--navy);
  background: var(--orange);
  box-shadow: 0 10px 28px rgba(245, 166, 35, 0.22);
}

.button-primary:hover {
  background: #ffb633;
}

.button-primary svg {
  width: 23px;
  fill: var(--navy);
}

.button-primary small {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.09em;
}

.button-primary span {
  font-family: "Oswald", sans-serif;
  font-size: 1.25rem;
  line-height: 1.25;
  letter-spacing: 0.06em;
}

.button-outline {
  min-width: 210px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: var(--white);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(5px);
}

.button-outline:hover {
  background: rgba(255, 255, 255, 0.12);
}

.hero-points {
  display: flex;
  margin-top: 45px;
  gap: 25px;
}

.hero-points span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.hero-points span::before {
  display: block;
  width: 17px;
  height: 17px;
  border: 1px solid var(--orange);
  content: "✓";
  color: var(--orange);
  font-size: 0.65rem;
  line-height: 15px;
  text-align: center;
}

.image-note {
  position: absolute;
  z-index: 2;
  right: 2%;
  bottom: 18px;
  margin: 0;
  font-size: 0.66rem;
  letter-spacing: 0.05em;
  opacity: 0.78;
}

.section {
  width: min(90%, var(--max));
  margin: 0 auto;
  padding: 120px 0;
}

.section-heading h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2rem, 3.2vw, 3rem);
  line-height: 1.45;
  letter-spacing: 0.035em;
}

.section-heading > p:last-child {
  margin: 18px 0 0;
  color: var(--muted);
}

.section-heading.centered {
  text-align: center;
}

.intro {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 10%;
}

.intro-body {
  padding-top: 45px;
  color: var(--muted);
}

.intro-body .lead {
  margin-top: 0;
  color: var(--ink);
  font-size: 1.13rem;
  font-weight: 600;
  line-height: 2.1;
}

.strengths {
  display: grid;
  width: min(94%, 1280px);
  margin: 0 auto 90px;
  grid-template-columns: repeat(3, 1fr);
  background: var(--white);
  box-shadow: var(--shadow);
}

.strengths article {
  position: relative;
  padding: 55px 45px 48px;
  border-right: 1px solid var(--line);
}

.strengths article:last-child {
  border: 0;
}

.strengths .number {
  position: absolute;
  top: 14px;
  right: 22px;
  color: #edf0f1;
  font-family: "Oswald", sans-serif;
  font-size: 3.5rem;
  font-weight: 600;
  line-height: 1;
}

.icon-circle {
  display: grid;
  width: 60px;
  height: 60px;
  place-items: center;
  border-radius: 50%;
  color: var(--orange);
  background: #fff6e7;
}

.icon-circle svg {
  width: 27px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.strengths h3 {
  margin: 22px 0 12px;
  color: var(--navy);
  font-size: 1.2rem;
}

.strengths p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.services {
  padding-top: 80px;
}

.service-grid {
  display: grid;
  margin-top: 55px;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.service-card {
  position: relative;
  min-height: 375px;
  padding: 44px 28px 32px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
}

.service-card.featured {
  border-color: var(--navy);
  color: var(--white);
  background: var(--navy);
}

.service-no {
  position: absolute;
  top: 18px;
  right: 21px;
  color: #e7eaec;
  font-family: "Oswald", sans-serif;
  font-size: 2.8rem;
  font-weight: 600;
  line-height: 1;
}

.featured .service-no {
  color: rgba(255, 255, 255, 0.09);
}

.service-icon {
  display: grid;
  width: 82px;
  height: 82px;
  margin-top: 12px;
  place-items: center;
  color: var(--navy);
  background: var(--cream);
}

.featured .service-icon {
  color: var(--orange);
  background: rgba(255, 255, 255, 0.08);
}

.service-icon svg {
  width: 46px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.service-card h3 {
  margin: 25px 0 12px;
  color: var(--navy);
  font-size: 1.3rem;
}

.featured h3 {
  color: var(--white);
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.87rem;
}

.featured p {
  color: rgba(255, 255, 255, 0.72);
}

.service-card .tag {
  display: inline-block;
  margin-top: 20px;
  padding: 5px 9px;
  color: var(--navy);
  background: var(--orange);
  font-size: 0.67rem;
  font-weight: 700;
}

.caution {
  margin: 25px 0 0;
  color: var(--muted);
  font-size: 0.72rem;
}

.works {
  padding: 120px 0 90px;
  color: var(--white);
  background: var(--navy);
}

.works .section {
  padding: 0 0 50px;
}

.section-heading.light h2 {
  color: var(--white);
}

.section-heading.light > p:last-child {
  color: rgba(255, 255, 255, 0.6);
}

.work-grid {
  display: grid;
  width: min(94%, 1400px);
  margin: 0 auto;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.work-grid figure {
  position: relative;
  height: 470px;
  margin: 0;
  overflow: hidden;
  background: #132f45;
}

.work-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.work-grid figure:hover img {
  transform: scale(1.035);
}

.work-grid figure::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(0deg, rgba(4, 18, 29, 0.93), transparent 52%);
}

.work-grid figcaption {
  position: absolute;
  z-index: 2;
  right: 28px;
  bottom: 27px;
  left: 28px;
}

.work-grid figcaption span {
  display: block;
  margin-bottom: 7px;
  color: var(--orange);
  font-family: "Oswald", sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.17em;
}

.work-grid figcaption strong {
  display: block;
  font-size: 1.3rem;
}

.work-grid figcaption small {
  color: rgba(255, 255, 255, 0.66);
}

.work-disclaimer {
  width: min(90%, var(--max));
  margin: 22px auto 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.7rem;
  text-align: right;
}

.area {
  display: grid;
  align-items: center;
  grid-template-columns: 1fr 0.9fr;
  gap: 8%;
}

.area-content > p {
  color: var(--muted);
}

.area-tags {
  display: flex;
  margin: 28px 0 10px;
  flex-wrap: wrap;
  gap: 9px;
}

.area-tags span {
  padding: 8px 15px;
  border: 1px solid #cbd3d8;
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 600;
}

.text-link {
  display: inline-flex;
  margin-top: 25px;
  align-items: center;
  gap: 15px;
  border-bottom: 1px solid var(--navy);
  color: var(--navy);
  font-size: 0.88rem;
  font-weight: 700;
}

.text-link span {
  color: var(--orange-dark);
  font-size: 1.2rem;
}

.area-visual {
  position: relative;
  min-height: 450px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.74)),
    repeating-linear-gradient(0deg, transparent 0 28px, #d7dde0 29px 30px),
    repeating-linear-gradient(90deg, transparent 0 28px, #d7dde0 29px 30px);
}

.area-visual svg {
  width: 100%;
  height: 100%;
}

.map-shape {
  fill: #e6eaeb;
  stroke: #c8d0d4;
  stroke-width: 2;
}

.map-line {
  fill: none;
  stroke: #fff;
  stroke-width: 4;
  stroke-linecap: round;
}

.map-point {
  fill: var(--navy);
  stroke: var(--white);
  stroke-width: 4;
}

.map-point.main {
  fill: var(--orange);
}

.map-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  padding: 11px 18px;
  color: var(--white);
  background: var(--navy);
  box-shadow: var(--shadow);
  transform: translate(12px, 5px);
}

.map-badge::before {
  position: absolute;
  top: 50%;
  left: -9px;
  width: 18px;
  height: 18px;
  content: "";
  background: var(--navy);
  transform: translateY(-50%) rotate(45deg);
}

.map-badge span,
.map-badge strong {
  position: relative;
  display: block;
}

.map-badge span {
  color: var(--orange);
  font-family: "Oswald", sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.15em;
}

.company {
  display: grid;
  padding-top: 60px;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 8%;
}

.company dl {
  margin: 0;
  border-top: 1px solid var(--line);
}

.company dl > div {
  display: grid;
  padding: 21px 0;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 130px 1fr;
  gap: 20px;
}

.company dt {
  color: var(--muted);
  font-size: 0.82rem;
}

.company dd {
  margin: 0;
  font-size: 0.91rem;
}

.company dd a {
  border-bottom: 1px solid var(--ink);
}

.contact {
  padding: 105px 5%;
  color: var(--white);
  background:
    linear-gradient(110deg, rgba(5, 22, 35, 0.98), rgba(11, 40, 61, 0.94)),
    url("assets/hero-electrician.jpg") center / cover;
  text-align: center;
}

.contact-inner {
  width: min(850px, 100%);
  margin: 0 auto;
}

.contact h2 {
  margin: 0;
  font-size: clamp(2rem, 3.4vw, 3.2rem);
  line-height: 1.5;
}

.contact-inner > p:not(.section-label) {
  color: rgba(255, 255, 255, 0.68);
}

.contact-actions {
  margin-top: 36px;
  justify-content: center;
}

.button-instagram {
  min-width: 230px;
  color: var(--white);
  background: linear-gradient(135deg, #7138c7, #d62976 55%, #f09433);
}

.button-instagram svg {
  width: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

footer {
  display: grid;
  justify-items: center;
  padding: 55px 5%;
  color: rgba(255, 255, 255, 0.72);
  background: #071827;
  text-align: center;
}

.footer-brand {
  min-width: 0;
  color: var(--white);
}

footer > p {
  margin: 20px 0 12px;
  font-size: 0.78rem;
  letter-spacing: 0.15em;
}

footer > small {
  font-size: 0.62rem;
  opacity: 0.55;
}

.mobile-cta {
  display: none;
}

@media (max-width: 1020px) {
  .site-header nav {
    display: none;
  }

  .header-phone {
    margin-left: auto;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-card {
    min-height: 330px;
  }

  .work-grid figure {
    height: 380px;
  }
}

@media (max-width: 720px) {
  body {
    padding-bottom: 64px;
  }

  .site-header,
  .site-header.scrolled {
    height: 62px;
    padding: 0 16px;
  }

  .site-header:not(.scrolled) {
    background: linear-gradient(180deg, rgba(5, 20, 32, 0.8), transparent);
  }

  .brand {
    min-width: 0;
    gap: 8px;
  }

  .brand-mark {
    width: 35px;
    height: 35px;
  }

  .brand-mark svg {
    width: 20px;
    height: 20px;
  }

  .brand strong {
    font-size: 1.02rem;
  }

  .brand small {
    font-size: 0.5rem;
  }

  .header-phone {
    display: none;
  }

  .hero {
    min-height: 680px;
    height: 92svh;
    max-height: 820px;
  }

  .hero-image {
    object-position: 61% center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(5, 20, 32, 0.94), rgba(5, 20, 32, 0.5) 72%, rgba(5, 20, 32, 0.18)),
      linear-gradient(0deg, rgba(5, 20, 32, 0.78), transparent 48%);
  }

  .hero-inner {
    width: auto;
    padding: 96px 20px 35px;
    justify-content: flex-end;
  }

  .eyebrow {
    margin-bottom: 14px;
    font-size: 0.61rem;
    letter-spacing: 0.14em;
  }

  .eyebrow span {
    width: 22px;
  }

  .hero h1 {
    font-size: clamp(2.05rem, 9vw, 2.4rem);
    line-height: 1.38;
    letter-spacing: 0;
  }

  .hero h1 em {
    display: block;
    font-size: 0.82em;
    line-height: 1.42;
  }

  .sp-only {
    display: block;
  }

  .hero-copy {
    margin: 16px 0 21px;
    font-size: 0.86rem;
    line-height: 1.8;
  }

  .hero-actions {
    display: block;
  }

  .hero-actions .button-primary {
    display: none;
  }

  .button-outline {
    width: 100%;
    min-height: 54px;
  }

  .hero-points {
    margin-top: 20px;
    gap: 12px;
  }

  .hero-points span {
    font-size: 0.67rem;
    letter-spacing: 0;
  }

  .hero-points span::before {
    width: 15px;
    height: 15px;
    line-height: 13px;
  }

  .image-note {
    right: 15px;
    bottom: 8px;
    font-size: 0.54rem;
  }

  .section {
    width: auto;
    padding: 76px 20px;
  }

  .section-label {
    margin-bottom: 13px;
  }

  .section-heading h2 {
    font-size: 2rem;
  }

  .intro {
    display: block;
  }

  .intro-body {
    padding-top: 30px;
  }

  .intro-body .lead {
    font-size: 1rem;
    line-height: 1.9;
  }

  .intro-body .lead br {
    display: none;
  }

  .intro-body p:last-child {
    font-size: 0.87rem;
  }

  .strengths {
    width: calc(100% - 32px);
    margin-bottom: 30px;
    grid-template-columns: 1fr;
  }

  .strengths article {
    padding: 36px 28px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .strengths .number {
    font-size: 3rem;
  }

  .icon-circle {
    width: 52px;
    height: 52px;
  }

  .services {
    padding-top: 60px;
  }

  .service-grid {
    margin-top: 38px;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .service-card {
    min-height: 0;
    padding: 31px 25px;
  }

  .service-icon {
    width: 68px;
    height: 68px;
    margin: 0;
  }

  .service-icon svg {
    width: 38px;
  }

  .service-card h3 {
    margin: 18px 0 8px;
  }

  .works {
    padding: 76px 0 58px;
  }

  .works .section {
    padding: 0 20px 35px;
  }

  .work-grid {
    width: auto;
    margin: 0 16px;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .work-grid figure {
    height: 390px;
  }

  .work-disclaimer {
    width: auto;
    margin: 18px 20px 0;
    text-align: left;
  }

  .area {
    display: flex;
    flex-direction: column;
    gap: 42px;
  }

  .area-content {
    order: 1;
  }

  .area-visual {
    width: 100%;
    min-height: 340px;
  }

  .company {
    display: block;
    padding-top: 72px;
  }

  .company dl {
    margin-top: 36px;
  }

  .company dl > div {
    display: block;
    padding: 17px 0;
  }

  .company dd {
    margin-top: 6px;
    line-height: 1.7;
  }

  .contact {
    padding: 76px 20px;
  }

  .contact h2 {
    font-size: 2rem;
  }

  .contact h2 br {
    display: none;
  }

  .contact-actions {
    display: block;
  }

  .contact-actions .button {
    width: 100%;
    margin-top: 10px;
  }

  footer {
    padding-bottom: 48px;
  }

  .mobile-cta {
    position: fixed;
    z-index: 200;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    width: 100vw;
    height: 64px;
    grid-template-columns: 1fr 1fr;
    padding: 6px;
    gap: 5px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 -5px 24px rgba(7, 24, 39, 0.14);
  }

  .mobile-cta a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--navy);
    background: var(--orange);
    font-size: 0.82rem;
    font-weight: 800;
  }

  .mobile-cta a:last-child {
    color: var(--white);
    background: var(--navy);
  }

  .mobile-cta svg {
    width: 19px;
    fill: currentColor;
  }

  .mobile-cta a:last-child svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
