:root {
  --red: #d40016;
  --red-dark: #8b000d;
  --black: #070707;
  --ink: #f4f4f4;
  --muted: #b7b7b7;
  --line: rgba(255, 255, 255, 0.12);
  --paper: #ffffff;
  --smoke: #0c0c0c;
  --surface: #171717;
  --surface-light: #202020;
  --accent: #e01824;
  --accent-dark: #a60010;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.42);
  --font-ja: "Noto Sans JP", sans-serif;
  --font-en: "Oswald", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-ja);
  font-size: 16px;
  line-height: 1.8;
  background: var(--black);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(circle at 78% 8%, rgba(212, 0, 22, 0.22), transparent 28%),
    linear-gradient(135deg, rgba(212, 0, 22, 0.08) 0 14%, transparent 14% 100%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 38px);
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

/* Common */
.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.container.narrow {
  width: min(900px, calc(100% - 40px));
}

.section {
  padding: 96px 0;
  overflow: hidden;
}

.section-heading {

}

.section-heading.center {
  text-align: center;
}

.section-heading.center h2 {
  max-width: 15em;
  margin-right: auto;
  margin-left: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  color: var(--red);
  font-family: var(--font-en);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.eyebrow::before {
  display: inline-block;
  width: 34px;
  height: 4px;
  content: "";
  background: var(--red);
  transform: skewX(-24deg);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  margin-bottom: 16px;
  color: var(--ink);
  font-size: clamp(28px, 3.8vw, 46px);
  font-weight: 900;
  line-height: 1.28;
  text-wrap: balance;
}

h3 {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 24px;
  font-weight: 900;
  line-height: 1.35;
}

.center-text {
  text-align: center;
}

.nowrap {
  display: inline-block;
  white-space: nowrap;
}

.sp-break {
  display: none;
}

.note {
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 14px 26px;
  border: 2px solid transparent;
  border-radius: 4px;
  font-weight: 900;
  line-height: 1.3;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn .material-icons {
  margin-right: 8px;
}

.btn-primary {
  color: var(--paper);
  background: linear-gradient(135deg, var(--red), #ff2638);
  box-shadow: 8px 8px 0 rgba(255, 255, 255, 0.12);
}

.btn-outline {
  color: var(--paper);
  border-color: rgba(212, 0, 22, 0.8);
  background: rgba(7, 7, 7, 0.72);
  backdrop-filter: blur(8px);
}

.btn-small {
  min-height: 42px;
  padding: 8px 16px;
  font-size: 14px;
  box-shadow: 5px 5px 0 var(--red-dark);
}

.section-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px 28px;
  margin-top: 42px;
}

.text-tel {
  color: var(--paper);
  font-family: var(--font-en);
  font-size: 24px;
  font-weight: 700;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 28px;
  color: var(--paper);
  border-bottom: 1px solid rgba(212, 0, 22, 0.32);
  background: rgba(7, 7, 7, 0.86);
  backdrop-filter: blur(10px);
  transition: padding 0.2s ease, background 0.2s ease;
}

.site-header.is-scrolled {
  padding-block: 9px;
  background: rgba(17, 17, 17, 0.94);
}

.header-nav,
.header-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}

.header-nav a {
  font-size: 14px;
  font-weight: 800;
}

.header-tel {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-en);
  font-size: 22px;
  font-weight: 700;
}

.header-tel .material-icons {
  margin-right: 6px;
  color: var(--red);
}

/* Main visual */
.mv {
  position: relative;
  min-height: 620px;
  background: var(--black);
}

.mv picture,
.mv img {
  width: 100%;
}

.mv img {
  min-height: 620px;
  object-fit: cover;
}

.mv::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  width: min(58vw, 820px);
  height: 80px;
  content: "";
  background: var(--black);
  clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%);
}

.mv-cta {
  position: absolute;
  right: max(28px, calc((100vw - 1120px) / 2));
  bottom: 24px;
  z-index: 2;
  display: flex;
  gap: 16px;
}

/* Lead */
.lead-section {
  padding-top: 82px;
  background: linear-gradient(180deg, var(--black), var(--smoke));
}

.lead-grid {
  display: grid;
  grid-template-columns: minmax(360px, 0.82fr) 1.18fr;
  gap: 56px;
  align-items: start;
}

.lead-text {
  padding-left: 32px;
  border-left: 6px solid var(--red);
  font-size: 18px;
  font-weight: 500;
  color: var(--muted);
}

