#contents {
  width: 960px;
  margin: 100px auto;
}

.accommodation {
  text-align: center;
  padding: 80px 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.accommodation .title {
  font-size: 48px;
  font-weight: 300;
  margin-bottom: 40px;
}

.accommodation .description {
  font-size: 18px;
  color: #666;
  line-height: 1.8;
  margin-bottom: 60px;
}

.image-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.image-row img {
  width: calc(50% - 10px);
  border-radius: 10px;
}

.image-row.three img {
  width: calc(33.333% - 13.33px);
}

.boat-info p {
  font-size: 18px;
  color: #666;
  line-height: 1.8;
  text-align: center;
  margin-bottom: 50px;
}

.boat-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.boat-gallery img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}
.gallery {
  display: flex;
  justify-content: center; /* 가운데 정렬 */
  gap: 20px; /* 이미지 간 간격 */
  flex-wrap: wrap; /* 화면 좁을 때 자동 줄바꿈 */
  padding: 20px;
}

.gallery img {
  width: 30%; /* 가로 3개 정렬 (100% / 3) */
  max-width: 400px; /* 너무 클 경우 제한 */
  height: auto;
  object-fit: cover;
  border-radius: 8px; /* 선택사항: 둥근 모서리 */
}
.sub0101 .produce-tit {
  position: relative;
  font-size: 1.5rem;
  text-align: center;
  line-height: 1.3;
  color: #000;
  margin-bottom: 72px;
}
.sub0101 .produce-tit:before {
  position: absolute;
  bottom: -24px;
  left: 50%;
  margin-left: -331px;
  content: "";
  display: inline-block;
  width: 672px;
  height: 64px;
  background: url(/img/produce_tit_bg.png) no-repeat;
  background-size: contain;
}
.sub0101 .motive-box {
  width: 100%;
  background-image: url(http://ondive.cdn3.cafe24.com/about/stepBg.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  text-align: center;
  margin-bottom: 50px;
  padding: 50px 0;
}
.sub0101 .motive-box ul {
  display: inline-block;
}
.sub0101 .motive-box ul li {
  width: 33.3333%;
  position: relative;
  float: left;
  /* display: inline-block; */
  text-align: center;
  color: #fff;
  font-size: 1.25rem;
  padding: 30px 0;
}
.sub0101 .motive-box ul li .ico {
  display: block;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.5);
  margin: 0 auto 14px;
  padding-top: 33px;
}

.sub0101 .motive-box ul li .ico i {
  display: inline-block;
  height: 64px;
  vertical-align: middle;
  margin: 0 auto;
  animation-name: ani1;
  animation-duration: 2s;
  animation-iteration-count: infinite;
}
.sub0101 .motive-box ul li .ico1 {
  background: url(/img/ico1.png) center no-repeat;
}
.sub0101 .motive-box ul li .ico2 {
  background: url(/img/ico2.png) center no-repeat;
}
.sub0101 .motive-box ul li .ico3 {
  background: url(/img/ico3.png) center no-repeat;
}
.sub0101 .motive-box ul li .ico4 {
  background: url(/img/ico4.png) center no-repeat;
}
.sub0101 .motive-box ul li .ico5 {
  background: url(/img/ico5.png) center no-repeat;
}
.sub0101 .motive-box ul li .ico6 {
  background: url(/img/ico6.png) center no-repeat;
}

.sub0101 .produce-txt {
  display: block;
  padding-bottom: 53px;
  font-size: 18px;
  color: #a1a1a1;
  text-align: center;
  border-bottom: 1px solid #ddd;
}
.sub0101 .produce-txt b {
  color: #aed5da;
  font-size: 36px;
  letter-spacing: -2px;
}

