/* ===== デザイントークン（色・文字・角丸はここだけで決める） ===== */
:root {
  --c-bg: #FFFFFF;
  --c-panel: #F6F7F8;
  --c-band: #F3F3F1;
  --c-heading: #0C0C0C;
  --c-text: #111111;
  --c-sub: #5E5E5E;
  --c-muted: #767678;
  --c-line: #D9D9D9;
  --c-line-soft: #E8E8E6;
  --c-accent-icon: #33507A;
  --c-gold: #B9A47E;
  --c-dark: #0E1114;
  --c-line-green: #21C45D;
  --c-line-green-hover: #1BAE51;

  --f-serif: "Noto Serif JP", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  --f-sans: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  --f-en: "Cormorant Garamond", "EB Garamond", serif;

  --r-card: 16px;
  --r-btn: 10px;
  --container: 1280px;
  --gutter: clamp(16px, 5vw, 64px);
  --header-h: 88px;
}

/* ===== 土台 ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: .04em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
svg { fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(64px, 8vw, 104px) 0; }
.sp { display: none; }

.eyebrow {
  font-family: var(--f-en);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .28em;
  color: var(--c-muted);
  margin-bottom: 14px;
}
.eyebrow--light { color: rgba(255, 255, 255, .62); }
.heading {
  font-family: var(--f-serif);
  font-weight: 700;
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.45;
  letter-spacing: .06em;
  color: var(--c-heading);
}
.text { color: var(--c-sub); font-size: 15px; line-height: 1.95; }
.section-head { text-align: center; margin-bottom: 44px; }
.section-head .heading { margin-bottom: 14px; }
.section-head .text { letter-spacing: .12em; }

/* ===== ボタン ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 28px;
  border-radius: var(--r-btn);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: .1em;
  transition: background-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn[aria-disabled="true"] { cursor: default; }
.btn[aria-disabled="true"]:hover { transform: none; }
.btn:focus-visible { outline: 2px solid var(--c-accent-icon); outline-offset: 3px; }
.btn--pill { border-radius: 999px; }
.btn--dark { background: var(--c-dark); color: #fff; }
.btn--dark:hover { background: #262b30; }
.btn--block { display: flex; width: 100%; }
.btn--line { background: var(--c-line-green); color: #fff; font-weight: 700; font-size: 19px; min-height: 60px; padding: 0 40px; }
.btn--line:hover { background: var(--c-line-green-hover); }
.arrow { width: 18px; height: 18px; stroke-width: 1.6; flex-shrink: 0; }
.icon-sm { width: 20px; height: 20px; stroke-width: 1.6; }

.line-badge {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 22px;
  border-radius: 50% / 46%;
  background: #fff;
  color: var(--c-dark);
  font: 800 7px/1 var(--f-sans);
  letter-spacing: 0;
}
.line-badge--white { width: 34px; height: 29px; font-size: 9px; color: var(--c-line-green); }

/* ===== 1. ヘッダー ===== */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 40px;
  height: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.logo { display: flex; flex-direction: column; line-height: 1; white-space: nowrap; }
.logo__main { font-family: var(--f-en); font-weight: 600; font-size: 26px; letter-spacing: .14em; color: var(--c-heading); }
.logo__sub { margin-top: 6px; font-family: var(--f-en); font-weight: 600; font-size: 9.5px; letter-spacing: .24em; color: var(--c-sub); }
.nav { display: flex; gap: 36px; margin-left: auto; font-size: 14px; font-weight: 500; }
.nav a { position: relative; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transition: transform .25s; }
.nav a:hover::after { transform: scaleX(1); }
.header__cta { min-height: 48px; padding: 0 24px; font-size: 14px; }

/* ===== 2. ファーストビュー ===== */
.hero {
  position: relative;
  min-height: 720px;
  padding-top: var(--header-h);
  background:
    linear-gradient(90deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.9) 40%, rgba(255,255,255,.6) 100%),
    url("../images/city_office_background.webp") center 70% / cover no-repeat;
  overflow: hidden;
}
.hero__photo {
  position: absolute;
  top: var(--header-h);
  right: 0;
  bottom: 0;
  width: 64%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 26%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 26%);
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 20%; }
.hero__line { position: absolute; right: 4%; top: 4%; width: 34%; height: 36%; stroke: var(--c-gold); stroke-width: 1; vector-effect: non-scaling-stroke; opacity: .85; }
.hero__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: calc(720px - var(--header-h));
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 40px var(--gutter) 64px;
}
.hero__lead { font-family: var(--f-serif); font-weight: 600; font-size: clamp(18px, 1.9vw, 26px); letter-spacing: .1em; color: var(--c-heading); }
.hero__title {
  margin: 10px 0 18px;
  font-family: var(--f-serif);
  font-weight: 700;
  font-size: clamp(44px, 6.2vw, 84px);
  line-height: 1.22;
  letter-spacing: .02em;
  color: var(--c-heading);
}
.hero__sub { font-family: var(--f-serif); font-weight: 600; font-size: clamp(18px, 1.8vw, 24px); letter-spacing: .14em; }
.hero__text { margin-top: 18px; color: var(--c-sub); font-size: 15px; letter-spacing: .12em; line-height: 1.95; }
.hero__aside {
  align-self: flex-end;
  margin-bottom: 18%;
  font-family: var(--f-serif);
  font-weight: 500;
  font-size: clamp(18px, 1.9vw, 26px);
  line-height: 1.75;
  letter-spacing: .12em;
  color: var(--c-heading);
  text-shadow: 0 0 18px rgba(255, 255, 255, .9);
}

