@charset "UTF-8";
/* =========================================================
   丸正ユニシン株式会社  共通スタイル
   ========================================================= */

:root {
  --ink: #18212b;
  --ink-2: #3a4553;
  --muted: #667180;
  --line: #e2e6eb;
  --bg: #ffffff;
  --bg-soft: #f4f6f8;
  --bg-deep: #0f1a24;

  --brand: #179a63;
  --brand-dark: #0f7a4d;
  --brand-soft: #e6f5ee;
  --accent: #c7362c;
  --gold: #f3b743;

  --c-cons: #2a7fd4;
  --c-crea: #e2702b;
  --c-supp: #2a9a4c;

  --danger: #c62828;
  --danger-soft: #fdecec;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 8px 24px rgba(16, 24, 40, .06);
  --shadow-lg: 0 2px 4px rgba(16, 24, 40, .06), 0 18px 40px rgba(16, 24, 40, .10);
  --max: 1120px;
  --header-h: 72px;

  --font: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic UI", "Yu Gothic", YuGothic, Meiryo, system-ui, sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: .03em;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "palt" 1;
}

img, svg { max-width: 100%; height: auto; vertical-align: middle; }

h1, h2, h3, h4 { line-height: 1.45; margin: 0 0 .6em; font-weight: 700; letter-spacing: .04em; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0; padding: 0; }

a { color: var(--brand-dark); text-underline-offset: 3px; }
a:hover { color: var(--brand); }

:focus-visible { outline: 3px solid rgba(23, 154, 99, .45); outline-offset: 2px; border-radius: 4px; }

.container { width: min(100% - 32px, var(--max)); margin-inline: auto; }

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