.list-box li:first-child {
  border-top-width: 1px;
}
.list-box li {
  position: relative;
  display: table;
  width: 100%;
  height: auto;
  min-height: 142px;
  padding: 0 75px 0 165px;
  border: 1px solid #ddd;
  border-top: none;
}
.list-box li p {
  display: table-cell;
  vertical-align: middle;
  font-size: 18px;
  color: #a1a1a1;
  line-height: 1.8;
}
.sub0101 .list-box li .ico {
  width: 66px;
  height: 53px;
  background-size: 66px;
}
.sub0101 .list-box li:first-child .ico {
  background-position: 0 0;
}
.sub0101 .list-box li:nth-child(1) .ico {
  background: url(http://ondive.cdn3.cafe24.com/about/ico7.png) no-repeat;
  vertical-align: middle;
}
.sub0101 .list-box li:nth-child(2) .ico {
  background: url(http://ondive.cdn3.cafe24.com/about/ico8.png) no-repeat;
  vertical-align: middle;
}
.sub0101 .list-box li:nth-child(3) .ico {
  background: url(http://ondive.cdn3.cafe24.com/about/ico9.png) no-repeat;
  vertical-align: middle;
}
.list-box li .ico {
  position: absolute;
  top: 44px;
  left: 55px;
  display: inline-block;
}
/* second tab */
.stepPage {
  padding: 72px 0px 100px;
  background: rgba(40, 208, 202, 0.1);
}
.gate dl {
  width: 1280px;
  margin: 0 auto;
  padding: 0 0 3px 67px;
  box-sizing: border-box;
}
.gate dl dt h2 {
  margin-bottom: 43px;
  font-size: 60px;
  font-family: "samsungonelatin400";
  font-weight: normal;
  line-height: 72px;
}
.gate dl dd.sub_tit {
  margin-bottom: 15px;
  font-size: 22px;
  font-family: "samsungonekorean600";
}
.gate .sdgo_area {
  text-align: center;
}

.gate .sdgo li {
  position: relative;
  float: left;
  width: 320px;
  height: 210px;
  margin-left: 94px;
  margin-bottom: 60px;
  opacity: 0;
}

/* 첫 줄 첫 번째 li는 margin-left 제거 */
.gate .sdgo li:nth-child(1),
.gate .sdgo li:nth-child(3) {
  margin-left: 0;
}

/* 3번째 요소부터 줄바꿈 강제 */
.gate .sdgo li:nth-child(3)::before {
  content: "";
  display: block;
  clear: both;
}
.gate .sdgo {
  display: block;
  margin: 90px auto 0; /* 가운데 정렬 */
  width: max-content; /* 내부 li 넓이에 맞춰짐 */
  clear: both; /* float 해제 */
}

/* 각 줄의 첫 번째 li는 margin-left 제거 */
.gate .sdgo li {
  position: relative;
  float: left;
  width: 320px;
  height: 210px;
  margin-left: 94px;
  margin-bottom: 60px;
  opacity: 0;
}

/* 1, 3, 5번째는 줄 시작이므로 margin-left 제거 */
.gate .sdgo li:nth-child(1),
.gate .sdgo li:nth-child(3),
.gate .sdgo li:nth-child(5) {
  margin-left: 0;
}

/* 3번째, 5번째 요소는 줄바꿈 */
.gate .sdgo li:nth-child(3),
.gate .sdgo li:nth-child(5) {
  clear: both;
}

.gate .sdgo li a {
  display: block;
  overflow: hidden;
  position: relative;
  width: 100%;
  height: 100%;
}

.gate .sdgo li img {
  width: 100%;
}
.gate .sdgo li .lbl {
  position: absolute;
  top: -33px;
  left: -27px;
  color: #fff;
  font-size: 113px;
  font-family: "samsungonelatin800";
  line-height: 130px;
  cursor: default;
  letter-spacing: -0.025em;
}
.gate .sdgo li .lbl {
  position: absolute;
  top: -60px;
  left: -40px;
  color: rgba(0, 0, 0, 0.3);
  font-size: 68px;
  font-family: "samsungonelatin800";
  line-height: 130px;
  cursor: default;
  letter-spacing: -5px;
  font-weight: 900;
}
.gate .sdgo li.global_hq .lbl em {
  position: relative;
  left: 4px;
}
.gate .sdgo:after {
  content: "";
  display: block;
  clear: both;
}
.gate .sdgo li a img {
  transition: 0.5s;
}
.gate .sdgo li a:hover img {
  margin-top: -210px;
}
.gate .sdgo li:hover .lbl {
  display: none;
}
/* 강사모달창 */
#teacherInfoMD {
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
  z-index: 1001;
  display: none;
}
#infoBg {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.5);
  display: block;
}
#teacherInfos {
  background: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  min-height: 500px;
  width: 100%;
  max-width: 750px;
  text-align: center;
}
#teacherConts > div {
  float: left;
  width: 50%;
  position: relative;
}
#teachernames {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 35px 0;
}
#teacherName {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 35px;
}
#teacherName > span {
  color: #fedb3f;
}
#teacherPosition {
  font-size: 18px;
}
#teacherInstars {
  height: 150px;
  position: relative;
  text-align: right;
  padding: 60px 30px 0 0;
}
#teacherInstars::after {
  display: block;
  content: "";
  height: 10px;
  position: absolute;
  width: 320px;
  background: #fedb3f;
  bottom: 0;
  right: 0;
}
#teacherInstar,
#teacherTag {
  font-size: 24px;
  font-weight: 600;
}
#teacherTag {
  position: absolute;
  right: 30px;
  bottom: 25px;
}
#teacherInstar img {
  margin-right: 10px;
  margin-bottom: 4px;
}
#teacherText {
  height: calc(500px - 150px);
  position: relative;
}
#teacherIntro {
  font-size: 16px;
  line-height: 28px;
  font-weight: 600;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 60px);
  word-break: keep-all;
  color: #999;
}
/* 사이트맵 */
.siteIntro {
  margin: 100px auto;
}
.siteIntro img {
  width: 100%;
}
@media (max-width: 1600px) {
  .gate {
    max-width: 1200px;
    margin: 0 auto;
  }
  .gate .sdgo {
    display: block;
    margin-top: 40px;
  }
  .gate .sdgo li {
    width: calc(100% / 3);
    margin-left: 0;
    padding: 0 40px;
  }
  .gate .sdgo li .lbl {
    left: 0;
  }
  .gate .sdgo.bottom li:last-child {
    display: inline-block;
    float: none;
    margin-top: 40px;
  }
}
@media (max-width: 1200px) {
  #contents,
  .sdgo {
    max-width: 880px;
    margin-left: auto;
    margin-right: auto;
  }
  .gate .sdgo li {
    width: 50%;
    height: 236px;
    margin-bottom: 40px;
  }
  .gate .sdgo.top li:last-child {
    float: none;
    display: inline-block;
    margin-bottom: 0;
  }
  .gate .sdgo.bottom li:last-child {
    display: block;
    float: left;
    margin-top: 0;
  }
  .gate .sdgo li a:hover img {
    margin-top: -237px;
  }
  .gate .sdgo li .lbl {
    left: 50%;
    transform: translateX(-50%);
  }
}
@media (max-width: 900px) {
  #txt > div {
    display: block !important;
    text-align: center !important;
  }

  #txt img {
    max-width: 100%;
    height: auto;
  }

  #txt p {
    font-size: 16px;
    line-height: 1.7;
    padding: 0 16px;
    text-align: left;
  }

  .motive-box ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }

  .motive-box li {
    width: 45%;
    text-align: center;
    font-size: 14px;
  }

  .list-box li p {
    font-size: 15px;
    line-height: 1.6;
  }

  .produce-txt {
    font-size: 16px !important;
  }
  #txt > div {
    flex-direction: column !important;
    align-items: center !important;
  }

  #txt img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  #txt p {
    font-size: 16px !important;
    text-align: left;
    padding: 0 10px;
  }

  #contents {
    max-width: 480px;
    margin: 60px auto;
  }
  .sub0101 .produce-tit {
    font-size: 1.28em;
    word-break: keep-all;
    margin-bottom: 30px;
  }
  .sub0101 .produce-tit:before {
    width: 100%;
    transform: translateX(-50%);
    margin-left: 0;
  }
  .sub0101 .motive-box {
    margin-bottom: 30px;
    padding: 20px 0;
  }
  .sub0101 .motive-box ul {
    display: block;
  }
  .sub0101 .motive-box ul::after {
    display: block;
    content: " ";
    clear: both;
  }
  .sub0101 .motive-box ul li {
    font-size: 1em;
    padding: 10px 0;
  }
  .sub0101 .motive-box ul li .ico {
    width: 80px;
    height: 80px;
    background-size: 35px;
  }
  .sub0101 .produce-txt {
    font-size: 1.1em;
    word-break: keep-all;
    padding-bottom: 20px;
  }
  .sub0101 .produce-txt b {
    font-size: 1.2rem;
    display: block;
  }
  .list-box li {
    padding: 10px 0;
    min-height: auto;
    display: block;
  }
  .sub0101 .list-box li .ico {
    position: static;
    left: auto;
    width: 100%;
    top: 50%;
    background-position: center !important;
    height: 40px;
    background-size: contain !important;
  }
  .list-box li p {
    font-size: 1em;
    width: 90%;
    padding-top: 10px;
    display: block;
    word-break: keep-all;
    margin: 0 auto;
    text-align: center;
    line-height: 1.2em;
  }
  .resortPic .resortPicList > li {
    width: 50%;
  }
  .sdgo {
    max-width: 480px;
  }
  .gate .sdgo li {
    float: none;
    display: block;
    width: 100%;
    height: 262px;
  }
  .gate .sdgo li a:hover img {
    margin-top: -263px;
  }
  #teacherInfos {
    width: 80%;
  }
  #teacherConts > div {
    float: none;
    width: 100%;
  }
  #teacherConts > div:first-child {
    height: 300px;
    overflow: hidden;
  }
  #teachernames {
    padding: 10px 0;
  }
  #teacherName {
    margin-bottom: 10px;
    font-size: 1rem;
  }
  #teacherPosition {
    font-size: 0.8rem;
  }
  #teacherImg {
    width: 100%;
    transform: translateY(-7%);
  }
  #teacherInstar img {
    width: 16px;
  }
  #teacherInstars {
    height: 85px;
    padding: 20px 10px 0 0;
  }
  #teacherInstars::after {
    width: 60%;
  }
  #teacherInstar,
  #teacherTag {
    font-size: 0.8rem;
  }
  #teacherText {
    height: auto;
    padding: 20px 0;
  }
  #teacherIntro {
    position: static;
    transform: inherit;
    width: calc(100% - 20px);
    margin: 0 auto;
    font-size: 0.8rem;
  }
}
@media (max-width: 500px) {
  #contents {
    max-width: 90%;
  }
  .sub0101 .produce-tit {
    font-size: 1.1em;
  }
  .sub0101 .motive-box ul li {
    font-size: 0.8em;
  }
  .sub0101 .motive-box ul li .ico {
    width: 50px;
    height: 50px;
    background-size: 25px;
  }
  .list-box li p br {
    display: none;
  }
  .sdgo {
    max-width: 350px;
  }
  .gate .sdgo li {
    height: 177px;
  }
  .gate .sdgo li a:hover img {
    margin-top: -178px;
  }
}
