/*---------------------------------------------------
# ===== 메인 비주얼 =====
-----------------------------------------------------*/
/* ===== mav (메인 비주얼) ===== */
.mav {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
    font-family: pretendard-400;
  box-sizing: border-box;
}
.mav *, .mav *::before, .mav *::after { box-sizing: border-box; }

/* 배경 롤링 */
.mav__bg { position: absolute; inset: 0; z-index: 0; }
.mav__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.4s ease;
  will-change: opacity;
}
.mav__slide.is-active { opacity: 1; }

/* 배경 이미지 */
.mav__slide--1 { background-image: url('/public/img/minsa/mainv_bg01.webp'); }
.mav__slide--2 { background-image: url('/public/img/minsa/mainv_bg02.webp'); }
.mav__slide--3 { background-image: url('/public/img/minsa/mainv_bg03.webp'); }

/* 딤(고정) */
.mav__dim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.6) 100%),
    linear-gradient(180deg, rgba(13,27,46,0) 50%, rgba(13,27,46,0.6) 100%);
}

/* 카피 inner */
.mav__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 6rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 6rem;
  transform: translateY(14.95rem); /* 시안: 화면 중앙에서 아래로 149.5px */
}

/* 상단 행 */
.mav__top { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; width: 100%; }
.mav__lead {
  flex: 1 1 0;
  min-width: 0;
  font-weight: 500;
  font-size: 6rem;
  line-height: 8rem;
  color: #fff;
}

/* Scroll Down 버튼 */
.mav__scroll {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1.4rem 2.4rem;
  border: 2px solid rgba(255,255,255,0.1);
  border-radius: 9.9rem;
  background: rgba(255,255,255,0.05);
  -webkit-backdrop-filter: blur(1rem);
  backdrop-filter: blur(1rem);
  text-decoration: none;
}
.mav__scroll span {
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1.6rem;
  letter-spacing: 0.09rem;
  color: #fff;
  white-space: nowrap;
}
.mav__scroll img { width: 1rem; height: 1.2rem; display: block; }

