/* rassic 記事テンプレ共通CSS(training/show から外部化 / カナ 2026-05-25)*/
html {
    background: #fff;
}
  .people-section {
    width: 70vw;
    margin: 10rem auto 6rem;
  }

  .people-inner {
    width: 100%;
    margin: 0 auto;
  }

  .people-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 1rem;
  }

  .people-title-block {
    display: flex;
    flex-direction: column;
  }

  .people-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    color: #111;
    margin: 0;
  }

  .people-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-top: 0.6rem;
  }

  .people-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.5rem;
  }

  .people-card {
    display: flex;
    align-items: center;
    gap: 1.8rem;
    min-height: 175px;
    padding: 0 1.6rem;
    border: 1px solid #d9d9d9;
    border-radius: 28px;
    background: #fafafa;
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
  }

  .people-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.06);
    background: #fff;
  }

  .people-card__thumb {
    flex: 0 0 140px;
    width: 140px;
  }

  .people-card__thumb img {
    width: 100%;
    aspect-ratio: 3 / 2.5;
    object-fit: cover;
    border-radius: 14px;
    display: block;
    background: #eee;
  }

  .people-card__body {
    flex: 1;
    min-width: 0;
  }

  .people-card__meta {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-bottom: 0.9rem;
  }

  .people-card__year {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 0 0.8rem;
    border-radius: 999px;
    background: #eef5e8;
    color: #5f7d3a;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
  }

  .people-card__area {
    font-size: 0.85rem;
    color: #777;
    font-weight: 500;
  }

  .people-card__title {
    font-size: 0.94rem;
    font-weight: 700;
    line-height: 1.6;
    color: #111;
    margin: 0 0 1rem;
    letter-spacing: 0.02em;
  }

  .people-card__info {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
  }

  .people-card__company,
  .people-card__name {
    font-size: 0.94rem;
    line-height: 1.2;
    color: #555;
    margin: 0;
  }

  .people-card__button {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 92px;
    height: 30px;
    border: 1px solid #cfd5dc;
    border-radius: 999px;
    background: #fff;
    color: #111;
    font-size: 0.94rem;
    font-weight: 700;
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  }

  .people-card:hover .people-card__button {
    background: #111;
    color: #fff;
    border-color: #111;
  }

  .people-empty {
    padding: 4rem 1rem;
    text-align: center;
    color: #666;
    font-size: 1.2rem;
  }

  .hero {
    width: 100%;
    margin: 0 auto;
  }

  .hero img {
    width: 100%;
    aspect-ratio: 3 / 1.5;
    object-fit: cover;
    border-radius: 16px;
    display: block;
  }

  .article-head {
    width: min(86vw, 760px);
    margin: 5.5rem auto 6rem;
    text-align: center;
  }

  .article-meta-top {
    font-size: 0.9rem;
    line-height: 1.8;
    color: #6b6b6b;
    letter-spacing: 0.04em;
    margin-bottom: 0.8rem;
  }

  .article-head h1 {
    font-size: 2rem;
    line-height: 1.5;
    font-weight: 700;
    color: #222;
    margin: 0;
  }

  .article-meta-bottom {
    margin-top: 1rem;
    font-size: 1rem;
    line-height: 1.9;
    color: #444;
  }

  .article-meta-bottom .company {
    display: block;
    font-weight: 600;
  }

  .article-meta-bottom .name {
    display: block;
    margin-top: 0.15rem;
  }

  .article-wrap {
    display: flex;
    justify-content: center;
    gap: 3rem;
  }

  .article-body {
    width: min(86vw, 760px);
  }

  .article-body h2 {
    font-size: 1.4rem;
    margin: 6rem 0 3.2rem;
    text-align: center;
    scroll-margin-top: 7rem;
    font-weight: 600;
  }

  .article-body p {
    font-size: 1.0625rem;
    line-height: 2.0;
    margin-bottom: 3rem;
    letter-spacing: 0.16em;
    color: #1a1a1a;
    font-weight: 400;
  }

  .article-body img,
  .post-detail img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 2rem auto;
    border-radius: 12px;
  }
  .article-body figure,
  .post-detail figure {
    max-width: 100%;
    margin: 2rem auto;
  }
  .article-body figure img,
  .post-detail figure img {
    margin: 0 auto;
  }

  .chapter-nav {
    position: fixed;
    right: 2.5rem;
    top: 50%;
    transform: translateY(-50%) translateX(16px);
    width: 18rem;
    padding: 1.4rem 1.4rem 1.2rem;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #ece9df;
    border-radius: 14px;
    /* box-shadow 削除(シンプルフラット) */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s ease;
    z-index: 30;
  }
  @media (max-width: 900px) {
    .chapter-nav { display: none; }
  }
  /* 中サイズ画面では右余白なくしてコンパクト化 */
  @media (max-width: 1240px) {
    .chapter-nav {
      right: 1rem;
      width: 200px;
      padding: 1rem 1rem 0.8rem;
    }
    .chapter-nav__title {
      font-size: 0.78rem !important;
    }
  }

  .chapter-nav.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(-50%) translateX(0);
  }

  .chapter-nav__label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: #666;
    text-transform: uppercase;
    margin-bottom: 0.7rem;
  }

  .chapter-nav__line {
    height: 1px;
    background: #e3e3e3;
    margin-bottom: 0.8rem;
  }

  .chapter-nav a {
    display: grid;
    grid-template-columns: 0.8rem 1fr;
    column-gap: 0.7rem;
    align-items: start;
    text-decoration: none;
    padding: 0.55rem 0;
    color: #8c8c8c;
    transition: color 0.2s ease;
  }

  .chapter-nav a:hover {
    color: #333;
  }

  .chapter-nav a.active {
    color: #111;
  }

  .chapter-nav__dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    margin-top: 0.42rem;
    background: #f4c79a;       /* 薄オレンジ(食べ物トーン) */
    transition: transform 0.2s ease, background-color 0.2s ease;
  }

  .chapter-nav a.active .chapter-nav__dot {
    background: #ed8936;       /* 明るいオレンジ */
    transform: scale(1.15);
  }

  .chapter-nav__text {
    min-width: 0;
  }

  .chapter-nav__chapter {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #8f8f8f;
    text-transform: uppercase;
    margin-bottom: 0.18rem;
  }

  .chapter-nav a.active .chapter-nav__chapter {
    color: #b85f1f;            /* 濃いオレンジ */
  }

  .chapter-nav__title {
    display: block;
    font-size: 0.84rem;
    line-height: 1.55;
    color: inherit;
    word-break: break-word;
  }

  .chapter-nav a.active .chapter-nav__title {
    font-weight: 700;
  }

