/* =========================================================
   YAGURA AI Lab — 自己紹介サイト
   クール×ネイビー（白基調＋ロイヤルネイビー＋斜めの帯）
   ========================================================= */

:root {
  --navy: #16205f;       /* ロイヤルネイビー（主役） */
  --navy-2: #1b2a8f;
  --navy-deep: #0d1440;
  --blue: #2b5ce6;       /* アクセントの鮮やかな青 */
  --blue-light: #9fb6ff; /* 紺地の上の淡い青 */
  --bg: #ffffff;
  --bg-soft: #f4f6fb;    /* 冷たい薄グレー */
  --line: #e3e8f2;
  --ink: #1b2130;
  --muted: #5b6475;
  --grad-band: linear-gradient(120deg, #121a54 0%, #1b2a8f 55%, #2547c9 100%);
  --sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  --en: "Manrope", "Noto Sans JP", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.9;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
ul, ol { list-style: none; }

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

.nw { display: inline-block; white-space: nowrap; }
.pc-only { display: inline; }
.sp-only { display: none; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--navy);
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 15px 34px;
  border-radius: 999px;
  box-shadow: 0 10px 26px rgba(22, 32, 95, 0.26);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  white-space: nowrap;
}
.btn::after {
  content: "→";
  font-family: var(--en);
  font-weight: 700;
  transition: transform 0.25s ease;
}
.btn:hover {
  transform: translateY(-2px);
  background: var(--blue);
  box-shadow: 0 14px 32px rgba(43, 92, 230, 0.36);
}
.btn:hover::after { transform: translateX(3px); }
.btn--small { padding: 10px 20px; font-size: 13px; box-shadow: 0 6px 16px rgba(22, 32, 95, 0.2); }
.btn--large { padding: 17px 46px; font-size: 16px; }
.btn--invert {
  background: #ffffff;
  color: var(--navy);
  box-shadow: 0 12px 30px rgba(5, 10, 40, 0.35);
}
.btn--invert:hover { background: #eaf0ff; color: var(--navy); }

/* ---------- ヘッダー ---------- */
.siteheader {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.siteheader__inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  font-family: var(--en);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.05em;
  color: var(--navy);
  text-decoration: none;
  white-space: nowrap;
}
.brand__ai { color: var(--blue); }
.gnav {
  display: flex;
  gap: 24px;
  margin-left: auto;
}
.gnav a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  padding: 4px 0;
}
.gnav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.gnav a:hover::after { transform: scaleX(1); }

/* ---------- ヒーロー ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #edf2fc 0%, #f8faff 55%, #ffffff 100%);
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__glow {
  position: absolute;
  top: -260px; right: -160px;
  width: 780px; height: 780px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(43, 92, 230, 0.14) 0%, rgba(43, 92, 230, 0) 62%);
}
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(22, 32, 95, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(22, 32, 95, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.9), transparent 80%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.9), transparent 80%);
}
.hero__inner {
  position: relative;
  max-width: 1160px;
  margin: 0 auto;
  padding: 76px 24px 132px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr);
  gap: 48px;
  align-items: center;
}
.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--muted);
  animation: fadeup 0.9s ease 0.05s both;
}
.hero__eyebrow .rule {
  width: 10px; height: 10px;
  background: var(--navy);
  flex-shrink: 0;
}
.hero__title {
  font-weight: 900;
  font-size: clamp(30px, 5.2vw, 56px);
  line-height: 1.5;
  letter-spacing: 0.03em;
  color: var(--navy);
  margin-top: 26px;
  animation: fadeup 0.9s ease 0.18s both;
}
.hero__title .accent {
  color: var(--blue);
  position: relative;
}
.hero__title .accent::after {
  content: "";
  position: absolute;
  left: 2px; right: 2px; bottom: 7px;
  height: 12px;
  background: rgba(43, 92, 230, 0.16);
  z-index: -1;
}
.hero__sub {
  margin-top: 26px;
  font-size: clamp(14px, 1.6vw, 17px);
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--muted);
  animation: fadeup 0.9s ease 0.32s both;
}
.hero__cta {
  margin-top: 40px;
  animation: fadeup 0.9s ease 0.46s both;
}
.hero__ctanote {
  margin-top: 12px;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.05em;
}

.hero__figure {
  position: relative;
  justify-self: center;
  animation: fadeup 1s ease 0.35s both;
}
.portrait {
  position: relative;
  width: min(340px, 78vw);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 26px 60px rgba(13, 20, 64, 0.24);
}
.portrait img { width: 100%; height: auto; }
.hero__figure::before {
  content: "";
  position: absolute;
  top: 26px; left: -26px;
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #dfe8fb 0%, #cdd9f6 100%);
  border-radius: 14px;
  z-index: -1;
}
.portrait__card {
  position: absolute;
  bottom: -18px;
  right: -14px;
  background: var(--navy);
  color: #ffffff;
  padding: 14px 22px;
  border-radius: 10px;
  border-left: 3px solid var(--blue);
  box-shadow: 0 14px 32px rgba(13, 20, 64, 0.32);
}
.portrait__name {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.portrait__name span {
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 0.2em;
  margin-left: 10px;
  color: rgba(255, 255, 255, 0.72);
}
.portrait__role {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--blue-light);
  margin-top: 2px;
  white-space: nowrap;
}

@keyframes fadeup {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- セクション見出し共通 ---------- */
.sect { margin-bottom: 48px; }
.sect__en {
  font-family: var(--en);
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}
.sect__en::before {
  content: "";
  width: 9px; height: 9px;
  background: var(--navy);
  flex-shrink: 0;
}
.sect__en--center { justify-content: center; }
.sect__title {
  font-weight: 900;
  font-size: clamp(24px, 3.4vw, 34px);
  letter-spacing: 0.04em;
  line-height: 1.5;
  margin-top: 12px;
  text-wrap: balance;
}
.sect__lead {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14.5px;
  letter-spacing: 0.04em;
}
.sect--onink .sect__title { color: #ffffff; }
.sect--onink .sect__en { color: var(--blue-light); }
.sect--onink .sect__en::before { background: var(--blue-light); }

/* ---------- 実績（斜めのネイビー帯） ---------- */
.results {
  background: var(--grad-band);
  color: #ffffff;
  clip-path: polygon(0 72px, 100% 0, 100% 100%, 0 100%);
  margin-top: -72px;
  padding: 168px 0 100px;
  position: relative;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.stat {
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 28px 26px 24px;
}
.stat__num {
  font-family: var(--en);
  font-weight: 800;
  font-size: 44px;
  line-height: 1.1;
  color: #ffffff;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.stat__unit { font-family: var(--sans); font-weight: 700; font-size: 16px; margin-left: 4px; letter-spacing: 0.06em; }
.stat__sep { font-size: 22px; margin: 0 4px; color: rgba(255, 255, 255, 0.6); }
.stat__label {
  margin-top: 12px;
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: 0.05em;
  color: var(--blue-light);
}
.stat__note {
  margin-top: 6px;
  font-size: 11.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.66);
  letter-spacing: 0.03em;
}

/* ---------- プロフィール ---------- */
.profile { padding: 96px 0; background: var(--bg); }
.profile__grid {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}
.profile__grid .sect { margin-bottom: 0; position: sticky; top: 96px; }
.profile__body p + p { margin-top: 1.2em; }
.profile__body { font-size: 15.5px; letter-spacing: 0.03em; }
.profile__origin {
  font-weight: 700;
  font-size: 17px;
  line-height: 2;
  padding: 22px 26px;
  background: var(--bg-soft);
  border-left: 3px solid var(--blue);
  border-radius: 0 12px 12px 0;
  color: var(--navy);
}
.profile__license {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
}
.profile__license dt {
  font-family: var(--en);
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 6px;
}

/* ---------- できること ---------- */
.services {
  background: var(--bg-soft);
  padding: 96px 0 104px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 22px;
}
.card {
  grid-column: span 2;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 30px 28px 32px;
  position: relative;
  box-shadow: 0 6px 22px rgba(22, 32, 95, 0.05);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}
.card:hover {
  transform: translateY(-5px);
  border-color: rgba(43, 92, 230, 0.45);
  box-shadow: 0 18px 40px rgba(22, 32, 95, 0.12);
}
.card:nth-child(4) { grid-column: 1 / span 3; }
.card:nth-child(5) { grid-column: 4 / span 3; }
.card__num {
  font-family: var(--en);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.18em;
  color: var(--blue);
}
.card__num::after {
  content: "";
  display: block;
  width: 30px; height: 2px;
  background: var(--blue);
  margin-top: 10px;
  opacity: 0.5;
}
.card__title {
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.04em;
  margin-top: 16px;
  line-height: 1.6;
  color: var(--navy);
  text-wrap: balance;
}
.card__text {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.95;
  color: #3e4657;
  letter-spacing: 0.02em;
}

/* ---------- お客様の声 ---------- */
.voices { padding: 96px 0; background: var(--bg); }
.voicelist {
  columns: 3;
  column-gap: 22px;
}
.voice {
  break-inside: avoid;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 46px 26px 24px;
  margin-bottom: 22px;
  position: relative;
  box-shadow: 0 6px 20px rgba(22, 32, 95, 0.05);
}
.voice::before {
  content: "“";
  position: absolute;
  top: 2px; left: 20px;
  font-family: var(--en);
  font-size: 64px;
  line-height: 1;
  color: var(--blue);
  opacity: 0.45;
}
.voice__text {
  font-size: 14px;
  line-height: 1.95;
  letter-spacing: 0.02em;
}
.voice__from {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.voice__from::before {
  content: "— ";
  color: var(--blue);
}

/* ---------- 思い ---------- */
.story { padding: 96px 0 0; background: var(--bg); }
.story__block { max-width: 760px; }
.story__block p + p { margin-top: 1.2em; }
.story__block > p { font-size: 15.5px; letter-spacing: 0.03em; }
.story__head {
  font-weight: 700;
  font-size: 21px;
  letter-spacing: 0.05em;
  color: var(--navy);
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.story__head::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--line);
}

.wish {
  margin-top: 72px;
  background:
    radial-gradient(760px 400px at 14% 115%, rgba(43, 92, 230, 0.3), transparent 62%),
    var(--navy-deep);
  color: #ffffff;
  padding: 92px 0;
  text-align: center;
}
.wish__label {
  font-family: var(--en);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.4em;
  text-indent: 0.4em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 10px;
}
.wish__label::after {
  content: "願い";
  font-family: var(--sans);
  display: block;
  font-size: 14px;
  letter-spacing: 0.4em;
  text-indent: 0.4em;
  margin-top: 8px;
}
.wish__text {
  font-weight: 700;
  font-size: clamp(20px, 3.1vw, 29px);
  line-height: 2.05;
  letter-spacing: 0.07em;
  margin-top: 18px;
  text-wrap: balance;
}
.wish__sub {
  max-width: 680px;
  margin: 30px auto 0;
  font-size: 14px;
  line-height: 2;
  color: rgba(255, 255, 255, 0.78);
  letter-spacing: 0.04em;
  text-align: left;
}

.story .container:last-child { padding-top: 88px; padding-bottom: 96px; }
.values { max-width: 760px; }
.value {
  display: flex;
  gap: 24px;
  align-items: baseline;
  padding: 20px 4px;
  border-bottom: 1px solid var(--line);
}
.value:first-child { border-top: 1px solid var(--line); }
.value__num {
  font-family: var(--en);
  font-weight: 800;
  font-size: 20px;
  color: var(--blue);
  flex-shrink: 0;
  width: 40px;
}
.value__title {
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.04em;
  color: var(--navy);
}
.value__text {
  font-size: 13.5px;
  color: var(--muted);
  margin-top: 4px;
  letter-spacing: 0.03em;
}

/* ---------- 対応範囲・料金 ---------- */
.notes { padding: 0 0 96px; background: var(--bg); }
.notes__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.note {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 30px 30px 32px;
}
.note__title {
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.04em;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.7;
}
.note__text {
  font-size: 13.5px;
  line-height: 2;
  color: #3e4657;
  letter-spacing: 0.02em;
}

/* ---------- お問い合わせ ---------- */
.contact {
  background: var(--grad-band);
  color: #ffffff;
  clip-path: polygon(0 0, 100% 64px, 100% 100%, 0 100%);
  padding: 156px 0 104px;
  text-align: center;
}
.contact__title {
  font-weight: 900;
  font-size: clamp(23px, 3.4vw, 34px);
  letter-spacing: 0.05em;
  line-height: 1.8;
  margin-top: 14px;
  text-wrap: balance;
}
.contact__text {
  margin-top: 18px;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.82);
  letter-spacing: 0.04em;
}
.contact .btn { margin-top: 36px; }
.contact .sect__en { color: var(--blue-light); }
.contact .sect__en::before { background: var(--blue-light); }

/* ---------- フッター ---------- */
.sitefooter {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
  padding: 26px 0;
  font-size: 12px;
  font-family: var(--en);
  letter-spacing: 0.16em;
}

/* =========================================================
   レスポンシブ
   ========================================================= */
@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
    padding: 48px 24px 120px;
    gap: 56px;
  }
  .hero__figure { justify-self: center; margin-left: 12px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .profile__grid { grid-template-columns: 1fr; gap: 8px; }
  .profile__grid .sect { position: static; margin-bottom: 32px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .card, .card:nth-child(4), .card:nth-child(5) { grid-column: auto; }
  .voicelist { columns: 2; }
}

@media (max-width: 640px) {
  body { font-size: 15px; }
  .pc-only { display: none; }
  .sp-only { display: inline; }
  .gnav { display: none; }
  .siteheader__inner { justify-content: space-between; gap: 12px; }

  .hero__inner { padding: 40px 20px 108px; }
  .hero__title { font-size: clamp(27px, 8.4vw, 34px); line-height: 1.55; }
  .hero__sub { font-size: 14px; }
  .hero__eyebrow { font-size: 11px; letter-spacing: 0.07em; }
  .hero__eyebrow .rule { width: 8px; height: 8px; }

  .portrait { width: min(300px, 82vw); }
  .portrait__card { right: 0; padding: 12px 18px; }
  .portrait__name { font-size: 16px; }

  .results {
    clip-path: polygon(0 36px, 100% 0, 100% 100%, 0 100%);
    margin-top: -36px;
    padding: 112px 0 80px;
  }
  .profile, .services, .voices { padding-top: 72px; padding-bottom: 76px; }
  .story { padding-top: 72px; }
  .stats { grid-template-columns: 1fr; gap: 14px; }
  .stat { padding: 24px 22px; }
  .stat__num { font-size: 38px; }

  .cards { grid-template-columns: 1fr; gap: 16px; }
  .card { padding: 26px 22px 28px; }

  .voicelist { columns: 1; }

  .wish { padding: 68px 0; }
  .wish__text { font-size: 20px; line-height: 2; }
  .wish__sub { font-size: 13.5px; }
  .story .container:last-child { padding-top: 68px; padding-bottom: 76px; }

  .value { gap: 16px; }
  .notes__grid { grid-template-columns: 1fr; }
  .note { padding: 24px 22px 26px; }

  .contact {
    clip-path: polygon(0 0, 100% 32px, 100% 100%, 0 100%);
    padding: 108px 0 84px;
  }
  .btn--large { padding: 16px 38px; font-size: 15px; }
}

@media (max-width: 360px) {
  .hero__title { font-size: 25px; }
  .brand { font-size: 16px; }
  .btn--small { padding: 9px 14px; font-size: 12px; }
  .portrait__name span { display: none; }
}

/* 動きを減らす設定の人向け */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__eyebrow, .hero__title, .hero__sub, .hero__cta, .hero__figure { animation: none; }
  .btn, .card { transition: none; }
}
