/* 2026-07-13 responsibility refactor: page-specific layout only; shared tokens are referenced from magonote-common.css. Existing selectors remain compatible. */

/* page-how-to-use-tools.css
   対象: 100592_how-to-use-tools.json
   前提: magonote-common.css + magonote-icons.css
   更新日: 2026-07-11
   方針: 使い方ページとして手順を主役にし、認証・管理・操作方法・FAQの役割を背景と構成で分離する。
*/

.magonote-page--how-to-use-tools {
  --mgtop-hero-width: var(--mn-width-hero, 1180px);
  --mgtop-wrap: var(--mn-width-normal, 1120px);
  font-size: var(--mn-font-page, 16px);
}

.magonote-page--how-to-use-tools .mgtop-hero {
  border-bottom: 1px solid rgba(0, 88, 216, 0.14);
}

.magonote-page--how-to-use-tools .mgtop-hero__inner {
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: var(--mn-space-12, 42px);
}

.magonote-page--how-to-use-tools .mgtop-hero__title {
  max-width: 720px;
  font-size: clamp(36px, 4.4vw, 50px);
  line-height: 1.2;
}

.magonote-page--how-to-use-tools .mgtop-hero__lead {
  max-width: 680px;
  color: #43566F;
}

.magonote-page--how-to-use-tools .mgtop-hero__visual {
  max-width: 480px;
  padding: var(--mn-space-6, 18px);
  border-radius: var(--mn-radius-panel, 18px);
  background: radial-gradient(circle at 100% 0%, rgba(0, 88, 216, 0.10) 0, rgba(0, 88, 216, 0) 35%),
    linear-gradient(135deg, #FFFFFF 0%, #F3F9FF 100%);
  box-shadow: 0 14px 34px rgba(25, 78, 126, 0.10);
}

.magonote-page--how-to-use-tools .mgtop-hero__visual .mgtop-steps {
  margin-top: 0;
}

.magonote-page--how-to-use-tools .mgtop-hero__visual .mgtop-steps li {
  padding: 15px 18px;
  border-color: rgba(0, 88, 216, 0.15);
  border-radius: 12px;
  box-shadow: none;
}

.magonote-page--how-to-use-tools .mgtop-hero__visual .mgtop-steps li::before {
  display: none;
}

.magonote-page--how-to-use-tools .mgtop-hero__visual .mgtop-steps strong {
  color: var(--mgtop-blue-dark);
  font-size: 1.04rem;
}

.magonote-page--how-to-use-tools .mgtop-linkline {
  display: flex;
  flex-wrap: wrap;
  gap: var(--mn-space-3, 10px);
}

.magonote-page--how-to-use-tools .mgtop-linkline--center {
  justify-content: center;
}

.magonote-page--how-to-use-tools .mgtop-primary-button,
.magonote-page--how-to-use-tools .mgtop-secondary-button {
  min-height: var(--mn-button-height, 44px);
  border-radius: var(--mn-radius-sm, 8px);
}

.magonote-page--how-to-use-tools .mgtop-section-head {
  max-width: 820px;
}

.magonote-page--how-to-use-tools .page-section--steps .mgtop-section-head,
.magonote-page--how-to-use-tools .page-section--trust .mgtop-section-head,
.magonote-page--how-to-use-tools .page-section--methods .mgtop-section-head,
.magonote-page--how-to-use-tools .page-section--next .mgtop-section-head {
  margin-left: 0;
  margin-right: 0;
  text-align: left;
}

.magonote-page--how-to-use-tools .mgtop-kicker {
  margin-bottom: var(--mn-space-2, 8px);
  color: var(--mgtop-blue);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.magonote-page--how-to-use-tools .mgtop-entry-card {
  min-height: 150px;
  border-radius: var(--mn-radius-card, 16px);
  box-shadow: 0 8px 20px rgba(25, 78, 126, 0.07);
}

.magonote-page--how-to-use-tools .mgtop-entry-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(25, 78, 126, 0.11);
}

.magonote-page--how-to-use-tools .mgtop-entry-card small {
  color: #43566F;
  font-size: 0.94rem;
}

/* 基本3ステップ */

.magonote-page--how-to-use-tools .page-section--steps {
  background: #FFFFFF;
  border-bottom: 1px solid rgba(0, 88, 216, 0.12);
}

.magonote-page--how-to-use-tools .mgtop-step-card {
  border-top: 4px solid rgba(0, 88, 216, 0.62);
}

.magonote-page--how-to-use-tools .mgtop-card-link {
  display: inline-flex;
  width: fit-content;
  margin-top: auto;
  padding: 5px 10px;
  border: 1px solid rgba(0, 88, 216, 0.14);
  border-radius: var(--mn-radius-sm, 8px);
  background: #F5F9FF;
  color: var(--mgtop-blue-dark) !important;
  font-size: 0.84rem;
  font-weight: 900;
}

/* 認証: 料金・契約系の淡いオレンジ */

.magonote-page--how-to-use-tools .page-section--auth {
  background: #FFF9EF;
  border-top: 1px solid rgba(217, 119, 6, 0.16);
  border-bottom: 1px solid rgba(217, 119, 6, 0.16);
}

.magonote-page--how-to-use-tools .page-section--auth .mgtop-kicker {
  color: #A85C00;
}

.magonote-page--how-to-use-tools .mgtop-auth-steps {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--mn-space-5, 16px);
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

.magonote-page--how-to-use-tools .mgtop-auth-steps li {
  min-height: 150px;
  padding: 54px 20px 20px;
  border-color: rgba(217, 119, 6, 0.20);
  border-top: 4px solid rgba(217, 119, 6, 0.72);
  border-radius: var(--mn-radius-card, 16px);
  box-shadow: 0 8px 18px rgba(120, 72, 9, 0.05);
}

.magonote-page--how-to-use-tools .mgtop-auth-steps li::before {
  left: 20px;
  top: 16px;
  background: #D97706;
}

/* 業務管理: 無料色を使わず、企業向けブルーグレーで整理 */

.magonote-page--how-to-use-tools .page-section--trust {
  background: #F4F7FB;
  border-bottom: 1px solid rgba(0, 88, 216, 0.12);
}

.magonote-page--how-to-use-tools #manager-tools .mgtop-entry-grid {
  grid-template-columns: minmax(0, 820px);
  justify-content: start;
}

