/*
========================================================
ファイル      : hlab-monthly-check.css
ページ        : 月1回の事業点検シート
対象URL       : /hlab/member/continue/monthly-check/
バージョン    : 1.0
最終更新日    : 2026-08-14
デザイン基準  : ひとり商いラボ 公式デザインテンプレート v8.59
========================================================
*/

.hlab-monthly-check__page {
  padding-top: 24px;
  padding-bottom: 96px;
}

.hlab-monthly-check__breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 11px 15px;
  border: 1px solid rgba(240, 138, 0, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
  color: #6a3b22;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 6px 18px rgba(74, 36, 20, 0.04);
}

.hlab-monthly-check__document {
  --hl-brown: #4a2414;
  --hl-brown-soft: #6a3b22;
  --hl-orange: #f08a00;
  --hl-orange-dark: #d86f00;
  --hl-cream: #fff8ee;
  --hl-green: #a7c957;
  --hl-green-soft: #f4fae8;
  --hl-white: rgba(255, 255, 255, 0.95);
  --hl-border: rgba(240, 138, 0, 0.22);
  --hl-shadow: 0 14px 34px rgba(74, 36, 20, 0.08);
  color: #362318;
}

.hlab-monthly-check__document *,
.hlab-monthly-check__document *::before,
.hlab-monthly-check__document *::after {
  box-sizing: border-box;
}

.hlab-monthly-check__document input,
.hlab-monthly-check__document textarea,
.hlab-monthly-check__document select,
.hlab-monthly-check__document button {
  font: inherit;
}

.hlab-monthly-check__document textarea {
  resize: vertical;
}

.hl-monthly-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 390px;
  margin: 0 0 22px;
  padding: clamp(32px, 5vw, 54px);
  padding-right: clamp(280px, 31vw, 370px);
  border: 1px solid var(--hl-border);
  border-radius: 34px;
  background-image:
    linear-gradient(
      90deg,
      rgba(255, 251, 245, 0.995) 0%,
      rgba(255, 251, 245, 0.985) 43%,
      rgba(255, 251, 245, 0.92) 61%,
      rgba(255, 251, 245, 0.42) 82%,
      rgba(255, 251, 245, 0.06) 100%
    ),
    var(--hlab-monthly-hero-bg);
  background-position: center right;
  background-size: cover;
  box-shadow: var(--hl-shadow);
}

.hl-monthly-hero::after {
  content: "";
  position: absolute;
  right: 28px;
  bottom: 8px;
  z-index: -1;
  width: clamp(210px, 26vw, 300px);
  aspect-ratio: 1 / 1;
  background-image: var(--hlab-monthly-lion);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  filter: drop-shadow(0 12px 20px rgba(74, 36, 20, 0.11));
}

