@charset "utf-8";

/* CSS Document */
.hero-article h1,
.theme,
.box-category-list ul li a,
.method-list .box-method li .title,
.box-method>ul>li>a span {
  font-family: "Urbane Rounded", "Zen Maru Gothic";
}

#contents:not(.introduction) #main h2,
#contents:not(.introduction) #main h3,
#contents:not(.introduction) #main h4 {
  font-family: "Urbane Rounded", "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;
  aspect-ratio: 7 / 5;
  overflow: hidden;
}

.box-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 段落 */
.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;
}

#contents:not(.introduction) #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: "Urbane Rounded", "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;
}


.thumb {
  aspect-ratio: 7 / 5;
  overflow: hidden;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.line-marker {
  background-color: #ff9;
}

.strong {
  font-weight: 600;
}


.post-content ul,
.article-container ul {
  padding-left: 2rem;
}

@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;
  }

  .method-list h1 {
    font-size: 1.6rem;
  }
}

/* ── 話し手の紹介 ── */
.speaker-list > img {
  width: 100%;
  height: auto;
  margin-bottom: 1.5rem;
}

.speaker-card {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.speaker-avatar {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  width: 74px;
}

.speaker-avatar img {
  width: 64px;
  height: 64px;
  border-radius: 50vh;
  object-fit: cover;
}

.speaker-name {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  text-align: center;
  font-weight: bold;
  color: #49423a;
  letter-spacing: -0.3px;
}

.speaker-text {
  position: relative;
  border-radius: 5px;
  padding: 20px 30px;
  width: 100%;
  margin-left: 20px;
  border: 1px solid #e2e2e2;
  box-sizing: border-box;
}

.speaker-text::before {
  position: absolute;
  content: "";
  width: 12px;
  height: 16px;
  top: 24px;
  left: -12px;
  background-color: #e2e2e2;
  clip-path: polygon(100% 0, 0 50%, 100% 100%);
}

.speaker-text p {
  margin: 0;
}

@media screen and (max-width: 599px) {
  .speaker-avatar {
    width: 56px;
  }

  .speaker-avatar img {
    width: 48px;
    height: 48px;
  }

  .speaker-text {
    padding: 14px 16px;
    margin-left: 12px;
  }

  .speaker-text::before {
    top: 18px;
  }
}

/* ── 記事回遊：同カテゴリシリーズ見出し ── */
.section-action-heading {
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "Urbane Rounded", "Zen Maru Gothic";
  font-size: 1.4rem;
  font-weight: 700;
  text-align: center;
  color: #231815;
  margin: 0;
  padding-top: 0.4em;
}

.section-action-heading::before,
.section-action-heading::after {
  content: '';
  width: 3px;
  height: 40px;
  background-color: #86c166;
}

.section-action-heading::before {
  margin-right: 30px;
  transform: rotate(-35deg);
}

.section-action-heading::after {
  margin-left: 30px;
  transform: rotate(35deg);
}

/* override: no top padding (heading is outside this section) */
.section-cross-links {
  padding: 0 0 48px;
}

@media screen and (max-width: 599px) {
  .section-cross-links {
    padding: 32px 0;
  }
}

/* ── Page navigation section ── */
.section-action {
  background: #d7b98e26;
  padding: 0 0 48px 32px;
  text-align: center;
}

.section-action .box-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 20px;
}