/* Movie */
.movie-section {
  background:
    radial-gradient(circle at 82% 16%, rgba(212, 0, 22, 0.22), transparent 30%),
    linear-gradient(180deg, var(--smoke), var(--black));
}

.movie-section .section-heading p {
  color: var(--muted);
}

.movie-frame {
  position: relative;
  overflow: hidden;
  max-width: 920px;
  margin: 0 auto;
  border: 1px solid rgba(212, 0, 22, 0.42);
  border-top: 7px solid var(--red);
  background: var(--surface);
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 9;
}

.movie-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Points */
.dark-section {
  color: var(--paper);
  background:
    radial-gradient(circle at 18% 0, rgba(212, 0, 22, 0.34), transparent 28%),
    linear-gradient(135deg, rgba(7, 7, 7, 0.96), rgba(22, 22, 22, 0.98)),
    repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.045) 0 2px, transparent 2px 16px);
}

.dark-section h2,
.dark-section h3,
.dark-section .eyebrow {
  color: var(--paper);
}

.dark-section .section-heading p {
  color: rgba(255, 255, 255, 0.78);
}

.point-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.point-card {
  position: relative;
  min-height: 300px;
  padding: 34px 28px;
  border: 1px solid rgba(212, 0, 22, 0.28);
  background: linear-gradient(180deg, rgba(32, 32, 32, 0.96), rgba(12, 12, 12, 0.96));
  box-shadow: var(--shadow);
}

.point-card::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 84px;
  height: 8px;
  content: "";
  background: var(--red);
}

.point-number {
  display: block;
  margin-bottom: 18px;
  color: var(--red);
  font-family: var(--font-en);
  font-size: 56px;
  font-weight: 700;
  line-height: 1;
}

.point-card p {
  color: rgba(255, 255, 255, 0.8);
}

/* Works */
.work-slider {
  overflow: visible;
  padding-bottom: 48px;
}

.work-card {
  overflow: hidden;
  height: auto;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.work-card img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.work-body {
  padding: 26px;
}

.work-body h3 {
  color: var(--red);
}

.swiper-pagination-bullet-active {
  background: var(--red);
}

/* Numbers */
.numbers-section {
  background:
    linear-gradient(180deg, var(--smoke), var(--black));
}

.numbers-section .section-heading {
  margin-bottom: 48px;
}

.numbers-section .section-heading p {
  max-width: 720px;
  margin: 18px auto 0;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.9;
}

.number-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.number-card {
  padding: 28px 20px;
  text-align: center;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--surface-light), var(--surface));
  border-top: 7px solid var(--red);
  box-shadow: var(--shadow);
}

.number-label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-weight: 800;
}

.number-card strong {
  display: block;
  color: #ff2638;
  font-family: var(--font-en);
  font-size: clamp(42px, 6vw, 68px);
  font-weight: 700;
  line-height: 1;
}

.number-card strong span {
  font-family: var(--font-ja);
  font-size: 24px;
}

.number-card p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
}

/* Message */
.message-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 52px;
  align-items: center;
}

.message-image {
  position: relative;
}

.message-image::before {
  position: absolute;
  inset: 22px -18px -18px 22px;
  z-index: -1;
  content: "";
  background: var(--red);
}

.message-image img {
  width: 100%;
  aspect-ratio: 5 / 6;
  object-fit: cover;
}

.message-body {
  padding: 48px;
  border: 1px solid rgba(212, 0, 22, 0.26);
  background: linear-gradient(145deg, var(--surface-light), var(--black));
  color: var(--paper);
}

.message-body h2 {
  font-size: clamp(30px, 3.2vw, 44px);
}

.message-body h2,
.message-body .eyebrow {
  color: var(--paper);
}

.representative {
  margin-top: 28px;
  font-weight: 900;
}

/* Skills */
.skills-section {
  padding-top: 0;
}

.skill-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding: 0;
  margin: 0 0 24px;
  list-style: none;
}

.skill-list li {
  padding: 10px 18px;
  border: 1px solid rgba(212, 0, 22, 0.42);
  border-radius: 999px;
  font-weight: 800;
  color: var(--ink);
  background: var(--surface);
}

/* Requirements */
.requirements-table {
  max-width: 940px;

  margin: 0 auto;
}

.requirements-table .job-label,
.requirements-table .job-title {
  color: var(--paper);
  border-bottom-color: rgba(212, 0, 22, 0.45);
  background: linear-gradient(135deg, var(--red-dark), var(--red));
}

.requirements-table .job-title {
  font-size: 20px;
  font-weight: 900;
}

