/* 서브공통 S */
:root {
    --gio-red:#ff4d4d;
    --gio-lowred: #cc0000;
    --gio-green: #339933;
    --gio-blue: #0066cc;
    --gio-lowblue: #0086ff;
    --gio-darknavy: #222b33;
}

p {word-break: keep-all;}

.text-giored {
    color: var(--gio-red);
}
.text-giolowred{
    color: var(--gio-lowred);
}
.text-giogreen {
    color: var(--gio-green);
}
.text-gioblue {
    color: var(--gio-blue);
}
.bg-giolowred {
    background-color: var(--gio-lowred);
}
.bg-giogreen {
    background-color: var(--gio-green);
}
.bg-giolowblue {
    background-color: var(--gio-lowblue);
}
.bg-darknavy{
    background-color: var(--gio-darknavy);
}

.btn-gio-lowred {
    --bs-btn-color: #fff;
    --bs-btn-bg: #cc0000;
    --bs-btn-border-color: #cc0000;

    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #b30000;
    --bs-btn-hover-border-color: #a80000;

    --bs-btn-focus-shadow-rgb: 214, 77, 77;

    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #a80000;
    --bs-btn-active-border-color: #990000;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);

    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #cc0000;
    --bs-btn-disabled-border-color: #cc0000;
}
ul.list-circle li {
    list-style-type: circle;
    margin-left: 1.2rem;
}
.ratio-2x1 {
    --bs-aspect-ratio: 50%;
}
.ratio-4x5 {
    --bs-aspect-ratio: 125%;
}
.azen.container-xxl > div > section {
    margin-bottom: 6rem;
    word-break: keep-all !important;
}
.azen.container-xxl > div > section div[class^="bg"] { 
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
.azen.container-xxl > div > section.border-top {
    padding-top: 6rem;
}
@media (min-width: 1400px) {
    .azen.container-xxl > div > section {
        margin-bottom: 10rem;/* 공통 수정 완료하면 삭제*/
    }
    .azen.container-xxl > div > section.border-top {
        padding-top: 10rem;
    }
}
.ccopy, .ctitle {
    font-weight:900;
    margin-bottom: 1.5rem;
}
.ratio-7x5 {
    aspect-ratio: 1 / 1.4;
}
@media (max-width: 768px) {
    .ccopy > br, .ctitle > br {
        display: none;
    }
    .ratio-21x9, .ratio-2x1 {
        --bs-aspect-ratio: 75%; /* 4x3 */
    }
}
/* 서브공통 E */

/* footer S */
.fCon dl > * {
    display: inline-block;
    font-weight: 400;
}
.fCon dl > dt {
    margin-right: .5rem;
}
@media (min-width: 768px) {
    .fCon dl:not(:first-child) {
        margin-left: 3rem;
    }
}
@media (max-width: 768px) {
    .fCon dl > dt {
        min-width: 3rem;
    }
}
/* footer E */

/* About > Introduction S */
#intro .bg_top {
    background-image: url('../html/about/images/intro_bg_01.jpg');
}
#intro .bg_btm {
    background-image: url('../html/about/images/intro_bg_02.jpg');
}
#intro .card {
    border: 0;
    background-color: #ffffffbf;
}
#intro .card .h3 {
    font-weight: 700;
}
@media (min-width: 1600px) {
    #intro .bg_btm.p-3.p-md-5 {
        padding: 8rem !important;
    }
}
/* About > Introduction E */

