/* Final requested overrides */
body.home-page header.header > .home-logo{
  left:48px !important;
  top:26% !important;
  transform:translateY(-50%) !important;
}

body.home-page .home-logo,
body.home-page .home-logo > a{
  width:170px !important;
  height:58px !important;
}

body.home-page .home-logo .home-logo-img{
  width:170px !important;
  height:auto !important;
}

body.home-page .home-logo .home-logo-img--black{
  opacity:0 !important;
}

body.home-page .home-logo .home-logo-img--white{
  opacity:1 !important;
}

body.home-page .header:hover .home-logo-img--black,
body.home-page .header:focus-within .home-logo-img--black,
body.home-page .header:has(.nav.has-mega.is-open) .home-logo-img--black{
  opacity:1 !important;
}

body.home-page .header:hover .home-logo-img--white,
body.home-page .header:focus-within .home-logo-img--white,
body.home-page .header:has(.nav.has-mega.is-open) .home-logo-img--white{
  opacity:0 !important;
}

body.home-page .main-visual-content,
body.home-page .main-visual-content--single{
  top:49.5% !important;
}

body.home-page .main-visual-slide:nth-child(2) .main-visual-content{
  top:40% !important;
}

/* Company vision page */
#company .qna-hero{
  min-height:295px;
}

#company .qna-hero::before{
  background:rgba(255,255,255,.08);
}

#company .hero-title{
  font-size:46px;
  line-height:1.15;
  font-weight:800;
  color:#000;
}

#company .hero-sub .en{
  color:#9a9a9a !important;
  font-size:16px;
  font-weight:400;
  margin:6px 0 10px;
  position:relative;
}

#company .hero-sub .en::after{
  content:"";
  display:block;
  width:170px;
  height:1px;
  margin:12px auto 0;
  background:#222;
}

#company .hero-sub .main{
  color:#fff;
  font-size:28px;
  line-height:1.35;
  font-weight:800;
}

#company .hero-sub .desc{
  color:#000;
  font-size:19px;
  line-height:1.45;
}

#company .qna-body{
  padding-top:22px;
}

#company .tabs.company-tabs{
  width:min(100%, 750px);
  border-radius:0;
  margin-bottom:30px;
}

#company .tabs.company-tabs .tab{
  min-height:44px;
  padding:10px 12px;
  border-right:1px solid #d7d7d7;
  font-size:14px;
  font-weight:500;
}

#company .tabs.company-tabs .tab:last-child{
  border-right:0;
}

#company .tabs.company-tabs .tab.is-active{
  background:#4f9d35;
  font-weight:700;
}

.vision-intro{
  display:grid;
  grid-template-columns:minmax(360px, 1fr) minmax(0, 1.34fr);
  gap:32px;
  align-items:start;
  width:100vw;
  margin-left:calc(50% - 50vw);
}

.vision-photo{
  margin:0;
  min-height:520px;
  overflow:hidden;
  background:#d9d9d9;
}

.vision-photo img{
  display:block;
  width:100%;
  height:100%;
  min-height:520px;
  object-fit:cover;
  object-position:center;
}

.vision-message{
  max-width:820px;
  padding:80px 32px 50px 0;
}

.vision-message h2{
  margin:0 0 24px;
  font-size:36px;
  line-height:1.2;
  font-weight:800;
  color:#111;
}

.vision-message p,
.vision-message li,
.vision-statement p{
  font-size:16px;
  line-height:1.85;
  color:#111;
}

.vision-message p{
  margin:0 0 22px;
}

.vision-q-list{
  list-style:none;
  padding:0;
  margin:0 0 24px;
}

.vision-q-list li{
  margin:0 0 10px;
}

.vision-statement{
  max-width:1120px;
  margin:62px auto 82px;
  text-align:center;
}

.vision-statement-body{
  display:grid;
  grid-template-columns:minmax(320px, .95fr) minmax(0, 1.05fr);
  gap:54px;
  align-items:center;
  margin-top:44px;
}

.vision-statement-photo{
  margin:0;
  background:transparent;
}

.vision-statement-photo img{
  display:block;
  width:100%;
  height:auto;
  max-width:430px;
  margin:0 auto;
}

.vision-statement-text{
  text-align:left;
}

.vision-statement h2{
  margin:0;
  font-size:34px;
  line-height:1.3;
  font-weight:800;
  color:#000;
}

.vision-statement .vision-lead{
  margin-top:0;
  font-size:18px;
  line-height:1.45;
  font-weight:800;
  color:#000;
}

