@font-face {
  font-family: "SchoolSafetyRoundedSmile";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/2408-5@1.0/HakgyoansimDunggeunmisoTTF-B.woff2")
    format("woff2");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "GowoonDodum";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2108@1.1/GowunDodum-Regular.woff")
    format("woff");
  font-weight: normal;
  font-display: swap;
}

@font-face {
  font-family: "Pretendard";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Regular.woff2")
    format("woff2");
  font-weight: 400;
  font-display: swap;
}

html {
  height: 100%;
}

body {
  font-family: "Pretendard", sans-serif;
  box-sizing: border-box;
  background-color: #ddd;
  height: 100vh;
  height: 100dvh;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
ul {
  margin: 0;
  padding: 0;
  font-size: inherit;
  font-weight: inherit;
}

figure {
  all: unset;
  display: block;
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  vertical-align: top;
}

li {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

:root {
  font-size: 10px;

  --tt-red: #ea3223;
  --tt-orange: #f39800;
  --tt-green: #009944;
  --tt-blue: #006bb7;
  --tt-blue-dark: #004d85ff;
  --tt-violet: #662d91;
  --tt-gray: #333;
}

/* 가운데 정렬 레이아웃 */

.wrapper {
  box-sizing: border-box;
  width: 80vw;
  max-width: 1200px;

  margin: 0 auto;
  padding: 2rem 0;
}

/* 헤더 스타일*/

.header {
  width: 100%;
}

.header_Figure {
  min-width: 100%;

  position: relative;
}

.header_Cover {
  overflow: hidden;
}

.header_Cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(221, 221, 221, 0),
    rgba(221, 221, 221, 1)
  );
}

.header_Cover_Content {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
}

.title_flex {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-bottom: 0;
}

.top_title {
  font-family: "SchoolSafetyRoundedSmile", sans-serif;
  font-size: 2.3rem;
  text-align: left;
  color: var(--tt-violet); /* 텍스트 색상 */
  text-shadow: -2px -2px 0 #ffffff,
    /* 흰색 테두리처럼 보이게 */ 2px -2px 0 #ffffff, -2px 2px 0 #ffffff,
    2px 2px 0 #ffffff, 5px 5px 10px rgba(0, 0, 0, 0.6); /* 검은색 그림자 */
}