/* About GIO > Vision S */
#vision .ctitle {
    text-align: center;
}
#vision .item::before {
    content:"" ;
    display: block;
    position: relative;
    left: 50%;    
    transform: translateX(-50%);
    width: 6rem;
    height: 6rem;
}
#vision .item:nth-child(1)::before {
    background-image: url('../html/about/images/vision_ico_01.png');
}
#vision .item:nth-child(2)::before {
    background-image: url('../html/about/images/vision_ico_02.png');
}
#vision .item:nth-child(3)::before {
    background-image: url('../html/about/images/vision_ico_03.png');
}
#vision .item > div p:first-child {
    margin-bottom: 1rem;
    font-weight: 800;
}
#vision .item:nth-child(1) .bg {
    background-image: url('../html/about/images/vision_bg_01.jpg');
}
#vision .item:nth-child(2) .bg {
    background-image: url('../html/about/images/vision_bg_02.jpg');
}
#vision .item:nth-child(3) .bg {
    background-image: url('../html/about/images/vision_bg_03.jpg');
}
#vision .bg {
    background-position: center;
}
@media (min-width: 768px) {
    #vision .item .ratio-1x1 {
        --bs-aspect-ratio: 66.6%; /* 3x2 */
    }
}

@media (min-width: 992px) {
    #vision .item > div p:first-child {
        margin-bottom: 2rem;
        /* text-align: center; */
    }
    #vision .item .ratio-1x1 {
        --bs-aspect-ratio: 150%; /* 2x3 */
    }
}
/* About GIO > Vision E */


/* About GIO > History S */
#history .bg-white {
    /* min-height: 30rem; */
    color: var(--bs-body-color);
}
#history .item .bg {
    background-color: #fff;
}
#history .item .ctitle {
    margin-bottom: .5rem;
}
#history .item img {
    margin-bottom: 2rem;
}
#history .item img ~ p {
    font-weight: 500;
}
#history .con_wrap {
    padding-left: .5rem;
    position: relative;
}
#history .con_wrap::before {
    content: '';
    position: absolute;
    left: .5rem;    
    width: 1px;
    height: 100%;
    background-color: #fff;
}
#history .con_wrap > li {
    margin-bottom:3rem;
}
#history .con_wrap .con {
    position: relative;
    padding-left: 1rem;
}
#history .con_wrap .con::after { /* 연도별 line에 걸린 dot */
    content: '';
    position: absolute;
    left:0;
    transform: translateX(-50%);
    top: 1.7rem;
    width: .5rem;
    height: .5rem;
    border-radius: 50%;
    background-color: #fff;
}
#history .con_wrap .con li:not(:last-child) {
    margin-bottom: .5rem;
}
#history .con_wrap .con li {/* 연도별 목록 bullet */
    position: relative;
    padding-left: 1rem;
}
#history .con_wrap .con li::before { /* 연도별 목록 bullet */
    content: '';
    position: absolute;
    left:0;
    top: 12px;
    transform: translateY(-50%);
    width: .25rem;
    height: .25rem;
    border-radius: 50%;
    border:1px solid #dee2e6;
}
#history .year {
    margin-bottom: .5rem;
    font-weight: 500;
}
@media (min-width: 992px) {
    #history .con_wrap {
        padding-left: 0;
    }
    #history .con_wrap::before { /* line */
        left: 50%; 
    }
    #history .con_wrap > li:nth-child(odd) {
        padding-left: 50%;
    }
    #history .con_wrap > li:nth-child(even) {
        padding-right: 50%;
        text-align: right;
    }
    #history .con_wrap > li:nth-child(odd) > .con {
        padding-left: 5rem;
    }
    #history .con_wrap > li:nth-child(even) > .con {
        padding-right: 5rem;
    }
    #history .con_wrap .con::after { /* 연도별 line에 걸린 dot */
        top: 3.6rem;
    }
    #history .con_wrap > li:nth-child(even) > .con::after { /* 연도별 line에 걸린 dot */
        left: 100%;
    }
    #history .con_wrap > li:nth-child(even) > .con li {/* 연도별 목록 bullet */
        padding-left: 0;
        padding-right: 1rem;
    }
    #history .con_wrap > li:nth-child(even) > .con li::before {/* 연도별 목록 bullet */
        left: 100%;
        transform: translateX(-100%);
    }
    #history .year {
        font-size: 6rem;
    }
}

@media (min-width: 1200px) {
    #history .bg-white {
        min-height: 30rem;
    }
    #history .item:nth-child(1) {
        margin-top:8rem
    }
    #history .item:nth-child(2) {
        margin-top:4rem
    }
    #history .con_wrap .con li::before { /* 연도별 목록 bullet */
        top: 15px;
        width: .4rem;
        height: .4rem;
    }
}
/* About GIO > History E */

