/* Neko Panda LLC. — corporate site
   No web fonts, no JS. Breakpoints: 48rem (nav), 64rem (two-column sections). */

:root {
  --pink: #f64682;        /* accent: large type & decoration only (3.4:1 on white) */
  --pink-ink: #c8235f;    /* body-size links & text (5.4:1 on white) */
  --line: #f669ac;
  --tint: #ffeef5;
  --tint-strong: #ffacd3;
  --ink: #1f1a1c;
  --ink-soft: #5a5054;
  --rule: #eadfe3;
  --bg: #ffffff;          /* logo.png has an opaque white background */

  --font-ja: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic UI", "Yu Gothic", Meiryo, system-ui, sans-serif;
  --font-latin: ui-sans-serif, system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --radius: 14px;
  --header-h: 64px;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1120px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-ja);
  font-size: 1rem;
  line-height: 1.85;
  letter-spacing: .02em;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}

img, iframe { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, p, dl, dd, ul { margin: 0; }
ul { padding: 0; list-style: none; }

a { color: var(--pink-ink); }

:focus-visible {
  outline: 2px solid var(--pink-ink);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: 8px;
  top: -100px;
  z-index: 100;
  padding: 8px 14px;
  background: var(--ink);
  color: #fff;
  border-radius: 8px;
}
.skip-link:focus { top: 8px; }

/* Underline that grows on hover/focus */
.u-link {
  color: inherit;
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 1px;
  transition: background-size .3s ease, color .2s ease;
}
.u-link:hover,
.u-link:focus-visible { background-size: 100% 1px; color: var(--pink-ink); }

/* Latin label, e.g. "01 Service" */
.eyebrow {
  font-family: var(--font-latin);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.eyebrow span { margin-right: .6em; }
.eyebrow span, .card__no { color: var(--pink-ink); }

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  padding: .85em 1.6em;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: background-color .2s ease, transform .2s ease;
}
.btn-link::after { content: "→"; transition: transform .2s ease; }
.btn-link:hover,
.btn-link:focus-visible { background: var(--pink-ink); }
.btn-link:hover::after,
.btn-link:focus-visible::after { transform: translateX(4px); }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgb(255 255 255 / .86);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  color: var(--ink);
  text-decoration: none;
}
.brand img { width: 56px; }
.brand span {
  font-family: var(--font-latin);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: .08em;
}

