@charset "utf-8";

/* ===========================
   RESET & BASICS
   =========================== */
#layout {
  min-width: auto;
  overflow: hidden;
}

.btn {
  transition: all 0.2s;
}
.btn:hover {
  opacity: 0.85;
}

#header_h1 {
  position: absolute;
  font-size: 0;
  line-height: 0;
  overflow: hidden;
}

/* ===========================
   HEADER + LOGO
   =========================== */
#header {
  width: 100%;
  background: #fff;
}

#header .container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 20px;
  position: relative;
}

#header #logo {
  position: static;
  width: 220px;
  height: 54px;
  margin-right: 40px;
}

#header #logo a img {
  display: block;
  width: 100%;
  height: auto;
}

/* ===========================
   MAIN NAVIGATION
   =========================== */
#header #nav {
  flex: 1;
  display: flex;
  justify-content: center;
  position: relative; /* for backdrop */
  z-index: 10;
}

/* Full-width backdrop beneath submenus */
#header #nav::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%);
  width: 100vw;
  height: 120px;           /* tall enough to cover submenu area */
  background: #fff;        /* white backdrop */
  opacity: 1;
  display: none;           /* hidden by default */
  z-index: 1;
  pointer-events: none;
  box-shadow: none;        /* no shadow */
}

/* Show backdrop only while hovering/focusing */
#header #nav:hover::before,
#header #nav:focus-within::before {
  display: block;
}

#header #nav > ul {
  display: flex;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}

#header #nav > ul > li {
  position: relative;
  padding-bottom: 20px;
}

#header #nav > ul > li > a {
  display: block;
  height: 50px;
  line-height: 50px;
  padding: 0 16px;
  font-size: 18px;
  color: #333;
  text-decoration: none;
  position: relative;
}

#header #nav > ul > li + li > a:before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 16px;
  margin-top: -8px;
  background-color: #333;
  transition: all 0.2s;
}

#header #nav > ul > li > a:hover,
#header #nav > ul > li.active > a {
  color: #000;
  font-weight: 500;
}

#header #nav > ul > li:last-child > a {
  padding-right: 0;
}

/* ===========================
   SUBMENU (COLUMN STYLE)
   =========================== */

#header #nav > ul > li > ul.column {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 2;
  background: transparent;
  padding: 10px 0;

  flex-direction: row;
  flex-wrap: nowrap; /* or wrap if you prefer */
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

/* Show submenu only while hovering/focusing */
#header #nav > ul > li:hover > ul.column,
#header #nav > ul > li:focus-within > ul.column {
  display: flex;
}

#header #nav > ul > li > ul.column > li {
  flex: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: none;
  box-shadow: none;
}

#header #nav > ul > li > ul.column > li > a {
  display: block;
  height: 50px;
  line-height: 50px;
  padding: 0 10px;
  font-size: 15px;
  color: #333; /* readable on white backdrop */
  text-decoration: none;
  border-bottom: 4px solid transparent;
  transition: border-color 0.3s ease;
}

#header #nav > ul > li > ul.column > li > a:hover,
#header #nav > ul > li > ul.column > li > a.active {
  border-bottom: 4px solid #b30000;
}

#header #nav > ul > li > ul.column::before {
  content: none;
}

/* ===========================
   LANGUAGE SWITCHER
   =========================== */
#header .lang {
  position: absolute;
  right: 0;
  top: 20px;
  font-size: 12px;
  color: #434343;
  line-height: 20px;
}
#header .lang a {
  display: inline-block;
  font-size: 15px;
  color: #434343;
  margin: 0 10px;
}

/* Footer menu */
.fmenu {
  margin-top: 120px;
  padding: 80px 0;
  border-top: 1px solid #ddd;
  background-color: #f5f5f5;
}
.fmenu .container > ul {
  display: flex;
  justify-content: space-between;
}
.fmenu .container > ul > li {
  width: 120px;
}
.fmenu .container > ul > li > a {
  display: block;
  margin-bottom: 24px;
  font-size: 17px;
  font-weight: 500;
  position: relative;
}
.fmenu .container > ul > li > a::before {
  content: "";
  position: absolute;
  bottom: -12px;
  width: 100%;
  height: 2px;
  background-color: #00478f;
}
.fmenu .container > ul > li:hover > a::before {
  animation: borderHover 0.5s ease;
}
.fmenu .container > ul > li li > a {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 400;
  transition: color 0.3s ease;
}
.fmenu .container > ul > li li > a:hover {
  color: #00478f;
}
@keyframes borderHover {
  from { width: 0; }
  to { width: 100%; }
}

/* Footer */
#footer {
  background-color: #404040;
  padding: 60px 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 15px;
  font-weight: 400;
}
#footer .container {
  position: relative;
}
#footer .ft_logo {
  position: absolute;
  left: 40px;
  top: 0;
  width: 200px;
  height: 70px;
  background: url("../images/logo_small_white.png") no-repeat left top / contain;
  text-indent: -999em;
  overflow: hidden;
}
#footer .ft_box {
  margin-top: 104px;
  padding-top: 30px;
  border-top: 1px solid #666;
}
#footer .ft_cnt {
  margin-bottom: 25px;
}
#footer .ft_cnt > div {
  padding: 0;
  margin-top: 5px;
  color: #999;
  line-height: 1.5;
  font-size: 14px;
  font-weight: 500;
}
#footer .ft_cnt > div:first-child {
  margin-top: 0;
}
#footer .ft_cnt > div .ft_txt {
  float: left;
  position: relative;
}
#footer .ft_cnt > div .ft_txt + .ft_txt::before {
  content: "/";
  display: inline-block;
  margin: 0 12px;
}
#footer .ft_copy {
  display: block;
  color: #666;
  text-transform: uppercase;
  line-height: 1.5;
  font-size: 14px;
  font-weight: 300;
}
#footer .ft_copy strong {
  font-weight: 500;
}

/* ================================
   Main Visual
================================ */
.main_visual {
  position: relative;
  height: calc(100vh - 140px);
  overflow: hidden;
}

.main_visual .swiper-pagination {
  position: absolute;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
}

.main_visual .swiper-pagination .swiper-pagination-bullet {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #fff;
  margin: 20px 0;
  opacity: 0.7;
  transition: opacity 0.3s, transform 0.3s;
}

.main_visual .swiper-pagination .swiper-pagination-bullet:hover {
  opacity: 1;
  transform: scale(1.2);
}

.main_visual .swiper-pagination .swiper-pagination-bullet:before {
  content: "";
  width: 24px;
  height: 24px;
  border: 1px solid transparent;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  transition: border-color 0.4s;
}

.main_visual .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active:before {
  border-color: #fff;
}