/* 구분선 */
.mav__line { width: 100%; height: 1px; background: #fff; }

/* 하단 행 */
.mav__bottom { display: flex; align-items: flex-end; justify-content: flex-end; width: 100%; }
.mav__title {
  font-weight: 800;
  font-size: 10rem;
  line-height: 13rem;
  color: #fff;
  text-align: right;
}

/* ===== 반응형 (max-width) ===== */
@media (max-width: 1800px) {
  .mav__inner { max-width: 168rem; padding: 0 4rem; }
}
@media (max-width: 1400px) {
  .mav__inner { padding: 0 3rem; transform: translateY(10rem); gap: 4rem; }
  .mav__lead { font-size: 4.4rem; line-height: 6rem; }
  .mav__title { font-size: 7rem; line-height: 9rem; }
}
@media (max-width: 1024px) {
  .mav__lead { font-size: 3.4rem; line-height: 4.6rem; }
  .mav__title { font-size: 5rem; line-height: 6.6rem; }
}

/* 모바일 */
@media (max-width: 768px) {
  .mav { justify-content: flex-end; }
  .mav__slide--1 { background-image: url('/public/img/minsa/mainv_bg01_mo.webp'); }
  .mav__inner {
    padding: 0 2rem 6rem;
    gap: 3rem;
    transform: none;
  }
  .mav__lead { font-size: 2rem; line-height: 2.8rem; }

  .mav__scroll { gap: 0.6rem; padding: 0.9rem 1.4rem; border-width: 1px; }
  .mav__scroll span { font-size: 1rem; line-height: 1.2rem; letter-spacing: 0.06rem; }
  .mav__scroll img { width: 0.6rem; height: 0.9rem; }

  .mav__title { font-size: 3.2rem; line-height: 4.4rem; }
}



/*---------------------------------------------------
# ===== Introduction =====
-----------------------------------------------------*/
/* ===== Intro ===== */
.Intro {
	overflow:hidden;
  background: #F5F5F3;
  padding: 12rem 0;
    font-family: pretendard-400;
  color: #0D1B2E;
  box-sizing: border-box;
}
.Intro *,
.Intro *::before,
.Intro *::after { box-sizing: border-box; }

/* 공통 inner */
.Intro__inner {
  padding: 0 6rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 6rem;
}

/* ── 헤드 카피 ── */
.Intro__head { display: flex; flex-direction: column; gap: 2rem; width: 100%; }
.Intro__label {
  font-family: 'Albert Sans', sans-serif;
  font-weight: 800;
  font-size: 1.8rem;
  line-height: 2rem;
  letter-spacing: 0.108rem;
  text-transform: uppercase;
  color: #B8975A;
}
.Intro__title { display: block;font-weight: 300;font-size: 4.6rem; line-height: 7rem; color: #0D1B2E; }
.Intro__title span {
    font-weight: 700;
}

/* ── 본문 ── */
.Intro__content { display: flex; flex-direction: column; gap: 4rem; width: 100%; }
.Intro__cards { display: flex; gap: 3rem; align-items: stretch; width: 100%; }

/* 카드 공통 */
.Intro__card { border-radius: 2rem; padding: 5rem; position: relative; }

/* 좌측 인용 카드 */
.Intro__card--quote {
  background: #E6EEF2;
  width: 64rem;
  flex: 0 0 64rem;
  overflow: hidden;
}
.Intro__quote {
  position: relative;
  z-index: 2;
  font-weight: 500;
  font-size: 2.8rem;
  line-height: 4.6rem;
  color: #0D1B2E;
}
.Intro__photo { position: absolute; left: 0; right: 0; bottom: 0; height: 39rem; }
.Intro__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.Intro__photo-fade {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top,
    rgba(230,238,242,0) 0%,
    rgba(230,238,242,0) 45.9%,
    rgba(230,238,242,0.7) 73%,
    #E6EEF2 100%);
}

/* 우측 리스트 카드 */
.Intro__card--list {
  background: #fff;
  -webkit-backdrop-filter: blur(1rem);
  backdrop-filter: blur(1rem);
  flex: 1 1 0;
  min-width: 0;
}
.Intro__list { display: flex; flex-direction: column; }
.Intro__li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.Intro__li:not(:first-child) {
  margin-top: 2.4rem;
  padding-top: 2.4rem;
  border-top: 1px solid rgba(13,27,46,0.1);
}
.Intro__dot { width: 0.4rem; height: 2rem; flex: 0 0 0.4rem; object-fit: contain; }
.Intro__li h3 {position:relative;font-weight: 400;
  font-size: 1.8rem;
  line-height: 2.4rem;
  color: #0D1B2E;
  padding:0 0 0 1.4rem;
}
.Intro__li h3:before {
    content: '';
    position: absolute;
    left: 0;
    top: 1rem;
    width: 0.4rem;
    height: 0.4rem;
    background: #DEB467;
    border-radius: 50%;
}

/* ── 하단 로고 마퀴 ── */
.Intro__logos-wrap { position: relative; width: 100%; }
.Intro__logos { width: 100%; overflow: hidden; }
.Intro__logos .swiper-wrapper { transition-timing-function: linear !important; }
.Intro__logo {
  width: 26rem;
  height: 13rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* .swiper.Intro__logos{ */
	/* overflow:unset; */
/* } */
.Intro__logos .swiper-slide{
	position:relative;
}
.Intro__logo img { width: var(--lw); height: auto; object-fit: contain; }
.Intro__logos-fade {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(90deg,
    #F5F5F3 0%, rgba(245,245,243,0) 10%,
    rgba(245,245,243,0) 90%, #F5F5F3 100%);
}



/* ===== 반응형 (max-width) ===== */
@media (max-width: 1800px) {
  .Intro__inner { max-width: 168rem; padding: 0 4rem; }
}
@media (max-width: 1400px) {
  .Intro__inner { padding: 0 3rem; }
  .Intro__title { font-size: 4rem; line-height: 6rem; }
}

/* 태블릿: 카드 세로 스택 */
@media (max-width: 1200px) {
  .Intro__cards { flex-direction: column; }
  .Intro__card--quote { width: 100%; flex: 1 1 auto; }
  .Intro__photo { position: relative; height: 28rem; margin-top: 3rem; }
  .Intro__title { font-size: 3.4rem; line-height: 5rem; }
}
@media (max-width: 991px) {
	.Intro__title {
		font-size: 3rem;
		line-height: 4.6rem;
	}
}
/* 모바일 */
@media (max-width: 768px) {
  .Intro { padding: 6rem 0 3rem; }
  .Intro__inner { padding: 0 2rem; gap: 2.4rem; }

  .Intro__head { gap: 1rem; }
  .Intro__label { font-size: 1.2rem; line-height: 1.4rem; letter-spacing: 0.072rem; }
  .Intro__title { font-size: 2.2rem; line-height: 3.4rem; }

  .Intro__content { gap: 2rem; }
  .Intro__cards { gap: 1rem; }

  .Intro__card { padding: 2rem; border-radius: 1rem; }
  .Intro__card--quote { height: 30rem; }
  .Intro__quote { font-size: 1.5rem; line-height: 2.5rem; }
  .Intro__photo { position: absolute; height: 20.4rem; margin-top: 0; }

  .Intro__card--list { display: flex; flex-direction: column; }
  .Intro__li { gap: 0.8rem; }
  .Intro__li:not(:first-child) { margin-top: 1.4rem; padding-top: 1.4rem; }
  .Intro__li h3{padding: 0 0 0 1.2rem;font-size: 1.4rem; line-height: 2rem;}
  .Intro__li h3:before{top: 0.8rem;}

  .Intro__logo { width: 16.4rem; height: 8.2rem; }
  .Intro__logo img { width: calc(var(--lw) * 0.63); }
}
@media (max-width: 650px) {
	.Intro__title br{display:none;}
}


/*---------------------------------------------------
# ===== 업무분야 =====
-----------------------------------------------------*/
/* ===== pract ===== */
.pract {
  background: #fff;
  padding: 12rem 0 6rem;
    font-family: pretendard-400;
  color: #0D1B2E;
  box-sizing: border-box;
}
.pract *, .pract *::before, .pract *::after { box-sizing: border-box; }

/* 공통 inner */
.pract__inner {
  padding: 0 6rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 6rem;
}

/* 헤드 */
.pract__head { display: flex; flex-direction: column; gap: 2rem; width: 100%; }
.pract__label {
  font-family: 'Albert Sans', sans-serif;
  font-weight: 800;
  font-size: 1.8rem;
  line-height: 2rem;
  letter-spacing: 0.108rem;
  text-transform: uppercase;
  color: #B8975A;
}
.pract__title { font-weight: 700; font-size: 4.6rem; line-height: 7rem; color: #0D1B2E; }

/* 카드 그리드 */
.pract__cards {
  --cols: 8;
  --gap: 2.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap);
  width: 100%;
}

/* 카드 */
.pract__card {
  width: calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  padding: 4rem 4rem 3rem;
  background: #fff;
  border: 1px solid #EEEEEE;
  border-radius: 1.6rem;
  box-shadow: 0 0 2.4rem 0 rgba(0,0,0,0.05);
  overflow: hidden;
  transition: background-color .25s, box-shadow .25s, border-color .25s;
}
.pract__ico {
  width: 4.6rem;
  height: 4.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.pract__ico img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: filter .25s;
}
.pract__name {
  font-weight: 500;
  font-size: 1.8rem;
  line-height: 2.6rem;
  color: #0D1B2E;
  white-space: nowrap;
  transition: color .25s;
}

/* 호버 / 활성(강조) */
.pract__card:hover,
.pract__card.is-active {
  background: #B8975A;
  border-color: transparent;
  box-shadow: 0 3px 10px 0 rgba(0,0,0,0.05);
}
.pract__card:hover .pract__ico img,
.pract__card.is-active .pract__ico img {
  filter: brightness(0) invert(1);   /* 아이콘 흰색 */
}
.pract__card:hover .pract__name,
.pract__card.is-active .pract__name {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-position: from-font;
}

/* ===== 반응형 (max-width) ===== */
@media (max-width: 1800px) {
  .pract__inner { max-width: 168rem; padding: 0 4rem; }
}
@media (max-width: 1400px) {
  .pract__inner { padding: 0 3rem; }
  .pract__cards { --cols: 6; }
  .pract__title { font-size: 4rem; line-height: 6rem; }
}
@media (max-width: 1100px) {
  .pract__cards { --cols: 4; }
}

/* 모바일 */
@media (max-width: 768px) {
  .pract { padding: 6rem 0 3rem; }
  .pract__inner { padding: 0 2rem; gap: 2.4rem; }

  .pract__head { gap: 1rem; }
  .pract__label { font-size: 1.2rem; line-height: 1.4rem; letter-spacing: 0.072rem; }
  .pract__title { font-size: 2.2rem; line-height: 3.4rem; }

  .pract__cards { --cols: 2; --gap: 0.9rem; }
  .pract__card { gap: 1rem; padding: 2.6rem 2rem 2rem; border-radius: 1rem; }
  .pract__ico { width: 3.4rem; height: 3.4rem; }
  .pract__name { font-size: 1.4rem; line-height: 2.4rem; }
}


/*---------------------------------------------------
# ===== 구성원 =====
-----------------------------------------------------*/

.member {
  background: #fff;
  padding: 6rem 0 6rem;
    font-family: pretendard-400;
  color: #0D1B2E;
  box-sizing: border-box;
}
.member *, .member *::before, .member *::after { box-sizing: border-box; }

/* 공통 inner */
.member__inner {
  padding: 0 6rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

/* 헤드 */
.member__head {margin:0 0 6rem 0;display: flex; flex-direction: column; gap: 2rem; width: 100%; }
.member__label {
  font-family: 'Albert Sans', sans-serif;
  font-weight: 800;
  font-size: 1.8rem;
  line-height: 2rem;
  letter-spacing: 0.108rem;
  text-transform: uppercase;
  color: #B8975A;
}
.member__title { font-weight: 700; font-size: 4.6rem; line-height: 7rem; color: #0D1B2E; }

.memlwListBox{
	position:relative;
	width:100%;
	margin:2.4rem 0 0 0;
}
.memlwList ul {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin: -1.2rem;
    list-style-type: none;
    justify-content: flex-start;
}
.memlwList li {
	position:relative;
    flex: 0 0 calc(33.333333333% - 2.4rem);
    margin: 1.2rem;
}
.memlw {
    height: 100%;
    display: flex;
    padding: 4rem 4rem 0 4rem;
    align-items: flex-start;
    border-radius: 2rem 2rem 2rem 6rem;
    background: #F5F2EB;
}
.memlwImgInner {
    display: flex;
    position: relative;
    width: 52%;
    height: 100%;
    align-items: flex-end;
}
.memlwImg {
    position: relative;
    padding-bottom: 139%;
    overflow: hidden;
    width: 100%;
}
/* .memlwImg img{ */
	/* height:36rem; */
/* } */
.memlwImg img {
    z-index: 3;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.melnaBox{
	width:48%;
	position:relative;
}
.melname {
    margin: 0 0 2rem 0;
    gap: 0.8rem;
    display: flex;
    color:#0D1B2E;
    font-family: "Noto Serif KR";
    font-size: 3.8rem;
    font-style: normal;
    font-weight: 300;
    line-height: 5rem;
    letter-spacing:0.57rem;
    flex-direction: column;
}
.melname span{
	letter-spacing:0;
	color: #DEB467;
    font-family: pretendard-700;
	font-size: 1.8rem;
	font-style: normal;
	font-weight: 700;
	line-height: 2.2rem;
}
.melninfo {
    gap: 0.4rem;
    display: flex;
    flex-direction: column;
}
.melninfo h3{
	position:relative;
	padding:0 0 0 1.2rem;
	color: #111;
    font-family: pretendard-300;
font-size: 1.6rem;
font-style: normal;
font-weight: 300;
line-height: 2.4rem;
}
.melninfo h3:before{
	content:'';
	position:absolute;
	left:0;
	top:1rem;
	border-radius:50%;
	width: 0.4rem;
	height: 0.4rem;
	background: #DEB467;
}
/* ===== 반응형 (max-width) ===== */
@media (max-width: 1800px) {
	.member__inner { max-width: 168rem; padding: 0 4rem; }
	
	.memlw {
		padding: 3rem 3rem 0 3rem;
		border-radius: 2rem 2rem 2rem 4rem;
	}
	
}
@media (max-width: 1600px) {
	.memlw {
		padding: 4rem 4rem 0 4rem;
		border-radius: 2rem 2rem 2rem 6rem;
	}
	.memlwList li {
		position: relative;
		flex: 0 0 calc(50% - 2.4rem);
		margin: 1.2rem;
	}
}
@media (max-width: 1400px) {
	.member__inner {
		padding: 0 3rem;
	}
	.member__title {
		font-size: 4rem;
		line-height: 6rem;
	}
	.memlw {
		padding: 3rem 3rem 0 3rem;
		border-radius: 2rem 2rem 2rem 4rem;
	}
	.melname {
		margin: 0 0 1.6rem 0;
		gap: 0.6rem;
		font-size: 3.6rem;
		line-height: 4.6rem;
		letter-spacing: 0.57rem;
	}
}
@media (max-width: 991px) {
	.memlwList ul {
		gap: 2.4rem;
		margin: 0rem;
	}
	.memlwList li {
		flex: 0 0 calc(100% - 0rem);
		margin: 0rem;
	}
}
@media (max-width: 768px) {
	.member {
		padding: 3rem 0;
	}
	.member__inner {
		padding: 0 2rem;
	}
	.member__head {
		gap: 1rem;
		margin: 0 0 2.4rem 0;
	}
	.member__label {
		font-size: 1.2rem;
		line-height: 1.4rem;
		letter-spacing: 0.072rem;
	}
	.member__title {
		font-size: 2.2rem;
		line-height: 3.4rem;
	}
	.memlwList ul {
		gap: 1rem;
	}
	.memlw {
		padding: 2rem 2rem 0 2rem;
		border-radius: 1rem 1rem 1rem 4rem;
	}
	.melname {
		margin: 0 0 1.6rem 0;
		gap: 0.6rem;
		font-size: 2.6rem;
		line-height: 3.2rem;
		letter-spacing: 0.39rem;
	}
	.melninfo h3 {
		padding: 0 0 0 1.2rem;
		font-size: 1.4rem;
		line-height: 2.2rem;
	}
	.melninfo h3 br{display:none;}
	.melninfo h3:before {
		top: 0.9rem;
	}
}
@media (max-width: 550px) {
	.memlw {
		display: flex;
		flex-direction: column;
	}
	.melnaBox {
		width: 100%;
	}
	.memlwImgInner {
		overflow: hidden;
		display: flex;
		position: relative;
		width: 100%;
		height: 60vw;
		align-items: flex-start;
		justify-content: flex-end;
	}
	.memlwImg {
		position: relative;
		padding-bottom: 92%;
		overflow: hidden;
		width: 66%;
	}
	
}


/* ===== 변호사 소개 (.law) ===== */
.law__list,
.law__list *,
.law__list *::before,
.law__list *::after { box-sizing: border-box; margin: 0; padding: 0; }

.law__list {     font-family: pretendard-400; color: #0d1b2e; }
.law__list img { display: block; max-width: 100%; }
.law__list ul { list-style: none; }

/* 카드 그리드 */
.law__list {
  /* display: grid; */
  /* grid-template-columns: repeat(2, 1fr); */
  /* gap: 2.4rem; */
  
  display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin: -1.2rem;
    list-style-type: none;
    justify-content: flex-start;
}

/* 카드 */
.law__card {
	    position: relative;
    flex: 0 0 calc(50% - 2.4rem);
    margin: 1.2rem;
}
.law__cardInner{
	  position: relative;
  background: #f5f2eb;
  padding: 4rem;
  border-radius: 2rem;
  overflow: hidden;
}

/* ───── 상단(사진/이름) ───── */
/* .law__head { */
  /* position: relative; */
  /* height: 64rem; */
  /* margin-bottom: -15rem;  */
/* } */
.law__head {
    position: relative;
    height: 33.4vw;
    margin-bottom: -15rem;
}
.law__head-bg {
    position: absolute;
    top: -2rem;
    left: -2rem;
    width: calc(100% + 4rem);
    height: 22.4vw;
    border-radius: 1rem 1rem 1rem 8vw;
    background: linear-gradient(180deg, #ffffff 70%, rgba(255,255,255,0) 100%);
}
.law__head-text {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 3rem;
  padding: 3rem;
}
.law__name-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}
.law__tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.2rem;
  border-radius: 0.6rem;
  background: #deb467;
  color: #0d1b2e;
  font-weight: 700;
  font-size: 1.7rem;
  line-height: 2.4rem;
  white-space: nowrap;
}
.law__name {
  font-family: "Noto Serif KR", serif;
  font-weight: 300;
  font-size: 6.2rem;
  line-height: 7.6rem;
  letter-spacing: 0.93rem;
  color: #0d1b2e;
  white-space: nowrap;
}
.law__desc {
  font-weight: 300;
  font-size: 2.2rem;
  line-height: 3.6rem;
  color: #0d1b2e;
  white-space: nowrap;
}
/* .law__photo { */
  /* position: absolute; */
  /* top: 0; */
  /* right: 4rem; */
  /* width: 48rem; */
  /* height: 69rem; */
/* } */
/* .law__photo img { */
  /* width: 100%; */
  /* height: 100%; */
  /* object-fit: contain; */
  /* object-position: bottom; */
/* } */

.law__photo {
    position: absolute;
    top: 0;
    right: 4rem;
    width: 25vw;
    /* height: 69rem; */
}
.law__photoInner {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding-bottom: 144%;
}
.law__photo img {
    z-index: 3;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* ───── 하단 본문(프로스트 박스) ───── */
.law__body {
  position: relative;
  z-index: 3;
  padding: 3rem;
  border-radius: 1rem;
  background: rgba(245, 242, 235, 0.3);
  backdrop-filter: blur(2rem);
  -webkit-backdrop-filter: blur(2rem);
}

/* 더보기 영역(접힘 대상) */
.law__sections {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  overflow: hidden;
  max-height: 200rem;            /* 펼침 기본 */
  transition: max-height 0.45s ease;
}
.law__sections::after {          /* 접힘 시 하단 페이드 */
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 16rem;
  background: linear-gradient(180deg, rgba(245,242,235,0) 0%, #f5f2eb 100%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

/* 접힘 상태 */
.law--collapsed .law__sections { max-height: 26rem; }
.law--collapsed .law__sections::after { opacity: 1; }

/* 섹션 */
.law__section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.law__stitle {
  font-weight: 600;
  font-size: 2.2rem;
  line-height: 3.2rem;
  color: #111;
}
.law__items {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  width: 100%;
}
.law__career {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.law__item {
  position: relative;
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  font-weight: 300;
  font-size: 1.6rem;
  line-height: 2.4rem;
  color: #111;
      padding: 0 0 0 1.2rem;
}
.law__item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1rem;
    border-radius: 50%;
    width: 0.4rem;
    height: 0.4rem;
    background: #DEB467;
}

/* 더보기 / 닫기 버튼 */
.law__toggle {
  position: absolute;
  top: 3rem;
  right: 3rem;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  width: 15rem;
  padding: 1rem 3rem;
  border: 1px solid #0d1b2e;
  border-radius: 9.9rem;
  background: #fff;
  cursor: pointer;
}
.law__toggle-text {
  font-weight: 500;
  font-size: 1.8rem;
  line-height: 3.6rem;
  letter-spacing: -0.036rem;
  color: #0d1b2e;
  white-space: nowrap;
}
.law__toggle-ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.4rem;
  height: 1.4rem;
}
.law__toggle-ico img {
  width: 100%;
  height: 100%;
  transition: transform 0.3s ease;
}
/* 접힘=아래(↓), 펼침=위(↑) */
.law--collapsed .law__toggle-ico img { transform: rotate(90deg); }
.law__card:not(.law--collapsed) .law__toggle-ico img { transform: rotate(-90deg); }

/* ===================================================== */
/* 반응형 (max-width) */
/* ===================================================== */

@media (max-width: 1400px) {
  .law__inner { padding: 0 3rem; }
  
	.law__head-text {
		gap: 2rem;
		padding: 1rem;
	}
	.law__name {
		font-size: 5.6rem;
		line-height: 7rem;
		letter-spacing: 0.83rem;
	}
	.law__photo {
		right: 2rem;
		width: 25vw;
	}
	.law__body {
		padding: 3rem 2rem;
	}
	.law__desc {
		font-size: 2rem;
		line-height: 3.2rem;
	}
	.law__toggle {
		top: 3rem;
		right: 2rem;
		gap: 1rem;
		width: 14rem;
		padding: 0.8rem 2.6rem;
	}
}

/* 카드 1열 전환 */
@media (max-width: 1200px) {
	.law__card {
		position: relative;
		flex: 0 0 calc(100% - 2.4rem);
		margin: 1.2rem;
	}
	.law__head {
		margin-bottom: 0;
	}
	.law__head-bg {
		height: 34vw;
	}
	.law__photo {
		right: 2rem;
		width: 35vw;
	}
}

/* ───── 모바일 ───── */
@media (max-width: 768px) {
  .law__inner { padding: 0 2rem; }

  .law__card { padding: 0; border-radius: 1rem; }
  .law__card .law__body {
    padding: 2rem 2rem 8rem 2rem;
}
.law__card.law--collapsed .law__body {
    padding: 2rem 2rem 2rem 2rem;
}
  .law__cardInner {
		padding: 0rem;
		border-radius: 1rem;
	}
	
	.law__list {
		gap: 1rem;
		margin: 0;
	}
	.law__card {
    flex: 0 0 calc(100% - 0rem);
    margin: 0rem;
}

  /* 상단: 세로 흐름 + 중앙정렬 */
  .law__head {
    height: auto;
    margin-bottom: -10rem;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .law__head-bg {
    top: 1rem;
    left: 1rem;
    width: calc(100% - 2rem);
    height: 23rem;
    border-radius: 1rem 1rem 1rem 8rem;
  }
  .law__head-text {
    position: static;
    width: 100%;
    gap: 1.4rem;
    padding: 2.6rem;
  }
  .law__name-group { gap: 0.6rem; }
  .law__tag {
    padding: 0.6rem 0.8rem;
    border-radius: 0.4rem;
    font-size: 1.3rem;
    line-height: 1.6rem;
  }
  .law__name {
    font-size: 3.4rem;
    line-height: 4.6rem;
    letter-spacing: 0.51rem;
  }
  .law__desc {
    font-size: 1.5rem;
    line-height: 2.3rem;
  }
  .law__photoInner {
    padding-bottom: 130%;
}
  .law__photo {
    position: static;
    width: 24.5rem;
    height: 35.2rem;
  }

  /* 하단 본문 */
  .law__body { padding: 2rem; }
  .law__sections { gap: 2.2rem; }
  .law--collapsed .law__sections { max-height: 24rem; }

  .law__stitle { font-size: 1.6rem; line-height: 2rem; }
  .law__items { gap: 0.4rem; }
  .law__career { gap: 1rem; }
  .law__item {
    font-size: 1.4rem;
    line-height: 2.2rem;
    color: #0d1b2e;
  }
  .law__item::before {
		top: 0.8rem;
	}

  /* 버튼: 하단 전체폭 */
	.law__toggleinner {
	padding: 2rem;
	bottom: 0;
	left: 0;
	width: 100%;
	position: absolute;
	}
  .law__toggle {
    right: inherit;
    top: inherit;
    position: relative;
    width: 100%;
    margin-top: 0;
    padding: 1.2rem 3rem;
}
  .law__toggle-text { font-size: 1.4rem; line-height: 2rem; letter-spacing: -0.028rem; }
  .law__toggle-ico { width: 1rem; height: 1rem; }
}
