/* =========================================================
   ヒサエージェンシー 共通スタイル
   イメージカラー：グレー #828282 / 黄色 #FCB900
   ========================================================= */

:root {
  --yellow: #fcb900;
  --yellow-deep: #e6a800;
  --btn-yellow: #ffd04d;      /* ボタン用のやわらかい黄色 */
  --btn-yellow-hover: #ffc21f;
  --yellow-text: #8a6000;     /* 小さい黄色文字用（白・薄グレー背景で読みやすい濃さ） */
  --yellow-text-lg: #b07f00;  /* 大きい黄色文字用 */
  --yellow-soft: #fff7dc;
  --gray: #828282;
  --gray-dark: #4b4b4b;
  --gray-light: #f4f4f2;
  --gray-line: #e2e2df;
  --brown: #5e3a17;
  --text: #333333;
  --white: #ffffff;

  --font-body: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  --font-head: "Zen Maru Gothic", "Noto Sans JP", "Hiragino Maru Gothic ProN", sans-serif;

  --radius: 14px;
  --shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
  --container: 1120px;
  --header-h: 72px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.9;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: anywhere;
}

img, video { max-width: 100%; height: auto; display: block; }

a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.5;
  margin: 0;
  color: var(--gray-dark);
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.br-pc { display: none; }
@media (min-width: 768px) { .br-pc { display: inline; } }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: background-color .2s, color .2s, transform .2s, box-shadow .2s;
  border: 2px solid transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--btn-yellow); color: var(--gray-dark); }
.btn--primary:hover { background: var(--btn-yellow-hover); }
.btn--outline { border-color: var(--gray); color: var(--gray-dark); background: var(--white); }
.btn--outline:hover { background: var(--gray-dark); border-color: var(--gray-dark); color: var(--white); }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gray-line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 16px;
}
.logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1.3;
}
.logo__sub { font-size: 11px; color: var(--gray); letter-spacing: 0.08em; }
.logo__main {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 20px;
  color: var(--gray-dark);
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.logo__main span { color: var(--yellow); }

.global-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.global-nav a {
  display: block;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  color: var(--gray-dark);
  border-radius: 999px;
  transition: background-color .2s;
}
.global-nav a:hover { background: var(--gray-light); }
.global-nav a[aria-current="page"] { color: var(--brown); background: var(--yellow-soft); }
.global-nav .nav-cta a { background: var(--btn-yellow); margin-left: 8px; padding: 9px 22px; font-weight: 700; }
.global-nav .nav-cta a:hover { background: var(--btn-yellow-hover); }

.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 0; background: transparent; cursor: pointer;
  position: relative;
}
.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  position: absolute; left: 11px; width: 22px; height: 2px;
  background: var(--gray-dark); border-radius: 2px; transition: transform .25s, opacity .25s;
  content: "";
}
.menu-toggle span { top: 21px; }
.menu-toggle span::before { left: 0; top: -7px; }
.menu-toggle span::after { left: 0; top: 7px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .global-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-line);
    box-shadow: var(--shadow);
    display: none;
  }
  .menu-open .global-nav { display: block; }
  .global-nav ul { flex-direction: column; align-items: stretch; padding: 12px 20px 20px; gap: 0; }
  .global-nav a { padding: 14px 8px; border-radius: 0; border-bottom: 1px solid var(--gray-line); }
  .global-nav .nav-cta a { margin: 16px 0 0; text-align: center; border-radius: 999px; border: 0; }
}

/* ---------- セクション共通 ---------- */
.section { padding: 96px 0; }
.section--gray { background: var(--gray-light); }
.section--tight { padding: 72px 0; }
@media (max-width: 767px) {
  .section { padding: 64px 0; }
  .section--tight { padding: 48px 0; }
}

.section-head { text-align: center; margin-bottom: 48px; }
.section-head__en {
  display: block;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--yellow-text);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.section-head__title {
  font-size: clamp(24px, 4vw, 32px);
  letter-spacing: 0.06em;
}
.section-head__title::after {
  content: "";
  display: block;
  width: 40px;
  height: 4px;
  margin: 16px auto 0;
  border-radius: 4px;
  background: var(--yellow);
}
.section-head__lead { margin-top: 20px; color: var(--gray); }

