:root {
  --mtw-ink: #243036;
  --mtw-muted: #637179;
  --mtw-line: #d9e2e5;
  --mtw-soft: #f7f6f1;
  --mtw-paper: #fffdf8;
  --mtw-blue: #1c65b0;
  --mtw-blue-dark: #154d86;
  --mtw-blue-soft: #eef6ff;
  --mtw-green: #1c65b0;
  --mtw-green-dark: #154d86;
  --mtw-teal: #1c65b0;
  --mtw-navy: #20333d;
  --mtw-gold: #b98542;
  --mtw-coral: #1c65b0;
  --mtw-white: #ffffff;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  overflow-x: hidden;
}

.mtw-page {
  color: var(--mtw-ink);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.9;
  background: var(--mtw-paper);
  overflow: hidden;
}

.mtw-page * {
  box-sizing: border-box;
}

.mtw-page a {
  color: inherit;
}

.mtw-nowrap {
  white-space: nowrap;
}

.mtw-pc-break {
  display: block;
}

.mtw-sp-break {
  display: none;
}

.mtw-container {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
}

.mtw-hero {
  position: relative;
  overflow: hidden;
  background: var(--mtw-navy);
  color: var(--mtw-white);
  padding: 104px 0 94px;
}

.mtw-hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 38, 43, .94) 0%, rgba(18, 38, 43, .82) 42%, rgba(18, 38, 43, .32) 74%, rgba(18, 38, 43, .1) 100%),
    url("./web-production-hero.png") center right / cover no-repeat;
  transform: scale(1.01);
}

.mtw-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 92px;
  background: linear-gradient(180deg, rgba(255,253,248,0) 0%, var(--mtw-paper) 100%);
  pointer-events: none;
}

.mtw-hero-layout {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 40px)) !important;
  min-height: 460px;
  margin: 0 auto !important;
  padding: 0 !important;
  display: flex;
  align-items: center;
}

.mtw-hero-copy {
  max-width: 720px;
  border-left: 0;
  padding-left: 0;
}

.mtw-kicker {
  margin: 0 0 12px;
  color: var(--mtw-green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.mtw-hero .mtw-kicker {
  color: #b9d9fb;
}

.mtw-hero h1,
.mtw-section h2 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.35;
}

.mtw-hero h1 {
  font-size: 50px;
  font-weight: 800;
}

.mtw-lead {
  max-width: 700px;
  margin: 30px 0 0;
  color: rgba(255,255,255,.91);
  font-size: 19px;
  line-height: 2;
}

.mtw-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 42px;
}

.mtw-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.mtw-page .mtw-button {
  line-height: 1.4;
  box-shadow: none;
}

.mtw-button:hover {
  transform: translateY(-1px);
}

.mtw-button-primary {
  background: var(--mtw-coral);
  color: var(--mtw-white);
}

.mtw-button-primary:hover {
  background: var(--mtw-blue-dark);
  color: var(--mtw-white);
}

.mtw-button-secondary {
  border-color: rgba(255,255,255,.58);
  color: var(--mtw-white);
}

.mtw-button-outline {
  border-color: rgba(28, 101, 176, .58);
  background: var(--mtw-white);
  color: var(--mtw-blue-dark);
}

.mtw-button-outline:hover {
  border-color: var(--mtw-blue);
  background: var(--mtw-blue-soft);
  color: var(--mtw-blue-dark);
}

.mtw-section {
  padding: 88px 0;
}

.mtw-section-heading {
  max-width: 780px;
  margin-bottom: 40px;
}

.mtw-section-heading h2,
.mtw-intro h2,
.mtw-two-column h2,
.mtw-studio h2,
.mtw-build-lead h2 {
  font-size: 30px;
  font-weight: 800;
}

.mtw-section-heading p,
.mtw-intro p,
.mtw-two-column p,
.mtw-scenario-copy p,
.mtw-build-lead p,
.mtw-studio p {
  margin: 16px 0 0;
  color: var(--mtw-muted);
  font-size: 16px;
  line-height: 1.9;
}

.mtw-studio h2,
.mtw-build-lead h2 {
  line-height: 1.42;
}

.mtw-studio .mtw-kicker,
.mtw-build-lead .mtw-kicker,
.mtw-section-heading .mtw-kicker {
  font-size: 13px;
  line-height: 1.4;
}

.mtw-scenario-section {
  padding-top: 64px;
  background: var(--mtw-paper);
}

.mtw-scenario-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .72fr);
  gap: 56px;
  align-items: end;
  margin-bottom: 42px;
}

.mtw-scenario-layout .mtw-section-heading {
  margin-bottom: 0;
}

.mtw-scenario-copy {
  border-top: 2px solid var(--mtw-gold);
  padding-top: 24px;
}

.mtw-scenario-list {
  display: grid;
  border-top: 1px solid var(--mtw-line);
}

.mtw-scenario-item {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  grid-template-areas:
    "number title"
    "number text";
  gap: 28px;
  column-gap: 28px;
  row-gap: 8px;
  align-items: start;
  padding: 28px 0;
  border-bottom: 1px solid var(--mtw-line);
}

