/* やわらかい雰囲気：生成り色の背景、丸みのあるカード、明るめの青 */
:root {
  --bg: #fbf8f3;
  --surface: #ffffff;
  --tint: #eef5fb;
  --warm: #f5efe6;
  --accent: #2b6cb0;
  --accent-dark: #22578f;
  --accent-soft: #dbe9f6;
  --text: #2f2a26;
  --muted: #6f6760;
  --line: #e8e0d4;
  --notice: #fff6e0;
  --notice-line: #f0d48a;
  --radius: 16px;
  --shadow: 0 6px 24px rgba(47, 42, 38, 0.08);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "BIZ UDPGothic", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", "Meiryo", sans-serif;
  font-size: 17px;
  line-height: 1.9;
  overflow-wrap: anywhere;
}

a {
  color: var(--accent);
}

a:hover {
  color: var(--accent-dark);
}

img {
  max-width: 100%;
}

.wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 16px;
}

/* 文章の多いセクション：左端はほかのセクションとそろえ、行の長さだけ短くする */
.narrow > * {
  max-width: 760px;
}

.apply .narrow > * {
  margin-left: auto;
  margin-right: auto;
}

/* プライバシーポリシー：読みものとして中央に置く */
.reading {
  max-width: 792px;
}

/* 見出しを言葉の切れ目で折り返す（ひとかたまりを span で囲む） */
.phrase span {
  display: inline-block;
}

/* 上の帯 */
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.site-name {
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  font-size: 16px;
  letter-spacing: 0.08em;
}

.site-header nav a {
  font-size: 14px;
  color: var(--muted);
}

/* ボタン */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 999px;
  background: var(--accent);
  color: #ffffff;
  font-weight: 700;
  font-size: 17px;
  line-height: 1.5;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(43, 108, 176, 0.28);
}

.btn:hover,
.btn:focus-visible {
  background: var(--accent-dark);
  color: #ffffff;
}

.btn-sub {
  display: inline-block;
  padding: 14px 8px;
  color: var(--accent);
  font-weight: 700;
  font-size: 16px;
}

/* 冒頭 */
.hero .wrap {
  display: grid;
  gap: 28px;
  padding-top: 20px;
  padding-bottom: 48px;
}

.status {
  display: inline-block;
  margin: 0 0 14px;
  padding: 4px 16px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 700;
}

.status.closed {
  background: var(--warm);
  color: var(--muted);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 15px;
}

h1 {
  margin: 0 0 20px;
  color: var(--text);
  font-size: 30px;
  line-height: 1.5;
  letter-spacing: 0.02em;
}

h1 em {
  font-style: normal;
  color: var(--accent);
}

.checks {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
}

.checks li {
  position: relative;
  margin: 0 0 6px;
  padding-left: 32px;
  font-weight: 700;
}

.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.38em;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232b6cb0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 16px;
}

.hero-figure {
  margin: 0;
}

.paper {
  display: block;
  padding: 10px;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.paper img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.hero-figure figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  text-align: center;
}

/* 本文のブロック */
.block {
  padding: 56px 0;
}

.block.tint {
  background: var(--tint);
}

.block.warm {
  background: var(--warm);
}

h2 {
  margin: 0 0 20px;
  color: var(--text);
  font-size: 25px;
  line-height: 1.5;
}

h2::after {
  content: "";
  display: block;
  width: 40px;
  height: 4px;
  margin-top: 10px;
  border-radius: 2px;
  background: var(--accent);
}

h3 {
  margin: 0 0 6px;
  font-size: 18px;
  line-height: 1.6;
}

p {
  margin: 0 0 14px;
}

ul,
ol {
  margin: 0 0 14px;
  padding-left: 1.4em;
}

li {
  margin-bottom: 8px;
}

