* {
    box-sizing: border-box;
}

/* Fonts */
:root {
  --default-font: "Roboto",  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Raleway",  sans-serif;
  --nav-font: "Poppins",  sans-serif;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root { 
  --background-color: #ffffff; /* Background color for the entire website, including individual sections */
  --default-color: #444; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #222222; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #eebd32; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: #444;  /* The default color of the main navmenu links */
  --nav-hover-color: #eebd32; /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #ffffff; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #ffffff; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #444444; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #eebd32; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
  --background-color: #fff;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #060606;
  --default-color: #444;
  --heading-color: #ffffff;
  --surface-color: #252525;
  --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

@media (min-width: 1200px) {
   .container {
   max-width: 1200px; 
}
}
/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

a {
  color: var(--accent-color);
  text-decoration: none !important;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}


/* PHP Email Form Messages
------------------------------*/
.php-email-form .error-message {
  display: none;
  background: #df1529;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: #059652;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .loading {
  display: none;
  background: var(--surface-color);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--accent-color);
  border-top-color: var(--surface-color);
  animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}


/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  color: var(--default-color);
  background-color: rgba(255, 255, 255, 0.8);
  padding: 5px 0;
  transition: all 0.5s;
  z-index: 997;
  box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
}

.header .logo {
  line-height: 1;
}

.header .logo img {
  max-height: 60px;
  margin-right: 8px;
    padding: 5px;
}

.header .logo h1 {
  font-size: 32px;
  margin: 0;
  font-weight: 300;
  text-transform: uppercase;
  color: var(--heading-color);
  text-decoration-line:none;
}

.header .header-social-links {
  padding-right: 15px;
}

.header .header-social-links a {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  padding-left: 6px;
  display: inline-block;
  transition: 0.3s;
  font-size: 16px;
}

.header .header-social-links a:hover {
  color: var(--accent-color);
}

.header .header-social-links a i {
  line-height: 0px;
}

@media (max-width: 1200px) {
    .header {
        background-color: rgba(255, 255, 255, 1.0);
    }
  .header .logo {
    order: 1;
  }

  .header .header-social-links {
    order: 2;
  }

  .header .navmenu {
    order: 3;
  }
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Desktop Navigation */
@media (min-width: 1200px) {
  .navmenu {
    float: none;
    margin-left: auto;
      
  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu>ul>li {
    white-space: nowrap;
    padding: 15px 14px;
  }

  .navmenu>ul>li:last-child {
    padding-right: 0;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    font-size: 18px;
    padding: 0 2px;
    font-family: var(--nav-font);
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
    position: relative;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }

  .navmenu>ul>li>a:before {
    content: "";
    position: absolute;
    height: 2px;
    bottom: -6px;
    left: 0;
    background-color: var(--nav-hover-color);
    visibility: hidden;
    width: 0px;
    transition: all 0.3s ease-in-out 0s;
  }

  .navmenu a:hover:before,
  .navmenu li:hover>a:before,
  .navmenu .active:before {
    visibility: visible;
    width: 25px;
  }

  .navmenu li:hover>a,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-hover-color);
  }

  .navmenu .dropdown ul {
    margin: 0;
    padding: 10px 0;
    background: var(--nav-dropdown-background-color);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 4px;
    z-index: 99;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu .dropdown ul li {
    min-width: 200px;
  }

  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    color: var(--nav-dropdown-color);
  }

  .navmenu .dropdown ul a i {
    font-size: 12px;
  }

  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul li:hover>a {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .dropdown:hover>ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }

  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: -90%;
    visibility: hidden;
  }

  .navmenu .dropdown .dropdown:hover>ul {
    opacity: 1;
    top: 0;
    left: -100%;
    visibility: visible;
  }
}

/* Mobile Navigation */
@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: var(--nav-color);
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: color 0.3s;
  }

  .navmenu {
    padding: 0;
    z-index: 9997;
  }

  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    background-color: var(--nav-mobile-background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-dropdown-color);
    padding: 10px 20px;
    font-family: var(--nav-font);
    font-size: 17px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  }

  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .active i,
  .navmenu .active:focus i {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    transform: rotate(180deg);
  }

  .navmenu .dropdown ul {
    position: static;
    display: none;
    z-index: 99;
    padding: 10px 0;
    margin: 10px 20px;
    background-color: var(--nav-dropdown-background-color);
    transition: all 0.5s ease-in-out;
  }
    .navmenu .dropdown a{
        
    }
  .navmenu .dropdown ul ul {
    background-color: rgba(33, 37, 41, 0.1);
  }

  .navmenu .dropdown>.dropdown-active {
    display: block;
    background-color: rgba(33, 37, 41, 0.03);
  }
    .navmenu .dropdown:hover> .dropdown  {
       display: block; 
    }
  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    position: absolute;
    font-size: 32px;
    top: 15px;
    right: 15px;
    margin-right: 0;
    z-index: 9999;
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(33, 37, 41, 0.8);
    transition: 0.3s;
  }

  .mobile-nav-active .navmenu>ul {
    display: block;
  }
}



/************************************************************
공통하단 :footer 
************************************************************/
#footer{clear:both;width:100%;margin:20px auto 0;font-family:"Poppins",  sans-serif; background:#f7f7f7;}
#bottom{width:100%;border-top:1px solid #ddd;border-bottom:1px solid #ddd;}
#bottom ul{width:360px;margin: 0 auto;overflow:hidden; padding-left:0;}
#bottom ul li{float: left;background:url('../img/youlbit/bottom_line.gif') center right no-repeat;}
#bottom ul li.end{background:none;}
#bottom ul li a{
  font-size:13px;
  letter-spacing:-0.025em;
  color:#9A9A9A;
  font-weight:400;
  display: block;
  padding: 8px 8px;  
  }
#bottom2{
  width:95%;
  margin:0 auto;
  color:#9A9A9A;
  letter-spacing:-0.025em;
  font-weight:400;
  clear:both;
  padding:20px 0;
  line-height:150%;  
   }
#bottom_info{width:100%;max-width:1200px;margin:0 auto;overflow:hidden; display: flex;}
#bottom_info h4{
  font-size:14px;
  color:#9A9A9A;
  font-family:verdana,arial,helvetica,sans-serif;
  font-weight:bold;
  letter-spacing:0;
  padding:15px 0 10px;
  }

#bottom_info h4 a img{
  max-height: 60px;  
    padding: 5px;
    max-width: 160px;
}
#foot_company{float:left;margin-right:40px;font-size:13px; flex: 1.5;}
#foot_customer{float:left;margin-right:40px;font-size:13px; color: #9A9A9A; flex: 1;}
#copy{
 clear:both;
 color:#9A9A9A;
 font-size:13px;
 letter-spacing:-0.025em;
 font-weight:400;
 text-align:center;
 padding:15px 0;
 border-top:1px solid #ddd;
 }

#sns_bottom {
    list-style-type: none;
    flex: 1;
}

#sns_bottom li {
    display: inline-block;
    margin-right: 5px;
}


@media (max-width: 768px) {
    #bottom_info{
        display: inline-grid;
    }
    #foot_customer, #foot_company, #sns_bottom{
        flex: none;
        padding: 0px;
    }
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow: hidden;
  background-color: var(--background-color);
  transition: all 0.6s ease-out;
  width: 100%;
  height: 100vh;
}

#preloader:before,
#preloader:after {
  content: "";
  position: absolute;
  border: 4px solid var(--accent-color);
  border-radius: 50%;
  animation: animate-preloader 2s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

#preloader:after {
  animation-delay: -0.5s;
}

@keyframes animate-preloader {
  0% {
    width: 10px;
    height: 10px;
    top: calc(50% - 5px);
    left: calc(50% - 5px);
    opacity: 1;
  }

  100% {
    width: 72px;
    height: 72px;
    top: calc(50% - 36px);
    left: calc(50% - 36px);
    opacity: 0;
  }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: -15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 44px;
  height: 44px;
  border-radius: 50px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
  bottom: 15px;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 25px 0;
  position: relative;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
}

.page-title h1 {
  font-size: 24px;
  font-weight: 400;
}

.page-title .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
  font-weight: 400;
}

.page-title .breadcrumbs ol li+li {
  padding-left: 10px;
}

.page-title .breadcrumbs ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
    color: #444;
    background-color: var(--background-color);
    padding: 4px 0 100px 0;
    overflow: clip;
    
}

