/* =========================================================
   site.css — コーポレートサイト（jellness.co.jp）
   移植元（Studio）の実測値をもとに再現。PC基準幅 1280 / コンテンツ 1100。
   ========================================================= */

/* ---------- tokens ---------- */
:root {
  --brand: #ff6937;
  --brand-deep: #db592e;
  --ink: #825000;          /* 本文・見出しの基本色（text/01） */
  --ink-dark: #252018;
  --ink-darker: #2a1206;
  --muted: #9a8880;
  --muted2: #8c6e5a;
  --gold: #b39462;
  --gray: #888;
  --line: #e3e3e3;
  --line-soft: rgba(42, 18, 6, 0.08);
  --bg: #fafafa;
  --card: #fff;
  --rule: #e8bcad;
  --chip: #f9f8f6;
  --footer: #2b1a15;
  --dash: #ff6f00;
  --grad: linear-gradient(117deg, #fc8052 0%, #ff0091 100%);
  --sans: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", sans-serif;
  --latin: "DM Sans", "Noto Sans JP", sans-serif;
  --pop: Poppins, "Noto Sans JP", sans-serif;
  --container: 1100px;
}

/* ---------- reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  position: relative;
}
/* 背景の薄いグリッド（元サイトの固定タイル） */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url("../images/grid-tile.webp") 0 0 / 953px 839px repeat;
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, p, dl, dd { margin: 0; }
button { font: inherit; }
main { position: relative; z-index: 1; overflow-x: clip; }
.container { width: min(100% - 48px, var(--container)); margin-inline: auto; position: relative; }
.container.narrow { --container: 1080px; }
[hidden] { display: none !important; }

/* 装飾（絶対配置・クリック不可） */
.deco { position: absolute; pointer-events: none; z-index: 0; user-select: none; }
.dash { border: 3px dashed var(--dash); border-radius: 50%; }
.ribbon { opacity: 0.7; height: auto; }

/* 見出し系の共通パーツ */
.label {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff;
  font-size: 12px; font-weight: 500; line-height: 14px; letter-spacing: 4px;
  color: var(--ink);
}
.label .en { color: var(--brand); }
.label .rule { display: inline-block; width: 20px; height: 1px; background: var(--rule); }
.h2 { margin-top: 8px; display: flex; flex-wrap: wrap; font-size: 32px; font-weight: 900; line-height: 48px; letter-spacing: 0.32px; color: var(--ink); }
.h2 .box { background: #fff; display: inline-flex; align-items: center; min-height: 48px; }
.grad {
  font-style: normal; font-size: 40px; font-weight: 900;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.box { background: #fff; }

/* ---------- header ---------- */
.header { position: sticky; top: 0; z-index: 30; background: #fff; }
.header-inner {
  height: 56px; display: flex; justify-content: space-between; align-items: center; gap: 40px;
  padding: 0 40px;
}
.logo { display: block; line-height: 0; }
.logo img { width: 181px; height: 40px; display: block; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav .link {
  font-family: var(--latin); font-size: 12px; font-weight: 500; letter-spacing: 1px;
  color: var(--muted); text-decoration: none; min-width: 56px; text-align: center;
}
.nav .link:hover { color: var(--brand); }
.nav .cta {
  display: inline-block; padding: 8px 16px; border-radius: 24px;
  background: var(--brand); color: #fff; text-decoration: none;
  font-family: var(--latin); font-size: 11px; font-weight: 700; line-height: 16px;
  box-shadow: 0 3px 12px rgba(232, 113, 74, 0.22);
}
.nav .cta:hover { background: var(--brand-deep); }
.menu-btn { display: none; width: 48px; height: 48px; border: 0; background: none; color: #ff5035; cursor: pointer; place-items: center; }
.mobile-menu {
  position: fixed; inset: 57px 0 0; z-index: 29; background: rgba(250, 250, 250, 0.98);
  padding: 24px 24px 48px; overflow: auto;
}
.mobile-menu a {
  display: block; padding: 18px 4px; border-bottom: 1px solid var(--line);
  font-family: var(--latin); font-size: 14px; font-weight: 500; letter-spacing: 2px; color: var(--ink); text-decoration: none;
}
body.menu-open { overflow: hidden; }

/* ---------- hero ---------- */
.hero { position: relative; height: 720px; display: flex; align-items: center; justify-content: center; }
.hero-circles { width: 741px; left: calc(50% - 40px); top: 100px; }
.hero-ribbon { width: 1280px; left: calc(50% - 1021px); top: -131px; }
.hero-dash { width: 1151px; height: 1178px; left: calc(50% - 743px); top: -535px; }
.hero-text {
  position: relative; z-index: 1; width: 656px; margin: 0;
  display: flex; flex-direction: column; align-items: flex-start; gap: 13px;
  color: var(--ink); font-weight: 900; font-size: 80px; line-height: 80px;
}
.hero-text .box { display: inline-block; padding: 10px 0; text-align: center; }
.hero-text .ja { letter-spacing: 4px; font-family: var(--sans); }
.hero-text .pop { letter-spacing: 2px; font-family: var(--pop); font-weight: 800; }

/* ---------- mission / vision ---------- */
.mv { position: relative; padding: 140px 40px; }
.mv-dash { width: 484px; height: 495px; left: calc(50% - 256px); top: 98px; opacity: 0.4; }
.mv-inner { position: relative; z-index: 1; width: min(100%, var(--container)); margin: 0 auto; display: flex; flex-direction: column; gap: 40px; }
.mv .word { display: inline-block; background: #fff; font-size: 80px; font-weight: 800; line-height: 80px; letter-spacing: 1px; color: var(--brand); }
.mv .stmt { margin-top: 7px; font-size: 28px; font-weight: 500; line-height: 42px; letter-spacing: 1px; }
.mv .stmt .grad { font-size: 40px; line-height: 60px; }
.mission { display: flex; flex-direction: column; align-items: flex-start; }
.vision { display: flex; flex-direction: column; align-items: flex-end; text-align: right; }

/* ---------- service ---------- */
.service { position: relative; padding: 80px 0; }
.service-dash { width: 1078px; height: 1154px; left: calc(50% + 40px); top: 182px; }
.service-ribbon { width: 1280px; left: calc(50% - 720px); top: 310px; }
.service-row { position: relative; z-index: 1; display: flex; justify-content: center; align-items: flex-start; gap: 40px; }
.service-copy { flex: 1 1 auto; max-width: 851px; }
.service-card {
  margin-top: 48px; padding: 40px; background: #fff; border-radius: 20px;
  display: flex; flex-direction: column; gap: 12px;
}
.sc-title { font-size: 12px; font-weight: 700; line-height: 17px; letter-spacing: 3px; color: var(--brand); }
.sc-text { font-size: 13px; line-height: 28px; letter-spacing: 1px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.chips li {
  padding: 4px 13px; background: var(--chip); border: 1px solid var(--line-soft); border-radius: 20px;
  font-size: 10px; line-height: 15px;
}
.phone {
  flex: none; width: 209px; padding: 10px; background: #1b1b1d; border-radius: 38px;
  box-shadow: 0 5px 15px rgba(195, 77, 14, 0.1);
}
.phone .screen { border-radius: 29px; overflow: hidden; background: #fef8f5; aspect-ratio: 189 / 382; }
.phone img { width: 100%; height: 100%; object-fit: cover; display: block; }

.examples { position: relative; z-index: 1; width: min(100%, 900px); margin: 40px auto 0; display: flex; flex-direction: column; gap: 40px; }
.ex-title { display: flex; align-items: center; justify-content: center; gap: 8px; }
.ex-title::before, .ex-title::after { content: ""; width: 20px; height: 1px; background: var(--rule); }
.ex-title span { background: #fff; padding: 6px 6px 6px 12px; font-size: 32px; font-weight: 700; line-height: 38px; letter-spacing: 1px; }
.ex-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; list-style: none; }
.ex-card { background: #fff; border: 1px solid var(--line-soft); border-radius: 20px; overflow: hidden; }
.ex-card .img { aspect-ratio: 285 / 239; background: #f0e5df; }
.ex-card .img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ex-card .body { padding: 20px 22px 24px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.ex-card .tag { padding: 2px 8px; border: 1px solid var(--line-soft); border-radius: 2px; font-size: 9px; line-height: 14px; }
.ex-card .t { font-size: 13px; font-weight: 500; line-height: 22px; }

.steps { background: rgba(255, 255, 255, 0.8); padding: 20px 0; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.steps h3 { background: #fff; padding: 5px 8px; font-size: 24px; font-weight: 500; line-height: 38px; letter-spacing: 1px; color: #333; }
.steps ol { position: relative; width: 100%; display: flex; justify-content: center; gap: 32px; list-style: none; }
.steps ol::before { content: ""; position: absolute; left: 118px; right: 99px; top: 44px; height: 1px; background: var(--line-soft); }
.steps li { position: relative; width: 240px; padding: 0 16px; display: flex; flex-direction: column; align-items: center; }
.steps li::before {
  content: ""; position: absolute; left: 6px; top: 58px; width: 223px; height: 192px;
  background: url("../images/step-blob.svg") center / contain no-repeat; transform: rotate(180deg); z-index: 0;
}
.steps li > * { position: relative; z-index: 1; }
.steps li + li::after {
  content: ""; position: absolute; left: -22px; top: 34px; width: 12px; height: 22px; z-index: 1;
  background: url("../images/step-chevron.svg") center / contain no-repeat;
}
.steps .ic { width: 84px; height: 84px; padding: 22px; background: #fff; border: 1px solid var(--line-soft); border-radius: 50%; margin-bottom: 24px; display: grid; place-items: center; }
.steps .ic img { width: 38px; height: 38px; display: block; }
.steps .n { font-size: 9px; line-height: 14px; letter-spacing: 2px; color: var(--muted2); }
.steps b { font-size: 15px; font-weight: 700; line-height: 23px; color: var(--ink-darker); }
.steps p { width: 204px; font-size: 12px; font-weight: 300; line-height: 21px; color: var(--muted2); text-align: center; }

/* ---------- numbers ---------- */
.numbers { position: relative; padding: 80px 0; }
.numbers-dash { width: 1128px; height: 1154px; left: calc(50% - 1595px); top: 572px; }
.numbers-ribbon { width: 1664px; left: calc(50% - 832px); top: 0; }
.numbers .h2 { letter-spacing: 2px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; list-style: none; }
.stat {
  padding: 28px 24px; background: var(--brand); color: #fff; border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08); overflow: hidden;
}
.stat .num { display: block; font-size: 32px; font-weight: 700; line-height: 38px; letter-spacing: 1px; }
.stat .num.latin { font-family: var(--latin); }
.stat .cap { display: block; font-size: 12px; line-height: 22px; color: rgba(255, 255, 255, 0.82); }
.stat .sub { display: block; font-size: 10px; line-height: 15px; color: #ffcfbf; }

/* ---------- future (vision) ---------- */
.future { position: relative; padding: 80px 0; }
.future-grid { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 0 16px; margin-top: 20px; }
.roadmap { width: 472px; flex: none; }
.rm { padding: 36px 32px; border-radius: 16px; }
.rm.now { margin-top: 10px; background: #fff; border: 2px solid rgba(255, 105, 55, 0.157); }
.rm.fut { background: var(--brand); color: #fff; }
.rm-label { font-family: var(--latin); font-size: 9px; font-weight: 700; line-height: 14px; letter-spacing: 4px; color: var(--muted); }
.rm.fut .rm-label { color: rgba(255, 255, 255, 0.698); }
.rm h3 { margin-top: 14px; font-size: 18px; font-weight: 700; line-height: 29px; letter-spacing: 1px; color: var(--ink-dark); }
.rm.fut h3 { color: #fff; }
.rm p { margin-top: 12px; font-size: 13px; line-height: 24px; letter-spacing: 1px; color: var(--muted); }
.rm.fut p { color: rgba(255, 255, 255, 0.82); }
.rm-arrow { display: block; margin: 14px auto; width: 30px; height: 25px; }
.rm-desc { margin-top: 54px; font-size: 14px; line-height: 21px; letter-spacing: 0.14px; }
.diagram { flex: 1 1 auto; display: flex; justify-content: center; }
.diagram img { width: min(100%, 584px); height: auto; }

/* ---------- member ---------- */
.member { position: relative; padding: 80px 0; overflow: hidden; }
.member .h2 { letter-spacing: 2px; }
.members { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; list-style: none; }
.mem:nth-child(even) { padding-top: 80px; }
.mem .photo {
  position: relative; aspect-ratio: 260 / 312; border-radius: 16px; overflow: hidden; background: #f0e5df;
  box-shadow: 0 8px 40px rgba(195, 77, 14, 0.12);
}
.mem .photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mem .photo .hover { opacity: 0; transition: opacity 0.35s ease; }
.mem .photo:hover .hover, .mem .photo.show-hover .hover { opacity: 1; }
.mem h3 { margin-top: 18px; font-size: 17px; font-weight: 700; line-height: 24px; letter-spacing: 1px; }
.mem .en { display: block; margin-top: 7px; font-size: 11px; line-height: 16px; letter-spacing: 1px; color: var(--gold); }
.mem p { margin-top: 4px; font-size: 12px; line-height: 23px; }

/* ---------- company ---------- */
.company { position: relative; padding: 80px 24px; }
.company-ribbon { width: 1963px; left: calc(50% - 648px); top: 52px; }
.company-table {
  margin-top: 12px; background: #fff; border-radius: 16px; overflow: hidden;
  box-shadow: 0 1px 4px rgba(195, 77, 14, 0.15);
}
.company-table .row { display: flex; gap: 76px; padding: 18px 28px; }
.company-table .row:nth-child(even) { background: rgba(255, 105, 55, 0.02); }
.company-table dt { flex: none; width: 50px; font-size: 12px; font-weight: 500; line-height: 18px; color: var(--muted); padding-top: 2px; }
.company-table dd { font-size: 13px; line-height: 22px; color: var(--ink-dark); }
.company-table dd ul { list-style: none; }
.company-table dd li::before { content: ""; display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--ink-dark); margin: 0 4px 3px 0; }
.map { margin-top: 12px; height: 400px; background: #eee; overflow: hidden; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- recruit ---------- */
.recruit { position: relative; padding: 80px 24px 40px; }
.recruit-dash { width: 366px; height: 374px; left: calc(50% - 222px); top: -48px; }
.recruit .h2 { letter-spacing: 2px; }
.fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
.fit-card { padding: 36px; border-radius: 16px; display: flex; flex-direction: column; gap: 16px; overflow: hidden; }
.fit-card.yes { background: #fff; border: 1px solid rgba(255, 105, 55, 0.125); box-shadow: 0 3px 20px rgba(195, 77, 14, 0.06); }
.fit-card.no { background: #f4f3f3; border: 1px solid rgba(37, 32, 24, 0.1); box-shadow: 0 4px 8px rgba(195, 77, 14, 0.12); }
.fit-head { display: flex; align-items: center; gap: 10px; font-size: 10px; font-weight: 700; line-height: 14px; letter-spacing: 3px; }
.fit-card.yes .fit-head { color: var(--brand); }
.fit-card.no .fit-head { color: var(--muted); }
.fit-head .badge { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-family: var(--latin); font-size: 14px; letter-spacing: 0; }
.fit-card.yes .badge { background: var(--brand); color: #fff; }
.fit-card.no .badge { background: rgba(37, 32, 24, 0.12); color: var(--ink-dark); }
.fit-card ul { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.fit-card li { display: flex; align-items: flex-start; gap: 14px; font-size: 13px; line-height: 23px; letter-spacing: 1px; }
.fit-card .dot { flex: none; width: 20px; height: 20px; border-radius: 50%; margin-top: 2px; position: relative; }
.fit-card.yes li { font-weight: 700; color: var(--ink); }
.fit-card.yes .lead { font-weight: 400; }
.fit-card.yes .dot { background: var(--brand); }
.fit-card.yes .dot::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: #fff; }
.fit-card.no li { color: var(--muted); }
.fit-card.no .dot { border: 2px solid rgba(37, 32, 24, 0.25); display: grid; place-items: center; font-family: var(--latin); font-size: 10px; color: var(--muted); }
.fit-card img { width: 100%; height: auto; margin-top: 8px; }

.recruit-cta { position: relative; z-index: 1; width: min(100%, 896px); margin: 40px auto 0; text-align: center; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 12px; padding: 18px 56px;
  background: var(--brand); color: #fff; border-radius: 999px; text-decoration: none;
  font-size: 16px; font-weight: 700; line-height: 24px; letter-spacing: 1px;
  box-shadow: 0 8px 32px rgba(232, 113, 74, 0.267);
}
.btn-primary:hover { background: var(--brand-deep); }
.partners {
  margin-top: 40px; padding: 36px 40px; text-align: left;
  background: #fffaf5; border: 1px solid #e6e6e6; border-radius: 20px;
}
.partners .label { background: transparent; }
.partners-row { display: flex; align-items: center; justify-content: space-between; gap: 48px; padding-top: 20px; }
.partners h3 { font-size: 16px; font-weight: 700; line-height: 24px; letter-spacing: 1px; color: var(--ink-dark); }
.partners p { margin-top: 10px; font-size: 12px; line-height: 24px; color: var(--muted); }
.btn-outline {
  flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px;
  border: 2px solid var(--brand); border-radius: 32px; color: var(--brand); text-decoration: none;
  font-size: 12px; font-weight: 700; line-height: 18px; letter-spacing: 1px; white-space: nowrap;
}
.btn-outline:hover { background: var(--brand); color: #fff; }

/* ---------- news (home) ---------- */
.news-home { position: relative; padding: 80px 24px; }
.news-list { margin-top: 48px; background: #fff; border-radius: 16px; overflow: hidden; }
.news-row { display: flex; align-items: center; gap: 20px; padding: 24px 32px; text-decoration: none; color: inherit; }
.news-row:hover { background: rgba(255, 105, 55, 0.03); }
.news-row time { flex: none; font-size: 12px; line-height: 17px; color: var(--muted); }
.news-row .t { font-size: 14px; line-height: 20px; }
.cat {
  flex: none; display: inline-block; padding: 2px 18px; border-radius: 32px;
  background: rgba(255, 105, 55, 0.09); color: var(--brand); text-decoration: none;
  font-family: var(--pop); font-size: 12px; font-weight: 500; line-height: 13px;
}
.more { display: block; margin-top: 20px; padding: 4px 3px; text-align: right; text-decoration: none; font-family: var(--latin); font-size: 12px; font-weight: 700; line-height: 19px; letter-spacing: 1px; color: var(--brand); }

/* ---------- footer ---------- */
.footer { position: relative; z-index: 1; background: var(--footer); color: var(--muted); padding: 32px 24px; }
.footer-inner { width: min(100%, var(--container)); margin: 0 auto; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; }
.footer-logo { line-height: 0; }
.footer-logo img { width: 167px; height: 36px; }
.footer-nav { display: flex; align-items: center; gap: 36px; flex-wrap: wrap; }
.footer-nav a { font-family: var(--latin); font-size: 11px; line-height: 16px; letter-spacing: 1px; color: var(--muted); text-decoration: none; }
.footer-nav a.jp { font-size: 10px; letter-spacing: 0; }
.footer-nav a:hover { color: #fff; }
.copy { margin-top: 36px; text-align: center; font-family: var(--latin); font-size: 10px; line-height: 14px; letter-spacing: 1px; }

/* ---------- sub pages (news / contact / privacy) ---------- */
.page { margin-top: 96px; }
.page-inner { width: min(100%, var(--container)); margin: 72px auto; padding: 0 48px; }
.page-inner.narrow { --container: 980px; margin: 96px auto; }
.eyebrow { font-family: var(--pop); font-size: 20px; font-weight: 600; line-height: 28px; letter-spacing: 1px; color: var(--brand); }
.page-title { margin-top: 16px; font-family: var(--pop); font-size: 40px; font-weight: 700; line-height: 56px; letter-spacing: 2px; color: var(--ink); }

.filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 96px; }
.filters a {
  padding: 6px 12px; border-radius: 48px; background: #fff; border: 1px solid var(--line);
  font-family: var(--pop); font-size: 14px; font-weight: 500; line-height: 15.4px; color: var(--ink); text-decoration: none;
}
.filters a.active { border-color: #111; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; margin-top: 48px; list-style: none; }
.card .thumb { display: block; aspect-ratio: 302 / 220; border-radius: 4px; overflow: hidden; background: #f0e5df; }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.3s ease; }
.card .thumb:hover img { transform: scale(1.03); }
.card h3 { margin-top: 12px; }
.card h3 a { font-family: var(--pop); font-size: 18px; font-weight: 700; line-height: 25.2px; color: var(--ink); text-decoration: none; }
.card .meta { display: flex; align-items: center; gap: 16px; margin-top: 12px; }
.card time { font-family: var(--pop); font-size: 10px; font-weight: 500; line-height: 14px; color: var(--muted); }
.empty { margin-top: 48px; text-align: center; font-family: var(--pop); }

/* 記事詳細 */
.crumbs {
  display: flex; align-items: center; gap: 12px; padding: 24px 0; overflow: hidden; white-space: nowrap;
  font-family: var(--pop); font-size: 14px; font-weight: 500; line-height: 19.6px; color: var(--gray);
}
.crumbs a { color: var(--gray); text-decoration: none; }
.crumbs a:first-child { font-weight: 600; }
.crumbs svg { flex: none; color: var(--ink); }
.crumbs .cur { color: var(--ink); overflow: hidden; text-overflow: ellipsis; }
.article { margin-top: 24px; }
.article h1 { font-family: var(--pop); font-size: 40px; font-weight: 700; line-height: 56px; letter-spacing: 2px; color: var(--ink); }
.article .meta { display: flex; align-items: center; gap: 24px; margin-top: 12px; font-family: var(--pop); font-size: 14px; font-weight: 500; line-height: 19.6px; }
.article .meta a { color: var(--gray); text-decoration: none; }
.hero-img { margin-top: 48px; aspect-ratio: 1004 / 480; border-radius: 12px; overflow: hidden; background: #f0e5df; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rich { font-family: var(--pop); font-weight: 500; color: var(--ink); }
.rich p { margin-top: 12px; font-size: 16px; line-height: 30.4px; }
.rich p:empty { height: 0; margin-top: 24px; }
.rich h2 { margin-top: 48px; padding-bottom: 10px; border-bottom: 1px solid var(--line); font-size: 24px; font-weight: 900; line-height: 38.4px; letter-spacing: 1.2px; }
.rich h3 { margin-top: 36px; font-size: 16px; font-weight: 900; line-height: 25.6px; color: var(--brand); }
.rich strong { font-weight: 900; }
.rich ul, .rich ol { margin-top: 12px; padding-left: 1.4em; }
.rich li { font-size: 16px; line-height: 30.4px; }
.rich li p { margin: 0; }
.rich figure { margin: 48px 0 0; }
.rich figure img, .rich p > img { display: block; width: 100%; height: auto; border-radius: 12px; }
.rich figcaption { margin-top: 8px; text-align: center; font-size: 12px; line-height: 20px; color: var(--muted); }
.rich a { color: #007cff; }
.recent { position: relative; width: min(100%, 1280px); margin: 96px auto; padding: 0 48px; }
.recent h2 { text-align: center; font-family: var(--pop); font-size: 24px; font-weight: 600; line-height: 33.6px; letter-spacing: 1.2px; color: var(--brand); }

/* パネル（お問い合わせ / プライバシー） */
.panel { margin-top: 96px; padding: 48px; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.panel .intro { margin-top: 12px; font-family: var(--pop); font-weight: 500; line-height: 25.6px; }
.form { margin-top: 48px; }
.field { display: block; margin-bottom: 48px; }
.field .lbl { display: flex; align-items: flex-start; gap: 5px; margin-bottom: 10px; font-family: var(--pop); font-size: 18px; font-weight: 700; line-height: 25.2px; }
.field .req { color: var(--brand); font-size: 15px; line-height: 21px; padding-top: 2px; }
.field input, .field textarea {
  display: block; width: 100%; padding: 12px; background: #f6f6f6; border: 0; border-radius: 4px;
  font-family: var(--pop); font-size: 15px; line-height: 21px; color: var(--ink);
}
.field input { height: 50px; }
.field textarea { min-height: 160px; padding: 10px; border: 1px solid #eee; resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--brand); outline-offset: 1px; }
.agree { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 24px; font-family: var(--pop); font-size: 14px; font-weight: 500; line-height: 19.6px; }
.agree input { width: 14px; height: 14px; margin: 0; accent-color: var(--brand); }
.agree a { color: var(--brand); }
.form-error { text-align: center; margin-bottom: 16px; font-family: var(--pop); font-size: 13px; color: #d33; }
.submit { display: flex; justify-content: center; margin-top: 20px; }
.submit button {
  display: inline-flex; align-items: center; gap: 6px; padding: 12px 48px; border: 0; border-radius: 48px; cursor: pointer;
  background: var(--brand); color: #fff; font-family: var(--pop); font-size: 18px; font-weight: 600; line-height: 34.2px; letter-spacing: 0.9px;
}
.submit button:hover { background: var(--brand-deep); }
.submit button:disabled { opacity: 0.6; cursor: default; }

.thanks .lead { margin-top: 48px; font-family: var(--pop); font-size: 18px; font-weight: 500; line-height: 28.8px; }
.btn-home {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 96px; padding: 12px 96px; border-radius: 48px;
  background: var(--brand); color: #fff; text-decoration: none;
  font-family: var(--pop); font-size: 18px; font-weight: 600; line-height: 34.2px; letter-spacing: 0.9px;
}
.btn-home:hover { background: var(--brand-deep); }

.legal { font-family: var(--pop); }
.legal p { margin: 10px 0; font-size: 16px; line-height: 25.6px; }
.legal h2 { margin-top: 24px; font-size: 20px; font-weight: 500; line-height: 32px; letter-spacing: 1px; }
.legal ul, .legal ol { margin: 10px 0; padding-left: 20px; }
.legal li { font-size: 16px; line-height: 25.6px; margin: 10px 0; }
.legal a { color: #e84a10; }

/* =========================================================
   responsive
   ========================================================= */
@media (max-width: 1140px) {
  .members { grid-template-columns: repeat(4, 1fr); }
  .service-row { flex-wrap: wrap; }
  .steps ol { flex-wrap: wrap; justify-content: center; }
  .steps ol::before, .steps li + li::after { display: none; }
  .future-grid { flex-direction: column; align-items: center; }
  .roadmap { width: min(100%, 472px); }
}

@media (max-width: 840px) {
  html { scroll-padding-top: 64px; }
  .container { width: min(100% - 32px, var(--container)); }

  /* header */
  .header-inner { height: 57px; padding: 0 8px; gap: 8px; }
  .logo img { width: 109px; height: 24px; }
  .nav { gap: 8px; }
  .nav .link { display: none; }
  .menu-btn { display: grid; }

  /* hero */
  .hero-circles { width: 390px; left: -10px; top: 182px; }
  .hero-ribbon { width: 780px; height: 759px; object-fit: cover; left: -223px; top: 45px; }
  .hero-dash { width: 390px; height: 532px; left: -95px; top: -69px; }
  .hero-text { width: min(100%, 312px); font-size: 48px; line-height: 48px; }
  .hero-text .pop { font-size: 36px; line-height: 36px; }

  /* mission */
  .mv { padding: 80px 40px; }
  .mv-inner { gap: 80px; }
  .mission, .vision { align-items: center; text-align: center; }
  .mv .word { font-size: 72px; line-height: 72px; }
  .mv .stmt .grad { display: block; font-size: 36px; line-height: 54px; }
  .mv-dash { width: 300px; height: 300px; left: calc(50% - 150px); top: 40%; }

  /* service */
  .service-dash { width: 500px; height: 520px; left: 50%; top: 40%; }
  .service-ribbon { width: 900px; left: -300px; top: 30%; }
  .service-card { padding: 24px; }
  .phone { margin: 0 auto; }
  .ex-cards { grid-template-columns: 1fr; }
  .ex-title span { font-size: 24px; line-height: 32px; }
  .steps { padding: 20px 8px; }
  .steps li { width: min(100%, 300px); }
  .steps li::before { left: calc(50% - 112px); }
  .steps p { width: min(100%, 260px); }

  /* numbers */
  .stats { grid-template-columns: 1fr 1fr; }
  .numbers-ribbon { width: 900px; left: -300px; }
  .numbers-dash { display: none; }
  .h2 { font-size: 28px; line-height: 40px; }
  .grad { font-size: 34px; }
  .h2 .box { display: inline; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

  /* future */
  .future-grid { padding: 0; }

  /* member */
  .members { grid-template-columns: 1fr 1fr; }
  .mem:nth-child(even) { padding-top: 0; }

  /* company */
  .company { padding: 80px 0; }
  .company-ribbon { width: 900px; left: -100px; }
  .company-table .row { flex-direction: column; gap: 6px; padding: 16px; }
  .company-table dt { width: auto; }
  .map { height: 260px; }

  /* recruit */
  .recruit { padding: 80px 0 40px; }
  .fit-grid { grid-template-columns: 1fr; }
  .fit-card { padding: 28px 24px; }
  .partners { padding: 28px 24px; text-align: center; }
  .partners .label { justify-content: center; }
  .partners-row { flex-direction: column; align-items: center; gap: 24px; text-align: left; }
  .btn-primary { padding: 16px 40px; }

  /* news */
  .news-home { padding: 80px 0; }
  .news-row { flex-direction: column; align-items: flex-start; gap: 10px; padding: 20px 16px; }

  /* footer */
  .footer-top { flex-direction: column; gap: 24px; }
  .footer-nav { gap: 16px 24px; }

  /* sub pages */
  .page { margin-top: 48px; }
  .page-inner, .page-inner.narrow { margin: 32px auto 64px; padding: 0 16px; }
  .page-title { font-size: 28px; line-height: 40px; }
  .filters { margin-top: 48px; }
  .news-grid { grid-template-columns: 1fr; gap: 32px; }
  .article h1 { font-size: 26px; line-height: 40px; letter-spacing: 1px; }
  .hero-img { aspect-ratio: 16 / 9; margin-top: 24px; }
  .rich p, .rich li { font-size: 15px; line-height: 28px; }
  .rich h2 { font-size: 20px; line-height: 32px; margin-top: 36px; }
  .recent { padding: 0 16px; margin: 64px auto; }
  .panel { margin-top: 48px; padding: 24px 16px; }
  .field { margin-bottom: 32px; }
  .submit button { padding: 12px 32px; }
  .btn-home { padding: 12px 48px; margin-top: 48px; }
}

@media (max-width: 480px) {
  .hero-text { font-size: 40px; line-height: 40px; }
  .hero-text .pop { font-size: 30px; line-height: 30px; }
  .mv .word { font-size: 56px; line-height: 56px; }
  .mv .stmt { font-size: 22px; line-height: 34px; }
  .mv .stmt .grad { font-size: 28px; line-height: 40px; }
  .stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat { padding: 20px 16px; }
  .stat .num { font-size: 26px; line-height: 32px; }
  .members { gap: 16px; }
}