.hl-monthly-label,
.hl-monthly-eyebrow {
  color: var(--hl-orange-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.hl-monthly-label {
  display: inline-block;
  margin-bottom: 13px;
  padding: 6px 14px;
  border: 1px solid rgba(240, 138, 0, 0.32);
  border-radius: 999px;
  background: rgba(255, 248, 238, 0.95);
}

.hl-monthly-hero h1 {
  margin: 0;
  color: var(--hl-brown);
  font-size: clamp(38px, 5.2vw, 60px);
  line-height: 1.18;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.hl-monthly-subtitle {
  margin: 12px 0 0;
  color: var(--hl-orange-dark);
  font-size: clamp(18px, 2.4vw, 26px);
  line-height: 1.55;
  font-weight: 900;
}

.hl-monthly-lead {
  max-width: 720px;
  margin-top: 24px;
  padding: 20px 22px;
  border-left: 7px solid var(--hl-orange);
  border-radius: 0 18px 18px 0;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 8px 22px rgba(74, 36, 20, 0.05);
}

.hl-monthly-lead p {
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.9;
  font-weight: 650;
}

.hl-monthly-lead p:last-child {
  margin-bottom: 0;
}

.hl-monthly-privacy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin: 0 0 22px;
  padding: 13px 17px;
  border: 1px solid rgba(167, 201, 87, 0.38);
  border-radius: 18px;
  background: rgba(248, 255, 238, 0.94);
  color: #40552a;
  box-shadow: 0 7px 18px rgba(74, 36, 20, 0.04);
}

.hl-monthly-privacy strong {
  font-size: 13px;
  font-weight: 900;
}

.hl-monthly-privacy span {
  font-size: 12px;
  font-weight: 700;
}

.hl-monthly-toolbar,
.hl-monthly-group,
.hl-monthly-related {
  margin: 0 0 24px;
  border: 1px solid var(--hl-border);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--hl-shadow);
}

.hl-monthly-toolbar {
  padding: clamp(22px, 4vw, 30px);
}

.hl-monthly-toolbar h2,
.hl-monthly-related h2 {
  margin: 4px 0 0;
  color: var(--hl-brown);
  font-size: clamp(23px, 3vw, 31px);
  line-height: 1.4;
  font-weight: 900;
}

.hl-monthly-toolbar__controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.hl-monthly-field {
  display: grid;
  gap: 7px;
}

.hl-monthly-field > span,
.hl-monthly-textarea > span,
.hl-monthly-priority label > span {
  color: var(--hl-brown);
  font-size: 13px;
  font-weight: 900;
}

.hl-monthly-field input,
.hl-monthly-field select,
.hl-monthly-textarea textarea,
.hl-monthly-priority input {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid rgba(240, 138, 0, 0.25);
  border-radius: 14px;
  outline: none;
  background: rgba(255, 255, 255, 0.96);
  color: var(--hl-brown);
  font-size: 14px;
  font-weight: 700;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.hl-monthly-textarea textarea {
  min-height: 120px;
  line-height: 1.75;
}

.hl-monthly-field input:focus,
.hl-monthly-field select:focus,
.hl-monthly-textarea textarea:focus,
.hl-monthly-priority input:focus {
  border-color: rgba(240, 138, 0, 0.68);
  box-shadow: 0 0 0 3px rgba(240, 138, 0, 0.10);
}

.hl-monthly-toolbar__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.hl-monthly-button {
  appearance: none;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid rgba(240, 138, 0, 0.36);
  border-radius: 999px;
  background: rgba(255, 248, 238, 0.96);
  color: var(--hl-orange-dark);
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
}

.hl-monthly-button:hover,
.hl-monthly-button:focus-visible {
  transform: translateY(-1px) scale(1.015);
}

.hl-monthly-button--danger {
  border-color: rgba(154, 46, 21, 0.24);
  color: #8a321d;
  background: rgba(255, 246, 243, 0.96);
}

.hl-monthly-save-status {
  margin: 12px 0 0;
  color: #6a6a5d;
  font-size: 12px;
  line-height: 1.7;
  font-weight: 700;
}

.hl-monthly-group {
  overflow: hidden;
}

.hl-monthly-group__head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 24px;
  border-bottom: 1px solid rgba(240, 138, 0, 0.16);
  background: linear-gradient(135deg, rgba(255, 248, 238, 0.95), rgba(255, 255, 255, 0.94));
}

.hl-monthly-group__head > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(145deg, #ffbf2f, #f08a00);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(240, 138, 0, 0.18);
}

.hl-monthly-group__head p {
  margin: 0 0 3px;
  color: var(--hl-orange-dark);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.hl-monthly-group__head h2 {
  margin: 0;
  color: var(--hl-brown);
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.42;
  font-weight: 900;
}

.hl-monthly-group__body {
  padding: clamp(20px, 4vw, 30px);
}

.hl-monthly-note {
  margin: 0 0 18px;
  padding: 13px 15px;
  border-left: 5px solid var(--hl-green);
  border-radius: 0 14px 14px 0;
  background: rgba(248, 255, 238, 0.9);
  color: #4d593b;
  font-size: 13px;
  line-height: 1.8;
  font-weight: 700;
}

.hl-monthly-textarea {
  display: grid;
  gap: 6px;
}

.hl-monthly-textarea small,
.hl-monthly-number-card small,
.hl-monthly-priority small {
  color: #7b6a5f;
  font-size: 11px;
  line-height: 1.6;
  font-weight: 700;
}

.hl-monthly-number-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
}

.hl-monthly-number-card {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(240, 138, 0, 0.15);
  border-radius: 18px;
  background: rgba(255, 252, 247, 0.92);
}

.hl-monthly-number-card > span {
  color: var(--hl-brown);
  font-size: 13px;
  line-height: 1.55;
  font-weight: 900;
}

.hl-monthly-number-card > div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hl-monthly-number-card input {
  min-width: 0;
  width: 100%;
  min-height: 46px;
  padding: 10px 11px;
  border: 1px solid rgba(240, 138, 0, 0.23);
  border-radius: 13px;
  background: #fff;
  color: var(--hl-brown);
  font-weight: 800;
}

.hl-monthly-number-card em {
  flex: 0 0 auto;
  color: var(--hl-brown-soft);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.hl-monthly-text-grid,
.hl-monthly-action-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.hl-monthly-text-grid .hl-monthly-textarea,
.hl-monthly-action-grid .hl-monthly-textarea {
  padding: 16px;
  border: 1px solid rgba(240, 138, 0, 0.15);
  border-radius: 18px;
  background: rgba(255, 252, 247, 0.9);
}

.hl-monthly-check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.hl-monthly-check-grid label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 54px;
  padding: 13px 14px;
  border: 1px solid rgba(240, 138, 0, 0.14);
  border-radius: 16px;
  background: rgba(255, 252, 247, 0.92);
  cursor: pointer;
}

.hl-monthly-check-grid input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  accent-color: #f08a00;
}