@media (max-width: 1199px) {

  section,
  .section {
    scroll-margin-top: 66px;
  }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  text-align: center;
  padding-bottom: 60px;
  position: relative;
}

.section-title h2 {
    font-size: 32px;
    font-weight: 700;
    margin: 50px 0 0 0;
    padding-bottom: 20px;
    position: relative;
}

.section-title h2:after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: var(--accent-color);
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}

.section-title p {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  width: 100%;
  min-height: calc(100vh - 82px);
  position: relative;
  padding: 80px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero .line_box{
    width:100%;
    bottom: 150%;
    position: absolute;
}
.hero .line_box img{
    width: 200px;
    text-align: center;
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
    top: -35px;
}
.hero .col-lg-8 div span{
    font-size: 60px;
    color: rgb(255, 255, 255);
    font-family: 'Poppins';
    font-weight: 700;
}

@media (max-width: 1200px) {
  .hero {
    min-height: calc(100vh - 68px);
  } 
    .hero .line_box{
       top: -75%;
    }
    .hero .line_box img{
       width: 130px;
        padding-bottom: 0;
    }
    .hero .col-lg-8 div span{
    font-size: 36px;
}
    
}

.hero img {
  inset: 0;
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  padding: 10px;
}

.hero .container {
  position: relative;
  z-index: 3;
}

.hero h2 {
  margin: 0;
  font-size: 48px;
  font-weight: 700;
}

.hero p {
  margin: 10px 0 0 0;
  font-size: 24px;
  color: var(--heading-color);
}

.hero p img{
 
  display: inline-block;  
}

.hero .btn-get-started {
  color: var(--contrast-color);
  
  font-family: var(--heading-font);
  text-transform: uppercase;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 12px 40px;
  
  transition: 0.5s;
  margin-top: 30px;
  border: 2px solid #fff;
}

.hero .btn-get-started:hover {
  background: color-mix(in srgb, #fff 5%, white 10%);
}

@media (max-width: 768px) {
  .hero h2 {
    font-size: 32px;
  }

  .hero p {
    font-size: 18px;
  }
}



/************************************************************
 배경화면  (페이드 전환 효과) 점차적으로 전환되는 효과
************************************************************/
.background {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-size: cover;
      background-position: center;
      animation: fadeBackground 10s infinite;
    }

    .background:nth-child(1) {
      background-image: url('https://snowwinter77.cafe24.com/base/img/assets/css/hero-bg3.jpg?v=2');
      animation-delay: 0s;
    }

    .background:nth-child(2) {
      background-image: url('https://snowwinter77.cafe24.com/base/img/assets/css/hero-bg4.jpg?v=2');
      animation-delay: 5s;
    }

    @keyframes fadeBackground {
      0%, 100% {
        opacity: 1;
      }
      50% {
        opacity: 0;
      }
    }





/*--------------------------------------------------------------
# 버튼
--------------------------------------------------------------*/

#helloButton{
    font-size: 10pt;
    display: inline-block;
    padding: 12px 40px;
    margin: 30px 0 0px 0;
    color: #eebd32;
    font-weight: 600;
    font-family: var(--heading-font);
    background: none;
    border: 2px solid #eebd32;
}

#helloButton:hover{
    background: color-mix(in srgb, #eebd32 10%, white 5%);
}


#moreButton{
    color: var(--contrast-color);
    font-family: var(--heading-font);
    text-transform: uppercase;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 1px;
    display: inline-block;
    padding: 12px 40px;
    transition: 0.5s;
    margin-top: 30px;
    border: 2px solid #fff;
    background: none;
}

#moreButton:hover{
    background:     color-mix(in srgb, #fff 5%, white 10%);
}



@media (max-width: 468px) {
    #helloButton, #moreButton {
        font-size: 14pt;
        padding: 10px 30px;
    }
}


/*--------------------------------------------------------------
# main 2  Profile Section
--------------------------------------------------------------*/
/* Scoped styles (prefix: sscp02-) */

.sscp02-title,
.sscp02-textbox,
.sscp02-bg {
  animation-fill-mode: both;
}

.sscp02-section {
  position: relative;
  background: #fff;
  overflow: hidden;
  min-height: 100vh;

  display: grid;
  place-items: center;
  padding: clamp(56px, 6vw, 96px) clamp(20px, 5vw, 56px);
}

/* 배경 */
.sscp02-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;

  background: url("https://snowwinter77.cafe24.com/base/img/assets/css/profile_bg.jpg") center center / cover no-repeat;
  transform: scale(1.1);
}

/* 내용 래퍼 */
.sscp02-wrap {
  position: relative;
  z-index: 1;
  width: min(980px, 100%);
}

/* 타이틀 */
.sscp02-title {
  margin: 0 0 18px 0;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.15;
  color: #fff;
  font-size: clamp(28px, 3.2vw, 44px);

  opacity: 0;
  transform: translateX(-40px);
  text-align: center;
}

/* 텍스트 박스 */
.sscp02-textbox {
  display: grid;
  gap: 14px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;

  opacity: 0;
  filter: brightness(0.6);
  transform: translateY(8px);
}

/* 본문 */
.sscp02-text {
  margin: 0;
  font-size: clamp(15px, 1.15vw, 18px);
  line-height: 1.75;
  color: #fff;
}

.sscp02-text--lead {
  color: #fff;
}


/* ===== 스크롤 진입 시 실행 ===== */

.sscp02-section[data-sscp02-in="true"] .sscp02-bg {
  animation: sscp02-bgZoom 1.8s ease-out forwards;
}

.sscp02-section[data-sscp02-in="true"] .sscp02-title {
  animation: sscp02-titleIn 900ms ease-out forwards;
  opacity: 1;
  transform: translateY(0);
}

.sscp02-section[data-sscp02-in="true"] .sscp02-textbox {
  animation: sscp02-textboxFade 900ms ease-out forwards;
  animation-delay: 750ms;
}


/* ===== Keyframes ===== */

@keyframes sscp02-bgZoom {
  from { transform: scale(1.1); }
  to   { transform: scale(1); }
}

@keyframes sscp02-titleIn {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes sscp02-textboxFade {
  from { opacity: 0; filter: brightness(0.6); transform: translateY(8px); }
  to   { opacity: 1; filter: brightness(1); transform: translateY(0); }
}


/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials{
    display: flex;

}
.testimonials_bg{
     background-color: #ffe7c5;
    padding: 100px 0;
    margin-bottom: 100px;
}

.testimonials .info{
    padding-left: 30px;
    border-bottom: 1px solid #ddd;
    height: -webkit-fill-available;
    

}
.testimonials .info-left{
    padding-left: 10px;
    border-bottom: 1px solid #ddd;
}
.testimonials .info font{
    font-size: 12px;
    color: #eebd32;
    margin: 0 0 20px 0;
    display: block;
}
.testimonials .info h3 {
  font-weight: 700;
  font-size: 36px;
  font-family: var(--nav-font);  
   margin-bottom: 10px;
}
.testimonials .info p{
    font-size: 18px;
    font-family: var(--nav-font);
}

.testimonials .swiper {
  box-shadow: 0 15px 30px 0 rgba(0, 0, 0, 0.05);
  background-color: var(--surface-color);
}

.testimonials .testimonials-carousel,
.testimonials .testimonials-slider {
  overflow: hidden;
}

.testimonials .testimonial-item {
  box-sizing: content-box;
  
  position: relative;
  
}

.testimonials .testimonial-item .testimonial-img {
  width: 100%;
}



.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  color: color-mix(in srgb, var(--accent-color), transparent 60%);
  font-size: 26px;
  line-height: 0;
}

.testimonials .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.testimonials .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
  transform: scale(-1, -1);
}



.testimonials .swiper-wrapper {
  height: auto;
}

.testimonials .swiper-pagination {
  margin-top: 20px;
  margin-bottom: 20px;
  position: relative;
}

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background-color: color-mix(in srgb, var(--default-color), transparent 85%);
  opacity: 1;
  border: none;
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}

@media (max-width: 991px) {
    .testimonials{
         flex-direction: column;
    }
    .testimonials .testimonial-item{
         order: 1;
    }
    .testimonials .info, .testimonials .info-left{
         margin: 40px 0 0 0;
         padding: 20px;
         order: 2;
    }
}

@media (max-width: 767px) {

  .testimonials .testimonials-carousel,
  .testimonials .testimonials-slider {
    overflow: hidden;
  }

  .testimonials .testimonial-item {
    margin: 0px;
  }
}

