/* 주소콘 — teachingsaem.co.kr : white page, ink text, deep teal links, red CTA, pale mint-grey bands, dark footer */
:root{--tc-ink:#1b1d22;--tc-teal:#0f7b6c;--tc-teal-dk:#0a5a4f;--tc-red:#d62839;--tc-mint:#f3f7f6;--tc-line:#d5e0dd;--tc-soft:#5a616b}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{margin:0;background:#fff;color:var(--tc-ink);font:16.5px/1.78 -apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Malgun Gothic","Noto Sans KR",sans-serif;word-break:keep-all;overflow-wrap:anywhere}
img{max-width:100%;height:auto;display:block}
a{color:var(--tc-teal);text-underline-offset:.2em;text-decoration-thickness:1px}
a:hover{color:var(--tc-teal-dk);text-decoration-thickness:2px}
a:focus-visible{outline:3px solid #f2c14e;outline-offset:2px;border-radius:3px}
code{font:600 .86em/1.4 ui-monospace,Menlo,Consolas,monospace;color:#2f3d3a;letter-spacing:-.01em}
h1,h2,h3{line-height:1.38;letter-spacing:-.022em;margin:0}
h1{font-size:clamp(1.5rem,1.1rem + 1.6vw,2.15rem);margin:.35rem 0 1.1rem}
h2{font-size:1.28rem;margin:2.3rem 0 .75rem;padding-left:.7rem;border-left:4px solid var(--tc-teal)}
h3{font-size:1.06rem;margin:1.4rem 0 .4rem}
p{margin:0 0 1rem}

/* header: logo row, menu centred under it */
.tc-mast{background:#fff;border-bottom:1px solid var(--tc-line)}
.tc-home{display:block;width:max-content;margin:0 auto 0 max(1.1rem,calc((100% - 1080px) / 2 + 1.1rem));padding:.7rem 0 .2rem}
.tc-home img{width:127px;height:auto}
.tc-menu menu{list-style:none;margin:0 auto;padding:.2rem .6rem .55rem;max-width:1080px;display:flex;flex-wrap:wrap;justify-content:center;gap:.15rem .35rem}
.tc-menu a{display:block;padding:.38rem .8rem;color:var(--tc-ink);text-decoration:none;font-weight:600;font-size:.97rem;border-radius:999px}
.tc-menu a:hover{background:var(--tc-mint);color:var(--tc-teal-dk)}
.tc-menu a[aria-current="page"]{background:var(--tc-teal);color:#fff}

.tc-body{max-width:860px;margin:0 auto;padding:1.2rem 1.1rem 3.5rem}
.tc-trail ol{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;font-size:.86rem;color:var(--tc-soft)}
.tc-trail li+li::before{content:"/";margin:0 .45rem;color:#a7b1ad}
.tc-trail a{color:var(--tc-soft)}

/* home */
.tc-open{padding:1.4rem 0 .6rem;text-align:left}
.tc-open h1{font-size:clamp(1.45rem,1.05rem + 1.7vw,2.2rem);max-width:30ch}
.tc-lede{font-size:1.07rem;color:#30343b;max-width:46em}
.tc-go{margin:.3rem 0 1.4rem}
.tc-cta{display:inline-block;background:var(--tc-red);color:#fff;font-weight:800;font-size:1.08rem;padding:.8rem 1.7rem;border-radius:14px;text-decoration:none;box-shadow:0 5px 0 #a51d2b}
.tc-cta:hover{color:#fff;background:#bf2131}
.tc-sub{color:var(--tc-soft);font-size:.95rem}
.tc-front{background:var(--tc-mint);border-radius:18px;padding:.4rem 1.2rem 1.2rem;margin:1.6rem 0}
.tc-front h2,.tc-glossary h2,.tc-last h2{border-left:0;padding-left:0}
.tc-front-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(178px,1fr));gap:.55rem}
.tc-front-list>a{display:flex;flex-direction:column;background:#fff;border:1px solid var(--tc-line);border-radius:12px;padding:.6rem .8rem;text-decoration:none;color:var(--tc-ink)}
.tc-front-list>a:hover{border-color:var(--tc-teal)}
.tc-front-list b{font-size:1rem}
.tc-front-list code{color:var(--tc-teal);font-family:ui-monospace,Menlo,monospace;font-size:.8rem}
.tc-area-list{margin:0;display:grid;gap:0 1.4rem}
.tc-area-list dt{font-weight:700;padding-top:.6rem}
.tc-area-list dd{margin:0;color:#3d434b;font-size:.94rem;padding:.1rem 0 .6rem;border-bottom:1px solid #e8eeec}
.tc-word-grid{display:grid;gap:0 1.6rem}
.tc-word{border-top:1px dashed var(--tc-line);padding-top:.2rem}
.tc-memo-list{margin:0}
.tc-memo-list dt{font-weight:700;padding-top:.7rem}
.tc-memo-list dd{margin:.15rem 0 0;padding-bottom:.7rem;border-bottom:1px solid var(--tc-line);color:#3d434b;font-size:.95rem}
.tc-more{margin-top:.8rem;font-weight:600}
.tc-faqside{display:grid;gap:1.2rem;align-items:start;margin-top:1rem}
.tc-faqpic{margin:0;background:var(--tc-mint);border-radius:20px;padding:.6rem}
.tc-faqpic img{border-radius:14px}
.tc-last{margin:2.6rem 0 0;padding:1.4rem 1.3rem 1.6rem;border-radius:20px;background:var(--tc-mint);border:1px solid var(--tc-line);text-align:center}
.tc-last .tc-cta{margin-top:.3rem}

/* Q&A */
.tc-qna dl{margin:0}
.tc-ask{font-size:1.02rem;font-weight:700;margin:1rem 0 .3rem;color:#13342f}
.tc-ask::before{content:"Q.";color:var(--tc-teal);margin-right:.4rem}
.tc-reply{color:#30343b;margin:0;padding-bottom:.8rem;border-bottom:1px solid #e8eeec}

/* lists */
.tc-bul{padding-left:1.25rem;margin:0 0 1.1rem}
.tc-bul li{margin:.25rem 0}
.tc-steps{counter-reset:tcstep;list-style:none;padding:0;margin:0 0 1.2rem}
.tc-steps li{counter-increment:tcstep;position:relative;padding:.1rem 0 .55rem 2.3rem}
.tc-steps li::before{content:counter(tcstep,hangul);position:absolute;left:0;top:.15rem;width:1.65rem;height:1.65rem;border-radius:50%;background:var(--tc-mint);border:1.5px solid var(--tc-teal);color:var(--tc-teal-dk);font-size:.8rem;font-weight:700;display:flex;align-items:center;justify-content:center}

/* 분야 table */
.tc-sitebox{margin-top:1.4rem}
.tc-sites{width:100%;border-collapse:collapse;font-size:.95rem}
.tc-sites caption{text-align:left;color:var(--tc-soft);font-size:.86rem;padding-bottom:.4rem}
.tc-sites thead th{background:var(--tc-mint);text-align:left;font-size:.84rem;color:#3d4a47;padding:.5rem .6rem;border-bottom:2px solid var(--tc-teal)}
.tc-sites tbody th{text-align:left;font-weight:700;white-space:nowrap}
.tc-sites th,.tc-sites td{padding:.65rem .6rem;border-bottom:1px solid #e3ebe8;vertical-align:top}
.tc-jump{display:inline-block;white-space:nowrap;font-weight:700;font-size:.88rem;color:#fff;background:var(--tc-teal);padding:.3rem .8rem;border-radius:8px;text-decoration:none}
.tc-jump:hover{background:var(--tc-teal-dk);color:#fff}
.tc-checkrow{display:grid;gap:1rem;align-items:center;margin:1.8rem 0 .4rem;padding:1rem 1.1rem;background:var(--tc-mint);border-radius:18px}
.tc-check h2{margin-top:.3rem}
.tc-ticks{list-style:none;margin:0;padding:0}
.tc-ticks li{position:relative;padding:.22rem 0 .22rem 1.7rem}
.tc-ticks li::before{content:"";position:absolute;left:.15rem;top:.62rem;width:.75rem;height:.42rem;border-left:2.5px solid var(--tc-teal);border-bottom:2.5px solid var(--tc-teal);transform:rotate(-45deg)}
.tc-checkpic{margin:0;max-width:300px;justify-self:center}
.tc-checkpic img{border-radius:16px}
.tc-also{margin-top:2rem}
.tc-near{display:flex;justify-content:space-between;flex-wrap:wrap;gap:.6rem;margin-top:2.6rem;padding-top:1rem;border-top:2px solid var(--tc-mint);font-size:.94rem}

/* tips */
.tc-note{counter-reset:none}
.tc-band{margin:2rem -1.1rem 0;background:var(--tc-mint)}
.tc-band img{width:100%}
.tc-next{margin-top:2.4rem;padding:1rem 1.2rem;border:1px solid var(--tc-line);border-radius:16px}
.tc-next-h{font-weight:800;margin:0 0 .3rem}
.tc-next ul{margin:0;padding-left:1.15rem}

/* other pages: picture spots */
.tc-shot-wide,.tc-shot-inset,.tc-shot-step,.tc-shot-float,.tc-shot-last,.tc-shot-gap{margin:1.3rem 0 1.5rem}
.tc-shot-wide img,.tc-shot-step img,.tc-shot-last img,.tc-shot-gap img{border-radius:18px}
.tc-shot-inset{max-width:560px;margin-left:auto;margin-right:auto}
.tc-shot-inset img{border-radius:24px;border:1px solid var(--tc-line)}
.tc-shot-float img{border-radius:20px}
.tc-shot-gap{background:var(--tc-mint);padding:.5rem;border-radius:22px}
.tc-board-list{list-style:none;margin:0;padding:0;display:grid;gap:.9rem}
.tc-board-list li{border:1px solid var(--tc-line);border-radius:14px;padding:.3rem 1rem .6rem}
.tc-board-list h3{margin-top:.6rem}
.tc-board-list p{margin:0 0 .25rem}
.tc-names{font-size:.88rem;color:var(--tc-soft)}
.tc-hop{list-style:none;margin:0 0 1.2rem;padding:.7rem;display:flex;flex-wrap:wrap;gap:.35rem;background:var(--tc-mint);border-radius:14px}
.tc-hop a{display:block;padding:.2rem .65rem;border:1px solid var(--tc-line);background:#fff;border-radius:8px;font-size:.9rem;text-decoration:none}
.tc-shelf{margin:1.4rem 0 0;scroll-margin-top:1rem}
.tc-shelf h3{font-size:1.1rem;border-bottom:2px solid var(--tc-teal);padding-bottom:.25rem}
.tc-shelf>p{color:#3d434b;font-size:.94rem;margin:.45rem 0 .5rem}
.tc-shelf-list{list-style:none;margin:0;padding:0}
.tc-shelf-list li{display:grid;grid-template-columns:1fr auto;gap:.1rem .8rem;padding:.45rem 0;border-bottom:1px dotted #cfdad6;align-items:center}
.tc-shelf-list code{grid-column:1;font-size:.8rem;color:var(--tc-teal-dk)}
.tc-shelf-list .tc-jump{grid-column:2;grid-row:1/span 2}
.tc-nm{font-weight:600}

/* footer */
.tc-foot{background:#1b1d22;color:#d9dfdd;font-size:.92rem}
.tc-foot{padding:2.2rem max(1.1rem,calc((100% - 1080px) / 2 + 1.1rem)) 2.6rem;display:grid;gap:1.4rem}
.tc-foot-h{display:block;color:#fff;font-weight:800;margin:0 0 .5rem}
.tc-foot menu{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:.3rem 1rem}
.tc-foot a{color:#bfe6de}
.tc-foot a:hover{color:#fff}
.tc-foot-note{display:block;grid-column:1/-1;margin:0;font-size:.88rem;color:#a3aba8;border-top:1px solid #33373e;padding-top:1rem}

@media (min-width:760px){
  .tc-area-list{grid-template-columns:max-content 1fr}
  .tc-area-list dt{padding-bottom:.6rem;border-bottom:1px solid #e8eeec}
  .tc-area-list dd{padding-top:.6rem}
  .tc-faqside{grid-template-columns:minmax(0,1.45fr) minmax(0,1fr)}
  .tc-faqside .tc-qna h2{margin-top:1rem}
  .tc-faqpic{position:sticky;top:1rem;margin-top:3.4rem}
  .tc-word-grid{grid-template-columns:1fr 1fr}
  .tc-checkrow{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr)}
  .tc-shot-float{float:right;width:44%;margin:.3rem 0 1rem 1.4rem}
  .tc-band{margin-left:0;margin-right:0;border-radius:20px;overflow:hidden}
  .tc-foot{grid-template-columns:2fr 1fr}
  .tc-board-list{grid-template-columns:1fr 1fr}
}
@media (max-width:640px){
  .tc-sites thead{display:none}
  .tc-sites caption{display:block;width:auto}
  .tc-sites,.tc-sites tbody,.tc-sites tr,.tc-sites th,.tc-sites td{display:block;width:100%}
  .tc-sites tr{padding:.6rem 0;border-bottom:1px solid #e3ebe8}
  .tc-sites th,.tc-sites td{border:0;padding:.1rem 0}
  .tc-sites td:last-child{padding-top:.4rem}
}
.tc-body h2{clear:both}
