/* 無 / MU — 白・墨・石の三色と、余白で組む */
:root {
  --paper: #ffffff;
  --paper-sub: #f7f7f7;
  --sand: #f3f2f0;
  --line: #e5e5e5;
  --muted: #777777;
  --ink: #171717;
  --stone: #7f7a75;
  --serif: 'Shippori Mincho', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
  --sans: 'Noto Sans JP', 'Hiragino Sans', system-ui, sans-serif;
  --max: 1120px;
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: 0.04em;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

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

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.serif {
  font-family: var(--serif);
  font-weight: 400;
}

.muted {
  color: var(--muted);
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  display: flex;
  align-items: baseline;
  gap: 10px;
  text-decoration: none;
}
.logo b {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 26px;
}
.logo span {
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--muted);
}
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 13px;
}
.nav a {
  text-decoration: none;
}
.nav a:hover {
  color: var(--muted);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 28px;
  border-radius: 999px;
  border: 1px solid var(--stone);
  background: var(--stone);
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.16em;
  text-decoration: none;
  transition: opacity 0.3s ease;
}
.btn:hover {
  opacity: 0.8;
}
.btn.ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn.small {
  min-height: 38px;
  padding: 0 20px;
  font-size: 12px;
}
.btn .arrow::after {
  content: '›';
  font-size: 18px;
  line-height: 1;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #fafafa 0%, #ffffff 70%);
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 48px;
  min-height: 640px;
  padding-top: 72px;
  padding-bottom: 96px;
  position: relative;
  z-index: 1;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 5.4vw, 58px);
  line-height: 1.55;
  letter-spacing: 0.12em;
  margin: 0 0 28px;
}
.hero p.lead {
  color: #444;
  margin: 0 0 40px;
  max-width: 30em;
}
.hero .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.hero .note {
  margin-top: 20px;
  font-size: 12px;
  color: var(--muted);
}
.ripples {
  position: absolute;
  left: -60px;
  bottom: -30px;
  width: 760px;
  height: 380px;
  opacity: 0.9;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 55%, #000 60%, transparent 100%);
  mask-image: radial-gradient(ellipse 50% 50% at 50% 55%, #000 60%, transparent 100%);
}

/* ---------- phones ---------- */
.phones {
  position: relative;
  height: 520px;
}
.phone {
  position: absolute;
  width: 250px;
  height: 510px;
  border-radius: 44px;
  background: #fff;
  border: 1px solid #d9d9d9;
  box-shadow: 0 0 0 8px #f1f1f1, 0 0 0 9px #e3e3e3;
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.phone.front {
  left: 8%;
  top: 0;
  z-index: 2;
}
.phone.back {
  left: 50%;
  top: 48px;
  transform: scale(0.9);
  transform-origin: top left;
  z-index: 1;
}
.phone .bar {
  width: 100%;
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: #333;
}
.phone .brand {
  margin-top: 14px;
  text-align: center;
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.1;
}
.phone .brand small {
  display: block;
  font-family: var(--sans);
  font-size: 8px;
  letter-spacing: 0.3em;
  color: var(--muted);
}
.phone .seg {
  display: flex;
  margin: 18px 0 8px;
  font-size: 11px;
  background: var(--paper-sub);
  border-radius: 999px;
  padding: 3px;
}
.phone .seg span {
  padding: 4px 16px;
  border-radius: 999px;
  color: var(--muted);
}
.phone .seg span.on {
  background: #fff;
  color: var(--ink);
}
.phone .enso {
  position: relative;
  width: 176px;
  height: 176px;
  margin-top: 16px;
}
.phone .enso svg {
  position: absolute;
  inset: 0;
}
.phone .enso .t {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.phone .enso .t small {
  font-size: 9px;
  letter-spacing: 0.3em;
  color: var(--muted);
}
.phone .enso .t b {
  font-weight: 200;
  font-size: 40px;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}
.phone .controls {
  display: flex;
  gap: 18px;
  margin-top: auto;
}
.phone .controls i {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: 10px;
  color: var(--muted);
}
.phone .members {
  display: flex;
  gap: 10px;
  margin: 22px 0 6px;
}
.phone .members i {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #e7e5e2, #a9a49e);
}
.phone .caption {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.2em;
}
.phone .big {
  font-weight: 200;
  font-size: 36px;
  margin-top: 12px;
}
.lock-note {
  position: absolute;
  left: calc(50% + 236px);
  top: 120px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
  display: flex;
  gap: 8px;
}

/* ---------- sections ---------- */
section {
  padding: 96px 0;
}
.section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin: 0 0 56px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 24px;
  letter-spacing: 0.24em;
}
.section-title::before,
.section-title::after {
  content: '';
  width: 72px;
  height: 1px;
  background: var(--line);
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 28px;
}
.pillar {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.pillar h3,
.feature h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 19px;
  letter-spacing: 0.12em;
  margin: 0 0 6px;
}
.pillar p,
.feature p {
  margin: 0;
  font-size: 13px;
  color: #555;
}
.icon {
  flex: none;
  width: 44px;
  height: 44px;
  color: var(--muted);
}

/* modes */
.modes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.mode {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  padding: 40px;
  background: linear-gradient(180deg, #fbfbfb, #f4f3f1);
  border-radius: 12px;
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 210px;
  gap: 24px;
}
.mode h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 34px;
  letter-spacing: 0.2em;
  margin: 0 0 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid #cfcac4;
  display: inline-block;
}
.mode p {
  margin: 0;
  font-size: 14px;
  color: #444;
}
.mode .mini {
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--line);
  padding: 16px;
  font-size: 11px;
  align-self: center;
}
.mini .head {
  text-align: center;
  font-family: var(--serif);
  margin-bottom: 8px;
}
.mini .row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
  color: #333;
}
.mini .row span:last-child {
  color: var(--muted);
}
.mini .cta {
  margin-top: 12px;
  text-align: center;
  background: var(--paper-sub);
  border-radius: 999px;
  padding: 7px;
}
.mountain {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 60px;
  opacity: 0.6;
}

