:root {
  --mts-ink: #263238;
  --mts-muted: #647278;
  --mts-line: #d9e2e5;
  --mts-soft: #f5f8f7;
  --mts-green: #0f9d58;
  --mts-green-dark: #087b43;
  --mts-blue: #1f6f9d;
  --mts-amber: #d48b1f;
  --mts-white: #ffffff;
}

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

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

.mts-page a {
  color: inherit;
}

.mts-container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.mts-hero {
  position: relative;
  background: #24433b;
  color: var(--mts-white);
  padding: 104px 0 94px;
  overflow: hidden;
}

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

.mts-hero-layout {
  position: relative;
  z-index: 1;
  min-height: 460px;
  display: flex;
  align-items: center;
}

.mts-hero-copy {
  max-width: 720px;
}

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

.mts-hero .mts-kicker {
  color: #9ce5bd;
}

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

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

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

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

.mts-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
}

.mts-button.mts-button-primary {
  background: var(--mts-green);
  color: var(--mts-white);
}

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

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

.mts-button.mts-button-outline {
  border-color: #a8c7ba;
  color: var(--mts-green-dark);
  background: var(--mts-white);
}

.mts-button.mts-button-outline:hover {
  border-color: var(--mts-green);
  color: var(--mts-green-dark);
  background: #f2fbf6;
}

.mts-choice-section {
  padding-top: 56px;
}

.mts-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.mts-choice-card {
  border: 1px solid var(--mts-line);
  border-radius: 8px;
  background: var(--mts-white);
  padding: 32px;
}

.mts-choice-card.featured {
  border-color: #86cda7;
  box-shadow: 0 16px 34px rgba(15, 157, 88, .12);
}

.mts-label {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #e2f5ea;
  color: var(--mts-green-dark);
  font-size: 12px;
  font-weight: 800;
}

.mts-choice-card h3 {
  margin: 18px 0 14px;
  font-size: 23px;
  line-height: 1.45;
}

.mts-choice-card p,
.mts-mini-list {
  color: var(--mts-muted);
}

.mts-choice-card p,
.mts-card p,
.mts-flow-item p,
.mts-intro p,
.mts-two-column p,
.mts-faq-list p {
  font-size: 16px;
  line-height: 1.9;
}

.mts-mini-list {
  margin: 22px 0 0;
  padding-left: 20px;
}

.mts-mini-list li {
  margin-top: 8px;
  line-height: 1.9;
}

.mts-mini-list li:first-child {
  margin-top: 0;
}

.mts-text-link {
  display: inline-flex;
  margin-top: 24px;
  color: var(--mts-green-dark);
  font-weight: 800;
  text-decoration: none;
}

.mts-text-link::after {
  content: ">";
  margin-left: 8px;
}

.mts-product-visual {
  min-height: 410px;
  display: grid;
  place-items: center;
}

.mts-chat-window {
  width: min(440px, 100%);
  border: 1px solid rgba(255,255,255,.34);
  border-radius: 8px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 28px 80px rgba(0,0,0,.26);
  color: var(--mts-ink);
  overflow: hidden;
}

.mts-chat-header {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 48px;
  padding: 0 16px;
  background: #edf4f1;
  border-bottom: 1px solid var(--mts-line);
}

.mts-chat-header span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #8aa09a;
}

.mts-chat-header strong {
  margin-left: 8px;
  font-size: 14px;
}

.mts-chat-body {
  display: grid;
  gap: 14px;
  padding: 20px;
  background: #f8fbfa;
}

.mts-bubble {
  max-width: 86%;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.7;
}

.mts-bubble.mts-user {
  justify-self: end;
  background: #d9f6e5;
}

.mts-bubble.mts-ai {
  justify-self: start;
  background: var(--mts-white);
  border: 1px solid var(--mts-line);
}

.mts-bubble.compact {
  color: var(--mts-green-dark);
  font-weight: 700;
}

.mts-note-card {
  display: grid;
  gap: 3px;
  padding: 12px 14px;
  border-left: 4px solid var(--mts-amber);
  border-radius: 8px;
  background: #fff9eb;
  font-size: 13px;
}

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

.mts-band {
  background: var(--mts-soft);
}

.mts-intro {
  max-width: 820px;
}

.mts-intro h2,
.mts-section-heading h2,
.mts-two-column h2 {
  font-size: 30px;
  font-weight: 800;
}

