
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Noto+Sans+JP:wght@400;500;600;700;800&display=swap');

/* =========================================
   VARIABLES
========================================= */

:root {
  --manual-green: #21865a;
  --manual-green-dark: #176b45;
  --manual-green-light: #e7f5eb;

  --manual-ink: #173b31;
  --manual-muted: #71877d;
  --manual-border: #e3ece6;
  --manual-bg: #f8fbf8;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--manual-ink);
  background: #fff;
  font-family: 'DM Sans', 'Noto Sans JP', sans-serif;
}

.manual-container {
  width: min(1040px, calc(100% - 48px));
  margin: 0 auto;
}


/* =========================================
   HERO
========================================= */

.manual-hero {
  padding: 105px 0 75px;

  background:
    radial-gradient(
      ellipse at 85% 12%,
      #e7f6eb 0,
      transparent 42%
    ),
    linear-gradient(
      180deg,
      #f8fcf8,
      #f4faf5
    );

  border-bottom: 1px solid var(--manual-border);
}

.manual-eyebrow {
  color: var(--manual-green);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
}

.manual-hero h1 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -.055em;
  line-height: 1.45;
  margin: 18px 0 14px;
}

.manual-hero h1 span {
  color: var(--manual-green);
}

.manual-hero p {
  font-size: 14px;
  line-height: 2;
  color: var(--manual-muted);
  margin: 0;
}

.manual-sp {
  display: none;
}


/* =========================================
   MAIN
========================================= */

.manual-main {
  padding: 65px 0 110px;
}


/* =========================================
   TABLE OF CONTENTS
========================================= */

.manual-index {
  padding: 28px 32px;
  margin-bottom: 85px;

  background: var(--manual-bg);
  border: 1px solid var(--manual-border);
  border-radius: 14px;
}

.manual-index-title {
  color: var(--manual-green);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  margin-bottom: 22px;
}

.manual-index-title span {
  color: var(--manual-muted);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  margin-left: 12px;
}

.manual-index-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.manual-index-list a {
  display: flex;
  align-items: center;
  gap: 10px;

  padding: 16px 12px;

  color: var(--manual-ink);
  background: #fff;
  border: 1px solid var(--manual-border);
  border-radius: 9px;

  text-decoration: none;
  font-size: 12px;
  font-weight: 700;

  transition: .2s;
}

.manual-index-list a:hover {
  border-color: var(--manual-green);
  color: var(--manual-green);
  transform: translateY(-2px);
}

.manual-index-list a span {
  color: var(--manual-green);
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 800;
}


/* =========================================
   STEP
========================================= */

.manual-step {
  margin-bottom: 95px;
  scroll-margin-top: 110px;
}

.manual-step-header {
  display: flex;
  align-items: center;
  gap: 28px;

  padding-bottom: 25px;
  margin-bottom: 28px;

  border-bottom: 1px solid var(--manual-border);
}

.manual-step-number {
  flex-shrink: 0;

  color: var(--manual-green);
  background: var(--manual-green-light);

  border-radius: 12px;
  padding: 15px 20px;

  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
}

.manual-step-number strong {
  display: block;
  font-size: 29px;
  line-height: 1.3;
  letter-spacing: -.04em;
}

.manual-step-heading h2 {
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -.035em;
  margin: 0 0 10px;
}

.manual-step-heading p {
  color: var(--manual-muted);
  font-size: 13px;
  line-height: 1.9;
  margin: 0;
}


/* =========================================
   IMAGE
========================================= */

.manual-image {
  width: 100%;

  padding: 28px;

  background: #f7faf7;
  border: 1px solid var(--manual-border);
  border-radius: 16px;

  text-align: center;
}

.manual-image img {
  display: block;

  width: 100%;
  max-width: 900px;
  height: auto;

  margin: 0 auto;

  object-fit: contain;
  border-radius: 8px;
}


/* =========================================
   HELP
========================================= */

.manual-help {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;

  padding: 35px 40px;

  background: var(--manual-bg);
  border: 1px solid var(--manual-border);
  border-radius: 14px;
}

.manual-help > div > span {
  color: var(--manual-green);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .15em;
}

.manual-help h3 {
  font-size: 19px;
  margin: 10px 0;
}

