/* mowa ITなんでも屋
   書体はキーホルダー基板サイトと同じ丸ゴシック。
   色は公式ロゴに合わせる。明るい緑は猫の体（#63ed4a）、
   濃い緑はロゴの s（#0d683e）。明るい緑の上の文字は墨色。 */

:root {
  --bg: #f3efe6;
  --bg-deep: #e9e1d2;
  --paper: #fffdf8;
  --ink: #1e1a16;
  --muted: #534c44;
  --line: #e0d5c4;
  --accent: #63ed4a;
  --accent-hover: #45d434;
  --accent-dark: #0d683e;
  --accent-soft: #e8f8df;
  --green: #0d683e;
  --green-dark: #00673a;
  --green-soft: #e7f6ea;
  --focus: #0b6e8a;
  --shadow: 0 12px 30px rgb(60 40 20 / 0.06);
  --radius: 18px;
  --header: 4.25rem;
  --display: "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", "Yu Gothic", "Noto Sans JP", "WenQuanYi Micro Hei", sans-serif;
  --body: "BIZ UDPGothic", "Hiragino Sans", "Yu Gothic", "Noto Sans JP", "WenQuanYi Micro Hei", sans-serif;
  color-scheme: light;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.75;
}

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

h1, h2, h3 {
  font-family: var(--display);
  line-height: 1.35;
  text-wrap: balance;
}

h1 { font-size: clamp(2rem, 4vw + 1rem, 3.15rem); font-weight: 800; letter-spacing: -0.02em; margin: 0; }
h2 {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: clamp(1.45rem, 1.5vw + 1rem, 1.9rem);
  font-weight: 800;
  margin: 0 0 0.6rem;
}
h3 { font-size: 1.12rem; font-weight: 700; margin: 0 0 0.35rem; }

p { margin: 0 0 0.8rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--accent-dark); text-underline-offset: 0.18em; }
a:hover { color: var(--green-dark); }

:focus { outline: none; }
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

::selection { background: #d4f5c4; color: var(--ink); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 40;
  background: var(--ink);
  color: #fff;
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap {
  width: min(1080px, calc(100% - 2rem));
  margin-inline: auto;
}

.kari {
  display: inline-block;
  margin-inline: 0.15em;
  padding: 0.05em 0.5em 0.12em;
  border: 1px solid #b7d7a4;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.5;
  vertical-align: 0.15em;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #fff;
  border-bottom: 1px solid var(--line);
  border-top: 4px solid var(--accent);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: var(--header);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
  min-height: 44px;
}
.brand img {
  height: 46px;
  width: auto;
  max-width: min(58vw, 250px);
  flex: none;
  display: block;
}
.brand__service {
  font-family: var(--display);
  font-weight: 800;
  font-size: 0.92rem;
  line-height: 1.25;
  padding-left: 10px;
  border-left: 2px solid var(--line);
}
.brand__name {
  font-family: var(--display);
  font-weight: 800;
  font-size: 0.98rem;
  line-height: 1.25;
}
.brand__name small {
  display: block;
  font-weight: 500;
  color: var(--muted);
  font-size: 0.78rem;
}

.menu summary {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  cursor: pointer;
  font-family: var(--display);
  font-weight: 700;
}
.menu summary::-webkit-details-marker { display: none; }
.menu[open] .when-closed,
.menu:not([open]) .when-open { display: none; }
.burger {
  width: 16px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 -6px currentColor, 0 6px currentColor;
}

.menu nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 0 14px;
}
.menu[open] nav {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 30;
  margin: 0;
  padding: 6px 1rem 12px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 16px 30px rgb(30 26 22 / 0.08);
}
.menu[open] nav a { justify-content: flex-start; }
.menu a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 4px;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--display);
  font-weight: 700;
}
.menu a:hover,
.menu a:focus-visible { text-decoration: underline; }
.menu a.menu__cta {
  margin-top: 4px;
  justify-content: center;
  border-radius: 999px;
  background: var(--accent);
  color: var(--ink);
  text-decoration: none;
}
.menu a.menu__cta:hover { background: var(--accent-hover); color: var(--ink); }

