/* =========================
   Variables
========================= */
:root {
  --font-family-jp: "Zen Maru Gothic", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  --font-family-en: "Poppins", arial, sans-serif;
  --font-family-latin: "Poppins", arial, sans-serif;
  --color-main: #009140;
  --color-white: #fff;
  --text-brand: #009140;
  --text-secondary: #495057;
  --text-primary: #212529;
}

#breadcrumb {
  display: none;
}

/* =========================
   共通コンポーネント
========================= */

.section__inner {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin-inline: auto;
  padding-inline: 16px;

  @media (768px <= width) {
    width: 100%;
    max-width: min(calc(610px + 40px * 2), 100%);
    margin-inline: auto;
    padding-inline: 40px;
  }
}

.section-header {
  text-align: center;
}

.section-header__subtitle {
  margin-bottom: 11px;
  font-family: var(--font-family-latin);
  font-size: 12px;
  font-weight: 700;
  font-style: normal;
  line-height: 1.4;
  text-align: center;
  text-transform: uppercase;
  color: var(--text-brand);

  @media (768px <= width) {
    font-size: 14px;
  }
}

.section-header__title {
  font-family: var(--font-family-jp);
  font-size: 24px;
  font-weight: 700;
  font-style: normal;
  line-height: 1.4;
  text-align: center;
  color: var(--text-primary);

  @media (768px <= width) {
    font-size: 28px;
  }
}

.btn {
  display: grid;
  position: relative;
  width: 100%;
  max-width: 250px;
  margin-inline: auto;
  padding-block: 10px;
  padding-inline: 37px;
  font-family: var(--font-family-jp);
  font-size: 16px;
  font-weight: 700;
  font-style: normal;
  line-height: 1.2;
  color: var(--text-brand);
  background-color: var(--color-white);
  border: 2px solid currentcolor;
  border-radius: 100px;
  box-shadow: 0 6px 0 0 #004a28;
  place-items: center;

  /* transition: background-color 0.2s ease-in-out; */
  span {
    font-weight: 700;
  }
}

.btn:hover {
  color: var(--text-brand);
  background-color: #e6f4ed;
}

/* =========================
   Guide-detail Section
========================= */

.guide-detail {
  position: relative;
  margin-block-start: 60px;
  padding-block: 40px 64px;
  background: #fff;

  @media (768px <= width) {
    margin-block-start: 128px;
    padding-bottom: 78px;
  }
}

.guide-detail__inner {
  padding-inline: 16px;
}

/* header */
.guide-detail__header {
  margin-bottom: 29px;
}

/* list wrapper */
.guide-detail__list {
  margin-bottom: 40px;
}

/* list item */
.guide-detail__item {
  width: 100%;
  height: auto;
  padding-block: 18px 17px;
  border-bottom: 1px dotted #adb5bd;

  @media (768px <= width) {
    border-bottom: 0;
  }
}

.guide-detail__item-step-wrap {
  display: contents;

  @media (768px <= width) {
    display: flex;
    align-items: center;
    padding-bottom: 10px;
    border-bottom: 1px solid #000;
  }
}

.guide-detail__item:last-of-type {
  border-bottom: none;
}

/* number */
.guide-detail__item-number {
  display: inline-block;
  margin-bottom: 3px;
  padding-block: 9px 8px;
  padding-inline: 9px;
  font-family: var(--font-family-en);
  font-size: 12px;
  font-weight: 500;
  font-style: normal;
  line-height: 0;
  text-transform: uppercase;
  color: var(--text-primary);
  border: 1px solid currentcolor;

  @media (768px <= width) {
    display: inline-block;
    margin-right: 10px;
    margin-bottom: 0;
    padding: 0 10px;
    font-size: 12px;
    font-weight: 400;
    line-height: 20px;
    border: 1px solid #000;
  }
}

/* title */
.guide-detail__item-title {
  margin-bottom: 15.6px;
  font-family: var(--font-family-jp);
  font-size: 12.3px;
  font-weight: 700;
  font-style: normal;
  line-height: 1.6;
  color: var(--text-primary);

  @media (768px <= width) {
    margin-bottom: 0;
    font-size: 16px;
  }
}

.guide-detail__item-text {
  font-family: var(--font-family-jp);
  font-size: 10.4px;
  font-weight: 700;
  font-style: normal;
  line-height: 1.5;
  word-break: normal;
  color: var(--text-primary);
  overflow-wrap: anywhere;
  line-break: strict;

  @media (768px <= width) {
    margin-top: 10px;
    font-size: 16px;
    font-weight: normal;
    line-height: 24px;
  }
}

.guide-detail__item-text--second {
  margin-top: 15px;
}

.guide-detail__item-text--red {
  margin-top: 8px;
  color: #f00;

  @media (768px <= width) {
    display: inline-block;
    margin-top: 10px;
    font-size: 12px;
    line-height: 18px;
  }
}

/* guide-detail generic content */
.guide-detail__content {
  margin-bottom: 40px;
}

.guide-detail__content h4 {
  font-family: var(--font-family-jp);
  font-weight: bold;
  padding: 0;
  line-height: 40px;
  border-bottom: 1px solid #000;
  margin-top: 20px;
  font-size: 16px;
  margin-bottom: 10px;
}

.guide-detail__content p {
  font-family: var(--font-family-jp);
  font-size: 14px;
  line-height: 24px;
  color: var(--text-primary);

  @media (768px <= width) {
    font-size: 16px;
  }
}

.guide-detail__content a {
  font-weight: bold;
  text-decoration: underline;
  color: #000;
}

.guide-detail__content .red {
  color: #f00;
}

.guide-detail__content .fwb {
  font-weight: bold;
}

.guide-detail__content table {
  width: 100%;
  border-collapse: collapse;
  margin: 10px 0;
  font-size: 12px;

  @media (768px <= width) {
    font-size: 14px;
  }
}

.guide-detail__content table th,
.guide-detail__content table td {
  border: 1px solid #adb5bd;
  padding: 6px 8px;
  text-align: center;
}

.guide-detail__content table th {
  background: #f1f3f5;
  font-weight: bold;
}

.guide-detail__content img {
  max-width: 100%;
  height: auto;
}

/* button */
.guide-detail__btn-wrap {
  text-align: center;
}

.guide-detail__btn-arrow-wrap {
  position: absolute;
  top: calc(50% + 0px);
  left: 14px;
  translate: 0 -50%;
}

.guide-detail__btn-arrow {
  display: block;
  width: 20px;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
