@import url("https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@400;500;600;700&display=swap");

:root {
  --base: #f6f5f0;
  --ink: #2b2a25;
  --muted: #6f6a5d;
  --line: #e4dcc8;
  --paper: #ffffff;
  --gold: #d8b15a;
  --gold-deep: #8a6820;
  --accent: #a83f2f;
  --accent-2: #0f6b5d;
  --font-sans: "Noto Serif JP", "Noto Sans JP", serif;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--base);
  color: var(--ink);
  font-family: var(--font-sans);
  letter-spacing: 0;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  padding: 12px clamp(20px, 5vw, 64px);
  background: rgba(246, 245, 240, .9);
  border-bottom: 1px solid rgba(43, 42, 37, .08);
  backdrop-filter: blur(18px);
}

.mark {
  display: block;
  width: 58px;
  line-height: 0;
}

.mark img {
  width: 100%;
  height: auto;
}

.global-nav {
  display: flex;
  gap: clamp(18px, 4vw, 48px);
  color: var(--gold-deep);
  font-family: var(--font-sans);
  font-size: clamp(13px, 1.4vw, 18px);
}

.global-nav a {
  position: relative;
}

.global-nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .24s ease;
  content: "";
}

.global-nav a:hover::after,
.global-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.hero,
.works,
.about,
.contact,
.service-page,
.work-page {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: calc(100svh - 88px);
  padding: clamp(56px, 9vw, 112px) 0 clamp(40px, 6vw, 72px);
  gap: clamp(30px, 5vw, 52px);
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--gold-deep);
  font-family: var(--font-sans);
  font-size: 13px;
  text-transform: uppercase;
}

.hero__lockup {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 3vw, 56px);
}

.hero-logo {
  margin: 0;
  line-height: 0;
}

.hero-logo img {
  width: min(360px, 60vw);
  height: auto;
}

.hero__statement-text {
  margin: 0;
  text-align: left;
  font-family: var(--font-sans);
  font-size: clamp(24px, 4vw, 56px);
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: .02em;
  white-space: nowrap;
  color: var(--ink);
}

.hero__statement-text .accent {
  color: var(--gold-deep);
}

.hero__lead {
  width: min(720px, 100%);
  margin: 0;
  font-size: clamp(15px, 2vw, 19px);
  line-height: 2;
}

.hero__lead .nowrap {
  white-space: nowrap;
}

@media (max-width: 820px) {
  .hero__lockup {
    flex-direction: column;
    gap: 24px;
  }

  .hero__statement-text {
    text-align: center;
  }
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding: 82px 0 28px;
  border-top: 1px solid var(--gold);
}

.section-heading h2,
.contact h2,
.service-page h1,
.work-page h1 {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(42px, 7vw, 92px);
  font-weight: 400;
  line-height: .95;
}

.work-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding: 0;
  margin: 0;
  background: var(--ink);
  border: 1px solid var(--ink);
  list-style: none;
}

.work-card {
  min-width: 0;
  background: var(--paper);
}

.work-card__media {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-bottom: 1px solid var(--ink);
}

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

.work-card:hover .work-card__media img {
  transform: scale(1.035);
}

.work-card__body {
  display: flex;
  flex-direction: column;
  min-height: 230px;
  padding: 24px;
}

.work-card__title {
  align-self: start;
  font-family: var(--font-sans);
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.15;
}

.work-card__desc {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.85;
}

.work-card__meta,
.detail-meta {
  margin: 18px 0;
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 12px;
  line-height: 1.8;
}

.service-links {
  display: flex;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 20px;
  gap: 8px;
}

.service-links a,
.back-link,
.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 11px;
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--gold-deep);
  font-size: 12px;
  transition: background .18s ease, color .18s ease;
}

.service-links a:hover,
.service-links a:focus-visible,
.back-link:hover,
.back-link:focus-visible,
.text-link:hover,
.text-link:focus-visible {
  background: var(--gold-deep);
  color: var(--base);
}

.about {
  padding-bottom: 94px;
}

.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
  gap: clamp(28px, 8vw, 96px);
  border-top: 1px solid var(--line);
  padding-top: 28px;
}

