.hero {
    position: relative;
    height: 100vh;
}
.hero-sub_title {
    font-size: var(--d1);
}
.hero-bg {
    width: 100%;
    height: 100vh;
    overflow: hidden;
}
.hero-bg .bg-img {
    height: 100%;
}
.hero .inner {
    position: absolute;
    top: 0;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-header {
    margin-bottom: 60px;
}
.hero-visual {
    width: 200px;
    aspect-ratio: 4 / 5;
    margin: 0 auto 60px;
    box-shadow: 0 24px 20px #00000015;
    transition: opacity 1s ease;
    opacity: 0;
}
.hero-title {
    margin-bottom: 24px;
    opacity: 0;
    font-weight: var(--semi-bold);
    transition: opacity 1s ease;
}
.hero-title span {
    filter: blur(24px);
    opacity: 0;
}
.hero-sub_title {
    transition: opacity 1s ease;
    opacity: 0;
}
.hero-content {
    width: 100%;
    padding-top: 40px;
    position: relative;
}
.hero-content::after {
    position: absolute;
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    background: var(--primary-500);
    top: 0;
    opacity: 0;
    transition: opacity 1.5s ease;
}
.category {
    display: flex;
    align-items: center;
    gap: 10px 20px;
    justify-content: center;
    opacity: 0;
    transition: opacity 1s ease;
    flex-wrap: wrap;
}
.category li {
    font-size: var(--d2);
}
.category li.active {
    opacity: .5;
}
.category li a:hover {
    text-decoration: underline;
}
.hero.active .hero-title {
    opacity: 1;
    transition-delay: .2s;
}
.hero.active .hero-sub_title {
    opacity: 1;
    transition-delay: .25s;
}
.hero.active .category {
    opacity: 1;
    transition-delay: .8s;
}
.hero.active .hero-content::after {
    opacity: 1;
}
.hero.active .hero-visual {
    opacity: 1;
}


/* type */
.type {
    padding: var(--sec-gap) 0;
}
.type .sec-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
}
.type-visual {
    width: 100%;
    aspect-ratio: 1 / 1.15;
    position: sticky;
    top: var(--sec-gap);
    max-width: 600px;
    margin: 0 auto;
}

.type-item {
    display: grid;
    grid-template-columns: 1fr 2fr;
    margin-bottom: var(--sec-gap);
    padding-left: var(--con-gap);
}
.type-item:last-child {
    margin-bottom: 0;
}
.t-title {
    font-size: var(--t3);
    color: var(--ft-main);
    padding-right: 40px;
    font-weight: var(--semi-bold);
}
.t-desc {
    font-size: var(--d2);
    color: var(--ft-sub);
    margin-bottom: var(--con-gap);
}
.t-process {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 40px;
}

.t-process p {
    font-size: var(--d2);
    color: var(--ft-sub);
    margin-top: 10px;
}
.t-process b {
    font-size: var(--d1);
    color: var(--ft-main);
    font-weight: var(--medium);  
}

/* flow */
.flow {
    background: var(--primary-600);
    padding: var(--sec-gap) 0;
}
.flow .sec-header {
    margin-bottom: var(--con-gap);
}
.flow .sec-title {
    color: white;
    margin-bottom: 40px;
}
.flow .sec-sub_title {
    color: var(--primary-100);
}

.flow-list {
    /* display: flex; */
    display: none;
    gap: 10px;
    width: 100%;
}
.flow-list li {
    border: 1px solid var(--primary-400);
    padding: 20px;
}
.flow-list h3 {
    margin-bottom: 10px;
}
.flow-table {
    table-layout: fixed;
}

th,td {
    border-right: 1px solid var(--primary-300);
    padding: 20px;
    text-align: left;
    vertical-align: top;
}
th:last-child,td:last-child {
    border-right: 0;
}
th,
.flow-list h3 {
    color: white;
    font-size: var(--d2);   
    min-width: 0;
    font-weight: var(--medium);
}
th {
    border-bottom: 1px solid var(--primary-300);
}
td p,
.flow-list p {
    color: var(--primary-200);
    font-size: var(--d2);
}