.card {
  padding: 20px;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.small {
  color: var(--muted);
  font-size: 15px;
}

/* レポートで分かること */
.features {
  display: grid;
  gap: 16px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.features li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  margin: 0;
  padding: 20px;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
}

.icon svg {
  width: 24px;
  height: 24px;
}

.features p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

/* 見本（横にスワイプ） */
.carousel {
  position: relative;
}

.track {
  display: flex;
  gap: 16px;
  margin: 0 -16px;
  padding: 8px 16px 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 16px;
  -webkit-overflow-scrolling: touch;
}

.track:focus-visible {
  outline: 3px solid var(--accent-soft);
}

.slide {
  flex: 0 0 82%;
  max-width: 340px;
  margin: 0;
  scroll-snap-align: start;
}

.slide a {
  display: block;
  padding: 8px;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.slide img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.slide figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.slide figcaption b {
  display: block;
  color: var(--text);
}

.carousel-nav {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 4px;
}

.js .carousel-nav {
  display: flex;
}

.carousel-nav button {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--accent);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.carousel-nav button:disabled {
  color: var(--line);
  cursor: default;
}

.carousel-count {
  min-width: 4em;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

/* 画像を大きく見る */
.viewer {
  width: min(960px, 100%);
  max-width: 100%;
  max-height: 100%;
  margin: auto;
  padding: 0;
  border: none;
  border-radius: 12px;
  background: var(--surface);
}

.viewer::backdrop {
  background: rgba(47, 42, 38, 0.6);
}

.viewer img {
  display: block;
  width: 100%;
  height: auto;
}

.viewer-bar {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 8px 8px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  font-size: 15px;
}

.viewer-bar button {
  padding: 8px 16px;
  border: none;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

/* 人が確かめること・AIで調べること */
.roles {
  display: grid;
  gap: 16px;
}

.role {
  padding: 22px 20px 8px;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.role h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.role-tag {
  display: inline-block;
  padding: 2px 12px;
  border-radius: 999px;
  font-size: 14px;
}

.role.human .role-tag {
  background: var(--accent);
  color: #ffffff;
}

.role.ai .role-tag {
  background: var(--warm);
  color: var(--text);
}

/* 届くまでの流れ */
.steps {
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  position: relative;
  margin: 0;
  padding: 0 0 24px 60px;
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: #ffffff;
  font-weight: 700;
}

.steps li::after {
  content: "";
  position: absolute;
  left: 19px;
  top: 44px;
  bottom: 4px;
  width: 2px;
  background: var(--accent-soft);
}

.steps li:last-child {
  padding-bottom: 0;
}

.steps li:last-child::after {
  display: none;
}

.steps h3 {
  padding-top: 6px;
}

.steps p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.ask {
  display: inline-block;
  margin-left: 8px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--notice);
  border: 1px solid var(--notice-line);
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  vertical-align: 2px;
}

/* 募集の内容 */
.facts {
  margin: 0;
  padding: 4px 20px;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.facts div {
  display: grid;
  grid-template-columns: 8.5em 1fr;
  gap: 2px 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.facts div:last-child {
  border-bottom: none;
}

.facts dt {
  font-weight: 700;
}

.facts dd {
  margin: 0;
}

/* よくある質問 */
.faq details {
  margin: 0 0 12px;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.faq summary {
  position: relative;
  padding: 16px 52px 16px 20px;
  font-weight: 700;
  line-height: 1.7;
  list-style: none;
  cursor: pointer;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "＋";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent);
}

.faq details[open] summary::after {
  content: "－";
}

.faq .answer {
  padding: 0 20px 16px;
}

.faq .answer p:last-child {
  margin-bottom: 0;
}

/* 注意書き */
.notice {
  padding: 18px 20px;
  border: 1px solid var(--notice-line);
  border-radius: var(--radius);
  background: var(--notice);
}

.notice ul {
  margin-bottom: 0;
}

/* お申し込み */
.apply {
  text-align: center;
}

.apply h2::after {
  margin-left: auto;
  margin-right: auto;
}

.apply .small {
  margin-top: 16px;
}

/* プライバシーポリシー */
.policy {
  padding: 32px 0 56px;
}

.policy .card {
  padding: 28px 20px;
}

.policy h1 {
  font-size: 26px;
}

.policy h2 {
  margin-top: 36px;
  font-size: 20px;
}

.policy .facts {
  box-shadow: none;
  padding: 0;
}

.policy .enacted {
  margin-top: 28px;
  color: var(--muted);
}

/* 下の帯 */
.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.site-footer .wrap {
  padding-top: 28px;
  padding-bottom: 36px;
}

.site-footer p {
  margin: 0 0 8px;
}

.site-footer strong {
  color: var(--text);
  letter-spacing: 0.08em;
}

@media (min-width: 720px) {
  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 28px;
  }

  .hero .wrap {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 48px;
    padding-top: 40px;
    padding-bottom: 72px;
  }

  .hero-figure .paper {
    transform: rotate(1.5deg);
  }

  .block {
    padding: 72px 0;
  }

  .features {
    grid-template-columns: 1fr 1fr;
  }

  .roles {
    grid-template-columns: 1fr 1fr;
  }

  .slide {
    flex-basis: 300px;
  }

  .carousel-count {
    display: none;
  }

  .policy .card {
    padding: 40px 48px;
  }
}

@media (max-width: 420px) {
  body {
    font-size: 16px;
  }

  h1 {
    font-size: 27px;
  }

  .facts div {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
