/* GappaMess の見た目。変換作業は不要で、このファイルをそのまま配信します。 */

:root {
  --paper: #ffffff;
  --paper-warm: #f3f3f3;
  --ink: #111111;
  --muted: #3f3f3f;
  --line: #e4e4e4;
  --pine: #111111;
  --cream: #ffffff;
  --cream-soft: #e6e6e6;
  --kicker: #d6d6d6;
  --copper: #111111;
  --sans: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Noto Sans CJK JP", "Yu Gothic", "YuGothic", "Meiryo", "Segoe UI", sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", "Noto Serif CJK JP", serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.85;
  line-break: strict;
  word-break: auto-phrase;
  text-rendering: optimizeLegibility;
}

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

p,
h1,
h2,
h3,
dl,
dd,
figure {
  margin: 0;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 3px;
}

.hero a:focus-visible,
.shop a:focus-visible {
  outline-color: var(--cream);
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  z-index: 20;
  background: #fff;
  color: var(--ink);
  padding: 0.45rem 0.75rem;
}

.skip:focus {
  top: 0.75rem;
}

.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;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.94);
  border-top: 3px solid #111111;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem 1.25rem;
  min-height: 4.25rem;
  padding: 0.7rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  text-decoration: none;
}

.brand img,
.footer-logo {
  display: block;
  width: 9.75rem;
  height: auto;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 1rem;
}

.nav a {
  color: var(--ink);
  text-decoration: none;
  padding: 0.35rem 0;
  font-size: 0.95rem;
}

.nav a:hover {
  text-decoration: underline;
  text-underline-offset: 0.28em;
}

.nav a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 0.28em;
}

.hero {
  background:
    radial-gradient(900px 420px at 100% 0%, rgba(246, 241, 230, 0.08), transparent 60%),
    var(--pine);
  color: var(--cream);
}

.hero-grid {
  display: grid;
  gap: 2rem;
  padding: 2.8rem 0 3rem;
}

.kicker {
  margin-bottom: 0.85rem;
  color: var(--kicker);
  font-size: 0.86rem;
  letter-spacing: 0.22em;
}

.brand-title {
  margin: 0;
  line-height: 0;
}

.brand-title img {
  width: min(100%, 40rem);
  height: auto;
}

.catch {
  margin-top: 1.15rem;
  max-width: 22em;
  font-size: clamp(1.25rem, 2.5vw, 1.7rem);
  font-weight: 500;
  line-height: 1.55;
}

.lead {
  margin-top: 0.9rem;
  max-width: 36rem;
  color: var(--cream-soft);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 48px;
  padding: 0.65rem 1.2rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.4;
  touch-action: manipulation;
}

.button-solid {
  background: var(--cream);
  color: var(--pine);
}

.button-solid:hover {
  background: #fff;
}

.button-ghost {
  color: var(--cream);
  box-shadow: inset 0 0 0 1px rgba(246, 241, 230, 0.6);
}

.button-ghost:hover {
  background: rgba(246, 241, 230, 0.08);
}

.hero-figure {
  margin: 0;
  padding: 1.2rem 1rem 0.95rem;
  border: 1px solid rgba(246, 241, 230, 0.24);
  border-radius: 18px;
  background: rgba(246, 241, 230, 0.04);
}

.hero-figure svg {
  width: 100%;
  height: auto;
  aspect-ratio: 560 / 220;
}

.hero-figure figcaption {
  margin-top: 0.35rem;
  color: var(--cream-soft);
  font-size: 0.9rem;
}

.section {
  padding: 3.1rem 0;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 1.6rem;
}

.section-head h2,
.shop h2,
.prose h1 {
  font-size: clamp(1.55rem, 3vw, 2.05rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.4;
}

.section-head p,
.lede {
  color: var(--muted);
}

.service-list {
  display: grid;
  gap: 1.35rem 2.5rem;
}

.service {
  padding-top: 0.95rem;
  border-top: 2px solid var(--pine);
}

.service-index {
  color: var(--copper);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
}

.service h3,
.steps h3 {
  margin-top: 0.35rem;
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.5;
}

.service p,
.steps p {
  margin-top: 0.35rem;
  color: var(--muted);
}

.shop {
  background: var(--pine);
  color: var(--cream);
}

.shop-inner {
  display: grid;
  gap: 1.15rem;
  padding: 2.6rem 0;
}

.shop p {
  margin-top: 0.45rem;
  color: var(--cream-soft);
}

.shop-action {
  margin: 0;
}

/* 番号の丸と、次の段階までをつなぐ線。画面幅で縦並びと横並びに切り替える。 */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.4rem;
}

