/* Lesson page styles */

   body.postid-95 .sub-header { position: sticky; z-index: 100; top: 0; width: 100%; height: 88px; color: #fafaf9; background: rgba(15,13,12,.94); border-bottom: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(10px); }
    body.postid-95 .sub-header-inner { display: flex; align-items: center; width: min(94%,1500px); height: 100%; margin: 0 auto; }
    body.postid-95 .sub-logo { display: flex; align-items: center; gap: 9px; flex: none; }
    body.postid-95 .sub-logo-mark { display: block; width: 55px; height: 48px; overflow: hidden; }
    body.postid-95 .sub-logo-mark img { display: block; width: auto; height: 48px; }
    body.postid-95 .sub-logo-title { display: block; width: auto; height: 48px; }
    body.postid-95 .sub-logo-company { margin-left: 5px; font-family: "Hiragino Maru Gothic ProN","Yu Gothic",sans-serif; font-size: 15px; letter-spacing: .08em; transform: translateY(4px); white-space: nowrap; }
    body.postid-95 .sub-nav { display: flex; align-items: stretch; align-self: stretch; margin-left: auto; }
    body.postid-95 .sub-nav a { position: relative; display: grid; place-items: center; padding: 0 22px; color: #d6d3d1; font-size: 13px; letter-spacing: .04em; transition: color .2s,background-color .2s; }
    body.postid-95 .sub-nav a::after { position: absolute; right: 22px; bottom: 18px; left: 22px; height: 1px; content: ""; background: var(--patch-accent); transform: scaleX(0); transition: transform .25s ease; }
    body.postid-95 .sub-nav a:hover,
    body.postid-95 .sub-nav a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.045); }
    body.postid-95 .sub-nav a:hover::after,
    body.postid-95 .sub-nav a[aria-current="page"]::after { transform: scaleX(1); }
    body.postid-95 .sub-menu-button { display: none; width: 48px; height: 48px; margin-left: auto; padding: 13px 10px; color: #fff; background: transparent; border: 0; }
    body.postid-95 .sub-menu-button span { display: block; width: 100%; margin: 5px 0; border-top: 1px solid currentColor; transition: transform .25s,opacity .25s; }

    body.postid-95 .patchwork-title { display: grid; min-height: 178px; padding: 34px max(6%,calc((100% - 1200px)/2)); color: #fff; text-align: center; background-image: linear-gradient(rgba(15,13,12,.6),rgba(15,13,12,.6)),url('images/subpage-title-bg.png'); background-position: center; background-size: cover; place-content: center; }
    body.postid-95 .patchwork-title small { color: #f0a53a; font-size: 11px; letter-spacing: .24em; }
    body.postid-95 .patchwork-title h1 { margin: 14px 0 0; font-size: clamp(24px,2.5vw,34px); font-weight: 400; text-shadow: 0 2px 8px #000; }
    body.postid-95 .breadcrumb-wrap { background: #fff; border-bottom: 1px solid var(--patch-line); }
    body.postid-95 .breadcrumb { display: flex; justify-content: flex-end; gap: 9px; width: min(88%,1200px); margin: 0 auto; padding: 14px 0; color: var(--patch-muted); font-size: 11px; }
    body.postid-95 .breadcrumb a:hover { color: var(--patch-accent); }

    body.postid-95 .patch-main { width: min(88%,1200px); margin: 0 auto; padding: 82px 0 116px; }
    body.postid-95 .patch-lead { display: grid; grid-template-columns: minmax(0,.95fr) minmax(430px,1.05fr); gap: clamp(42px,6vw,86px); align-items: center; }
    body.postid-95 .patch-kicker,
    body.postid-95 .section-kicker { color: var(--patch-accent); font-size: 11px; letter-spacing: .22em; }
    body.postid-95 .patch-lead h2 { margin: 16px 0 25px; font-size: clamp(31px,4vw,52px); font-weight: 400; line-height: 1.45; }
    body.postid-95 .patch-lead p { margin: 0; color: #57534e; font-size: 16px; line-height: 2.1; }
    body.postid-95 .patch-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
    body.postid-95 .patch-actions a { display: grid; min-width: 190px; min-height: 54px; padding: 10px 18px; color: #fff; background: var(--patch-accent); place-items: center; font-size: 15px; letter-spacing: .08em; }
    body.postid-95 .patch-actions a.secondary { color: var(--patch-ink); background: #fff; border: 1px solid var(--patch-line); }
    body.postid-95 .patch-photo { position: relative; min-height: 520px; margin: 0; overflow: hidden; background: var(--patch-dark); }
    body.postid-95 .patch-photo img { display: block; width: 100%; height: 100%; min-height: 520px; object-fit: cover; opacity: .94; }
    body.postid-95 .patch-photo figcaption { position: absolute; right: 28px; bottom: 24px; z-index: 1; color: #fff; font-size: 12px; letter-spacing: .18em; writing-mode: vertical-rl; }
    body.postid-95 .patch-photo::after { position: absolute; inset: auto 0 0; height: 42%; content: ""; background: linear-gradient(0deg,rgba(15,13,12,.66),rgba(15,13,12,0)); }

    body.postid-95 .patch-section { margin-top: 96px; }
    body.postid-95 .section-head { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 34px; padding-bottom: 20px; border-bottom: 1px solid var(--patch-line); }
    body.postid-95 .section-head h2 { margin: 10px 0 0; font-size: clamp(27px,3.2vw,42px); font-weight: 400; line-height: 1.45; }
    body.postid-95 .section-head p { max-width: 560px; margin: 0; color: #57534e; font-size: 15px; line-height: 2; }

    body.postid-95 .course-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
    body.postid-95 .course-card { padding: 32px 30px; background: #fff; border: 1px solid var(--patch-line); }
    body.postid-95 .course-card span { color: var(--patch-accent); font-family: Georgia,serif; font-size: 16px; }
    body.postid-95 .course-card h3 { margin: 18px 0 12px; font-size: 22px; font-weight: 400; line-height: 1.6; }
    body.postid-95 .course-card p { margin: 0; color: #57534e; font-size: 15px; line-height: 2; }

    body.postid-95 .info-layout { display: grid; grid-template-columns: minmax(0,.46fr) minmax(0,.54fr); gap: 28px; align-items: stretch; }
    body.postid-95 .class-table { width: 100%; border-collapse: collapse; background: #fff; font-size: 15px; }
    body.postid-95 .class-table th,
    body.postid-95 .class-table td { padding: 18px 20px; text-align: left; vertical-align: top; border: 1px solid var(--patch-line); line-height: 1.9; }
    body.postid-95 .class-table th { width: 120px; color: var(--patch-ink); font-weight: 400; background: var(--patch-surface); }
    body.postid-95 .class-note { display: grid; align-content: center; padding: 34px 32px; color: #fff; background: var(--patch-green); }
    body.postid-95 .class-note h3 { margin: 0 0 16px; font-size: 24px; font-weight: 400; }
    body.postid-95 .class-note p { margin: 0; color: #f4f1ec; font-size: 15px; line-height: 2; }

    body.postid-95 .gallery-pair { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; }
    body.postid-95 .gallery-pair figure { margin: 0; background: #fff; border: 1px solid var(--patch-line); }
    body.postid-95 .gallery-pair img { display: block; width: 100%; height: 360px; object-fit: cover; }
    body.postid-95 .gallery-pair figcaption { padding: 18px 20px; color: #57534e; font-size: 14px; line-height: 1.8; }

    body.postid-95 .patch-contact { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 34px; align-items: center; margin-top: 94px; padding: 42px 46px; color: #fff; background: var(--patch-dark); }
    body.postid-95 .patch-contact small { color: var(--patch-gold); font-size: 11px; letter-spacing: .2em; }
    body.postid-95 .patch-contact h2 { margin: 12px 0 12px; font-size: clamp(24px,3vw,36px); font-weight: 400; line-height: 1.5; }
    body.postid-95 .patch-contact p { margin: 0; color: #e7e5e4; font-size: 15px; line-height: 1.9; }
    body.postid-95 .patch-contact-actions { display: flex; flex-wrap: wrap; gap: 12px; }
    body.postid-95 .patch-contact a { display: grid; min-width: 190px; min-height: 56px; padding: 10px 22px; color: #fff; border: 1px solid rgba(255,255,255,.6); place-items: center; font-size: 15px; letter-spacing: .08em; }
    body.postid-95 .patch-contact a.primary { background: var(--patch-accent); border-color: var(--patch-accent); }

    @media (max-width:1100px) {
      body.postid-95 .sub-logo-title { height: 40px; }
      body.postid-95 .sub-logo-company { font-size: 12px; }
      body.postid-95 .sub-nav a { padding: 0 13px; font-size: 12px; }
      body.postid-95 .course-grid { grid-template-columns: 1fr; }
    }
    @media (max-width:900px) {
      body.postid-95 .patch-lead,
      body.postid-95 .info-layout,
      body.postid-95 .gallery-pair,
      body.postid-95 .patch-contact { grid-template-columns: 1fr; }
      body.postid-95 .patch-photo,
      body.postid-95 .patch-photo img { min-height: 420px; }
      body.postid-95 .section-head { display: block; }
      body.postid-95 .section-head p { margin-top: 16px; max-width: none; }
      body.postid-95 .patch-contact-actions,
      body.postid-95 .patch-contact a { width: 100%; }
    }
    @media (max-width:800px) {
      body.postid-95 .sub-header { height: 70px; }
      body.postid-95 .sub-header-inner { width: calc(100% - 32px); }
      body.postid-95 .sub-logo { min-width: 0; gap: 6px; }
      body.postid-95 .sub-logo-mark { width: 42px; height: 37px; }
      body.postid-95 .sub-logo-mark img { height: 37px; }
      body.postid-95 .sub-logo-title { height: 32px; }
      body.postid-95 .sub-logo-company { display: none; }
      body.postid-95 .sub-menu-button { display: block; }
      body.postid-95 .sub-nav { position: fixed; top: 70px; right: 0; left: 0; display: flex; height: calc(100vh - 70px); margin: 0; padding: 24px; background: rgba(15,13,12,.98); flex-direction: column; opacity: 0; visibility: hidden; transform: translateY(-10px); transition: .25s; }
      body.postid-95 .sub-nav a { display: flex; height: 58px; padding: 0 8px; border-bottom: 1px solid rgba(255,255,255,.12); font-size: 14px; }
      body.postid-95 .sub-nav a::after { display: none; }
      body.postid-95 .sub-header.is-open .sub-nav { opacity: 1; visibility: visible; transform: none; }
      body.postid-95 .sub-header.is-open .sub-menu-button span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
      body.postid-95 .sub-header.is-open .sub-menu-button span:nth-child(2) { opacity: 0; }
      body.postid-95 .sub-header.is-open .sub-menu-button span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
    }
    @media (max-width:560px) {
      body.postid-95 .patchwork-title { min-height: 145px; }
      body.postid-95 .breadcrumb,
      body.postid-95 .patch-main { width: calc(100% - 32px); }
      body.postid-95 .patch-main { padding: 54px 0 80px; }
      body.postid-95 .patch-lead h2 { font-size: 29px; }
      body.postid-95 .patch-lead p { font-size: 15px; }
      body.postid-95 .patch-actions a { width: 100%; }
      body.postid-95 .patch-photo,
      body.postid-95 .patch-photo img { min-height: 330px; }
      body.postid-95 .patch-section { margin-top: 68px; }
      body.postid-95 .course-card,
      body.postid-95 .class-note,
      body.postid-95 .patch-contact { padding: 28px 22px; }
      body.postid-95 .class-table th,
      body.postid-95 .class-table td { display: block; width: 100%; }
      body.postid-95 .class-table th { padding: 11px 14px; border-bottom: 0; }
      body.postid-95 .class-table td { padding: 14px; }
      body.postid-95 .gallery-pair img { height: 260px; }
    }

/* Lesson detail top spacing */
body.postid-95 .patch-main {
  padding-top: 15px;
}

@media (max-width: 560px) {
  body.postid-95 .patch-main {
    padding-top: 10px;
  }
}

/* Lesson detail main title size */
body.postid-95 .patch-lead h2 {
  font-size: clamp(26px, 3.1vw, 42px);
  line-height: 1.45;
}

@media (max-width: 560px) {
  body.postid-95 .patch-lead h2 {
    font-size: 24px;
  }
}

/* Lesson detail heading sizes */
body.postid-95 .section-head h2 {
  font-size: clamp(23px, 2.5vw, 34px);
}

body.postid-95 .course-card h3 {
  font-size: 19px;
}

body.postid-95 .class-note h3 {
  font-size: 21px;
}

body.postid-95 .patch-contact h2 {
  font-size: clamp(22px, 2.4vw, 30px);
}

@media (max-width: 560px) {
  body.postid-95 .section-head h2 {
    font-size: 22px;
  }

  body.postid-95 .course-card h3,
  body.postid-95 .class-note h3 {
    font-size: 19px;
  }

  body.postid-95 .patch-contact h2 {
    font-size: 21px;
  }
}
