@charset "utf-8";
.cases-page {padding:70px 24px 90px!important;background:#fff;}
.cases-inner {max-width:1100px;margin:0 auto;}
.cases-heading {display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:34px;}
.cases-eyebrow {display:block;font-size:12px;font-weight:700;letter-spacing:.18em;color:var(--primary-color);margin-bottom:14px;}
.cases-heading h1,.case-article h1 {font-size:36px;font-weight:700;line-height:1.4;color:var(--dark-color);letter-spacing:-.04em;}
.cases-heading p {font-size:17px;color:#666;margin-top:12px;line-height:1.7;}
.cases-count {flex-shrink:0;color:#777;font-size:15px;}
.cases-count strong {color:var(--primary-color);}
.cases-table {width:100%;border-collapse:collapse;border-top:2px solid var(--dark-color);font-size:16px;}
.cases-table th {padding:18px 14px;background:#f7f6f4;font-weight:600;color:#666;}
.cases-table td {padding:26px 14px;border-bottom:1px solid #e6e3df;text-align:center;vertical-align:middle;}
.cases-table th:first-child {width:70px;}
.cases-table th:nth-child(3) {width:110px;}
.cases-table th:last-child {width:150px;}
.cases-table td:nth-child(2) {text-align:left;}
.cases-table a {display:block;line-height:1.6;}
.cases-table a strong {font-size:20px;font-weight:600;color:var(--dark-color);}
.cases-table a span {display:block;font-size:14px;color:#777;margin-top:5px;}
.cases-table a:hover strong {color:var(--primary-color);text-decoration:underline;}
.case-tag {display:inline-block;padding:5px 11px;border-radius:4px;background:#f4eeeb;color:#765343;font-size:13px;font-weight:600;line-height:1.5;}
.case-notice {font-size:14px;color:#777;line-height:1.8;margin-top:24px;}
.case-pagination {text-align:center;margin-top:35px;}
.case-pagination a {display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border:1px solid #ddd;border-radius:4px;color:var(--dark-color);}
.case-pagination a,.case-pagination span {margin:0 4px;}
.case-pagination a:hover {border-color:var(--primary-color);color:var(--primary-color);}
.case-pagination span {display:inline-flex;align-items:center;justify-content:center;background:var(--dark-color);color:white;width:38px;height:38px;border-radius:4px;}
.case-back {display:inline-block;color:#666;font-size:15px;margin-bottom:30px;}
.case-back:hover {color:var(--primary-color);}
.case-article {max-width:900px;margin:0 auto;}
.case-article-head {border-bottom:1px solid #ddd;padding-bottom:28px;}
.case-article-head h1 {margin:14px 0;}
.case-article-head p {font-size:14px;color:#777;}
.case-article-head p span {padding:0 10px;}
.case-intro {font-size:18px;line-height:1.9;margin:30px 0 45px;color:#555;}
.case-step {margin:0 0 50px;}
.case-step h2 {display:flex;align-items:center;gap:14px;font-size:24px;font-weight:700;line-height:1.5;color:var(--dark-color);}
.case-step h2 span {font-size:14px;letter-spacing:.08em;color:var(--primary-color);}
.case-step>p {font-size:16px;color:#666;line-height:1.8;margin:10px 0 20px;}
.case-step figure {margin:0;min-width:0;}
.case-step img {display:block;width:100%;height:auto;border-radius:8px;}
.case-step figcaption {font-size:13px;text-align:center;color:#777;padding:12px 0;}
.case-image-pair {display:grid;grid-template-columns:1fr 1fr;gap:20px;align-items:start;}
.case-specimen {max-width:650px;margin:0 auto!important;}
.case-article-foot {text-align:center;border-top:1px solid #ddd;padding-top:30px;margin-top:30px;}
.case-button {display:inline-flex;align-items:center;justify-content:center;gap:24px;padding:15px 24px;border:1px solid var(--dark-color);border-radius:5px;font-size:16px;font-weight:600;line-height:1.5;color:var(--dark-color);}
.case-button:hover {background:var(--dark-color);color:white;}
.main-case-preview {background:#f6f3ef;padding:80px 0;}
.case-home-layout {display:grid;grid-template-columns:1fr 420px;gap:60px;align-items:center;max-width:1100px;margin:auto;}
.case-home-copy h2 {font-size:clamp(28px,3vw,42px);font-weight:700;letter-spacing:-.04em;color:var(--dark-color);line-height:1.35;}
.case-home-copy p {font-size:18px;line-height:1.8;color:#666;margin:20px 0 30px;}
.case-home-card {display:block;border:1px solid #e2ddd6;background:white;border-radius:12px;overflow:hidden;}
.case-home-image {background:#e7ebe5;aspect-ratio:4/3;display:flex;align-items:center;justify-content:center;overflow:hidden;}
.case-home-image img {display:block;width:100%;height:100%;object-fit:contain;}
.case-home-caption {display:flex;justify-content:space-between;align-items:center;gap:15px;padding:22px 24px;}
.case-home-caption h3 {font-size:21px;font-weight:600;color:var(--dark-color);margin-top:10px;line-height:1.5;}
.case-home-arrow {font-size:28px;color:var(--primary-color);}
.case-home-card:hover {border-color:var(--primary-color);}
.cases-page a:focus-visible,.main-case-preview a:focus-visible {outline:3px solid var(--primary-color);outline-offset:4px;}
@media(max-width:800px){.case-home-layout{grid-template-columns:1fr 340px;gap:25px;}.cases-heading h1,.case-article h1{font-size:30px;}.case-home-copy p{font-size:16px;}}
@media(max-width:640px){.cases-page{padding:40px 18px 60px!important;}.cases-heading{display:block;}.cases-count{display:block;margin-top:20px;}.cases-heading h1,.case-article h1{font-size:27px;}.cases-heading p{font-size:15px;}.cases-table th:first-child,.cases-table td:first-child,.cases-table th:nth-child(3),.cases-table td:nth-child(3){display:none;}.cases-table th:last-child{width:95px;}.cases-table td{padding:22px 8px;}.cases-table time{font-size:12px;}.cases-table a strong{font-size:17px;}.cases-table a span{font-size:12px;}.case-image-pair{grid-template-columns:1fr;}.case-intro{font-size:16px;}.case-step h2{font-size:21px;}.main-case-preview{padding:50px 0;}.case-home-layout{grid-template-columns:1fr;gap:30px;}.case-home-card{max-width:420px;width:100%;}.case-home-copy p br{display:none;}}

/* 증례 상세: 제목과 사진만 표시 */
.case-article .case-notice {text-align:center;}
.case-article-head + .case-step {margin-top:36px;}
.case-step h2 {margin-bottom:20px;}

/* 증례 목록: 제거 조직 사진을 보여주는 갤러리 */
.case-gallery {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;margin:0;padding:0;list-style:none;}
.case-gallery>li {min-width:0;}
.case-gallery-card {display:block;height:100%;overflow:hidden;border:1px solid #e2ddd6;border-radius:10px;background:#fff;}
.case-gallery-image {aspect-ratio:1/1;background:#eef0eb;overflow:hidden;}
.case-gallery-image img {display:block;width:100%;height:100%;object-fit:contain;}
.case-gallery-body {padding:22px;}
.case-gallery-body h2 {margin:12px 0 9px;color:var(--dark-color);font-size:21px;font-weight:600;line-height:1.5;word-break:keep-all;}
.case-gallery-body time {display:block;font-size:14px;color:#777;}
.case-gallery-more {display:flex;align-items:center;justify-content:space-between;margin-top:22px;padding-top:16px;border-top:1px solid #eee;font-size:14px;color:var(--primary-color);font-weight:600;}
.case-gallery-card:hover {border-color:var(--primary-color);}
.case-gallery-card:hover h2 {text-decoration:underline;text-underline-offset:4px;}
@media(max-width:900px){.case-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;}}
@media(max-width:520px){.case-gallery{grid-template-columns:1fr;}.case-gallery-body{padding:20px;}}

/* 메인 추천 증례: 원본 대신 화면에서만 흐림 효과를 적용합니다. */
.featured-cases .featured-case-heading {display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:30px;}
.featured-cases h2 {font-size:clamp(28px,3vw,42px);font-weight:700;line-height:1.35;color:var(--dark-color);letter-spacing:-.04em;}
.featured-case-intro {font-size:16px;line-height:1.8;color:#666;margin-top:14px;}
.featured-case-track {display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 48px)/3);gap:24px;overflow-x:auto;scroll-snap-type:x mandatory;list-style:none;margin:0;padding:4px 0 16px;overscroll-behavior-x:contain;}
.featured-case-track>li {min-width:0;scroll-snap-align:start;}
.featured-case-card {height:100%;border:1px solid #e2ddd6;border-radius:12px;overflow:hidden;background:white;}
.featured-case-photo {position:relative;aspect-ratio:4/3;overflow:hidden;background:#e9ece7;isolation:isolate;}
.featured-case-photo img {display:block;width:100%;height:100%;object-fit:contain;filter:blur(10px);opacity:.66;}
.featured-case-photo::after {content:"";position:absolute;inset:0;background:rgba(246,243,239,.22);pointer-events:none;}
.featured-case-photo.is-revealed img {filter:none;opacity:1;}
.featured-case-photo.is-revealed::after {display:none;}
.featured-case-reveal {position:absolute;z-index:1;left:50%;bottom:18px;transform:translateX(-50%);padding:11px 20px;border:1px solid #d2cbc3;border-radius:24px;background:rgba(255,255,255,.96);color:#44382f;font:inherit;font-size:14px;font-weight:600;white-space:nowrap;cursor:pointer;}
.featured-case-body {padding:24px;}
.featured-case-body h3 {font-size:21px;font-weight:600;line-height:1.5;color:var(--dark-color);word-break:keep-all;}
.featured-case-body time {display:block;font-size:14px;color:#777;margin-top:10px;}
.featured-case-detail {display:flex;justify-content:space-between;border-top:1px solid #eee;margin-top:20px;padding-top:16px;font-size:14px;font-weight:600;color:var(--primary-color);}
.featured-case-controls {display:flex;justify-content:flex-end;gap:10px;margin-top:8px;}
.featured-case-controls button {width:44px;height:44px;border:1px solid #cfc8bf;border-radius:50%;background:#fff;color:#44382f;font-size:22px;cursor:pointer;}
.featured-case-controls button:disabled {opacity:.35;cursor:default;}
.featured-cases button:focus-visible,.featured-case-track:focus-visible {outline:3px solid var(--primary-color);outline-offset:3px;}
@media(max-width:900px){.featured-case-track{grid-auto-columns:calc((100% - 24px)/2);}.featured-cases .featured-case-heading{align-items:flex-start;flex-direction:column;}}
@media(max-width:640px){.featured-case-track{grid-auto-columns:100%;gap:18px;}.featured-case-body{padding:20px;}.featured-case-intro{font-size:15px;}.featured-case-heading .case-button{font-size:14px;padding:12px 18px;}}
