/* 행사안내·제사안내 공통 (sub3_2~3, sub4_1~2 도 링크한다: build.py SHARED_CSS) */
/* 대표 이미지 + 아래 절반부터 화면 끝까지 회색 띠 (.container overflow:hidden 으로 잘림) */
.sub1 .bg { position: relative; z-index: 999; margin-bottom: 20px; }
.sub1 .bg:before,
.sub1 .bg:after { content: ''; position: absolute; bottom: 0; z-index: -1; width: 1000px; height: 50%; background: #e9e9e9; }
.sub1 .bg:before { left: -350px; }
.sub1 .bg:after { right: -350px; }
.sub1 .bg figure { width: 70%; margin: 0 auto; text-align: center; }
.sub1 .bg p { padding: 20px 0; background: #e9e9e9; font-size: 15px; font-weight: 500; line-height: 1.7em; text-align: center; }
.sub1 dl { display: flex; flex-wrap: wrap; justify-content: space-between; padding: 45px 0; border-bottom: 1px dashed #ddd; }
.sub1 dt { position: relative; width: 100%; margin-bottom: 15px; padding: 10px 0; border: 2px solid var(--point); border-radius: 10px; font-size: 16px; font-weight: 500; text-align: center; }
.sub1 dd { position: relative; width: 100%; padding-left: 20px; border-left: 5px solid var(--point); font-size: 15px; line-height: 1.7em; text-align: left; }
.sub1 h3 { padding-top: 50px; font-size: 16px; font-weight: 500; line-height: 1.7em; text-align: center; }
.sub1 h3 span { display: block; padding-top: 25px; font-size: 15px; font-weight: normal; }

@media screen and (min-width: 768px) {
  .sub1 .bg figure { width: 100%; }
  .sub1 .bg p { padding: 50px 0; font-size: 20px; }
  .sub1 dt { width: 250px; margin-bottom: 0; padding: 15px 0; font-size: 17px; }
  .sub1 dt span { position: absolute; top: 50%; left: 50%; display: block; width: 100%; text-align: center; transform: translate(-50%, -50%); }
  .sub1 dd { width: calc(100% - 270px); padding-left: 30px; font-size: 17px; }
  .sub1 h3 { font-size: 20px; }
}
