@charset "UTF-8";
/* =========================================================
   AI MAP ONE LP  ファーストビュー
   スマホ基準で書き、1024px以上をPCレイアウトにしています
   ========================================================= */

:root {
  --red: #b01b2f;
  --red-dark: #8a1426;
  --red-text: #a8182c;
  --red-light: #d23a48;
  --ink: #1b1b1f;
  --ink-2: #3d3d44;
  --line: #d9d9de;
  --bg-soft: #f6f6f7;
  --white: #fff;
  --gut: 16px;
  --header-h: 64px;
  --radius: 6px;
  --font: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, p, figure { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0; margin: -1px; padding: 0;
}
.skip {
  position: absolute; left: 8px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 4px;
}
.skip:focus { top: 8px; }
:focus-visible { outline: 3px solid #1a73e8; outline-offset: 2px; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-weight: 700; letter-spacing: .06em; line-height: 1.2; white-space: nowrap;
  border-radius: var(--radius);
  transition: background-color .2s, color .2s, box-shadow .2s, transform .2s;
}
.btn__arrow { width: 1.15em; flex: none; transition: transform .2s; }
.btn__icon { width: 1.3em; flex: none; }
.btn--primary {
  color: #fff;
  background: linear-gradient(180deg, var(--red) 0%, var(--red-dark) 100%);
  box-shadow: 0 6px 16px -6px rgba(138, 20, 38, .55);
}
.btn--primary:hover { box-shadow: 0 10px 22px -8px rgba(138, 20, 38, .7); transform: translateY(-1px); }
.btn--primary:hover .btn__arrow { transform: translateX(3px); }
.btn--outline { color: var(--red-text); background: #fff; border: 1.5px solid var(--red); }
.btn--outline:hover { background: #fdf1f2; }
.btn--sm { font-size: 13px; padding: 0 14px; height: 38px; }
.btn--lg { font-size: 16px; height: 58px; padding: 0 24px; }

/* ---------- ヘッダー ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  transition: background-color .25s, box-shadow .25s;
}
.header.is-scrolled, .header.is-open {
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 2px 14px rgba(0, 0, 0, .06);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.header__inner {
  height: 100%; display: flex; align-items: center; gap: 12px;
  padding: 0 var(--gut); max-width: 1600px; margin: 0 auto;
}
.header__logo { flex: none; width: 140px; margin-right: auto; }
.header__logo img { width: 100%; }
.header__actions { display: flex; align-items: center; gap: 10px; }
.header__dl { display: none; }

.menu-btn { position: relative; width: 40px; height: 40px; }
.menu-btn span {
  position: absolute; left: 7px; right: 7px; height: 2.5px; border-radius: 2px;
  background: var(--ink); transition: transform .25s, opacity .25s;
}
.menu-btn span:nth-child(1) { top: 11px; }
.menu-btn span:nth-child(2) { top: 19px; }
.menu-btn span:nth-child(3) { top: 27px; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* スマホのメニュー（開閉式） */
.gnav {
  position: fixed; top: var(--header-h); left: 0; right: 0;
  background: #fff; padding: 8px var(--gut) 24px;
  box-shadow: 0 12px 20px rgba(0, 0, 0, .08);
  visibility: hidden; opacity: 0; transform: translateY(-8px);
  transition: opacity .25s, transform .25s, visibility .25s;
}
.header.is-open .gnav { visibility: visible; opacity: 1; transform: none; }
.gnav__list a {
  display: block; padding: 14px 4px; font-weight: 500;
  border-bottom: 1px solid #eee;
}
.gnav__sp-btn { width: 100%; height: 50px; margin-top: 18px; font-size: 15px; }

/* ---------- ファーストビュー ---------- */
.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: var(--gut) minmax(0, 1fr) var(--gut);
  grid-template-areas:
    ".     head   ."
    ".     copy   ."
    ".     visual ."
    ".     cta    ."
    "stats stats  stats"
    ".     points .";
  grid-template-rows: calc(var(--header-h) + 14px) auto auto auto auto auto;
  padding-bottom: 28px;
}

/* 背景写真 */
.hero__bg {
  grid-column: 1 / -1; grid-row: 1 / 4;
  position: relative; z-index: -1; overflow: hidden;
  margin-bottom: -14px;
}
.hero__bg-blur {
  position: absolute; inset: -40px; width: calc(100% + 80px); height: calc(100% + 80px);
  max-width: none; object-fit: cover; object-position: 60% 30%;
  filter: blur(22px) saturate(1.05); opacity: .85;
}
.hero__bg-main {
  position: absolute; left: 0; right: 0; top: 13%; bottom: 0;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 16%);
          mask-image: linear-gradient(180deg, transparent 0, #000 16%);
}
.hero__bg-main img {
  width: 100%; height: 100%; max-width: none;
  object-fit: cover; object-position: 56% 0;
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,.85) 0%, rgba(255,255,255,.45) 18%, rgba(255,255,255,0) 40%),
    linear-gradient(90deg, rgba(255,255,255,.9) 0%, rgba(255,255,255,.7) 42%, rgba(255,255,255,0) 70%),
    linear-gradient(0deg, #fff 0%, rgba(255,255,255,0) 14%);
}

.hero__copy { grid-area: copy; }
.hero__eyebrow {
  color: var(--red-light); font-weight: 500;
  font-size: 13px; letter-spacing: .04em; margin-bottom: 8px;
}
.hero__title {
  font-weight: 900; line-height: 1.28; letter-spacing: .01em;
  font-size: clamp(27px, 8vw, 44px);
  font-feature-settings: "palt";
}
.hero__title span { display: block; }
.hero__title-accent { color: var(--red-text); }
.hero__lead {
  margin-top: 14px; max-width: 64%;
  font-size: 13px; line-height: 1.8; color: var(--ink-2);
  text-shadow: 0 0 8px rgba(255,255,255,.9);
}

.hero__visual {
  grid-area: visual; justify-self: start;
  width: min(66%, 360px); margin: 16px 0 0 -8px;
  filter: drop-shadow(0 12px 22px rgba(0, 0, 0, .14));
}

.hero__cta { grid-area: cta; display: grid; gap: 10px; margin-top: 18px; }
.hero__cta .btn { width: 100%; }

.hero__points {
  grid-area: points; display: flex; justify-content: center; flex-wrap: wrap;
  gap: 8px 18px; margin-top: 22px;
  font-size: 13.5px; font-weight: 500; color: var(--ink-2);
}
.hero__points li { display: flex; align-items: center; gap: 6px; }
.hero__check { width: 20px; color: var(--red-dark); flex: none; }

/* 実績 */
.hero__stats { grid-area: stats; margin-top: 22px; background: var(--bg-soft); }
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding: 18px 6px; max-width: 1520px; margin: 0 auto;
}
.stats__item {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 6px; padding: 0 4px; position: relative;
}
.stats__item + .stats__item::before {
  content: ""; position: absolute; left: 0; top: 8%; bottom: 8%;
  width: 1px; background: var(--line);
}
.stats__icon { width: 34px; color: var(--red); flex: none; }
.stats__body { display: flex; flex-direction: column; align-items: center; }
.stats__label { font-size: 11px; font-weight: 500; color: var(--ink-2); white-space: nowrap; }
.stats__value { color: var(--red); font-weight: 900; line-height: 1.1; white-space: nowrap; font-feature-settings: "palt"; }
.stats__value strong { font-size: 24px; font-weight: 900; letter-spacing: -.01em; }
.stats__value small { font-size: 11.5px; font-weight: 700; }
.stats { grid-template-columns: 1fr 1fr 1fr 1.3fr; }
.stats__item--text .stats__body { font-size: 10px; font-weight: 700; line-height: 1.55; color: var(--ink-2); }