.info-table {
  display: grid;
  grid-template-columns: 190px 1fr;
  margin: 0 auto;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.info-table dt,
.info-table dd {
  padding: 18px 22px;
  margin: 0;
  border-bottom: 1px solid var(--line);
}

.info-table dt {
  color: var(--paper);
  font-weight: 900;
  background: var(--red-dark);
}

.info-table dd {
  color: var(--ink);
  background: var(--surface);
}

/* FAQ */
.faq-section {
  background: var(--smoke);
}

.faq-lead {
  max-width: 680px;
  margin: 14px auto 34px;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.9;
}

.faq-item {
  margin-bottom: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 24px;
  border: 0;
  font-weight: 900;
  text-align: left;
  cursor: pointer;
  color: var(--ink);
  background: var(--surface);
}

.faq-question::before {
  flex-shrink: 0;
  margin-right: 12px;
  color: var(--red);
  font-family: var(--font-en);
  font-size: 24px;
  content: "Q";
}

.faq-question .question-text {
  flex: 1;
  text-align: left;
}

.faq-question .material-icons {
  flex-shrink: 0;
  margin-left: 12px;
  transition: transform 0.2s ease;
}

.faq-item.is-open .faq-question .material-icons {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 24px 22px 62px;
  color: var(--muted);
}

.faq-answer p {
  margin-bottom: 0;
}

/* Company */
.company-section {
  background: var(--black);
}

.company-table {
  box-shadow: var(--shadow);
}

.company-table a {
  color: var(--red);
  font-weight: 900;
}

.map-frame {
  position: relative;
  overflow: hidden;
  width: 100%;
  margin-top: 28px;
  border: 1px solid rgba(212, 0, 22, 0.32);
  border-top: 7px solid var(--red);
  background: var(--surface);
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 7;
}

.map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(100%) contrast(1.08) brightness(0.82);
}

/* Contact */
.contact-section {
  color: var(--paper);
  background:
    radial-gradient(circle at 82% 18%, rgba(212, 0, 22, 0.38), transparent 30%),
    linear-gradient(135deg, rgba(7, 7, 7, 0.98), rgba(19, 19, 19, 0.96)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0 2px, transparent 2px 18px);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 42px;
  align-items: start;
}

.contact-copy h2,
.contact-copy .eyebrow {
  color: var(--paper);
}

.contact-phone {
  display: inline-flex;
  align-items: center;
  margin: 20px 0 8px;
  color: #ff2638;
  font-family: var(--font-en);
  font-size: clamp(38px, 6vw, 62px);
  font-weight: 700;
  line-height: 1;
}

.contact-phone .material-icons {
  margin-right: 10px;
  font-size: 38px;
}

.business-hour {
  color: rgba(255, 255, 255, 0.72);
}

.contact-form-wrap {
  padding: 34px;
  color: var(--ink);
  border: 1px solid rgba(212, 0, 22, 0.32);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.contact-form-wrap h3 {
  padding-left: 14px;
  border-left: 6px solid var(--red);
}

.form-notice {
  padding: 12px 14px;
  color: var(--ink);
  font-weight: 800;
  background: rgba(212, 0, 22, 0.18);
}

.form-errors {
  padding: 12px 14px 12px 34px;
  color: #ff7a84;
  font-weight: 800;
  background: rgba(212, 0, 22, 0.14);
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 900;
}

.label-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.label-title em {
  display: inline-block;
  padding: 1px 8px;
  color: var(--paper);
  font-size: 12px;
  font-style: normal;
  background: var(--red);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 3px;
  padding: 14px 12px;
  background: #0b0b0b;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(212, 0, 22, 0.34);
  border-color: var(--red);
}

.form-submit {
  width: 100%;
  border: 0;
  cursor: pointer;
}

/* Footer */
.site-footer {
  padding: 34px 20px 96px;
  color: rgba(255, 255, 255, 0.78);
  text-align: center;
  background: var(--black);
}

.footer-name {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--paper);
  font-weight: 900;
}

.site-footer p {
  margin-bottom: 6px;
}

.fixed-cta {
  position: fixed;
  right: 14px;
  bottom: 14px;
  z-index: 60;
  display: none;
  grid-template-columns: repeat(2, 1fr);
  width: calc(100% - 28px);
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

.fixed-cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  color: var(--paper);
  font-weight: 900;
  background: var(--red);
}

