@charset "utf-8";
/* CSS Document */
.hero-article h1,
#main h2,
#main h3,
#main h4,
.theme,
.box-category-list ul li a,
.method-list .box-method li .title,
.box-method>ul>li>a span {
  font-family: "Zen Maru Gothic";
}

#contents {
  background-color: #d7b98e26;
  color: #231815;
  max-width: 100%;
}
.breadcrumb {
  margin: 2em 0 1em;
}
.contents-inner {
  max-width: 1024px;
  margin: 0 auto;
  border-right: 1px solid #d7b98e80;
  border-left: 1px solid #d7b98e80;
  border-bottom: 1px solid #d7b98e80;
}
#main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  position: relative;
}

/* hero */

.hero-article {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 56px;
  padding-left: 2em;
  border-bottom: 1px solid #d7b98e80;
}

.theme {
  display: inline-flex;
  padding: 8px 28px;
  justify-content: center;
  align-items: center;
  border-radius: 4px;
  border: 1px solid rgba(215, 185, 142, 0.5);
  background: #fff;
  font-weight: 700;
}
.box-title {
  width: 50%;
}
.box-thumb {
  width: 50%;
  line-height: 0;
}
.box-thumb img {
  width: 100%;
  height: auto;
}

/* 段落 */
.article-container {
  width: calc(100% - 352px);
  padding-left: 2em;
  padding-top: 2em;
  padding-bottom: 2em;
}
.article-container p {
  font-family: "Lato", "Noto Sans JP", "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic, "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}
.article-container img {
  width: 100%;
  height: auto;
}
/* 見出し */
.hero-article h1 {
  font-size: 28px;
  font-weight: 700;
  text-align: left;
  margin: 0.4em 0;
  color: #231815;
  line-height: 1.6em;
}
#main h2 {
  font-size: 20px;
  font-weight: 700;
  text-align: left;
  border-left: 4px solid #91c871;
  padding-left: 10px;
}
.index h3 {
  color: #231815;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 1em;
}
.index h3 span {
  font-size: 14px;
}

/* 目次 */
.index {
  position: sticky;
  top: 110px;
  right: 0;
  width: 320px;
  margin-top: 2em;
  font-weight: 700;
}

.box-article-list {
  border-radius: 4px;
  border: 1px solid rgba(215, 185, 142, 0.5);
  border-right: none;
  background: #fff;
  padding: 1.6em;
}

.box-article-list ul li {
  border-bottom: 1px solid #231815;
  padding: 0.8em 0;
  font-size: 15px;
}
.box-article-list ul li a {
  color: #231815;
  font-weight: 500;
}
.box-article-list ul li a:hover {
  color: #5dac81;
}
.box-article-list ul li.current-article {
  color: #fd7c26;
}

.box-category-list {
  border-radius: 4px;
  border: 1px solid rgba(215, 185, 142, 0.5);
  border-right: none;
  background: #f7faf8;
  text-align: center;
  margin-top: 1em;
  padding: 0.4em 0 1.2em;
}

.box-category-list ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 0.8em 1.6em;
  gap: 12px;
}

.box-category-list ul li {
  margin-bottom: 0.4em;
}

.box-category-list ul li a {
  padding: 8px 18px;
  border-radius: 35px;
  border: 2px solid #231815;
  background: #fff;
  font-size: 0.875em;
  display: block;
}
.box-category-list h3 {
  position: relative;
  display: inline-block;
  padding: 0 55px;
  font-size: 1rem;
  margin-top: 1em;
}

.box-category-list h3:before,
.box-category-list h3:after {
  content: "";
  position: absolute;
  top: 50%;
  display: inline-block;
  width: 45px;
  height: 1px;
  background-color: #231815;
}

.box-category-list h3:before {
  left: 0;
}
.box-category-list h3:after {
  right: 0;
}

.point {
  margin: 2em 0;
  position: relative;
  padding: 0 0.7em;
  border-top: solid 2px #231815;
  border-bottom: solid 2px #231815;
  background: none;
}
.point:before,
.point:after {
  content: "";
  position: absolute;
  top: -10px;
  width: 2px;
  height: -webkit-calc(100% + 20px);
  height: calc(100% + 20px);
  background-color: black;
}
.point:before {
  left: 10px;
}
.point:after {
  right: 10px;
}
.point p {
  margin: 0;
  padding: 0.8em 1.6em;
  background-color: white;
}
.point h4 {
  border-bottom-color: #231815;
  text-align: center;
  background-color: white;
  margin: 0;
  padding: 0.5em;
}

.method-list h1 {
  text-align: center;
  padding-bottom: 0.5em;
  font-family: "Zen Maru Gothic";
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  margin: 1em 0;
}
.method-list h1 .icn-h {
  display: block;
  margin: 0 auto;
}
.box-method .box-category-list {
  margin: 2em 0;
  border-right: 1px solid rgba(215, 185, 142, 0.5);
}
.box-method .box-category-list ul li a {
  padding: 8px 18px;
  border-radius: 35px;
  border: 2px solid #231815;
  background: #fff;
  font-size: 0.875em;
  font-weight: 700;
}
.box-method>ul>li>a span {
  background: none;
  border-radius: 3px;
  color: #fb744a;
  font-size: 0.875rem;
  font-weight: normal;
  padding: 0;
  margin-right: 5px;
  display: block;
}
.box-method .box-category-list ul li.current a {
  background-color: #56a57d;
  color: white;
}

.thumb {
  aspect-ratio: 4 / 3;
}

.line-marker {
  background-color: #ff9;
}
.strong {
  font-weight: 600;
}

.box-method>ul::after {
  content: "";
  display: block;
  width: 30%;
  /* .boxに指定したwidthと同じ幅を指定する */
  height: 0;
  padding-left: 30px;
}

@media screen and (max-width: 768px) {
  #contents {
    padding: 0;
  }
  .contents-inner {
    border-right: none;
    border-left: none;
    padding: 1em 0;
  }
  .article-container {
    padding-bottom: 0;
  }
  #main,
  .hero-article {
    display: block;
  }
  .hero-article,
  .article-container {
    padding-right: 1em;
    padding-left: 1em;
  }
  .box-title,
  .box-thumb,
  .article-container,
  .index {
    width: 100%;
  }
  .index {
    display: flex;
    justify-content: center;
    align-items: start;
    gap: 24px;
    padding: 1em 2em;
  }
  .box-category-list {
    margin-top: 0;
    max-width: 40%;
  }
  .box-category-list ul {
    padding: 0.4em 0.8em;
  }
  .box-category-list,
  .box-article-list {
    border-right: 1px solid rgba(215, 185, 142, 0.5);
  }
  .box-method .box-category-list {
    max-width: 100%;
  }
  .theme {
    display: block;
  }
}
@media screen and (max-width: 599px) {
  .index {
    display: block;
    margin-top: 0;
  }
  .box-category-list {
    max-width: 100%;
    margin-top: 1em;
  }
  .method-list #main {
    padding-top: 40px;
  }
}