/* v3 EDITORIAL (magazine index): headings set between two long rules, a strong 2px green rule opening each section,
   readings + videos as an index of rows (small photo left, words right) so the whole list fits in a few swipes. */
@media (max-width:768px){body.deco-top main.hm .hero:not(.hero--founder){aspect-ratio:auto!important;min-height:100vw!important}}

body.deco-top main.hm :is(.doors,.tev-sec,.strawberry-jam-feature,.readings-sec,.videos-sec){background:#fff!important;margin:0!important;padding:64px 0 64px!important}
body.deco-top main.hm .strawberry-jam-feature{background:#e7f1f7!important}
body.deco-top main.hm .videos-sec{background:#e7f1f7!important}

/* heading between rules:  ——— 最新の読みもの ——— */
body.deco-top main.hm :is(.sec-title,.sj-feature-title,.door-title,.faq-feature-eyebrow){display:flex!important;align-items:center;gap:16px;justify-content:center;color:#2f5d34!important;font-size:22px!important;line-height:1.5!important;letter-spacing:.1em!important;text-align:center!important;margin:0!important}
body.deco-top main.hm :is(.sec-title,.sj-feature-title,.door-title,.faq-feature-eyebrow):before,
body.deco-top main.hm :is(.sec-title,.sj-feature-title,.door-title,.faq-feature-eyebrow):after{content:"";flex:1 1 0;min-width:20px;height:1px;background:#2f5d34;opacity:.45}
body.deco-top main.hm .faq-feature-eyebrow{color:#fff!important}
body.deco-top main.hm .faq-feature-eyebrow:before,body.deco-top main.hm .faq-feature-eyebrow:after{background:#fff;opacity:.6}
body.deco-top main.hm .sec-head{margin:0 0 32px!important;padding:0 20px}
body.deco-top main.hm :is(.tev-sec,.readings-sec,.videos-sec,.strawberry-jam-feature-inner){border-top:0}
body.deco-top main.hm :is(.tev-sec,.readings-sec,.videos-sec,.strawberry-jam-feature,.doors){box-shadow:inset 0 2px 0 #2f5d34}

/* doors: a lead paragraph, the first lines a touch larger */
body.deco-top main.hm .doors{padding:56px 20px 64px!important}
body.deco-top main.hm .doors-inner{max-width:680px!important;margin:0 auto!important;padding:0!important}
body.deco-top main.hm .door{display:block!important;background:none!important;border:0!important;box-shadow:none!important;padding:0!important;text-decoration:none!important}
body.deco-top main.hm .door-title{margin-bottom:28px!important}
body.deco-top main.hm .door-sub{color:#2f5d34!important;opacity:.75;font-size:13px!important;line-height:1.8!important;margin:0 0 18px!important;text-align:center!important}
body.deco-top main.hm .door-desc{font-size:15px!important;line-height:2!important;text-align:left!important;margin:0 0 14px!important;color:#2f5d34;padding-left:16px;border-left:2px solid #e7f1f7}
body.deco-top main.hm .door-desc:first-of-type{font-size:17px!important;border-left-color:#2f5d34}
body.deco-top main.hm .door-cta-wrap{margin-top:28px!important;text-align:center!important}

/* links: small caps-like spacing with a › glyph drawn as a border chevron */
body.deco-top main.hm :is(.door-cta,.faq-feature-cta){display:inline-block;font-size:15px!important;letter-spacing:.14em!important;padding:12px 28px!important;border:1px solid currentColor!important;text-decoration:none!important;border-radius:0}
body.deco-top main.hm :is(.tev-more,.readings-more,.videos-more,.sj-archive-link){margin-top:36px!important;text-align:center!important;padding:0 20px}

/* FAQ: a green pull-quote panel */
body.deco-top main.hm .hm-faq{background:#2f5d34!important;padding:64px 24px!important;margin:0!important}
body.deco-top main.hm .faq-feature-inner{max-width:680px;margin:0 auto}
body.deco-top main.hm .faq-feature-eyebrow{margin:0 0 36px!important}
body.deco-top main.hm .faq-feature-quote{font-size:21px!important;line-height:1.9!important;letter-spacing:.06em!important;margin:0 0 20px!important;padding:0 0 0 20px!important;border:0!important;border-left:2px solid #e7f1f7!important;text-align:left!important}
body.deco-top main.hm .faq-feature-by{text-align:right!important;font-size:13px!important;letter-spacing:.1em!important;opacity:.85}
body.deco-top main.hm .faq-feature-cta{color:#fff!important;margin-top:32px!important}
body.deco-top main.hm .hm-faq .faq-feature-inner{text-align:center}
body.deco-top main.hm .hm-faq .faq-feature-quote,body.deco-top main.hm .hm-faq .faq-feature-by{text-align:left}
body.deco-top main.hm .hm-faq .faq-feature-by{text-align:right!important}

/* events: date column + title, hairline rows */
body.deco-top main.hm .tev-list{list-style:none!important;max-width:880px!important;margin:0 auto!important;padding:0 20px!important}
body.deco-top main.hm .tev-row{border:0!important;border-bottom:1px solid #cfdde6!important;margin:0!important;padding:0!important;background:none!important}
body.deco-top main.hm .tev-row:first-child{border-top:1px solid #2f5d34!important}
body.deco-top main.hm .tev-a{position:relative;display:block!important;padding:20px 36px 20px 0!important;text-align:left!important;text-decoration:none!important}
body.deco-top main.hm .tev-a:after{content:"";position:absolute;right:6px;top:50%;width:8px;height:8px;margin-top:-4px;border-top:1px solid #2f5d34;border-right:1px solid #2f5d34;transform:rotate(45deg)}
body.deco-top main.hm .tev-date{display:inline-block;font-size:12px!important;letter-spacing:.06em!important;line-height:1.6!important;text-align:left!important;color:#2f5d34;background:#e7f1f7;padding:3px 10px;margin:0 0 10px!important}
body.deco-top main.hm .tev-t{font-size:18px!important;letter-spacing:.06em!important;line-height:1.5!important;text-align:left!important;color:#2f5d34!important;margin:0!important}
body.deco-top main.hm .tev-a .hpp-lang-set{justify-content:flex-start!important;text-align:left!important;margin:0 0 8px!important}

/* Strawberry Jam: two-line intro, shorts as a strip */
body.deco-top main.hm .strawberry-jam-feature-inner{max-width:none!important;padding:0!important;margin:0!important}
body.deco-top main.hm .sj-feature-eyebrow{text-align:center!important;font-size:12px!important;letter-spacing:.3em!important;margin:0 0 12px!important}
body.deco-top main.hm .sj-feature-title{margin:0 0 28px!important;padding:0 20px}
body.deco-top main.hm .sj-feature-desc{max-width:680px;margin:0 auto 14px!important;padding:0 20px;font-size:15px!important;line-height:2!important;text-align:left!important}
body.deco-top main.hm .sj-shorts{margin:32px auto 0!important;padding:0!important;max-width:none!important;width:100%!important}
body.deco-top main.hm .sj-shorts-head{padding:0 20px;max-width:1200px;margin:0 auto 12px!important;border-bottom:1px solid #2f5d34;padding-bottom:8px!important;width:calc(100% - 40px);box-sizing:border-box}
body.deco-top main.hm .sj-shorts-track{display:flex!important;gap:10px!important;overflow-x:auto!important;scroll-snap-type:x mandatory;padding:0 20px 4px!important;scroll-padding:0 20px;scrollbar-width:none;margin:0!important}
body.deco-top main.hm .sj-shorts-track::-webkit-scrollbar{display:none}
body.deco-top main.hm .sj-short{flex:0 0 38%!important;max-width:200px;scroll-snap-align:start;background:none!important;text-decoration:none!important;display:flex!important;flex-direction:column}
body.deco-top main.hm .sj-short-frame{border-radius:0!important;margin:0 0 8px!important}
body.deco-top main.hm .sj-short-t{display:block;padding:0!important;font-size:12px!important;line-height:1.6!important;color:#2f5d34}
body.deco-top main.hm .sj-feature-card{display:grid!important;grid-template-columns:minmax(0,1fr);max-width:680px;margin:36px auto 0!important;width:calc(100% - 40px)!important;background:#fff!important;border-top:2px solid #2f5d34!important;text-align:left!important;padding:0 0 20px!important;text-decoration:none!important;border-radius:0!important;box-shadow:none!important}
body.deco-top main.hm .sj-feature-card .ec-thumb{aspect-ratio:1200/630;margin:0 0 16px!important;border-radius:0!important}
body.deco-top main.hm .sj-feature-card :is(.ec-title,.ec-meta){padding:0 16px}
body.deco-top main.hm .sj-feature-card .ec-cta{justify-self:center;display:inline-block;margin-top:14px;border:1px solid #2f5d34!important;padding:10px 28px!important;letter-spacing:.12em}

/* readings / videos: an index — photo left, title + teacher right, hairline between rows */
body.deco-top main.hm .rh-home-grid{max-width:880px;margin:0 auto!important;padding:0 20px!important;grid-template-columns:minmax(0,1fr)!important;gap:0!important}
body.deco-top main.hm .rh-card{display:grid!important;grid-template-columns:42% minmax(0,1fr);grid-template-rows:auto 1fr;column-gap:14px;align-items:start;padding:16px 0!important;border:0!important;border-bottom:1px solid #cfdde6!important;border-radius:0!important;background:none!important;box-shadow:none!important;text-decoration:none!important}
body.deco-top main.hm .rh-card:first-child{border-top:1px solid #2f5d34!important}
body.deco-top main.hm .rh-card :is(.r-thumb,.v-thumb){grid-row:1 / span 2;aspect-ratio:1200/630;overflow:hidden;border-radius:0!important;margin:0!important;background:#e7f1f7}
body.deco-top main.hm .rh-card :is(.r-img,.v-img){width:100%!important;height:100%!important;object-fit:cover!important;display:block}
body.deco-top main.hm .rh-card :is(.r-title,.v-title){padding:0!important;margin:0 0 6px!important;font-size:14px!important;line-height:1.6!important;letter-spacing:.03em!important;color:#2f5d34!important;text-align:left!important}
body.deco-top main.hm .rh-card .r-teacher{padding:0!important;font-size:11px!important;line-height:1.6!important;letter-spacing:.04em!important;text-align:left!important;opacity:.75}
/* the newest video leads full width */
body.deco-top main.hm :is(.readings-sec,.videos-sec) .rh-card:first-child{grid-template-columns:minmax(0,1fr);grid-template-rows:auto;row-gap:12px;padding-top:20px!important}
body.deco-top main.hm :is(.readings-sec,.videos-sec) .rh-card:first-child :is(.r-thumb,.v-thumb){grid-row:auto}
body.deco-top main.hm :is(.readings-sec,.videos-sec) .rh-card:first-child :is(.r-title,.v-title){font-size:18px!important}

/* footer */
body.deco-top .foot{padding-top:56px!important;border-top:2px solid #2f5d34}
body.deco-top .foot-news{border-top:1px solid #cfdde6;border-bottom:1px solid #cfdde6;padding:28px 0 24px!important;margin-bottom:40px!important}

@media (min-width:769px){
  body.deco-top main.hm :is(.doors,.tev-sec,.strawberry-jam-feature,.readings-sec,.videos-sec,.hm-faq){padding-top:96px!important;padding-bottom:96px!important}
  body.deco-top main.hm :is(.sec-title,.sj-feature-title,.door-title,.faq-feature-eyebrow){font-size:28px!important;max-width:880px;margin:0 auto!important}
  body.deco-top main.hm .sec-head{margin-bottom:44px!important}
  body.deco-top main.hm .door-desc{font-size:16px!important}
  body.deco-top main.hm .door-desc:first-of-type{font-size:19px!important}
  body.deco-top main.hm .faq-feature-quote{font-size:24px!important}
  body.deco-top main.hm .tev-a{display:grid!important;grid-template-columns:300px minmax(0,1fr);align-items:center;column-gap:24px;padding:26px 40px 26px 0!important}
  body.deco-top main.hm .tev-a .hpp-lang-set{grid-column:2}
  body.deco-top main.hm .tev-date{margin:0!important;justify-self:start}
  body.deco-top main.hm .tev-t{font-size:20px!important;grid-column:2}
  body.deco-top main.hm .tev-a .tev-date{grid-column:1;grid-row:1 / span 2}
  body.deco-top main.hm .rh-card{grid-template-columns:200px minmax(0,1fr);column-gap:20px;padding:20px 0!important}
  body.deco-top main.hm .rh-card :is(.r-title,.v-title){font-size:16px!important}
  body.deco-top main.hm :is(.readings-sec,.videos-sec) .rh-home-grid{max-width:1080px;grid-template-columns:minmax(0,3fr) minmax(0,2fr)!important;column-gap:40px!important}
  body.deco-top main.hm :is(.readings-sec,.videos-sec) .rh-card:first-child{grid-row:1 / span 2;border-bottom:0!important}
  body.deco-top main.hm :is(.readings-sec,.videos-sec) .rh-card:nth-child(2){border-top:1px solid #2f5d34!important}
  body.deco-top main.hm :is(.readings-sec,.videos-sec) .rh-card:not(:first-child){grid-template-columns:160px minmax(0,1fr)}
  body.deco-top main.hm .sj-shorts{max-width:1136px!important}
  body.deco-top main.hm .sj-shorts-head{width:auto;margin:0 32px 14px!important}
  body.deco-top main.hm .sj-shorts-track{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px!important;overflow:visible!important;padding:0 32px 4px!important}
  body.deco-top main.hm .sj-short{max-width:none!important}
  body.deco-top .foot-news{max-width:680px;margin-left:auto!important;margin-right:auto!important}
}

body.deco-top main.hm .readings-sec .rh-card:nth-child(n+4){display:none!important}
@media (max-width:768px){
  body.deco-top main.hm :is(.readings-sec,.videos-sec){padding:36px 0 36px!important}
  body.deco-top main.hm :is(.readings-sec,.videos-sec) .sec-head{margin-bottom:16px!important}
  body.deco-top main.hm :is(.readings-sec,.videos-sec) .rh-card{padding:12px 0!important}
  body.deco-top main.hm :is(.readings-sec,.videos-sec) .rh-card:first-child{padding-top:14px!important;row-gap:8px}
  body.deco-top main.hm :is(.readings-sec,.videos-sec) .rh-card:first-child :is(.r-title,.v-title){font-size:17px!important;margin-bottom:2px!important}
  body.deco-top main.hm :is(.readings-sec,.videos-sec) :is(.readings-more,.videos-more){margin-top:18px!important}
}