.fixed-cta a:first-child {
  color: var(--paper);
  background: var(--black);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.fixed-cta .material-icons {
  margin-right: 6px;
}

@media (max-width: 960px) {
  .header-nav {
    display: none;
  }

  .site-header {
    justify-content: flex-end;
  }

  .lead-grid,
  .message-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  /* 1カラム時はPC用のカラム間隔(56px)が縦余白になるため詰める */
  .lead-grid {
    gap: 16px;
  }

  .point-grid,
  .number-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  body {
    padding-bottom: 72px;
    font-size: 15px;
  }

  .container,
  .container.narrow {
    width: min(100% - 28px, 560px);
  }

  .section {
    padding: 64px 0;
  }

  h1,
  h2 {
    font-size: 29px;
    line-height: 1.34;
  }

  h3 {
    font-size: 21px;
  }

  .site-header {
    display: none;
  }

  .mv,
  .mv img {
    min-height: auto;
  }

  .mv-cta {
    right: 14px;
    bottom: 24px;
    left: 14px;
    flex-direction: column;
  }

  .mv-cta .btn {
    width: 100%;
  }

  .mv::after {
    display: none;
  }

  .lead-section {
    padding-top: 54px;
  }

  .lead-text {
    padding-left: 18px;
    font-size: 16px;
  }

  .sp-break {
    display: block;
  }

  .section-heading.center h2 {
    max-width: 10.5em;
  }

  .message-body h2 {
    font-size: 30px;
  }

  .point-grid,
  .number-grid {
    grid-template-columns: 1fr;
  }

  .point-card {
    min-height: auto;
    padding: 28px 22px;
  }

  .work-slider {
    padding-bottom: 40px;
  }

  .number-card {
    padding: 24px 18px;
  }

  .message-body,
  .contact-form-wrap {
    padding: 28px 20px;
  }

  .message-image::before {
    inset: 14px -10px -10px 14px;
  }

  .skill-list {
    justify-content: flex-start;
  }

  .skill-list li {
    width: 100%;
    border-radius: 4px;
  }

  .info-table {
    grid-template-columns: 1fr;
  }

  .info-table dt {
    padding-bottom: 8px;
    border-bottom: 0;
  }

  .info-table dd {
    padding-top: 10px;
  }

  .map-frame {
    aspect-ratio: 4 / 3;
  }

  .faq-question {
    padding: 18px 16px;
  }

  .faq-answer {
    padding: 0 16px 18px 46px;
  }

  .contact-phone {
    font-size: 40px;
  }

  .fixed-cta {
    display: grid;
  }
}

@media (max-width: 420px) {
  .mv-cta {
    position: static;
    padding: 14px;
    background: var(--black);
  }

  .btn {
    min-height: 54px;
    padding-inline: 18px;
  }
}

/* Contact form confirmation / completion */
.hp-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.form-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 82% 18%, rgba(212, 0, 22, 0.38), transparent 30%),
    linear-gradient(135deg, var(--black), var(--surface));
}

.form-page-main {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 48px 16px;
}

.form-page-box {
  width: min(820px, 100%);
  padding: clamp(24px, 5vw, 48px);
  color: var(--ink);
  border: 1px solid rgba(212, 0, 22, 0.32);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.form-page-box h1 {
  width: auto;
  height: auto;
  margin-bottom: 10px;
  color: var(--paper);
  font-size: clamp(26px, 5vw, 40px);
  line-height: 1.35;
}

.form-page-lead {
  margin-bottom: 28px;
  color: var(--muted);
}

.confirm-table {
  width: 100%;
  margin-bottom: 28px;
  border-collapse: collapse;
}

.confirm-table th,
.confirm-table td {
  padding: 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.confirm-table th {
  width: 32%;
  color: var(--paper);
  background: #0b0b0b;
}

.confirm-table td {
  overflow-wrap: anywhere;
}

.confirm-actions {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 12px;
}

.form-back {
  color: var(--paper);
  border-color: rgba(255, 255, 255, 0.28);
  background: #0b0b0b;
}

.thanks-box {
  text-align: center;
}

.thanks-icon {
  margin-bottom: 10px;
  color: var(--red);
  font-size: 68px;
}

.thanks-link {
  width: min(360px, 100%);
}

@media (max-width: 600px) {
  .form-page-main {
    padding: 20px 12px;
  }

  .form-page-box {
    padding: 24px 16px;
  }

  .confirm-table,
  .confirm-table tbody,
  .confirm-table tr,
  .confirm-table th,
  .confirm-table td {
    display: block;
    width: 100%;
  }

  .confirm-table tr {
    margin-bottom: 12px;
  }

  .confirm-table th,
  .confirm-table td {
    padding: 10px 12px;
  }

  .confirm-actions {
    grid-template-columns: 1fr;
  }
}