/* 

.flow-list li {
    border-right: 1px solid var(--primary-300);
    text-align: left;
    display: grid;
    grid-template-columns: 1fr;
    flex: 1 0 0;
}
.flow-list li:last-child {
    border-right: 0;
}

.flow-list h3 {
    color: white;
    font-size: var(--d2);
    border-bottom: 1px solid var(--primary-300);
    min-width: 0;
    font-weight: var(--medium);
    padding: 20px;
    min-height: calc(1.4em * 2);
}
.flow-list p {
    color: var(--primary-200);
    font-size: var(--d2);
    padding: 20px;
    min-height: calc(1.4em * 3);
} */
/* product */
.product {
    padding: var(--sec-gap) 0;
}
.product .inner {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product .sec-content {
    height: 100%;
}

.product-info {
    position: relative;
    width: 100%;
    height: 100%;
}

.p_r {
    display: grid;
    align-items: end;
    justify-content: space-between;
    grid-template-columns: 1fr 1fr;
}
.p-text {
    padding-bottom: 60px;
}
.product-info-item {
    display: grid;
    grid-template-columns: 1fr 2fr;
    align-items: start;
    border-bottom: 1px solid var(--primary-300);
    margin-bottom: var(--con-gap);
}
.product-info-item:last-child {
    margin-bottom: 0;
}




.p-img {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1 / 1.15;
    background: linear-gradient(to bottom, transparent, var(--primary-300));
    order: 2;
}

.p-name {
    font-size: var(--t2);
    color: var(--ft-main);
    font-weight: var(--medium);
    white-space: nowrap;
    margin-bottom: 40px;
}
.p-name span {
    display: block;
}
.p-name span.en {
    margin-bottom: 10px;
    font-size: var(--d2);
}

.p-desc {
    font-size: var(--d2);
    color: var(--ft-sub);
    margin-bottom: 40px;
}

.p-ingredient li {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 6px;
}
.p-ingredient li:last-child {
    margin-bottom: 0;
}
.p-icon {
    width: 36px;
    height: 36px;
}
.p-ingredient li p {
    color: var(--ft-main);
    font-size: var(--d2);

}



/* faq */
.faq {
    padding: calc(var(--sec-gap) / 2) 0;
    background: var(--primary-100);
}
.faq .inner {
    display: grid;
    grid-template-columns: 1fr 2fr;
}
.faq .sec-header {
    padding-top: 20px;
}
.faq-list li {
    padding: 20px 0;
    border-bottom: 1px solid var(--primary-300);
    overflow: hidden;
    position: relative;
    cursor: pointer;
}
.faq-list li::after {
    content: '';
    display: block;
    width: 14px;
    height: 14px;
    position: absolute;
    top: 20px;
    right: 0;
    rotate: 0;
    transition: rotate .5s ease;
    background: url('/images/icon/plus.svg') no-repeat center / cover;
}
.faq-list li.active::after {
    rotate: 45deg;
}
.f-head {
    font-size: var(--d1);
    color: var(--ft-main);
    font-weight: var(--medium);
}
.f-answer {
    font-size: var(--d2);
    color: var(--ft-sub);
    padding-top: 20px;
    display: none;
}
.f-answer p {
    color: inherit;
    font-size: inherit;
}


@media screen and (max-width: 1600px) {
    .type-item {
        padding-left: calc(var(--con-gap) / 2);
    }
}
@media screen and (max-width: 1300px) {
    .flow-table {
        display: none;
    }
    .flow-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
}
@media screen and (max-width: 1200px) {
    /* type */
    .type .sec-content {
        grid-template-columns: 1fr;
    }
    .type-item {
        grid-template-columns: 1fr;
        padding-left: 0;
    }
    .type-visual {
        margin-bottom: var(--con-gap);
    }
    .t-title {
        margin-bottom: calc(var(--con-gap) / 2);
        background: var(--primary-600);
        color: white;
        padding: 8px 12px;
        font-weight: var(--medium);
    }

    /* product */
    
    .p_r {
        gap: 40px;
    }
    .p-slide > div {
        justify-content: end;
    }
    .product-info-item {
        grid-template-columns: 1fr;
    }
    
    .product {
        overflow: hidden;
    }
}
@media screen and (max-width: 960px) {
    .type .sec-content {
        grid-template-columns: 1fr 2fr;
    }
    .type-item {
        grid-template-columns: 1fr;
        padding-left: var(--con-gap);
    }
   
}
@media screen and (max-width: 700px) {
    /* type */
    
    .type .sec-content {
        grid-template-columns: 1fr;
    }
    .type-visual {
        position: static;
        aspect-ratio: 1;
        margin-bottom: var(--con-gap);
    }
    
    .type-item {
        padding-left: 0;
        margin-bottom: calc(var(--sec-gap) / 2);
    }
    
    
    /* faq */
    .faq .inner {
        grid-template-columns: 1fr;
    }
    .faq .sec-header {
        margin-bottom: 40px;
    }
    
}
@media screen and (max-width: 600px) {   
    /* product */
    .product {
        height: auto;
        padding: var(--sec-gap) 0;
    }
    .product_t {
        height: auto;
        flex: unset;
    }
    .p_r {
        grid-template-columns: 1fr;
    }
    .p-img {
        order: 0;
        max-width: unset;
        margin-bottom: 40px;
    }
    .p-img img {
        max-width: 400px;
        margin: 0 auto;
    }
    
    
}
@media screen and (max-width: 500px) {    
  
    .flow-list {
        grid-template-columns: 1fr;
    }

}