.hl-monthly-check-grid span {
  color: var(--hl-brown-soft);
  font-size: 13px;
  line-height: 1.55;
  font-weight: 800;
}

.hl-monthly-check-ok {
  border-color: rgba(167, 201, 87, 0.34) !important;
  background: var(--hl-green-soft) !important;
}

.hl-monthly-priority {
  display: grid;
  grid-template-columns: 1.3fr 2fr 1fr;
  gap: 14px;
  align-items: end;
  margin-top: 18px;
  padding: 20px;
  border: 1px solid rgba(167, 201, 87, 0.38);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(249, 255, 238, 0.95), rgba(255, 255, 255, 0.95));
}

.hl-monthly-priority h3 {
  margin: 4px 0 0;
  color: var(--hl-brown);
  font-size: 18px;
  line-height: 1.5;
  font-weight: 900;
}

.hl-monthly-priority label {
  display: grid;
  gap: 7px;
}

.hl-monthly-goal {
  display: grid;
  gap: 4px;
  margin-top: 16px;
  padding: 16px 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 244, 212, 0.88), rgba(255, 252, 245, 0.92));
  color: var(--hl-brown-soft);
}

.hl-monthly-goal strong {
  color: var(--hl-brown);
  font-size: 15px;
  font-weight: 900;
}

.hl-monthly-goal span {
  font-size: 13px;
  line-height: 1.75;
  font-weight: 700;
}

.hl-monthly-related {
  padding: clamp(22px, 4vw, 30px);
}

.hl-monthly-related__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
  margin-top: 18px;
}

.hl-monthly-related__grid a {
  display: grid;
  gap: 6px;
  min-height: 118px;
  padding: 17px;
  border: 1px solid rgba(240, 138, 0, 0.16);
  border-radius: 18px;
  background: rgba(255, 252, 247, 0.94);
  color: inherit;
  text-decoration: none;
  box-shadow: 0 7px 18px rgba(74, 36, 20, 0.04);
}

.hl-monthly-related__grid a:hover,
.hl-monthly-related__grid a:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(240, 138, 0, 0.36);
}

.hl-monthly-related__grid strong {
  color: var(--hl-brown);
  font-size: 15px;
  line-height: 1.5;
  font-weight: 900;
}

.hl-monthly-related__grid span {
  color: var(--hl-brown-soft);
  font-size: 12px;
  line-height: 1.7;
  font-weight: 700;
}

.hlab-monthly-check__gate {
  max-width: 760px;
  margin: 32px auto;
  padding: clamp(28px, 5vw, 46px);
  border: 1px solid rgba(240, 138, 0, 0.22);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 34px rgba(74, 36, 20, 0.08);
  text-align: center;
}

.hlab-monthly-check__gate h2 {
  margin: 7px 0 10px;
  color: #4a2414;
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 900;
}

.hlab-monthly-check__gate p {
  color: #6a3b22;
  line-height: 1.8;
  font-weight: 700;
}

.hlab-monthly-check__gate-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