/* Application S */
.application .ratio-21x9 {
    margin-bottom: 3rem;
}
.application.bg, .application_p {
    padding: 6rem 0;
}
#oil .bg {
    background-image: url('../html/app/images/oil_bg_01.jpg');
}
#outdoor .bg {
    background-image: url('../html/app/images/outdoor_bg_01.jpg');
}
#workwear .bg {
    background-image: url('../html/app/images/workwear_bg_01.jpg');
}
.application.bg {
    display: block;
    background-color: #1a1a1a;
}
.application .item {
    position: relative;
    padding: 1rem;
    padding-left: 1.5rem;
    border-left: 1px solid var(--bs-border-color);
}
.application div[class^="ico"] {
    aspect-ratio: 1 / 1;
    width: 4rem;
    background-repeat: no-repeat;
    background-position: center;
    background-size: auto;
}
.application .ico_reflective {
    background-image: url('../html/app/images/app_ico_reflective.png');
}
.application .ico_durable {
    background-image: url('../html/app/images/app_ico_durable.png');
}
.application .ico_color {
    background-image: url('../html/app/images/app_ico_color.png');
}
.application .ico_multi {
    background-image: url('../html/app/images/app_ico_multi.png');
}
.application .ico_strong {
    background-image: url('../html/app/images/app_ico_strong.png');
}
.application .ico_washc50 {
    background-image: url('../html/app/images/app_ico_washc50.png');
}
.application .ico_washt {
    background-image: url('../html/app/images/app_ico_washt.png');
}
.application .ico_washt75 {
    background-image: url('../html/app/images/app_ico_washt75.png');
}
.application .item > p.h2 {
    margin-top: 2rem;
    line-height: 1.25;
    font-weight: 700;
}
.application .item::after{
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 0.875rem;
}
.application .item:nth-child(1)::after {
    content: '01';
}
.application .item:nth-child(2)::after {
    content: '02';
}
.application .item:nth-child(3)::after {
    content: '03';
}
.application .item:nth-child(4)::after {
    content: '04';
}
.application_p .fs-3 {
    font-weight: 900;
}
@media (min-width: 992px) {
    .application .item:nth-child(even) {
        border-right: 1px solid var(--bs-border-color);
    }
    .application .item > p.h2 {
        margin-top: 5rem;
    }
    .application .item::after{
        right: 3rem;
    }
}
@media (min-width: 1400px) {
    .application .ratio-21x9 {
        margin-bottom: 5rem;
    }
    .application.bg, .application_p {
        padding: 10rem 0;
    }
}
@media (max-width: 1400px) {
        #oil, #outdoor, #workwear {
        margin-bottom: calc(6rem - 150px);
    }
}
@media (max-width: 1200px) {
    .application .fs-4 {
        font-size: 1.25rem !important;
    }
}
@media (max-width: 576px) {
    .application .fs-4 {
        font-size: 1rem !important;
    }
    .application br {
        display: none;
    }
}
/* Application E */

/* Technology > Technology S */
#nology .bg_top {
    background-image: url('../html/tech/images/nology_bg_01.jpg');
}
#nology .item:not(:last-child) {
    margin-bottom: 3rem;
}
#nology .item > .bg {
    border-top-left-radius: var(--bs-border-radius-xl);
    border-top-right-radius: var(--bs-border-radius-xl);
}
#nology .item > .item-text  {
    border-bottom-left-radius: var(--bs-border-radius-xl);
    border-bottom-right-radius: var(--bs-border-radius-xl);
}
#nology .item-text .h2 {
    font-weight: 700;
}
#nology .item:nth-child(2) .bg {
    background-image: url('../html/tech/images/nology_bg_02.jpg');
}
#nology .item:nth-child(3) .bg {
    background-image: url('../html/tech/images/nology_bg_03.jpg');
}
#nology .item:nth-child(4) .bg {
    background-image: url('../html/tech/images/nology_bg_04.jpg');
}
@media (min-width: 1200px) {
    #nology .item > div {
        width: 50%;
    }
    #nology .item > .bg {
        border-bottom-left-radius: var(--bs-border-radius-xl);
        border-top-right-radius: 0 !important;
    }
    #nology .item > .item-text  {
        border-top-right-radius: var(--bs-border-radius-xl);
        border-bottom-left-radius: 0 !important;
        font-size: 18px;
    }
}
@media (max-width: 576px) {
    #nology br {
        display: none;
    }
}
/* Technology > Technology E */

