@charset "UTF-8";

@font-face {
  font-family: 'HakgyoansimDunggeunmisoTTF-B';
  src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/2408-5@1.0/HakgyoansimDunggeunmisoTTF-B.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
}

* {
  margin: 0;
  padding: 0;
  border: 0;
}

*,
*:after,
*:before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  min-width: 1300px;
}

.hidden {
  display: block;
  font-size: 0;
}

.wrap {
  width: 100%;
  height: 100%;
  margin: 0 auto;
}

.wrap .header {
  width: 100%;
  height: 165px;
  margin: 0 auto;
}

.m-history-header {
  background: #FFC3C3;
}

.m-ethics-header {
  background: #FFECC3;
}

.h-history-header {
  background: #E8FFC3;
}

.h-social-header {
  background: #C3EFFF;
}

.h-ethics-header {
  background: #C3CDFF;
}

.wrap .header .head {
  max-width: 1920px;
  height: 100%;
  max-width: 1920px;
  margin: 0 auto;
  display: flex;
  align-items: center;
}

.wrap .header .head img {
  /* width: 70px; */
  height: auto;
  height: 60px;
  margin: 0px 0px 0 45px;
}

.wrap .header .head h2 {
  text-align: center;
  margin-left: 440px;
  float: left;
  font-size: 3em;
  color: #111;
}

/* 현대사회와 윤리 */
.wrap .header .head h2.marginS {
  margin-left: 355px;
}

.wrap .header .head h2 span {
  font-family: 'HakgyoansimDunggeunmisoTTF-B';
}

/*
***************
메인 콘텐츠
***************
*/

.wrap .contents {
  width: 1475px;
  height: auto;
  margin: 40px auto 100px;
}

.wrap .contents .main_container {
  width: 100%;
  margin: 0 auto;
  height: auto;
  display: flex;
  justify-content: flex-start;
}

.wrap .contents .main_container .list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-gap: 30px;
}

.wrap .contents .main_container .list .thumb_container {
  width: 100%;
  height: 220px;
  height: 266px;
  height: 300px;
  border-radius: 10px;
  transition: 0.2s linear;
  display: block;
  box-sizing: border-box;
  color: #111111;
  display: block;
  box-sizing: border-box;
  border: 1px solid #e8e9e9;
  /* todo: 배경색과 동일하게 */
  cursor: pointer;
  overflow: hidden;
  position: relative;
}


.wrap .contents .main_container .list .thumb_container:hover {
  /* border: 1px solid #ffb800; */
  /* border: 1px solid #cfcfcf; */
  /* box-shadow: 1px 2px 2px rgba(128, 128, 128, 0.267); */
}

.move_btn {
  position: absolute;
  top: 15%;
  left: 37%;
  opacity: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.move_btn>i {
  font-size: 3.5em;
  color: #dbdbdb;
}

.move_btn img {
  width: 60px;
  height: 60px;
}

.apple_img {
  width: 65px;
  height: 65px;
}

.thumb_container:hover .move_btn,
.thumb_container:hover .app_btn {
  opacity: 1;
  transition: 0.2s linear;
}

.thumb_img {
  overflow: hidden;
  box-sizing: border-box;
  border-bottom: 1px solid #e8e9e9;
}

.thumb_img img {
  width: 100%;
  height: 127px;
  max-width: 100%;
  border-radius: 10px 10px 0 0;
  object-fit: cover;
  transition: transform 0.3s ease;
  background-color: #ffffff;
}

.thumb_container:hover .thumb_img img {
  transform: scale(1.1);
  opacity: 1;
  filter: brightness(0.5);
}

.thumb_info {
  width: 100%;
  padding: 15px 10px 10px 10px;
}

.thumb_info h3 {
  font-size: 1.2em;
  padding-bottom: 15px;
}

.thumb_info h3.fontS {
  font-size: 1.1em;
}

.thumb_info p {
  color: #838383;
  line-height: 1.35;
  font-size: 0.97em;
  font-weight: 300;
}

.thumb_icon_box {
  right: 12px;
  bottom: 5px;
  position: absolute;
  /* margin: 0 10px; */
  cursor: default;
}

.thumb_icon_box .share {
  position: relative;
  top: -3px;
  transition: 0.2s ease;
}

.thumb_icon_box .share a i {
  font-size: 1.1em;
  position: relative;
  top: 0;
  transition: 0.2s ease;
  padding: 5px;
}

.thumb_icon_box .share a i:hover {
  top: -3px;
}

/* 푸터 */
.wrap .footer {
  background-color: #f4f4f4;
  /* 하단 고정 */
  /*   position: fixed;
  bottom: 0; */
  width: 100%;
  height: 120px;
  margin: 0 auto;
}

.wrap .footer .foot {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.wrap .footer .foot .logo_container {
  margin-right: 25px;
}

.wrap .footer .foot .foot_container {
  line-height: 1.2;
}

.wrap .foot_t {
  font-weight: 400;
  font-size: 15px;
  color: #474747;
}

.wrap .copyright {
  padding-top: 7px;
  font-weight: 300;
  color: #474747;
  font-size: 14px;
}