/* 원본 save-teeth.com 첫 화면(css/renewal/style_main_new.css)의 색·글꼴·첫 화면 모양을 따른 한 장짜리 스타일 */
:root { --navy: #232176; --navy2: #3130A8; --pink: #FFA4B4; --ink: #2d2d2d; --grey: #696969; --line: #DBDCE0; --pale: #F5F6FA; }
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body { color: var(--ink); font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; line-height: 1.5; word-break: keep-all; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { display: block; max-width: 100%; height: auto; }

.hd { left: 0; padding: 24px 30px; position: absolute; top: 0; z-index: 10; }
.hd img { width: 164px; }

.vis { background: url("/img/vis_back.jpg") center / cover no-repeat; display: flex; flex-direction: column; align-items: center; justify-content: space-between; min-height: 760px; padding-top: 150px; text-align: center; }
.vis_txt strong { color: var(--navy); font-size: 40px; font-weight: 700; }
.vis_txt h2 { color: var(--navy); font-size: 70px; font-weight: 700; line-height: 1.25; margin: 0 auto; padding-right: 30px; position: relative; width: fit-content; }
.vis_txt h2::after { color: var(--pink); content: "+"; font-size: 70px; position: absolute; right: 0; top: -45px; }
.vis_txt p { color: #4E4E4E; font-size: 30px; margin-top: 15px; }
.vis_model img { margin: 40px auto 0; width: 700px; }

.pick { background: var(--pale); padding: 100px 20px 110px; }
.pick_ttl { text-align: center; margin-bottom: 48px; }
.pick_ttl p { color: var(--pink); font-size: 18px; font-weight: 700; letter-spacing: .08em; }
.pick_ttl h2 { color: var(--navy); font-size: 40px; font-weight: 700; margin-top: 8px; }
.branches { display: grid; gap: 24px; grid-template-columns: repeat(3, 1fr); margin: 0 auto; max-width: 1200px; }
.branch { background: #fff; border: 1px solid var(--line); border-radius: 20px; display: flex; flex-direction: column; overflow: hidden; transition: box-shadow .3s, transform .3s; }
.branch:hover, .branch:focus-within { box-shadow: 0 12px 32px rgba(35, 33, 118, .12); transform: translateY(-4px); }
.branch .go { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 36px 32px 28px; }
.branch .area { color: var(--grey); font-size: 16px; }
.branch strong { color: var(--navy); font-size: 32px; font-weight: 700; }
.branch .addr { color: var(--ink); font-size: 16px; min-height: 48px; }
.branch .btn { align-self: flex-start; background: var(--navy2); border-radius: 999px; color: #fff; font-size: 16px; font-weight: 600; margin-top: 12px; padding: 12px 28px; }
.branch .btn::after { content: " ›"; }
.maps { border-top: 1px solid var(--line); display: flex; }
.maps a { align-items: center; color: var(--grey); display: flex; flex: 1; font-size: 15px; gap: 8px; justify-content: center; padding: 16px 0; }
.maps a + a { border-left: 1px solid var(--line); }
.maps a::before { background: center / contain no-repeat; content: ""; height: 20px; width: 20px; }
.maps .naver::before { background-image: url("/img/ic_nmap.png"); }
.maps .kakao::before { background-image: url("/img/ic_kamap.png"); }
.maps a:hover { color: var(--navy); }
.note { color: var(--grey); font-size: 15px; margin-top: 32px; text-align: center; }

.ft { background: #2d2d2d; color: #b1b1b1; font-size: 14px; padding: 48px 20px; }
.ft_inner { margin: 0 auto; max-width: 1200px; }
.ft_link { color: #fff; font-weight: 600; }
.ft_link a { color: #fff; margin-left: 12px; }
.ft_sns { display: flex; gap: 16px; margin-top: 16px; }
.ft_sns a:hover, .ft_link a:hover { text-decoration: underline; }
.copy { margin-top: 12px; }

@media (max-width: 960px) {
  .branches { grid-template-columns: 1fr; max-width: 520px; }
}
@media (max-width: 768px) {
  .hd { padding: 18px 20px; }
  .hd img { width: 120px; }
  .vis { background-image: url("/img/vis_back_m.jpg"); background-position: left top; min-height: 0; padding-top: 100px; }
  .vis_txt strong { font-size: 22px; }
  .vis_txt h2 { font-size: 38px; padding-right: 20px; }
  .vis_txt h2::after { font-size: 40px; top: -20px; }
  .vis_txt p { font-size: 15px; margin-top: 12px; }
  .vis_model img { margin-top: 28px; width: 100%; max-width: 420px; }
  .pick { padding: 60px 20px 70px; }
  .pick_ttl { margin-bottom: 28px; }
  .pick_ttl p { font-size: 14px; }
  .pick_ttl h2 { font-size: 26px; }
  .branch .go { padding: 28px 24px 22px; }
  .branch strong { font-size: 26px; }
  .branch .addr { min-height: 0; }
}