/*--------------------------------------------------------------
# Gallery Section
--------------------------------------------------------------*/
.gallery .gallery-item {
    overflow: hidden;
    border-right: 3px solid var(--background-color);
    border-bottom: 3px solid var(--background-color);

}

.gallery .gallery-item .gallery-item_bg{
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 100%) !important;
    height: 800px;
}


 .gallery-item:hover .gallery-item_bg {
     transform: scale(1.1);
}

.gallery .gallery-item p{
    position: absolute;
    top: 70%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-family: var(--nav-font);
    width: 100%;
    z-index: 3;
    padding: 20px;
}

.gallery .gallery-item p font{
    display: block;
    text-align: center;
}

.gallery .gallery-item p font:nth-child(1){
    font-size: 12px;  
    margin-bottom: 10px;
}
.gallery .gallery-item p font:nth-child(2){
    font-size: 32px;
    margin-bottom: 10px;
    font-weight: 600;
}

.gallery .gallery-item p font:nth-child(3){
    font-size: 18px;  
}

@media (max-width: 767px) {
    .gallery .gallery-item p{
        top: 75%;
    }
    .gallery .gallery-item p font{
        text-align: left;
        padding-left: 20px;
        padding-right: 20px;
    }
}
/*--------------------------------------------------------------
# smbg_Section
--------------------------------------------------------------*/
 .smbg{
    width: 100%;
    height: 400px;
    background-image: url(https://snowwinter77.cafe24.com/base/img/assets/css/hero-sub_bg.jpg?v=2);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

@media (max-width: 767px) {
     .smbg{
         height: 300px; 
    }
}
    
@media (max-width: 480px) {
     .smbg{
         height: 200px;
    }
}


/*--------------------------------------------------------------
# sm3_Section
--------------------------------------------------------------*/




.strength-list {
  display: grid;
  
  gap: 40px;
    font-family: var(--nav-font);
}

.strength-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;

  padding: 35px 25px;
  border-radius: 5px;
  background-color: var(--surface-color);
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
}

/* 아이콘 영역 */
.strength-item .icon {
  font-size: 32px;
  flex-shrink: 0;   /* 아이콘 크기 고정 */
  margin-top: 4px;
  color: #eebd32;
}

/* 텍스트 묶기 */
.strength-item h3,
.strength-item p {
  margin: 0;
  font-family: var(--nav-font);    
}

.strength-item h3 {
  font-size: 21px;
  margin-bottom: 6px;
}

.strength-item p {
  font-size: 18px;
  line-height: 1.6;
}


.strength-item .text {
  flex: 1;
  min-width: 0;
}


.text_s {
    width: 100%;
    padding: 10px;
    font-size: 18px;
    background-color: #fafafa;
    margin: 8px 0;
    border: 1px solid rgb(221, 221, 221);
    background: rgb(250, 250, 250);
}

/* 모바일 */
@media (max-width:768px) {
  .strength-list {
    grid-template-columns: 1fr;
  }
}


/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about .content h3 {
  font-size: 2rem;
  font-weight: 700;
}

.about .content ul {
  list-style: none;
  padding: 0;
  font-family: var(--nav-font);
}

.about .content ul li {
  display: flex;
  align-items: flex-start;
  margin-top: 40px;
}

.about .content ul i {
  flex-shrink: 0;
  font-size: 48px;
  color: var(--accent-color);
  margin-right: 20px;
}

.about .content ul h5 {
  font-size: 18px;
  font-weight: 700;
}

.about .content ul p {
  
}

.about .content p:last-child {
  margin-bottom: 0;
  font-size: 18px;    
  font-family: var(--nav-font);    
}

.about .pulsating-play-btn {
  position: absolute;
  left: calc(50% - 47px);
  top: calc(50% - 47px);
}



/*--------------------------------------------------------------
# 행사개요 Section
--------------------------------------------------------------*/
.sm1_hd p{
    font-size: 60px; 
      font-family: var(--nav-font);
    line-height: 160%;
    font-weight: 600;
}
.sm1 p{
    font-size: 18px;
    font-family: var(--nav-font);
    line-height: 160%;
    text-align: center;
    margin: auto;
    max-width: 1200px;
    margin-bottom: 60px;
}
.sm1 p font{
    font-size: 12px;
      font-family: var(--nav-font);
    color: var(--accent-color);
    padding-bottom: 5px !important;
    display: block;
}
.sm1 p b{
    font-size: 36px;
      font-family: var(--nav-font);
}
@media (max-width: 767px) {
    .sm1_hd p {
        font-size: 28px;
    }
    .sm1 p b{
        font-size: 24px;
    }
}
/*--------------------------------------------------------------
# 행사개요 Section _ 행사목적 service
--------------------------------------------------------------*/

/*service section css*/

.head_title{
    margin-bottom:60px;
}
.head_title h2{
    font-size:3.125rem;
    color:#223d61;
}
.head_title p{
    font-size:1rem;
}

.service{
    background: #ffffff;
    max-width: 1200px;
    margin: 0 auto;
}
.main_service_area{}
.main_service_area .signle_service_left{}
.main_service_area .signle_service_left h2{
    font-size: 60px;
    line-height: 10rem;
    color: #e1e1e1;
    text-align: left;
    padding-bottom: 40px;
}
.main_service_area .single_service_right{}
.main_service_area .single_service_right .single_service{
    overflow: hidden; 
    margin-bottom: 45px;
}
.main_service_area .single_service_right .single_service:hover .single_service_icon i, 
.main_service_area .single_service_right .single_service:hover .single_service_content h3{
    color:#eebd32;   
}
.main_service_area .single_service_right .single_service .single_service_icon{
    width:15%;
    float: left;
}
.main_service_area .single_service_right .single_service .single_service_icon i{
    font-size:2.8125rem;
    color: #eebd32;
}
.main_service_area .single_service_right .single_service .single_service_content{
    width:85%;
    float: right;
}
.main_service_area .single_service_right .single_service .single_service_content h3{
    color:#333333;
    text-align: left;
    font-family: 'Poppins';
    font-weight: 600;
    font-size: 24px;
}
.main_service_area .single_service_right .single_service .single_service_content p{
    color:#333333;
    text-align: left;
    font-family: 'Poppins';
}


/* section css*/
.choose{
    background: url(https://snowwinter77.cafe24.com/base/img/assets/img/gallery-1.jpg) no-repeat top right #F7F7F8;
    background-size: cover;
    background-position: center;
    height: 400px;
    overflow: hidden;
    padding: 0;
    max-width: 1200px;
    margin: 0 auto;
}

.choose .choose_bg{
    background-image: linear-gradient(to left, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 100%) !important;
    height: 400px;
    padding: 0;
} 
.main_choose_area{
      
}
.main_choose_area .main_choose_content .single_choose_content font{
    display: block;
    font-size: 12px;
    margin-top: 40px;
    font-family: 'Poppins';
    color: #fff;
}
.main_choose_area .main_choose_content{}
.main_choose_area .main_choose_content .single_choose_content{} 
.main_choose_area .main_choose_content .single_choose_content h1{
    
    font-size: 28px;
    color:#eebd32;
    font-family: 'Poppins';
} 
.main_choose_area .main_choose_content .single_choose_content p{
    font-size: 18px;
    margin: 40px 0px 20px 0;
    
    text-align: left;
    color: #fff;
    font-family: 'Poppins';
} 

@media (max-width: 767px) {
    
    .choose, .choose .choose_bg{
        height: 600px;
    }
}


/*--------------------------------------------------------------
# Doctors Section
--------------------------------------------------------------*/
.doctors .team-member {
  background-color: var(--surface-color);
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  position: relative;
  border-radius: 5px;
  transition: 0.5s;
  padding: 30px;
  height: 100%;
}

@media (max-width: 468px) {
  .doctors .team-member {
    flex-direction: column;
    justify-content: center !important;
    align-items: center !important;
  }
}

.doctors .team-member .pic {
  overflow: hidden;
  width: 150px;
  border-radius: 50%;
  flex-shrink: 0;
}

.doctors .team-member .pic i {
    font-size: 80px;
    color: var(--accent-color);
    transition: ease-in-out 0.3s;
}

.doctors .team-member .pic img {
  transition: ease-in-out 0.3s;
}

.doctors .team-member:hover {
  transform: translateY(-10px);
}

.doctors .team-member .member-info {
    padding-left: 30px;
    width: 100%;
}

@media (max-width: 468px) {
  .doctors .team-member .member-info {
    padding: 30px 0 0 0;
    text-align: center;
  }
}

.doctors .team-member h4 {
    font-family: var(--nav-font);
  font-weight: 700;
  margin-bottom: 5px;
  font-size: 20px;
    text-align: left;
}

.doctors .team-member span {
    font-family: var(--nav-font);
  display: block;
  font-size: 15px;
  padding-bottom: 10px;
  position: relative;
  font-weight: 500;
}

.doctors .team-member span::after {
  content: "";
  position: absolute;
  display: block;
  width: 30%;
  height: 1px;
  background: color-mix(in srgb, var(--default-color), transparent 85%);
  bottom: 0;
  left: 0;
}

@media (max-width: 468px) {
  .doctors .team-member span::after {
    left: calc(50% - 25px);
  }
}

.doctors .team-member p {
    font-family: var(--nav-font);
  margin: 10px 0 0 0;
  font-size: 18px;
    text-align: left;
}

.doctors .team-member .social {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: start;
  width: 100%;
}

@media (max-width: 468px) {
  .doctors .team-member .social {
    justify-content: center;
  }
}

.doctors .team-member .social a {
  background: color-mix(in srgb, var(--default-color), transparent 94%);
  transition: ease-in-out 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
  width: 36px;
  height: 36px;
}

.doctors .team-member .social a i {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  font-size: 16px;
  margin: 0 2px;
}

.doctors .team-member .social a:hover {
  background: var(--accent-color);
}

.doctors .team-member .social a:hover i {
  color: var(--contrast-color);
}

.doctors .team-member .social a+a {
  margin-left: 8px;
}

/*--------------------------------------------------------------
# 프로그램 Section
--------------------------------------------------------------*/

@media (max-width: 575px) {
    .main_choose_area1 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
  }
}


/*--------------------------------------------------------------
# intro host-Section
--------------------------------------------------------------*/

.host-section {
  max-width: 1000px;
  margin: 60px auto;
  padding: 0 20px;
  text-align: center;
  font-family: var(--nav-font);
  font-size: 18px;    
}

.host-section h3 {
  margin-bottom: 24px;
  font-size: 24px;
  font-weight: 700;
}

.host-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.host-logos li {
    padding: 20px;
    box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
    margin: 10px;
    border-radius: 5px;
}

.host-logos li img {
  max-height: 60px;
  width: auto;
}

/* 반응형 */
@media (max-width: 768px) {
  .host-logos {
    gap: 24px;
  }

  .host-logos li img {
    max-height: 48px;
  }
}

/*****************************************************************
#  Committee  n_tebs 
*****************************************************************/

/* year tab wrapper */
.year-tab-wrap {
  margin-bottom: 20px;
}

/* year tabs */
.year-tabs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  list-style: none;
  padding: 0;
  margin: 0;
  border-bottom: 2px solid #ddd;
}