/* ---------- ヒーロー（写真を明るく全面に） ---------- */
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--white);
}
.hero__photo {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 70% 50%;
}
.hero__photo::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, .97) 0%, rgba(255, 255, 255, .9) 38%, rgba(255, 255, 255, .35) 65%, rgba(255, 255, 255, 0) 100%);
}
.hero__inner {
  min-height: min(84vh, 720px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 56px;
  padding-bottom: 56px;
}
.hero__text { max-width: 680px; }
.hero__eyebrow {
  display: inline-block;
  background: var(--yellow);
  color: var(--gray-dark);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}
.hero__title {
  color: var(--gray-dark);
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.35;
  letter-spacing: 0.04em;
  margin-bottom: 24px;
}
.hero__title span { display: inline-block; }
.hero__title em { font-style: normal; color: var(--yellow-text-lg); }
.hero__lead { color: var(--gray-dark); margin-bottom: 26px; }
.hero__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 32px; padding: 0; list-style: none; }
.hero__tags li {
  padding: 4px 14px;
  border: 1px solid var(--gray-line);
  background: rgba(255, 255, 255, .8);
  border-radius: 6px;
  font-size: 13px;
  color: var(--gray-dark);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__stats { display: flex; gap: 12px; margin: 48px 0 0; padding: 0; }
.hero__stats > div {
  flex: 1;
  max-width: 180px;
  background: var(--white);
  border-radius: 12px;
  padding: 14px 16px;
  box-shadow: var(--shadow);
}
.hero__stats dt { font-size: 12px; color: var(--gray); }
.hero__stats dd { margin: 0; font-size: 14px; font-weight: 700; color: var(--gray-dark); }
.hero__stats strong {
  font-family: var(--font-head);
  font-size: clamp(28px, 3.4vw, 34px);
  line-height: 1.2;
  color: var(--yellow-text-lg);
  margin-right: 2px;
}

@media (max-width: 900px) {
  /* スマホ・タブレットでは写真を上にそのまま見せ、文字はその下に */
  .hero__photo { position: relative; inset: auto; height: clamp(220px, 58vw, 420px); z-index: 0; }
  .hero__photo img { object-position: 50% 45%; }
  .hero__photo::after { background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 75%, var(--white) 100%); }
  .hero__inner { min-height: auto; padding-top: 16px; padding-bottom: 48px; }
  .hero__stats { margin-top: 40px; }
  .hero__stats dt { font-size: 11px; white-space: nowrap; }
}

/* ---------- 理念 ---------- */
.philosophy { text-align: center; }
.philosophy__icon {
  width: 56px; height: 56px; margin: 0 auto 16px;
  border-radius: 50%; background: var(--yellow-soft); color: var(--yellow-text-lg);
  display: grid; place-items: center;
}
.philosophy__icon svg { width: 26px; height: 26px; }
.philosophy__catch {
  font-family: var(--font-head);
  font-size: clamp(20px, 3.4vw, 28px);
  font-weight: 700;
  color: var(--gray-dark);
  margin: 12px 0 24px;
  line-height: 1.6;
}
.philosophy__text { max-width: 760px; margin: 0 auto; color: var(--gray-dark); text-align: left; }
@media (min-width: 768px) { .philosophy__text { text-align: center; } }