.about__grid p,
.lead,
.detail-body p {
  margin: 0;
  font-size: clamp(15px, 1.7vw, 18px);
  line-height: 2.05;
}

.profile-list {
  margin: 0;
}

.profile-list div {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.profile-list dt {
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 12px;
}

.profile-list dd {
  margin: 0;
  line-height: 1.6;
}

.contact {
  padding: 84px 0 104px;
  border-top: 1px solid var(--gold);
}

.contact-link {
  display: inline-block;
  margin-top: 24px;
  font-family: var(--font-sans);
  font-size: clamp(20px, 3vw, 34px);
  line-height: 1.2;
}

.site-footer {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0 40px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-family: var(--font-sans);
}

.detail-header {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: clamp(24px, 8vw, 90px);
  padding: clamp(58px, 10vw, 112px) 0 40px;
}

.detail-visual {
  border: 1px solid var(--ink);
  background: var(--paper);
}

.detail-body {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(280px, 1.1fr);
  gap: clamp(28px, 7vw, 92px);
  padding: 42px 0 96px;
  border-top: 1px solid var(--ink);
}

.detail-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.detail-list li {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  line-height: 1.8;
}

.detail-list strong {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-sans);
  font-weight: 400;
}

.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.legal {
  width: min(820px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(52px, 9vw, 104px) 0 clamp(64px, 10vw, 112px);
}

.legal .back-link {
  margin-bottom: 32px;
}

.legal h1 {
  margin: 0 0 6px;
  font-family: var(--font-sans);
  font-size: clamp(30px, 5vw, 46px);
  font-weight: 500;
  line-height: 1.25;
}

.legal-meta {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.legal .intro {
  margin-top: 30px;
}

.legal section {
  margin-top: 38px;
}

.legal h2 {
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--gold);
  font-family: var(--font-sans);
  font-size: clamp(18px, 2.4vw, 22px);
  font-weight: 500;
}

.legal h3 {
  margin: 22px 0 8px;
  font-size: 15px;
  font-weight: 600;
}

.legal p {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.95;
}

.legal ul {
  margin: 0 0 14px;
  padding-left: 1.3em;
  line-height: 1.95;
}

.legal li {
  margin: 4px 0;
}

.legal code {
  padding: 1px 6px;
  background: rgba(17, 17, 15, .06);
  border-radius: 4px;
  font-size: 13px;
}

.legal a {
  color: var(--gold-deep);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ===== Product LP — "SNS Auto Post" ===== */
/* Signature: the day on a rail — the five fixed posting times as a timetable. */
.lp {
  --char: #2b2a25;
  --cream: #f6f5f0;
  --sand: #ecddba;
  --paper: #ffffff;
  --ink: #2b2a25;
  --muted: #6f6a5d;
  --line: #e4dcc8;
  --gold: #d8b15a;
  --gold-deep: #8a6820;
  --gold-bright: #e7c779;
  --disp: "Noto Serif JP", "Noto Sans JP", serif;
  --mono: "Roboto Mono", ui-monospace, "SFMono-Regular", monospace;
  --r: 16px;
  --r-lg: 26px;
  --shadow: 0 26px 60px -30px rgba(43, 42, 37, .42);
  --shadow-sm: 0 12px 30px -20px rgba(43, 42, 37, .4);

  background: var(--cream);
  color: var(--ink);
  font-family: "Noto Serif JP", "Noto Sans JP", serif;
}

.lp-wrap {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
}

.lp-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.lp-kicker::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--gold);
}

.lp-section { padding: clamp(64px, 9vw, 116px) 0; }
.lp-section--white { background: var(--paper); }
.lp-section--sand { background: var(--sand); }

.lp-head { max-width: 700px; margin: 0 auto clamp(40px, 6vw, 64px); }
.lp-head--center { text-align: center; }
.lp-head--center .lp-kicker { justify-content: center; }

.lp-head h2 {
  margin: 0;
  font-family: var(--disp);
  font-size: clamp(28px, 4.2vw, 46px);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -.01em;
}

.lp-head p {
  margin: 18px 0 0;
  max-width: 60ch;
  color: var(--muted);
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.95;
}