.stats { display: flex; margin-top: 32px; }
.stat { display: flex; align-items: center; gap: 12px; padding: 0 24px; border-left: 1px solid var(--c-line); }
.stat:first-child { padding-left: 0; border-left: 0; }
.stat .icon { width: 34px; height: 34px; stroke-width: 1.2; color: var(--c-heading); flex-shrink: 0; }
.stat p { display: flex; flex-direction: column; line-height: 1.4; }
.stat__label { font-size: 12px; color: var(--c-sub); letter-spacing: .08em; }
.stat__value { font-family: var(--f-serif); font-weight: 600; font-size: 14px; white-space: nowrap; }
.stat__value em { font-style: normal; font-size: 22px; letter-spacing: 0; margin: 0 1px; }

/* ===== 3. コンセプト動画 ===== */
.concept { padding-top: 32px; padding-bottom: 48px; }
.concept__panel {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  align-items: center;
  gap: clamp(32px, 4vw, 56px);
  padding: clamp(28px, 4vw, 48px);
  background: var(--c-panel);
  border-radius: var(--r-card);
}
.concept__body .heading { margin-bottom: 18px; }
.checks { margin-top: 24px; display: grid; gap: 10px; }
.checks li { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 500; letter-spacing: .08em; }
.checks li::before {
  content: "";
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--c-dark) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 13px no-repeat;
}

.movie {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  cursor: pointer;
  text-align: left;
  font: inherit;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 8px;
  color: #fff;
  box-shadow: 0 12px 28px -20px rgba(12, 20, 30, .35);
}
.movie img { width: 100%; height: 100%; object-fit: cover; object-position: center 50%; transition: transform .6s; }
.movie::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(14, 26, 44, .55) 0%, rgba(14, 26, 44, .15) 45%, rgba(14, 26, 44, 0) 70%); }
.movie:disabled { cursor: default; }
.movie:not(:disabled):hover img { transform: scale(1.03); }
.movie:focus-visible { outline: 2px solid var(--c-accent-icon); outline-offset: 4px; }
.movie > span { position: absolute; z-index: 1; }
.movie__copy { left: 6.5%; top: 8%; font-family: var(--f-serif); font-weight: 500; font-size: clamp(15px, 1.9vw, 26px); line-height: 1.45; letter-spacing: .12em; text-shadow: 0 2px 14px rgba(0,0,0,.35); }
.movie__brand {
  left: 6.5%;
  bottom: 9%;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, .55);
  font-family: var(--f-en);
  font-weight: 600;
  font-size: clamp(11px, 1.1vw, 14px);
  letter-spacing: .2em;
  line-height: 1.3;
}
.movie__brand small { display: block; font-size: .72em; letter-spacing: .2em; opacity: .85; }
.movie__time { right: 4%; bottom: 6%; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-shadow: 0 1px 6px rgba(0,0,0,.5); }