/* ---------- カード・グリッド ---------- */
.grid { display: grid; gap: 28px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid--2, .grid--3 { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

/* 活用事例 */
.case-card__img { background: #eeeeee; }
.case-card__body { padding: 24px 28px 28px; font-size: 15px; color: var(--gray-dark); }

/* できること */
.service-card { padding: 36px 28px 32px; text-align: center; transition: transform .2s; }
.service-card:hover { transform: translateY(-4px); }
.service-card__icon {
  width: 72px; height: 72px; margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--white);
  display: grid; place-items: center;
}
.service-card__icon svg { width: 34px; height: 34px; }
.service-card__title { font-size: 19px; margin-bottom: 14px; }
.service-card__text { font-size: 14.5px; text-align: left; color: var(--gray-dark); }
.service-card__badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  background: var(--yellow-soft);
  color: var(--brown);
  padding: 2px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
}

/* お客様の声 */
.voice-card { padding: 32px 28px; position: relative; }
.voice-card::before {
  content: "“";
  position: absolute; top: 4px; right: 22px;
  font-family: Georgia, serif; font-size: 80px; line-height: 1;
  color: var(--yellow); opacity: .5;
}
.voice-card__avatar {
  width: 84px; height: 84px; border-radius: 50%;
  border: 3px solid var(--yellow-soft);
  margin-bottom: 16px;
  object-fit: cover;
}
.voice-card__text { font-size: 14.5px; color: var(--gray-dark); }

/* アドバイス */
.advice-box {
  background: var(--white);
  border-radius: var(--radius);
  border-top: 6px solid var(--yellow);
  padding: 32px 32px 28px;
  box-shadow: var(--shadow);
}
.advice-box__title { font-size: 19px; margin-bottom: 20px; }
.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li {
  position: relative;
  padding: 8px 0 8px 32px;
  border-bottom: 1px dashed var(--gray-line);
  font-size: 15px;
}
.check-list li:last-child { border-bottom: 0; }
.check-list li::before {
  content: "";
  position: absolute; left: 2px; top: 15px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--yellow) 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.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* お知らせ */
.news-list { list-style: none; margin: 0 auto; padding: 0; max-width: 800px; }
.news-list li {
  display: flex; gap: 24px; align-items: baseline;
  padding: 18px 8px;
  border-bottom: 1px solid var(--gray-line);
}
.news-list time { flex: none; font-size: 14px; font-weight: 700; color: var(--gray); letter-spacing: 0.05em; min-width: 92px; }
@media (max-width: 560px) { .news-list li { flex-direction: column; gap: 2px; } }

/* ---------- CTA ---------- */
.cta {
  background: var(--yellow-soft);
  padding: 72px 0;
  text-align: center;
}
.cta__title { font-size: clamp(22px, 3.6vw, 30px); color: var(--gray-dark); margin-bottom: 12px; }
.cta__text { color: var(--gray-dark); margin-bottom: 28px; }
.cta .btn--dark { background: var(--btn-yellow); color: var(--gray-dark); }
.cta .btn--dark:hover { background: var(--btn-yellow-hover); }

/* ---------- 下層ページ見出し ---------- */
.page-header {
  background:
    radial-gradient(circle at 90% 10%, var(--yellow-soft) 0, transparent 40%),
    var(--gray-light);
  padding: 56px 0 48px;
}
.page-header__en {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.25em;
  color: var(--yellow-text);
  text-transform: uppercase;
}
.page-header__title { font-size: clamp(26px, 4.4vw, 38px); letter-spacing: 0.06em; }
.breadcrumb { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 16px 0 0; font-size: 13px; color: var(--gray); }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--gray-line); }
.breadcrumb a { text-decoration: none; color: var(--gray); }
.breadcrumb a:hover { color: var(--gray-dark); text-decoration: underline; }

/* ---------- フッター ---------- */
.site-footer { background: var(--gray-light); color: #555555; border-top: 4px solid var(--yellow); padding: 56px 0 24px; font-size: 14px; }
.site-footer__inner {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px;
  padding-bottom: 32px; border-bottom: 1px solid var(--gray-line);
}
.site-footer .logo__sub { color: #6b6b6b; }
.site-footer .logo__main { color: var(--gray-dark); }
.site-footer__info { margin-top: 12px; line-height: 1.8; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, auto); gap: 6px 40px; }
.footer-nav a { text-decoration: none; color: #555555; }
.footer-nav a:hover { color: var(--yellow-text); }
.sns-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; color: #555555; text-decoration: none; }
.sns-link:hover { color: var(--yellow-text); }
.sns-link svg { width: 20px; height: 20px; }
.copyright { text-align: center; margin: 24px 0 0; font-size: 12px; color: #6b6b6b; }

/* ページトップへ */
.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--btn-yellow); color: var(--gray-dark);
  display: grid; place-items: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .15);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .3s, transform .3s, visibility .3s;
  text-decoration: none;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top svg { width: 22px; height: 22px; }

/* スクロールでふわっと表示 */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .service-card:hover { transform: none; }
}

/* =========================================================
   下層ページ
   ========================================================= */
