/* SHURI TECH — mobile-first starter stylesheet */
:root {
  --page-bg: #dbedff;
  --surface: #f7fbff;
  --surface-strong: #ffffff;
  --ink: #14263a;
  --muted: #52677d;
  --blue: #1767b1;
  --blue-hover: #0f518f;
  --line: #bdd4ea;
  --dark: #14283d;
  --dark-muted: #c5d7e9;
  --radius: 1.25rem;
  --content-width: 1120px;
  --page-gutter: 1.15rem;
  --shadow: 0 12px 32px rgba(26, 62, 98, 0.08);
  --font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN",
    "Yu Gothic", Meiryo, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
body {
  margin: 0; background: var(--page-bg); color: var(--ink);
  font-family: var(--font-family);
  font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid #ed9b26; outline-offset: 3px; }
.skip-link { position: absolute; top: -100px; left: 1rem; z-index: 1000; padding: .7rem 1rem; background: #fff; border-radius: .5rem; }
.skip-link:focus { top: 1rem; }
.site-header {
  position: sticky; top: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 4.5rem; padding: .75rem var(--page-gutter);
  background: rgba(219, 237, 255, .94); border-bottom: 1px solid rgba(189, 212, 234, .75); backdrop-filter: blur(12px);
}
.brand { display: inline-flex; align-items: center; text-decoration: none; flex: 0 0 auto; }
.brand--header img { display: block; width: 82px; height: 82px; object-fit: contain; }
.brand span { color: var(--blue); }
.menu-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 10px; border: 1px solid var(--line); border-radius: .75rem; background: var(--surface); cursor: pointer; }
.menu-toggle__line { display: block; width: 100%; height: 2px; background: var(--ink); border-radius: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.site-nav { position: absolute; top: calc(100% + 1px); right: var(--page-gutter); left: var(--page-gutter); display: none; flex-direction: column; gap: .2rem; padding: .7rem; border: 1px solid var(--line); border-radius: 1rem; background: var(--surface-strong); box-shadow: var(--shadow); }
.site-nav.is-open { display: flex; }
.site-nav a {
  position: relative;
  padding: .75rem .85rem;
  border-radius: .65rem;
  font-weight: 650;
  text-decoration: none;
}
.site-nav a:hover { background: var(--page-bg); }
.site-nav .nav-contact { color: var(--blue); }

.site-nav a:not(.button)::after {
  content: "";
  position: absolute;
  left: .8rem;
  right: .8rem;
  bottom: .35rem;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}

.site-nav a:not(.button):hover::after,
.site-nav a:not(.button):focus-visible::after {
  transform: scaleX(1);
}

.site-nav a:not(.button):active {
  color: var(--blue);
}
.section { width: min(100% - (var(--page-gutter) * 2), var(--content-width)); margin-inline: auto; padding-block: 4.2rem; }
.hero { display: grid; align-items: stretch; gap: 2rem; padding-block: 3.5rem; }
.hero__copy { align-self: center; min-width: 0; }
.hero__visual { position: relative; min-width: 0; min-height: 320px; }
.hero__copy h1[lang="ja"] {
  line-height: 1.5;
  letter-spacing: 0.02em;
  overflow-wrap: anywhere;
  white-space: nowrap;
}

.hero__lead[lang="ja"] {
  line-height: 1.9;
  font-weight: 500;
}

.hero__description {
  line-height: 1.9;
}
.eyebrow { margin: 0 0 .75rem; color: var(--blue); font-size: 1.75rem; font-weight: 850; letter-spacing: .12em; line-height: 1.4; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.15; }
h1 { max-width: 760px; margin-bottom: 1.2rem; font-size: clamp(2.45rem, 10vw, 4.9rem); letter-spacing: -.065em; }
h1 span { color: var(--blue); }
h2 { margin-bottom: 1rem; font-size: clamp(2rem, 7vw, 3.25rem); letter-spacing: -.05em; }
h3 { margin-bottom: .55rem; font-size: 1.2rem; letter-spacing: -.02em; }
p { margin-bottom: 1rem; }
.hero__lead { max-width: 38rem; color: var(--muted); font-size: clamp(1.08rem, 3vw, 1.35rem); }
.hero__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; margin-top: 1.6rem; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: .8rem 1.1rem; border: 1px solid transparent; border-radius: .8rem; font-weight: 750; line-height: 1.3; text-align: center; text-decoration: none; transition: background-color .18s ease, transform .18s ease; }
.button:hover { transform: translateY(-1px); }
.button--primary { color: #fff; background: var(--blue); }
.button--primary:hover { background: var(--blue-hover); }
.button--line { color: #fff; background: #087b48; }
.button--line:hover { background: #06663b; }
.text-link { color: var(--blue); font-weight: 750; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.hero__highlights { display: grid; gap: .4rem; margin: 1.8rem 0 0; padding: 0; color: var(--muted); list-style: none; }
.hero__highlights li::before { content: "✓"; margin-right: .6rem; color: var(--blue); font-weight: 900; }
.image-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  width: 90%;
  min-height: 0;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  padding: 1rem;
  border: 2px dashed #a9c8e6;
  border-radius: 2rem;
  background: rgba(255, 255, 255, .38);
  color: var(--muted);
  text-align: center;
}
.hero__image {
  display: block;
  width: auto;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.section--light { width: 100%; padding-inline: var(--page-gutter); background: var(--surface); }
.section--light > * { width: min(100%, var(--content-width)); margin-inline: auto; }
.section-heading { max-width: 760px; margin-bottom: 2rem; }
.section-heading > p:last-child { max-width: 44rem; color: var(--muted); }
.feature-grid { display: grid; gap: 1rem; }
.feature-card, .contact-card { padding: 1.4rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.feature-card p, .contact-card p { margin-bottom: 0; color: var(--muted); }
.feature-card__number { display: inline-block; margin-bottom: 1.4rem; color: var(--blue); font-size: .8rem; font-weight: 900; letter-spacing: .1em; }
.repair-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.repair-card {
  min-width: 0;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}
.repair-card p {
  margin-bottom: 0;
  color: var(--muted);
}
.repair-notice {
  margin-top: 1.5rem;
  padding: 1.2rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .55);
}
.repair-notice p {
  margin-bottom: .75rem;
  color: var(--muted);
}
.repair-notice p:last-child {
  margin-bottom: 0;
}
.repair-notice strong {
  color: var(--ink);
}
.steps { display: grid; gap: 1.35rem; margin: 0; padding: 0; list-style: none; }
.step { display: grid; grid-template-columns: 2.8rem minmax(0, 1fr); gap: 1rem; }
.step__number { display: grid; width: 2.8rem; height: 2.8rem; place-items: center; border-radius: 50%; background: #fff; color: var(--blue); font-size: 1.1rem; font-weight: 900; box-shadow: var(--shadow); }
.step p { margin-bottom: 0; color: var(--muted); }
.step__note {
  display: block;
  font-size: 0.85em;
  margin-top: 6px;
  color: #666;
}
.section--dark { width: 100%; padding-inline: var(--page-gutter); background: var(--dark); color: #fff; }
.section--dark > * { width: min(100%, var(--content-width)); margin-inline: auto; }
.section--dark .eyebrow { color: #9ed0ff; }
.section--dark .section-heading > p:last-child { color: var(--dark-muted); }
#pricing {
  background: #3c6488;
}
.pricing-grid {
  display: grid;
  grid-template-columns: minmax(0, 420px);
  justify-content: center;
  gap: 1rem;
  width: 100%;
}

.price-card {
  width: 100%;
  box-sizing: border-box;
  padding: 1.5rem;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius);
  background: rgba(255,255,255,.14);
}
.price-card--accent { background: rgba(158,208,255,.12); border-color: rgba(158,208,255,.45); }
.price-card__label { margin-bottom: .5rem; color: var(--dark-muted); font-size: .88rem; }
.price-card__amount { margin-bottom: .8rem; font-size: clamp(2.2rem, 8vw, 3.4rem); font-weight: 900; letter-spacing: -.06em; line-height: 1.1; }
.price-card__amount span { margin-left: .3rem; font-size: 1rem; font-weight: 650; letter-spacing: 0; }
.price-card > p:last-child { margin-bottom: 0; color: var(--dark-muted); }
.pricing-notes { margin-top: 1.5rem; color: var(--dark-muted); font-size: .92rem; }
.pricing-notes strong { color: #fff; }
.pricing-notes p:last-child { margin-bottom: 0; }
.about {
  padding-block: 4.2rem;
  scroll-margin-top: 5.5rem;
}

.about__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: 3rem;
  max-width: var(--content-width);
  margin-inline: auto;
}

.about__visual {
  min-width: 0;
}

.about__image-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.75rem;
  border: 2px dashed #a9c8e6;
  border-radius: 2rem;
  background: rgba(255, 255, 255, 0.38);
}

.about__image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 680px;
  border-radius: 1.25rem;
  object-fit: contain;
}

.about__text {
  min-width: 0;
}

.about__eyebrow {
  margin-bottom: 0.75rem;
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.about h2 {
  margin: 0 0 1.5rem;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.3;
}

.about__text > p:not(.about__eyebrow) {
  line-height: 1.9;
  margin-bottom: 1.25rem;
}

.about__principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1.75rem 0;
}

.about__principle {
  padding: 1rem;
  background: #fff;
  border: 1px solid #dce7f1;
  border-radius: 10px;
}

.about__principle h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.about__principle p {
  margin-bottom: 0;
  font-size: 0.9rem;
  line-height: 1.7;
}

.about__closing {
  font-weight: 600;
}
.contact-grid { display: grid; gap: 1rem; }
.contact-card {
  display: flex;
  flex-direction: column;
}

.contact-card .button {
  margin-top: auto;
}
.service-map { width: min(100%, var(--content-width)); margin: 2.2rem auto 0; }
.service-map .section-heading { margin-bottom: 1rem; }
.service-map__frame { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.service-map__frame iframe { display: block; width: 100%; height: clamp(320px, 55vw, 460px); border: 0; }
.site-footer { padding: 2rem var(--page-gutter); border-top: 1px solid var(--line); text-align: center; }
.brand--footer { justify-content: center; }
.site-footer p { margin: .5rem 0 0; color: var(--muted); font-size: .9rem; }
.site-footer .copyright { margin-top: 1rem; font-size: .8rem; }
@media (min-width: 700px) {
  :root { --page-gutter: 2rem; }
  .site-header { min-height: 6.5rem; padding-inline: var(--page-gutter); }
  .brand--header img { width: 96px; height: 96px; }
  .menu-toggle { display: none; }
  .site-nav { position: static; display: flex; flex-direction: row; align-items: center; gap: .2rem; padding: 0; border: 0; background: transparent; box-shadow: none; }
  .site-nav a { padding: .65rem .8rem; }
  .site-nav .nav-contact { padding-inline: 1rem; border: 1px solid var(--line); background: #fff; }
  .hero { grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr); gap: 3rem; padding-block: 5rem; }
  .hero__actions { flex-direction: row; align-items: center; }
  .hero__visual { min-height: 0; }
  .about { padding-block: 5.5rem; }
  .section { padding-block: 5.5rem; }
  .section--light, .section--dark { padding-inline: var(--page-gutter); }
  .feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
  .feature-card { padding: 1.7rem; }
  .repair-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1.2rem; }
  .repair-card { grid-column: span 2; padding: 1.7rem; }
  .repair-card:nth-child(4) { grid-column: 2 / span 2; }
  .repair-card:nth-child(5) { grid-column: 4 / span 2; }
  .steps { gap: 1.6rem; }
  .step { grid-template-columns: 3rem minmax(0, 1fr); gap: 1.2rem; }
  .step__number { width: 3rem; height: 3rem; }
  .pricing-grid {
  grid-template-columns: minmax(0, 420px);
  justify-content: center;
  gap: 1.2rem;
}

.contact-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}
  .price-card, .contact-card { padding: 1.8rem; }
  .contact-card .button { width: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}


@media (max-width: 699px) {
  .about__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about__visual {
    width: min(100%, 360px);
    margin-inline: auto;
  }

  .about__principles {
    grid-template-columns: 1fr;
  }
}
@media (min-width: 600px) {
  #contact-title {
    white-space: nowrap;
  }
}


/* Enquiry form and supporting pages */
.contact-grid { grid-template-columns: 1fr; }
.enquiry-page, .privacy-page { max-width: 900px; }
.enquiry-title { font-size: clamp(2rem, 7vw, 3.2rem); line-height: 1.3; letter-spacing: -.03em; }
.enquiry-form { display: grid; gap: 1.25rem; }
.form-section {
  min-width: 0;
  margin: 0;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}
.form-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.form-field { display: grid; gap: .4rem; min-width: 0; margin-bottom: 1rem; }
.form-field:last-child { margin-bottom: 0; }
.form-field > label, .form-field label { font-weight: 700; }
.form-field input:not([type="checkbox"]):not([type="file"]),
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 48px;
  padding: .75rem .85rem;
  border: 1px solid #aebfd0;
  border-radius: .65rem;
  background: #fff;
  color: var(--ink);
}
.form-field textarea { min-height: 120px; resize: vertical; }
.form-field small, .form-intro { color: var(--muted); font-size: .88rem; }
.required { display: inline-block; margin-left: .25rem; color: #a02c2c; font-size: .78rem; font-weight: 700; }
.check-list { display: grid; gap: .75rem; margin-top: .35rem; }
.check-list label, .consent-label { display: flex; align-items: flex-start; gap: .65rem; font-weight: 500; }
.check-list input, .consent-label input { flex: 0 0 auto; width: 1.1rem; height: 1.1rem; margin-top: .25rem; accent-color: var(--blue); }
.form-warning { margin: 1rem 0 0; padding: .9rem 1rem; border-left: 4px solid #c58b2b; background: #fff8e9; color: #59451f; font-size: .9rem; }
.form-section--consent { background: #f7fbff; }
.consent-label a { color: var(--blue); font-weight: 700; }
.form-submit { display: grid; justify-items: start; gap: .8rem; }
.form-submit p { max-width: 46rem; margin: 0; color: var(--muted); font-size: .9rem; }
.form-submit button { cursor: pointer; }
.form-honeypot { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.success-card { max-width: 650px; margin: 0 auto; padding: 2rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.success-card .button { margin-top: 1rem; }
.privacy-page h2 { margin-top: 2rem; font-size: 1.45rem; letter-spacing: -.02em; }
.privacy-page p, .privacy-page li { line-height: 1.9; }
.privacy-updated { margin-top: 2rem; color: var(--muted); font-size: .9rem; }
.site-footer .copyright a { color: var(--muted); }
@media (min-width: 700px) {
  .contact-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-field--wide { grid-column: 1 / -1; }
}


/* Contact cards: LINE, repair assessment, and direct website email */
@media (min-width: 700px) {
  .contact-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }
}
.contact-card { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.contact-card__icon {
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: .85rem;
  color: var(--blue);
  background: #e8f3ff;
  border-radius: 1rem;
}
.contact-card--line .contact-card__icon { color: #06a65a; background: #e8f8ef; }
.contact-card--enquiry { border: 2px solid var(--blue); }
.contact-card .button { margin-top: auto; }
.email-contact-form {
  display: grid;
  gap: .55rem;
  width: 100%;
  margin-top: .5rem;
}
.email-contact-form label { font-weight: 700; font-size: .92rem; }
.email-contact-form input:not([type="file"]),
.email-contact-form textarea {
  width: 100%;
  min-width: 0;
  padding: .65rem .75rem;
  border: 1px solid #aebfd0;
  border-radius: .6rem;
  background: #fff;
  color: var(--ink);
  font: inherit;
}
.email-contact-form input[type="file"] { width: 100%; min-width: 0; font-size: .82rem; }
.email-contact-form textarea { resize: vertical; }
.email-contact-form small { color: var(--muted); font-size: .8rem; line-height: 1.5; }
.email-contact-form .button { margin-top: .5rem; width: 100%; }
@media (max-width: 699px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* Section titles sit inside the white panels; fieldset borders remain uninterrupted. */
.form-section { display: block; padding-top: 1.4rem; }
.form-section__title {
  display: block;
  margin: 0 0 1.1rem;
  padding: 0;
  color: var(--ink);
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.5;
}
.form-grid { width: 100%; min-width: 0; }
.form-field { min-width: 0; }
.form-field > * { max-width: 100%; }
.form-section--consent .form-section__title { color: var(--ink); }

/* Email enquiry dialog */
.email-dialog {
  width: min( min(92vw, 620px), calc(100% - 2rem));
  max-height: 88vh;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: #fff;
  box-shadow: 0 1.5rem 4rem rgba(20, 38, 58, .28);
}
.email-dialog::backdrop { background: rgba(10, 25, 42, .58); }
.email-dialog__header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.email-dialog__header h3 { margin: 0; font-size: 1.35rem; }
.email-dialog__close { border: 1px solid var(--line); border-radius: .5rem; padding: .4rem .7rem; background: #fff; color: var(--ink); cursor: pointer; }
.email-dialog .email-contact-form { max-height: calc(88vh - 6rem); overflow-y: auto; padding: .15rem; }

/* Keep paired enquiry fields aligned consistently across each grid row. */
.form-grid { align-items: start; }
.form-field { align-content: start; }
.form-field > label { display: block; min-height: 1.65em; line-height: 1.65; }
.form-field input:not([type="checkbox"]):not([type="file"]),
.form-field select { height: 50px; min-height: 50px; box-sizing: border-box; align-self: start; }