/* Technology > RnD S */
#rnd .bg_top {
    background-image: url('../html/tech/images/rnd_bg_01.jpg');
}
#rnd .bg_wrap > div:nth-child(1) .bg {
    background-image: url('../html/tech/images/rnd_bg_02.jpg');
}
#rnd .bg_wrap > div:nth-child(2) .bg {
    background-image: url('../html/tech/images/rnd_bg_03.jpg');
    background-position: right;
}
#rnd .bg_wrap > div:nth-child(3) .bg {
    background-image: url('../html/tech/images/rnd_bg_04.jpg');
}
/* Technology > RnD E */

/* Technology > Certification S */
#certi .bg_top {
    background-image: url('../html/tech/images/certi_bg_01.jpg');
}
#certi ul.list-circle li > .fs-6 {
    font-weight: 100;
    color: rgba(255, 255, 255, 0.75);
}
#certi img ~ .certi_info {
    margin-top: 1rem;
    color: var(--gio-red);
    text-align: center;
    font-weight: 800;
}
@media (max-width: 992px) {
    #certi ul.list-circle li > .fs-6 {
        font-size: 0.875rem !important;
    }
}
/* Technology > Certification E */

/* Contact > Inquiry S */
#contact .form-control {
    padding: 0.75rem 1rem;
}
@media (min-width: 1600px) {
    #contact .border-top.pt-5 {
        padding-top: 3.75rem !important;
    }
}
/* Contact > Inquiry E */

/* Produnts View S */
#PVIEW .post-img { /* 제품사진 */
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;    
}
#PVIEW .post-title { /* 제품명 */
    font-weight: 900;
}
#PVIEW .dl_table {
    display: flex;
    flex-direction: row;
}

#PVIEW .dl_table > dt {
    margin-right: .75rem;
}
#PVIEW h5.post-cti { /* 입력 제목 */
    font-size: 1.25rem; /* h5 */
    font-weight: 800;
    text-transform: uppercase;
}
#PVIEW header h5.post-cti {
    margin-bottom: .75rem;
}
#PVIEW .view-body * {
    color: #fff;
    font-weight: 200;
}
#PVIEW .view-body .item {
    margin-bottom: 4rem;
}
#PVIEW .view-body .item > h5.post-cti {
    color: var(--gio-red);
    margin-bottom: .75rem;
}
#PVIEW .item:not(.keyfeatures) li:not(:last-child) {
    margin-bottom: .5rem;
}
#PVIEW .view-body .item p + .list-circle,
#PVIEW .view-body .item p + .dl_table {
    margin-top: .5rem;
}

/* collapse S */
#PVIEW .collapse_wrap {
    font-size: 1rem;
}
#PVIEW .collapse_wrap .item {
    margin-bottom: 3rem;
}
#PVIEW .collapse_btn {
    display: flex;
    align-items: center;    
    justify-content: space-between;
    margin-bottom: .75rem;
    padding-bottom: .75rem;
    padding-left: 42px;
    border-bottom: 1px solid var(--bs-gray-700);
    background-repeat: no-repeat;
    background-position: left top;
    background-size: auto;
}
#PVIEW .collapse_btn.p-handling {
    background-image: url('../html/products/images/p-handling_ico.png');
}
#PVIEW .collapse_btn.p-method {
    background-image: url('../html/products/images/p-method_ico.png');
}
#PVIEW .collapse_btn.p-wash {
    background-image: url('../html/products/images/p-wash_ico.png');
}
#PVIEW .collapse_btn.p-detail {
    background-image: url('../html/products/images/p-detail_ico.png');
}
#PVIEW .collapse_btn.p-certi {
    background-image: url('../html/products/images/p-certi_ico.png');
}
#PVIEW .collapse_btn > i {
    font-size: 1rem;
}
#PVIEW .collapse_btn[aria-expanded="true"] > i[class*="down"] {
    display: none;
}
#PVIEW .collapse_btn > i[class*="up"] {
    display: none;
}
#PVIEW .collapse_btn[aria-expanded="true"] > i[class*="up"] {
    display: block;
}
#PVIEW .collapse_wrap .dl_table > dt {
    min-width: 11rem;
    font-weight: 500;
}    
#PVIEW .collapse_wrap .dl_table:not(:last-child) {
    margin-bottom: .75rem;
}
/* collapse E */