.main_visual img {
  filter: brightness(0.9) blur(2px);
  width: 110%;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  max-width: none;
  transition: transform 6s ease-in-out;
}
.main_visual img:hover {
  transform: translateX(-50%) scale(1.05);
}

/* ================================
   Service Section
================================ */
.main_svc {
  margin-top: clamp(80px, 10vw, 130px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
}

.renewalBorderBox {
  border: 1px solid #ddd;
  border-radius: 30px;
  padding: clamp(32px, 5vw, 64px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.main_svc .svc_left {
  flex: 0 0 600px;
  max-width: 600px;
  padding-right: 2rem;
}
.main_svc .svc_right {
  flex: 1;
}

.main_svc .main_title h2 {
  color: #000;
  font-size: clamp(28px, 3vw, 35px);
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.main_svc .main_title span {
  color: #666;
  font-size: 1rem;
  font-weight: 500;
}

.main_svc .svc_txt p {
  color: #555;
  font-size: 1rem;
  line-height: 1.8;
}

.main_svc .svc_txt a {
  display: inline-block;
  width: 280px;
  height: 56px;
  line-height: 54px;
  border: 2px solid #e60000;
  padding-left: 20px;
  color: #e60000;
  font-size: 18px;
  font-weight: 600;
  margin-top: 25px;
  position: relative;
  border-radius: 8px;
  transition: all 0.3s ease;
}
.main_svc .svc_txt a:before {
  content: "";
  border: solid #e60000;
  border-width: 0 2px 2px 0;
  display: inline-block;
  padding: 6px;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%) rotate(-45deg);
}
.main_svc .svc_txt a:hover {
  background-color: #e60000;
  color: #fff;
}

/* ================================
   Board / Table
================================ */
.board_cnt {
  margin: 50px 0 120px;
}

.board_cnt .bl_list table {
  width: 100%;
  border-collapse: collapse;
}
.board_cnt .bl_list table th,
.board_cnt .bl_list table td {
  padding: 12px;
  text-align: center;
  font-size: 15px;
  border-bottom: 1px solid #d4d4d4;
}
.board_cnt .bl_list table th {
  background-color: #f7f7f7;
  font-weight: 600;
}
.board_cnt .bl_list table td.subject a {
  display: inline-block;
  max-width: 600px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #333;
  transition: color 0.3s;
}
.board_cnt .bl_list table td.subject a:hover {
  color: #0f97dd;
  text-decoration: underline;
}

/* ================================
   Pagination
================================ */
.paging {
  text-align: center;
  margin-top: 60px;
}
.paging a {
  display: inline-block;
  min-width: 36px;
  height: 36px;
  line-height: 36px;
  margin: 0 6px;
  border-radius: 50%;
  font-size: 15px;
  color: #333;
  transition: background-color 0.3s, color 0.3s;
}
.paging a.pg_num.active {
  background-color: #0f97dd;
  color: #fff;
}
.paging a:hover {
  background-color: #eee;
}

/* ================================
   Board View
================================ */
.board_view {
  border-top: 2px solid #000;
}
.bv_info {
  padding: 36px 30px 40px;
  border-bottom: 1px solid #efefef;
}
.bv_info h2 {
  font-size: clamp(24px, 2.5vw, 30px);
  font-weight: 600;
  margin-bottom: 10px;
}
.bv_info .info span {
  font-size: 14px;
  color: #666;
}
.bv_info .info span + span:before {
  content: "";
  display: inline-block;
  width: 1px;
  height: 12px;
  background-color: #ccc;
  margin: 0 10px;
}

.board_view .bv_cnt .bv_edit {
  padding: 40px 30px 80px;
  line-height: 1.8;
  font-size: 15px;
  color: #444;
}
.board_view .bv_cnt .bv_files .file {
  padding-right: 32px;
  color: #0f97dd;
  font-weight: 500;
  text-decoration: underline;
  background-image: url("../images/ico_file.jpg");
  background-repeat: no-repeat;
  background-position: right center;
}


/* ================================
   Form Basic
================================ */
.form_basic {
  margin-top: 2rem;
}

.form_basic .fb_title {
  display: block;
  color: #222;
  font-size: clamp(20px, 2.5vw, 24px);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.form_basic .fb_table {
  width: 100%;
  border-collapse: collapse;
  border-top: 2px solid #222;
}

.form_basic .fb_table th {
  padding: 1.25rem 1.5rem;
  width: 200px;
  color: #222;
  font-size: 15px;
  font-weight: 500;
  text-align: left;
  border-bottom: 1px solid #ddd;
  background-color: #fafafa;
}

.form_basic .fb_table td {
  padding: 0.5rem 2rem 0.5rem 0;
  border-bottom: 1px solid #ddd;
  vertical-align: middle;
}

/* Inputs */
.form_basic .fb_table td input[type="text"],
.form_basic .fb_table td input[type="password"],
.form_basic .fb_table td select {
  border: 1px solid #ccc;
  padding: 0 1rem;
  font-size: 14px;
  font-weight: 500;
  color: #222;
  height: 50px;
  margin-right: 10px;
  border-radius: 6px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.form_basic .fb_table td input:focus,
.form_basic .fb_table td select:focus,
.form_basic .fb_table td textarea:focus {
  border-color: #0f97dd;
  box-shadow: 0 0 0 3px rgba(15, 151, 221, 0.2);
  outline: none;
}

.form_basic .fb_table td textarea {
  border: 1px solid #ccc;
  padding: 1rem;
  font-size: 14px;
  font-weight: 500;
  color: #222;
  min-height: 200px;
  width: 100%;
  border-radius: 6px;
  resize: vertical;
}

/* Width helpers */
.form_basic .fb_table td .nor { width: 255px; }
.form_basic .fb_table td .tel { width: 124px; }
.form_basic .fb_table td .mail { width: 325px; }
.form_basic .fb_table td select.mail { width: 195px; }
.form_basic .fb_table td .mail_g {
  line-height: 50px;
  color: #999;
  margin-right: 10px;
}
.form_basic .fb_table td .full { width: 100%; }

/* ================================
   Form Bottom
================================ */
.ftable_bottom {
  margin-top: 2rem;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1rem;
}

.ftable_bottom .design_check {
  color: #666;
  font-size: 13px;
}
.ftable_bottom .design_check a {
  text-decoration: underline;
  color: #0f97dd;
}

.ftable_bottom .ct_robot {
  width: 300px;
  height: 76px;
  background-color: #f9f9f9;
  border-radius: 6px;
}

.ftable_bottom .ct_submit {
  width: 200px;
  height: 76px;
  border: 1px solid #656565;
  border-radius: 6px;
  color: #323232;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  line-height: 74px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
}
.ftable_bottom .ct_submit span {
  position: relative;
  z-index: 10;
}
.ftable_bottom .ct_submit:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  background-color: #0f97dd;
  z-index: 1;
  width: 0;
  transition: width 0.3s ease;
}
.ftable_bottom .ct_submit:hover {
  color: #fff;
}
.ftable_bottom .ct_submit:hover:before {
  width: 100%;
}

/* ================================
   Terms Layer (Modal)
================================ */
.terms_layer {
  position: fixed;
  left: 50%;
  top: 50%;
  width: 400px;
  height: 430px;
  transform: translate(-50%, -50%);
  background-color: #fff;
  border: 1px solid #dcdcdc;
  border-radius: 8px;
  padding: 25px;
  z-index: 500;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.terms_layer .layer_title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #222;
}

.terms_layer .layer_close {
  position: absolute;
  right: 25px;
  top: 25px;
  width: 25px;
  height: 25px;
  border: 1px solid #dcdcdc;
  border-radius: 50%;
  background: url("../images/btn_close.png") no-repeat center center;
  background-size: 10px;
  cursor: pointer;
}

.terms_layer .layer_cnt {
  font-size: 14px;
  overflow-y: auto;
  height: 330px;
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 6px;
}
.terms_layer .layer_cnt strong {
  display: block;
  color: #444;
  font-weight: 600;
}
.terms_layer .layer_cnt p {
  margin-top: 10px;
  color: #555;
  line-height: 1.6;
}

/* ================================
   Sub Content
================================ */
.sub_content {
  margin-top: 100px;
}
.sub_inner {
  padding: 0 2rem;
  margin-top: 70px;
}

/* Tabs */
.tap_btns a {
  display: inline-block;
  height: 62px;
  width: 330px;
  font-size: 22px;
  font-weight: 600;
  background-color: #c6c6c6;
  color: #fff;
  text-align: center;
  line-height: 62px;
  margin-right: 35px;
  border-radius: 6px;
  transition: background-color 0.3s;
}
.tap_btns a.active {
  background-color: #222;
}

/* Sub Images */
.sub_imgs {
  border: 1px solid #d4d4d4;
  background-color: #fff;
  display: flex;
  gap: 1rem;
  padding: 1rem;
  border-radius: 6px;
}
.sub_imgs .item {
  text-align: center;
  flex: 1;
}
.sub_imgs .item img {
  width: 60%;
  border-radius: 6px;
}
.sub_imgs .item .tit {
  color: #000;
  margin: 20px 0;
  font-size: 22px;
  font-weight: 600;
}

/* Sub Text */
.sub_txt {
  line-height: 1.7;
  margin-top: 60px;
}
.sub_txt .txt_box + .txt_box {
  margin-top: 40px;
}
.sub_txt .txt_box .title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
}
.sub_txt .txt_box p,
.sub_txt .txt_box dl dd,
.sub_txt .txt_box ul li {
  color: #555;
  font-size: 16px;
}

/* Sub Table */
.sub_table {
  width: 100%;
  border-collapse: collapse;
  border-top: 2px solid #2f6a9f;
  margin-top: 40px;
}
.sub_table th {
  background-color: #5d9bcb;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  padding: 12px;
}
.sub_table td {
  background-color: #fff;
  color: #444;
  font-size: 15px;
  font-weight: 500;
  padding: 20px;
  border-bottom: 1px solid #ccc;
  text-align: center;
}
.sub_table td img {
  max-width: 250px;
  border-radius: 6px;
}

/* ================================
   History Timeline
================================ */
.history .contents {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  width: 85%;
}

/* Each year block as a flex row */
.history .contents > li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 40px;
}

/* Year label */
.history .contents > li .year {
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 500;
  color: #999;
  margin-right: 10px;
  min-width: 60px;
  text-align: right;
}

/* Circle marker */
.history .contents > li .marker {
  width: 14px;
  height: 14px;
  background-color: #6bb3b7;
  border-radius: 50%;
  border: 4px solid #fff;
  box-shadow: 0 0 5px rgba(0,0,0,0.2);
  margin-right: 20px;
  margin-top: 4px;
}

/* Events container */
.history .contents > li .events {
  flex-grow: 1;
  border-left: 1px solid #ccc;
  padding-left: 20px;
}

/* Events list */
.history .contents > li .events ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.history .contents > li .events ul li {
  color: #666;
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 10px;
}

/* Highlight first year */
.history .contents > li:first-child .year {
  color: #222;
}

.history .contents > li:first-child .events ul li {
  font-size: 18px;
  color: #222;
}

.history .contents > li:first-child .marker {
  background-color: #ff6946;
}

/* ================================
   Location Info
================================ */
.location_info {
  padding-left: 20px;
  border-left: 8px solid #d61f1f;
  margin: 50px 0 0 15px;
}
.location_info strong {
  display: block;
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 600;
  margin-bottom: 15px;
}
.location_info span {
  display: inline-block;
  font-size: 18px;
  color: #444;
  margin-top: 5px;
  border-bottom: 1px solid #ddd;
  padding: 5px 0;
}

/* ================================
   Generic Tables (Company, Product, Solution, Service)
================================ */
.cp_table,
.pd_table,
.sl_table,
.sv_table {
  width: 100%;
  border-collapse: collapse;
  border-top: 2px solid #222;
}
.cp_table th,
.pd_table th,
.sl_table th,
.sv_table th {
  background-color: #f7f7f7;
  color: #666;
  font-size: 16px;
  font-weight: 500;
  text-align: left;
  padding: 16px 20px;
  border-bottom: 1px solid #ccc;
}
.cp_table td,
.pd_table td,
.sl_table td,
.sv_table td {
  background-color: #fff;
  color: #444;
  font-size: 15px;
  font-weight: 400;
  padding: 16px 20px;
  border-bottom: 1px solid #ccc;
  line-height: 1.7;
}
.cp_table td img,
.pd_table td img,
.sl_table td img,
.sv_table td img {
  max-width: 280px;
  border-radius: 6px;
}
.cp_txt,
.pd_txt,
.sl_txt,
.sv_txt {
  padding: 20px;
  text-align: center;
  background-color: #eee;
  font-size: 16px;
  color: #444;
}
.sub_bg {
  background-color: #fbfbfb;
  margin: 70px 0;
  padding: 70px 0;
}

/* ================================
   Contact Section
================================ */
.contact_wrap {
  padding: 25px 2px 0;
  background: url("../images/contact_bg.jpg") center top / cover no-repeat;
  border-radius: 20px;
}
.contact {
  border: 1px solid #dbdbdb;
  background-color: #fff;
  border-radius: 20px;
  padding: 60px;
  padding-left: 400px;
  background: url("../images/contact.jpg") left bottom / 380px no-repeat;
}
.contact .row + .row {
  margin-top: 18px;
}
.contact .row .tit {
  color: #444;
  font-size: 16px;
  margin-bottom: 10px;
}
.contact .row .cnt input,
.contact .row .cnt textarea {
  border: 1px solid #bbb;
  width: 100%;
  padding: 12px;
  border-radius: 6px;
  font-size: 14px;
}
.contact .row .cnt textarea {
  min-height: 160px;
  resize: vertical;
}
.contact .btns {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.contact .btns a {
  flex: 1;
  background-color: #bbb;
  color: #fff;
  padding: 15px 0;
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  border-radius: 6px;
  transition: background-color 0.3s;
}
.contact .btns a.submit {
  background-color: #333;
}
.contact .btns a:hover {
  background-color: #0f97dd;
}

/* ================================
   Header & Navigation
================================ */
#header {
  position: relative;
  top: 0;
  background: #fff;
  z-index: 20;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
#header .inner-wrap {
  height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
}
#header #logo {
  width: 130px;
  display: flex;
  align-items: center;
}
#nav {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
#nav > ul {
  display: flex;
  gap: 20px;
}
#nav > ul > li > a {
  position: relative;
  display: block;
  height: 80px;
  line-height: 80px;
  padding: 0 20px;
  font-size: 15px;
  font-weight: 600;
  color: #222;
  transition: color 0.3s;
}
#nav > ul > li > a:hover {
  color: #00478f;
}
#nav > ul > li > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 100%;
  background: #00478f;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s;
}
#nav > ul > li:hover > a::after {
  transform: scaleX(1);
}
#nav ul ul {
  position: absolute;
  top: 100%;
  left: 0;
  opacity: 0;
  visibility: hidden;
  background: #fff;
  padding: 20px;
  border-radius: 6px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  transition: opacity 0.3s;
}
#nav ul li:hover > ul {
  opacity: 1;
  visibility: visible;
}
#nav ul ul a {
  padding: 8px 12px;
  color: #666;
  font-weight: 500;
}
#nav ul ul a:hover {
  color: #00478f;
}