.lp-head--center p { margin-left: auto; margin-right: auto; }

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 54px;
  padding: 15px 28px;
  border: 1.5px solid transparent;
  border-radius: 12px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}

.btn svg { width: 18px; height: 18px; }

.btn--primary {
  background: var(--gold);
  color: #2a1d00;
  box-shadow: 0 14px 28px -12px rgba(216, 177, 90, .55);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  transform: translateY(-2px);
  background: #e3bf6c;
  box-shadow: 0 20px 34px -14px rgba(216, 177, 90, .7);
}

.btn--outline {
  background: transparent;
  border-color: rgba(255, 255, 255, .35);
  color: #fff;
}

.btn--outline:hover,
.btn--outline:focus-visible {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .6);
}

.btn--full { width: 100%; }
.btn:focus-visible { outline: 3px solid rgba(216, 177, 90, .55); outline-offset: 2px; }

/* hero */
.lp-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 88% -10%, rgba(216, 177, 90, .26), transparent 55%),
    radial-gradient(80% 70% at 0% 110%, rgba(236, 221, 186, .16), transparent 60%),
    var(--char);
  color: #f3f0e8;
}

.lp-hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  align-items: center;
  gap: clamp(36px, 6vw, 76px);
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(60px, 10vw, 120px) 0 clamp(64px, 10vw, 120px);
}

.lp-hero .lp-kicker { color: #e7c779; }

.lp-hero h1 {
  margin: 0;
  font-family: var(--disp);
  font-size: clamp(33px, 5.2vw, 60px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -.02em;
  color: #fff;
}

.lp-hero h1 .accent { color: var(--gold); }

.lp-hero__sub {
  margin: 24px 0 0;
  max-width: 46ch;
  color: rgba(243, 240, 232, .74);
  font-size: clamp(15px, 1.7vw, 18px);
  line-height: 1.95;
}

.lp-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 36px;
}

.lp-cta-row .meta {
  font-family: var(--mono);
  font-size: 12px;
  color: rgba(243, 240, 232, .55);
}

/* signature: day rail */
.rail-panel {
  position: relative;
  padding: 26px 26px 30px;
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 40px 80px -34px rgba(0, 0, 0, .65);
}

.rail-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: rgba(243, 240, 232, .7);
}

.rail-panel__head .live { display: inline-flex; align-items: center; gap: 7px; }

.rail-panel__head .live::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(216, 177, 90, .25);
}

.rail { position: relative; margin: 0; padding: 0; list-style: none; }

.rail::before {
  content: "";
  position: absolute;
  left: 53px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: linear-gradient(var(--gold), rgba(255, 255, 255, .14));
}

.rail__stop {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  gap: 18px;
  padding: 9px 0;
}

.rail__stop::before {
  content: "";
  position: absolute;
  left: 47px;
  top: 50%;
  width: 12px;
  height: 12px;
  margin-top: -6px;
  border-radius: 50%;
  background: var(--char);
  border: 2px solid var(--gold);
  z-index: 1;
}

.rail__time {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  color: #e7c779;
  text-align: right;
}

.rail__post {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-left: 16px;
  padding: 11px 14px;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 10px 24px -16px rgba(0, 0, 0, .5);
}

.rail__chips { display: inline-flex; gap: 6px; }

.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 22px;
  min-width: 30px;
  padding: 0 7px;
  border-radius: 6px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  font-style: normal;
  color: #fff;
}

.chip--x { background: #11110f; }
.chip--ig { background: linear-gradient(45deg, #f09433, #dc2743 48%, #bc1888); }
.chip--th { background: #1c1c1a; }

.rail__status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--gold-deep);
}

.rail__status svg { width: 15px; height: 15px; }
.rail__stop--next .rail__post { background: #f4f8f5; color: var(--muted); }
.rail__stop--next .rail__status { color: var(--muted); }
.rail__stop--next::before { background: var(--char); border-color: rgba(255, 255, 255, .4); }

/* problem */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(232px, 1fr));
  gap: 16px;
}

.pain {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  padding: 22px;
  border-radius: var(--r);
  background: var(--paper);
  border: 1px solid var(--line);
}

.pain .x {
  flex: none;
  margin-top: 1px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(43, 42, 37, .07);
  color: #8a8275;
}

.pain .x svg { width: 15px; height: 15px; }
.pain p { margin: 0; font-size: 14px; line-height: 1.75; color: var(--ink); }
.pain p b { display: block; margin-bottom: 3px; font-weight: 700; }

/* features */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.feature {
  padding: 32px 28px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}

.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.feature .ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  margin-bottom: 20px;
  border-radius: 14px;
  background: rgba(216, 177, 90, .16);
  color: var(--gold-deep);
}