.skip-link {
  position: absolute; left: 12px; top: -48px; z-index: 100;
  background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 6px;
}
.skip-link:focus { top: 12px; color: #fff; }

/* ---------------------------------------------------------
   Header
   --------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h); gap: 24px;
}
.logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.logo img { width: 210px; height: auto; display: block; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px;
  background: #fff; cursor: pointer; position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 50%; width: 20px; height: 2px;
  background: var(--ink); border-radius: 2px; transform: translateX(-50%);
  transition: transform .25s, opacity .25s, top .25s;
}
.nav-toggle span { top: 50%; margin-top: -1px; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { top: 0; transform: translateX(-50%) rotate(45deg); }
.nav-open .nav-toggle span::after { top: 0; transform: translateX(-50%) rotate(-45deg); }

.global-nav ul { display: flex; align-items: center; gap: 4px; list-style: none; }
.global-nav a {
  display: block; padding: 8px 14px; border-radius: 999px;
  font-size: 15px; font-weight: 600; color: var(--ink-2); text-decoration: none;
  transition: background .2s, color .2s;
}
.global-nav a:hover { background: var(--bg-soft); color: var(--ink); }
.global-nav a[aria-current="page"] { color: var(--brand-dark); background: var(--brand-soft); }
.global-nav .nav-cta a {
  margin-left: 8px; background: var(--brand); color: #fff; padding: 9px 20px;
  box-shadow: 0 4px 14px rgba(23, 154, 99, .28);
}
.global-nav .nav-cta a:hover, .global-nav .nav-cta a[aria-current="page"] { background: var(--brand-dark); color: #fff; }

@media (max-width: 960px) {
  :root { --header-h: 64px; }
  .logo img { width: 176px; }
  .nav-toggle { display: block; }
  .global-nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    max-height: 0; overflow: hidden; visibility: hidden;
    transition: max-height .3s ease, visibility .3s;
  }
  .nav-open .global-nav { max-height: 80vh; visibility: visible; }
  .global-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 20px; }
  .global-nav a { border-radius: 10px; padding: 14px 12px; font-size: 16px; }
  .global-nav .nav-cta a { margin: 12px 0 0; text-align: center; }
}

/* ---------------------------------------------------------
   Buttons
   --------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: 14px 28px; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 700; font-size: 16px; letter-spacing: .06em;
  text-decoration: none; cursor: pointer; line-height: 1.3;
  transition: background .2s, color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 18px rgba(23, 154, 99, .3); }
.btn-primary:hover { background: var(--brand-dark); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { color: var(--brand-dark); }
.btn-ghost { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--brand); color: var(--brand-dark); }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------------------------------------------------------
   Home hero
   --------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  color: #fff;
  background:
    radial-gradient(circle at 12% 58%, rgba(255, 248, 225, .95) 0, rgba(255, 210, 120, .55) 4%, rgba(232, 94, 52, .35) 14%, transparent 34%),
    radial-gradient(ellipse at 90% 20%, rgba(23, 154, 99, .35), transparent 50%),
    linear-gradient(120deg, #6d0f14 0%, #3a0d1a 38%, #121b2b 100%);
}
.hero-beams {
  position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%;
  opacity: .75; pointer-events: none;
}
.hero .container {
  display: grid; grid-template-columns: 1.35fr 1fr; gap: 48px; align-items: center;
  padding-block: clamp(72px, 11vw, 132px);
}
.hero-eyebrow {
  display: inline-block; font-size: 13px; letter-spacing: .25em; font-weight: 600;
  color: var(--gold); margin-bottom: 18px; text-transform: uppercase;
}
.hero h1 {
  font-size: clamp(30px, 4.6vw, 52px); line-height: 1.35; letter-spacing: .06em; margin-bottom: 22px;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .25);
}
.hero h1 em { font-style: normal; color: var(--gold); }
.hero-lead { font-size: clamp(15px, 1.6vw, 18px); color: rgba(255, 255, 255, .86); max-width: 34em; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-services {
  list-style: none; display: grid; gap: 10px;
  padding: 24px; border-radius: var(--radius);
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.hero-services li {
  display: flex; align-items: center; gap: 12px;
  font-weight: 600; letter-spacing: .12em; font-size: 15px;
  padding: 10px 4px; border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.hero-services li:last-child { border-bottom: 0; }
.hero-services li::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 12px var(--gold); flex-shrink: 0;
}
@media (max-width: 860px) {
  .hero .container { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------------------------------------------------------
   Page header (下層ページ)
   --------------------------------------------------------- */
.page-header {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(circle at 8% 120%, rgba(255, 200, 110, .45), transparent 40%),
    radial-gradient(ellipse at 100% 0%, rgba(23, 154, 99, .45), transparent 55%),
    linear-gradient(120deg, #4b0e16 0%, #1d1626 45%, #0f1a24 100%);
}
.page-header .container { padding-block: clamp(44px, 7vw, 76px); }
.page-header .en {
  display: block; font-size: 12px; letter-spacing: .3em; font-weight: 600;
  color: var(--gold); text-transform: uppercase; margin-bottom: 6px;
}
.page-header h1 { font-size: clamp(26px, 3.6vw, 38px); margin: 0; letter-spacing: .08em; }

.breadcrumb { background: var(--bg-soft); border-bottom: 1px solid var(--line); font-size: 13px; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding-block: 10px; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: #b4bcc6; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--brand-dark); text-decoration: underline; }

.subnav { border-bottom: 1px solid var(--line); background: #fff; }
.subnav ul { list-style: none; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a {
  display: block; padding: 14px 18px; white-space: nowrap; text-decoration: none;
  font-size: 15px; font-weight: 600; color: var(--muted); border-bottom: 3px solid transparent;
}
.subnav a:hover { color: var(--ink); }
.subnav a[aria-current="page"] { color: var(--brand-dark); border-bottom-color: var(--brand); }

/* ---------------------------------------------------------
   Sections
   --------------------------------------------------------- */
main { display: block; }
.section { padding-block: clamp(56px, 8vw, 96px); }
.section-soft { background: var(--bg-soft); }
.section-tight { padding-block: clamp(40px, 6vw, 64px); }

.section-head { margin-bottom: clamp(28px, 4vw, 44px); }
.section-head.center { text-align: center; }
.section-head .en {
  display: block; font-size: 12px; letter-spacing: .3em; font-weight: 700;
  color: var(--brand); text-transform: uppercase; margin-bottom: 6px;
}
.section-head h2 { font-size: clamp(24px, 3vw, 32px); margin: 0; }
.section-head p { color: var(--muted); margin: 14px 0 0; }
.section-head.center p { margin-inline: auto; max-width: 40em; }

.lead { font-size: clamp(16px, 1.6vw, 18px); color: var(--ink-2); line-height: 2; }

.split { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.catch {
  font-size: clamp(20px, 2.6vw, 28px); line-height: 1.6; margin-bottom: 20px;
  padding-left: 18px; border-left: 4px solid var(--brand);
}

/* ---------------------------------------------------------
   Cards
   --------------------------------------------------------- */
.card-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

.card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
a.card { color: inherit; text-decoration: none; }
a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }

.service-card { --c: var(--brand); border-top: 4px solid var(--c); }
.service-card.cons { --c: var(--c-cons); }
.service-card.crea { --c: var(--c-crea); }
.service-card.supp { --c: var(--c-supp); }
.service-card .icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--c) 12%, #fff); color: var(--c); margin-bottom: 18px;
}
.service-card .icon svg { width: 28px; height: 28px; }
.service-card .en { font-size: 12px; letter-spacing: .2em; color: var(--c); font-weight: 700; text-transform: uppercase; }
.service-card h3 { font-size: 21px; margin: 2px 0 12px; }
.service-card p { color: var(--muted); font-size: 15px; }
.service-card ul { list-style: none; margin-top: auto; display: grid; gap: 6px; padding-top: 6px; }
.service-card li { font-size: 14px; display: flex; gap: 8px; align-items: baseline; }
.service-card li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--c); flex-shrink: 0; transform: translateY(-2px); }
.service-card .more { margin-top: 20px; font-weight: 700; font-size: 14px; color: var(--c); }
a.card:hover .more .arrow { transform: translateX(4px); }
.more .arrow { display: inline-block; transition: transform .2s; }

/* ---------------------------------------------------------
   News / Topics
   --------------------------------------------------------- */
.news-list { list-style: none; border-top: 1px solid var(--line); }
.news-list li { display: grid; grid-template-columns: 9em 1fr; gap: 16px; padding: 18px 4px; border-bottom: 1px solid var(--line); }
.news-list time { color: var(--muted); font-variant-numeric: tabular-nums; font-size: 15px; }
@media (max-width: 560px) { .news-list li { grid-template-columns: 1fr; gap: 2px; } }

/* ---------------------------------------------------------
   Content blocks (サービス詳細 など)
   --------------------------------------------------------- */
.content-block { padding-block: 36px; border-top: 1px solid var(--line); }
.content-block:first-of-type { border-top: 0; padding-top: 0; }
.content-block h2 {
  display: flex; align-items: center; gap: 14px; font-size: clamp(20px, 2.4vw, 25px); margin-bottom: 16px;
}
.content-block h2 .num {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  background: var(--brand-soft); color: var(--brand-dark); font-size: 15px; letter-spacing: 0; flex-shrink: 0;
}
.content-block p { color: var(--ink-2); max-width: 46em; }

.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.chips li {
  font-size: 14px; padding: 6px 14px; border-radius: 999px;
  background: var(--bg-soft); border: 1px solid var(--line); color: var(--ink-2);
}
.chips.small li { font-size: 12.5px; padding: 3px 11px; }

.check-list { list-style: none; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 34px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .32em; width: 22px; height: 22px; border-radius: 50%;
  background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f7a4d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.note {
  background: var(--bg-soft); border-radius: var(--radius-sm); padding: 18px 22px;
  border-left: 4px solid var(--brand); color: var(--ink-2); font-size: 15px;
}

.diagram { width: 100%; max-width: 360px; margin: 0 auto; }
.diagram svg { display: block; width: 100%; height: auto; }
.diagram figcaption { text-align: center; color: var(--muted); font-size: 14px; margin-top: 8px; }

/* ---------------------------------------------------------
   Tables
   --------------------------------------------------------- */
.info-table { width: 100%; border-collapse: collapse; border-top: 2px solid var(--ink); }
.info-table th, .info-table td { padding: 20px 18px; border-bottom: 1px solid var(--line); vertical-align: top; text-align: left; }
.info-table th { width: 13em; font-weight: 700; background: var(--bg-soft); }
.info-table td ul { list-style: none; display: grid; gap: 4px; }
@media (max-width: 640px) {
  .info-table, .info-table tbody, .info-table tr, .info-table th, .info-table td { display: block; width: 100%; }
  .info-table th { padding: 12px 14px; border-bottom: 0; }
  .info-table td { padding: 14px 14px 20px; }
}

.price-list { list-style: none; display: grid; gap: 6px; }
.price-list li { display: flex; justify-content: space-between; gap: 16px; max-width: 22em; border-bottom: 1px dashed var(--line); padding-bottom: 4px; }
.price-list strong { font-size: 18px; }
.small { font-size: 13.5px; color: var(--muted); }

/* ---------------------------------------------------------
   Works (実績紹介)
   --------------------------------------------------------- */
.works { display: grid; gap: 24px; }
.work {
  display: grid; grid-template-columns: 220px 1fr; gap: 28px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; box-shadow: var(--shadow);
}
.work-meta .cat {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .12em;
  color: var(--brand-dark); background: var(--brand-soft); padding: 4px 12px; border-radius: 999px; margin-bottom: 12px;
}
.work-meta .client { color: var(--muted); font-size: 14px; margin: 0; }
.work h2 { font-size: clamp(19px, 2.2vw, 23px); margin-bottom: 14px; }
.work p { color: var(--ink-2); font-size: 15.5px; }
.work h3 { font-size: 13px; letter-spacing: .15em; color: var(--muted); margin: 18px 0 8px; }
@media (max-width: 760px) { .work { grid-template-columns: 1fr; gap: 6px; padding: 24px; } }

/* ---------------------------------------------------------
   Policy (個人情報保護方針)
   --------------------------------------------------------- */
.prose { max-width: 780px; }
.prose h2 { font-size: 20px; margin: 44px 0 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.prose p { color: var(--ink-2); }
.prose .signature { text-align: right; color: var(--muted); font-size: 15px; }
.contact-box { margin-top: 20px; padding: 24px; border-radius: var(--radius); background: var(--bg-soft); }
.contact-box p { margin: 0; }

/* ---------------------------------------------------------
   Sitemap
   --------------------------------------------------------- */
.sitemap { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; }
.sitemap h2 { font-size: 17px; margin-bottom: 10px; }
.sitemap h2 a { text-decoration: none; color: var(--ink); }
.sitemap h2 a:hover { color: var(--brand-dark); }
.sitemap ul { list-style: none; display: grid; gap: 8px; border-left: 2px solid var(--line); padding-left: 16px; }
.sitemap ul a { text-decoration: none; color: var(--ink-2); }
.sitemap ul a:hover { color: var(--brand-dark); text-decoration: underline; }

/* ---------------------------------------------------------
   CTA
   --------------------------------------------------------- */
.cta {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(circle at 0% 100%, rgba(255, 210, 120, .35), transparent 45%),
    linear-gradient(120deg, var(--brand-dark), #0d5b3c 60%, #0f1a24);
}
.cta .container {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 28px;
  padding-block: clamp(32px, 5vw, 48px);
}
.cta h2 { font-size: clamp(22px, 2.8vw, 30px); margin-bottom: 8px; }
.cta p { margin: 0; color: rgba(255, 255, 255, .82); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.cta-tel { color: #fff; text-decoration: none; line-height: 1.3; }
.cta-tel strong { display: block; font-size: 26px; letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.cta-tel span { font-size: 12.5px; color: rgba(255, 255, 255, .75); }
.cta-tel:hover { color: #fff; }

/* ---------------------------------------------------------
   Footer
   --------------------------------------------------------- */
.site-footer { background: var(--bg-deep); color: rgba(255, 255, 255, .72); font-size: 14px; }
.site-footer .container { padding-block: 56px 28px; }
.footer-top { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer-company { color: #fff; font-size: 18px; font-weight: 700; margin-bottom: 10px; letter-spacing: .1em; }
.footer-company small { display: block; font-size: 11px; letter-spacing: .3em; color: rgba(255, 255, 255, .5); font-weight: 600; }
.site-footer address { font-style: normal; line-height: 1.9; }
.site-footer a { color: rgba(255, 255, 255, .8); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; list-style: none; align-content: start; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; font-size: 12.5px; color: rgba(255, 255, 255, .5); }
.footer-bottom p { margin: 0; }
@media (max-width: 760px) { .footer-top { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------
   Form (お問い合わせ)
   --------------------------------------------------------- */
.form-wrap { max-width: 820px; margin-inline: auto; }
.form-intro { color: var(--ink-2); }
.req, .opt {
  display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: .08em;
  padding: 1px 8px; border-radius: 4px; margin-left: 8px; vertical-align: 2px; line-height: 1.7;
}
.req { background: var(--danger); color: #fff; }
.opt { background: var(--bg-soft); color: var(--muted); border: 1px solid var(--line); }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 4vw, 44px); box-shadow: var(--shadow); }
.field { display: grid; grid-template-columns: 13em 1fr; gap: 8px 24px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.field:first-child { padding-top: 0; }
.field > label, .field > .label { font-weight: 700; padding-top: 10px; font-size: 15px; }
@media (max-width: 700px) {
  .field { grid-template-columns: 1fr; }
  .field > label, .field > .label { padding-top: 0; }
}
.input {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); letter-spacing: .02em;
  padding: 12px 14px; border: 1px solid #cdd3da; border-radius: var(--radius-sm); background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.input:hover { border-color: #aab3bd; }
.input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(23, 154, 99, .15); }
textarea.input { min-height: 200px; resize: vertical; line-height: 1.7; }
.input.short { max-width: 16em; }
.hint { font-size: 13px; color: var(--muted); margin: 6px 0 0; }
.field-error { font-size: 13.5px; color: var(--danger); font-weight: 600; margin: 6px 0 0; }
.has-error .input { border-color: var(--danger); background: var(--danger-soft); }
.has-error .input:focus { box-shadow: 0 0 0 4px rgba(198, 40, 40, .15); }

.alert { border-radius: var(--radius-sm); padding: 16px 20px; margin-bottom: 24px; font-size: 15px; }
.alert-error { background: var(--danger-soft); color: #8e1c1c; border: 1px solid #f3c2c2; }
.alert-error ul { margin: 6px 0 0 1.2em; }

.captcha { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.captcha-img {
  display: block; width: 200px; height: 64px; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: #f6f8fa;
}
.captcha-reload {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px;
  border: 1px solid var(--line); border-radius: 999px; background: #fff; cursor: pointer;
  font: inherit; font-size: 13.5px; color: var(--ink-2);
}
.captcha-reload:hover { border-color: var(--brand); color: var(--brand-dark); }
.captcha-reload svg { width: 16px; height: 16px; }
.captcha-reload.spin svg { animation: spin .6s ease; }
@keyframes spin { to { transform: rotate(360deg); } }
.captcha .input { max-width: 10em; letter-spacing: .3em; text-transform: uppercase; font-weight: 700; }

.agree { display: flex; gap: 10px; align-items: flex-start; justify-content: center; margin: 28px 0 8px; font-size: 15px; }
.agree input { width: 20px; height: 20px; margin-top: 4px; accent-color: var(--brand); flex-shrink: 0; }
.agree.has-error { color: var(--danger); }
.form-actions { text-align: center; margin-top: 20px; }
.form-actions .btn { min-width: 260px; }

.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.complete { text-align: center; max-width: 640px; margin-inline: auto; }
.complete .icon {
  width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 24px; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand-dark);
}
.complete .icon svg { width: 40px; height: 40px; }
.complete h2 { font-size: clamp(22px, 2.8vw, 28px); }
.complete p { color: var(--ink-2); }

/* ---------------------------------------------------------
   Motion
   --------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .cta, .nav-toggle, .subnav { display: none; }
  .page-header, .hero { color: #000; background: none; }
}

/* ---------------------------------------------------------
   CMS: 画像・トピックス
   --------------------------------------------------------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin: 16px 0 8px; }
.gallery figure { margin: 0; }
.gallery a { display: block; border-radius: var(--radius-sm); overflow: hidden; background: var(--bg-soft); aspect-ratio: 4 / 3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.gallery a:hover img { transform: scale(1.04); }
.gallery figcaption { font-size: 12.5px; color: var(--muted); margin-top: 6px; line-height: 1.5; }

.work-image { display: block; border-radius: var(--radius-sm); overflow: hidden; margin-bottom: 16px; background: var(--bg-soft); aspect-ratio: 4 / 3; }
.work-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.work-image:hover img { transform: scale(1.03); }
.work.has-image { grid-template-columns: 280px 1fr; }
@media (max-width: 760px) { .work.has-image { grid-template-columns: 1fr; } }

.news-list li > a { color: var(--ink); text-decoration: none; }
.news-list li > a:hover { color: var(--brand-dark); text-decoration: underline; }

.topics { border-top: 1px solid var(--line); }
.topic { display: grid; grid-template-columns: 9em 1fr; gap: 16px; padding: 28px 4px; border-bottom: 1px solid var(--line); }
.topic time { color: var(--muted); font-variant-numeric: tabular-nums; font-size: 15px; padding-top: 2px; }
.topic h2 { font-size: 18px; margin: 0; line-height: 1.6; }
.topic h2 a { color: var(--ink); text-decoration: none; }
.topic h2 a:hover { color: var(--brand-dark); text-decoration: underline; }
.topic-body > p, .topic-body .gallery { margin-top: 12px; }
.topic-body p { color: var(--ink-2); }
.topic-link { font-weight: 700; font-size: 14px; }
.topic-link a { text-decoration: none; }
@media (max-width: 560px) { .topic { grid-template-columns: 1fr; gap: 4px; } }

.lightbox { border: 0; padding: 0; background: transparent; max-width: min(96vw, 1400px); max-height: 94vh; overflow: visible; }
.lightbox::backdrop { background: rgba(10, 14, 20, .86); }
.lightbox img { display: block; max-width: min(96vw, 1400px); max-height: 84vh; width: auto; height: auto; border-radius: 6px; margin: 0 auto; }
.lightbox p { color: #fff; text-align: center; margin: 12px 0 0; font-size: 14px; }
.lightbox button {
  position: fixed; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%; border: 0;
  background: rgba(255, 255, 255, .15); color: #fff; font-size: 22px; cursor: pointer;
}
.lightbox button:hover { background: rgba(255, 255, 255, .28); }