.year-tabs li a {
  display: block;
  text-align: center;
  padding: 12px 0;
  text-decoration: none;
  color: #666;
  border-bottom: 3px solid transparent;
    font-size: 18px;
}

.year-tabs li.active a {
  color: #000;
  font-weight: 600;
  border-color: #eebd32;
  font-size: 18px;
}

.tab-pane {
  display: block;
}

.tab-pane[hidden] {
  display: none;
}     
        
/* ABOUT - Steering Committee */
.steering_box h3{text-align: center; padding: 0 16px; font-size: 18px; line-height: 24px; margin-bottom: 20px; margin-bottom: 30px;}
.steering_box h3 br{display: none; }
.steering_list{width: 100%; display: flex; flex-wrap: wrap; margin: 0;    padding: 0;}
.steering_list li{padding: 16px; width: 100%; box-sizing: border-box; list-style-type: none; }
.steering_list li .steering_img{filter: grayscale(100%);}
.steering_list li .steering_img img{width: 100%;}
.steering_list li .steering_con{display: block; position: relative; transition: all 0.3s ease-in-out;}
.steering_list li .steering_con:hover{transform: translateY(-10px);}

.steering_list li .steering_con:hover .steering_img{filter: none;}
.steering_list .steering_txt{position: absolute; bottom: 0; left: 0; width: 100%; z-index: 10; width: 100%; box-sizing: border-box; padding: 16px; }
.steering_list .steering_txt h4{color: #fff; font-size: 18px;}
.steering_list .steering_txt p{display: none; color: #fff;}
.steering_list li .steering_con:hover .steering_txt p{display: block; color: #fff; margin-top: 8px; font-size: 16px; line-height: 24px; padding-bottom: 10px;}
.steering_list li .steering_con:hover .steering_txt{background: rgba(254, 156, 0, 0.8);}

@media (min-width: 768px) {
.steering_list li{width: 50%}
}
@media (min-width: 992px) {
.steering_box h3{font-size: 20px; line-height: 28px;}
.steering_box h3 br{display: block; }
.steering_list li{width: 33.3333333%}
}   


/*****************************************************************
#  CEREMONY  n_tebs 
*****************************************************************/

/* ceremony contents */
.ceremony-contents {
  padding: 80px 0;
}

.ceremony-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;

  display: flex;
  align-items: center;
  gap: 60px;
}

/* text */
.ceremony-txt-box {
  flex: 2;
}

.ceremony-txt-box p {
  font-family: var(--nav-font);
  font-size: 18px;
  font-family: ;
  line-height: 1.7;
  color: #333;
  margin-bottom: 20px;
}

.ceremony-txt-box p:last-child {
  margin-bottom: 0;
}

/* image */
.ceremony-vid-box {
  flex: 1;
  text-align: center;
}

.ceremony-vid-box img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* responsive */
@media (max-width: 768px) {
  .ceremony-contents {
    padding: 50px 0;
  }

  .ceremony-inner {
    flex-direction: column;
    gap: 30px;
  }
}


/*--------------------------------------------------------------
# ssc-intro Section
--------------------------------------------------------------*/


.ssc-intro {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 0px;
  font-family: var(--nav-font);
    display: flex;
    flex-wrap: wrap;
}

.ssc-intro h3 {
  margin: 0 0 14px;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
    width: 25%;
}

.ssc-intro p {
  margin: 0;
  font-size: 18px;
  line-height: 1.75;
  color: #333;
    width: 75%;
}

.ssc-intro b {
  font-weight: 700;
}

/* responsive */
@media (max-width: 768px) {
  .ssc-intro {
    padding: 28px 16px;
  }
  .ssc-intro h3 {
    font-size: 24px;
    display: block;
    width: 100%;
  }
  .ssc-intro p {
    font-size: 18px;
    line-height: 1.7;
    width: 100%;
  }
}


/*--------------------------------------------------------------
# winner-list, award-popup Section
--------------------------------------------------------------*/
/* 리스트 */
.winner-list{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:24px;
  font-family: var(--nav-font);    
}
.winner-item a:hover{
    color: #111;
}

/* 카드 */
.winner-card{
  position:relative;
  display:block;
  height:260px;
  border-radius:8px;
  overflow:hidden;
  color:#fff;
  text-decoration:none;
  background:#ddd center/cover no-repeat;
}

/* 기본(main) */
.ssc-main{
  position:absolute;
  inset:0;
  padding:18px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  z-index:1;
}

/* rank 배지 */
.ssc-rank h6,
.ssc-rank02 h6{
  margin:0;
  display:inline-block;
  font-size:12px;
  font-weight:800;
  letter-spacing:.4px;
  text-transform:uppercase;
  padding:6px 10px;
  border-radius:999px;
  background: #eebd32;
  color: #fff;
}

/* 하단 프로젝트명 */
.ssc-bottom{
  display:flex;
  justify-content:flex-start;
  align-items:flex-end;
}

.ssc-bottom .ssc-project{
  font-size:22px;
  font-weight:800;
  line-height:1.1;
  text-shadow:0 2px 10px rgba(0,0,0,.35);
}

/* hover 레이어 (원본처럼 “덮이며” 등장) */
.ssc-hover{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.72);
  opacity:0;
  transition:opacity .25s ease;
}

.winner-card:hover .ssc-hover{
  opacity:1;
}

/* hover 내부 */
.ssc-hover-inner{
  height:100%;
  padding:18px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}

/* hover 텍스트 영역 */
.ssc-txt h5{
  margin:10px 0 6px;
  font-size:22px;
  font-weight:900;
    color: #fff;
}
.ssc-txt h6{
  margin:0 0 8px;
  font-size:12px;
  opacity:.85;
  font-weight:700;
  color: #eebd32;
}
.ssc-txt p{
  margin:0;
  font-size:14px;
  line-height:1.5;
  opacity:.95;
  color: #fff;    
}

/* more 아이콘(원본처럼 우하단 느낌) */
.ssc-more{
  width:34px;
  height:34px;
  border-radius:999px;
  background:#eebd32;
  position:relative;
  align-self:flex-end;
}
.ssc-more::before,
.ssc-more::after{
  content:"";
  position:absolute;
  left:50%;
  top:50%;
  width:16px;
  height:2px;
  background:#fff;
  transform:translate(-50%,-50%);
}
.ssc-more::after{
  transform:translate(-50%,-50%) rotate(90deg);
}

/* 모바일: hover 없으니 텍스트가 너무 숨겨지지 않게(선택) */
@media (max-width: 991px){
  .winner-list {
    grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px){
  .winner-list {
    grid-template-columns: repeat(1, 1fr);
  }
    
  .winner-card{ height:240px; }
}


    /* ===== 팝업(award) ===== */
    .award-popup{
      position:fixed;
      inset:0;
      display:none; /* JS로 flex */
      z-index:5000;
      background:rgba(0,0,0,.65);
      align-items:center;
      justify-content:center;
      padding:24px;
      font-family: var(--nav-font);
    }

    .award-popup-inner{
      background:#fff;
      width:min(1100px, 100%);
      max-height:100%;
      overflow-y:auto;
      border-radius:10px;
      position:relative;
    }

    /* close button */
    .award-popup-close{
      position:absolute;
      top:16px;
      right:16px;
      width:42px;
      height:42px;
      border-radius:50%;
      border:none;
      background:rgba(0,0,0,.08);
      cursor:pointer;
    }
    .award-popup-close::before{
      content:"x";
      font-size:26px;
      line-height:1;
      display:block;
      transform:translateY(-1px);
    }

    /* content */
    .award-content{ padding:36px; }

    /* header */
    .award-header h4{
      margin:0 0 6px;
      font-size:14px;
      text-transform:uppercase;
      color:#eebd32;
      letter-spacing:.3px;
      font-weight:700;       
    }
    .award-header h3{
      margin:0 0 20px;
      font-size:34px;
      font-weight:800;
      color:#111;
    }

    /* main layout */
    .award-main{
      display:grid;
      grid-template-columns:360px 1fr;
      gap:28px;
      padding:20px 0;
      border-top:1px solid #eee;
      border-bottom:1px solid #eee;
    }

    .award-image{
      aspect-ratio:1/1;
      background:#f2f2f2 center/cover no-repeat;
      border-radius:10px;
    }

    /* info */
    .award-info > div{
      padding:10px 0;
      border-bottom:1px solid #f2f2f2;
    }
    .award-info > div:last-child{ border-bottom:none; }

    .award-info h6{
      margin:0 0 4px;
      font-size:14px;
      color:#eebd32;
      font-weight:700;
    }
    .award-info p{
      margin:0;
      font-size:18px;
      color:#111;
    }

    /* summary */
    .award-summary{ padding-top:20px; }
    .award-summary h6{
      margin:0 0 10px;
      font-size:14px;
      font-weight:800;
      color:#eebd32;
    }
    .award-summary p{
      margin:0;
      font-size:18px;
      line-height:1.75;
      color:#333;
    }

    /* link */
    .award-link{
      display:inline-block;
      margin-top:18px;
      padding:10px 18px;
      border-radius:999px;
      background: #eebd32;
      color:#fff;
      font-size:14px;
      font-weight:700;
      text-decoration:none;
            border: 1px solid #eebd32;    
    }
    .award-link:hover{
      background: #fff;
      color:#eebd32;
      border: 1px solid #eebd32;
    }

    /* responsive */
    @media (max-width: 900px){
      .award-content{ padding:24px; }
      .award-header h3{ font-size:28px; }
      .award-main{ grid-template-columns:1fr; }
      .award-image{ aspect-ratio:16/9; }
    }




/*--------------------------------------------------------------
# 오시는길 Contact Section
--------------------------------------------------------------*/
.contact .info-wrap {
  background-color: var(--surface-color);
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
}

@media (max-width: 575px) {
  .contact .info-wrap {
    padding: 20px;
  }
}

.contact .info-item {
  margin-bottom: 40px;
}

.contact .info-item i {
  font-size: 20px;
  color: var(--accent-color);
  background: color-mix(in srgb, var(--accent-color), transparent 92%);
  width: 44px;
  height: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
  margin-right: 15px;
}

.contact .info-item h3 {
  padding: 0;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 5px;
}

.contact .info-item p {
  padding: 0;
  margin-bottom: 0;
  font-size: 18px;
        font-family: var(--nav-font);
}

.contact .info-item:hover i {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.contact .php-email-form {
  background-color: var(--surface-color);
  height: 100%;
  padding: 30px;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
}

@media (max-width: 575px) {
  .contact .php-email-form {
    padding: 20px;
  }
}

.contact .php-email-form input[type=text],
.contact .php-email-form input[type=email],
.contact .php-email-form textarea {
  font-size: 14px;
  padding: 10px 15px;
  box-shadow: none;
  border-radius: 0;
  color: var(--default-color);
  background-color: var(--surface-color);
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
}

.contact .php-email-form input[type=text]:focus,
.contact .php-email-form input[type=email]:focus,
.contact .php-email-form textarea:focus {
  border-color: var(--accent-color);
}

.contact .php-email-form input[type=text]::placeholder,
.contact .php-email-form input[type=email]::placeholder,
.contact .php-email-form textarea::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.contact .php-email-form button[type=submit] {
  color: var(--contrast-color);
  background: var(--accent-color);
  border: 0;
  padding: 10px 30px;
  transition: 0.4s;
  border-radius: 50px;
}

.contact .php-email-form button[type=submit]:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 25%);
}





/*****************************************************************
게시판 공통 전체
*****************************************************************/

.n_board_gallery,
.n_board_txt {
    width: 100%;
    overflow-x: auto;
}


.n_board_gallery table,
.n_board_txt table {
    max-width: 100%;
    table-layout: fixed;
    word-break: break-word;
}

.n_board_gallery img {
    max-width: 100%;
    height: auto;
}



/*****************************************************************
글목록 : 전체선택(관리자로그인시)
*****************************************************************/
.n_board_txt #check_all,
.n_board_gallery #check_all {
    width: 18px;
    height: 18px;
    margin: 5px;
}


