/* Monitor recruitment page */
@import url("./hifu-style.css");
@import url("./cta-banner.css");

.page-monitor .hifu-section--alt {
  background: #f7f6f4;
}

.page-monitor .faq-note {
  margin: 16px 0 0;
  font-family: var(--gb-sans, "Noto Sans JP", sans-serif);
  font-size: 12px;
  line-height: 1.85;
  color: var(--muted);
  text-align: center;
}

.page-monitor .hifu-hero-title {
  font-size: clamp(36px, 4.8vw, 52px);
  letter-spacing: 0.08em;
}

.page-monitor .hifu-hero-title small {
  display: block;
  margin-top: 8px;
  font-family: var(--gb-sans, "Noto Sans JP", sans-serif);
  font-size: clamp(13px, 1.6vw, 16px);
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}

.page-monitor .hifu-hero-catch {
  max-width: 520px;
}

/* Benefits */
.monitor-benefit-grid {
  display: grid;
  gap: 18px;
}

@media (min-width: 901px) {
  .monitor-benefit-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.monitor-benefit-card {
  text-align: center;
  padding: 28px 18px 24px;
  background: #fff;
  border: 1px solid #ebe6df;
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(14, 35, 70, 0.08);
}

.monitor-benefit-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 14px;
  color: var(--gold);
}

.monitor-benefit-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.3;
}

.monitor-benefit-card h3 {
  margin: 0 0 10px;
  font-family: var(--gb-serif, "Noto Serif JP", serif);
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.monitor-benefit-card p {
  margin: 0;
  font-family: var(--gb-sans, "Noto Sans JP", sans-serif);
  font-size: 11px;
  line-height: 1.85;
  color: #3a4558;
  text-align: left;
}

/* Monitor price table */
.monitor-table-wrap {
  background: #fff;
  border: 1px solid var(--gb-border, #e0e0e0);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(14, 35, 70, 0.08);
}

.monitor-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--gb-sans, "Noto Sans JP", sans-serif);
  font-size: 13px;
}

.monitor-table th,
.monitor-table td {
  padding: 14px 12px;
  border-bottom: 1px solid #eee;
  text-align: center;
  color: #3a4558;
  vertical-align: middle;
}

.monitor-table thead th {
  background: var(--navy);
  color: #fff;
  font-weight: 500;
  font-size: 12px;
  white-space: nowrap;
}

.monitor-table tbody th {
  font-weight: 500;
  color: var(--navy);
  background: #faf8f5;
  text-align: left;
  padding-left: 16px;
}

.monitor-table tbody td:nth-child(2) {
  text-align: left;
}

.monitor-table .monitor-price {
  font-weight: 700;
  color: #c0392b;
}

.monitor-table .monitor-discount {
  font-weight: 700;
  color: var(--gold);
  white-space: nowrap;
}

.monitor-table tr:last-child th,
.monitor-table tr:last-child td {
  border-bottom: none;
}

/* Flow — 6 steps */
.monitor-flow-track {
  display: grid;
  grid-template-columns:
    minmax(0, 1fr) auto
    minmax(0, 1fr) auto
    minmax(0, 1fr) auto
    minmax(0, 1fr) auto
    minmax(0, 1fr) auto
    minmax(0, 1fr);
  align-items: stretch;
  gap: 0;
}

.monitor-flow-step {
  position: relative;
  min-width: 0;
  padding: 0 8px 0 0;
  text-align: left;
}

.monitor-flow-step:not(:last-of-type)::after {
  content: "";
  position: absolute;
  top: 8px;
  right: 0;
  width: 1px;
  height: 116px;
  background: #e8e2d8;
}

.monitor-flow-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}

.monitor-flow-num {
  flex: 0 0 auto;
  font-family: "Petit Formal Script", cursive;
  font-size: clamp(15px, 1.4vw, 20px);
  line-height: 1;
  color: var(--gold);
}

.monitor-flow-icon {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  color: var(--gold);
}

.monitor-flow-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.3;
}

.monitor-flow-step h3 {
  margin: 0 0 8px;
  font-family: var(--gb-serif, "Noto Serif JP", serif);
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.45;
}

.monitor-flow-step p {
  margin: 0;
  font-family: var(--gb-sans, "Noto Sans JP", sans-serif);
  font-size: 10px;
  line-height: 1.8;
  color: #3a4558;
}

.monitor-flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  padding: 0 4px;
  color: #c4b8a8;
}

/* Info / terms */
.monitor-info-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 36px;
  align-items: center;
}

.monitor-info-photo {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(14, 35, 70, 0.08);
}

.monitor-info-photo img {
  width: 100%;
  height: 100%;
  max-height: 220px;
  object-fit: cover;
  display: block;
}

.monitor-info-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.monitor-info-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--gb-sans, "Noto Sans JP", sans-serif);
  font-size: 13px;
  line-height: 1.75;
  color: #3a4558;
}

.monitor-info-check {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(176, 122, 50, 0.12);
  color: var(--gold);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

@media (max-width: 1100px) {
  .monitor-benefit-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .monitor-flow-track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px 12px;
  }

  .monitor-flow-arrow {
    display: none;
  }

  .monitor-flow-step:not(:last-of-type)::after {
    display: none;
  }
}