@media (max-width: 900px){
  .vision-intro{
    width:100%;
    margin-left:0;
    grid-template-columns:1fr;
  }

  .vision-photo,
  .vision-photo img{
    min-height:320px;
  }

  .vision-message{
    max-width:none;
    padding:20px 0 30px;
  }

  .vision-message h2{
    font-size:30px;
  }

  .vision-statement-body{
    grid-template-columns:1fr;
    gap:24px;
  }

  .vision-statement-photo{
    max-width:620px;
    margin:0 auto;
  }

  .vision-statement-text{
    text-align:center;
  }
}

@media (max-width: 560px){
  #company .qna-hero{
    min-height:250px;
  }

  #company .hero-title{
    font-size:34px;
  }

  #company .hero-sub .main{
    font-size:22px;
  }

  #company .hero-sub .desc{
    font-size:16px;
  }

  #company .tabs.company-tabs .tab{
    font-size:13px;
  }

  .vision-message h2,
  .vision-statement h2{
    font-size:26px;
  }

  .vision-statement .vision-lead{
    font-size:18px;
  }
}

/* Main page: use the same menu alignment as company pages */
body.home-page > header.header.home-menu-align{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  overflow:visible !important;
}

body.home-page > header.header.home-menu-align > .logo{
  position:absolute !important;
  left:24px !important;
  top:50% !important;
  margin:0 !important;
  transform:translateY(-50%) !important;
  z-index:9002 !important;
}

body.home-page > header.header.home-menu-align > .nav.has-mega{
  position:relative !important;
  left:auto !important;
  top:auto !important;
  width:auto !important;
  height:auto !important;
  margin:0 auto !important;
  padding:0 !important;
  transform:none !important;
  translate:none !important;
  overflow:visible !important;
}

body.home-page > header.header.home-menu-align > .nav.has-mega > .nav-top{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:40px !important;
  width:auto !important;
  height:100px !important;
  margin:0 !important;
  padding:0 !important;
  list-style:none !important;
}

body.home-page > header.header.home-menu-align > .nav.has-mega > .nav-top > li{
  width:150px !important;
  height:100px !important;
  margin:0 !important;
  padding:0 !important;
}

body.home-page > header.header.home-menu-align > .nav.has-mega > .nav-top > li > a{
  width:150px !important;
  height:100px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  margin:0 !important;
  padding:0 !important;
  text-align:center !important;
}

body.home-page > header.header.home-menu-align > .nav.has-mega > .mega{
  position:fixed !important;
  left:0 !important;
  right:0 !important;
  top:100px !important;
  width:100vw !important;
  max-width:100vw !important;
  margin:0 !important;
  padding:0 !important;
  transform:none !important;
}

body.home-page > header.header.home-menu-align > .nav.has-mega > .mega > .mega-inner{
  width:auto !important;
  max-width:1100px !important;
  min-width:0 !important;
  display:grid !important;
  grid-template-columns:repeat(4, minmax(0, 150px)) !important;
  gap:10px 40px !important;
  justify-content:center !important;
  align-items:start !important;
  margin:0 auto !important;
  padding:15px 16px !important;
}

body.home-page > header.header.home-menu-align > .nav.has-mega .mega-col{
  width:150px !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  gap:10px !important;
  margin:0 !important;
  padding:0 !important;
}

body.home-page > header.header.home-menu-align > .nav.has-mega .mega-item{
  width:150px !important;
  margin:0 !important;
  padding:8px 0 !important;
  transform:none !important;
  text-align:center !important;
}

/* Main page header: match the company page menu/submenu alignment */
html body.home-page > header.header.home-menu-align{
  position:relative !important;
  height:100px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  border-bottom:0 !important;
  box-shadow:none !important;
  overflow:visible !important;
}

html body.home-page > header.header.home-menu-align:hover,
html body.home-page > header.header.home-menu-align:focus-within,
html body.home-page > header.header.home-menu-align:has(.nav.has-mega.is-open){
  border-bottom:0 !important;
  box-shadow:none !important;
}

html body.home-page > header.header.home-menu-align > .logo{
  position:absolute !important;
  left:48px !important;
  top:50% !important;
  margin:0 !important;
  transform:translateY(-50%) !important;
  z-index:9002 !important;
}

html body.home-page > header.header.home-menu-align > .nav.has-mega{
  position:static !important;
  width:720px !important;
  height:100px !important;
  margin:0 auto !important;
  padding:0 !important;
  transform:none !important;
  overflow:visible !important;
}