.people-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 1.4rem;
    border-radius: 999px;
    /* border: 1px solid #d5d5d5; */
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-decoration: none;
    color: #000;
    background: #fff;
    transition: all 0.25s ease;

}
  .people-btn:hover {
    background: #000;
    color: #fff;
    border-color: #000;    text-decoration: underline;
  }

  .recommend-title {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    color: #111;
    margin: 5rem 0 4rem;
  }

  .back-btn {
    text-align: center;
    margin: 5rem 0 2rem;
  }

  .back-btn a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 56px;
    padding: 1rem 10rem;
    border-radius: 999px;
    border: 1px solid #d5d5d5;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-decoration: none;
    color: #000;
    background: #fff;
    transition: all 0.25s ease;
  }

  .back-btn a:hover {
    background: #000;
    color: #fff;
    border-color: #000;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
  }
h2.people-title {
    display: inline-block;
    margin: 0 0 12px;
    padding: 6px 14px;
    border: 1.5px solid #111;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    background: #fff;
}
  @media (max-width: 1024px) {
    .people-grid {
      grid-template-columns: 1fr;
    }

    .chapter-nav {
      display: none;
    }
  }

  @media (max-width: 768px) {
    .people-section {
      width: 90%;
      margin: 6rem auto 5rem;
    }

    .people-header {
      flex-direction: column;
      align-items: flex-start;
      gap: 1rem;
      margin-bottom: 1.5rem;
    }

    .people-title {
      font-size: 1.4rem;
    }

    .hero {
      width: 100%;
    }

    .article-wrap {
      display: block;
    }

    .article-head,
    .article-body {
      width: calc(100% - 32px);
    }

    .article-head {
      margin: 2rem auto;
    }

    .article-head h1 {
      font-size: 1.4rem;
      line-height: 1.6;
    }

    .article-meta-top {
      font-size: 0.82rem;
    }

    .article-meta-bottom {
      font-size: 0.92rem;
      line-height: 1.8;
    }

    .article-body p {
      font-size: 1.0rem;          /* 16px */
      line-height: 1.95;
      margin-bottom: 1.5rem;
      letter-spacing: 0.03em;
    }

    .people-grid {
      gap: 1rem;
    }

    .people-card {
      display: grid;
      grid-template-columns: 88px 1fr;
      gap: 1rem;
      padding: 1rem;
      min-height: auto;
      border-radius: 20px;
    }

    .people-card__thumb {
      width: 88px;
      flex: none;
    }

    .people-card__title {
      font-size: 1rem;
      margin-bottom: 0.7rem;
    }

    .people-card__company,
    .people-card__name {
      font-size: 0.9rem;
      line-height: 1.5;
    }

    .people-card__button {
      grid-column: 1 / -1;
      width: 100%;
      height: 46px;
      font-size: 1rem;
    }

    .people-btn {
      height: 40px;
      font-size: 0.85rem;
      padding: 0 1.2rem;
    }

    .back-btn {
      margin: 4rem 0 5rem;
    }

    .back-btn a {
      width: 100%;
      height: 50px;
      padding: 0 1.5rem;
      font-size: 0.95rem;
    }

    .recommend-title {
      font-size: 1.5rem;
      margin: 4rem 0 2rem;
    }
  }