.pc-hide { display: inline; }
.sp-hide { display: none; }

/* ---------- タブレット ---------- */
@media (min-width: 600px) {
  :root { --gut: 32px; }
  .hero__lead { font-size: 15px; max-width: 58%; }
  .hero__eyebrow { font-size: 16px; }
  .hero__cta { grid-template-columns: 1fr 1fr; }
  .stats__label { font-size: 13px; }
  .stats__value strong { font-size: 32px; }
  .stats__value small { font-size: 14px; }
  .stats__item--text .stats__body { font-size: 13px; }
  .stats__icon { width: 42px; }
}

/* ---------- PC ---------- */
@media (min-width: 1024px) {
  :root { --gut: 40px; --header-h: 92px; }

  .header__logo { width: clamp(200px, 17vw, 280px); margin-right: 0; }
  .header__inner { gap: 24px; padding: 0 clamp(40px, 4.5vw, 76px); max-width: none; }
  .menu-btn, .gnav__sp-btn { display: none; }
  .gnav {
    position: static; visibility: visible; opacity: 1; transform: none;
    background: none; box-shadow: none; padding: 0; margin: 0 auto 0 clamp(24px, 5vw, 90px);
  }
  .gnav__list { display: flex; gap: clamp(20px, 2.6vw, 44px); }
  .gnav__list a {
    padding: 8px 0; border: 0; font-size: 16px; font-weight: 700;
    position: relative; text-shadow: 0 0 10px rgba(255,255,255,.9);
  }
  .gnav__list a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px;
    background: var(--red); transform: scaleX(0); transition: transform .2s;
  }
  .gnav__list a:hover::after { transform: scaleX(1); }
  .header__actions { gap: 20px; }
  .btn--sm { font-size: 15px; height: 52px; padding: 0 24px; }

  .hero {
    grid-template-columns:
      minmax(clamp(40px, 4.5vw, 76px), 1fr)
      minmax(0, 1130px)
      clamp(290px, 26vw, 390px)
      minmax(clamp(40px, 4.5vw, 76px), 1fr);
    grid-template-areas:
      ".     head   head   ."
      ".     copy   visual ."
      ".     cta    visual ."
      ".     points visual ."
      "stats stats  stats  stats";
    grid-template-rows: calc(var(--header-h) + clamp(32px, 4.5vw, 64px)) auto auto 1fr auto;
    padding-bottom: 0;
  }
  .hero__bg { grid-row: 1 / 5; margin-bottom: 0; }
  /* 写真を少し引きで見せ、左右は同じ写真のぼかしでつなぐ */
  .hero__bg-main {
    top: 0; left: 50%; right: auto; width: auto; height: 100%;
    aspect-ratio: 3 / 2; transform: translateX(-50%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14%, #000 86%, transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0, #000 14%, #000 86%, transparent 100%);
  }
  .hero__bg-main img { object-position: 50% 50%; }
  .hero__bg::after {
    background:
      linear-gradient(180deg, rgba(255,255,255,.6) 0%, rgba(255,255,255,0) 16%),
      linear-gradient(90deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.85) 26%, rgba(255,255,255,.2) 42%, rgba(255,255,255,0) 50%),
      linear-gradient(0deg, rgba(255,255,255,.5) 0%, rgba(255,255,255,0) 20%);
  }

  .hero__eyebrow { font-size: clamp(17px, 1.35vw, 23px); margin-bottom: 10px; }
  .hero__title { font-size: clamp(46px, 4.45vw, 76px); line-height: 1.25; }
  .hero__lead {
    max-width: 40em; margin-top: 20px;
    font-size: clamp(15px, 1.2vw, 20px); line-height: 1.8;
  }

  .hero__visual {
    width: 100%; margin: 0; justify-self: end; align-self: start;
    margin-top: -8px; max-width: 390px;
  }

  .hero__cta { grid-template-columns: repeat(2, minmax(0, 330px)); gap: 22px; margin-top: clamp(24px, 2.6vw, 40px); }
  .btn--lg { height: clamp(62px, 4.5vw, 76px); font-size: clamp(16px, 1.2vw, 19px); }

  .hero__points {
    justify-content: flex-start; gap: 16px 42px; margin-top: 22px;
    padding-bottom: clamp(32px, 3vw, 48px); align-self: start;
    font-size: clamp(15px, 1.2vw, 19px);
  }
  .hero__check { width: 28px; }

  .hero__stats { margin-top: 0; }
  .stats { padding: clamp(26px, 2.6vw, 42px) clamp(40px, 4.5vw, 76px); }
  .stats__item {
    flex-direction: row; justify-content: center; text-align: left; gap: 20px;
  }
  .stats__body { align-items: flex-start; }
  .stats__icon { width: clamp(46px, 3.6vw, 60px); }
  .stats__label { font-size: clamp(14px, 1.1vw, 17px); }
  .stats__value strong { font-size: clamp(34px, 2.8vw, 46px); }
  .stats__value small { font-size: clamp(16px, 1.3vw, 22px); }
  .stats__item--text { flex: 1.4; }
  .stats__item--text .stats__body { font-size: clamp(14px, 1.15vw, 18px); line-height: 1.7; color: var(--ink); }
  .stats { grid-template-columns: 1fr 1fr 1fr 1.45fr; }
  .pc-hide { display: none; }
  .sp-hide { display: inline; }
}

@media (min-width: 1280px) {
  .header__dl { display: inline-flex; }
}

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