.nav > ul { display: flex; align-items: center; gap: 1.8rem; }
.nav a { font-size: .9rem; font-weight: 500; }
.nav .nav__cta {
  padding: .45em 1.1em;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--pink-ink);
  background-image: none;
  transition: background-color .2s ease, color .2s ease;
}
.nav .nav__cta:hover,
.nav .nav__cta:focus-visible { background-color: var(--pink-ink); color: #fff; }

.nav-mobile { display: none; position: relative; }
.nav-mobile summary {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  padding: .4em .9em;
  border: 1px solid var(--rule);
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.nav-mobile summary::-webkit-details-marker { display: none; }
/* ≡ when closed, × when open: top/bottom lines are the borders,
   the middle line is ::before + ::after, which rotate into a cross. */
.nav-mobile__icon {
  position: relative;
  width: 16px;
  height: 12px;
  border-block: 2px solid currentColor;
  transition: border-color .2s ease;
}
.nav-mobile__icon::before,
.nav-mobile__icon::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  margin-top: -1px;
  background: currentColor;
  transition: transform .2s ease;
}
.nav-mobile[open] .nav-mobile__icon { border-color: transparent; }
.nav-mobile[open] .nav-mobile__icon::before { transform: rotate(45deg); }
.nav-mobile[open] .nav-mobile__icon::after { transform: rotate(-45deg); }
.nav-mobile__close,
.nav-mobile[open] .nav-mobile__open { display: none; }
.nav-mobile[open] .nav-mobile__close { display: inline; }
.nav-mobile ul {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  min-width: 12rem;
  padding: .6rem;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgb(31 26 28 / .12);
}
.nav-mobile li a {
  display: block;
  padding: .55rem .8rem;
  border-radius: 8px;
  color: var(--ink);
  text-decoration: none;
}
.nav-mobile li a:hover,
.nav-mobile li a:focus-visible { background: var(--tint); color: var(--pink-ink); }

@media (max-width: 47.99rem) {
  .nav > ul { display: none; }
  .nav-mobile { display: block; }
}

/* ---------- sections ---------- */
.section {
  padding-block: clamp(72px, 10vw, 128px);
  scroll-margin-top: calc(var(--header-h) + 16px);
}
.section + .section { border-top: 1px solid var(--rule); }
.section__inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
/* Grid items default to min-width:auto; the map iframe (width=600) would
   otherwise force the column wider than a phone screen. */
.section__inner > *, .hero__inner > *, .company > * { min-width: 0; }
.section__title {
  font-size: clamp(1.6rem, 1.1rem + 2vw, 2.4rem);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .04em;
  margin-bottom: 1.5rem;
}
.section__lead { color: var(--ink-soft); max-width: 40em; }

@media (min-width: 64rem) {
  .section__inner {
    grid-template-columns: 14rem minmax(0, 1fr);
    gap: 3rem;
  }
  .section__label {
    position: sticky;
    top: calc(var(--header-h) + 24px);
    align-self: start;
  }
}

/* ---------- top: first view ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(56px, 9vw, 120px) clamp(72px, 10vw, 136px);
}
.hero::before {           /* soft tint wash, top right */
  content: "";
  position: absolute;
  inset: -20% -10% auto auto;
  width: min(70vw, 760px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--tint), transparent);
  z-index: -1;
}
.hero__inner {
  display: grid;
  gap: clamp(40px, 6vw, 72px);
  align-items: center;
}
.hero__title {
  margin: 1.1rem 0 1.4rem;
  font-size: clamp(2.3rem, 1rem + 5.4vw, 4.6rem);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: .02em;
}
.hero__lead {
  max-width: 30em;
  font-size: clamp(1rem, .95rem + .3vw, 1.15rem);
  color: var(--ink-soft);
}
.hero__cta { margin-top: 2.2rem; }

.tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.6rem; }
.tags li {
  padding: .3em .9em;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: #fff;
  font-size: .8rem;
  font-weight: 600;
}
.tags--small { margin-top: 1.2rem; }
.tags--small li { font-size: .75rem; }

.hero__visual {
  position: relative;
  justify-self: center;
  width: min(78vw, 400px);
  aspect-ratio: 1;
}
.hero__visual::before {    /* offset pink disc */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--pink);
  transform: translate(7%, 7%);
}
.hero__disc {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--rule);
}
.hero__disc img { width: 72%; }

@media (min-width: 56rem) {
  .hero__inner { grid-template-columns: 1.25fr 1fr; }
  .hero__visual { justify-self: end; }
}