.magonote-page--how-to-use-tools .mgtop-manager-card {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  grid-template-rows: auto auto auto;
  column-gap: var(--mn-space-6, 18px);
  row-gap: var(--mn-space-1, 4px);
  min-height: 132px;
  border-left: 5px solid rgba(0, 88, 216, 0.62);
  background: linear-gradient(135deg, #FFFFFF 0%, #F5F9FF 100%);
}

.magonote-page--how-to-use-tools .mgtop-manager-card > .mn-svg-icon {
  grid-column: 1;
  grid-row: 1 / 4;
  align-self: center;
  margin: 0;
}

.magonote-page--how-to-use-tools .mgtop-manager-card > .mgtop-entry-card__label,
.magonote-page--how-to-use-tools .mgtop-manager-card > strong,
.magonote-page--how-to-use-tools .mgtop-manager-card > small {
  grid-column: 2;
}

/* 操作方法: 2列で読みやすくする */

.magonote-page--how-to-use-tools .page-section--methods {
  background: #FFFFFF;
}

.magonote-page--how-to-use-tools .mgtop-method-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.magonote-page--how-to-use-tools .mgtop-method-card {
  min-height: 164px;
  border-left: 4px solid rgba(0, 88, 216, 0.48);
  box-shadow: none;
}

/* 次の導線 */

.magonote-page--how-to-use-tools .page-section--next {
  background: #F5F9FF;
  border-top: 1px solid rgba(0, 88, 216, 0.12);
  border-bottom: 1px solid rgba(0, 88, 216, 0.12);
}

.magonote-page--how-to-use-tools .mgtop-next-card {
  border-top: 4px solid rgba(0, 88, 216, 0.58);
}

.magonote-page--how-to-use-tools .mgtop-next-card--free {
  border-color: rgba(31, 155, 91, 0.24);
  border-top-color: rgba(31, 155, 91, 0.72);
  background: #F7FFFB;
}

.magonote-page--how-to-use-tools .mgtop-next-card--free .mgtop-entry-card__label {
  border-color: rgba(31, 155, 91, 0.24);
  background: #ECF9F2;
  color: #157347;
}

/* FAQ: 補助領域として密度と影を抑える */

.magonote-page--how-to-use-tools .page-section--support {
  background: #F7F9FC;
}

.magonote-page--how-to-use-tools .mgtop-support-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.magonote-page--how-to-use-tools .mgtop-support-card {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  grid-template-rows: auto auto auto;
  column-gap: 14px;
  row-gap: 3px;
  min-height: 126px;
  padding: var(--mn-space-6, 18px);
  box-shadow: none;
}

.magonote-page--how-to-use-tools .mgtop-support-card > .mn-css-icon {
  grid-column: 1;
  grid-row: 1 / 4;
  align-self: start;
  margin: 0;
}

.magonote-page--how-to-use-tools .mgtop-support-card > .mgtop-entry-card__label,
.magonote-page--how-to-use-tools .mgtop-support-card > strong,
.magonote-page--how-to-use-tools .mgtop-support-card > small {
  grid-column: 2;
}

.magonote-page--how-to-use-tools #faq .mgtop-linkline {
  margin-top: var(--mn-space-9, 24px);
}

@media (max-width: 960px) {
  .magonote-page--how-to-use-tools .mgtop-hero__inner {
    grid-template-columns: 1fr;
  }

  .magonote-page--how-to-use-tools .mgtop-hero__text {
    max-width: var(--mn-width-read, 760px);
    margin: 0 auto;
    text-align: center;
  }

  .magonote-page--how-to-use-tools .mgtop-hero__lead {
    margin-left: auto;
    margin-right: auto;
  }

  .magonote-page--how-to-use-tools .mgtop-hero__visual {
    max-width: 720px;
  }

  .magonote-page--how-to-use-tools .mgtop-hero .mgtop-linkline {
    justify-content: center;
  }
}

@media (max-width: 760px) {
  .magonote-page--how-to-use-tools {
    font-size: var(--mn-font-base, 15px);
  }

  .magonote-page--how-to-use-tools .mgtop-hero__visual {
    max-width: none;
  }

  .magonote-page--how-to-use-tools .mgtop-auth-steps,
  .magonote-page--how-to-use-tools .mgtop-method-grid,
  .magonote-page--how-to-use-tools .mgtop-support-grid,
  .magonote-page--how-to-use-tools #next-links .mgtop-entry-grid,
  .magonote-page--how-to-use-tools #manager-tools .mgtop-entry-grid {
    grid-template-columns: 1fr;
  }

  .magonote-page--how-to-use-tools .mgtop-auth-steps li {
    min-height: auto;
  }

  .magonote-page--how-to-use-tools .mgtop-manager-card,
  .magonote-page--how-to-use-tools .mgtop-support-card {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .magonote-page--how-to-use-tools .mgtop-linkline {
    flex-direction: column;
    align-items: stretch;
  }

  .magonote-page--how-to-use-tools .mgtop-primary-button,
  .magonote-page--how-to-use-tools .mgtop-secondary-button {
    width: 100%;
  }
}