/*****************************************************************
글보기, 글쓰기 : tr > td(좌측/우측)
*****************************************************************/
.n_board_txt .board_bgcolor,
.n_board_gallery .board_bgcolor {
    width: 20%;
    padding: 8px;
    background-color: #f7f7f7;
    border-top: 1px solid #fff;
    text-align: center;
    font-size: 18px;
    
}
.n_board_txt .board_desc,
.n_board_gallery .board_desc {
    width: auto;
    text-align: left;
    border-top: 1px solid #fff;
    font-size: 18px;
}


/*****************************************************************
글쓰기 : 하단 공지글체크
*****************************************************************/
.n_board_txt .board_desc input[type=checkbox],
.n_board_gallery .board_desc input[type=checkbox]{
    max-width: 17px;
    max-height: 17px;
    margin: 0 3px 0 10px;
    vertical-align: middle;
}


/*****************************************************************
글쓰기 : 상단입력내용(작성자,비번,제목등..) & 글목록 : 관리자체크박스
*****************************************************************/
.n_board_txt .board td input,
.n_board_gallery .board td input{
    width: 100%;
    border: 1px solid #ddd;
    background-color: transparent;
    height: 34px;
    padding: 3px 5px;
    margin: 1px 0;
}

.n_board_txt .board td input[type=file],
.n_board_gallery .board td input[type=file]{
    max-width: 500px;
    border: 0px solid #ddd;
}

.n_board_txt .seLayout,
.n_board_gallery .seLayout{
    border: none;
}


/*****************************************************************
글쓰기 : 전화번호, 휴대폰, 라디오버튼, 체크박스
*****************************************************************/
.n_board_txt .board td input[name^=phone],
.n_board_txt .board td input[name^=mobile],
.n_board_gallery .board td input[name^=phone],
.n_board_gallery .board td input[name^=mobile]{
    max-width: 80px;
    width: 100%;
}