/* ---------- top: philosophy ---------- */
.statement {
  margin-bottom: 1.4rem;
  font-size: clamp(1.8rem, 1rem + 3.4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: .02em;
}
.values {
  display: grid;
  gap: 0;
  margin-top: 2.4rem;
  border-top: 1px solid var(--rule);
}
.values li {
  display: grid;
  gap: .3rem 2rem;
  padding-block: 1.3rem;
  border-bottom: 1px solid var(--rule);
}
.values h3 { display: flex; font-size: 1.05rem; line-height: 1.5; }
.values h3::before { content: "—"; flex: none; margin-right: .6em; color: var(--pink); }
.values p { color: var(--ink-soft); font-size: .95rem; }

@media (min-width: 48rem) {
  .values li { grid-template-columns: 13rem minmax(0, 1fr); align-items: baseline; }
}

/* ---------- top: service ---------- */
.cards { display: grid; gap: 1rem; }
.card {
  padding: clamp(1.4rem, 3vw, 2rem);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color .2s ease, transform .2s ease;
}
.card:hover { border-color: var(--line); transform: translateY(-2px); }
.card__no {
  font-family: var(--font-latin);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.card__title {
  margin: .5rem 0 .8rem;
  font-size: clamp(1.15rem, 1rem + .6vw, 1.4rem);
  line-height: 1.45;
}
.card p:not(.card__no) { color: var(--ink-soft); font-size: .95rem; }
.card--wide { background: linear-gradient(135deg, #fff 55%, var(--tint)); }
.card--wide .card__title { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 1.9rem); }

@media (min-width: 48rem) {
  .cards { grid-template-columns: 1fr 1fr; }
  .card--wide { grid-column: 1 / -1; }
}

.note {
  margin-top: 1.6rem;
  padding-left: 1.2em;
  position: relative;
  color: var(--ink-soft);
  font-size: .95rem;
}
.note::before { content: "＊"; position: absolute; left: 0; color: var(--pink); }

/* ---------- top: approach ---------- */
.section--tint { background: var(--tint); border-top: 0; }
.section--tint + .section { border-top: 0; }
.points {
  display: grid;
  gap: 1rem;
  margin: 2.4rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: point;
}
.points li {
  position: relative;
  padding: 1.6rem 1.6rem 1.6rem 4.4rem;
  border-radius: var(--radius);
  background: #fff;
  counter-increment: point;
}
.points li::before {
  content: counter(point, decimal-leading-zero);
  position: absolute;
  left: 1.5rem;
  top: 1.45rem;
  font-family: var(--font-latin);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--pink);
}
.points h3 { font-size: 1.1rem; line-height: 1.5; margin-bottom: .4rem; }
.points p { color: var(--ink-soft); font-size: .95rem; }

@media (min-width: 80rem) {
  .points { grid-template-columns: repeat(3, 1fr); }
  .points li { padding: 4rem 1.6rem 1.6rem; }
  .points li::before { left: 1.6rem; top: 1.4rem; }
}

/* ---------- top: company ---------- */
.company { display: grid; gap: 2rem; }
.profile > div {
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  gap: 1rem;
  padding-block: 1rem;
  border-bottom: 1px solid var(--rule);
}
.profile > div:first-child { border-top: 1px solid var(--rule); }
.profile dt { font-weight: 700; font-size: .9rem; color: var(--ink-soft); }
.profile dd { font-size: .95rem; }

.map {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--rule);
  aspect-ratio: 4 / 3;
}
.map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(1);
  transition: filter .4s ease;
}
.map:hover iframe,
.map:focus-within iframe { filter: none; }

@media (min-width: 80rem) {
  .company { grid-template-columns: 1.1fr 1fr; align-items: start; }
}

/* ---------- top: contact ---------- */
.mail {
  margin-top: 2rem;
  font-family: var(--font-latin);
  font-size: clamp(1.5rem, 1rem + 3vw, 2.8rem);
  font-weight: 700;
  line-height: 1.3;
}
.mail a { color: var(--pink-ink); background-size: 0% 2px; }
.mail a:hover,
.mail a:focus-visible { background-size: 100% 2px; }

/* ---------- simple pages (電子公告, 404) ---------- */
.page {
  min-height: calc(100svh - var(--header-h) - 160px);
  padding-block: clamp(64px, 10vw, 120px);
}
.page h1 {
  font-size: clamp(1.8rem, 1.2rem + 2.4vw, 2.8rem);
  line-height: 1.35;
  margin: .6rem 0 1.6rem;
}
.page p + p { margin-top: 1rem; }
.page .page__actions { margin-top: 2rem; }
.page .notice {
  padding: 1.4rem 1.6rem;
  border-left: 3px solid var(--pink);
  background: var(--tint);
  border-radius: 0 var(--radius) var(--radius) 0;
}

/* ---------- footer ---------- */
.site-footer {
  padding-block: 40px;
  border-top: 1px solid var(--rule);
  font-size: .85rem;
  color: var(--ink-soft);
}
.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
}
.site-footer .brand img { width: 44px; }
.site-footer ul { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; }
.site-footer small { font-size: inherit; font-family: var(--font-latin); letter-spacing: .06em; }

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