html body.home-page > header.header.home-menu-align > .nav.has-mega > .nav-top{
  display:grid !important;
  grid-template-columns:repeat(4, 150px) !important;
  column-gap:40px !important;
  width:720px !important;
  height:100px !important;
  align-items:center !important;
  justify-content:center !important;
  margin:0 !important;
  padding:0 !important;
}

html body.home-page > header.header.home-menu-align > .nav.has-mega > .nav-top > li,
html body.home-page > header.header.home-menu-align > .nav.has-mega > .nav-top > li > a{
  width:150px !important;
  height:100px !important;
  margin:0 !important;
  padding:0 !important;
}

html body.home-page > header.header.home-menu-align > .nav.has-mega > .nav-top > li > a{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  text-align:center !important;
}

html body.home-page > header.header.home-menu-align > .nav.has-mega > .mega{
  position:fixed !important;
  left:0 !important;
  right:0 !important;
  top:100px !important;
  width:100vw !important;
  max-width:100vw !important;
  margin:0 !important;
  padding:0 !important;
  transform:none !important;
  border-top:0 !important;
  box-shadow:none !important;
}

html body.home-page > header.header.home-menu-align > .nav.has-mega > .mega > .mega-inner{
  width:720px !important;
  max-width:720px !important;
  min-width:720px !important;
  display:grid !important;
  grid-template-columns:repeat(4, 150px) !important;
  column-gap:40px !important;
  row-gap:10px !important;
  justify-content:center !important;
  align-items:start !important;
  margin:0 auto !important;
  padding:15px 0 !important;
}

html body.home-page > header.header.home-menu-align > .nav.has-mega .mega-col{
  width:150px !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  gap:10px !important;
  margin:0 !important;
  padding:0 !important;
}

html body.home-page > header.header.home-menu-align > .nav.has-mega .mega-item{
  width:150px !important;
  margin:0 !important;
  padding:8px 0 !important;
  text-align:center !important;
}

/* Home header final: same physical positions as company header, white top labels */
html body.home-page > header.header.home-menu-align > .logo{
  left:48px !important;
  top:45% !important;
  transform:translateY(-50%) !important;
}

html body.home-page > header.header.home-menu-align > .home-logo,
html body.home-page > header.header.home-menu-align > .home-logo > a{
  width:170px !important;
  height:58px !important;
}

html body.home-page > header.header.home-menu-align > .home-logo .home-logo-img{
  width:170px !important;
  height:auto !important;
}

html body.home-page > header.header.home-menu-align > .nav.has-mega > .nav-top > li > a,
html body.home-page > header.header.home-menu-align:hover > .nav.has-mega > .nav-top > li > a,
html body.home-page > header.header.home-menu-align:focus-within > .nav.has-mega > .nav-top > li > a,
html body.home-page > header.header.home-menu-align:has(.nav.has-mega.is-open) > .nav.has-mega > .nav-top > li > a{
  color:#fff !important;
  text-shadow:0 2px 8px rgba(0,0,0,.28) !important;
}

html body.home-page > header.header.home-menu-align > .nav.has-mega{
  width:auto !important;
  max-width:none !important;
}

html body.home-page > header.header.home-menu-align > .nav.has-mega > .nav-top{
  display:flex !important;
  width:auto !important;
  max-width:none !important;
  gap:40px !important;
}

html body.home-page > header.header.home-menu-align > .nav.has-mega > .mega > .mega-inner{
  width:auto !important;
  max-width:1100px !important;
  min-width:0 !important;
  padding:15px 16px !important;
  grid-template-columns:repeat(4, minmax(0, 150px)) !important;
  gap:10px 40px !important;
}

/* Home header visual correction: move the menu group left to match the sample */
html body.home-page > header.header.home-menu-align > .nav.has-mega{
  transform:translateX(-58px) !important;
}

html body.home-page > header.header.home-menu-align > .nav.has-mega > .mega > .mega-inner{
  transform:translateX(-58px) !important;
}

/* Main visual header: move only the top categories to the right.
   The logo and mega/sub categories keep their existing positions and colors. */
body.home-page > header.header > .nav.has-mega > .nav-top{
  transform:translateX(-100px) !important;
}

@media (max-width: 768px){
  body.home-page > header.header > .nav.has-mega > .nav-top{
    transform:none !important;
  }
}

/* Company CI page */
#sec-ci{
  margin-bottom:0;
}

#sec-ci .ci-section{
  max-width:1120px;
  margin:0 auto 78px;
  padding-top:54px;
  color:#111;
}