.n_board_txt .board td input[type=radio],
.n_board_txt .board td input[type=checkbox],
.n_board_gallery .board td input[type=radio],
.n_board_gallery .board td input[type=checkbox]{
    width: 20px;
    margin: 0 3px 0 10px;
    vertical-align: middle;
}


/*****************************************************************
글쓰기 : textarea
*****************************************************************/
.n_board_txt .seLayout #descriptionView_IFRAME,
.n_board_gallery .seLayout #descriptionView_IFRAME{
    border: 1px solid #ddd;
}


/*****************************************************************
글쓰기 : 확인버튼
*****************************************************************/
.n_board_txt .bbsnewf5 input[type=image],
.n_board_gallery .bbsnewf5 input[type=image]{
    width: auto;
    vertical-align: top;
    padding: 0px;
    border: 0px solid #f00;
}


/*****************************************************************
글쓰기 : 취소버튼 & 글보기 : 버튼들
*****************************************************************/
.n_board_txt .bbsnewf5 > a img,
.n_board_gallery .bbsnewf5 > a img{
    border: 0px solid #f00;
    vertical-align: top;
}


/*****************************************************************
글목록 : 셀렉트박스
*****************************************************************/
.n_board_txt .est_cate_cell select,
.n_board_gallery .est_cate_cell select{
    width: 120px;
    height: 34px;
    margin: 1px 0;
    border: 1px solid #c3c3c3;
    font-size: 14px;
}


/*****************************************************************
글쓰기 : 셀렉트박스
*****************************************************************/
.n_board_txt .board_desc > select,
.n_board_gallery .board_desc > select{
    width: 180px;
    height: 34px;
    margin: 1px 0;
    border: 1px solid #c3c3c3;
}


/*****************************************************************
글목록 : 검색어입력
*****************************************************************/
.n_board_txt .est_keyword_cell input[name=com_board_search_value],
.n_board_gallery .est_keyword_cell input[name=com_board_search_value]{
    max-width: 150px;
    height: 34px;
    margin: 0 1px;
    padding: 0 5px;
    border: 1px solid #c3c3c3;
}


/*****************************************************************
글목록 : 검색버튼
*****************************************************************/
.n_board_txt .est_btn_cell input[title=input],
.n_board_gallery .est_btn_cell input[title=input]{
    border: 0px solid #ddd;
    padding: 0px;
}


/*****************************************************************
글목록 : 관리자 로그인시 게시물체크박스
*****************************************************************/
.n_board_txt .bbschk input[type=checkbox] {
    width: 17px;
    height: 17px;
}


/*****************************************************************
갤러리목록 : 관리자 로그인시 게시물체크박스
*****************************************************************/
.n_board_gallery .adminCheck {
    position: relative;
    width: auto;
}
.n_board_gallery .adminCheck .adminCheckBox{
    position: absolute;
    z-index: 1;
    top: 5px;
    left: 0px;
    width: 20px;
}



/*****************************************************************
갤러리목록 > 댓글목록 : 관리자 로그인시 게시물체크박스
*****************************************************************/
.n_board_gallery .comment_name > .adminCheckBox{
    position: relative;
    display: inline-block;
}


/*****************************************************************
갤러리목록 : 이미지사이즈
*****************************************************************/
.n_board_gallery .nSize img {
    width: 100%;
}

.n_board_gallery .nSize:hover img {
    -webkit-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
    opacity: 0.8;
    transform: scale(1.1);
}

    .nSize {
     -webkit-transition: all 0.4s ease-out;
    transition: all 0.4s ease-out;
    width: 100%;
    height: auto;
    }
    
.nSize>td{
    overflow: hidden;
}


/*****************************************************************
갤러리목록 : 텍스트컬러(기타&추가항목)
*****************************************************************/
.gallery_title {
    font-size: 18px;
}

.gallery_etc {
   display: none;
}

/* 카드 전체를 기준 부모로 */
.boxArea table {
  position: relative;
}

/* 이미지 td */
.boxArea .nSize td {
  padding: 0;
}

/* 제목 오버레이 */
.gallery_subject {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;

  background: rgba(238,189,0,0.7);
  color: #fff;

  padding: 12px 10px;
  box-sizing: border-box;
  z-index: 2;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

/* 제목 링크 글씨 */
.gallery_subject a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

/* NEW 글씨도 흰색 */
.gallery_subject font, .gallery_title {
  color: #fff !important;
}

/*****************************************************************
갤러리형 게시판 : 각각의 칸영역(2단,3단,4단 등..)
*****************************************************************/
.n_board_gallery .boxArea{
    padding-bottom: 10px;
    padding-right: 5px;
    padding-left: 5px;
}

/*****************************************************************
갤러리형 게시판 > 목록페이지 : 최상단라인
*****************************************************************/
.n_board_gallery .boxArea > font > font > font > table:first-child td{
    
}

/*****************************************************************
갤러리형 게시판 > 최상단라인 & 기타영역 컬러
*****************************************************************/
.n_board_gallery > table .boxArea > table > tbody > tr > td {
   
    vertical-align: top;
    font-size: 14px;
}


.n_board_gallery .boxArea .bbsnewf5{
    border: 1px solid #eee;
    padding: 0;
}



/*****************************************************************
글목록 : 최상단 라인영역
*****************************************************************/
.board_top_line {
    background-color: var(--accent-color);
    height: 2px;
}


/*****************************************************************
글목록 : 최상단 구분영역
*****************************************************************/
.n_board_txt .board .boardTitBar {
    background-color: #f1f1f1;
    border-bottom: 1px solid #ddd;
    color: #333;
    font-size: 0.875em;
    height: 40px;
}

.n_board_txt .board .boardTitBar .att_title {
    white-space: nowrap;
    text-overflow: ellipsis;
    font-family: "Noto Sans KR", sans-serif;
    font-size: 18px;
}

.n_board_txt .boardTitBar td:first-child {
    width: 80px;
}



/*****************************************************************
텍스트형 게시판 : 롤오버 선택컬러
*****************************************************************/
.n_board_txt .tr_line,
.n_board_gallery .tr_line{
    border-bottom: 1px solid #ddd;
    background-color: #fff;
}

.n_board_txt .tr_line:hover {
    background-color: #eee;
}


/*****************************************************************
글목록 : 행 높이
*****************************************************************/
.n_board_txt .tr_line td {
    font-size: 18px;
    padding: 10px 5px;
    font-family: var(--nav-font);
}


/*****************************************************************
글목록 : 항목들 : 작성자,작성일자,조회수 등
*****************************************************************/
/* 제목 */
.n_board_txt .tr_line td.bbsnewf5 {
    font-size: 18px;
    width: 40%;
    font-family: var(--nav-font);
}

/* 기타 : 제목 이외 항목들 */
.n_board_txt .tr_line td:not(.bbsnewf5) {
    font-family: var(--nav-font);
    font-size: 18px;
    color: #888;
    white-space: nowrap;
    text-overflow: ellipsis;

}
 .n_board_txt .tr_line td.bbswriter {

  /*  background-image: url(http://www.koraia.org/bizdemo79551/img/_images/logo-1.png);
    color: rgba(255, 255, 255, 0);
    background-size: 80px;
    background-repeat: no-repeat;
    background-position: center; */
    }

.n_board_txt .bbsupload_image {
    width: 100px;
    height: 100px;
    padding: 10px;
}


/*****************************************************************
글 : 첨부파일
*****************************************************************/
.n_board_txt .board_desc div,
.n_board_gallery .board_desc div{
    height: auto !important;
}




/*****************************************************************
글보기 : 이미지사이즈 100%
*****************************************************************/
.n_board_txt #post_area,
.n_board_gallery #post_area{
    width: 100%;
    height: auto;
    padding: 10px 0px 30px;
    border: 1px solid #e5e5e5;
    border-width: 1px 0;
    text-align: left;
    font-family: auto;
    font-size: 18px;
}

.n_board_txt #post_area > img,
.n_board_gallery #post_area > img{
    width: 100% !important;
    height: 100% !important;
}

@media screen and (max-width: 425px) {
    .n_board_txt #post_area img,
    .n_board_gallery #post_area img {
        width: 100% !important;
       
    }
}

