@charset "utf-8";
.mo{display: none;}
.mo_resp_563{display:none;}
.mo_resp_400{display:none;}


/* 서브 공통 */
#sub_content{position: relative;left: 0;top: 0;z-index: -2;width: 100%;background: #FDFBF8;padding-top: 120px; overflow: hidden;}
#sub_content.history{margin: 120px auto 0;}
#sub_content h2{font-size: 42px; font-weight: 700; font-family: var(--font-point); margin-bottom: 50px; padding: 0;}
.pb120 {padding-bottom: 120px;}
.subtitle span {
  display: block;
  font-family: var(--font-point);
  font-size: 22px;
  font-weight: 800;
  color: var(--point-text);
}
.subtitle h3 {
  margin: 10px 0 20px;
  font-family: var(--font-point);
  font-size: 45px;
  font-weight: bold;
  line-height: 1.3;
  word-break: keep-all;
}
.subtitle p {
  max-width: 954px;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--sub-text);
}


/*목적과 사명*/
.pursec {
  position: relative;
}
.pursec .stick {
  position: absolute;
  right: -18%;
  bottom: 16%;
  z-index: -1;
}
.pursec .stick img {
  display: block;
  margin-left: auto;
  border-radius: 500px 0 0 10px;
  overflow: hidden;
  opacity: 0.15;
}
.pursec > ul {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 90px;
  margin-top: 85px;
}
.pursec > ul::before {
  content: "";
  position: absolute;
  left: 6px;
  top: -42px;
  height: 105%;
  border-left: 1px dashed var(--point-text);
}
.pursec > ul > li {
  position: relative;
  padding-left: 42px;
}
.pursec > ul > li::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 2px;
  z-index: 2;
  width: 24px;
  aspect-ratio: 1/1;
  border: 4px solid var(--point-color);
  border-radius: 50%;
  background: #fff;
}
.pursec > ul > li h6 {
  display: flex;
  margin-bottom: 30px;
  font-family: var(--font-point);
  font-size: 26px;
  font-weight: bold;
  color: var(--point-text);
  letter-spacing: 0;
  line-height: 1.4;
  word-break: keep-all;
}
.pursec > ul > li h6 span {
  width: 50px;
  flex-shrink: 0;
}
.pursec ol {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.pursec ol li {
  padding-left: 50px;
}
.pursec ol strong {
  position: relative;
  display: block;
  margin-bottom: 12px;
  padding-left: 26px;
  font-size: 24px;
  font-weight: 500;
  color: var(--sub-text);
  word-break: keep-all;
}
.pursec ol strong::before {
  content: "=";
  position: absolute;
  left: 0;
  top: -2px;
} 
.pursec ol p {
  margin-bottom: 6px;
  padding-left: 26px;
  font-size: 20px;
  line-height: 1.4;
  color: #717171;
}
.pursec ol p:last-child {
  margin-bottom: 0;
}



/*교인등록안내*/
.process ul {
  display: flex;
  gap: 25px;
  margin-top: 70px;
}
.process ul li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  width: calc((100% - 75px) / 4);
  padding: 35px 30px;
  border: 2px solid var(--main-color);
  border-radius: 20px;
  background: #fff;
  transition: all 0.4s ease;
}
.process ul li::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -13px;
  transform: translateX(-50%);
  width: 24px;
  aspect-ratio: 1/1;
  border: 4px solid var(--point-color);
  border-radius: 50%;
  background: #fff;
}
.process ul li:hover {
  background: var(--main-color);
}
.process ul li span {
  display: block;
  font-family: var(--font-point);
  font-size: 20px;
  font-weight: bold;
  color: var(--point-text);
}
.process ul li strong {
  display: block;
  margin: 10px 0 20px;
  font-family: var(--font-point);
  font-size: 25px;
  font-weight: bold;
  text-align: center;
  word-break: keep-all;
}
.process ul li p {
  font-size: 18px;
  color: var(--sub-text);
  line-height: 1.4;
  text-align: center;
}
.process ul li div {
  margin-top: 20px;
  text-align: center;
}


.village-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: 73%;
  margin-left: auto;
  margin-top: -120px;
}

.village-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  border-radius: 20px;
  padding: 40px 25px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  box-sizing: border-box;
  height: 380px;
  background-color: #fff;
  transition: all 0.4s ease;
}

