* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-size: 1rem;
    color:#000;
}
:root {
    --main-width:1400px;
    --main-color:#584276;
    --sub-color:#8e8a8a;
    --point-color:#ef476f;
    --title-size:1.5rem;
    --subtitle-size:1.2rem;
}
html {
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
}

body {
    width: 100%;
    overflow-x: hidden;
    background-color: #efefef;
}

a,li{
    text-decoration: none;
    list-style: none;
}
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 120px;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0); 
    transition: background-color 0.4s ease, height 0.4s cubic-bezier(0.25, 1, 0.5, 1); 
    overflow: hidden; 
}

header.scrolled {
    background-color: rgba(0, 0, 0, 0.55); 
    backdrop-filter: blur(5px); 
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

header:hover {
    height: 450px; 
    background-color: rgba(15, 15, 20, 0.95) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.header-container {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}
.headMenu {
    display: flex;
    justify-content: right;
    align-items: center;
    font-size: 0.7rem;
    color: #fff;
}
.headMenu a {
    color: #fff;
    font-size: 0.7rem;
    text-transform: uppercase;
    padding:5px 10px;
}
.headMenu a:hover {
    color: #c0c0c0;
    text-transform: uppercase;
}
/* 상단 관리자페이지 게시글 조회수 0 불러오기 깜빡거림 */
.blinking{
	-webkit-animation:blink 1s ease-in-out infinite alternate;
    -moz-animation:blink 1s ease-in-out infinite alternate;
    animation:blink 1s ease-in-out infinite alternate;
}
@-webkit-keyframes blink{
    0% {opacity:0;}
    100% {opacity:1;}
}
@-moz-keyframes blink{
    0% {opacity:0;}
    100% {opacity:1;}
}
@keyframes blink{
    0% {opacity:0;}
    100% {opacity:1;}
}
.blinking span {
    color:red;
    font-weight:bold;
}
/* 상단 관리자페이지 게시글 조회수 0 불러오기 깜빡거림 END */
.main-header-area {
    height: 120px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.2rem;
    font-weight: 800;
    color: #fff;
    font-family: 'Arial', sans-serif;
    letter-spacing: -1px;
    cursor: pointer;
    line-height: 50px;
}
.logo a {
    color:#fff;
}
.logo span { color: #afafaf; }
.logo img {
    height:40px;
    vertical-align: middle;
    padding-right: 10px;
}
.nav-menu {
    display: flex;
    list-style: none;
    gap: 70px;
}

.nav-menu > li {
    text-align: center;
}

.nav-menu > li > a {
    color: rgba(255, 255, 255, 1);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    font-family: 'Noto Sans KR', sans-serif;
    transition: color 0.3s ease;
    display: block;
    line-height: 60px; 
    transition: transform 0.3s ease; 
    padding-left: 20px;
}

.nav-menu > li > a:hover {
    color: #665c82 !important; /* 우선순위를 강제로 높여 테스트 */
    transform: scale(1.2);
}

.submenu-area {
    width: 100%;
    padding: 30px 0 20px 0; 
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: left; 
    padding-left:510px;
}

.submenu-wrap {
    display: flex;
    list-style: none;
}
.submenu-column {
    min-width: 30px; 
    display: flex;
    flex-direction: column;
    gap: 5px;
    text-align: left;
}
.submenu-column:nth-child(1) {width:165px;}
.submenu-column:nth-child(2) {width:160px;}
.submenu-column:nth-child(3) {width:250px;}
.submenu-column:nth-child(4) {width:360px;}
.submenu-column:nth-child(5) {width:15px;}
.submenu-column:nth-child(6) {width:100px;}

.submenu-column a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.8rem;
    font-family: 'Noto Sans KR', sans-serif;
    transition: color 0.2s ease, transform 0.2s ease;
    display: block;
    padding: 2px 0;
    letter-spacing: -1;
}

.submenu-column a:hover {
    color: #ef476f;
    transform: translateY(-2px); 
}
.pageMenu  {
    border-bottom: 1px solid #ccc;
    margin:0 auto;
    display:inline-block;
}
.pageMenu a {
    color:#1a1a2e;
    padding:30px 20px;
    transition: 0.2s ease;
    display: inline-block;
    position: relative;
    font-weight: bold;
    
}
.pageMenu a:not(:last-child)::before {
    position: absolute;
    content: '/';
    top:35%;
    right:-5px;
}
/* 1. 호버했을 때와 페이지가 활성화(.on)되었을 때 글자색 동일하게 설정 */
.pageMenu a:hover,
.pageMenu a.on {
    color: #745df1;
    font-weight: bold; /* 기존의 볼드 스타일 유지 */
}

/* 2. 호버했을 때와 페이지가 활성화(.on)되었을 때 하단 삼각형(::after) 표시 */
.pageMenu a:hover::after,
.pageMenu a.on::after {
    position: absolute;
    content: '';
    top: 60px;
    left: 50%;
    transform: translateX(-50%); /* ? 삼각형이 정확히 가운데 오도록 정렬 보정 */
    width: 0;
    height: 0;
    border-top: 10px solid #745df1;
    border-bottom: 10px solid transparent;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
}

.contents {
    min-height: 90vh;
    padding-bottom:100px;
}

.section {
    width: 100%;
    height: 100vh;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.text-wrap {
    display: flex;
    flex-direction: column;
    gap: 25px;
    text-align: center;
    z-index: 99;
}
.animate-text.t1 {
    font-size: 3.5rem;
    color: white;
    font-weight: 700;
    font-family: 'Arial', sans-serif;
    opacity: 0;
    transition-property: opacity, transform;
    transition-timing-function:
    cubic-bezier(0.25, 1, 0.5, 1);
}
.animate-text.t2 {
    font-size: 2.0rem;
    color: white;
    font-weight: 700;
    font-family: 'Arial', sans-serif;
    opacity: 0;
    transition-property: opacity, transform;
    transition-timing-function:
    cubic-bezier(0.25, 1, 0.5, 1);
}
.animate-text.t3 {
    font-size: 1.5rem;
    color: white;
    font-weight: 700;
    font-family: 'Arial', sans-serif;
    opacity: 0;
    transition-property: opacity, transform;
    transition-timing-function:
    cubic-bezier(0.25, 1, 0.5, 1);
}

.section.active .animate-text {
    opacity: 1;
    transform: translate(0, 0) scale(1) !important;
}

.section:nth-child(1) 
{ background-color: #1a1a2e; }
.section:nth-child(2) 
{ background-color: #495975; }
.section:nth-child(3) 
{ background-color: #5b6798; }
.section:nth-child(4) 
{ background-color: #2e564b; }
.section:nth-child(5) 
{ background-color: #118ab2; }

/* --------------------------------------------------
   [섹션 1 전용 배경 자동 페이드 슬라이더 스타일]
-------------------------------------------------- */
.bg-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* 배경 슬라이더 전체의 기본 순위를 가장 낮게 설정 */
    overflow: hidden;
}

/* 슬라이더 내부 이미지 공통 배치 규격 */
.bg-slider img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; 
    object-position: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.5s ease-in-out, visibility 1.5s ease-in-out;
}

/* 자바스크립트 활성화 상태 */
.bg-slider img.active-img {
    opacity: 1;
    visibility: visible;
}

/* 글씨 가독성을 지키기 위한 40% 투명도 어두운 암막 레이어 */
.bg-slider::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); 
    z-index: 5; /* 이미지들(z-index: 1)보다 확실하게 위에 배치 */
}

/* ==========================================================================
   ★ [핵심 수정] 첫 번째 섹션의 중앙 텍스트 최상단 배치 강제 보정
========================================================================== */
.section:nth-child(1) .text-wrap {
    position: relative !important;
    z-index: 10 !important; /* 배경막(z-index: 5)보다 훨씬 높은 수치를 주어 무조건 텍스트가 맨 위에 보이게 합니다 */
}
.contents {
    width:100%;
    text-align: center;
}
.sub_img {
    position: relative;
    overflow: hidden;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: #111111;
}
.sub_img .menu_title {
    position: absolute;
    left: 50%;
    top: 130px;
    transform: translateX(-50%);
    text-transform: uppercase;
    color: #fff;
    font-weight: 800;
    font-size: 2rem;
    opacity: 0;
    transition: all 1s ease-in-out;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.9);
}
.sub_img .menu_title::after {
    position: absolute;
    content: '';
    width: 50px;
    height: 3px;
    background-color: #fff;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.9);
}
.sub_img img {
   width: 100%;
   height: 100%;
}
.loading-image {
    text-align: center;
    transform: scale(1.1);
    transition: all 3s;
}
.pageTitle {
    font-size: 1.8rem;
    font-weight: 600;
    padding:80px 0 100px 0;
}

/* index Page  */
/* section 2  */
/* 오직 두 번째 페이지(.sec02-bg-layer) 내부에서만 작동하는 구조 */
.sec02-bg-layer {
    position: relative; /* 배경과 글씨의 기준점 역할을 위해 필수 */
}
.sec02-bg-layer::after {
    position: absolute; /* 배경과 글씨의 기준점 역할을 위해 필수 */
    content: '';
    top:0; left:0; right:0;bottom: 0;
    background-image: url('./image/pattren.png');
    opacity: 0.1;
}

/* 1. 텍스트를 이미지보다 무조건 앞으로 올리기 */
.sec02-bg-layer .text-wrap {
    position: relative;
    z-index: 10;          /* 높은 z-index로 글씨 레이어를 최상단 배치 */
    pointer-events: none; /* 배경 클릭이나 스크롤에 방해되지 않도록 설정 */
}

/* 2. 이미지 컨테이너를 부모(화면 전체) 크기만큼 넓혀서 뒤로 깔기 */
.sec02-bg-layer .sec02_img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;           /* 텍스트(10)보다 낮게 설정하여 뒤로 배치 */
}

/* 3. 이미지 애니메이션 및 초기 위치 설정 */
.sec02-bg-layer .sec02_img img {
    position: absolute;
    opacity: 0;
    width: auto;          /* 이미지 고유 비율 유지 */
    max-width: 25%;       /* 화면 크기에 맞춰 적당한 크기 지정 (필요시 조절) */
    transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    border-radius: 10px;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.3);
}
.sec02-bg-layer .sec02_img img:first-child {
    max-width: 40%;       /* 화면 크기에 맞춰 적당한 크기 지정 (필요시 조절) */
}

/* [이미지 01: 위에서 아래로] */
.sec02-bg-layer .sec02_image01 { 
    top: 10%; 
    left: 50%; 
    /* 중앙 정렬(X축 -50%)과 동시에 Y축으로 -50px 띄워둠 */
    transform: translate(-50%, -50px); 
}

/* [이미지 02: 왼쪽에서 오른쪽으로] */
.sec02-bg-layer .sec02_image02 { 
    bottom: 15%; 
    left: 10%; 
    transform: translateX(-50px); 
}

/* [이미지 03: 오른쪽에서 왼쪽으로] */
.sec02-bg-layer .sec02_image03 { 
    bottom: 15%; 
    right: 10%; 
    transform: translateX(50px); 
}
.sec02-bg-layer .t3 a {
    background-color: #118ab2;
    color: #fff;
    padding:10px 30px;
    font-size: 1rem;
    border-radius: 5px;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.3);
    display: inline-block;
    cursor: pointer;
    transition: 0.3s ease;
    pointer-events: auto !important; /* 마우스 이벤트 강제 허용 */
}
.sec02-bg-layer .t3 a:hover {
    background-color: #103b4a;
    color: #fff;
    font-size: 1rem;
    border-radius: 5px;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.3);
    display: inline-block;
    cursor: pointer;
    pointer-events: auto !important; /* 마우스 이벤트 강제 허용 */
    transform: scale(1.2);
}
.sec02-bg-layer .sec02_img img:nth-child(1)  {
    z-index: 9999;
}
/* 4. 스크롤 활성화 시 제자리로 등장 (active 클래스 반영) */
.sec02-bg-layer .sec02_img img.active {
    opacity: 1;
}
.sec02-bg-layer .sec02_image01.active { 
    transform: translate(-50%, 0); /* 중앙 유지하며 제자리로 하강 */
}
.sec02-bg-layer .sec02_image02.active,
.sec02-bg-layer .sec02_image03.active { 
    transform: translateX(0); /* 제자리로 진입 */
}