/* 하단 목록이미지 */
.n_board_gallery .image_sublist{
    display: none;
}




/*****************************************************************
글보기 : embed : 동영상게시판
*****************************************************************/
.n_board_txt #post_area embed,
.n_board_gallery #post_area embed{
    width: 100%;
    border: 0px solid #f00;
}
@media screen and (max-width: 991px) {
    embed {
        height: 500px;
    }
}
@media screen and (max-width: 768px) {
    embed {
        height: 400px;
    }
}
@media screen and (max-width: 425px) {
    embed {
        height: 250px;
    }
}



/*****************************************************************
글보기 : 에디터 테이블
*****************************************************************/
.board_description table {
    border-collapse: collapse !important;
}
.board_description table,
.board_description tr,
.board_description td {
    border: 1px solid #ccc;
    padding: 3px;
}




/*****************************************************************
셀렉트박스 : 공통
*****************************************************************/
.n_board_txt select,
.n_board_gallery select{
    width: 100px;
    max-width: 100%;
    padding: 3px;
    font-size: 0.875em;
    color: #555;
}


/*****************************************************************
글쓰기 : 하단버튼그룹의 상단여백
*****************************************************************/
.n_board_txt .nbButton,
.n_board_gallery .nbButton{
    margin-top: 30px;
    border: 0px solid #f00;
}


/*****************************************************************
글보기 : 게시물평가기능
*****************************************************************/
.board_rate {
    width: 100%;
}


/*****************************************************************
글보기 : 하단버튼영역
*****************************************************************/

.veiwBottonArea a {
    display: ;
}


/*****************************************************************
카테고리 영역 : 셀렉트박스형
*****************************************************************/
.categoryArea {
    text-align: left;/* left, right, center */
    margin-bottom: 10px;
}

.categoryArea img {
    display: none;
}

.categoryArea b {
    display: none;/* none, inline-block */
    vertical-align: top;/* top, middle, bottom */
    font-weight: normal;
    font-size: 0.875em;
    color: #555;
}

.categoryArea select {
    width: 180px;
    height: 34px;
}


/*****************************************************************
카테고리 영역 : 탭버튼형(가로노출형)
*****************************************************************/
.sul_menu {
    overflow: hidden;
    zoom: 1;
    margin: 0 0 30px;
    padding: 20px 10px;
    border: 1px solid #ccc;
}
.sul_menu a,
.sul_menu a font {
/*    vertical-align: middle;*/
    font-family: "Poppins",  sans-serif;
    font-size: 13px !important;
    padding: 0 0 0 3px;
}
.sul_menu a:hover,
.sul_menu a font:hover {
    color: #d80000 !important;
}
.sul_menu a.on {
    color: #d80000;
}
.sul_menu img  {
    padding: 0 0 5px 5px;
    display: none;
}


/*****************************************************************
게시판 : 페이징
*****************************************************************/
.paging {
    font-size: 0.875em;
}

.paging b {
    display: inline-block;
    background-color: #eee;
    border: 1px solid #ddd;
    border-radius: 2px;
    padding: 3px 8px;
    text-align: center;
    font-weight: normal;
    color: #000;
}

.paging a {
    display: inline-block;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 2px;
    padding: 3px 8px;
    text-align: center;
    color: #888;
}



/*****************************************************************
댓글영역 : 이름,내용,시간
*****************************************************************/
.commentArea {
    font-size: 0.875em;
    color: #888;
    border: 1px solid #eee !important;
}

.comment_name {
    width: 150px !important;
}

.comment_view {
/*    width: auto;*/
    overflow-x: hidden;
    padding: 10px;
}

.comment_hour {
    width: 100px;
    padding: 3px 0;
}

@media (max-width:991px) {
 .n_board_txt .tr_line td.bbswriter {
       background-size: 60px;
    }
}

@media (max-width:768px) {
    
    /*****************************************************************
    텍스트형 게시판 : 노출항목 & 목록사이즈
    *****************************************************************/
    .n_board_txt .board .boardTitBar{
        display: none;
    }
    
    .n_board_txt .tr_line td:not(.bbsetc_add4){
         display: none;
    }
    
    /*****************************************************************
    글목록 : 노출항목
    *****************************************************************/
    .n_board_txt .tr_line td.bbschk {
        position: absolute;
        left: 5px;
        display: inline-block;
    }
    
    .n_board_txt .tr_line td.bbsno {
        width: 15%;
        display: inline-block;
        float: left;
    }
    
    .n_board_txt .tr_line td.bbsnewf5 {
        width: 80%;
        display: inline-block;
        margin-top: -1px;
        float: left;
/*
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
*/
    }
    
    .n_board_txt .tr_line td.bbswriter {
        width: 25%;
        display: inline-block;
       float: right;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
      
    }
    
    
    /*****************************************************************
    갤러리형 게시판 : 목록이미지
    *****************************************************************/
      .n_board_gallery tbody tr td[width="33%"] {
         width: 100% !important;
        max-width: none !important;
        display: block;
         }

     .n_board_gallery  .boxArea {
        width: auto !important;
     }
   
    .n_board_gallery .nSize img{
        height: auto !important;
        width: 100% !important;
    }
    

    /*****************************************************************
    댓글영역 : 이름,내용,시간
    *****************************************************************/
    .comment_name {
        width: 150px;
        display: block;
        border: 0px solid #f00;
    }
    
    .comment_view {
/*        width: 100px;*/
        display: block;
        border: 0px solid #f00;
    }
    
    .comment_hour {
        width: 100px;
        border: 0px solid #f00;
    }
    
}


/*****************************************************************
카테고리 영역 : 셀렉트박스형
*****************************************************************/
.categoryArea {
    text-align: left;/* left, right, center */
    margin-bottom: 10px;
}

.categoryArea img {
    display: none;
}

.categoryArea b {
    display: none;/* none, inline-block */
    vertical-align: top;/* top, middle, bottom */
    font-weight: normal;
    font-size: 0.875em;
    color: #555;
}

.categoryArea select {
    width: 180px;
    height: 34px;
}


/*****************************************************************
카테고리 영역 : 탭버튼형(가로노출형)
*****************************************************************/
.sul_menu {
    overflow: hidden;
    zoom: 1;
    margin: 0 0 30px;
    padding: 20px 10px;
    border: 1px solid #ccc;
}
.sul_menu a,
.sul_menu a font {
/*    vertical-align: middle;*/
    font-family: "Poppins",  sans-serif;
    font-size: 13px !important;
    padding: 0 0 0 3px;
}
.sul_menu a:hover,
.sul_menu a font:hover {
    color: #d80000 !important;
}
.sul_menu a.on {
    color: #d80000;
}
.sul_menu img  {
    padding: 0 0 5px 5px;
    display: none;
}








/*****************************************************************
추출게시물 : 공통
*****************************************************************/
/**/
.nav-tabs {
    margin: 0 0 8px;
}
.nav-tabs > li {
    margin-top: 2px;
}

/**/
.n_output {
    position: relative;
    font-size: 1.0em;
    padding-bottom: 20px;
}

.n_output h3 {
    height: 40px;
    margin: 2px 0 8px;
    padding: 15px 5px 10px;
    background-color: #fff;
    border-bottom: 1px solid #ddd;
    text-align: left;
    font-size: 1.0em;
}

.n_output span.more {
    position: absolute;
    top: 12px;
    right: 0px;
    font-size: 0.875em;
}
.tab-content .n_output span.more {
    position: absolute;
    top: -36px;
    right: 0px;
    font-size: 0.875em;
}

.n_output table {
    width: 100%;
}


/*****************************************************************
추출게시물 : 텍스트형
*****************************************************************/
.n_output_txt .board_output {
    text-align: left;
}


/* 추출게시물 : 게시글 상하줄간격 */
.n_output_txt .board_output .board_output tbody > tr > td {
    padding: 3px 0;
    height: 36px;
    font-size: 1.0em;
    border-bottom: 1px dotted #ccc;
}

.n_output_txt .board_output tbody > tr > td:nth-child(3) {
    
    font-size: 0.875em;
    color: #888;
    line-height: normal;
}

.n_output_txt .board_output img {
    display: none;
}




/*****************************************************************
추출게시물 : 갤러리형
*****************************************************************/
.n_output_gallery, .n_output_gallery2{
    padding: 0px 0px 20px 0px;
}
.n_output_gallery .board_output {
    text-align: center;
}


