.eshc-app{--ink:#26352f;--muted:#65736d;--forest:#456b5a;--deep:#304e41;--sage:#dfeae3;--soft:#f0f5f1;--cream:#fbf8f2;--amber:#bd7e35;--line:#dbe3de;color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;font-size:16px;line-height:1.8;margin:24px auto;max-width:1080px}.eshc-app *{box-sizing:border-box}.eshc-app img{display:block;max-width:100%}.eshc-app button,.eshc-app input,.eshc-app select{font:inherit}.eshc-hero{display:grid;grid-template-columns:.92fr 1.08fr;min-height:500px;overflow:hidden;border:1px solid rgba(69,107,90,.15);border-radius:34px;background:#fff;box-shadow:0 18px 48px rgba(43,67,56,.09)}.eshc-hero-copy{padding:clamp(32px,5vw,62px);align-self:center}.eshc-eyebrow,.eshc-kicker{margin:0 0 12px!important;color:var(--forest);font-size:13px;font-weight:800;letter-spacing:.12em}.eshc-eyebrow:before{content:"";display:inline-block;width:27px;height:2px;margin:0 8px 4px 0;background:currentColor}.eshc-hero h2{margin:0!important;font-size:clamp(34px,5vw,58px)!important;line-height:1.16!important;letter-spacing:-.035em}.eshc-lead{margin:20px 0 0!important;color:var(--muted);font-size:17px}.eshc-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:26px}.eshc-button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:10px 18px;border:1px solid var(--deep);border-radius:999px;background:var(--deep);color:#fff!important;text-decoration:none!important;font-weight:800;cursor:pointer}.eshc-button-secondary{background:#fff;color:var(--deep)!important}.eshc-hero-visual{position:relative;min-height:500px;background:var(--sage)}.eshc-hero-visual img{width:100%;height:100%;object-fit:cover;object-position:52% center}.eshc-hero-visual span{position:absolute;left:22px;bottom:22px;padding:8px 13px;border-radius:999px;background:rgba(255,255,255,.88);color:var(--deep);font-size:13px;font-weight:800}.eshc-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:24px 0}.eshc-steps>div{padding:18px;border:1px solid var(--line);border-radius:18px;background:#fff}.eshc-steps b{display:flex;align-items:center;gap:9px;color:var(--deep)}.eshc-steps b span{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--forest);color:#fff;font-size:13px}.eshc-steps p{margin:7px 0 0!important;color:var(--muted);font-size:14px}.eshc-section{margin:0 0 26px;padding:clamp(22px,4vw,40px);border:1px solid var(--line);border-radius:28px;background:#fff;box-shadow:0 12px 34px rgba(43,67,56,.055)}.eshc-section-heading{margin-bottom:24px}.eshc-section-heading p{margin:0 0 6px!important;color:var(--forest);font-size:13px;font-weight:800;letter-spacing:.12em}.eshc-section-heading h2{margin:0!important;font-size:clamp(26px,3.5vw,38px)!important;line-height:1.25!important}.eshc-section-heading span{display:block;margin-top:8px;color:var(--muted)}.eshc-calculator-layout{display:grid;grid-template-columns:.88fr 1.12fr;gap:22px}.eshc-controls{padding:22px;border-radius:22px;background:var(--soft)}.eshc-controls label{display:block;margin-bottom:17px;font-weight:800}.eshc-controls input,.eshc-controls select{display:block;width:100%;min-height:48px;margin-top:7px;padding:9px 12px;border:1px solid #bdcbc3;border-radius:11px;background:#fff;color:var(--ink)}.eshc-controls small{display:block;margin:-12px 0 17px;color:var(--muted)}.eshc-presets{display:flex;flex-wrap:wrap;gap:7px;margin:-8px 0 15px}.eshc-presets button{padding:4px 11px;border:1px solid #b8c8bf;border-radius:999px;background:#fff;color:var(--deep);font-size:13px;font-weight:700;cursor:pointer}.eshc-presets button[aria-pressed=true]{background:var(--forest);color:#fff}.eshc-calculate{width:100%;border-radius:13px}.eshc-results{display:flex;flex-direction:column;padding:25px;border-radius:22px;background:linear-gradient(150deg,var(--deep),#587765);color:#fff}.eshc-results>p{margin:0!important;color:rgba(255,255,255,.72);font-size:13px}.eshc-result-heading{font-size:24px}.eshc-result-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-top:20px}.eshc-result-grid>div{min-height:105px;padding:13px 8px;border:1px solid rgba(255,255,255,.16);border-radius:15px;background:rgba(255,255,255,.1);text-align:center}.eshc-result-grid span{display:block;color:rgba(255,255,255,.74);font-size:13px}.eshc-result-grid strong{display:block;margin-top:6px;font-size:24px}.eshc-result-note{margin-top:auto;padding-top:17px;color:rgba(255,255,255,.74)}.eshc-talks{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:20px}.eshc-talk{display:grid;grid-template-columns:56px 1fr;gap:11px;align-items:center}.eshc-talk img{width:56px;height:56px;border:3px solid #fff;border-radius:50%;object-fit:cover;box-shadow:0 5px 14px rgba(43,67,56,.13)}.eshc-talk p{margin:0!important;padding:12px 14px;border:1px solid var(--line);border-radius:15px;background:var(--cream);font-size:14px}.eshc-toolbar{display:grid;grid-template-columns:1fr auto;gap:18px;align-items:center;margin-bottom:20px;padding:16px 18px;border-radius:17px;background:var(--soft)}.eshc-progress-wrap>div:first-child{display:flex;justify-content:space-between;gap:14px;margin-bottom:7px;font-size:14px}.eshc-progress-track{height:9px;overflow:hidden;border-radius:999px;background:#d7e1db}.eshc-progress-bar{display:block;width:0;height:100%;background:linear-gradient(90deg,var(--forest),#83a38f);transition:width .25s}.eshc-toolbar-actions{display:flex;gap:7px}.eshc-toolbar-actions button{padding:7px 12px;border:1px solid var(--forest);border-radius:999px;background:#fff;color:var(--deep);font-weight:800;cursor:pointer}.eshc-check-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.eshc-check-group{overflow:hidden;border:1px solid var(--line);border-radius:19px}.eshc-check-group h3{display:flex;align-items:center;gap:9px;margin:0!important;padding:15px 17px;background:var(--cream);font-size:18px!important}.eshc-check-group h3 span{width:10px;height:10px;border-radius:50%;background:var(--amber)}.eshc-check-group>div{padding:6px 17px 9px}.eshc-check-item{display:grid;grid-template-columns:23px 1fr auto;gap:9px;align-items:center;min-height:45px;border-bottom:1px dashed #e2e6e3;cursor:pointer}.eshc-check-item:last-child{border-bottom:0}.eshc-check-item input{width:20px;height:20px;margin:0;accent-color:var(--forest)}.eshc-check-item input:checked+.eshc-item-name{color:#89928e;text-decoration:line-through}.eshc-qty{padding:2px 8px;border-radius:999px;background:var(--soft);color:var(--deep);font-size:12px;font-weight:800}.eshc-footnote{margin:17px 0 0!important;color:var(--muted);font-size:13px}.eshc-experience{display:grid;grid-template-columns:1.1fr .9fr;gap:24px;overflow:hidden;padding:0}.eshc-experience>img{width:100%;height:100%;min-height:380px;object-fit:cover}.eshc-experience>div{align-self:center;padding:30px 38px 30px 0}.eshc-experience h2{margin:0 0 15px!important;font-size:clamp(25px,3vw,35px)!important;line-height:1.3!important}.eshc-experience ul{list-style:none;margin:0;padding:0}.eshc-experience li{position:relative;padding:11px 0 11px 29px;border-bottom:1px dashed var(--line)}.eshc-experience li:before{content:"✓";position:absolute;left:0;top:12px;display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:var(--sage);color:var(--deep);font-size:12px;font-weight:900}.eshc-advice{display:grid;grid-template-columns:82px 1fr;gap:18px;align-items:center;padding:23px;border-radius:20px;background:linear-gradient(120deg,#f6ebdd,#fffaf4)}.eshc-advice img{width:82px;height:82px;border:4px solid #fff;border-radius:50%;object-fit:cover}.eshc-advice h3{margin:0 0 4px!important;color:#76552f;font-size:20px!important}.eshc-advice p{margin:0!important;color:#655c50}.eshc-notice{margin:18px 0 0!important;padding:15px 17px;border-left:4px solid var(--amber);border-radius:4px 13px 13px 4px;background:#fff8ec;color:#675943;font-size:13px}.eshc-toast{position:fixed;left:50%;bottom:22px;z-index:9999;padding:9px 15px;border-radius:999px;background:var(--deep);color:#fff;opacity:0;transform:translate(-50%,18px);pointer-events:none;transition:.22s}.eshc-toast.is-visible{opacity:1;transform:translate(-50%,0)}
@media(max-width:1050px){.eshc-hero{grid-template-columns:1fr;min-height:0}.eshc-hero-copy{order:2;padding:30px 32px 34px}.eshc-hero h2{font-size:clamp(32px,6vw,46px)!important;word-break:keep-all}.eshc-hero-visual{order:1;min-height:0;aspect-ratio:16/9}.eshc-hero-visual img{object-fit:cover;object-position:center}.eshc-hero-visual span{left:16px;bottom:16px}}
@media(max-width:820px){.eshc-calculator-layout,.eshc-check-grid,.eshc-experience{grid-template-columns:1fr}.eshc-talks{grid-template-columns:1fr}.eshc-experience>div{padding:0 24px 28px}.eshc-experience>img{min-height:310px}}
@media(max-width:560px){.eshc-app{margin:12px 0}.eshc-hero{border-radius:22px}.eshc-hero-copy{padding:24px 19px 27px}.eshc-hero h2{font-size:32px!important}.eshc-hero-visual{aspect-ratio:16/10}.eshc-steps{display:flex;overflow-x:auto;scroll-snap-type:x mandatory}.eshc-steps>div{min-width:82%;scroll-snap-align:start}.eshc-section{padding:21px 15px;border-radius:21px}.eshc-result-grid{grid-template-columns:1fr 1fr}.eshc-toolbar{grid-template-columns:1fr}.eshc-toolbar-actions button{flex:1}.eshc-check-group>div{padding-left:12px;padding-right:12px}.eshc-check-item{font-size:14px}.eshc-advice{grid-template-columns:62px 1fr;padding:17px}.eshc-advice img{width:62px;height:62px}}
@media print{.eshc-app{max-width:none;font-size:12px}.eshc-hero-visual,.eshc-actions,.eshc-steps,.eshc-calculator-layout,.eshc-talks,.eshc-toolbar-actions,.eshc-experience,.eshc-toast{display:none!important}.eshc-hero{display:block;min-height:0;border:0;box-shadow:none}.eshc-hero-copy{padding:0 0 12px}.eshc-hero h2{font-size:28px!important}.eshc-section{margin:0;padding:10px 0;border:0;box-shadow:none}.eshc-section-heading{margin-bottom:9px}.eshc-section-heading h2{font-size:20px!important}.eshc-toolbar{display:block;margin:0 0 9px;padding:7px 9px}.eshc-check-grid{grid-template-columns:1fr 1fr;gap:7px}.eshc-check-group{break-inside:avoid}.eshc-check-group h3{padding:7px 9px;font-size:14px!important}.eshc-check-group>div{padding:2px 9px}.eshc-check-item{min-height:28px}.eshc-check-item input{appearance:none;width:14px;height:14px;border:1px solid #555}.eshc-check-item input:checked:after{content:"✓";display:block;margin:-5px 0 0 1px;font-size:15px}.eshc-advice,.eshc-notice{break-inside:avoid}}

/* v1.0.2: Cocoonなどのサイドバー付き本文幅でも崩れない固定レイアウト */
.eshc-app .eshc-hero{grid-template-columns:1fr!important;min-height:0!important}
.eshc-app .eshc-hero-copy{order:2;padding:34px clamp(24px,5vw,52px) 38px}
.eshc-app .eshc-hero h2{font-size:clamp(34px,5vw,50px)!important;word-break:keep-all!important;overflow-wrap:normal!important}
.eshc-app .eshc-hero-visual{order:1;min-height:0!important;aspect-ratio:16/9}
.eshc-app .eshc-hero-visual img{object-fit:cover;object-position:center}
.eshc-app .eshc-check-group h3 i{display:block;flex:0 0 10px;width:10px;height:10px;border-radius:50%;background:var(--amber)}
.eshc-app .eshc-check-group h3 .eshc-group-title{display:block;width:auto;height:auto;min-width:0;background:transparent;white-space:nowrap;word-break:keep-all}
@media print{.eshc-app .eshc-hero-copy{padding:0 0 12px}.eshc-app .eshc-hero h2{font-size:28px!important}}

/* v1.0.7: 印刷ボタンではチェックリストだけを印刷 */
body>.eshc-print-only{display:none!important}
@media print{
body.eshc-printing> *:not(.eshc-print-only){display:none!important}
body.eshc-printing>.eshc-print-only{display:block!important;margin:0!important;padding:0!important}
body.eshc-printing>.eshc-print-only .eshc-print-target{display:block!important;width:100%!important;margin:0!important;padding:0!important;border:0!important;box-shadow:none!important}
}

/* v1.0.3: テーマ側のh3装飾と完全に分離したチェック項目見出し */
.eshc-app .eshc-group-heading{display:flex!important;flex-direction:row!important;align-items:center!important;gap:9px!important;width:100%!important;min-height:54px;padding:15px 17px!important;margin:0!important;background:var(--cream)!important;color:var(--ink)!important;writing-mode:horizontal-tb!important;text-orientation:mixed!important;line-height:1.4!important}
.eshc-app .eshc-group-heading i{display:block!important;flex:0 0 10px!important;width:10px!important;height:10px!important;border-radius:50%!important;background:var(--amber)!important}
.eshc-app .eshc-group-heading strong{display:block!important;width:auto!important;min-width:0!important;margin:0!important;padding:0!important;background:transparent!important;color:var(--ink)!important;font-size:18px!important;font-weight:700!important;white-space:nowrap!important;word-break:keep-all!important;writing-mode:horizontal-tb!important}

/* v1.0.8: スマホ表示の目次ずれ・見出しはみ出し修正 */
@media(max-width:560px){
  /* このショートコードを設置した固定ページのCocoon目次を画面内に収める */
  .toc{
    width:100%!important;
    max-width:100%!important;
    margin-left:0!important;
    margin-right:0!important;
    padding-left:16px!important;
    padding-right:16px!important;
    box-sizing:border-box!important;
    overflow:hidden!important;
  }
  .toc .toc-content,
  .toc .toc-list,
  .toc ol,
  .toc ul{
    max-width:100%!important;
    box-sizing:border-box!important;
  }
  .toc a,
  .toc li{
    white-space:normal!important;
    word-break:normal!important;
    overflow-wrap:anywhere!important;
  }
  .toc ol,
  .toc ul{
    padding-left:1.45em!important;
    margin-left:0!important;
    margin-right:0!important;
  }

  /* メイン見出しをスマホ幅で必ず折り返す */
  .eshc-app .eshc-hero h2{
    max-width:100%!important;
    font-size:28px!important;
    line-height:1.28!important;
    letter-spacing:-.02em!important;
    white-space:normal!important;
    word-break:normal!important;
    overflow-wrap:anywhere!important;
  }
  .eshc-app .eshc-hero-copy,
  .eshc-app .eshc-section,
  .eshc-app .eshc-section-heading,
  .eshc-app .eshc-section-heading h2{
    min-width:0!important;
    max-width:100%!important;
  }
}