.mts-intro p:last-child,
.mts-section-heading p,
.mts-two-column p {
  color: var(--mts-muted);
  margin: 16px 0 0;
}

.mts-section-heading {
  max-width: 760px;
  margin-bottom: 40px;
}

.mts-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

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

.mts-card {
  padding: 30px;
}

.mts-card h3,
.mts-flow-item h3,
.mts-plan h3 {
  margin: 14px 0 12px;
  font-size: 19px;
  line-height: 1.45;
}

.mts-card p,
.mts-flow-item p,
.mts-plan li,
.mts-plan-note,
.mts-faq-list p {
  color: var(--mts-muted);
}

.mts-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #e2f5ea;
  color: var(--mts-green-dark);
  font-weight: 800;
}

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

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

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

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

.mts-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.mts-flow-item {
  padding: 28px;
}

.mts-flow-item span {
  color: var(--mts-blue);
  font-weight: 900;
}

.mts-plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.mts-plan {
  padding: 30px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.mts-plan:not(:has(.mts-plan-badge))::before {
  content: "";
  display: block;
  min-height: 30px;
  margin-bottom: 12px;
}

.mts-plan.featured {
  border-color: #86cda7;
  box-shadow: 0 16px 34px rgba(15, 157, 88, .14);
}

.mts-plan-badge {
  width: fit-content;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 0 11px;
  margin-bottom: 12px;
  border-radius: 999px;
  background: #fff4df;
  color: #8a5410;
  font-size: 12px;
  font-weight: 800;
}

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

.mts-price {
  display: grid;
  gap: 6px;
  margin: 22px 0;
  padding: 20px 0;
  border-top: 1px solid var(--mts-line);
  border-bottom: 1px solid var(--mts-line);
}

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

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

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

.mts-plan ul {
  margin: 0;
  padding-left: 22px;
  font-size: 16px;
  line-height: 1.8;
}

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

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

.mts-plan .mts-button {
  width: 100%;
  margin-top: auto;
}

.mts-plan ul + .mts-button {
  margin-top: 34px;
}

@media (min-width: 961px) {
  .mts-plan ul {
    min-height: 228px;
  }
}

.mts-monitor-cta {
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: space-between;
  margin-top: 34px;
  padding: 34px;
  border: 1px solid #c9dfd4;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(38, 50, 56, .06);
}

.mts-monitor-cta h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.45;
}

.mts-monitor-cta p:last-child {
  max-width: 710px;
  margin: 12px 0 0;
  color: var(--mts-muted);
}

.mts-monitor-cta .mts-button {
  flex: 0 0 auto;
  min-width: 270px;
}

.mts-plan-note {
  margin: 20px 0 0;
  font-size: 15px;
  line-height: 1.8;
}

.mts-faq-section {
  background: #fbfcfc;
}

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

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

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

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

@media (max-width: 960px) {
  .mts-hero-layout,
  .mts-choice-grid,
  .mts-two-column,
  .mts-feature-grid,
  .mts-flow,
  .mts-plan-grid,
  .mts-monitor-cta {
    grid-template-columns: 1fr;
  }

  .mts-hero-layout {
    min-height: 360px;
  }

  .mts-monitor-cta {
    display: grid;
  }

  .mts-feature-grid,
  .mts-flow,
  .mts-plan-grid {
    gap: 18px;
  }
}

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

  .mts-hero {
    padding: 60px 0 52px;
  }

  .mts-hero-bg {
    background:
      linear-gradient(90deg, rgba(18, 44, 38, .95) 0%, rgba(18, 44, 38, .82) 100%),
      url("./it-support-hero.png") center right / cover no-repeat;
  }

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

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

  .mts-intro h2,
  .mts-section-heading h2,
  .mts-two-column h2 {
    font-size: 25px;
  }

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

  .mts-button {
    width: 100%;
  }

  .mts-choice-card,
  .mts-card,
  .mts-flow-item,
  .mts-plan,
  .mts-monitor-cta {
    padding: 24px;
  }

  .mts-choice-card p,
  .mts-card p,
  .mts-flow-item p,
  .mts-intro p,
  .mts-two-column p,
  .mts-faq-list p,
  .mts-plan ul,
  .mts-check-list li {
    font-size: 15px;
  }
}
