/*
Theme Name: Spiritual MyLife Cocoon Child
Theme URI: https://spiritual-mylife.com/
Description: spiritual-mylife.com専用。Cocoonを親テーマとして、回遊性・CTA・トップページの統一感を強化した子テーマです。
Author: Spiritual MyLife
Version: 3.4.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Template: cocoon-master
Text Domain: spiritual-mylife-child
*/

:root {
  --sm-ink: #211c2c;
  --sm-ink-2: #342d43;
  --sm-muted: #756f7d;
  --sm-main: #5d4b78;
  --sm-main-deep: #2d263c;
  --sm-main-soft: #8d78a6;
  --sm-plum: #6d4669;
  --sm-gold: #c3a36a;
  --sm-gold-soft: #e8d8b7;
  --sm-ivory: #fbf8f2;
  --sm-bg: #f6f2f7;
  --sm-soft: #eee8f2;
  --sm-line: #dfd8e2;
  --sm-line-dark: rgba(255,255,255,.14);
  --sm-white: #fff;
  --sm-shadow: 0 22px 70px rgba(43, 34, 56, .10);
  --sm-shadow-strong: 0 30px 90px rgba(34, 27, 45, .17);
  --sm-radius-lg: 30px;
  --sm-radius: 20px;
  --sm-shell: 1200px;
}

html { scroll-behavior: smooth; }
body { color: var(--sm-ink); }
body.sm-is-front { background: var(--sm-ivory); }
body.sm-is-front #content,
body.sm-is-front .content,
body.sm-is-front .content-in,
body.sm-is-front #main,
body.sm-is-front main.main { max-width: none !important; width: 100% !important; flex: 1 1 100% !important; margin: 0 !important; padding: 0 !important; background: transparent !important; border: 0 !important; box-shadow: none !important; }
body.sm-is-front #sidebar,
body.sm-is-front .sidebar,
body.sm-is-front #appeal,
body.sm-is-front .appeal,
body.sm-is-front .recommended-cards,
body.sm-is-front .carousel,
body.sm-is-front #content-top,
body.sm-is-front .breadcrumb,
body.sm-is-front .breadcrumbs,
body.sm-is-front .eye-catch,
body.sm-is-front .date-tags,
body.sm-is-front .article-header { display: none !important; }