.feature .ic svg { width: 25px; height: 25px; }
.feature h3 { margin: 0 0 10px; font-family: var(--disp); font-size: 18px; font-weight: 700; }
.feature p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.85; }

/* steps (real sequence) */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step { position: relative; padding-top: 12px; }

.step__n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 13px;
  background: var(--char);
  color: #e7c779;
  font-family: var(--mono);
  font-size: 17px;
  font-weight: 700;
}

.step h3 { margin: 0 0 9px; font-family: var(--disp); font-size: 18px; font-weight: 700; }
.step p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.8; }

.step::after {
  content: "";
  position: absolute;
  top: 35px;
  left: 58px;
  right: -12px;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 12px);
}

.step:last-child::after { display: none; }

/* platforms */
.platform-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.platform-list li {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  border-radius: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  font-weight: 700;
}

.platform-list .chip { height: 26px; min-width: 34px; font-size: 12px; }
.lp-note { margin: 28px auto 0; max-width: 58ch; color: var(--muted); font-size: 13px; text-align: center; line-height: 1.85; }

/* security */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 18px;
  max-width: 940px;
  margin: 0 auto;
}

.trust {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  padding: 26px 24px;
  border-radius: var(--r);
  background: var(--paper);
  border: 1px solid var(--line);
}

.trust .ic {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(216, 177, 90, .16);
  color: var(--gold-deep);
}

.trust .ic svg { width: 22px; height: 22px; }
.trust h3 { margin: 0 0 5px; font-size: 15px; font-weight: 700; }
.trust p { margin: 0; font-size: 13.5px; line-height: 1.8; color: var(--muted); }
.trust p a { color: var(--gold-deep); text-decoration: underline; text-underline-offset: 2px; }

/* pricing */
.price-card {
  position: relative;
  max-width: 520px;
  margin: 0 auto;
  padding: 6px;
  border-radius: var(--r-lg);
  background: linear-gradient(150deg, var(--gold), var(--gold-deep));
  box-shadow: var(--shadow);
}

.price-inner {
  border-radius: 21px;
  background: var(--paper);
  padding: clamp(30px, 5vw, 46px) clamp(26px, 4vw, 44px) clamp(28px, 4vw, 40px);
  text-align: center;
}