/* features */
.features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.feature {
  display: grid;
  grid-template-columns: 44px 1fr 200px;
  gap: 18px;
  align-items: center;
}
.feature .demo {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 11px;
  background: #fff;
}
.demo .r {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 0;
}
.toggle {
  width: 26px;
  height: 15px;
  border-radius: 999px;
  background: var(--stone);
  position: relative;
}
.toggle::after {
  content: '';
  position: absolute;
  top: 2px;
  right: 2px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #fff;
}
.toggle.off {
  background: var(--line);
}
.toggle.off::after {
  right: auto;
  left: 2px;
}
.demo .btns {
  display: flex;
  gap: 6px;
  margin-top: 6px;
}
.demo .btns span {
  flex: 1;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
}
.demo .btns span.on {
  background: var(--stone);
  border-color: var(--stone);
  color: #fff;
}

/* steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
  text-align: center;
  list-style: none;
  padding: 0;
  margin: 0;
}
.steps::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 12.5%;
  right: 12.5%;
  height: 1px;
  background: var(--line);
}
.steps li {
  position: relative;
}
.steps .dot {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--sand);
  display: grid;
  place-items: center;
  color: var(--muted);
}
.steps h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 0.1em;
  margin: 0;
}
.steps p {
  font-size: 12px;
  color: var(--muted);
  margin: 6px 0 0;
}

/* quote band */
.band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #f2f1ef, #eceae7);
  padding: 120px 0;
  text-align: center;
}
.band p {
  font-family: var(--serif);
  font-size: clamp(20px, 2.6vw, 28px);
  letter-spacing: 0.3em;
  line-height: 2.1;
  margin: 0;
  position: relative;
  z-index: 1;
}
.band hr {
  width: 48px;
  border: 0;
  border-top: 1px solid #9c968f;
  margin: 28px auto 0;
}
.band .stone {
  position: absolute;
  left: 8%;
  bottom: 18%;
  width: 200px;
  height: 91px;
}

/* pricing */
.plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 860px;
  margin: 0 auto;
}
.plan {
  text-align: center;
  padding: 40px 32px;
}
.plan h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 30px;
  letter-spacing: 0.08em;
  margin: 0;
}
.plan .price {
  font-size: 13px;
  color: var(--muted);
  margin: 4px 0 20px;
}
.plan ul {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  font-size: 13px;
  line-height: 2.3;
}
.plan li::before {
  content: '—';
  color: #bbb;
  margin-right: 10px;
}

/* faq */
.faq {
  max-width: 760px;
  margin: 0 auto;
}
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 20px 4px;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--serif);
  font-size: 16px;
  letter-spacing: 0.08em;
  display: flex;
  justify-content: space-between;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  color: var(--muted);
}
.faq details[open] summary::after {
  content: '−';
}
.faq details p {
  margin: 12px 0 0;
  font-size: 14px;
  color: #555;
}

/* closing */
.closing {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 112px 0 120px;
  background: linear-gradient(180deg, #fff, #f6f5f3);
}
.closing h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: 0.24em;
  margin: 0 0 32px;
  position: relative;
  z-index: 1;
}
.closing .btn {
  position: relative;
  z-index: 1;
}
.closing .ripples {
  left: 50%;
  bottom: -200px;
  transform: translateX(-50%);
  width: 1100px;
  height: 550px;
  opacity: 0.7;
}

/* footer */
.site-footer {
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: #444;
}
.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  min-height: 72px;
  flex-wrap: wrap;
  padding-top: 12px;
  padding-bottom: 12px;
}
.site-footer nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.site-footer a {
  text-decoration: none;
}