.mtw-scenario-number {
  grid-area: number;
  color: var(--mtw-coral);
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
}

.mtw-scenario-item h3 {
  grid-area: title;
  margin: 0 0 8px;
  font-size: 22px;
  line-height: 1.45;
  max-width: none;
}

.mtw-scenario-item p {
  grid-area: text;
  margin: 0;
  color: var(--mtw-muted);
  max-width: 760px;
}

.mtw-studio-section {
  background: #edf4f2;
}

.mtw-studio {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(420px, 1fr);
  gap: 64px;
  align-items: center;
}

.mtw-studio-board {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: #cfd9e4;
  border: 1px solid #cfd9e4;
}

.mtw-studio-board div {
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  background: var(--mtw-white);
}

.mtw-studio-board span {
  color: var(--mtw-teal);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.mtw-studio-board strong {
  font-size: 22px;
  line-height: 1.45;
}

.mtw-card,
.mtw-operation,
.mtw-plan,
.mtw-flow-item {
  border: 1px solid var(--mtw-line);
  border-radius: 6px;
  background: var(--mtw-white);
}

.mtw-plan.featured {
  border-color: rgba(28, 101, 176, .55);
  box-shadow: 0 18px 38px rgba(28, 101, 176, .12);
}

.mtw-plan-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.mtw-card h3,
.mtw-operation h3,
.mtw-flow-item h3,
.mtw-plan h3 {
  margin: 16px 0 12px;
  font-size: 20px;
  line-height: 1.45;
}

.mtw-card p,
.mtw-operation p,
.mtw-flow-item p,
.mtw-faq-list p,
.mtw-plan li,
.mtw-plan-note {
  color: var(--mtw-muted);
  font-size: 16px;
  line-height: 1.85;
}

.mtw-intro {
  max-width: 860px;
}

.mtw-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 1px solid var(--mtw-line);
  background: var(--mtw-line);
}

.mtw-build-layout {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 54px;
  align-items: start;
}

.mtw-build-lead {
  position: sticky;
  top: 24px;
}

.mtw-card {
  min-height: 245px;
  padding: 32px;
  border: 0;
  border-radius: 0;
}

.mtw-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 70px;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--mtw-blue-soft);
  color: var(--mtw-teal);
  font-size: 12px;
  font-weight: 800;
}

.mtw-two-column {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(420px, 1fr);
  gap: 56px;
  align-items: start;
}

.mtw-check-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mtw-check-list li {
  position: relative;
  padding: 16px 18px 16px 44px;
  border: 1px solid var(--mtw-line);
  border-radius: 6px;
  background: var(--mtw-white);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.85;
}

.mtw-check-list li::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 20px;
  width: 12px;
  height: 7px;
  border-left: 3px solid var(--mtw-coral);
  border-bottom: 3px solid var(--mtw-coral);
  transform: rotate(-45deg);
}

.mtw-renewal-section {
  background: #f3efe8;
}

.mtw-maintenance-section {
  background: var(--mtw-white);
}

.mtw-operation-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.mtw-operation {
  min-height: 250px;
  padding: 30px;
  background: #24363f;
  color: var(--mtw-white);
  border: 0;
}

.mtw-operation span {
  color: #b9d9fb;
  font-weight: 900;
}

.mtw-operation p {
  color: rgba(255,255,255,.78);
}

.mtw-plan-section {
  background: var(--mtw-soft);
}

.mtw-plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.mtw-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px;
}

.mtw-plan-badge {
  position: absolute;
  top: 28px;
  right: 28px;
  width: fit-content;
  margin-bottom: 0;
  background: var(--mtw-blue-soft);
  color: var(--mtw-blue-dark);
}

.mtw-plan-head {
  padding-right: 0;
  min-height: 112px;
}

.mtw-plan-head p {
  margin: 0;
  color: var(--mtw-teal);
  font-size: 13px;
  font-weight: 800;
}

.mtw-price {
  display: grid;
  gap: 6px;
  align-content: start;
  min-height: 0;
  margin: 18px 0 20px;
  padding: 16px 0;
  border-top: 1px solid var(--mtw-line);
  border-bottom: 1px solid var(--mtw-line);
}

.mtw-price span {
  color: var(--mtw-muted);
  font-size: 13px;
  font-weight: 700;
}

.mtw-price strong {
  font-size: 28px;
  line-height: 1.3;
}

.mtw-price small {
  color: var(--mtw-muted);
}

.mtw-plan ul {
  margin: 0;
  padding-left: 22px;
  padding-bottom: 28px;
  font-size: 16px;
  line-height: 1.8;
  flex: 1 1 auto;
}

.mtw-plan li {
  margin-top: 10px;
  line-height: 1.85;
}

.mtw-plan li:first-child {
  margin-top: 0;
}

.mtw-plan .mtw-button {
  width: 100%;
  min-width: 0;
  margin-top: auto;
  white-space: nowrap;
}

.mtw-plan ul + .mtw-button {
  margin-top: auto;
}

