:root {
  --ink: #262626;
  --muted: #666;
  --line: #e8e2d8;
  --paper: #fffaf1;
  --white: #fff;
  --accent: #f8b62d;
  --accent-dark: #d88700;
  --green: #2f7d64;
  --blue: #285a8f;
  --shadow: 0 20px 55px rgba(34, 30, 24, .14);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  padding-top: 78px;
  color: var(--ink);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.75;
  background: #fff;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 20;
  background: rgba(255, 255, 255, .72);
  border-bottom: 1px solid rgba(38, 38, 38, .08);
  backdrop-filter: blur(18px);
}
@media (max-width: 800px) {
  .header { background: rgba(255, 255, 255, .92); }
}
.header-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo img { width: 178px; }
.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
  font-weight: 700;
}
.nav a { color: #333; }
.nav a:hover { color: var(--accent-dark); }
.nav .contact-link {
  color: #fff;
  background: var(--ink);
  padding: 10px 18px;
  border-radius: 999px;
}
.hero {
  position: relative;
  min-height: 680px;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
  background: #151515;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.48) 45%, rgba(0,0,0,.08) 100%),
    url("../../../images/company/desk_hand2.jpeg") center / cover no-repeat;
  transform: scale(1.02);
}
.hero-inner {
  position: relative;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 150px 0 90px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  font-size: 14px;
  font-weight: 700;
}
.hero h1 {
  max-width: 860px;
  margin: 26px 0 18px;
  font-size: clamp(40px, 7vw, 82px);
  line-height: 1.08;
  letter-spacing: 0;
}
.hero-copy {
  max-width: 680px;
  margin: 0 0 34px;
  font-size: clamp(17px, 2.1vw, 22px);
}
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 800;
}
.button.primary { background: var(--accent); color: #171717; }
.button.dark { background: #fff; color: #171717; }
.workshop-promo {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  margin: 24px 0 0;
  padding: 14px 18px;
  color: #171717;
  background: #fff;
  border-left: 5px solid #e67e22;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(0,0,0,.2);
}
.workshop-promo strong { display: block; font-size: 17px; }
.workshop-promo span { font-size: 14px; font-weight: 700; }
.workshop-promo a {
  margin-left: auto;
  padding: 9px 14px;
  color: #fff;
  background: #d96f16;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}
section { padding: 96px 0; }
.section-inner { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}
.kicker {
  margin: 0 0 8px;
  color: var(--accent-dark);
  font-weight: 900;
  letter-spacing: .08em;
  font-size: 13px;
}
h2 {
  margin: 0;
  font-size: clamp(30px, 4.4vw, 48px);
  line-height: 1.22;
  letter-spacing: 0;
}
.lead { max-width: 580px; margin: 0; color: var(--muted); font-size: 17px; }
.services { background: var(--paper); }
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.service-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(34, 30, 24, .08);
}
.service-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.service-card--laser img { transform: scale(1.035); }
.service-body { padding: 24px; }
.service-body h3 { margin: 0 0 8px; font-size: 22px; line-height: 1.35; }
.service-body p { margin: 0; color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tags span {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 999px;
  background: #f3f0ea;
  color: #4c453b;
  font-size: 12px;
  font-weight: 800;
}
.strengths { background: #fff; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.feature {
  border-left: 5px solid var(--accent);
  padding: 24px 24px 24px 26px;
  background: #fff;
  box-shadow: 0 14px 42px rgba(20,20,20,.08);
  border-radius: 8px;
}
.feature strong { display: block; margin-bottom: 8px; font-size: 21px; }
.feature p { margin: 0; color: var(--muted); }
.works {
  background: #1f1f1f;
  color: #fff;
}
.works .lead { color: rgba(255,255,255,.72); }
.works-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr .9fr;
  gap: 16px;
}
.work-tile {
  position: relative;
  min-height: 260px;
  border-radius: 8px;
  overflow: hidden;
  background: #333;
}
.work-tile.large { grid-row: span 2; min-height: 536px; }
.work-tile img { width: 100%; height: 100%; object-fit: cover; }
.work-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.72));
}
.work-tile span {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  z-index: 1;
  font-size: 18px;
  font-weight: 900;
}
.flow { background: #fff; }
.flow-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  counter-reset: flow;
}
.flow-item {
  counter-increment: flow;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.flow-item::before {
  content: counter(flow, decimal-leading-zero);
  display: block;
  margin-bottom: 14px;
  color: var(--accent-dark);
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
}
.flow-item strong { display: block; margin-bottom: 8px; }
.flow-item p { margin: 0; color: var(--muted); font-size: 14px; }
.news { background: var(--paper); }
.news-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.news-list li {
  display: grid;
  grid-template-columns: 130px 120px 1fr;
  gap: 18px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.news-list time { font-weight: 900; }
.news-list span {
  justify-self: start;
  padding: 4px 10px;
  border-radius: 999px;
  background: #fff;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 900;
}
.cta {
  color: #fff;
  background:
    linear-gradient(90deg, rgba(248,182,45,.95), rgba(47,125,100,.9)),
    url("../../../images/service/p_kanban.jpg") center / cover no-repeat;
}
.cta-box {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
}
.cta h2 { color: #fff; }
.cta p { max-width: 720px; margin: 16px 0 0; font-size: 18px; }
.footer {
  padding: 58px 0 28px;
  background: #171717;
  color: #fff;
}
.footer-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}
.footer-main {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 1.4fr;
  gap: 48px;
  align-items: start;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255,255,255,.16);
}
.footer-brand img {
  width: 176px;
  margin-bottom: 18px;
}
.footer-brand p {
  max-width: 430px;
  margin: 0;
  color: rgba(255,255,255,.72);
}
.footer-contact {
  margin-top: 20px;
  display: grid;
  gap: 6px;
  font-size: 14px;
}
.footer-contact a { color: var(--accent); font-weight: 800; }
.footer-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.footer-column h3 {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 13px;
  letter-spacing: .08em;
}
.footer-column a,
.footer-column span {
  display: block;
  color: rgba(255,255,255,.78);
  font-size: 14px;
}
.footer-column a + a,
.footer-column span + span { margin-top: 8px; }
.footer-column a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding-top: 22px;
  color: rgba(255,255,255,.62);
  font-size: 13px;
}
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; }
@media (max-width: 900px) {
  .nav { display: none; }
  .hero { min-height: 620px; }
  .service-grid, .feature-grid, .flow-list { grid-template-columns: 1fr; }
  .section-head, .cta-box { display: block; }
  .footer-main,
  .footer-columns { grid-template-columns: 1fr; }
  .footer-bottom {
    display: block;
  }
  .footer-links { display: none; }
  .lead { margin-top: 14px; }
  .works-grid { grid-template-columns: 1fr; }
  .work-tile, .work-tile.large { min-height: 280px; }
  .news-list li { grid-template-columns: 1fr; gap: 6px; }
  .cta .button { margin-top: 22px; }
  .workshop-promo { align-items: flex-start; flex-wrap: wrap; }
  .workshop-promo a { margin-left: 0; }
}
@media (max-width: 520px) {
  .header-inner { min-height: 68px; }
  .logo img { width: 142px; }
  .hero-inner { padding: 110px 0 72px; }
  section { padding: 68px 0; }
  .actions .button { width: 100%; }
  .service-body, .feature, .flow-item { padding: 20px; }
}
.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  background: var(--ink, #262626);
  color: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  box-shadow: 0 12px 28px rgba(20,20,20,.16);
}
.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform .22s ease, opacity .22s ease;
}
body.menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
body.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
body.menu-open { overflow: hidden; }
.popko-top {
  position: fixed;
  right: clamp(14px, 2.6vw, 30px);
  bottom: clamp(14px, 2.6vw, 28px);
  z-index: 60;
  width: 92px;
  height: 170px;
  display: grid;
  place-items: end center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px) scale(.96);
  transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
}
body.show-popko-top .popko-top {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.popko-top img {
  position: relative;
  z-index: 1;
  width: 64px;
  filter: drop-shadow(0 10px 16px rgba(20,20,20,.22));
  transition: transform .22s ease;
}
.popko-top span {
  position: absolute;
  top: 4px;
  right: 0;
  z-index: 2;
  min-width: 54px;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--accent, #f8b62d);
  color: #171717;
  box-shadow: 0 10px 24px rgba(20,20,20,.16);
  font-size: 13px;
  line-height: 1;
  font-weight: 900;
  text-align: center;
}
.popko-top:hover img { transform: translateY(-5px); }
.popko-top:focus-visible,
.menu-toggle:focus-visible {
  outline: 4px solid rgba(248,182,45,.45);
  outline-offset: 5px;
}
@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; }
  .nav {
    position: fixed;
    inset: 78px 16px auto 16px;
    display: grid;
    gap: 8px;
    padding: 18px;
    border-radius: 8px;
    background: rgba(255,255,255,.97);
    border: 1px solid rgba(38,38,38,.08);
    box-shadow: var(--shadow, 0 20px 55px rgba(34,30,24,.14));
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
  }
  body.menu-open .nav {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .nav a {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0 14px 0 28px;
    border-radius: 8px;
    background: #fffaf6;
    overflow: hidden;
  }
  .nav a::before {
    content: "";
    position: absolute;
    left: 12px;
    top: 12px;
    bottom: 12px;
    width: 4px;
    border-radius: 999px;
    background: var(--accent, #f8b62d);
  }
  .nav .contact-link {
    justify-content: center;
    padding-left: 14px;
    background: var(--accent, #f8b62d);
    color: #171717;
  }
  .nav .contact-link::before { display: none; }
}
@media (max-width: 520px) {
  .nav { inset: 68px 12px auto 12px; }
  .popko-top { width: 76px; height: 142px; }
  .popko-top img { width: 54px; }
  .popko-top span { min-width: 48px; font-size: 12px; padding: 6px 9px; }
}
/* スマホでの横スクロール・左右の揺れを防止 */
html { overflow-x: hidden; }
body { max-width: 100%; overflow-x: clip; }
main, header, footer, section { min-width: 0; }
iframe { max-width: 100%; }

/* Product announcement color */
.workshop-promo.tape-promo { border-left-color: #2f7d64; }
.workshop-promo.tape-promo a { background: #2f7d64; }