.manual-help p {
  color: var(--manual-muted);
  font-size: 12px;
  line-height: 1.9;
  margin: 0;
}

.manual-help-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;

  flex-shrink: 0;

  padding: 16px 23px;

  color: #fff;
  background: var(--manual-green);
  border-radius: 9px;

  font-size: 12px;
  font-weight: 700;
  text-decoration: none;

  transition: .2s;
}

.manual-help-button:hover {
  background: var(--manual-green-dark);
  transform: translateY(-2px);
}


/* =========================================
   FOOTER
========================================= */

.manual-footer {
  border-top: 1px solid var(--manual-border);
  padding: 30px 0;

  color: #9dad9f;
  font-size: 11px;
}

.manual-footer .manual-container {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}


/* =========================================
   TABLET
========================================= */

@media screen and (max-width: 1024px) {

  .manual-index-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .manual-main {
    padding-top: 50px;
  }

  .manual-image {
    padding: 22px;
  }

}


/* =========================================
   SMARTPHONE
========================================= */

@media screen and (max-width: 767px) {

  html,
  body {
    max-width: 100%;
    overflow-x: clip;
  }

  .manual-container {
    width: calc(100% - 36px);
  }

  .manual-hero {
    padding: 65px 0 48px;
  }

  .manual-hero h1 {
    font-size: 32px;
    line-height: 1.45;
  }

  .manual-hero p {
    font-size: 12px;
  }

  .manual-sp {
    display: inline;
  }

  .manual-main {
    padding: 35px 0 70px;
  }

  /* 目次 */
  .manual-index {
    padding: 20px 16px;
    margin-bottom: 55px;
  }

  .manual-index-title {
    margin-bottom: 15px;
  }

  .manual-index-title span {
    display: block;
    margin: 8px 0 0;
  }

  .manual-index-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .manual-index-list a {
    padding: 13px 10px;
    font-size: 11px;
    gap: 8px;
  }

  .manual-index-list a span {
    font-size: 14px;
  }

  /* STEP */
  .manual-step {
    margin-bottom: 60px;
    scroll-margin-top: 80px;
  }

  .manual-step-header {
    gap: 15px;
    align-items: flex-start;
    padding-bottom: 20px;
    margin-bottom: 20px;
  }

  .manual-step-number {
    padding: 10px 13px;
    font-size: 10px;
  }

  .manual-step-number strong {
    font-size: 23px;
  }

  .manual-step-heading h2 {
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 6px;
  }

  .manual-step-heading p {
    font-size: 12px;
    line-height: 1.8;
  }

  /* 画像 */
  .manual-image {
    padding: 12px;
    border-radius: 10px;
  }

  .manual-image img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
  }

  /* FAQ */
  .manual-help {
    flex-direction: column;
    align-items: stretch;
    padding: 25px 20px;
    gap: 22px;
  }

  .manual-help h3 {
    font-size: 17px;
  }

  .manual-help-button {
    width: 100%;
  }

  .manual-footer .manual-container {
    flex-direction: column;
    gap: 8px;
  }

}


/* =========================================
   SMALL SMARTPHONE
========================================= */

@media screen and (max-width: 375px) {

  .manual-container {
    width: calc(100% - 28px);
  }

  .manual-hero h1 {
    font-size: 28px;
  }

  .manual-index-list {
    grid-template-columns: 1fr;
  }

  .manual-step-heading h2 {
    font-size: 16px;
  }

}



/* FAQボタン */
.manual-header-faq {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-right: 10px;
  padding: 11px 16px;
  background: #e7f5eb;
  border: 1px solid #d3eadb;
  border-radius: 9px;
  color: #21865a;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s;
}

.manual-header-faq:hover {
  background: #d8efdf;
}

.manual-header-faq svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.manual-header-arrow {
  font-size: 20px;
  line-height: 1;
}

/* スマホ対応 */
@media screen and (max-width: 767px) {
  .manual-header-faq {
    padding: 9px 11px;
    gap: 5px;
    font-size: 11px;
  }

  .manual-header-faq svg {
    width: 15px;
    height: 15px;
  }

  .manual-header-arrow {
    font-size: 17px;
  }
}