/* section 2 END  */

/* 섹션 3 기본 레이아웃 구성 */
.sec03-gallery-layer {
    position: relative;
    padding: 120px 0; 
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.sec03-gallery-layer::after {
    position: absolute;
    content: '';
    width:100%;
    height:100%;
    top:0;left:0;
    background-image: url('./image/pattern_02.png');
    z-index: 1;
    opacity: 0.1;
    background-repeat: no-repeat;
    background-size: cover;
}

.sec03-title-area {
    padding-left: 50px;
    margin-bottom: 40px;
}
.sec03-title-area h2 { 
    font-size: 3rem; 
    font-weight: 700; 
    margin-bottom: 8px; 
    color: #fff;
}
.sec03-title-area p { 
    font-size: 1.2rem; color: #888;
    text-align: center;
 }

/* 무한 롤링 스크린 마스크 (그림자 컷팅 방지 여백 유지) */
.marquee-container {
    width: 100%;
    position: relative;
    overflow: hidden; 
    padding: 60px 0 90px 0; 
    margin-top: -50px;
    margin-bottom: -80px; 
    z-index: 2;
}

/* ? [줄바꿈 버그 해결 핵심] 가로 한 줄로 무조건 정렬시키는 레일 트랙 */
.marquee-track {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: max-content; /* 자식 요소들의 실제 총 가로폭을 브라우저에 그대로 반영 */
    
    /* ? 중요: 화면이 좁아져도 절대로 아래로 줄바꿈(wrap)되지 않도록 일직선 배치 강제 지정! */
    flex-wrap: nowrap !important; 
    
    /* 32초 동안 좌측으로 무한 롤링 */
    animation: marqueeRolling 32s linear infinite; 
    
    /* 하드웨어 GPU 가속 주입 */
    transform-style: preserve-3d; 
    will-change: transform;
}

/* [수정] 개별 마르키 카드에 마우스를 올렸을 때만 전체 트랙이 일시정지 */
.marquee-track:has(.marquee-card:hover) {
    animation-play-state: paused;
}

.marquee-track .text-box h4 {
    color: #fff;
}
/* 개별 이미지 카드 상자 전체 디자인 */
.marquee-card {
    /* 카드가 임의로 찌그러지거나 압축되는 현상 차단 */
    flex-shrink: 0 !important; 
    width: 420px !important; 
    margin: 0 20px; 
    background-color: #222;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(0,0,0,0.4);
    
    position: relative; 
    transform: scale(1);
    z-index: 1;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}
.marquee-card a { 
    display: block; 
    text-decoration: none; 
    position: relative;
}

/* 이미지 박스 규격 */
.marquee-card .img-box {
    width: 100%;
    aspect-ratio: 4 / 3; 
    overflow: hidden;
    display: block;
}
.marquee-card .img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ? 반투명 오버레이 텍스트 박스 */
.marquee-card .text-box {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px 20px;
    color: #ffffff; 
    background-color: rgba(0, 0, 0, 0.55); 
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    z-index: 2;
    transition: background-color 0.3s ease;
}

/* 마우스 올리면 카드 전체 상자가 1.1배 확대 노출 */
.marquee-card:hover {
    transform: scale(1.1); 
    z-index: 999 !important; 
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7), 0 0 30px rgba(17, 138, 178, 0.6); 
}