/* ================================
   Main Visual Textbox
================================ */
.main_visual .textbox {
  color: #fff;
  position: absolute;
  bottom: 35%;
  right: 10%;
  transform: translateY(50%);
  font-size: clamp(28px, 3vw, 48px);
  font-weight: 600;
  max-width: 640px;
}
.main_visual .textbox b {
  font-weight: 800;
  font-size: clamp(40px, 4vw, 67px);
}
.main_visual .textbox p:first-of-type {
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 600;
  margin-bottom: 8px;
}

/* Visual button */
.btn_visual {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: auto;
  min-width: 140px;
  padding: 10px 24px;
  border: 2px solid #fff;
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 50px;
  transition: all 0.3s ease;
  font-size: 16px;
  font-weight: 600;
  margin-top: 32px;
  color: #fff;
}
.btn_visual:hover {
  border-color: #008acc;
  background-color: #008acc;
  color: #fff;
}

/* Hide default swiper bullets */
.swiper-pagination.swiper-pagination-clickable.swiper-pagination-bullets {
  display: none;
}

/* ================================
   Content Visual
================================ */
#content .visual {
  overflow: hidden;
  position: relative;
  height: clamp(300px, 50vh, 500px);
  margin: 0 40px;
  border-radius: 32px;
}
.inner {
  width: 100%;
  height: 100%;
  margin: 0 auto;
}
#content .visual img {
  width: 120%;
  filter: brightness(0.9);
  max-width: none;
  transition: transform 6s ease-in-out;
}
#content .visual img:hover {
  transform: scale(1.05);
}
#content .visual .title {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
#content .visual .title .motion {
  overflow: hidden;
}
#content .visual .title h2 {
  text-align: center;
  color: #fff;
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 700;
  z-index: 1;
  animation: fadeInUp 1s both;
}