.price-plan {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.price-amount {
  margin: 16px 0 0;
  font-family: var(--disp);
  font-size: clamp(46px, 9vw, 66px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.02em;
}

.price-amount .yen { font-size: .5em; font-weight: 700; vertical-align: 4px; margin-right: 2px; }
.price-amount .per { font-size: .32em; font-weight: 700; color: var(--muted); }
.price-unit { margin: 12px 0 0; color: var(--muted); font-size: 14px; }

.price-features { margin: 30px 0 0; padding: 0; list-style: none; text-align: left; display: grid; gap: 2px; }

.price-features li {
  position: relative;
  padding: 11px 0 11px 32px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.price-features li:first-child { border-top: 0; }
.price-features li svg { position: absolute; left: 0; top: 11px; width: 20px; height: 20px; color: var(--gold-deep); }
.price-note { margin: 22px 0 0; color: var(--muted); font-size: 12.5px; line-height: 1.8; }
.price-inner .btn { margin-top: 26px; }

/* faq */
.faq { max-width: 780px; margin: 0 auto; }

.faq details {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  margin-bottom: 12px;
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-family: var(--disp);
  font-weight: 700;
  font-size: 15px;
  list-style: none;
  cursor: pointer;
}

.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { flex: none; position: relative; width: 16px; height: 16px; }

.faq summary .pm::before,
.faq summary .pm::after {
  content: "";
  position: absolute;
  background: var(--gold-deep);
  transition: transform .2s ease, opacity .2s ease;
}

.faq summary .pm::before { left: 0; top: 7px; width: 16px; height: 2px; }
.faq summary .pm::after { left: 7px; top: 0; width: 2px; height: 16px; }
.faq details[open] summary .pm::after { transform: scaleY(0); opacity: 0; }
.faq details p { margin: 0; padding: 0 24px 22px; color: var(--muted); font-size: 14px; line-height: 1.85; }

/* contact */
.lp-contact { background: var(--char); color: #f3f0e8; }
.lp-contact .lp-kicker { color: #e7c779; }
.lp-contact .lp-head h2 { color: #fff; }
.lp-contact .lp-head p { color: rgba(243, 240, 232, .74); }

.contact-card {
  max-width: 680px;
  margin: 0 auto;
  padding: clamp(26px, 4vw, 44px);
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .12);
}

.contact-form { display: grid; gap: 20px; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 8px; }
.field label, .field > .lbl { font-size: 13px; font-weight: 600; color: rgba(243, 240, 232, .86); }
.field .req { margin-left: 5px; color: var(--gold); }

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="number"],
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 11px;
  background: rgba(0, 0, 0, .22);
  color: #fff;
  font: inherit;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.field input::placeholder, .field textarea::placeholder { color: rgba(243, 240, 232, .38); }

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(216, 177, 90, .28);
}

.field textarea { min-height: 130px; resize: vertical; }
.checks { display: flex; flex-wrap: wrap; gap: 12px 22px; }
.checks label { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; color: rgba(243, 240, 232, .9); }
.checks input, .agree input { accent-color: var(--gold); width: 17px; height: 17px; }
.agree { display: flex; align-items: flex-start; gap: 11px; font-size: 14px; line-height: 1.7; color: rgba(243, 240, 232, .9); }
.agree a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 22px; font-size: 14px; }
.form-status.error { color: #ffb1a3; }
.form-status.ok { color: #8fe3bf; }

/* header / footer on LP */
.site-footer--lp { width: 100%; margin: 0; padding: 30px clamp(20px, 5vw, 64px) 44px; text-align: center; background: #2b2a25; color: rgba(243, 240, 232, .55); border-top: 1px solid rgba(255, 255, 255, .08); }
.site-footer--lp a { color: rgba(243, 240, 232, .82); text-decoration: underline; text-underline-offset: 2px; }
.site-header--lp .global-nav,
.site-footer--lp { font-family: "Noto Serif JP", "Noto Sans JP", serif; }
.lp .btn { font-family: inherit; }
.lp-foot-links { margin-top: 8px; }

/* motion */
@media (prefers-reduced-motion: no-preference) {
  .rail__stop { opacity: 0; transform: translateY(8px); animation: railIn .5s ease forwards; }
  .rail__stop:nth-child(1) { animation-delay: .15s; }
  .rail__stop:nth-child(2) { animation-delay: .3s; }
  .rail__stop:nth-child(3) { animation-delay: .45s; }
  .rail__stop:nth-child(4) { animation-delay: .6s; }
  .rail__stop:nth-child(5) { animation-delay: .75s; }
  @keyframes railIn { to { opacity: 1; transform: none; } }
}

@media (max-width: 900px) {
  .lp-hero__inner { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 14px; }
  .step::after { display: none; }
  .frow { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .hero,
  .about__grid,
  .detail-header,
  .detail-body {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .work-list {
    grid-template-columns: 1fr;
  }

  .work-card__body {
    min-height: 190px;
  }
}

@media (max-width: 560px) {
  .site-header {
    align-items: flex-start;
    min-height: 104px;
  }

  .mark {
    width: 52px;
  }

  .global-nav {
    flex-direction: column;
    gap: 8px;
    text-align: right;
  }

  .hero,
  .works,
  .about,
  .contact,
  .service-page,
  .work-page,
  .site-footer {
    width: min(100% - 28px, var(--max));
  }

  .hero h1 {
    font-size: clamp(58px, 24vw, 96px);
  }

  .contact-link {
    font-size: clamp(18px, 5vw, 24px);
  }
}
