:root {
  --ink: #1b2430;
  --ink-sub: #5a6472;
  --bg: #ffffff;
  --bg-alt: #f4f6f8;
  --accent: #ff7a1a;
  --accent-dark: #e2650a;
  --line: #e3e7ec;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 70px; }

body {
  font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.9;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.header__logo {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 0.06em;
}
.header__logo-sub {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--ink-sub);
  margin-left: 8px;
  letter-spacing: 0.2em;
}
.header__nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.9rem;
  font-weight: 500;
}
.header__nav a:hover { color: var(--accent-dark); }
.header__cta {
  background: var(--accent);
  color: #fff !important;
  padding: 8px 18px;
  border-radius: 6px;
  font-weight: 700;
}
.header__cta:hover { background: var(--accent-dark); color: #fff; }

/* Hero */
.hero {
  background:
    linear-gradient(120deg, rgba(27, 36, 48, 0.94), rgba(27, 36, 48, 0.82)),
    repeating-linear-gradient(45deg, #223042 0 24px, #1b2430 24px 48px);
  color: #fff;
  padding: 88px 20px 96px;
}
.hero__inner { max-width: 1040px; margin: 0 auto; }
.hero__keywords {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.hero__keywords span {
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  padding: 3px 14px;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.85);
}
.hero__title {
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: 0.04em;
}
.hero__lead {
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.98rem;
}
.hero__actions { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 13px 30px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-dark); }
.btn--ghost {
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  color: #fff;
}
.btn--line { background: #06c755; color: #fff; }
.btn--line:hover { background: #05b34c; }

/* Sections */
.section { padding: 72px 20px; }
.section--alt { background: var(--bg-alt); }
.section__inner { max-width: 1040px; margin: 0 auto; }
.section__title {
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin-bottom: 40px;
  position: relative;
  padding-left: 18px;
}
.section__title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 6px;
  background: var(--accent);
  border-radius: 3px;
}

/* Services */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
}
.service {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 26px 24px;
  box-shadow: 0 2px 10px rgba(27, 36, 48, 0.05);
}
.service__num {
  font-size: 0.8rem;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: 0.15em;
}
.service h3 { font-size: 1.1rem; font-weight: 700; margin: 6px 0 10px; }
.service p { font-size: 0.88rem; color: var(--ink-sub); }
.service--cta {
  background: var(--ink);
  color: #fff;
  border: none;
}
.service--cta h3 { color: var(--accent); }
.service--cta p { color: rgba(255, 255, 255, 0.85); }

/* Works */
.works__note {
  color: var(--ink-sub);
  font-size: 0.92rem;
  margin-bottom: 36px;
  max-width: 640px;
}
.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
  margin-bottom: 44px;
}
.work {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(27, 36, 48, 0.05);
}
.work__image {
  display: block;
  width: 100%;
  aspect-ratio: 97 / 61;
  object-fit: cover;
  background: #efede6;
}
.work__body { padding: 20px 22px; }
.work__tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent-dark);
  background: rgba(255, 122, 26, 0.1);
  border-radius: 999px;
  padding: 3px 10px;
  margin-bottom: 10px;
}
.work h3 { font-size: 1.02rem; font-weight: 700; margin-bottom: 8px; }
.work p { font-size: 0.86rem; color: var(--ink-sub); }

.works__capabilities {
  background: var(--bg-alt);
  border-radius: 14px;
  padding: 28px 26px;
}
.works__capabilities h3 { font-size: 1rem; font-weight: 700; margin-bottom: 14px; }
.works__capabilities ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px 20px;
}
.works__capabilities li {
  font-size: 0.88rem;
  color: var(--ink-sub);
  padding-left: 16px;
  position: relative;
}
.works__capabilities li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* Pricing */
.pricing__cat {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 34px 0 14px;
}
.pricing__cat:first-of-type { margin-top: 0; }
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  font-size: 0.92rem;
}
.pricing-table th,
.pricing-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.pricing-table tr:last-child th,
.pricing-table tr:last-child td { border-bottom: none; }
.pricing-table th {
  width: 11em;
  background: var(--bg-alt);
  font-weight: 700;
  white-space: nowrap;
}
.pricing-table__price {
  white-space: nowrap;
  font-weight: 700;
  color: var(--accent-dark);
}
.pricing__note {
  margin-top: 18px;
  font-size: 0.85rem;
  color: var(--ink-sub);
}

/* Company */
.company-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  font-size: 0.95rem;
}
.company-table th,
.company-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.company-table tr:last-child th,
.company-table tr:last-child td { border-bottom: none; }
.company-table th {
  width: 9em;
  background: var(--bg-alt);
  font-weight: 700;
  white-space: nowrap;
}

/* Contact */
.section--contact {
  background:
    linear-gradient(120deg, rgba(27, 36, 48, 0.96), rgba(27, 36, 48, 0.88)),
    repeating-linear-gradient(45deg, #223042 0 24px, #1b2430 24px 48px);
  color: #fff;
  text-align: center;
}
.section--contact .section__title {
  padding-left: 0;
  display: inline-block;
}
.section--contact .section__title::before { display: none; }
.contact__lead { margin-bottom: 28px; color: rgba(255, 255, 255, 0.9); }
.contact__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 10px; max-width: 760px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 4px 22px;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 30px 18px 0;
  font-weight: 700;
  font-size: 0.98rem;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before { content: "Q"; color: var(--accent); font-weight: 900; margin-right: 10px; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 16px;
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--ink-sub);
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  padding: 0 0 20px 26px;
  color: var(--ink-sub);
  font-size: 0.9rem;
}

/* Footer */
.footer { background: #12181f; color: rgba(255, 255, 255, 0.75); }
.footer__inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 30px 20px;
  text-align: center;
  font-size: 0.85rem;
}
.footer__links a { margin: 0 8px; }
.footer__links a:hover { color: var(--accent); }
.footer__copy { margin-top: 10px; font-size: 0.78rem; color: rgba(255, 255, 255, 0.5); }

@media (max-width: 560px) {
  .header__nav { gap: 14px; font-size: 0.82rem; }
  .section { padding: 56px 16px; }
  .pricing-table,
  .pricing-table tbody,
  .pricing-table tr,
  .pricing-table th,
  .pricing-table td { display: block; width: auto; }
  .pricing-table tr { border-bottom: 1px solid var(--line); }
  .pricing-table tr:last-child { border-bottom: none; }
  .pricing-table th { background: none; padding: 12px 18px 0; }
  .pricing-table td { padding: 2px 18px; border: none; }
  .pricing-table td:last-child { padding-bottom: 14px; }
}