@media (max-width: 900px) {
  .hl-monthly-hero {
    min-height: 0;
    padding-right: clamp(210px, 28vw, 250px);
  }

  .hl-monthly-number-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hl-monthly-priority {
    grid-template-columns: 1fr 1.5fr;
  }

  .hl-monthly-priority > div {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .hlab-monthly-check__page {
    padding-top: 14px;
    padding-bottom: 78px;
  }

  .hlab-monthly-check__breadcrumb {
    margin-bottom: 12px;
    padding: 9px 11px;
    border-radius: 13px;
    font-size: 10px;
  }

  .hl-monthly-hero {
    padding: 24px 18px 22px;
    border-radius: 24px;
    background-image:
      linear-gradient(rgba(255, 251, 245, 0.95), rgba(255, 251, 245, 0.95)),
      var(--hlab-monthly-hero-bg);
    background-position: center;
  }

  .hl-monthly-hero::after {
    display: none;
  }

  .hl-monthly-label {
    margin-bottom: 10px;
    padding: 5px 10px;
    font-size: 10px;
  }

  .hl-monthly-hero h1 {
    font-size: clamp(28px, 9vw, 38px);
  }

  .hl-monthly-subtitle {
    margin-top: 8px;
    font-size: 17px;
  }

  .hl-monthly-lead {
    margin-top: 16px;
    padding: 14px 15px;
    border-left-width: 5px;
  }

  .hl-monthly-lead p {
    font-size: 13px;
    line-height: 1.75;
  }

  .hl-monthly-privacy {
    margin-bottom: 14px;
    padding: 10px 12px;
  }

  .hl-monthly-toolbar,
  .hl-monthly-group,
  .hl-monthly-related {
    margin-bottom: 16px;
    border-radius: 22px;
  }

  .hl-monthly-toolbar {
    padding: 18px 15px;
  }

  .hl-monthly-toolbar__controls,
  .hl-monthly-text-grid,
  .hl-monthly-action-grid,
  .hl-monthly-check-grid,
  .hl-monthly-related__grid,
  .hl-monthly-number-grid,
  .hl-monthly-priority {
    grid-template-columns: 1fr;
  }

  .hl-monthly-toolbar__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .hl-monthly-button {
    width: 100%;
    min-height: 42px;
    padding: 9px 10px;
    font-size: 11px;
  }

  .hl-monthly-group__head {
    gap: 12px;
    padding: 17px 16px;
  }

  .hl-monthly-group__head > span {
    width: 36px;
    height: 36px;
    font-size: 11px;
  }

  .hl-monthly-group__head p {
    font-size: 9px;
  }

  .hl-monthly-group__head h2 {
    font-size: 21px;
  }

  .hl-monthly-group__body,
  .hl-monthly-related {
    padding: 16px 14px;
  }

  .hl-monthly-number-card,
  .hl-monthly-text-grid .hl-monthly-textarea,
  .hl-monthly-action-grid .hl-monthly-textarea {
    padding: 13px;
  }

  .hl-monthly-textarea textarea {
    min-height: 104px;
  }

  .hl-monthly-check-grid label {
    min-height: 48px;
    padding: 11px 12px;
  }

  .hl-monthly-priority {
    gap: 12px;
    padding: 15px;
  }

  .hl-monthly-priority > div {
    grid-column: auto;
  }

  .hl-monthly-related__grid a {
    min-height: 0;
  }

  .hlab-monthly-check__gate-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
}

@media print {
  .hlab-monthly-check__site-header,
  .hlab-monthly-check__breadcrumb,
  .hl-monthly-toolbar__actions,
  .hlab-account__member-top,
  .hlab-account__footer,
  .hlab-line-support,
  .hlab-monthly-check .hlab-account__category-nav,
  .hl-monthly-related {
    display: none !important;
  }

  body,
  .hlab-root,
  .hlab-monthly-check__page {
    background: #fff !important;
  }

  .hlab-monthly-check__page {
    max-width: none !important;
    padding: 0 !important;
  }

  .hl-monthly-hero,
  .hl-monthly-toolbar,
  .hl-monthly-group {
    break-inside: avoid;
    box-shadow: none !important;
  }

  .hl-monthly-hero {
    min-height: 0;
    padding-right: 32px;
    background: #fff !important;
  }

  .hl-monthly-hero::after {
    display: none;
  }

  .hl-monthly-textarea textarea,
  .hl-monthly-field input,
  .hl-monthly-field select,
  .hl-monthly-number-card input,
  .hl-monthly-priority input {
    border-color: #bbb !important;
    background: #fff !important;
  }
}
