/* LIGHT VISION — モノトーン / シンプル */
:root {
  --bg: #ffffff;
  --fg: #111111;
  --sub: #6b6b6b;
  --line: #dddddd;
  --soft: #f4f4f4;
  --max: 1040px;
  --font: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", Meiryo, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; }
body {
  font-family: var(--font);
  color: var(--fg);
  background: var(--bg);
  line-height: 1.9;
  letter-spacing: .04em;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; display: block; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 10;
  height: 64px; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid var(--line);
}
.logo { font-weight: 700; letter-spacing: .3em; text-decoration: none; font-size: 15px; }
.menu-btn {
  width: 40px; height: 40px; border: 0; background: none; cursor: pointer;
  display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 8px;
}
.menu-btn span { display: block; height: 1px; background: var(--fg); }
.nav {
  position: absolute; top: 64px; right: 0; left: 0;
  background: var(--bg); border-bottom: 1px solid var(--line);
  display: none; flex-direction: column; padding: 8px 24px 24px;
}
.nav.open { display: flex; }
.nav a {
  text-decoration: none; padding: 16px 0; border-bottom: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: baseline;
}
.nav small { color: var(--sub); font-size: 12px; letter-spacing: .1em; }

@media (min-width: 860px) {
  .menu-btn { display: none; }
  .nav {
    position: static; display: flex; flex-direction: row; gap: 32px;
    padding: 0; border: 0; background: none;
  }
  .nav a { border: 0; padding: 0; font-size: 14px; }
  .nav small { display: none; }
  .nav a:hover { text-decoration: underline; text-underline-offset: 6px; }
}

/* ---------- Hero (P1) ---------- */
.hero {
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 96px 24px 48px; position: relative;
}
.hero-title {
  display: flex; align-items: center; gap: 20px;
  font-size: clamp(22px, 6vw, 64px); font-weight: 300; letter-spacing: .3em; white-space: nowrap;
  padding-left: .3em; /* letter-spacing の右余白と相殺 */
}
.rule { display: block; flex-shrink: 0; width: clamp(20px, 6vw, 96px); height: 1px; background: var(--fg); }
.hero-sub { margin-top: 16px; color: var(--sub); font-size: clamp(12px, 2.4vw, 15px); letter-spacing: .2em; }
.scroll-hint {
  position: absolute; bottom: 40px; text-decoration: none;
  font-size: 11px; letter-spacing: .3em; line-height: 1.6; color: var(--sub);
}

/* ---------- Section 共通 ---------- */
.section { max-width: var(--max); margin: 0 auto; padding: 112px 24px; border-top: 1px solid var(--line); }
.heading { text-align: center; margin-bottom: 56px; }
.heading h2 { font-size: clamp(22px, 4vw, 30px); font-weight: 500; letter-spacing: .2em; }
.heading-en { color: var(--sub); font-size: 12px; letter-spacing: .3em; margin-top: 4px; }
.heading-en::before, .heading-en::after { content: " — "; }

/* ---------- About (P2) ---------- */
.lead { max-width: 620px; margin: 0 auto; text-align: center; }
.lead p + p { margin-top: 1.6em; }
.lead p:first-child { font-size: clamp(18px, 3vw, 22px); }

/* ---------- Business (P3) ---------- */
.biz-grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 760px) { .biz-grid { grid-template-columns: 1fr 1fr; } }
.biz { background: var(--bg); padding: 40px 32px; display: flex; flex-direction: column; }
.biz-no { font-size: 12px; color: var(--sub); letter-spacing: .2em; }
.biz h3 { font-size: 20px; font-weight: 500; margin-top: 8px; }
.biz-en { font-size: 12px; color: var(--sub); letter-spacing: .1em; margin-bottom: 20px; }
.biz-links { margin-top: auto; padding-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }
.biz-links a {
  text-decoration: none; font-size: 13px; padding: 8px 20px; border: 1px solid var(--fg);
}
.biz-links a:last-child { background: var(--fg); color: var(--bg); }
.biz-links a:hover { opacity: .7; }