/* Headings & sections */
h3 {
  line-height: 1.5;
  font-weight: 700;
  font-size: clamp(22px, 2.5vw, 32px);
  animation: fadeInUp 1s both;
  margin: 80px 0 50px;
}
h4 {
  line-height: 1.5;
  font-weight: 700;
  font-size: clamp(18px, 2vw, 24px);
  animation: fadeInUp 1s both;
  margin: 40px 0 20px;
}
section {
  margin-top: 60px;
}

/* Animation */
@keyframes fadeInUp {
  0% { opacity: 0; transform: translate3d(0, 50px, 0); }
  100% { opacity: 1; transform: none; }
}

/* ================================
   CEO Message
================================ */
.company .ceo .message {
  overflow: hidden;
  background: rgba(0, 92, 170, 0.08);
  border-radius: 16px;
}
.company .ceo .message .substance {
  position: relative;
  display: flex;
  align-items: flex-start;
  padding: 60px 20px;
  gap: 40px;
}
.company .ceo .message .substance h4 {
  color: #00478f;
  line-height: 1.3;
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 700;
  flex: 1 1 50%;
}
.company .ceo .message .substance .content {
  font-size: 18px;
  color: #333;
  display: flex;
  font-weight: 400;
  margin-bottom: 30px;
  flex: 1 1 50%;
}
.company .ceo .message .substance .content p:first-of-type {
  font-weight: 600;
  width: 80px;
  flex-shrink: 0;
}

/* ================================
   History Timeline (list version)
================================ */
.history .contents > li {
  display: flex;
  gap: 40px;
}
.history .contents > li > p {
  display: block;
  color: #00478f;
  line-height: 36px;
  font-size: 22px;
  font-weight: 700;
  margin-right: 160px;
  min-width: 100px;
  max-width: 100px;
  position: relative;
}
.history .contents > li > p::before {
  position: absolute;
  content: "";
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: #008acc;
  top: 50%;
  right: -88px;
  transform: translateY(-50%);
  z-index: 1;
}
.history .contents > li > ul {
  padding-bottom: 100px;
  position: relative;
}
.history .contents > li > ul li {
  font-size: 16px;
  color: #666;
  font-weight: 400;
  line-height: 1.8;
  display: flex;
  gap: 16px;
}
.history .contents > li > ul li b {
  min-width: 80px;
  max-width: 80px;
  display: block;
  color: #222;
}
.history .contents > li > ul::before {
  position: absolute;
  content: "";
  width: 1px;
  height: 100%;
  background-color: #ddd;
  left: -80px;
}

/* ================================
   Company
================================ */

.company .info {
  display: flex;
  gap: 40px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}