.article-meta-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 1rem;
  }
  .article-meta-row .read-time {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    background: #fdfaf3;
    border: 1px solid #ece5d2;
    color: #886a3d;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    border-radius: 999px;
  }
  .article-meta-row .read-time svg {
    width: 14px; height: 14px; fill: currentColor;
  }

  /* 折りたたみ目次(SP/タブレット) */
  .article-outline-mobile {
    width: min(82vw, 820px);
    margin: 1.4rem auto 0;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid #ece9df;
    border-radius: 12px;
    overflow: hidden;
    text-align: left;
    display: none;
  }
  @media (max-width: 900px) {
    .article-outline-mobile { display: block; }
  }
  .article-outline-mobile summary {
    list-style: none;
    cursor: pointer;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: 0.06em;
  }
  .article-outline-mobile summary::-webkit-details-marker { display: none; }
  .article-outline-mobile summary svg {
    width: 16px; height: 16px; fill: #886a3d;
  }
  .article-outline-mobile summary .chevron {
    margin-left: auto;
    font-size: 1.4rem;
    color: #b9b0a0;
    transform: rotate(90deg);
    transition: transform 0.25s ease;
    line-height: 1;
  }
  .article-outline-mobile[open] summary .chevron {
    transform: rotate(-90deg);
  }
  .article-outline-mobile__list {
    list-style: none;
    margin: 0;
    padding: 6px 16px 14px 28px;
    border-top: 1px solid #f0ede4;
    counter-reset: chp;
  }
  .article-outline-mobile__list li {
    counter-increment: chp;
    padding: 8px 0;
    font-size: 0.84rem;
    line-height: 1.6;
  }
  .article-outline-mobile__list li::before {
    content: counter(chp, decimal-leading-zero);
    color: #c89e54;
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    margin-right: 8px;
  }
  .article-outline-mobile__list a {
    color: #2a2a2a;
    text-decoration: none;
    word-break: break-word;
  }
  .article-outline-mobile__list a:hover { color: #886a3d; }

  /* 記事末尾の要点サマリ(LLMO + 人間向け) */
  .article-summary {
    width: min(60vw, 820px);
    margin: 4rem auto 1rem;
    padding: 2rem 2.2rem 1.8rem;
    background: linear-gradient(135deg, #fdfaf3 0%, #fbf6e8 100%);
    border: 1px solid #efe7d0;
    border-radius: 16px;
    text-align: left;
    position: relative;
  }
  @media (max-width: 900px) {
    .article-summary { width: 82vw; padding: 1.4rem 1.4rem 1.2rem; margin-top: 3rem; }
  }
  .article-summary::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 24px;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #c89e54 0%, #e8a85a 100%);
    border-radius: 2px;
  }
  .article-summary__label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 12px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: #886a3d;
  }
  .article-summary__label svg {
    width: 14px; height: 14px; fill: currentColor;
  }
  .article-summary__body {
    margin: 0;
    font-size: 0.95rem;
    line-height: 2.05;
    color: #3a3a35;
    letter-spacing: 0.01em;
  }

  /* 読了プログレスバー(PC のみ、ブラウザ最下部に固定) */
  .read-progress {
    position: fixed;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 0;
    background: linear-gradient(90deg, #f0a23c 0%, #e87b1d 100%);
    box-shadow: 0 0 8px rgba(232, 123, 29, 0.4);
    z-index: 9999;
    pointer-events: none;
    transition: width 0.08s linear;
    will-change: width;
  }
  @media (max-width: 768px) {
    .read-progress { display: none; }
  }
.writer-section {
          width: min(60vw, 820px);
          margin: 4rem auto 2rem;
          padding: 0;
        }
        .writer-section-label {
          font-size: 0.72rem;
          font-weight: 700;
          letter-spacing: 0.22em;
          color: #886a3d;
          margin: 0 0 1rem;
        }
        .writer-card {
          display: grid;
          grid-template-columns: 140px 1fr;
          gap: 28px;
          align-items: center;
          padding: 24px;
          background: #fbfaf5;
          border: 1px solid #ece9df;
          border-radius: 16px;
          margin-bottom: 1rem;
        }
        @media (max-width: 600px) {
          .writer-card { grid-template-columns: 100px 1fr; gap: 18px; padding: 18px; }
        }
        .writer-photo {
          width: 140px;
          height: 140px;
          border-radius: 50%;
          background: #ece5d2;
          overflow: hidden;
          flex-shrink: 0;
        }
        @media (max-width: 600px) {
          .writer-photo { width: 100px; height: 100px; }
        }
        .writer-photo img { width: 100%; height: 100%; object-fit: cover; }
        .writer-photo-placeholder {
          width: 100%; height: 100%;
          display: flex; align-items: center; justify-content: center;
          color: #c89e54; font-weight: 700; font-size: 1.6rem;
        }
        .writer-body { min-width: 0; }
        .writer-roles {
          display: inline-block;
          font-size: 0.72rem;
          font-weight: 700;
          letter-spacing: 0.1em;
          color: #886a3d;
          background: #fff;
          border: 1px solid #ece5d2;
          padding: 3px 10px;
          border-radius: 999px;
          margin-bottom: 10px;
        }
        .writer-name {
          margin: 0 0 8px;
          font-size: 1.15rem;
          font-weight: 700;
          color: #1a1a1a;
        }
        .writer-bio {
          margin: 0 0 12px;
          font-size: 0.88rem;
          line-height: 1.85;
          color: #5a5a55;
        }
        .writer-links {
          display: flex;
          gap: 14px;
          flex-wrap: wrap;
        }
        .writer-links a {
          font-size: 0.82rem;
          color: #1a1a1a;
          text-decoration: underline;
          text-underline-offset: 3px;
        }
        .writer-links a:hover { color: #c89e54; }
.related-section {
        width: 100%;
        margin: 5rem auto 2rem;
      }
      .related-header {
        width: min(86vw, 1100px);
        margin: 0 auto 1.6rem;
        display: flex;
        align-items: center;
        justify-content: space-between;
      }
      .related-title {
        font-size: clamp(1.1rem, 1.6vw, 1.3rem);
        font-weight: 800;
        letter-spacing: 0.02em;
        color: #1a1a1a;
        margin: 0;
      }
      .related-nav {
        display: flex;
        gap: 8px;
      }
      .related-nav-btn {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        border: 1px solid #d8d8d8;
        background: #fff;
        color: #1a1a1a;
        font-size: 1.1rem;
        line-height: 1;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        transition: background 0.2s ease, color 0.2s ease;
      }
      .related-nav-btn:hover {
        background: #ed8936;
        color: #fff;
        border-color: #ed8936;
      }
      .related-nav-btn:disabled {
        opacity: 0.4;
        cursor: not-allowed;
      }
      .related-scroller {
        width: min(86vw, 1100px);
        margin: 0 auto;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        padding-bottom: 14px;
        box-sizing: border-box;
        -webkit-overflow-scrolling: touch;
      }
      /* スクロールバー(ヘアライン) */
      .related-scroller::-webkit-scrollbar { height: 1px; }
      .related-scroller::-webkit-scrollbar-track { background: transparent; }
      .related-scroller::-webkit-scrollbar-thumb {
        background: #ed8936;
        border-radius: 0;
      }
      .related-scroller {
        scrollbar-width: thin;
        scrollbar-color: #ed8936 transparent;
      }
      .related-grid {
        display: flex;
        gap: 20px;
        min-width: min-content;
      }
      .related-card {
        flex: 0 0 calc((min(86vw, 1100px) - 60px) / 4);
        scroll-snap-align: start;
        display: flex;
        flex-direction: column;
        text-decoration: none;
        color: inherit;
        background: transparent;
        /* 枠と角丸を削除(画像のみ角丸) */
        transition: transform 0.25s ease;
      }
      .related-card:hover {
        transform: translateY(-3px);
      }
      .related-thumb {
        aspect-ratio: 4 / 3;
        background: transparent;
        overflow: hidden;
        border-radius: 12px;       /* 画像だけ角丸 */
      }
      .related-thumb img {
        width: 100%; height: 100%; object-fit: cover;
        transition: transform 0.5s ease;
      }
      .related-card:hover .related-thumb img { transform: scale(1.04); }
      .related-thumb.no-img {
        display: flex; align-items: center; justify-content: center;
        color: #c9c1a9; font-size: 0.66rem; letter-spacing: 0.18em;
        background: #fafafa;
      }
      .related-body {
        padding: 1.1rem 2px 4px;   /* 画像とタイトルの間隔をしっかり */
      }
      .related-card-title {
        margin: 0;
        font-size: 0.92rem;
        line-height: 1.55;
        font-weight: 700;
        color: #1a1a1a;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        letter-spacing: 0.03em;
      }
      @media (max-width: 1024px) {
        .related-card { flex: 0 0 calc((min(86vw, 1100px) - 40px) / 3); }
      }
      @media (max-width: 768px) {
        .related-card { flex: 0 0 calc((min(86vw, 1100px) - 20px) / 2); }
      }
      @media (max-width: 480px) {
        .related-card { flex: 0 0 70vw; }
        .related-scroller { width: 86vw; }
      }