.marquee-card:hover .text-box {
    background-color: rgba(0, 0, 0, 0.75); 
}

.marquee-card .text-box h4 {
    font-size: 1rem;
    font-weight: 500;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* 무한 롤링 키프레임 공식 */
@keyframes marqueeRolling {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); } 
}
.sec04 {
    background-image: url('./image/sec04.png');
    background-repeat: no-repeat; 
    
    /* 1. 좌우/위아래 중 좁은 쪽을 기준으로 꽉 채우되, 비율을 유지함 */
    background-size: cover; 
    
    /* 2. 이미지가 잘릴 때 항상 정중앙을 기준으로 잘리도록 설정 (위아래 균등하게 잘림) */
    background-position: center; 
}
/* ==========================================
   4번째 섹션(지도) 좌->우 이동 애니메이션 복원
========================================== */

/* 1. 스크롤 내리기 전(평소 상태): 왼쪽으로 60px 밀려나 있고, 투명하게 숨김 */
.sec04 .t1,
.sec04 .t2 { /* .animate-text 대신 실제 HTML에 존재하는 .t2로 변경 */
    opacity: 0 !important;
    transform: translateX(-60px) !important; 
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.6s ease-out !important;
    will-change: transform, opacity;
    color:#fff;
    font-size: 3rem;
    font-weight: 400;
}