.company .info .thumb {
  padding: 0 20px;
  flex: 1 1 300px;
  max-width: 460px;
  border-radius: 24px;
  border: 1px solid #ddd;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}
.company .info .thumb img {
  max-width: 100%;
  height: auto;
}
.company .info .title strong {
  vertical-align: middle;
  line-height: 1.3;
  font-size: clamp(22px, 2.5vw, 30px);
  color: #222;
  font-weight: 700;
}
.company .info .title b {
  display: block;
  margin: 24px 0 16px;
  line-height: 1.4;
  color: #222;
  font-size: 20px;
  font-weight: 700;
}
.company .info .title small {
  line-height: 1.6;
  color: #444; /* improved contrast */
  font-size: 14px;
  font-weight: 400;
  display: inline-block;
  margin-bottom: 8px;
}
.company .info .title p {
  font-size: 16px;
  color: #444; /* improved contrast */
  max-width: 650px;
  line-height: 1.6;
  word-break: keep-all;
}

.lora_solution img {
    padding: 12px;
    max-width: 100%;
    height: auto;
    box-sizing: border-box;
}

/* ================================
   Location Info (list version)
================================ */
.location .info {
  display: flex;
  margin-top: 50px;
  gap: 40px;
}
.location .info strong {
  flex: 0 0 30%;
  font-size: 22px;
  color: #222;
  font-weight: 700;
}
.location .txt_list li {
  margin-bottom: 16px;
  display: flex;
}
.location .txt_list li > div {
  margin-right: 60px;
}
.location .txt_list li em {
  display: inline-block;
  width: 80px;
  line-height: 22px;
  font-size: 16px;
  font-weight: 700;
  font-style: normal;
}
.location .txt_list li .txt {
  display: inline-block;
  letter-spacing: -0.3px;
  line-height: 20px;
  font-size: 16px;
  color: #444;
}

/* ================================
   Product 1
================================ */
.product1 .info {
  display: flex;
  gap: 40px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}
.product1 .info .thumb {
  padding: 0 20px;
  flex: 1 1 300px;
  max-width: 460px;
  border-radius: 24px;
  border: 1px solid #ddd;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}
.product1 .info .thumb img {
  max-width: 100%;
  height: auto;
}
.product1 .info .title strong {
  vertical-align: middle;
  line-height: 1.3;
  font-size: clamp(22px, 2.5vw, 30px);
  color: #222;
  font-weight: 700;
}
.product1 .info .title b {
  display: block;
  margin: 24px 0 16px;
  line-height: 1.4;
  color: #222;
  font-size: 20px;
  font-weight: 700;
}
.product1 .info .title small {
  line-height: 1.6;
  color: #444; /* improved contrast */
  font-size: 14px;
  font-weight: 400;
  display: inline-block;
  margin-bottom: 8px;
}
.product1 .info .title p {
  font-size: 16px;
  color: #444; /* improved contrast */
  max-width: 650px;
  line-height: 1.6;
  word-break: keep-all;
}

/* Product 1 function box */
.product1 .funcBox {
  width: 100%;
  padding: 32px 48px;
  border-radius: 24px;
  background-color: #f5f5f5;
  margin-bottom: 40px;
}
.product1 .funcBox b {
  line-height: 1.4;
  font-size: 20px;
  color: #222;
  font-weight: 700;
  margin-bottom: 16px;
  display: block;
}
.product1 .funcBox p {
  position: relative;
  letter-spacing: -0.3px;
  line-height: 1.8;
  font-size: 16px;
  margin-left: 20px;
}
.product1 .funcBox p::before {
  position: absolute;
  content: "";
  background-color: #00478f;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  top: 0.9em;
  transform: translateY(-50%);
  left: -20px;
}

.product1 .funcBox ul {
  margin: 0;
  padding-left: 20px;
  list-style-type: none; /* disable default bullets */
}

.product1 .funcBox li {
  position: relative;
  letter-spacing: -0.3px;
  line-height: 1.8;
  font-size: 16px;
  margin-left: 20px;
}
.product1 .funcBox li::before {
  position: absolute;
  content: "";
  background-color: #00478f;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  top: 0.9em;
  transform: translateY(-50%);
  left: -20px;
}

.subtitle {
  font-weight: bold;
  font-size: 1.25rem;
  margin-top: 16px;   /* space above subtitle */
  margin-bottom: 8px; /* space below subtitle */
}

/* Product 1 sell table */
.product1 .sell {
  width: 100%;
  border-spacing: 0;
  margin-bottom: 60px;
  border-top: 1px solid #ddd;
  box-sizing: border-box;
  table-layout: fixed; /* Ensures column widths behave predictably */
}

/* Column width ratio: 20% / 40% / 40% */
.product1 .sell th:nth-child(1),
.product1 .sell td:nth-child(1) {
  width: 20%;
}

.product1 .sell th:nth-child(2),
.product1 .sell td:nth-child(2) {
  width: 40%;
}

.product1 .sell th:nth-child(3),
.product1 .sell td:nth-child(3) {
  width: 40%;
}

.product1 .sell th {
  background: #eee;
  padding: 16px;
  text-align: center;
  color: #222;
  font-weight: 600;
  font-size: 16px;
}

.product1 .sell td {
  padding: 24px 12px;
  border-bottom: 1px solid #ddd;
  text-align: center;
  color: #222;
  font-size: 18px;
  font-weight: 600;
  vertical-align: middle;
}

/* Prevent images from overflowing */
.product1 .sell td img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.product1 .sell td p {
  line-height: 1.8;
}

/* Product 1 image boxes */
.product1 .subTitle {
  letter-spacing: -0.3px;
  color: #444;
  line-height: 1.6;
  font-size: 20px;
  font-weight: 400;
  word-break: keep-all;
}

.product1 .subTitle > b {
  color: #222;
}

.product1 .imgBox,
.product1 .imgBox2 {
  width: 100%;
  min-height: 300px;
  border: 1px solid #ddd;
  padding: 40px;
  border-radius: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
}

.product1 .imgBox img,
.product1 .imgBox2 img {
  max-height: 100%;
  width: auto;
  margin: auto;
  display: block;
}

.product1 .imgBox2 {
  margin: 40px 0;
  flex-wrap: wrap;
}

.product1 .imgBox2 > div {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.product1 .subTitle2 {
  letter-spacing: -0.3px;
  color: #444;
  line-height: 1.6;
  font-size: 18px;
  font-weight: 400;
  word-break: keep-all;
}

.product1 .sell .sell-list {
  list-style: none;
  padding-left: 24px;
  margin: 0;
}

.product1 .sell .sell-list li {
  position: relative;
  margin-bottom: 6px;
  line-height: 1.6;
}

.product1 .sell .sell-list li::before {
  content: "";
  position: absolute;
  left: -16px;
  top: 0.7em;
  width: 6px;
  height: 6px;
  background-color: #00478f;
  border-radius: 50%;
}

/* Third column: left-aligned text */
.product1 .sell td:nth-child(3) {
  text-align: left;
  padding-left: 24px; /* optional: gives breathing room */
  line-height: 1.8;
}

/* ================================
   Product 2
================================ */
.product2 .info {
  display: flex;
  gap: 40px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}
.product2 .info .thumb {
  padding: 20px;
  flex: 1 1 300px;
  max-width: 640px;
  min-height: 300px;
  border-radius: 24px;
  border: 1px solid #ddd;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: #fff;
}
.product2 .info .thumb img {
  max-width: 80%;
  height: auto;
}
.product2 .info strong {
  vertical-align: middle;
  line-height: 1.3;
  font-size: clamp(22px, 2.5vw, 32px);
  color: #222;
  font-weight: 700;
}
.product2 .info b {
  display: block;
  margin: 24px 0 16px;
  line-height: 1.4;
  color: #222;
  font-size: 20px;
  font-weight: 700;
}
.product2 .info span {
  margin-left: 4px;
  padding: 4px 12px 6px;
  border: 2px solid #00478f;
  border-radius: 999px;
  vertical-align: middle;
  text-transform: uppercase;
  color: #00478f;
  font-weight: 600;
  font-size: 14px;
  display: inline-block;
}
.product2 .info .title p {
  font-size: 16px;
  color: #444;
  max-width: 650px;
  line-height: 1.6;
  word-break: keep-all;
}

/* Product 2 function box */
.product2 .funcBox {
  width: 100%;
  padding: 32px 48px;
  border-radius: 24px;
  background-color: #f5f5f5;
  margin-bottom: 40px;
}
.product2 .funcBox b {
  line-height: 1.4;
  font-size: 20px;
  color: #222;
  font-weight: 700;
  margin-bottom: 16px;
  display: block;
}
.product2 .funcBox p {
  position: relative;
  letter-spacing: -0.3px;
  line-height: 1.8;
  font-size: 16px;
  z-index: 1;
  margin-left: 20px;
}
.product2 .funcBox p::before {
  position: absolute;
  content: "";
  background-color: #00478f;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  top: 0.9em;
  transform: translateY(-50%);
  left: -20px;
}

/* Product 2 sell table */
.product2 .sell {
  width: 100%;
  border-spacing: 0;
  margin-bottom: 60px;
  border-top: 1px solid #ddd;
  box-sizing: border-box;
}
.product2 .sell th {
  background: #eee;
  padding: 16px;
  text-align: center;
  color: #222;
  line-height: 1.4;
  letter-spacing: -0.2px;
  font-weight: 600;
  border: 0;
  font-size: 16px;
}
.product2 .sell td {
  padding: 24px 12px;
  border-bottom: 1px solid #ddd;
  text-align: center;
  color: #222;
  line-height: 1.6;
  font-size: 18px;
  font-weight: 600;
  vertical-align: middle;
}
.product2 .sell td p {
  line-height: 1.8;
}

/* ================================
   Responsive adjustments
================================ */
@media (max-width: 1024px) {
  .main_visual .textbox {
    right: 5%;
    bottom: 30%;
    font-size: clamp(22px, 2.5vw, 36px);
  }
  #content .visual {
    margin: 0 24px;
    border-radius: 24px;
  }
  .product1 .info .thumb,
  .product2 .info .thumb {
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .main_visual .textbox {
    position: static;
    transform: none;
    margin: 20px;
    text-align: left;
    font-size: clamp(20px, 4vw, 28px);
  }
  #content .visual {
    margin: 0 16px;
    height: 240px;
    border-radius: 16px;
  }
  .company .ceo .message .substance {
    flex-direction: column;
    padding: 32px 20px;
    gap: 20px;
  }
  .history .contents > li {
    flex-direction: column;
    gap: 16px;
  }
  .history .contents > li > p {
    margin-right: 0;
    max-width: none;
  }
  .history .contents > li > p::before {
    right: auto;
    left: 0;
  }
  .history .contents > li > ul::before {
    left: -16px;
  }
  .location .info {
    flex-direction: column;
    gap: 20px;
  }
  .product1 .imgBox,
  .imgBox2 {
    height: auto;
    padding: 20px;
  }
  .product1 .imgBox2 img {
    padding: 0 16px;
  }
  .noticeContents {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* ================================
   Round Text Badge
================================ */
.roundTxt {
  margin: auto;
  padding: 4px 12px;
  border: 2px solid #00478f;
  border-radius: 999px;
  text-transform: uppercase;
  color: #00478f;
  font-weight: 600;
  font-size: 14px;
  text-align: center;
  letter-spacing: 0.5px;
}

/* ================================
   Product Form Inputs
================================ */
.product1 input,
.product1 textarea {
  border-radius: 10px;
  border: 1px solid #ddd;
  background-color: #fff;
  width: 100%;
  display: block;
  margin: 10px 0 40px;
  font-size: 15px;
  color: #333;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.product1 input {
  height: 60px;
  padding: 0 20px;
}
.product1 textarea {
  height: 300px;
  padding: 20px;
  resize: vertical;
}
.product1 input:focus,
.product1 textarea:focus {
  border-color: #008acc;
  box-shadow: 0 0 0 3px rgba(0,138,204,0.2);
  outline: none;
}
.product1 form span {
  font-size: 18px;
  color: #666;
  font-weight: 500;
}

/* ================================
   Buttons
================================ */
.btn_visual_ok {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 245px;
  width: 100%;
  height: 60px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  background-color: #008acc;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin: auto;
  transition: background-color 0.3s ease;
}
.btn_visual_ok:hover {
  background-color: #00478f;
}

/* ================================
   Navigation Column Dropdown
================================ */
#nav > ul > li > ul.column {
  display: flex;
  flex-direction: column;
  padding: 20px 32px;
}
#nav > ul > li > ul.column > div {
  display: flex;
  margin-bottom: 12px;
}

/* ================================
   Mobile Hamburger Button
================================ */
#pcham {
  border: none;
  background: transparent;
  padding: 0;
  position: relative;
  width: 28px;
  height: 20px;
  cursor: pointer;
  z-index: 9999;
  display: none; /* shown via media query */
}
#pcham > div {
  width: 100%;
  height: 2px;
  background-color: #666;
  position: absolute;
  transition: 0.3s ease;
}
#pcham > div:nth-child(1) { top: 0; }
#pcham > div:nth-child(2) { top: 50%; transform: translateY(-50%); }
#pcham > div:nth-child(3) { bottom: 0; }
#pcham.active > div:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}
#pcham.active > div:nth-child(2) {
  opacity: 0;
}
#pcham.active > div:nth-child(3) {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
}