.prose { max-width: 820px; margin: 0 auto; }
.prose p { color: var(--gray-dark); }
.section-title {
  font-size: clamp(20px, 3vw, 26px);
  padding-left: 16px;
  border-left: 5px solid var(--yellow);
  margin: 0 0 24px;
}
.block + .block { margin-top: 72px; }

/* ---------- 事業内容：会話 ---------- */
.talk { display: flex; gap: 16px; align-items: flex-start; margin: 0 0 24px; }
.talk__who { flex: none; width: 72px; text-align: center; font-size: 12px; color: var(--gray); }
.talk__who img { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 4px; background: var(--white); border: 2px solid var(--gray-line); object-fit: cover; }
.talk__bubble {
  position: relative;
  background: var(--gray-light);
  border-radius: 16px;
  padding: 16px 22px;
  font-size: 15px;
  max-width: 640px;
}
.talk__bubble::before {
  content: ""; position: absolute; top: 22px; left: -8px;
  border: 8px solid transparent; border-left: 0; border-right-color: var(--gray-light);
}
.talk--right { flex-direction: row-reverse; }
.talk--right .talk__bubble { background: var(--yellow-soft); }
.talk--right .talk__bubble::before { left: auto; right: -8px; border-right: 0; border-left: 8px solid var(--yellow-soft); border-top-color: transparent; border-bottom-color: transparent; }
.talk--right .talk__who img { border-color: var(--yellow); }

.service-detail {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-top: 6px solid var(--yellow);
  padding: 32px 36px;
  margin: 40px 0 56px;
}
.service-detail__head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.service-detail__num {
  flex: none; width: 44px; height: 44px; border-radius: 50%;
  background: var(--yellow); color: var(--gray-dark);
  display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 700; font-size: 16px;
}
.service-detail__title { font-size: clamp(19px, 2.6vw, 23px); }
.service-detail .check-list li { font-size: 14.5px; }
.service-detail__note { font-size: 13px; color: var(--gray); margin: 8px 0 0 32px; }
@media (max-width: 640px) {
  .service-detail { padding: 24px 20px; }
  .talk__who { width: 56px; }
  .talk__who img { width: 52px; height: 52px; }
}

/* ---------- 会社概要 ---------- */
.toc {
  background: var(--gray-light);
  border-radius: var(--radius);
  padding: 20px 28px;
  margin-bottom: 64px;
}
.toc__title { font-weight: 700; font-size: 14px; color: var(--gray); margin-bottom: 8px; letter-spacing: 0.1em; }
.toc ol { margin: 0; padding-left: 1.4em; }
.toc a { text-decoration: none; color: var(--gray-dark); }
.toc a:hover { color: var(--brown); text-decoration: underline; }

.company-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.company-table th, .company-table td { padding: 18px 16px; border-bottom: 1px solid var(--gray-line); text-align: left; vertical-align: top; }
.company-table tr:first-child th, .company-table tr:first-child td { border-top: 2px solid var(--gray-dark); }
.company-table th { width: 28%; background: var(--gray-light); font-weight: 700; color: var(--gray-dark); }
@media (max-width: 560px) {
  .company-table th, .company-table td { display: block; width: 100%; }
  .company-table th { border-bottom: 0; padding: 10px 14px; }
  .company-table tr:first-child td { border-top: 0; }
}

.motto {
  text-align: center;
  font-family: var(--font-head);
  font-size: clamp(22px, 3.4vw, 30px);
  font-weight: 700;
  color: var(--gray-dark);
  margin: 0 0 24px;
}
.motto span { background: linear-gradient(transparent 62%, rgba(252, 185, 0, .55) 62%); }

.promise-list { list-style: none; margin: 0; padding: 0; counter-reset: promise; display: grid; gap: 12px; }
.promise-list li {
  counter-increment: promise;
  display: flex; align-items: center; gap: 16px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px 22px;
  font-weight: 500;
}
.promise-list li::before {
  content: counter(promise);
  flex: none; width: 40px; height: 40px; border-radius: 50%;
  background: var(--yellow); color: var(--gray-dark);
  display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 700;
}
.promise-list small { display: block; font-size: 12.5px; color: var(--gray); font-weight: 400; }

