/* Reset CSS */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

/* Base styles */
html {
  font-size: 10px;
}

@media screen and (min-width: 768px) {
  html {
      font-size: 20.48px;
  }
}

body {
  color: #222;
  font-family: "Noto Sans JP", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-size-adjust: 100%;
  word-break: break-all;
  line-height: 1;
}

img {
  vertical-align: bottom;
}

/* Color variables */
:root {
  --color-accent: #ff9500;
  --color-main: #548063;
  --color-main-text: #222;
  --color-gray-text: #707070;
  --color-line: #c7c7c7;
  --color-bg: #faf9f8;
  --color-white: #fff;
  --color-black: #000;
  --border-default: 0.99px solid var(--color-line);
}

/* Main container with max-width */
.main-container {
  max-width: 750px;
  margin: 0 auto;
}

/* Guide container */
.guide {
  background-color: var(--color-white);
}

.guide__body {
  padding: 1.6rem 0 3rem;
}

.guide__available-cards {
  margin-top: 2.4rem;
}

.guide__toc {
  margin-top: 2.4rem;
  padding: 0 2.4rem;
}

.guide__toc p {
  font-size: 1.5rem;
  font-weight: bold;
  line-height: 1.5;
  color: var(--color-main);
  margin-bottom: 0.8rem;
}

.guide__operation-guide {
  padding: 4rem 1.6rem 0;
}

/* Guide Detail Header */
.guide-detail-header {
  padding: 0 1.6rem;
}

.guide-detail-header__heading {
  color: var(--color-main);
  font-size: 1.5rem;
  text-align: center;
  line-height: 1.5;
}

.guide-detail-header__icon {
  margin: 2.4rem auto 0.4rem;
  text-align: center;
}

.guide-detail-header__icon .fill-path {
  fill: var(--color-main);
}

.guide-detail-header__text {
  margin-top: 1.6rem;
  font-size: 1.5rem;
  line-height: 1.5;
}

/* Available Cards */
.available-cards {
  padding: 1.6rem 1.6rem 0 1.6rem;
  background-color: var(--color-bg);
}

.available-cards__heading {
  font-size: 1.5rem;
  font-weight: bold;
}

.available-cards__list {
  margin-top: 0.8rem;
  font-size: 1.5rem;
  line-height: 24px;
}

.available-cards__list > li {
  display: flex;
}

.available-cards__list > li::before {
  content: "・";
  margin-right: 0.15em;
}

.available-cards__image {
  padding-top: 0.8rem;
}

.available-cards__image img {
  display: block;
  margin: 0 auto;
  width: 26.4rem;
  height: auto;
}

/* Table of Contents */
.table-of-contents > li + li {
  margin-top: 0.8rem;
}

.table-of-contents__link {
  display: inline-flex;
  position: relative;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 1.55rem 0;
  border: var(--border-default);
  border-radius: 5rem;
  background: var(--color-white);
  box-shadow: 0 0.2rem 0.4rem 0 rgb(0 0 0 / 8%);
  color: var(--color-main-text);
  font-size: 1.5rem;
  font-weight: bold;
  cursor: pointer;
}


.icon-arrow {
  position: absolute;
  right: 1.6rem;
  width: 2.4rem;
  height: 2.4rem;
}

.icon-arrow path {
  fill: var(--color-main);
}

.operation-guide__heading {
  color: #f4f4f4;
  background-color: #548063;
  font-size: 1.5rem;
  font-weight: bold;
  line-height: 1.5;
  margin-bottom: 2.4rem;
  padding: 0.8rem 0;
  text-align: center;
}

.operation-guide__body {
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
  margin-bottom: 4rem;
}

.operation-guide__step:first-child {
  margin-top: 0;
}

.operation-guide__step-heading {
  color: var(--color-accent);
  font-size: 1.5rem;
  font-weight: bold;
  line-height: 1.5;
  color: #7E7E7E;
  margin-bottom: 0.4rem;
}

.operation-guide__step-body {
  font-size: 1.4rem;
  line-height: 1.6;
}

.operation-guide__step-body p {
  font-size: 1.5rem;
  line-height: 1.5;
}

.operation-guide__step-body p:last-child {
  margin-bottom: 0;
}

.operation-guide__step-image-container {
  width: 24rem;
  height: auto;
  margin: 0.8rem auto 0;
}

.operation-guide__step-image {
  width: 100%;
  height: 100%;
  display: block;
}

.operation-guide__note {
  margin-top: 1.2rem;
  color: #666;
  font-size: 1.2rem;
  line-height: 1.5;
}

/* Responsive */
/* @media screen and (max-width: 767px) {
  .guide-detail-header__icon svg {
      width: 4rem;
      height: 4rem;
  }
} */