#sec-ci .ci-meaning{
  display:grid;
  grid-template-columns:minmax(360px, 430px) minmax(0, 1fr);
  gap:58px;
  align-items:center;
}

#sec-ci .ci-main-logo{
  margin:0;
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:360px;
}

#sec-ci .ci-main-logo img{
  display:block;
  width:min(100%, 420px);
  height:auto;
}

#sec-ci .ci-meaning-text h2{
  margin:0 0 24px;
  color:#4f9d35;
  font-size:34px;
  line-height:1.2;
  font-weight:800;
  letter-spacing:0;
}

#sec-ci .ci-meaning-text p,
#sec-ci .ci-guide-block p{
  margin:0 0 18px;
  font-size:15px;
  line-height:1.9;
  color:#111;
  word-break:keep-all;
}

#sec-ci .ci-guide-block{
  margin-top:58px;
}

#sec-ci .ci-guide-block h3{
  display:flex;
  align-items:center;
  gap:8px;
  margin:0 0 10px;
  font-size:20px;
  line-height:1.35;
  font-weight:800;
  color:#111;
}

#sec-ci .ci-guide-block h3 span{
  width:17px;
  height:17px;
  border-radius:50%;
  background:#48b7ea;
  position:relative;
  flex:0 0 auto;
}

#sec-ci .ci-guide-block h3 span::before,
#sec-ci .ci-guide-block h3 span::after{
  content:"";
  position:absolute;
  left:3px;
  right:3px;
  border-top:1px solid rgba(255,255,255,.9);
}

#sec-ci .ci-guide-block h3 span::before{
  top:6px;
}

#sec-ci .ci-guide-block h3 span::after{
  top:10px;
}

#sec-ci .ci-logo-types{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:86px;
  margin-top:50px;
}

#sec-ci .ci-logo-types figure{
  margin:0;
}

#sec-ci .ci-logo-types figcaption{
  margin:0 0 20px;
  font-size:17px;
  color:#111;
}

#sec-ci .ci-grid-paper{
  min-height:194px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid #dff0fb;
  background-image:
    linear-gradient(#e3f3fb 1px, transparent 1px),
    linear-gradient(90deg, #e3f3fb 1px, transparent 1px);
  background-size:16px 16px;
  background-color:#fff;
}

#sec-ci .ci-grid-paper img{
  display:block;
  width:74%;
  max-width:300px;
  height:auto;
}

#sec-ci .ci-color-system{
  margin-top:70px;
}

/* Company history page */
#sec-history{
  margin-bottom:0;
}

#sec-history .placeholder{
  border:0;
  border-radius:0;
  padding:56px 0 74px;
  background:#fff;
}

#sec-history .section-image{
  width:min(100%, 1120px);
  max-width:1120px;
  height:auto;
  display:block;
  margin:0 auto;
  border:0;
  border-radius:0;
  background:transparent;
}

#sec-history .section-title,
#sec-history .muted{
  display:none;
}

@media (max-width: 768px){
  #sec-history .placeholder{
    padding:36px 0 52px;
  }

  #sec-history .section-image{
    width:100%;
  }
}

/* Company organization page */
#sec-org{
  margin-bottom:0;
}

#sec-org .org-section{
  max-width:1200px;
  margin:0 auto 78px;
  padding:58px 0 0;
  color:#111;
}

#sec-org .org-chart-area{
  position:relative;
  overflow:hidden;
  padding:0 0 60px;
  text-align:center;
  background:url("../images/org-background-map.png") center 128px / min(100%, 1180px) auto no-repeat;
}

#sec-org .org-chart-area::before{
  content:none;
}

#sec-org .org-chart-area h2{
  position:relative;
  z-index:1;
  margin:0 0 52px;
  color:#4f9d35;
  font-size:32px;
  line-height:1.2;
  font-weight:800;
  letter-spacing:0;
}

#sec-org .org-chart-image{
  position:relative;
  z-index:1;
  display:block;
  width:min(100%, 1080px);
  height:auto;
  margin:0 auto 42px;
}

#sec-org .org-note{
  position:relative;
  z-index:1;
  margin:0;
  font-size:17px;
  line-height:1.8;
  font-weight:500;
  color:#111;
  word-break:keep-all;
}

#sec-org .org-promise{
  display:grid;
  grid-template-columns:390px minmax(0, 1fr);
  gap:92px;
  align-items:center;
  padding:58px 70px 0;
}