#PVIEW .view-footer * {
    color: #fff;
}
#PVIEW .post-nav.d-flex a.post-prev > div::before {
    background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' fill='rgba(225,225,225,1)' viewBox='0 0 16 16'><path fill-rule='evenodd' d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0' clip-rule='evenodd'/></svg>");
}
#PVIEW .post-nav.d-flex a.post-next > div::before {
    background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' fill='rgba(225,225,225,1)' viewBox='0 0 16 16'><path fill-rule='evenodd' d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708' clip-rule='evenodd'/></svg>");
}
@media (min-width: 768px) {
    #PVIEW .keyfeatures .dl_table dt {
        min-width: 10rem;
    }
}
@media (min-width: 992px) {
    #PVIEW h5.post-cti { /* 입력 제목 */
        font-size: 1.5rem; /* h4 */
    }
}
@media (min-width: 1400px) {
    #PVIEW header.mt-3 {
        margin-top: 5rem !important;
    }
    #PVIEW header.mb-5 {
        margin-bottom: 6rem !important;
    }
    .view-body.pt-5 {
        padding-top: 6rem !important;
    }
    #PVIEW header .dl_table {
        flex-direction: column;
    }
    #PVIEW header .dl_table > dt {
        margin-right: 0;
    }
}
@media (max-width: 992px) {
    #PVIEW .post-title {
        font-size: calc(1.425rem + 2.1vw) !important; /* .dispaly-5 */
    }
}
@media (max-width: 768px) {
    #PVIEW header .dl_table {
        flex-direction: column;
    }
}
@media (max-width: 576px) {
    #PVIEW .keyfeatures .dl_table {
        align-items: stretch;
    }
    #PVIEW .collapse_wrap .dl_table {
        flex-direction: column;
    }
}
/* Produnts View E */


/************************************************
애니메이션, hover TEST
************************************************/
/* hero */
@media (min-width: 1400px) {
    .hero {
        animation: .75s bg-size ease-out forwards;
    }
}
@keyframes bg-size {
    from {
        background-size: 125%;
        opacity: .5;
    }
    to {
        background-size: 100%;
        opacity: 1;
    }
}
.hero .stitle {
    animation: 1s hero-glow;
}
@keyframes hero-glow {
    0% {
        transform: translateY(30px);
        opacity: 0;
        text-shadow: 0 0 0, 0 0 0;
    }
    40% {
        transform: translateY(30px);
        opacity: 0;
        text-shadow: 0 0 0, 0 0 0;
    }
    60% {
        text-shadow: 0 0 0 #ffffff00, 0 0 0 #ffffff00;
    }
    100% {
        transform: none;
        opacity: 1;
        text-shadow: 0 0 20px #ffffff33, 0 0 20px #ffffff33;
    }
}

/* 텍스트 fade-in
   기존 animation-timeline: view()는 스크롤 연동 CSS 애니메이션(Scroll-driven Animations) 기능으로
   Safari/모바일 등에서 지원하지 않아 브라우저마다 동작이 달랐음.
   모든 브라우저에서 동일하게 동작하도록 IntersectionObserver(js/ani-observer.js)가 뷰포트 진입 시
   부여하는 .in-view 클래스를 트리거로 쓰는 방식으로 변경 */