.village-card strong {
  font-family: var(--font-point);
  font-size: 25px;
  font-weight: bold;
  text-align: center;
  line-height: 1.4;
  word-break: keep-all;
}

.card-1 {
  grid-column: 1;
  grid-row: 1 / 3;
  margin-top: 230px;
  transition: all 0.4s ease;
  background-image: url(../img/sub/village01_bg.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-blend-mode: overlay;
  background-color: rgba(255, 255, 255, 1); 
}
.card-1:hover {
  background-color: rgba(255, 255, 255, 0);
}

.card-2 {
  grid-column: 2;
  grid-row: 1;
  margin-top: 50px;
  background-image: url(../img/sub/village02_bg.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-blend-mode: overlay;
  background-color: rgba(255, 255, 255, 1); 
}
.card-2:hover {
  background-color: rgba(255, 255, 255, 0);
}

.card-3 {
  grid-column: 3;
  grid-row: 1;
  background-image: url(../img/sub/village04_bg.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-blend-mode: overlay;
  background-color: rgba(255, 255, 255, 1); 
}
.card-3:hover {
  background-color: rgba(255, 255, 255, 0);
}

.card-4 {
  grid-column: 2;
  grid-row: 2;
  background-image: url(../img/sub/village03_bg.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-blend-mode: overlay;
  background-color: rgba(255, 255, 255, 1); 
}
.card-4:hover {
  background-color: rgba(255, 255, 255, 0);
}

.card-5 {
  grid-column: 3;
  grid-row: 2;
  margin-top: -44px;
  height: 380px;
  background-image: url(../img/sub/village05_bg.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-blend-mode: overlay;
  background-color: rgba(255, 255, 255, 1); 
}
.card-5:hover {
  background-color: rgba(255, 255, 255, 0);
}

/*섬기는 이들*/
.people > div {
  padding-top: 120px;
  border-bottom: 2px solid rgba(140,193,243,0.5);
}
.people > div:first-child {
  padding-top: 0;
}
.people > div:last-child {
  border-bottom: 2px solid #FDFBF8;
}

.peo_wrap {
  display: flex;
  gap: 60px;
}
.peo_wrap .person {
  width: 25%;
}
.peo_wrap .person img {
  border-radius: 20px;
  overflow: hidden;
}
.peo_wrap .peotitle {
  width: 75%;
}

.peotitle h6 {
  margin-bottom: 5px;
  font-family: var(--font-point);
  font-size: 35px;
  font-weight: bold;
}
.peotitle h6 span {
  margin-left: 20px;
  font-size: 30px;
  color: #717171;
}
.peotitle p {
  font-size: 24px;
  font-weight: 400;
  color: var(--sub-text);
}
.peotitle p a {
  margin-left: 20px;
  font-size: 22px;
  color: var(--sub-text);
}
.peotitle strong {
  position: relative;
  display: inline-block;
  margin-top: 40px;
  padding-left: 20px;
  font-size: 28px;
  font-weight: 600;
  color: var(--point-text);
  word-break: keep-all;
}
.peotitle strong::before {
  content: "";
  position: absolute;
  left: 0;
  top: -12px;
  z-index: -1;
  width: 43px;
  height: 32px;
  background: url(../img/sub/quotes01.png) left center / 100% no-repeat;
}
.peotitle strong::after {
  content: "";
  position: absolute;
  right: 0;
  top: -12px;
  z-index: -1;
  width: 43px;
  height: 32px;
  background: url(../img/sub/quotes02.png) left center / 100% no-repeat;
}

.people .text {
  display: flex;
  flex-direction: column;
  gap: 60px;
  margin-top: 90px;
}

.people .text strong {
  display: block;
  margin-bottom: 5px;
  font-family: var(--font-point);
  font-size: 25px;
  font-weight: bold;
  color: var(--point-text);
}
.people .text p {
  font-size: 20px;
  color: var(--sub-text);
  line-height: 1.6;
}
.people .text div:last-child {
  display: flex;
  gap: 20px;
  align-items: center;
}
.people .text div:first-child {
  display: block;
}
.people .text div:last-child strong {
  margin: 0;
}

.people > div:last-child h6 {
  margin-bottom: 20px;
}



/* 연혁 */
.history ul {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 80px;
  margin-top: 70px;
}
.history img {
  width: 100%;
  border-radius: 20px;
}
.history ul::before {
  content: "";
  position: absolute;
  left: 40px;
  top: -82px;
  z-index: -1;
  height: 110%;
  border-left: 1px dashed var(--point-text);
}
.history ul li {
  position: relative;
  display: flex;
  padding-left: 76px;
}
.history ul li::before {
  content: "";
  position: absolute;
  left: 28px;
  top: 18px;
  z-index: 2;
  width: 24px;
  aspect-ratio: 1/1;
  border: 4px solid var(--point-color);
  border-radius: 50%;
  background: #fff;
}
.history ul strong {
  display: block;
  width: 160px;
  font-family: var(--font-point);
  font-size: 40px;
  font-weight: bold;
  color: var(--point-text);
}
.history ul div {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: calc(100% - 160px);
  margin-top: 8px;
}
.history ul p {
  font-size: 26px;
  font-weight: 500;
  color: var(--sub-text);
}


/*반응형시작*/
@media all and (max-width: 1420px) {
  /* 서브 공통 */
  #sub_content{width: 100%;padding: 120px 0 0;}

  /*교인등록안내*/ 
  .process ul {
    flex-wrap: wrap;
  }
  .process ul li {
    width: calc((100% - 25px) / 2);
  }
}
@media all and (max-width: 1080px) {
  /* 서브 공통 */
  #sub_content{padding: 80px 3% 0;}
  #sub_content h2 {font-size: 32px;} 
  .subtitle span {
    font-size: 18px;
  }
  .subtitle h3 {
    margin: 10px 0;
    font-size: 34px
  }
  .subtitle p {
    font-size: 20px;
  }

  
  /*목적과 사명*/
  .pursec > ul {
    gap: 60px;
    margin-top: 35px;
  }
  .pursec > ul::before {
    top: 8px;
    height: 100%;
  }
  .pursec > ul > li h6 {
    margin-bottom: 10px;
    font-size: 22px;
  }
  .pursec ol {
    gap: 20px;
  }
  .pursec ol strong {
    margin-bottom: 5px;
    padding-left: 20px;
    font-size: 20px;
  }
  .pursec ol p {
    padding-left: 0;
    font-size: 18px;
  }
  .pursec .stick {
    width: 80%;
  }

  /*섬기는 이들*/
  .people > div {
    padding-top: 80px;
  }
  .people .pb120 {
    padding-bottom: 80px;
  }
  .peo_wrap {
    gap: 30px;
  }
  .peotitle h6 {
    font-size: 28px;
  }
  .peotitle h6 span {
    margin-left: 10px;
    font-size: 22px;
  }
  .peotitle p {
    font-size: 18px;
  }
  .peotitle p a {
    font-size: 18px;
  }
  .peotitle strong {
    padding-left: 0;
    font-size: 22px;
    text-align: center;
  }
  .peotitle strong::before {
    width: 33px;
  }
  .peotitle strong::after {
    width: 33px;
  }
  .people .text {
    gap: 50px;
    margin-top: 40px;
  }
  .people .text strong {
    font-size: 20px;
  }
  .people .text p {
    font-size: 18px;
  }

  /* 연혁 */
  .history img {
    height: 330px;
    object-fit: cover;
    border-radius: 15px;
  }
  .history ul {
    gap: 60px;
    margin-top: 50px;
  }
  .history ul li::before {
    top: 12px;
  }
  .history ul strong {
    width: 110px;
    font-size: 32px;
  }
  .history ul div {
    width: calc(100% - 110px);
    margin-top: 4px;
  }
  .history ul p {
    font-size: 22px;
  }

  /*교인등록안내*/
  .process ul {
    margin-top: 50px;
  }
  .process ul li span {
    font-size: 17px;
  }
  .process ul li strong {
    margin: 10px 0;
    font-size: 22px;
  }
  .process ul li p {
    font-size: 16px;
  }

  .village-grid {
    gap: 25px;
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
    margin-top: 40px;
  }
  .card-1, .card-2, .card-3, .card-4, .card-5 {
    grid-column: auto;
    grid-row: auto;
    margin-top: 0;
    height: 240px;
  }
  .village-card {
    padding: 25px;
  }
  .village-card strong {
    font-size: 22px;
  }
}

@media all and (max-width: 790px) {
  /*서브비주얼*/
  .sVisual {margin-top: 60px; height: 270px;}
  /*서브공통*/
  #sub_content{padding: 50px 0 100px;}
  #sub_content h2 {margin-bottom: 30px; font-size: 28px;}
  .subtitle span {
    font-size: 13px;
  }
  .subtitle h3 {
    font-size: 24px;
  }
  .subtitle p {
    font-size: 16px;
  }
  .pb120 {
    padding-bottom: 80px;
  }

  /*목적과 사명*/
  .pursec > ul > li::before {
    left: -3px;
    width: 20px;
  }
  .pursec > ul > li {
    padding-left: 30px;
  }
  .pursec > ul > li h6 {
    font-size: 19px;
  }
  .pursec > ul > li h6 span {
    width: 40px;
  }
  .pursec ol li {
    padding-left: 2px;
  }
  .pursec ol strong {
    font-size: 17px;
  }
  .pursec ol p {
    font-size: 15px;
  }

  /*섬기는 이들*/
  .people .pb120 {
    padding-bottom: 60px;
  }
  .people > div {
    padding-top: 60px;
  }
  .peo_wrap {
    flex-direction: column;
    gap: 30px;
  }
  .peo_wrap .person {
    width: 100%;
    max-width: 230px;
    border-radius: 15px;
  }
  .peo_wrap .peotitle {
    width: 100%;
  }
  .peotitle h6 {
    font-size: 20px;
  }
  .peotitle h6 span {
    font-size: 17px;
  }
  .peotitle p {
    font-size: 16px;
  }
  .peotitle p a {
    display: block;
    margin-left: 0;
    font-size: 16px;
  }
  .peotitle strong {
    margin-top: 27px;
    font-size: 17px;
  }
  .peotitle strong::before {
    width: 27px;
  }
  .peotitle strong::after {
    width: 27px;
  }
  .people .text {
    gap: 30px;
  }
  .people .text strong {
    font-size: 17px;
  }
  .people .text p {
    font-size: 16px;
  }

  /* 연혁 */
  .history img {
    height: 250px;
  }
  .history ul {
    gap: 40px;
  }
  .history ul::before {
    left: 24px;
  }
  .history ul li {
    padding-left: 50px;
  }
  .history ul li::before {
    left: 14px;
    top: 10px;
    width: 20px;
  }
  .history ul strong {
    width: 88px;
    font-size: 26px;
  }
  .history ul div {
    gap: 10px;
    width: calc(100% - 88px);
    margin-top: 3px;
  }
  .history ul p {
    font-size: 18px;
  }


  /*교인등록안내*/
  .process ul {
    gap: 10px;
    row-gap: 30px;
    margin-top: 30px;
  }
  .process ul li {
    width: calc((100% - 10px) / 2);
    padding: 25px 15px;
    border-radius: 15px;
  }
  .process ul li strong {
    margin: 5px 0;
    font-size: 18px;
  }
  .process ul li div img {
    width: 80%;
  }
  .village-grid {
    gap: 10px;
  }
  .village-card {
    border-radius: 15px;
  }
  .village-card strong {
    font-size: 20px;
  }
  .village-grid {
    grid-template-columns: 1fr;
  }
}

@media all and (max-width: 490px) {
  /*서브공통*/
  #sub_content h2 {font-size: 22px;}
  .subtitle h3 {
    margin: 6px 0;
    font-size: 24px
  }

  /*목적과 사명*/
  .pursec > ul {
    gap: 50px;
  }
  .pursec > ul > li h6 {
    flex-direction: column;
    font-size: 18px;
  }
  .pursec .stick {
    width: 100%;
    bottom: 7%;
  }

  /* 연혁 */
  .history ul {
    margin-top: 30px;
  }
  .history ul div {
    gap: 6px;
  }
  .history ul li {
    flex-direction: column;
  }
  .history ul p {
    font-size: 17px;
  }
  .history ul strong {
    font-size: 27px;
  }

  /*교인등록안내*/
  .process ul li {
    width: 100%;
    padding: 25px;
  }
  .village-card {
    padding: 25px 15px;
  }
  .village-card strong {
    font-size: 17px;
  }
}