.steps li {
  position: relative;
  padding-left: 3.5rem;
}

.step-index {
  position: absolute;
  z-index: 1;
  left: 0;
  top: 0.15rem;
  width: 2.3rem;
  height: 2.3rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--pine);
  border-radius: 50%;
  background: var(--paper);
  color: var(--pine);
  font-size: 0.92rem;
  font-weight: 600;
}

.steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  z-index: 0;
  left: 1.12rem;
  top: 2.45rem;
  bottom: -1.4rem;
  width: 1px;
  background: var(--line);
}

.contact {
  background: var(--paper-warm);
}

.mail-link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  margin-top: 0.55rem;
  color: var(--pine);
  font-size: clamp(1.25rem, 3.5vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  overflow-wrap: anywhere;
  text-underline-offset: 0.16em;
  touch-action: manipulation;
}

.hint {
  margin-top: 0.8rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.facts {
  border-top: 1px solid var(--line);
}

.facts div {
  display: grid;
  gap: 0.15rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line);
}

.facts dt {
  color: var(--muted);
  font-size: 0.92rem;
}

.facts dd {
  font-weight: 600;
}

.facts a {
  color: var(--copper);
  overflow-wrap: anywhere;
}

#antique-license {
  overflow-wrap: anywhere;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.35rem 0 1.8rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem 1.4rem;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--ink);
}

.page {
  padding: 2.6rem 0 4rem;
}

.prose {
  width: min(42rem, 100%);
}

.prose .revised {
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.prose h2 {
  margin-top: 2rem;
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.5;
}

.prose p,
.prose li {
  margin-top: 0.7rem;
}

.prose ul {
  margin: 0;
  padding-left: 1.25rem;
}

.prose a {
  color: var(--copper);
  overflow-wrap: anywhere;
}

.missing {
  padding-bottom: 4rem;
}

.missing p {
  margin-top: 0.8rem;
  color: var(--muted);
}

.missing .button {
  margin-top: 1.3rem;
  background: var(--pine);
  color: var(--cream);
}

.missing .button:hover {
  background: #333333;
}

@media (max-width: 560px) {
  .wrap {
    width: min(1080px, calc(100% - 2rem));
  }

  .actions,
  .shop-action .button {
    width: 100%;
  }

  .actions {
    flex-direction: column;
  }
}

@media (min-width: 720px) {
  .facts div {
    grid-template-columns: 11.5rem 1fr;
    gap: 1rem;
    align-items: baseline;
  }
}

@media (min-width: 760px) {
  .service-list {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 800px) {
  .shop-inner {
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 2rem;
    padding: 3.2rem 0;
  }

  .shop-action .button {
    width: auto;
  }
}

@media (min-width: 880px) {
  .hero-grid {
    max-width: 46rem;
    padding: 4.6rem 0 5rem;
  }

  .section {
    padding: 4.6rem 0;
  }

  .steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }

  .steps li {
    padding-left: 0;
    padding-top: 3.35rem;
  }

  .step-index {
    top: 0;
  }

  .steps li:not(:last-child)::after {
    left: 2.3rem;
    top: 1.15rem;
    bottom: auto;
    width: calc(100% + 1.5rem - 2.3rem);
    height: 1px;
  }
}

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

@media print {
  .site-header {
    position: static;
    background: #fff;
  }

  .hero,
  .shop,
  .contact {
    background: #fff;
    color: #000;
  }

  .lead,
  .hero-figure figcaption,
  .shop p,
  .kicker {
    color: #000;
  }

  .button-solid,
  .button-ghost,
  .missing .button {
    color: #000;
    background: #fff;
    box-shadow: inset 0 0 0 1px #000;
  }

  a[href^="http"]::after,
  a[href^="mailto:"]::after {
    content: " (" attr(href) ")";
    font-size: 0.85em;
  }
}