.ani-text {
    opacity: 0;
    /* in-view가 빠질 때(위로 스크롤) in-view의 animation이 사라지며 이 기본값으로 복귀하는데,
       transition을 걸어 그 복귀도 애니메이션처럼 부드럽게 보이게 함 */
    transition: opacity .6s ease;
}
.ani-text.in-view {
    animation: fadein .8s ease-out forwards;
}
@keyframes fadein {
    0%{
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* 텍스트 fade-in + glow */
.ccopy.ani-text,
.year.ani-text,
#history .con_wrap .con::after {
    opacity: 0;
    transition: opacity .6s ease, text-shadow .6s ease;
}
.ccopy.ani-text.in-view,
.year.ani-text.in-view,
#history .con_wrap .con.in-view::after {
    /* opacity는 forwards로 유지하되, text-shadow는 fill-mode를 주지 않아(기본값 none)
       반짝임 애니메이션이 끝나면 이 속성의 제어권을 놓아줌 — forwards로 한 애니메이션에 묶어두면
       애니메이션이 영구히 text-shadow를 점유해 :hover의 text-shadow가 전혀 적용되지 않았음 */
    animation: fadein-opacity 1s linear forwards, fadein-glow-shadow 1s linear;
}
.ccopy.ani-text:hover,
.year.ani-text:hover {
    color: #fff;
    text-shadow: 0 0 10px #ffffff66, 0 0 10px #ffffff66;
}
@keyframes fadein-opacity {
    0%{
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
@keyframes fadein-glow-shadow {
    0%{
        text-shadow: 0 0 0, 0 0 0;
    }
    80% {
        text-shadow: 0 0 20px #fff, 0 0 50px #fff;
    }
    100% {
        text-shadow: 0 0 0 #ffffff00, 0 0 0 #ffffff00;
    }
}
.ccopy.text-giored.ani-text {
    opacity: 0;
    transition: opacity .6s ease, text-shadow .6s ease;
}
.ccopy.text-giored.ani-text.in-view {
    animation: fadein-opacity 1s linear forwards, fadein-glowred-shadow 1s linear;
}
.ccopy.text-giored.ani-text:hover {
    color: var(--gio-red);
    text-shadow: 0 0 10px #ff4d4d66, 0 0 10px #ff4d4d66;
}
@keyframes fadein-glowred-shadow {
    0%{
        text-shadow: 0 0 0, 0 0 0;
    }
    80% {
        text-shadow: 0 0 20px var(--gio-red), 0 0 50px var(--gio-red);
    }
    100% {
        text-shadow: 0 0 0 #ffffff00, 0 0 0 #ffffff00;
    }
}


/* 이미지 width grow */
.ani-width {
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    opacity: 0;
    transition: width .6s ease, opacity .6s ease;
}
.ani-width.in-view {
    animation: width 1s ease-in-out forwards;
}
@keyframes width {
    0% {
        width: 0;
        opacity: 0;
    }
    100% {
        width: 100%;
        opacity: 1;
    }
}

/* 이미지 fade-in + transY */
.ani-transY {
    transform: translateY(300px);
    opacity: 0;
    transition: transform .6s ease, opacity .6s ease;
}
.ani-transY.in-view {
    animation: transY 1s ease-in-out forwards;
}
@keyframes transY {
    0% {
        transform: translateY(300px);
        opacity: 0;
    }
    100% {
        transform: none;
        opacity: 1;
    }
}
/* 한 줄에 나란히 놓인 카드들(r-end10/20/30)이 동시에 아니라 순서대로 나타나도록 지연 시간만 다르게 적용 */
.r-end20.in-view {
    animation-delay: .15s;
}
.r-end30.in-view {
    animation-delay: .3s;
}
/* KEY FEATURES: 불릿 제거 + 줄간격 축소 */
#PVIEW .keyfeatures ul.list-circle li {
    list-style: none;
    margin-left: 0;
    line-height: 1.5;
}
#PVIEW .keyfeatures .dl_table dt {
    margin-bottom: .5rem;
}
