.blank {
  display: block;
  height: 80px;
}
.sub_section {
  width: 100%;
}

.sub_section .container,
.main_img {
  max-width: 1920px;
  margin: 0 auto;
  border-left: 1px solid #000;
  border-right: 1px solid #000;
  padding: 0 40px;
}

.main_img {
  padding: 0;
}

.inner_container {
  border-bottom: 1px solid #000;
  padding: 40px 0;
}
.inner_grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 80px;
}
.inner_container h2 {
  display: block;
  margin: 17px 0;
  color: #000;
  font-size: 58px;
  line-height: 1.18;
  letter-spacing: -0.01em;
  font-weight: bold;
}

.inner_container p,
.container p {
  color: #222;
  font-size: 20px;
  line-height: 1.5;
  letter-spacing: 0;
}

.inner_container .sub_title {
  margin-top: 20px;
  font-weight: bold;
}

.inner_box img {
  width: 100%;
  /* border-radius: 20px; */
}

.inner_box h4,
.inner_container h4 {
  color: #222;
  font-size: 32px;
  line-height: 1.5;
  letter-spacing: 0;
  font-weight: bold;
  margin-top: 30px;
}

.inner_box h4,
.inner_container h4 a {
  margin: 0;
  padding: 0;
}

.inner_flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.about_church {
  border-bottom: 1px solid #222;
  padding-bottom: 30px;
  margin-bottom: 30px;
}
.about_church > h4 {
  margin: 0;
  padding: 0;
}

.top_submenu {
  display: flex;
  height: 80px;
  padding: 0;
  border-bottom: 1px solid #000;
}

.top_submenu_link {
  width: 240px;
  text-align: center;
  line-height: 80px;
  display: block;
  height: 80px;
  margin: 0;
  padding: 0 30px;
  font-size: 22px;
  font-weight: bold;
  color: #888 !important;
}

.top_submenu_link:hover {
  color: #000 !important;
  border-bottom: 8px solid #000 !important;
}

.m_active {
  color: #000 !important;
  border-bottom: 8px solid #000 !important;
}

.tbl {
  border-top: 2px solid #222;
}
.tbl th,
.tbl td {
  color: #222;
  font-size: 22px;
  line-height: 1.5;
  letter-spacing: 0;
  margin-top: 30px;
  padding: 14px 32px;
  border-bottom: 1px solid #222;
  border-right: 1px solid #222;
}
.tbl th:last-child,
.tbl td:last-child {
  border-right: none;
}
.tbl th {
  font-weight: bold;
  background-color: #f4f4f4;
}
.bible th,
.bible td {
  font-size: 20px !important;
  padding: 14px 12px;
  vertical-align: middle;
}
.bible td:first-child {
  width: 110px;
  text-align: center;
}
.bible td:last-child {
  width: 120px;
  text-align: center;
}

.more_button {
  border: 1px solid #000;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  padding: 20px 30px;
}
.more_button:hover {
  border: 1px solid #ccc;
  background-color: #f4f4f4;
  color: #ef4056;
}

/* 폼 스타일 (기존 style.css에 추가해도 됩니다) */
.form-container {
  max-width: 500px;
  margin: 50px auto;
  padding: 30px;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  background-color: #fff;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: #555;
}
.form-group input,
.form-group textarea {
  width: calc(100% - 20px); /* 패딩 고려 */
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: #007bff;
  outline: none;
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}
.error-message {
  color: red;
  font-size: 14px;
  margin-top: 5px;
  display: none; /* 기본적으로 숨김 */
}
.submit-btn {
  background-color: #28a745;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 5px;
  font-size: 18px;
  cursor: pointer;
  width: 100%;
  transition: background-color 0.3s ease;
}
.submit-btn:hover {
  background-color: #218838;
}

.banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 50px 10px !important;
}

.banner div {
  padding: 10px 20px;
  text-align: center;
  width: 20% !important;
}

.banner a {
  text-align: center;
}
.banner img {
  margin: 0 auto;
}

.verse {
  text-indent: -18px;
  padding-left: 18px;
}

/* 모바일 분기 */
@media screen and (max-width: 1150px) {
  .inner_grid {
    grid-template-columns: 1fr;
  }
  .banner div {
    width: 33.3333% !important;
  }
  .banner img {
    width: 90% !important;
  }

  .tbl th,
  .tbl td {
    padding: 14px 12px;
  }
}

@media screen and (max-width: 767px) {
  .banner div {
    width: 50% !important;
  }
  .banner img {
    width: 100% !important;
  }
}