/* ================================
   Mobile Header & Menu
================================ */
.mheader {
  display: none;
  height: 100vh;
  width: 100vw;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
}
.mmenu {
  background-color: #fff;
  width: 100%;
  height: 100%;
  display: flex;
  position: relative;
}
#mlnb {
  padding: 40px;
  width: 100%;
  max-width: 800px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
#mlnb .mmain {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
#mlnb .mmain > a {
  font-size: 18px;
  color: #222;
  font-weight: 700;
  transition: color 0.3s;
}
#mlnb .mmain > a:hover {
  color: #00478f;
}
#mlnb .mmain .sub {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
#mlnb .mmain .sub a {
  font-size: 14px;
  color: #666;
  transition: color 0.3s;
}
#mlnb .mmain .sub a:hover {
  color: #00478f;
}

body.act {
  overflow: hidden;
}

/* ================================
   Misc
================================ */
.imgBox3 {
  width: 50%;
}
.lang2 {
  font-size: 12px;
  color: #434343;
  line-height: 20px;
  position: absolute;
  bottom: 20px;
  right: 20px;
}
.noticeContents {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}


/* ---------------------------------------
   Responsive Adjustments
---------------------------------------- */

/* Tablet Landscape (≤1199px) */
@media screen and (max-width: 1199px) {
  .main_content {
    width: 100%;
  }
  .main_visual {
    height: calc(100vh - 120px);
  }
  .main_visual img {
    width: auto;
    max-height: 100%;
  }
  .main_visual .textbox b {
    font-size: clamp(32px, 4vw, 48px);
  }
  .main_visual .textbox p:first-of-type {
    font-size: clamp(18px, 2vw, 24px);
  }

  #header {
    width: 100%;
    height: 80px;
  }
  #header .inner-wrap {
    height: 100%;
  }
  #nav > ul > li > a {
    line-height: 80px;
    height: 80px;
    padding: 0 14px;
    font-size: 14px;
  }

  .main_svc {
    margin-top: 80px;
  }
  .main_svc .main_title h2 {
    font-size: 28px;
  }
  .main_svc .main_title {
    margin-bottom: 20px;
  }
  .main_svc .main_title span {
    margin-top: 18px;
    font-size: 16px;
  }
  .main_svc .svc_txt p {
    font-size: 15px;
  }
  .main_svc .svc_left {
    padding-right: 20px;
    min-width: auto;
  }
  .renewal_svc_right {
    min-width: 300px;
  }
  .renewalBorderBox {
    border-radius: 30px;
    padding: 32px;
  }

  .fmenu {
    margin-top: 60px;
    padding: 32px 0;
    width: 100%;
  }
  #footer {
    padding: 40px 0;
    font-size: 14px;
    width: 100%;
  }
  .fmenu .container > ul > li > a {
    font-size: 15px;
    margin-bottom: 16px;
  }

  #content .visual {
    height: 400px;
    border-radius: 32px;
  }
  #content .visual .title h2 {
    font-size: 36px;
  }

  section {
    margin-top: 30px;
  }
  h3 {
    font-size: 26px;
    margin: 40px 0 30px;
  }
  h4 {
    font-size: 22px;
  }

  .company .ceo .message .substance h4 {
    font-size: 26px;
    margin-right: 80px;
  }
  .company .ceo .message .substance .content {
    font-size: 16px;
    margin-bottom: 16px;
  }
  .company .ceo .message .substance .content p:first-of-type {
    min-width: 70px;
  }

  .location .info strong {
    width: 25%;
    font-size: 20px;
  }

  .product1 .info {
    gap: 24px;
    margin-bottom: 48px;
  }
  .product1 .info .title strong {
    font-size: 24px;
  }
  .product1 .info .title b {
    margin: 16px 0 8px;
    font-size: 18px;
  }
  .product1 .info .title p {
    font-size: 15px;
    line-height: 1.4;
  }
  .product1 .funcBox {
    padding: 24px;
    border-radius: 24px;
    margin-bottom: 24px;
  }
  .product1 .funcBox b {
    font-size: 18px;
    margin-bottom: 8px;
  }
  .product1 .funcBox p {
    font-size: 15px;
    line-height: 1.6;
  }

  .product1 .sell th,
  .product1 .sell td,
  .product2 .sell th,
  .product2 .sell td {
    padding: 12px;
    font-size: 15px;
  }

  .product2 .info {
    gap: 24px;
    margin-bottom: 48px;
  }
  .product2 .info b {
    margin: 16px 0 8px;
    font-size: 18px;
  }

  .product1 .subTitle {
    font-size: 16px;
    line-height: 1.5;
  }

  .noticeContents {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
}