/* 2. 스크롤이 감지되어 active 클래스가 붙었을 때: 제자리(0)로 오며 선명해짐 */
.sec04.active .t1,
.sec04.active .t2 { /* .animate-text 대신 실제 HTML에 존재하는 .t2로 변경 */
    opacity: 1 !important;
    transform: translateX(0) !important; 
}
.sec04 .t2 {
    display: flex;
    justify-content: center;
    align-items: top;
    gap:30px;
}
.sec04 .t2 .text_part {
     color:#fff;
     text-align: left;
     font-size: 1.3rem;
}
.sec04 .t2 .text_part h1
{
    color:#fff;
    font-size: 2rem;
}
.sec04 .t2 .text_part h2
{
    color:#fff;
    font-size: 1.5rem;
}
.sec04 .t2 .text_part .eng_title
{
    color:#fff;
    font-size: 2rem;
}
.sec04 .idx_item img {
    height:350px;
    border-radius: 10px;
}
/* 서브페이지 부분 */
.title {
    font-size:var(--title-size);
    padding:30px 0 20px;
}
.subtitle {
    font-size: var(--subtitle-size);
    padding-bottom: 30px;
}
.item {
    width:var(--main-width);
    margin:0 auto;
    text-align: justify;
}
[class*="company_"],
[class*="scope_"]
{
    display: flex;
    justify-content: center;
    align-items: top;
    gap:50px;
    width:var(--main-width);
    margin: 0 auto;
}
[class*="company_"] p,
[class*="scope_"] p
 {
    text-align: justify;
}
[class*="company_"] img,
[class*="scope_"] img
{
    width:700px;
    border-radius: 10px;
    margin-top:15px;
}
.company_05 p
{
    width:1200px;
    margin:0 auto;
}
.company_06 p
{
    width:1400px;
    margin:0 auto;
    text-align: left;
    gap:30;
}
.company_06 img {
    width:30%;
    border: 1px solid #c0c0c0;
    margin:20px;
    padding:20px;
}
.scope_04 img {
    width:450px;
}
.casting_01 ul {
    display: flex;
    justify-content: space-between;
    align-items: top;
    text-align: left;
    gap:100px;
    text-decoration: none;
    border: 1px solid #ccc;
    padding:30px 80px;
}
.casting_01 a {
    position: relative;
    font-size: 1rem;
    color: #111111;
    text-align: left;
    display: block;
    transition: 0.15s ease;
}
.casting_01 a::after {
    position: absolute;
    content: "  ";
    width:8px;
    height:5px;
    top:11px;
    left:-20px;
    background-color: #111111;
}
.casting_01 a:hover {
    color: #8d8d8d;
    transform: scale(1.15);
    transform-origin: left;
}
.casting_glossary_item {
    padding-bottom: 50px;
    position: relative;
    border: 1px solid #ccc;
    margin-top:30px;
    padding:30px 50px 30px;
    scroll-margin-top: 150px;
}
.casting_glossary_item .subtitle::after {
    position: absolute;
    content: '';
    width:20px;
    height:20px;
    background-color: #495975;
    top:30px;
    left:35px;
    border-radius: 3px;
    opacity: 0.2;
}