.header_Logo {
  max-width: 80%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.bottom_title {
  font-size: 1.7rem;
  font-weight: bold;
  text-align: center;
  color: yellowgreen; /* 텍스트 색상 */
  text-shadow: -1px -1px 0 #000000ff,
    /* 흰색 테두리처럼 보이게 */ 1px -1px 0 #000000ff, -1px 1px 0 #000000ff,
    1px 1px 0 #000000ff, 2px 2px 2px rgba(0, 0, 0, 0.6); /* 검은색 그림자 */
}

.strong-tel {
  color: sandybrown;
}

.strong-red {
  color: var(--tt-red);
  font-weight: bold;
}

.strong-orange {
  color: var(--tt-orange);
  font-weight: bold;
}

/* 메인 페이지 스타일 */

.main {
  flex-grow: 1;
  background-color: #ddd;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}

.main-layout {
  height: 100%;
  display: flex;
  font-size: 1.8rem;
  flex-direction: column;
  justify-content: center;
  gap: clamp(1rem, 3vh, 3rem);
}

/* 인사 말씀 페이지 스타일 */

.main-hello {
  font-family: "GowoonDodum", sans-serif;
  flex-grow: 1;
  background-color: #ddd;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}

.hello-title {
  font-size: 3rem;
  font-weight: bold;
  color: var(--tt-green);
}

.bottom-hello-title {
  text-align: right;
}

.bottom-hello-title .sign {
  font-size: 2rem;
  font-weight: bold;
  color: var(--tt-gray);
}

/* 교육 방향 페이지 스타일 */

.edu_cos-section {
  font-family: "GowoonDodum", sans-serif;
  font-weight: bold;
  font-size: 1.5rem;
  flex-grow: 0;
  background-color: var(--tt-blue);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  padding: 1rem;
  border: 0.3rem solid var(--tt-blue-dark);
  border-radius: 1rem;
}

.edu_cos-flex-1 {
  display: flex;
  width: 100%; /* 부모 요소의 전체 너비를 차지하도록 설정 */
  font-family: "SchoolSafetyRoundedSmile", sans-serif;
  font-size: 1.8rem;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
  gap: 1.5rem;
}

.edu_cos-title-1 {
  width: 30%;
  font-size: 1.8rem;
  color: var(--tt-orange);
  text-align: left;
  line-height: 1.2; /* 라인 높이 통일 */
  padding-left: 1rem;
}

.edu_cos-title-2 {
  width: 70%;
  font-size: 1.8rem;
  color: #ddd;
  text-align: center;
  line-height: 1.2; /* 라인 높이 통일 */
  word-break: keep-all;
}

.edu_cos-flex-2 {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
  border-top: 0.2rem solid #fff;
  padding-top: 1rem;
}

.edu_cos-content {
  font-size: 1.5rem;
  color: #ddd;
  line-height: 1.7;
  text-align: center;
  word-break: keep-all;
}

.edu_cos-section:nth-child(even) {
  background-color: #ddd;
}

.edu_cos-section:nth-child(even) .edu_cos-flex-2 {
  border-top: 0.2rem solid var(--tt-blue);
}

.edu_cos-section:nth-child(even) .edu_cos-title-2 {
  color: var(--tt-blue);
}

.edu_cos-section:nth-child(even) .edu_cos-content {
  color: var(--tt-blue-dark);
}

/* 교육 방향 페이지 레이아웃 */

.edu_cos-layout {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: start;
  gap: clamp(1rem, 3vh, 3rem);
}

/* 내신5등급 대입전략 스타일 */
.five_level-layout {
  height: 100%;
  display: flex;
  font-size: 1.8rem;
  flex-direction: column;
  justify-content: flex-start;
  gap: clamp(1rem, 2vh, 3rem);
}

.five_level-h1-title {
  font-size: 2.7rem;
  font-weight: bold;
  color: var(--tt-violet);
  text-align: center;
}

.five_level-h2-title {
  font-size: 2rem;
  font-weight: bold;
  color: var(--tt-green);
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}
.five_level-list {
  padding-left: 1.5rem;
  list-style: none; /* 기본 리스트 스타일 제거 */
}

.five_level-list-item {
  font-family: "Pretendard", sans-serif;
  /* list-style-type: "📌"; */ /* 사용자 정의 글머리 기호는 ::before로 처리 */
  position: relative; /* ::before 요소의 위치 지정을 위해 */
  padding-left: 2.2rem; /* 글머리 기호 공간 확보 */
  font-size: 1.6rem;
  color: black;
  margin-bottom: 0.8rem;
  line-height: 1.4;
  word-break: keep-all;
}

.five_level-list-item::before {
  content: "📌"; /* 사용자 정의 글머리 기호 */
  position: absolute;
  left: 0; /* li 요소의 시작점에 위치 */
  top: 0.1em; /* 텍스트와 세로 정렬 조정 */
}

/* 내신5등급 대입전략 스타일 */

.contentOG {
  background-color: yellow;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  font-size: 1.4rem;
  color: #333;
}

.footer {
  position: sticky;
  bottom: 0;
}

.home-btn {
  display: block;
  width: 100%;
  height: 4rem;
  margin: 0 auto;
  background-color: var(--tt-violet);
  color: #fff;
  font-size: 2rem;
  line-height: 4rem;
  text-align: center;
  box-shadow: inset 0 0 3px 3px rgba(0, 0, 0, 0.2);
}

.title-btn {
  display: block;
  width: 100%;
  height: 4rem;
  margin: 0 auto;
  font-family: "SchoolSafetyRoundedSmile", sans-serif;
  background-color: #333;
  color: #ccc;
  font-size: 2rem;
  line-height: 4rem;
  text-align: center;
  box-shadow: inset 0 0 3px 3px rgba(0, 0, 0, 0.2);
}

.footer-frame {
  display: flex;
  flex-direction: row;
  background-color: #000;
  padding: 1rem;
  text-align: center;
  font-size: 1.2rem;
  color: #666;
  gap: 1rem;
}

.footer-1 {
  flex-shrink: 0;
  width: 47%;
  margin: auto 0;
  text-align: left;
}

.v-line {
  border-left: 1px solid #666;
  height: auto;
}

.footer-2 {
  display: flex;
  flex-direction: column;
  background-color: #000;
  text-align: center;
  gap: 0.8rem;
  font-size: 1.2rem;
  color: #666;
  align-items: center;
  margin: auto 0;
}

.footer_Logo {
  width: 90%;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.footer-tel {
  font-size: 1.6rem;
  color: #fff;
}

/* Mobile L (425px) and up */

@media (min-width: 425px) {
  .edu_cos-title-1 {
    padding-left: 2.5rem;
  }
}

/* Tablet (768px) and up */
@media (min-width: 768px) {
  :root {
    font-size: 13px; /* 기본 폰트 크기 증가 */
  }

  .header_Cover_Content {
    width: 100%;
    aspect-ratio: 16 / 6;
    object-fit: cover;
  }

  .header_Logo {
    width: 60%; /* 로고 크기 조정 */
  }

  .bottom_title {
    font-size: 2rem;
  }

  .footer-1 {
    flex-shrink: 0;
    width: 48%; /* 너비를 내용에 맞게 자동으로 조절 */
  }

  .footer_Logo {
    width: 80%; /* 로고 크기 조정 */
  }
}

/* Small Desktop (1024px) and up */
@media (min-width: 1024px) {
  :root {
    font-size: 15px;
  }

  .header_Cover_Content {
    width: 100%;
    aspect-ratio: 16 / 5;
    object-fit: cover;
  }

  .header_Logo {
    width: 60%; /* 로고 크기 조정 */
  }

  .footer-1 {
    flex-shrink: 1;
    width: 35%; /* 너비를 내용에 맞게 자동으로 조절 */
  }

  .footer-2 {
    flex-grow: 1; /* 남은 공간을 모두 차지 */
    flex-direction: row-reverse;
    gap: 0;
  }

  .footer-tel {
    flex-grow: 1;
  }

  .footer_Logo {
    width: 70%; /* 로고 크기 조정 */
  }
}

/* Large Desktop (1440px) and up */
@media (min-width: 1440px) {
  :root {
    font-size: 18px;
  }

  .header_Cover_Content {
    width: 100%;
    aspect-ratio: 16 / 5;
    object-fit: cover;
  }

  .header_Logo {
    width: 70%; /* 로고 크기 조정 */
  }

  .footer-2 {
    flex-grow: 1; /* 남은 공간을 모두 차지 */
    justify-content: space-evenly;
    flex-direction: row-reverse;
    gap: 2rem;
  }
}