.sm-front { overflow: clip; }
.sm-front *, .sm-inline-cta *, .sm-next-read *, .sm-sticky-cta * { box-sizing: border-box; }
.sm-front a, .sm-inline-cta a, .sm-next-read a, .sm-sticky-cta a { text-decoration: none; }
.sm-shell { width: min(calc(100% - 44px), var(--sm-shell)); margin-inline: auto; }
.sm-front :focus-visible, .sm-inline-cta :focus-visible, .sm-next-read :focus-visible, .sm-sticky-cta :focus-visible { outline: 3px solid rgba(195,163,106,.55); outline-offset: 3px; }
.sm-kicker { margin: 0 0 14px; color: var(--sm-main-soft); font-size: 11px; font-weight: 800; letter-spacing: .22em; }
.sm-section { padding: 112px 0; scroll-margin-top: 90px; }
.sm-section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 480px); align-items: end; gap: 70px; margin-bottom: 46px; }
.sm-section-head h2 { margin: 0; color: var(--sm-ink); font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: clamp(32px, 4.4vw, 52px); font-weight: 600; line-height: 1.35; letter-spacing: -.035em; }
.sm-section-head h2 em { color: var(--sm-plum); font-style: normal; }
.sm-section-head > p { margin: 0; color: var(--sm-muted); font-size: 14px; line-height: 2; }
.sm-section-head--dark h2, .sm-section-head--dark > p { color: #fff; }
.sm-section-head--dark > p { color: rgba(255,255,255,.62); }
.sm-section-head--dark .sm-kicker { color: var(--sm-gold-soft); }

.sm-button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 56px; border-radius: 999px; font-weight: 800; transition: transform .25s ease, box-shadow .25s ease, background .25s ease; }
.sm-button--primary { padding: 14px 24px; background: var(--sm-main-deep); color: #fff !important; box-shadow: 0 14px 34px rgba(45,38,60,.20); }
.sm-button--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 42px rgba(45,38,60,.28); }
.sm-button--text { padding: 14px 4px; color: var(--sm-ink) !important; }
.sm-button--text:hover { color: var(--sm-main) !important; }
.sm-button--gold { min-width: 260px; padding: 16px 22px; background: var(--sm-gold); color: #211a28 !important; box-shadow: 0 15px 40px rgba(0,0,0,.16); }
.sm-button--gold:hover { transform: translateY(-2px); background: #d0b178; }
.sm-button--compact { min-height: 44px; padding: 10px 16px; background: var(--sm-main-deep); color: #fff !important; font-size: 13px; }

/* Cocoon header: quiet luxury, not a boxed app bar. */
.header-container { border-bottom: 1px solid rgba(50,42,62,.08); background: rgba(255,253,249,.94); backdrop-filter: blur(18px); }
.header-container-in.hlt-top-menu { max-width: var(--sm-shell); }
.logo-header img { max-height: 54px; width: auto; }
.navi, .navi-in > ul { background: transparent; }
.navi-in > ul > li > a { color: var(--sm-ink); font-size: 13px; font-weight: 700; letter-spacing: .02em; }
.navi-in > ul > li > a:hover { color: var(--sm-plum); background: transparent; }

/* Hero */
.sm-hero { position: relative; padding: 96px 0 88px; background: linear-gradient(145deg, #fffdfa 0%, #f5eff5 54%, #eee7f0 100%); }
.sm-hero::before { content: ""; position: absolute; inset: 0; opacity: .35; pointer-events: none; background-image: radial-gradient(circle at 1px 1px, rgba(63,52,75,.14) 1px, transparent 0); background-size: 28px 28px; mask-image: linear-gradient(90deg, #000, transparent 64%); }
.sm-hero__glow { position: absolute; border-radius: 50%; filter: blur(2px); pointer-events: none; }
.sm-hero__glow--one { right: -140px; top: -170px; width: 520px; height: 520px; background: radial-gradient(circle, rgba(125,93,139,.19), transparent 66%); }
.sm-hero__glow--two { left: 38%; bottom: -230px; width: 520px; height: 520px; background: radial-gradient(circle, rgba(220,192,148,.18), transparent 66%); }
.sm-hero__layout { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(340px, .72fr); align-items: center; gap: clamp(50px, 7vw, 100px); }
.sm-editorial-label { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; color: #776d7d; font-size: 10px; font-weight: 800; letter-spacing: .18em; }
.sm-editorial-label i { width: 52px; height: 1px; background: var(--sm-gold); }
.sm-hero h1 { max-width: 800px; margin: 0; color: var(--sm-ink); font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: clamp(42px, 5.7vw, 72px); font-weight: 600; line-height: 1.32; letter-spacing: -.055em; }
.sm-hero__lead { max-width: 720px; margin: 24px 0 0; color: #68616e; font-size: 16px; line-height: 2.05; }
.sm-hero__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 34px; }
.sm-trust-row { display: flex; flex-wrap: wrap; gap: 20px 28px; margin-top: 28px; color: #746e77; font-size: 11px; }
.sm-trust-row span { display: inline-flex; align-items: baseline; gap: 6px; }
.sm-trust-row b { color: var(--sm-plum); font-size: 10px; letter-spacing: .08em; }
.sm-search { display: grid; grid-template-columns: auto 1fr auto; align-items: center; max-width: 680px; margin-top: 32px; border-bottom: 1px solid #bdb2bf; }
.sm-search__icon { color: var(--sm-plum); font-size: 22px; }
.sm-search input { min-width: 0; height: 48px; padding: 0 13px; border: 0 !important; background: transparent !important; box-shadow: none !important; color: var(--sm-ink); font-size: 14px; }
.sm-search button { min-width: 78px; height: 38px; padding: 0; border: 0; background: transparent; color: var(--sm-ink); font-size: 12px; font-weight: 800; cursor: pointer; }

.sm-hero-feature { position: relative; padding: 22px; border: 1px solid rgba(255,255,255,.45); border-radius: 34px; background: linear-gradient(150deg, #342b42 0%, #4a3650 58%, #6b4a61 100%); box-shadow: var(--sm-shadow-strong); color: #fff; overflow: hidden; }
.sm-hero-feature::before { content: ""; position: absolute; right: -120px; top: -100px; width: 300px; height: 300px; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; box-shadow: 0 0 0 34px rgba(255,255,255,.025), 0 0 0 68px rgba(255,255,255,.018); }
.sm-hero-feature__top { position: relative; z-index: 2; display: flex; justify-content: space-between; padding-bottom: 18px; border-bottom: 1px solid var(--sm-line-dark); color: rgba(255,255,255,.52); font-size: 9px; font-weight: 800; letter-spacing: .18em; }
.sm-hero-feature__main { position: relative; z-index: 2; display: block; padding: 46px 22px 32px; color: #fff !important; }
.sm-hero-feature__symbol { position: absolute; right: 10px; top: 24px; color: rgba(236,217,178,.18); font-family: serif; font-size: 110px; line-height: 1; }
.sm-hero-feature__eyebrow { display: block; color: var(--sm-gold-soft); font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.sm-hero-feature__main strong { display: block; max-width: 300px; margin-top: 9px; font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: clamp(26px, 3vw, 36px); font-weight: 600; line-height: 1.4; }
.sm-hero-feature__main p { max-width: 320px; margin: 14px 0 0; color: rgba(255,255,255,.67); font-size: 12px; line-height: 1.9; }
.sm-hero-feature__cta { display: flex; align-items: center; justify-content: space-between; margin-top: 30px; padding-top: 17px; border-top: 1px solid var(--sm-line-dark); color: #fff; font-size: 13px; font-weight: 800; }
.sm-hero-feature__mini { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--sm-line-dark); }
.sm-hero-feature__mini a { display: grid; grid-template-columns: 24px 1fr auto; align-items: center; gap: 9px; min-height: 68px; padding: 10px 12px; color: rgba(255,255,255,.82) !important; font-size: 11px; }
.sm-hero-feature__mini a:first-child { border-right: 1px solid var(--sm-line-dark); }
.sm-hero-feature__mini a span { color: var(--sm-gold-soft); }
.sm-hero-feature__mini a i { font-style: normal; opacity: .55; }

/* Intent strip */
.sm-intent { position: relative; z-index: 4; padding: 0 0 26px; background: #fffdfa; }
.sm-intent .sm-shell { transform: translateY(-28px); }
.sm-intent__head { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 16px; }
.sm-intent__head p { margin: 0; color: var(--sm-ink); font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: 16px; font-weight: 600; }
.sm-intent__head p span { margin-right: 12px; color: var(--sm-main-soft); font-family: sans-serif; font-size: 9px; font-weight: 800; letter-spacing: .16em; }
.sm-intent__head > a { color: var(--sm-main) !important; font-size: 11px; font-weight: 800; }
.sm-intent__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border: 1px solid var(--sm-line); border-radius: 20px; background: #fff; box-shadow: 0 16px 55px rgba(50,41,59,.07); overflow: hidden; }
.sm-intent-card { position: relative; min-height: 164px; padding: 22px 18px 18px; border-right: 1px solid var(--sm-line); color: var(--sm-ink) !important; transition: background .2s ease; }
.sm-intent-card:last-child { border-right: 0; }
.sm-intent-card:hover { background: #f7f2f7; }
.sm-intent-card__num { display: block; color: #a79da9; font-size: 9px; font-weight: 800; letter-spacing: .1em; }
.sm-intent-card__mark { display: block; min-height: 40px; margin-top: 14px; color: var(--sm-plum); font-family: serif; font-size: 28px; line-height: 1; }
.sm-intent-card strong { display: block; margin-top: 9px; font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: 14px; line-height: 1.5; }
.sm-intent-card small { display: block; margin-top: 6px; color: #9a929d; font-size: 9px; letter-spacing: .08em; }
.sm-intent-card > i { position: absolute; right: 15px; top: 17px; color: #aba2ad; font-style: normal; font-size: 11px; }

/* Sticky editorial jump navigation */
.sm-jump-nav { position: sticky; top: 0; z-index: 30; border-block: 1px solid rgba(49,41,59,.08); background: rgba(255,253,249,.94); backdrop-filter: blur(18px); }
.admin-bar .sm-jump-nav { top: 32px; }
.sm-jump-nav__inner { display: grid; grid-template-columns: repeat(5, 1fr); }
.sm-jump-nav a { display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 54px; border-right: 1px solid rgba(49,41,59,.08); color: #4b4450 !important; font-size: 11px; font-weight: 800; }
.sm-jump-nav a:first-child { border-left: 1px solid rgba(49,41,59,.08); }
.sm-jump-nav a span { color: var(--sm-gold); font-size: 9px; letter-spacing: .1em; }

/* Diagnosis */
.sm-section--diagnosis { background: #fffdfa; }
.sm-diagnosis-showcase { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(400px, .92fr); gap: 18px; }
.sm-diagnosis-lead { position: relative; display: grid; grid-template-columns: 44% 56%; min-height: 480px; border-radius: var(--sm-radius-lg); background: linear-gradient(145deg, #342b42, #513850 68%, #735368); color: #fff !important; box-shadow: 0 22px 60px rgba(55,41,63,.15); overflow: hidden; }
.sm-diagnosis-lead__ornament { position: relative; display: grid; place-items: center; min-height: 100%; background: radial-gradient(circle at 45% 40%, rgba(231,208,166,.17), transparent 45%); }
.sm-diagnosis-lead__ornament::before, .sm-diagnosis-lead__ornament::after { content: ""; position: absolute; left: 50%; top: 50%; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; transform: translate(-50%,-50%); }
.sm-diagnosis-lead__ornament::before { width: 220px; height: 220px; }
.sm-diagnosis-lead__ornament::after { width: 150px; height: 150px; box-shadow: 0 0 0 30px rgba(255,255,255,.025); }
.sm-diagnosis-lead__ornament span { position: relative; z-index: 2; color: var(--sm-gold-soft); font-family: serif; font-size: 90px; }
.sm-diagnosis-lead__copy { display: flex; flex-direction: column; justify-content: center; padding: 52px 48px 48px 28px; }
.sm-badge { align-self: flex-start; padding: 6px 10px; border: 1px solid rgba(232,216,183,.35); border-radius: 999px; color: var(--sm-gold-soft); font-size: 8px; font-weight: 800; letter-spacing: .14em; }
.sm-diagnosis-lead__copy > p { margin: 22px 0 0; color: rgba(255,255,255,.58); font-size: 10px; font-weight: 800; letter-spacing: .1em; }
.sm-diagnosis-lead__copy h3 { margin: 8px 0 0; color: #fff; font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: clamp(30px, 4vw, 44px); font-weight: 600; line-height: 1.35; }
.sm-diagnosis-lead__copy > div { margin-top: 17px; color: rgba(255,255,255,.68); font-size: 13px; line-height: 1.95; }
.sm-diagnosis-lead__copy > strong { display: flex; align-items: center; justify-content: space-between; margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--sm-line-dark); color: #fff; font-size: 13px; }
.sm-diagnosis-quick { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.sm-diagnosis-quick__card { position: relative; min-height: 231px; padding: 24px; border: 1px solid var(--sm-line); border-radius: 24px; background: #fff; color: var(--sm-ink) !important; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.sm-diagnosis-quick__card:hover { transform: translateY(-4px); border-color: #c9bccd; box-shadow: var(--sm-shadow); }
.sm-diagnosis-quick__index { color: #aaa0ab; font-size: 9px; font-weight: 800; letter-spacing: .1em; }
.sm-diagnosis-quick__mark { display: block; margin-top: 24px; color: var(--sm-plum); font-family: serif; font-size: 34px; }
.sm-diagnosis-quick__card div { margin-top: 22px; }
.sm-diagnosis-quick__card small { display: block; color: #938a96; font-size: 9px; font-weight: 800; }
.sm-diagnosis-quick__card strong { display: block; margin-top: 5px; font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: 18px; line-height: 1.5; }
.sm-diagnosis-quick__card > i { position: absolute; right: 20px; top: 20px; color: #9f929e; font-style: normal; }
.sm-diagnosis-more { margin-top: 28px; padding-top: 26px; border-top: 1px solid var(--sm-line); }
.sm-diagnosis-more__head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 15px; }
.sm-diagnosis-more__head span { color: var(--sm-main-soft); font-size: 9px; font-weight: 800; letter-spacing: .16em; }
.sm-diagnosis-more__head b { font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: 15px; }
.sm-diagnosis-more__grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--sm-line); border-left: 1px solid var(--sm-line); }
.sm-diagnosis-more__grid a { display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 8px; min-height: 72px; padding: 12px 14px; border-right: 1px solid var(--sm-line); border-bottom: 1px solid var(--sm-line); background: #fff; color: var(--sm-ink) !important; }
.sm-diagnosis-more__grid a:hover { background: #f8f3f7; }
.sm-diagnosis-more__grid a > span { color: var(--sm-plum); font-family: serif; font-size: 20px; }
.sm-diagnosis-more__grid a b { font-size: 12px; line-height: 1.45; }
.sm-diagnosis-more__grid a i { color: #9b929c; font-style: normal; font-size: 11px; }

/* Featured editorial */
.sm-section--featured { background: #f1ebf1; }
.sm-feature-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(380px, .8fr); gap: 26px; }
.sm-feature-lead { position: relative; min-height: 610px; border-radius: var(--sm-radius-lg); color: #fff !important; overflow: hidden; box-shadow: 0 22px 60px rgba(39,31,45,.12); }
.sm-feature-lead figure { position: absolute; inset: 0; margin: 0; }
.sm-media-image { width: 100%; height: 100%; object-fit: cover; }
.sm-media-fallback { display: grid; width: 100%; height: 100%; place-items: center; align-content: center; gap: 12px; background: linear-gradient(145deg, #67536f, #352d41); color: rgba(255,255,255,.75); text-align: center; }
.sm-media-fallback i { color: var(--sm-gold-soft); font-size: 40px; font-style: normal; }
.sm-media-fallback b { font-size: 10px; letter-spacing: .18em; line-height: 1.6; }
.sm-feature-lead__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30,24,35,.08) 15%, rgba(30,24,35,.88) 100%); }
.sm-feature-lead__copy { position: absolute; z-index: 2; inset: auto 0 0; padding: 42px; }
.sm-feature-lead__copy > span { color: var(--sm-gold-soft); font-size: 9px; font-weight: 800; letter-spacing: .18em; }
.sm-feature-lead__copy > small { display: inline-block; margin-left: 12px; padding: 4px 8px; border-radius: 999px; background: rgba(255,255,255,.14); color: #fff; font-size: 9px; }
.sm-feature-lead__copy h3 { max-width: 720px; margin: 14px 0 0; color: #fff; font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: clamp(27px, 3.6vw, 42px); font-weight: 600; line-height: 1.45; }
.sm-feature-lead__copy p { max-width: 680px; margin: 14px 0 0; color: rgba(255,255,255,.69); font-size: 12px; line-height: 1.85; }
.sm-feature-lead__copy b { display: inline-flex; gap: 18px; margin-top: 22px; font-size: 11px; letter-spacing: .08em; }
.sm-feature-side { display: flex; flex-direction: column; border-top: 1px solid #d1c7d1; }
.sm-feature-row { display: grid; grid-template-columns: 150px 1fr auto; align-items: center; gap: 20px; flex: 1; padding: 18px 0; border-bottom: 1px solid #d1c7d1; color: var(--sm-ink) !important; }
.sm-feature-row figure { height: 124px; margin: 0; border-radius: 14px; overflow: hidden; }
.sm-feature-row div > span { color: var(--sm-main-soft); font-size: 9px; font-weight: 800; letter-spacing: .1em; }
.sm-feature-row div > small { margin-left: 9px; color: #8a818c; font-size: 9px; }
.sm-feature-row strong { display: block; margin-top: 7px; font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: 15px; line-height: 1.65; }
.sm-feature-row time { display: block; margin-top: 8px; color: #958d96; font-size: 9px; }
.sm-feature-row > i { color: #8b7b8a; font-style: normal; }

/* Topic hub */
.sm-section--topics { background: #fffdfa; }
.sm-topic-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--sm-line); border-left: 1px solid var(--sm-line); }
.sm-topic-card { min-height: 540px; padding: 36px; border-right: 1px solid var(--sm-line); border-bottom: 1px solid var(--sm-line); background: #fff; scroll-margin-top: 90px; }
.sm-topic-card:nth-child(4n+2), .sm-topic-card:nth-child(4n+3) { background: #faf6fa; }
.sm-topic-card__head { display: grid; grid-template-columns: 36px 64px 1fr; align-items: center; gap: 16px; }
.sm-topic-card__number { align-self: start; padding-top: 5px; color: #aaa0ab; font-size: 9px; font-weight: 800; letter-spacing: .1em; }
.sm-topic-card__mark { display: grid; width: 60px; height: 60px; place-items: center; border: 1px solid var(--sm-line); border-radius: 50%; color: var(--sm-plum); font-family: serif; font-size: 23px; }
.sm-topic-card__head small { color: var(--sm-main-soft); font-size: 8px; font-weight: 800; letter-spacing: .14em; }
.sm-topic-card__head h3 { margin: 5px 0 0; font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: clamp(20px, 2.4vw, 28px); font-weight: 600; line-height: 1.45; }
.sm-topic-card > p { margin: 24px 0 0 116px; color: var(--sm-muted); font-size: 12px; line-height: 1.9; }
.sm-topic-card__links { display: grid; grid-template-columns: 1fr 1fr; margin: 28px 0 0 116px; border-top: 1px solid var(--sm-line); }
.sm-topic-card__links a { display: flex; justify-content: space-between; gap: 10px; min-height: 48px; align-items: center; border-bottom: 1px solid var(--sm-line); color: var(--sm-ink) !important; font-size: 11px; }
.sm-topic-card__links a:nth-child(odd) { padding-right: 16px; border-right: 1px solid var(--sm-line); }
.sm-topic-card__links a:nth-child(even) { padding-left: 16px; }
.sm-topic-card__links a span { color: #aaa1ab; font-size: 9px; }
.sm-topic-card__latest { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; margin: 24px 0 0 116px; padding: 14px 0 0; color: var(--sm-ink) !important; }
.sm-topic-card__latest span { color: var(--sm-gold); font-size: 8px; font-weight: 800; letter-spacing: .12em; }
.sm-topic-card__latest strong { font-size: 11px; line-height: 1.6; }
.sm-topic-card__latest i { color: #968d98; font-style: normal; }
.sm-other-categories { margin-top: 30px; border-top: 1px solid var(--sm-line); border-bottom: 1px solid var(--sm-line); }
.sm-other-categories summary { display: flex; align-items: center; gap: 12px; min-height: 64px; cursor: pointer; list-style: none; font-size: 12px; font-weight: 800; }
.sm-other-categories summary::-webkit-details-marker { display: none; }
.sm-other-categories summary > span { color: var(--sm-main-soft); font-size: 8px; letter-spacing: .16em; }
.sm-other-categories summary i { margin-left: auto; font-style: normal; }
.sm-other-categories__grid { display: grid; grid-template-columns: repeat(4, 1fr); padding: 0 0 24px; }
.sm-other-categories__grid a { display: flex; flex-direction: column; padding: 14px; border: 1px solid var(--sm-line); margin: -1px 0 0 -1px; color: var(--sm-ink) !important; }
.sm-other-categories__grid a span { font-size: 11px; font-weight: 700; }
.sm-other-categories__grid a small { margin-top: 5px; color: #9a929c; font-size: 8px; }

/* Ranking */
.sm-section--popular { position: relative; background: linear-gradient(145deg, #272230, #3b2e3d 60%, #493447); color: #fff; }
.sm-section--popular::after { content: ""; position: absolute; right: -160px; bottom: -220px; width: 560px; height: 560px; border: 1px solid rgba(255,255,255,.05); border-radius: 50%; box-shadow: 0 0 0 70px rgba(255,255,255,.018); }
.sm-ranking-layout { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 48px; }
.sm-ranking-lead { display: grid; grid-template-columns: 46% 54%; min-height: 440px; border: 1px solid var(--sm-line-dark); color: #fff !important; }
.sm-ranking-lead figure { min-height: 440px; margin: 0; overflow: hidden; }
.sm-ranking-lead__copy { display: flex; flex-direction: column; justify-content: center; padding: 36px; }
.sm-ranking-number { color: var(--sm-gold-soft); font-family: serif; font-size: 64px; line-height: 1; }
.sm-ranking-lead__copy small { align-self: flex-start; margin-top: 24px; padding: 5px 8px; border: 1px solid var(--sm-line-dark); border-radius: 999px; color: rgba(255,255,255,.7); font-size: 8px; }
.sm-ranking-lead__copy strong { margin-top: 13px; font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: 20px; font-weight: 600; line-height: 1.65; }
.sm-ranking-lead__copy b { display: flex; justify-content: space-between; margin-top: 30px; padding-top: 17px; border-top: 1px solid var(--sm-line-dark); color: rgba(255,255,255,.78); font-size: 9px; letter-spacing: .12em; }
.sm-ranking-list { border-top: 1px solid var(--sm-line-dark); }
.sm-ranking-list a { display: grid; grid-template-columns: 58px 1fr auto; align-items: center; gap: 18px; min-height: 73px; border-bottom: 1px solid var(--sm-line-dark); color: #fff !important; }
.sm-ranking-list__number { color: var(--sm-gold-soft); font-family: serif; font-size: 22px; }
.sm-ranking-list small { display: block; color: rgba(255,255,255,.44); font-size: 8px; }
.sm-ranking-list strong { display: block; margin-top: 3px; color: rgba(255,255,255,.88); font-size: 11px; line-height: 1.55; }
.sm-ranking-list > a > i { color: rgba(255,255,255,.38); font-style: normal; }

/* New */
.sm-section--new { background: #f7f3f0; }
.sm-new-list { border-top: 1px solid #d6ced2; }
.sm-new-row { display: grid; grid-template-columns: 76px 118px 1fr auto; align-items: center; gap: 22px; min-height: 132px; border-bottom: 1px solid #d6ced2; color: var(--sm-ink) !important; }
.sm-new-row > time { color: var(--sm-plum); font-family: serif; font-size: 24px; line-height: 1; }
.sm-new-row > time small { display: block; margin-top: 5px; color: #9a919a; font-family: sans-serif; font-size: 8px; letter-spacing: .12em; }
.sm-new-row__media { display: block; width: 118px; height: 82px; border-radius: 10px; overflow: hidden; }
.sm-new-row > div small { display: block; color: var(--sm-main-soft); font-size: 9px; font-weight: 800; }
.sm-new-row > div strong { display: block; margin-top: 7px; font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: 15px; font-weight: 600; line-height: 1.6; }
.sm-new-row > i { color: #8e848e; font-style: normal; }

/* Final CTA */
.sm-final-cta { position: relative; overflow: hidden; padding: 96px 0; background: #201a29; color: #fff; }
.sm-final-cta::before { content: ""; position: absolute; inset: 0; opacity: .22; background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.18) 1px, transparent 0); background-size: 32px 32px; }
.sm-final-cta__orb { position: absolute; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; }
.sm-final-cta__orb--one { right: -180px; top: -220px; width: 560px; height: 560px; box-shadow: 0 0 0 52px rgba(255,255,255,.018), 0 0 0 104px rgba(255,255,255,.012); }
.sm-final-cta__orb--two { left: 40%; bottom: -270px; width: 520px; height: 520px; border-color: rgba(198,166,107,.09); }
.sm-final-cta__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 80px minmax(0, 1fr) auto; align-items: center; gap: 34px; }
.sm-final-cta__mark { display: grid; width: 76px; height: 76px; place-items: center; border: 1px solid rgba(232,216,183,.28); border-radius: 50%; color: var(--sm-gold-soft); font-size: 26px; }
.sm-final-cta .sm-kicker { color: var(--sm-gold-soft); }
.sm-final-cta h2 { margin: 0; color: #fff; font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: clamp(29px, 4vw, 46px); font-weight: 600; line-height: 1.45; }
.sm-final-cta h2 em { color: var(--sm-gold-soft); font-style: normal; }
.sm-final-cta p:not(.sm-kicker) { max-width: 720px; margin: 16px 0 0; color: rgba(255,255,255,.58); font-size: 12px; line-height: 1.9; }

/* Sitewide Cocoon component normalization */
.breadcrumb, .breadcrumbs { color: var(--sm-muted); font-size: 11px; }
.sidebar .widget { margin-bottom: 20px; padding: 20px; border: 1px solid var(--sm-line); border-radius: 18px; background: #fff; box-shadow: none; }
.sidebar .widget h3 { margin: 0 0 14px !important; padding: 0 0 11px !important; border: 0 !important; border-bottom: 1px solid var(--sm-line) !important; background: transparent !important; color: var(--sm-ink) !important; font-size: 15px !important; }
.sidebar .widget a { color: var(--sm-ink); }
.sidebar .widget a:hover { color: var(--sm-main); }
.toc { border: 1px solid var(--sm-line) !important; border-radius: 18px !important; background: #fbf9fd !important; box-shadow: none !important; }
.toc-title { color: var(--sm-ink); font-weight: 800; }
.toc a { color: var(--sm-main); }

/* Article readability */
.sm-is-article .article h2 { scroll-margin-top: 90px; margin-top: 2.9em; padding: .9em 1em .8em; border: 0; border-top: 1px solid var(--sm-line); border-bottom: 1px solid var(--sm-line); border-radius: 0; background: transparent; color: var(--sm-ink); font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; }
.sm-is-article .article h3 { margin-top: 2.2em; color: var(--sm-plum); }
.sm-is-article .article a { text-underline-offset: 3px; }

/* Article mid CTA: editorial card, not an ad-looking banner. */
.sm-inline-cta { position: relative; display: grid; grid-template-columns: 72px 1fr auto; align-items: center; gap: 22px; margin: 44px 0; padding: 24px 26px; border: 1px solid #d8cdd9; border-radius: 22px; background: linear-gradient(145deg, #fffdf9, #f3edf4); box-shadow: 0 15px 42px rgba(48,38,55,.07); overflow: hidden; }
.sm-inline-cta::after { content: "✦"; position: absolute; right: 22%; top: -28px; color: rgba(109,70,105,.06); font-size: 110px; }
.sm-inline-cta__mark { position: relative; z-index: 2; display: grid; width: 68px; height: 68px; place-items: center; border: 1px solid #d8cdd9; border-radius: 50%; background: #fff; color: var(--sm-plum); font-family: serif; font-size: 24px; box-shadow: none; }
.sm-inline-cta__eyebrow { margin: 0 !important; color: var(--sm-main-soft) !important; font-size: 9px; font-weight: 800; letter-spacing: .14em; }
.sm-inline-cta__title { margin: 5px 0 0 !important; color: var(--sm-ink) !important; font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: 18px; font-weight: 600; line-height: 1.55; }
.sm-inline-cta__text { margin: 6px 0 0 !important; color: var(--sm-muted) !important; font-size: 11px; line-height: 1.7; }
.sm-inline-cta .sm-button { position: relative; z-index: 2; min-height: 48px; padding: 11px 18px; background: var(--sm-main-deep); color: #fff !important; font-size: 12px; }

/* Related */
.sm-next-read { margin: 64px 0 36px; padding-top: 30px; border-top: 1px solid var(--sm-line); }
.sm-next-read__head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.sm-next-read__head h2 { margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; font-family: "Yu Mincho", "Hiragino Mincho ProN", serif !important; font-size: 23px !important; color: var(--sm-ink) !important; }
.sm-next-read__head > a { color: var(--sm-main) !important; font-size: 11px; font-weight: 800; }
.sm-next-read__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--sm-line); border-left: 1px solid var(--sm-line); }
.sm-next-card { display: flex; min-height: 186px; flex-direction: column; padding: 20px; border-right: 1px solid var(--sm-line); border-bottom: 1px solid var(--sm-line); color: var(--sm-ink) !important; }
.sm-next-card:hover { background: #faf6fa; }
.sm-next-card__label { color: var(--sm-main-soft); font-size: 9px; font-weight: 800; }
.sm-next-card strong { margin-top: 10px; font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: 14px; font-weight: 600; line-height: 1.65; }
.sm-next-card__date { margin-top: auto; padding-top: 14px; color: var(--sm-muted); font-size: 9px; }

/* Sticky CTA */
.sm-sticky-cta { position: fixed; right: 14px; bottom: 14px; z-index: 9999; display: flex; width: min(430px, calc(100% - 28px)); align-items: center; opacity: 0; transform: translateY(18px); transition: opacity .22s ease, transform .22s ease; pointer-events: none; }
.sm-sticky-cta.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.sm-sticky-cta.is-obscured { opacity: 0; transform: translateY(18px); pointer-events: none; }
.sm-sticky-cta__link { display: grid; width: 100%; grid-template-columns: 40px 1fr auto; align-items: center; gap: 11px; padding: 12px 44px 12px 13px; border: 1px solid rgba(232,216,183,.20); border-radius: 17px; background: rgba(38,31,48,.97); box-shadow: 0 18px 44px rgba(28,22,34,.28); color: #fff !important; backdrop-filter: blur(14px); }
.sm-sticky-cta__mark { display: grid; width: 40px; height: 40px; place-items: center; border: 1px solid rgba(232,216,183,.24); border-radius: 50%; color: var(--sm-gold-soft); }
.sm-sticky-cta__link small { display: block; color: rgba(232,216,183,.7); font-size: 8px; letter-spacing: .08em; }
.sm-sticky-cta__link strong { display: block; margin-top: 2px; color: #fff; font-size: 12px; }
.sm-sticky-cta__arrow { color: var(--sm-gold-soft); font-weight: 800; }
.sm-sticky-cta__close { position: absolute; right: 8px; top: 8px; display: grid; width: 28px; height: 28px; place-items: center; padding: 0; border: 0; background: transparent; color: rgba(255,255,255,.55); font-size: 19px; cursor: pointer; }

/* Archive/search consistency */
.archive .entry-card-wrap, .search .entry-card-wrap { margin-bottom: 14px; border: 1px solid var(--sm-line); border-radius: 18px; background: #fff; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.archive .entry-card-wrap:hover, .search .entry-card-wrap:hover { transform: translateY(-2px); border-color: #cfc3df; box-shadow: 0 12px 34px rgba(52,43,80,.08); }
.archive .list-title, .search .list-title { color: var(--sm-ink); }
.footer { background: #211b29; color: rgba(255,255,255,.66); }
.footer a { color: rgba(255,255,255,.82); }
.footer a:hover { color: #fff; }

/* Category archive circulation hub */
.sm-archive-hub { margin: 0 0 28px; padding: 22px; border: 1px solid var(--sm-line); border-radius: 20px; background: linear-gradient(145deg, #fffdfa, #f5eff5); }
.sm-archive-hub__top { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.sm-archive-hub__top p { margin: 0; color: var(--sm-main-soft); font-size: 9px; font-weight: 800; letter-spacing: .14em; }
.sm-archive-hub__top strong { display: block; margin-top: 5px; color: var(--sm-ink); font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: 18px; }
.sm-archive-hub__links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.sm-archive-hub__links a { padding: 7px 11px; border: 1px solid var(--sm-line); border-radius: 999px; background: #fff; color: var(--sm-main) !important; font-size: 10px; font-weight: 700; }
.sm-archive-hub__links a[aria-current="page"] { border-color: var(--sm-main-soft); background: var(--sm-soft); }

@media (min-width: 768px) { .sm-sticky-cta { display: none !important; } }

@media (max-width: 1100px) {
  .sm-hero__layout { grid-template-columns: 1fr 390px; gap: 44px; }
  .sm-intent__grid { grid-template-columns: repeat(3, 1fr); }
  .sm-intent-card:nth-child(3) { border-right: 0; }
  .sm-intent-card:nth-child(-n+3) { border-bottom: 1px solid var(--sm-line); }
  .sm-diagnosis-showcase, .sm-feature-layout, .sm-ranking-layout { grid-template-columns: 1fr; }
  .sm-feature-side { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; border-top: 0; }
  .sm-feature-row { grid-template-columns: 1fr; align-content: start; padding: 0; border: 1px solid var(--sm-line); background: #fff; overflow: hidden; }
  .sm-feature-row figure { height: 180px; border-radius: 0; }
  .sm-feature-row div { padding: 0 18px 18px; }
  .sm-feature-row > i { display: none; }
  .sm-final-cta__inner { grid-template-columns: 70px 1fr; }
  .sm-final-cta .sm-button { grid-column: 2; justify-self: start; }
}

@media (max-width: 900px) {
  .sm-hero { padding-top: 70px; }
  .sm-hero__layout { grid-template-columns: 1fr; }
  .sm-hero-feature { max-width: 620px; width: 100%; }
  .sm-section-head { grid-template-columns: 1fr; gap: 18px; }
  .sm-diagnosis-lead { grid-template-columns: 38% 62%; }
  .sm-diagnosis-more__grid { grid-template-columns: repeat(2, 1fr); }
  .sm-topic-card { padding: 30px; }
  .sm-topic-card > p, .sm-topic-card__links, .sm-topic-card__latest { margin-left: 0; }
  .sm-other-categories__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 782px) { .admin-bar .sm-jump-nav { top: 46px; } }

@media (max-width: 767px) {
  .sm-shell { width: min(calc(100% - 28px), var(--sm-shell)); }
  .sm-section { padding: 78px 0; }
  .sm-hero { padding: 58px 0 62px; }
  .sm-editorial-label { flex-wrap: wrap; font-size: 8px; }
  .sm-editorial-label i { width: 30px; }
  .sm-hero h1 { font-size: clamp(36px, 11vw, 50px); line-height: 1.38; }
  .sm-hero__lead { font-size: 14px; }
  .sm-hero__actions { align-items: stretch; flex-direction: column; gap: 6px; }
  .sm-button--primary, .sm-button--text { width: 100%; }
  .sm-trust-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .sm-search { grid-template-columns: auto 1fr 52px; }
  .sm-hero-feature { padding: 16px; border-radius: 24px; }
  .sm-hero-feature__main { padding: 36px 16px 26px; }
  .sm-hero-feature__symbol { font-size: 80px; }
  .sm-hero-feature__mini { grid-template-columns: 1fr; }
  .sm-hero-feature__mini a:first-child { border-right: 0; border-bottom: 1px solid var(--sm-line-dark); }

  .sm-intent { padding-bottom: 12px; }
  .sm-intent .sm-shell { transform: translateY(-14px); }
  .sm-intent__head { align-items: flex-start; flex-direction: column; gap: 8px; }
  .sm-intent__grid { grid-template-columns: 1fr 1fr; border-radius: 16px; }
  .sm-intent-card { min-height: 142px; }
  .sm-intent-card:nth-child(2n) { border-right: 0; }
  .sm-intent-card:nth-child(odd) { border-right: 1px solid var(--sm-line); }
  .sm-intent-card:nth-child(-n+4) { border-bottom: 1px solid var(--sm-line); }

  .sm-jump-nav { overflow-x: auto; }
  .sm-jump-nav__inner { width: max-content; min-width: 100%; grid-template-columns: repeat(5, minmax(120px, 1fr)); }
  .sm-jump-nav a { min-height: 50px; }

  .sm-section-head h2 { font-size: 32px; }
  .sm-diagnosis-lead { grid-template-columns: 1fr; min-height: 0; }
  .sm-diagnosis-lead__ornament { min-height: 240px; }
  .sm-diagnosis-lead__copy { padding: 32px 26px; }
  .sm-diagnosis-quick { grid-template-columns: 1fr 1fr; gap: 12px; }
  .sm-diagnosis-quick__card { min-height: 190px; padding: 18px; }
  .sm-diagnosis-quick__mark { margin-top: 18px; }
  .sm-diagnosis-quick__card div { margin-top: 16px; }
  .sm-diagnosis-more__grid { grid-template-columns: 1fr; }

  .sm-feature-lead { min-height: 520px; }
  .sm-feature-lead__copy { padding: 28px; }
  .sm-feature-lead__copy p { display: none; }
  .sm-feature-side { grid-template-columns: 1fr; }
  .sm-feature-row { grid-template-columns: 120px 1fr auto; padding: 12px; border: 1px solid var(--sm-line); }
  .sm-feature-row figure { height: 96px; border-radius: 9px; }
  .sm-feature-row div { padding: 0; }
  .sm-feature-row > i { display: block; }

  .sm-topic-grid { grid-template-columns: 1fr; }
  .sm-topic-card { min-height: 0; padding: 26px 22px; }
  .sm-topic-card:nth-child(4n+2), .sm-topic-card:nth-child(4n+3) { background: #fff; }
  .sm-topic-card:nth-child(even) { background: #faf6fa; }
  .sm-topic-card__head { grid-template-columns: 28px 54px 1fr; gap: 12px; }
  .sm-topic-card__mark { width: 52px; height: 52px; }
  .sm-topic-card__links { grid-template-columns: 1fr; }
  .sm-topic-card__links a:nth-child(odd), .sm-topic-card__links a:nth-child(even) { padding-inline: 0; border-right: 0; }
  .sm-other-categories__grid { grid-template-columns: 1fr 1fr; }

  .sm-ranking-lead { grid-template-columns: 1fr; }
  .sm-ranking-lead figure { min-height: 260px; height: 260px; }
  .sm-ranking-lead__copy { padding: 26px; }
  .sm-ranking-list a { grid-template-columns: 46px 1fr auto; }

  .sm-new-row { grid-template-columns: 54px 88px 1fr auto; gap: 12px; min-height: 112px; }
  .sm-new-row > time { font-size: 20px; }
  .sm-new-row__media { width: 88px; height: 66px; }
  .sm-new-row > div strong { font-size: 13px; }

  .sm-final-cta { padding: 78px 0; }
  .sm-final-cta__inner { grid-template-columns: 1fr; text-align: center; }
  .sm-final-cta__mark { justify-self: center; }
  .sm-final-cta .sm-button { grid-column: 1; justify-self: stretch; }
  .sm-inline-cta { grid-template-columns: 56px 1fr; padding: 20px; }
  .sm-inline-cta__mark { width: 54px; height: 54px; }
  .sm-inline-cta .sm-button { grid-column: 1 / -1; width: 100%; }
  .sm-next-read__grid { grid-template-columns: 1fr; }
  .sm-next-read__head { align-items: flex-start; flex-direction: column; }
  .sm-archive-hub__top { align-items: stretch; flex-direction: column; }
  .sm-archive-hub__top .sm-button { width: 100%; }
  .sm-sticky-cta { left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); width: auto; }
}

@media (max-width: 460px) {
  .sm-diagnosis-quick { grid-template-columns: 1fr; }
  .sm-diagnosis-quick__card { min-height: 165px; }
  .sm-feature-row { grid-template-columns: 92px 1fr auto; }
  .sm-feature-row figure { height: 80px; }
  .sm-other-categories__grid { grid-template-columns: 1fr; }
  .sm-new-row { grid-template-columns: 48px 1fr auto; padding: 14px 0; }
  .sm-new-row__media { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
/* =========================================================
   Legacy Cocoon Child compatibility layer
   Preserves article components used by existing posts.
   Old homepage, H2/H3 icon and sidebar overrides are intentionally omitted.
   ========================================================= */

/************************************
** ブログカード
************************************/
.blogcard-snippet,
.blogcard-footer {
  display: none;
}
.blogcard-wrap {
  transition: all .3s;
  max-width: 600px;
  margin: 2em auto;
}
.blogcard {
  border:1px solid #eaeaea !important;
  box-shadow: 0 2px 5px rgba(0, 0, 0, .15);
  padding: 10px;
}
.blogcard-wrap:hover {
  background: none;
  transform: translateY(-3px);
  box-shadow: 0px 10px 20px rgba(0, 0, 0, .1);
}
.blogcard-thumbnail {
  margin: 0;
}
.blogcard-thumbnail img {
  display: block;
}
.blogcard-title {
  color: #555;
  letter-spacing: 0.5px;
  font-size: 15px;
  line-height: 1.5;
  margin: 10px 0 0 0;
  height: 45px;
  overflow: hidden;
}
.blogcard-content {
  min-height: auto;
  margin-left: 185px;
  padding-right: 6px;
}
.blogcard-label {
  top: -11px;
  left: 9px;
  padding: 3px 0.6em;
  background:#aaa;
  padding: 1px 10px;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 1px;
}
.blogcard-content:after {
  content: "クリックして読む";
  background:var(--sm-main-2); /* 背景色 */
  display: block;
  text-align: center;
  color: #fff;
  font-weight: 600;
  letter-spacing: 1px;
  width: 180px;
  border-radius: 20px;
  font-size: 13px;
  padding: 1px 0;
  margin-top: 6px;
}
@media screen and (max-width: 834px) {
  .blogcard-content {
    margin-left: 130px;
  }
  .blogcard-title {
    font-size:12px;
    line-height: 1.5;
    height: 35px;
    margin:0;
  }
  .blogcard-content:after {
    content: "タップして読む";
  }
  .blogcard-thumbnail{
    width:120px;
  }
}
@media screen and (max-width: 560px) {
  .blogcard-content:after {
    width: 120px;
    font-size: 12px;
  }
  .blogcard-title {
    margin:0;
  }
}
@media screen and (max-width: 320px) {
  .blogcard-thumbnail {
    width: 100px;
  }
  .blogcard-content {
    margin-left: 110px;
  }
  .blogcard-title {
    height: 35px;
  }
}

/************************************
** 評価グラフ
************************************/
.pb-rating-graph {
  box-shadow: 0 3px 5px rgba(0, 0, 0, .07);
  max-width: 700px;
  margin: 0 auto 2em !important;
  padding: 2.5em 2em!important;
  color: #333;
  background: #fafafa;
}
.pb-rating-graph ul {
  margin: 0!important;
  padding: 0!important;
  border: none!important;
}
.pb-rating-graph ul li {
  list-style: none!important;
  margin: 0 !important;
  padding: 0 !important;
}
.pb-rating-graph ul li:before {
  content: unset !important;
}
.pb-rating-graph__label {
  background: #71828A;
  color: #fff;
  display: inline-block;
  padding: 6px 15px;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.2;
}
.pb-rating-graph__wrap {
  display: flex;
  margin: 20px 0;
}
.pb-rating-graph li:last-child .pb-rating-graph__wrap {
  margin: 20px 0 0;
}
.pb-rating-graph__axis {
  width: 70%;
  margin-top: 10px;
  position: relative;
  display: flex;
  justify-content: space-between;
}
.pb-rating-graph__axis:before {
  content: "";
  display: inline-block;
  height: 5px;
  background: #E3E6E7;
  width: 100%;
  position: absolute;
}
.pb-rating-graph__basis {
  width: 15%;
  color: #71828A;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.5;
}
.pb-rating-graph__basis-inner {
  display: inline-block;
  text-align: left;
}
.pb-rating-graph__wrap .pb-rating-graph__basis:first-of-type {
  text-align: right;
  padding-right: 15px;
}
.pb-rating-graph__wrap .pb-rating-graph__basis:last-of-type {
  text-align: left;
  padding-left: 15px;
}
.pb-rating-graph__scale {
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1;
  width: 20px;
  margin-top: 0 !important;
}
.pb-rating-graph__scale:before {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  margin-top: -7px;
  margin-bottom: 10px;
  background: #E3E6E7;
}
.pb-rating-graph__axis:after, .pb-rating-graph__scale:after {
  content: unset !important;
}
.pb-rating-graph .pb-rating-graph__scale .pb-rating-graph__item {
  width: 42px;
  display: block;
  font-weight: 600;
  font-size: 14px;
  color: #777;
  text-align: center;
  padding-top: 5px;
  margin-top: -10px !important;
}
@media screen and (max-width:600px) {
  .pb-rating-graph {
    padding: 2em 1em !important;
  }
  .pb-rating-graph__axis {
    width: 60%;
  }
  .pb-rating-graph__basis {
    width: 20%;
    font-size: 13px;
    letter-spacing: 0px;
    line-height: 1.8;
  }
  .pb-rating-graph__wrap .pb-rating-graph__basis:first-of-type {
    padding-right: 7px;
  }
  .pb-rating-graph__wrap .pb-rating-graph__basis:last-of-type {
    padding-left: 7px;
  }
  .pb-rating-graph__scale {
    width: 16px;
  }
  .pb-rating-graph__scale:before {
    width: 16px;
    height: 16px;
  }
  .pb-rating-graph .pb-rating-graph__scale .pb-rating-graph__item {
    font-size: 12px;
  }
  .pb-rating-graph__scale[data-check='true']:before {
    font-size: 20px;
  }
}
.pb-rating-graph__scale[data-check='true']:before {
  background:var(--sm-main-2);
}


/************************************
** 今ここ
************************************/
.flow {
	padding: 1em;
	background:#f5f9fc; /* 背景色カラーコード */
	margin: 0;
}
.flow ol{
	margin: 1em 0;
	padding-left: 1.2em;
	line-height: 1.8;
}
.flow li {
	opacity: 0.5;
	margin: 0 0 .5em 5em !important;
}
.flow .now {
	opacity: 1;
	font-weight: bold;
	position: relative;
}
.flow .now:before {
    content: "今ココ"; /* 今ココ */
    position: absolute;
    left: -6.5em;
    top: 0.2em;
    padding: 0 7px;
    background: var(--sm-main-2); /* 今ココ背景色カラーコード */
    color: #fff;
    font-size: 0.8em;
    border-radius: 5px;
}
.flow img{
	margin:0.5em 0;
	vertical-align:top;
}


/************************************
** リスト
************************************/

.list-1{
    list-style: none;
    padding:0;
    margin:0;
}
.list-1 li { 
    position: relative;
    margin:0.5em 0 !important;
    padding-left: 25px;
}
.list-1 li:before {
   background-color: #000000; /* 点の色 */
   position: absolute;
   content: '';
   top:0.9em;
   left: 0.5em;
   width: 7px;
   height: 7px;
   border-radius: 4px;
}
.list-box-1{
   background: #f5f9fc; /* 背景色 */
   border-radius: 4px;
   max-width: 600px; /* 横幅 */
   padding: 2em;
   margin:0 auto;
}
@media screen and (max-width: 768px){
.article ul, .article ol {
    padding-left: 0px; /* スマホ閲覧時の余白リセット(cocoon) */
}
}


/*********************************
* タイムライン
*********************************/
.ptimeline-wrap{
    margin:0 auto 2rem;
}
.ptimeline-wrap .ptimeline{
    padding:0 !important;
    list-style:none !important;
}
.ptimeline-wrap .ptimeline-label {
    padding: 3px 0 0 2px;
    color: #aaa;
    font-size: 12px;
    font-weight: 500;
}
.ptimeline-wrap .ptimeline-title {
    font-size: 1.1em;
    font-weight: bold;
    line-height: 1.5;
    color:var(--sm-main-2);
}
.ptimeline-wrap .ptimeline-main {
    margin-top: 0.5em;
    padding: 0 0 1.5em;
    font-size: 0.9em;
    line-height: 1.8;
    border-bottom: dashed 1px #ddd;
    color:#555;
}
.ptimeline-wrap .ptimeline-main img{
  display:block;
  margin:1em auto;
}
.ptimeline-wrap .ptimeline-item {
    position: relative;
    padding: 0 0 1em 1.5em !important;
    margin-bottom:0 !important;
    border:none;
}
.ptimeline-wrap .ptimeline .ptimeline-item:before {
    content: "";
    width: 3px;
    background: #eee !important;
    display: block;
    position: absolute;
    top: 25px;
    bottom: -3px;
    left: 5px;
}
.ptimeline-wrap .ptimeline-item:last-child:before{
    content:none;
}
/*********************************
* タイムライン マーカー
*********************************/
.ptimeline-wrap .ptimeline-marker{
    display: block;
    position: absolute;
    content: "";
    top: 6px;
    left: 0;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: solid 3px var(--sm-main-2);
}
.ptimeline-wrap .ptimeline-item:first-child .ptimeline-marker,.ptimeline-wrap .ptimeline-item:last-child .ptimeline-marker{
    background:var(--sm-main-2);
}
/*四角 */
.ptimeline-wrap .square .ptimeline-marker{
    border-radius: 0;
}
/* アイコン*/
.ptimeline-wrap .icon .ptimeline-item .ptimeline-marker{
    content:unset;
    border:none !important;
    background:none !important;
}
.ptimeline-wrap .icon .ptimeline-item .ptimeline-marker:before{
    font-family: "Font Awesome 5 Free";
    top: -1px;
    left: 0;
    position:absolute;
    font-weight:bold;
    font-size:16px;
    line-height:1;
    color:var(--sm-main-2);
}
.ptimeline-wrap .icon .ptimeline-item:first-child .ptimeline-marker,.ptimeline-wrap .icon .ptimeline-item:last-child .ptimeline-marker{
    background:none !important;
}
/* 画像*/
.ptimeline-wrap .tl-img .ptimeline-item .ptimeline-marker{
    content:unset;
    border:none !important;
    background:none !important;
}
.ptimeline-wrap .tl-img .ptimeline-item .ptimeline-marker:before {
    content:"";
    display:inline-block;
    background-image:none; /* 画像1番目*/
    background-size:contain;
    background-repeat:no-repeat;
    width:40px;
    height:40px;
    position: relative;
    top: -4px;
    left: -2px;
}
.ptimeline-wrap .tl-img li:nth-of-type(2) > .ptimeline-marker:before{
    background-image:none !important; /* 画像2番目*/
}
.ptimeline-wrap .tl-img li:nth-of-type(3) > .ptimeline-marker:before{
    background-image:none !important; /* 画像3番目*/
}
.ptimeline-wrap .tl-img li:nth-of-type(4) > .ptimeline-marker:before{
    background-image:none !important; /* 画像4番目*/
}
.ptimeline-wrap .tl-img li:nth-of-type(5) > .ptimeline-marker:before{
    background-image:none !important; /* 画像5番目*/
}
.ptimeline-wrap .tl-img .ptimeline-item {
    padding: 0 0 1em 3em !important;
}
.ptimeline-wrap .tl-img .ptimeline-item:before {
    top: 30px;
    left: 15px;
}
/*********************************
* タイムライン カラー
*********************************/
/* ピンク */
.ptimeline-wrap .pink .ptimeline-title{
    color:#f7bcbc !important; /* タイトル色 */
}
.ptimeline-wrap .pink .ptimeline-main{
    color:#555 !important; /* コンテンツ色 */
}
.ptimeline-wrap .pink .ptimeline-marker{
    border: solid 3px #f7bcbc !important; /* マーカー色 */
    color:#f7bcbc; /* アイコン色 */
}
.ptimeline-wrap .pink .ptimeline-item:first-child .ptimeline-marker,.ptimeline-wrap .pink .ptimeline-item:last-child .ptimeline-marker{
    background:#f7bcbc; /* マーカー色(最初と最後)*/
}
.ptimeline-wrap .pink .ptimeline-item .ptimeline-marker:before{
    color:#f7bcbc !important; /* アイコン色 */
}
/*イエロー*/
.ptimeline-wrap .yellow .ptimeline-title{
    color:#fdc44f !important; /* タイトル色 */
}
.ptimeline-wrap .yellow .ptimeline-main{
    color:#555 !important; /* コンテンツ色 */
}
.ptimeline-wrap .yellow .ptimeline-marker{
    border: solid 3px #fdc44f !important; /* マーカー色 */
    color:#fdc44f; /* アイコン色 */
}
.ptimeline-wrap .yellow .ptimeline-item:first-child .ptimeline-marker,.ptimeline-wrap .yellow .ptimeline-item:last-child .ptimeline-marker{
    background:#fdc44f; /* マーカー色(最初と最後)*/
}
.ptimeline-wrap .yellow .ptimeline-item .ptimeline-marker:before{
    color:#fdc44f !important; /* アイコン色 */
}
/*グリーン*/
.ptimeline-wrap .green .ptimeline-title{
    color:#2fcdb4 !important; /* タイトル色 */
}
.ptimeline-wrap .green .ptimeline-main{
    color:#555 !important; /* コンテンツ色 */
}
.ptimeline-wrap .green .ptimeline-marker{
    border: solid 3px #2fcdb4 !important; /* マーカー色 */
    color:#2fcdb4; /* アイコン色 */
}
.ptimeline-wrap .green .ptimeline-item:first-child .ptimeline-marker,.ptimeline-wrap .green .ptimeline-item:last-child .ptimeline-marker{
    background:#2fcdb4; /* マーカー色(最初と最後)*/
}
.ptimeline-wrap .green .ptimeline-item .ptimeline-marker:before{
    color:#2fcdb4 !important; /* アイコン色 */
}

/************************************
** Q&A
************************************/

.boxQA {
    position: relative;
    margin: 2em 0;
    padding: 0.5em 0.5em;
    background: #EDF1F5;/*A文章部分背景色*/
    border-radius: 10px;
}

.boxQA .box-title {
    position: relative;
    background: #fff;/*Q文章部分背景色*/
    padding: 10px 5px 10px 40px;
    color: #454545;/*Q文章文字色*/
    border-radius: 10px;
}
.boxQA .box-title:before {
    content: "Q";
    display: inline-block;
    line-height: 40px;
    position: absolute;
    padding: 0em;
    color: white;/*Q文字色*/
    background: #9ED1FF;/*Q背景色*/
    font-weight: bold;
    width: 40px;
    text-align: center;
    height: 40px;
    line-height: 40px;
    left: -1.2em;
    top: 20px;
    -moz-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    border: solid 3px white; 
    border-radius: 50%;
}
.boxQA .box-title:after {
    content: "A";
    display: inline-block;
    line-height: 40px;
    position: absolute;
    padding: 0em;
    color: white;/*A文字色*/
    background: #FFAB8B;/*A背景色*/
    font-weight: bold;
    width: 40px;
    text-align: center;
    height: 40px;
    line-height: 40px;
    left: -1.2em;
    bottom: -80px;
    -moz-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    border: solid 3px white; 
    border-radius: 50%;
}

.boxQA p {
    padding: 20px 20px 15px 40px;
    margin: 0;
}

.boxQA ul {
  padding: 0 1em;
  position: relative;
}
.boxQA ul li {
  line-height: 1.5;
  padding: 0.5em 0 0.5em 4.2em;
  list-style-type: none!important;
}
.boxQA ul li:before {
  font-family: "Font Awesome 5 Free"; 
  content: "\f138";/*アイコン種類*/
  position: absolute;
  left : 3.5em;
  color: #FFAB8B; /*Aのリストのアイコンの色*/
}


/************************************
** 記事更新消す
************************************/

.post-21 .date-tags {
  display: none;
}

/************************************
** アイコンつきリスト
************************************/
/* ボックス全体 */
.iconbox{
  margin: 0 auto 2em; /* 余白 */
  background: #fef9ed; /* 背景色 */
  border-radius:4px; /* 角丸 */
  max-width:600px; /* 横幅 */
  padding: 0; /* 余白 */
  box-shadow: 0 1px 3px rgba(0, 0, 0, .2); /* 影 */
}
/* ボックスタイトル */
.iconbox .box-title {
  font-size: 18px; /* 文字サイズ */
  background: #fdc44f; /* 背景色 */
  text-align: center; /* 文字配置 */
  color: #fff; /* 文字色 */
  font-weight: bold; /* 文字太さ */
  letter-spacing: 0.05em; /* 文字間隔 */
  border-radius:4px 4px 0 0; /* 角丸 */
  line-height:1.5; /* 行間 */
  padding:1em 2em; /* 余白 */
}
/* 段落の余白リセット */
.iconbox p {
  margin: 0;/* 文字の余白リセット */
  padding: 0; /* 文字の内側余白リセット*/
}
/* ボックス 中 */
.iconbox .iconbox-wrap{
  display:-webkit-box; /* 配置 */
    display:-ms-flexbox; /* 配置 */
  display:flex; /* 配置 */
  padding:1.3em 2em; /* 余白 */
}
/* コンテンツ */
.iconbox .iconbox-wrap .box-content{
   width: 97%;/*横幅 */
   margin: 0 3% 0 0 !important;/* 余白 */
   line-height:1.8;/* 行間 */
  -ms-flex-item-align: center;/* 中央寄せ */
   align-self: center;/* 中央寄せ */
}
/* コンテンツ段落 */
.iconbox .iconbox-wrap .box-content p{
  margin-bottom:1em;/*余白 */
}
/* アイコン&吹き出し */
.iconballoon{
  -ms-flex-item-align: end; /* 下部に配置 */
  align-self: flex-end; /* 下部に配置 */
}
/* アイコン */
.iconballoon .icon{
  text-align:center;/* 位置を中央へ */
}
/* アイコン画像 */
.iconballoon .icon img{
  width: 120px; /* 横幅 */
  margin:0; /* 余白 */
}
/* アイコン画像 (amp)*/
.iconballoon amp-img{
  max-width: 120px !important; /* 横幅 */
  margin:0; /* 余白 */
}
/* 吹き出し文字 */
.iconballoon .balloon p{
  line-height:1.4; /* 行間 */
}
/* 吹き出し */
.iconballoon .balloon{
  position:relative; /* 配置 */
  width:140px; /* 横幅 */
  background:#fff; /* 背景色 */
  padding:10px; /* 余白 */
  text-align:center; /* 中央寄せ */
  border:2px solid #999;/* 線(太さ 種類　色) */
  color:#555555;/* 文字色 */
  font-size:14px;/* 文字サイズ */
  font-weight:bold;/* 文字太さ */
  border-radius:10px;/* 角丸 */
  margin-bottom:10px;/* 余白 */
  line-height:1.5; /* 行間 */
}
/* 吹き出し(三角) */
.iconballoon .balloon:after, .iconballoon .balloon:before{
  border: solid transparent;
  content:'';
  height:0;
  width:0;
  position:absolute;
  top:100%;
  left:50%;
}
.iconballoon .balloon:after{
    border-top-width:10px;
    border-bottom-width:10px;
    border-left-width:10px;
    border-right-width:10px;
    margin-left: -10px;
    border-top-color:#FFFFFF;
}
.iconballoon .balloon:before{
   border-color:"rgba(153, 153, 153, 0)";
    border-top-width:12px;
    border-bottom-width:12px;
    border-left-width:12px;
    border-right-width:12px;
    margin-left: -12px;
    margin-top: 1px;
    border-top-color:#999999;
}
/*スマホ*/
@media screen and (max-width: 480px){
/* ボックスタイトル */
.iconbox .box-title {
  font-size: 14px; /* 文字サイズ */
}
/* ボックス 中 */
.iconbox .iconbox-wrap {
    padding: 1em 1em 1em 1.5em;/* 余白 */
}
/* コンテンツ */
.iconbox .iconbox-wrap .box-content{
  font-size:12px;/*文字サイズ */
}
/* アイコン画像 */
.iconballoon .icon img{
  width:80px;/* 横幅 */
  margin-top:5px;/* 余白 */
}
/* アイコン画像(amp) */
.iconballoon amp-img{
  max-width:80px !important;/* 横幅 */
  margin-top:5px;/* 余白 */
}
/* 吹き出し */
.iconballoon .balloon{
  width:80px;/* 横幅 */
  font-size:10px;/* 文字サイズ */
  padding: 1em 0;/* 余白 */
  border: 1px solid #999;/* 線(太さ 種類 色) */
}
/* 吹き出し(三角) */
.iconballoon .balloon:after {
    border-top-width: 12px;
    border-bottom-width: 10px;
    border-left-width: 11px;
    border-right-width: 11px;
    margin-left: -11px;
    border-top-color: #FFFFFF;
}
}
/************************************
** 箇条書き(点)
************************************/
/* 箇条書き */
.iconbox .list {
  list-style: none;/* 行頭記号削除  */
  padding: 0 !important;/* 余白リセット */
  margin: 0 !important;/* 余白リセット */
  border:none;/* 線リセット */
}
/* 箇条書き 行 */
.iconbox .list li { 
  position: relative;/* 行頭記号の配置  */
  margin: 0 0 0.5em 0 !important;/* 余白  */
  padding: 0 0 0.5em 1.4em !important;/* 余白 */
  line-height:1.8;/* 行間 */
}
/* 箇条書き 行頭記号 */
.iconbox .list li:before {
  background-color: #ffa952; /* 記号色 */
  position: absolute; /* 行頭記号の配置 */
  content: ''; /* 空文字 */
  top:13px; /* 上からの距離 */
  left: 0; /* 左からの距離 */
  width: 7px; /* 横幅 */
  height: 7px; /* 縦幅 */
  border-radius: 4px; /*角丸 */
}
/* 箇条書き 行頭記号リセット */
.iconbox .list-number li:after{
  content:'';
}
/*スマホ*/
@media screen and (max-width: 480px){
  /* 箇条書き 行頭記号*/
   .iconbox .list li:before{
     top:8px;/* 上からの距離 */
   }
}
/************************************
** 箇条書き(番号)
************************************/
/* 箇条書き(番号) */
.iconbox .list-number{
   counter-reset:number; /* 番号リセット */
   list-style: none !important;/* 行頭番号削除) */
   padding:0 !important;/* 余白リセット */
   margin:0 !important;/* 余白リセット */
   border:none !important;/* 線リセット */
}
/* 箇条書き(番号) 行 */
.iconbox .list-number li {
   position: relative;/* 配置 */
   margin:0.5em 0 !important;/* 余白 */
   max-width:500px; /* 横幅 */
   padding: 0 0 0.5em 1.8em !important;/* 余白 */
   line-height:1.8;/* 行間 */
}
/* 箇条書き(番号) 行頭番号 */
.iconbox .list-number li:before {
   counter-increment: number;/* 番号 */
   content: counter(number);/* 番号 */
   background-color: #fdc44f; /* 背景色 */
   color: #fff; /* 番号色 */
   position: absolute;/* 配置 */
   font-weight:bold;/* 文字太さ */
   font-size: 14px;/* 文字大きさ */
   border-radius: 50%;/* 角丸 */
   left: 0;/* 左からの距離 */
   top:4px;/* 上からの距離 */
   width: 22px;/* 横幅 */
   height: 22px;/* 縦幅 */
   line-height: 22px;/* 行間 */
   text-align:center;/* 中央寄せ */
}
/*スマホ*/
@media screen and (max-width: 480px){
  /* 箇条書き(番号) 行 */
  .iconbox .list-number li{
     padding: 0 0 0.5em 2em !important;/* 余白 */
  }
  /* 箇条書き(番号) 行頭番号 */
  .iconbox .list-number li:before {
    font-size:10px;/* 文字大きさ */
    width: 18px;/* 横幅 */
    height: 18px;/* 縦幅 */
    line-height: 18px;/* 行間 */
    top:2px;/* 上からの距離 */
  }
}

/************************************
** アイコンフキダシボックス(ブルー)
************************************/
/* ボックス全体 */
.iconbox-blue{
  background: #f2fbff !important; /* 背景色 */
}
/* ボックスタイトル */
.iconbox-blue .box-head-blue{
  background: var(--sm-main-2) !important; /* 背景色 */
}

/************************************
** アイコンフキダシボックス(ピンク)
************************************/
/* ボックス全体 */
.iconbox-pink{
  background: #f2fbff !important; /* 背景色 */
}
/* ボックスタイトル */
.iconbox-pink .box-head-pink{
  background: var(--sm-main-2) !important; /* 背景色 */
}
/* 箇条書き(番号) 行頭番号 */
.iconbox .list-number li:before {
  background: var(--sm-main-2) !important; /* 背景色 */
}


/************************************
** ボックスメニューのアイコン色
************************************/

.box-menu-icon{
    color: var(--sm-main-2); /* アイコンの色 */
}
.box-menu:hover{
    box-shadow: none; /* 枠線を消す */
    background: #F2F0EE; /* 背景色 */
}
/*********************************
* Cocoon 通知エリア2つ
*********************************/
.twice-notice{
    display:-webkit-box;
    display:-ms-flexbox;
    display:flex;
}
.twice-notice a{
    display:-webkit-box;
    display:-ms-flexbox;
    display:flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    position:relative;
    flex-basis:50%;
    text-align:center;
    color:#fff; /* 文字色 */
    font-size: 0.7em; /* 文字サイズ */
    line-height: 1.4;
    font-weight: bold;
    padding: 1em 2em;
    letter-spacing: 1px;
    text-decoration:none;
}
.twice-notice a:first-child{
    background:var(--sm-main-2); /* 左背景色 */
    border-right:1px solid #fff; /* 中央線 */
}
.twice-notice a:last-child{
    background:var(--sm-main-2); /* 右背景色 */
}
.twice-notice a:hover{
    opacity:0.8;
}
.twice-notice a:after{
    position:absolute;
    top:50%;
    right:1em;
    transform: translateY(-50%);
    font-family: "Font Awesome 5 Free"; 
    content:"\f054"; /* 矢印アイコン */
    animation:infinite move-arrow 1.5s; /* 矢印アニメーション */
}
@keyframes move-arrow {
    0%{margin:0 5px 0 -5px;opacity:.3;} /* 矢印アニメーション設定 */
}
/* スマホ */
@media screen and (max-width: 480px){
    .twice-notice a{
        font-size:0.7em; /* 文字サイズ */
    }
    .twice-notice a:after{
        transform: translateY(-50%);
    }
}


/************************************
** 比較表
************************************/
/* 比較表全体 */
.compare-box {
  display:-webkit-box;/* 配置 */
  display:-ms-flexbox;/* 配置 */
  display:flex;/* 配置 */
  max-width:600px;/* 横幅 */
  margin: 0 auto 2rem;/* 余白 */
  border-radius:4px;/* 角丸 */
  box-shadow: 0 1px 3px rgba(0, 0, 0, .2); /* 影 */
  background: #fef9ed; /* 背景色 */
}
/* 左のボックス、右のボックス */
.compare-box .compare-left-wrap, .compare-box .compare-right-wrap{
  width:50%;/* 横幅半分ずつ */
  overflow:hidden;/* はみ出さないように*/
}
/* 左のタイトル、右のタイトル */
.compare-box .compare-left-head, .compare-box .compare-right-head{
  background: #fdc44f; /* 背景色 */
  text-align: center;/* 中央寄せ */
  color: #FFF; /* 文字色 */
  font-weight: bold;/* 文字太さ */
  padding:0em 1em;/* 余白 */
  font-size:15px;/* 文字大きさ */
  line-height:1.5;/* 行間 */
  height:65px;/* 縦幅 */
  display:table-cell;/* 形式 */
  vertical-align:middle;/* 高さ中央寄せ */
  width:1000px;/* 横幅 */
}
/* 左のタイトル */
.compare-box .compare-left-head{
  border-radius:4px 0 0 0;/* 角丸 */
}
/* 右のタイトル */
.compare-box .compare-right-head{
  border-radius:0 4px 0 0;/* 角丸 */
}
/* 左のコンテンツ、右のコンテンツ */
.compare-box .compare-left, .compare-box .compare-right{
  padding:1.5em;/* 余白 */
  font-size:15px;/* 文字大きさ */
  line-height:2;/* 行間 */
  text-align: justify;/* 段落両端 */
  text-justify: inter-ideograph;/* 段落両端 */
}
/* 文章 */
.compare-box p {
  padding: 0;/* 余白 */
  margin: 0 0 20px 0;/* 余白 */
}
/*スマホで見たとき*/
@media screen and (max-width: 480px){
  /* 左のタイトル、右のタイトル */
  .compare-box .compare-left-head, .compare-box .compare-right-head{
    font-size:12px;/* 文字大きさ */
    height:50px;/* 高さ */
  }
  /* 左のコンテンツ、右のコンテンツ */
  .compare-box .compare-left, .compare-box .compare-right {
      padding: 1.2em;/* 余白 */
      font-size: 12px;/* 文字大きさ */
   }
}
/************************************
** 比較表 箇条書き(記号)
************************************/
/* 箇条書き(記号) */
.compare-box .list{
   list-style: none !important;/* 行頭記号リセット */
   padding:0 !important;/* 余白リセット */
   margin:0 !important;/* 余白リセット */
   border:none !important;/* 線リセット */
}
/* 箇条書き 行 */
.compare-box .list li { 
   border-bottom:1px dashed #cdcdcd;/* 線(太さ 種類　色) */
   position: relative;/* 配置 */
   margin:0.5em 0 !important;/* 余白 */
   max-width:500px;/* 横幅 */
   padding: 0 0 0.7em 1.4em !important;/* 余白 */
   line-height:1.8;/* 行間 */
}
/* 箇条書き 行最後 */
.compare-box .list li:last-child{ 
   border:none;
}
/* 箇条書き 行頭記号 */
.compare-box .list li:before {
   background-color:  #ffa952; /* 色 */
   position: absolute;/* 配置 */
   content: '';/* 空文字 */
   top: 10px;/* 上からの距離 */
   left: 7px;/* 下からの距離 */
   width: 7px;/* 横幅 */
   height: 7px;/* 縦幅 */
   border-radius: 4px;/* 角丸 */
}
/*スマホで見たとき*/
@media screen and (max-width: 480px){
  /* 箇条書き 行頭記号 */
  .compare-box .list li:before {
    top: 9px;/* 上からの距離 */
    left: 3px;/* 下からの距離 */
    width:5px;/* 横幅 */
    height:5px;/* 縦幅 */
  }
}
/************************************
** 比較表　箇条書き(番号)
************************************/
/* 箇条書き(番号) */
.compare-box .list-number{
   counter-reset:number; /* 番号リセット */
   list-style: none !important;/* 行頭番号削除) */
   padding:0 !important;/* 余白リセット */
   margin:0 !important;/* 余白リセット */
   border:none !important;/* 線リセット */
}
/* 箇条書き(番号) 行 */
.compare-box .list-number li {
   position: relative;/* 配置 */
   margin:0.5em 0 !important;/* 余白 */
   max-width:500px; /* 横幅 */
   padding: 0 0 0.5em 1.8em !important;/* 余白 */
   line-height:1.8;/* 行間 */
  border-bottom:1px dashed #cdcdcd;/* 線(太さ 種類　色) */
}
/* 箇条書き 行最後 */
.compare-box .list-number li:last-child{ 
   border:none;
}
/* 箇条書き(番号) 行頭番号 */
.compare-box .list-number li:before {
   counter-increment: number;/* 番号 */
   content: counter(number);/* 番号 */
   background-color: #fdc44f; /* 背景色 */
   color: #fff; /* 番号色 */
   position: absolute;/* 配置 */
   font-weight:bold;/* 文字太さ */
   font-size: 12px;/* 文字大きさ */
   border-radius: 50%;/* 角丸 */
   left: 0;/* 左からの距離 */
   top:5px;/* 上からの距離 */
   width: 18px;/* 横幅 */
   height: 18px;/* 縦幅 */
   line-height: 18px;/* 行間 */
   text-align:center;/* 中央寄せ */
}
/* 箇条書き 行頭記号リセット */
.compare-box .list-number li:after{
  content:'';
}
/*スマホで見た時*/
@media screen and (max-width: 480px){
  /* 箇条書き(番号) 行 */
  .compare-box .list-number li{
     padding: 0 0 0.5em 1.8em !important;/* 余白 */
  }
  /* 箇条書き(番号) 行頭番号 */
  .compare-box .list-number li:before {
    font-size:10px;/* 文字大きさ */
    width: 16px;/* 横幅 */
    height: 16px;/* 縦幅 */
    line-height: 16px;/* 行間 */
    top:2px;/* 上からの距離 */
  }
}

/************************************
** 比較表セパレート
************************************/
/* 全体左 */
.compare-box-separate .compare-left{
background:#f0f9fc !important;
height:100%;
}
/* 全体右 */
.compare-box-separate .compare-right{
background:#fff6f2 !important;
height:100%;
}
/* タイトル左 */
.compare-box-separate .compare-left-head{
background:#6fc7e1 !important;
}
/* タイトル右 */
.compare-box-separate .compare-right-head{
background:#ffa883 !important;
}
/* 箇条書き(記号) 行頭番号 左 */
.compare-box-separate .compare-left .list li:before {
background:#6fc7e1 !important;
}
/* 箇条書き(番号) 行頭番号 左 */
.compare-box-separate .list-number li:before {
background:#6fc7e1 !important;
}
/* 箇条書き(記号) 行頭番号 右 */
.compare-box-separate .compare-right .list li:before {
background:#ffa883 !important;
}
/* 箇条書き(番号) 行頭番号 右 */
.compare-box-separate .compare-right .list-number li:before {
background:#ffa883 !important;
}

/************************************
** ボタン
************************************/
.p-button {
    max-width: 300px;
    margin: 0 auto;
}
.p-button a {
    display: block;
    margin:25px 0;
    padding: 0.8em 1em;
    border-radius: 2em;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    background: var(--sm-main-2);
    text-align: center;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    opacity:1;
}
.p-button a:hover{
    box-shadow:none;
    transform: translateY(3px);
    opacity:1;
}

/* Normalize legacy accents into the Spiritual MyLife palette. */
.sm-is-article .blogcard-content:after,
.sm-is-article .flow .now:before,
.sm-is-article .iconbox-blue .box-head-blue,
.sm-is-article .iconbox-pink .box-head-pink,
.sm-is-article .iconbox .list-number li:before,
.sm-is-article .twice-notice a:first-child,
.sm-is-article .twice-notice a:last-child,
.sm-is-article .p-button a {
  background: var(--sm-main-2) !important;
}
.sm-is-article .box-menu-icon,
.sm-is-article .ptimeline-wrap .ptimeline-title,
.sm-is-article .ptimeline-wrap .ptimeline-item .ptimeline-marker:before {
  color: var(--sm-main-2) !important;
}
.sm-is-article .ptimeline-wrap .ptimeline-marker { border-color: var(--sm-main-2); }


/* ======================================================================
   v3.0.0 — Adopted mockup: professional single article layout
   ====================================================================== */
body.sm-is-article {
  background: linear-gradient(180deg, #fbf8f4 0, #fff 420px);
  color: #292238;
}
.sm-is-article #content { padding-top: 26px; }
.sm-is-article .content-in { align-items: flex-start; gap: 28px; }
.sm-is-article #main,
.sm-is-article main.main {
  border: 1px solid #e6dfe5;
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 12px 45px rgba(43, 34, 56, .045);
}
.sm-is-article .article { padding: 28px 30px 46px; }
.sm-is-article .breadcrumb,
.sm-is-article .breadcrumbs { margin-bottom: 18px; color: #6e6577; }
.sm-is-article .article-header { margin-bottom: 22px; }
.sm-is-article .entry-title {
  margin: 10px 0 14px;
  padding: 0;
  border: 0;
  color: #241d36;
  background: none;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", serif;
  font-size: clamp(29px, 3.1vw, 42px);
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: .015em;
}
.sm-is-article .entry-title::before,
.sm-is-article .entry-title::after { display: none !important; }
.sm-is-article .date-tags { margin: 5px 0 16px; color: #817986; font-size: 11px; }
.sm-is-article .date-tags .post-date,
.sm-is-article .date-tags .post-update { color: #817986; }
.sm-is-article .entry-categories-tags { margin: 0 0 12px; }
.sm-is-article .entry-categories-tags a,
.sm-is-article .cat-link,
.sm-is-article .tag-link {
  display: inline-flex;
  min-height: 25px;
  align-items: center;
  margin: 0 5px 5px 0;
  padding: 3px 10px;
  border: 1px solid #d9cce2;
  border-radius: 3px;
  background: linear-gradient(180deg, #705391, #594174);
  color: #fff !important;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}
.sm-is-article .eye-catch {
  margin: 18px 0 26px;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 9px 24px rgba(40, 28, 62, .10);
}
.sm-is-article .eye-catch img { width: 100%; max-height: 520px; object-fit: cover; }
.sm-is-article .entry-content {
  color: #37313e;
  font-size: 16px;
  line-height: 2.05;
}
.sm-is-article .entry-content > p { margin: 1.25em 0; }
.sm-is-article .article h2 {
  position: relative;
  margin: 3.1em 0 1.35em;
  padding: 18px 20px 17px !important;
  border: 0 !important;
  border-top: 1px solid #cfc0dd !important;
  border-bottom: 1px solid #cfc0dd !important;
  border-radius: 0 !important;
  background: linear-gradient(90deg, rgba(235,224,245,.66), rgba(247,241,250,.22)) !important;
  color: #2f2441 !important;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif !important;
  font-size: clamp(22px, 2.4vw, 29px) !important;
  font-weight: 600 !important;
  line-height: 1.55 !important;
}
.sm-is-article .article h2::before {
  content: "" !important;
  position: absolute;
  left: 50%;
  bottom: -5px;
  width: 9px;
  height: 9px;
  border: 1px solid #bba5d0;
  background: #fff;
  transform: translateX(-50%) rotate(45deg);
}
.sm-is-article .article h3 {
  position: relative;
  margin: 2.25em 0 1em;
  padding: 0 0 8px 15px;
  border: 0;
  border-bottom: 1px solid #e2d9e7;
  background: transparent;
  color: #49365e;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 21px;
  line-height: 1.55;
}
.sm-is-article .article h3::before {
  content: "" !important;
  position: absolute;
  left: 0;
  top: .42em;
  width: 5px;
  height: 20px;
  border-radius: 999px;
  background: linear-gradient(#8a6aa9, #c0a164);
}
.sm-is-article .article h4 { color: #5b446d; }
.sm-is-article blockquote {
  border: 1px solid #e0d5e5;
  border-left: 4px solid #8b6aa6;
  background: #faf7fc;
  color: #514a55;
}
.sm-is-article .toc {
  margin: 32px 0 40px !important;
  padding: 22px 28px !important;
  border: 1px solid #e2dbe3 !important;
  border-radius: 4px !important;
  background: #fffdfa !important;
  box-shadow: 0 7px 20px rgba(52, 43, 80, .035) !important;
}
.sm-is-article .toc-title {
  margin-bottom: 13px;
  color: #49385f;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 17px;
  letter-spacing: .06em;
  text-align: center;
}
.sm-is-article .toc-list { columns: 2; column-gap: 42px; }
.sm-is-article .toc-list > li { break-inside: avoid; }
.sm-is-article .toc a { color: #41364d; font-size: 13px; text-decoration: none; }
.sm-is-article .toc a:hover { color: #765595; }

/* Intro CTA — directly before TOC, matching the adopted article mockup. */
.sm-is-article .sm-inline-cta {
  position: relative;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 22px;
  margin: 34px 0 30px;
  padding: 28px 30px 28px 34px;
  border: 1px solid #d7c5b6;
  border-radius: 4px;
  background: linear-gradient(120deg, #fffaf8 0%, #f9f2fb 72%, #efe4f5 100%);
  box-shadow: 0 10px 28px rgba(57, 39, 72, .06);
}
.sm-is-article .sm-inline-cta::before {
  content: "✦";
  position: absolute;
  right: 154px;
  top: 20px;
  color: #cfb36c;
  font-size: 15px;
}
.sm-is-article .sm-inline-cta::after {
  content: "☾";
  position: absolute;
  right: 22px;
  top: 50%;
  width: 144px;
  height: 144px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(193,161,102,.62);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, #695178 0 22%, #3c2d54 23% 48%, #9275b1 49% 54%, #2c2142 55% 100%);
  box-shadow: inset 0 0 0 7px #fff, 0 8px 20px rgba(38,27,55,.14);
  color: #f1d69c;
  font-size: 55px;
  transform: translateY(-50%);
}
.sm-is-article .sm-inline-cta__mark { display: none; }
.sm-is-article .sm-inline-cta__body { position: relative; z-index: 2; padding-right: 2px; }
.sm-is-article .sm-inline-cta__eyebrow {
  margin: 0 0 5px !important;
  color: #5b466a !important;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .05em;
}
.sm-is-article .sm-inline-cta__title {
  margin: 0 !important;
  color: #342542 !important;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.5;
}
.sm-is-article .sm-inline-cta__text {
  max-width: 440px;
  margin: 8px 0 0 !important;
  color: #655c68 !important;
  font-size: 12px;
  line-height: 1.75;
}
.sm-is-article .sm-inline-cta .sm-button {
  position: absolute;
  left: 34px;
  bottom: 26px;
  z-index: 3;
  min-width: 210px;
  min-height: 44px;
  padding: 10px 22px;
  border-radius: 999px;
  background: linear-gradient(180deg, #d5ae4d, #bd922e);
  color: #fff !important;
  box-shadow: 0 8px 18px rgba(175,130,35,.22);
}
.sm-is-article .sm-inline-cta { min-height: 230px; padding-bottom: 80px; }

/* Editorial sidebar */
.sm-is-article #sidebar { width: 320px; flex: 0 0 320px; }
.sm-is-article #sidebar > section { margin-bottom: 18px; }
.sm-side-editor,
.sm-side-related,
.sm-side-ranking {
  border: 1px solid #e5dddf;
  border-radius: 5px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(45,36,58,.035);
}
.sm-side-editor { padding: 26px 24px 22px; text-align: center; background: linear-gradient(180deg, #fffcf8, #fff); }
.sm-side-editor__portrait {
  position: relative;
  display: grid;
  width: 130px;
  height: 130px;
  margin: 0 auto 18px;
  place-items: center;
  border: 1px solid #ddcbb1;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 28%, #c9b8df 0 15%, #8a75aa 16% 36%, #514268 37% 63%, #2e253e 64% 100%);
  box-shadow: inset 0 0 0 8px #fff, 0 8px 22px rgba(54,43,69,.10);
  color: #f4dba5;
  font-size: 46px;
}
.sm-side-editor__portrait i { position: absolute; right: 20px; top: 22px; color: #f6e3ad; font-style: normal; font-size: 13px; }
.sm-side-editor__kicker { margin: 0 0 5px !important; color: #a58e68; font-size: 8px !important; font-weight: 800; letter-spacing: .17em; }
.sm-side-editor h2 { margin: 0 0 14px !important; color: #352b44 !important; font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: 20px !important; font-weight: 600; }
.sm-side-editor > p:not(.sm-side-editor__kicker) { margin: 0; color: #625a65; font-size: 12px; line-height: 1.85; }
.sm-side-editor > a { display: flex; align-items: center; justify-content: space-between; margin-top: 20px; padding: 10px 12px; border: 1px solid #d8be8d; color: #6c5531 !important; font-size: 11px; font-weight: 700; }
.sm-side-related header,
.sm-side-ranking header { padding: 12px 15px 10px; background: linear-gradient(180deg, #6d4f91, #5c407f); color: #fff; text-align: center; }
.sm-side-related header span,
.sm-side-ranking header span { display: block; color: rgba(255,255,255,.64); font-size: 7px; font-weight: 800; letter-spacing: .14em; }
.sm-side-related header h2,
.sm-side-ranking header h2 { margin: 2px 0 0 !important; color: #fff !important; font-size: 13px !important; font-weight: 700; }
.sm-side-ranking header h2 small { color: rgba(255,255,255,.68); font-size: 9px; font-weight: 500; }
.sm-side-related > div { padding: 8px 12px; }
.sm-side-related > div > a { display: grid; grid-template-columns: 76px 1fr; gap: 11px; padding: 10px 0; border-bottom: 1px solid #eee8ed; color: #332b3e !important; }
.sm-side-related > div > a:last-child { border-bottom: 0; }
.sm-side-related__thumb { display: grid; width: 76px; height: 66px; place-items: center; border-radius: 4px; background: linear-gradient(135deg, #e8ddf1, #6e5790); overflow: hidden; color: #fff; }
.sm-side-related__thumb img { width: 100%; height: 100%; object-fit: cover; }
.sm-side-related__thumb i { font-style: normal; }
.sm-side-related__copy small { display: inline-block; margin-bottom: 4px; padding: 2px 5px; border: 1px solid #dbd0e3; color: #72578f; font-size: 8px; }
.sm-side-related__copy strong { display: block; font-size: 11px; line-height: 1.55; font-weight: 700; }
.sm-side-diagnosis {
  position: relative;
  padding: 26px 21px 24px;
  border: 1px solid #c49d55;
  border-radius: 5px;
  background: linear-gradient(160deg, #3c2b5a, #5f4381 60%, #312443);
  color: #fff;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 10px 28px rgba(38,27,55,.12);
}
.sm-side-diagnosis::before { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(230,203,143,.35); pointer-events: none; }
.sm-side-diagnosis__stars { position: relative; z-index: 2; color: #e2c06d; font-size: 14px; letter-spacing: .08em; }
.sm-side-diagnosis p { position: relative; z-index: 2; margin: 8px 0 0; color: #ecdba8; font-size: 10px; }
.sm-side-diagnosis h2 { position: relative; z-index: 2; margin: 6px 0 9px !important; color: #fff !important; font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: 25px !important; font-weight: 600; }
.sm-side-diagnosis div { position: relative; z-index: 2; color: rgba(255,255,255,.72); font-size: 11px; line-height: 1.75; }
.sm-side-diagnosis > a { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 18px; padding: 11px 12px; border-radius: 3px; background: linear-gradient(180deg, #d7b457, #bf9634); color: #fff !important; font-size: 11px; font-weight: 800; }
.sm-side-diagnosis > small { position: relative; z-index: 2; display: block; margin-top: 8px; color: rgba(255,255,255,.53); font-size: 8px; }
.sm-side-ranking ol { margin: 0 !important; padding: 7px 12px !important; list-style: none !important; }
.sm-side-ranking li { margin: 0 !important; padding: 0 !important; list-style: none !important; }
.sm-side-ranking li::before { display: none !important; }
.sm-side-ranking li a { display: grid; grid-template-columns: 25px 62px 1fr; align-items: center; gap: 8px; min-height: 62px; padding: 8px 0; border-bottom: 1px solid #eee9ec; color: #332c3c !important; }
.sm-side-ranking li:last-child a { border-bottom: 0; }
.sm-side-ranking__num { display: grid; width: 22px; height: 22px; place-items: center; border-radius: 50%; background: #c5a04e; color: #fff; font-family: serif; font-size: 12px; }
.sm-side-ranking li:nth-child(n+4) .sm-side-ranking__num { background: #b4acb3; }
.sm-side-ranking__thumb { display: grid; width: 62px; height: 46px; place-items: center; border-radius: 3px; background: #efe8f2; overflow: hidden; color: #765d93; }
.sm-side-ranking__thumb img { width: 100%; height: 100%; object-fit: cover; }
.sm-side-ranking__thumb i { font-style: normal; }
.sm-side-ranking strong { font-size: 9.5px; line-height: 1.45; font-weight: 700; }

/* Hide generic widgets immediately after the editorial stack from looking too heavy. */
.sm-is-article .sidebar .widget { border-radius: 5px; border-color: #e5dfe4; }
.sm-is-article .sidebar .widget h3 { font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; }

/* Mobile article mockup behavior: one-column reading flow, no right sidebar. */
@media screen and (max-width: 1023px) {
  .sm-is-article #sidebar { display: none !important; }
  .sm-is-article #main,
  .sm-is-article main.main { width: 100% !important; max-width: 780px !important; margin-inline: auto !important; }
}
@media screen and (max-width: 640px) {
  .sm-is-article #content { padding-top: 8px; }
  .sm-is-article .content-in { width: 100% !important; padding: 0 !important; }
  .sm-is-article #main,
  .sm-is-article main.main { border: 0; border-radius: 0; box-shadow: none; }
  .sm-is-article .article { padding: 18px 17px 34px; }
  .sm-is-article .breadcrumb,
  .sm-is-article .breadcrumbs { margin: 0 0 12px; font-size: 9px; }
  .sm-is-article .entry-title { margin-top: 7px; font-size: 26px; line-height: 1.52; }
  .sm-is-article .eye-catch { margin: 14px -17px 23px; border-radius: 0; box-shadow: none; }
  .sm-is-article .eye-catch img { max-height: 420px; }
  .sm-is-article .entry-content { font-size: 15px; line-height: 1.95; }
  .sm-is-article .article h2 { margin-top: 2.7em; padding: 14px 13px !important; font-size: 22px !important; }
  .sm-is-article .article h3 { font-size: 19px; }
  .sm-is-article .toc { margin: 25px 0 32px !important; padding: 18px 16px !important; }
  .sm-is-article .toc-list { columns: 1; }
  .sm-is-article .sm-inline-cta {
    display: block;
    min-height: 0;
    margin: 28px 0;
    padding: 24px 19px 22px;
    text-align: left;
  }
  .sm-is-article .sm-inline-cta::before { right: 22px; top: 16px; }
  .sm-is-article .sm-inline-cta::after {
    position: relative;
    right: auto;
    top: auto;
    width: 116px;
    height: 116px;
    margin: 18px auto 0;
    font-size: 44px;
    transform: none;
  }
  .sm-is-article .sm-inline-cta__title { font-size: 21px; }
  .sm-is-article .sm-inline-cta .sm-button {
    position: relative;
    left: auto;
    bottom: auto;
    width: 100%;
    margin-top: 18px;
  }
  .sm-next-read__grid { grid-template-columns: 1fr; }
  .sm-next-card { min-height: 118px; }
}


/* ======================================================================
   v3.1.0 — Cocoon live-site compatibility hotfix
   Fixes parent-theme header sizing and sidebar heading background clashes.
   ====================================================================== */

/* Header: force the adopted editorial header proportions even when Cocoon's
   header/logo/tagline settings contain legacy large dimensions. */
body:not(.sm-is-diagnosis) #header-container.header-container {
  background: rgba(255,253,249,.97) !important;
  border-bottom: 1px solid rgba(62,47,74,.10) !important;
  box-shadow: 0 3px 18px rgba(43,34,56,.035) !important;
}
body:not(.sm-is-diagnosis) #header-container-in.header-container-in {
  width: min(calc(100% - 40px), 1200px) !important;
  max-width: 1200px !important;
  min-height: 76px !important;
  margin: 0 auto !important;
  padding: 0 !important;
}
body:not(.sm-is-diagnosis) #header.header {
  min-height: 76px !important;
  height: 76px !important;
  padding: 0 !important;
  background: transparent !important;
}
body:not(.sm-is-diagnosis) #header-in.header-in {
  display: flex !important;
  min-height: 76px !important;
  height: 76px !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
body:not(.sm-is-diagnosis) .logo-header {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: auto !important;
  max-width: 330px !important;
  min-width: 220px !important;
  height: 76px !important;
  margin: 0 !important;
  padding: 0 0 0 48px !important;
  text-align: left !important;
  line-height: 1 !important;
}
body:not(.sm-is-diagnosis) .logo-header::before {
  content: "☾";
  position: absolute;
  left: 3px;
  top: 50%;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid #d6bd83;
  border-radius: 50%;
  color: #73558f;
  background: #fffaf4;
  font-family: Georgia, serif;
  font-size: 23px;
  transform: translateY(-50%);
  box-shadow: 0 4px 12px rgba(66,48,82,.06);
}
body:not(.sm-is-diagnosis) .logo-header .site-name-text,
body:not(.sm-is-diagnosis) .logo-header .site-name-text a,
body:not(.sm-is-diagnosis) .logo-header a.site-name-text {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #302440 !important;
  background: transparent !important;
  font-family: Georgia, "Yu Mincho", "Hiragino Mincho ProN", serif !important;
  font-size: 22px !important;
  font-weight: 500 !important;
  line-height: 1.12 !important;
  letter-spacing: .015em !important;
  white-space: nowrap !important;
}
body:not(.sm-is-diagnosis) .logo-header img {
  width: auto !important;
  max-width: 260px !important;
  max-height: 48px !important;
  margin: 0 !important;
}
body:not(.sm-is-diagnosis) .tagline,
body:not(.sm-is-diagnosis) .tagline-text,
body:not(.sm-is-diagnosis) #header .tagline {
  position: static !important;
  max-width: 300px !important;
  margin: 4px 0 0 48px !important;
  padding: 0 !important;
  color: #756b7c !important;
  background: transparent !important;
  font-size: 9px !important;
  font-weight: 500 !important;
  line-height: 1.3 !important;
  letter-spacing: .08em !important;
  text-align: left !important;
}
body:not(.sm-is-diagnosis) #navi.navi {
  background: transparent !important;
  box-shadow: none !important;
}
body:not(.sm-is-diagnosis) #navi .navi-in {
  max-width: 1200px !important;
  margin: 0 auto !important;
}
body:not(.sm-is-diagnosis) #navi .navi-in > ul > li > a {
  min-height: 48px !important;
  padding: 0 15px !important;
  color: #302a38 !important;
  background: transparent !important;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif !important;
  font-size: 12px !important;
  font-weight: 600 !important;
}
body:not(.sm-is-diagnosis) #navi .navi-in > ul > li > a:hover {
  color: #73558f !important;
  background: #faf5fb !important;
}

/* Article sidebar: Cocoon can assign site-key backgrounds to every sidebar h2/h3.
   These components own their surfaces, so neutralize all inherited heading chrome. */
.sm-is-article #sidebar .sm-side-editor h2,
.sm-is-article #sidebar .sm-side-related header h2,
.sm-is-article #sidebar .sm-side-ranking header h2,
.sm-is-article #sidebar .sm-side-diagnosis h2 {
  width: auto !important;
  min-height: 0 !important;
  height: auto !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  text-shadow: none !important;
}
.sm-is-article #sidebar .sm-side-related header h2,
.sm-is-article #sidebar .sm-side-ranking header h2 {
  margin-top: 3px !important;
  color: #fff !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
}
.sm-is-article #sidebar .sm-side-diagnosis h2 {
  margin: 8px 0 10px !important;
  color: #fff !important;
  font-size: 25px !important;
  line-height: 1.45 !important;
}
.sm-is-article #sidebar .sm-side-editor h2 {
  margin: 0 0 14px !important;
  color: #352b44 !important;
  font-size: 20px !important;
}
.sm-is-article #sidebar .sm-side-related header,
.sm-is-article #sidebar .sm-side-ranking header {
  display: block !important;
  min-height: 62px !important;
  padding: 11px 14px 12px !important;
  border: 0 !important;
  background: linear-gradient(180deg, #75549a 0%, #5b3e7c 100%) !important;
}
.sm-is-article #sidebar .sm-side-related header span,
.sm-is-article #sidebar .sm-side-ranking header span {
  color: rgba(255,255,255,.72) !important;
}
.sm-is-article #sidebar .sm-side-diagnosis {
  background: linear-gradient(160deg, #36264f 0%, #604382 58%, #2c203d 100%) !important;
}
.sm-is-article #sidebar .sm-side-diagnosis p {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #ecdba8 !important;
}
.sm-is-article #sidebar .sm-side-diagnosis div {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: rgba(255,255,255,.78) !important;
}
.sm-is-article #sidebar .sm-side-diagnosis > a {
  background: linear-gradient(180deg, #dfbd61 0%, #c69a32 100%) !important;
  color: #fff !important;
}

/* Prevent legacy Cocoon widget heading rules from leaking into the custom stack. */
.sm-is-article #sidebar > section:not(.widget) h2::before,
.sm-is-article #sidebar > section:not(.widget) h2::after,
.sm-is-article #sidebar > section:not(.widget) h3::before,
.sm-is-article #sidebar > section:not(.widget) h3::after {
  content: none !important;
  display: none !important;
}

@media screen and (min-width: 1024px) {
  body:not(.sm-is-diagnosis) #header-container-in.header-container-in.hlt-top-menu {
    display: grid !important;
    grid-template-columns: minmax(250px, 340px) minmax(0, 1fr) !important;
    align-items: center !important;
  }
  body:not(.sm-is-diagnosis) #header-container-in.hlt-top-menu #header {
    grid-column: 1 !important;
  }
  body:not(.sm-is-diagnosis) #header-container-in.hlt-top-menu #navi {
    grid-column: 2 !important;
  }
  body:not(.sm-is-diagnosis) #header-container-in.hlt-top-menu #navi .navi-in > ul {
    justify-content: flex-end !important;
  }
}

@media screen and (max-width: 1023px) {
  body:not(.sm-is-diagnosis) #header-container-in.header-container-in {
    width: 100% !important;
    min-height: 62px !important;
  }
  body:not(.sm-is-diagnosis) #header.header,
  body:not(.sm-is-diagnosis) #header-in.header-in {
    min-height: 62px !important;
    height: 62px !important;
  }
  body:not(.sm-is-diagnosis) .logo-header {
    min-width: 0 !important;
    max-width: calc(100% - 100px) !important;
    height: 62px !important;
    padding-left: 43px !important;
    margin-left: 14px !important;
  }
  body:not(.sm-is-diagnosis) .logo-header::before {
    width: 32px;
    height: 32px;
    left: 0;
    font-size: 20px;
  }
  body:not(.sm-is-diagnosis) .logo-header .site-name-text,
  body:not(.sm-is-diagnosis) .logo-header .site-name-text a,
  body:not(.sm-is-diagnosis) .logo-header a.site-name-text {
    font-size: 18px !important;
  }
  body:not(.sm-is-diagnosis) .tagline,
  body:not(.sm-is-diagnosis) .tagline-text,
  body:not(.sm-is-diagnosis) #header .tagline {
    display: none !important;
  }
  body:not(.sm-is-diagnosis) #navi.navi {
    display: none !important;
  }
}

/* ======================================================================
   v3.2.1 — interaction, editable editorial widget, diagnosis/page shell
   ====================================================================== */

/* Motion system: subtle editorial lift, not gimmicky animation. */
@media (hover:hover) and (pointer:fine) {
  .sm-front a.sm-problem-card,
  .sm-front .sm-diagnosis-lead,
  .sm-front .sm-diagnosis-quick__card,
  .sm-front .sm-diagnosis-more__grid > a,
  .sm-front .sm-feature-lead,
  .sm-front .sm-feature-row,
  .sm-front .sm-topic-card,
  .sm-front .sm-ranking-card,
  .sm-front .sm-ranking-lead,
  .sm-front .sm-ranking-list > a,
  .sm-front .sm-new-card,
  .sm-front .sm-new-row,
  .sm-next-card,
  .sm-side-related > div > a,
  .sm-side-ranking li a {
    transition: transform .34s cubic-bezier(.2,.75,.25,1), box-shadow .34s ease, border-color .34s ease, background-color .34s ease;
    will-change: transform;
  }
  .sm-front a.sm-problem-card:hover,
  .sm-front .sm-diagnosis-quick__card:hover,
  .sm-front .sm-diagnosis-more__grid > a:hover,
  .sm-front .sm-feature-row:hover,
  .sm-front .sm-topic-card:hover,
  .sm-front .sm-ranking-card:hover,
  .sm-front .sm-ranking-lead:hover,
  .sm-front .sm-new-card:hover,
  .sm-front .sm-new-row:hover,
  .sm-next-card:hover,
  .sm-side-related > div > a:hover {
    transform: translateY(-5px);
    border-color: rgba(183,145,69,.42) !important;
    box-shadow: 0 16px 36px rgba(49,35,67,.11);
  }

  .sm-front .sm-ranking-list > a:hover {
    transform: translateX(7px);
    background: rgba(255,255,255,.055);
    box-shadow: inset 3px 0 0 rgba(232,216,183,.78);
  }
  .sm-front .sm-new-row:hover {
    background: rgba(255,255,255,.72);
  }

  .sm-front .sm-diagnosis-lead:hover,
  .sm-front .sm-feature-lead:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 54px rgba(48,33,67,.18);
  }
  .sm-front figure,
  .sm-front .sm-media-image,
  .sm-side-related__thumb img,
  .sm-side-ranking__thumb img {
    overflow: hidden;
  }
  .sm-front .sm-feature-lead figure img,
  .sm-front .sm-feature-row figure img,
  .sm-front .sm-ranking-card img,
  .sm-front .sm-ranking-lead figure img,
  .sm-front .sm-new-card img,
  .sm-front .sm-new-row__media img,
  .sm-side-related__thumb img,
  .sm-side-ranking__thumb img {
    transition: transform .55s cubic-bezier(.2,.75,.25,1), filter .4s ease;
  }
  .sm-front .sm-feature-lead:hover figure img,
  .sm-front .sm-feature-row:hover figure img,
  .sm-front .sm-ranking-card:hover img,
  .sm-front .sm-ranking-lead:hover figure img,
  .sm-front .sm-new-card:hover img,
  .sm-front .sm-new-row:hover .sm-new-row__media img,
  .sm-side-related > div > a:hover .sm-side-related__thumb img,
  .sm-side-ranking li a:hover .sm-side-ranking__thumb img {
    transform: scale(1.045);
  }

  .sm-front .sm-ranking-list > a > i,
  .sm-front .sm-new-row > i {
    transition: transform .28s ease, color .28s ease;
  }
  .sm-front .sm-ranking-list > a:hover > i,
  .sm-front .sm-new-row:hover > i {
    transform: translateX(5px);
  }

  .sm-front .sm-button,
  .sm-side-diagnosis > a,
  .sm-inline-cta .sm-button {
    transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
  }
  .sm-front .sm-button:hover,
  .sm-side-diagnosis > a:hover,
  .sm-inline-cta .sm-button:hover {
    transform: translateY(-2px);
    filter: brightness(1.035);
    box-shadow: 0 10px 24px rgba(122,85,48,.16);
  }
}

/* Scroll reveal. Content remains visible when JS is unavailable. */
.sm-js .sm-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .75s cubic-bezier(.2,.72,.25,1);
}
.sm-js .sm-reveal.is-inview {
  opacity: 1;
  transform: translateY(0);
}
.sm-js .sm-reveal[data-sm-delay="1"] { transition-delay: .07s; }
.sm-js .sm-reveal[data-sm-delay="2"] { transition-delay: .14s; }
.sm-js .sm-reveal[data-sm-delay="3"] { transition-delay: .21s; }
.sm-js .sm-reveal[data-sm-delay="4"] { transition-delay: .28s; }
@media (prefers-reduced-motion: reduce) {
  .sm-js .sm-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .sm-front *, .sm-is-article * { scroll-behavior: auto !important; }
}

/* Editable editorial widget area. The widget itself receives the same visual shell. */
.sm-editor-widget-area { margin: 0 0 22px; }
.sm-editor-widget-area .sm-side-editor--widget {
  position: relative;
  overflow: hidden;
  margin: 0 !important;
  padding: 28px 24px !important;
  border: 1px solid rgba(192,159,97,.38) !important;
  border-radius: 2px !important;
  background: linear-gradient(180deg,#fffdf9 0%,#fffaf4 100%) !important;
  box-shadow: 0 10px 30px rgba(55,42,65,.055) !important;
  color: #4c4351 !important;
  text-align: center;
}
.sm-editor-widget-area .sm-side-editor--widget::before,
.sm-editor-widget-area .sm-side-editor--widget::after {
  content: "✦";
  position: absolute;
  color: #d2ad5d;
  font-size: 11px;
}
.sm-editor-widget-area .sm-side-editor--widget::before { left: 10px; top: 8px; }
.sm-editor-widget-area .sm-side-editor--widget::after { right: 10px; bottom: 8px; }
.sm-editor-widget-area .widget-title,
.sm-editor-widget-area .sm-side-editor__widget-title {
  margin: 0 0 15px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #332941 !important;
  font-family: Georgia,"Yu Mincho","Hiragino Mincho ProN",serif !important;
  font-size: 20px !important;
  font-weight: 500 !important;
  line-height: 1.55 !important;
}
.sm-editor-widget-area .widget-title::before,
.sm-editor-widget-area .widget-title::after,
.sm-editor-widget-area .sm-side-editor__widget-title::before,
.sm-editor-widget-area .sm-side-editor__widget-title::after { content: none !important; display: none !important; }
.sm-editor-widget-area p { margin: 0 0 14px !important; color: #6f6575 !important; font-size: 13px !important; line-height: 1.9 !important; }
.sm-editor-widget-area img { display: block; width: 118px; height: 118px; margin: 0 auto 18px !important; border-radius: 50%; object-fit: cover; }
.sm-editor-widget-area a:not(.wp-block-social-link-anchor) { color: #6b4b86 !important; text-decoration: none !important; }
.sm-editor-widget-area .wp-block-button__link,
.sm-editor-widget-area a.sm-editor-button {
  display: block !important;
  width: 100% !important;
  margin-top: 16px !important;
  padding: 11px 14px !important;
  border: 1px solid #c7a45d !important;
  border-radius: 2px !important;
  background: transparent !important;
  color: #6b5533 !important;
  font-weight: 700 !important;
}

/* Diagnosis and fixed pages: use the same brand shell instead of falling back to legacy Cocoon. */
.sm-is-page:not(.sm-is-front) {
  background: #fdfbf7 !important;
  color: #38313f;
}
.sm-is-page:not(.sm-is-front) #content.content,
.sm-is-page:not(.sm-is-front) #content-in.content-in {
  background: transparent !important;
}
.sm-is-page:not(.sm-is-front) #main.main {
  border: 1px solid rgba(83,63,94,.09) !important;
  border-radius: 4px !important;
  background: #fff !important;
  box-shadow: 0 14px 42px rgba(48,37,58,.055) !important;
}
.sm-is-page:not(.sm-is-front) .entry-title {
  color: #30283a !important;
  font-family: Georgia,"Yu Mincho","Hiragino Mincho ProN",serif !important;
  font-weight: 500 !important;
  letter-spacing: .025em !important;
}
.sm-is-page:not(.sm-is-front) .entry-content { color: #4b4350; line-height: 1.95; }
.sm-is-page:not(.sm-is-front) .entry-content h2 {
  margin-top: 2.8em !important;
  padding: 16px 18px !important;
  border: 0 !important;
  border-left: 3px solid #b9954f !important;
  background: linear-gradient(90deg,#f8f1fb 0%,#fff 100%) !important;
  color: #342942 !important;
  font-family: Georgia,"Yu Mincho","Hiragino Mincho ProN",serif !important;
  font-weight: 500 !important;
}
.sm-is-page:not(.sm-is-front) .entry-content h2::before,
.sm-is-page:not(.sm-is-front) .entry-content h2::after { content: none !important; display:none !important; }

/* Diagnosis pages get the same compact header as articles/front. */
.sm-is-diagnosis #header-container.header-container {
  background: rgba(255,253,249,.97) !important;
  border-bottom: 1px solid rgba(62,47,74,.10) !important;
  box-shadow: 0 3px 18px rgba(43,34,56,.035) !important;
}
.sm-is-diagnosis #header-container-in.header-container-in {
  width: min(calc(100% - 40px),1200px) !important;
  max-width: 1200px !important;
  min-height: 76px !important;
  margin: 0 auto !important;
  padding: 0 !important;
}
.sm-is-diagnosis #header.header,
.sm-is-diagnosis #header-in.header-in { min-height: 76px !important; height: 76px !important; padding:0 !important; background:transparent !important; }
.sm-is-diagnosis .logo-header {
  position: relative !important;
  display:flex !important;
  align-items:center !important;
  width:auto !important;
  max-width:330px !important;
  min-width:220px !important;
  height:76px !important;
  margin:0 !important;
  padding:0 0 0 48px !important;
  text-align:left !important;
}
.sm-is-diagnosis .logo-header::before {
  content:"☾";
  position:absolute;
  left:3px; top:50%;
  display:grid; place-items:center;
  width:36px; height:36px;
  border:1px solid #d6bd83;
  border-radius:50%;
  background:#fffaf4;
  color:#73558f;
  font:23px Georgia,serif;
  transform:translateY(-50%);
}
.sm-is-diagnosis .logo-header .site-name-text,
.sm-is-diagnosis .logo-header .site-name-text a,
.sm-is-diagnosis .logo-header a.site-name-text {
  color:#302440 !important;
  background:transparent !important;
  font-family:Georgia,"Yu Mincho","Hiragino Mincho ProN",serif !important;
  font-size:22px !important;
  font-weight:500 !important;
  line-height:1.12 !important;
  white-space:nowrap !important;
}
.sm-is-diagnosis .tagline,
.sm-is-diagnosis .tagline-text,
.sm-is-diagnosis #header .tagline { margin:4px 0 0 48px !important; padding:0 !important; color:#756b7c !important; background:transparent !important; font-size:9px !important; }
.sm-is-diagnosis #navi.navi { background:transparent !important; box-shadow:none !important; }
.sm-is-diagnosis #navi .navi-in > ul > li > a { min-height:48px !important; padding:0 15px !important; color:#302a38 !important; background:transparent !important; font-size:12px !important; }
.sm-is-diagnosis #navi .navi-in > ul > li > a:hover { color:#73558f !important; background:#faf5fb !important; }

/* Common diagnosis-app wrappers: neutralize old Cocoon page chrome without touching app internals. */
.sm-is-diagnosis #main.main { overflow: visible !important; }
.sm-is-diagnosis .article-header { margin-bottom: 20px; }
.sm-is-diagnosis .date-tags { color:#887f8d; }
.sm-is-diagnosis .entry-content > :first-child { margin-top:0; }

@media screen and (max-width:1023px) {
  .sm-is-diagnosis #header-container-in.header-container-in { width:100% !important; min-height:62px !important; }
  .sm-is-diagnosis #header.header,
  .sm-is-diagnosis #header-in.header-in { min-height:62px !important; height:62px !important; }
  .sm-is-diagnosis .logo-header { min-width:0 !important; max-width:calc(100% - 100px) !important; height:62px !important; padding-left:43px !important; margin-left:14px !important; }
  .sm-is-diagnosis .logo-header::before { width:32px; height:32px; left:0; font-size:20px; }
  .sm-is-diagnosis .logo-header .site-name-text,
  .sm-is-diagnosis .logo-header .site-name-text a,
  .sm-is-diagnosis .logo-header a.site-name-text { font-size:18px !important; }
  .sm-is-diagnosis .tagline,
  .sm-is-diagnosis .tagline-text,
  .sm-is-diagnosis #header .tagline { display:none !important; }
  .sm-is-diagnosis #navi.navi { display:none !important; }
  .sm-is-page:not(.sm-is-front) #main.main { border-radius:0 !important; box-shadow:none !important; }
}


/* ======================================================================
   v3.3.0 — article sidebar ranking readability / reader-facing polish
   ====================================================================== */

/* Article TOC: show H2 only. Nested H3+ entries remain in the article body. */
.sm-is-article .toc .toc-list > li > ul,
.sm-is-article .toc-widget-box .toc-list > li > ul,
.sm-is-article #toc .toc-list > li > ul,
.sm-is-article .toc-list li ul {
  display: none !important;
}

/* Sidebar weekly ranking: larger thumbnails and readable titles. */
.sm-is-article #sidebar .sm-side-ranking ol {
  padding: 10px 12px 12px !important;
}
.sm-is-article #sidebar .sm-side-ranking li a {
  position: relative;
  grid-template-columns: 30px 92px minmax(0, 1fr);
  gap: 11px;
  min-height: 92px;
  margin: 0;
  padding: 11px 7px;
  border-bottom: 1px solid #eee7ec;
  border-radius: 7px;
  background: transparent;
  text-decoration: none !important;
}
.sm-is-article #sidebar .sm-side-ranking li + li a {
  margin-top: 2px;
}
.sm-is-article #sidebar .sm-side-ranking__num {
  width: 28px;
  height: 28px;
  font-size: 14px;
  box-shadow: 0 4px 12px rgba(164,124,38,.16);
}
.sm-is-article #sidebar .sm-side-ranking__thumb {
  width: 92px;
  height: 68px;
  border-radius: 6px;
  box-shadow: 0 5px 14px rgba(40,30,54,.08);
}
.sm-is-article #sidebar .sm-side-ranking strong {
  display: -webkit-box;
  overflow: hidden;
  color: #332b3e !important;
  font-size: 12.5px;
  line-height: 1.58;
  font-weight: 700;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

@media (hover:hover) and (pointer:fine) {
  .sm-is-article #sidebar .sm-side-ranking li a {
    transition: transform .30s cubic-bezier(.2,.75,.25,1), background-color .30s ease, box-shadow .30s ease, border-color .30s ease;
  }
  .sm-is-article #sidebar .sm-side-ranking li a:hover {
    z-index: 2;
    transform: translateY(-4px) scale(1.01);
    border-color: rgba(196,157,85,.42);
    background: #fffaf5;
    box-shadow: 0 12px 28px rgba(49,35,67,.12);
  }
  .sm-is-article #sidebar .sm-side-ranking li a:hover .sm-side-ranking__thumb img {
    transform: scale(1.075);
    filter: saturate(1.05) contrast(1.02);
  }
  .sm-is-article #sidebar .sm-side-ranking li a:hover strong {
    color: #5b3f75 !important;
  }
  .sm-is-article #sidebar .sm-side-ranking li a:hover .sm-side-ranking__num {
    transform: scale(1.08);
  }
  .sm-is-article #sidebar .sm-side-ranking__num {
    transition: transform .30s ease;
  }
}

/* Slightly wider article sidebar on large desktop for readability. */
@media screen and (min-width: 1180px) {
  .sm-is-article #sidebar {
    width: 340px;
    flex-basis: 340px;
  }
}


/* ======================================================================
   v3.3.1 — diagnosis page alignment hotfix
   Keep diagnosis apps intact while normalizing Cocoon's page shell/header.
   ====================================================================== */

/* Desktop diagnosis header must use the same one-row composition as the rest
   of the site. The previous diagnosis-only rules did not reset Cocoon's
   legacy centered-header layout, which caused the tagline to escape upward
   and doubled the visible header height. */
.sm-is-diagnosis #header-container.header-container {
  min-height: 76px !important;
  height: 76px !important;
  overflow: visible !important;
}
.sm-is-diagnosis #header-container-in.header-container-in {
  display: grid !important;
  grid-template-columns: minmax(240px, 340px) minmax(0, 1fr) !important;
  align-items: center !important;
  min-height: 76px !important;
  height: 76px !important;
}
.sm-is-diagnosis #header.header {
  grid-column: 1 !important;
  min-height: 76px !important;
  height: 76px !important;
  margin: 0 !important;
}
.sm-is-diagnosis #header-in.header-in {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: auto !important;
  max-width: none !important;
  min-height: 76px !important;
  height: 76px !important;
  margin: 0 !important;
  padding: 0 !important;
}
.sm-is-diagnosis .logo-header {
  justify-content: flex-start !important;
  line-height: 1 !important;
}
/* The old Cocoon tagline position is theme-setting dependent; on diagnosis
   pages it is redundant with the diagnosis UI and was visibly drifting to
   the top-right, so hide it for a stable shell. */
.sm-is-diagnosis .tagline,
.sm-is-diagnosis .tagline-text,
.sm-is-diagnosis #header .tagline,
.sm-is-diagnosis #header-in .tagline {
  display: none !important;
  position: static !important;
  margin: 0 !important;
  padding: 0 !important;
}
.sm-is-diagnosis #navi.navi {
  grid-column: 2 !important;
  align-self: center !important;
  min-height: 0 !important;
  height: 76px !important;
  margin: 0 !important;
}
.sm-is-diagnosis #navi .navi-in,
.sm-is-diagnosis #navi .navi-in > ul {
  height: 76px !important;
  min-height: 0 !important;
  margin: 0 !important;
  align-items: center !important;
}
.sm-is-diagnosis #navi .navi-in > ul {
  justify-content: flex-end !important;
}
.sm-is-diagnosis #navi .navi-in > ul > li,
.sm-is-diagnosis #navi .navi-in > ul > li > a {
  height: 76px !important;
  min-height: 76px !important;
}

/* Remove Cocoon's legacy page whitespace around diagnosis apps. */
.sm-is-diagnosis #content.content {
  margin-top: 0 !important;
  padding-top: 20px !important;
}
.sm-is-diagnosis #content-in.content-in {
  align-items: flex-start !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
}
.sm-is-diagnosis #main.main {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
.sm-is-diagnosis article.article,
.sm-is-diagnosis .entry-content {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
/* Diagnosis tools provide their own heading/intro. Hide Cocoon's page chrome
   and top share bars so the tool starts immediately below the brand header. */
.sm-is-diagnosis .article-header,
.sm-is-diagnosis .sns-share,
.sm-is-diagnosis .sns-share-buttons,
.sm-is-diagnosis .sns-buttons,
.sm-is-diagnosis .share-button,
.sm-is-diagnosis .date-tags {
  display: none !important;
}
.sm-is-diagnosis .entry-content > :first-child {
  margin-top: 0 !important;
}

@media screen and (max-width: 1023px) {
  .sm-is-diagnosis #header-container.header-container,
  .sm-is-diagnosis #header-container-in.header-container-in,
  .sm-is-diagnosis #header.header,
  .sm-is-diagnosis #header-in.header-in {
    min-height: 62px !important;
    height: 62px !important;
  }
  .sm-is-diagnosis #header-container-in.header-container-in {
    display: block !important;
    width: 100% !important;
  }
  .sm-is-diagnosis #header.header { display: block !important; }
  .sm-is-diagnosis #navi.navi { display: none !important; }
  .sm-is-diagnosis #content.content { padding-top: 10px !important; }
}

/* ==========================================================
   v3.4.0 — fully widget-editable article sidebar
   ========================================================== */
.sm-article-widget-sidebar {
  display: grid;
  gap: 24px;
}

.sm-article-widget-sidebar .sm-sidebar-widget {
  margin: 0 !important;
  padding: 24px !important;
  border: 1px solid rgba(78, 55, 113, .14) !important;
  border-radius: 14px !important;
  background: #fffdf9 !important;
  box-shadow: 0 8px 28px rgba(45, 38, 60, .06) !important;
  overflow: hidden;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

@media (hover:hover) and (pointer:fine) {
  .sm-article-widget-sidebar .sm-sidebar-widget:hover {
    transform: translateY(-3px);
    border-color: rgba(113, 80, 154, .28) !important;
    box-shadow: 0 14px 36px rgba(45, 38, 60, .11) !important;
  }
}

.sm-article-widget-sidebar .sm-sidebar-widget__title,
.sm-article-widget-sidebar .widget-title,
.sm-article-widget-sidebar h2:first-child,
.sm-article-widget-sidebar h3:first-child {
  margin: -24px -24px 20px !important;
  padding: 17px 22px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: linear-gradient(135deg, #6d4b8f, #50356e) !important;
  color: #fff !important;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  line-height: 1.45 !important;
  letter-spacing: .05em !important;
  text-align: center !important;
}

.sm-article-widget-sidebar .widget ul,
.sm-article-widget-sidebar .sm-sidebar-widget ul {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.sm-article-widget-sidebar .widget li,
.sm-article-widget-sidebar .sm-sidebar-widget li {
  margin: 0 !important;
  padding: 10px 0 !important;
  border-bottom: 1px solid rgba(78, 55, 113, .10);
}

.sm-article-widget-sidebar .widget li:last-child,
.sm-article-widget-sidebar .sm-sidebar-widget li:last-child {
  border-bottom: 0;
}

.sm-article-widget-sidebar a {
  color: #352d43;
  text-decoration: none;
  transition: color .2s ease, opacity .2s ease;
}

.sm-article-widget-sidebar a:hover {
  color: #705093;
}

.sm-article-widget-sidebar img {
  border-radius: 10px;
}

@media (max-width: 834px) {
  .sm-article-widget-sidebar {
    gap: 18px;
  }
  .sm-article-widget-sidebar .sm-sidebar-widget {
    padding: 20px !important;
  }
  .sm-article-widget-sidebar .sm-sidebar-widget__title,
  .sm-article-widget-sidebar .widget-title,
  .sm-article-widget-sidebar h2:first-child,
  .sm-article-widget-sidebar h3:first-child {
    margin: -20px -20px 18px !important;
  }
}

/* ==========================================================
   v3.4.1 — editable article-bottom author/profile widget
   ========================================================== */
/* If the dedicated widget area is populated, remove Cocoon's default
   author box so the profile never appears twice. */
.sm-has-article-author-widget .author-box,
.sm-has-article-author-widget .article-footer .author-box,
.sm-has-article-author-widget .post-author,
.sm-has-article-author-widget .post-author-box {
  display: none !important;
}

.sm-article-author-area {
  margin: 48px 0 34px;
  padding: 0;
}

.sm-article-author-area::before {
  content: "この記事を書いた人";
  display: block;
  margin: 0 0 16px;
  color: #352d43;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .06em;
}

.sm-article-author-widget {
  margin: 0 !important;
  padding: 28px !important;
  border: 1px solid rgba(78, 55, 113, .16) !important;
  border-radius: 16px !important;
  background: #fffdf9 !important;
  box-shadow: 0 10px 34px rgba(45, 38, 60, .07) !important;
  overflow: hidden;
}

.sm-article-author-widget + .sm-article-author-widget {
  margin-top: 16px !important;
}

.sm-article-author-widget__title,
.sm-article-author-widget .widget-title {
  margin: 0 0 18px !important;
  padding: 0 0 12px !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(181, 143, 62, .28) !important;
  background: transparent !important;
  color: #352d43 !important;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif !important;
  font-size: 20px !important;
  font-weight: 600 !important;
  line-height: 1.5 !important;
  letter-spacing: .04em !important;
  text-align: left !important;
}

.sm-article-author-widget p:last-child,
.sm-article-author-widget ul:last-child,
.sm-article-author-widget figure:last-child {
  margin-bottom: 0 !important;
}

.sm-article-author-widget img {
  max-width: 100%;
  height: auto;
  border-radius: 14px;
}

/* Cocoon profile/author widgets placed inside this dedicated area. */
.sm-article-author-widget .author-box,
.sm-article-author-widget .profile-box,
.sm-article-author-widget .profile-card,
.sm-article-author-widget .widget_author_box {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.sm-article-author-widget a {
  color: #644689;
  transition: color .2s ease, opacity .2s ease;
}
.sm-article-author-widget a:hover {
  color: #8a62ac;
}

@media (max-width: 834px) {
  .sm-article-author-area {
    margin: 38px 0 28px;
  }
  .sm-article-author-area::before {
    font-size: 20px;
  }
  .sm-article-author-widget {
    padding: 22px !important;
    border-radius: 14px !important;
  }
}

/* =========================================================
   v3.4.2 — editable profile widget
   ========================================================= */
.sm-profile-widget { margin: 0 0 28px; }
.sm-profile-card {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding: 26px;
  border: 1px solid rgba(181, 145, 77, .30);
  border-radius: 18px;
  background: #fffdf9;
  box-shadow: 0 12px 34px rgba(45, 38, 60, .06);
}
.sm-profile-card__image img {
  width: 112px;
  height: 112px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid rgba(205, 165, 78, .45);
}
.sm-profile-card__role { color: #7a6c82; font-size: 12px; letter-spacing: .08em; margin-bottom: 3px; }
.sm-profile-card__name { color: #2d263c; font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: 22px; font-weight: 700; line-height: 1.45; }
.sm-profile-card__bio { color: #625a6c; font-size: 14px; line-height: 1.9; margin-top: 10px; }
.sm-profile-card__bio p { margin: 0 0 8px; }
.sm-profile-card__button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  padding: 10px 16px;
  border: 1px solid rgba(181, 145, 77, .55);
  border-radius: 999px;
  color: #4c3567 !important;
  background: #fff;
  text-decoration: none !important;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.sm-profile-card__button:hover { transform: translateY(-2px); background: #fbf5e8; box-shadow: 0 8px 18px rgba(45,38,60,.10); }
.sm-profile-card__socials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.sm-profile-card__socials a { font-size: 12px; color: #6b4a89 !important; text-decoration: none !important; border-bottom: 1px solid rgba(107,74,137,.35); }
@media (max-width: 600px) {
  .sm-profile-card { grid-template-columns: 78px minmax(0, 1fr); gap: 15px; padding: 18px; }
  .sm-profile-card__image img { width: 78px; height: 78px; }
  .sm-profile-card__name { font-size: 18px; }
  .sm-profile-card__bio { grid-column: 1 / -1; font-size: 13px; }
}