.mtw-plan-note {
  margin: 24px 0 0;
  padding: 18px 20px;
  border-left: 4px solid var(--mtw-gold);
  background: rgba(255,255,255,.72);
  font-size: 15px;
  line-height: 1.8;
}

.mtw-flow,
.mtw-flow.mtw-flow {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 16px !important;
  border-left: 0 !important;
  margin-left: 0 !important;
}

.mtw-flow-item,
.mtw-flow .mtw-flow-item {
  position: relative !important;
  min-height: 260px !important;
  padding: 30px 26px 28px !important;
  border: 1px solid var(--mtw-line) !important;
  border-top: 4px solid var(--mtw-blue) !important;
  border-radius: 6px !important;
  background: var(--mtw-white) !important;
}

.mtw-flow-item > span,
.mtw-flow .mtw-flow-item > span {
  position: static !important;
  display: inline-grid !important;
  place-items: center !important;
  width: 42px !important;
  height: 42px !important;
  margin: 0 0 28px !important;
  border-radius: 50% !important;
  background: var(--mtw-blue) !important;
  color: var(--mtw-white) !important;
  font-size: 16px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
}

.mtw-flow-item > h3,
.mtw-flow .mtw-flow-item > h3 {
  margin: 0 0 16px !important;
  font-size: 22px !important;
  line-height: 1.45 !important;
}

.mtw-flow-item > p,
.mtw-flow .mtw-flow-item > p {
  max-width: none !important;
  margin: 0 !important;
  font-size: 16px !important;
  line-height: 1.85 !important;
}

.mtw-faq-section {
  background: #fbfaf6;
}

.mtw-faq-list {
  display: grid;
  gap: 12px;
}

.mtw-faq-list details {
  border: 1px solid var(--mtw-line);
  border-radius: 6px;
  background: var(--mtw-white);
  padding: 18px 20px;
}

.mtw-faq-list summary {
  cursor: pointer;
  font-weight: 800;
}

.mtw-faq-list p {
  margin: 10px 0 0;
}

@media (max-width: 960px) {
  .mtw-scenario-layout,
  .mtw-studio,
  .mtw-build-layout,
  .mtw-feature-grid,
  .mtw-two-column,
  .mtw-operation-grid,
  .mtw-plan-grid,
  .mtw-flow {
    grid-template-columns: 1fr;
  }

  .mtw-scenario-layout,
  .mtw-feature-grid,
  .mtw-operation-grid,
  .mtw-plan-grid,
  .mtw-flow {
    gap: 18px;
  }

  .mtw-build-lead {
    position: static;
  }

  .mtw-plan {
    display: flex;
  }

  .mtw-plan-badge {
    position: static;
    margin-bottom: 12px;
  }

  .mtw-plan-head,
  .mtw-price {
    min-height: 0;
  }

  .mtw-flow,
  .mtw-flow.mtw-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px !important;
  }
}

@media (max-width: 640px) {
  .mtw-container {
    width: min(100% - 32px, 1180px);
  }

  .mtw-hero {
    padding: 72px 0 64px;
  }

  .mtw-hero-bg {
    background:
      linear-gradient(90deg, rgba(18, 38, 43, .96) 0%, rgba(18, 38, 43, .88) 100%),
      url("./web-production-hero.png") center right / cover no-repeat;
  }

  .mtw-hero-layout {
    width: min(100% - 32px, 1180px) !important;
    min-height: auto;
    padding: 0 !important;
  }

  .mtw-hero-copy {
    padding-left: 0;
  }

  .mtw-pc-break {
    display: none;
  }

  .mtw-sp-break {
    display: block;
  }

  .mtw-hero h1 {
    font-size: 32px;
  }

  .mtw-lead {
    font-size: 16px;
    line-height: 1.9;
  }

  .mtw-section {
    padding: 60px 0;
  }

  .mtw-section-heading h2,
  .mtw-intro h2,
  .mtw-two-column h2,
  .mtw-studio h2,
  .mtw-build-lead h2 {
    font-size: 25px;
  }

  .mtw-button {
    width: 100%;
  }

  .mtw-card,
  .mtw-operation,
  .mtw-plan {
    padding: 24px;
  }

  .mtw-scenario-item {
    grid-template-columns: 1fr;
    grid-template-areas:
      "number"
      "title"
      "text";
    gap: 12px;
  }

  .mtw-studio-board {
    grid-template-columns: 1fr;
  }

  .mtw-flow,
  .mtw-flow.mtw-flow {
    grid-template-columns: 1fr !important;
    margin-left: 0 !important;
  }

  .mtw-flow-item,
  .mtw-flow .mtw-flow-item {
    min-height: auto !important;
    padding: 24px !important;
  }

  .mtw-flow-item > span,
  .mtw-flow .mtw-flow-item > span {
    margin-bottom: 18px !important;
  }

  .mtw-card p,
  .mtw-operation p,
  .mtw-flow-item p,
  .mtw-faq-list p,
  .mtw-plan ul,
  .mtw-check-list li {
    font-size: 15px;
  }
}