/* 動画の再生画面 */
.movie-dialog { width: min(92vw, 1080px); padding: 0; border: 0; background: transparent; overflow: visible; }
.movie-dialog::backdrop { background: rgba(8, 10, 12, .82); }
.movie-dialog__frame { aspect-ratio: 16 / 9; background: #000; }
.movie-dialog__frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.movie-dialog__close { position: absolute; top: -44px; right: 0; width: 40px; height: 40px; border: 0; background: none; color: #fff; font-size: 32px; line-height: 1; cursor: pointer; }

/* ===== 4. 無料AIツール ===== */
.tools { padding-top: 24px; padding-bottom: 72px; }
.tools__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.tool {
  display: flex;
  flex-direction: column;
  padding: 28px 28px 28px;
  background: #fff;
  border: 1px solid var(--c-line-soft);
  border-radius: var(--r-card);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .03);
}
.tool__top { display: grid; grid-template-columns: 1fr 41%; align-items: start; gap: 8px; }
.tool__num { font-family: var(--f-serif); font-weight: 500; font-size: 44px; line-height: 1; color: #C9CCD2; letter-spacing: .02em; }
.tool__title-row { display: flex; gap: 14px; margin-top: 18px; }
.tool__icon { width: 42px; height: 42px; stroke-width: 1.2; color: var(--c-accent-icon); flex-shrink: 0; margin-top: 2px; }
.tool__title { font-size: clamp(16px, 1.45vw, 19px); font-weight: 700; letter-spacing: .02em; line-height: 1.5; color: var(--c-heading); }
.tool__text { margin-top: 10px; font-size: 14px; color: var(--c-sub); line-height: 1.8; letter-spacing: .06em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 16px; }
.chips li { padding: 5px 14px; font-size: 12.5px; font-weight: 500; letter-spacing: .06em; background: #fff; border: 1px solid var(--c-line); border-radius: 999px; }
.tool .btn { margin-top: auto; }

/* ノートPCのモックアップ（画面は生成画像） */
.laptop { width: 100%; margin-top: 4px; transform: rotate(-.0001deg); }
.laptop__screen {
  padding: 3.2% 3.2% 3.6%;
  background: #1c1f23;
  border-radius: 10px 10px 2px 2px;
  box-shadow: inset 0 0 0 1px #3a3e44;
}
.laptop__base {
  position: relative;
  height: 9px;
  margin: 0 -8%;
  background: linear-gradient(#d8dbe0, #9da2a9);
  border-radius: 0 0 12px 12px;
  box-shadow: 0 10px 14px -8px rgba(0, 0, 0, .35);
}
.laptop__base::before { content: ""; position: absolute; left: 41%; right: 41%; top: 0; height: 3px; background: #8b9097; border-radius: 0 0 4px 4px; }
.laptop__screen img { width: 100%; border-radius: 2px; }

/* ===== 5. AI社員の業務一覧 ===== */
.tasks { padding: 40px 0 44px; background: var(--c-band); }
.tasks__title { text-align: center; font-family: var(--f-serif); font-weight: 600; font-size: clamp(17px, 1.7vw, 21px); letter-spacing: .14em; margin-bottom: 24px; }
.tasks__list { display: grid; grid-template-columns: repeat(5, 1fr); }
.task { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 4px 12px; border-left: 1px solid #C9C9C6; }
.task:first-child { border-left: 0; }
.task__icon { width: 34px; height: 34px; stroke-width: 1.2; color: var(--c-heading); margin-bottom: 12px; }
.task__name { word-break: keep-all; font-family: var(--f-serif); font-weight: 600; font-size: 15px; letter-spacing: .06em; line-height: 1.6; }
.task__note { font-family: var(--f-serif); font-size: 14px; color: var(--c-sub); letter-spacing: .04em; line-height: 1.6; }

/* ===== 7. 代表紹介・メディア出演 ===== */
.message__grid { display: grid; grid-template-columns: 5fr 7fr; align-items: center; gap: clamp(32px, 6vw, 88px); }
.message__photo { margin: 0; overflow: hidden; border-radius: var(--r-card); background: var(--c-panel); }
.message__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 18%; }
.message__body .heading { margin-bottom: 24px; }
.message__name { display: flex; flex-direction: column; margin-bottom: 24px; font-family: var(--f-serif); font-weight: 600; font-size: 22px; letter-spacing: .14em; }
.message__name span { font-family: var(--f-sans); font-weight: 500; font-size: 13px; letter-spacing: .08em; color: var(--c-sub); }
.message__text { display: grid; gap: 14px; color: var(--c-sub); font-size: 15px; line-height: 1.95; }
.media { display: flex; align-items: center; gap: 20px; margin-top: 32px; padding: 14px; border: 1px solid var(--c-line-soft); border-radius: 12px; }
.media__photo { width: 168px; aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 30%; border-radius: 8px; flex-shrink: 0; }
.media .eyebrow { margin-bottom: 4px; }
.media__title { font-family: var(--f-serif); font-weight: 600; font-size: 18px; letter-spacing: .08em; color: var(--c-heading); }

/* ===== 6. 最終CTA ===== */
.cta { position: relative; overflow: hidden; background: var(--c-dark); color: #fff; }
.cta__photo { position: absolute; top: 0; right: 0; bottom: 0; width: 46%; }
.cta__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.cta__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--c-dark) 0%, rgba(14, 17, 20, .6) 25%, rgba(14, 17, 20, .1) 60%, rgba(14, 17, 20, .15) 100%); }
.cta__inner { position: relative; padding-top: clamp(64px, 7vw, 88px); padding-bottom: clamp(64px, 7vw, 88px); }
.cta__title { font-family: var(--f-serif); font-weight: 600; font-size: clamp(28px, 3.6vw, 52px); letter-spacing: .08em; line-height: 1.4; }
.cta__text { margin: 18px 0 30px; max-width: 560px; color: rgba(255, 255, 255, .84); font-size: 15px; line-height: 1.95; letter-spacing: .1em; }
.cta .btn--line { width: min(100%, 520px); }
.cta__points { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 22px; font-size: 13px; letter-spacing: .06em; }
.cta__points li { display: flex; align-items: center; gap: 8px; }
.cta__points li::before {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E1114' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 11px no-repeat;
}

/* ===== 8. フッター ===== */
.footer { padding: 44px 0; background: #fff; border-top: 1px solid var(--c-line-soft); }
.footer__inner { display: flex; align-items: center; flex-wrap: wrap; gap: 24px 40px; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-left: auto; font-size: 13px; color: var(--c-sub); }
.footer__nav a:hover { color: var(--c-heading); }
.footer__copy { width: 100%; font-size: 12px; color: var(--c-muted); letter-spacing: .08em; }

/* ===== タブレット ===== */
@media (max-width: 1080px) {
  .nav { gap: 24px; }
  .hero__photo { width: 56%; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 35%); mask-image: linear-gradient(90deg, transparent 0%, #000 35%); }
  .hero__title { font-size: clamp(44px, 5.6vw, 60px); }
  .stats { flex-direction: column; gap: 14px; }
  .stat { padding: 0; border-left: 0; }
  .hero__aside { display: none; }
  .tool__top { grid-template-columns: 1fr; }
  .laptop { width: 78%; margin: 12px auto 0; }
}
@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .nav { display: none; }
  .header__inner { justify-content: space-between; }
  .logo__main { font-size: 21px; }
  .logo__sub { font-size: 8px; }
  .concept__panel { grid-template-columns: 1fr; }
  .message__grid { grid-template-columns: 1fr; }
  .message__photo { max-width: 420px; }
  .hero { min-height: 0; background: #fff; }
  .hero__photo { position: relative; top: 0; width: 100%; height: clamp(300px, 52vw, 460px); -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%); mask-image: linear-gradient(180deg, #000 70%, transparent 100%); }
  .hero__photo img { object-position: 20% 25%; }
  .hero__line { display: none; }
  .hero__inner { min-height: 0; padding-top: 0; padding-bottom: 56px; margin-top: -16px; }
  .tools__grid { grid-template-columns: 1fr; }
  .tool__top { grid-template-columns: 1fr 42%; }
  .laptop { width: 100%; margin: 4px 0 0; }
  .tasks__list { grid-template-columns: repeat(3, 1fr); row-gap: 28px; }
  .task:nth-child(4) { border-left: 0; }
}

/* ===== スマホ ===== */
@media (max-width: 640px) {
  body { font-size: 15px; }
  .pc { display: none; }
  .sp { display: inline; }
  .logo__main { font-size: 17px; letter-spacing: .1em; }
  .logo__sub { margin-top: 4px; font-size: 7.5px; letter-spacing: .12em; }
  .movie__brand small { display: none; }
  .header__cta { min-height: 40px; padding: 0 14px; font-size: 12px; gap: 8px; letter-spacing: .04em; white-space: nowrap; }
  .heading { font-size: 25px; }
  .section-head .text { font-size: 13px; letter-spacing: .04em; }
  .header__cta .arrow { display: none; }

  .hero__title { font-size: clamp(38px, 11vw, 46px); }
  .hero__text { font-size: 14px; }
  .stats { flex-direction: column; gap: 14px; margin-top: 28px; }
  .stat { padding: 0; border-left: 0; }

  .concept { padding-top: 8px; }
  .concept__panel { padding: 28px 20px; }
  .text { font-size: 14px; }
  .checks li { font-size: 14px; }

  .tool { padding: 24px 20px; }
  .tool__top { grid-template-columns: 1fr; }
  .tool__num { font-size: 40px; }
  .laptop { width: 88%; margin: 18px auto 0; }
  .chips li { font-size: 12px; padding: 4px 12px; }

  .tasks__list { grid-template-columns: repeat(2, 1fr); }
  .task { border-left: 0; }
  .task:last-child { grid-column: 1 / -1; }
  .task { padding: 4px 6px; }
  .task__name { font-size: 13.5px; letter-spacing: .02em; }
  .task__note { font-size: 12.5px; letter-spacing: 0; }

  .cta__photo { position: relative; width: 100%; height: 340px; }
  .cta__photo img { object-position: 50% 15%; }
  .media__photo { width: 120px; }
  .media__title { font-size: 16px; }
  .message__name { font-size: 20px; }
  .message__text { font-size: 14px; }
  .cta__photo::after { background: linear-gradient(180deg, rgba(14,17,20,0) 50%, var(--c-dark) 100%); }
  .cta__inner { padding-top: 8px; padding-bottom: 56px; }
  .cta__title { font-size: 28px; }
  .btn--line { font-size: 16px; padding: 0 20px; }
  .cta__points { flex-direction: column; }

  .footer__nav { margin-left: 0; }
}

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