#sec-org .org-cooperation-image{
  display:block;
  width:390px;
  max-width:100%;
  height:auto;
}

#sec-org .org-promise-text h3{
  margin:0 0 24px;
  color:#4f9d35;
  font-size:30px;
  line-height:1.2;
  font-weight:800;
}

#sec-org .org-promise-text p{
  margin:0 0 22px;
  font-size:20px;
  line-height:1.55;
}

#sec-org .org-promise-text p strong{
  color:#4f9d35;
}

#sec-org .org-promise-text dl{
  margin:0;
}

#sec-org .org-promise-text dt{
  margin:18px 0 4px;
  color:#4f9d35;
  font-size:18px;
  line-height:1.45;
  font-weight:800;
}

#sec-org .org-promise-text dt:nth-of-type(2){
  color:#ff9f22;
}

#sec-org .org-promise-text dt:nth-of-type(3){
  color:#25a7e0;
}

#sec-org .org-promise-text dd{
  margin:0;
  font-size:17px;
  line-height:1.65;
  color:#111;
}

#sec-org .org-partnership{
  margin:30px 0 0 112px;
  font-size:22px;
  line-height:1.4;
  font-weight:800;
  color:#111;
}

@media (max-width: 900px){
  #sec-org .org-section{
    padding-top:40px;
  }

  #sec-org .org-chart-area h2{
    margin-bottom:34px;
    font-size:26px;
  }

  #sec-org .org-note{
    padding:0 16px;
    font-size:15px;
  }

  #sec-org .org-promise{
    grid-template-columns:1fr;
    justify-items:center;
    gap:34px;
    padding:44px 18px 0;
  }

  #sec-org .org-partnership{
    margin:28px 0 0;
    text-align:center;
    font-size:19px;
  }
}

@media (max-width: 480px){
  #sec-org .org-promise-text h3{
    font-size:25px;
  }

  #sec-org .org-promise-text p{
    font-size:17px;
  }

  #sec-org .org-promise-text dd{
    font-size:15px;
  }
}

#sec-ci .ci-color-row{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:96px;
  margin:66px 0 0 18px;
}

#sec-ci .ci-color-item{
  display:grid;
  grid-template-columns:196px 1fr;
  gap:32px;
  align-items:end;
}

#sec-ci .ci-color-chip{
  width:196px;
  height:196px;
  display:flex;
  align-items:flex-end;
  padding:20px;
  color:#fff;
  font-size:19px;
  line-height:1.25;
  font-weight:500;
}

#sec-ci .ci-color-green{
  background:#549b35;
}

#sec-ci .ci-color-black{
  background:#000;
}

#sec-ci .ci-color-item dl{
  margin:0 0 18px;
  font-size:18px;
  line-height:1.35;
}

#sec-ci .ci-color-item dl div{
  display:flex;
  gap:8px;
}

#sec-ci .ci-color-item dt{
  margin:0;
  font-weight:800;
}

#sec-ci .ci-color-item dd{
  margin:0;
}

@media (max-width: 900px){
  #sec-ci .ci-section{
    padding-top:34px;
  }

  #sec-ci .ci-meaning{
    grid-template-columns:1fr;
    gap:24px;
  }

  #sec-ci .ci-main-logo{
    min-height:0;
  }

  #sec-ci .ci-main-logo img{
    max-width:520px;
  }

  #sec-ci .ci-logo-types,
  #sec-ci .ci-color-row{
    gap:28px;
  }

  #sec-ci .ci-color-item{
    grid-template-columns:1fr;
    gap:16px;
  }
}

@media (max-width: 640px){
  #sec-ci .ci-meaning-text h2{
    font-size:30px;
  }

  #sec-ci .ci-logo-types,
  #sec-ci .ci-color-row{
    grid-template-columns:1fr;
    margin-left:0;
  }

  #sec-ci .ci-grid-paper{
    min-height:168px;
  }

  #sec-ci .ci-color-chip{
    width:160px;
    height:160px;
  }
}

/* Keep the mega menu attached to the header instead of the viewport.
   This prevents the submenu panel from following the screen while wheeling. */
header.header .nav.has-mega .mega,
html body.home-page > header.header.home-menu-align > .nav.has-mega > .mega{
  position:absolute !important;
  left:50% !important;
  right:auto !important;
  top:100% !important;
  width:100vw !important;
  max-width:100vw !important;
  transform:translateX(-50%) !important;
}

body.home-page > header.header > .nav.has-mega > .mega{
  transform:translateX(calc(-50% - 90px)) !important;
}