.alloy_01 .steel-list {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    color: #333;
    max-width: 1200px; /* 화면에 맞춰 너비 조절 가능 */
    margin:0 auto;
    border: 1px solid #c5c5c5;
}

/* 각 행(Row)을 플렉스박스로 설정하여 가로 정렬 및 구분선 추가 */
.alloy_01 .steel-list li {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    border-bottom: 1px solid #c5c5c5; /* 이미지 특유의 연한 가로선 */
    min-height: 24px;
    text-align: left;
    gap:10px;
    padding:5px 30px;
}

/* [CSS] 기본 레이아웃 및 스타일 뼈대 */
.fx-table {
    width: 100%; /* 부모 컨테이너에 맞춰 꽉 차게 시작 */
    display: flex;
    flex-direction: column;
    border: 1px solid #e0e0e0;
    font-family: sans-serif;
    font-size: 14px;
    color: #666;
    box-sizing: border-box;
}
.fx-table *, .fx-table ::after, .fx-table ::before {
    box-sizing: border-box;
}

/* 행(Row) 설정 */
.fx-row {
    display: flex;
    width: 100%;
    border-bottom: 1px solid #e0e0e0;
}
.fx-row:last-child {
    border-bottom: none;
}

/* 헤더 전용 */
.fx-header {
    background-color: #e5e5cc;
    color: #777555;
    font-weight: bold;
    border-bottom: 2px solid #d4d4b3;
}

/* 셀(Cell) 기본 공통 설정 */
.fx-cell {
    padding: 15px 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    line-height: 1.6;
}