.profile { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: start; }
.profile__logo { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; }
.profile__name { font-size: 22px; margin-bottom: 16px; }
.profile dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 24px 0 0; font-size: 14.5px; }
.profile dt { font-weight: 700; color: var(--gray-dark); }
.profile dt::before { content: "■"; color: var(--yellow); margin-right: 4px; }
.profile dd { margin: 0; }
@media (max-width: 768px) {
  .profile { grid-template-columns: 1fr; gap: 24px; }
  .profile__logo { max-width: 220px; }
  .profile dl { grid-template-columns: 1fr; gap: 0; }
  .profile dd { margin-bottom: 10px; }
}

/* ---------- お問い合わせ ---------- */
.contact-box {
  max-width: 760px; margin: 0 auto;
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 48px 40px;
  text-align: center;
}
.contact-box__icon {
  width: 72px; height: 72px; margin: 0 auto 20px; border-radius: 50%;
  background: var(--yellow); color: var(--gray-dark); display: grid; place-items: center;
}
.contact-box__icon svg { width: 32px; height: 32px; }
.contact-box p { color: var(--gray-dark); }
.contact-box .btn { margin: 16px 0; padding: 18px 48px; font-size: 16px; }
.contact-box__note { font-size: 13px; color: var(--gray); }
.contact-points { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 24px 0 8px; padding: 0; list-style: none; }
.contact-points li { background: var(--yellow-soft); color: var(--brown); font-size: 13px; font-weight: 700; padding: 6px 16px; border-radius: 999px; }
@media (max-width: 560px) { .contact-box { padding: 36px 20px; } .contact-box .btn { padding: 16px 28px; } }

/* ---------- 制作事例一覧 ---------- */
.filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 0 40px; padding: 0; list-style: none; }
.filter button {
  font: inherit; font-size: 14px; font-weight: 500;
  padding: 8px 18px; border-radius: 999px;
  border: 1px solid var(--gray-line); background: var(--white); color: var(--gray-dark);
  cursor: pointer; transition: background-color .2s, border-color .2s;
}
.filter button:hover { border-color: var(--gray); }
.filter button[aria-pressed="true"] { background: var(--gray-dark); border-color: var(--gray-dark); color: var(--white); }

.work-card { display: flex; flex-direction: column; text-decoration: none; transition: transform .25s, box-shadow .25s; }
.work-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0, 0, 0, .1); }
.work-card__img { aspect-ratio: 16 / 9; overflow: hidden; background: var(--gray-light); }
.work-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.work-card:hover .work-card__img img { transform: scale(1.04); }
.work-card__body { padding: 18px 22px 22px; }
.work-card__title { font-size: 17px; margin: 8px 0 6px; }
.work-card__text { font-size: 13.5px; color: var(--gray); line-height: 1.7; margin: 0; }
.tag {
  display: inline-block;
  font-size: 12px; font-weight: 700;
  padding: 2px 12px; border-radius: 999px;
  background: var(--yellow-soft); color: var(--brown);
}
.work-card[hidden] { display: none; }

/* ---------- 制作事例詳細 ---------- */
.work-detail { max-width: 860px; margin: 0 auto; }
.work-detail__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 24px; }
.work-detail__meta time { font-size: 13px; color: var(--gray); }
.work-detail__media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 40px;
  background: var(--gray-light);
}
.work-detail__media a { display: block; }
.work-detail__media video { width: 100%; }
.work-detail__lead { font-family: var(--font-head); font-size: clamp(19px, 2.8vw, 24px); font-weight: 700; color: var(--gray-dark); margin-bottom: 20px; }
.work-detail__body p { color: var(--gray-dark); }
.work-detail__link { margin-top: 36px; text-align: center; }

.pager {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: center;
  max-width: 860px; margin: 72px auto 0; padding-top: 32px; border-top: 1px solid var(--gray-line);
}
.pager a { text-decoration: none; font-size: 14px; color: var(--gray-dark); }
.pager a:hover { color: var(--brown); }
.pager__prev small, .pager__next small { display: block; font-size: 12px; color: var(--gray); }
.pager__next { text-align: right; }
.pager__list.btn { padding: 10px 22px; font-size: 14px; }
@media (max-width: 560px) {
  .pager { grid-template-columns: 1fr 1fr; }
  .pager__list { grid-column: 1 / -1; grid-row: 2; justify-self: center; }
}