/* Mobile Landscape & Tablet Portrait (≤899px) */
@media screen and (max-width: 899px) {
  #nav > ul,
  .lang,
  .fmenu {
    display: none;
  }
  #nav {
    justify-content: flex-end;
  }
  body.act .lang {
    display: block;
  }

  .main_visual .textbox {
    line-height: 1.2;
  }
  .main_visual .textbox p:first-of-type {
    font-size: 18px;
  }
  .main_visual .textbox b {
    font-size: 32px;
  }

  .main_svc {
    margin-top: 60px;
    flex-direction: column;
  }
  .main_svc .main_title h2 {
    font-size: 22px;
  }
  .main_svc .main_title span {
    font-size: 14px;
  }
  .renewalBorderBox {
    border-radius: 20px;
    padding: 20px;
  }

  #footer {
    margin-top: 60px;
    padding: 32px 0;
    font-size: 13px;
  }
  #footer .ft_box {
    margin-top: 40px;
    padding-top: 16px;
  }
  #footer .ft_cnt > div {
    font-size: 13px;
  }
  #footer .ft_logo {
    width: 120px;
    height: 40px;
  }
  #footer .ft_copy {
    font-size: 12px;
  }

  #pcham {
    display: block;
  }

  #content .visual {
    height: 220px;
    border-radius: 24px;
  }
  #content .visual .title h2 {
    font-size: 26px;
  }

  section {
    margin-top: 20px;
  }
  h3 {
    font-size: 22px;
    margin: 24px 0 16px;
  }
  h4 {
    font-size: 18px;
    margin: 20px 0 10px;
  }

  .company .ceo .message .substance {
    padding: 32px 0;
    flex-direction: column;
  }
  .company .ceo .message .substance h4 {
    font-size: 22px;
    margin: 0;
    width: 100%;
  }
  .company .ceo .message .substance .content {
    font-size: 14px;
    margin-bottom: 8px;
  }

  .history .contents > li > p {
    font-size: 18px;
    margin-right: 32px;
    min-width: 70px;
  }
  .history .contents > li > p::before {
    right: -8px;
  }
  .history .contents > li > ul::before {
    left: -32px;
  }
  .history .contents > li > ul li {
    font-size: 14px;
  }
  .history .contents > li > ul li b {
    min-width: 50px;
  }
  .history .contents > li > ul {
    padding-bottom: 40px;
  }

  .location .info {
    margin-top: 24px;
    flex-direction: column;
  }
  .location .info strong {
    width: 100%;
    font-size: 18px;
    margin-bottom: 16px;
  }
  .location .txt_list li em {
    width: 50px;
    font-size: 14px;
  }
  .location .txt_list li .txt {
    font-size: 14px;
  }

  .product1 .info,
  .product2 .info {
    flex-direction: column;
    gap: 20px;
    margin-bottom: 0;
  }
  .product1 .info .title strong {
    font-size: 18px;
  }
  .product1 .info .title b,
  .product2 .info b {
    font-size: 15px;
    margin: 8px 0 4px;
  }
  .product1 .info .title p,
  .product2 .info .title p {
    font-size: 14px;
    line-height: 1.4;
  }
  .product1 .funcBox {
    border-radius: 16px;
    padding: 20px;
  }


