@charset "utf-8";
/*
  Theme Name: diver_child
  Template: diver
  Description: Mobility4 Life child theme
*/

:root {
  --m4l-ink: #18332f;
  --m4l-text: #273532;
  --m4l-muted: #66736f;
  --m4l-green: #176b5b;
  --m4l-green-dark: #105246;
  --m4l-gold: #c79a36;
  --m4l-gold-pale: #fff8e8;
  --m4l-line: #dce5e1;
  --m4l-surface: #f5f8f7;
  --m4l-white: #ffffff;
  --m4l-radius: 6px;
  --m4l-shadow: 0 8px 24px rgba(24, 51, 47, 0.09);
}

body {
  color: var(--m4l-text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
  font-size: 100%;
  letter-spacing: 0;
}

.m4l-section {
  margin: 48px 0;
}

.m4l-lead {
  margin: 24px 0 32px;
  padding: 22px 24px;
  border-left: 4px solid var(--m4l-gold);
  background: var(--m4l-surface);
}

.m4l-lead p:last-child,
.m4l-card p:last-child,
.m4l-note p:last-child {
  margin-bottom: 0;
}

.m4l-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 24px 0;
}

.m4l-grid.m4l-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.m4l-grid > br {
  display: none !important;
}

.m4l-card {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--m4l-line);
  border-radius: var(--m4l-radius);
  background: var(--m4l-white);
  box-shadow: var(--m4l-shadow);
}

.m4l-card__title {
  margin: 0 0 10px;
  color: var(--m4l-ink);
  font-size: 1.08rem;
  line-height: 1.55;
}

.m4l-tag {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 9px;
  border-radius: 3px;
  background: var(--m4l-gold-pale);
  color: #75550d;
  font-size: 0.78rem;
  font-weight: 700;
}

.m4l-note {
  margin: 24px 0;
  padding: 18px 20px;
  border: 1px solid #ead9ae;
  background: var(--m4l-gold-pale);
}

.m4l-cta {
  margin: 32px 0;
  padding: 26px;
  border-top: 4px solid var(--m4l-gold);
  border-radius: var(--m4l-radius);
  background: var(--m4l-white);
  box-shadow: var(--m4l-shadow);
  text-align: center;
}

.m4l-cta__title {
  margin: 0 0 8px;
  color: var(--m4l-ink);
  font-size: 1.25rem;
  line-height: 1.5;
}

.m4l-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 520px);
  min-height: 54px;
  margin-top: 14px;
  padding: 13px 24px;
  border: 2px solid var(--m4l-green);
  border-radius: 5px;
  background: var(--m4l-green);
  color: #fff !important;
  font-weight: 700;
  line-height: 1.45;
  text-decoration: none !important;
}

.m4l-button:hover,
.m4l-button:focus-visible {
  border-color: var(--m4l-green-dark);
  background: var(--m4l-green-dark);
}

.m4l-button--secondary {
  background: #fff;
  color: var(--m4l-green) !important;
}

.m4l-scroll {
  overflow-x: auto;
  padding-bottom: 10px;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.m4l-scroll__row {
  display: grid;
  grid-auto-columns: minmax(230px, 31%);
  grid-auto-flow: column;
  gap: 14px;
}

.m4l-disclosure {
  margin: 18px 0;
  padding: 12px 14px;
  border: 1px solid var(--m4l-line);
  background: #fff;
  color: var(--m4l-muted);
  font-size: 0.86rem;
  line-height: 1.7;
}

@media (max-width: 767px) {
  .m4l-section {
    margin: 36px 0;
  }

  .m4l-lead,
  .m4l-card,
  .m4l-cta {
    padding: 18px;
  }

  .m4l-grid,
  .m4l-grid.m4l-grid--3 {
    grid-template-columns: 1fr;
  }

  .m4l-scroll__row {
    grid-auto-columns: minmax(220px, 82%);
  }

  .m4l-button {
    width: 100%;
  }
}


/* 小さな表をコンテナ幅いっぱいに表示 (2026-07-08) */
/* 比較表の列幅バランス調整・PC限定 (2026-07-08) */
@media (min-width: 768px) {
  .p-sticky-table table th,
  .p-sticky-table table td {
    white-space: normal !important;
  }
  table.m4l-table-fill {
    display: table !important;
    width: 100% !important;
  }
}