/* fade in */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 1.2s ease, transform 1.2s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .lock-note {
    display: none;
  }
}
@media (max-width: 960px) {
  .nav a:not(.btn) {
    display: none;
  }
  .hero .wrap {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 56px;
  }
  .phones {
    height: 470px;
    max-width: 420px;
    width: 100%;
    margin: 0 auto;
  }
  .phone.front {
    left: 0;
  }
  .phone.back {
    left: auto;
    right: 0;
  }
  .lock-note {
    display: none;
  }
  .ripples {
    width: 520px;
    height: 260px;
    left: -120px;
    bottom: -120px;
  }
  .pillars,
  .modes,
  .features,
  .plans {
    grid-template-columns: 1fr;
  }
  .steps {
    grid-template-columns: 1fr 1fr;
    row-gap: 40px;
  }
  .steps::before {
    display: none;
  }
}
@media (max-width: 560px) {
  section {
    padding: 72px 0;
  }
  .section-title::before,
  .section-title::after {
    width: 32px;
  }
  .phones {
    height: 440px;
  }
  .phone {
    width: 210px;
    height: 430px;
  }
  .phone .enso {
    width: 150px;
    height: 150px;
  }
  .mode {
    grid-template-columns: 1fr;
    padding: 32px 24px;
  }
  .feature {
    grid-template-columns: 36px 1fr;
  }
  .feature .demo {
    grid-column: 1 / -1;
  }
  .band .stone {
    width: 120px;
    left: -20px;
  }
}

/* ---------- legal pages ---------- */
.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 72px 24px 96px;
}
.legal h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 28px;
  letter-spacing: 0.16em;
  margin: 0 0 8px;
}
.legal h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 18px;
  letter-spacing: 0.08em;
  margin: 48px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.legal p,
.legal li {
  font-size: 14px;
  color: #333;
}
.legal table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.legal th,
.legal td {
  text-align: left;
  vertical-align: top;
  padding: 10px 8px;
  border-bottom: 1px solid var(--line);
}
.legal th {
  font-weight: 500;
  width: 34%;
}
.placeholder {
  background: #fff6d6;
  padding: 0 4px;
}

/* ---------- invite / 404 ---------- */
.center-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 24px;
  gap: 16px;
}
.center-page h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 26px;
  letter-spacing: 0.14em;
  margin: 0;
}
.center-page p {
  margin: 0;
  color: var(--muted);
}
.lock-note span {
  white-space: nowrap;
}
@media (max-width: 560px) {
  .hero p.lead br {
    display: none;
  }
}

/* ---------- 素材画像 ---------- */
/* 素材は薄いグレーの背景つきなので、縁をぼかして白い紙面になじませる */
.hero .phones {
  height: auto;
  display: flex;
  justify-content: center;
}
.hero-phones {
  width: 100%;
  max-width: 420px;
  height: auto;
  -webkit-mask-image: radial-gradient(ellipse 72% 70% at 50% 48%, #000 70%, transparent 100%);
  mask-image: radial-gradient(ellipse 72% 70% at 50% 48%, #000 70%, transparent 100%);
}
.hero .lock-note {
  left: calc(50% + 230px);
  right: auto;
  top: 72px;
}
.hero-stone,
.closing-stone {
  position: absolute;
  width: 440px;
  height: auto;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 55%, transparent 100%);
  mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 55%, transparent 100%);
}
.hero-stone {
  left: 10%;
  bottom: 0;
}
.closing-stone {
  left: 50%;
  bottom: -24px;
  transform: translateX(-50%);
  width: 520px;
  opacity: 0.85;
}
.icon-img {
  flex: none;
  width: 56px;
  height: auto;
}
.mode-shot {
  align-self: center;
  justify-self: center;
  width: 100%;
  max-width: 200px;
  height: auto;
  border-radius: 12px;
  position: relative;
  z-index: 1;
  -webkit-mask-image: linear-gradient(180deg, #000 80%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 80%, transparent 100%);
}
.band-stone {
  position: absolute;
  left: 6%;
  bottom: 0;
  width: 300px;
  height: auto;
  -webkit-mask-image: radial-gradient(ellipse 55% 55% at 50% 55%, #000 60%, transparent 100%);
  mask-image: radial-gradient(ellipse 55% 55% at 50% 55%, #000 60%, transparent 100%);
}
@media (max-width: 960px) {
  .hero-stone {
    width: 320px;
    left: -40px;
  }
  .band-stone {
    width: 200px;
    left: -30px;
    opacity: 0.8;
  }
}
@media (max-width: 560px) {
  .mode-shot {
    max-width: 220px;
  }
  .closing-stone {
    width: 360px;
  }
}
@media (max-width: 560px) {
  .section-title {
    font-size: 19px;
    letter-spacing: 0.14em;
    gap: 16px;
  }
}

/* 料金: 無と極 */
.plan-roman {
  margin: 2px 0 0;
  font-size: 11px;
  letter-spacing: 0.4em;
  color: var(--muted);
}
.plan .price b {
  font-weight: 500;
  color: var(--ink);
}
.plan-lead {
  font-family: var(--serif);
  margin: -8px 0 16px;
  font-size: 15px;
  letter-spacing: 0.1em;
}
.plan-kiwami {
  background: var(--paper-sub);
  border-color: #d9d5d0;
}