/* 갤러리형 : 게시물 칸칸수 (관리자설정페이지 설정값 적용) */
.n_output_gallery .board_output > tbody > tr > td{
    padding: 5px 3px 5px;
    vertical-align: top;
   
}


/* 갤러리형 : 텍스트정보 */
.n_output_gallery .board_output > tbody > tr > td span a{
    display: inline-block;
    padding: 5px;
    line-height: 140%;
    font-size: 1.0em;
    color: #555;
}


/* 갤러리형 : 배경컬러 (마우스오버시 보임) */
.n_output_gallery .board_output .board_output_gallery_img{
    background-color: rgba(255, 255, 255, 0.8);
    width: 100%;
    height: 170px;
}


/* 갤러리형 : 이미지사이즈 */
.n_output_gallery .board_output .board_output_gallery_img .board_output_imgs{
    -webkit-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
    
    height: 170px !important;
}


/* 갤러리형 : 마우스오버시 투명도 */
.n_output_gallery .board_output .board_output_gallery_img .board_output_imgs:hover{
    opacity: 0.5;
}


@media screen and (max-width: 768px) {
    .n_output_gallery .board_output > tbody > tr > td {
        display: block;
        width: 100%;
        padding: 0 0 30px;
    }
    .n_output_gallery .board_output .board_output_gallery_img .board_output_imgs{
        height: auto !important;
        max-width: 100% !important;
        width: 600px;
    }
    
}




/*****************************************************************
스팸등록방지 : 게시판 & 폼메일
*****************************************************************/
.captcha td {
    padding: 10px !important;
    font-size: 0.875em;
    border: 0px solid #f00;
}

.captcha td:first-child {
    background-color: #f7f7f7;
}

.captcha td img {
    max-width: 100%;
    display: inline-block;
}

.captcha input[name=captcha_code] {
    width: auto !important;
    height: 36px;
}

/**/
.comment_txt {
    background-color: #fff !important;
    padding: 10px 0 !important;
    width: 1000px;
}
.comment_txt input[type=text],
.comment_txt input[type=password],
.comment_txt input[name=captcha_code] {
    height: 36px;
    border: 1px solid #ccc;
}

.comment_txt input[name=com_board_comment_name],
.comment_txt input[name=com_board_comment_password] {
    width: 100px;
}

.comment_txt > div {
    width: 100%;
    margin: 5px 0;
    text-align: left !important;
}



@media screen and (max-width: 768px) {
    .comment_txt {
        width: 100%;
    }
}



/*****************************************************************
폼메일
*****************************************************************/


.formmail_title_bgcolor font, .formmail_cell_bgcolor {
    font-family: "Poppins", sans-serif;
    font-size: 18px;
}


.table_02{
    border-top: 2px solid #eebd32 !important;
    border-bottom: 0px #eebd32 solid !important;
    border-left: 0 !important;
    border-right: 0 !important;
    
}


.table_02 td{
    border-right: 0 !important;
}


.table_02 td font {
    font-weight: 600;
}


.table_02 tbody tr:nth-child(2) td input, .table_02 tbody tr:last-child td input{
    width: auto;
}


.table_02 tbody tr:nth-last-child(1) > .formmail_cell_bgcolor,
.table_02 tbody tr:nth-last-child(2) > .formmail_cell_bgcolor,
.table_02 tbody tr:nth-last-child(3) > .formmail_cell_bgcolor,
.table_02 tbody tr:nth-last-child(5) > .formmail_cell_bgcolor,
.table_02 tbody tr:nth-last-child(6) > .formmail_cell_bgcolor{
   line-height: 160%;
    
}

.formmail_cell_bgcolor table tbody tr td textarea {
    font-family: "Poppins", sans-serif;
    font-size: 18px !important;
    background: #f4f4f4;
    border: 1px solid #ddd;
}
.formmail_textarea_style {
    width: 100%;
}

.table_02 input[type=text],
.table_02 input[type=file],
.table_02 textarea,
.table_02 select {
    width:100% !important;
    max-width:100%;
    box-sizing:border-box;
}

.table_02 input[name^=phone_no]{
    width:20% !important;
}

.formmail_cell_bgcolor {
    padding-left:10px !important;
     line-height: 0;
}



.formmail_cell_bgcolor input,
.formmail_cell_bgcolor textarea {
    line-height: normal;
}


.formmail_cell_bgcolor > table > tbody > tr {
    line-height: 120%;
}


.formmail_cell_bgcolor > table > tbody > tr > td{
     border: 0;    
}

.formmail_cell_bgcolor input {
    padding: 5px;
    margin-right: 5px;
    margin-left: 5px;
}





/* ===== 개인정보 수집·이용 동의 영역: 3단(제목 → 약관 → 체크)으로 재배치 ===== */
td.formmail_cell_bgcolor table:has(input[name="com_formmail_check_safe"]) {
  width: 100% !important;
  display: block !important;
}

/* tbody를 flex 컬럼으로 */
td.formmail_cell_bgcolor table:has(input[name="com_formmail_check_safe"]) > tbody{
  display: flex !important;
  flex-direction: column !important;
  gap: 12px;
}

/* tr을 "해체"해서 td들이 flex item이 되게 */
td.formmail_cell_bgcolor table:has(input[name="com_formmail_check_safe"]) > tbody > tr{
  display: contents !important;
}

/* td 공통: 한 줄씩 100% */
td.formmail_cell_bgcolor table:has(input[name="com_formmail_check_safe"]) > tbody td{
  display: block !important;
  width: 100% !important;
  border: 0 !important;
}

/* 1) 왼쪽 td(· 개인정보의 수집 및 이용목적) → 맨 위 */
td.formmail_cell_bgcolor table:has(input[name="com_formmail_check_safe"])
> tbody > tr:first-child > td:first-child{
  order: 1;
  text-align: left !important;
}

/* 2) textarea td(colspan=2) → 가운데 */
td.formmail_cell_bgcolor table:has(input[name="com_formmail_check_safe"])
> tbody > tr:nth-child(2) > td{
  order: 2;
}

/* 3) 체크박스 td(오른쪽) → 맨 아래 + 오른쪽 정렬 */
td.formmail_cell_bgcolor table:has(input[name="com_formmail_check_safe"])
> tbody > tr:first-child > td:last-child{
  order: 3;
  text-align: right !important;
}

/* textarea 폭 보정 */
td.formmail_cell_bgcolor table:has(input[name="com_formmail_check_safe"]) textarea{
  width: 100% !important;
  box-sizing: border-box !important;
}




.formmail_textarea_style {
    width:100% !important;
}

.table_02 td.formmail_cell_bgcolor:has(input[name="add8[]"]), 
.table_02 td.formmail_cell_bgcolor:has(input[name="add7[]"]), 
.table_02 td.formmail_cell_bgcolor:has(> input[name="add4"]),
.table_02 td.formmail_cell_bgcolor:has(> input[name="add5"]),
.table_02 td.formmail_cell_bgcolor:has(> textarea[name="description1"])  {
  display: flex !important;
  flex-direction: column-reverse;
  gap: 6px;
  width: 100%;
}




@media (max-width:768px){

    .table_02 tr {
        display:block;
        margin-bottom:15px;
    }

    .table_02 td {
        display:block;
        width:100% !important;
        text-align:left !important;
        border-bottom: 0px !important;
    }
    .table_02 td font{
       padding-left: 10px; 
    }

    .formmail_title_bgcolor {
        padding:8px 0;
        font-weight:bold;
    }
    
  .table_02,
  .table_02 tbody,
  .table_02 tr,
  .table_02 td {
      display:block !important;
      width:100% !important;
      height:auto !important;
  }

  /* 라벨 */
  .formmail_title_bgcolor {
      font-weight:bold;
      padding:8px 0 !important;
  }

  /* 입력칸 */
  .formmail_cell_bgcolor {
      padding-left:0 !important;
      padding-bottom:12px !important;
  }

  /* 입력 요소 */
  .table_02 input[type=text],
  .table_02 input[type=file],
  .table_02 textarea,
  .table_02 select {
      width:100% !important;
      box-sizing:border-box !important;
      margin-top:6px;
  }
    
       .formmail_cell_bgcolor {
        white-space:normal;
    }

    
        td.formmail_cell_bgcolor:has(input[name^=phone_no]){
        display:flex !important;
        gap:6px;
        align-items:center;
    }

    input[name^=phone_no]{
        flex:1;
        width:auto !important;
    }
    

}