/* ---------- Works (P4) ---------- */
.works-block + .works-block { margin-top: 80px; }
.works-title { font-size: 18px; font-weight: 500; margin-bottom: 20px; }
.works-title span { color: var(--sub); font-size: 12px; letter-spacing: .2em; margin-left: 8px; }
.hscroll {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 24px;
  padding-bottom: 16px; margin: 0 -24px; padding-left: 24px; padding-right: 24px;
  scrollbar-width: thin;
}
.hscroll > * { scroll-snap-align: start; flex: 0 0 auto; }
.scroll-note { text-align: center; font-size: 11px; color: var(--sub); letter-spacing: .2em; margin-top: 4px; }

.video-card { width: min(78vw, 360px); text-decoration: none; }
.thumb {
  aspect-ratio: 16 / 9; background: var(--soft) center / cover no-repeat;
  border: 1px solid var(--line); position: relative;
}
.thumb::after { /* 再生マーク */
  content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-40%, -50%);
  border-style: solid; border-width: 12px 0 12px 20px;
  border-color: transparent transparent transparent rgba(17,17,17,.55);
}
.video-card.has-video .thumb::after { border-left-color: rgba(255,255,255,.9); filter: drop-shadow(0 0 4px rgba(0,0,0,.5)); }
.video-card .card-title { font-size: 14px; margin-top: 10px; }
.video-card:hover .thumb { opacity: .8; }

.app-card {
  width: min(70vw, 260px); border: 1px solid var(--line); padding: 28px 24px;
  font-size: 13px; display: flex; flex-direction: column;
}
.app-icon {
  width: 64px; height: 64px; border-radius: 14px; background: var(--fg); color: var(--bg);
  display: grid; place-items: center; font-weight: 700; letter-spacing: .05em; margin-bottom: 16px;
}
.app-icon img { width: 100%; height: 100%; border-radius: 14px; object-fit: cover; }
.app-card h4 { font-size: 15px; font-weight: 600; letter-spacing: .06em; line-height: 1.5; }
.app-cat { color: var(--sub); font-size: 12px; margin-bottom: 12px; }
.app-status { margin-top: auto; padding-top: 16px; font-size: 11px; letter-spacing: .15em; color: var(--sub); }

/* ---------- Contact (P5) ---------- */
.contact-mail { text-align: center; margin-bottom: 48px; }
.contact-mail span { display: block; font-size: 11px; color: var(--sub); letter-spacing: .3em; }
.contact-mail a { font-size: clamp(18px, 3vw, 22px); text-underline-offset: 6px; }

.form { max-width: 620px; margin: 0 auto; }
.field { margin-bottom: 28px; }
.field > label { display: block; font-size: 13px; margin-bottom: 8px; }
.field em { font-style: normal; font-size: 10px; border: 1px solid var(--fg); padding: 0 6px; margin-left: 6px; vertical-align: 2px; }
.radios { display: flex; flex-wrap: wrap; gap: 12px 24px; font-size: 14px; }
.radios label { display: flex; align-items: center; gap: 6px; cursor: pointer; }
input[type="radio"] { accent-color: var(--fg); width: 16px; height: 16px; }
input[type="text"], input[type="email"], textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--fg);
  padding: 12px 14px; border: 1px solid #bbb; border-radius: 0; background: var(--bg);
}
input:focus, textarea:focus { outline: 2px solid var(--fg); outline-offset: -1px; border-color: var(--fg); }
textarea { resize: vertical; }
.submit {
  display: block; width: 100%; max-width: 320px; margin: 40px auto 0;
  font: inherit; font-size: 15px; letter-spacing: .2em;
  padding: 16px; background: var(--fg); color: var(--bg); border: 0; cursor: pointer;
}
.submit:hover { opacity: .8; }
.submit:disabled { opacity: .4; cursor: default; }
.form-error { color: #b00020; font-size: 13px; text-align: center; margin-top: 8px; }
.form-note { font-size: 13px; text-align: center; margin-top: 16px; color: var(--sub); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 48px 24px; text-align: center; font-size: 11px; color: var(--sub); }
.site-footer .logo { display: block; color: var(--fg); margin-bottom: 8px; font-size: 13px; }