/* ---------------------------------------
   Mobile Portrait (≤599px)
---------------------------------------- */
@media screen and (max-width: 599px) {
  /* Header */
  #header {
    height: 48px;
    padding: 0 16px;
  }
  #header #logo {
    width: 80px;
  }
  #header #logo a {
    display: flex;
    align-items: center;
  }
  .inner-wrap {
    padding: 0 16px;
  }

  /* Rounded corners */
  .r24,
  .item.normal {
    border-radius: 12px;
  }

  /* Main Visual */
  .main_visual {
    height: calc(100vh - 88px);
  }
  .main_visual .textbox {
    text-align: left;
    line-height: 1.2;
  }
  .main_visual .textbox p:first-of-type {
    font-size: 14px;
  }
  .main_visual .textbox b {
    font-size: 22px;
  }

  /* Container */
  .container {
    padding: 0 16px;
  }

  /* Service Section */
  .main_svc {
    margin-top: 32px;
    flex-direction: column;
    gap: 16px;
  }
  .renewalBorderBox {
    border-radius: 16px;
    padding: 16px;
  }
  .main_svc .main_title h2 {
    font-size: 18px;
  }
  .main_svc .main_title span {
    font-size: 14px;
  }
  .main_svc .svc_txt p {
    font-size: 13px;
    line-height: 1.4;
  }
  .renewal_svc_right {
    width: 100%;
    height: 140px;
  }

  /* Footer */
  #footer {
    margin-top: 48px;
    padding: 24px 0;
    font-size: 12px;
  }
  #footer .ft_logo {
    width: 100px;
    height: 25px;
  }
  #footer .ft_box {
    margin-top: 32px;
    padding-top: 16px;
  }
  #footer .ft_cnt > div {
    font-size: 12px;
  }
  #footer .ft_copy {
    font-size: 10px;
  }

  /* Mobile Navigation */
  #mlnb .mmain {
    gap: 8px;
    margin: 24px 8px 0;
  }
  #mlnb .mmain > a {
    font-size: 14px;
  }
  #mlnb .mmain .sub {
    gap: 6px;
  }
  #mlnb .mmain .sub a {
    font-size: 12px;
  }

  /* Content Visual */
  #content .visual {
    height: 180px;
    border-radius: 16px;
    margin: 0 16px;
  }
  #content .visual img {
    width: auto;
    max-width: 180%;
  }
  #content .visual .title h2 {
    font-size: 22px;
  }

  /* Headings */
  h3 {
    font-size: 18px;
    margin: 20px 0 12px;
  }
  h4 {
    font-size: 16px;
    margin: 16px 0 8px;
  }

  /* CEO Message */
  .company .ceo .message .substance {
    padding: 24px 0;
    flex-direction: column;
  }
  .company .ceo .message .substance h4 {
    font-size: 18px;
  }
  .company .ceo .message .substance .content {
    font-size: 13px;
  }
  .company .ceo .message .substance .content p:first-of-type {
    min-width: 50px;
  }

  /* History Timeline */
  .history .contents > li {
    flex-direction: column;
    gap: 8px;
  }
  .history .contents > li > p {
    font-size: 14px;
  }
  .history .contents > li > p::before,
  .history .contents > li > ul::before {
    display: none;
  }
  .history .contents > li > ul {
    padding-bottom: 16px;
  }
  .history .contents > li > ul li {
    font-size: 13px;
    line-height: 1.4;
  }
  .history .contents > li > ul li b {
    min-width: 40px;
  }

  /* Location */
  .root_daum_roughmap .wrap_map {
    height: 160px !important;
  }
  .location .info {
    margin-top: 16px;
    flex-direction: column;
  }
  .location .info strong {
    font-size: 15px;
    margin-bottom: 8px;
  }
  .location .txt_list li em {
    width: 28px;
    font-size: 12px;
  }
  .location .txt_list li .txt {
    font-size: 12px;
  }

  /* Product 1 */
  .product1 .info .title strong {
    font-size: 15px;
  }
  .product1 .info .title b {
    font-size: 13px;
  }
  .product1 .info .title p {
    font-size: 12px;
  }
  .product1 .funcBox {
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
  }
  .product1 .funcBox b {
    font-size: 14px;
    margin-bottom: 4px;
  }
  .product1 .funcBox p {
    font-size: 12px;
    line-height: 1.4;
  }
  .product1 .sell th,
  .product1 .sell td {
    font-size: 12px;
    padding: 6px;
  }
  .product1 .imgBox {
    padding: 8px;
    border-radius: 16px;
  }
  .product1 .imgBox2 {
    padding: 8px;
    border-radius: 16px;
    margin: 16px 0;
  }
  .product1 .imgBox2 img {
    padding: 0;
  }

  /* Product 2 */
  .product2 .info .thumb {
    height: 180px;
    border-radius: 12px;
  }
  .product2 .info .thumb img {
    max-height: 100px;
  }
  .product2 .info b,
  .product2 .info span {
    font-size: 12px;
  }
  .product2 .sell th,
  .product2 .sell td {
    font-size: 12px;
    padding: 6px;
  }

  /* Sell Group Scroll */
  .sellGroup {
    width: 100%;
    overflow-x: auto;
  }
  .product1 .sellGroup .sell,
  .product2 .sellGroup .sell {
    width: 800px !important;
    margin-bottom: 24px;
  }

  /* Round Text Badge */
  .roundTxt {
    margin: 8px auto;
    font-size: 12px;
    padding: 2px 6px;
  }

  /* Notice Grid */
  .noticeContents {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
}