.hero {
  background:
    radial-gradient(ellipse at 100% 0%, #e7f8df 0%, transparent 52%),
    radial-gradient(ellipse at 0% 100%, #e4f2ea 0%, transparent 46%),
    var(--bg);
}
.hero__grid {
  display: grid;
  gap: 28px;
  padding: 2.2rem 0 2.6rem;
}
.eyebrow {
  margin: 0 0 0.7rem;
  color: var(--green-dark);
  font-family: var(--display);
  font-weight: 700;
}
.lede {
  font-size: 1.12rem;
  max-width: 38rem;
  margin-top: 0.9rem;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 1.2rem 0 0.7rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.65rem 1.15rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font-family: var(--display);
  font-weight: 800;
  text-decoration: none;
  line-height: 1.3;
}
.btn--primary { background: var(--accent); color: var(--ink); }
.btn--primary:hover { background: var(--accent-hover); color: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.fine { color: var(--muted); font-size: 0.92rem; }

.points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}
.points li {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.92rem;
}

.hero__art {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 12px;
}
.hero__art svg { display: block; width: 100%; height: auto; }

section[id] { scroll-margin-top: 5rem; }
.section { padding: 3rem 0; }
.section--paper { background: var(--paper); }
.section--deep { background: var(--bg-deep); }
.section > .wrap > .lead {
  max-width: 40rem;
  margin-bottom: 1.3rem;
}
h2 .stamp {
  display: inline-grid;
  place-items: center;
  width: 2.15rem;
  height: 2.15rem;
  flex: none;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 0.82rem;
}

.card-grid, .price-grid, .photo-grid, .strengths {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.trouble, .service, .price-card, .work, .strength, .photo-grid figure, .facts, .policy {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.trouble, .service, .strength, .work {
  padding: 1rem 1.05rem 1.05rem;
  min-width: 0;
}
.shot-grid, .shot-pair, .gallery {
  display: grid;
  gap: 8px;
  margin: 0 0 0.75rem;
}
.shot-pair { grid-template-columns: 1fr 1fr; margin: 0; }
.shot-grid img, .shot-pair img, .gallery img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  background: #e7e0d4;
}
.gallery {
  gap: 12px;
  margin-top: 0.4rem;
}
.gallery figure {
  margin: 0;
  min-width: 0;
}
.gallery figcaption, .shot-grid figcaption {
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.88rem;
}
.section--paper .trouble,
.section--paper .service,
.section--paper .work,
.section--paper .strength { background: var(--bg); }

.service__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 0.35rem;
  font-family: var(--display);
  font-weight: 700;
}

.policy {
  padding: 1rem 1.1rem;
  margin-bottom: 1.2rem;
  background: var(--accent-soft);
  border-color: #c5e6b8;
}

.price-block { margin-top: 1.5rem; }
.price-block h3 { margin-bottom: 0.7rem; }
.price-card { padding: 1rem 1.05rem 1.1rem; display: flex; flex-direction: column; gap: 0.35rem; min-width: 0; }
.price-card--lead {
  background: var(--green-soft);
  border-color: #b7d8c6;
}
.amount {
  margin: 0.15rem 0 0.2rem;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.55rem, 2vw, 1.9rem);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.price-card--lead .amount { color: var(--green-dark); }
.price-card p { color: var(--ink); }

.options {
  margin: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.3rem 1rem;
}
.options > div {
  display: grid;
  gap: 0.15rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
}
.options > div:first-child { border-top: 0; }
.options dt { font-weight: 700; }
.options dd {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.work-label {
  display: inline-block;
  margin-bottom: 0.35rem;
  color: var(--green-dark);
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.about-grid { display: grid; gap: 18px; }
.photo-grid figure { margin: 0; overflow: hidden; background: var(--bg); }
.photo-grid img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.photo-grid img.photo { aspect-ratio: auto; object-fit: contain; height: auto; background: #efe6d6; }
.photo-grid figcaption {
  padding: 0.7rem 0.9rem 0.85rem;
  font-family: var(--display);
  font-weight: 700;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.9rem;
}
.step-no {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-dark);
  color: #fff;
  font-family: var(--display);
  font-weight: 800;
}

.faq-list { display: grid; gap: 8px; }
.faq {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 0.95rem;
}
.faq summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  cursor: pointer;
  font-family: var(--display);
  font-weight: 700;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font-size: 1.02rem; margin: 0; padding: 0.7rem 0; }
.faq summary::after {
  content: "＋";
  flex: none;
  color: var(--accent-dark);
  font-size: 1.2rem;
  line-height: 1;
}
.faq[open] summary::after { content: "－"; }
.faq p { padding-bottom: 0.9rem; }

.contact-grid { display: grid; gap: 14px; }
.facts { margin: 0; padding: 0.4rem 1rem; }
.facts > div {
  display: grid;
  gap: 0.1rem;
  padding: 0.75rem 0;
  border-top: 1px solid var(--line);
}
.facts > div:first-child { border-top: 0; }
.facts dt {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}
.facts dd { margin: 0; font-weight: 700; }

.form-card { padding: 1.05rem 1.1rem 1.15rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.form-card h3 { margin-bottom: 0.45rem; }
.mail-fallback { margin-top: 1rem; padding-top: 0.9rem; border-top: 1px solid var(--line); }
.notify-list { margin: 0.5rem 0 0.8rem; padding-left: 1.2rem; }
.notify-list li { font-weight: 700; }
.form-steps { margin: 0.4rem 0 0; padding-left: 1.2rem; }
.form-steps li { margin: 0.25rem 0; }
.form-slot code {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.88em;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.05em 0.35em;
}
.form-frame {
  display: block;
  width: 100%;
  min-height: 720px;
  border: 0;
  border-radius: 12px;
  background: #fff;
}
.form-warn {
  background: #fff4f0;
  border: 1px solid #e7b2a2;
  border-radius: 10px;
  padding: 0.7rem 0.8rem;
}
.form-open { margin-top: 0.7rem; }

.site-footer {
  background: #241e19;
  color: #f6f0e8;
  padding: 2rem 0 2.4rem;
}
.site-footer a { color: #fff; }
.footer-grid {
  display: grid;
  gap: 1.2rem;
}
.site-footer h2 {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
}
.site-footer .brand__name small { color: #d9cfc3; }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand img { width: 48px; height: auto; flex: none; }
.more { margin-top: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0.15rem 0; }
.site-footer a { display: inline-flex; align-items: center; min-height: 44px; }
.legal {
  margin-top: 1.2rem;
  color: #d9cfc3;
  font-size: 0.88rem;
}

.missing {
  min-height: 60vh;
  display: grid;
  align-content: center;
  padding: 3rem 0;
}

@media (max-width: 520px) {
  .brand__service { display: none; }
  .brand img { height: 40px; }
}

@media (min-width: 700px) {
  .wrap { width: min(1080px, calc(100% - 3rem)); }
  .card-grid--2, .price-grid, .strengths, .photo-grid, .gallery { grid-template-columns: 1fr 1fr; }
  .gallery figure:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .options > div { grid-template-columns: 1fr auto; align-items: baseline; gap: 16px; }
  .facts > div { grid-template-columns: 7.5rem 1fr; align-items: baseline; gap: 12px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .hero__grid { padding: 3.2rem 0 3.4rem; }
}

.nav-wide { display: none; }
.nav-wide a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.55rem;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.95rem;
}
.nav-wide a:hover,
.nav-wide a:focus-visible { text-decoration: underline; }
.nav-wide a.menu__cta {
  margin-left: 0.35rem;
  padding: 0 0.9rem;
  min-height: 40px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--ink);
}
.nav-wide a.menu__cta:hover { background: var(--accent-hover); color: var(--ink); text-decoration: none; }

@media (min-width: 980px) {
  .menu { display: none; }
  .nav-wide { display: flex; align-items: center; }
  .hero__grid {
    grid-template-columns: 1.12fr 0.88fr;
    align-items: center;
    gap: 40px;
    padding: 3.8rem 0 4rem;
  }
  .price-grid--3, .card-grid--3 { grid-template-columns: 1fr 1fr 1fr; }
  .contact-grid { grid-template-columns: 0.9fr 1.1fr; align-items: start; }
  .about-grid { grid-template-columns: 0.9fr 1.1fr; align-items: start; }
  .steps { grid-template-columns: 1fr 1fr; }
}

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

@media print {
  .site-header, .skip, .actions, .menu { display: none !important; }
  body { background: #fff; }
  .section, .hero { padding: 1rem 0; }
  a { text-decoration: underline; }
  .faq { break-inside: avoid; }
}