/* 셀 간의 세로 구분선 (원하지 않으면 HTML에서 클래스를 빼거나 style="border:none" 주면 됨) */
.b-left { border-left: 1px solid #e0e0e0; }
.b-right { border-right: 1px solid #e0e0e0; }

/* 첫 번째 열 같은 특정 부각용 연한 배경색 */
.bg-side { background-color: #f7f6f0; }
.fx-header .bg-side { background-color: transparent; } /* 헤더일 때는 투명하게 */

/* 셀 내부 멀티 라인 구분용 */
.fx-sub-item {
    width: 100%;
    padding: 4px 0;
    border-bottom: 1px solid #eee;
}
.fx-sub-item:last-child {
    border-bottom: none;
}
/* 왼쪽: 재질명 영역 (너비를 고정하여 세로 줄을 깔끔하게 맞춤) */
.alloy_01 .steel-list .type {
    width: 30%;
    font-weight: 500;
    color: #222;
}

/* 오른쪽: 슬래시 기호와 코드 규격 영역 */
.alloy_01 .steel-list .code-group {
    width: 65%;
    display: flex;
    color: #666;
}

/* 슬래시(/) 기호 스타일 */
.alloy_01 .steel-list .separator {
    margin-right: 8px;
    color: #999;
    padding-right: 30px;
}

/* 코드 텍스트 스타일 */
.alloy_01 .steel-list .code {
    flex: 1;
}

.alloy_02 .imgBox img {
    margin:40px;
    border-radius: 10px;
    width:500px;
}
.alloy_03 .imgBox {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap:30px;
}
.alloy_03 .imgBox img {
    border-radius: 10px;
    width:800px;
}
.alloy_04 .imgBox img,
.alloy_06 .imgBox img,
.alloy_07 .imgBox img
{
    border-radius: 20px;
    box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.2);
}
.alloy_05 .Box_wrapper {
   width: var(--main-width);
   margin:0 auto;
}
.alloy_05 .imgBox {
   display: flex;
   justify-content: flex-start;
   align-items: top;
   gap:30px;
   flex-wrap: wrap;
}
.alloy_05 .imgBox .imgBox_item {
    width:30%;
    border: 1px solid #ccc;
    padding:50px;
}
.alloy_05 .imgBox .imgBox_item span {
    padding-top:30px;
    display: block;
}

.copyright {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    font-size: 1rem;
    z-index: 999;
    padding:50px 0;
    background-color: #3b3535;
}
/* --------------------------------------------------
   [공통 탑 이동 버튼 (Top Button) 스타일]
-------------------------------------------------- */
#top-btn {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 50px;
    height: 50px;
    background-color: #ef476f; /* 포인트 컬러(핑크) 적용 */
    border-radius: 50%;
    cursor: pointer;
    z-index: 999; /* 카피라이트와 결이 겹치지 않게 최상위권 배치 */
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    
    /* 화면 표시 전환을 위한 페이드(Fade) 효과 세팅 */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, background-color 0.2s ease, transform 0.2s ease;
}

/* 버튼 활성화 상태 클래스 (JS에서 제어) */
#top-btn.show {
    opacity: 1;
    visibility: visible;
}

/* 버튼 내부 화살표 아이콘 모양 (CSS로 구현) */
#top-btn span {
    display: block;
    width: 12px;
    height: 12px;
    border-top: 3px solid #fff;
    border-left: 3px solid #fff;
    transform: rotate(45deg); /* 45도 회전시켜 윗방향 화살표 만듦 */
    margin-top: 4px;
    transition: transform 0.2s ease;
}

/* 마우스 호버 시 살짝 위로 튀는 가속 모션 및 색상 반전 */
#top-btn:hover {
    background-color: #111111;
    transform: translateY(-4px);
}
#top-btn:hover span {
    border-top-color: #ef476f;
    border-left-color: #ef476f;
}
/*tab css*/
.tab{ width:100%;}
.tabnav{font-size:0; width:100%;}
.tabnav li{
    display: inline-block;  
    text-align:center;
    background-color:#efefef; 
    border:1px solid #ccc;
}
.tabnav li a:before {
    content:"";
    position:absolute; 
    left:0; top:0px; 
    width:100%; height:3px; 
}
.tabnav li a.active:before{
    content: '';
    position: absolute;
    top: 43px;
    left: 50%;
    transform: translateX(-50%); /* ? 삼각형이 정확히 가운데 오도록 정렬 보정 */
    width: 0;
    height: 0;
    border-top: 10px solid #7ea21e;
    border-bottom: 10px solid transparent;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;

}
.tabnav li a.active{border-bottom:1px solid #fff;}
.tabnav li a{ 
    position:relative;
     display:block; 
     background: #efefef; 
     color: #000; 
     text-decoration:none; 
     font-size:0.9rem;
    padding:10px 30px;
    }
.tabnav li a:hover,
.tabnav li a.active{background:#fff; color:#7ea21e; }
.tabcontent{
    padding-top: 20px;
     height:100%; 
     border-top:none;
}