/* —— SP: monitor page —— */
@media (max-width: 900px) {
  .page-monitor .hifu-hero-title {
    font-size: clamp(28px, 8vw, 40px);
    letter-spacing: 0.06em;
  }

  .page-monitor .hifu-hero-title small {
    font-size: clamp(12px, 3.2vw, 14px);
    letter-spacing: 0.12em;
  }

  .page-monitor .hifu-hero-catch {
    font-size: 12px;
    line-height: 1.85;
  }

  .page-monitor .hifu-hero-catch br {
    display: none;
  }

  .page-monitor .hifu-section {
    padding: 40px 0;
  }

  .page-monitor .hifu-heading {
    margin-bottom: 24px;
    font-size: clamp(18px, 4.5vw, 22px);
  }

  .page-monitor .faq-note {
    font-size: 11px;
    text-align: left;
  }

  .monitor-benefit-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .monitor-benefit-card {
    padding: 20px 14px 18px;
  }

  .monitor-benefit-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 10px;
  }

  .monitor-benefit-card h3 {
    font-size: 12px;
    margin-bottom: 8px;
  }

  .monitor-benefit-card p {
    font-size: 10px;
    line-height: 1.65;
  }

  .monitor-table-wrap {
    border-radius: 8px;
  }

  .monitor-table {
    display: block;
    font-size: 11px;
  }

  .monitor-table thead {
    display: none;
  }

  .monitor-table tbody {
    display: block;
  }

  .monitor-table tr {
    display: block;
    border-bottom: 1px solid #eee;
    padding: 12px 14px;
  }

  .monitor-table tbody tr:last-child {
    border-bottom: none;
  }

  .monitor-table th,
  .monitor-table td {
    display: block;
    width: 100%;
    padding: 0;
    border: none;
    text-align: left;
  }

  .monitor-table tbody th {
    background: #faf8f5;
    font-size: 13px;
    font-weight: 600;
    padding: 0 0 8px;
    margin: 0 0 4px;
  }

  .monitor-table tbody td {
    font-size: 11px;
    padding-bottom: 6px;
    line-height: 1.65;
  }

  .monitor-table tbody td::before {
    display: block;
    margin-bottom: 2px;
    font-size: 10px;
    font-weight: 500;
    color: var(--muted);
    content: attr(data-label);
  }

  .monitor-table tbody td.monitor-price,
  .monitor-table tbody td.monitor-discount {
    font-weight: 700;
  }

  .monitor-table tbody td:last-child {
    padding-bottom: 0;
  }

  .monitor-flow-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 12px;
  }

  .monitor-flow-arrow {
    display: none;
  }

  .monitor-flow-step:not(:last-of-type)::after {
    display: none;
  }

  .monitor-info-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .monitor-info-photo img {
    min-height: 180px;
    max-height: none;
  }

  .monitor-info-list {
    gap: 12px;
  }

  .monitor-info-list li {
    font-size: 11px;
    line-height: 1.7;
  }

  .page-monitor .faq-cta-copy p br {
    display: none;
  }
}

@media (max-width: 767px) {
  .page-monitor .hifu-section {
    padding: 32px 0;
  }

  .page-monitor .hifu-section > .container {
    width: min(1312px, 92vw);
  }

  .page-monitor .hifu-heading {
    margin-bottom: 20px;
    font-size: 17px;
  }

  .monitor-benefit-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .monitor-benefit-card {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    text-align: left;
  }

  .monitor-benefit-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    margin: 0;
  }

  .monitor-benefit-card h3 {
    font-size: 12px;
    margin-bottom: 6px;
  }

  .monitor-benefit-card p {
    font-size: 10px;
  }

  .monitor-flow-track {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .monitor-flow-step {
    padding: 16px;
    background: #fff;
    border: 1px solid #ebe6df;
    border-radius: 8px;
    box-shadow: 0 8px 22px rgba(14, 35, 70, 0.06);
  }

  .monitor-flow-head {
    gap: 12px;
    margin-bottom: 10px;
  }

  .monitor-flow-num {
    font-size: 18px;
  }

  .monitor-flow-icon {
    width: 32px;
    height: 32px;
  }

  .monitor-flow-step h3 {
    font-size: 13px;
  }

  .monitor-flow-step p {
    font-size: 11px;
    line-height: 1.75;
  }

  .monitor-info-check {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    font-size: 11px;
  }

  .page-monitor .footer-main {
    gap: 24px;
  }
}

@media (max-width: 560px) {
  .page-monitor .hifu-hero-visual {
    left: 5%;
    right: 0;
  }

  .page-monitor .hifu-hero-visual img {
    object-position: 20% center;
  }

  .page-monitor .hifu-hero-visual::after {
    width: 30%;
  }

  .page-monitor .hifu-hero-title {
    font-size: 24px;
  }

  .page-monitor .hifu-hero-catch {
    font-size: 11px;
    line-height: 1.75;
  }

  .page-monitor .hifu-section {
    padding: 28px 0;
  }

  .monitor-benefit-icon {
    width: 32px;
    height: 32px;
  }

  .monitor-benefit-card h3 {
    font-size: 11px;
  }

  .monitor-benefit-card p {
    font-size: 9px;
  }

  .monitor-table tbody th {
    font-size: 12px;
  }

  .monitor-table tbody td {
    font-size: 10px;
  }

  .monitor-flow-step h3 {
    font-size: 12px;
  }

  .monitor-flow-step p {
    font-size: 10px;
  }

  .monitor-info-list li {
    font-size: 10px;
  }
}
